/* Plorb landing page. Palette and type follow the game (Platforb/scripts/psx.gd,
   README "Look"): flat paper-stack pastels, toy-blue flipper, chunky keys. */

@font-face { font-family: "DM Sans"; src: url(assets/fonts/DMSans-Variable.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Bowlby One SC"; src: url(assets/fonts/BowlbyOneSC-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Titan One"; src: url(assets/fonts/TitanOne-Regular.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #24263a;
  --ink-2: #545872;
  --paper: #ffffff;
  --sky: #e4f3f8;
  --sky-2: #d4ebf4;
  --checker: rgba(120, 160, 190, .07);
  --coral: #ef6e5a;
  --coral-d: #c94e3c;
  --sun: #f5b94f;
  --sun-d: #c98f2a;
  --mint: #4fbfa3;
  --mint-d: #2f9a80;
  --skyblue: #6dc3eb;
  --skyblue-d: #3f9cc8;
  --pink: #e9457f;
  --pink-d: #b42b5d;
  --lilac: #a892e0;
  --toy: #2f7be0;
  --navy: #1b1f2e;
  --navy-2: #252a3d;
  --peri: #c9cfe8;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(36, 38, 58, .08), 0 18px 40px -18px rgba(36, 38, 58, .25);
  --display: "Bowlby One SC", "Titan One", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--sky); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
/* No orphans (CLAUDE.md): never a word left alone on the last line. app.js noOrphans() backs this up. */
p, li, figcaption, dd, .tag, .lb__empty { text-wrap: pretty; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 50px); }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--toy); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* The game's faint checker sky */
.sky {
  background-color: var(--sky);
  background-image:
    linear-gradient(45deg, var(--checker) 25%, transparent 25%, transparent 75%, var(--checker) 75%),
    linear-gradient(45deg, var(--checker) 25%, transparent 25%, transparent 75%, var(--checker) 75%);
  background-size: 128px 128px;
  background-position: 0 0, 64px 64px;
}

/* ---------- Keys (the game's raised buttons) ---------- */
.key {
  --c: var(--paper); --d: #c9cfe0; --t: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 18px; text-decoration: none; color: var(--t);
  background: var(--c); border: 0; border-radius: 16px; padding: 14px 24px;
  box-shadow: 0 6px 0 var(--d), 0 12px 20px -8px rgba(36,38,58,.35);
  transform: translateY(0); transition: transform .12s ease, box-shadow .12s ease;
}
.key:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--d), 0 16px 24px -8px rgba(36,38,58,.35); }
.key:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--d), 0 4px 8px -4px rgba(36,38,58,.35); }
.key--sun { --c: var(--sun); --d: var(--sun-d); }
.key--sm { font-size: 15px; padding: 9px 16px; border-radius: 12px; box-shadow: 0 4px 0 var(--d); }
.key--sm:hover { box-shadow: 0 6px 0 var(--d); }

