@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/nunito-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Cherry Bomb One"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cherry-bomb-one-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Gochi Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/gochi-hand-latin-400-normal.woff2) format("woff2"); }

:root {
  --star: #FFE399;
  --rose: #FF94BC;
  --pink: #FE95EA;
  --blush: #F1B8FF;
  --violet: #B488F6;
  --periwinkle: #B1B8F8;
  --white: #FFFFFF;
  --sky-hi: #E6F8FF;
  --sky-lo: #B5E1F5;
  --sky-line: #5BB9E2;
  --ink: #3D2A70;
  --ice: #CFE4FF;
  --ice-deep: #6FA8F5;
  --ice-night: #1B2A63;
  --star-deep: #EDB84A;
  --night-hi: #2E1F5E;
  --night-lo: #170F36;

  --bg-hi: var(--sky-hi);
  --bg-lo: var(--sky-lo);
  --text: var(--ink);
  --text-soft: #6A55A8;
  --sparkle: var(--sky-line);
  --outline: var(--white);
  --face: var(--blush);
  --face-strong: var(--pink);
  --face-alt: var(--rose);
  --slot: rgb(255 255 255 / .72);
  --edge: var(--violet);
  --edge-2: var(--periwinkle);
  --band-a: var(--pink);
  --band-b: var(--blush);
  --cloud-1: var(--blush);
  --cloud-2: var(--white);
  --cloud-3: var(--pink);
  --cloud-4: var(--periwinkle);
  --cloud-outline: var(--white);
  --cloud-shadow: var(--violet);
  --rim-hi: color-mix(in srgb, var(--pink), white 55%);
  --rim: var(--pink);
  --rim-lo: color-mix(in srgb, var(--pink), var(--violet) 40%);
  --rim-alt-hi: color-mix(in srgb, var(--rose), white 55%);
  --rim-alt: var(--rose);
  --rim-alt-lo: color-mix(in srgb, var(--rose), var(--violet) 35%);
  --face-alt-soft: color-mix(in srgb, var(--rose), white 45%);
  --pat-a: rgb(255 255 255 / .5);
  --pat-b: rgb(180 136 246 / .4);

  --font-hand: "Gochi Hand", "Comic Sans MS", cursive;
  --font-game: "Cherry Bomb One", var(--font);
  --font-game-weight: 400;
  --font: "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --size-s: .875rem;
  --size-m: 1.125rem;
  --size-l: 1.5rem;

  --r-pill: 999px;
  --r-card: 28px;
  --stroke: 4px;
  --lift: 6px;
  --gap: 18px;
  --band: 22px;
  --clasp: clamp(90px, 22vmin, 170px);

  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-pop-out: cubic-bezier(.5, -0.5, .75, .6);
  --ease-part: cubic-bezier(.7, 0, .25, 1);
  --t-press: .14s;
  --t-pop: .5s;
  --t-clouds: .36s;
}

[data-theme="after"] {
  --bg-hi: var(--night-hi);
  --bg-lo: var(--night-lo);
  --text: var(--blush);
  --text-soft: var(--periwinkle);
  --sparkle: var(--violet);
  --outline: var(--periwinkle);
  --face: #4A3391;
  --face-strong: #6A45C4;
  --face-alt: #8A3F86;
  --slot: rgb(23 15 54 / .55);
  --edge: #24174F;
  --edge-2: #120B2B;
  --band-a: #4A3391;
  --band-b: #2E1F5E;
  --rim-hi: #9A7BEA;
  --rim: #6A45C4;
  --rim-lo: #3F2A85;
  --rim-alt-hi: #D07ACB;
  --rim-alt: #8A3F86;
  --rim-alt-lo: #5A2860;
  --face-alt-soft: #4A2552;
  --pat-a: rgb(177 184 248 / .22);
  --pat-b: rgb(18 11 43 / .45);
}

[data-theme="after"] {
  --band-a: #4A3391;
  --band-b: #2E1F5E;
  --outline: var(--periwinkle);
  --edge: #24174F;
  --cloud-1: #4A3391;
  --cloud-2: #8A3F86;
  --cloud-3: #2E1F5E;
  --cloud-4: #6A45C4;
  --cloud-outline: var(--periwinkle);
  --cloud-shadow: #120B2B;
}

@media (min-width: 860px) {
  :root { --band: 34px; --gap: 22px; --lift: 8px; }
}
