:root {
  --ink: #050705;
  --ink-soft: #0b100d;
  --glass: rgba(11, 17, 13, .82);
  --glass-deep: rgba(5, 9, 7, .94);
  --line: rgba(193, 215, 194, .18);
  --line-hot: rgba(181, 231, 93, .48);
  --bone: #eef1e7;
  --muted: #a6afa1;
  --dim: #667064;
  --acid: #b6e75d;
  --acid-2: #7ebc43;
  --ember: #f2944f;
  --signal: #67d7c7;
  --danger: #e85f4f;
  --header: 76px;
  --content: min(1480px, calc(100vw - 72px));
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); scroll-behavior: smooth; }
body { min-height: 100%; margin: 0; overflow-x: hidden; background: var(--ink) url("/brand/005-texture-concrete.webp") center / 720px repeat; color: var(--bone); font-family: var(--sans); opacity: 0; }
html[data-ready="true"] body { opacity: 1; transition: opacity .18s ease; }
body::before { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .07; background: url("/brand/006-overlay-grain.webp") center / 620px repeat; mix-blend-mode: screen; }
body::after { content: ""; position: fixed; inset: 0; z-index: 199; pointer-events: none; opacity: .1; background: url("/brand/007-overlay-scanlines.webp") center / cover; mix-blend-mode: screen; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.noscript { min-height: 100vh; display: grid; place-items: center; color: var(--acid); font: 700 20px var(--mono); letter-spacing: .16em; }
.skip-link { position: fixed; left: 18px; top: 8px; z-index: 500; transform: translateY(-150%); padding: 12px 16px; background: var(--acid); color: #081005; font: 800 11px var(--mono); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

.site-header { position: fixed; z-index: 90; inset: 0 0 auto; height: var(--header); display: grid; grid-template-columns: 196px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(4, 7, 5, .98), rgba(4, 7, 5, .86)); backdrop-filter: blur(18px); }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 14%; height: 1px; background: var(--acid); box-shadow: 0 0 18px rgba(182, 231, 93, .8); }
.site-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-brand > img { width: 128px; height: 46px; object-fit: contain; object-position: left center; }
.site-brand > span { display: grid; gap: 5px; color: var(--dim); font: 700 7px var(--mono); letter-spacing: .15em; white-space: nowrap; }
.site-brand > span i { width: 34px; height: 2px; background: var(--acid); box-shadow: 0 0 10px var(--acid); }
.desktop-nav { display: flex; align-items: stretch; justify-content: center; height: 100%; min-width: 0; }
.nav-link { position: relative; display: grid; place-items: center; padding: 0 clamp(7px, 1vw, 17px); color: #899487; font: 680 10px var(--mono); letter-spacing: .03em; text-align: center; transition: color .16s, background .16s; }
.nav-link::after { content: ""; position: absolute; left: 45%; right: 45%; bottom: 15px; height: 1px; background: transparent; transition: .18s; }
.nav-link:hover, .nav-link.is-active { color: var(--bone); background: linear-gradient(180deg, transparent, rgba(182, 231, 93, .06)); }
.nav-link.is-active::after { left: 20%; right: 20%; background: var(--acid); box-shadow: 0 0 10px var(--acid); }
.header-tools { display: flex; align-items: center; justify-content: end; gap: 7px; }
.locale-control, .tool-link, .menu-toggle { height: 42px; border: 1px solid var(--line); background: rgba(8, 13, 10, .7); }
.locale-control { width: 68px; display: flex; align-items: center; padding: 0 7px; }
.locale-control img { width: 25px; height: 25px; object-fit: contain; opacity: .78; }
.locale-control select { width: 32px; border: 0; appearance: none; background: transparent; color: var(--bone); outline: 0; font: 800 10px var(--mono); text-align: center; cursor: pointer; }
.locale-control option { background: #080d0a; }
.tool-link { display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #9aa59a; font: 650 9px var(--mono); transition: .16s; }
.tool-link:hover { color: var(--bone); border-color: var(--line-hot); }
.tool-link img { width: 26px; height: 26px; object-fit: contain; opacity: .86; }
.tool-link--staff { color: #737c72; }
.tool-link--staff img { width: 22px; height: 22px; opacity: .55; }
.menu-toggle { width: 44px; display: none; place-content: center; gap: 7px; cursor: pointer; }
.menu-toggle i { display: block; width: 21px; height: 1px; background: var(--bone); transition: transform .18s; }
.menu-open .menu-toggle i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle i:last-child { transform: translateY(-4px) rotate(-45deg); }

#route-main { min-height: 100vh; padding-top: var(--header); outline: none; }
.eyebrow { color: var(--acid); font: 750 10px var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 12px 3px 0; background: currentColor; box-shadow: 0 0 9px currentColor; }

.home-hero { position: relative; isolation: isolate; min-height: max(720px, calc(100svh - var(--header))); display: flex; align-items: center; padding: 80px max(36px, calc((100vw - 1480px) / 2)) 180px; overflow: hidden; background: #050705 url("/brand/001-main-hero-desktop.webp") center / cover no-repeat; }
.home-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3, 6, 4, .96) 0, rgba(3, 6, 4, .77) 38%, rgba(3, 6, 4, .16) 72%), linear-gradient(0deg, rgba(3, 6, 4, .9), transparent 46%); }
.home-hero::after { content: "EKZY // PRIME // BROADCAST"; position: absolute; right: 19px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); color: rgba(224, 235, 217, .32); font: 700 8px var(--mono); letter-spacing: .4em; }
.home-hero-copy { width: min(790px, 67vw); animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.home-hero h1, .route-hero h1, .not-found h1 { margin: 23px 0 22px; font-family: var(--display); font-size: clamp(58px, 7.6vw, 124px); font-stretch: condensed; line-height: .84; letter-spacing: -.065em; text-transform: uppercase; text-wrap: balance; }
.home-hero h1 em, .route-hero h1 em { display: block; color: var(--acid); font-style: normal; text-shadow: 0 0 38px rgba(182, 231, 93, .16); }
.home-hero-copy > p { width: min(650px, 100%); color: #c0c7bb; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.signal-button { min-width: 224px; min-height: 61px; display: inline-flex; align-items: center; justify-content: center; padding: 0 34px; background: url("/brand/015-button-idle.webp") center / 100% 100% no-repeat; color: #eef1e7; text-shadow: 0 1px 2px #000; font: 850 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: .18s; }
.signal-button:hover { transform: translateY(-2px); background-image: url("/brand/016-button-hover.webp"); filter: drop-shadow(0 8px 24px rgba(182, 231, 93, .18)); }
.campfire-link { min-height: 52px; display: inline-flex; align-items: center; gap: 13px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .35); color: var(--bone); font: 750 11px var(--mono); }
.campfire-link img { width: 28px; max-height: 22px; }
.campfire-link:hover { border-color: #5865f2; }
.live-strip { position: absolute; left: max(36px, calc((100vw - 1480px) / 2)); right: max(36px, calc((100vw - 1480px) / 2)); bottom: 28px; display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); background: rgba(5, 9, 7, .8); backdrop-filter: blur(16px); box-shadow: 0 24px 80px rgba(0, 0, 0, .38); }
.sync-state { display: grid; grid-template-columns: 13px 1fr; gap: 7px 12px; align-content: center; padding: 21px 24px; border-right: 1px solid var(--line); }
.sync-state > span { grid-row: 1 / 3; align-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 7px rgba(182, 231, 93, .08), 0 0 16px var(--acid); animation: pulse 1.6s infinite; }
.sync-state.is-offline > span { background: var(--danger); box-shadow: 0 0 0 7px rgba(232, 95, 79, .08), 0 0 16px var(--danger); }
.sync-state b { color: var(--bone); font: 750 11px var(--mono); }
.sync-state small { color: var(--dim); font-size: 10px; }
.decision-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.decision-cell { min-width: 0; padding: 19px 16px; border-left: 1px solid var(--line); }
.decision-cell:first-child { border-left: 0; }
.decision-cell small { display: block; min-height: 22px; color: #778176; font: 700 8px var(--mono); letter-spacing: .12em; }
.decision-cell b { display: block; margin-top: 8px; color: #dce3d7; font: 700 19px var(--mono); }
.decision-cell--rates b { font-size: clamp(8px, .72vw, 11px); line-height: 1.45; overflow-wrap: anywhere; }
.decision-cell--address b { margin-top: 3px; }
.copy-address { width: 100%; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 0; border: 0; background: transparent; color: #dce3d7; cursor: pointer; text-align: left; font: 700 clamp(8px, .7vw, 11px) var(--mono); }
.copy-address span { min-width: 0; white-space: nowrap; }
.copy-address img { width: 27px; height: 27px; flex: 0 0 auto; object-fit: contain; opacity: .72; }
.copy-address:hover img, .copy-address.is-copied img { opacity: 1; filter: drop-shadow(0 0 7px var(--acid)); }
.data-skeleton { animation: skeleton 1.6s calc(var(--delay) * .08s) ease-in-out infinite alternate; }

.live-world-band { width: var(--content); margin: 26px auto 0; display: grid; grid-template-columns: .72fr 1.5fr .72fr 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.live-world-band article { min-width: 0; min-height: 112px; display: grid; align-content: center; gap: 8px; padding: 17px 19px; background: rgba(6, 10, 7, .94); }
.live-world-band small { min-height: 20px; color: var(--dim); font: 700 8px/1.4 var(--mono); letter-spacing: .12em; }
.live-world-band b { color: var(--bone); font: 720 clamp(15px, 1.35vw, 22px) var(--mono); overflow-wrap: anywhere; }
.live-world-band span { min-height: 14px; color: #7f897d; font: 600 8px/1.45 var(--mono); overflow-wrap: anywhere; }

.story-section { position: relative; width: var(--content); margin: 0 auto; padding: 110px 0 130px; }
.story-section--paths::before { content: ""; position: absolute; left: calc((100vw - 100%) / -2); right: calc((100vw - 100%) / -2); top: -74px; height: 170px; background: url("/brand/019-divider-barbed-wire.webp") center / 100% 190px no-repeat; opacity: .46; pointer-events: none; }
.story-heading { display: grid; grid-template-columns: .38fr 1fr 1fr; gap: 50px; align-items: start; margin-bottom: 60px; }
.story-heading > span { color: var(--acid); font: 700 9px var(--mono); letter-spacing: .22em; }
.story-heading h2 { max-width: 570px; margin: 0; font: 770 clamp(34px, 4vw, 64px)/.98 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.story-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0 0 34px; border: 1px solid var(--line); background: var(--line); }
.proof-grid article { min-width: 0; min-height: 105px; display: grid; align-content: center; gap: 10px; padding: 16px 18px; background: rgba(5, 9, 7, .94); }
.proof-grid small { min-height: 20px; color: var(--dim); font: 700 8px/1.4 var(--mono); letter-spacing: .1em; }
.proof-grid b { color: var(--bone); font: 750 clamp(12px, 1.1vw, 18px)/1.35 var(--mono); overflow-wrap: anywhere; }
.path-card { position: relative; min-height: 360px; display: grid; grid-template-columns: 80px 1fr; grid-template-rows: 70px 1fr; gap: 0 18px; padding: 22px; overflow: hidden; border: 1px solid var(--line); background: rgba(9, 14, 11, .83) url("/brand/018-card-glass.webp") center / cover no-repeat; transition: transform .2s, border-color .2s; }
.path-card::after { content: ""; position: absolute; inset: 0; opacity: 0; background: url("/brand/021-hover-flare.webp") center / cover; mix-blend-mode: screen; transition: .2s; }
.path-card:hover { transform: translateY(-7px); border-color: var(--line-hot); }
.path-card:hover::after { opacity: .2; }
.path-card > small { position: relative; z-index: 2; color: var(--dim); font: 700 9px var(--mono); }
.path-card > img { position: relative; z-index: 2; grid-row: 1 / 3; width: 92px; height: 92px; object-fit: contain; align-self: start; }
.path-card > div { position: relative; z-index: 2; grid-column: 1 / 3; align-self: end; }
.path-card h3 { margin: 0 0 12px; font: 750 25px var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.path-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.path-card > i { position: absolute; right: 20px; bottom: 20px; width: 30px; height: 1px; background: var(--acid); }

.route-hero { position: relative; isolation: isolate; min-height: 535px; display: flex; align-items: end; overflow: hidden; padding: 80px max(36px, calc((100vw - 1480px) / 2)) 72px; background: #070a08 var(--route-bg) center / cover no-repeat; }
.route-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4, 7, 5, .97), rgba(4, 7, 5, .66) 54%, rgba(4, 7, 5, .2)), linear-gradient(0deg, rgba(4, 7, 5, .92), transparent 60%); }
.route-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--acid), transparent); opacity: .6; }
.route-hero-copy { width: min(950px, 78%); animation: rise .5s ease both; }
.route-hero h1 { margin-bottom: 18px; font-size: clamp(48px, 6vw, 92px); }
.route-hero h1 em { display: inline; }
.route-hero-copy p { max-width: 760px; margin: 0; color: #b5bdb1; font-size: 16px; line-height: 1.65; }
.route-hero-icon { position: absolute; right: max(40px, calc((100vw - 1480px) / 2)); bottom: 20px; width: min(280px, 24vw); height: min(280px, 24vw); object-fit: contain; filter: drop-shadow(0 20px 36px #000); opacity: .9; }
.route-hero--rules::before, .route-hero--mechanics::before, .route-hero--leaderboards::before, .route-hero--items::before { background: linear-gradient(90deg, rgba(4, 7, 5, .97), rgba(4, 7, 5, .73)), radial-gradient(circle at 80%, rgba(182, 231, 93, .09), transparent 30%); }
.route-hero--events::before { background: linear-gradient(90deg, rgba(8, 4, 3, .96), rgba(8, 4, 3, .5) 62%, rgba(8, 4, 3, .12)), linear-gradient(0deg, #080403, transparent); }
.route-hero--community::before { background: linear-gradient(90deg, rgba(8, 5, 3, .97), rgba(8, 5, 3, .55), rgba(8, 5, 3, .2)); }

.map-preview, .record-room, .mechanic-alignment, .community-lock, .account-lock { width: var(--content); margin: 90px auto 130px; display: grid; gap: 50px; align-items: center; }
.map-preview { grid-template-columns: 1.15fr .85fr; }
.map-preview--compact { grid-template-columns:1fr 280px;margin-bottom:35px; }
.map-preview-object { width:260px;height:260px;object-fit:contain;justify-self:end;filter:drop-shadow(0 18px 35px #000); }
.public-map-section { width:min(1840px,calc(100vw - 24px));margin:0 auto 130px;scroll-margin-top:calc(var(--header) + 10px); }
#public-game-map { min-height:800px; }
.map-grid-art { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(rgba(182, 231, 93, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(182, 231, 93, .13) 1px, transparent 1px), radial-gradient(circle at 62% 43%, #2b5234, #09120d 52%, #040704); background-size: 20% 20%, 20% 20%, auto; box-shadow: inset 0 0 100px #000; }
.map-grid-art::after { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(182, 231, 93, .28); border-radius: 50%; }
.map-grid-art span { position: relative; z-index: 2; display: inline-block; margin: 4%; color: rgba(238, 241, 231, .56); font: 800 clamp(18px, 3vw, 42px) var(--mono); }
.map-grid-art img { position: absolute; z-index: 1; right: 8%; bottom: -6%; width: 52%; height: 52%; object-fit: contain; filter: drop-shadow(0 15px 35px #000); }
.map-preview-copy h2, .record-copy h2, .account-lock-copy h2, .community-lock h2, .archive-empty h2, .broadcast-empty h2 { margin: 18px 0; font: 760 clamp(34px, 4.2vw, 66px)/.96 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.map-preview-copy > p, .record-copy p, .account-lock-copy > p, .community-lock p, .archive-empty p, .broadcast-empty p { color: var(--muted); line-height: 1.75; }
.map-preview-copy > small { display: block; margin-top: 25px; color: var(--dim); font: 600 10px/1.6 var(--mono); }
.safety-note { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 14px; margin-top: 26px; padding: 14px; border: 1px solid rgba(182, 231, 93, .28); background: rgba(182, 231, 93, .05); color: #cbd5c5; font-size: 12px; line-height: 1.55; }
.safety-note img { width: 56px; height: 56px; object-fit: contain; }

.rule-grid { width: var(--content); margin: 90px auto 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rule-grid article { min-height: 320px; padding: 34px; background: rgba(7, 12, 9, .94); }
.rule-grid small { color: var(--acid); font: 750 10px var(--mono); }
.rule-grid h2 { margin: 70px 0 17px; font: 750 30px var(--display); text-transform: uppercase; }
.rule-grid p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.live-rules { width: var(--content); margin: 80px auto 30px; scroll-margin-top: calc(var(--header) + 18px); }
.rules-rate { min-height: 130px; display: grid; grid-template-columns: .35fr 1fr .85fr; align-items: center; gap: 24px; padding: 24px 30px; border: 1px solid var(--line); background: rgba(7, 12, 9, .94) url("/brand/018-card-glass.webp") center / cover; }
.rules-rate small { color: var(--acid); font: 750 9px var(--mono); letter-spacing: .17em; }
.rules-rate b { color: var(--bone); font: 750 clamp(13px, 1.45vw, 21px)/1.45 var(--mono); }
.rules-rate span { color: var(--muted); font-size: 11px; line-height: 1.55; }
.live-rules > .rule-grid { width: 100%; margin: 1px 0 0; grid-template-columns: repeat(4, 1fr); }
.live-rules .rule-grid article { min-height: 390px; padding: 26px; }
.live-rules .rule-grid h2 { margin: 42px 0 21px; font-size: 24px; }
.rule-grid ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rule-grid li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rule-grid li span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.rule-grid li b { color: var(--bone); font: 700 10px/1.45 var(--mono); text-align: right; overflow-wrap: anywhere; }
.rules-proof { width: var(--content); margin: 28px auto 110px; display: grid; grid-template-columns: 230px 1fr; gap: 35px; align-items: center; padding: 30px; border: 1px solid var(--line); background: rgba(7, 11, 8, .9); scroll-margin-top: calc(var(--header) + 18px); }
.rules-proof > img { width: 210px; height: 210px; object-fit: contain; }
.rules-proof .proof-grid { margin: 24px 0 0; }
.pending-line { width: var(--content); margin: 0 auto 130px; min-height: 90px; display: flex; align-items: center; gap: 17px; border: 1px solid var(--line); padding: 15px 22px; color: var(--muted); font: 650 11px var(--mono); }
.pending-line img { width: 48px; animation: spin 2.5s linear infinite; }

.mechanic-alignment { grid-template-columns: .7fr 1.3fr; }
.mechanic-alignment > div:first-child p { margin-top: 20px; color: var(--muted); line-height: 1.75; }
.mechanic-state-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mechanic-state-grid article { position: relative; aspect-ratio: .78; display: grid; align-content: end; overflow: hidden; border: 1px solid var(--line); background: rgba(7, 11, 8, .9); }
.mechanic-icon { position: absolute; inset: 8%; width: 84%; height: 70%; object-fit: contain; }
.mechanic-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.mechanic-state-grid span { position: relative; z-index: 3; padding: 18px; background: linear-gradient(transparent, #050705 45%); color: var(--bone); font: 750 10px var(--mono); text-transform: uppercase; }
.mechanics-catalogue { width: var(--content); margin: 75px auto 130px; }
.mechanics-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 28px; }
.mechanics-toolbar p { max-width: 720px; margin: 18px 0 0; color: var(--muted); line-height: 1.7; }
.mechanics-summary { min-width: 190px; display: grid; justify-items: end; gap: 6px; }
.mechanics-summary b { color: var(--acid); font: 800 31px var(--mono); }
.mechanics-summary span { color: var(--dim); font: 650 8px var(--mono); text-transform: uppercase; }
.mechanics-filters { position: sticky; z-index: 12; top: calc(var(--header) + 8px); display: flex; gap: 6px; padding: 9px; margin-bottom: 14px; overflow-x: auto; border: 1px solid var(--line); background: rgba(5, 9, 7, .94); backdrop-filter: blur(12px); }
.mechanics-filters button { min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--line); background: #0a0f0c; color: var(--muted); cursor: pointer; white-space: nowrap; font: 700 9px var(--mono); }
.mechanics-filters button b { color: var(--dim); }
.mechanics-filters button.is-active { color: var(--bone); border-color: var(--line-hot); background: rgba(182, 231, 93, .08); }
.mechanics-filters button.is-active b { color: var(--acid); }
.public-mechanics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.public-mechanic-card { min-width: 0; min-height: 480px; display: grid; grid-template-rows: 270px 1fr; overflow: hidden; border: 1px solid var(--line); background: rgba(7, 11, 8, .94); animation: rise .3s calc(min(var(--card-order), 8) * .025s) ease both; }
.public-mechanic-card.stage-active { border-color: rgba(182, 231, 93, .55); box-shadow: inset 0 0 50px rgba(182, 231, 93, .04); }
.public-mechanic-card.is-loading { min-height: 480px; display: block; background: linear-gradient(105deg, #080d0a 30%, #111a13 45%, #080d0a 60%); background-size: 300% 100%; animation: loading-card 1.4s infinite; }
.public-mechanic-visual { position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle, rgba(35, 70, 40, .38), rgba(5, 8, 6, .9) 63%); }
.public-mechanic-visual::after { content: ""; position: absolute; inset: 0; background: url("/brand/007-overlay-scanlines.webp") center / cover; opacity: .1; }
.public-mechanic-image { width: 75%; height: 85%; object-fit: contain; filter: drop-shadow(0 15px 24px #000); }
.public-mechanic-overlay { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.public-mechanic-visual > span { position: absolute; z-index: 4; left: 15px; bottom: 14px; max-width: calc(100% - 30px); padding: 7px 9px; border: 1px solid var(--line); background: rgba(4, 7, 5, .9); color: var(--muted); font: 750 8px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.stage-active .public-mechanic-visual > span { color: var(--acid); border-color: rgba(182, 231, 93, .45); }
.stage-approach .public-mechanic-visual > span { color: #f1cf72; }
.stage-later .public-mechanic-visual > span { color: #b7a6e8; }
.public-mechanic-copy { padding: 22px; }
.public-mechanic-copy small { color: var(--dim); font: 700 8px var(--mono); letter-spacing: .13em; }
.public-mechanic-copy h2 { margin: 15px 0 11px; font: 760 25px/1.02 var(--display); letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: anywhere; }
.public-mechanic-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
@keyframes loading-card { to { background-position: -150% 0; } }

.record-room { grid-template-columns: .72fr 1.28fr; }
.rank-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rank-preview > div { min-width: 0; padding: 18px; border: 1px solid var(--line); background: rgba(7, 11, 8, .88); }
.rank-preview img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: grayscale(.7); opacity: .68; }
.rank-preview span, .account-slots span { display: block; min-height: 34px; color: var(--muted); font: 700 9px/1.5 var(--mono); text-transform: uppercase; overflow-wrap: anywhere; }
.rank-preview i, .account-slots i { display: block; height: 3px; margin-top: 14px; background: linear-gradient(90deg, #3e473e 34%, transparent 34%); }

.broadcast-empty, .archive-empty { width: var(--content); min-height: 400px; margin: 90px auto 130px; display: grid; grid-template-columns: .55fr 1fr .35fr; gap: 40px; align-items: center; border: 1px solid var(--line); background: rgba(7, 10, 8, .88) url("/brand/018-card-glass.webp") center / cover; padding: 50px; overflow: hidden; }
.broadcast-empty > img { width: 220px; filter: drop-shadow(0 0 25px rgba(232, 95, 79, .2)); }
.broadcast-wave { height: 120px; opacity: .6; background: repeating-linear-gradient(90deg, var(--danger) 0 2px, transparent 2px 13px); mask-image: linear-gradient(180deg, transparent, #000 48%, transparent); animation: wave 1.4s ease-in-out infinite alternate; }
.archive-empty { grid-template-columns: .7fr 1fr; }
.archive-empty > img { width: 100%; max-height: 330px; object-fit: contain; }
.public-events,.public-leaderboards,.public-items { width:var(--content);margin:70px auto 120px; }
.event-feed-head { display:flex;align-items:center;gap:18px;margin-bottom:24px; }
.event-feed-head img { width:72px;height:72px;object-fit:contain; }
.public-event-feed { display:grid;grid-template-columns:repeat(2,1fr);gap:10px; }
.public-event { min-height:155px;display:grid;grid-template-columns:120px 1fr;align-items:center;gap:20px;padding:18px;border:1px solid var(--line);background:rgba(7,11,8,.92); }
.public-event>img { width:110px;height:110px;object-fit:contain; }
.public-event small { color:var(--dim);font:700 8px var(--mono); }
.public-event h2 { margin:12px 0 7px;font:760 23px var(--display);text-transform:uppercase; }
.public-event p { margin:0;color:var(--muted);font:11px var(--mono); }
.public-data-empty { min-height:360px;grid-column:1/-1;display:grid;place-items:center;text-align:center;border:1px solid var(--line); }
.public-data-empty img { width:220px;max-height:220px;object-fit:contain; }
.public-data-empty p { color:var(--muted); }
.leaderboard-empty { min-height:430px;display:grid;grid-template-columns:.65fr 1fr;align-items:center;gap:45px;border:1px solid var(--line);background:rgba(7,11,8,.9);padding:40px; }
.leaderboard-empty>img { width:100%;max-height:340px;object-fit:contain;filter:grayscale(.55); }
.leaderboard-empty h2 { margin:18px 0;font:760 clamp(38px,5vw,70px)/.95 var(--display);text-transform:uppercase; }
.leaderboard-empty p { color:var(--muted);line-height:1.7; }
.leaderboard-table { border:1px solid var(--line); }
.leaderboard-row { min-height:58px;display:grid;grid-template-columns:80px 1fr 100px 100px 130px;align-items:center;gap:12px;padding:0 18px;border-top:1px solid var(--line);background:rgba(7,11,8,.9); }
.leaderboard-row:first-child { border-top:0; }
.leaderboard-row b,.leaderboard-row strong,.leaderboard-row em { font:750 11px var(--mono); }
.leaderboard-row em { color:var(--acid);font-style:normal; }
.leaderboard-head { color:var(--dim);font-size:9px; }
.public-item-search { display:grid;grid-template-columns:1fr 300px auto;gap:8px;margin-bottom:13px; }
.public-item-search input,.public-item-search select { min-height:48px;border:1px solid var(--line);background:#070c09;color:var(--bone);padding:0 14px;outline:0; }
.public-item-search button,.public-items-more { min-height:48px;border:1px solid var(--line-hot);background:rgba(182,231,93,.08);color:var(--bone);padding:0 22px;cursor:pointer;font:750 10px var(--mono); }
.public-item-meta { margin:18px 0;color:var(--muted);font:700 9px var(--mono); }
.public-item-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:10px; }
.public-item-card { min-width:0;min-height:360px;border:1px solid var(--line);background:rgba(7,11,8,.93);overflow:hidden; }
.public-item-visual { height:235px;display:grid;place-items:center;border-bottom:1px solid var(--line);background:radial-gradient(circle,#17301f,#050806 67%); }
.public-item-visual>img { width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 15px 22px #000); }
.public-item-card>div:last-child { padding:17px; }
.public-item-card small { color:var(--acid);font:700 8px var(--mono); }
.public-item-card h2 { margin:12px 0 9px;font:750 19px/1.05 var(--display);text-transform:uppercase;overflow-wrap:anywhere; }
.public-item-card code { color:var(--dim);font:8px/1.4 var(--mono);overflow-wrap:anywhere; }
.public-item-missing { display:grid;place-items:center;text-align:center;color:var(--dim);font:9px var(--mono); }
.public-item-missing img { width:140px;height:120px;object-fit:contain; }
.public-items-more { display:block;margin:24px auto 0; }

.account-lock { grid-template-columns: .7fr 1.3fr; }
.account-lock-figure { min-height: 620px; display: grid; align-items: end; overflow: hidden; border: 1px solid var(--line); background: rgba(5, 8, 6, .8) url("/brand/087-account-bg.webp") center / cover; }
.account-lock-figure img { width: 100%; max-height: 600px; object-fit: contain; object-position: center bottom; }
.account-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; }
.account-slots > div { min-width: 0; min-height: 165px; padding: 14px; border: 1px solid var(--line); background: rgba(8, 13, 10, .82); }
.account-slots img { width: 70px; height: 70px; object-fit: contain; margin-bottom: 10px; filter: grayscale(.75); opacity: .56; }

.community-lock { grid-template-columns: .65fr 1.35fr; }
.discord-mark { aspect-ratio: 1; display: grid; place-content: center; gap: 24px; border: 1px solid rgba(88, 101, 242, .4); background: radial-gradient(circle, rgba(88, 101, 242, .32), rgba(8, 8, 13, .9) 64%); }
.discord-mark img { width: 150px; justify-self: center; filter: drop-shadow(0 0 24px rgba(88, 101, 242, .65)); }
.discord-mark small { color: #a8afe8; font: 700 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

.not-found { min-height: calc(100svh - var(--header)); display: grid; grid-template-columns: 1fr 1fr; place-items: center; gap: 50px; width: var(--content); margin: 0 auto; padding: 70px 0; }
.not-found > img { width: 100%; max-height: 540px; object-fit: contain; }
.not-found h1 { font-size: clamp(52px, 7vw, 100px); }
.not-found p { color: var(--muted); line-height: 1.7; margin-bottom: 30px; }

.site-footer { width: var(--content); min-height: 230px; margin: 0 auto; display: grid; grid-template-columns: 1fr .8fr auto; align-items: center; gap: 50px; border-top: 1px solid var(--line); color: var(--dim); }
.footer-brand { display: flex; align-items: center; gap: 17px; }
.footer-brand img { width: 78px; height: 78px; object-fit: contain; }
.footer-brand b { display: block; color: var(--bone); font: 850 16px var(--mono); letter-spacing: .12em; }
.footer-brand span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.site-footer > p { font-size: 10px; line-height: 1.6; }
.footer-staff { display: flex; align-items: center; gap: 8px; color: #697168; font: 650 9px var(--mono); }
.footer-staff img { width: 28px; height: 28px; object-fit: contain; opacity: .54; }

.mobile-nav { position: fixed; z-index: 80; inset: var(--header) 0 0; overflow: auto; background: rgba(4, 7, 5, .98) url("/brand/005-texture-concrete.webp") center / 620px; }
.mobile-nav-inner { width: min(620px, calc(100% - 36px)); margin: 28px auto 60px; }
.mobile-nav-kicker { padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--acid); font: 700 9px var(--mono); letter-spacing: .2em; }
.mobile-route { display: grid; grid-template-columns: 45px 1fr; align-items: center; min-height: 62px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mobile-route small { color: var(--dim); font: 700 9px var(--mono); }
.mobile-route span { font: 750 21px var(--display); text-transform: uppercase; }
.mobile-route.is-active { color: var(--acid); }
.mobile-private { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.mobile-account, .mobile-staff { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); color: var(--muted); font: 700 9px var(--mono); }
.mobile-staff img { width: 26px; opacity: .62; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 0 12px rgba(182, 231, 93, 0), 0 0 7px var(--acid); } }
@keyframes skeleton { to { color: #747d72; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { to { transform: scaleY(.48); opacity: .25; } }

@media (max-width: 1380px) {
  .site-header { grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px; padding-inline: 18px; }
  .site-brand > img { width: 112px; }
  .site-brand > span { display: none; }
  .tool-link span { display: none; }
  .nav-link { font-size: 9px; padding-inline: 9px; }
  .live-strip { grid-template-columns: 245px 1fr; }
  .decision-cell { padding-inline: 10px; }
}

@media (max-width: 1120px) {
  :root { --content: min(930px, calc(100vw - 40px)); }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .site-brand > span { display: grid; }
  .home-hero { padding-inline: 28px; padding-bottom: 270px; }
  .home-hero-copy { width: min(760px, 84vw); }
  .live-strip { left: 28px; right: 28px; grid-template-columns: 1fr; }
  .sync-state { border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-grid { grid-template-columns: repeat(3, 1fr); }
  .decision-cell:nth-child(4) { border-left: 0; }
  .decision-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
  .live-world-band { grid-template-columns: repeat(3, 1fr); }
  .live-world-band article:nth-child(n+4) { border-top: 1px solid var(--line); }
  .story-heading { grid-template-columns: 1fr 1.3fr; gap: 28px; }
  .story-heading p { grid-column: 2; }
  .path-card { grid-template-columns: 64px 1fr; }
  .path-card > img { width: 72px; height: 72px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
  .live-rules > .rule-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-proof { grid-template-columns: 170px 1fr; }
  .rules-proof > img { width: 160px; height: 160px; }
  .map-preview, .record-room, .mechanic-alignment, .community-lock, .account-lock { gap: 28px; }
  .public-mechanics-grid { grid-template-columns: repeat(2, 1fr); }
  .public-item-grid { grid-template-columns:repeat(3,1fr); }
}

@media (max-width: 760px) {
  :root { --header: 68px; --content: calc(100vw - 28px); }
  .site-header { height: var(--header); padding: 0 12px; }
  .site-brand > img { width: 103px; height: 38px; }
  .site-brand > span { display: none; }
  .tool-link--staff, .tool-link--account { display: none; }
  .locale-control, .menu-toggle { height: 40px; }
  .home-hero { min-height: max(760px, calc(100svh - var(--header))); align-items: end; padding: 92px 16px 318px; background-image: url("/brand/002-main-hero-mobile.webp"); background-position: center top; }
  .home-hero::before { background: linear-gradient(0deg, rgba(3, 6, 4, .98) 0, rgba(3, 6, 4, .88) 48%, rgba(3, 6, 4, .15) 82%), linear-gradient(90deg, rgba(3, 6, 4, .45), transparent); }
  .home-hero::after { display: none; }
  .home-hero-copy { width: 100%; }
  .home-hero h1, .route-hero h1 { font-size: clamp(45px, 14vw, 68px); line-height: .88; }
  .home-hero-copy > p { font-size: 14px; line-height: 1.55; }
  .hero-actions { gap: 9px; margin-top: 25px; }
  .signal-button { min-width: 188px; min-height: 54px; padding-inline: 24px; }
  .campfire-link { min-height: 48px; padding-inline: 10px; font-size: 9px; }
  .live-strip { left: 12px; right: 12px; bottom: 12px; }
  .sync-state { padding: 14px 16px; }
  .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-cell { min-height: 72px; padding: 12px; }
  .decision-cell:nth-child(3), .decision-cell:nth-child(5) { border-left: 0; }
  .decision-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .decision-cell:nth-child(4) { border-left: 1px solid var(--line); }
  .decision-cell small { min-height: 16px; }
  .decision-cell b { font-size: 16px; }
  .decision-cell--rates b { font-size: 8px; }
  .copy-address { font-size: 9px; }
  .copy-address img { width: 23px; height: 23px; }
  .live-world-band { margin-top: 14px; grid-template-columns: 1fr; }
  .live-world-band article { min-height: 88px; }
  .live-world-band article:nth-child(n+2) { border-top: 1px solid var(--line); }
  .story-section { padding: 90px 0; }
  .story-heading { display: block; margin-bottom: 34px; }
  .story-heading h2 { margin: 18px 0; font-size: 38px; }
  .story-heading p { font-size: 13px; line-height: 1.65; }
  .path-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid article { min-height: 88px; }
  .proof-grid article:last-child { grid-column: 1 / -1; }
  .path-card { min-height: 255px; }
  .route-hero { min-height: 530px; align-items: end; padding: 115px 16px 42px; background-position: center; }
  .route-hero-copy { width: 100%; position: relative; z-index: 2; }
  .route-hero h1 em { display: block; }
  .route-hero-copy p { font-size: 13px; line-height: 1.55; }
  .route-hero-icon { right: -20px; bottom: 150px; width: 200px; height: 200px; opacity: .46; }
  .map-preview, .record-room, .mechanic-alignment, .community-lock, .account-lock { margin: 50px auto 90px; grid-template-columns: 1fr; }
  .map-preview--compact { margin-bottom:25px; }
  .map-preview-object { width:170px;height:170px;justify-self:center; }
  .public-map-section { width:calc(100vw - 12px);margin-bottom:85px; }
  #public-game-map { min-height:690px; }
  .map-grid-art { order: 2; }
  .map-preview-copy h2, .record-copy h2, .account-lock-copy h2, .community-lock h2, .archive-empty h2, .broadcast-empty h2 { font-size: 39px; }
  .rule-grid { margin-top: 50px; grid-template-columns: 1fr; }
  .rule-grid article { min-height: 230px; padding: 25px; }
  .rule-grid h2 { margin-top: 48px; }
  .pending-line { margin-bottom: 90px; }
  .live-rules { margin-top: 45px; }
  .rules-rate { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .live-rules > .rule-grid { grid-template-columns: 1fr; }
  .live-rules .rule-grid article { min-height: 0; }
  .rules-proof { margin-bottom: 80px; grid-template-columns: 1fr; padding: 22px; }
  .rules-proof > img { width: 130px; height: 130px; justify-self: center; }
  .mechanic-alignment > div:first-child { padding-bottom: 10px; }
  .mechanic-state-grid { overflow-x: auto; grid-template-columns: repeat(3, minmax(210px, 72vw)); padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .mechanic-state-grid article { scroll-snap-align: start; }
  .mechanics-catalogue { margin: 48px auto 90px; }
  .mechanics-toolbar { grid-template-columns: 1fr; align-items: start; }
  .mechanics-summary { justify-items: start; }
  .mechanics-filters { top: calc(var(--header) + 5px); margin-inline: -4px; }
  .public-mechanics-grid { grid-template-columns: 1fr; }
  .public-mechanic-card { min-height: 430px; grid-template-rows: 235px 1fr; }
  .public-mechanic-card.is-loading { min-height: 430px; }
  .rank-preview { grid-template-columns: 1fr; }
  .rank-preview > div { display: grid; grid-template-columns: 92px 1fr; align-items: center; }
  .rank-preview img { grid-row: 1 / 3; }
  .rank-preview i { grid-column: 2; }
  .broadcast-empty, .archive-empty { width: var(--content); margin: 50px auto 90px; min-height: 0; grid-template-columns: 1fr; padding: 26px; }
  .public-events,.public-leaderboards,.public-items { margin:48px auto 85px; }
  .public-event-feed { grid-template-columns:1fr; }
  .public-event { grid-template-columns:85px 1fr;min-height:130px;padding:14px; }
  .public-event>img { width:78px;height:78px; }
  .leaderboard-empty { grid-template-columns:1fr;padding:24px; }
  .leaderboard-empty>img { max-height:210px; }
  .leaderboard-row { grid-template-columns:45px 1fr 55px 55px; padding:0 9px; }
  .leaderboard-row>:last-child { display:none; }
  .public-item-search { grid-template-columns:1fr; }
  .public-item-grid { grid-template-columns:1fr 1fr; }
  .public-item-card { min-height:300px; }
  .public-item-visual { height:185px; }
  .public-item-card h2 { font-size:16px; }
  .broadcast-empty > img, .archive-empty > img { width: 180px; justify-self: center; }
  .broadcast-wave { height: 44px; }
  .account-lock-figure { min-height: 450px; order: 2; }
  .account-slots { grid-template-columns: 1fr; }
  .account-slots > div { min-height: 105px; display: grid; grid-template-columns: 70px 1fr; align-items: center; }
  .account-slots img { grid-row: 1 / 3; margin: 0; }
  .account-slots i { grid-column: 2; }
  .community-lock .discord-mark { max-width: 420px; width: 100%; justify-self: center; order: 2; }
  .not-found { grid-template-columns: 1fr; text-align: center; }
  .not-found > img { max-height: 320px; }
  .site-footer { min-height: 360px; padding: 45px 0; grid-template-columns: 1fr; gap: 24px; }
  .footer-staff { justify-self: start; }
}

@media (max-width: 390px) {
  .header-tools { gap: 4px; }
  .locale-control { width: 61px; }
  .home-hero { padding-top: 80px; padding-bottom: 320px; }
  .home-hero h1, .route-hero h1 { font-size: 44px; }
  .copy-address { gap: 2px; font-size: 8px; }
  .home-hero-copy > p { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(230px, 100%); }
  .campfire-link { justify-content: center; }
  .sync-state small { font-size: 9px; }
  .mobile-private { grid-template-columns: 1fr; }
  .public-item-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
