/* NyxBot web: the landing page's night city (NyxLandingCyber.js), over NyxLanding.css: the rain behind it all, the screen's scanlines
   and edges, the light under the pointer, the sections' tracker; each section's scan as it comes, its title glitching in, its accent
   a neon sign; the switch of section 01 and the same-sized tiles of the arsenal. Motion stops for who asked for none. */

/* ---------- The screen ---------- */
/* (down the page's edges, hardly any over the column of text) */
.cy-rain { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .34;
    -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .1) 16%, rgba(0, 0, 0, .1) 84%, #000); mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .1) 16%, rgba(0, 0, 0, .1) 84%, #000); }
.cy-screen { position: fixed; inset: 0; z-index: 45; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, .55) 100%); }
.cy-screen::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 22vh; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .035), transparent); animation: cy-beam 9s linear infinite; }
@keyframes cy-beam { from { transform: translateY(-25vh); } to { transform: translateY(105vh); } }
.cy-glow { position: fixed; left: 0; top: 0; z-index: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; pointer-events: none; opacity: 0; transition: opacity .6s ease; background: radial-gradient(circle, rgba(var(--accent-rgb), .13), transparent 62%); }
.cy-glow.is-on { opacity: 1; }

/* ---------- The page's scrollbar: the side menu's (NyxDashboard.css .side-thumb), from under the navigation down ---------- */
html.has-cy-scroll { scrollbar-width: none; }
html.has-cy-scroll::-webkit-scrollbar { display: none; width: 0; }
.cy-scroll { position: fixed; right: 0; bottom: 0; z-index: 46; width: 14px; pointer-events: none; }
.cy-thumb { --thumb: rgba(var(--accent-rgb), .6); position: absolute; top: 0; right: 0; width: 14px; cursor: pointer; touch-action: none; pointer-events: auto; }
.cy-thumb[hidden] { display: none; }
.cy-thumb::after { content: ''; position: absolute; top: 0; bottom: 0; right: 4px; width: 1px; background: var(--thumb); transition: background .2s ease, filter .2s ease; }
.cy-thumb:hover, .cy-thumb.is-dragging { --thumb: var(--accent); }
.cy-thumb:hover::after, .cy-thumb.is-dragging::after { filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), .8)); }
.side-trail { position: absolute; right: 4px; width: 1px; pointer-events: none; background: rgba(var(--accent-rgb), .3); animation: side-trail .55s ease-out forwards; }
@keyframes side-trail { from { opacity: 1; } to { opacity: 0; } }

/* ---------- The tracker: where in the page ---------- */
.cy-rail { position: fixed; right: 18px; top: 50%; z-index: 44; display: grid; gap: 2px; transform: translateY(-50%); }
.cy-rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; height: 22px; color: var(--muted); font: 700 9px/1 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; }
.cy-rail a > span { padding: 3px 7px; background: color-mix(in srgb, var(--bg) 88%, transparent); opacity: 0; transform: translateX(8px); white-space: nowrap; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.cy-rail a > i { width: 14px; height: 2px; background: rgba(var(--ink-rgb), .22); transition: width .25s var(--ease-out), background .25s ease, box-shadow .25s ease; }
.cy-rail a:hover > span, .cy-rail a.is-on > span { opacity: 1; transform: none; }
.cy-rail a:hover > i { width: 22px; background: var(--text); }
.cy-rail a.is-on { color: var(--accent); }
.cy-rail a.is-on > i { width: 30px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@media (max-width: 1500px) { .cy-rail a > span { display: none; } }
@media (max-width: 1240px) { .cy-rail { display: none; } }

/* ---------- A section as it comes: a beam down it, its title glitching in, its accent a neon sign ---------- */
.lp-section { padding-bottom: clamp(30px, 4vw, 56px); overflow-x: hidden; overflow-x: clip; }
.lp-section > .wrap { position: relative; z-index: 1; }
.lp-section::after { content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: 0; height: 180px; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .1) 85%, rgba(var(--accent-rgb), .5) 99%, transparent); }
.lp-section.is-seen::after { animation: cy-sweep 1.5s cubic-bezier(.4, 0, .3, 1) both; }
@keyframes cy-sweep { 0% { opacity: 0; transform: translateY(-180px); } 12% { opacity: 1; } 85% { opacity: .9; } 100% { opacity: 0; transform: translateY(min(90vh, 900px)); } }

