/* Ultimul Semnal 3D (js/ultimul-semnal/*). The game area is always night: brass #d2c47c on #0b1110, monospace HUD,
   CRT scanlines. Overlays over the WebGL canvas animate only opacity/transform and never use backdrop-filter or
   blend modes (they stall rAF on some phones). Icon states sit in .ls3-on/.ls3-off wrappers (Font Awesome SVG swap). */
:root {
    --ls-brass: #d2c47c;
    --ls-brass-2: #f0dc8c;
    --ls-ink: #0b1110;
    --ls-text: #e7e8dc;
    --ls-muted: #aab8ab;
    --ls-glass: rgba(9, 15, 14, .78);
    --ls-line: rgba(210, 196, 124, .32);
    --ls-good: #74aa7d;
    --ls-bad: #e1745d;
    --ls-cyan: #5ff0ff;
}

/* clip, not hidden: the site-wide `body { overflow-x: hidden }` would make <body> a dead scroll container */
.last-signal-page, body.last-signal-page#page-top {
    min-height: 100vh;
    overflow-x: clip;
    background: radial-gradient(ellipse at 50% 15%, #263a34 0, #15211e 46%, #0b1110 100%);
    background-color: #0b1110;
    color: var(--ls-text);
}
body.ls3-max { overflow: hidden; }
.ls-main { width: min(100% - 32px, 1120px); margin: 0 auto; padding-top: 96px; padding-bottom: 46px; }

