:root {
  color-scheme: dark;
  --midnight: #061b46;
  --deep: #04132f;
  --panel: #0b2b5c;
  --cyan: #25d4ef;
  --yellow: #ffe66a;
  --white: #f6fbff;
  --muted: #b6cce6;
  --line: #24446e;
  --gutter: clamp(24px, 4.6vw, 68px);
  --radius: 18px;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; background: var(--midnight); color: var(--white); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
[hidden], .page[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, summary { outline-offset: 5px; }
:focus-visible { outline: 3px solid var(--yellow); }
main:focus { outline: none; }
::selection { background: var(--yellow); color: var(--midnight); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 800; }
h1, h2 { letter-spacing: -.045em; }
h1 span, h2 span { color: var(--yellow); }
svg { display: block; width: 20px; height: 20px; flex: 0 0 auto; }

.screenreader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; transform: translateY(-150%); border-radius: 8px; padding: 14px 20px; color: var(--midnight); background: var(--yellow); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.section-wrap { width: calc(100% - var(--gutter) * 2); max-width: 1180px; margin-inline: auto; }
.eyebrow { margin-bottom: 16px; color: var(--cyan); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 23px; border: 1px solid transparent; border-radius: 11px; background: var(--yellow); color: var(--midnight); font-size: 14px; font-weight: 800; line-height: 1.25; text-align: center; box-shadow: 0 4px 0 #b89328; transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.button:hover { background: #fff096; box-shadow: 0 6px 0 #b89328; transform: translateY(-2px); }
.button:active { transform: translateY(1px); box-shadow: 0 2px 0 #b89328; }
.button-primary svg { width: 16px; height: 16px; fill: currentColor; }
.button-small { min-height: 44px; padding: 10px 17px; font-size: 12px; }
.button-quiet { min-height: 44px; padding: 11px 16px; color: var(--white); border-color: #315683; background: #0c2c5b; box-shadow: none; font-size: 12px; }
.button-quiet:hover, .button-quiet[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan); background: #103967; box-shadow: none; }
.button-quiet svg { width: 17px; height: 20px; }
.text-link, .back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.text-link { color: var(--cyan); text-underline-offset: 5px; }
.text-link:hover, .back-link:hover { text-decoration: underline; }
.back-link { margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 400; }

/* A small, persistent notice keeps every screen clearly a visual review. */
.review-banner { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 38px; padding: 8px 20px; border-bottom: 1px solid #21436a; background: #0b2d57; color: #d1e3f3; font-size: 11px; line-height: 1.4; }
.review-banner > span { display: inline-flex; align-items: center; gap: 7px; color: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.review-banner i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.review-banner p { margin: 0; }
.review-banner a { min-height: 44px; display: inline-flex; align-items: center; color: #d8edf9; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site-header { width: 100%; max-width: 1320px; min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-inline: auto; padding: 17px var(--gutter); position: relative; z-index: 10; }
.brand { display: block; flex: 0 0 auto; width: 207px; }
.brand img { width: 100%; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 29px; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; color: #d5e2f3; font-size: 13px; font-weight: 700; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current="page"], .site-header nav a.active { color: var(--cyan); }

/* The homepage gives the original artwork room to be the attraction. */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; width: 100%; max-width: 1320px; min-height: 580px; margin-inline: auto; padding: 18px var(--gutter) 44px; }
.hero-backdrop { position: absolute; z-index: -2; inset: -80px 0 -20px; pointer-events: none; background: radial-gradient(ellipse at 79% 47%, #09547988, transparent 46%), radial-gradient(ellipse at 6% 72%, #17418455, transparent 38%); }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #49cef766 1px, transparent 1.5px), radial-gradient(circle, #ffe66a55 1px, transparent 1.5px); background-size: 137px 131px, 233px 187px; background-position: 44px 22px, 0 83px; opacity: .35; mask-image: linear-gradient(90deg, transparent 30%, #000); }
.hero-copy { position: relative; z-index: 2; min-width: 0; padding-bottom: 5px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; font-size: 10px; letter-spacing: .12em; }
.tiny-star { color: var(--yellow); font-size: 19px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(48px, 5.55vw, 81px); line-height: 1.035; letter-spacing: -.055em; }
.hero h1 span { display: inline-block; }
.hero-description { margin-bottom: 9px; color: #d5e5f5; font-size: 18px; line-height: 1.55; }
.hero-subtitle { margin-bottom: 27px; color: #a9c6e0; font-size: 14px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 21px; }
.hero-actions .button { min-height: 52px; padding-inline: 20px; }
.hero-actions .text-link { font-size: 12px; }
.hero-facts { display: flex; align-items: center; gap: 24px; margin-top: 28px; color: #a9c5e3; font-size: 11px; line-height: 1.5; }
.hero-facts span + span { position: relative; }
.hero-facts span + span::before { content: ""; position: absolute; left: -13px; top: 4px; width: 1px; height: 10px; background: #325075; }
.hero-facts b { color: #e8f5ff; font-weight: 700; }
.hero-showcase { position: relative; width: 100%; height: 500px; max-width: 535px; justify-self: end; }
.showcase-label { position: absolute; top: 7px; left: 3%; width: 70%; z-index: 5; text-align: center; transform: rotate(-2deg); }
.showcase-label > span { display: block; font-size: 28px; font-weight: 900; letter-spacing: .035em; line-height: 1.1; color: var(--yellow); text-shadow: 0 3px 0 #0b2b5a; }
.showcase-label small { display: block; margin-top: 5px; color: #d9f8ff; font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.hero-booth { position: absolute; top: 58px; left: 3%; width: 70%; max-width: 340px; aspect-ratio: 4 / 5; overflow: hidden; border: 3px solid #f4d25e; border-radius: 18px; background: #52d7e6; box-shadow: 0 21px 55px #0006, 0 0 35px #23ceee20; transform: rotate(-2deg); }
.booth-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-clown { position: absolute; z-index: 2; top: 9%; left: 23%; width: 54%; filter: drop-shadow(0 8px 5px #056a7755); }
.hero-cannon { position: absolute; z-index: 4; bottom: 6.5%; left: 27%; width: 46%; filter: drop-shadow(0 8px 5px #07547d66); }
.illustration-spray { position: absolute; z-index: 3; top: 44%; left: 47.9%; width: 4.2%; height: 20%; }
.hero-fill { position: absolute; z-index: 5; inset: auto 0 0; display: flex; justify-content: center; align-items: center; min-height: 29px; background: #053a68e8; border-top: 1px solid #a6ebdd; }
.hero-fill span { display: flex; gap: 6px; align-items: center; color: #ebffff; font-size: 7px; font-weight: 700; letter-spacing: .13em; }
.hero-fill i { width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }
.hero-ripple { position: absolute; z-index: 6; right: -10px; bottom: 32px; width: 44%; max-width: 235px; filter: drop-shadow(0 16px 12px #01142d66); }
.ripple-caption { position: absolute; z-index: 7; right: -10px; bottom: 0; width: 44%; color: #b6d8ed; font-size: 10px; line-height: 1.5; text-align: center; transform: rotate(-4deg); }
.ripple-caption span { display: block; color: var(--yellow); font-size: 14px; font-weight: 700; }
.sparkle { position: absolute; z-index: 4; color: var(--yellow); pointer-events: none; }
.sparkle-a { top: 77px; right: 10%; font-size: 36px; transform: rotate(12deg); }
.sparkle-b { top: 208px; right: 0; color: var(--cyan); font-size: 19px; }
.string-lights { position: absolute; z-index: -1; top: -5px; right: 7%; display: flex; justify-content: space-between; width: 40%; height: 16px; border-top: 1px solid #c7a13b44; transform: rotate(3deg); pointer-events: none; }
.string-lights i { width: 5px; height: 7px; margin-top: -1px; border-radius: 0 0 50% 50%; background: #ffe66a; box-shadow: 0 0 9px #ffe66a88; opacity: .65; }
.string-lights i:nth-child(3n) { background: var(--cyan); box-shadow: 0 0 10px #25d4ef66; }
.intro-strip { width: calc(100% - var(--gutter) * 2); max-width: 1180px; display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.2fr; align-items: center; gap: 25px; min-height: 126px; margin: 0 auto; padding: 26px 0; border-block: 1px solid #24446e; }
.intro-strip > p { margin: 0; color: #b1cce7; font-size: 15px; line-height: 1.65; }
.intro-strip strong { color: #f2faff; font-size: 17px; }
.intro-strip > div { display: flex; gap: 12px; align-items: center; }
.round-number { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #2a5882; border-radius: 50%; background: #103969; color: var(--cyan); font-size: 14px; font-weight: 700; }
.intro-strip div p { margin: 0; }
.intro-strip b { display: block; margin-bottom: 5px; color: var(--white); font-size: 13px; }
.intro-strip div p span { display: block; color: #a9c4df; font-size: 11px; line-height: 1.55; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 36px; }
.section-heading > div { min-width: 0; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 4vw, 49px); line-height: 1.08; }
.section-heading > p { max-width: 400px; margin: 0 0 3px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.journey-section { padding-block: 82px 65px; }
.journey-line { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding-top: 12px; }
.journey-line::before { content: ""; position: absolute; top: 42px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #3285a9 0 4px, transparent 4px 10px); }
.journey-stop { position: relative; display: flex; align-items: center; flex-direction: column; min-height: 150px; padding: 0 4px 12px; text-align: center; }
.world-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #32749b; border-radius: 50%; background: #0c3265; color: var(--cyan); box-shadow: 0 0 0 7px var(--midnight); font-size: 20px; font-weight: 700; transition: background-color .15s ease, color .15s ease; }
.journey-stop.current .world-dot, .journey-stop:hover .world-dot { color: var(--midnight); border-color: var(--yellow); background: var(--yellow); }
.journey-stop b { margin: 20px 0 7px; font-size: 14px; }
.journey-stop small { color: #a9c6e0; font-size: 10px; line-height: 1.6; }
.journey-section > .text-link { display: flex; justify-content: center; width: fit-content; margin: 13px auto 0; }
.carnival-section { padding-block: 33px 75px; }
.game-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game-card { position: relative; isolation: isolate; min-width: 0; min-height: 320px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; border: 1px solid #2e587f; border-radius: 20px; background: #0e3f75; }
.game-card::after { content: ""; position: absolute; z-index: -1; inset: 40% 0 0; background: linear-gradient(transparent, #051a4388); pointer-events: none; }
.game-card.featured { background: radial-gradient(ellipse at 65% 30%, #1a8da4, #0c4c7a 58%, #103568); border-color: #377fa3; }
.game-card.featured:hover { border-color: var(--cyan); }
.card-kicker { position: relative; z-index: 3; width: fit-content; padding: 6px 8px; border: 1px solid #8dbed655; border-radius: 5px; background: #072755b3; color: #e1f7ff; font-size: 8px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; }
.game-card > img { position: absolute; top: 23px; right: 5%; width: 65%; max-width: 228px; filter: drop-shadow(0 12px 8px #001a4066); transform: rotate(-5deg); }
.game-card > div:last-child { position: relative; z-index: 2; padding-top: 180px; }
.game-card h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.025em; }
.game-card p { margin: 0; color: #c1d9ed; font-size: 12px; line-height: 1.6; }
.featured h3, .featured p { padding-right: 34px; }
.card-arrow { position: absolute; right: 0; bottom: 11px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #a0dce8; border-radius: 50%; color: var(--yellow); font-size: 23px; }
.game-card.basketball { background: radial-gradient(ellipse at 50% 27%, #804e4b80, transparent 70%), #142e59; }
.game-card.basketball:is(:hover, :focus-visible) { border-color: var(--yellow); }
.game-card.basketball h3, .game-card.basketball p { padding-right: 34px; }
.game-card.ring-toss { background: radial-gradient(ellipse at 50% 25%, #335786, transparent 70%), #182e5a; }
.game-card > .home-ring-toss-art { top: 16px; right: 10%; width: 76%; max-width: 240px; height: 220px; object-fit: contain; transform: none; }
.game-card.ring-toss:is(:hover, :focus-visible) { border-color: var(--cyan); }
.game-card.ring-toss h3, .game-card.ring-toss p { padding-right: 34px; }
.ring-art { position: absolute; top: 50px; left: calc(50% - 92px); width: 185px; height: 165px; }
.ring-art i { position: absolute; width: 123px; height: 78px; border: 11px solid var(--yellow); border-radius: 50%; box-shadow: inset 0 2px 3px #fff8, 0 5px 0 #af8f2e, 0 12px 17px #031c4433; transform: rotate(-24deg); }
.ring-art i:nth-child(1) { left: 0; top: 60px; border-color: var(--cyan); box-shadow: inset 0 2px 3px #fff8, 0 5px 0 #08769c; transform: rotate(15deg); }
.ring-art i:nth-child(2) { right: 0; top: 37px; border-color: #ff8693; box-shadow: inset 0 2px 3px #fff8, 0 5px 0 #bd455f; transform: rotate(-16deg); }
.ring-art i:nth-child(3) { left: 10px; top: 3px; }
.meet-ripple { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 74px; padding-block: 28px 90px; }
.meet-ripple > img { width: 100%; max-width: 430px; border: 1px solid #316487; border-radius: 24px; box-shadow: 0 22px 45px #00112c66; }
.meet-ripple h2 { margin-bottom: 22px; font-size: clamp(38px, 4vw, 51px); line-height: 1.08; }
.meet-ripple > div > p:not(.eyebrow) { max-width: 400px; margin-bottom: 15px; color: var(--muted); font-size: 16px; line-height: 1.8; }

/* Screen concepts. The static stream and sample meter never simulate a game. */
.game-page { max-width: 1010px; padding-block: 19px 70px; }
.game-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.game-heading .back-link { margin-bottom: 5px; }
.game-heading .eyebrow { margin-block: 8px 9px; font-size: 10px; }
.game-heading h1 { margin: 0; font-size: 55px; line-height: 1; }
.game-heading > button { margin-bottom: 4px; }
.storyboard-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 18px; margin-bottom: 30px; border: 1px solid #254b78; border-radius: 15px; background: #0b2a58; }
.storyboard-bar > div:first-child b { display: block; font-size: 13px; }
.storyboard-bar small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.state-tabs { display: flex; gap: 3px; padding: 4px; border-radius: 10px; background: #061d43; }
.state-tabs button { min-height: 44px; padding: 9px 13px; border: 0; border-radius: 7px; background: transparent; color: #c5d9ec; font-size: 11px; font-weight: 700; white-space: nowrap; }
.state-tabs button:hover { background: #153d6e; }
.state-tabs button[aria-pressed="true"] { background: var(--cyan); color: #06244a; }
.game-layout { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 280px); justify-content: center; align-items: start; gap: 42px; width: 100%; margin-inline: auto; }
.game-column { container-type: inline-size; min-width: 0; width: 100%; max-width: 430px; }
.game-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 72px; padding: 14px 16px; border: 1px solid #2b527f; border-bottom: 0; border-radius: 16px 16px 0 0; background: #0d3166; }
.game-topline > div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.level-chip { display: grid; place-items: center; width: 35px; height: 37px; flex: 0 0 35px; border-radius: 8px; color: #092650; background: var(--yellow); font-size: 16px; font-weight: 800; }
.game-topline small { display: block; margin-bottom: 5px; color: #a8c9e5; font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.game-topline b { display: block; font-size: 16px; line-height: 1.15; }
.sample-badge { flex: 0 0 auto; padding: 5px 6px; border: 1px solid #5c81a7; border-radius: 4px; color: #c2d9ec; font-size: 7px; font-weight: 700; letter-spacing: .06em; }
.hud { display: grid; grid-template-columns: 95px minmax(0, 1fr); align-items: center; gap: 19px; min-height: 87px; padding: 13px 18px 15px; border-inline: 1px solid #2b527f; background: #08234d; }
.timer { padding-right: 16px; border-right: 1px solid #365171; }
.timer > span, .fill-info > div > span { color: #bed6e9; font-size: 8px; font-weight: 700; line-height: 1.5; letter-spacing: .09em; }
.timer > span { display: block; margin-bottom: 4px; }
.timer > strong { display: block; color: var(--yellow); font-size: 34px; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.fill-info > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fill-info strong { color: #f0fbff; font-size: 19px; font-variant-numeric: tabular-nums; }
.fill-track { height: 13px; margin-top: 10px; overflow: hidden; border: 1px solid #34618a; border-radius: 20px; background: #020e2c; }
.fill-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(180deg, #91f7ff, #25d4ef 55%, #12a6d7); }
.game-stage { position: relative; isolation: isolate; aspect-ratio: 4 / 5; overflow: hidden; background: #71e4ee; }
.stage-bg { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-clown { position: absolute; z-index: 2; top: 12%; left: 28%; width: 44%; filter: drop-shadow(0 6px 4px #03637b55); }
.stage-cannon { position: absolute; z-index: 4; bottom: 4%; left: 29%; width: 42%; filter: drop-shadow(0 9px 5px #07547d66); }
.stage-stream { position: absolute; z-index: 3; top: 40.5%; left: 48.1%; width: 3.8%; height: 25%; }
.illustration-spray::before, .stage-stream::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #079fd2d9, #49d6eff2 32%, #9ceef6e8 58%, #1bb9dce8); clip-path: polygon(34% 0, 66% 0, 61% 8%, 73% 16%, 65% 25%, 77% 34%, 68% 43%, 81% 52%, 71% 61%, 85% 70%, 76% 79%, 90% 88%, 100% 100%, 10% 100%, 20% 88%, 8% 79%, 22% 70%, 11% 61%, 25% 52%, 16% 43%, 29% 34%, 21% 25%, 33% 16%, 27% 8%); }
.illustration-spray::after, .stage-stream::after { content: ""; position: absolute; inset: -2px -4px; background: radial-gradient(ellipse 2px 3px at 18% 13%, #69e4f1 65%, transparent 76%), radial-gradient(ellipse 2px 4px at 86% 29%, #25c5e2 65%, transparent 76%), radial-gradient(ellipse 2px 3px at 10% 46%, #40d3e9 65%, transparent 76%), radial-gradient(ellipse 2px 4px at 92% 63%, #74e6ee 65%, transparent 76%), radial-gradient(ellipse 2px 3px at 15% 80%, #26bddb 65%, transparent 76%); }
.target-splash { position: absolute; z-index: 3; top: 40%; left: calc(50% - 22px); width: 44px; height: 28px; }
.target-splash i { position: absolute; width: 5px; height: 11px; border-radius: 50%; background: #edffff; box-shadow: 0 0 5px #8eefff; }
.target-splash i:nth-child(1) { left: 4px; top: 5px; transform: rotate(-48deg); }
.target-splash i:nth-child(2) { left: 14px; top: -3px; transform: rotate(-22deg); }
.target-splash i:nth-child(3) { right: 9px; top: -1px; transform: rotate(29deg); }
.target-splash i:nth-child(4) { right: 0; top: 10px; transform: rotate(55deg); }
.game-stage:not([data-state="playing"]) .stage-stream, .game-stage:not([data-state="playing"]) .target-splash { display: none; }
.game-stage:not([data-state="ready"]) .stage-message { display: none; }
.game-stage[data-state="ready"] .stage-clown { opacity: .26; }
.game-stage[data-state="success"] .stage-clown, .game-stage[data-state="timeout"] .stage-clown, .game-stage[data-state="success"] .stage-cannon, .game-stage[data-state="timeout"] .stage-cannon { opacity: .24; }
.stage-message { position: absolute; z-index: 6; inset: 8% 6% auto; padding: 5.5cqw 4cqw 5cqw; border: 1px solid #79e4ee; border-radius: 18px; background: linear-gradient(150deg, #0b3966f5, #061c49f7); box-shadow: 0 15px 30px #00516b66; text-align: center; }
.message-kicker { display: block; margin-bottom: 10px; color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.stage-message h2 { margin: 0 0 13px; color: #f4fcff; font-size: clamp(25px, 7.4cqw, 34px); line-height: 1.08; }
.stage-message p { margin-bottom: 19px; color: #d1e7f3; font-size: clamp(11px, 3.1cqw, 13px); line-height: 1.6; }
.stage-message .button { min-height: 44px; padding: 12px 16px; font-size: clamp(11px, 3cqw, 13px); }
.result-panel { position: absolute; z-index: 8; inset: 3.5% 5%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4cqw 3cqw; border: 2px solid var(--yellow); border-radius: 20px; background: linear-gradient(155deg, #0a3d6bf7, #061b46fa 70%); box-shadow: 0 15px 35px #00516b77; text-align: center; }
.result-panel > img { width: 28cqw; max-width: 120px; margin-bottom: 5px; flex: 0 0 auto; min-height: 35px; object-fit: contain; }
.result-panel .eyebrow { margin: 0 0 5px; color: var(--yellow); font-size: 9px; letter-spacing: .13em; }
.result-panel h2 { margin: 0 0 8px; color: #f5fcff; font-size: clamp(23px, 7cqw, 31px); line-height: 1.1; }
.result-time strong { display: block; color: var(--cyan); font-size: clamp(32px, 10cqw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.result-time span { display: block; margin-top: 3px; color: #c2d8e9; font-size: 8px; font-weight: 700; line-height: 1.3; letter-spacing: .13em; }
.sample-caption { margin: 9px 0 13px; color: #b9d7e9; font-size: 10px; line-height: 1.45; }
.result-panel .button { flex: 0 0 auto; min-height: 44px; padding: 11px 15px; font-size: 12px; }
.result-secondary { flex: 0 0 auto; min-height: 44px; margin-top: 3px; padding: 9px 12px; border: 0; border-radius: 8px; color: #d0e4f4; background: transparent; font-size: 11px; }
.result-secondary:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.game-stage[data-state="timeout"] .result-panel { border-color: #83d6ed; }
.rear-pad { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 77px; padding: 15px 20px; border: 1px solid #33799a; border-top-color: #68dbe8; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #124a83, #0b2c60); box-shadow: 0 12px 25px #00102a33; }
.pad-direction { color: var(--cyan); font-size: 34px; line-height: 1; }
.rear-pad b { display: block; margin-bottom: 6px; color: #f3fbff; font-size: 14px; }
.rear-pad div > span { display: block; color: #bfdef0; font-size: 10px; line-height: 1.4; }
.pad-grip { color: #77c4e2; font-size: 25px; letter-spacing: 1px; }
.control-preview-note { margin: 11px 6px 0; color: #aac4dd; font-size: 10px; line-height: 1.6; text-align: center; }
.game-sidebar { padding-top: 8px; }
.aside-kicker { display: block; margin-bottom: 12px; color: var(--cyan); font-size: 9px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; }
.guide-block h2 { margin-bottom: 16px; font-size: 32px; line-height: 1.1; }
.guide-block > p { margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.scoring-legend { margin: 18px 0 9px; }
.scoring-legend > div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #213f67; }
.scoring-legend p { margin: 0; }
.scoring-legend b { display: block; margin-bottom: 4px; font-size: 12px; }
.scoring-legend p span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.zone { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; box-shadow: 0 2px 5px #0004; }
.zone-red { background: radial-gradient(circle, #fc5366 0 46%, #ffe8de 48% 65%, #1f84d9 67%); }
.zone-white { border: 5px solid #f7fbfc; background: #2c77bd; }
.zone-blue { border: 5px solid #2984d5; background: #153f7d; }
.ripple-tip { display: flex; align-items: center; gap: 10px; margin-top: 19px; padding: 16px 13px 16px 6px; border: 1px solid #28527b; border-radius: 13px; background: #0b2e61; }
.ripple-tip img { width: 74px; flex: 0 0 74px; }
.ripple-tip p { margin: 0; font-size: 11px; line-height: 1.6; }
.ripple-tip b { display: block; margin-bottom: 5px; color: var(--yellow); }
.ripple-tip p span { color: #c1d8eb; }
.next-challenge { margin-top: 24px; padding-bottom: 20px; border-bottom: 1px solid #25446d; }
.next-challenge .aside-kicker { margin-bottom: 9px; }
.next-challenge > b { display: block; margin-bottom: 8px; font-size: 14px; }
.next-challenge p { margin-bottom: 3px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.next-challenge .text-link { font-size: 12px; }
.sidebar-note { margin: 18px 0 0; color: #9db9d6; font-size: 10px; line-height: 1.8; }
.game-layout.phone-preview { grid-template-columns: minmax(0, 380px); max-width: 380px; gap: 0; }
.phone-preview .game-sidebar { display: none; }
.phone-preview .game-column { max-width: 380px; }

/* Shared content-page spacing and typography. */
.levels-page, .how-page, .notes-page, .info-page { padding-block: 24px 84px; }
.levels-page h1, .how-page h1, .notes-page h1, .info-page h1 { margin: 0 0 20px; font-size: clamp(44px, 5.5vw, 67px); line-height: 1.05; }
.levels-page .section-heading { margin-top: 6px; }
.levels-page .section-heading h1 { margin-bottom: 0; }
.page-lede { max-width: 680px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.journey-save { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; margin-top: 30px; border: 1px solid #39768c; border-radius: 16px; background: linear-gradient(110deg, #0d3d60, #102b58); }
.journey-save p { margin: 7px 0 0; color: #c3ddeb; font-size: 12px; line-height: 1.6; }
.journey-save .button { flex-shrink: 0; font-size: 12px; }
.progress-recovery { display: flex; align-items: center; gap: 28px; padding: 24px; margin-top: 18px; border: 1px solid #ecc66c; border-radius: 16px; background: #fff0cf; color: #15304e; }
.progress-recovery[hidden] { display: none; }
.progress-recovery .aside-kicker { color: #7e4a11; }
.progress-recovery h2 { margin: 7px 0; color: #17324b; font-size: 24px; }
.progress-recovery p { max-width: 660px; margin: 0; font-size: 13px; line-height: 1.65; }
.recovery-actions { flex-shrink: 0; text-align: center; }
.recovery-actions .button { font-size: 12px; }
.recovery-actions .result-secondary { display: block; margin: 10px auto 0; color: #284b68; }
.world-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 35px 0 22px; }
.world-tab { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 65px; padding: 13px; border: 1px solid #2b507b; border-radius: 11px; background: #0b2a5a; color: #d1e3f1; text-align: left; }
.world-tab span:first-child { color: var(--cyan); font-size: 10px; font-weight: 700; }
.world-tab span:last-child { font-size: 12px; font-weight: 700; line-height: 1.4; }
.world-tab:hover { border-color: #6bbfd8; }
.world-tab[aria-pressed="true"] { border-color: var(--cyan); background: #124a6b; color: #fff; }
.world-tab[aria-pressed="true"] span:first-child { color: var(--yellow); }
.world-panel { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 42px; padding: 32px; border: 1px solid #2a507b; border-radius: 20px; background: radial-gradient(ellipse at 2% 20%, #0d64733d, transparent 50%), #0a2552; }
.world-intro { position: relative; min-width: 0; }
.world-number { display: block; margin-bottom: 20px; color: #6ddcea; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.08em; opacity: .4; }
.world-intro .eyebrow { margin-bottom: 9px; font-size: 9px; }
.world-intro h2 { margin-bottom: 12px; font-size: 29px; line-height: 1.15; }
.world-intro > p:not(.eyebrow) { margin-bottom: 21px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.world-status { padding: 10px 12px; border-left: 3px solid var(--yellow); background: #16416a; color: #e0eef8; font-size: 10px; line-height: 1.65; }
.level-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.level-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 110px; padding: 12px 5px; border: 1px solid #315c85; border-radius: 12px; background: #0e315e; color: #e2f1fb; text-align: center; }
.level-tile strong { font-size: 28px; line-height: 1; }
.level-tile span { color: #b4d1e6; font-size: 9px; line-height: 1.4; }
.level-tile:hover { border-color: var(--cyan); background: #174872; }
.level-tile[aria-pressed="true"] { border-color: var(--yellow); background: var(--yellow); color: var(--midnight); box-shadow: 0 4px 0 #c1a344; }
.level-tile[aria-pressed="true"] span { color: #13345c; }
.map-note { margin: 17px 0 0; color: #abc6df; font-size: 10px; line-height: 1.7; }
.level-detail { display: grid; grid-template-columns: 54px minmax(0, 1fr) 92px auto; align-items: center; gap: 20px; margin-top: 23px; padding: 24px; border: 1px solid #31557e; border-radius: 15px; background: #0d2d5a; }
.level-detail-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #104e74; color: var(--cyan); font-size: 35px; }
.level-detail .eyebrow { margin-bottom: 7px; font-size: 8px; letter-spacing: .1em; }
.level-detail h3 { margin: 0 0 7px; font-size: 21px; }
.level-detail p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.level-detail-time b { display: block; color: var(--yellow); font-size: 26px; line-height: 1.2; }
.level-detail-time span { display: block; margin-top: 3px; color: #b4cce0; font-size: 9px; }
.level-detail .button { font-size: 11px; padding-inline: 15px; }
.fairness-note { display: flex; align-items: flex-start; gap: 16px; max-width: 970px; margin: 25px 0 0; padding: 19px 3px; }
.fairness-note > span { color: var(--yellow); font-size: 27px; }
.fairness-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.fairness-note b { color: #edf7ff; }

.how-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 65px; margin-top: 36px; }
.control-illustration { position: relative; min-width: 0; height: 470px; overflow: hidden; border: 1px solid #2e6b8e; border-radius: 22px; background: radial-gradient(ellipse at 50% 55%, #16849899, transparent 65%), linear-gradient(160deg, #124776, #082353); }
.control-illustration::before { content: ""; position: absolute; top: 103px; bottom: 165px; left: calc(50% - 1px); width: 2px; background: repeating-linear-gradient(180deg, #a6f2f5 0 4px, transparent 4px 11px); }
.control-illustration > img { position: absolute; z-index: 2; bottom: 66px; left: 18%; width: 64%; max-height: 70%; object-fit: contain; }
.control-target { position: absolute; top: 18px; left: 0; width: 100%; color: var(--yellow); font-size: 90px; line-height: 1; text-align: center; }
.control-hand { position: absolute; z-index: 3; bottom: 37px; left: 30%; display: grid; place-items: center; width: 40%; height: 43px; border: 1px solid #4dc5dc; border-radius: 9px; background: #0c3c6d; color: var(--cyan); font-size: 34px; line-height: 1; }
.control-illustration > span { position: absolute; bottom: 15px; left: 0; width: 100%; color: #cbe8f4; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-align: center; }
.how-steps { padding: 0; margin: 0; list-style: none; }
.how-steps li { display: flex; gap: 18px; padding: 23px 0; border-bottom: 1px solid #29476e; }
.how-steps li:first-child { padding-top: 0; }
.how-steps li > span { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border: 1px solid #41718f; border-radius: 50%; background: #103a68; color: var(--cyan); font-size: 12px; font-weight: 700; }
.how-steps h2 { margin: 3px 0 9px; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.how-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.control-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin: 43px 0 32px; padding: 29px 0; border-block: 1px solid #29476e; }
.control-options b { color: var(--yellow); font-size: 15px; }
.control-options p { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 37px 0 26px; }
.notes-grid article { min-width: 0; padding: 30px; border: 1px solid #2a4f79; border-radius: 18px; background: #0c2a57; }
.notes-grid h2 { margin: 0 0 22px; font-size: 28px; line-height: 1.2; }
.notes-grid ul { margin: 0; padding-left: 17px; }
.notes-grid li { padding-left: 4px; margin-bottom: 12px; color: #c2d8eb; font-size: 13px; line-height: 1.7; }
.notes-grid li:last-child { margin-bottom: 0; }
.notes-grid li::marker { color: var(--cyan); }
.notes-footnote { max-width: 900px; margin-bottom: 27px; color: #abc7df; font-size: 12px; line-height: 1.85; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 36px 0; }
.info-grid article, .info-callout { padding: 28px; border: 1px solid #2a4f79; border-radius: 18px; background: #0c2a57; }
.info-grid h2, .info-callout h2, .info-reading h2 { margin: 8px 0 15px; font-size: 25px; line-height: 1.25; letter-spacing: -.025em; }
.info-page p { line-height: 1.85; }
.info-grid p, .info-callout p, .info-reading p { color: #c2d8eb; font-size: 14px; }
.info-grid p:last-child, .info-reading p:last-child { margin-bottom: 0; }
.info-grid .text-link, .info-callout .text-link { margin-top: 10px; }
.info-callout { max-width: 880px; margin: 20px 0 12px; border-color: #47615f; }
.info-callout h2 { color: var(--yellow); }
.info-reading { max-width: 820px; margin-top: 35px; }
.info-reading article { padding: 23px 0; border-top: 1px solid #29476e; }
.info-reading h2 { margin-top: 0; }
.info-page .info-updated { margin: 24px 0; color: #9db9d3; font-size: 12px; }
.site-footer { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(170px, 1fr)); align-items: start; column-gap: 46px; row-gap: 30px; width: 100%; padding: 40px max(var(--gutter), calc((100vw - 1180px) / 2)) 22px; border-top: 1px solid #214069; background: #041530; }
.footer-brand { width: 150px; display: inline-flex; min-height: 44px; align-items: center; }
.footer-tagline { margin: 12px 0 9px; color: #a8c4df; font-size: 13px; line-height: 1.6; }
.studio-credit { margin: 0; color: #9db9d3; font-size: 12px; line-height: 1.7; }
.studio-credit strong { color: #e1edf6; font-weight: 650; }
.footer-links h2 { margin: 11px 0 12px; color: var(--yellow); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { display: flex; align-items: center; width: fit-content; min-height: 44px; color: #c8dcee; font-size: 13px; line-height: 1.5; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid #1d3656; color: #9db9d3; font-size: 11px; line-height: 1.6; }
.no-script { padding: 20px; color: var(--midnight); background: var(--yellow); font-size: 14px; line-height: 1.6; text-align: center; }

@container (max-width: 360px) {
  .game-topline { min-height: 65px; padding: 12px; }
  .game-topline b { font-size: 14px; }
  .game-topline small { font-size: 7px; }
  .level-chip { width: 31px; height: 33px; flex-basis: 31px; font-size: 14px; }
  .sample-badge { font-size: 6px; padding-inline: 4px; }
  .hud { grid-template-columns: 83px minmax(0, 1fr); gap: 13px; min-height: 79px; padding: 12px; }
  .timer > strong { font-size: 31px; }
  .fill-info > div > span { font-size: 7px; }
  .stage-message { top: 7%; padding: 16px 11px; }
  .message-kicker { margin-bottom: 7px; font-size: 9px; }
  .stage-message h2 { margin-bottom: 10px; font-size: 25px; }
  .stage-message p { margin-bottom: 14px; font-size: 11px; }
  .stage-message .button { padding-inline: 10px; }
  .result-panel { inset: 2% 4%; padding: 11px; }
  .result-panel > img { width: 28cqw; margin-bottom: 3px; }
  .result-panel .eyebrow { margin-bottom: 3px; font-size: 8px; }
  .result-panel h2 { margin-bottom: 5px; font-size: 23px; }
  .result-time strong { font-size: 32px; }
  .sample-caption { margin: 6px 0 8px; font-size: 9px; }
  .result-secondary { margin-top: 0; }
  .rear-pad { gap: 10px; min-height: 72px; padding-inline: 15px; }
  .rear-pad b { font-size: 13px; }
  .rear-pad div > span { font-size: 9px; }
}

@media (max-width: 1120px) {
  :root { --gutter: 32px; }
  .site-header { gap: 23px; }
  .brand { width: 185px; }
  .site-header nav { gap: 21px; }
  .hero { min-height: 560px; }
  .hero h1 { font-size: clamp(48px, 5.6vw, 65px); }
  .hero-description { font-size: 16px; }
  .hero-showcase { height: 475px; }
  .hero-booth { max-width: 315px; }
  .hero-ripple { bottom: 45px; }
  .ripple-caption { bottom: 15px; }
  .hero-actions { flex-wrap: wrap; gap: 10px 20px; }
  .hero-facts { margin-top: 20px; }
  .hero-copy .eyebrow { font-size: 8px; }
  .intro-strip { gap: 17px; }
  .intro-strip > div { gap: 9px; }
  .intro-strip strong { font-size: 15px; }
  .section-heading > p { max-width: 350px; }
  .game-card { padding: 20px; }
  .meet-ripple { gap: 50px; }
  .world-panel { grid-template-columns: 230px minmax(0, 1fr); gap: 25px; padding: 26px; }
  .level-grid { gap: 9px; }
  .level-detail { gap: 16px; padding: 21px; }
  .how-layout { gap: 42px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 530px; }
  .hero h1 { font-size: 49px; }
  .hero-showcase { height: 430px; }
  .showcase-label > span { font-size: 24px; }
  .hero-ripple { bottom: 47px; }
  .ripple-caption { bottom: 17px; }
  .hero-subtitle { font-size: 12px; }
  .hero-actions .button { font-size: 12px; }
  .hero-facts { gap: 18px; font-size: 10px; }
  .hero-facts span + span::before { left: -10px; }
  .intro-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 35px; padding-block: 23px; }
  .section-heading { gap: 28px; }
  .section-heading > p { max-width: 310px; font-size: 13px; }
  .journey-stop b { font-size: 12px; }
  .journey-stop small { font-size: 9px; }
  .game-cards { gap: 15px; }
  .game-card { min-height: 295px; padding: 18px; }
  .game-card h3 { font-size: 23px; }
  .game-card p { font-size: 11px; }
  .game-card > div:last-child { padding-top: 160px; }
  .game-card > img { top: 49px; width: 78%; right: 3%; }
  .ring-art { transform: scale(.86); }
  .meet-ripple { gap: 35px; }
  .meet-ripple > div > p:not(.eyebrow) { font-size: 14px; }
  .game-layout { grid-template-columns: minmax(0, 430px) minmax(0, 245px); gap: 26px; }
  .storyboard-bar { gap: 12px; padding: 13px; }
  .state-tabs button { padding-inline: 10px; font-size: 10px; }
  .world-tabs { gap: 6px; }
  .world-tab { gap: 7px; padding: 11px 9px; }
  .world-tab span:last-child { font-size: 10px; }
  .world-panel { grid-template-columns: 200px minmax(0, 1fr); gap: 23px; padding: 22px; }
  .level-tile { min-height: 91px; }
  .level-tile strong { font-size: 24px; }
  .level-tile span { font-size: 8px; }
  .level-detail { grid-template-columns: 50px minmax(0, 1fr) 80px; }
  .level-detail .button { grid-column: 2 / 4; width: fit-content; }
  .how-layout { gap: 32px; }
  .control-illustration { height: 420px; }
  .how-steps h2 { font-size: 18px; }
  .how-steps p { font-size: 12px; }
  .site-footer { column-gap: 28px; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .review-banner { gap: 8px 18px; flex-wrap: wrap; padding-block: 9px; font-size: 10px; }
  .review-banner p { order: 3; width: 100%; text-align: center; }
  .site-header { min-height: 80px; padding-block: 15px; gap: 18px; }
  .brand { width: 171px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 11px; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 27px; padding-bottom: 28px; }
  .hero-copy { width: 100%; max-width: 575px; text-align: center; padding-bottom: 0; }
  .hero-copy .eyebrow { justify-content: center; font-size: 9px; margin-bottom: 18px; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(42px, 8.8vw, 63px); }
  .hero-description { font-size: 17px; }
  .hero-subtitle { margin-bottom: 22px; font-size: 13px; }
  .hero-actions { justify-content: center; gap: 12px 21px; }
  .hero-actions .button { font-size: 13px; }
  .hero-facts { justify-content: center; margin-top: 25px; font-size: 11px; gap: 24px; }
  .hero-facts span + span::before { left: -13px; }
  .hero-showcase { height: 480px; max-width: 465px; margin-top: 30px; align-self: center; }
  .hero-booth { max-width: 326px; }
  .showcase-label > span { font-size: 27px; }
  .hero-ripple { bottom: 34px; }
  .ripple-caption { bottom: 2px; }
  .string-lights { top: 5px; width: 86%; }
  .hero-backdrop { inset: 0; background: radial-gradient(ellipse at 50% 75%, #086e8555, transparent 58%); }
  .intro-strip { padding-block: 25px; }
  .journey-section { padding-block: 58px 40px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 21px; margin-bottom: 29px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading > p { max-width: 520px; font-size: 14px; line-height: 1.75; }
  .journey-line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 0; }
  .journey-line::before { display: none; }
  .journey-stop { min-height: 156px; padding: 20px 12px 17px; border: 1px solid #2b4b73; border-radius: 14px; background: #0a2854; }
  .journey-stop:last-child { grid-column: 1 / -1; }
  .world-dot { width: 47px; height: 47px; box-shadow: none; font-size: 17px; }
  .journey-stop b { margin: 15px 0 6px; font-size: 14px; }
  .journey-stop small { font-size: 10px; }
  .journey-section > .text-link { margin-top: 21px; }
  .carnival-section { padding-block: 26px 54px; }
  .game-cards { grid-template-columns: 1fr; gap: 18px; }
  .game-card { min-height: 285px; padding: 24px; }
  .game-card > img { top: 18px; right: 8%; width: 205px; max-width: 55%; }
  .game-card > div:last-child { padding-top: 150px; }
  .game-card h3 { font-size: 29px; }
  .game-card p { font-size: 13px; }
  .card-kicker { font-size: 9px; }
  .ring-art { left: auto; right: 10%; top: 28px; transform: none; }
  .meet-ripple { grid-template-columns: 1fr; gap: 33px; padding-block: 10px 60px; }
  .meet-ripple > img { width: 100%; max-width: 440px; justify-self: center; }
  .meet-ripple h2 { font-size: 43px; }
  .meet-ripple > div > p:not(.eyebrow) { font-size: 15px; }
  .game-page { padding-top: 15px; }
  .game-heading h1 { font-size: 48px; }
  .storyboard-bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .state-tabs { justify-content: stretch; }
  .state-tabs button { flex: 1; font-size: 11px; }
  .game-layout { grid-template-columns: minmax(0, 430px); gap: 26px; }
  .game-sidebar { padding-top: 12px; }
  .guide-block h2 { font-size: 33px; }
  .guide-block > p { font-size: 14px; }
  .scoring-legend b { font-size: 13px; }
  .scoring-legend p span { font-size: 11px; }
  .ripple-tip img { width: 82px; flex-basis: 82px; }
  .ripple-tip p { font-size: 13px; }
  .next-challenge p { font-size: 13px; }
  .sidebar-note { font-size: 11px; }
  .levels-page, .how-page, .notes-page, .info-page { padding-block: 18px 58px; }
  .levels-page h1, .how-page h1, .notes-page h1, .info-page h1 { font-size: 49px; }
  .world-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
  .world-tab { min-height: 55px; gap: 12px; padding: 12px; }
  .world-tab:last-child { grid-column: 1 / -1; }
  .world-tab span:last-child { font-size: 12px; }
  .world-panel { grid-template-columns: minmax(0, 1fr); gap: 27px; padding: 23px; }
  .world-number { position: absolute; right: 0; top: -3px; margin: 0; font-size: 64px; opacity: .23; }
  .world-intro > .eyebrow { margin-top: 7px; padding-right: 70px; }
  .world-intro h2 { padding-right: 65px; font-size: 28px; }
  .world-intro > p:not(.eyebrow) { margin-bottom: 15px; font-size: 13px; }
  .level-grid { gap: 10px; }
  .level-tile { min-height: 95px; }
  .level-tile span { font-size: 9px; }
  .world-status { font-size: 11px; }
  .level-detail { padding: 20px; }
  .page-lede { font-size: 15px; }
  .how-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 29px; }
  .control-illustration { max-width: 450px; width: 100%; height: 430px; justify-self: center; }
  .control-illustration > img { left: 20%; width: 60%; }
  .how-steps h2 { font-size: 21px; }
  .how-steps p { font-size: 14px; }
  .control-options { grid-template-columns: 1fr; gap: 25px; margin-top: 28px; }
  .control-options p { margin-top: 8px; font-size: 13px; }
  .notes-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 29px; }
  .notes-grid article { padding: 25px; }
  .notes-grid h2 { font-size: 27px; }
  .info-grid { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .review-banner { padding-inline: 15px; gap: 4px 20px; }
  .review-banner p { font-size: 9px; line-height: 1.6; }
  .review-banner a { font-size: 9px; min-height: 44px; }
  .review-banner > span { font-size: 8px; }
  .site-header { flex-direction: column; justify-content: center; gap: 0; padding-top: 13px; padding-bottom: 4px; }
  .brand { width: 180px; }
  .site-header nav { justify-content: center; gap: 29px; width: 100%; }
  .site-header nav a { min-height: 44px; font-size: 11px; }
  .hero { padding-top: 22px; padding-bottom: 22px; }
  .hero-copy .eyebrow { gap: 6px; margin-bottom: 17px; font-size: 8px; letter-spacing: .1em; }
  .tiny-star { font-size: 16px; }
  .hero h1 { font-size: 43px; margin-bottom: 20px; }
  .hero-description { font-size: 15px; line-height: 1.6; }
  .hero-subtitle { font-size: 12px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; max-width: 320px; min-height: 50px; font-size: 13px; }
  .hero-actions .text-link { min-height: 44px; }
  .hero-facts { margin-top: 14px; font-size: 10px; gap: 22px; }
  .hero-showcase { height: calc((100vw - 36px) * 1.04 + 28px); min-height: 370px; max-height: 465px; margin-top: 25px; }
  .hero-booth { top: 53px; border-width: 2px; border-radius: 14px; }
  .showcase-label { top: 7px; }
  .showcase-label > span { font-size: 23px; }
  .showcase-label small { font-size: 7px; }
  .hero-ripple { bottom: 32px; right: -7px; }
  .ripple-caption { right: -7px; bottom: 2px; font-size: 8px; }
  .ripple-caption span { font-size: 12px; }
  .hero-fill { min-height: 24px; }
  .hero-fill span { font-size: 5px; gap: 4px; }
  .sparkle-a { top: 68px; font-size: 27px; }
  .sparkle-b { top: 149px; right: 2%; font-size: 16px; }
  .string-lights { top: -2px; }
  .intro-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px 13px; padding-block: 23px; }
  .intro-strip > p { grid-column: 1 / -1; font-size: 15px; text-align: center; }
  .intro-strip strong { font-size: 18px; }
  .intro-strip > div { flex-direction: column; align-items: flex-start; gap: 11px; }
  .intro-strip b { font-size: 12px; margin-bottom: 7px; }
  .intro-strip div p span { font-size: 11px; line-height: 1.6; }
  .round-number { width: 31px; height: 31px; flex-basis: 31px; font-size: 12px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .section-heading h2 { font-size: 36px; }
  .section-heading > p { font-size: 13px; }
  .journey-stop { min-height: 150px; padding-inline: 8px; }
  .journey-stop b { font-size: 12px; }
  .journey-stop small { font-size: 9px; }
  .game-card { padding: 21px; min-height: 294px; }
  .game-card > img { max-width: 62%; right: 3%; }
  .game-card > div:last-child { padding-top: 162px; }
  .game-card h3 { font-size: 27px; }
  .game-card p { font-size: 11px; }
  .ball-art { top: 48px; right: 15%; }
  .ring-art { top: 40px; right: 10%; }
  .meet-ripple h2 { font-size: 39px; }
  .game-heading { gap: 12px; margin-bottom: 22px; }
  .game-heading h1 { font-size: 43px; }
  .game-heading .eyebrow { font-size: 8px; }
  .game-heading .back-link { font-size: 10px; }
  .game-heading .button-quiet { gap: 7px; padding: 10px 11px; font-size: 10px; }
  .game-heading .button-quiet svg { width: 14px; height: 18px; }
  .storyboard-bar { padding: 13px; margin-bottom: 23px; }
  .storyboard-bar small { font-size: 9px; }
  .state-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-tabs button { font-size: 11px; }
  .game-topline { gap: 7px; }
  .levels-page h1, .how-page h1, .notes-page h1, .info-page h1 { font-size: 43px; overflow-wrap: break-word; }
  .world-panel { gap: 22px; padding: 18px; border-radius: 15px; }
  .world-tabs { margin-top: 25px; }
  .world-tab { gap: 8px; padding: 11px; }
  .world-tab span:last-child { font-size: 11px; }
  .world-intro h2 { font-size: 25px; }
  .world-intro > p:not(.eyebrow) { font-size: 12px; }
  .world-status { font-size: 10px; }
  .level-grid { gap: 7px; }
  .level-tile { gap: 8px; min-height: 79px; padding: 10px 3px; border-radius: 8px; }
  .level-tile strong { font-size: 23px; }
  .level-tile span { font-size: 8px; }
  .map-note { font-size: 9px; }
  .level-detail { grid-template-columns: 39px minmax(0, 1fr); gap: 15px 12px; padding: 18px; }
  .level-detail-icon { width: 37px; height: 37px; font-size: 28px; }
  .level-detail h3 { font-size: 20px; }
  .level-detail .eyebrow { font-size: 7px; }
  .level-detail-time { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; padding-top: 4px; }
  .level-detail-time span { font-size: 10px; }
  .level-detail .button { grid-column: 1 / -1; width: 100%; font-size: 12px; }
  .fairness-note { gap: 12px; }
  .fairness-note p { font-size: 11px; }
  .how-layout { margin-top: 26px; }
  .control-illustration { height: 380px; }
  .control-illustration > img { left: 15%; width: 70%; }
  .how-steps li { gap: 12px; }
  .how-steps h2 { font-size: 18px; }
  .how-steps p { font-size: 13px; }
  .notes-grid article { padding: 23px 20px; }
  .notes-grid h2 { font-size: 25px; }
  .notes-grid li { font-size: 12px; }
  .info-grid article, .info-callout { padding: 23px 20px; }
  .info-grid h2, .info-callout h2, .info-reading h2 { font-size: 23px; }
  .site-footer { gap: 24px 16px; padding-top: 30px; }
  .footer-links a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-top: 18px; }
}

@media (max-width: 370px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 40px; }
  .hero-description { font-size: 14px; }
  .hero-copy .eyebrow { font-size: 7px; }
  .hero-showcase { min-height: 356px; }
  .hero-ripple { bottom: 29px; }
  .ripple-caption { bottom: 0; }
  .showcase-label > span { font-size: 21px; }
  .hero-facts { gap: 18px; font-size: 9px; }
  .hero-facts span + span::before { left: -10px; }
  .game-heading .button-quiet { padding-inline: 9px; font-size: 9px; }
  .game-heading h1 { font-size: 40px; }
  .levels-page h1, .how-page h1, .notes-page h1, .info-page h1 { font-size: 40px; }
  .level-tile span { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.ripple-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 25px; }
.ripple-actions .button { min-height: 45px; }
.meet-ripple .ripple-audio-note { margin: 12px 0 0; font-size: 12px; color: #c8e7ee; }

@media (max-width: 620px) {
  .journey-save, .progress-recovery { flex-direction: column; align-items: stretch; gap: 17px; padding: 20px; }
  .journey-save .button, .recovery-actions .button { width: 100%; }
  .progress-recovery h2 { font-size: 22px; }
  .journey-save p { font-size: 11px; }
}

/* In-game menus reuse the complete Water Race pages and preserve their routes. */
body.has-game-menu { overflow: hidden; }
.game-column .game-footline { border-radius: 0; }
.water-game-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 7px 12px; border: 1px solid #40748b; border-top: 0; border-radius: 0 0 15px 15px; background: #09264a; }
.water-game-actions { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 0; }
.water-game-actions button { min-height: 26px; padding: 3px 0; border: 0; background: transparent; color: #b7d9e8; font-family: inherit; font-size: 10px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.water-game-actions button:hover { color: #ffdb77; }
.water-game-actions button:focus-visible { outline-offset: 3px; }
.carnival-world:fullscreen { width: 100%; max-width: none; min-height: 100dvh; margin: 0; padding: 36px 20px; overflow: auto; background-color: #071d41; align-content: start; }
.game-menu { width: min(1160px, calc(100% - 36px)); max-height: 90dvh; margin: auto; padding: 0 28px 28px; border: 1px solid #426d93; border-radius: 24px; background: #071d41; color: #f4f6ef; box-shadow: 0 28px 100px #0009; overscroll-behavior: contain; }
.game-menu[data-menu="audio-settings"] { width: min(530px, calc(100% - 28px)); }
.game-menu::backdrop { background: #020d27c7; backdrop-filter: blur(7px); }
.game-menu-heading { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; background: #071d41; border-bottom: 1px solid #284b70; }
.game-menu-heading h2 { margin: 0; font: 700 17px/1.3 var(--font-body, sans-serif); }
.game-menu-heading button { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid #426d93; border-radius: 50%; background: #10355b; color: #fff; font-size: 27px; cursor: pointer; }
.game-menu-heading button:hover { background: #1b4e72; }
.game-menu-heading button:focus-visible { outline: 3px solid #fbd56b; outline-offset: 3px; }
.game-menu .section-wrap { width: 100%; max-width: none; padding: 28px 0 0; margin: 0; }
.game-menu .section-wrap > .back-link { display: none; }
.game-menu .section-heading { margin-bottom: 25px; }
.game-menu .section-heading h1, .game-menu .how-page > h1 { font-size: clamp(32px, 5vw, 52px); }
.game-menu .world-preview { margin-top: 20px; }
.water-menu-resume-note { margin: 16px 0 0; padding: 11px 14px; border: 1px solid #40708c; border-radius: 10px; background: #10355b; color: #d6e9f2; font-size: 11px; line-height: 1.6; }
.water-audio-settings { padding-top: 24px; }
.water-audio-settings .eyebrow { margin-bottom: 8px; color: #ffd575; font-size: 9px; }
.water-audio-settings h3 { margin: 0 0 12px; font-size: 30px; line-height: 1.15; }
.water-dialog-intro { margin: 0; color: #bfd4e2; font-size: 12px; line-height: 1.7; }
.water-audio-switches { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 8px; }
.water-mix-controls { margin: 19px 0; }
.water-mix-controls label { display: grid; grid-template-columns: 104px minmax(60px, 1fr) 36px; gap: 12px; align-items: center; min-height: 50px; color: #d1e3ee; font-size: 12px; }
.water-mix-controls output { color: #a6c7dc; font-size: 11px; text-align: right; }
.water-mix-controls input[type="range"] { appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; accent-color: #7cdedb; cursor: pointer; }
.water-mix-controls input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: #416a83; }
.water-mix-controls input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; margin-top: -6px; border: 2px solid #b6f4f0; border-radius: 50%; background: #7cdedb; box-shadow: 0 1px 6px #0006; }
.water-mix-controls input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: #416a83; }
.water-mix-controls input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border: 2px solid #b6f4f0; border-radius: 50%; background: #7cdedb; }
.water-audio-caption { margin: 16px 0 0; padding-top: 15px; border-top: 1px solid #3d6279; color: #adc9dc; font-size: 11px; line-height: 1.6; }
.water-audio-notice { margin: 11px 0 0; color: #ffdb77; font-size: 11px; line-height: 1.6; }
@media (max-width: 620px) {
  .game-menu { width: calc(100% - 18px); max-height: 94dvh; padding: 0 14px 22px; border-radius: 17px; }
  .game-menu-heading { padding: 12px 0; }
  .game-menu-heading h2 { font-size: 14px; }
  .game-menu .section-wrap { padding-top: 22px; }
  .game-menu .section-heading { gap: 15px; }
  .game-menu .section-heading p { font-size: 13px; }
  .game-menu .world-panel { padding: 18px; }
}

/* Fit the smallest supported phone width when a scrollbar takes layout space. */
@media (max-width: 320px) { body { min-width: 0; } }
@media (max-width: 620px) { .game-card > .home-ring-toss-art { height: 190px; } }

/* Every playable card uses an isolated game asset on the shared card surface. */
.game-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.game-card.bottle-knockdown{background:radial-gradient(ellipse at 50% 25%,#49617188,transparent 70%),#182e5a}
.game-card>.home-bottle-knockdown-art{top:16px;right:10%;width:76%;max-width:240px;height:220px;object-fit:contain;transform:none}
.game-card.bottle-knockdown:is(:hover,:focus-visible){border-color:var(--cyan)}
.game-card.bottle-knockdown h3,.game-card.bottle-knockdown p{padding-right:34px}
@media(max-width:1000px){.game-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.game-card>.home-bottle-knockdown-art{height:190px}}
@media(max-width:500px){.game-cards{grid-template-columns:1fr}}
@media(min-width:1001px){.game-cards .game-card h3{font-size:clamp(20px,1.4vw,26px)}}