.lp-head .heading { position: relative; }
.lp-head.is-visible .heading { animation: cy-flicker .7s steps(1) both; }
@keyframes cy-flicker { 0% { opacity: 0; } 12% { opacity: 1; } 22% { opacity: .15; } 34% { opacity: 1; } 46% { opacity: .35; } 60%, 100% { opacity: 1; } }

/* (a title's two ghosts, red and cyan, torn across it once as it comes - their text set by NyxLandingCyber.js) */
.cy-glitch { position: relative; display: inline-block; }
.cy-glitch::before, .cy-glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; opacity: 0; }
.cy-glitch::before { color: #ff2a6d; text-shadow: none; }
.cy-glitch::after { color: #05d9e8; text-shadow: none; }
.lp-head.is-visible .cy-glitch::before { animation: cy-tear-a 1.1s steps(1) .25s both; }
.lp-head.is-visible .cy-glitch::after { animation: cy-tear-b 1.1s steps(1) .25s both; }
.cy-glitch:hover::before { animation: cy-tear-a .7s steps(1) both; }
.cy-glitch:hover::after { animation: cy-tear-b .7s steps(1) both; }
@keyframes cy-tear-a {
    0% { opacity: .9; clip-path: inset(8% 0 72% 0); transform: translate(-6px, 0); }
    16% { clip-path: inset(62% 0 12% 0); transform: translate(5px, 0); }
    32% { clip-path: inset(30% 0 48% 0); transform: translate(-4px, 0); }
    48% { clip-path: inset(82% 0 2% 0); transform: translate(3px, 0); }
    64% { clip-path: inset(14% 0 66% 0); transform: translate(-2px, 0); }
    80%, 100% { opacity: 0; clip-path: inset(50% 0 50% 0); transform: none; }
}
@keyframes cy-tear-b {
    0% { opacity: .9; clip-path: inset(70% 0 8% 0); transform: translate(6px, 0); }
    16% { clip-path: inset(20% 0 60% 0); transform: translate(-5px, 0); }
    32% { clip-path: inset(52% 0 26% 0); transform: translate(4px, 0); }
    48% { clip-path: inset(4% 0 80% 0); transform: translate(-3px, 0); }
    64% { clip-path: inset(66% 0 16% 0); transform: translate(2px, 0); }
    80%, 100% { opacity: 0; clip-path: inset(50% 0 50% 0); transform: none; }
}
/* (the accent a sign on a wall: it catches now and then) */
.lp-accent { text-shadow: 0 0 8px rgba(var(--accent-rgb), .75), 0 0 28px rgba(var(--accent-rgb), .5), 0 0 64px rgba(var(--accent-rgb), .3); animation: cy-sign 11s linear infinite; }
@keyframes cy-sign { 0%, 92%, 94%, 96.5%, 100% { opacity: 1; } 93%, 95.5% { opacity: .55; text-shadow: none; } }
.lp-head[data-num]::after { -webkit-text-stroke: 1px rgba(var(--accent-rgb), .3); text-shadow: 0 0 34px rgba(var(--accent-rgb), .18); }
.lp-head.is-visible[data-num]::after { animation: cy-flicker 1s steps(1) .3s both; }

/* (what comes into view switched on, not faded) */
.landing .reveal.is-visible { animation: cy-power .55s steps(1) both; }
@keyframes cy-power { 0% { filter: brightness(1.7); } 18% { filter: brightness(.7); } 36% { filter: brightness(1.35); } 54% { filter: brightness(.9); } 72%, 100% { filter: none; } }
.landing .button { transition: box-shadow .2s ease, transform .2s var(--ease-out), filter .2s ease; }
.landing .button:hover { filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .6)); }
.lp-section .heading-count { text-shadow: 0 0 10px rgba(var(--accent-rgb), .4); }

