:root {
  --s0: #07051a;
  --s1: #120d2c;
  --s2: #1d1546;
  --s3: #2a1f63;
  --line: rgba(201, 184, 255, 0.14);
  --glass: rgba(28, 20, 70, 0.55);
  --text: #f6f2ff;
  --muted: #b9aee0;
  --dim: #8f84bb;
  --violet: #8b6cff;
  --lav: #c9b8ff;
  --mint: #3de6c2;
  --grass: #8be04e;
  --gold: #ffc73d;
  --coin: #ffb020;
  --pink: #ff7091;
  --sky: #4dbfff;
  --lava: #ff6a2b;
  --ice: #bfe9ff;
  --r: 22px;
  --nav: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
main > section, .foot { overflow-x: clip; }
body {
  margin: 0;
  background: radial-gradient(1200px 800px at 70% -10%, #2b1d6e 0%, transparent 60%), linear-gradient(180deg, var(--s1) 0%, var(--s0) 100%);
  background-color: var(--s0);
  color: var(--text);
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
.nebula, .tankbar, .nav, .toasts { max-width: 100vw; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: #8ff5dd; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--mint); color: #082a22; padding: 10px 16px; border-radius: 12px; font-weight: 800; transition: top .2s; }
.skip:focus { top: 12px; }

.starfield { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; }
.nebula { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.nebula i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: drift 40s ease-in-out infinite alternate; }
.nebula i:nth-child(1) { width: 60vw; height: 60vw; left: -15vw; top: 10vh; background: radial-gradient(circle, #5b2fb8 0%, transparent 65%); }
.nebula i:nth-child(2) { width: 50vw; height: 50vw; right: -10vw; top: 60vh; background: radial-gradient(circle, #0f6d8f 0%, transparent 65%); animation-duration: 55s; opacity: .35; }
.nebula i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 140vh; background: radial-gradient(circle, #8f2f7a 0%, transparent 65%); animation-duration: 47s; opacity: .3; }
@keyframes drift { to { transform: translate(6vw, -8vh) scale(1.15); } }
.sky { display: none; }

.tankbar { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 120; pointer-events: none; }
.tankbar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #3de6c2, #8be04e 40%, #ffc73d 75%, #ff5d5d); box-shadow: 0 0 14px rgba(139, 224, 78, .7); border-radius: 0 4px 4px 0; transition: width .1s linear; }

.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 100; padding: 12px 18px 0; transition: transform .35s var(--ease); }
.nav-in, .nav .inner { max-width: 1240px; margin: 0 auto; height: 58px; display: flex; align-items: center; gap: 18px; padding: 0 10px 0 14px; border-radius: 20px; background: rgba(18, 13, 44, .55); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.nav.hide { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); transition: transform .4s var(--pop); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.wm, .brand span { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.wm b, .brand span b { color: #fff; font-weight: 800; }
.wm i, .brand span i { font-style: normal; color: var(--gold); margin-left: 6px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: var(--muted); font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 12px; transition: color .2s, background .2s; }
.links a:hover, .links a.on { color: #fff; background: rgba(139, 108, 255, .18); }
.hud { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--text); font-weight: 900; font-size: 15px; white-space: nowrap; }
.pill.coins { padding-left: 6px; background: linear-gradient(180deg, rgba(255, 199, 61, .22), rgba(255, 176, 32, .08)); border-color: rgba(255, 199, 61, .35); }
.pill.coins img { width: 28px; height: 28px; }
.pill.coins.bump { animation: bump .45s var(--pop); }
@keyframes bump { 40% { transform: scale(1.18); } }
.pill.sound { width: 40px; padding: 0; justify-content: center; position: relative; }
.pill.sound svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pill.sound svg path:first-child { stroke: none; }
.pill.sound .w1, .pill.sound .w2 { display: none; }
.pill.sound[aria-pressed="true"] .w1, .pill.sound[aria-pressed="true"] .w2 { display: block; }
.pill.sound[aria-pressed="true"] .x { display: none; }
.pill.sound[aria-pressed="true"] { background: rgba(61, 230, 194, .16); border-color: rgba(61, 230, 194, .45); color: var(--mint); }
.pill.sound .eq { display: none; }
.pill.get { background: linear-gradient(180deg, #5ff0cf, #23c4a1); color: #062a22; border: 0; box-shadow: 0 6px 18px rgba(61, 230, 194, .35); }
.pill.get:hover { color: #062a22; transform: translateY(-1px); }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.burger i:first-child { top: 15px; }
.burger i:last-child { top: 22px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.sprite { --h: 140px; width: calc(var(--h) * 221 / 280); height: var(--h); background-repeat: no-repeat; background-size: calc(var(--h) * 221 / 280 * 12) var(--h); animation: frames .75s steps(12) infinite; pointer-events: none; }
.sprite.run { background-image: url(/cosmic-chores/media/img/hero-run.webp); animation-duration: .6s; }
.sprite.wave { background-image: url(/cosmic-chores/media/img/hero-wave.webp); animation-duration: 1.2s; }
.sprite.yes { background-image: url(/cosmic-chores/media/img/hero-yes.webp); animation-duration: .9s; }
.sprite.jump { background-image: url(/cosmic-chores/media/img/hero-jump.webp); animation-duration: .8s; }
@keyframes frames { to { background-position: calc(var(--h) * 221 / 280 * -12) 0; } }

.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; position: relative; }
section { position: relative; padding: 130px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--mint), var(--sky)); }
h2 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; margin-bottom: 22px; text-wrap: balance; }
h2 em, h3 em { font-style: normal; background: linear-gradient(100deg, var(--mint), var(--sky) 50%, var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.head p { color: var(--muted); font-size: 19px; }
.big { font-size: clamp(18px, 1.6vw, 21px); color: #e4dcff; }
.fine { color: var(--dim); font-size: 14.5px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.hero { min-height: 100vh; min-height: 100svh; padding: calc(var(--nav) + 50px) 0 90px; display: flex; align-items: center; }
.hero-in { width: min(1240px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.02fr 1fr; gap: 30px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(61, 230, 194, .1); border: 1px solid rgba(61, 230, 194, .3); color: #b6fff0; font-weight: 800; font-size: 14px; margin-bottom: 22px; }
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(61, 230, 194, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 230, 194, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 230, 194, 0); } }
.logo { font-weight: 800; line-height: .86; margin: 0 0 18px; text-transform: uppercase; font-size: clamp(64px, 10.5vw, 150px); }
.logo span { display: block; white-space: nowrap; }
.logo .ch { display: inline-block; transform-origin: 50% 100%; animation: chIn .9s var(--pop) both, chBob 4s ease-in-out infinite; animation-delay: calc(var(--i) * 55ms + .1s), calc(var(--i) * 120ms + 1.2s); }
.logo .l1 .ch { background: linear-gradient(180deg, #ffffff 0%, #e6dcff 55%, #b7a3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 0 #3b2a8a) drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); }
.logo .l2 { margin-top: .04em; }
.logo .l2 .ch { background: linear-gradient(180deg, #fff3b0 0%, #ffc73d 45%, #ff8a1f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 0 #a24b0a) drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); }
@keyframes chIn { 0% { opacity: 0; transform: translateY(-120%) scale(.4) rotate(-12deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes chBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.logo .ch:hover { animation: chJump .5s var(--pop); }
@keyframes chJump { 40% { transform: translateY(-22%) scale(1.1, .92) rotate(-6deg); } }
.tagline { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 14px; color: #fff; }
.lede { color: var(--muted); font-size: clamp(16.5px, 1.35vw, 19px); max-width: 560px; }
.lede strong { color: #fff; background: linear-gradient(transparent 60%, rgba(255, 112, 145, .45) 60%); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 28px 0 24px; }
.cta-row.center { justify-content: center; }
.btn-play { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 26px 0 20px; border-radius: 18px; background: linear-gradient(180deg, #6bf3d4 0%, #1fbf9b 100%); color: #052a21; box-shadow: 0 8px 0 #0f7d64, 0 18px 40px rgba(61, 230, 194, .35); transition: transform .25s var(--pop), box-shadow .25s; }
.btn-play:hover { color: #052a21; transform: translateY(-3px); box-shadow: 0 11px 0 #0f7d64, 0 24px 50px rgba(61, 230, 194, .45); }
.btn-play:active { transform: translateY(5px); box-shadow: 0 3px 0 #0f7d64, 0 10px 20px rgba(61, 230, 194, .3); }
.btn-play::after { content: ""; position: absolute; top: -50%; bottom: -50%; width: 60px; left: -100px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: rotate(20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -100px; } 100% { left: 120%; } }
.btn-play svg { width: 30px; height: 30px; fill: #052a21; }
.btn-play span { display: flex; flex-direction: column; line-height: 1.05; }
.btn-play small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.btn-play b { font-family: var(--display); font-size: 24px; font-weight: 800; }
.btn-play.big { height: 76px; padding: 0 34px 0 26px; }
.btn-play.big b { font-size: 28px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 0 24px; border-radius: 18px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .05); font-weight: 900; font-size: 16px; transition: background .25s, transform .25s var(--pop), border-color .25s; }
.btn-ghost:hover { background: rgba(139, 108, 255, .18); border-color: rgba(139, 108, 255, .5); transform: translateY(-2px); }
.btn-ghost svg { width: 22px; height: 22px; padding: 5px; box-sizing: content-box; border-radius: 50%; background: var(--pink); color: #fff; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--muted); font-weight: 800; font-size: 14.5px; }
.chips b { color: var(--gold); font-family: var(--display); font-size: 17px; }

.hero-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.moon-wrap { position: relative; width: min(640px, 46vw, 72vh); aspect-ratio: 1; z-index: 2; }
.moon-gl { position: absolute; left: -18%; top: -18%; width: 136%; height: 136%; max-width: none; pointer-events: none; }
.moon-hit { position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; border-radius: 50%; touch-action: pan-y pinch-zoom; z-index: 4; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M30 4l-12 18' stroke='%23b0703a' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M15 20l7 5-6 10c-3 2-9 0-11-2z' fill='%23ffc73d' stroke='%2378420f' stroke-width='2'/%3E%3C/svg%3E") 8 34, crosshair; }
.rider { --h: 92px; position: absolute; left: 50%; bottom: 88.4%; transform: translateX(-50%); z-index: 5; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transition: transform .3s var(--pop); }
.rider.hop { animation-name: frames, riderHop; animation-duration: 1.2s, .55s; animation-timing-function: steps(12), var(--pop); animation-iteration-count: infinite, 1; }
@keyframes riderHop { 40% { translate: 0 -30px; } }
.moon-hint { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(13, 9, 34, .78); border: 1px solid rgba(255, 199, 61, .4); color: #ffe9a8; font-weight: 900; font-size: 14.5px; white-space: nowrap; pointer-events: none; transition: opacity .5s, transform .5s var(--ease); animation: hintBob 2.4s ease-in-out infinite; }
.moon-hint svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moon-hint.gone { opacity: 0; transform: translateX(-50%) translateY(10px); animation: none; }
@keyframes hintBob { 50% { translate: 0 -6px; } }
.orbits { position: absolute; inset: 0; pointer-events: none; }
.nav .inner .links { display: flex; }
.heroes { overflow: hidden; }
.orbit { position: absolute; left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px; pointer-events: none; will-change: transform; }
.orbit img { width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); transition: transform .3s var(--pop); }
.orbit:hover img { transform: scale(1.25); }
.moon-meter { position: relative; z-index: 3; width: min(460px, 100%); margin-top: -10px; padding: 14px 18px 12px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mm-top { display: flex; justify-content: space-between; font-weight: 900; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mm-top b { font-family: var(--display); color: var(--grass); font-size: 20px; letter-spacing: 0; }
.mm-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 6px 0 10px; }
.mm-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #3de6c2, #8be04e); border-radius: 10px; box-shadow: 0 0 12px rgba(139, 224, 78, .6); transition: width .3s var(--ease); }
.mm-life { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.mm-life li { width: 34px; height: 34px; position: relative; }
.mm-life img { width: 100%; height: 100%; filter: grayscale(1) brightness(.35) contrast(.8); opacity: .7; transition: filter .4s, opacity .4s; }
.mm-life li.on img { filter: none; opacity: 1; animation: lifePop .7s var(--pop); }
@keyframes lifePop { 0% { transform: scale(.2); } 60% { transform: scale(1.5) rotate(-8deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(201, 184, 255, .45); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 5px; height: 9px; margin-left: -2.5px; border-radius: 4px; background: var(--lav); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.noads { padding-top: 110px; }
.noads-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.noads h2 { font-size: clamp(42px, 6vw, 80px); }
.zero { display: inline-block; font-size: 1.5em; line-height: .8; vertical-align: -.08em; background: linear-gradient(180deg, #fff6c0, #ffc73d 45%, #ff7b1f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 #9a3f07) drop-shadow(0 0 30px rgba(255, 199, 61, .45)); animation: zeroPulse 2.6s ease-in-out infinite; }
@keyframes zeroPulse { 50% { transform: scale(1.08) rotate(-4deg); } }
.noads-list { list-style: none; padding: 0; margin: 6px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.noads-list li { position: relative; padding: 12px 14px 12px 46px; border-radius: 16px; background: rgba(255, 112, 145, .08); border: 1px solid rgba(255, 112, 145, .25); color: var(--muted); font-size: 15px; line-height: 1.35; }
.noads-list li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' stroke='white' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.noads-list b { color: #fff; display: block; }
.popups { position: relative; height: 500px; }
.pop { position: absolute; width: 210px; padding: 0 0 14px; border-radius: 16px; background: #fff; color: #1d1546; text-align: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .45), 0 0 0 3px rgba(0, 0, 0, .08); cursor: pointer; animation: popIdle 3s ease-in-out infinite; transition: opacity .3s; }
.pop .bar { display: flex; gap: 5px; align-items: center; padding: 9px 10px; border-bottom: 2px solid #eee; margin-bottom: 12px; }
.pop .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.pop .bar i:nth-child(2) { background: #febc2e; }
.pop .bar i:nth-child(3) { background: #28c840; }
.pop .bar em { margin-left: auto; font-style: normal; font-weight: 900; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: #ffd400; color: #000; }
.pop b { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; padding: 0 10px; }
.pop .cta { display: inline-block; margin-top: 12px; padding: 7px 16px; border-radius: 10px; background: #ff3b6b; color: #fff; font-weight: 900; font-size: 14px; }
.pop.p1 { left: 4%; top: 6%; rotate: -8deg; animation-delay: -.4s; }
.pop.p2 { right: 2%; top: 0; rotate: 7deg; background: #fff8d6; animation-delay: -1.1s; }
.pop.p3 { left: 30%; top: 32%; rotate: 3deg; z-index: 2; animation-delay: -.8s; }
.pop.p4 { left: 0; bottom: 8%; rotate: 6deg; background: #e7fff8; animation-delay: -2s; }
.pop.p5 { right: 4%; bottom: 14%; rotate: -6deg; animation-delay: -1.6s; }
.pop.p6 { left: 36%; bottom: -2%; rotate: -3deg; background: #f1ecff; animation-delay: -.2s; }
@keyframes popIdle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.pop.gone { animation: popGone .55s var(--ease) forwards; pointer-events: none; }
@keyframes popGone { 0% { transform: scale(1); filter: blur(0); } 30% { transform: scale(1.12) rotate(6deg); } 100% { transform: scale(0) rotate(-30deg); opacity: 0; filter: blur(6px); } }
.pop.back { animation: popBack .7s var(--pop) both, popIdle 3s ease-in-out .7s infinite; }
@keyframes popBack { from { transform: scale(0) rotate(30deg); opacity: 0; } }
.sweeper { --h: 150px; position: absolute; left: -160px; bottom: 30%; z-index: 5; opacity: 0; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .4)); }
.sweeper.go { animation: frames .55s steps(12) infinite, sweepRun 2.2s linear forwards; }
@keyframes sweepRun { 0% { opacity: 1; transform: translateX(0); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(min(600px, 50vw) + 200px)); } }
.clean-badge { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) scale(0); width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(circle at 35% 30%, #6bf3d4, #13a383); box-shadow: 0 0 0 10px rgba(61, 230, 194, .18), 0 0 0 22px rgba(61, 230, 194, .08), 0 30px 60px rgba(0, 0, 0, .4); color: #062a22; transition: transform .7s var(--pop); }
.clean-badge b { font-family: var(--display); font-size: 120px; line-height: .8; }
.clean-badge span { font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .1em; }
.popups.clean .clean-badge { transform: translate(-50%, -50%) scale(1); animation: badgeSpin 6s ease-in-out .8s infinite; }
@keyframes badgeSpin { 50% { transform: translate(-50%, -50%) scale(1.05) rotate(-6deg); } }
.again { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--muted); font-weight: 800; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.popups.clean .again { opacity: 1; pointer-events: auto; }

.loop-wrap { display: grid; grid-template-columns: 480px 1fr; gap: 70px; align-items: center; }
.loop { position: relative; width: 480px; height: 480px; }
.ring { position: absolute; inset: 48px; border-radius: 50%; border: 3px dashed rgba(201, 184, 255, .3); animation: spin 8s linear infinite; }
.ring::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; background: conic-gradient(from -90deg, rgba(61, 230, 194, .55), transparent 25%); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 70%, transparent 71%); mask: radial-gradient(circle, transparent 62%, #000 63%, #000 70%, transparent 71%); }
.spark { position: absolute; left: 50%; top: -11px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff, 0 0 24px var(--mint), 0 0 50px var(--mint); }
@keyframes spin { to { transform: rotate(360deg); } }
.node { position: absolute; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #3a2b84, #1a1240); border: 2px solid rgba(201, 184, 255, .25); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); animation: nodeOn 8s linear infinite; z-index: 2; }
.node img { width: 84px; height: 84px; }
.node.n1 { left: 50%; top: 48px; animation-delay: 0s; }
.node.n2 { left: calc(100% - 48px); top: 50%; animation-delay: 2s; }
.node.n3 { left: 50%; top: calc(100% - 48px); animation-delay: 4s; }
.node.n4 { left: 48px; top: 50%; animation-delay: 6s; }
@keyframes nodeOn { 0% { transform: scale(1.22); border-color: var(--mint); box-shadow: 0 0 0 8px rgba(61, 230, 194, .2), 0 0 40px rgba(61, 230, 194, .6); } 14% { transform: scale(1); border-color: rgba(201, 184, 255, .25); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); } 100% { transform: scale(1); } }
.loop-video { position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; margin: -105px 0 0 -105px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255, 255, 255, .12); box-shadow: 0 0 60px rgba(139, 108, 255, .5); }
.loop-video video { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 20px 22px 18px 84px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.step .n { position: absolute; left: 20px; top: 20px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; background: linear-gradient(180deg, #8b6cff, #5a3fd6); box-shadow: 0 5px 0 #3b2a8a; }
.step h3 { font-size: 26px; margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.step { animation: stepOn 8s linear infinite; animation-delay: calc(var(--k) * 2s); }
.step[data-step="0"] { --k: 0; } .step[data-step="1"] { --k: 1; } .step[data-step="2"] { --k: 2; } .step[data-step="3"] { --k: 3; }
@keyframes stepOn { 0%, 22% { border-color: rgba(61, 230, 194, .55); background: rgba(61, 230, 194, .1); } 26%, 100% { border-color: var(--line); background: var(--glass); } }

.worlds { padding-bottom: 0; }
.worlds-head { text-align: center; max-width: 820px; }
.worlds-head p { color: var(--muted); font-size: 19px; }
.tour { position: relative; height: calc(var(--n) * 130vh + 40vh); height: calc(var(--n) * 130svh + 40svh); margin-top: 40px; }
.tour-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tour-sky { position: absolute; inset: 0; background: radial-gradient(70% 70% at 30% 55%, var(--c1, #3a2b84) 0%, transparent 70%), radial-gradient(60% 60% at 80% 20%, var(--c2, #12355c) 0%, transparent 70%); opacity: .55; transition: background 1s; }
.tour-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tour-gl { position: absolute; left: 0; top: 0; width: 60%; height: 100%; pointer-events: none; }
.tour-cards { position: absolute; right: max(80px, calc((100vw - 1240px) / 2 + 50px)); top: 0; bottom: 0; width: min(450px, 38vw); }
.world { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-40%); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
.world.on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s; }
.w-num { font-weight: 900; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--wc, var(--mint)); margin-bottom: 10px; }
.world h3 { font-size: clamp(44px, 5vw, 70px); font-weight: 800; margin-bottom: 16px; }
.world h3 em { display: block; font-size: .42em; margin-top: 6px; background: none; color: var(--wc, var(--mint)); -webkit-text-fill-color: currentColor; }
.world > p { color: #e2daff; font-size: 17px; }
.w-verbs, .w-life { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.w-verbs li { padding: 6px 14px; border-radius: 999px; font-weight: 900; font-size: 14px; background: color-mix(in srgb, var(--wc, #3de6c2) 18%, transparent); border: 1px solid color-mix(in srgb, var(--wc, #3de6c2) 45%, transparent); color: #fff; }
.w-life li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14px; color: var(--muted); font-weight: 800; }
.w-life li:not(:has(img)) { padding-left: 12px; }
.w-life img { width: 30px; height: 30px; }
.w-clip { position: absolute; right: calc(100% + 30px); bottom: -150px; width: 190px; margin: 0; border-radius: 22px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: rotate(-4deg); background: #000; }
.w-clip video { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.w-clip figcaption, .clip figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 8px; background: rgba(0, 0, 0, .55); font-size: 11.5px; font-weight: 800; color: #fff; backdrop-filter: blur(4px); }
.tour-meter { position: absolute; left: max(30px, calc((100vw - 1240px) / 2)); bottom: 46px; display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.tm-bar { width: 200px; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.tm-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--wc0, #9c93b9), var(--wc, #3de6c2)); border-radius: 10px; box-shadow: 0 0 14px var(--wc, #3de6c2); }
.tm-pct { font-family: var(--display); font-size: 22px; color: #fff; letter-spacing: 0; min-width: 60px; }
.tour-rail { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.tour-rail button { position: relative; width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); background: transparent; transition: transform .3s var(--pop), background .3s, border-color .3s; }
.tour-rail button::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.tour-rail button span { position: absolute; right: 24px; top: 50%; transform: translateY(-50%) translateX(6px); font-weight: 900; font-size: 13px; opacity: 0; transition: opacity .25s, transform .25s; white-space: nowrap; pointer-events: none; }
.tour-rail button:hover span, .tour-rail button:focus-visible span { opacity: 1; transform: translateY(-50%); }
.tour-rail button.on { background: var(--wc, var(--mint)); border-color: var(--wc, var(--mint)); transform: scale(1.35); }

.comet { overflow: hidden; background: radial-gradient(90% 70% at 75% 40%, rgba(255, 90, 30, .25), transparent 70%), linear-gradient(180deg, rgba(40, 8, 8, 0) 0%, rgba(40, 10, 6, .65) 30%, rgba(30, 8, 6, .65) 70%, rgba(40, 8, 8, 0) 100%); }
.comet-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.comet-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.comet h2 em { background: linear-gradient(100deg, #fff1a6, #ffb020 40%, #ff5a1f); -webkit-background-clip: text; background-clip: text; }
.comet .eyebrow { color: #ffb020; }
.comet .eyebrow::before { background: linear-gradient(90deg, #ffb020, #ff5a1f); }
.comet-status { margin: 26px 0 30px; padding: 20px 22px; border-radius: 22px; background: rgba(30, 8, 6, .6); border: 1px solid rgba(255, 140, 60, .35); box-shadow: 0 0 40px rgba(255, 90, 30, .15) inset; max-width: 520px; }
.cs-label { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #ffd18a; }
.comet-status[data-state="live"] .cs-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255, 59, 59, .7); animation: ping 1.4s infinite; }
.comet-status[data-state="live"] { border-color: rgba(255, 80, 60, .7); box-shadow: 0 0 60px rgba(255, 80, 40, .35) inset, 0 0 40px rgba(255, 80, 40, .2); }
.cs-clock { display: flex; gap: 10px; margin: 12px 0 8px; }
.cs-clock span { flex: 1; text-align: center; padding: 10px 0 6px; border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 180, 90, .2); }
.cs-clock b { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cs-clock b.tick { animation: tick .4s var(--pop); }
@keyframes tick { 0% { transform: translateY(-30%) scale(.8); opacity: .3; } }
.cs-clock small { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: #ffcf9a; opacity: .8; }
.cs-note { display: block; color: #ffd8b0; font-size: 14.5px; opacity: .85; }
.comet-status[data-state="off"] .cs-clock, .comet-status[data-state="loading"] .cs-clock { opacity: .35; }
.comet-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comet-feats li { padding: 16px 18px; border-radius: 18px; background: rgba(255, 120, 50, .07); border: 1px solid rgba(255, 140, 60, .22); }
.comet-feats b { display: block; font-family: var(--display); font-size: 21px; color: #ffcf7a; }
.comet-feats span { color: #f3d7c6; font-size: 15px; line-height: 1.45; }
.comet-media { position: relative; display: flex; justify-content: center; }
.comet-head { position: absolute; left: -90px; top: -110px; width: 260px; height: 260px; z-index: 2; pointer-events: none; }
.comet-head canvas { width: 100%; height: 100%; }
.clip { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: #000; border: 3px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip.tall { width: min(380px, 100%); aspect-ratio: 4/5; }
.clip.small { width: 220px; aspect-ratio: 4/5; transform: rotate(-3deg); }
.comet .clip { border-color: rgba(255, 140, 60, .45); box-shadow: 0 30px 80px rgba(255, 70, 20, .3); }

.wardrobe { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: center; }
.spot { position: relative; height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.spot-light { position: absolute; left: 50%; top: -60px; width: 340px; height: 560px; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255, 240, 200, .22) 172deg, rgba(255, 240, 200, .32) 180deg, rgba(255, 240, 200, .22) 188deg, transparent 200deg); filter: blur(6px); pointer-events: none; }
.spot::after { content: ""; position: absolute; left: 50%; bottom: 118px; width: 250px; height: 56px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 230, 170, .35), transparent); }
.spot-img { position: relative; z-index: 2; width: 270px; height: 360px; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .45)); margin-bottom: -10px; animation: idleBob 3s ease-in-out infinite; }
.spot-img.swap { animation: swapIn .6s var(--pop); }
@keyframes swapIn { 0% { transform: scale(.4) translateY(40px) rotate(-10deg); opacity: 0; } }
@keyframes idleBob { 50% { transform: translateY(-8px); } }
.spot-info { position: relative; z-index: 2; text-align: center; margin-top: 18px; }
.spot-name { font-size: 40px; }
.spot-theme { color: var(--dim); font-weight: 800; margin: 2px 0 0; }
.rar { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--rc, #6d7aa6); box-shadow: 0 0 18px var(--rc, transparent); margin-bottom: 8px; }
[data-tag="common"] { --rc: #6d7aa6; }
[data-tag="uncommon"] { --rc: #2fbf6b; }
[data-tag="rare"] { --rc: #2f8fff; }
[data-tag="epic"] { --rc: #a64dff; }
[data-tag="legendary"] { --rc: #ff9d1c; }
.carousel { position: relative; height: 500px; perspective: 1200px; perspective-origin: 50% 30%; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; outline: none; }
.carousel:active { cursor: grabbing; }
.ring3d { position: absolute; left: 50%; top: 44%; width: 0; height: 0; transform-style: preserve-3d; }
.card3d { position: absolute; width: 176px; height: 234px; left: -88px; top: -117px; border-radius: 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 45%, #241a5a), #160f38 80%); border: 2px solid color-mix(in srgb, var(--rc) 70%, transparent); box-shadow: 0 0 24px color-mix(in srgb, var(--rc) 35%, transparent); transition: filter .3s, border-color .3s; padding: 0; overflow: hidden; }
.card3d img { width: 100%; height: 200px; object-fit: contain; object-position: 50% 100%; pointer-events: none; }
.card3d span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1; }
.card3d[data-tag="legendary"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%); background-size: 250% 100%; animation: holo 3s linear infinite; pointer-events: none; }
@keyframes holo { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.card3d.sel { border-color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 40px color-mix(in srgb, var(--rc) 80%, transparent); }
.car-ctrl { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 12px; }
.car-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-size: 22px; font-weight: 900; transition: transform .25s var(--pop), background .2s; }
.car-ctrl button:hover { transform: scale(1.12); background: rgba(139, 108, 255, .3); }

.gear-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gcard { position: relative; padding: 22px 18px 20px; border-radius: 26px; text-align: center; background: linear-gradient(180deg, rgba(42, 31, 99, .75), rgba(22, 15, 56, .75)); border: 1px solid var(--line); transition: transform .35s var(--pop), border-color .3s; }
.gcard:hover { transform: translateY(-6px); border-color: rgba(139, 108, 255, .45); }
.g-art { position: relative; aspect-ratio: 1; margin: -4px auto 6px; display: grid; place-items: center; }
.g-art::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 108, 255, .45), transparent 70%); transition: background .4s; }
.gcard[data-lvl="4"] .g-art::before { background: radial-gradient(circle, rgba(255, 199, 61, .6), transparent 70%); animation: maxGlow 2s ease-in-out infinite; }
@keyframes maxGlow { 50% { transform: scale(1.15); } }
.g-art img { position: relative; width: 88%; height: auto; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .4)); }
.g-art img.up { animation: gearUp .8s var(--pop); }
@keyframes gearUp { 0% { transform: scale(.2) rotate(-25deg); filter: brightness(4) drop-shadow(0 0 0 #fff); } 50% { transform: scale(1.25) rotate(6deg); filter: brightness(1.6); } }
.g-art img.out { animation: gearOut .35s ease-in forwards; }
@keyframes gearOut { 30% { transform: translateX(-6px) rotate(-6deg); } 60% { transform: translateX(6px) rotate(6deg); filter: brightness(3); } 100% { transform: scale(.1); filter: brightness(5); opacity: 0; } }
.g-burst { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.g-burst.boom { animation: burst .8s ease-out; }
@keyframes burst { 0% { box-shadow: 0 0 0 0 rgba(255, 230, 140, .9), inset 0 0 0 0 rgba(255, 255, 255, .8); transform: scale(.4); } 100% { box-shadow: 0 0 0 40px rgba(255, 230, 140, 0), inset 0 0 0 60px rgba(255, 255, 255, 0); transform: scale(1.2); } }
.gcard h3 { font-size: 26px; }
.g-name { color: var(--gold); font-weight: 900; margin: 2px 0 10px; min-height: 1.6em; }
.g-pips { display: flex; justify-content: center; gap: 6px; margin-bottom: 6px; }
.g-pips i { width: 26px; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); transition: background .4s; }
.g-pips i.on { background: linear-gradient(90deg, #3de6c2, #8be04e); box-shadow: 0 0 10px rgba(139, 224, 78, .6); }
.g-lvl { color: var(--dim); font-weight: 900; font-size: 14px; margin: 0 0 14px; }
.g-buy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 130px; height: 48px; padding: 0 18px; border-radius: 15px; border: 0; background: linear-gradient(180deg, #ffd768, #ffae1f); color: #4a2600; font-weight: 900; font-size: 18px; box-shadow: 0 5px 0 #b86a00, 0 12px 24px rgba(255, 176, 32, .3); transition: transform .2s var(--pop), box-shadow .2s; }
.g-buy:hover { transform: translateY(-2px); }
.g-buy:active { transform: translateY(4px); box-shadow: 0 1px 0 #b86a00; }
.g-buy img { width: 24px; height: 24px; }
.g-buy.cant { animation: shake .45s; background: linear-gradient(180deg, #cfc6e8, #9c93b9); color: #2b2450; box-shadow: 0 5px 0 #5d567d; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.g-buy.max { background: linear-gradient(180deg, #6bf3d4, #1fbf9b); color: #052a21; box-shadow: 0 5px 0 #0f7d64; cursor: default; }
.cheer { --h: 130px; position: absolute; left: 0; top: 0; opacity: 0; z-index: 6; transition: opacity .3s; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4)); }
.cheer.show { opacity: 1; animation: frames .9s steps(12) infinite, cheerHop .6s var(--pop); }
@keyframes cheerHop { 0% { translate: 0 30px; scale: .5; } }

.life { padding-bottom: 0; }
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.life .big, .life-grid > div > p { color: var(--muted); font-size: 18px; }
.miles { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.miles li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 4px 10px; border-radius: 18px; background: rgba(139, 224, 78, .07); border: 1px solid rgba(139, 224, 78, .22); text-align: center; transition: transform .3s var(--pop), background .3s; }
.miles li:hover { transform: translateY(-6px) rotate(-2deg); background: rgba(139, 224, 78, .16); }
.miles img { width: 70px; height: 70px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.miles.in img { animation: lifePop .7s var(--pop) both; animation-delay: calc(var(--i) * .09s + .2s); }
.miles b { font-size: 13.5px; line-height: 1.1; margin-top: 2px; }
.miles span { position: absolute; top: -8px; right: -6px; padding: 2px 7px; border-radius: 9px; background: var(--grass); color: #173200; font-weight: 900; font-size: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.base { padding: 30px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); }
.base h3 { font-size: 28px; margin-bottom: 8px; }
.base p { color: var(--muted); font-size: 16px; }
.builds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 6px 0 22px; }
.builds img { width: 100%; height: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .4)); opacity: 0; transform: translateY(-80px) scale(.6); }
.base.in .builds img { animation: dropIn .8s var(--pop) forwards; animation-delay: calc(var(--i) * .15s + .3s); }
@keyframes dropIn { 0% { opacity: 0; transform: translateY(-80px) scale(.6); } 60% { opacity: 1; transform: translateY(6px) scale(1.08, .9); } 100% { opacity: 1; transform: none; } }
.builds img:hover { animation: none !important; opacity: 1; transform: translateY(-8px) scale(1.1) !important; transition: transform .3s var(--pop); }
.crew { display: flex; gap: 8px; }
.crew img { width: 76px; height: 76px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .4)); animation: idleBob 2.6s ease-in-out infinite; }
.crew img:nth-child(2) { animation-delay: -.6s; } .crew img:nth-child(3) { animation-delay: -1.2s; } .crew img:nth-child(4) { animation-delay: -1.8s; } .crew img:nth-child(5) { animation-delay: -2.2s; }
.meadow { position: relative; height: 190px; margin-top: 70px; background: linear-gradient(180deg, transparent 0%, transparent 52%, #4c9b2c 53%, #3a7e22 100%); overflow: hidden; }
.meadow::before { content: ""; position: absolute; left: 0; right: 0; top: 48%; height: 26px; background: radial-gradient(14px 18px at 10px 100%, #5fb83a 98%, transparent) 0 0 / 22px 26px repeat-x; }
.meadow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: radial-gradient(3px 3px at 20% 30%, #ffd1e6, transparent), radial-gradient(3px 3px at 60% 60%, #fff59e, transparent), radial-gradient(3px 3px at 85% 25%, #ffffff, transparent), radial-gradient(3px 3px at 40% 80%, #ffd1e6, transparent); background-size: 180px 70px; opacity: .8; }
.critter { position: absolute; bottom: 34%; width: 74px; height: 74px; cursor: pointer; z-index: 2; border: 0; padding: 0; background: none; }
.critter img { width: 100%; height: 100%; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .3)); animation: walkBob .5s ease-in-out infinite alternate; }
.critter.flip img { transform: scaleX(-1); }
.critter.hop img { animation: critterHop .5s var(--pop); }
@keyframes walkBob { to { translate: 0 -4px; rotate: 3deg; } }
@keyframes critterHop { 40% { translate: 0 -40px; } }
.heart { position: absolute; font-size: 26px; color: #ff4d7a; pointer-events: none; animation: heartUp 1s ease-out forwards; z-index: 3; }
@keyframes heartUp { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: 1; transform: translateY(-14px) scale(1.2); } 100% { transform: translateY(-70px) scale(1); opacity: 0; } }

.hall { background: radial-gradient(70% 60% at 30% 50%, rgba(255, 199, 61, .14), transparent 70%); }
.hall-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.hall h2 em { background: linear-gradient(100deg, #fff3b0, #ffc73d 50%, #ff9d1c); -webkit-background-clip: text; background-clip: text; }
.hall .eyebrow { color: var(--gold); }
.hall .eyebrow::before { background: linear-gradient(90deg, var(--gold), #ff9d1c); }
.hall p { color: var(--muted); }
.hall .big { color: #efe6c8; }
.hall-media { position: relative; display: flex; justify-content: center; }
.rays { position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; margin: -350px 0 0 -350px; background: repeating-conic-gradient(from 0deg, rgba(255, 210, 100, .16) 0deg 8deg, transparent 8deg 22deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); animation: spin 40s linear infinite; pointer-events: none; }
.hall .clip { border-color: rgba(255, 199, 61, .6); box-shadow: 0 0 0 6px rgba(255, 199, 61, .12), 0 30px 80px rgba(0, 0, 0, .5); }

.events { overflow: hidden; background: linear-gradient(180deg, transparent, rgba(16, 40, 90, .55) 25%, rgba(16, 40, 90, .55) 75%, transparent); }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.events-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.events h2 em { background: linear-gradient(100deg, #ff6b6b, #ffd36b 45%, #7cf29a); -webkit-background-clip: text; background-clip: text; }
.events .eyebrow { color: #ff8a8a; }
.events .eyebrow::before { background: linear-gradient(90deg, #ff6b6b, #7cf29a); }
.events p { color: #d8e6ff; }
.events .clip.small { margin-top: 10px; }
.fan { position: relative; height: 480px; }
.fan img { position: absolute; width: 78%; border-radius: 20px; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transition: transform .7s var(--pop); }
.fan .f1 { left: 0; top: 2%; transform: rotate(-9deg); }
.fan .f2 { right: 0; top: 10%; transform: rotate(8deg); }
.fan .f3 { left: 11%; bottom: 0; transform: rotate(-1deg); z-index: 2; }
.fan:hover .f1 { transform: rotate(-14deg) translate(-30px, -30px); }
.fan:hover .f2 { transform: rotate(13deg) translate(30px, -20px); }
.fan:hover .f3 { transform: rotate(0deg) scale(1.04) translateY(20px); }

.gallery { padding-bottom: 100px; }
.strip { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; padding: 20px 0 30px; outline: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; }
.strip-in { list-style: none; margin: 0; padding: 0 max(20px, calc((100vw - 1200px) / 2)); display: flex; gap: 18px; width: max-content; }
.strip-in li:nth-child(odd) { margin-top: 30px; }
.strip button { display: block; padding: 0; border: 0; background: none; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); transition: transform .4s var(--pop); }
.strip button:hover { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); }
.strip img { width: 280px; height: 280px; object-fit: cover; pointer-events: none; }
.compare-wrap { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; }
.compare { position: relative; width: min(420px, 100%); aspect-ratio: 1; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.compare .c-before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.compare::after { content: ""; position: absolute; top: 6%; bottom: 6%; left: var(--x); width: 4px; margin-left: -2px; border-radius: 4px; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .8); pointer-events: none; }
.compare::before { content: "\2194"; position: absolute; left: var(--x); top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: #1d1546; display: grid; place-items: center; font-size: 22px; font-weight: 900; z-index: 2; pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.c-tag { position: absolute; top: 4px; padding: 5px 12px; border-radius: 10px; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; background: rgba(0, 0, 0, .45); }
.c-tag.l { left: 4px; } .c-tag.r { right: 4px; color: var(--grass); }

.fact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; }
.fact-grid div { padding: 18px 18px 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); transition: transform .3s var(--pop), border-color .3s; }
.fact-grid div:hover { transform: translateY(-4px); border-color: rgba(61, 230, 194, .4); }
.fact-grid dt { font-size: 12.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--mint); }
.fact-grid dd { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; }

.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details, .legal .faq details { border-radius: 20px; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq-list details[open], .legal .faq details[open] { border-color: rgba(61, 230, 194, .4); background: rgba(40, 30, 96, .6); }
.faq-list summary, .legal .faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 60px 20px 24px; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.25; }
.faq-list summary::-webkit-details-marker, .legal .faq summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .legal .faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center; background: rgba(139, 108, 255, .3); font-size: 22px; line-height: 1; transition: transform .35s var(--pop), background .3s; }
.faq-list details[open] summary::after, .legal .faq details[open] summary::after { transform: rotate(135deg); background: var(--mint); color: #062a22; }
.faq-list details p, .legal .faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

.final { text-align: center; padding: 120px 0 150px; overflow: hidden; }
.final-planet { position: relative; width: min(440px, 80vw); aspect-ratio: 1; margin: 0 auto 10px; }
.final-planet img { width: 100%; height: 100%; animation: spin 140s linear infinite; filter: drop-shadow(0 0 60px rgba(139, 224, 78, .35)); }
.final-runner { --h: 84px; position: absolute; left: 50%; top: -38px; margin-left: -33px; }
.final h2 { font-size: clamp(46px, 7vw, 96px); }
.final p { color: var(--muted); font-size: 20px; }

.foot { border-top: 1px solid var(--line); background: rgba(7, 5, 26, .7); padding: 40px 0 46px; }
.foot-in, .foot .inner { width: min(1200px, 100% - 40px); margin: 0 auto; }
.foot-top, .foot .top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-links, .foot .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.foot-links a, .foot .links a { color: var(--muted); font-weight: 800; font-size: 15px; padding: 0; background: none; }
.foot-links a:hover, .foot .links a:hover { color: #fff; background: none; }
.foot-games { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-games span { color: var(--dim); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-right: 6px; }
.foot-games a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted); font-weight: 800; font-size: 14.5px; transition: color .2s, border-color .2s, background .2s; }
.foot-games a:hover { color: #fff; border-color: rgba(139, 108, 255, .5); background: rgba(139, 108, 255, .16); }
.copy { color: var(--dim); font-size: 13.5px; margin: 26px 0 0; }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 20px; background: rgba(18, 13, 44, .92); border: 1px solid rgba(61, 230, 194, .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(61, 230, 194, .2); font-weight: 900; animation: toastIn .55s var(--pop); pointer-events: auto; }
.toast img { width: 46px; height: 46px; animation: lifePop .8s var(--pop); }
.toast small { display: block; color: var(--mint); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.toast b { font-family: var(--display); font-size: 20px; line-height: 1.1; }
.toast a { color: #062a22; background: var(--mint); padding: 6px 12px; border-radius: 10px; margin-left: 8px; font-size: 14px; }
.toast.out { animation: toastOut .4s ease-in forwards; }
@keyframes toastIn { 0% { transform: translateY(40px) scale(.7); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(20px) scale(.9); opacity: 0; } }

.fxlayer { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 140; pointer-events: none; }
.flycoin { position: fixed; left: 0; top: 0; width: 30px; height: 30px; z-index: 141; pointer-events: none; background: url(/cosmic-chores/media/img/icons/coin.webp) center/contain no-repeat; }
.plus { position: fixed; z-index: 141; pointer-events: none; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold); text-shadow: 0 3px 0 #8a4b00, 0 0 12px rgba(255, 199, 61, .6); animation: plusUp .9s ease-out forwards; }
@keyframes plusUp { 0% { transform: translate(-50%, 0) scale(.5); opacity: 0; } 20% { opacity: 1; transform: translate(-50%, -16px) scale(1.15); } 100% { transform: translate(-50%, -60px) scale(1); opacity: 0; } }

.modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(5, 3, 20, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .3s; }
.modal-box { position: relative; width: min(1100px, 100%); animation: modalIn .5s var(--pop); }
.modal-body video, .modal-body img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 20px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal-x { position: absolute; right: -6px; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-size: 18px; font-weight: 900; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { transform: scale(.85) translateY(30px); opacity: 0; } }

.legal { padding: calc(var(--nav) + 60px) 0 90px; max-width: 860px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin-bottom: 8px; background: linear-gradient(180deg, #fff, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); margin: 44px 0 14px; }
.legal h3 { font-size: 21px; margin: 26px 0 8px; }
.legal p, .legal li { color: #ddd5f7; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--mint); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.legal .updated { color: var(--dim); font-weight: 800; }
.legal .lead { padding: 20px 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); margin: 24px 0; }
.legal .faq { display: grid; gap: 10px; }
.legal .crumbs { color: var(--dim); font-size: 14px; margin-bottom: 18px; }
.legal .crumbs a { color: var(--muted); }
.legal code { background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 6px; }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 16px 0 26px; }
.press-grid a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font-size: 13.5px; font-weight: 800; }
.press-grid a img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #1a1240; }
.press-grid a span { display: block; padding: 8px 12px; }
.press-grid a:hover { border-color: rgba(61, 230, 194, .5); color: #fff; }

@media (max-width: 1100px) {
  .links { display: none; }
  .loop-wrap { grid-template-columns: 1fr; justify-items: center; gap: 40px; }
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --nav: 62px; }
  body { font-size: 16px; }
  section { padding: 90px 0; }
  .nav { padding: 8px 10px 0; }
  .nav-in, .nav .inner { height: 54px; gap: 8px; }
  .wm, .brand span { font-size: 19px; }
  .pill.get { display: none; }
  .burger { display: block; }
  .links.open { display: flex; position: fixed; left: 10px; right: 10px; top: 70px; flex-direction: column; padding: 10px; border-radius: 20px; background: rgba(18, 13, 44, .96); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); animation: modalIn .35s var(--pop); }
  .links.open a { font-size: 18px; padding: 14px 16px; }
  .hero { padding-top: calc(var(--nav) + 34px); }
  .hero-in { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-copy { display: contents; }
  .kicker { order: 1; justify-self: center; margin-bottom: 14px; }
  .logo { order: 2; font-size: clamp(56px, 17vw, 110px); margin-bottom: 0; }
  .hero-stage { order: 3; margin: 72px 0 18px; }
  .rider { --h: 76px; }
  .tagline { order: 4; }
  .lede { order: 5; margin-left: auto; margin-right: auto; }
  .cta-row { order: 6; justify-content: center; margin: 18px 0 20px; }
  .chips { order: 7; justify-content: center; }
  .moon-wrap { width: min(520px, 92vw); }
  .noads-grid, .comet-grid, .hall-grid, .events-grid, .life-grid, .wardrobe { grid-template-columns: 1fr; gap: 40px; }
  .popups { height: 440px; }
  .pop { width: 170px; }
  .pop b { font-size: 21px; }
  .noads-list { grid-template-columns: 1fr; }
  .loop { width: 340px; height: 340px; }
  .ring { inset: 36px; }
  .node { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .node img { width: 62px; height: 62px; }
  .node.n1 { top: 36px; } .node.n2 { left: calc(100% - 36px); } .node.n3 { top: calc(100% - 36px); } .node.n4 { left: 36px; }
  .loop-video { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .step { padding-left: 76px; }
  .tour { height: calc(var(--n) * 120vh + 30vh); }
  .tour-gl { width: 100%; height: 50%; top: 4%; }
  .tour-cards { left: 20px; right: 20px; width: auto; top: 50%; bottom: 0; }
  .world { top: 0; transform: translateY(30px); }
  .world.on { transform: none; }
  .world h3 { font-size: 40px; margin-bottom: 10px; }
  .world > p { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
  .w-life { display: none; }
  .w-clip { right: 4px; left: auto; bottom: auto; top: calc(-50vh + 128px); width: 104px; border-radius: 16px; transform: rotate(4deg); }
  .w-clip figcaption { display: none; }
  .tour-meter { left: 20px; top: 78px; bottom: auto; }
  .miles { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .miles img { width: 46px; height: 46px; }
  .miles b { font-size: 11px; }
  .tm-bar { width: 110px; }
  .tour-rail { right: 10px; top: 44%; }
  .tour-rail button span { display: none; }
  .comet-head { left: -20px; top: -80px; width: 170px; height: 170px; }
  .comet-feats { grid-template-columns: 1fr; }
  .spot { height: 360px; }
  .spot::after { bottom: 92px; }
  .spot-img { width: 190px; height: 253px; }
  .spot-name { font-size: 32px; }
  .carousel { height: 330px; }
  .card3d { width: 120px; height: 160px; left: -60px; top: -80px; }
  .card3d img { height: 134px; }
  .spot-light { width: 260px; height: 420px; }
  .gear-grid { gap: 12px; }
  .gcard { padding: 16px 12px; }
  .gcard h3 { font-size: 22px; }
  .g-buy { min-width: 0; width: 100%; }
  .fan { height: 330px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .strip img { width: 210px; height: 210px; }
  .builds { grid-template-columns: repeat(3, 1fr); }
  .crew img { width: 58px; height: 58px; }
  .critter { width: 60px; height: 60px; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .nav-in { padding: 0 8px 0 10px; gap: 6px; }
  .nav-in .wm { font-size: 16px; }
  .hud { gap: 6px; }
  .pill { height: 36px; padding: 0 10px; }
  .pill.coins { padding-left: 4px; }
  .pill.coins img { width: 24px; height: 24px; }
  .pill.sound, .burger { width: 36px; height: 36px; }
  .burger i { left: 9px; right: 9px; }
  .burger i:first-child { top: 13px; }
  .burger i:last-child { top: 20px; }
  .pill.coins b { font-size: 14px; }
  .wm i, .brand span i { margin-left: 4px; }
  .brand img { width: 36px; height: 36px; }
  .btn-play, .btn-ghost { height: 58px; }
  .moon-meter { padding: 12px 14px 10px; }
  .mm-life li { width: 26px; height: 26px; }
  .popups { height: 400px; }
  .pop { width: 150px; }
  .pop b { font-size: 18px; }
  .clean-badge { width: 180px; height: 180px; }
  .clean-badge b { font-size: 96px; }
  .cs-clock { gap: 6px; }
  .comet-status { padding: 16px; }
  .wardrobe { gap: 10px; }
  .faq-list summary { font-size: 18px; padding: 18px 54px 18px 18px; }
  .faq-list details p { padding: 0 18px 18px; }
}
@media (max-width: 370px) {
  .nav-in .wm { display: none; }
}
@media (max-width: 900px) {
  .nav { padding-top: max(8px, env(safe-area-inset-top)); padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
  .toasts { bottom: max(18px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
  .toast { max-width: 100%; }
  .toast b { font-size: 17px; }
  .tour { height: calc(var(--n) * 110vh + 30vh); height: calc(var(--n) * 110svh + 30svh); }
  .g-pips i { width: 18px; height: 7px; }
  .g-pips { gap: 4px; }
  .gcard .g-name { font-size: 14px; }
  .strip { scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
  .strip-in li { scroll-snap-align: center; }
  .strip-in li:nth-child(odd) { margin-top: 18px; }
  .modal { padding: 12px; }
  .modal-x { position: fixed; right: 14px; top: max(14px, env(safe-area-inset-top)); z-index: 2; width: 48px; height: 48px; background: rgba(18, 13, 44, .9); }
  .modal-body video, .modal-body img { max-height: 78svh; border-radius: 14px; }
  .compare-wrap { gap: 24px; }
  .moon-hint { font-size: 13.5px; }
  .links.open { top: calc(max(8px, env(safe-area-inset-top)) + 62px); max-height: calc(100svh - 100px); overflow-y: auto; }
  .w-num { font-size: 12px; margin-bottom: 6px; }
}
@media (max-width: 900px) and (max-height: 700px) and (orientation: portrait) {
  .world h3 { font-size: 34px; }
  .world h3 em { font-size: .46em; }
  .world > p { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .w-verbs li { padding: 4px 11px; font-size: 13px; }
  .tour-gl { height: 46%; }
  .tour-cards { top: 48%; }
  .w-clip { width: 88px; top: calc(-48vh + 118px); }
}
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1000px) {
  :root { --nav: 56px; }
  section { padding: 70px 0; }
  .hero { min-height: auto; padding-top: calc(var(--nav) + 30px); }
  .hero-in { grid-template-columns: 1.1fr .9fr; text-align: left; gap: 20px; align-items: center; }
  .hero-copy { display: block; }
  .hero-stage { order: 0; margin: 46px 0 0; }
  .kicker, .logo, .tagline, .lede, .cta-row, .chips { order: 0; }
  .kicker { justify-self: auto; margin-bottom: 10px; }
  .logo { font-size: clamp(40px, 7vw, 66px); margin-bottom: 8px; }
  .tagline { font-size: 22px; }
  .lede, .chips { display: none; }
  .cta-row { margin: 12px 0 0; }
  .cta-row, .chips { justify-content: flex-start; }
  .btn-play, .btn-ghost { height: 52px; }
  .moon-wrap { width: min(360px, 40vw, 64svh); }
  .gear-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gcard h3 { font-size: 18px; }
  .moon-meter { display: none; }
  .tour { height: calc(var(--n) * 120svh + 30svh); }
  .tour-gl { width: 48%; height: 100%; top: 0; }
  .tour-cards { left: 50%; right: 56px; top: 0; bottom: 0; width: auto; }
  .world { top: 50%; transform: translateY(-42%); }
  .world.on { transform: translateY(-50%); }
  .world h3 { font-size: 34px; margin-bottom: 6px; }
  .world > p { font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .w-clip, .w-life { display: none; }
  .tour-meter { top: auto; bottom: 14px; left: 20px; }
  .tour-rail { right: 14px; top: 50%; }
  .noads-grid, .comet-grid, .hall-grid, .events-grid, .life-grid, .wardrobe { grid-template-columns: 1fr 1fr; gap: 28px; }
  .popups { height: 360px; }
  .spot { height: 340px; }
  .carousel { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .sprite { animation: none !important; }
}
