/* Singer Life creators: a dark stage with the game's pink (#E91E63) and Nunito, like the store art. */
:root {
  --bg: #0D0A14;
  --surface: #17121F;
  --surface-2: #211A2C;
  --line: rgba(255, 255, 255, 0.09);
  --text: #F6F2FA;
  --muted: #A79FB5;
  --pink: #E91E63;
  --pink-2: #FF5C93;
  --violet: #8A3FFC;
  --lime: #E5FF00;
  --ok: #2BD47D;
  --display: "Nunito", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --r: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 var(--body);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.08; margin: 0; text-wrap: balance; }
a { color: var(--pink-2); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--pink-2); outline-offset: 2px; }
.muted { color: var(--muted); }

.primary, .ghost {
  border-radius: 999px; padding: 12px 20px; font-family: var(--display); font-weight: 900; font-size: 16px;
  border: 1px solid transparent; transition: transform .12s ease, background .2s ease;
}
.primary { background: linear-gradient(135deg, var(--pink), var(--pink-2)); color: #fff; box-shadow: 0 8px 28px rgba(233, 30, 99, .35); }
.primary:active, .ghost:active { transform: scale(.97); }
.primary:disabled { opacity: .6; }
.ghost { background: var(--surface-2); border-color: var(--line); }
.ghost:hover { background: #2a2238; }
.small { padding: 6px 12px; font-size: 13px; }
.wide { width: 100%; }

.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 11px 13px; font: 15px/1.4 var(--body); resize: vertical;
}

.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: #fff; color: #111; font-weight: 700; padding: 10px 18px; border-radius: 999px; z-index: 50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