.chip { display: inline-block; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--paper); box-shadow: 0 3px 0 rgba(36,38,58,.08); }
.chip--mint { background: var(--mint); color: #fff; box-shadow: 0 3px 0 var(--mint-d); }
.tag { display: inline-block; font-family: var(--display); font-size: 13px; letter-spacing: .04em; color: #fff; padding: 5px 12px; border-radius: 8px; }
.tag--sky { background: var(--skyblue); box-shadow: 0 3px 0 var(--skyblue-d); }
.tag--pink { background: var(--pink); box-shadow: 0 3px 0 var(--pink-d); }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__head .eyebrow { justify-content: center; }
.section__lede { color: var(--ink-2); font-size: 19px; margin-top: 14px; }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(228, 243, 248, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(36,38,58,.06); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.nav__brand img { border-radius: 9px; box-shadow: 0 2px 0 rgba(36,38,58,.15); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav__links { display: none; } .nav .key { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
/* The wordmark, as the main menu draws it (ui_logo.gd, ui_ball_o.gd). */
.wordmark { font-family: var(--body); font-weight: 900; font-size: clamp(88px, 13vw, 168px); letter-spacing: -.045em; line-height: 1; margin: 18px 0 6px; color: var(--ink); }
.wm { display: inline-block; white-space: nowrap; transform-origin: 50% 70%; animation: sway 7s ease-in-out -1.75s infinite alternate; }
@keyframes sway {
  from { transform: perspective(1400px) rotateY(-4deg) rotate(1.1deg); }
  to { transform: perspective(1400px) rotateY(4deg) rotate(-1.1deg); }
}
/* Each letter drops in (growing from nothing, overshooting a little), then bobs in a wave. */
.wm__l { display: inline-block; animation: drop .34s cubic-bezier(.34, 1.56, .64, 1) calc(.08s + var(--i) * .05s) both; }
.wm__l > span { display: inline-block; transform-origin: 50% 62%; animation: wave 1.7s linear calc(var(--i) * .162s - 1.7s) infinite; }
@keyframes drop { from { transform: translateY(-.39em) scale(0); } }
/* bob 0.03 em with the wave, turn 2.5 deg a little ahead of it (sin(phase + 1.3)) */
@keyframes wave {
  0%, 100% { transform: translateY(0) rotate(2.41deg); }
  12.5% { transform: translateY(.021em) rotate(2.18deg); }
  25% { transform: translateY(.03em) rotate(.67deg); }
  37.5% { transform: translateY(.021em) rotate(-1.23deg); }
  50% { transform: translateY(0) rotate(-2.41deg); }
  62.5% { transform: translateY(-.021em) rotate(-2.18deg); }
  75% { transform: translateY(-.03em) rotate(-.67deg); }
  87.5% { transform: translateY(-.021em) rotate(1.23deg); }
}
/* The "o" is the classic orb: as big as the o, on the baseline. */
.wm__l--o > span { width: .6em; height: .57em; vertical-align: baseline; }
.ball { position: relative; display: block; width: .57em; height: .57em; margin: 0 auto; translate: 0 .01em; }
/* A quick little hop every 2.4 s (lift 0.16 of the radius), a squash as it lands, then a rest. */
.ball__hop { position: absolute; inset: 0; transform-origin: 50% 100%; animation: hop 2.4s linear 1.2s infinite; }
@keyframes hop {
  0%, 32.1%, 100% { transform: translateY(0) scale(1, 1); }
  5.7% { transform: translateY(-5.6%) scale(.965, 1.035); }
  11.5% { transform: translateY(-8%) scale(.95, 1.05); }
  17.2% { transform: translateY(-5.6%) scale(.965, 1.035); }
  22.9% { transform: translateY(0) scale(1, 1); }
  27.5% { transform: translateY(0) scale(1.11, .89); }
}
.ball__contact { position: absolute; left: 10%; right: 10%; bottom: -3%; height: 10%; border-radius: 50%; background: rgba(70, 80, 130, .3); z-index: -1; transform-origin: 50% 50%; animation: contact 2.4s linear 1.2s infinite; }
@keyframes contact { 0%, 22.9%, 100% { transform: scaleX(1); opacity: 1; } 11.5% { transform: scaleX(.8); opacity: .68; } }
/* The ball: its swirl rolls across it as it turns; the world's three flat tones on top. */
.ball__body { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #f28a26; box-shadow: 0 .02em .05em rgba(60, 70, 120, .25); }
.ball__map { position: absolute; inset: -40%; transform: rotate(-28deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='120' viewBox='0 0 200 120'%3E%3Cpath d='M-20 30 Q30 6 80 30 T180 30 T280 30' fill='none' stroke='%23fbdcb3' stroke-width='22'/%3E%3Cpath d='M-20 88 Q30 64 80 88 T180 88 T280 88' fill='none' stroke='%23fbdcb3' stroke-width='12'/%3E%3C/svg%3E") 0 0 / .62em .37em repeat;
  animation: roll 1.9s linear infinite; }
@keyframes roll { to { background-position: -.62em 0; } }
.ball__body::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 252, 240, .6) 0%, rgba(255, 252, 240, 0) 42%, rgba(70, 60, 160, 0) 58%, rgba(70, 60, 160, .42) 100%);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 72%); mask: radial-gradient(circle, transparent 46%, #000 72%); }
.ball__body::before { content: ""; position: absolute; z-index: 1; left: 19%; top: 17%; width: 22%; height: 19%; border-radius: 50%; background: #fff; transform: rotate(-30deg); opacity: .95; }
/* The studio credit, on One Smart Bunny's own blue (osb_splash.gd BG). */
.osb-credit { --osb: #5e8eba; display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 10px; border-radius: 999px; background: var(--osb); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; box-shadow: 0 3px 0 #46709a; transition: transform .12s ease, box-shadow .12s ease; }
.osb-credit:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #46709a; }
.osb-credit img { width: 20px; height: 28px; }
.osb-credit b { font-weight: 900; letter-spacing: -.01em; }
.osb-one { color: #eaffc7; }
.osb-bunny { color: #2e4552; }
.hero__free { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--mint-d); }
.hero__tag { font-family: var(--display); font-size: clamp(22px, 3vw, 32px); color: var(--coral); }
.hero__lede { font-size: 19px; color: var(--ink-2); max-width: 520px; margin-top: 14px; }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.hero__facts li { white-space: nowrap; }
.hero__facts b { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: 20px; margin-right: 2px; }
.hero__phone { position: relative; z-index: 2; display: grid; justify-items: center; }
.hero__caption { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--ink-2); opacity: .8; }

.phone { position: relative; width: min(320px, 78vw, (100svh - 150px) * .46); aspect-ratio: 540 / 1170; border-radius: 46px; padding: 11px; background: #15172a; box-shadow: 0 0 0 2px #3a3e58 inset, 0 40px 60px -24px rgba(36,38,58,.55), 22px 26px 0 -6px rgba(110, 120, 170, .18); transform: rotate(3deg); }
.phone__screen { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: var(--sky-2); }
.phone__notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 32%; height: 26px; border-radius: 20px; background: #15172a; }

/* The game's pieces (shaders/blk.gdshaderinc): a flat face in its colour, two
   darker steps showing down-right through a fixed shear, and a long, light
   shadow down-right. The filter sits outside the turning face, so the steps
   and shadow stay down-right however it turns. Pieces spin, breathe and drift. */
.pieces { position: absolute; inset: 0; pointer-events: none; }
.pc { --c: #fbfbff; --s1: #c9cfe8; --s2: #a9b0d6; --k: calc(var(--w) * .045);
  position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 1; margin: calc(var(--w) * -.5) 0 0 calc(var(--w) * -.5);
  filter: drop-shadow(var(--k) var(--k) 0 var(--s1)) drop-shadow(var(--k) var(--k) 0 var(--s2)) drop-shadow(calc(var(--w) * .2) calc(var(--w) * .26) calc(var(--w) * .07) rgba(96, 118, 176, .2));
  animation: drift 13s ease-in-out var(--d, 0s) infinite alternate; }
.pc > i { display: block; width: 100%; height: 100%; background: var(--c); border-radius: 9%; rotate: var(--r);
  animation: spin var(--spin, 40s) linear var(--d, 0s) infinite var(--dir, normal), breathe 3.6s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes spin { from { rotate: var(--r); } to { rotate: calc(var(--r) + 360deg); } }
@keyframes breathe { from { scale: .93; } to { scale: 1.04; } }
@keyframes drift { 0% { translate: -8px 4px; } 50% { translate: 6px -8px; } 100% { translate: 10px 6px; } }
.pc--slab > i { height: 44%; margin-top: 28%; border-radius: 12% / 26%; }
.pc--pent > i { border-radius: 0; clip-path: polygon(50% 2%, 98% 37%, 80% 96%, 20% 96%, 2% 37%); }
.pc--tri > i { border-radius: 0; clip-path: polygon(50% 6%, 97% 90%, 3% 90%); }
.pc--ring > i { border-radius: 0; clip-path: polygon(evenodd, 30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%, 30% 0, 38% 22%, 22% 38%, 22% 62%, 38% 78%, 62% 78%, 78% 62%, 78% 38%, 62% 22%, 38% 22%); }
.pc--coral { --c: #f07a67; --s1: #cc5d55; --s2: #a84a55; }
.pc--mint { --c: #67cdb6; --s1: #49a698; --s2: #3a8786; }
.pc--sun { --c: #f7c64f; --s1: #d49d3e; --s2: #b07f40; }
.pc--sky { --c: #6dc3eb; --s1: #509bca; --s2: #4180b2; }
.pc--pink { --c: #f394b5; --s1: #ca7098; --s2: #a85b88; }
.pc--grass { --c: #8fd06a; --s1: #68a753; --s2: #548a52; }
/* Flat clouds of round puffs, drifting slowly back and forth (backdrop.gd). */
.cloud { position: absolute; width: 260px; height: 90px; background: #fff; border-radius: 90px; opacity: .85; filter: drop-shadow(0 6px 0 rgba(200, 215, 235, .6)); animation: cloud 48s ease-in-out infinite alternate; }
@keyframes cloud { to { translate: 40px 0; } }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 120px; height: 120px; left: 40px; top: -60px; }
.cloud::after { width: 90px; height: 90px; left: 130px; top: -40px; }
.cloud--a { left: -60px; bottom: 60px; }
.cloud--b { right: -80px; top: 120px; transform: scale(.7); opacity: .7; }

@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero__in { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .wordmark { justify-content: center; }
  .hero__lede { margin-inline: auto; }
  .hero__facts { justify-content: center; }
  .stores { justify-content: center; }
  .phone { transform: none; }
  .pc { --w: 56px !important; opacity: .75; }
  .pc:nth-child(2), .pc:nth-child(4), .pc:nth-child(8) { display: none; }
  .cloud--b { top: 60px; }
}

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stores--center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; height: 58px; padding: 0 18px 0 14px; border-radius: 14px; background: #0b0b0f; color: #fff; text-decoration: none; font-weight: 700; font-size: 21px; line-height: 1; letter-spacing: -.01em; box-shadow: 0 5px 0 #3a3e58, 0 14px 22px -10px rgba(0,0,0,.45); transition: transform .12s ease, box-shadow .12s ease; }
.store:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #3a3e58, 0 18px 26px -10px rgba(0,0,0,.45); }
.store:active { transform: translateY(4px); box-shadow: 0 1px 0 #3a3e58; }
.store svg { width: 26px; height: 30px; flex: none; }
.store span { display: grid; gap: 3px; }
.store small { font-size: 11px; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.store[data-store="google"] small { text-transform: uppercase; font-size: 10px; letter-spacing: .06em; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 40px 0; }
@media (max-width: 720px) { .section { padding: 68px 0; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-family: var(--display); font-size: 22px; color: #fff; background: var(--toy); box-shadow: 0 4px 0 #1d5bb0; margin-bottom: 18px; }
.step__n--sun { background: var(--sun); box-shadow: 0 4px 0 var(--sun-d); color: var(--ink); }
.step__n--pink { background: var(--pink); box-shadow: 0 4px 0 var(--pink-d); }
.step p, .mode p { color: var(--ink-2); margin-top: 8px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.mode { padding: 28px; display: grid; gap: 12px; justify-items: start; }
.mode h3 { font-size: 24px; }
@media (max-width: 860px) { .steps, .modes { grid-template-columns: 1fr; } }

/* The climb: copy beside three phones fanned out, one per zone. */
.climb { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.climb__copy .section__lede { margin-top: 16px; }
.zone-key { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-key li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: 0 3px 0 rgba(36,38,58,.07); }
.zone-key li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: var(--z); box-shadow: inset 0 -3px 0 rgba(36,38,58,.15); }
.zone-key b { color: var(--ink); font-weight: 800; }
.fan { display: flex; justify-content: center; align-items: flex-start; padding: 12px 0 40px; }
.fan__item { margin: 0 -26px; display: grid; justify-items: center; gap: 16px; transform: translateY(var(--lift)) rotate(var(--rot)); transform-origin: 50% 100%; z-index: 1; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.fan__item--mid { z-index: 2; }
.fan__item:hover { transform: translateY(calc(var(--lift) - 14px)) rotate(var(--rot)); z-index: 3; }
.phone--sm { width: clamp(150px, 16.5vw, 214px); padding: 8px; border-radius: 34px; transform: none; box-shadow: 0 0 0 2px #3a3e58 inset, 0 30px 46px -20px rgba(36,38,58,.55); }
.phone--sm .phone__screen { border-radius: 27px; }
.phone--sm .phone__notch { top: 14px; height: 18px; }
.tag--mint { background: var(--mint); box-shadow: 0 3px 0 var(--mint-d); }
.tag--peach { background: #f29a5b; box-shadow: 0 3px 0 #c8733a; }
.tag--night { background: #262b4d; box-shadow: 0 3px 0 #10132a; }
@media (max-width: 900px) {
  .climb { grid-template-columns: 1fr; text-align: center; }
  .climb__copy .eyebrow { justify-content: center; }
  .zone-key { justify-content: center; }
  .phone--sm { width: 31vw; border-radius: 22px; padding: 5px; }
  .phone--sm .phone__screen { border-radius: 18px; }
  .phone--sm .phone__notch { top: 9px; height: 11px; }
  .fan__item { margin: 0 -3.5vw; gap: 10px; }
  .fan__item .tag { font-size: 11px; padding: 4px 8px; }
}

/* Daily */
.daily { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 36px 40px; }
.daily h2 { font-size: clamp(24px, 3.4vw, 36px); }
.daily p:not(.eyebrow) { color: var(--ink-2); margin-top: 10px; max-width: 620px; }
.daily__cal { position: relative; width: 104px; height: 104px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 3px #eef0f7 inset, 0 6px 0 #d7dbeb; display: grid; place-items: end center; padding-bottom: 12px; overflow: hidden; }
.daily__cal::before { content: ""; position: absolute; inset: 0 0 auto; height: 30px; background: var(--coral); }
.daily__rings { position: absolute; top: 8px; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 22px; }
.daily__rings i { width: 9px; height: 18px; border-radius: 6px; background: #fff; box-shadow: 0 2px 0 #c55a4c; }
.daily__day { font-family: var(--display); font-size: 48px; line-height: 1; }
.daily__tries { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 14px; }
.daily__tries i { width: 28px; height: 28px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 -4px 0 var(--sun-d), 0 2px 0 rgba(36,38,58,.15); }
@media (max-width: 860px) { .daily { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 24px; } .daily .eyebrow { justify-content: center; } }

/* ---------- Leaderboard ---------- */
.lb-sec { background: linear-gradient(180deg, transparent, var(--sky-2) 40%, transparent); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 0 rgba(47,191,113,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,191,113,0); } 100% { box-shadow: 0 0 0 0 rgba(47,191,113,0); } }
.lb { max-width: 720px; margin: 0 auto; padding: 24px; }
.seg { display: flex; padding: 5px; gap: 4px; background: var(--navy); border-radius: 16px; box-shadow: 0 5px 0 #0e1019; }
.seg button { flex: 1; border: 0; background: transparent; color: #fff; font-family: var(--display); font-size: 17px; padding: 10px 12px; border-radius: 12px; transition: background .15s; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 3px 0 #b9bfd6; }
.seg--sm { background: #eef0f7; box-shadow: none; border-radius: 12px; padding: 4px; }
.seg--sm button { font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--ink-2); padding: 7px 10px; border-radius: 9px; }
.seg--sm button[aria-pressed="true"] { color: var(--ink); box-shadow: 0 2px 0 #c9cfe0; }
.seg--sm [data-mode="standard"][aria-pressed="true"] { background: var(--skyblue); color: #fff; box-shadow: 0 2px 0 var(--skyblue-d); }
.seg--sm [data-mode="expert"][aria-pressed="true"] { background: var(--pink); color: #fff; box-shadow: 0 2px 0 var(--pink-d); }
.seg--sm [data-window][aria-pressed="true"] { background: var(--mint); color: #fff; box-shadow: 0 2px 0 var(--mint-d); }
.lb__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lb__chips[hidden] { display: none; }
.lb__chips .seg:first-child { flex: 1 1 180px; }
.lb__chips .seg:last-child { flex: 2 1 260px; }
.lb__meta { margin: 18px 4px 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.lb__rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; min-height: 200px; }
.lb__row { display: grid; grid-template-columns: 40px 44px 1fr auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; background: #f5f6fb; animation: rowIn .35s both; }
.lb__row:nth-child(n) { animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.lb__rank { font-family: var(--display); font-size: 18px; text-align: center; color: var(--ink-2); }
.lb__row--top .lb__rank { display: grid; place-items: center; width: 34px; height: 34px; margin: auto; border-radius: 50%; color: #fff; }
.lb__row--r1 { background: #fff6dc; } .lb__row--r1 .lb__rank { background: var(--sun); box-shadow: 0 3px 0 var(--sun-d); color: var(--ink); }
.lb__row--r2 .lb__rank { background: #a9b1c9; box-shadow: 0 3px 0 #7d86a2; }
.lb__row--r3 .lb__rank { background: #e0955a; box-shadow: 0 3px 0 #b46b35; }
.lb__orb img { width: 44px; height: 44px; object-fit: contain; }
.lb__name { font-weight: 800; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heart { color: var(--pink); font-size: 15px; }
.lb__dist { font-family: var(--display); font-size: 19px; font-variant-numeric: tabular-nums; }
.lb__dist small { font-family: var(--body); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.lb__row--ghost { animation: none; }
.lb__row--ghost .lb__orb { width: 40px; height: 40px; border-radius: 50%; background: #e7e9f2; }
.lb__row--ghost i { display: block; height: 12px; border-radius: 6px; background: #e7e9f2; width: 60%; }
.lb__row--ghost .lb__dist i { width: 48px; }
.is-loading .lb__row--ghost { animation: shimmer 1.2s ease-in-out infinite alternate; }
@keyframes shimmer { to { opacity: .45; } }
.lb__empty { text-align: center; padding: 40px 16px; color: var(--ink-2); background: #f5f6fb; border-radius: 14px; }
.lb__empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.lb__foot { text-align: center; margin-top: 18px; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.lb__foot a { color: var(--toy); font-weight: 800; }

/* ---------- Orb gallery ---------- */
.orbs-sec { background: radial-gradient(ellipse at 50% 0%, #2c3350 0%, var(--navy) 60%); color: #fff; }
.section__head--dark .section__lede { color: #b8bdd6; }
.eyebrow--sun { color: var(--sun); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filters button { border: 0; background: var(--navy-2); color: #d5d9ec; font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; box-shadow: 0 3px 0 #10131d; }
.filters button span { opacity: .55; margin-left: 4px; }
.filters button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 3px 0 #9aa1bf; }
.orb-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px 8px; }
.orb[hidden] { display: none; }
.orb button { width: 100%; border: 0; background: transparent; color: #fff; display: grid; justify-items: center; gap: 2px; padding: 10px 6px 12px; border-radius: 20px; transition: background .2s; }
.orb button:hover { background: rgba(255,255,255,.05); }
.orb__pic { width: 100%; max-width: 150px; aspect-ratio: 1; display: grid; place-items: center; }
.orb__pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.orb button:hover .orb__pic img, .orb button:focus-visible .orb__pic img { transform: scale(1.1) rotate(-8deg); }
.orb__name { font-weight: 800; font-size: 16px; }
.orb__flag { font-family: var(--display); font-size: 11px; letter-spacing: .04em; color: var(--pink); }
.orb__flag--holiday { color: var(--sun); }

.orb-dlg { border: 0; padding: 32px 28px 30px; width: min(420px, 100% - 32px); border-radius: 28px; background: var(--navy); color: #fff; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.orb-dlg::backdrop { background: rgba(14, 16, 28, .6); backdrop-filter: blur(4px); }
.orb-dlg[open] { animation: pop .3s cubic-bezier(.3,1.5,.5,1); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.orb-dlg__x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--navy-2); color: #fff; font-size: 26px; line-height: 1; }
.orb-dlg__img { width: 240px; height: 240px; object-fit: contain; margin: 0 auto 10px; animation: float 3.5s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-8px) rotate(4deg); } }
.orb-dlg__tier { color: #b8bdd6; font-weight: 700; font-size: 14px; }
.orb-dlg__tier[data-tier="supporter"] { color: var(--pink); }
.orb-dlg__tier[data-tier="legendary"], .orb-dlg__tier[data-tier="holiday"] { color: var(--sun); }
.orb-dlg h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 7.2vw, 34px); margin: 4px 0 12px; }
.orb-dlg__badge { font-family: var(--display); color: var(--sun); font-size: 15px; letter-spacing: .02em; }
.orb-dlg__how { color: #d5d9ec; margin-top: 6px; }

/* ---------- Supporter ---------- */
.supporter { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 30px 36px; border-radius: var(--radius); background: var(--pink); color: #fff; box-shadow: 0 8px 0 var(--pink-d), 0 26px 40px -20px rgba(180, 43, 93, .6); }
.supporter h2 { font-size: clamp(26px, 3.6vw, 38px); }
.supporter p { margin-top: 10px; font-size: 18px; max-width: 620px; }
.supporter__orbs { display: flex; }
.supporter__orbs img { width: 78px; height: 78px; object-fit: contain; margin-left: -16px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); }
.supporter__orbs img:first-child { margin-left: 0; }
.supporter__orbs img:nth-child(odd) { transform: translateY(-8px); }
@media (max-width: 860px) { .supporter { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; } .supporter__orbs img { width: 62px; height: 62px; } }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; }
.cta__in { display: grid; justify-items: center; gap: 12px; }
.cta__icon { width: 128px; height: 128px; border-radius: 30px; box-shadow: 0 8px 0 rgba(36,38,58,.12), 0 24px 40px -16px rgba(36,38,58,.4); margin-bottom: 14px; }
.cta p { color: var(--ink-2); font-size: 19px; }
.cta .stores { margin-top: 18px; }
.foot { background: var(--navy); color: #b8bdd6; font-size: 14px; padding: 28px 0; }
.foot__in p { flex: 1 1 300px; }
.osb-tile { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 16px; background: #5e8eba; box-shadow: 0 4px 0 #46709a; transition: transform .12s ease, box-shadow .12s ease; }
.osb-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #46709a; text-decoration: none; }
.osb-tile img:first-child { width: 34px; height: 48px; }
.osb-tile img:last-child { width: 96px; height: 39px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: #fff; font-weight: 700; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