/* ── hero (copied from aventura.css as .ls-*) ── */
.ls-hero { position: relative; overflow: hidden; margin-bottom: 16px; padding: 22px clamp(20px, 4vw, 40px); border: 1px solid #c7b87535; border-radius: 22px; background: linear-gradient(115deg, #182622f5, #1c2825ed 58%, #30271fef); box-shadow: 0 24px 70px #06130f55; }
.ls-hero:after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid #e4cc8150; border-radius: 50%; right: -95px; top: -150px; box-shadow: 0 0 0 24px #e4cc8110, 0 0 0 48px #e4cc8109; pointer-events: none; }
.ls-crumb { display: inline-block; color: #d5c887; text-decoration: none; font-size: .9rem; margin-bottom: 10px; }
.ls-crumb:hover { color: #fff0b6; text-decoration: underline; }
.ls-eyebrow { font-size: .73rem; letter-spacing: .19em; font-weight: 800; color: #dfc87c; text-transform: uppercase; margin: 0 0 8px; }
.ls-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.05; color: #fff7dc; margin: 0 0 8px; letter-spacing: .015em; }
.ls-hero > p:last-child { max-width: 760px; color: #d7e0d1; font-size: 1rem; line-height: 1.6; margin: 0; }

/* ── the stage ── */
.ls3-stage {
    --ls3-subs: 1;
    position: relative; width: 100%; height: clamp(440px, calc(100vh - 150px), 820px); margin: 0 auto;
    overflow: hidden; border: 1px solid #c4b66b40; border-radius: 18px; background: #050807;
    box-shadow: 0 24px 70px #0009; isolation: isolate; outline: none;
    user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
    color: var(--ls-text); font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
@supports (height: 100svh) { .ls3-stage { height: clamp(440px, calc(100svh - 150px), 820px); } }
.ls3-stage[hidden] { display: none; }
.ls3-stage:focus-visible { box-shadow: 0 0 0 2px var(--ls-brass), 0 24px 70px #0009; }
.ls3-stage:fullscreen, .ls3-stage:-webkit-full-screen { width: 100%; height: 100%; border-radius: 0; border: 0; }
.ls3-stage.is-max { position: fixed; inset: 0; z-index: 1052; width: 100vw; height: 100vh; border-radius: 0; border: 0; }
@supports (height: 100dvh) { .ls3-stage.is-max { height: 100dvh; } }
.ls3-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }

/* frost vignette, colour grade, scanlines, black/white fade: opacity only */
.ls3-frost { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .8s;
    background: radial-gradient(ellipse at center, rgba(200, 225, 240, 0) 45%, rgba(200, 225, 240, .35) 72%, rgba(235, 245, 252, .85) 100%); }
.ls3-frost.is-pulse { animation: ls3-frost 2.6s ease-in-out infinite; }
@keyframes ls3-frost { 50% { opacity: .9; } }
.ls3-grade { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 2s; background: #8b98a3; }
.ls3-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; background: repeating-linear-gradient(0deg, rgba(210, 224, 190, .025) 0 1px, transparent 1px 4px); }
.ls3-fade { position: absolute; inset: 0; z-index: 20; pointer-events: none; opacity: 0; background: #000; transition: opacity .25s; }
.ls3-fade.is-on { opacity: 1; }
.ls3-fade.is-white { background: #f4f8ff; transition: opacity .4s; }
.ls3-loading { position: absolute; inset: 0; z-index: 21; display: grid; place-items: center; margin: 0; padding: 20px; text-align: center; background: #070b0a; color: var(--ls-brass); font-weight: 700; letter-spacing: .08em; }
.ls3-loading[hidden] { display: none; }
.ls3-load-box { display: grid; justify-items: center; gap: 10px; width: min(320px, 86%); }
.ls3-load-box .ls-eyebrow { margin: 0; }
.ls3-load-title { margin: 0; color: var(--ls-brass); font-weight: 700; letter-spacing: .08em; }
.ls3-load-bar { width: 100%; height: 6px; overflow: hidden; border: 1px solid #ffffff14; border-radius: 99px; background: #121a18; }
.ls3-load-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #74aa7d, #dfd082); transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
.ls3-load-pct { margin: 0; color: var(--ls-muted); font-size: .72rem; letter-spacing: .12em; }
.ls3-load-tip { max-width: 32ch; margin: 4px 0 0; color: #c9d4cb; font: 400 .8rem/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; }
.ls3-load-tip:empty { display: none; }

/* cinematic letterbox (transform only) */
.ls3-stage::before, .ls3-stage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 9%; background: #000; pointer-events: none; transform: scaleY(0); transition: transform .5s ease; }
.ls3-stage::before { top: 0; transform-origin: top; }
.ls3-stage::after { bottom: 0; transform-origin: bottom; }
.ls3-stage[data-mode="cine"]::before, .ls3-stage[data-mode="cine"]::after { transform: scaleY(1); }

/* ── HUD ── */
.ls3-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ls3-hud[hidden] { display: none; }
.ls3-visor { position: absolute; left: 10px; top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); gap: 6px; padding: 8px 10px; border: 1px solid var(--ls-line); border-radius: 12px; background: var(--ls-glass); max-width: calc(100% - 80px); }
.ls3-stat { min-width: 0; }
.ls3-k { display: block; color: var(--ls-muted); font-size: .56rem; font-weight: 800; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls3-stat b { display: flex; align-items: center; gap: 6px; color: #f0e5bd; font-size: .95rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls3-meter { display: block; height: 5px; margin-top: 3px; overflow: hidden; border-radius: 99px; background: #050a09; }
.ls3-meter em { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #74aa7d, #dfd082); transition: width .4s ease; }
.ls3-stat.ls-stat-low em { background: linear-gradient(90deg, #a94e46, #e1a35d); }
.ls3-stat.ls-stat-low b { color: #efb28d; }
.ls3-led { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #e0a23a; box-shadow: 0 0 8px #e0a23a; animation: ls3-blink 1s steps(2) infinite; }
.ls3-led[data-s="Ghidat"] { background: #6fe08a; box-shadow: 0 0 8px #6fe08a; }
.ls3-led[data-s="Decodificat"] { background: var(--ls-cyan); box-shadow: 0 0 8px var(--ls-cyan); animation: none; }
@keyframes ls3-blink { 50% { opacity: .35; } }
.ls3-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; min-height: 0; }
.ls3-chip { padding: 2px 7px; border-radius: 99px; font-size: .64rem; font-weight: 800; animation: ls3-chip 2.6s ease forwards; }
.ls3-chip.is-down { background: #4a1e18; color: #ffb39a; }
.ls3-chip.is-up { background: #1e3a24; color: #b6f0bf; }
@keyframes ls3-chip { 0% { opacity: 0; transform: translateY(-4px); } 10%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ls3-compass { position: absolute; left: 50%; top: 10px; width: 38px; height: 38px; margin-left: -19px; border: 1px solid var(--ls-line); border-radius: 50%; background: var(--ls-glass); display: grid; place-items: center; }
.ls3-compass[hidden] { display: none; }
.ls3-compass span { color: #ff8a6a; font-weight: 900; font-size: .8rem; display: inline-block; transform-origin: 50% 160%; }
.ls3-reticle { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border: 0 solid transparent; border-radius: 50%; background: rgba(240, 220, 140, .75); box-shadow: 0 0 0 2px rgba(0, 0, 0, .35); transition: width .15s, height .15s, margin .15s, background-color .15s; }
.ls3-reticle[data-kind="live"], .ls3-reticle[data-kind="journal"], .ls3-reticle[data-kind="link"] { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-width: 2px; border-color: #f0dc8c; background: rgba(240, 220, 140, .18); box-shadow: 0 0 10px rgba(240, 220, 140, .55), 0 0 0 1px rgba(0, 0, 0, .4); }
.ls3-reticle[data-kind="link"] { border-color: #7fe8ff; background: rgba(127, 232, 255, .16); box-shadow: 0 0 10px rgba(127, 232, 255, .5); }
.ls3-reticle[data-kind="idle"], .ls3-reticle[data-kind="flavor"] { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-width: 2px; border-color: rgba(201, 212, 203, .8); background: transparent; }
.ls3-stage[data-mode="station"] .ls3-reticle, .ls3-stage[data-mode="station"] .ls3-nodecard { display: none; }
.ls3-nodecard { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -6px); max-width: min(90%, 620px); padding: 12px 22px; border-top: 1px solid var(--ls-brass); border-bottom: 1px solid var(--ls-brass); background: rgba(5, 9, 8, .72); text-align: center; opacity: 0; transition: opacity .6s, transform .6s; }
.ls3-nodecard.is-on { opacity: 1; transform: translate(-50%, 0); }
.ls3-nodecard small { display: block; color: #c4b36e; font-size: .64rem; font-weight: 800; letter-spacing: .2em; }
.ls3-nodecard strong { display: block; margin-top: 4px; color: #fff3cf; font: 700 clamp(1.05rem, 3vw, 1.6rem)/1.2 Georgia, "Times New Roman", serif; }
.ls3-hint { position: absolute; left: 50%; bottom: calc(118px + 7.2rem * var(--ls3-subs)); transform: translateX(-50%); max-width: min(92%, 560px); margin: 0; padding: 8px 14px; border: 1px solid var(--ls-line); border-radius: 10px; background: rgba(9, 15, 14, .9); color: #fff3cf; font-size: .82rem; line-height: 1.4; text-align: center; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ls3-hint[hidden] { display: none; }
.ls3-toasts { position: absolute; right: 64px; top: 10px; display: grid; gap: 6px; width: min(300px, 50%); }
.ls3-toast { padding: 8px 12px; border: 1px solid var(--ls-brass); border-radius: 10px; background: rgba(28, 34, 22, .92); color: #fff0b6; font-size: .72rem; line-height: 1.35; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; animation: ls3-in .3s ease; transition: opacity .5s, transform .5s; }
.ls3-toast.is-out { opacity: 0; transform: translateX(10px); }
@keyframes ls3-in { from { opacity: 0; transform: translateX(10px); } }
.ls3-tags { position: absolute; inset: 0; }
.ls3-tag { position: absolute; transform: translate(-50%, -50%); padding: 3px 8px; border-radius: 6px; background: rgba(40, 26, 10, .85); color: #ffd28a; font-size: .74rem; font-weight: 800; white-space: nowrap; animation: ls3-tag 2.2s ease-out forwards; }
.ls3-tag.is-cold { background: rgba(10, 30, 44, .85); color: #a8e4ff; }
@keyframes ls3-tag { 0% { opacity: 0; transform: translate(-50%, -30%); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -260%); } }

/* subtitles */
.ls3-dialogue { position: absolute; left: 10px; right: 10px; bottom: 10px; max-width: 760px; margin: 0 auto; padding: 10px 44px 10px 14px; border: 1px solid var(--ls-line); border-radius: 12px; background: rgba(7, 12, 11, .84); pointer-events: auto; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; transition: opacity .6s; }
.ls3-dialogue.is-quiet { opacity: .7; cursor: pointer; }
.ls3-dialogue.is-quiet .ls3-dlg-body { max-height: calc(3em * var(--ls3-subs)); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.ls3-dialogue.is-quiet:hover, .ls3-dialogue.is-quiet:focus-within { opacity: 1; }
.ls3-dialogue.is-quiet:hover .ls3-dlg-body, .ls3-dialogue.is-quiet:focus-within .ls3-dlg-body { max-height: calc(7.2rem * var(--ls3-subs)); overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
.ls3-dlg-body { max-height: calc(7.2rem * var(--ls3-subs)); overflow-y: auto; font-size: calc(.86rem * var(--ls3-subs)); line-height: 1.5; color: #dfe6da; overscroll-behavior: contain; }
.ls3-dlg-body p { margin: 0 0 6px; }
.ls3-dlg-feedback { padding: 6px 10px; border-left: 3px solid #cbb76d; background: #d4c27512; color: #eee2b8; }
.ls3-dlg-feedback.is-voice { border-left-color: var(--ls-cyan); }
.ls3-speaker { display: inline-block; margin-right: 4px; padding: 1px 6px; border-radius: 4px; background: #3a2f12; color: #f0dc8c; font: 800 .62rem ui-monospace, Consolas, monospace; letter-spacing: .1em; vertical-align: 1px; }
.ls3-speaker.is-echo { background: #0b3a42; color: var(--ls-cyan); }
.ls3-dlg-toggle { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border: 1px solid var(--ls-line); border-radius: 8px; background: transparent; color: var(--ls-brass); cursor: pointer; }
.ls3-dlg-toggle span[hidden] { display: none; }
.ls3-dialogue.is-collapsed { padding-top: 6px; padding-bottom: 6px; }
.ls3-dialogue.is-collapsed::before { content: "Subtitrări"; color: var(--ls-muted); font-size: .7rem; }

/* actions: drawer button + use button */
.ls3-actions { position: absolute; right: 12px; bottom: calc(26px + 7.2rem * var(--ls3-subs)); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.ls3-stage[data-mode="station"] .ls3-actions, .ls3-stage[data-mode="station"] .ls3-dialogue { display: none; }
.ls3-drawer-btn { pointer-events: auto; min-height: 40px; padding: 6px 12px; border: 1px solid var(--ls-line); border-radius: 10px; background: var(--ls-glass); color: #f0e5bd; font: 700 .74rem system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; }
.ls3-drawer-btn[hidden] { display: none; }
.ls3-use { pointer-events: auto; position: relative; min-width: 150px; max-width: min(320px, 70vw); min-height: 64px; padding: 8px 14px 8px 56px; border: 2px solid var(--ls-brass); border-radius: 16px; background: rgba(31, 27, 12, .92); color: #fff3cf; text-align: left; cursor: pointer; touch-action: none; box-shadow: 0 8px 26px #000a; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ls3-use[hidden] { display: none; }
.ls3-use:not([hidden]) { animation: ls3-pop .18s ease-out; }
@keyframes ls3-pop { from { transform: scale(.94); opacity: .4; } }
.ls3-use[data-kind="idle"] { border-color: #7d8a80; background: rgba(15, 20, 19, .9); }
.ls3-use-verb { display: block; color: var(--ls-brass-2); font: 900 .78rem ui-monospace, Consolas, monospace; letter-spacing: .14em; }
.ls3-use[data-kind="idle"] .ls3-use-verb { color: #c9d4cb; }
.ls3-use-label { display: block; font-size: .78rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ls3-use-ring { --k: 0; position: absolute; left: 10px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: conic-gradient(var(--ls-brass-2) calc(var(--k) * 360deg), rgba(255, 255, 255, .12) 0); }
.ls3-use-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #1a1709; }
.ls3-use[data-kind="hold"] .ls3-use-ring::after { content: "✋"; display: grid; place-items: center; font-size: 13px; }
.ls3-use:focus-visible, .ls3-drawer-btn:focus-visible, .ls3-round:focus-visible, .ls3-btn:focus-visible, .ls3-mini:focus-visible { outline: 2px solid #fff0b6; outline-offset: 2px; }
.ls3-drawer { position: absolute; right: 12px; bottom: calc(88px + 7.2rem * var(--ls3-subs)); width: min(420px, calc(100% - 24px)); max-height: 56%; overflow-y: auto; padding: 12px; border: 1px solid var(--ls-brass); border-radius: 14px; background: rgba(9, 14, 13, .96); pointer-events: auto; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ls3-drawer[hidden] { display: none; }
.ls3-drawer h2 { margin: 0 0 8px; color: var(--ls-brass-2); font: 800 .72rem ui-monospace, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }
.ls3-drawer ol { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.ls3-drawer li { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid #ffffff18; border-radius: 10px; background: #ffffff06; }
.ls3-row-text { flex: 1; min-width: 0; }
.ls3-row-text strong { display: block; color: #e7e8dc; font-size: .8rem; line-height: 1.3; }
.ls3-row-text small { color: var(--ls-muted); font-size: .7rem; }
.ls3-mini { flex: 0 0 auto; min-height: 36px; padding: 4px 9px; border: 1px solid var(--ls-line); border-radius: 8px; background: #d2c47c14; color: #f0e5bd; font-size: .7rem; font-weight: 700; cursor: pointer; }
.ls3-mini-go { background: var(--ls-brass); color: #1b1a10; }
.ls3-check { display: flex; align-items: center; gap: 8px; color: var(--ls-muted); font-size: .76rem; }
.ls3-lock { position: absolute; left: 10px; top: 128px; pointer-events: auto; padding: 6px 12px; border: 1px solid var(--ls-line); border-radius: 99px; background: var(--ls-glass); color: #e7e8dc; font: 700 .72rem system-ui, sans-serif; cursor: pointer; }
.ls3-lock[hidden] { display: none; }

/* floating joystick (phones) */
.ls3-joy { position: absolute; z-index: 4; width: 112px; height: 112px; border: 1px solid #ffffff45; border-radius: 50%; background: rgba(21, 37, 31, .55); pointer-events: none; }
.ls3-joy[hidden] { display: none; }
.ls3-joy span { position: absolute; left: 36px; top: 36px; width: 40px; height: 40px; border: 1px solid #ffffff90; border-radius: 50%; background: rgba(210, 196, 124, .7); }

/* tools row */
.ls3-tools { position: absolute; right: 10px; top: 10px; z-index: 6; display: flex; flex-direction: column; gap: 6px; }
.ls3-tools[hidden] { display: none; }
.ls3-round { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ls-line); border-radius: 50%; background: var(--ls-glass); color: var(--ls-brass-2); font-size: 15px; cursor: pointer; touch-action: manipulation; }
.ls3-round:hover { background: #2b2a18; }
.ls3-round[hidden], .ls3-round span[hidden] { display: none; }
.ls3-round[aria-pressed="true"]#ls3-t-narr { background: #3a3415; }
.ls3-round:disabled { opacity: .45; cursor: not-allowed; }

/* overlays & cards */
.ls3-overlay { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 14px; overflow-y: auto; background: radial-gradient(ellipse at 50% 42%, rgba(12, 22, 19, .72), rgba(4, 7, 6, .94) 78%); touch-action: manipulation; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ls3-overlay[hidden] { display: none; }
#ls3-cover { background: radial-gradient(ellipse at 50% 45%, rgba(10, 18, 16, .35), rgba(4, 7, 6, .86) 80%); }
.ls3-panel { z-index: 9; }
.ls3-card { width: 100%; max-width: 460px; margin: auto; display: flex; flex-direction: column; gap: 10px; padding: clamp(16px, 4vw, 26px); border: 1px solid #ead58c45; border-radius: 18px; background: linear-gradient(155deg, rgba(30, 48, 43, .97), rgba(14, 22, 20, .97)); box-shadow: 0 24px 80px #000b; color: #f4f1e8; text-align: center; }
.ls3-card h2 { margin: 0; color: #fff1c9; font: 700 clamp(1.4rem, 4vw, 2rem)/1.15 Georgia, "Times New Roman", serif; }
.ls3-card h2 small { display: block; margin-top: 4px; color: var(--ls-muted); font: 600 .74rem system-ui, sans-serif; }
.ls3-sub { margin: 0; color: #c9d4cb; font-size: .9rem; line-height: 1.5; }
.ls3-cover-btns { display: grid; gap: 8px; }
.ls3-btn { min-height: 46px; padding: 8px 14px; border: 1px solid #ffffff2c; border-radius: 12px; background: #ffffff0c; color: #edf0e7; font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; touch-action: manipulation; }
.ls3-btn:hover { border-color: var(--ls-brass); }
.ls3-btn[hidden] { display: none; }
.ls3-btn:disabled { opacity: .45; cursor: not-allowed; }
.ls3-btn-primary { border: 0; background: linear-gradient(135deg, #e2cd83, #bd9c55); color: #1b281f; font-weight: 900; letter-spacing: .03em; }
.ls3-btn-ghost { background: transparent; border-color: transparent; color: #d7c77f; }
.ls3-link { border: 0; background: none; color: #d7c77f; font-size: .84rem; text-decoration: underline; cursor: pointer; }
.ls3-endings { margin: 0; color: #d2c47c; font: 700 .76rem ui-monospace, Consolas, monospace; letter-spacing: .12em; }
.ls3-settings { text-align: left; border: 1px solid #ffffff18; border-radius: 10px; padding: 6px 10px; color: #c9d4cb; font-size: .82rem; }
.ls3-settings summary { cursor: pointer; font-weight: 700; color: #e6dfc5; }
.ls3-settings label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; }
.ls3-settings input[type="range"] { flex: 1 1 140px; accent-color: var(--ls-brass); }
.ls3-settings select { background: #0b1110; color: #e7e8dc; border: 1px solid #ffffff30; border-radius: 6px; padding: 3px 6px; }
.ls3-settings label[hidden] { display: none; }
.ls3-settings label.ls3-check { justify-content: flex-start; color: #c9d4cb; font-size: .82rem; }
.ls3-settings input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ls-brass); }
#ls3-pause .ls3-settings { margin: 2px 0; }

/* first walk: where to put the thumbs (touch) or the keys (desktop) */
.ls3-coach { position: absolute; inset: 0; z-index: 2; pointer-events: none; animation: ls3-coach-in .6s ease; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ls3-coach[hidden], .ls3-stage:not([data-mode="walk"]) .ls3-coach { display: none; }
.ls3-coach-l, .ls3-coach-r, .ls3-coach-k { display: none; }
.ls3-coach[data-input="touch"] .ls3-coach-l, .ls3-coach[data-input="touch"] .ls3-coach-r { position: absolute; top: 50%; width: 50%; display: grid; justify-items: center; gap: 8px; color: #fff3cf; font-size: .82rem; text-align: center; text-shadow: 0 2px 6px #000; }
.ls3-coach-l { left: 0; }
.ls3-coach-r { right: 0; padding-right: 54px; }
.ls3-coach small { color: #dfe6da; font-size: .72rem; font-weight: 400; }
.ls3-coach-ring { width: 84px; height: 84px; border: 2px dashed #f0dc8caa; border-radius: 50%; background: rgba(21, 37, 31, .35); animation: ls3-coach-pulse 1.6s ease-in-out infinite; }
.ls3-coach-swipe { width: 92px; height: 30px; border: 2px dashed #7fe8ffaa; border-radius: 99px; animation: ls3-coach-swipe 1.6s ease-in-out infinite; }
.ls3-coach[data-input="keys"] .ls3-coach-k { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); display: grid; gap: 6px; width: max-content; max-width: 88%; padding: 10px 16px; border: 1px solid var(--ls-line); border-radius: 12px; background: rgba(7, 12, 11, .84); color: #fff3cf; font-size: .82rem; text-align: center; }
.ls3-coach kbd { padding: 1px 6px; border: 1px solid #ffffff40; border-radius: 4px; background: #0b1110; color: #f0e5bd; font: 700 .76rem ui-monospace, Consolas, monospace; }
@keyframes ls3-coach-in { from { opacity: 0; } }
@keyframes ls3-coach-pulse { 50% { transform: scale(.9); } }
@keyframes ls3-coach-swipe { 0%, 100% { transform: translateX(-14px); } 50% { transform: translateX(14px); } }
.ls3-end .ls3-card { max-width: 560px; }
.ls3-end-text { margin: 0; color: #d3dbd0; line-height: 1.65; text-align: left; }
.ls3-end .ls3-btn { justify-content: flex-start; text-align: left; }
#ls3-journal ol { display: grid; gap: 8px; margin: 0; padding: 0 0 0 22px; text-align: left; color: #cbd4c8; font-size: .86rem; line-height: 1.5; }
#ls3-journal li::marker { color: #d0bd71; }
.ls-journal-empty { list-style: none; margin-left: -18px; color: #9fac9f; }
.ls3-card-map { max-width: 600px; }
#ls3-map-canvas { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; border: 1px solid #ffffff18; background: #0b1110; }
.ls-choice-number { display: inline-grid; flex: 0 0 26px; place-items: center; width: 26px; height: 26px; border: 1px solid #d2c47c80; border-radius: 7px; background: #d2c47c13; color: #f0dc8c; font: 800 .78rem ui-monospace, Consolas, monospace; }

/* stations */
.ls3-station { z-index: 7; align-items: flex-end; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(3, 6, 5, .82) 70%); padding-bottom: 12px; }
.ls3-st-card { max-width: 560px; max-height: 64%; overflow-y: auto; margin: auto auto 0; gap: 8px; padding: 12px 16px; background: linear-gradient(155deg, rgba(24, 32, 28, .95), rgba(10, 15, 13, .96)); }
.ls3-st-head h2 { font-size: clamp(1.1rem, 3.4vw, 1.5rem); }
.ls3-st-hint { margin: 0; color: #c9d4cb; font-size: .8rem; line-height: 1.4; }
.ls3-st-body { display: grid; gap: 10px; justify-items: center; }
.ls3-st-msg { min-height: 1.2em; margin: 0; color: #f0d28c; font-size: .8rem; line-height: 1.4; }
.ls3-st-msg:empty { display: none; }
.ls3-st-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ls3-st-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 100%; }
.ls3-st-row .ls3-btn { flex: 1 1 140px; font-size: .82rem; }
.ls3-st-list { display: grid; gap: 6px; }
.ls3-st-list[hidden] { display: none; }
.ls3-st-choice { justify-content: flex-start; text-align: left; font-size: .8rem; }
.ls3-st-small { margin: 0; color: var(--ls-muted); font-size: .72rem; }
.ls3-st-action { margin: 0; color: #f0e5bd; font-size: .82rem; }
.ls3-pattern { min-height: 34px; color: #fff0b6; font: 900 1.6rem ui-monospace, Consolas, monospace; letter-spacing: .25em; }
.ls3-morse { position: relative; width: 150px; height: 96px; border: 2px solid #8a7b45; border-radius: 16px; background: linear-gradient(#2c2a1c, #17160e); cursor: pointer; touch-action: none; }
.ls3-morse-cap { position: absolute; left: 50%; top: 18px; width: 70px; height: 34px; margin-left: -35px; border-radius: 50% / 40%; background: radial-gradient(circle at 40% 30%, #4a4a4a, #111); box-shadow: 0 6px 0 #050505; transition: transform .05s, box-shadow .05s; }
.ls3-morse.is-down .ls3-morse-cap { transform: translateY(5px); box-shadow: 0 1px 0 #050505; }
.ls3-morse-lab { position: absolute; left: 0; right: 0; bottom: 8px; color: #c4b36e; font: 800 .6rem ui-monospace, Consolas, monospace; letter-spacing: .14em; }
.ls3-keypad-screen { width: min(260px, 100%); padding: 8px 12px; border: 1px solid #2e6a3c; border-radius: 8px; background: #04130a; color: #6dff8f; font: 700 1.3rem ui-monospace, Consolas, monospace; text-align: left; }
.ls3-keypad { display: grid; grid-template-columns: repeat(3, 64px); gap: 6px; }
.ls3-key { min-height: 52px; border: 1px solid #ffffff30; border-radius: 10px; background: #1d2522; color: #e7e8dc; font: 800 1.2rem ui-monospace, Consolas, monospace; cursor: pointer; }
.ls3-key-enter { background: #2a4a2f; }
.ls3-levers { display: flex; gap: 22px; justify-content: center; }
.ls3-lever { display: grid; justify-items: center; gap: 6px; }
.ls3-lever-slot { position: relative; width: 26px; height: 120px; border-radius: 13px; background: #050807; border: 1px solid #ffffff20; }
.ls3-lever-handle { position: absolute; left: -15px; top: 4px; width: 56px; height: 44px; border: 0; border-radius: 12px; background: linear-gradient(#cfd5d3, #7d8582); cursor: grab; touch-action: none; }
.ls3-lever:nth-child(1) .ls3-lever-handle { background: linear-gradient(#e2694f, #8a2a1e); }
.ls3-lever:nth-child(2) .ls3-lever-handle { background: linear-gradient(#f2d06a, #8f7224); }
.ls3-lever:nth-child(3) .ls3-lever-handle { background: linear-gradient(#6fa8e2, #24528a); }
.ls3-lever-name { color: #c4b36e; font: 800 .62rem ui-monospace, Consolas, monospace; letter-spacing: .1em; }
.ls3-hold { --k: 0; position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px 8px 52px; border: 2px solid var(--ls-brass); border-radius: 14px; background: #1f1b0c; color: #fff3cf; font-weight: 800; cursor: pointer; touch-action: none; }
.ls3-hold:disabled { opacity: .4; cursor: not-allowed; }
.ls3-hold-wide { width: 100%; justify-content: center; }
.ls3-hold-red { border-color: #e04a36; background: #2a0f0b; }
.ls3-hold-ring { position: absolute; left: 10px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: conic-gradient(var(--ls-brass-2) calc(var(--k) * 360deg), rgba(255, 255, 255, .14) 0); }
.ls3-guard { width: 100%; }
.ls3-st-card.is-shaking { animation: ls3-shake .1s linear infinite; }
@keyframes ls3-shake { 50% { transform: translateX(2px); } }
.ls3-band { position: relative; width: 100%; height: 34px; overflow: hidden; border: 1px solid #ffffff3a; border-radius: 10px; background: linear-gradient(90deg, #6a2a24 0 33.3%, #2d6a38 33.3% 66.6%, #6a2a24 66.6%); }
.ls3-band-cur { position: absolute; top: -2px; width: 5px; height: 38px; margin-left: -2px; border-radius: 3px; background: #fff4c0; box-shadow: 0 0 10px #fff; }
.ls3-band-lab { display: flex; justify-content: space-between; width: 100%; color: var(--ls-muted); font-size: .64rem; }
.ls3-go { width: 100%; min-height: 54px; font-size: 1.05rem; }
.ls3-freq { color: #ffcf7a; font: 900 2rem ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.ls3-freq.is-near { color: #7dffa0; text-shadow: 0 0 12px #2fdf6a88; }
.ls3-dial { position: relative; width: 100%; height: 40px; border: 1px solid #8a7b45; border-radius: 8px; background: #211c10; cursor: pointer; touch-action: none; }
.ls3-dial-tick { position: absolute; top: 4px; transform: translateX(-50%); color: #d9c27a; font-size: .64rem; }
.ls3-dial-needle { position: absolute; top: 2px; bottom: 2px; width: 3px; margin-left: -1px; background: #ff5b3a; }
.ls3-knob { width: 84px; height: 84px; border-radius: 50%; border: 3px solid #5a5236; background: radial-gradient(circle at 40% 35%, #5a5a52, #1c1c18); position: relative; cursor: ew-resize; touch-action: none; }
.ls3-knob::after { content: ""; position: absolute; left: 50%; top: 6px; width: 5px; height: 22px; margin-left: -2px; border-radius: 3px; background: #f0dc8c; }
.ls3-knob:focus-visible { outline: 2px solid #fff0b6; outline-offset: 3px; }
.ls3-lockbar { width: 100%; height: 6px; border-radius: 4px; background: #050a09; overflow: hidden; }
.ls3-lockbar span { display: block; height: 100%; width: 0; background: #7dffa0; }
.ls3-steps { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; text-align: left; }
.ls3-step { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid #ffffff1c; border-radius: 10px; background: #ffffff06; }
.ls3-step.is-done { border-color: #74aa7d; background: #1e3a2414; }
.ls3-step.is-done .ls3-step-lab::before { content: "✓ "; color: #7dffa0; }
.ls3-step-lab { color: #dfe6da; font-size: .8rem; }
.ls3-step-btn { flex: 0 0 auto; min-height: 42px; font-size: .8rem; touch-action: none; }
.ls3-cables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.ls3-cable { min-height: 54px; font-size: .74rem; border-width: 2px; }
.ls3-cable-red { border-color: #c8302a; } .ls3-cable-yellow { border-color: #e2c040; } .ls3-cable-blue { border-color: #3f86e8; }
.ls3-cable[aria-pressed="true"] { background: #ffffff1a; box-shadow: inset 0 0 0 2px #fff3; }
.ls3-micro { max-width: 460px; }
.ls3-maps { position: relative; width: min(320px, 100%); aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 1px solid #ffffff22; }
.ls3-map-new, .ls3-map-old { position: absolute; inset: 0; }
.ls3-map-new { background: repeating-linear-gradient(170deg, #d9cfae 0 14px, #cfc49e 14px 16px); }
.ls3-map-new::after { content: "EDIȚIA 2081 — COORDONATE ȘTERSE"; position: absolute; left: 8px; bottom: 6px; color: #5a3a20; font: 700 .62rem serif; }
.ls3-map-old { opacity: 0; background: radial-gradient(circle at 30% 70%, transparent 10px, #a0281e 11px 13px, transparent 14px), repeating-linear-gradient(10deg, rgba(120, 90, 50, .25) 0 12px, transparent 12px 20px), #e8dcb4; }
.ls3-map-old::after { content: "EDIȚIA 2054 — INTRARE N. · BAZA CENTRALĂ 47°"; position: absolute; left: 8px; top: 6px; color: #7a1a12; font: 700 .62rem serif; }
.ls3-range { width: min(320px, 100%); accent-color: var(--ls-brass); }
.ls3-wipe { width: min(320px, 100%); height: auto; border-radius: 8px; touch-action: none; cursor: crosshair; background: linear-gradient(180deg, #0c2a33, #1b4c5a); }
.ls3-wheel { position: relative; width: 150px; height: 150px; border-radius: 50%; border: 10px solid #a0332a; background: #1b1f1e; touch-action: none; cursor: grab; }
.ls3-wheel.is-valve { border-color: #c04a2a; width: 120px; height: 120px; }
.ls3-wheel-spokes { position: absolute; inset: 0; }
.ls3-wheel-spokes::before, .ls3-wheel-spokes::after { content: ""; position: absolute; left: 50%; top: 4%; bottom: 4%; width: 10px; margin-left: -5px; background: #a0332a; border-radius: 5px; }
.ls3-wheel-spokes::after { transform: rotate(90deg); }
.ls3-biglever { position: relative; width: 70px; height: 200px; border-radius: 14px; background: #070a09; border: 1px solid #ffffff22; }
.ls3-biglever-handle { position: absolute; left: -10px; top: 0; width: 90px; height: 44px; border: 0; border-radius: 12px; background: linear-gradient(#e2694f, #8a2a1e); cursor: grab; touch-action: none; transition: top .2s; }
.ls3-biglever-marks { position: absolute; left: 86px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; color: var(--ls-muted); font-size: .6rem; white-space: nowrap; }

/* ── Mod text: the old console (same ids and classes) ── */
.ls-text[hidden] { display: none; }
.ls-text-notice { margin: 0; padding: 10px 18px; background: #3a2f12; color: #f0dc8c; font-size: .84rem; }
.ls-text-notice[hidden] { display: none; }
.ls-console { position: relative; overflow: hidden; border: 1px solid #c4b66b52; border-radius: 19px; background: linear-gradient(155deg, #19231f, #111816 72%); box-shadow: 0 24px 70px #0008, inset 0 0 38px #b4ce9c08; isolation: isolate; }
.ls-console:after { position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(0deg, #d1e0bd06 0 1px, transparent 1px 4px); content: ""; pointer-events: none; }
.ls-console-header { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-bottom: 1px solid #ffffff18; background: #0b1210; color: #b8c8b9; font: 700 .68rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .16em; }
.ls-console-lamp { width: 9px; height: 9px; border-radius: 50%; background: #d2bb69; box-shadow: 0 0 12px #d5c16a; animation: ls-pulse 2.4s infinite; }
.ls-console-noise { margin-left: auto; color: #8c9b8d; letter-spacing: .25em; }
.ls-narrator-toggle { flex: 0 0 auto; padding: 7px 9px; border: 1px solid #d2c47c55; border-radius: 8px; background: #d2c47c0c; color: #e7d793; font: 700 .58rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .04em; white-space: nowrap; cursor: pointer; }
.ls-narrator-toggle[aria-pressed="true"] { border-color: #d2c47caa; background: #d2c47c18; color: #fff0b6; }
.ls-narrator-toggle:focus-visible { outline: 2px solid #e4d38d; outline-offset: 3px; }
.ls-narrator-toggle:disabled { opacity: .62; cursor: not-allowed; }
.ls-status { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 11px; padding: 16px 18px; border-bottom: 1px solid #ffffff16; }
.ls-stat { min-width: 0; padding: 12px 14px; border: 1px solid #ffffff1b; border-radius: 12px; background: #ffffff06; }
.ls-stat > span { display: block; color: #aab8ab; font-size: .62rem; font-weight: 850; letter-spacing: .12em; }
.ls-stat > strong { display: block; margin: 5px 0 8px; color: #f0e5bd; font: 700 1.2rem/1.15 ui-monospace, SFMono-Regular, Consolas, monospace; }
.ls-stat small { display: block; color: #aab8ab; font-size: .63rem; font-weight: 800; letter-spacing: .1em; }
.ls-stat small b { color: #d7ca8c; letter-spacing: 0; }
.ls-meter { height: 6px; overflow: hidden; border-radius: 99px; background: #050a09; }
.ls-meter span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #74aa7d, #dfd082); transition: width .25s ease, background .25s ease; }
.ls-stat-low .ls-meter span { background: linear-gradient(90deg, #a94e46, #e1a35d); }
.ls-stat-low > strong { color: #efb28d; }
.ls-story { padding: clamp(21px, 4vw, 38px) clamp(18px, 4vw, 40px) 26px; }
.ls-scene-code { margin: 0 0 9px; color: #c4b36e; font: 800 .64rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .16em; }
.ls-story h2 { margin: 0 0 17px; color: #f6edcf; font: 700 clamp(1.35rem, 3.1vw, 2rem)/1.2 Georgia, "Times New Roman", serif; }
.ls-copy { max-width: 850px; color: #d3dbd0; font-size: 1rem; line-height: 1.78; white-space: pre-line; }
.ls-feedback { margin: 20px 0 0; padding: 12px 15px; border-left: 3px solid #cbb76d; border-radius: 0 9px 9px 0; background: #d4c27512; color: #eee2b8; font-size: .9rem; line-height: 1.55; white-space: pre-line; }
.ls-feedback[hidden] { display: none; }
.ls-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.ls-choice { display: flex; align-items: flex-start; gap: 12px; min-height: 62px; padding: 13px 14px; border: 1px solid #ffffff24; border-radius: 12px; background: linear-gradient(145deg, #202c27, #17211d); color: #e3e9df; text-align: left; font-family: inherit; font-size: .9rem; font-weight: 650; line-height: 1.45; cursor: pointer; transition: border-color .16s, background .16s, transform .16s; }
.ls-choice:hover { transform: translateY(-2px); border-color: #d8c77e9c; background: linear-gradient(145deg, #2b3931, #1c2923); }
.ls-choice:focus-visible, .ls-journal summary:focus-visible, .ls-console-footer a:focus-visible, .ls-text-back:focus-visible { outline: 2px solid #e4d38d; outline-offset: 3px; }
.ls-choice .ls-choice-number { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; font-size: .8rem; }
.ls-choice-text { padding-top: 3px; }
.ls-journal { margin: 0 18px 18px; border: 1px solid #ffffff1e; border-radius: 12px; background: #ffffff05; }
.ls-journal summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; color: #e6dfc5; font-weight: 800; cursor: pointer; list-style: none; }
.ls-journal summary::-webkit-details-marker { display: none; }
.ls-journal summary:after { content: "＋"; color: #d7c579; font-size: 1.15rem; }
.ls-journal[open] summary:after { content: "−"; }
.ls-journal summary span { margin-left: auto; color: #aeb9aa; font-size: .72rem; font-weight: 600; }
.ls-journal ol { display: grid; gap: 8px; margin: 0; padding: 0 18px 17px 42px; color: #cbd4c8; font-size: .84rem; line-height: 1.5; }
.ls-journal li::marker { color: #d0bd71; }
.ls-console-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 13px 19px; border-top: 1px solid #ffffff16; background: #0c1311; color: #899a8b; font-size: .7rem; }
.ls-console-footer a, .ls-text-back { color: #d7c77f; text-decoration: none; }
.ls-text-back { border: 0; background: none; padding: 0; margin-right: 12px; cursor: pointer; font: inherit; text-decoration: underline; }
.ls-text-back[hidden] { display: none; }
.ls-console-footer a:hover { text-decoration: underline; color: #fff0b6; }
@keyframes ls-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 12px #d5c16a; } 50% { opacity: .48; box-shadow: 0 0 4px #d5c16a; } }

/* help & credits */
.ls3-help { margin: 14px 0 0; padding: 12px 16px; border: 1px solid #ffffff1e; border-radius: 14px; background: #ffffff06; color: #cbd4c8; font-size: .9rem; line-height: 1.55; }
.ls3-help summary { cursor: pointer; color: #e6dfc5; font-weight: 800; }
.ls3-help ul { margin: 10px 0; padding-left: 20px; }
.ls3-help kbd { padding: 1px 5px; border-radius: 4px; background: #0b1110; border: 1px solid #ffffff30; color: #f0e5bd; font-size: .78rem; }
.ls3-credit { margin: 0; color: #9fac9f; font-size: .78rem; }
.ls3-powered { margin: 12px 0 0; color: #899a8b; font-size: .8rem; text-align: center; }
.ls3-powered a { color: #d7c77f; }

/* ── phones ── */
@media (max-width: 700px) {
    .ls-main { width: 100%; padding-top: 80px; padding-bottom: 30px; }
    .ls-hero { margin: 0 12px 12px; padding: 16px 16px; border-radius: 16px; }
    .ls-hero > p:last-child { font-size: .9rem; }
    .ls3-stage { border-radius: 0; border-left: 0; border-right: 0; height: clamp(460px, calc(100vh - 120px), 900px); }
    @supports (height: 100svh) { .ls3-stage { height: clamp(460px, calc(100svh - 120px), 900px); } }
    .ls3-visor { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 66px); padding: 5px 8px; gap: 2px 8px; }
    .ls3-stat b { font-size: .76rem; }
    .ls3-tools { gap: 4px; }
    .ls3-round { width: 40px; height: 40px; font-size: 14px; }
    #ls3-t-text { display: none; }
    .ls3-compass { left: 10px; top: 104px; margin-left: 0; }
    .ls3-k { font-size: .5rem; letter-spacing: .08em; }
    .ls3-lock { display: none; }
    .ls3-dialogue.is-quiet .ls3-dlg-body { max-height: 2.9em; }
    .ls3-toasts { right: 52px; top: 132px; bottom: auto; width: min(250px, 66%); }
    .ls3-toast { padding: 6px 9px; font-size: .64rem; }
    .ls3-dialogue { left: 6px; right: 6px; bottom: 6px; padding: 8px 40px 8px 10px; }
    .ls3-dlg-body { max-height: calc(5.6rem * var(--ls3-subs)); font-size: calc(.8rem * var(--ls3-subs)); }
    .ls3-actions { right: 8px; bottom: calc(18px + 5.6rem * var(--ls3-subs)); }
    .ls3-drawer { bottom: calc(80px + 5.6rem * var(--ls3-subs)); right: 6px; }
    .ls3-hint { bottom: calc(96px + 5.6rem * var(--ls3-subs)); font-size: .76rem; }
    .ls3-use { min-width: 132px; }
    .ls3-help, .ls-text { margin-left: 10px; margin-right: 10px; }
    .ls-console { border-radius: 14px; }
    .ls-console-header { flex-wrap: wrap; padding: 12px 14px; font-size: .6rem; }
    .ls-console-noise { display: none; }
    .ls-narrator-toggle { margin-left: auto; padding: 6px 8px; font-size: .54rem; }
    .ls-status { grid-template-columns: 1fr 1fr; padding: 11px; gap: 7px; }
    .ls-stat { padding: 10px; }
    .ls-stat-signal { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
    .ls-stat-signal > span { grid-column: 1; }
    .ls-stat-signal > strong { grid-column: 2; grid-row: 1 / 3; margin: 0; }
    .ls-stat-signal small { grid-column: 1; }
    .ls-story { padding: 22px 15px; }
    .ls-copy { font-size: .94rem; line-height: 1.68; }
    .ls-choices { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
    .ls-choice { min-height: 56px; padding: 11px 12px; }
    .ls-journal { margin: 0 11px 12px; }
    .ls-console-footer { padding: 12px 13px; font-size: .64rem; }
    .ls3-keypad { grid-template-columns: repeat(3, 58px); }
    .ls3-key { min-height: 46px; }
    .ls3-station { padding: 6px; }
    .ls3-st-card { padding: 10px 12px; gap: 6px; max-height: 70%; }
    .ls3-st-hint { font-size: .72rem; }
    .ls3-morse { width: 120px; height: 74px; }
    .ls3-morse-cap { top: 10px; width: 58px; height: 28px; margin-left: -29px; }
    .ls3-pattern { min-height: 26px; font-size: 1.3rem; }
    .ls3-st-row .ls3-btn, .ls3-btn { min-height: 42px; font-size: .8rem; }
    .ls3-hold { min-height: 46px; font-size: .8rem; }
    .ls3-freq { font-size: 1.5rem; }
    .ls3-knob { width: 64px; height: 64px; }
    .ls3-wheel { width: 120px; height: 120px; }
    .ls3-biglever { height: 150px; }
}
/* touch: every control at least 44 px */
@media (pointer: coarse) {
    .ls3-round { width: 44px; height: 44px; }
    .ls3-visor { width: calc(100% - 70px); }
    .ls3-mini, .ls3-drawer-btn { min-height: 44px; }
    .ls3-dlg-toggle { width: 40px; height: 40px; }
    .ls3-dialogue { padding-right: 50px; }
    .ls3-toasts { right: 60px; }
}
@media (max-height: 520px) and (orientation: landscape) {
    .ls3-dlg-body { max-height: 3.2rem; }
    .ls3-actions { bottom: 70px; }
    .ls3-tools { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
    .ls3-visor { width: auto; max-width: 38%; }
    .ls3-toasts { top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .ls-console-lamp, .ls3-led, .ls3-frost.is-pulse, .ls3-st-card.is-shaking, .ls3-use:not([hidden]), .ls3-coach, .ls3-coach-ring, .ls3-coach-swipe { animation: none; }
    .ls-meter span, .ls-choice, .ls3-meter em, .ls3-nodecard, .ls3-reticle, .ls3-stage::before, .ls3-stage::after, .ls3-load-bar i { transition: none; }
}
