/* ==========================================================================
   Gaming & Esports — page styles. HUD / game-UI language, cyan accent.
   Hidden-until-animated states are always guarded by .js:not(.reduced-motion).
   ========================================================================== */

.page-gaming, body[data-service="gaming"] { --cy: 46, 230, 255; }

/* Shared HUD atoms -------------------------------------------------------- */
.g-hud__c { position: absolute; width: 20px; height: 20px; border: 1px solid var(--accent); }
.g-hud__c--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.g-hud__c--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.g-hud__c--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.g-hud__c--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.g-rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--cy), .9); animation: g-blink 1.6s steps(2) infinite; }
@keyframes g-blink { 50% { opacity: .25; } }

.g-hud p, .g-scene__hud p, .g-stage__hud p {
  position: absolute; margin: 0;
  display: flex; align-items: center; gap: 1.1em;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 450; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  color: rgba(244, 241, 234, .86); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.g-hud__dim { color: rgba(244, 241, 234, .5); }

/* 01 — HERO --------------------------------------------------------------- */
.g-hero .hero__media > video { filter: saturate(.8) contrast(1.06) brightness(.82); }
.g-hero .hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(var(--cy), .2), rgba(var(--cy), 0) 46%), radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(7, 7, 10, .7));
  mix-blend-mode: normal;
}
.g-hero .hero__media::after { background: linear-gradient(180deg, rgba(7, 7, 10, .62), rgba(7, 7, 10, .18) 32%, rgba(7, 7, 10, .55) 62%, rgba(7, 7, 10, .94)); z-index: 2; }
.g-hero::before { /* scanlines */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(7, 7, 10, .34) 0 1px, transparent 1px 3px);
}
.g-hud { position: absolute; z-index: 1; pointer-events: none; inset: calc(var(--nav-h) + 4px) calc(var(--gutter) * .4) 12px; }
.g-hud__tl { top: 16px; left: calc(var(--gutter) * .6); }
.g-hud__tr { top: 16px; right: calc(var(--gutter) * .6); }
.g-hud__side { right: -2px; top: 46%; transform-origin: 100% 0; transform: rotate(-90deg) translate(50%, -22px); }
.g-hud__side b { font-weight: 450; color: var(--accent); }
@media (max-width: 759px) {
  .g-hud__tr span:not([data-g-xy]), .g-hud__side { display: none; }
  .g-hud__tr [data-g-xy] { color: rgba(244, 241, 234, .6); }
  .g-hud { inset: calc(var(--nav-h) + 2px) 8px 8px; }
  .g-hud__tl { left: 12px; } .g-hud__tr { right: 12px; }
  .g-hud__c { width: 14px; height: 14px; }
}
.g-hero .hero__title em { color: var(--accent); }
.g-hero .hero__inner { padding-bottom: clamp(6px, 1vw, 16px); }

.g-start i { display: inline-block; width: .62em; height: 1.05em; background: var(--accent); animation: g-blink 1s steps(2) infinite; }
.g-start .ico-arrow { display: none; }
.g-levels { list-style: none; margin: 0; padding: 0; gap: 0; width: 100%; max-width: 340px; text-align: left; }
.g-levels a { display: flex; gap: 1.2em; align-items: baseline; padding-block: .68em; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; transition: color var(--t-fast), padding var(--t) var(--ease-out); }
.g-levels a span:first-child { color: var(--accent); }
@media (hover: hover) { .g-levels a:hover { color: var(--accent); padding-left: .6em; } }

