html,body{color:#e5f6ff;background:#1b1f27;height:100%;margin:0;font-family:system-ui,sans-serif;overflow:hidden}#app canvas{width:100vw;height:100dvh;display:block}.debug-panel{pointer-events:none;background:#0b1220d9;margin:0;padding:8px 12px;font:13px/1.4 monospace;position:fixed;top:8px;left:8px}.environment-settings__choices{gap:10px;display:grid}.options-bar .environment-choice{text-align:left;color:#e7f1f5;background:#14293b;border:2px solid #2b4659;border-radius:10px;grid-template-columns:72px 1fr;align-items:center;gap:12px;width:100%;padding:8px;display:grid}.environment-choice:hover,.environment-choice:focus-visible{outline-offset:2px;outline:2px solid #8fdae0}.options-bar .environment-choice[aria-pressed=true]{background:#18404a;border-color:#76e0da}.environment-choice strong{margin-bottom:4px;font-size:14px;display:block}.environment-choice strong+span{color:#b5cad7;font-size:12px;font-weight:400;line-height:1.4;display:block}.environment-choice__picture{background:linear-gradient(165deg,#29485c,#0d202e);border-radius:6px;height:76px;position:relative;overflow:hidden}.environment-choice--orbital .environment-choice__picture{background:radial-gradient(circle at 20% 18%,#fff 0 1px,#0000 2px),radial-gradient(circle at 75% 68%,#abceff 0 1px,#0000 2px),radial-gradient(circle at 55% 40%,#8dd9ec 0,#367eaa 22%,#123659 27%,#0000 28%),linear-gradient(135deg,#070d29,#1f3756)}.environment-choice--orbital .environment-choice__picture:after{content:"";border:3px solid #bae8e5;border-radius:50%;position:absolute;inset:22px 3px 28px;transform:rotate(-28deg)}.environment-choice--forest .environment-choice__picture{background:radial-gradient(at 20% 72%,#75fae2 0 5%,#0000 6%),radial-gradient(at 70% 80%,#b1a2fa 0 4%,#0000 5%),repeating-linear-gradient(95deg,#0000 0 12px,#244d4e 13px 18px,#0000 19px 25px),radial-gradient(at top,#2fbaad,#09242c 80%)}.environment-choice--dunes .environment-choice__picture{background:radial-gradient(circle at 72% 25%,#ffe4a5 0 13%,#0000 14%),linear-gradient(165deg,#0000 62%,#99634b 63%),linear-gradient(20deg,#0000 65%,#c18d64 66%),linear-gradient(#be827e,#f6c291)}.environment-choice--dunes .environment-choice__picture:after{content:"";border:6px solid #765043;border-bottom:0;position:absolute;inset:26px 22px 9px 12px}.environment-settings .environment-settings__status{color:#87d9ce;margin:14px 0 0}.environment-settings__status[data-status=error]{color:#ffbd9c}.build-hint{color:#e5f6ff;background:#0b1220eb;border-left:4px solid #ef4444;border-radius:6px;max-width:calc(100vw - 32px);margin:0;padding:8px 14px;font-size:15px;position:fixed;top:16px;left:50%;transform:translate(-50%)}.debug-spawn{color:#0b1220;cursor:pointer;background:#fde68a;border:0;border-radius:6px;padding:8px 14px;font-size:15px;font-weight:600;position:fixed;bottom:64px;left:16px}.end-screen{text-align:center;background:#0b1220f5;border:2px solid #22d3ee;border-radius:12px;min-width:320px;padding:24px 32px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.end-screen[data-outcome=lost]{border-color:#ef4444}.end-screen__title{margin:0 0 12px;font-size:28px}.end-screen__lines{white-space:pre-line;margin:0 0 18px;font-size:16px}.end-screen__actions{justify-content:center;gap:12px;display:flex}.end-screen__replay,.end-screen__menu,.pause-menu__actions button,.main-menu__start{color:#0b1220;cursor:pointer;background:#e5f6ff;border:0;border-radius:8px;padding:10px 28px;font-size:18px;font-weight:600}.end-screen__menu{background:#94a3b8}.pause-menu{text-align:center;background:#0b1220f5;border:2px dashed #facc15;border-radius:12px;min-width:300px;padding:24px 32px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.pause-menu__title{margin:0 0 18px;font-size:26px}.pause-menu__actions{flex-direction:column;gap:10px;display:flex}.pause-menu__actions button:disabled{cursor:not-allowed;opacity:.5}.main-menu{box-sizing:border-box;background:#0b1220f5;border:2px solid #22d3ee;border-radius:12px;width:min(460px,100vw - 32px);max-height:calc(100vh - 140px);padding:24px 28px;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.main-menu__title{text-align:center;letter-spacing:.04em;margin:0 0 16px;font-size:32px}.main-menu__group{border:1px solid #334155;border-radius:8px;margin:0 0 16px;padding:10px 14px 14px}.main-menu__group legend{color:#94a3b8;padding:0 6px;font-size:14px}.main-menu__choices{flex-direction:column;gap:8px;display:flex}.main-menu__choices button{text-align:left;color:#e5f6ff;cursor:pointer;background:#1e293b;border:1px solid #94a3b8;border-radius:6px;padding:10px 14px;font-size:16px}.main-menu__choices button[aria-pressed=true]{border:3px solid #facc15;font-weight:700}.main-menu__choices button:disabled{cursor:not-allowed;opacity:.5;border-style:dashed}.main-menu__hint{color:#94a3b8;margin:10px 0 0;font-size:14px}.main-menu__start{background:#22d3ee;width:100%;display:block}.main-menu__start:disabled{cursor:not-allowed;opacity:.5}.main-menu__coop{margin-top:16px}.main-menu__coop button,.coop-lobby button{color:#e5f6ff;cursor:pointer;background:#1e293b;border:1px solid #94a3b8;border-radius:6px;padding:10px 14px;font-size:16px}.main-menu__coop button:disabled{cursor:not-allowed;opacity:.5;border-style:dashed}.main-menu__coop-create{width:100%;margin-bottom:10px;display:block}.main-menu__coop-join{align-items:center;gap:8px;display:flex}.main-menu__coop-join label{color:#94a3b8;flex:1;font-size:14px}.main-menu__coop-join input{box-sizing:border-box;letter-spacing:.2em;text-transform:uppercase;color:#e5f6ff;background:#0b1220;border:1px solid #94a3b8;border-radius:6px;width:100%;margin-top:4px;padding:8px 10px;font-size:20px}.coop-lobby{box-sizing:border-box;text-align:center;color:#e5f6ff;background:#0b1220f5;border:1px solid #334155;border-radius:12px;width:min(420px,100vw - 32px);padding:24px 28px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.coop-lobby__title{margin:0 0 12px;font-size:24px}.coop-lobby__code{letter-spacing:.25em;color:#facc15;margin:8px 0 12px;font-family:ui-monospace,monospace;font-size:44px;font-weight:700}.coop-lobby__lines{white-space:pre-line;margin:0 0 16px;line-height:1.5}.coop-lobby[data-failed=true] .coop-lobby__lines{color:#fca5a5}.end-screen__replay:disabled{cursor:not-allowed;opacity:.5}.gallery-caption{text-align:center;color:#f8fafc;background:#172331e8;border-radius:8px;padding:8px 16px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.gallery-caption h2{margin:0;font-size:18px}.gallery-caption p{margin:6px 0;font-size:13px}.sandbox-controls{gap:6px;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%)}.sandbox-controls button{color:#f8fafc;background:#172331;border:1px solid #94a3b8;border-radius:5px;padding:8px}.audio-gallery{color:#e5f6ff;background:#1b1f27;padding:16px max(16px,50% - 480px);position:fixed;inset:0;overflow:auto}.audio-gallery h1{margin:0 0 8px;font-size:22px}.audio-gallery__bar{z-index:1;background:#1b1f27;border-bottom:1px solid #334155;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:24px 0 8px;display:flex;position:sticky;top:-16px}.audio-gallery button{color:#e5f6ff;cursor:pointer;background:#243447;border:1px solid #475569;border-radius:6px;min-height:36px;padding:4px 12px}.audio-gallery button[aria-pressed=true]{color:#0b1220;background:#22d3ee;border-color:#e5f6ff;font-weight:600}.audio-gallery h2{color:#22d3ee;margin:24px 0 4px;font-size:18px}.audio-slot{background:#172331;border-radius:8px;margin:8px 0;padding:8px 12px}.audio-slot--decided{border-left:4px solid #22d3ee}.audio-slot h3{margin:0;font-size:15px}.audio-slot__hint{color:#94a3b8;margin:2px 0 6px;font-size:12px}.audio-candidate{flex-wrap:wrap;align-items:center;gap:6px 10px;padding:4px 0;display:flex}.audio-candidate--rejected .audio-candidate__name{opacity:.55;text-decoration:line-through}.audio-candidate__name{flex:220px;font-size:13px}.audio-candidate__meta{color:#94a3b8;font-size:12px}.audio-gallery textarea{color:#e5f6ff;background:#0f172a;border:1px solid #475569;width:100%;min-height:160px}.ambiance-gallery>a{margin:0 1.5rem 1rem 0;display:inline-block}.ambiance-gallery select{max-width:100%;font:inherit;padding:.6rem}.ambiance-gallery audio{width:min(100%,40rem);margin:1rem 0;display:block}.ambiance-gallery button,.ambiance-gallery .audio-slot a{margin:.4rem .8rem .4rem 0}.ambiance-gallery .audio-slot a{display:inline-block}.countdown-overlay{text-align:center;color:#e5f6ff;pointer-events:none;z-index:20;background:#0b1220d9;border:6px solid #f59e0b;border-radius:24px;min-width:1.4em;margin:0;padding:0 .2em;font-size:clamp(96px,22vh,220px);font-weight:800;line-height:1.1;position:fixed;top:38%;left:50%;transform:translate(-50%,-50%)}.countdown-overlay[hidden]{display:none}.level-code{margin-top:16px}.level-code__slots{grid-template-columns:1fr 1fr;gap:8px;display:grid}.level-code__slot{background:#1e293b;border:1px solid #334155;border-radius:6px;align-items:center;gap:4px;padding:4px;display:flex;position:relative}.level-code__number{color:#94a3b8;font-size:12px;font-weight:700;position:absolute;top:2px;left:6px}.level-code__symbol{color:#e5f6ff;flex-direction:column;flex:1;align-items:center;min-width:0;font-size:14px;font-weight:650;display:flex}.level-code__icon{background-color:#cbd5e1;background-repeat:no-repeat;border-radius:4px;width:44px;height:44px}.level-code button{color:#e5f6ff;cursor:pointer;background:#0b1220;border:1px solid #94a3b8;border-radius:6px;padding:8px 10px;font-size:16px}.level-code button:disabled{cursor:not-allowed;opacity:.5;border-style:dashed}.level-code__actions{gap:8px;margin-top:10px;display:flex}.level-code__actions button{flex:1}.level-code__message{color:#94a3b8;margin:8px 0 0;font-size:14px}.level-code__message[data-kind=unlocked],.level-code__message[data-kind=shown]{color:#b1ffe8;font-weight:700}.level-code__message[data-kind=unknown]{color:#fecaca;font-weight:700}:root{--screen-rail:304px;--screen-gap:16px;--screen-panel:#101c2bee;--screen-border:#304658;--screen-muted:#a3b6c6}[hidden]{display:none!important}button:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #8ee8db}#app.has-game-view:not(.is-presenting)>canvas{width:calc(100vw - var(--screen-rail) - var(--screen-gap))}.game-interface__hud{scrollbar-width:thin;flex:0 auto;min-height:0;max-height:45%;overflow-y:auto}.game-hud{background:var(--screen-panel);border:1px solid var(--screen-border);pointer-events:auto;border-radius:9px;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 10px;display:flex}.game-hud__lines{font-variant-numeric:tabular-nums;flex:100%;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px;min-width:0;font-size:12px;line-height:1.35;display:grid}.game-hud__metric:nth-child(2n){text-align:right}.game-hud__metric:first-child{color:#91e5d4;font-size:12px;font-weight:650}.game-hud__metric:nth-child(3){color:#ffe0a1}.game-hud__metric:nth-child(4){color:#b7d9ef}.game-hud__connection,.game-hud__status,.game-hud__message{color:#ffd39a;white-space:pre-line;flex-basis:100%;margin:0;font-size:11px}.game-hud__connection{grid-column:1/-1}.game-hud__actions{flex-wrap:wrap;gap:6px;display:flex}.game-hud__actions:has(>:not([hidden])){flex-basis:100%}.game-hud__actions:not(:has(>:not([hidden]))){display:none}.game-hud button,.options-bar button,.selection-panel__actions button,.vr-entry__button{color:#e5f6ff;cursor:pointer;background:#23384b;border:1px solid #466074;border-radius:8px;min-height:36px;padding:8px 12px;font:600 13px/1.3 system-ui,sans-serif}.game-hud button[data-action=ready],.game-hud button[data-action=startWave]{color:#09232b;background:#8ee8db;border-color:#8ee8db}.game-hud button:disabled,.selection-panel__actions button:disabled{opacity:.5;cursor:not-allowed}.game-hud__preview{min-width:0;color:var(--screen-muted);flex:1;font-size:11px}.game-hud__preview summary{cursor:pointer;padding:3px 0}.game-hud__preview[open]{flex-basis:100%}.game-hud__composition,.game-hud__live{white-space:pre-line;margin:4px 0 0;font-size:11px;line-height:1.4}.game-hud__live{color:#f7d49b;flex-basis:100%}.game-sidebar{inset:var(--screen-gap) var(--screen-gap) var(--screen-gap) auto;width:var(--screen-rail);box-sizing:border-box;flex-direction:column;gap:8px;display:flex;position:fixed}.game-sidebar__inspection{scrollbar-width:thin;flex:0 auto;min-height:0;max-height:35%;overflow-y:auto}.game-sidebar__inspection:not(:has(>:not([hidden]))){display:none}.game-sidebar__construction{flex:1;min-height:0;display:flex}.game-hud button{border-radius:6px;min-height:28px;padding:4px 7px;font-size:11px}.build-palette{box-sizing:border-box;border:1px solid var(--screen-border);background:#0e1a29f5;border-radius:14px;flex-direction:column;width:100%;min-height:0;padding:16px 12px 10px;display:flex}.build-palette__title{margin:0 4px 6px;font-size:19px;font-weight:650}.build-palette__hint{color:var(--screen-muted);margin:0 4px 12px;font-size:12px;line-height:1.5}.build-palette__budget{color:#ffe0a1;background:#302c22;border-radius:7px;margin:0 4px 12px;padding:9px 10px;font-size:12px;font-weight:650}.build-palette__items{scrollbar-width:thin;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;min-height:0;padding:3px;display:grid;overflow-y:auto}.build-palette__item{box-sizing:border-box;text-align:left;color:#e5f6ff;cursor:pointer;background:#182b3d;border:1px solid #334c61;border-radius:8px;grid-template-rows:1fr auto;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:2px 6px;min-width:0;min-height:66px;padding:8px 6px;display:grid;position:relative}.build-palette__item:hover:enabled{background:#234456}.build-palette__item[aria-pressed=true]{background:#1a3d41;border-color:#8ee8db;box-shadow:inset 0 0 0 1px #8ee8db}.build-palette__item svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;grid-area:1/1/3;width:30px;height:30px}.build-palette__key{color:#a7bdce;font-size:9px;position:absolute;top:2px;left:4px}.build-palette__label{-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-column:2;font-size:11px;font-weight:600;line-height:1.25;display:-webkit-box;overflow:hidden}.build-palette__detail{color:#b6c8d6;grid-column:2;font-size:11px}.build-palette__item:disabled{cursor:not-allowed;opacity:.5}.build-palette__item[data-status=unaffordable]{opacity:1;box-shadow:none;background:#121f2d;border-color:#3c4654}.build-palette__item[data-status=unaffordable] svg,.build-palette__item[data-status=unaffordable] .build-palette__label{opacity:.45}.build-palette__item[data-status=unaffordable] .build-palette__detail{color:#7c2032;background:#eac0c6;border-radius:4px;justify-self:start;padding:1px 6px;font-weight:700}.build-palette__notice,.build-palette__shortcuts{color:var(--screen-muted);margin:10px 4px 0;font-size:11px;line-height:1.6}.build-palette__notice{color:#ffd39a}.selection-panel,.enemy-scanner{background:var(--screen-panel);border:1px solid #568b8a;border-radius:14px;padding:14px}.selection-panel__title{color:#a9efe3;margin:0 0 8px;font-size:16px}.selection-panel__lines{white-space:pre-line;margin:0 0 12px;font-size:13px;line-height:1.6}.selection-panel__notice{color:#ffd39a;margin:8px 0;font-size:12px}.selection-panel__actions{gap:6px;display:grid}.selection-panel__actions button[data-action=sell]{color:#ecc3be;background:#382d34;border-color:#74505a}.options-bar{top:var(--screen-gap);left:var(--screen-gap);z-index:30;position:fixed}.options-bar .options-bar__toggle{background:#162c3c;min-height:38px}.environment-settings{box-sizing:border-box;color:#e7f1f5;background:#0e1b2a;border:1px solid #426476;border-radius:14px;width:min(388px,100vw - 32px);max-height:calc(100dvh - 90px);padding:20px;position:absolute;top:50px;left:0;overflow-y:auto;box-shadow:0 16px 60px #0008}.environment-settings h2{margin:0 0 18px;font-size:23px}.environment-settings p{color:var(--screen-muted);margin:14px 0;font-size:12px;line-height:1.5}.environment-settings__group{border:1px solid var(--screen-border);border-radius:10px;gap:8px;margin:0 0 16px;padding:12px;display:grid}.environment-settings__group legend{color:#a9efe3;padding:0 6px;font-size:13px}.vr-entry{bottom:var(--screen-gap);left:var(--screen-gap);z-index:20;max-width:min(360px,100vw - 32px);position:fixed}.vr-entry__message{background:#182b3d;border-left:3px solid #ffd39a;border-radius:6px;margin:8px 0 0;padding:10px;font-size:13px}.vr-entry__button:disabled{opacity:.6;cursor:wait}.environment-settings .vr-entry__message{color:var(--screen-muted);background:0 0;border:0;margin:0;padding:0;font-size:12px}.has-game-view .build-hint{top:auto;bottom:20px;left:calc((100vw - var(--screen-rail) - var(--screen-gap)) / 2);max-width:calc(100vw - var(--screen-rail) - 64px);font-size:13px}.pause-menu,.end-screen{z-index:40;box-sizing:border-box;border:1px solid #618a98;min-width:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:0 24px 120px #000b}@media (max-width:900px){:root{--screen-rail:260px;--screen-gap:12px}.game-hud{padding:8px}.game-hud__lines{flex-basis:100%;gap:3px 8px}}@media (max-width:600px){:root{--screen-rail:176px;--screen-gap:8px}.build-palette{padding:10px 6px}.build-palette__title{font-size:16px}.build-palette__hint,.build-palette__shortcuts{display:none}.build-palette__budget{padding:8px 4px;font-size:10px}.build-palette__items{grid-template-columns:1fr}.game-hud__lines,.game-hud__metric:first-child{font-size:11px}.game-hud button{padding:5px;font-size:11px}.game-hud__preview{flex-basis:100%;min-width:0}.selection-panel,.enemy-scanner{padding:10px}}.ready-stage{left:calc((100vw - var(--screen-rail) - var(--screen-gap)) / 2);z-index:15;flex-direction:column;align-items:center;gap:12px;display:flex;position:fixed;top:45%;transform:translate(-50%,-50%)}.ready-stage[hidden]{display:none}.ready-stage__button{min-width:min(220px, calc(100vw - var(--screen-rail) - 32px));letter-spacing:.08em;text-transform:uppercase;color:#09232b;cursor:pointer;background:#8ee8db;border:4px solid #e5f6ff;border-radius:16px;padding:18px 24px;font:800 34px/1 system-ui,sans-serif;box-shadow:0 8px 28px #00000073}.ready-stage__button:hover,.ready-stage__button:focus-visible{background:#facc15;outline:4px solid #0b1220}.ready-stage__button[hidden]{display:none}.ready-stage__count{color:#e5f6ff;background:#0b1220e6;border-radius:8px;margin:0;padding:6px 14px;font:600 18px/1.3 system-ui,sans-serif}.game-hud__timer{font-variant-numeric:tabular-nums;color:#c6d8e4;margin:0;font:600 12px/1.3 system-ui,sans-serif}.game-hud__timer[data-alert=warning],.game-hud__timer[data-alert=final]{color:#facc15}.game-hud__timer[data-alert=final]{font-weight:800}.game-hud__timer[hidden]{display:none}.wave-timeline{top:var(--screen-gap);left:124px;right:calc(var(--screen-rail) + var(--screen-gap) * 2);box-sizing:border-box;border:1px solid var(--screen-border);pointer-events:none;background:#101c2bbd;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;height:40px;padding:0 10px;display:grid;position:fixed}.wave-timeline__label,.wave-timeline__horizon{color:var(--screen-muted);white-space:nowrap;text-overflow:ellipsis;font:500 10px/1.2 system-ui,sans-serif;overflow:hidden}.wave-timeline__track{background:repeating-linear-gradient(90deg,#a3b6c644 0 1px,#0000 1px 25%) bottom/100% 3px no-repeat;border-bottom:1px solid #a3b6c655;height:28px;position:relative}.wave-timeline__label{align-items:center;gap:6px;display:flex}.wave-timeline__speed{width:18px;height:18px;color:var(--screen-accent,#73e6ba);pointer-events:auto;flex-shrink:0}.wave-timeline__speed svg{width:100%;height:100%;display:block}.wave-timeline__icon{color:#0b1220;background:var(--front-color);outline:1px solid var(--front-color);cursor:help;pointer-events:auto;border-radius:50%;place-items:center;width:20px;height:20px;font:700 8px/1 system-ui,sans-serif;display:grid;position:absolute;top:2px;transform:translate(-50%)}.wave-timeline__icon:before,.wave-timeline__icon:after{content:"";background:var(--front-color);pointer-events:none;position:absolute;top:24px}.wave-timeline__icon:before{left:calc(50% + var(--time-offset));width:2px;height:4px}.wave-timeline__icon:after{left:calc(50% + var(--link-left));width:var(--link-width);opacity:.6;height:1px}.wave-timeline__icon:hover{z-index:2;outline-width:2px}.wave-timeline__icon--boss{width:24px;height:24px;box-shadow:inset 0 -3px var(--front-color);border-radius:4px;outline:2px solid #f43f5e;font-size:9px;top:0}.wave-timeline__icon--boss:before,.wave-timeline__icon--boss:after{top:26px}.wave-timeline__badge{color:#e5f6ff;background:#0b1220;border-radius:6px;padding:0 2px;font:700 9px/11px system-ui,sans-serif;position:absolute;top:-3px;right:-6px}@media (max-width:600px){.wave-timeline{top:60px;left:var(--screen-gap);grid-template-columns:minmax(0,1fr);gap:14px;padding:0 12px}.wave-timeline__label,.wave-timeline__horizon{display:none}}.has-game-view .countdown-overlay{left:auto;right:calc(var(--screen-rail) + var(--screen-gap) * 2 + 8px);top:calc(var(--screen-gap) + 48px);border:1px solid #f59e0b;border-radius:6px;min-width:1.2em;padding:2px 5px;font-size:26px;transform:none}@media (max-width:600px){.has-game-view .countdown-overlay{top:108px}}.wave-timeline__badge:empty{display:none}.ready-stage{pointer-events:auto}.wave-timeline__picture{background-repeat:no-repeat;place-items:center;width:100%;height:100%;display:grid}.build-palette__paths{border:1px solid var(--screen-border);color:#b8d5df;background:#152437;border-radius:8px;flex:none;width:100%;padding:9px 12px}.build-palette__paths[aria-pressed=true],.main-menu__hardcore[aria-pressed=true]{color:#b1ffe8;background:#153c3d;border-color:#68efcf}.main-menu__hardcore{color:#c7e1ed;text-align:left;cursor:pointer;background:#1e293b;border:1px solid #537388;border-radius:8px;width:100%;margin-top:16px;padding:12px 16px;font-size:16px;font-weight:650;display:block}.menu-overlay,.end-overlay{z-index:20;background:#040a14bf;place-items:center;display:grid;position:fixed;inset:0}.menu-overlay[hidden],.end-overlay[hidden]{display:none}.main-menu,.end-screen{box-sizing:border-box;text-align:center;background:#0b1220;border:1px solid #3a7c91;border-radius:16px;width:min(940px,100vw - 36px);min-width:0;max-height:calc(100dvh - 112px);padding:24px;position:relative;top:auto;left:auto;overflow:auto;transform:none;box-shadow:0 24px 100px #0008}.main-menu__title{margin:0 0 20px;font-size:clamp(24px,3vw,36px)}.main-menu__subtitle{color:#a8becb;margin:0 0 20px}.main-menu__choices{flex-direction:row;justify-content:center;gap:16px;margin:24px 0;display:flex}.main-menu__choice{flex:1;max-width:360px}.main-menu button,.end-screen button{color:#e5f6ff;cursor:pointer;background:#1b3041;border:1px solid #718ca2;border-radius:8px;min-height:48px;padding:12px 20px;font:600 16px system-ui,sans-serif}.main-menu__choice button{text-align:center;width:100%;min-height:72px}.main-menu button[aria-pressed=true]{border:2px solid #facc15}.main-menu button:disabled,.end-screen button:disabled{opacity:.45;cursor:default;border-style:dashed}.main-menu button:focus-visible,.end-screen button:focus-visible,.main-menu input:focus-visible,.main-menu summary:focus-visible{outline-offset:4px;outline:3px solid #a5f3fc}.main-menu__hint{line-height:1.45}.main-menu__mode{max-width:620px;margin:20px auto}.main-menu__actions,.end-screen__actions{justify-content:center;gap:12px;margin-top:24px;display:flex}.main-menu__actions button:last-child,.end-screen__actions button:first-child{color:#0b1220;background:#a5f3fc}.mission-carousel{flex-direction:row;align-items:center;gap:12px;display:flex}.mission-carousel>button{flex:0 0 48px;padding:8px}.mission-carousel__cards{flex:1;gap:14px;min-width:0;display:flex}.main-menu .mission-card{text-align:left;border:2px solid #384e61;flex-direction:column;flex:1;gap:8px;min-width:0;padding:10px;display:flex}.mission-card strong{min-height:42px;line-height:1.3}.mission-card__preview{object-fit:contain;background:#101e2b;border-radius:4px;width:100%;height:138px}.mission-card__status{color:#a5f3fc;font-size:14px}.mission-card[data-locked=true] .mission-card__status{color:#f5c47c}.mission-card__hint{color:#acbdc9;min-height:34px;font-weight:400}.level-code{border:0;margin:0;padding:0}.level-code legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.level-code__slots{justify-content:center;gap:clamp(8px,3vw,28px);display:flex}.level-code__slot{flex-direction:column;align-items:center;gap:10px;display:flex}.level-code__step{width:88px}.level-code__symbol{padding:0;display:block}.level-code__icon,.code-image{background-color:#cbd5e1;background-repeat:no-repeat;border-radius:6px;width:88px;height:88px;display:block}.level-code__message{min-height:22px;margin:18px 0 8px}.level-code details{color:#acbdc9;font-size:13px}.level-code details button{margin-top:8px}.level-code summary{cursor:pointer}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.main-menu__room-label{justify-content:center;gap:12px;margin:32px 0 16px;display:grid}.main-menu__room-input{box-sizing:border-box;color:#e5f6ff;text-transform:uppercase;letter-spacing:.18em;background:#172536;border:1px solid #718ca2;border-radius:8px;width:240px;padding:16px;font:700 32px monospace}.main-menu__error{color:#ffc6b8;min-height:22px}.end-screen__title{color:#a5f3fc;margin:0 0 10px;font-size:36px}.end-screen[data-outcome=lost] .end-screen__title{color:#ffb1a2}.end-screen__subtitle{color:#acbdc9;margin:0 0 20px}.end-screen__stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;display:grid}.end-screen__stat{background:#142332;border:1px solid #31475a;border-radius:8px;flex-direction:column-reverse;gap:6px;padding:14px 8px;display:flex}.end-screen__stat dt{color:#acbdc9;font-size:13px}.end-screen__stat dd{margin:0;font-size:24px;font-weight:700}.end-screen__code{margin-top:20px}.end-screen__code h3{font-size:16px;font-weight:500}.end-screen__images{justify-content:center;gap:16px;display:flex}@media (max-width:700px){.main-menu,.end-screen{width:calc(100vw - 24px);padding:18px 14px}.mission-card:not([aria-pressed=true]){display:none}.main-menu__choices{gap:8px}.main-menu button,.end-screen button{padding:10px 12px}.main-menu__choices button{font-size:14px}.main-menu__actions,.end-screen__actions{flex-wrap:wrap;gap:8px}.end-screen__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.level-code__icon,.code-image{width:64px;height:64px}.level-code__step{width:64px}}@media (max-height:650px){.main-menu,.end-screen{padding:16px 20px}.main-menu__title{margin-bottom:12px;font-size:26px}.main-menu__actions,.end-screen__actions{margin-top:16px}.end-screen__stat{padding:8px}.end-screen__code{margin-top:12px}}.vr-entry{z-index:35}@media (max-height:650px){.end-screen__title{font-size:30px}.end-screen__subtitle{margin-bottom:14px}.end-screen__stat{padding:6px 8px}.end-screen__stat dd{font-size:22px}.end-screen__code h3{margin:8px 0}.end-screen__images .code-image{width:72px;height:72px}.end-screen__coop{margin:8px 0 0;font-size:13px;line-height:1.3}}