/* ---------- The hero's core: a globe in depth, drawn on its canvas (NyxLandingCore.js), the emblem at its heart ---------- */
.lp-core-sphere { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-core .lp-core-sphere { inset: 0; width: 100%; height: 100%; }
.lp-core-emblem { z-index: 2; width: 21%; }

/* ---------- The Modes, as in the game: a big map, a camera, the tabs over it ---------- */
.lp-modes { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lp-mode-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lp-mode { padding: 13px 14px; text-align: center; }
.lp-mode > span { display: none; }
.lp-mode.is-on { background: linear-gradient(180deg, rgba(var(--accent-rgb), .16), var(--surface)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6), inset 0 -2px 0 var(--accent); }
.lp-arena { position: relative; grid-template-rows: auto auto auto; background: #1b2a12; }
.lp-mode-about { margin: 0; padding: 12px 16px; background: var(--surface); color: var(--muted); font-size: 13.5px; line-height: 1.5; box-shadow: inset 0 -1px 0 var(--border); }
.lp-arena-view { position: relative; overflow: hidden; background: #1b2a12; user-select: none; }
/* (the film's edges; red round them while a player is near) */
.lp-arena-view::after { content: ''; position: absolute; inset: 0; z-index: 800; pointer-events: none; box-shadow: inset 0 0 90px rgba(0, 0, 0, .55); transition: box-shadow .4s ease; }
.lp-arena-view.is-danger::after { box-shadow: inset 0 0 110px rgba(255, 50, 70, .42), inset 0 0 0 1px rgba(255, 70, 90, .5); }
.lp-world { position: absolute; left: 0; top: 0; width: 2048px; height: 2048px; transform-origin: 0 0; will-change: transform; }
.lp-world-map { display: block; width: 2048px; height: 2048px; max-width: none; }
.lp-blocked { display: none; }
.is-boss .lp-blocked { display: block; }
.lp-blocked > i { position: absolute; left: 0; top: 0; width: 32px; height: 32px; background: rgba(var(--danger-rgb), .3); box-shadow: inset 0 0 0 1px rgba(var(--danger-rgb), .6); }
.lp-route > i { position: absolute; left: 0; top: 0; width: 32px; height: 32px; }
.lp-route > i[hidden] { display: none; }
.lp-route > i::before { content: ''; position: absolute; left: 13px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); opacity: .8; }
.lp-tether { position: absolute; left: 0; top: 0; z-index: 2; height: 2px; transform-origin: 0 50%; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 90, 90, .8) 0 8px, transparent 8px 16px); }
.lp-tether[hidden] { display: none; }
.lp-game-tag { position: absolute; left: 50%; bottom: 100%; margin-bottom: 2px; padding: 2px 6px; color: var(--text); background: rgba(5, 5, 10, .78); font: 700 10px/1.2 var(--font-mono); white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.lp-game-tag.is-own { color: var(--accent); }
.lp-game-tag.is-danger { color: #ff6b6b; }
.lp-game-tag.is-weak { color: #f5d742; }
.lp-game-tag.is-gate { color: #8fd8ff; }
.lp-npc { position: absolute; width: 0; height: 0; pointer-events: none; }
.lp-npc[hidden] { display: none; }
.lp-npc > img { position: absolute; left: 0; bottom: 0; display: block; width: auto; max-width: none; height: auto; transform: translateX(-50%); }
.lp-npc > .lp-game-tag { bottom: 64px; }
.lp-npc.is-boss { display: none; filter: drop-shadow(0 0 10px rgba(var(--danger-rgb), .9)); }
.is-boss .lp-npc.is-boss { display: block; }
.lp-walker { position: absolute; left: 0; top: 0; width: 32px; height: 32px; pointer-events: none; will-change: transform; }
.lp-walker[hidden] { display: none; }
.lp-walker-sheet { position: absolute; left: 0; bottom: 0; width: 32px; height: 48px; background-repeat: no-repeat; }
.lp-walker > .lp-game-tag { bottom: 50px; margin: 0; }
.lp-walker-feet { position: absolute; left: 2px; bottom: -2px; width: 28px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent), 0 0 10px var(--accent); opacity: .85; }
.lp-walker.is-rival .lp-walker-feet { box-shadow: 0 0 0 2px #ff5a5a, 0 0 10px #ff5a5a; }
.lp-walker.is-weak .lp-walker-feet { box-shadow: 0 0 0 2px #f5d742; }
.lp-game-gate { position: absolute; left: 0; top: 0; z-index: 1; width: 32px; height: 32px; }
.lp-game-gate[hidden] { display: none; }
.lp-game-gate > i { position: absolute; inset: -4px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 216, 255, .75), transparent 70%); animation: lp-breathe 1.6s ease-in-out infinite; }
.lp-game-gate > .lp-game-tag { bottom: 40px; }
.lp-hit { position: absolute; z-index: 700; color: #fff; font: 800 15px/1 var(--font-mono); text-shadow: 0 0 3px #000, 0 1px 0 #000; pointer-events: none; animation: cy-hit .75s ease-out both; }
@keyframes cy-hit { from { opacity: 1; transform: translate(-50%, -44px); } to { opacity: 0; transform: translate(-50%, -84px); } }

/* (over the film: the minimap, how far the player is, the alarm, what is happening) */
.lp-minimap { position: absolute; right: 12px; top: 12px; z-index: 810; width: clamp(92px, 15vw, 170px); aspect-ratio: 1; overflow: hidden; background: #1b2a12; box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .55), 0 6px 22px rgba(0, 0, 0, .55); }
.lp-minimap > img { display: block; width: 100%; height: 100%; max-width: none; opacity: .86; }
.lp-mini-view { position: absolute; box-shadow: inset 0 0 0 1px #fff, 0 0 0 999px rgba(0, 0, 0, .3); }
.lp-mini-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px #000, 0 0 6px var(--accent); }
.lp-mini-dot[hidden] { display: none; }
.lp-mini-dot.is-rival { background: #ff5a5a; box-shadow: 0 0 0 1px #000, 0 0 6px #ff5a5a; }
.lp-mini-dot.is-weak { background: #f5d742; }
.lp-arena-gap { position: absolute; left: 12px; top: 12px; z-index: 810; padding: 6px 10px; background: rgba(5, 5, 10, .82); color: #ff7a7a; font: 800 12px/1 var(--font-mono); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgba(255, 90, 90, .55); }
.lp-arena-gap[hidden], .lp-arena-alert[hidden], .lp-arena-ways[hidden] { display: none; }
.lp-arena-ways { position: absolute; left: 12px; top: 44px; z-index: 810; display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(5, 5, 10, .82); color: #8fd8ff; font: 700 11px/1 var(--font-mono); box-shadow: inset 0 0 0 1px rgba(143, 216, 255, .5); }
.lp-arena-ways > b { color: var(--text); font-size: 13px; }
/* (how far a player strikes: two tiles round it) */
.lp-reach { position: absolute; left: -64px; top: -64px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 70, 90, .1); box-shadow: inset 0 0 0 2px rgba(255, 90, 100, .55); pointer-events: none; }
.lp-arena-alert { position: absolute; left: 50%; top: 18px; z-index: 810; padding: 8px 18px; background: rgba(40, 4, 10, .86); color: #ff8a8a; font: 900 clamp(11px, 1.5vw, 15px)/1 var(--font-display); letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 0 0 1px #ff5a5a, 0 0 24px rgba(255, 60, 80, .45); transform: translateX(-50%); }
.lp-arena-caption { position: absolute; left: 0; bottom: 3px; z-index: 810; max-width: 100%; padding: 10px 20px 10px 14px; border: 0; background: linear-gradient(90deg, rgba(5, 5, 10, .9), rgba(5, 5, 10, .62) 70%, transparent); }
.lp-arena-caption > b { color: var(--text); font: 800 clamp(13px, 1.6vw, 18px)/1.2 var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.lp-arena-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 811; }
@media (max-width: 720px) {
    .lp-mode-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-mode { padding: 11px 6px; }
    .lp-mode > b { font-size: 11px; letter-spacing: .6px; }
    .lp-arena-alert { top: 12px; left: 50%; max-width: 44%; padding: 6px 8px; font-size: 9px; letter-spacing: 1px; white-space: normal; text-align: center; }
    .lp-minimap { width: 84px; }
}

/* ---------- Section 01: two screens, a breaker between them ---------- */
.lp-kill { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: stretch; gap: 0; perspective: 1400px; }
.lp-rig { --rig-rgb: var(--success-rgb); position: relative; z-index: 1; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; min-width: 0; background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 90%, rgb(var(--rig-rgb))), var(--surface) 55%);
    box-shadow: inset 0 0 0 1px rgba(var(--rig-rgb), .4), 0 0 46px rgba(var(--rig-rgb), .12); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); transition: box-shadow .35s ease, filter .35s ease; }
.lp-rig.is-them { --rig-rgb: var(--accent-rgb); transform: rotateY(5deg); transform-origin: 100% 50%; }
.lp-rig.is-us { transform: rotateY(-5deg); transform-origin: 0 50%; }
.lp-rig-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 6px; }
.lp-rig-name { color: var(--text); font: 900 14px/1 var(--font-display); letter-spacing: 1.6px; text-transform: uppercase; }
.lp-rig-chip { padding: 5px 8px; color: rgb(var(--rig-rgb)); background: rgba(var(--rig-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--rig-rgb), .5); font: 800 9.5px/1 var(--font-mono); letter-spacing: 1.2px; white-space: nowrap; }
.lp-rig-where { margin: 0; padding: 0 18px 12px; color: var(--muted); font: 600 10.5px/1.35 var(--font-mono); }

/* (a screen: a real corner of the game, its glass and its lines) */
.lp-crt { position: relative; aspect-ratio: 16 / 10; margin: 0 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 2px rgba(var(--rig-rgb), .45), 0 0 26px rgba(var(--rig-rgb), .2); }
.lp-crt::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55)); }
.lp-scene { position: absolute; inset: 0; overflow: hidden; background: url('/assets/site/game/maps/radosna-polana.png') -700px -880px no-repeat; transform-origin: 50% 50%; transition: transform .26s cubic-bezier(.6, 0, .9, .4), opacity .16s linear .18s, filter .2s ease; }
.lp-scene-mob { position: absolute; width: auto; max-width: none; transform: translate(-50%, -100%); }
.lp-scene-walker { position: absolute; width: 32px; height: 48px; }
.lp-scene-walker > i { display: block; width: 32px; height: 48px; background-repeat: no-repeat; }
/* (each along its way and back: the frames of its sheet, its row turning with it) */
.lp-scene-walker.is-a { left: 12%; top: 54%; animation: cy-way-a 11s linear infinite; }
.lp-scene-walker.is-a > i { animation: cy-steps .55s steps(4) infinite, cy-row-a 11s steps(1) infinite; }
.lp-scene-walker.is-b { left: 66%; top: 34%; animation: cy-way-b 9s linear infinite; }
.lp-scene-walker.is-b > i { animation: cy-steps .6s steps(4) infinite, cy-row-b 9s steps(1) infinite; }
.lp-scene-walker.is-c { left: 34%; top: 20%; animation: cy-way-c 13s linear infinite; }
.lp-scene-walker.is-c > i { animation: cy-steps .7s steps(4) infinite, cy-row-c 13s steps(1) infinite; }
@keyframes cy-steps { to { background-position-x: -128px; } }
@keyframes cy-way-a { 0%, 100% { transform: translate(0, 0); } 45% { transform: translate(190px, 0); } 50% { transform: translate(190px, 30px); } 95% { transform: translate(0, 30px); } }
@keyframes cy-row-a { 0%, 100% { background-position-y: -96px; } 45% { background-position-y: 0; } 50% { background-position-y: -48px; } 95% { background-position-y: -144px; } }
@keyframes cy-way-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-150px, 0); } }
@keyframes cy-row-b { 0%, 100% { background-position-y: -48px; } 50% { background-position-y: -96px; } }
@keyframes cy-way-c { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(0, 120px); } 50% { transform: translate(60px, 120px); } 90% { transform: translate(60px, 0); } }
@keyframes cy-row-c { 0%, 100% { background-position-y: 0; } 40% { background-position-y: -96px; } 50% { background-position-y: -144px; } 90% { background-position-y: -48px; } }
.lp-scene-exp { position: absolute; z-index: 3; color: #ffe27a; font: 800 13px/1 var(--font-mono); text-shadow: 0 0 3px #000, 0 1px 0 #000; pointer-events: none; animation: cy-exp 1s ease-out both; }
@keyframes cy-exp { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -34px); } }