/* 02 — ORIGIN ------------------------------------------------------------- */
.g-origin__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) var(--gap); align-items: end; }
.g-origin__copy, .g-origin__media { grid-column: 1 / -1; }
.g-origin__copy { display: grid; gap: clamp(26px, 3vw, 44px); justify-items: start; }
.g-origin__title { max-width: 15ch; }
.g-origin__title em { color: var(--accent); }
.g-origin__text { max-width: 34ch; color: var(--fg-mute); }
.g-origin__media { position: relative; }
.g-origin__tag {
  position: absolute; z-index: 5; top: clamp(14px, 1.5vw, 22px); right: clamp(14px, 1.5vw, 22px);
  padding: .7em .95em; border: 1px solid var(--accent); border-radius: 4px; color: var(--accent);
  background: rgba(7, 7, 10, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: g-blink 1.8s steps(2) infinite;
}
@media (min-width: 900px) {
  .g-origin__copy { grid-column: 1 / span 7; }
  .g-origin__media { grid-column: 9 / -1; }
}
@media (max-width: 899px) { .g-origin__media .tile { --ratio: 4 / 3 !important; } }

.g-save { width: 100%; max-width: 560px; border: 1px solid var(--line-strong); border-radius: var(--r-s); overflow: hidden; background: var(--surface); }
.g-save__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.4em; align-items: center; padding: 1.05em 1.2em; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }
.g-save__row + .g-save__row { border-top: 1px solid var(--line); }
.g-save__name { font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.4rem); font-weight: 550; letter-spacing: -.02em; text-transform: none; color: var(--fg-mute); min-width: 0; overflow-wrap: anywhere; }
.g-save__state { display: inline-flex; align-items: center; gap: .7em; }
.g-save__row.is-active { background: rgba(var(--cy), .07); color: var(--fg); box-shadow: inset 2px 0 0 var(--accent); }
.g-save__row.is-active .g-save__name { color: var(--fg); }
.g-save__row.is-active .g-save__state { color: var(--accent); }
@media (max-width: 480px) {
  .g-save__row { grid-template-columns: minmax(0, 1fr) auto; gap: .5em 1em; }
  .g-save__slot { grid-column: 1 / -1; }
}

/* 03 — IN-GAME: the billboard scene -------------------------------------- */
.g-scene {
  position: relative; container-type: inline-size; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 8.4; border-radius: var(--r-l); background: #05070b;
  perspective: 1200px; perspective-origin: 50% 40%;
  --ry: 0deg; --dz: 0px; --h: 58%;
}
.g-scene__sky { position: absolute; inset: 0;
  background:
    radial-gradient(46% 34% at 66% var(--h), rgba(var(--cy), .22), transparent 72%),
    radial-gradient(30% 22% at 16% var(--h), rgba(107, 77, 255, .16), transparent 72%),
    linear-gradient(180deg, #04050a 0%, #090e17 var(--h), #05070b var(--h));
}
.g-scene__sky::before { /* far stars / data points */
  content: ""; position: absolute; inset: 0 0 calc(100% - var(--h));
  background-image: radial-gradient(rgba(244, 241, 234, .5) 1px, transparent 1.4px); background-size: 86px 62px; background-position: 12px 20px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 86%); mask-image: linear-gradient(180deg, #000, transparent 86%); opacity: .5;
}
.g-scene__sky::after { content: ""; position: absolute; left: 0; right: 0; top: var(--h); height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--cy), .9) 30%, rgba(var(--cy), .9) 80%, transparent); box-shadow: 0 0 24px 2px rgba(var(--cy), .5); }
.g-scene__world { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(var(--dz)) rotateY(var(--ry)); transition: transform .7s var(--ease-out); }
.g-scene__floor {
  position: absolute; left: -70%; right: -70%; top: var(--h); height: 120%; overflow: hidden;
  transform-origin: 50% 0; transform: rotateX(84deg);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%);
}
.g-scene__floor i {
  position: absolute; inset: -96px 0 0;
  background-image: linear-gradient(rgba(var(--cy), .55) 2px, transparent 2px), linear-gradient(90deg, rgba(var(--cy), .42) 2px, transparent 2px);
  background-size: 96px 96px; background-position: 50% 0;
  animation: g-floor 2.2s linear infinite;
}
@keyframes g-floor { to { transform: translateY(96px); } }
.g-scene__glow {
  position: absolute; left: 34%; width: 62%; top: calc(var(--h) + 1%); height: 40%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(var(--cy), .6), transparent 72%);
  filter: blur(18px); mix-blend-mode: screen; transition: opacity .6s;
}

