/* =============================================
   Palette
============================================= */

:root {
    --pink-accent: #d966a0;
    --pink-titlebar: #ffe0f0;
    --teal-accent: #e0f7fa;
    --offwhite: #fcf6f9;
}

/* =============================================
   Reset
============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('../media/cursors/cursor.cur'), auto;
    user-select: none;
    touch-action: manipulation;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

/* =============================================
   Shared Animations
============================================= */

@keyframes shake {
    0%   { transform: translate(0, 0); }
    10%  { transform: translate(-4px, 1px); }
    20%  { transform: translate(2px, -3px); }
    30%  { transform: translate(-1px, 4px); }
    40%  { transform: translate(4px, -1px); }
    50%  { transform: translate(-3px, 3px); }
    60%  { transform: translate(1px, -4px); }
    70%  { transform: translate(-4px, 2px); }
    80%  { transform: translate(3px, 1px); }
    90%  { transform: translate(-2px, -4px); }
    100% { transform: translate(0, 0); }
}

/* =============================================
   Glass Panel
============================================= */

.glass-panel {
    position: relative;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 10px 40px rgba(90, 80, 150, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(120deg, #ffd1f0, #c9f0ff, #e1d1ff, #fff3c9, #ffd1f0);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
