/* Make a Wish — shared base: fonts, tokens, buttons, utilities */
@font-face { font-family: 'Fredoka Variable'; font-style: normal; font-display: swap; font-weight: 300 700; src: url(../fonts/fredoka-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/fredoka-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fredoka Variable'; font-style: normal; font-display: swap; font-weight: 300 700; src: url(../fonts/fredoka-latin-ext-wght-normal.woff2) format('woff2-variations'), url(../fonts/fredoka-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree Variable'; font-style: normal; font-display: swap; font-weight: 300 900; src: url(../fonts/figtree-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/figtree-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree Variable'; font-style: normal; font-display: swap; font-weight: 300 900; src: url(../fonts/figtree-latin-ext-wght-normal.woff2) format('woff2-variations'), url(../fonts/figtree-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --accent: #ff5c8a; --accent-d: #ad3e5e; --accent-l: #ffb6ca; --on-accent: #ffffff;
  --wall: #3b1d3f; --wall2: #5a2650;
  --ink: #fff7f0; --muted: rgba(255, 240, 232, 0.78);
  --paper: #fff9f2; --paper-ink: #2c1a2e; --paper-muted: #6d5868;
  --panel: rgba(22, 11, 32, 0.8);
  --display: 'Fredoka Variable', 'Fredoka', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Figtree Variable', 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #140b1c; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; margin: 0; line-height: 1.1; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0.01em; text-decoration: none;
  background: rgba(255, 255, 255, 0.12); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 4px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.btn:hover { background: rgba(255, 255, 255, 0.18); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 1px 0 rgba(0, 0, 0, 0.35); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-l) -60%, var(--accent) 55%); color: var(--on-accent);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12), inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 5px 0 var(--accent-d), 0 10px 24px rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--accent-l) -40%, var(--accent) 60%); }
.btn-primary:active { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 1px 0 var(--accent-d); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); }
.btn-big { min-height: 58px; font-size: 20px; padding: 0 30px; }
.btn-small { min-height: 44px; font-size: 15px; padding: 0 16px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.22); font-size: 14px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