/* (no signal: the picture collapses to a line and goes out, static and the word in its place) */
.lp-crt-dead { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 8px; visibility: hidden; opacity: 0; text-align: center; background-color: #08080b;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 2px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 5px); background-size: 100% 7px, 13px 100%; animation: cy-static .18s steps(3) infinite; }
@keyframes cy-static { to { background-position: 0 21px, 39px 0; } }
.lp-crt-dead > b { color: rgb(var(--danger-rgb)); font: 900 clamp(20px, 3vw, 34px)/1 var(--font-display); letter-spacing: 4px; text-shadow: 0 0 18px rgb(var(--danger-rgb)); animation: lp-blink 1.1s steps(2) infinite; }
.lp-crt-dead > small { color: var(--muted); font-size: 12.5px; }
.lp-kill.is-off .is-them .lp-scene { transform: scaleY(.008); opacity: 0; filter: brightness(4); }
.lp-kill.is-off .is-them .lp-scene * { animation-play-state: paused; }
.lp-kill.is-off .is-them .lp-crt-dead { visibility: visible; opacity: 1; transition: opacity .2s ease .3s; }
.lp-kill.is-off .lp-rig.is-them { --rig-rgb: var(--danger-rgb); filter: saturate(.75) brightness(.86); box-shadow: inset 0 0 0 1px rgba(var(--danger-rgb), .3); }
.lp-kill.is-off .lp-rig.is-us { box-shadow: inset 0 0 0 1px rgba(var(--rig-rgb), .7), 0 0 70px rgba(var(--rig-rgb), .28); }

.lp-rig-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; box-shadow: inset 0 1px 0 rgba(var(--ink-rgb), .08); }
.lp-rig-foot > div { display: grid; gap: 6px; padding: 12px 18px 16px; }
.lp-rig-foot > div + div { box-shadow: inset 1px 0 0 rgba(var(--ink-rgb), .08); }
.lp-rig-foot small { color: var(--muted); font: 700 9px/1.2 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; }
.lp-rig-foot b { color: var(--text); font: 800 clamp(18px, 2.2vw, 26px)/1 var(--font-mono); font-variant-numeric: tabular-nums; }