.g-bb { position: absolute; }
.g-bb__panel { position: relative; aspect-ratio: 16 / 8; border: 1px solid rgba(var(--cy), .55); background: #080c12; border-radius: .5cqw; overflow: hidden; }
.g-bb__leg { position: absolute; top: 100%; width: max(2px, .5cqw); background: linear-gradient(180deg, #1b2733, #0a0f15); }
.g-bb--main { left: 39%; top: 12%; width: 51cqw; transform: rotateY(-17deg); transform-origin: 100% 50%; }
.g-bb--main .g-bb__panel { box-shadow: 0 0 0 .5cqw #0b1118, 0 0 9cqw rgba(var(--cy), .42); transition: box-shadow .6s; }
.g-bb--main .g-bb__leg { height: 13cqw; }
.g-bb__leg--a { left: 16%; } .g-bb__leg--b { right: 16%; }
.g-bb__off, .g-bb__on { position: absolute; inset: 0; }
.g-bb__off {
  margin: 1.2cqw; display: grid; place-content: center; justify-items: center; gap: .9em;
  border: 1px dashed rgba(244, 241, 234, .34);
  background: repeating-linear-gradient(135deg, rgba(244, 241, 234, .05) 0 1.2cqw, transparent 1.2cqw 2.4cqw);
  font-family: var(--font-mono); font-size: max(9px, 1.15cqw); letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 241, 234, .6);
}
.g-bb__on {
  display: grid; align-content: space-between; padding: 2.4cqw 2.8cqw 2cqw;
  background: radial-gradient(rgba(7, 7, 10, .13) 1px, transparent 1.6px) 0 0 / 7px 7px, linear-gradient(160deg, #7df0ff, var(--accent) 55%);
  color: var(--ink);
}
.g-bb__spot { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--ink); }
.g-bb__on strong { font-family: var(--font-display); font-variation-settings: "opsz" 96; font-weight: 650; font-size: 8.6cqw; line-height: .86; letter-spacing: -.045em; white-space: nowrap; }
.g-bb__on small { font-family: var(--font-mono); font-size: max(8px, 1.05cqw); letter-spacing: .18em; text-transform: uppercase; }
.g-bb--far { transform: rotateY(26deg); transform-origin: 0 50%; opacity: .9; }
.g-bb--far .g-bb__panel { display: grid; place-items: center; border-style: dashed; border-color: rgba(var(--cy), .4); }
.g-bb--far .g-bb__panel span { font-family: var(--font-mono); font-size: max(7px, .8cqw); letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 241, 234, .5); }
.g-bb--far .g-bb__leg { left: calc(50% - .25cqw); }
.g-bb--f1 { left: 5%; top: 30%; width: 17cqw; } .g-bb--f1 .g-bb__leg { height: 7cqw; }
.g-bb--f2 { left: 25%; top: 41%; width: 8cqw; } .g-bb--f2 .g-bb__leg { height: 3.4cqw; }

/* unlit until scrolled into view (JS adds .is-lit) */
.js:not(.reduced-motion) .g-scene:not(.is-lit) .g-bb__on,
.js:not(.reduced-motion) .g-scene:not(.is-lit) .g-scene__glow { opacity: 0; }
.js:not(.reduced-motion) .g-scene:not(.is-lit) .g-bb--main .g-bb__panel { box-shadow: 0 0 0 .5cqw #0b1118, 0 0 0 rgba(var(--cy), 0); }
.g-scene.is-lit .g-bb__on { animation: g-flicker 1.25s linear both; }
@keyframes g-flicker { 0% { opacity: 0; } 8% { opacity: .9; } 12% { opacity: .1; } 22% { opacity: .1; } 26% { opacity: 1; } 34% { opacity: .35; } 40% { opacity: 1; } 62% { opacity: 1; } 66% { opacity: .6; } 70%, 100% { opacity: 1; } }

.g-scene__hud { position: absolute; inset: clamp(12px, 1.6vw, 24px); pointer-events: none; z-index: 3; }
.g-scene::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(7, 7, 10, .3) 0 1px, transparent 1px 3px), radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(4, 5, 10, .75)); }
.g-scene__tl { top: 14px; left: 16px; } .g-scene__tr { top: 14px; right: 16px; gap: .8em !important; }
.g-scene__bl { bottom: 14px; left: 16px; } .g-scene__br { bottom: 14px; right: 16px; color: rgba(244, 241, 234, .5) !important; }
.g-scene__tr b { font-weight: 500; padding: .5em .7em; border-radius: 3px; }
.g-scene__open { border: 1px dashed rgba(244, 241, 234, .5); display: none; }
.g-scene__live { background: var(--accent); color: var(--ink); }
.js:not(.reduced-motion) .g-scene:not(.is-lit) .g-scene__open { display: inline-block; }
.js:not(.reduced-motion) .g-scene:not(.is-lit) .g-scene__live { display: none; }
.g-scene__reticle { position: absolute; left: 22%; top: 30%; width: 4.4cqw; height: 4.4cqw; min-width: 30px; min-height: 30px; border: 1px solid rgba(244, 241, 234, .5); border-radius: 50%; transition: left 1.1s var(--ease-io), top 1.1s var(--ease-io), border-color .4s; }
.g-scene__reticle::before, .g-scene__reticle::after { content: ""; position: absolute; background: rgba(244, 241, 234, .6); }
.g-scene__reticle::before { left: 50%; top: -30%; bottom: -30%; width: 1px; -webkit-mask: linear-gradient(180deg, #000 24%, transparent 24% 76%, #000 76%); mask: linear-gradient(180deg, #000 24%, transparent 24% 76%, #000 76%); }
.g-scene__reticle::after { top: 50%; left: -30%; right: -30%; height: 1px; -webkit-mask: linear-gradient(90deg, #000 24%, transparent 24% 76%, #000 76%); mask: linear-gradient(90deg, #000 24%, transparent 24% 76%, #000 76%); }
.g-scene.is-lit .g-scene__reticle, html:not(.js) .g-scene__reticle, .reduced-motion .g-scene__reticle { left: 86%; top: 12%; border-color: var(--accent); }

@media (max-width: 759px) {
  .g-scene { aspect-ratio: 4 / 5; --h: 60%; perspective: 900px; }
  .g-bb--main { left: 13%; top: 19%; width: 80cqw; transform: rotateY(-13deg); }
  .g-bb--main .g-bb__leg { height: 24cqw; }
  .g-bb__on { padding: 4cqw 4.4cqw 3.4cqw; }
  .g-bb__on strong { font-size: 13.6cqw; }
  .g-bb__spot { width: 4cqw; height: 4cqw; }
  .g-bb__off { font-size: 10px; margin: 2cqw; }
  .g-bb--f1 { left: 4%; top: 46%; width: 20cqw; } .g-bb--f1 .g-bb__leg { height: 7cqw; }
  .g-bb--f2 { display: none; }
  .g-scene__floor { left: -120%; right: -120%; height: 90%; }
  .g-scene__br { display: none !important; }
  .g-scene__tl { left: 12px; top: 12px; } .g-scene__tr { right: 12px; top: 8px; } .g-scene__bl { left: 12px; bottom: 12px; }
  .g-scene__reticle { display: none; }
}

.g-notes { list-style: none; margin: clamp(28px, 3.4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--gap); }
.g-notes li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: .5em 0; align-items: baseline; padding-block: clamp(20px, 2vw, 30px); border-top: 1px solid var(--line); }
.g-notes h3 { grid-column: 2; }
.g-notes p { grid-column: 2; color: var(--fg-mute); max-width: 30ch; margin: 0; }
@media (min-width: 760px) { .g-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 04 — WORLDS ------------------------------------------------------------- */
.g-worlds { border-radius: var(--r-l); }
.g-worlds__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) var(--gap); align-items: center; }
.g-worlds__copy, .g-stage { grid-column: 1 / -1; min-width: 0; }
.g-worlds__copy { display: grid; gap: clamp(24px, 2.6vw, 40px); }
.g-worlds__copy h2 { max-width: 11ch; }
.g-worlds__legal { max-width: 46ch; font-size: .8125rem; line-height: 1.5; }
@media (min-width: 1000px) {
  .g-worlds__copy { grid-column: 1 / span 5; }
  .g-stage { grid-column: 7 / -1; }
}

.g-tabs { display: grid; border-bottom: 1px solid var(--line); }
.g-tab {
  position: relative; display: grid; grid-template-columns: 4.2em minmax(0, 1fr) auto; align-items: baseline; gap: 0 .4em;
  padding: clamp(16px, 1.6vw, 24px) 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--fg-mute);
  text-align: left; cursor: pointer; font: inherit; transition: color var(--t-fast), padding var(--t) var(--ease-out);
}
.g-tab__idx, .g-tab__kind { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; }
.g-tab__name { font-family: var(--font-display); font-variation-settings: "opsz" 96; font-weight: 600; font-size: var(--fs-m); line-height: 1; letter-spacing: -.03em; }
.g-tab__note { grid-column: 2 / -1; font-size: var(--fs-body); line-height: 1.45; max-width: 34ch; padding-top: .7em; color: var(--fg-mute); }
.g-tab__bar { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.g-tab.is-active { color: var(--fg); }
.g-tab.is-active .g-tab__idx, .g-tab.is-active .g-tab__kind { color: var(--accent); }
.g-tab.is-active .g-tab__bar { transform: scaleX(1); }
.js .g-tab:not(.is-active) .g-tab__note { display: none; }
.js .g-tabs.is-auto .g-tab.is-active .g-tab__bar { animation: g-bar 7s linear both; }
@keyframes g-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.g-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) { .g-tab:not(.is-active):hover { color: var(--fg); padding-left: .5em; } }

.g-stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-m); overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 50% at 50% 56%, rgba(var(--cy), .13), transparent 70%), #07090d; border: 1px solid var(--line);
}
.g-stage__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(244, 241, 234, .2) 1px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.g-stage__world { position: absolute; inset: 11% 5% 10%; display: grid; place-items: center; opacity: 0; visibility: hidden; }
.g-stage__world.is-active { opacity: 1; visibility: visible; }
.g-vox { width: 100%; height: 100%; overflow: visible; animation: g-bob 7s ease-in-out infinite; }
@keyframes g-bob { 50% { transform: translateY(-1.4%); } }
.vx polygon { stroke: rgba(var(--cy), .3); stroke-width: .6; stroke-linejoin: round; }
.vx--g .t { fill: #1c2a37; } .vx--g .l { fill: #121b25; } .vx--g .r { fill: #0b121a; }
.vx--d .t { fill: #15202b; } .vx--d .l { fill: #0e161f; } .vx--d .r { fill: #090e15; }
.vx--b polygon { stroke: rgba(7, 7, 10, .4); }
.vx--b .t { fill: #f4f1ea; } .vx--b .l { fill: #c4c0b5; } .vx--b .r { fill: #96938a; }
.vx--a polygon { stroke: rgba(7, 7, 10, .35); }
.vx--a .t { fill: #2ee6ff; } .vx--a .l { fill: #19a6ba; } .vx--a .r { fill: #107484; }
.vx--w polygon { stroke: rgba(var(--cy), .22); }
.vx--w .t { fill: rgba(var(--cy), .17); } .vx--w .l { fill: rgba(var(--cy), .09); } .vx--w .r { fill: rgba(var(--cy), .05); }
.vx-beacon line { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 4; }
.vx-beacon__base { fill: none; stroke: var(--accent); stroke-width: 1; }
.vx-beacon__spot { fill: var(--accent); filter: drop-shadow(0 0 8px rgba(var(--cy), .95)); }
.vx-beacon__ring { fill: none; stroke: var(--accent); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: g-ring 2.4s var(--ease-out) infinite; }
@keyframes g-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.vx-beacon text { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; fill: var(--bone); }
.js:not(.reduced-motion) .g-stage:not(.is-in) .vx, .js:not(.reduced-motion) .g-stage:not(.is-in) .vx-beacon { opacity: 0; }
.js:not(.reduced-motion) .g-stage.is-in .g-stage__world.is-active .vx { animation: g-vox .7s var(--ease-out) both; animation-delay: var(--d); }
.js:not(.reduced-motion) .g-stage.is-in .g-stage__world.is-active .vx-beacon { animation: g-fade .6s 1.25s both; }
@keyframes g-vox { from { opacity: 0; transform: translateY(-30px); } }
@keyframes g-fade { from { opacity: 0; } }
.g-stage__hud { position: absolute; inset: clamp(12px, 1.4vw, 20px); pointer-events: none; }
.g-stage__tl { top: 14px; left: 16px; } .g-stage__tr { top: 14px; right: 16px; gap: .4em !important; }
.g-stage__bl { bottom: 14px; left: 16px; gap: .8em !important; color: var(--accent) !important; } .g-stage__br { bottom: 14px; right: 16px; color: rgba(244, 241, 234, .5) !important; }
.g-stage__bl .spot { width: 7px; height: 7px; min-width: 7px; }
@media (max-width: 480px) { .g-stage__br { display: none !important; } }

/* 05 — ESPORTS: the bracket ---------------------------------------------- */
.g-br__panel {
  position: relative; padding: clamp(22px, 4vw, 72px) clamp(18px, 3.4vw, 60px); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden;
  background: radial-gradient(40% 60% at 50% 50%, rgba(var(--cy), .1), transparent 72%), repeating-linear-gradient(0deg, rgba(244, 241, 234, .025) 0 1px, transparent 1px 4px), var(--surface);
}
.g-br__svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-br__svg--v { display: none; max-width: 440px; margin-inline: auto; }
@media (max-width: 999px) { .g-br__svg--h { display: none; } .g-br__svg--v { display: block; } }
.br-lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; fill: rgba(244, 241, 234, .42); }
.g-br__svg--v .br-lab { font-size: 8px; }
.br-s rect { fill: #0b0c11; stroke: rgba(244, 241, 234, .24); stroke-width: 1; }
.br-s text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; fill: var(--mute); }
.br-s--win rect { stroke: var(--accent); fill: rgba(var(--cy), .08); }
.br-s--win text { fill: var(--bone); }
.br-l { fill: none; stroke: rgba(244, 241, 234, .3); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease-io) var(--d, 0s); }
.br-l--hot { stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(var(--cy), .85)); }
.br-s, .br-cup { transition: opacity .55s var(--d, 0s); }
.br-cup__spot { fill: var(--accent); filter: drop-shadow(0 0 12px rgba(var(--cy), .9)); }
.br-cup__ring { fill: none; stroke: var(--accent); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: g-ring2 2.6s var(--ease-out) infinite; }
@keyframes g-ring2 { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.br-cup__k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; fill: var(--accent); }
.br-cup__n { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.03em; fill: var(--bone); }
.js:not(.reduced-motion) .g-br:not(.is-in) .br-l { stroke-dashoffset: 1; }
.js:not(.reduced-motion) .g-br:not(.is-in) .br-s, .js:not(.reduced-motion) .g-br:not(.is-in) .br-cup { opacity: 0; }

.g-br__list { list-style: none; margin: clamp(28px, 3.4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.g-br__list li { display: grid; gap: .55em; align-content: start; padding-block: clamp(18px, 2vw, 28px); border-top: 1px solid var(--line); }
.g-br__list p { color: var(--fg-mute); margin: 0; max-width: 26ch; }
@media (min-width: 1000px) { .g-br__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .g-br__list { grid-template-columns: minmax(0, 1fr); } }

/* 06 — REPLAYS ------------------------------------------------------------ */
.g-replays__head { display: grid; gap: clamp(18px, 2vw, 30px); }
.g-replays .tile__idx { letter-spacing: .14em; }

/* 07 — HOW WE PLAY (bone) ------------------------------------------------- */
.g-run__head { display: grid; gap: clamp(20px, 2.4vw, 36px); margin-bottom: clamp(48px, 6vw, 104px); }
.g-run__head h2 { max-width: 14ch; }
.g-track { --p: 1; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 4vw, 44px); }
.g-track::before, .g-track::after { content: ""; position: absolute; left: 8px; top: 9px; bottom: 9px; width: 2px; background: var(--line); }
.g-track::after { background: var(--ink); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.g-track__step { position: relative; display: grid; gap: .7em; padding-left: 44px; align-content: start; }
.g-track__node { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; z-index: 1; background: var(--ink); box-shadow: 0 0 0 5px var(--bone); transition: background .4s, transform .5s var(--ease-back); }
.g-track__node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--cyan); transition: transform .4s var(--ease-back); }
.g-track__no { color: var(--fg-mute); }
.g-track__step p { margin: 0; color: var(--fg-mute); max-width: 24ch; }
.g-track__step h3, .g-track__step p, .g-track__no { transition: opacity .5s; }
.js:not(.reduced-motion) .g-track.is-live .g-track__step:not(.is-on) .g-track__node { background: var(--bone-2); box-shadow: 0 0 0 5px var(--bone), inset 0 0 0 2px rgba(7, 7, 10, .3); transform: scale(.8); }
.js:not(.reduced-motion) .g-track.is-live .g-track__step:not(.is-on) .g-track__node::after { transform: scale(0); }
.js:not(.reduced-motion) .g-track.is-live .g-track__step:not(.is-on) :is(h3, p, .g-track__no) { opacity: .32; }
@media (min-width: 900px) {
  .g-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
  .g-track::before, .g-track::after { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 2px; }
  .g-track::after { transform-origin: 0 50%; transform: scaleX(var(--p)); }
  .g-track__step { padding-left: 0; padding-top: 52px; padding-right: 1.5em; }
}

/* 08 — END ---------------------------------------------------------------- */
.g-end .cta-band__title em { white-space: nowrap; }

/* ---- launch fixes ---- */
/* keep the voxel worlds clear of the stage edge and its HUD labels */
.g-stage__world { inset: 12% 9% 19%; }
.g-stage__bl, .g-stage__br { background: rgba(7, 9, 14, .78); padding: 6px 10px; border-radius: 6px; }
@media (max-width: 759px) {
  /* far billboards crowd the main one on small screens */
  .g-bb--f1 { display: none; }
  .g-stage__world { inset: 12% 6% 22%; }
}
.g-hero .link, .g-hud a { min-height: 44px; display: inline-flex; align-items: center; }
/* notes row: equal heading height so paragraphs align */
.g-notes > * > :first-child { min-height: 1.2em; }
