/* CoinCart Kids — shared tokens + primitives. Owned by lead; do not edit. */

:root {
  color-scheme: light;

  /* palette */
  --cream: #FFF9F0;
  --paper: #FFFFFF;
  --ink: #22304A;
  --ink-soft: #5A6A8A;
  --line: #EFE4D0;

  --gold: #F6B93B;
  --gold-deep: #D98E04;
  --gold-pale: #FDEBC8;
  --coral: #FF6B5E;
  --coral-pale: #FFE3E0;
  --green: #3BA96C;
  --green-pale: #DDF2E6;
  --sky: #4C86E8;
  --sky-pale: #DFEAFC;
  --purple: #8A63E8;
  --purple-pale: #EAE2FC;

  /* shape + depth */
  --r-card: 20px;
  --r-pill: 999px;
  --shadow: 0 2px 6px rgba(34, 48, 74, 0.06), 0 12px 28px rgba(34, 48, 74, 0.08);
  --shadow-pop: 0 4px 10px rgba(34, 48, 74, 0.10), 0 18px 44px rgba(34, 48, 74, 0.16);

  /* type */
  --font: ui-rounded, -apple-system, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, p { margin: 0; overflow-wrap: break-word; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}

input, select { font: inherit; color: inherit; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* --- primitives --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.7em 1.5em;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #3A2A00; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--big { min-height: 60px; font-size: 1.15rem; padding: 0.8em 1.9em; }

.card {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.25em 0.85em;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--gold-pale);
  color: var(--gold-deep);
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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