/* (the breaker, wired to the PC's screen alone: the servers have their own power) */
.lp-breaker { position: relative; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 12px 8px; text-align: center; }
.lp-cable { position: absolute; left: -6px; right: 50%; top: 50%; height: 3px; z-index: -1; background: repeating-linear-gradient(90deg, rgb(var(--success-rgb)) 0 10px, transparent 10px 18px); background-size: 18px 3px; box-shadow: 0 0 10px rgb(var(--success-rgb)); animation: cy-current .55s linear infinite reverse; }
@keyframes cy-current { to { background-position-x: 18px; } }
.lp-kill.is-off .lp-cable { background: rgba(var(--ink-rgb), .14); box-shadow: none; animation: none; }
.lp-breaker-label { color: var(--muted); font: 800 10px/1 var(--font-mono); letter-spacing: 2px; text-transform: uppercase; }
.lp-breaker-lever { position: relative; width: 58px; height: 112px; padding: 0; border: 0; cursor: pointer; background: linear-gradient(180deg, #0b0d0e, #16191b); box-shadow: inset 0 0 0 1px rgb(var(--success-rgb)), 0 0 26px rgba(var(--success-rgb), .4); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: box-shadow .25s ease; }
.lp-breaker-lever > i { position: absolute; left: 7px; right: 7px; top: 7px; height: 46px; background: linear-gradient(180deg, rgb(var(--success-rgb)), color-mix(in srgb, rgb(var(--success-rgb)) 55%, #000)); box-shadow: 0 0 18px rgb(var(--success-rgb)); transition: transform .24s cubic-bezier(.3, 1.5, .5, 1), background .2s ease, box-shadow .2s ease; }
.lp-breaker-lever:hover > i { filter: brightness(1.2); }
.lp-breaker-lever:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.lp-kill.is-off .lp-breaker-lever { box-shadow: inset 0 0 0 1px rgb(var(--danger-rgb)), 0 0 26px rgba(var(--danger-rgb), .4); }
.lp-kill.is-off .lp-breaker-lever > i { background: linear-gradient(180deg, color-mix(in srgb, rgb(var(--danger-rgb)) 55%, #000), rgb(var(--danger-rgb))); box-shadow: 0 0 18px rgb(var(--danger-rgb)); transform: translateY(52px); }
.lp-breaker-state { color: rgb(var(--success-rgb)); font: 900 20px/1 var(--font-display); letter-spacing: 3px; text-shadow: 0 0 14px currentColor; }
.lp-kill.is-off .lp-breaker-state { color: rgb(var(--danger-rgb)); }
.lp-breaker-hint { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
@media (max-width: 960px) {
    .lp-kill { grid-template-columns: minmax(0, 1fr); gap: 12px; perspective: none; }
    .lp-rig.is-them, .lp-rig.is-us { transform: none; }
    .lp-breaker { order: -1; grid-template-columns: auto auto auto; align-items: center; justify-content: center; gap: 8px 14px; padding: 4px 0; }
    .lp-breaker-lever { width: 50px; height: 84px; }
    .lp-breaker-lever > i { height: 34px; }
    .lp-kill.is-off .lp-breaker-lever > i { transform: translateY(36px); }
    .lp-breaker-hint { grid-column: 1 / -1; }
    .lp-cable { display: none; }
}

/* ---------- Section 02: the same requests, side by side; what it all means, under each section ---------- */
.lp-wire { position: relative; display: grid; gap: 0; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, var(--accent)), var(--surface) 70%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .32), 0 0 60px rgba(var(--accent-rgb), .08); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.lp-wire-flow { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px minmax(0, 1fr) 170px; align-items: center; gap: 0; padding: clamp(24px, 4vw, 44px) 24px; }
.lp-wire-node { display: grid; justify-items: center; gap: 6px; text-align: center; }
.lp-wire-node > b, .lp-wire-server > b { color: var(--text); font: 800 13px/1.2 var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.lp-wire-node > small, .lp-wire-server > small { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.lp-wire-glyph { display: grid; place-items: center; width: 62px; height: 62px; color: var(--muted); background: rgba(var(--ink-rgb), .04); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .18); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.lp-wire-node.is-us .lp-wire-glyph { color: var(--accent); background: rgba(var(--accent-rgb), .14); box-shadow: inset 0 0 0 1px var(--accent); }
.lp-wire-lane { position: relative; height: 2px; margin-inline: 6px; background: repeating-linear-gradient(90deg, rgba(var(--accent-rgb), .45) 0 8px, transparent 8px 16px); }
.lp-wire-packet { position: absolute; top: 0; left: 0; padding: 5px 9px; color: var(--text); background: color-mix(in srgb, var(--accent) 22%, var(--deep)); font: 700 11px/1 var(--font-mono); white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .75), 0 0 16px rgba(var(--accent-rgb), .45); transform: translate(-50%, -50%); opacity: 0; }
.lp-wire-server { position: relative; display: grid; justify-items: center; gap: 6px; padding-top: 88px; text-align: center; }
/* (three rings, turning; struck as both requests reach it) */
.lp-wire-server > i { position: absolute; left: 50%; top: 0; width: 74px; height: 74px; margin-left: -37px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6); border: 2px dashed transparent; border-top-color: var(--accent); animation: lp-spin 5s linear infinite; }
.lp-wire-server > i:nth-child(2) { top: 13px; width: 48px; height: 48px; margin-left: -24px; animation-duration: 3.2s; animation-direction: reverse; }
.lp-wire-server > i:nth-child(3) { top: 28px; width: 18px; height: 18px; margin-left: -9px; border: 0; background: var(--accent); box-shadow: 0 0 16px var(--accent); animation: none; }
.lp-wire-server.is-hit > i:nth-child(3) { animation: cy-server-hit .6s ease-out; }
@keyframes cy-server-hit { 40% { transform: scale(2); filter: brightness(1.8); } }
.lp-wire-diff { padding: 0 24px 22px; }
.lp-wire-diff-head, .lp-wire-row { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); align-items: center; }
.lp-wire-diff-head { padding: 9px 14px; color: var(--muted); font: 700 10px/1 var(--font-mono); letter-spacing: 1.4px; text-transform: uppercase; box-shadow: inset 0 -1px 0 rgba(var(--ink-rgb), .1); }
.lp-wire-rows { display: grid; min-height: 165px; align-content: start; background: rgba(0, 0, 0, .28); }
.lp-wire-row { height: 33px; padding: 0 14px; font: 600 12.5px/1 var(--font-mono); animation: cy-row-in .35s ease-out; box-shadow: inset 0 -1px 0 rgba(var(--ink-rgb), .05); }
.lp-wire-row:first-child { background: linear-gradient(90deg, rgba(var(--success-rgb), .13), transparent 45%, transparent 55%, rgba(var(--success-rgb), .13)); }
.lp-wire-row > code { padding: 0; border: 0; background: none; color: var(--text); font: inherit; }
.lp-wire-row > code:last-child { text-align: right; }
.lp-wire-row > i { color: rgb(var(--success-rgb)); font-style: normal; font-weight: 800; text-align: center; }
@keyframes cy-row-in { from { opacity: 0; transform: translateY(-10px); } }
.lp-wire-diff-head > span:last-child { text-align: right; }

.lp-gains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; list-style: none; }
.lp-gains.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.lp-gains > li { position: relative; display: grid; align-content: start; gap: 6px; padding: 18px; overflow: hidden; background: linear-gradient(170deg, color-mix(in srgb, var(--surface) 90%, var(--accent)), var(--surface) 65%); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .1); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); transition: box-shadow .25s ease, transform .25s var(--ease-out); }
.lp-gains > li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); box-shadow: 0 0 12px var(--accent); }
.lp-gains > li:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .55), 0 0 24px rgba(var(--accent-rgb), .16); transform: translateY(-2px); }
.lp-gain-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; color: var(--accent); background: rgba(var(--accent-rgb), .14); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.lp-gains b { color: var(--text); font: 800 14px/1.25 var(--font); }
.lp-gains small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
@media (max-width: 960px) { .lp-gains, .lp-gains.is-three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .lp-wire-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; padding: 22px 16px; }
    .lp-wire-lane { width: 2px; height: 74px; margin: 6px 0; background: repeating-linear-gradient(180deg, rgba(var(--accent-rgb), .45) 0 8px, transparent 8px 16px); }
    .lp-wire-packet { left: 50%; }
    .lp-wire-diff { padding: 0 12px 14px; }
}
@media (max-width: 520px) { .lp-gains, .lp-gains.is-three { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The arsenal: the same size each, in straight lines ---------- */
.lp-arsenal { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.lp-tool { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 12px; align-content: start; min-height: 148px; padding: 14px 16px 16px;
    background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 90%, var(--tool-rgb-solid, var(--accent))), var(--surface) 62%); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .09); }
