/* Love Gacha: shared base (fonts, tokens, buttons). */
@font-face {
  font-family: 'Dela Gothic One';
  src: url('../fonts/dela-gothic-one-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  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: 'Dela Gothic One';
  src: url('../fonts/dela-gothic-one-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: 'Fredoka';
  src: url('../fonts/fredoka-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 700; font-style: normal; font-display: swap;
  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';
  src: url('../fonts/fredoka-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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 {
  --f-display: 'Dela Gothic One', 'Fredoka', system-ui, sans-serif;
  --f-body: 'Fredoka', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bgA: #ffe6ef; --bgB: #ffc9da; --ink: #6b1f40; --inkSoft: #a35a78; --accent: #ff4f7e; --trim: #fff4ea;
  --panel: #fffaf6; --panelInk: #4a1530; --dot: rgba(255,95,143,.16);
  --gold: #ffd23f;
  --r: 22px;
  --shadow: 0 14px 40px -12px rgba(80, 10, 50, .35), 0 3px 0 rgba(80, 10, 50, .08);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-weight: 450; color: var(--ink);
  background: var(--bgB); line-height: 1.4; -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-weight: 400; margin: 0; font-style: normal; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[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 var(--ink); outline-offset: 3px; border-radius: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 10px 20px; border-radius: 999px;
  border: 0; background: var(--panel); color: var(--panelInk);
  font-weight: 600; font-size: 16px; letter-spacing: .01em; text-decoration: none; text-align: center;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.10), 0 4px 14px -6px rgba(80,10,50,.35), 0 0 0 2px rgba(80,10,50,.08);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s;
  touch-action: manipulation;
}
.btn:hover { filter: brightness(1.03); transform: translateY(-1px); }
.btn:active { transform: translateY(2px) scale(.98); box-shadow: inset 0 -1px 0 rgba(0,0,0,.10), 0 2px 6px -4px rgba(80,10,50,.35); }
.btn-main { background: var(--accent); color: #fff; box-shadow: inset 0 -5px 0 rgba(0,0,0,.16), inset 0 2px 0 rgba(255,255,255,.35), 0 8px 20px -8px var(--accent); }
.btn-big { min-height: 58px; font-size: 19px; padding: 12px 34px; }

.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--panel); color: var(--panelInk); flex: none;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.10), 0 4px 12px -6px rgba(80,10,50,.35);
  font-size: 18px; font-weight: 700;
}
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .spk { fill: currentColor; }

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