:root{--bg: #0b0f14;--panel: #0f151d;--glass: rgba(10, 14, 20, .78);--line: #2f3c4b;--text: #f1f5f9;--muted: #a9b6c4;--btn: #1c2632;--btn-hover: #273545;--accent: #3ec7b6;--accent-text: #03201c;--warn: #f2a900;--danger: #d42a3f;--caution: #ffd23c;--finding: #8fd8ff;--warning-line: #ffc857;font-size:16px;color-scheme:dark}html.text-large{font-size:20px}[hidden]{display:none!important}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font:1rem/1.35 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow:hidden;-webkit-text-size-adjust:100%}h1,h2,h3,p{margin:0}button{font:inherit;color:var(--text);background:var(--btn);border:1px solid var(--line);border-radius:10px;min-width:44px;min-height:44px;padding:.5rem .85rem;cursor:pointer;touch-action:manipulation;line-height:1.2}button:hover{background:var(--btn-hover)}button:focus-visible,input:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid var(--accent);outline-offset:2px}button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:700}button.primary{background:var(--accent);border-color:transparent;color:var(--accent-text);font-weight:700}button.danger{background:var(--danger);border-color:transparent;color:#fff;font-weight:700}button.warn{background:var(--warn);border-color:transparent;color:#1a1200;font-weight:700}button.caution{background:var(--caution);border-color:transparent;color:#1a1600;font-weight:700}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#stage{position:fixed;top:0;right:0;bottom:0;left:0}#stage canvas{width:100%;height:100%;display:block}.hud{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;flex-direction:column;gap:.5rem;padding:max(.5rem,env(safe-area-inset-top)) max(.5rem,env(safe-area-inset-right)) max(.5rem,env(safe-area-inset-bottom)) max(.5rem,env(safe-area-inset-left));pointer-events:none}.hud button{pointer-events:auto}.hud-top{display:flex;align-items:center;gap:.6rem}.clock{display:flex;flex-direction:column;background:var(--glass);border-radius:10px;padding:.2rem .7rem}.clock-label,.group-label,.findings-title,.field-label{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.clock-value{font-size:1.6rem;font-weight:700;font-variant-numeric:tabular-nums}.hud-status{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;min-width:0}.visual-label{display:inline-flex;align-items:center;gap:.45rem;background:var(--glass);border-radius:999px;padding:.3rem .75rem;font-size:.9rem}.visual-label.cpr{background:#781220e6;font-weight:700}.cpr-dot{display:none;width:.7rem;height:.7rem;border-radius:50%;background:#ff6b7b;animation:cpr-beat calc(60s / 110) ease-out infinite}.visual-label.cpr .cpr-dot{display:inline-block}@keyframes cpr-beat{0%{transform:scale(1.4);opacity:1}60%,to{transform:scale(.75);opacity:.55}}.hud .pause{background:var(--glass)}.hud .challenge{background:#b3121be6;color:#fff;font-weight:700}button:disabled{opacity:.6;cursor:default}.findings{align-self:flex-start;max-width:min(24rem,calc(100vw - 1rem));box-sizing:border-box;background:var(--glass);border-radius:10px;padding:.35rem .7rem .45rem}.findings-list{list-style:none;margin:.15rem 0 0;padding:0;font-size:.9rem;color:var(--finding)}.hud-notes{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.5rem}.turn{position:fixed;top:var(--turn-top, 50%);transform:translateY(-50%);width:3rem;height:3rem;border-radius:50%;padding:0;background:#0c1118b3}.turn-left{left:max(.4rem,env(safe-area-inset-left))}.turn-right{right:max(.4rem,env(safe-area-inset-right))}.subtitles{margin-top:auto;align-self:center;width:min(46rem,100%);display:flex;flex-direction:column;gap:.25rem;min-height:0;overflow:hidden;justify-content:flex-end}.subtitles .line{background:#000000bd;border-radius:8px;padding:.3rem .65rem;font-size:.95rem}.subtitles .line:not(:last-child){opacity:.78}.line-time{color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums;margin-right:.5rem}.line.finding{color:var(--finding)}.line.warning{color:var(--warning-line)}.line.info{color:#d6dde5}.hud-bar{align-self:center;width:min(46rem,100%);display:grid;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:.5rem}.hud-bar button{background:#18212ceb}.hud-bar button.primary{background:var(--accent)}@media(max-width:380px){.hud-bar{grid-template-columns:repeat(2,1fr)}html.text-large .hud-bar button{padding-inline:.4rem}}body.panel-open .hud{z-index:25}body.panel-open .hud-notes,body.panel-open .findings,body.panel-open .hud-bar,body.panel-open .hud-stations,body.panel-open .turn{display:none}body.panel-open .subtitles{margin-top:0;pointer-events:none}body.panel-open .subtitles .line:not(:last-child){display:none}.briefing-card{display:flow-root;box-sizing:border-box;flex:0 1 26rem;max-width:100%;margin-left:auto;background:var(--glass);border-radius:10px;padding:.3rem .7rem .55rem;pointer-events:none}.briefing-card-skip{float:right;margin:0 0 .15rem .6rem;background:#18212ceb}.briefing-card-title{margin-bottom:.15rem;font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.briefing-card-text{--briefing-line: 1.36;font-size:.875rem;line-height:var(--briefing-line);color:#e6ecf2}@media(orientation:landscape)and (max-height:520px){.briefing-card{padding:.2rem .6rem .35rem}.briefing-card-text{--briefing-line: 1.3;font-size:.8rem}}@media(max-width:600px),(max-height:520px){.briefing-card:not(.briefing-card--read) .briefing-card-text{max-height:calc(4 * var(--briefing-line) * 1em);overflow:hidden}.briefing-card--clipped:not(.briefing-card--read) .briefing-card-text{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 1.6em),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 1.6em),transparent)}}.briefing-card--read.briefing-card--clipped .briefing-card-text{overflow-y:auto;overscroll-behavior:contain;pointer-events:auto}.briefing-card--read.briefing-card--clipped.briefing-card--more .briefing-card-text{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 1.6em),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 1.6em),transparent)}.briefing-card-text:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.hud-top{flex-wrap:wrap}.hud-stations{display:flex;gap:.4rem;min-width:0;max-width:100%;padding:5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;pointer-events:auto}.hud-stations::-webkit-scrollbar{display:none}.hud-stations[data-more=end]{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 2rem),transparent)}.hud-stations[data-more=start]{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 2rem),transparent)}.hud-stations[data-more=both]{-webkit-mask-image:linear-gradient(to right,transparent,#000 2rem,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(to right,transparent,#000 2rem,#000 calc(100% - 2rem),transparent)}.station{flex:none;display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;font-size:.9rem;background:var(--glass)}.station-key{display:inline-grid;place-items:center;min-width:1.2rem;height:1.2rem;border:1px solid var(--line);border-radius:5px;font-size:.72rem;font-weight:700;color:var(--muted)}.station[aria-current=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}@media(max-width:699px){.station{padding:.45rem .65rem;font-size:.85rem}}@media(pointer:coarse){.station-key{display:none}}@media(min-width:700px){.hud-top{flex-wrap:nowrap}.hud-status{flex:1 1 auto;min-width:9rem}.hud-stations{order:1;flex:0 1 auto}.hud .challenge,.hud .pause{order:2}}.beacons{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8;overflow:hidden;pointer-events:none}body.panel-open .beacons{display:none}.beacon-ring{position:absolute;left:0;top:0;box-sizing:border-box;border:2px solid rgba(62,199,182,.85);border-radius:14px;box-shadow:0 0 0 3px #3ec7b629,0 0 16px #3ec7b647;animation:beacon-pulse 2.8s ease-in-out 3}@keyframes beacon-pulse{50%{box-shadow:0 0 0 6px #3ec7b614,0 0 22px #3ec7b666}}.beacon-tag,.beacon-edge{position:absolute;left:0;top:0;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;background:transparent;border:0;pointer-events:auto}.beacon-tag:hover,.beacon-edge:hover{background:transparent}.beacon-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .7rem;border:1px solid var(--accent);border-radius:999px;background:var(--glass);font-size:.85rem;font-weight:600;white-space:nowrap}.beacon-tag:hover .beacon-pill,.beacon-edge:hover .beacon-pill{background:var(--btn-hover)}.beacon-arrow{color:var(--accent)}.beacon-edge[data-side=right] .beacon-pill{flex-direction:row-reverse}.beacon-edge[data-side=top] .beacon-pill,.beacon-edge[data-side=bottom] .beacon-pill{gap:0;border-radius:14px}.beacon-edge[data-side=top] .beacon-pill{flex-direction:column}.beacon-edge[data-side=bottom] .beacon-pill{flex-direction:column-reverse}.panel{position:fixed;z-index:20;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);box-shadow:0 -8px 30px #00000080}.panel-sheet{left:0;right:0;bottom:0;margin:0 auto;width:min(100%,48rem);max-height:calc(100vh - 7rem);max-height:calc(100dvh - 7rem);border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}.panel-dialog{left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,28rem);border-radius:16px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.4rem .5rem .4rem .9rem;border-bottom:1px solid var(--line)}.panel-head h2{font-size:1.1rem}.panel-body{overflow-y:auto;overscroll-behavior:contain;padding:.75rem;display:flex;flex-direction:column;gap:.75rem}.panel-body h3{font-size:1.05rem}.tabs,.chips,.choices,.row,.segmented,.lang{display:flex;flex-wrap:wrap;gap:.45rem}.tab{font-size:.9rem;padding:.4rem .7rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:.5rem}.grid>button{text-align:left}.wide{grid-column:1 / -1}.group{display:flex;flex-direction:column;gap:.4rem}.chip{min-width:4.2rem;font-variant-numeric:tabular-nums}.stepper{display:flex;gap:.4rem}.stepper .step{width:3rem;font-size:1.2rem;font-weight:700}.range-apply{flex:1}.segmented .seg{flex:1;max-width:12rem}.sub{display:flex;flex-direction:column;gap:.6rem}.field-row{display:flex;gap:.5rem}.field-row input{flex:1;min-width:0;min-height:44px;box-sizing:border-box;font:inherit;color:var(--text);background:#070a0e;border:1px solid var(--line);border-radius:10px;padding:0 .75rem}.field-error{color:var(--warning-line)}.back{align-self:flex-start}.defib-screen,.defib-controls{display:flex;flex-direction:column;gap:.75rem}.monitor-slot canvas{display:block;width:100%;height:auto;aspect-ratio:16 / 10;max-height:34vh;object-fit:contain;background:#000;border-radius:8px}.pads{align-self:flex-start;justify-self:start}.device-status{font-weight:700;color:var(--warn);min-height:1.5em;line-height:1.5}.defib-controls .chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(4.2rem,1fr))}.device-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.device-actions button{padding-inline:.4rem;white-space:nowrap}.device-actions .ready{box-shadow:0 0 0 3px #fff inset;animation:ready 1s ease-in-out infinite alternate}@keyframes ready{to{filter:brightness(1.25)}}@media(min-width:560px){.device-actions{grid-template-columns:repeat(4,1fr)}}@media(min-width:960px){#defib{width:min(100%,70rem)}#defib .panel-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start}#defib .defib-screen{grid-column:1;grid-row:1}#defib .pads{grid-column:1;grid-row:2}#defib .defib-controls{grid-column:2;grid-row:1 / span 2}#defib .monitor-slot canvas{max-height:none}}@media(max-width:600px){#defib .panel-body{padding-block:0;gap:0}#defib .defib-screen{position:sticky;top:0;z-index:2;background:var(--panel);padding-block:.75rem .5rem}#defib .monitor-slot canvas{max-height:24vh;max-height:24dvh}#defib .pads{margin-bottom:.75rem}#defib .defib-controls{padding-bottom:.75rem}#defib .device-actions{position:sticky;bottom:0;z-index:2;background:var(--panel);padding-block:.5rem .75rem;border-top:1px solid var(--line)}}@media(max-width:600px)and (min-height:521px){#actions{max-height:45vh;max-height:45dvh}#actions .panel-body{padding-top:0}#actions .sub{padding-top:.75rem}#actions .tabs{flex:none;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;position:sticky;top:0;z-index:1;padding:.75rem 0 .4rem;background:var(--panel)}#actions .tabs::-webkit-scrollbar{display:none}#actions .tab{flex:none;white-space:nowrap}}@media(max-height:520px){.panel-sheet{max-height:calc(100vh - 4.5rem);max-height:calc(100dvh - 4.5rem)}#defib .panel-body{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;column-gap:.75rem;padding-block:0}#defib .defib-screen{grid-column:1;grid-row:1 / span 2;position:sticky;top:0;z-index:2;background:var(--panel);padding-block:.75rem .5rem}#defib .pads{grid-column:2;grid-row:1;margin-top:.75rem}#defib .chip{padding-inline:.3rem}#defib .defib-controls{grid-column:2;grid-row:2;padding-bottom:.75rem}#defib .monitor-slot canvas{max-height:calc(100vh - 12rem);max-height:calc(100dvh - 12rem)}#defib .device-actions{grid-template-columns:repeat(2,1fr);position:sticky;bottom:0;z-index:2;background:var(--panel);padding-block:.5rem .75rem;border-top:1px solid var(--line)}}.members{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}.member{display:flex;flex-direction:column;gap:.4rem;padding:.5rem .6rem;border:1px solid var(--line);border-radius:10px}.member-info{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .7rem}.member-role{color:var(--accent)}.member-role.none,.member-status{color:var(--muted)}.member-status.busy{color:var(--warn)}.member-assign{align-self:flex-start}.role-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.4rem}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background:#05080ce6;font-size:1.2rem}.overlay-card{display:flex;flex-direction:column;gap:.75rem;min-width:min(18rem,86vw);text-align:center}.overlay-card h2{font-size:1.6rem}.overlay-confirm:not([hidden]){display:flex;flex-direction:column;gap:.75rem}#banner{position:fixed;z-index:60;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));background:#8c1414f2;padding:10px 14px;border-radius:10px}.screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;overflow-y:auto;background:radial-gradient(ellipse at top,#16222e 0%,var(--bg) 60%)}.start-inner,.debrief-inner{box-sizing:border-box;max-width:56rem;margin:0 auto;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1.5rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));display:flex;flex-direction:column;gap:1.1rem}.start-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.start-head h1{font-size:2rem}.subtitle,.note,.legal{color:var(--muted)}.legal{font-size:.85rem}.field{display:flex;flex-direction:column;gap:.45rem}.cases .choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(10.5rem,1fr))}.choice{flex:1 1 9rem}.case-detail{background:#141c26e6;border:1px solid var(--line);border-radius:12px;padding:.75rem .9rem;display:flex;flex-direction:column;gap:.5rem}.draft{color:var(--warning-line);font-weight:700;border-left:4px solid var(--warning-line);padding-left:.6rem}.choice-hint,.case-limit{color:var(--muted);font-size:.95rem}.start-button{min-height:3.5rem;font-size:1.25rem;position:sticky;bottom:max(.75rem,env(safe-area-inset-bottom));z-index:2;box-shadow:0 0 0 .5rem var(--bg),0 -.4rem .9rem .5rem var(--bg)}.debrief-inner h1{font-size:1.8rem}.debrief-inner h2{font-size:1.2rem;margin-bottom:.4rem}.outcome-text{font-size:1.5rem;font-weight:700}.outcome.success .outcome-text{color:var(--accent)}.outcome.timeout .outcome-text{color:var(--warning-line)}.duration,.best{color:var(--muted)}.score{background:#141c26e6;border:1px solid var(--line);border-radius:12px;padding:.75rem 1rem}.score-value{font-size:3.2rem;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1}.new-best{color:var(--caution);font-weight:700}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.95rem}th,td{padding:.4rem .5rem;border-bottom:1px solid var(--line);text-align:left}td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}thead th{color:var(--muted);font-size:.8rem;font-weight:600}thead th:not(:first-child){text-align:right}tbody th{font-weight:500}tr.skipped{color:var(--muted)}.metrics{display:grid;grid-template-columns:1fr auto;gap:.35rem 1rem;margin:0}.metrics dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}.timeline li{display:flex;flex-wrap:wrap;gap:.2rem .6rem}.timeline .kind{color:var(--warning-line);font-weight:600}.debrief-actions button{flex:1 1 10rem;min-height:3rem}.fade-in{animation:fade-in .45s ease-out}@keyframes fade-in{0%{opacity:0}}.start-tools{display:flex;flex-wrap:wrap;gap:.5rem}.tool{flex:1 1 10rem;max-width:16rem;background:transparent}.tool:hover{background:var(--btn)}.tour-dim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9;pointer-events:none;animation:tour-fade .3s ease-out}@keyframes tour-fade{0%{opacity:0}}.tour-dim:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#04070bb3;opacity:0;transition:opacity .3s ease}.tour-dim[data-dim=full]:before{opacity:1}.tour-spot,.tour-ring{position:absolute;left:0;top:0;box-sizing:border-box;border-radius:14px;opacity:0;transition:transform .32s ease,width .32s ease,height .32s ease,opacity .3s ease}.tour-spot{box-shadow:0 0 0 100vmax #04070ba8}.tour-ring{border:2px solid var(--accent);box-shadow:0 0 0 4px #3ec7b633,0 0 22px #3ec7b659;animation:tour-glow 2.4s ease-in-out infinite}.tour-dim[data-dim=spot] .tour-spot,.tour-dim[data-dim=spot] .tour-ring{opacity:1}@keyframes tour-glow{50%{box-shadow:0 0 0 7px #3ec7b61a,0 0 28px #3ec7b680}}body.tour-dimmed .hud :is(.clock,.hud-status,.findings,.subtitles,button):not(.tour-lit){filter:brightness(.4)}.hud :is(.clock,.hud-status,.findings,.subtitles,button){transition:filter .3s ease}.hud .tour-lit{outline:2px solid var(--accent);outline-offset:3px;box-shadow:0 0 0 6px #3ec7b633,0 0 22px #3ec7b666;animation:tour-glow 2.4s ease-in-out infinite}.tour{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;box-sizing:border-box;padding:max(.75rem,env(safe-area-inset-top)) max(.75rem,env(safe-area-inset-right)) max(.75rem,env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left));pointer-events:none}.tour-card{position:absolute;left:0;top:0;box-sizing:border-box;width:min(26rem,calc(100vw - 1.5rem));max-height:calc(100vh - 1.5rem);max-height:calc(100dvh - 1.5rem);overflow-y:auto;display:flex;flex-direction:column;gap:.7rem;padding:1rem 1.1rem 0;pointer-events:auto;background:#0d131b;border:1px solid rgba(62,199,182,.3);border-radius:18px;box-shadow:0 22px 60px #0000008c;animation:tour-fade .3s ease-out}.tour.placed .tour-card{transition:left .32s ease,top .32s ease}.tour-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.tour-count{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-variant-numeric:tabular-nums}.tour-dots{display:flex;gap:.3rem}.tour-dot{width:.45rem;height:.45rem;border-radius:50%;background:var(--line);transition:background .3s ease}.tour-dot.on{background:var(--accent)}.tour-text{display:flex;flex-direction:column;gap:.4rem}.tour-text.swap{animation:tour-swap .3s ease-out}@keyframes tour-swap{0%{opacity:0;transform:translateY(6px)}}.tour-title{font-size:1.3rem;line-height:1.2;letter-spacing:-.01em}.tour-body{color:#d3dde7;line-height:1.45}.tour-meter{height:6px;border-radius:3px;background:#ffffff1a;overflow:hidden}.tour-meter span{display:block;height:100%;width:0;background:var(--accent);transition:width .15s linear}.tour-status{color:var(--accent);font-weight:600}.tour-status:empty{display:none}.tour-checks{display:flex;flex-direction:column;gap:.5rem}.tour-check-row{display:flex;flex-wrap:wrap;gap:.5rem}.tour-check{flex:1 1 8rem;border-color:#3ec7b680}.tour-note{color:var(--muted);font-size:.85rem;line-height:1.4}.tour-actions{position:sticky;bottom:0;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.5rem 0 .85rem;background:#0d131b}.tour-nav{display:flex;gap:.5rem;margin-left:auto}.tour-actions:before{content:"";position:absolute;left:0;right:0;bottom:100%;height:1.6rem;background:linear-gradient(to bottom,#0d131b00,#0d131b);pointer-events:none;opacity:0}.tour-card.more-below .tour-actions:before{opacity:1}.tour-skip{background:transparent;border-color:transparent;color:var(--muted);padding-inline:.6rem}.tour-skip:hover{background:#ffffff12;color:var(--text)}.tour-next{min-width:7.5rem}@media(orientation:landscape)and (max-height:520px){.tour-card{width:min(22rem,46vw);gap:.5rem;padding:.75rem .9rem 0}.tour-actions{padding-bottom:.65rem}.tour-title{font-size:1.15rem}.tour-body{font-size:.92rem;line-height:1.38}}.panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:69;background:#04070b9e}.panel-settings{z-index:70;max-height:calc(100vh - 1.5rem);max-height:calc(100dvh - 1.5rem)}.setting{display:flex;flex-direction:column;gap:.35rem}.setting-switch{display:flex;align-items:center;gap:.75rem;width:100%;min-height:3rem;text-align:left}.setting-name{flex:1;font-weight:600}.switch-state{color:var(--muted);font-size:.85rem}.switch{position:relative;flex:none;width:2.75rem;height:1.6rem;border-radius:999px;background:#3a4856;transition:background .2s ease}.switch-knob{position:absolute;top:.2rem;left:.2rem;width:1.2rem;height:1.2rem;border-radius:50%;background:#fff;transition:transform .2s ease}.setting-switch[aria-checked=true] .switch{background:var(--accent)}.setting-switch[aria-checked=true] .switch-knob{transform:translate(1.15rem)}.setting-hint{color:var(--muted);font-size:.85rem;line-height:1.4}.setting-hint:empty{display:none}.setting-line{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.setting-value{color:var(--muted);font-variant-numeric:tabular-nums}.setting input[type=range]{width:100%;min-height:44px;margin:0;accent-color:var(--accent)}.fx{position:fixed;top:0;right:0;bottom:0;left:0;z-index:7;overflow:hidden;pointer-events:none}.fx-top{z-index:26}.fx-layer{position:absolute;top:0;right:0;bottom:0;left:0}.fx-vignette{background:radial-gradient(ellipse at center,#0000 58%,#00000042)}.fx-grain{top:-64px;right:-64px;bottom:-64px;left:-64px;opacity:.035;background-size:128px 128px;will-change:transform}.fx-crisis{box-shadow:inset 0 0 8vmin 1vmin #d42a3fd9}.fx-caution{box-shadow:inset 0 0 7vmin #ffc83cb3}.fx-flash{background:#fff}.fx-dim{background:#000}html.reduced-motion .fx-grain,.fx-quiet .fx-grain{display:none}@media(prefers-reduced-motion:reduce){.fx-grain{display:none}}html.frozen *,html.frozen *:before,html.frozen *:after{animation:none!important;transition:none!important;caret-color:transparent!important}html.reduced-motion *,html.reduced-motion *:before,html.reduced-motion *:after{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:380px){.hud-status{flex:1 1 0;min-width:0}.hud-status .visual-label{display:flex;max-width:100%}.hud-status .visual-label>:last-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}@media(max-width:380px){html.text-large .hud-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}html.text-large .hud .clock-label{display:none}html.text-large .hud-top{gap:.4rem}html.text-large .hud-top .clock{padding-inline:.4rem}html.text-large .hud-top .challenge,html.text-large .hud-top .pause{padding-inline:.5rem}}