.lp-tool[data-kind="helper"] { --tool-rgb-solid: var(--cyan); }
.lp-tool-icon { grid-row: auto; width: 36px; height: 36px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); box-shadow: none; background: rgba(var(--accent-rgb), .16); }
.lp-tool[data-kind="helper"] .lp-tool-icon { box-shadow: none; background: rgba(34, 216, 255, .13); }
.lp-tool-copy { display: contents; }
.lp-tool-copy > b { align-self: center; color: var(--text); font: 800 13.5px/1.25 var(--font); }
.lp-tool-copy > small { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.lp-tool-kind { display: none; }
.lp-tool-code { position: absolute; right: 12px; bottom: 9px; color: rgba(var(--ink-rgb), .22); font: 700 9px/1 var(--font-mono); letter-spacing: 1px; }
.lp-tool::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: 0; transform: translateY(-3px); }
.lp-tool[data-kind="helper"]::after { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.lp-tool:hover::after { opacity: 1; animation: cy-tool-scan 1s linear; }
@keyframes cy-tool-scan { from { transform: translateY(0); } to { transform: translateY(150px); } }
.lp-tool:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6), 0 0 24px rgba(var(--accent-rgb), .18); transform: translateY(-2px); transition-delay: 0s; }
.lp-tool[data-kind="helper"]:hover { box-shadow: inset 0 0 0 1px rgba(34, 216, 255, .6); }
.lp-tool:hover .lp-tool-icon { transform: none; filter: brightness(1.35); }
.lp-tool:hover .lp-tool-code { color: var(--text); }
@media (max-width: 1180px) { .lp-arsenal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .lp-arsenal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .lp-arsenal { grid-template-columns: minmax(0, 1fr); }
    .lp-tool { min-height: 0; }
}

/* (the Day's bars and the pillars under them apart; on a phone the hero's copy from its core, and a section's head - no drifting there - from its scene) */
.lp-pillars { margin-top: 28px; }

/* (a phone: no rain nor light under a pointer, the screen lighter) */
@media (max-width: 760px) {
    .lp-head[data-parallax] { translate: none; }
    .lp-core { margin-top: 44px; }
    .cy-rain, .cy-glow { display: none; }
    .cy-screen { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 3px); }
    .cy-screen::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cy-rain, .cy-glow, .cy-screen::after, .side-trail { display: none; }
    .lp-section::after, .cy-glitch::before, .cy-glitch::after { display: none; }
    .lp-accent, .lp-head .heading, .lp-head[data-num]::after, .landing .reveal.is-visible, .lp-tool::after, .lp-cable, .lp-crt-dead, .lp-crt-dead > b, .lp-scene-walker, .lp-scene-walker > i, .lp-stealth::after { animation: none; }
    .lp-core-arms, .lp-arm, .lp-game-gate > i { animation: none; }
}

.lp-verdict.is-them { background: rgba(var(--danger-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--danger-rgb), .5); }
