#agentMapMinus:disabled,#agentMapPlus:disabled{opacity:.4;cursor:default}
#speedhuntPersonalAlert{top:280px!important}@media(max-width:0px){#speedhuntPersonalAlert{top:510px!important}}#msg{top:116px;max-width:calc(1920px - 36px);text-align:center}#speedhuntHud{top:158px!important}#missionList{max-height:245px;overflow:auto}@media(min-width:0px){#teamProgressHud{width:calc(1920px - 600px);max-width:620px}}@media(max-width:0px){#teamProgressHud{top:230px}#msg{top:340px}#speedhuntHud{top:385px!important}}

#testInvisibleBadge{
position:fixed;right:18px;top:12px;left:auto;transform:none;z-index:9999;
display:none;background:rgba(5,20,12,.90);border:1px solid #55ff8a;color:#55ff8a;
padding:5px 9px;border-radius:7px;font:800 11px Arial,sans-serif;
letter-spacing:.3px;pointer-events:none;white-space:nowrap
}

#globalAudioToggle{position:fixed;top:14px;right:18px;z-index:12000;display:grid;place-items:center;width:44px;height:44px;padding:9px;margin:0;border:1px solid #728d7d80;border-radius:12px;background:#10221feb;color:#ebdfb0;cursor:pointer;box-shadow:0 3px 16px #0004}#globalAudioToggle:hover{background:#244038}#globalAudioToggle:focus-visible{outline:2px solid #e4c573;outline-offset:3px}#globalAudioToggle[aria-pressed="true"]{color:#a3b5ad}#globalAudioToggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#minimapWrap{top:70px!important}
/* Include the canvas border in the right-anchored map's layout at every HUD scale. */
#agentMinimapFrame{position:relative;width:284px;height:284px}
#agentMinimap{box-sizing:border-box;width:100%!important;height:100%!important}
#agentMapPlus,#agentMapMinus{right:7px!important}

#globalSettingsToggle{position:fixed;top:14px;right:72px;z-index:12000;display:grid;place-items:center;width:44px;height:44px;padding:9px;margin:0;border:1px solid #728d7d80;border-radius:12px;background:#10221feb;color:#ebdfb0;cursor:pointer;box-shadow:0 3px 16px #0004}#globalSettingsToggle:hover{background:#244038}#globalSettingsToggle:focus-visible{outline:2px solid #e4c573;outline-offset:3px}#globalSettingsToggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#globalSettingsToggle[hidden],#onlineMenuFrame[hidden]{display:none!important}

#networkCountdown{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#05110cc9;text-align:center;pointer-events:none}#networkCountdown[hidden]{display:none}#networkCountdown span{display:block;font:800 18px system-ui;letter-spacing:4px;color:#e4c573}#networkCountdown strong{display:block;font:800 96px system-ui;color:#e7ede3;margin-top:16px}#networkCountdown[data-waiting="true"] strong{font-size:28px}

/* Agent identity accents retain the semantic mission and danger colors. */
.agent-hud-accent #hud,.agent-hud-accent #staminaHud,.agent-hud-accent #missionHud{border-left:3px solid var(--player-accent)!important}#staminaBar{background:#ffd84d!important}.agent-hud-accent #agentMinimap{border-color:var(--player-accent)!important}.agent-hud-accent #teamProgressHud{border-top:2px solid var(--player-accent)!important}
#roundChat{position:fixed;left:16px;bottom:64px;z-index:35;width:min(330px,calc(100vw - 32px));border-left:2px solid var(--player-accent,#7dbdff);border-radius:8px;padding:8px 10px;background:#081511c9;font:12px system-ui;color:white;max-height:38vh;overflow:hidden}.round-chat-heading{font-size:10px;letter-spacing:1px;color:#abbeb2;display:flex;align-items:center;gap:4px;margin-bottom:5px}.round-chat-heading button{border:0;background:#23372d;color:white;margin:0;padding:2px 7px}.round-chat-heading button:first-child{margin-left:auto}.round-chat-message{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.35;padding:3px 0;font-size:12px;color:white}.round-chat-message strong{font-weight:800}.round-chat-message span{color:#fff}.round-chat-message.system{font-size:11px}#roundChat form{display:flex;gap:5px;margin:6px 0 0;padding:0;background:none;border:0}#roundChat input{width:100%;min-width:0;color:white;background:#10291fe8;border:1px solid #587465;border-radius:5px;padding:6px;font:12px system-ui}#roundChat form button{margin:0;padding:5px 8px;font:11px system-ui;color:white;background:#203a2e;border:1px solid #587465;border-radius:5px}.round-chat-feedback{color:#ffd191;font-size:11px}#roundChat:not(:focus-within) form{opacity:.65}#roundChat:hover form{display:flex}
#networkAfkWarning{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:100;max-width:calc(100vw - 32px);padding:13px 20px;border:2px solid #ffbb43;border-radius:10px;background:#25190bf5;color:#ffe3a3;font:bold 15px system-ui;text-align:center;box-shadow:0 0 25px #e9892633}#networkKickNotice{position:fixed;inset:0;z-index:11500;display:grid;place-items:center;background:#04100ded;color:#fff;font:16px system-ui}#networkKickNotice>div{max-width:480px;margin:20px;padding:28px;border:1px solid #dca54a;border-radius:16px;background:#10251e}#networkKickNotice button{padding:12px;background:#e4c573;border:0;border-radius:7px;font-weight:800}
#networkAfkWarning[hidden],#roundChat[hidden]{display:none!important}

.round-chat-message{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}.round-chat-detail{width:min(420px,calc(100vw - 32px));background:#10251e;color:white;border:1px solid #e4c573;border-radius:12px;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere}.round-chat-detail::backdrop{background:#0007}.round-chat-detail button{background:#e4c573;border:0;border-radius:5px;padding:8px 14px}#roundChat{max-height:none}

#playerTeamBadge{position:fixed;left:16px;top:12px;z-index:24;display:flex;gap:8px;align-items:center;padding:4px 9px 4px 4px;background:#091713ed;border:1px solid #7dbdff88;border-radius:10px;pointer-events:none;height:52px;min-width:160px}#playerTeamBadge img{width:46px;height:46px;object-fit:contain}#playerTeamBadge small{display:block;font:800 10px system-ui;letter-spacing:2px;color:#7dbdff}#playerTeamBadge strong{font:800 16px system-ui;color:#cde6ff}#playerTeamBadge[data-team="guard"]{border-color:#ff8c8c88}#playerTeamBadge[data-team="guard"] small{color:#ff8c8c}#playerTeamBadge[data-team="guard"] strong{color:#ffcbcb}#playerTeamBadge[hidden]{display:none!important}body:has(#playerTeamBadge:not([hidden])) #hud{top:70px!important}

body:has(#playerTeamBadge:not([hidden])) #staminaHud{top:154px!important}body:has(#playerTeamBadge:not([hidden])) #prisonHud{top:224px!important}
#playerTeamBadge{box-sizing:border-box}#playerTeamBadge img{width:42px;height:42px}

#resultReturnCountdown{margin:4px 0;color:#ead081;font-weight:700;font-size:16px;}

.streamer-mode #roundChat:not(.streamer-chat-visible) .round-chat-message:not(.system),.streamer-mode #roundChat:not(.streamer-chat-visible) form{display:none!important;}

/* Keep the personal cooldown above the chat, alongside the other player statuses. */
body:has(#roundChat:not([hidden])) #missionCooldownHud{top:max(270px,calc(224px + var(--prison-hud-height,0px) + 14px))!important;bottom:auto!important;left:16px!important;width:250px!important;box-sizing:border-box;border-left:3px solid var(--player-accent,#ffd84d)!important}

/* Round controls share the minimap's scaled coordinate system. */
#globalAudioToggle.round-control,#globalSettingsToggle.round-control{width:36px;height:36px;padding:7px;box-sizing:border-box;border-radius:10px;}
#globalSettingsToggle.round-control{right:62px;}
#globalAudioToggle.round-control svg,#globalSettingsToggle.round-control svg{width:20px;height:20px;}
:is(#agentAbilityBar,#guardAbilityBar){position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:28;color:#edf3e9;font-family:system-ui;pointer-events:auto;text-align:center}:is(#agentAbilityBar,#guardAbilityBar)[hidden]{display:none}.ability-slots{display:flex;gap:7px;padding:7px;border:1px solid #79988b66;background:#091b17ec;border-radius:17px;box-shadow:0 6px 20px #0006}.ability-slot{position:relative;width:69px;height:79px;padding:7px 4px 4px;border:1px solid #6a91816b;border-radius:11px;background:linear-gradient(145deg,#294338,#122820);color:#e7eddf;display:flex;align-items:center;flex-direction:column;justify-content:center;cursor:pointer}.ability-slot kbd{position:absolute;left:5px;top:3px;font:bold 11px system-ui;color:#e6c975}.ability-slot svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.ability-label{font-size:10px;font-weight:800;margin-top:3px}.ability-slot small{font-size:10px;color:#d6c98f}.ability-slot:disabled{opacity:.45;cursor:default}.ability-slot.selected,.ability-slot:not(:disabled):hover{border-color:#edcf7b;box-shadow:inset 0 0 0 1px #edcf7b;background:#3d4b30}.ability-lock{font-size:24px;color:#768c80}.ability-help{font-size:11px;text-shadow:0 1px 3px #000;background:#091b17c9;border-radius:0 0 10px 10px;padding:4px 9px;margin:0 12px}

/* Mission checklist follows the chat's actual height in the scaled game HUD. */
#missionHud{width:330px!important;min-width:0!important;box-sizing:border-box;padding:10px 12px!important;border-radius:12px!important;background:linear-gradient(145deg,#10231ff5,#07120ff0)!important;box-shadow:0 5px 18px #0004;pointer-events:none}
#missionHud .pro-kicker{font-size:9px;letter-spacing:1.8px;color:#a1b5aa}
#missionHud .mission-overview-heading{display:flex;align-items:center;justify-content:space-between;margin-top:5px!important;font:800 12px system-ui}
.mission-overview-heading>span{font:800 11px system-ui;color:#94e6b7;background:#254337;border-radius:6px;padding:2px 7px}
#missionList{margin-top:7px!important;line-height:1.2!important;max-height:none!important;overflow:visible!important}
.mission-overview-progress{height:3px;border-radius:4px;background:#34443b;margin-bottom:7px;overflow:hidden}.mission-overview-progress i{display:block;height:100%;background:#6ee7a0;transition:width .25s}
.mission-overview-row{display:flex;align-items:center;gap:7px;min-height:24px;padding:2px 6px;box-sizing:border-box;border-radius:5px;color:#e0e8e3;margin-top:2px;font:600 11px system-ui}
.mission-overview-icon{display:grid;place-items:center;width:17px;height:17px;flex-shrink:0;border:1px solid #698075;border-radius:50%;color:#b8c9c0;font-weight:900}
.mission-overview-name{flex:1;min-width:0}.mission-overview-row small{font:700 8px system-ui;letter-spacing:.5px;color:#a0b3a7}
.mission-overview-row.completed{background:#254e383f;color:#b0e8c3}.mission-overview-row.completed .mission-overview-icon{background:#70e59d;border-color:#70e59d;color:#072818}.mission-overview-row.completed small{color:#86e7ac}.mission-overview-row.locked{opacity:.5}
.mission-overview-extraction{margin-top:7px;padding:5px;border-radius:5px;background:#264d36;color:#93f0b5;font:800 10px system-ui;text-align:center}
#roundChat{box-sizing:border-box;min-height:140px;display:flex;flex-direction:column}
#roundChat form[hidden]{display:none!important}
#missionCooldownHud{display:none!important}
#roundHudLayer{position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none;z-index:35}
#roundHudLayer #roundChat,#roundHudLayer #minimapWrap,#roundHudLayer :is(#agentAbilityBar,#guardAbilityBar),#roundHudLayer #globalAudioToggle,#roundHudLayer #globalSettingsToggle,#roundHudLayer #spectatorStatusCard{pointer-events:auto}
#roundHudLayer #teamProgressHud{width:min(620px,calc(var(--hud-width,1920px) - 748px))!important}
#roundHudLayer #msg{max-width:calc(100% - 36px)}
body.spectator-view #gameStage>#roundHudLayer{visibility:visible!important}
body.spectator-view #roundHudLayer>:is(#agentAbilityBar,#guardAbilityBar){visibility:hidden!important;pointer-events:none!important}
body.network-film #roundHudLayer{display:none}
body #roundChat.outro-chat{position:fixed;z-index:102;bottom:86px!important;transform:scale(var(--outro-chat-scale,1));transform-origin:bottom right;pointer-events:auto;isolation:isolate}
#roundChat.outro-chat::before{content:"";position:absolute;inset:0;border:8px solid transparent;border-image:url("assets/hud-panel-132.webp") 44 fill / 8px stretch;z-index:-1;pointer-events:none}
body #roundChat.outro-chat{border:0;background:transparent;box-shadow:none}
body.network-film #gameStage>:not(#gameMenu):not(#overlay):not(#roundHudLayer){visibility:visible!important}
.round-chat-history{flex:1}

/* Large prisoner rosters and expanded chat share the available left HUD space. */
#roundChat:focus-within .round-chat-message{-webkit-line-clamp:2}
/* At 150%, prisoners use small portraits and adjacent names, preserving mission space. */

/* AFK warnings must remain above pause/settings and mission overlays. */
/* Five-second extraction announcement, above the center of the scaled game view. */
#extractionReadyNotice{position:absolute;left:50%;top:36%;transform:translate(-50%,-50%);z-index:350;display:flex;align-items:center;gap:22px;width:max-content;max-width:calc(100% - 48px);box-sizing:border-box;padding:25px 36px;border:3px solid #6dff9a;border-radius:20px;background:#062c20f5;color:#baffce;box-shadow:0 0 35px #3eff8180,0 12px 40px #0009;pointer-events:none;animation:extraction-ready-blink .9s ease-in-out infinite}
#extractionReadyNotice[hidden]{display:none!important}
#extractionReadyNotice strong{display:block;font:950 34px system-ui;letter-spacing:2px;color:#91ffb2;text-shadow:0 0 16px #54ff9199}
#extractionReadyNotice p{margin:8px 0 0;font:600 17px system-ui;color:#dcffe6}
.extraction-ready-icon{display:grid;place-items:center;flex-shrink:0;width:58px;height:58px;border:3px solid #7dffa7;border-radius:50%;background:#31bd5e36;font:900 38px system-ui;color:#a3ffc0}
@keyframes extraction-ready-blink{0%,100%{opacity:1;box-shadow:0 0 42px #3eff81a0,0 12px 40px #0009}50%{opacity:.45;box-shadow:0 0 12px #3eff8140,0 12px 40px #0009}}
#networkAfkWarning{top:clamp(100px,14vh,190px);bottom:auto;z-index:13000;display:flex;align-items:center;gap:16px;width:max-content;max-width:calc(100vw - 40px);box-sizing:border-box;padding:16px 22px;text-align:left;background:#25190bf7;box-shadow:0 0 0 5px #ffbb4326,0 10px 35px #0009;border-radius:14px}
#networkAfkWarning .afk-countdown{flex-shrink:0;display:grid;place-items:center;width:58px;height:58px;box-sizing:border-box;border-radius:50%;background:conic-gradient(#ffca69 calc(var(--afk-progress,1)*360deg),#624625 0);position:relative}
#networkAfkWarning .afk-countdown:before{content:'';position:absolute;inset:4px;border-radius:50%;background:#25190b}
#networkAfkWarning strong{position:relative;font:900 26px system-ui;font-variant-numeric:tabular-nums;color:#ffe3a3}
#networkAfkWarning b{font:900 16px system-ui;color:#ffe3a3}#networkAfkWarning p{margin:5px 0 0;font:13px system-ui;color:#ffe8c4;max-width:390px}

#guardAbilityBar .ability-slots{border-color:#dcb97677;background:#171e22ee}#guardAbilityBar .scan-active{opacity:1;border-color:#ff5360;background:#4a252ce8;box-shadow:inset 0 0 0 1px #ff5360;color:#ffb2b8}

/* Fixed mission shape, compact custody summary, chat on the opposite side. */
#roundChat{left:auto!important;right:16px!important;bottom:18px!important}
#missionHud{left:16px!important;top:auto!important;bottom:18px!important}
#prisonHud.prison-summary{box-sizing:border-box;width:330px;max-width:min(330px,calc(var(--hud-width,1920px) - 32px))!important;padding:9px 10px!important}
.prison-summary-heading{font:700 11px/16px system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prison-summary-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 7px;margin-top:7px}
.prison-summary-person{display:flex;align-items:center;gap:7px;min-width:0;height:36px;padding:1px 5px;border-radius:6px;background:#17342888;font:600 11px/16px system-ui;color:#d9e7df}
.prison-summary-person .prison-summary-face{width:32px;height:32px;flex:0 0 32px;object-fit:contain;display:block;background:#10242b;border:1px solid #65cfff33;border-radius:6px;cursor:default}
.prison-summary-person span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

#gameStage #roundHudLayer #missionCooldownHud{left:50%!important;top:160px!important;bottom:auto!important;width:300px!important;transform:translateX(-50%)!important}

.ability-slot.boost-active{opacity:1;border-color:#ffd84d;box-shadow:inset 0 0 0 1px #ffd84d;background:#495024;color:#fff3ae}

#spectatorStatusHint{margin-top:10px;max-width:400px;font:600 12px/1.5 system-ui;color:#e8d798}#spectatorStatusHint[hidden]{display:none}

.report-portrait{width:34px;height:42px;object-fit:contain;flex-shrink:0;display:block}

/* v126: generated brass / forest-green skill artwork. */
:is(#agentAbilityBar,#guardAbilityBar){width:422px;max-width:calc(100% - 32px);padding:14px 15px 9px;background:url("assets/skill-bar.webp") center/100% 100% no-repeat;box-sizing:border-box;isolation:isolate}
:is(#agentAbilityBar,#guardAbilityBar) .ability-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
:is(#agentAbilityBar,#guardAbilityBar) .ability-slot{width:100%;height:auto;aspect-ratio:1;padding:0;border:0;border-radius:7px;background:#10231c;color:#fff4d6;overflow:hidden;display:block;isolation:isolate;box-shadow:0 2px 5px #0007;opacity:1}
.skill-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;transition:filter .16s linear}
.ability-slot.is-depleted .skill-art,.ability-slot.is-cooldown .skill-art{filter:grayscale(1) brightness(.47)}
:is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled{opacity:1;cursor:default}
:is(#agentAbilityBar,#guardAbilityBar) .ability-slot kbd{z-index:5;left:5px;top:4px;min-width:13px;padding:1px 3px;border-radius:3px;background:#081713ed;color:#ffe19a;font:800 11px system-ui;box-shadow:0 1px 2px #000}
.skill-caption{position:absolute;bottom:3px;left:4px;right:4px;z-index:4;border-radius:3px;background:#081411e8;pointer-events:none;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:1px 0}
:is(#agentAbilityBar,#guardAbilityBar) .ability-label{font:800 10px/12px system-ui;margin:0;color:#fff2cf;letter-spacing:.3px}
:is(#agentAbilityBar,#guardAbilityBar) .ability-slot small{font:700 9px/11px system-ui;color:#e4cf94}
.skill-cooldown-fill{display:none;position:absolute;inset:3px;border-radius:4px;background:linear-gradient(to top,#d3a63f75,#efce7770);border-top:2px solid #ffe39d;transform:scaleY(var(--skill-fill,0));transform-origin:bottom;transition:transform .08s linear;pointer-events:none;z-index:2}
.is-cooldown .skill-cooldown-fill{display:block}
.skill-countdown{display:none;position:absolute;z-index:3;left:0;right:0;top:13px;color:#fff4d0;font:900 29px/34px system-ui;text-shadow:0 2px 3px #000,0 0 6px #000;pointer-events:none}
.has-countdown .skill-countdown{display:block}
:is(#agentAbilityBar,#guardAbilityBar) .ability-lock{position:absolute;inset:8px 0 23px;font:300 28px system-ui;color:#7a8c78}
:is(#agentAbilityBar,#guardAbilityBar) .ability-slot.selected,:is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:disabled):hover,:is(#agentAbilityBar,#guardAbilityBar) .ability-slot:focus-visible{outline:2px solid #ffe28d;outline-offset:1px;box-shadow:0 0 8px #e4bb5477}
:is(#agentAbilityBar,#guardAbilityBar) .ability-slot.boost-active,:is(#agentAbilityBar,#guardAbilityBar) .ability-slot.scan-active{box-shadow:0 0 9px #e7c564;outline:1px solid #ffe7a1}
:is(#agentAbilityBar,#guardAbilityBar) .ability-help{font:600 10px/13px system-ui;margin:6px 0 0;padding:1px 2px;background:#091a15e8;border-radius:4px;color:#e2d7b4;min-height:13px;white-space:nowrap}

:is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:has(.skill-art)){background:transparent;box-shadow:none}

/* v127: stamina fills the lower brass recess, skill cooldowns stay on buttons. */
#staminaHud{display:none!important}
#roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) #staminaHud{display:block!important;position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;height:15px;margin:6px 0 0;padding:0!important;border:0!important;border-radius:4px;background:#14251e!important;overflow:hidden;box-shadow:inset 0 1px 4px #0009}
#roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) #staminaHud>div:first-child{position:absolute;inset:0;z-index:2;margin:0!important;font:800 9px/15px system-ui!important;color:#fff3cc;text-shadow:0 1px 2px #000,0 0 3px #000;pointer-events:none}
#roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) #staminaHud>div:last-child{height:100%!important;border-radius:0!important;background:transparent!important}
#staminaBar{transition:width .08s linear;background:linear-gradient(90deg,#9b781d,#efc949)!important}
:is(#agentAbilityBar,#guardAbilityBar) .ability-help{display:none}
#agentAbilityBar.is-aiming .ability-help{display:block;position:absolute;bottom:calc(100% + 5px);left:0;right:0;margin:0;padding:4px 8px;border:1px solid #d5bd74}


/* v129: subtle grey recharge with a pale upper edge, visible below the caption. */
.skill-cooldown-fill{background:linear-gradient(to top,#a8a8a89e,#bebebea6);border-top:0}
.skill-cooldown-edge{display:none;position:absolute;inset:3px;z-index:6;pointer-events:none;transform:translateY(calc((1 - var(--skill-fill,0)) * 100%));transition:transform .08s linear}
.is-cooldown .skill-cooldown-edge{display:block}
.skill-cooldown-edge::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;border-radius:2px;background:#bdc5bf;box-shadow:0 0 2px #aeb8ae50}
.is-cooldown .skill-caption{background:#08141180;text-shadow:0 1px 2px #000,0 0 3px #000}

/* v131: chat audience controls share the existing heading without changing panel size. */
.round-chat-channels{display:flex;align-items:center;gap:3px;margin-left:auto;letter-spacing:0}
.round-chat-channels[hidden]{display:none}
#roundChat .round-chat-channels button{margin:0;padding:2px 5px;border-radius:4px;font:800 9px/13px system-ui;background:#263930;color:#b5c5ba;border:1px solid transparent}
#roundChat .round-chat-channels button[aria-pressed="true"]{color:#fff1c9;background:#5a5030;border-color:#c3ad6a}
.round-chat-tab-hint{font:600 8px system-ui;letter-spacing:0;color:#93a69a;margin:0 3px}
#roundChat .round-chat-heading>button{margin-left:0}

/* v132: generated HUD art, live values and maps remain independent. */
#globalAudioToggle,#globalSettingsToggle,#globalAudioToggle.round-control,#globalSettingsToggle.round-control{top:14px!important;right:auto!important;width:44px;height:44px;padding:0;border:0;background:transparent!important;border-radius:8px;box-shadow:0 2px 7px #0006}
#globalSettingsToggle,#globalSettingsToggle.round-control{left:14px!important}
#globalAudioToggle,#globalAudioToggle.round-control{left:66px!important}
#globalAudioToggle img,#globalSettingsToggle img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
#globalAudioToggle:hover,#globalSettingsToggle:hover{filter:brightness(1.15)}
#globalSettingsToggle:focus-visible{outline:2px solid #e4c573;outline-offset:3px}
#gameStage #roundHudLayer #playerTeamBadge{top:70px!important}
#gameStage #roundHudLayer #hud{top:132px!important}
#gameStage #roundHudLayer #prisonHud{top:224px!important}
body.spectator-view #gameStage #roundHudLayer>:is(#globalAudioToggle,#globalSettingsToggle,#performanceHud){visibility:visible!important;pointer-events:auto!important}
#gameStage #roundHudLayer #minimapWrap{top:12px!important;right:12px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none}
#agentMinimapFrame::after{content:"";position:absolute;inset:0;background:url("assets/hud-map-circle-132.webp") center/100% 100% no-repeat;pointer-events:none;z-index:1}
#gameStage #roundHudLayer #agentMinimap{position:absolute;inset:13px;box-sizing:border-box;width:calc(100% - 26px)!important;height:calc(100% - 26px)!important;border:0!important;border-radius:50%}
#agentMapPlus,#agentMapMinus{width:28px!important;height:28px!important;padding:0!important;border:0!important;background:transparent!important;right:5px!important;z-index:3!important;box-shadow:0 1px 4px #0008}
#agentMapPlus{top:108px!important}#agentMapMinus{top:143px!important}
#agentMapPlus img,#agentMapMinus img{display:block;width:100%;height:100%;pointer-events:none}
#hunterMinimapPanel{position:relative;padding:12px 10px;isolation:isolate}
#hunterMinimapPanel::before,#roundHudLayer :is(#hud,#prisonHud,#missionHud,#roundChat,#playerTeamBadge,#spectatorStatusCard,#captureHud,#rescueHud,#speedhuntHud,#speedhuntPersonalAlert,#eliminationAlert,#performanceHud,#teamProgressHud)::before{content:"";position:absolute;inset:0;border:8px solid transparent;border-image:url("assets/hud-panel-132.webp") 44 fill / 8px stretch;z-index:-1;pointer-events:none}
#roundHudLayer :is(#hud,#prisonHud,#missionHud,#roundChat,#playerTeamBadge,#spectatorStatusCard,#captureHud,#rescueHud,#speedhuntHud,#speedhuntPersonalAlert,#eliminationAlert,#performanceHud,#teamProgressHud){isolation:isolate;border:0!important;background:transparent!important;box-shadow:none!important}
#roundHudLayer #teamProgressHud{border:0!important;background:url("assets/hud-progress-132.webp") center/100% 100% no-repeat!important;padding:12px 16px!important;box-shadow:none;min-height:106px}
#teamProgressHud>div:first-child{margin-bottom:10px!important;color:#eee0b6!important}
#teamProgressTitle{color:#e7d49d}
#teamProgressBar{height:22px!important;border:0!important;background:#05100fcc!important;box-shadow:inset 0 2px 5px #0009;margin:0 3px;border-radius:12px;overflow:hidden}
#teamProgressHud>div:nth-child(3){margin-top:10px!important;font-size:9px!important;color:#dfdec6!important}

#roundHudLayer #missionHud .pro-kicker,#roundHudLayer .round-chat-heading{color:#d3c69f}
#roundHudLayer #prisonHud{padding:8px 10px!important}
#performanceHud{right:366px!important}

#roundHudLayer #teamProgressHud{background:transparent!important;min-height:106px}
#teamProgressBar{height:24px!important;padding:4px 6px;box-sizing:border-box;background:url("assets/hud-progress-trough-132.webp") center/100% 100% no-repeat!important;box-shadow:none;border-radius:14px}
#teamProgressHud>div:nth-child(3){margin-top:7px!important}
#roundHudLayer #performanceHud{left:124px!important;right:auto!important;top:14px!important;padding:6px 9px!important}


#miniGameHud>div:first-child{position:relative;isolation:isolate;background:transparent!important;border:0!important}
#miniGameHud>div:first-child::before{content:"";position:absolute;inset:0;border:10px solid transparent;border-image:url("assets/hud-panel-132.webp") 44 fill / 10px stretch;z-index:-1;pointer-events:none}

/* v133: leave room for the global controls in the menu navigation row. */
#gameMenu .menu-backbar{box-sizing:border-box;padding-left:calc(160px / var(--menu-zoom,1))}

/* v134: half-size global controls and a clear menu language corner. */
#globalAudioToggle,#globalSettingsToggle,#globalAudioToggle.round-control,#globalSettingsToggle.round-control{width:22px!important;height:22px!important;border-radius:4px}
#globalAudioToggle,#globalAudioToggle.round-control{left:44px!important}
#roundHudLayer #performanceHud{left:80px!important}
#gameMenu .menu-backbar{padding-left:calc(96px / var(--menu-zoom,1))}
#gameMenu .menu-topbar{right:0!important}
#gameMenu[data-screen="home"] .menu-shell>.menu-field:has(#menuLanguage){position:absolute;top:24px;right:0;width:240px;max-width:30%;margin:0!important;z-index:2}
#gameMenu[data-screen="home"] .menu-shell>.menu-field:has(#menuLanguage) label{font-size:10px}

/* Status notices follow the actual progress panel height, including extraction readiness. */
#gameStage #roundHudLayer #msg{top:calc(12px + var(--team-progress-hud-height,106px) + 10px)!important}
#gameStage #roundHudLayer #speedhuntHud{top:calc(12px + var(--team-progress-hud-height,106px) + 48px)!important}
#gameStage #roundHudLayer #speedhuntPersonalAlert{top:calc(12px + var(--team-progress-hud-height,106px) + 162px)!important}

#gameStage #roundHudLayer #msg{max-width:min(620px,calc(var(--hud-width,1920px) - 748px))!important}
#gameStage #roundHudLayer #speedhuntHud{top:calc(28px + var(--team-progress-hud-height,30px) + var(--round-message-height,18px))!important}
#gameStage #roundHudLayer #speedhuntPersonalAlert{top:max(286px,calc(144px + var(--team-progress-hud-height,106px) + var(--round-message-height,18px)))!important}

#filmPreferenceButton{top:64px!important}


/* Shared hover details stay readable above ready, cooling and depleted slots. */
#skillTooltip{position:fixed;z-index:16000;box-sizing:border-box;padding:12px 14px;border:1px solid #a99360;border-radius:9px;background:#0b1c17f7;color:#e8eee1;box-shadow:0 8px 24px #0009;line-height:1.4;pointer-events:none}
#skillTooltip[hidden]{display:none!important}
#skillTooltip strong{display:block;color:#f3d88e;font-size:1.08em}
#skillTooltip p{margin:7px 0}
#skillTooltip small{display:block;color:#c6d3c6;font-size:.95em}
#gameMenu #menuHowTo{text-align:center;margin:0;background:#142c25;border-color:#b29c6355}
.howto-screen{max-width:1100px;margin:16px auto 0;color:#e5ede3;font:14px/1.5 system-ui}
.howto-heading>span{font:800 11px system-ui;letter-spacing:3px;color:#d9bd79}
.howto-heading h1{font:850 36px/1.1 system-ui;margin:9px 0 12px}
.howto-heading p{max-width:760px;color:#b5c7bb;margin:0 0 22px}
.howto-teams,.howto-skills>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.howto-team{padding:20px;border-top:2px solid #7ebaff}
.howto-team.guards{border-top-color:#ff9296}
.howto-team p{margin:14px 0 8px}.howto-team small{color:#b2c5b6;font-size:12px}
.howto-controls{margin:18px 0;padding:18px 20px}.howto-controls h2,.howto-skills h2{font:800 14px system-ui;letter-spacing:1px;margin:0 0 14px;color:#d9c894}
.howto-controls>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.howto-controls>div>div{display:flex;flex-direction:column;gap:6px;align-items:flex-start;font-size:12px;color:#bccdc0}
.howto-screen kbd{display:inline-block;padding:3px 7px;border:1px solid #8b9f8055;border-radius:5px;background:#13291f;font:800 11px system-ui;color:#f4d994;white-space:nowrap}
.howto-skills h3{margin:0 0 8px;font:800 12px system-ui;letter-spacing:1px;color:#99c7ef}.howto-skills>div>section:last-child h3{color:#edaaad}
.howto-skill{display:flex;gap:12px;padding:12px;background:#0b1c17e8;border:1px solid #a08d573b;border-radius:9px;margin-bottom:8px}
.howto-skill>img{width:52px;height:52px;object-fit:cover;border:1px solid #a8946355;border-radius:6px;flex-shrink:0}
.howto-skill header{display:flex;gap:8px;align-items:center}.howto-skill strong{font-size:14px;color:#f0dfb4}
.howto-skill p{font-size:12px;margin:6px 0;color:#c2d0c5}.howto-skill small{font-size:11px;color:#dcc489}
.howto-footnote{font-size:12px;color:#a5bcad;margin:14px 0}
@media(max-width:900px){.howto-teams,.howto-skills>div{grid-template-columns:minmax(0,1fr)}.howto-controls>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
#gameMenu[data-screen="howto"]{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a99360 #0b1c17}

/* Equal spacing between menu actions; streamer state matches MP readiness. */
#gameMenu .home-actions{display:grid;gap:10px}
#gameMenu .home-actions>.menu-button{margin:0}
#gameMenu .home-actions>.home-secondary{margin:0}
#gameMenu .home-actions>#streamerInfo{margin:-4px 0 0}
#gameMenu #menuStreamer{display:flex;align-items:center;justify-content:center;gap:9px;margin:0;border-radius:12px;transition:background .18s,border-color .18s,box-shadow .18s}
#gameMenu #menuStreamer::before{content:"";display:inline-grid;place-items:center;width:20px;height:20px;flex:0 0 20px;border:1.5px solid #8fa69a;border-radius:50%;box-sizing:border-box}
#gameMenu #menuStreamer[aria-pressed="true"]{color:#d8ffe5;border-color:#65db96;background:linear-gradient(135deg,#245d40,#153d2d);box-shadow:inset 0 1px #b5ffd52b,0 0 14px #4ed68a20}
#gameMenu #menuStreamer[aria-pressed="true"]::before{content:"✓";color:#103622;background:#7ceca7;border-color:#a9f8c5;font-size:14px;font-weight:900}

/* Generated v148 artwork: stretch edges, keep all live text and data in HTML. */
#gameMenu :is(.menu-button,#homeAccount button),.result-menu-links button,#gameStage .operation-report #resultAction{border:1px solid transparent;border-image:url("assets/menu-button-148.webp") 48 fill / 7px stretch;background:transparent;border-radius:0;color:#eadfbd}
#gameMenu .menu-button.primary,#gameMenu #homeAccount button.gold,#gameStage .operation-report #resultAction{color:#ffe3a0;box-shadow:0 0 12px #e9c97322}
#gameMenu .menu-button:not(:disabled):hover,.result-menu-links button:hover{filter:brightness(1.16)}
#gameMenu #menuStreamer[aria-pressed="true"]{border-image:url("assets/menu-button-148.webp") 48 / 7px stretch;background:linear-gradient(135deg,#245b60,#10363d);color:#e0fff5;box-shadow:inset 0 1px #a6eee72b,0 0 16px #56bdbd33}
#gameMenu #menuStreamer[aria-pressed="true"]::before{color:#123b3c;background:#94ddcd;border-color:#b8eadc}

/* Shared compact navigation order: back, settings, audio. */
#globalBackToggle{position:fixed;left:14px;top:14px;z-index:12000;display:grid;place-items:center;box-sizing:border-box;width:22px;height:22px;margin:0;padding:0;border:1px solid transparent;border-image:url('assets/menu-button-148.webp') 48 fill / 3px stretch;color:#eadfbd;font:900 15px/1 system-ui;cursor:pointer}
#globalBackToggle[hidden]{display:none!important}
#globalBackToggle:focus-visible{outline:2px solid #e4c573;outline-offset:3px}
#globalSettingsToggle,#globalSettingsToggle.round-control{left:44px!important;right:auto!important}
#globalAudioToggle,#globalAudioToggle.round-control{left:74px!important;right:auto!important}
#roundHudLayer #performanceHud{left:110px!important}
#gameMenu #menuBack{display:none!important}
#gameMenu :is(.menu-panel,#homeAccount,.howto-skill){isolation:isolate;background:transparent;border-color:transparent;border-radius:0}
#gameMenu :is(.menu-panel,#homeAccount,.howto-skill)::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid transparent;border-image:url("assets/scoreboard-frame-148.webp") 64 fill / 10px stretch;pointer-events:none}
#gameMenu .howto-skill{padding:14px}
#gameStage .operation-report #card{position:relative;isolation:isolate;border-color:transparent;background:transparent;border-radius:0;padding:30px}
#gameStage .operation-report #card::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid transparent;border-image:url("assets/scoreboard-frame-148.webp") 64 fill / 24px stretch;pointer-events:none}
#gameStage .report-team{position:relative;isolation:isolate;background:transparent;border-color:transparent;border-radius:0}
#gameStage .report-team::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid transparent;border-image:url("assets/scoreboard-frame-148.webp") 64 fill / 12px stretch;pointer-events:none}
#gameStage .report-team-heading{padding-bottom:12px;border-bottom:1px solid #7192a644}
#gameStage .report-team:has(.team-red) .report-team-heading{border-bottom-color:#a4717544}
#gameStage .report-team-heading .report-team-emblem{width:64px;height:64px;object-fit:contain;flex:0 0 64px;filter:drop-shadow(0 0 6px #0009)}
#gameStage .report-team-status{border:1px solid transparent;border-image:url("assets/status-plaque-148.webp") 48 fill / 5px stretch;background:transparent;border-radius:0;color:#bdc5bc;padding:8px 12px}
#gameStage .report-winner .report-team-status{color:#ffe3a0}
#extractionReadyNotice{border-image:url("assets/status-plaque-148.webp") 48 fill / 12px stretch;border-radius:0;background:transparent}
#gameMenu kbd,#roundHudLayer .ability-slot kbd{border:1px solid transparent;border-image:url("assets/keycap-148.webp") 32 fill / 3px stretch;background:transparent;border-radius:0;box-shadow:none;color:#f5deb0}
#gameMenu :is(.menu-panel,.howto-skill){position:relative}
@media(max-width:1099px){#gameMenu #homeAccount{position:relative}}

#gameStage .operation-report .result-menu-links button{border:1px solid #73899588;border-image:none;background:linear-gradient(#344650,#22313b);border-radius:6px;color:#e4edf0;box-shadow:inset 0 1px #ffffff12}
#gameStage .operation-report #card{padding:36px 48px;border:1px solid #647884;border-radius:10px;background:#101e28;box-shadow:0 24px 80px #000b}
body #gameStage #overlay.operation-report #card::before{border:1px solid #647884!important;border-image:none!important;border-radius:9px;background:linear-gradient(#10202a40,#09141d70),url('assets/result-metal-575.png') center/100% 100%!important;opacity:.95}
#gameStage .operation-report #result{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:20px;margin-left:0;margin-bottom:22px}
#gameStage .operation-report #result .report-victory-banner{justify-self:center;grid-column:1}
#gameStage .operation-report #result .report-victory-banner.is-fire{grid-column:2}
.report-victory-banner{--team-glow:#82d7ed;display:inline-flex;align-items:center;gap:18px;min-height:78px;padding:8px 32px 8px 15px;border:1px solid var(--team-glow);border-radius:4px;background:linear-gradient(155deg,#304b5c,#122431 75%);box-shadow:inset 0 1px #e9d49b77,0 0 24px #5ac5ec20;color:#e5f7ff;font:900 30px system-ui;letter-spacing:1px}
.report-victory-banner.is-fire{--team-glow:#d8897b;background:linear-gradient(155deg,#52373b,#261f28 75%);color:#ffe6df}
.report-victory-banner img{width:66px;height:66px;object-fit:contain;filter:drop-shadow(0 0 7px #7bd6ff44)}
.report-victory-subtitle{color:#aebfc9;font:700 15px system-ui;letter-spacing:1.6px}
#gameStage .operation-report .report-kicker{color:#8da5b4;margin-bottom:16px}
#gameStage .operation-report .report-summary{padding:18px 0;border-color:#8399aa35}
#gameStage .operation-report .report-summary strong{color:#e7cd8c}
#gameStage .operation-report .report-team{padding:18px;border:1px solid #68839c88;border-radius:7px;background:linear-gradient(145deg,#1c3444ef,#101f2bed);box-shadow:inset 0 1px #b6d9ef17}
#gameStage .operation-report .report-team:has(.team-red){border-color:#b06a6b88;background:linear-gradient(145deg,#352a34ef,#161e29ed)}
#gameStage .operation-report .report-team.report-winner{border-top:3px solid #dfc789}
#gameStage .operation-report .report-team::before{content:none;border-image:none}
#gameStage .operation-report .report-team-status{border:1px solid #78899566;border-image:none;border-radius:4px;background:#15232d;color:#b4c1c9}
#gameStage .operation-report .report-winner .report-team-status{border-color:#e2c98977;background:#dfc78516;color:#f5d88e}
#gameStage .operation-report .report-table th{color:#b0c3d0}
#gameStage .operation-report .report-footnote{color:#9fb2be;line-height:1.55}
#extractionReadyNotice{outline:2px solid #6dff9a;outline-offset:-5px}

.radio-receive-title{font-weight:800;font-size:13px;letter-spacing:1px}
.radio-signal-wave{width:100%;height:26px;display:flex;gap:3px;align-items:center;margin:10px 0}
.radio-signal-wave i{display:block;flex:1;min-width:0;height:24px;background:#72d9a2;border-radius:2px;animation:radio-signal-pulse .75s ease-in-out infinite alternate;animation-delay:var(--signal-delay)}
.radio-receive-track{height:5px;background:#254338;border-radius:3px;overflow:hidden}
.radio-receive-fill{height:100%;background:#77e4ab;transform:scaleX(0);transform-origin:left;transition:transform .1s linear}
.radio-gate-highlight{color:#e9d18e;background:#a38a3433;padding:2px 5px;border-radius:3px;white-space:nowrap}
.radio-reading-note{display:block;margin-top:10px;color:#b3cbbd;font:600 11px system-ui}
@keyframes radio-signal-pulse{from{transform:scaleY(.25);opacity:.45}to{transform:scaleY(1);opacity:1}}

.pursuit-charges{position:absolute;right:4px;top:5px;z-index:5;padding:1px 3px;border-radius:3px;background:#081713e8;color:#ffe0a0;font:800 9px/12px system-ui;pointer-events:none}

#adminPanel{position:fixed;z-index:25000;left:50%;top:50%;transform:translate(-50%,-50%);width:680px;max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);overflow:auto;box-sizing:border-box;padding:24px;border:1px solid #a28c52;border-radius:12px;background:linear-gradient(145deg,#173026,#081710);color:#e4eddf;box-shadow:0 16px 70px #000b;font:14px/1.5 system-ui;visibility:visible!important}
#adminPanel[hidden]{display:none!important}
#adminPanel header{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #9c8b514d;padding-bottom:12px}
#adminPanel h2{margin:0;color:#e4ce96;font-size:24px}#adminPanel h3{margin:16px 0 8px;color:#bfd4c6;font-size:14px}#adminPanel small{letter-spacing:1.6px;font-size:10px;color:#b8a774}
#adminPanel button,#adminPanel select,#adminPanel input{font:inherit;box-sizing:border-box;border:1px solid #748b6f80;border-radius:6px;background:#10231a;color:#e7eedf;padding:9px 12px;max-width:100%}
#adminPanel button{cursor:pointer}#adminPanel button:hover{border-color:#dcc078;background:#24392a}#adminPanel button:disabled{opacity:.45;cursor:default}#adminPanel button[aria-pressed=true]{color:#92ecba;border-color:#71b28b}
#adminPanel .admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}#adminPanel section>button,#adminPanel select{display:block;width:100%;margin:8px 0}#adminPanel .admin-buttons{display:flex;gap:8px}#adminPanel .admin-buttons button{flex:1}
#adminPanel .admin-coordinates{display:flex;gap:10px}#adminPanel label{flex:1;min-width:0}#adminPanel input{display:block;width:100%}#adminPanel details{margin-top:18px;border-top:1px solid #78926f44;padding-top:12px}#adminPanel summary{cursor:pointer}#adminPanel pre{white-space:pre-wrap;font-size:12px;background:#06130c;padding:12px}#adminPanel [data-admin-message]{min-height:21px;margin:12px 0 0;color:#e5cc88}
@media(max-width:540px){#adminPanel{padding:16px}.admin-grid{grid-template-columns:1fr!important}#adminPanel header{align-items:flex-start}#adminPanel h2{font-size:21px}}


/* Generated hardware surfaces form the actual instrument UI; controls stay live. */
#gameStage #miniGameHud>.mission-console{width:900px!important;box-sizing:border-box;padding:30px 32px 24px!important;background:none!important;border:0!important;border-radius:12px!important;box-shadow:0 24px 80px #000b!important}
#gameStage #miniGameHud>.mission-console:before{inset:0;border:18px solid transparent;border-image:url('assets/mission-ui-window-162.webp') 44 fill / 18px stretch;background:none;border-radius:12px}
.mission-console-heading{align-items:center!important;padding-bottom:16px;border-bottom:1px solid #a48a4740;gap:24px!important}
#miniTitle{font-size:25px!important;font-weight:800!important;letter-spacing:1.2px;color:#dcc996!important}
#missionPingTimer{background:#07130e!important;border:1px solid #6e826f!important;border-radius:5px!important;min-width:96px;padding:8px 12px!important}
#missionPingTimerValue{color:#8ce4b4!important}
#miniInfo{margin:18px 0 22px!important;color:#c0d3c7!important}
#miniInfo .mission-instruction-title{font-size:24px!important;line-height:1.35!important}
#miniInfo .mission-instruction-kicker{font-size:11px!important;letter-spacing:1.6px;color:#bead7f!important}
#miniInfo .mission-instruction-detail{font-size:19px!important;font-weight:750;line-height:1.5!important;color:#bdcdc2!important;margin-top:10px}
.mission-console-footer{margin-top:18px!important;padding-top:14px;border-top:1px solid #718c7040;font-size:12px!important;opacity:1!important;color:#a9bcaf}
#gameStage #miniBody{--device-art:url('assets/mission-ui-terminal-162.webp');box-sizing:border-box;padding:18px!important;border:24px solid transparent;border-image:var(--device-art) 7% fill / 24px stretch;min-width:0;position:relative;isolation:isolate}
#gameStage #miniBody[data-mission-art="TERMINAL"]{--device-art:url('assets/mission-ui-terminal-162.webp')}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]{--device-art:url('assets/mission-ui-powerbox-162.webp')}
#gameStage #miniBody[data-mission-art="SICHERUNG"]{--device-art:url('assets/mission-ui-fuse-162.webp')}
#gameStage #miniBody[data-mission-art="DATEN"]{--device-art:url('assets/mission-ui-data-162.webp');min-height:330px!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"]{--device-art:url('assets/mission-ui-circuit-162.webp')}
#gameStage #miniBody[data-mission-art="FUNKSTATION"]{--device-art:url('assets/mission-ui-radio-station-162.webp')}
#gameStage #miniBody[data-mission-art="FUNKGERÄT"]{--device-art:url('assets/mission-ui-radio-162.webp')}
#gameStage #miniBody[data-mission-art="PAKET"]{--device-art:url('assets/mission-ui-package-162.webp')}
#gameStage #miniBody[data-mission-art="SCHLÜSSELKARTE"]{--device-art:url('assets/mission-ui-keycard-162.webp');min-height:744px!important}
#gameStage #miniBody[data-mission-art="BEWEISE VERNICHTEN"]{--device-art:url('assets/mission-ui-evidence-162.webp')}
#gameStage #miniBody .mission-chassis{background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:12px!important;margin:0!important;max-width:none!important;border-radius:0!important}
#miniBody .mission-chassis:before{display:none!important}
#miniBody button:where(:not(.circuitNode):not(.fuseSwitch):not(#masterBreaker):not(#frequencyKnob):not(#accessCard):not([id^="evidenceSegment"]):not(#routeGrid button)){background-color:transparent!important;background-image:none!important;border:8px solid transparent!important;border-image:url('assets/mission-ui-button-162.webp') 32 fill / 8px stretch!important;border-radius:5px;box-shadow:0 3px 7px #0007!important;font-size:15px!important;font-weight:750!important;line-height:1.35;min-height:46px;color:#e1ece3!important;cursor:pointer}
#miniBody button:not(:disabled):focus-visible{outline:2px solid #9ee9bd!important;outline-offset:3px}
#miniBody button:disabled{opacity:.55!important}
#miniBody button.mission-action-ready:not(:disabled){box-shadow:0 0 0 1px #8ad6aa,0 0 16px #79daa344!important;color:#caffdc!important}
#miniBody .cabinetFuseGrid{gap:18px!important}
#miniBody .fuseSwitch{border-radius:6px!important;background-image:linear-gradient(#29312c,#101b15)!important}
#miniBody .fuseSwitch:before,#miniBody #masterBreaker:before{display:none!important}
#miniBody .data-memory-card{background:#05120d!important;border-color:#719e804d!important;border-radius:5px!important;padding:18px 10px!important}
#miniBody .data-memory-card>div:last-child{font-size:25px!important;color:#b2f2cf!important}
#miniBody .dataChoice{padding:14px 8px!important}
#miniBody #routeGrid{background:#07150f!important;background-image:none!important;border-radius:7px!important;border-color:#547463!important;box-shadow:inset 0 0 18px #0009!important}
#miniBody #routeStatus,#miniBody #circuitStatus,#miniBody #pkgStatus{font-size:14px!important;color:#b2dfc5}
#miniBody #keypad{max-width:450px!important;gap:10px!important}
#miniBody #codeDisplay{color:#a9efc7!important;font-size:25px!important}
#miniBody #scanBay{border-color:#506d5c!important;border-radius:6px!important;background:#07150f!important;background-image:none!important}
#miniBody #evidenceScreen{border-color:#14241b!important;box-shadow:0 0 0 1px #78917e,0 5px 16px #0009!important;border-radius:4px!important}
#miniBody #evidenceTimeline{border-radius:4px!important}
#gameStage #miniBody[data-mission-art="FUNKGERÄT"] .mission-chassis>div:nth-child(2){border-radius:5px!important;border-color:#587561!important;background:#06120d!important}
#miniBody #interceptCall,#miniBody #interceptPlace{color-scheme:dark;background:#0a1b12!important;color:#d5efdf!important;border-color:#5c7866!important;min-height:46px!important}
#miniBody #interceptCall option,#miniBody #interceptPlace option{background:#0a1b12!important;color:#d5efdf!important}
#miniBody #interceptCall:disabled,#miniBody #interceptPlace:disabled{background:#12271c!important;color:#849c8e!important}
#miniBody #interceptStatus{font-size:18px!important;line-height:1.6!important}

/* A wide dial above a signal/confirmation area, with the physical knob beside it. */
#gameStage #miniBody[data-mission-art="FUNKSTATION"]>.mission-chassis{display:grid;grid-template-columns:minmax(0,1fr) 160px;column-gap:28px;row-gap:14px}
#gameStage #miniBody[data-mission-art="FUNKSTATION"]>.mission-chassis>div:first-child{grid-column:1/-1;margin:0!important;font-size:14px!important}
#gameStage #miniBody[data-mission-art="FUNKSTATION"]>.mission-chassis>div:nth-child(2){grid-column:1/-1;height:148px!important;border-radius:5px!important;border-color:#678271!important;background:#06120c!important;box-shadow:inset 0 0 18px #000b!important}
#miniBody #freqVal{font-size:40px!important;color:#a3efc2!important;background:#0c2014!important;padding:8px 20px!important;letter-spacing:2px}
#miniBody #dialNeedle{background:#c7df9d!important;box-shadow:0 0 8px #8ee8b466!important}
#gameStage #miniBody[data-mission-art="FUNKSTATION"] .tuning-control{grid-column:2;grid-row:3;margin:0!important;height:142px!important;gap:85px!important}
#gameStage #miniBody[data-mission-art="FUNKSTATION"] .tuning-hint{grid-column:2;grid-row:4;align-self:center;margin:0!important;font-size:12px;line-height:1.4}
#gameStage #miniBody[data-mission-art="FUNKSTATION"]>.mission-chassis>div:nth-child(6){grid-column:1;grid-row:3;margin:0!important;align-self:center;font-size:14px!important}
#miniBody #freqOk{grid-column:1;grid-row:4;width:100%;margin:0!important;min-height:50px!important}
#miniBody #signalBar{background:linear-gradient(90deg,#486650,#9cf1bd)!important}
#miniBody #frequencyKnob{width:108px!important;height:108px!important;left:calc(50% - 54px)!important;top:8px!important;border:0!important;border-radius:50%;background:transparent url('assets/mission-ui-knob-162.webp') center/100% 100% no-repeat!important;box-shadow:none!important}
#miniBody .knob-center{display:none}
#miniBody .tuning-ring{width:124px!important;height:124px!important;left:calc(50% - 62px)!important;top:0!important;background:none!important}
#miniBody .tuning-ring i{left:61px!important;transform-origin:1px 62px!important}
#miniBody #frequencyKnobPointer{inset:10px!important}
#miniBody #frequencyKnobPointer i{top:8px!important;background:#b5edce!important;box-shadow:0 0 5px #89dda5aa}

/* Confirmation follows the tuner clear-signal tolerance. */
#gameStage #miniBody #freqOk:disabled{filter:grayscale(1);opacity:.5!important;cursor:not-allowed!important;box-shadow:none!important;}
#gameStage #miniBody #freqOk.mission-action-ready:not(:disabled){border-image:url('assets/mission-ui-button-162.webp') 32 /8px stretch!important;background:linear-gradient(#285a38,#173c25)!important;color:#dbffe6!important;box-shadow:0 0 12px #72d68b55,inset 0 0 0 1px #74d28d!important;}

/* Patch panel artwork with live colored sockets and cables. */
#gameStage #miniBody #circuitBoard{height:320px!important;border:0!important;border-radius:5px!important;background:#141d18 url('assets/mission-circuit-cabinet-191.webp') center/100% 100% no-repeat!important;box-shadow:0 7px 18px #0006!important}
#gameStage #miniBody #circuitBoard:before,#gameStage #miniBody #circuitBoard:after{display:none!important}
#gameStage #miniBody .circuitNode{width:94px!important;height:48px!important;border:0!important;border-radius:4px!important;background:transparent!important;box-shadow:none;display:flex;align-items:center;justify-content:center;gap:10px;color:#e8ecdf!important;font-size:16px;padding:0;line-height:1}
#gameStage #miniBody .circuitNode.leftNode{left:max(12px,calc(50% - 190px))!important;flex-direction:row-reverse}
#gameStage #miniBody .circuitNode.rightNode{right:max(12px,calc(50% - 190px))!important;flex-direction:row-reverse}
#gameStage #miniBody .circuit-bank-label{position:absolute;top:19px;width:94px;text-align:center;color:#d7d6bf;font:800 12px ui-monospace,monospace;letter-spacing:1px;pointer-events:none}
#gameStage #miniBody .circuit-bank-left{left:max(12px,calc(50% - 190px))}
#gameStage #miniBody .circuit-bank-right{right:max(12px,calc(50% - 190px))}

#activeSkillEffects{position:fixed;display:flex;gap:6px;z-index:29;pointer-events:none;align-items:flex-start}
#activeSkillEffects[hidden]{display:none}
.active-skill-effect{position:relative;flex:none;width:var(--active-skill-size);height:var(--active-skill-size);background:#0b1512e6;border-radius:8px;box-shadow:0 2px 6px #0008}
.active-skill-effect img{position:absolute;inset:6%;width:88%;height:88%;object-fit:contain;border-radius:5px}
.active-skill-effect svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:3}
.active-skill-track{stroke:#33423ce6}.active-skill-ring{stroke:var(--skill-effect-color);stroke-dasharray:100;stroke-linecap:round}
.active-skill-effect strong{position:absolute;bottom:7%;left:3%;right:3%;text-align:center;color:#fff9de;background:#07110de8;border-radius:3px;font:800 max(10px,calc(var(--active-skill-size)*.19)) system-ui;line-height:1.5;text-shadow:0 1px 2px #000}
.active-skill-shield{display:none;position:absolute;right:-4px;top:-4px;background:#102b25;border:1px solid #8bdfc4;border-radius:50%;width:22px;height:22px;text-align:center;color:#a2f3da;font:900 19px/22px system-ui}
.active-skill-effect small{display:none;position:absolute;top:calc(100% + 4px);left:0;min-width:100%;width:max-content;max-width:155px;background:#091a16ed;border:1px solid #547b6c;border-radius:4px;padding:3px 5px;color:#bce6d4;font:700 10px/1.35 system-ui}
.active-skill-effect.is-countered .active-skill-shield,.active-skill-effect.is-countered small{display:block}
#gameStage #miniBody .leftNode{left:14px!important;flex-direction:row-reverse}
#gameStage #miniBody .rightNode{right:14px!important}
#gameStage #miniBody .socket-art{position:relative;flex:none;display:block;width:46px;height:46px;background:url('assets/mission-circuit-socket-164.webp') center/contain no-repeat;box-shadow:none!important}
#gameStage #miniBody .socket-contact{position:absolute;inset:15px;border-radius:50%;background:var(--socket-color);box-shadow:0 0 7px var(--socket-color),inset 0 1px 2px #fff9!important;pointer-events:none}
#gameStage #miniBody .circuitNode:disabled{opacity:.9!important}
#gameStage #miniBody .circuitNode:disabled .socket-contact{box-shadow:0 0 10px var(--socket-color)!important}
#gameStage #miniBody #circuitLines{background:transparent!important}

/* Generated physical breaker sprites, with live labels and switching logic. */
#gameStage #miniBody .fuseSwitch{height:184px!important;border:1px solid #7e8d82!important;box-shadow:inset 0 1px #b5c0ac22,0 4px 8px #0006!important;background:linear-gradient(#252f28,#111d16)!important}
#gameStage #miniBody .fuseSwitch:not(:disabled):hover,#gameStage #miniBody .fuseSwitch:focus-visible{border-color:#d7bf7d!important;outline:2px solid #d7bf7d;outline-offset:2px}
#gameStage #miniBody .fuseSwitch:disabled{opacity:.8!important;border-color:#455749!important}
#gameStage #miniBody .fuse-switch-art{width:112px;height:100px;object-fit:contain;display:block;flex:0 0 100px;pointer-events:none;user-select:none;filter:drop-shadow(0 3px 3px #0009)}

/* Preserve the visible keypad before insertion; its hint target has no artwork. */
#gameStage #miniBody #keypad .keypad-insert-lock{border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;outline:none!important;opacity:1!important;z-index:3;padding:0!important;min-height:0!important}
#gameStage #miniBody #accessCard.card-is-inserted{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
#gameStage #miniBody #keypad .codeKey[data-v="OK"].mission-action-ready:not(:disabled){border-image:url('assets/mission-ui-button-162.webp') 32 /8px stretch!important;background:linear-gradient(#2d6340,#164429)!important;color:#e4ffeb!important;box-shadow:0 0 18px #6ce39499,inset 0 0 0 1px #8af0ac!important;text-shadow:0 0 7px #a4ffc7}

/* Wider physical switches and a larger live indicator over the existing lamp. */
#gameStage #miniBody .fuse-art-wrap{position:relative;display:block;width:112px;height:100px;flex:0 0 100px;pointer-events:none}
#gameStage #miniBody .fuse-art-wrap .fuse-switch-art{transform:scaleX(1.4);width:112px;height:100px}
#gameStage #miniBody .fuse-indicator{position:absolute;left:50%;top:77%;width:11px;height:11px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #cab87c;background:radial-gradient(circle at 35% 30%,#effff0,#67ff77 35%,#10b329 75%);box-shadow:0 0 5px #8dff80,0 0 13px #53f665bb}
#gameStage #miniBody .is-off .fuse-indicator{background:radial-gradient(circle at 35% 30%,#526c57,#173421 50%,#08180d);box-shadow:inset 0 0 3px #0009;border-color:#796b44}

/* Dedicated generated tuner hardware; frequency and pointer stay live. */
#gameStage #miniBody #frequencyKnob{background:transparent url('assets/mission-radio-knob-169.webp') center/contain no-repeat!important;filter:drop-shadow(0 4px 4px #0008)}
#gameStage #miniBody #frequencyKnobPointer{inset:12px!important;z-index:1}
#gameStage #miniBody #frequencyKnobPointer i{top:10px!important;width:5px;height:15px;background:#c9f4d5!important;box-shadow:0 0 5px #a6f0b9aa}
#gameStage #miniBody[data-mission-art="FUNKSTATION"] #tunerDisplay{background:#04150c url('assets/mission-radio-display-169.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:6px!important;box-shadow:0 4px 9px #0007!important}
#gameStage #miniBody #freqVal{background:transparent!important;text-shadow:0 0 9px #74dfac66;box-shadow:none!important}

/* Full-width, centered security archive with generated metal console and monitor. */
#gameStage #miniBody[data-mission-art="BEWEISE VERNICHTEN"]{--device-art:url('assets/mission-evidence-console-170.webp');padding:12px!important}
#gameStage #miniBody .mission-chassis.evidence-console{width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0!important;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
#gameStage #miniBody .evidence-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#b5c8bc;font:800 13px ui-monospace,monospace;letter-spacing:.8px}
#gameStage #miniBody #evidenceCount{flex:none;padding:6px 10px;color:#b4edc6;border-color:#6d927a;border-radius:4px}
#gameStage #miniBody .evidence-monitor{width:100%;padding:12px;border-radius:6px;background:#06100c url('assets/mission-evidence-monitor-170.webp') center/100% 100% no-repeat;box-shadow:0 5px 12px #0008}
#gameStage #miniBody #evidenceScreen{display:block;width:100%!important;height:auto!important;aspect-ratio:580/235;border:0!important;border-radius:2px!important;background:#06110c;box-shadow:none!important;cursor:default}
#gameStage #miniBody .evidence-time-labels{display:flex;justify-content:space-between;color:#a9bdb0;font:12px ui-monospace,monospace;margin:0}
#gameStage #miniBody #evidenceTimeline{position:relative;width:100%;height:60px;border:1px solid #597663;border-radius:5px!important;background-color:#07140e;overflow:hidden!important;cursor:pointer}
#gameStage #miniBody #evidenceTimeline:hover::after,#gameStage #miniBody #evidenceTimeline:focus-visible::after{display:none}
#gameStage #miniBody #evidenceCursor{position:absolute;left:0;top:0;bottom:0;width:3px;background:#f4e8a0;box-shadow:0 0 10px #f4e8a0;pointer-events:none}
#gameStage #miniBody .evidence-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;justify-items:stretch}
#gameStage #miniBody #evidenceDelete{width:100%;min-height:48px}
#gameStage #miniBody #evidenceFeedback{min-height:34px;display:flex;align-items:center;justify-content:center;text-align:center;margin:0;color:#d8c77d;font:750 13px system-ui;line-height:1.4}
#gameStage #miniBody .evidence-console,#gameStage #miniBody .evidence-monitor,#gameStage #miniBody #evidenceTimeline{box-sizing:border-box}

/* All mission instruments use the inner faceplate width, with consistent small insets. */
#gameStage #miniBody{padding:12px!important}
#gameStage #miniBody .mission-chassis{box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0!important}
#gameStage #miniBody .terminal-route{display:grid!important;grid-template-columns:74px minmax(0,1fr) 74px;gap:12px!important;width:100%;margin:0 auto!important}
#gameStage #miniBody .terminal-route>div:first-child{justify-self:end;white-space:nowrap}
#gameStage #miniBody .terminal-route>div:last-child{justify-self:start;white-space:nowrap}
#gameStage #miniBody #routeGrid{box-sizing:border-box;width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(3,auto)!important;padding:10px!important;gap:8px!important}
#gameStage #miniBody #routeGrid button{box-sizing:border-box;width:100%!important;height:auto!important;min-width:0;min-height:0;aspect-ratio:1;padding:0!important}
#gameStage #miniBody #routeGrid svg{display:block;width:100%;height:100%}
#gameStage #miniBody #keypad{box-sizing:border-box;width:100%;max-width:none!important;gap:12px!important}
#gameStage #miniBody #accessCard{width:min(340px,100%)!important;height:180px!important}
#gameStage #miniBody #dataNext{width:100%;min-height:50px}
#gameStage #miniBody #interceptListen,#gameStage #miniBody #interceptText{flex:1;min-width:0}
#gameStage #miniBody .breaker-controls{grid-template-columns:180px minmax(0,1fr)!important}
#gameStage #miniBody #masterBreaker{width:100px!important;height:132px!important}
#gameStage #miniBody #scanBay,#gameStage #miniBody #circuitBoard{box-sizing:border-box;width:100%}

/* One actionable lobby button immediately beside the result countdown. */
#gameStage #resultReturnCountdown{gap:18px;flex-wrap:nowrap}
#gameStage #resultReturnCountdown #resultAction{flex:0 1 auto;max-width:calc(100% - 86px);white-space:normal;text-align:center}

/* Readable numbered switch order and generated emergency-power hardware. */
#gameStage #miniBody #breakerSequence{margin:0 0 20px;padding:14px 16px;border:1px solid #a68e5c;border-radius:6px;background:#0c1912}
#gameStage #miniBody #breakerSequence>b{display:block;margin:0 0 10px;color:#e8d5a3;font:800 15px system-ui;letter-spacing:1px}
#gameStage #miniBody #breakerSequence ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0}
#gameStage #miniBody #breakerSequence li{display:flex;align-items:center;gap:9px;min-width:0;padding:11px 9px;border:1px solid #6d7560;border-radius:5px;background:#1a2b20;color:#f0ead8}
#gameStage #miniBody #breakerSequence li>span{flex:none;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#d4bd78;color:#122118;font:900 16px system-ui}
#gameStage #miniBody #breakerSequence strong{font:800 17px/1.3 system-ui;overflow-wrap:anywhere}
#gameStage #miniBody #breakerSequence li.current{border-color:#e9d08c;box-shadow:0 0 0 1px #e9d08c55}
#gameStage #miniBody #breakerSequence li.completed{border-color:#68c188;color:#b8eccb;background:#153a25}
#gameStage #miniBody #breakerPanel .breaker-controls{grid-template-columns:185px minmax(0,1fr)!important;gap:18px!important}
#gameStage #miniBody #breakerPanel #masterBreaker{display:block;margin:14px auto 0;width:128px!important;height:190px!important;border:0!important;background:transparent url('assets/mission-emergency-off-174.webp') center/contain no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 4px 3px #0009)}
#gameStage #miniBody #breakerPanel #masterBreaker[data-on="true"]{background-image:url('assets/mission-emergency-on-174.webp')!important}
#gameStage #miniBody #masterLever,#gameStage #miniBody .emergency-circuit .miniLever{display:none!important}
#gameStage #miniBody #masterLabel{font-size:17px!important;color:#c4d1c4}
#gameStage #miniBody .fi-master-column .pro-kicker{font-size:14px!important;color:#c7d5cb!important;letter-spacing:1px}
#gameStage #miniBody #circuits .emergency-circuit{height:170px!important;padding:10px 12px!important;display:grid;grid-template-rows:auto 100px auto;row-gap:6px}
#gameStage #miniBody .emergency-circuit b{font-size:16px!important;color:#e6eee3}
#gameStage #miniBody .emergency-circuit .lamp{width:13px!important;height:13px!important;border:1px solid #789481}
#gameStage #miniBody .emergency-switch-art{display:block;justify-self:center;width:85px;height:100px;background:url('assets/mission-emergency-off-174.webp') center/contain no-repeat;pointer-events:none;filter:drop-shadow(0 3px 2px #0007)}
#gameStage #miniBody .emergency-circuit[data-on="true"] .emergency-switch-art{background-image:url('assets/mission-emergency-on-174.webp')}
#gameStage #miniBody .emergency-circuit .state{font-size:12px}
#gameStage #miniBody #breakerMessage{min-height:50px!important;color:#c3d3c7;font-size:14px!important;line-height:1.4}
#gameStage #miniBody #circuitProgress{font-size:14px!important}
#gameStage #miniBody #breakerSequence li{flex-direction:column;justify-content:center;gap:6px}#gameStage #miniBody #breakerSequence strong{white-space:nowrap;overflow-wrap:normal;text-align:center}
/* Active circuit state remains unmistakable even at reduced UI sizes. */
#gameStage #miniBody #circuits .emergency-circuit[data-on="true"]{border-image:url('assets/mission-ui-button-162.webp') 32 /8px stretch!important;background:linear-gradient(#28573a,#123a23)!important;box-shadow:0 0 0 2px #68e69a,0 0 18px #63df8c55!important}
#gameStage #miniBody #circuits .emergency-circuit[data-on="true"] .state{font-size:16px!important;font-weight:900;color:#c4ffda!important;text-shadow:0 0 6px #83f7a455}
#gameStage #miniBody #circuits .emergency-circuit[data-on="true"] .lamp{width:16px!important;height:16px!important;background:#83ff9c!important;box-shadow:0 0 12px #78ff9a!important}
#gameStage #miniBody #breakerPanel #masterBreaker{background-image:url('assets/mission-fi-orange-off-174.webp')!important}
#gameStage #miniBody #breakerPanel #masterBreaker[data-on="true"]{background-image:url('assets/mission-fi-orange-on-174.webp')!important}
/* Shared outer dimensions for every puzzle; content remains centered within its faceplate. */
#gameStage #miniGameHud>.mission-console{width:1200px!important;height:1100px!important;min-height:1100px!important;display:flex;flex-direction:column}
#gameStage .mission-console-heading,#gameStage #miniInfo,#gameStage .mission-console-footer{flex:0 0 auto}
#gameStage #miniBody{flex:1 1 auto;min-height:0!important;display:flex;flex-direction:column;justify-content:center;gap:0}
#gameStage #miniBody>*{flex-shrink:0}
#gameStage #miniBody #breakerSequence li{flex-direction:row;justify-content:flex-start;gap:12px;padding:12px 14px}
#gameStage #miniBody #breakerSequence li>span{width:28px;height:28px;font-size:18px}
#gameStage #miniBody #breakerSequence strong{font-size:22px;text-align:left}

/* Generated data display modules and parcel/scanner hardware. */
#gameStage #miniBody .data-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:12px 0 22px}
#gameStage #miniBody .data-field{box-sizing:border-box;height:170px;padding:28px 22px!important;border:0!important;border-radius:8px!important;background:transparent url("assets/mission-data-field-176.webp") center/100% 100% no-repeat!important;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:18px}
#gameStage #miniBody .data-block-label{font:900 14px ui-monospace,monospace;letter-spacing:2px;color:#97b6a4}
#gameStage #miniBody .data-slot-value{font:900 34px ui-monospace,monospace!important;color:#b2f2cf!important;text-shadow:0 0 14px #5fc08b66}
#gameStage #miniBody .data-input-field:not([data-filled]) .data-slot-value{color:#688575!important;text-shadow:none}
#gameStage #miniBody .data-field[data-filled]{box-shadow:0 0 0 2px #7adc9a,0 0 18px #69c88d44}
#gameStage #miniBody .data-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#gameStage #miniBody .dataChoice{height:96px;padding:15px!important;border:0!important;border-image:none!important;border-radius:5px!important;background:transparent url("assets/mission-data-button-176.webp") center/100% 100% no-repeat!important;color:#e3ebdc;font:900 23px ui-monospace,monospace;box-shadow:0 5px 12px #0008}
#gameStage #miniBody .dataChoice:hover:not(:disabled){filter:brightness(1.2)}
#gameStage #miniBody .dataChoice{font-size:23px!important}
#gameStage #miniBody .dataChoice.data-choice-error{outline:3px solid #ff6868;box-shadow:0 0 22px #ff353577;color:#ffaaaa!important}
#gameStage #miniBody .scanPackage{background:transparent url("assets/mission-parcel-176.webp") center/100% 100% no-repeat!important;cursor:pointer}
#gameStage #miniBody .scanPackage::before,#gameStage #miniBody .scanPackage::after{display:none!important}
#gameStage #miniBody .scanPackage>div:first-child{color:#332918!important;font-size:13px!important;padding:14px 18px!important}
#gameStage #miniBody .packageCode{font-size:19px!important;color:#211b12!important;background:#eedcb7;padding:4px 9px;border-radius:3px}
#gameStage #miniBody .packageCode:empty{display:none}
#gameStage #miniBody .scanFeedback{font-size:12px!important;background:#09130ed9;padding:6px 8px;border-radius:4px}
#gameStage #miniBody .scanFeedback:empty{display:none}
#gameStage #miniBody #handScanner{background:url("assets/mission-scanner-176.webp") center/contain no-repeat;filter:drop-shadow(0 6px 6px #000a);z-index:3}

/* Real, phone-readable QR labels; URLs are encoded only, never opened by the game. */
#gameStage #miniBody .qr-label{position:absolute;left:16px;bottom:14px;width:108px;height:108px;background:#fff;border:0;box-shadow:0 2px 4px #0005}
#gameStage #miniBody .qr-label img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}
#gameStage #miniBody .scanPackage>div:first-child{padding-left:144px!important}
#gameStage #miniBody #handScanner{background-image:url("assets/mission-scanner-177.webp")}

/* Compact bank-terminal keypad: dynamic high-contrast digits on metal key artwork. */
#gameStage #miniBody #keypad{max-width:336px!important;margin:0 auto;gap:12px!important}
#gameStage #miniBody #keypad .codeKey{height:66px;min-height:66px!important;padding:6px!important;border:0!important;border-image:none!important;border-radius:8px!important;background:transparent url("assets/mission-atm-key-180.webp") center/100% 100% no-repeat!important;color:#101917!important;font:900 32px Arial,sans-serif!important;text-shadow:0 1px #fff8;box-shadow:0 3px 6px #0008}
#gameStage #miniBody #keypad .codeKey:disabled{opacity:.72!important;filter:none!important;cursor:default}
#gameStage #miniBody #keypad .codeKey:hover:not(:disabled){filter:brightness(1.15)}
#gameStage #miniBody #keypad .codeKey[data-v="C"]{color:#704000!important}
#gameStage #miniBody #keypad .codeKey[data-v="OK"]{font-size:27px!important;color:#294331!important}
#gameStage #miniBody #keypad .codeKey[data-v="OK"].mission-action-ready:not(:disabled){background:linear-gradient(#73bd8580,#51a16980),url("assets/mission-atm-key-180.webp") center/100% 100% no-repeat!important;border-image:none!important;color:#062312!important;text-shadow:0 1px #dfffe988;box-shadow:0 0 18px #6ce39499!important}
#gameStage #miniBody #codeDisplay{font-size:34px!important;letter-spacing:9px;min-width:156px!important}
#gameStage #miniBody #accessCard.security-id-card{position:relative;width:min(390px,100%)!important;height:218px!important;box-sizing:border-box;overflow:hidden;background:transparent url("assets/mission-id-card-180.webp") center/100% 100% no-repeat!important;border:0!important;border-image:none!important;border-radius:12px!important;padding:0!important;text-align:left;box-shadow:0 8px 18px #0008;transition:transform .25s,opacity .25s;cursor:pointer;color:#182c25!important}
#gameStage #miniBody .id-card-heading{position:absolute;left:20px;top:15px;font:900 15px system-ui;letter-spacing:1.5px;color:#eadba5}
#gameStage #miniBody #accessCardPortrait{position:absolute;left:20px;top:52px;width:100px;height:132px;border:1px solid #698374;border-radius:3px}
#gameStage #miniBody .id-card-data{position:absolute;left:143px;right:20px;top:55px}
#gameStage #miniBody .id-card-label{font:900 10px system-ui;letter-spacing:1px;color:#486055}
#gameStage #miniBody .id-card-name{font:900 19px system-ui;line-height:1.12;min-height:44px;margin:4px 0 9px;overflow-wrap:anywhere}
#gameStage #miniBody .id-card-code{font:900 31px ui-monospace,monospace;letter-spacing:5px;margin-top:1px}
#gameStage #miniBody .id-card-footer{position:absolute;left:20px;bottom:10px;color:#d4dac7;font:800 10px system-ui;letter-spacing:.5px}

#gameStage #miniBody #evidenceScreen{cursor:pointer}
#gameStage #miniBody #evidenceScreen:focus-visible{outline:2px solid #d5c287;outline-offset:3px}

#gameStage #miniBody #masterBreaker.fi-needs-activation{outline:3px solid #ffa94e!important;outline-offset:6px;box-shadow:0 0 22px #ff9b4566!important}
#globalHelpToggle{position:fixed;top:14px;right:16px;z-index:12000;width:22px;height:22px;display:grid;place-items:center;padding:0;margin:0;border:1px solid #af9760;border-radius:50%;background:#173a32;color:#ebd89e;font:900 16px/1 system-ui;cursor:pointer;box-shadow:0 0 10px #55ad9230}
#globalHelpToggle:hover{background:#286554;box-shadow:0 0 14px #7ae6bf55}
#globalHelpToggle:focus-visible{outline:2px solid #eed28f;outline-offset:3px}
#globalHelpToggle[hidden]{display:none!important}
#globalHelpToggle{right:48px}
#globalFullscreenToggle{position:fixed;top:14px;right:16px;z-index:12000;width:22px;height:22px;display:grid;place-items:center;padding:0;margin:0;border:1px solid #af9760;border-radius:4px;background:#173a32;color:#ebd89e;cursor:pointer;box-sizing:border-box}
#globalFullscreenToggle img{width:20px;height:20px;display:block;pointer-events:none}
#globalFullscreenToggle:hover{background:#286554;box-shadow:0 0 14px #7ae6bf55}
#globalFullscreenToggle:focus-visible{outline:2px solid #eed28f;outline-offset:3px}
#fullscreenNotice{position:fixed;top:44px;right:16px;z-index:12000;max-width:280px;padding:8px 12px;border:1px solid #af9760;border-radius:5px;background:#102a23;color:#ebd89e;font:600 12px/18px system-ui}
#fullscreenNotice[hidden]{display:none!important}

#roundChat #streamerChatToggle{width:23px;height:23px;display:grid;place-items:center;flex:none;padding:3px;margin-left:5px;border:1px solid #88794b;background:#17352c;color:#d7c08a;border-radius:50%}
#roundChat #streamerChatToggle[hidden]{display:none!important}
#streamerChatToggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#streamerChatToggle[aria-pressed="true"]{color:#b8f1d2!important;border-color:#7ab899!important;background:#245440!important}
#streamerChatToggle[aria-pressed="true"] .eye-slash{display:none}
.round-chat-visibility-notice{color:#e5c779;font:700 10px/1.4 system-ui;margin-bottom:5px}
.round-chat-visibility-notice:empty{display:none}

/* Short event feedback uses the existing measured message row. */
#gameStage #roundHudLayer #msg[data-feedback]{color:#f6d782!important;background:rgba(12,24,20,.94);border:1px solid currentColor;border-radius:6px;padding:8px 14px;box-sizing:border-box;font-weight:800;line-height:1.4;pointer-events:none}
#gameStage #roundHudLayer #msg[data-feedback="danger"]{color:#ff9494!important}
#gameStage #roundHudLayer #msg[data-feedback="success"]{color:#90e8b2!important}

body.spectator-view #gameStage #roundHudLayer #spectatorStatusCard{top:auto!important;bottom:18px!important;min-width:260px;max-width:min(480px,calc(var(--hud-width,1920px) - 748px));padding:10px 14px}
body.spectator-view #spectatorStatusTitle{font-size:11px;letter-spacing:1px}
body.spectator-view #spectatorStatusName{font-size:18px;min-width:160px;max-width:300px}
body.spectator-view .spectator-selection{gap:12px;margin-top:6px}
body.spectator-view .spectator-selection button{width:32px;height:32px;font-size:20px}
body.spectator-view #gameStage #roundHudLayer #speedhuntHud{visibility:visible!important;pointer-events:none!important}

/* Larger invisible targets; horizontal padding stops halfway to adjacent icons. */
:is(#globalSettingsToggle,#globalAudioToggle,#globalFullscreenToggle,#globalHelpToggle,#globalBackToggle)::after{
 content:"";position:absolute;inset:-11px -4px;cursor:pointer;
}
#globalBackToggle::after{left:-11px}
#globalFullscreenToggle::after{right:-11px}
/* Reserved in-panel phase hint; no floating announcement or blinking. */
#missionPhaseNotice{min-height:16px;margin-top:5px;text-align:center;font:600 11px/16px system-ui;color:#c4decb;overflow-wrap:anywhere;visibility:hidden}
#gameStage #roundHudLayer #teamProgressHud[data-secured-hint="true"]{height:auto!important}
#gameStage #roundHudLayer #teamProgressHud #missionPhaseNotice[data-state="secured"]{display:block!important;margin-top:8px;padding:7px 10px;border:1px solid #78dca57a;border-radius:7px;background:#102d22ed;color:#a2f6c0!important;font-size:13px;font-weight:800;line-height:1.5;white-space:pre-line;box-shadow:0 2px 8px #0003}

/* Global FPS badge shares screen coordinates with the settings/audio buttons. */
body>#performanceHud{position:fixed;left:110px!important;right:auto!important;top:14px!important;z-index:12000;padding:4px 9px!important;isolation:isolate;border:0!important;background:transparent!important;box-shadow:none!important;white-space:nowrap;pointer-events:none}
body>#performanceHud::before{content:"";position:absolute;inset:0;border:8px solid transparent;border-image:url("assets/hud-panel-132.webp") 44 fill / 8px stretch;z-index:-1;pointer-events:none}
/* Matte headquarters UI; gold belongs to the case, faction colors to teams. */
#gameMenu.hq-menu{background:linear-gradient(#10191eeb,#10191ef2),url('assets/menu-hq-runner-869.png') center/cover!important;color:#e7ecec}
#gameMenu.hq-menu::before,#gameMenu.hq-menu::after{display:none!important}
#gameMenu.hq-menu .menu-shell{z-index:1}
#gameMenu.hq-menu :is(.menu-panel,#homeAccount,.howto-skill)::before{border-image:none!important;border:1px solid #5b6b7180!important;border-radius:14px;background:linear-gradient(145deg,#283238f5,#162025f5);box-shadow:inset 0 1px #d8e7ee16,0 6px 18px #0005}
#gameMenu.hq-menu :is(.menu-panel,#homeAccount,.howto-skill){border-radius:14px;color:#e7ecec}
#gameMenu.hq-menu :is(.menu-button,#homeAccount button){border:1px solid #69777d!important;border-image:none!important;border-radius:10px!important;background:linear-gradient(#39434b,#232e35)!important;color:#eef0ee!important;box-shadow:inset 0 1px #ecf6fc25,0 3px 6px #0006!important;filter:none;transition:background-color 150ms,color 150ms,box-shadow 150ms,border-color 150ms,filter 150ms,transform 90ms}
#gameMenu.hq-menu .menu-button.primary{background:linear-gradient(#b9baba,#8b9092)!important;color:#172026!important;border-color:#d5d7d5!important}
#gameMenu.hq-menu :is(.menu-button,#homeAccount button):not(:disabled):is(:hover,:focus-visible){border-color:#f2dfb6!important;filter:brightness(1.14);box-shadow:inset 0 1px #fff7df66,0 0 0 1px #eddbb547,0 0 19px #ffe0a92d!important;color:#fff9e9!important;outline:2px solid transparent;outline-offset:3px}
#gameMenu.hq-menu .menu-button.primary:not(:disabled):is(:hover,:focus-visible){color:#11191d!important}
#gameMenu.hq-menu :is(.menu-button,#homeAccount button):focus-visible{outline-color:#f0dbad}
#gameMenu.hq-menu :is(.menu-button,#homeAccount button):not(:disabled):active{transform:translateY(1px);filter:brightness(1.04);box-shadow:inset 0 2px 5px #0006,0 0 10px #ffe0a925!important}
#gameMenu.hq-menu :is(select,input:not([type=checkbox]):not([type=range])){border:1px solid #667a80!important;border-image:none!important;border-radius:8px!important;background:#1e2d32!important;color:#f0f2ee!important;box-shadow:inset 0 2px 4px #0003}
#gameMenu.hq-menu :is(input,select):focus{outline:2px solid #e6d3aa;outline-offset:2px}
#gameMenu.hq-menu :is(.menu-heading,.menu-panel h2,#homeAccount .home-account-who strong){color:#edf0eb}
#gameMenu.hq-menu #menuStreamer[aria-pressed=true]{background:linear-gradient(#42585a,#2a3b40)!important;color:#edf8f3!important}
#gameMenu.hq-menu #menuStreamer::before{border-color:#aab9b9;background:#152127}
#gameMenu.hq-menu #menuStreamer[aria-pressed=true]::before{border-color:#d0ddd7;background:#b7d0c4;color:#192b24}
#gameMenu.hq-menu kbd{border:1px solid #607078!important;border-image:none!important;border-radius:5px;background:#27363b;color:#e4eae8;box-shadow:0 2px #0b151a}
#gameMenu.hq-menu[data-screen=home]{padding:0!important;overflow:hidden!important;background:#121c20 url('assets/menu-hq-runner-869.png') center/100% 100%!important}
#gameMenu.hq-menu[data-screen=home]>.menu-shell{position:absolute;inset:0;width:1920px!important;max-width:none!important;height:1080px!important;max-height:none!important;padding:0!important;zoom:1!important;transform:none!important;overflow:visible!important}
#gameMenu.hq-menu .menu-hq-scene{position:absolute;inset:0;width:1920px;height:1080px;pointer-events:none;z-index:0}
#gameMenu.hq-menu[data-screen=home] .home-menu{position:absolute;inset:0;display:block;min-height:0;padding:0;gap:0;text-align:center}
#gameMenu.hq-menu[data-screen=home] .menu-heading{position:absolute;top:56px;left:50%;transform:translateX(-50%);width:435px;margin:0;line-height:1}
#gameMenu.hq-menu[data-screen=home] .menu-title-logo{display:block;width:435px!important;max-width:none!important;height:320px!important;max-height:none!important;object-fit:contain}
#gameMenu.hq-menu[data-screen=home] .home-actions{position:absolute;top:425px;left:50%;width:400px;max-width:none;margin:0;gap:12px;transform:translateX(-50%) scale(var(--hq-control-scale,1));transform-origin:top center}
#gameMenu.hq-menu[data-screen=home] .home-actions .menu-button{font:700 19px/1.2 system-ui;min-height:62px;padding:12px 16px;margin:0;width:100%}
#gameMenu.hq-menu[data-screen=home] .home-secondary{gap:12px}
#gameMenu.hq-menu[data-screen=home] #streamerInfo{font:13px/1.45 system-ui;color:#d0d8d9;margin:0!important}
#gameMenu.hq-menu[data-screen=home] #homeAccount{position:absolute!important;left:46px;top:162px;width:360px!important;max-width:none;padding:24px!important;transform:scale(var(--hq-control-scale,1));transform-origin:top left;background:none!important;border:0!important;box-shadow:none!important}
#gameMenu.hq-menu[data-screen=home] #homeAccount::before{border-width:2px!important;border-color:#718087!important}
#gameMenu.hq-menu[data-screen=home] #homeAccount .home-account-who{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding-bottom:16px}
#gameMenu.hq-menu[data-screen=home] #homeAccount .home-account-who strong{font-size:22px}
#gameMenu.hq-menu[data-screen=home] #homeAccount .home-account-who span{font-size:12px}
#gameMenu.hq-menu[data-screen=home] #homeAccount h2{font-size:23px;margin:18px 0 12px}
#gameMenu.hq-menu[data-screen=home] #homeAccount form{display:block}
#gameMenu.hq-menu[data-screen=home] #homeAccount label{font-size:14px;margin:14px 0 7px}
#gameMenu.hq-menu[data-screen=home] #homeAccount input{font-size:18px;padding:12px;height:52px}
#gameMenu.hq-menu[data-screen=home] #homeAccount button{font-size:14px;padding:12px 14px;min-height:48px}
#gameMenu.hq-menu[data-screen=home] #homeAccount .home-account-actions{display:flex;gap:12px;margin-top:20px}
#gameMenu.hq-menu[data-screen=home] #homeAccount .home-account-hint{font-size:14px;margin-top:18px}
#gameMenu.hq-menu[data-screen=home] .menu-shell>.menu-field:has(#menuLanguage){position:absolute;right:100px;top:84px;left:auto;width:290px!important;margin:0!important;transform:scale(var(--hq-control-scale,1));transform-origin:top right;z-index:2}
#gameMenu.hq-menu:not([data-screen=home]) .menu-topbar{position:relative;top:auto;right:auto!important;display:flex;justify-content:flex-end;box-sizing:border-box;width:100%;height:auto;margin:0 0 18px;padding-right:calc(60px / var(--menu-zoom,1))}
#gameMenu.hq-menu .menu-topbar>.menu-field:has(#menuLanguage){flex:0 1 290px;width:290px;max-width:100%!important;min-width:0}
#gameMenu.hq-menu .menu-topbar>.menu-field:has(#menuLanguage) label{display:block;font-size:10px;letter-spacing:1px}
#gameMenu.hq-menu .menu-topbar #menuLanguage{box-sizing:border-box;width:100%;font-size:13px;padding:10px 12px}
#gameMenu.hq-menu[data-screen=home] .menu-shell>.menu-field label{font-size:12px}
#gameMenu.hq-menu[data-screen=home] .menu-shell>.menu-field select{font-size:16px;padding:13px}
@media(prefers-reduced-motion:reduce){#gameMenu.hq-menu :is(button,input,select){transition:none!important}}

#gameMenu.hq-menu .home-actions #menuSingle.primary{background:linear-gradient(#c1c1bd,#999e9e)!important;border:2px solid #d8dcda!important;color:#172026!important;box-shadow:inset 0 1px #fff9,0 3px 8px #0006!important}
#gameMenu.hq-menu .home-actions #menuSingle.primary:is(:hover,:focus-visible){color:#11191d!important;border-color:#fff1d0!important;box-shadow:inset 0 1px #fff,0 0 0 1px #eddbb547,0 0 22px #ffe0a940!important}
#gameMenu.hq-menu button:not(:disabled):is(:hover,:focus-visible){border-color:#eddbb5;outline-color:#eddbb5}
#gameMenu.hq-menu[data-screen=home] #streamerInfo{max-width:400px;text-wrap:balance}
#gameMenu.hq-menu[data-screen=home]{background:#10191e!important}
#gameMenu.hq-menu[data-screen=home]>.menu-shell{inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%) scale(var(--hq-scene-scale,1))!important;transform-origin:center center!important}
#gameMenu.hq-menu .menu-hq-scene{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--hq-background-scale,1));transform-origin:center center}
/* Common mission/report shells use the same neutral hardware finish. */
#gameStage #miniGameHud>.mission-console::before,#gameStage #overlay.operation-report #card::before{border:1px solid #677a82!important;border-image:none!important;border-radius:16px;background:linear-gradient(145deg,#263239fa,#142026fa)!important;box-shadow:inset 0 1px #eef7ff22,0 12px 40px #0007}
#gameStage #miniGameHud>.mission-console{border-radius:16px!important}
#gameStage #miniTitle{color:#e4ece8!important}
#gameStage #miniGameHud button:not(:disabled):is(:hover,:focus-visible){box-shadow:0 0 0 1px #f1dfb866,0 0 16px #ffe0a92b;outline-color:#f1dfb8}
#gameStage #overlay.operation-report #resultAction,.result-menu-links button{border:1px solid #687a82!important;border-image:none!important;border-radius:9px;background:linear-gradient(#3a464d,#27343a)!important;color:#eef2ed!important;transition:filter 150ms,border-color 150ms,box-shadow 150ms}
#gameStage #overlay.operation-report #resultAction:is(:hover,:focus-visible),.result-menu-links button:is(:hover,:focus-visible){border-color:#f1dfb8!important;filter:brightness(1.14);box-shadow:0 0 0 1px #f1dfb847,0 0 19px #ffe0a92d!important;outline-color:#f1dfb8}
body.hq-menu-visible :is(#globalSettingsToggle,#globalAudioToggle,#globalBackToggle,#globalFullscreenToggle,#globalHelpToggle){filter:grayscale(1);transition:filter 150ms,box-shadow 150ms}
body.hq-menu-visible :is(#globalSettingsToggle,#globalAudioToggle,#globalBackToggle,#globalFullscreenToggle,#globalHelpToggle):is(:hover,:focus-visible){filter:grayscale(.8) brightness(1.3);box-shadow:0 0 13px #ffe0a93d;outline-color:#e8d5ab}

/* 367: matte headquarters HUD. Layout and live state stay owned by the game. */
:root{--hud-surface:linear-gradient(145deg,#283239f5,#162127f5);--hud-edge:#64777f;--hud-text:#edf2ee;--hud-muted:#b6c4c8}
#gameStage #roundHudLayer :is(#hud,#prisonHud,#missionHud,#roundChat,#playerTeamBadge,#spectatorStatusCard,#captureHud,#rescueHud,#speedhuntHud,#speedhuntPersonalAlert,#eliminationAlert,#teamProgressHud){border-radius:12px!important;color:var(--hud-text)}
#hunterMinimapPanel::before,#gameStage #roundHudLayer :is(#hud,#prisonHud,#missionHud,#roundChat,#playerTeamBadge,#spectatorStatusCard,#captureHud,#rescueHud,#speedhuntHud,#speedhuntPersonalAlert,#eliminationAlert,#teamProgressHud)::before,body>#performanceHud::before{
 border:1px solid #64777f!important;border-image:none!important;border-radius:12px;background:var(--hud-surface);box-shadow:inset 0 1px #e4f3ff20,inset 0 -2px #0003,0 4px 12px #0004;
}
#gameStage #roundHudLayer #teamProgressHud{background:transparent!important}
#gameStage #roundHudLayer #teamProgressHud>div:first-child,#teamProgressTitle,#gameStage #roundHudLayer #missionHud .pro-kicker,#gameStage #roundHudLayer .round-chat-heading{color:#e0e8e8!important}
#gameStage #roundHudLayer #teamProgressBar{background:#0c161c!important;border:1px solid #52656c;border-radius:9px;padding:4px 6px!important;box-shadow:inset 0 2px 4px #0008!important}
#gameStage #roundHudLayer #teamProgressHud>div:nth-child(3),#teamExtractionStatus,#missionPhaseNotice{color:var(--hud-muted)!important}
#hud #time,#hud #ping{color:#f0e2b5;font-variant-numeric:tabular-nums}
#gameStage #roundHudLayer #playerTeamBadge::before{border-left:3px solid #dfc563!important}
#gameStage #roundHudLayer #playerTeamBadge[data-team=guard]::before{border-left-color:#e97676!important}
#playerTeamBadge small{color:#e7d283!important}#playerTeamBadge strong{color:#f2eacc!important}
#playerTeamBadge[data-team=guard] small{color:#f08b8b!important}#playerTeamBadge[data-team=guard] strong{color:#ffe0df!important}
#agentMinimapFrame::after{background:none!important;border:8px solid #27363e;border-radius:50%;box-sizing:border-box;box-shadow:inset 0 0 0 1px #809199,inset 0 0 0 5px #3e4e56,0 0 0 1px #71828a,0 5px 15px #0006}
#hunterMinimapPanel{border-radius:12px;color:var(--hud-text)}
#hunterMinimapPanel>div{color:var(--hud-muted)!important}
#hunterMinimapPanel canvas{outline:1px solid #63777e;outline-offset:2px}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar){background:var(--hud-surface);border:1px solid #64777f;border-radius:14px;box-shadow:inset 0 1px #eef8ff24,0 5px 16px #0006}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot{border:1px solid #73858b;box-sizing:border-box;border-radius:9px;background:#1d2a31;box-shadow:inset 0 1px #fff2,0 2px 5px #0006;transition:border-color 150ms,box-shadow 150ms}
#gameStage #roundHudLayer .ability-slot kbd{border:1px solid #839198!important;border-image:none!important;border-radius:4px;background:#25333bef!important;color:#f0f4ef;box-shadow:0 1px 2px #0008}
#gameStage #roundHudLayer .skill-caption{background:#152128ed;border-radius:4px}
#gameStage #roundHudLayer .ability-label{color:#f2f4ed}
#gameStage #roundHudLayer .ability-slot small{color:#c7d1d0}
#gameStage #roundHudLayer .ability-slot:is(.selected,.boost-active,.scan-active){outline-color:#e8d294;box-shadow:0 0 0 1px #e8d29455,0 0 12px #ffe3a82d}
#gameStage #roundHudLayer #guardAbilityBar .ability-slot.scan-active{outline-color:#ee8d8d;box-shadow:0 0 12px #e96a6a55}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) #staminaHud{background:#0c171e!important;border-radius:5px;box-shadow:inset 0 1px 4px #0009}
#gameStage #roundHudLayer #staminaHud>div:first-child{color:#f2f4eb}
#gameStage #roundHudLayer #staminaBar{background:linear-gradient(90deg,#d5a91f,#ffd84d)!important}
#gameStage #roundHudLayer #guardAbilityBar #staminaBar{background:linear-gradient(90deg,#d5a91f,#ffd84d)!important}
#gameStage #roundHudLayer :is(#roundChat input,.ability-help),#skillTooltip,.round-chat-detail,#fullscreenNotice{background:#19272ef5!important;color:var(--hud-text);border:1px solid #64777f!important;border-radius:9px;box-shadow:inset 0 1px #fff1,0 4px 14px #0005}
#skillTooltip strong{color:#f0e4c7}#skillTooltip small,#spectatorStatusHint{color:#c7d4d6}
#roundHudLayer #roundChat :is(button,.round-chat-channels button),#roundHudLayer .spectator-selection button,#roundHudLayer #extractionSpectate,#roundHudLayer :is(#agentMapPlus,#agentMapMinus){border:1px solid #71838b!important;border-image:none!important;background:linear-gradient(#394850,#26333b)!important;color:#eff3ed!important;border-radius:7px;box-shadow:inset 0 1px #f0f8ff22,0 2px 4px #0004;transition:border-color 150ms,box-shadow 150ms,filter 150ms}
#roundHudLayer #roundChat .round-chat-channels button[aria-pressed=true]{background:#52636c!important;border-color:#d4dfdf!important;color:#fff!important}
#roundHudLayer :is(#agentMapPlus,#agentMapMinus) img{width:18px;height:18px;object-fit:contain;margin:auto}
#roundHudLayer :is(#agentMapPlus,#agentMapMinus):disabled{opacity:.4;box-shadow:none}
#roundHudLayer :is(button,input):not(:disabled):is(:hover,:focus-visible){border-color:#f0dfb8!important;outline-color:#f0dfb8;box-shadow:0 0 0 1px #f0dfb844,0 0 12px #ffe0a92b;filter:brightness(1.1)}
#roundHudLayer :is(button,input):focus-visible{outline:2px solid #f0dfb8;outline-offset:2px}
#roundHudLayer #roundChat:not(:focus-within) form{opacity:.85}
#gameStage #roundHudLayer :is(#speedhuntHud,#speedhuntPersonalAlert,#eliminationAlert,#captureHud)::before{border-color:#d78079!important;border-left:3px solid #e77f75!important;background:linear-gradient(145deg,#3a2a30f5,#231e28f5)}
#gameStage #roundHudLayer #rescueHud::before{border-color:#79ad99!important;border-left:3px solid #8bceb0!important}
#gameStage #roundHudLayer #msg[data-feedback]{background:#1b2931f5;border-radius:9px;box-shadow:0 3px 10px #0004}
body>:is(#globalSettingsToggle,#globalAudioToggle,#globalFullscreenToggle,#globalHelpToggle,#globalBackToggle){box-sizing:border-box;border:1px solid #778990!important;border-radius:6px!important;background:linear-gradient(#3c4a52,#26333b)!important;color:#edf3ef!important;box-shadow:inset 0 1px #eef7ff25,0 2px 5px #0005;transition:border-color 150ms,box-shadow 150ms,filter 150ms}
body>:is(#globalSettingsToggle,#globalAudioToggle,#globalFullscreenToggle) img{width:16px;height:16px;object-fit:contain;margin:auto}
body>:is(#globalSettingsToggle,#globalAudioToggle,#globalFullscreenToggle,#globalHelpToggle,#globalBackToggle):is(:hover,:focus-visible){border-color:#f0dfb8!important;outline-color:#f0dfb8;filter:brightness(1.16);box-shadow:inset 0 1px #fff4,0 0 12px #ffe0a93d}
body>#performanceHud{color:#dce6e7!important;font-variant-numeric:tabular-nums}
body>#performanceHud::before{border-radius:6px}
@media(prefers-reduced-motion:reduce){#roundHudLayer :is(button,input),body>:is(#globalSettingsToggle,#globalAudioToggle,#globalFullscreenToggle,#globalHelpToggle,#globalBackToggle){transition:none!important}}
/* Auxiliary notices retain their semantic color while sharing the new finish. */
#gameStage #roundHudLayer :is(#missionCooldownHud,#prisonFlashHud,#extractionAlert,#extractionReadyNotice){background:var(--hud-surface)!important;border-radius:12px!important;box-shadow:inset 0 1px #eef8ff20,0 5px 16px #0005!important}
#gameStage #roundHudLayer #missionCooldownHud{border:1px solid #b6a06a!important;color:#eee2c0}
#gameStage #roundHudLayer #prisonFlashHud{border:1px solid #8bb5a1!important}
#gameStage #roundHudLayer :is(#extractionAlert,#extractionReadyNotice){border-color:#83d7a3!important}
#networkAfkWarning,#networkCountdown,#networkKickNotice{border-radius:12px!important;box-shadow:inset 0 1px #eef8ff20,0 5px 20px #0006!important}
#gameStage #roundHudLayer #teamProgressFill{border-radius:5px;box-shadow:inset 0 1px #fff3}
#gameStage #roundHudLayer .skill-art{inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);border-radius:6px}

/* 368: one compact extraction progress bar, with its label inside. */
#gameStage #roundHudLayer #teamProgressHud{width:min(420px,calc(var(--hud-width,1920px) - 748px))!important;min-height:0!important;height:30px;padding:4px!important;border:0!important;border-radius:9px!important}
#gameStage #roundHudLayer #teamProgressHud::before{border-radius:9px}
#gameStage #roundHudLayer #teamProgressHud>div:not(#teamProgressBar){display:none!important}
#gameStage #roundHudLayer #teamProgressBar{position:relative;margin:0!important;width:100%;height:22px!important;padding:0!important;border:1px solid #52656c!important;border-radius:6px;box-sizing:border-box;isolation:isolate}
#gameStage #roundHudLayer #teamProgressFill{height:100%;border-radius:4px}
#gameStage #roundHudLayer #teamProgressBar .team-phase-marker{display:none!important}
#extractionProgressLabel{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2;font:750 12px/20px system-ui;color:#fffdf3;text-shadow:0 1px 2px #000,0 0 4px #000,0 0 2px #000;white-space:nowrap;pointer-events:none}

/* 369: transparent toy-style skill props, shared by ready/cooldown/effect/help UI. */
#gameStage #roundHudLayer .skill-art{inset:3px 4px 23px;width:calc(100% - 8px);height:calc(100% - 26px);object-fit:contain;border-radius:0}
#gameStage #roundHudLayer .ability-slot{background:radial-gradient(ellipse at 50% 28%,#3e505b,#1d2a31 85%)!important}
#gameStage #roundHudLayer .ability-slot:is(.is-depleted,.is-cooldown) .skill-art{filter:grayscale(1) brightness(.67)}
#gameStage #roundHudLayer .skill-cooldown-fill{inset:2px;border-radius:7px;background:linear-gradient(to top,#8eabb258,#c7d9dd38);border:0}
#gameStage #roundHudLayer .skill-cooldown-edge::before{height:2px;background:#d1e0e2;box-shadow:0 0 3px #d5e9eb60}
#gameStage #roundHudLayer .skill-caption{left:2px;right:2px;bottom:2px;min-height:20px;background:#152128f2}
#gameStage #roundHudLayer .is-cooldown .skill-caption{background:#152128df}
#gameStage #roundHudLayer .skill-countdown{top:7px;font-size:26px;line-height:30px;color:#fffdf3}
.active-skill-effect{background:radial-gradient(ellipse at 50% 30%,#3e505bf2,#19272ef5);border:1px solid #71858d;box-sizing:border-box;border-radius:10px;box-shadow:inset 0 1px #e6f4ff20,0 3px 8px #0007}
.active-skill-effect img{inset:4% 7% 25%;width:86%;height:71%;object-fit:contain;border-radius:0}
.active-skill-effect strong{bottom:4%;background:#152128e8;color:#f2f6ee}
#gameMenu .howto-skill>img{object-fit:contain;background:radial-gradient(#3e505b,#1d2a31);border:1px solid #64777f;border-radius:8px;padding:4px;box-sizing:border-box}
#globalScanNotice{background:#243039f5!important;border-color:#cf7d84!important;box-shadow:inset 0 1px #fff2,0 4px 12px #0005}
#globalScanNotice img{object-fit:contain}

/* 378: matte toy instruments, shared across all ten live mission puzzles. */
#gameStage #miniBody[data-mission-art]{border:26px solid transparent!important;border-image:url('assets/mission-panel-378.webp') 90 fill / 26px stretch!important;padding:20px!important;color:#dbe6e8}
#gameStage #miniTitle{color:#f0e4c7!important;letter-spacing:.7px}
#gameStage #miniInfo .mission-instruction-kicker{color:#b6c8cf!important}
#gameStage #miniInfo .mission-instruction-detail{color:#a9e4ff!important}
#gameStage #missionPingTimer{background:#142129!important;border-color:#6e848e!important;border-radius:8px!important}
#gameStage #miniBody .mission-chassis{background:transparent!important}
#gameStage #miniBody :is(button:not(.circuitNode):not(.fuseSwitch):not(#masterBreaker):not(#frequencyKnob):not(#accessCard):not(.scanPackage):not(.keypad-insert-lock):not(.emergency-circuit):not(.atm-slot-button):not(.archive-file),.dataChoice,#keypad .codeKey){border:1px solid #71858e!important;border-image:none!important;border-radius:10px!important;background:linear-gradient(#40535e,#26353f)!important;color:#edf4f3!important;box-shadow:inset 0 1px #e4f4ff30,0 3px 6px #0005!important;text-shadow:none!important}
#gameStage #miniBody button:not(:disabled):is(:hover,:focus-visible){outline-color:#ecd597!important;border-color:#ecd597!important;filter:brightness(1.12)}
#gameStage #miniBody button.mission-action-ready:not(:disabled){background:linear-gradient(#366552,#204333)!important;border-color:#91d8af!important;color:#dcffeb!important;box-shadow:0 0 10px #83dcad35,inset 0 1px #e1ffe933!important}
#gameStage #miniBody :is(.data-field,.evidence-monitor,#tunerDisplay){border:16px solid transparent!important;border-image:url('assets/mission-monitor-378.webp') 64 fill / 16px stretch!important;background:transparent!important;border-radius:12px!important;box-shadow:0 3px 8px #0005!important}
#gameStage #miniBody .data-field{padding:10px 14px!important}
#gameStage #miniBody :is(.data-block-label,.tuning-hint,.evidence-toolbar,.evidence-time-labels,#routeStatus,#circuitStatus,#pkgStatus){color:#c1d1d7!important}
#gameStage #miniBody :is(#routeGrid,#scanBay,#evidenceTimeline,#breakerSequence){border:1px solid #627985!important;border-radius:10px!important;background:#14232b!important;box-shadow:inset 0 2px 7px #0006!important}
#gameStage #miniBody #circuitBoard{border:0!important;background:none!important;border-radius:12px!important;box-shadow:0 4px 9px #0005!important;isolation:isolate}
#gameStage #miniBody #circuitBoard::before{content:'';display:block!important;position:absolute;inset:0;border:18px solid transparent;border-image:url('assets/mission-panel-378.webp') 90 fill / 18px stretch;pointer-events:none;z-index:-1}
#gameStage #miniBody #circuitLines{background:none!important}
#gameStage #miniBody .socket-art{background-image:url('assets/mission-socket-378.webp')!important}
#gameStage #miniBody #frequencyKnob{background:transparent!important}
#gameStage #miniBody #frequencyKnobPointer{inset:0!important;background:transparent url('assets/mission-knob-378.webp') center/contain no-repeat}
#gameStage #miniBody #frequencyKnobPointer i{display:none}
#gameStage #miniBody .fuseSwitch{border:1px solid #71858e!important;border-radius:12px!important;background:linear-gradient(#33444d,#1d2e37)!important}
#gameStage #miniBody .fuse-art-wrap .fuse-switch-art{transform:none!important}
#gameStage #miniBody .fuse-art-wrap.is-off .fuse-switch-art{transform:rotate(180deg)!important;filter:brightness(.8)}
#gameStage #miniBody #breakerPanel #masterBreaker,#gameStage #miniBody #breakerPanel #masterBreaker[data-on="true"]{background:transparent url('assets/mission-switch-378.webp') center/contain no-repeat!important}
#gameStage #miniBody #breakerPanel #masterBreaker:not([data-on="true"]){transform:rotate(180deg)}
#gameStage #miniBody .emergency-switch-art{background:transparent url('assets/mission-switch-378.webp') center/contain no-repeat!important;transform:rotate(180deg)}
#gameStage #miniBody .emergency-circuit[data-on="true"] .emergency-switch-art{background-image:url('assets/mission-switch-378.webp')!important;transform:none}
#gameStage #miniBody #breakerSequence li{background:#243640!important;border-color:#637b86!important;color:#eef4f3}
#gameStage #miniBody #breakerSequence li.current{border-color:#ead38e!important}
#gameStage #miniBody #breakerSequence li.completed{background:#254939!important;border-color:#8acaa6!important}
#gameStage #miniBody .scanPackage{background:transparent url('assets/mission-parcel-378.webp') center/contain no-repeat!important;border:0!important;border-image:none!important}
#gameStage #miniBody #handScanner{background-image:url('assets/mission-scanner-378.webp')!important}
#gameStage #miniBody #accessCard.security-id-card{background:transparent url('assets/mission-card-378.webp') center/contain no-repeat!important;color:#edf4f3!important;box-shadow:0 5px 10px #0007!important}
#gameStage #miniBody .id-card-label{color:#a8c2cd!important}
#gameStage #miniBody .id-card-heading{color:#15222a!important}
#gameStage #miniBody #keypad .codeKey[data-v="C"]{color:#ffd395!important}
#gameStage #miniBody #keypad .codeKey[data-v="OK"]{color:#b2efcc!important}
#gameStage #miniBody :is(#interceptCall,#interceptPlace){border-color:#6b8491!important;border-radius:8px!important;background:#182a35!important;color:#edf4f3!important}
#gameStage #miniBody :is(#interceptCall,#interceptPlace) option{background:#182a35!important;color:#edf4f3!important}
#gameStage #miniBody[data-mission-art="FUNKSTATION"] #tunerDisplay{border:16px solid transparent!important;border-image:url('assets/mission-monitor-378.webp') 64 fill / 16px stretch!important;background:transparent!important;border-radius:12px!important;box-shadow:0 3px 8px #0005!important;box-sizing:border-box}
#gameStage #miniBody #routeGrid button{background:linear-gradient(#354950,#1d3038)!important;border-color:#72858e!important;border-radius:10px!important;box-shadow:inset 0 1px #d9edf433,0 2px 5px #0005!important}
#gameStage #miniBody[data-mission-art="FUNKGERÄT"] .mission-chassis>div:nth-child(2){background:#12242d!important;border-color:#617a85!important;border-radius:10px!important}
#gameStage #miniBody .scanPackage .qr-label{left:calc(50% - 73px)!important;bottom:10px;width:100px;height:100px;box-shadow:0 2px 4px #0005}
#gameStage #miniBody .scanPackage>div:first-child{padding:12px 0 0!important;text-align:center;color:#514128!important;font-size:11px!important}
#gameStage #miniBody .scanPackage .packageCode{right:calc(50% - 72px)!important;bottom:14px!important;max-width:74px;font-size:13px!important;padding:3px 4px}
#gameStage #miniBody .scanPackage .scanFeedback{right:calc(50% - 74px)!important;top:38px!important;max-width:145px;font-size:11px!important}

/* 379: use the cabinet's full height for four generously spaced connector rows. */
#gameStage #miniBody[data-mission-art="STROMKREIS"]{gap:14px;justify-content:flex-start}
#gameStage #miniBody[data-mission-art="STROMKREIS"] #circuitBoard{flex:1 1 0;height:auto!important;min-height:0!important;background:#1c2b34 url('assets/mission-cabinet-379.webp') center/cover no-repeat!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] #circuitBoard::before{display:none!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode{width:132px!important;height:90px!important;font-size:24px;gap:14px;transform:translateY(-50%);z-index:2}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode.leftNode{left:calc(21% - 66px)!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode.rightNode{right:calc(21% - 66px)!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .socket-art{width:78px;height:78px}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .socket-contact{inset:25px;border-width:2px}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuit-bank-label{top:6%;width:160px;font:800 19px system-ui;letter-spacing:2px;padding:8px 0;color:#e6e3d5;background:#15232ce6;border:1px solid #617781;border-radius:7px}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuit-bank-left{left:calc(21% - 80px)}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuit-bank-right{right:calc(21% - 80px)}
#gameStage #miniBody[data-mission-art="STROMKREIS"] #circuitStatus{flex:0 0 auto;box-sizing:border-box;margin-top:0!important;min-height:44px;padding:12px;border:1px solid #617781;border-radius:8px;background:#14262f!important;color:#c4ead8!important;font-size:17px!important}

/* 380: continuous recessed banks and genuinely oval connector artwork. */
#gameStage #miniBody[data-mission-art="STROMKREIS"] #circuitBoard{background-image:url('assets/mission-cabinet-380.webp')!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode{display:block!important;width:164px!important;font-size:0!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode.leftNode{left:calc(24% - 82px)!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode.rightNode{right:calc(24% - 82px)!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .socket-art{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:108px;height:72px;background-image:url('assets/mission-socket-380.webp')!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .socket-contact{inset:29px 34px}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode::after{content:attr(data-port-label);position:absolute;top:50%;left:0;transform:translateY(-50%);width:24px;text-align:center;color:#edf1e5;font:900 24px system-ui;pointer-events:none}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode.rightNode::after{left:auto;right:0}

#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuit-bank-left{left:calc(24% - 80px)}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuit-bank-right{right:calc(24% - 80px)}

/* 381: task-specific equipment surrounds the live puzzle controls. */
#gameStage #miniBody[data-mission-art]:not([data-mission-art="STROMKREIS"])::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:#1c2931 var(--mission-workbench) center/cover no-repeat;border-radius:9px}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]{--mission-workbench:url('assets/mission-fuses-381.webp')}
#gameStage #miniBody:is([data-mission-art="DATEN"],[data-mission-art="TERMINAL"],[data-mission-art="BEWEISE VERNICHTEN"]){--mission-workbench:url('assets/mission-data-381.webp')}
#gameStage #miniBody:is([data-mission-art="FUNKSTATION"],[data-mission-art="FUNKGERÄT"]){--mission-workbench:url('assets/mission-radio-381.webp')}
#gameStage #miniBody[data-mission-art="PAKET"]{--mission-workbench:url('assets/mission-logistics-381.webp')}
#gameStage #miniBody:is([data-mission-art="SCHLÜSSELKARTE"],[data-mission-art="SICHERUNG"]){--mission-workbench:url('assets/mission-access-381.webp')}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis{position:relative;flex:1 1 0;min-height:0;padding:90px 65px 85px!important;display:flex;flex-direction:column}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis>div:first-child{flex:0 0 auto;padding:7px 12px;margin-bottom:12px!important;background:#13232ce6;border:1px solid #607681;border-radius:7px}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .cabinetFuseGrid{flex:1 1 0;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:24px!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch{height:auto!important;min-height:178px;background:linear-gradient(#16232bed,#111c23ed)!important;border-color:#667b85!important;box-shadow:inset 0 2px 8px #0009,0 3px 6px #0008!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis>div:last-child{flex:0 0 10px}
#gameStage #miniBody:is([data-mission-art="DATEN"],[data-mission-art="FUNKSTATION"],[data-mission-art="FUNKGERÄT"]){padding-left:48px!important;padding-right:48px!important}
#gameStage #miniBody[data-mission-art="DATEN"] .data-fields{padding:18px 12px;background:#112029d9;border:1px solid #637780;border-radius:13px;box-shadow:0 6px 15px #0008}
#gameStage #miniBody[data-mission-art="DATEN"] .data-choices{padding:12px;background:#112029e8;border:1px solid #637780;border-radius:11px}
#gameStage #miniBody[data-mission-art="DATEN"] #dataNext{box-shadow:0 5px 12px #000a!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis{padding:0!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis>div:first-child{position:absolute;top:10%;left:8%;right:8%;margin:0!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .cabinetFuseGrid{position:absolute;inset:16% 8% 20%;gap:34px!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch>div:first-child,#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch>b{background:#101d25e6;border-radius:5px;padding:4px 8px}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis>div:last-child{position:absolute;left:8%;right:8%;bottom:11%;margin:0!important}
#gameStage #miniBody[data-mission-art="FUNKSTATION"] .tuning-hint{background:#13232ce8;border:1px solid #617781;border-radius:7px;padding:8px;box-sizing:border-box}

/* 382: center breakers on their recessed mounting bays, with indirect active light. */
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .cabinetFuseGrid{inset:13% 5.5% 20%}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch{position:relative}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch>div:first-child{position:absolute;top:12px;left:50%;transform:translateX(-50%);white-space:nowrap}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch>b{position:absolute;bottom:12px;left:50%;transform:translateX(-50%)}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);isolation:isolate}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap::before{content:'';position:absolute;inset:-32px -28px;z-index:-1;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,#72ee9b42 0%,#4fe18324 35%,#3ddc7210 55%,transparent 73%);opacity:0}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap.is-on::before{opacity:1}
#gameStage #miniBody[data-mission-art="PAKET"] .scanPackage{background-image:url('assets/mission-parcel-382.webp')!important}
#gameStage #miniBody[data-mission-art="PAKET"] .scanPackage .qr-label{left:calc(50% - 126px)!important;bottom:12px;width:80px;height:80px}
#gameStage #miniBody[data-mission-art="PAKET"] .scanPackage .packageCode{right:calc(50% - 126px)!important}

/* 384: ICE uses glacier blue; FIRE keeps red with restrained orange details. */
:root{--ice-accent:#65cfff;--fire-accent:#ed5960;--fire-secondary:#ff9541}
#gameStage #roundHudLayer #playerTeamBadge[data-team=agent]::before{border-left-color:var(--ice-accent)!important}
#playerTeamBadge[data-team=agent] small{color:var(--ice-accent)!important}
#playerTeamBadge[data-team=agent] strong{color:#d6f2ff!important}
#gameStage #roundHudLayer #agentAbilityBar #staminaBar{background:linear-gradient(90deg,#d5a91f,#ffd84d)!important}
#gameStage #roundHudLayer #agentAbilityBar .ability-slot:is(.selected,.boost-active,.scan-active){outline-color:var(--ice-accent);box-shadow:0 0 0 1px #65cfff66,0 0 12px #65cfff3d}
#gameStage #roundHudLayer #playerTeamBadge[data-team=guard]::before{border-left-color:var(--fire-accent)!important}
.team-blue{color:var(--ice-accent,#65cfff)!important}
.team-red{color:var(--fire-accent,#ed5960)!important}
.report-team:has(.team-blue){border-color:#65cfff66;background:linear-gradient(145deg,#3284b426,#14252e80)}
#gameMenu .team-long-name{display:block;max-width:330px;white-space:normal;font:600 11px/1.35 system-ui;color:#bacbd3;letter-spacing:.1px;margin-top:4px}
#gameMenu .howto-team.agents{border-color:#65cfff70!important}
#gameMenu .setup-roster .menu-agent-section:first-child h2{color:#65cfff!important}
#gameMenu .team-identity-grid>div:first-child{color:#65cfff}
#gameMenu .team-identity-grid>div:last-child{color:#ed5960}
#gameMenu #menuRoster .menu-agent-section:first-child .menu-roster-row.is-player{border-left-color:#65cfff!important;background:#65cfff12!important;box-shadow:inset 3px 0 #65cfff!important}
#gameMenu #menuRoster .menu-agent-section:first-child .menu-roster-row.is-player small{color:#a5e2ff!important}
#gameMenu #menuRoster .menu-agent-section:last-child .menu-roster-row.is-player{border-left-color:#ed5960!important;background:#ed596012!important;box-shadow:inset 3px 0 #ed5960!important}
#gameMenu #menuRoster .menu-agent-section:last-child .menu-roster-row.is-player small{color:#ffaaa4!important}
.agent-hud-accent :is(#hud,#missionHud,#staminaHud,#missionCooldownHud,#roundChat){border-left-color:#65cfff!important}
.agent-hud-accent #agentMinimap{border-color:#65cfff!important}
#gameStage #roundHudLayer #teamProgressFill{background:linear-gradient(90deg,#3586b5,#65cfff)!important}
/* 455: team-coloured ready skills; unavailable equipment stays neutral. */
#gameStage #roundHudLayer #agentAbilityBar{--skill-accent:#65cfff;--skill-tint:#168bc15c;--skill-glow:#65cfff60;--skill-caption:#123f58f5;--skill-ready-text:#bceeff}
#gameStage #roundHudLayer #guardAbilityBar{--skill-accent:#ff6b73;--skill-tint:#c532405c;--skill-glow:#ff596360;--skill-caption:#59232bf5;--skill-ready-text:#ffccd0}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot{transition:border-color .15s,box-shadow .15s;background:#182229!important}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:transparent;transition:background .15s}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:disabled){border:2px solid var(--skill-accent);box-shadow:inset 0 0 12px var(--skill-glow),0 0 9px var(--skill-glow)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:disabled)::after{background:linear-gradient(to bottom,var(--skill-tint),transparent 80%)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:disabled) .skill-caption{background:var(--skill-caption)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:disabled) small{color:var(--skill-ready-text);font-weight:900}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:disabled) .skill-art{filter:saturate(1.15) brightness(1.08)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled{border:1px solid #56636a;box-shadow:inset 0 0 10px #0007;outline:none}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled .skill-art{filter:grayscale(1) brightness(.42)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled .skill-caption{background:#111a20f5}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled :is(.ability-label,small){color:#9ba7ac}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:not(:disabled):is(:hover,:focus-visible,.selected){outline:2px solid var(--skill-accent);outline-offset:2px;box-shadow:0 0 14px var(--skill-glow)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled:is(.boost-active,.scan-active){border-color:var(--skill-accent);border-style:dashed}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled:is(.boost-active,.scan-active) small{color:var(--skill-ready-text)}

/* 479: aligned OFF/ON atlas crops; paddle down/up and unlit/green lamp. */
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap,
#gameStage #miniBody[data-mission-art="SICHERUNG"] .emergency-switch-art{width:103px;height:115px;flex-basis:115px;background:transparent url('assets/mission-breaker-states-722.webp') 18.21036% 55.6701%/354.8% 112.27848% no-repeat!important;transition:none!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap.is-on,
#gameStage #miniBody[data-mission-art="SICHERUNG"] .emergency-circuit[data-on="true"] .emergency-switch-art{background-image:url('assets/mission-breaker-states-722.webp')!important;background-position:81.55416% 55.6701%!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .emergency-switch-art{transform:none!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits .emergency-circuit{height:185px!important;grid-template-rows:auto 115px auto}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap::before{content:none}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .emergency-switch-art .miniLever{display:none}

/* Distinct orange FI master. */
#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerPanel #masterBreaker{background-image:url('assets/mission-fi-orange-off-174.webp')!important;transform:none!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerPanel #masterBreaker[data-on="true"]{background-image:url('assets/mission-fi-orange-on-174.webp')!important;transform:none!important}

#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerPanel #masterBreaker{width:160px!important;background-size:auto 100%!important}

/* 480: one shared mounting rail, with full-size breakers instead of UI tiles. */
#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerPanel .breaker-controls{position:relative;isolation:isolate;grid-template-columns:180px minmax(0,1fr)!important;gap:24px!important;padding:28px 12px 18px!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .breaker-controls::before{content:'';position:absolute;left:16px;right:16px;top:152px;height:42px;z-index:-1;border-top:4px solid #7c8587;border-bottom:4px solid #11191c;background:linear-gradient(#4c565b,#89918e 15%,#394348 30%,#182126 70%,#66716f 88%,#303c40);box-shadow:0 8px 12px #0009}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits .emergency-circuit{height:342px!important;min-width:0;padding:0 2px!important;grid-template-rows:38px 254px 26px;gap:12px;border:0!important;border-image:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transition:none!important;text-align:center}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits .emergency-circuit>div:first-child{justify-content:center!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits .emergency-circuit>div:last-child{justify-content:center!important;gap:12px}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .emergency-circuit b{font-size:15px!important;letter-spacing:.6px;text-shadow:0 2px 3px #000}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .emergency-circuit .lamp{display:none}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .emergency-switch-art{width:160px;height:254px;max-width:100%;filter:drop-shadow(0 7px 4px #000a)}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits .emergency-circuit:focus-visible{outline:none!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits .emergency-circuit:focus-visible .emergency-switch-art{outline:2px solid #e9d08c;outline-offset:3px;border-radius:8px}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuits .emergency-circuit:hover .emergency-switch-art{filter:brightness(1.12) drop-shadow(0 7px 4px #000a)}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .fi-master-column{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] .fi-master-column .pro-kicker{height:38px;margin:0!important;display:grid;place-items:center}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerPanel #masterBreaker{width:180px!important;height:254px!important;margin:12px auto!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #masterLabel{margin:0!important;line-height:26px}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #circuitProgress{margin-top:-30px;margin-bottom:12px!important;color:#c7d0cc}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerMessage{margin-top:24px!important;border:0!important;border-top:1px solid #65716b!important;border-radius:0!important;background:#111b1dc4!important}

/* 481: FI uses the same down/up paddle mechanism in orange, in a wider casing. */
#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerPanel #masterBreaker{background:transparent url('assets/mission-fi-states-481.png') 15.608466% 56.25%/277.1875% 109.913259% no-repeat!important;transition:none!important;transform:none!important}
#gameStage #miniBody[data-mission-art="SICHERUNG"] #breakerPanel #masterBreaker[data-on="true"]{background-image:url('assets/mission-fi-states-481.png')!important;background-position:84.391534% 56.25%!important}

/* 482: steady reflected green light behind live fuse hardware. */
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap::before{content:none}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch::before{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:185px;height:190px;z-index:0;border-radius:50%;background:radial-gradient(ellipse at 50% 65%,#70ff9c55 0%,#50e98232 29%,#3bdc7218 52%,transparent 75%);opacity:0;transition:none;pointer-events:none}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch:not(:disabled)::before{opacity:1}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap{z-index:1}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap.is-on{filter:drop-shadow(0 0 12px #65ff9870) drop-shadow(0 6px 18px #43e97838)}

/* 483: fill the cabinet recesses with larger complete breaker housings. */
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap{width:155px;height:195px;flex-basis:195px}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch::before{width:220px;height:245px}

/* 485: neutral inserted plugs cover the coloured sockets; cables retain colour. */
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuit-plug{display:none;position:absolute;left:50%;top:50%;width:148px;height:80px;transform:translate(-50%,-50%);background:transparent url('assets/circuit-plug-485.png') 51.49254% 50.18182%/109.490085% 137.061995% no-repeat;filter:drop-shadow(0 4px 3px #000a);pointer-events:none;z-index:3}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .has-plug .circuit-plug{display:block}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .rightNode .circuit-plug{transform:translate(-50%,-50%) scaleX(-1)}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .circuitNode.has-plug:disabled{opacity:1!important}
#gameStage #miniBody[data-mission-art="STROMKREIS"] .has-plug .socket-contact{visibility:hidden}

/* 489: one consistent mission heading and instruction, beside the ping timer. */
#gameStage #miniGameHud .mission-console-heading{align-items:flex-start!important;padding-bottom:0;border-bottom:0;margin-bottom:24px}
#gameStage #miniTitle{display:none}
#gameStage #miniInfo{flex:1 1 auto;min-width:0;margin:0!important;opacity:1}
#gameStage #miniInfo .mission-instruction-head{border-left:5px solid #f2d471;padding-left:16px}
#gameStage #miniInfo .mission-instruction-kicker{margin:0 0 8px;font-size:32px!important;font-weight:900;line-height:1.2;letter-spacing:.8px;color:#f2d471!important}
#gameStage #miniInfo .mission-instruction-title{font-size:21px!important;font-weight:650;line-height:1.5!important;color:#dcecf3!important;text-shadow:none}
#gameStage #miniInfo .mission-instruction-detail{display:inline;margin:0;font:inherit!important;letter-spacing:normal;color:inherit!important}

/* 492: point out the tuner after a click on the surrounding equipment. */
#gameStage #miniBody #frequencyKnob.tuning-attention{outline:3px solid #f2d471!important;outline-offset:7px;box-shadow:0 0 28px #ffd76b88!important}

/* 493: artwork fills the card's actual hit area; heading stays inside its stripe. */
#gameStage #miniBody #accessCard.security-id-card{background-size:100% 100%!important}
#gameStage #miniBody .id-card-heading{top:14px;line-height:20px}
#gameStage #miniBody #readerSlot[aria-disabled="false"]{outline:2px solid #e6c96b;outline-offset:5px}
#gameStage #miniBody #keypad .codeKey[data-v="OK"].mission-action-ready:not(:disabled){outline:3px solid #8de9aa!important;outline-offset:3px}

/* 494: ATM front with a persistent display, keypad and ejectable employee card. */
#gameStage #miniBody[data-mission-art="SCHLÜSSELKARTE"] .atm-terminal{position:relative;aspect-ratio:3/2;background:#151b1e url('assets/access-atm-494.png') center/100% 100% no-repeat!important;isolation:isolate;border:0!important;border-radius:12px!important;overflow:hidden}
#gameStage #miniBody[data-mission-art="SCHLÜSSELKARTE"]{--mission-workbench:none}
#gameStage #miniBody .atm-screen{position:absolute;left:10%;top:9%;width:80%;height:28%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:10px;color:#d1f2e9;font-family:system-ui,sans-serif}
#gameStage #miniBody .atm-screen-kicker{font:800 13px/1.3 ui-monospace,monospace;letter-spacing:2px;color:#9eafb1}
#gameStage #miniBody .atm-screen #readerText{font:800 30px/1.2 system-ui,sans-serif;color:#e3f5ed;overflow-wrap:anywhere}
#gameStage #miniBody #atmMessage{font:600 20px/1.4 system-ui,sans-serif;min-height:56px;color:#bcdae6}
#gameStage #miniBody .atm-screen-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px}
#gameStage #miniBody .atm-screen #codeStatus{font:800 12px/1.4 ui-monospace,monospace;color:#e2cb82;max-width:70%}
#gameStage #miniBody .atm-screen #codeDisplay{font:900 30px/1 ui-monospace,monospace!important;letter-spacing:8px;min-width:130px!important;color:#bce9d3;text-align:right}
#gameStage #miniBody .atm-terminal[data-inserted="false"] #codeDisplay{visibility:hidden}
#gameStage #miniBody .atm-card-zone{position:absolute;left:7%;top:57%;width:28%}
#gameStage #miniBody .atm-terminal #accessCard{width:100%!important;height:200px!important;max-width:100%;transition:opacity .18s,transform .18s}
#gameStage #miniBody .atm-terminal #accessCardPortrait{left:16px;top:45px;width:86px;height:116px}
#gameStage #miniBody .atm-terminal .id-card-heading{left:16px;top:12px;font-size:12px;letter-spacing:1px}
#gameStage #miniBody .atm-terminal .id-card-data{left:120px;right:12px;top:47px}
#gameStage #miniBody .atm-terminal .id-card-name{font-size:16px;min-height:38px}
#gameStage #miniBody .atm-terminal .id-card-code{font-size:27px;letter-spacing:3px}
#gameStage #miniBody .atm-terminal .id-card-footer{left:16px;bottom:10px;font-size:8px;letter-spacing:.2px}
#gameStage #miniBody .atm-terminal #accessCard.atm-card-attention{outline:3px solid #f2d471!important;outline-offset:4px}
#gameStage #miniBody .atm-keypad{position:absolute;left:45.2%;top:50.5%;width:21.5%;height:35.3%}
#gameStage #miniBody .atm-keypad #keypad{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));width:100%;height:100%;max-width:none!important;gap:10px!important;margin:0!important}
#gameStage #miniBody .atm-keypad #keypad .codeKey{height:100%;min-height:0!important;min-width:0;box-sizing:border-box;padding:4px!important;font-size:25px!important}
#gameStage #miniBody .atm-keypad #keypad .codeKey[data-v="OK"]{font-size:19px!important}
#gameStage #miniBody .atm-keypad #keypad .keypad-insert-lock{position:absolute;inset:0;width:100%;height:100%;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer}
#gameStage #miniBody .atm-reader{position:absolute;left:76%;top:50%;width:18%;height:19%;text-align:center;box-sizing:border-box;padding:12px 10px}
#gameStage #miniBody .atm-reader-label{font:800 12px/1.2 ui-monospace,monospace;letter-spacing:1px;color:#bac3c6}
#gameStage #miniBody .atm-reader #readerLed{width:9px;height:9px;margin:9px auto;background:#a34d3f;border-radius:50%;box-shadow:0 0 6px #a34d3f88}
#gameStage #miniBody .atm-reader #readerSlot{position:relative;display:block;width:100%;height:20px;min-height:0!important;padding:0!important;border:2px solid #89938f!important;border-image:none!important;border-radius:5px!important;background:#020605!important;box-shadow:inset 0 3px 6px #000!important;cursor:pointer;outline:none}
#gameStage #miniBody .atm-reader #readerSlot:disabled{opacity:1!important;cursor:default}
#gameStage #miniBody .atm-reader #readerSlot:not(:disabled){outline:2px solid #d8c477;outline-offset:4px}
#gameStage #miniBody .atm-reader #readerSlot:focus-visible{outline:3px solid #b5edff!important}
#gameStage #miniBody .atm-reader #insertedCard{display:none;position:absolute;left:12%;top:4px;width:76%;height:26px;border:1px solid #a3aba5;border-radius:0 0 4px 4px;background:linear-gradient(#6f7e79,#d1d7ce);box-shadow:0 4px 4px #000a;pointer-events:none}
#gameStage #miniBody .atm-reader .atm-slot-lip{position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(#222d31,#030706);pointer-events:none}
#gameStage #miniBody .atm-reader #cardHint{margin-top:16px;font:700 9px/1.4 ui-monospace,monospace;color:#bac3c6}
#gameStage #miniBody .atm-terminal[data-inserted="true"] #readerLed{background:#d9bc68;box-shadow:0 0 8px #d9bc6888}
#gameStage #miniBody .atm-terminal[data-state="error"] #codeStatus{color:#ff998b}
#gameStage #miniBody .atm-terminal[data-state="success"] :is(#readerText,#codeStatus,#codeDisplay){color:#91f0b0}
#gameStage #miniBody .atm-terminal[data-state="success"] #readerLed{background:#72eb98;box-shadow:0 0 10px #72eb9888}

/* 497: authenticated landing approval, followed by one clear confirmation. */
#gameStage #miniBody .atm-terminal[data-state="authorized"] .atm-screen-bottom,
#gameStage #miniBody .atm-terminal[data-state="success"] :is(.atm-screen-kicker,#atmMessage,.atm-screen-bottom){display:none}
#gameStage #miniBody .atm-flight-id{display:none;font:800 16px/1.3 ui-monospace,monospace;letter-spacing:1px;color:#e7d38e}
#gameStage #miniBody .atm-terminal[data-state="authorized"] .atm-flight-id{display:block}
#gameStage #miniBody .atm-terminal[data-state="authorized"] #atmMessage{min-height:0}

/* 501: USB unlock and a desktop-style surveillance file manager. */
#gameStage #miniBody[data-mission-art="BEWEISE VERNICHTEN"] .evidence-archive{position:relative;display:flex;flex-direction:column;height:750px;background:#15232d!important;border:1px solid #6d8593!important;border-radius:10px!important;overflow:hidden;box-shadow:0 8px 18px #0008!important;font-family:system-ui,sans-serif}
#gameStage #miniBody .evidence-archive [hidden]{display:none!important}
#gameStage #miniBody .archive-titlebar{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 18px;background:#293e4d;color:#e5eef3;border-bottom:1px solid #536e7e}
#gameStage #miniBody #archiveStatus{margin-left:auto;max-width:52%;font:800 12px/1.35 ui-monospace,monospace;color:#d8ca8b}
#gameStage #miniBody .archive-usb-row{display:flex;align-items:center;gap:26px;padding:18px;background:#1c2d38;border-bottom:1px solid #4a6372}
#gameStage #miniBody #archiveUsb{display:flex;align-items:center;gap:18px;padding:12px 20px;min-width:290px;font-size:14px!important;cursor:pointer}
#gameStage #miniBody #archiveUsb.is-inserted{opacity:1!important}
#gameStage #miniBody .archive-unlock{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
#gameStage #miniBody #archiveUnlockTitle{font-size:16px;color:#d6eaf0}
#gameStage #miniBody #archiveUnlockText{font-size:14px;color:#bacdd7}
#gameStage #miniBody .archive-content{position:relative;flex:1;min-height:0;padding:18px}
#gameStage #miniBody #archiveLocked{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:#a9bec9;font-size:22px;letter-spacing:1px}
#gameStage #miniBody #archiveLocked>span{font-size:66px;color:#6a8ea3}
#gameStage #miniBody #archiveFiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:15px;height:100%}
#gameStage #miniBody .archive-file{display:block;min-width:0;min-height:0;box-sizing:border-box;padding:9px!important;border:2px solid #496171!important;border-image:none!important;border-radius:6px!important;background:#1c303d!important;text-align:left;box-shadow:none!important;cursor:pointer;overflow:hidden}
#gameStage #miniBody .archive-file:disabled{opacity:1!important;cursor:default!important}
#gameStage #miniBody .archive-file:is(:hover,.is-selected):not(:disabled){border-color:#79ccff!important;background:#274b63!important}
#gameStage #miniBody .archive-file img,#gameStage #miniBody .archive-file canvas{display:block;width:100%;height:calc(100% - 48px);object-fit:cover;border-radius:3px;background:#101b22}
#gameStage #miniBody .archive-file-name{display:block;margin-top:7px;font:800 15px/1.3 system-ui,sans-serif;color:#e2eef6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gameStage #miniBody .archive-file small{display:block;font:600 10px/1.5 ui-monospace,monospace;color:#a9becb}
#gameStage #miniBody .archive-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 18px;background:#203542;border-top:1px solid #496272}
#gameStage #miniBody #archiveSelection{font-size:14px;color:#ccdde6}
#gameStage #miniBody #archiveDelete{min-width:150px;padding:10px 18px;cursor:pointer}

/* 502: generated archive hardware and thumbnails, with character-by-character decryption. */
#gameStage #miniBody[data-mission-art="BEWEISE VERNICHTEN"]{border:0!important;border-image:none!important;padding:0!important;--mission-workbench:none}
#gameStage #miniBody[data-mission-art="BEWEISE VERNICHTEN"]::after{content:none!important}
#gameStage #miniBody[data-mission-art="BEWEISE VERNICHTEN"] .evidence-archive{height:780px;padding:60px 66px 100px!important;border:0!important;border-radius:12px!important;background:#101720 url('assets/archive-terminal-502.png') center/100% 100% no-repeat!important;box-shadow:none!important}
#gameStage #miniBody .evidence-archive .archive-titlebar{background:#263b48b8}
#gameStage #miniBody .evidence-archive .archive-usb-row{padding:12px 16px;background:#172936d9;gap:24px}
#gameStage #miniBody .evidence-archive .archive-footer{background:#203542dc}
#gameStage #miniBody #archiveUsb{min-width:300px;padding:8px 14px;gap:12px}
#gameStage #miniBody .archive-usb-art{display:block;width:132px;height:57px;object-fit:contain;filter:drop-shadow(0 3px 3px #0009);transition:transform .2s}
#gameStage #miniBody #archiveUsb.is-inserted .archive-usb-art{transform:translateX(5px);filter:drop-shadow(0 0 7px #58c9ff55)}
#gameStage #miniBody #archiveUsb>span{max-width:140px;font-size:12px;line-height:1.4}
#gameStage #miniBody #archivePassword{display:flex;justify-content:center;gap:9px;margin:8px 0}
#gameStage #miniBody .archive-password-char{display:grid;place-items:center;width:63px;height:78px;border:1px solid #7896a458;border-radius:5px;background:#08141dd9;font:800 38px/1 ui-monospace,monospace;color:#e9c96e;text-shadow:0 0 14px #e9c96e44;transition:color .1s,border-color .1s,box-shadow .1s}
#gameStage #miniBody .archive-password-char.is-resolved{color:#9bf4c3;border-color:#8bf3bda6;box-shadow:inset 0 0 20px #5cf7b31a,0 0 16px #7af0bc26;text-shadow:0 0 14px #98f6c280}
#gameStage #miniBody #archiveDecodeTitle{font:850 22px/1.4 system-ui,sans-serif;color:#d5ecf5;text-align:center}
#gameStage #miniBody #archiveDecodeHint{font:600 15px/1.4 system-ui,sans-serif;color:#b3c9d7;text-align:center;letter-spacing:0}
#gameStage #miniBody .evidence-archive #archiveLocked{gap:14px;font-size:20px}

/* 503: a generated deletion window with a live half-second progress fill. */
#gameStage #miniBody #archiveDeleting{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:#03081088;padding:40px}
#gameStage #miniBody .archive-delete-window{position:relative;width:640px;max-width:100%;aspect-ratio:2;background:url('assets/archive-delete-dialog-503.png') center/100% 100% no-repeat;box-shadow:0 12px 35px #000b;color:#e6f1f7}
#gameStage #miniBody #archiveDeleteTitle{position:absolute;left:8%;top:8%;font:800 18px/1.3 system-ui}
#gameStage #miniBody .archive-delete-filename{position:absolute;left:8%;right:8%;top:36%;font:650 18px/1.4 system-ui}
#gameStage #miniBody #archiveDeletePercent{position:absolute;right:9%;top:53%;font:800 16px/1.3 ui-monospace,monospace;color:#baf2cf}
#gameStage #miniBody #archiveDeleteProgress{position:absolute;left:6%;right:6%;top:70%;height:10%;overflow:hidden;border-radius:2px}
#gameStage #miniBody #archiveDeleteFill{display:block;width:0;height:100%;background:linear-gradient(#95efb3,#40bd76);box-shadow:0 0 10px #80f3b088}

/* Shared mission exit control. */
.mission-console-footer{display:flex;justify-content:flex-end}
#missionAbortButton{padding:12px 20px;min-height:46px;border:1px solid #78949e;border-radius:9px;background:linear-gradient(#35464f,#24343c);color:#e1edf2;font:inherit;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 2px 5px #0005}
#missionAbortButton:hover{filter:brightness(1.15)}
#missionAbortButton:focus-visible{outline:2px solid #ffd84d;outline-offset:3px}

/* Mission guidance pulses through brightness only, without a light halo. */
@keyframes missionActionLight{0%,100%{filter:brightness(1)}50%{filter:brightness(1.16)}}
@keyframes missionHardwareLight{0%,100%{filter:brightness(1)}50%{filter:brightness(1.23)}}
#gameStage #miniBody .mission-guidance-active{animation:missionActionLight 2s ease-in-out infinite;box-shadow:none;outline:2px solid #f5d47799;outline-offset:3px;border-radius:8px}
#gameStage #miniBody .mission-guidance-active:hover,#gameStage #miniBody .mission-guidance-active:focus-visible{outline:3px solid #ffe7a0!important;outline-offset:4px}
#gameStage #miniBody .fuse-art-wrap.mission-guidance-active,#gameStage #miniBody .emergency-switch-art.mission-guidance-active,#gameStage #miniBody .socket-art.mission-guidance-active{animation:missionHardwareLight 2s ease-in-out infinite;outline:none;box-shadow:none}
#gameStage #miniBody button:hover>.mission-guidance-active,#gameStage #miniBody button:focus-visible>.mission-guidance-active{outline:2px solid #ffe7a0!important;outline-offset:3px}
#gameStage #miniBody .mission-action-ready.mission-guidance-active{outline-color:#f5d477!important}
@media(prefers-reduced-motion:reduce){#gameStage #miniBody .mission-guidance-active{animation:none;box-shadow:none;filter:brightness(1.1)}#gameStage #miniBody .fuse-art-wrap.mission-guidance-active,#gameStage #miniBody .emergency-switch-art.mission-guidance-active,#gameStage #miniBody .socket-art.mission-guidance-active{filter:brightness(1.1)}}

/* Mission guidance animation temporarily disabled. */
#gameStage #miniBody .mission-guidance-active{animation:none!important;filter:none!important}

#gameStage #miniBody #packageFound{position:absolute;inset:0;z-index:5;display:grid;place-content:center;background:#07120dcc;color:#a7f0bd;font:900 32px/1.25 system-ui;text-align:center;pointer-events:none;text-shadow:0 2px 4px #000}
#gameStage #miniBody #packageFound[hidden]{display:none}

#gameStage #miniBody #packageFound.is-wrong{background:#250808e6;color:#ff6262}

#homeAccount .home-google-signin{margin-top:14px;min-height:44px;max-width:100%;overflow:hidden;color:#b8cbd4;font-size:13px}
#homeAccount .home-google-signin[hidden]{display:none}

/* Shared 750 ms mission result. One layer and separate text rows avoid overlaps. */
#gameStage #miniBody .mission-completion{position:absolute;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;box-sizing:border-box;padding:28px;background:#07121bd9;border-radius:12px;text-align:center;color:#e8f3f5;pointer-events:auto;cursor:default}
#gameStage #miniBody .mission-completion strong{display:block;font:900 32px/1.25 system-ui;color:#f4d77b;max-width:100%;overflow-wrap:anywhere}
#gameStage #miniBody .mission-completion span{display:block;font:750 22px/1.4 system-ui;color:#b7e5cc;max-width:100%;overflow-wrap:anywhere}
#missionAbortButton:disabled{opacity:.45;cursor:default}

/* Report hardware: recessed displays and a bolted control rail share the chassis. */
#gameStage .operation-report .report-matchup{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:20px}
#gameStage .operation-report .report-team{--report-edge:#69bad3;display:flex;flex-direction:column;padding:18px;border:8px solid #1b252b;border-radius:3px;background:linear-gradient(115deg,#112631d9,#081117e8),url('assets/result-metal-575.png') center/cover;box-shadow:0 0 0 1px #020609,0 1px 0 2px #82929a55,inset 0 3px 13px #000e,inset 0 0 0 1px #6195a04a;position:relative}
#gameStage .operation-report .report-team:has(.team-red){--report-edge:#d78a72;border-color:#29282a;background:linear-gradient(115deg,#2b1b21d9,#100e14e8),url('assets/result-metal-575.png') center/cover}
#gameStage .operation-report .report-team.report-winner{border-top:8px solid #1b252b}
#gameStage .operation-report .report-team::before{content:"";position:absolute;inset:-7px;z-index:1;border:0;border-radius:2px;pointer-events:none;background:radial-gradient(circle at 4px 4px,#070c10 0 1px,#75838a 1.5px 2px,#080c10 2.5px 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 4px) 4px,#070c10 0 1px,#75838a 1.5px 2px,#080c10 2.5px 3px,transparent 3.5px),radial-gradient(circle at 4px calc(100% - 4px),#070c10 0 1px,#75838a 1.5px 2px,#080c10 2.5px 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 4px) calc(100% - 4px),#070c10 0 1px,#75838a 1.5px 2px,#080c10 2.5px 3px,transparent 3.5px);box-shadow:inset 0 1px #a2adb544,inset 1px 0 #68768144,inset 0 -2px #000c}
#gameStage .operation-report .report-team-heading{margin:-18px -18px 10px;padding:14px 18px;background:linear-gradient(#71818c19,#060d1266);border-top:2px solid var(--report-edge);border-bottom:1px solid #000;box-shadow:0 1px #9bafb428}
#gameStage .operation-report .report-team-status{border-radius:2px;box-shadow:inset 0 2px 4px #0009,0 1px #ffffff13;background:#080f15}
#gameStage .operation-report .report-table-scroll{border:1px solid #050a0e;border-radius:2px;box-shadow:inset 0 2px 9px #000c,0 1px #8da2aa30;background:#06101670}
#gameStage .operation-report .report-table th{background:#03090d66;border-bottom:1px solid #6e8c9b44}
#gameStage .operation-report .report-table td{border-top-color:#8098a51c}
#gameStage .operation-report .report-team .report-footnote{margin:auto 0 0;padding-top:12px;min-height:3.1em;border-top:1px solid #6b85942b;color:#b8c9d3;font-size:12px;line-height:1.55}
#gameStage .operation-report .report-table-scroll{margin-bottom:12px}
#gameStage .operation-report .report-team .report-table th:first-child{width:33%}
#gameStage .operation-report .report-team .report-table th{height:30px;line-height:1.35;overflow-wrap:normal}
#gameStage .operation-report .report-summary{padding:14px 18px;border:1px solid #050a0e;border-radius:2px;background:linear-gradient(#02080d99,#12202a66);box-shadow:inset 0 2px 8px #000a,0 1px #85969f40}
#gameStage .operation-report .report-summary>div+div{border-left:1px solid #738b9833;padding-left:18px}
#gameStage .operation-report .result-menu-links{position:relative;gap:14px;margin-top:22px;padding:20px 24px;min-height:88px;border:1px solid #67798166;border-top:2px solid #81939b88;border-radius:3px;background:repeating-linear-gradient(0deg,#c4d3db03 0 1px,transparent 1px 3px),linear-gradient(100deg,#2e3b44eb,#152029f5 52%,#343331e8);box-shadow:inset 0 1px #becbd433,inset 0 -4px 7px #000a,0 -5px 0 #040a0e99,0 1px #02080b}
#gameStage .operation-report .result-menu-links::before,#gameStage .operation-report .result-menu-links::after{content:"";position:absolute;top:50%;width:7px;height:7px;margin-top:-4px;border-radius:50%;background:linear-gradient(135deg,#0b1014 40%,#76848c 45% 55%,#0b1014 60%);box-shadow:0 1px 1px #a8b8c455,0 0 0 2px #070d12}
#gameStage .operation-report .result-menu-links::before{left:8px}
#gameStage .operation-report .result-menu-links::after{right:8px}
body #gameStage #overlay.operation-report .result-menu-links button{min-height:46px;border:1px solid #73858f!important;border-bottom:3px solid #080f15!important;border-radius:3px;background:linear-gradient(#344854,#1d2c36)!important;box-shadow:0 0 0 3px #050c12,0 0 0 4px #697c853b,inset 0 1px #cce2ec36,0 3px 4px #000a!important;text-shadow:0 1px 2px #000}
body #gameStage #overlay.operation-report .result-menu-links #resultAction{border-top-color:#84c7dc!important;color:#d8f6ff!important}
body #gameStage #overlay.operation-report .result-menu-links button:is(:hover,:focus-visible){border-color:#b8dce8!important;background:linear-gradient(#3c5868,#263e4c)!important;outline:2px solid #97dbed;outline-offset:5px}
body #gameStage #overlay.operation-report .result-menu-links button:active{transform:translateY(2px);box-shadow:0 0 0 3px #050c12,inset 0 2px 5px #0009!important}


/* Shared top-right mission controls; the task text retains its own column. */
#gameStage .mission-console-actions{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:10px;margin-left:auto}
#gameStage .mission-console-actions #missionAbortButton{margin:0;white-space:nowrap}

#gameMenu .roster-avatar-edit{display:block;flex:0 0 auto;border:0;border-radius:7px;margin:0;padding:0;background:transparent;cursor:pointer;line-height:0}
#gameMenu .roster-avatar-edit:hover{background:#65cfff15}
#gameMenu .roster-avatar-edit:focus-visible{outline:2px solid #65cfff;outline-offset:3px}
/* Main-menu language selection shares viewport coordinates with global controls. */
body>#globalLanguageMenu{position:fixed;top:14px;right:auto;left:14px;bottom:auto;width:max-content;max-width:calc(100vw - 100px);height:22px;margin:0;padding:0;box-sizing:border-box;z-index:11990;display:flex;align-items:center;gap:12px;transform:none;zoom:1}
body>#globalLanguageMenu[hidden]{display:none!important}
body>#globalLanguageMenu>label{position:static;display:flex;align-items:center;flex:0 0 24px;width:24px;height:22px;margin:0;padding:0;color:#bad3dd;cursor:pointer}
body>#globalLanguageMenu>label>.language-symbol{display:block;width:24px;height:24px;overflow:visible}
body>#globalLanguageMenu>select{display:block;flex:0 0 auto;box-sizing:border-box;width:auto;min-width:195px;max-width:none;height:22px;min-height:22px;margin:0;padding:0 24px 0 9px;border:1px solid #627d87;border-radius:5px;background:#1e3038;color:#eaf1f4;font:700 12px/18px system-ui;cursor:pointer;box-shadow:inset 0 1px #ffffff10,0 2px 5px #0004;transform:none;zoom:1}
body>#globalLanguageMenu>select:focus-visible{outline:2px solid #a6d6e7;outline-offset:3px}
body>#globalLanguageMenu>select option{background:#1e3038;color:#eaf1f4}

/* Compact round status, directly below the team badge. */
#gameStage #roundHudLayer #hud{display:flex!important;align-items:center;gap:12px;top:132px!important;left:16px!important;width:max-content!important;min-width:0!important;max-width:calc(100% - 32px)!important;height:28px!important;min-height:0!important;box-sizing:border-box;padding:4px 8px!important;margin:0!important;border:0!important;border-radius:7px!important;font:600 12px/20px system-ui!important;white-space:nowrap;color:#b6c4c8!important}
#gameStage #roundHudLayer #hud::before{border:0!important;border-radius:7px!important;background:#142127c9!important;box-shadow:none!important}
#gameStage #roundHudLayer #hud>span{display:inline-flex;align-items:center;gap:5px}
#gameStage #roundHudLayer #hud svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#gameStage #roundHudLayer #hud b{font-size:12px!important;font-weight:650;font-variant-numeric:tabular-nums}
#gameStage #roundHudLayer #prisonHud{top:172px!important}
#aiSimPanel[hidden]{display:none!important}

/* Compact round counters: reveal explanations without taking permanent HUD space. */
#gameStage #roundHudLayer #hud{overflow:visible!important}
#gameStage #roundHudLayer #hud>span{position:relative;pointer-events:auto;cursor:help;outline-offset:3px;border-radius:3px}
#gameStage #roundHudLayer #hud>span:focus-visible{outline:2px solid #65cfff}
#hud .round-info{display:none;position:absolute;left:0;top:100%;padding:14px 12px 11px;width:250px;box-sizing:border-box;white-space:normal;text-align:left;font:400 12px/1.45 system-ui;color:#d8e2e5;background:#101e26fa;border:1px solid #536c79;border-radius:7px;box-shadow:0 5px 18px #0007;z-index:30}
#hud .round-info strong{display:block;margin-bottom:4px;font-weight:750;color:#f0e2b5}
#hud>span:is(:hover,:focus-within) .round-info{display:block}

/* Round timing follows the active ICE/FIRE minimap height. */
#gameStage #roundHudLayer #minimapWrap #hud{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;margin:8px 0 0 auto!important;z-index:30}
#gameStage #roundHudLayer #hud .round-info{left:auto;right:0;top:calc(100% + 4px);width:max-content;max-width:300px;padding:8px 11px;white-space:nowrap}

/* Extraction readiness is counted inside the compact mission progress bar. */
#gameStage #roundHudLayer #teamProgressHud[data-extraction-open="true"] #extractionProgressLabel{color:#ffe29a}
#gameStage #roundHudLayer #teamProgressHud[data-extraction-ice="true"] #teamProgressFill{background:linear-gradient(90deg,#248b58,#59d98b)!important}
#gameStage #roundHudLayer #teamProgressHud[data-extraction-ice="true"] #teamProgressBar{border-color:#73e6a3!important}
#gameStage #roundHudLayer #teamProgressHud[data-extraction-ice="true"] #extractionProgressLabel{color:#ecfff2}

/* GO marks the live start without blocking movement or hiding the map. */
#roundGo{position:fixed;inset:0;z-index:100;display:grid;place-items:center;pointer-events:none;color:#a0ffc4;font:950 clamp(90px,16vw,190px)/1 system-ui;letter-spacing:5px;text-shadow:0 4px 0 #123c2b,0 0 25px #4aff9599,0 8px 25px #000b;animation:round-go .85s ease-out both}
@keyframes round-go{0%{opacity:0;transform:scale(.7)}15%,65%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.12)}}
@media(prefers-reduced-motion:reduce){#roundGo{animation:none}}



/* Keep an empty prison roster out of the HUD; collapsed chat retains its reopen control. */
#gameStage #prisonHud[hidden]{display:none!important}
#gameStage #roundChat.chat-collapsed{width:auto!important;min-width:132px;min-height:0!important;height:auto!important}
#gameStage #roundChat.chat-collapsed>:not(.round-chat-heading),#gameStage #roundChat.chat-collapsed .round-chat-heading>:not(#roundChatCollapse){display:none!important}
#roundChatCollapse{margin-left:auto!important;min-width:24px}

/* 722: hardware and its cabinet share one uncropped source coordinate system. */
#gameStage #miniBody[data-mission-art="STROMKASTEN"]::after{inset:0!important;background-size:contain!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .cabinetFuseGrid{display:block!important;inset:auto!important;left:var(--cabinet-x)!important;top:var(--cabinet-y)!important;width:var(--cabinet-width);height:var(--cabinet-height);pointer-events:none}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch{position:absolute;left:50%;top:30%;width:16%!important;height:28%!important;min-height:0!important;padding:0!important;transform:translate(-50%,-50%);pointer-events:auto}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch:nth-child(3n+1){left:22.5%}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch:nth-child(3n){left:77.5%}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuseSwitch:nth-child(n+4){top:65%}
#gameStage #miniBody[data-mission-art="STROMKASTEN"] .fuse-art-wrap{width:80.73%!important;height:87.05%!important}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis>div:first-child{left:calc(var(--cabinet-x) + var(--cabinet-width)*.11);top:calc(var(--cabinet-y) + var(--cabinet-height)*.125);right:auto;width:78%;box-sizing:border-box}
#gameStage #miniBody[data-mission-art="STROMKASTEN"]>.mission-chassis>div:last-child{left:calc(var(--cabinet-x) + var(--cabinet-width)*.11);top:calc(var(--cabinet-y) + var(--cabinet-height)*.88);bottom:auto;right:auto;width:78%}
#gameStage #miniBody[data-power-art-ready="false"]>*{visibility:hidden!important;pointer-events:none!important}
#gameStage #miniBody[data-power-art-ready="false"]::after{visibility:hidden!important}
#gameStage #miniBody[data-power-art-ready="false"]::before{content:attr(data-art-loading-label)!important;position:absolute;inset:0!important;display:flex!important;align-items:center;justify-content:center;padding:30px;text-align:center;background:#14232c!important;color:#e0ecf1;font:700 18px/1.5 system-ui;z-index:4}

/* 724: compact pursuit notice follows the progress/message stack at every UI scale. */
#gameStage #roundHudLayer #speedhuntHud{box-sizing:border-box;min-width:0;width:max-content;max-width:calc(100% - 32px);padding:8px 12px;gap:12px;white-space:normal}
#gameStage #roundHudLayer #speedhuntHud .speedhunt-info{min-width:0;gap:2px;overflow-wrap:anywhere}
#gameStage #roundHudLayer #speedhuntHud #speedhuntStatusLabel{font-size:15px;line-height:1.2}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTarget{font-size:13px!important;line-height:1.2}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTargetCaption{font-size:12px}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTargetName{font-size:14px}
#gameStage #roundHudLayer #speedhuntHud #speedhuntCountdown{flex:0 0 44px;width:44px;height:44px;margin-left:2px}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTimer{font-size:20px!important}

/* Pursuit text must remain readable even when the target wears a dark uniform. */
#gameStage #roundHudLayer #speedhuntHud #speedhuntStatusLabel{color:#ffd399!important}
#gameStage #roundHudLayer #speedhuntHud.is-personal #speedhuntStatusLabel{color:#ffaba5!important;animation:none!important}
#gameStage #roundHudLayer #speedhuntHud :is(#speedhuntTarget,#speedhuntTargetName,#speedhuntTimer){color:#fff0df!important}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTargetCaption{color:#e9c8b6!important;opacity:1}
#gameStage #roundHudLayer #speedhuntHud #speedhuntCountdown{color:#ffba83}

/* 725: actual MP response time, beside round time and the gameplay ping timer. */
#gameStage #roundHudLayer #hud #networkLatencyHud[hidden]{display:none!important}
#networkLatencyHud{font-variant-numeric:tabular-nums}
#networkLatencyHud>span:first-child{font-size:10px;opacity:.8}
#networkLatencyHud[data-quality="good"] b{color:#9bdbb7}
#networkLatencyHud[data-quality="fair"] b{color:#f0d17c}
#networkLatencyHud[data-quality="poor"] b{color:#ff9292}

/* 726: local frame rate sits immediately after multiplayer latency. */
#gameStage #roundHudLayer #hud #networkFpsHud[hidden]{display:none!important}
#networkFpsHud{font-variant-numeric:tabular-nums}
#networkFpsHud>span[aria-hidden]{font-size:10px;opacity:.8}

/* Readable chat authors; outfit colour is a separate dot, never text colour. */
.round-chat-message .chat-author{color:#f4f7fa;font-weight:800}
.round-chat-message.system .chat-author{color:#e4c573}
.round-chat-message .player-author::before{content:"";display:inline-block;width:.65em;height:.65em;margin-right:.4em;border:1px solid #e9f1f7;border-radius:50%;box-sizing:border-box;background:var(--chat-player-color,#7dbdff);vertical-align:.03em}

/* 760: one identity colour per ability, shared by ready/active/recharge states. */
/* 761: leave confirmation stays inside the Escape menu. */
#gameMenu .leave-round-confirm{max-width:600px;margin:50px auto;padding:30px;text-align:center}
#gameMenu .leave-round-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}
#gameMenu #menuLeaveRound,#gameMenu #menuLeaveConfirm{color:#ffb7b4;border-color:#a96868}
@media(max-width:600px){#gameMenu .leave-round-actions{grid-template-columns:1fr}}
.ability-slot[data-skill-kind="smoke"]{--ability-color:#b6c4d4}
.ability-slot[data-skill-kind="flash"]{--ability-color:#f6d34b}
.ability-slot[data-skill-kind="jammer"]{--ability-color:#54caff}
.ability-slot[data-skill-kind="recon"]{--ability-color:#83da6d}
.ability-slot[data-skill-kind="dronejammer"]{--ability-color:#b792ff}
.ability-slot[data-skill-kind="scan"]{--ability-color:#fa6373}
.ability-slot[data-skill-kind="boost"]{--ability-color:#ffa442}
.ability-slot[data-skill-kind="pursuit"]{--ability-color:#ef8ec7}
.ability-slot[data-skill-kind="quickcapture"]{--ability-color:#818cf8}
.ability-slot[data-skill-kind="drone"]{--ability-color:#4de0c3}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot[data-skill-kind]{
 --skill-accent:var(--ability-color,#aebdc7);
 --skill-tint:color-mix(in srgb,var(--skill-accent) 26%,transparent);
 --skill-glow:color-mix(in srgb,var(--skill-accent) 24%,transparent);
 --skill-caption:color-mix(in srgb,var(--skill-accent) 20%,#0b151ef5);
 --skill-ready-text:color-mix(in srgb,var(--skill-accent) 60%,white);
}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:is(.selected,.boost-active,.scan-active){outline-color:var(--skill-accent);box-shadow:0 0 0 1px var(--skill-glow),0 0 12px var(--skill-glow)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled:is(.boost-active,.scan-active){border:2px dashed var(--skill-accent);outline:1px solid var(--skill-accent)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot:disabled:is(.boost-active,.scan-active) .skill-caption{background:var(--skill-caption)}
#gameStage #roundHudLayer :is(#agentAbilityBar,#guardAbilityBar) .ability-slot.is-cooldown:not(.is-depleted,.boost-active,.scan-active){border-color:color-mix(in srgb,var(--skill-accent) 45%,#56636a)}
#gameStage #roundHudLayer .ability-slot .skill-cooldown-fill{background:linear-gradient(to top,color-mix(in srgb,var(--skill-accent) 28%,transparent),color-mix(in srgb,var(--skill-accent) 12%,transparent))}
#gameStage #roundHudLayer .ability-slot .skill-cooldown-edge::before{background:var(--skill-accent);box-shadow:0 0 3px var(--skill-glow)}

/* Account actions share one button size and spacing. */
#gameMenu.hq-menu[data-screen=home] #homeAccount :is(#homeProfile,#homeFriends,#homeVisitors,#homeLogout){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:48px;margin:10px 0 0!important}


/* Sign-out is a secondary account action. */
#gameMenu.hq-menu[data-screen=home] #homeAccount #homeLogout{width:fit-content;min-width:116px;max-width:100%;height:40px;min-height:40px;padding:9px 14px;font-size:13px;margin:14px 0 0!important;background:linear-gradient(#283139,#182128)!important;border-color:#4a5962!important;color:#c7d0d3!important}


/* Google account rename: secondary account action and focused native dialog. */
#homeAccount #homeRename{align-self:flex-start;width:fit-content;min-height:30px;padding:5px 8px;margin-top:6px;font-size:12px;color:#e4c573;background:#18262e;border:1px solid #52636b}
.account-rename-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100svh - 32px);overflow:auto;padding:26px;border:1px solid #74878e;border-radius:14px;background:#17262d;color:#e7eeeb;font:14px/1.5 system-ui;box-shadow:0 20px 70px #0009}
.account-rename-dialog::backdrop{background:#03090dce}.account-rename-dialog h2{margin:0 0 12px;font-size:23px}.account-rename-dialog label{display:block;margin-bottom:6px}.account-rename-dialog input{box-sizing:border-box;width:100%;padding:10px;border:1px solid #6d818a;border-radius:7px;background:#0f1e25;color:#fff;font:16px system-ui}.account-rename-dialog [role=status]{min-height:21px;color:#e4c573}.account-rename-dialog form>div{display:flex;gap:10px}.account-rename-dialog button{padding:10px 16px;border:1px solid #73878d;border-radius:8px;background:#30424b;color:#eff4f1;font:700 13px system-ui;cursor:pointer}.account-rename-dialog button[type=submit]{background:#e4c573;border-color:#e4c573;color:#172126}.account-rename-dialog :disabled{opacity:.6;cursor:wait}

/* Keep both map panels 25% smaller at every HUD scale; timing HUD keeps its size. */
#agentMinimapPanel,#hunterMinimapPanel{zoom:.75}

/* Wide team banners in setup and results; compact shield emblems stay in the HUD. */
#gameMenu .setup-screen #menuRoster>section>h2:has(.setup-team-banner){height:auto;min-height:72px;display:flex;align-items:center;gap:8px}
#gameMenu .setup-screen .setup-team-banner{display:block;width:calc(100% - 48px);max-width:420px;height:auto;min-width:0;object-fit:contain;flex:1 1 auto}
#gameMenu .setup-screen h2:has(.setup-team-banner) .roster-count{flex:none}
#gameStage .report-team-heading .team-label{width:100%;display:flex}
#gameStage .report-team-heading .report-team-banner{display:block;width:100%;max-width:480px;height:auto;object-fit:contain;margin:auto}
#gameMenu .setup-screen #menuRoster>section{height:auto;min-height:440px}

/* Keep selected team banners modest in setup and the final report. */
#gameMenu .setup-screen .setup-team-banner{max-width:300px}
#gameStage .report-team-heading .report-team-banner{max-width:360px}

#agentAbilityBar #caseThrowButton{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);width:96px;height:104px;padding:3px;border:2px solid #dcbf65;border-radius:12px;background:linear-gradient(145deg,#423a26,#14232b);color:#fff1bf;box-shadow:0 3px 12px #0008;cursor:pointer}
#agentAbilityBar #caseThrowButton[hidden],#caseThrowHelp[hidden]{display:none!important}
#caseThrowButton kbd{position:absolute;top:5px;left:6px;padding:2px 6px;background:#17252e;border:1px solid #e4c66b;border-radius:5px;color:#fff4c6;font:800 15px system-ui;z-index:1}
#caseThrowButton .case-throw-art{display:block;width:78px;height:78px;margin:auto;background:url('assets/walking-case-785.webp') 0 0/1600% 800% no-repeat}
#caseThrowButton strong{display:block;font:850 11px system-ui;letter-spacing:.8px}
#agentAbilityBar #caseThrowButton.selected{outline:2px solid #ffe38c;outline-offset:3px;box-shadow:0 0 18px #e9c45d88}
#agentAbilityBar #caseThrowButton:disabled{opacity:.55;cursor:default}
#caseThrowHelp{position:absolute;bottom:calc(100% + 124px);left:50%;transform:translateX(-50%);width:430px;max-width:90vw;padding:7px 10px;border:1px solid #e4c66b;border-radius:7px;background:#142029ee;color:#ffedb2;font:700 11px/1.4 system-ui}

.case-final-phase #extractionAlert{display:none!important}





/* Important status changes flash three times, then remain warm white. */
#gameStage #roundHudLayer #msg{color:#f5f1e8;white-space:pre-line;line-height:1.45}

#gameStage #speedhuntDangerBorder{position:absolute;inset:0;z-index:18;display:block;box-sizing:border-box;border:0;box-shadow:none;pointer-events:none;opacity:0;background:radial-gradient(ellipse closest-side at center,transparent 68%,rgba(182,30,27,.14) 85%,rgba(218,36,30,.52) 100%);animation:none;transition:opacity .25s ease-out}
#gameStage #speedhuntDangerBorder.is-target{opacity:1;animation:pursuitEdgePulse 2.8s ease-in-out infinite}
@keyframes pursuitEdgePulse{0%,100%{opacity:.68}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){#gameStage #speedhuntDangerBorder.is-target{animation:none;opacity:.85}}

/* Global toolbar order: settings, audio, fullscreen. Keep help clear of all three. */
body>:is(#globalSettingsToggle,#globalSettingsToggle.round-control,#globalAudioToggle,#globalAudioToggle.round-control,#globalFullscreenToggle,#globalHelpToggle){position:fixed;left:auto!important;top:14px!important;bottom:auto!important;width:22px!important;height:22px!important;margin:0!important;transform:none!important;zoom:1}
body>#globalSettingsToggle,body>#globalSettingsToggle.round-control{right:76px!important}
body>#globalAudioToggle,body>#globalAudioToggle.round-control{right:46px!important}
body>#globalFullscreenToggle{right:16px!important}
body>#globalHelpToggle{right:106px!important}
@media(max-width:420px){body>#globalLanguageMenu{gap:6px;max-width:calc(100vw - 132px)}body>#globalLanguageMenu>select{min-width:0;width:calc(100vw - 176px);max-width:195px;font-size:11px}}

/* 814: personal HUD preferences and centered actor effects. */
#missionHud.mission-list-collapsed #missionList{display:none!important}
#missionListCollapse{pointer-events:auto;cursor:pointer;flex:none;width:24px;height:24px;margin:0 0 0 8px;padding:0;border:1px solid #738888;border-radius:5px;background:#19292c;color:#f2ecde;font:800 18px/20px system-ui}
#missionHud .mission-overview-heading>span{margin-left:auto}
#playerTeamBadge{top:10px!important;left:16px!important;width:240px!important;height:80px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
#playerTeamBadge>img{width:240px!important;height:80px!important;object-fit:contain!important}
#playerTeamBadge>div{display:none!important}
#prisonHud.prison-summary{top:100px!important;left:16px!important}
#prisonHud .prison-summary-roster{grid-template-columns:minmax(0,1fr)!important;max-height:360px;overflow-y:auto}
#activeSkillEffects .active-skill-effect>strong{left:50%;right:auto;transform:translateX(-50%);bottom:-17px;white-space:nowrap;font-size:11px}

#gameStage #roundHudLayer #playerTeamBadge{top:10px!important;left:16px!important;width:240px!important;height:80px!important;padding:0!important}
#gameStage #roundHudLayer #playerTeamBadge::before{display:none!important}
#gameStage #roundHudLayer #prisonHud.prison-summary{top:100px!important;left:16px!important}

/* 815: active durations stay immediately above the skill controls. */
#activeSkillTimers{position:fixed;z-index:29;display:flex;flex-direction:column;gap:var(--skill-timer-gap,6px);pointer-events:none;color:#f5f1e8;font-family:system-ui}
#activeSkillTimers[hidden]{display:none}
body.hq-menu-visible #activeSkillTimers{display:none}
.active-skill-timer{position:relative;isolation:isolate;display:flex;align-items:center;gap:calc(8px * var(--skill-timer-scale,1));height:var(--skill-timer-height,42px);box-sizing:border-box;padding:calc(4px * var(--skill-timer-scale,1)) calc(9px * var(--skill-timer-scale,1)) calc(4px * var(--skill-timer-scale,1)) calc(4px * var(--skill-timer-scale,1));border-radius:4px;overflow:hidden;background:#0c171ef5;box-shadow:0 2px 6px #0006}
.skill-timer-fill{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,color-mix(in srgb,var(--skill-timer-color) 48%,#0c171c),color-mix(in srgb,var(--skill-timer-color) 66%,#0c171c));transform-origin:left center;will-change:transform}
.active-skill-timer.is-countered .skill-timer-fill{filter:saturate(.65)}
.active-skill-timer>img{flex:none;width:calc(32px * var(--skill-timer-scale,1));height:calc(32px * var(--skill-timer-scale,1));object-fit:contain;background:#101c22;border-radius:3px}
.skill-timer-copy{flex:1;min-width:0;text-align:left;text-shadow:0 1px 3px #000b}
.skill-timer-copy strong{display:block;font-size:max(11px,calc(12px * var(--skill-timer-scale,1)));font-weight:800;line-height:1.2}
.skill-timer-copy>span{display:block;margin-top:2px;font-size:max(10px,calc(11px * var(--skill-timer-scale,1)));line-height:1.25;font-weight:600}
.skill-timer-time{flex:none;min-width:calc(44px * var(--skill-timer-scale,1));font-size:max(16px,calc(18px * var(--skill-timer-scale,1)));font-weight:900;font-variant-numeric:tabular-nums;text-align:right;text-shadow:0 1px 4px #000c}

/* The same top bar becomes the final extraction timer. */
#gameStage #roundHudLayer #teamProgressHud[data-extraction-countdown="true"] #teamProgressFill{background:linear-gradient(90deg,#a8731c,#e9b949,#ffe3a0)!important}
#gameStage #roundHudLayer #teamProgressHud[data-extraction-countdown="true"] #teamProgressBar{border-color:#dbb75d!important}
#gameStage #roundHudLayer #teamProgressHud[data-extraction-countdown="true"] #extractionProgressLabel{color:#fff3c7!important;font-variant-numeric:tabular-nums}

/* 817: one larger pursuit warning for everyone, in the selected runner's colour. */
#gameStage #roundHudLayer #speedhuntHud{top:calc(54px + var(--team-progress-hud-height,30px) + var(--round-message-height,18px))!important;min-width:min(340px,calc(100% - 32px));padding:12px 16px;gap:18px}
#gameStage #roundHudLayer #speedhuntHud::before{border-color:var(--target-color,#e7ede3)!important;border-left:4px solid var(--target-color,#e7ede3)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--target-color,#e7ede3) 25%,#101c22),color-mix(in srgb,var(--target-color,#e7ede3) 12%,#101c22))!important}
#gameStage #roundHudLayer #speedhuntHud .speedhunt-info{display:flex;flex-direction:column;gap:6px}
#gameStage #roundHudLayer #speedhuntHud #speedhuntStatusLabel,#gameStage #roundHudLayer #speedhuntHud.is-personal #speedhuntStatusLabel{font-size:20px;color:color-mix(in srgb,var(--target-color,#e7ede3) 45%,white)!important;animation:none!important}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTarget{display:inline-flex!important;align-items:center;gap:8px;font-size:17px!important;min-width:0}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTargetCaption{font-size:14px;font-weight:800;color:#f4f2eb!important;flex:none}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTargetName{font-size:18px;color:color-mix(in srgb,var(--target-color,#e7ede3) 45%,white)!important;overflow-wrap:anywhere;min-width:0}
#speedhuntTargetPortrait{width:40px;height:40px;object-fit:contain;flex:none}
#speedhuntTargetPortrait[hidden]{display:none}
#gameStage #roundHudLayer #speedhuntHud #speedhuntCountdown{flex:0 0 56px;width:56px;height:56px;color:color-mix(in srgb,var(--target-color,#e7ede3) 45%,white)!important}
#gameStage #roundHudLayer #speedhuntHud #speedhuntTimer{font-size:26px!important;color:#fff6ea!important}


/* 819: video-first guide, with a short summary and optional detailed help. */
.howto-video{margin:0 0 22px}
.howto-video-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.howto-video-heading h1{font:900 25px/1.1 system-ui;margin:0;color:#f6dfab;letter-spacing:1px}
.howto-video-heading>span{color:#a8c7d4;font:700 12px system-ui;white-space:nowrap}
.howto-video-player{display:block;box-sizing:border-box;max-width:100%;width:min(100%,calc((100svh - 190px)*1.777778));height:auto;aspect-ratio:16/9;margin:0 auto;background:#06111c;border:1px solid #7197ad66;border-radius:14px;box-shadow:0 12px 36px #0005;object-fit:contain}
.howto-video-player:focus-visible,.howto-details>summary:focus-visible{outline:3px solid #6fd6ff;outline-offset:4px}
.howto-video-note{font-size:12px;color:#a8c1cd;margin:9px 0 0;text-align:center}
.howto-summary{margin:0 0 22px;padding:20px 24px;background:linear-gradient(120deg,#123047bd,#121f2ec7);border:1px solid #6a8ea44a;border-radius:14px}
.howto-summary h2{font:800 20px system-ui;color:#f4d995;margin:0 0 14px}
.howto-summary ol{margin:0;padding-left:23px;display:grid;gap:12px}
.howto-summary li{padding-left:7px}.howto-summary li::marker{color:#72d6ff;font-weight:800}
.howto-summary strong{font:800 14px system-ui;color:#eaf4f6}
.howto-summary li p{margin:4px 0 0;color:#b9ccd4;font-size:13px}
.howto-catcher-summary{padding-top:14px;margin:16px 0 0;border-top:1px solid #9fb6c533;color:#d9c1bd;font-size:13px}
.howto-catcher-summary>strong{color:#ffac9e}
.howto-details{border:1px solid #7594a74d;border-radius:12px;background:#0b1a28b8;margin-bottom:22px}
.howto-details>summary{cursor:pointer;padding:15px 20px;font:800 15px system-ui;color:#e8d6a9}
.howto-details-content{padding:0 16px 18px}
@media(max-width:600px){.howto-video-heading h1{font-size:21px}.howto-video-player{border-radius:9px}.howto-summary{padding:17px 16px}.howto-summary h2{font-size:18px}.howto-details-content{padding:0 8px 12px}.howto-controls>div{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 823: a captured pursuit target leaves only the three-second outcome label. */
#gameStage #roundHudLayer #speedhuntHud.is-caught{justify-content:center;gap:0}
#gameStage #roundHudLayer #speedhuntHud.is-caught #speedhuntTarget,#gameStage #roundHudLayer #speedhuntHud.is-caught #speedhuntCountdown{display:none!important}

/* 824: map clears global controls; timing and connection strip share its centre. */
#gameStage #roundHudLayer #minimapWrap{top:var(--minimap-top,64px)!important;display:flex;flex-direction:column;align-items:center;width:max-content;max-width:calc(100% - 24px)}
#gameStage #roundHudLayer #minimapWrap #hud{margin:8px auto 0!important;max-width:100%!important;justify-content:center}

/* 825: non-blocking preparation status, away from menu buttons and account controls. */
#gameMenu.hq-menu[data-screen=home] #gamePreloadStatus{position:absolute;right:36px;bottom:72px;width:330px;max-width:calc(100% - 72px);text-align:right;font:500 14px/1.5 system-ui;color:#b8cdd6;pointer-events:none}
#gamePreloadStatus .preload-track{height:3px;margin-top:7px;border-radius:3px;background:#40556280;overflow:hidden}
#gamePreloadStatus .preload-fill{height:100%;width:0;background:#80cce7;border-radius:inherit;transition:width .2s ease}
#gamePreloadStatus[data-state=ready]{color:#b7d6bd!important}
#gamePreloadStatus[data-state=ready] .preload-track,#gamePreloadStatus[data-state=partial] .preload-track{display:none}
@media(prefers-reduced-motion:reduce){#gamePreloadStatus .preload-fill{transition:none}}

/* 878: Singleplayer shares the multiplayer team header and arrow control. */
#gameMenu .setup-screen .setup-player-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
#gameMenu .setup-screen .setup-player-fields .setup-color{max-width:none}
#gameMenu .setup-screen .setup-footer{justify-content:flex-end}
#gameMenu .setup-screen .setup-team-titlebar{position:relative;display:flex;align-items:center;justify-content:center;min-height:100px;margin-bottom:12px}
#gameMenu .setup-screen .setup-team-titlebar h2{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:100px;margin:0!important;padding:0 45px}
#gameMenu .setup-screen .setup-team-titlebar .setup-team-banner{display:block;width:100%;max-width:330px;height:auto;max-height:96px;flex:0 1 auto;object-fit:contain;object-position:center}
#gameMenu .setup-screen .setup-team-titlebar .roster-count{position:absolute;left:0;top:36px}
#gameMenu .setup-screen .setup-join-team{position:absolute;right:0;top:32px;box-sizing:border-box;width:34px;height:34px;min-width:0;min-height:0;margin:0;padding:6px;border:1px solid #688995;border-radius:7px;background:#263c45;color:#e2f3f8;cursor:pointer}
#gameMenu .setup-screen .setup-join-team[hidden]{display:none!important}
#gameMenu .setup-screen .setup-join-team svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#gameMenu .team-identity-grid>img{display:block;width:100%;max-width:330px;height:auto;max-height:110px;object-fit:contain;margin:auto}
#gameMenu .controls-skills{margin-top:20px}
#gameMenu .controls-screen .control-keys{flex-wrap:wrap;gap:5px}
#gameMenu[data-screen="controls"]{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#748e98 #0b1b22}
#gameMenu .controls-screen .control-keys{flex-basis:108px}
#gameMenu .controls-screen .control-keys kbd{min-width:22px;padding-left:5px;padding-right:5px}
@media(max-width:560px){#gameMenu .setup-screen .setup-player-fields{grid-template-columns:1fr}}

/* 881: all menu pages fit their collapsed content; expansion uses native page scrolling. */
#gameMenu:not([data-screen="home"]){overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}

/* 883: small spectator selector follows the watched actor, outside alert slots. */
body.spectator-view #gameStage #roundHudLayer #spectatorStatusCard{position:absolute!important;left:var(--spectator-x,50%)!important;top:var(--spectator-y,55%)!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;scale:1!important;zoom:1!important;width:250px!important;min-width:0!important;max-width:calc(var(--hud-width,1920px) - 32px)!important;height:auto!important;max-height:none!important;padding:6px 8px!important;box-sizing:border-box!important;overflow:visible!important;pointer-events:auto!important}
body.spectator-view #spectatorStatusTitle{text-align:center;font:800 10px/14px system-ui;letter-spacing:.7px}
body.spectator-view #spectatorStatusCard .spectator-selection{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:3px}
body.spectator-view #spectatorStatusName{flex:1;min-width:0;max-width:178px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font:750 14px/20px system-ui;color:#e9f2f5!important}
body.spectator-view #spectatorStatusCard .spectator-selection button{flex:0 0 28px;width:28px;height:28px;min-width:0;min-height:0;padding:0;margin:0;font:700 19px/24px system-ui}

/* 884: compact selector sits above the observed skill bar, with timers above it. */
body.spectator-view #gameStage #roundHudLayer #spectatorStatusCard{left:50%!important;top:auto!important;bottom:var(--spectator-bottom,155px)!important;width:220px!important;padding:5px 7px!important}
body.spectator-view #spectatorStatusCard .spectator-selection button{flex-basis:25px;width:25px;height:25px;font-size:18px;line-height:22px}
body.spectator-view #spectatorStatusName{font-size:13px}

/* 885: map timing tooltips can extend beyond the resized panel without scrollbars. */
#gameStage #roundHudLayer #hud .round-info{white-space:normal;overflow-wrap:anywhere;max-width:min(300px,calc(var(--hud-width,1920px) - 32px))}
#gameStage #roundHudLayer #minimapWrap:has(#hud>span:is(:hover,:focus-within)){z-index:100!important}

/* 885: one compact line per active effect: icon, skill name, remaining duration. */
.active-skill-timer{gap:calc(6px * var(--skill-timer-scale,1));height:var(--skill-timer-height,30px);padding:calc(3px * var(--skill-timer-scale,1)) calc(6px * var(--skill-timer-scale,1))}
.active-skill-timer>img{width:calc(22px * var(--skill-timer-scale,1));height:calc(22px * var(--skill-timer-scale,1))}
.skill-timer-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* One fixed mission frame; only the saved manual mission size scales it. */
#gameStage #miniGameHud>.mission-console{width:1200px!important;min-width:1200px!important;max-width:1200px!important;height:1100px!important;min-height:1100px!important;max-height:1100px!important;box-sizing:border-box!important;flex-shrink:0;overflow:hidden}
#gameStage #miniBody{min-height:0!important;min-width:0;overflow:hidden}

/* 907: the final extraction instruction has two deliberate lines. */
#gameStage #roundHudLayer #msg[data-final-objective="true"]{white-space:pre!important;font-size:16px!important}
#teamProgressHud[data-objective-phase="final"] #teamExtractionStatus{white-space:pre}

/* 917: shared physical-size home link; help pages use the available viewport width. */
#gameMenu:not([data-screen="home"]){padding-top:96px}
#gameMenu:not([data-screen="home"]) .menu-backbar{height:0;margin:0}
#gameMenu>.setup-main-menu{position:fixed;top:14px;left:50%;width:max-content;max-width:calc(100vw - 100px);margin:0;padding:0;gap:0;font:700 11px/15px system-ui;letter-spacing:.2px;white-space:nowrap;z-index:10;transform:translateX(-50%);background:none!important;border:0!important;box-shadow:none!important;color:#ddcca4}
#gameMenu>.setup-main-menu img{width:76px;height:50px;object-fit:contain}
#gameMenu:is([data-screen="howto"],[data-screen="controls"]) .menu-topbar{display:none!important}
#gameMenu .controls-screen,#gameMenu .howto-screen{width:100%;max-width:none;margin:0 auto}
#gameMenu .howto-screen{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:22px;align-items:start}
#gameMenu .howto-video{min-width:0;margin:0}
#gameMenu .howto-video-player{width:100%;max-width:100%;height:auto}
#gameMenu .howto-summary{margin:0}
/* Match the video top below its 25px/1.1 heading and 12px heading gap. */
@media(min-width:1051px){#gameMenu .howto-summary{margin-top:calc(25px * 1.1 + 12px)}}
#gameMenu .howto-summary strong{font-size:16px}
#gameMenu .howto-summary li p{font-size:14px}
#gameMenu .howto-details{grid-column:1/-1}
@media(max-width:1050px){#gameMenu .howto-screen{grid-template-columns:minmax(0,1fr)}}

/* 919: settings grouped by purpose, with one aligned column of audio sliders. */
#gameMenu .settings-screen{width:100%;max-width:none}
#gameMenu .settings-screen>.menu-heading{margin-bottom:20px}
#gameMenu .settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}
#gameMenu .settings-grid>.menu-panel{display:block;padding:22px;min-width:0}
#gameMenu .settings-grid h2{display:flex;align-items:center;gap:12px;font:800 21px/1.2 system-ui;margin:0 0 20px;color:#f2d99c}
#gameMenu .settings-number{font:800 12px system-ui;color:#91aeb9;letter-spacing:1px}
#gameMenu .settings-grid .menu-field{margin:0 0 18px!important;min-width:0;max-width:none}
#gameMenu .settings-grid .menu-field>label{display:flex;justify-content:space-between;gap:12px;font-size:12px;letter-spacing:.5px;margin:0 0 9px}
#gameMenu .settings-grid input[type=range]{width:100%;margin:0;accent-color:#d8bb72}
#gameMenu .settings-check{display:flex;align-items:center;gap:9px;letter-spacing:0;text-transform:none;font-size:14px;margin:0 0 16px}
#gameMenu .settings-check input{width:auto;flex:none;margin:0;accent-color:#65cfff}
#gameMenu .settings-grid .menu-notice{display:block;margin:7px 0 0;font-size:12px;line-height:1.5}
#gameMenu .settings-graphics-fields,#gameMenu .settings-general-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
#gameMenu .settings-hud-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#gameMenu .settings-grid .menu-button{width:100%;min-width:0;margin:0;font-size:14px;min-height:43px;padding:10px 12px;letter-spacing:0;white-space:normal}
#gameMenu .settings-general{grid-column:1/-1}
#gameMenu .settings-general .menu-field{margin-bottom:0!important}
#gameMenu .settings-grid .settings-films>label.settings-check{justify-content:flex-start;letter-spacing:0;font-size:14px;margin:10px 0 0}
#gameMenu .settings-audio .settings-volume:last-child{margin-bottom:0!important}
@media(max-width:760px){#gameMenu .settings-grid{grid-template-columns:minmax(0,1fr)}#gameMenu .settings-graphics-fields,#gameMenu .settings-general-fields{grid-template-columns:minmax(0,1fr)}#gameMenu .settings-grid>.menu-panel{padding:18px}#gameMenu .settings-general-fields{gap:16px}}

#networkCountdown .ranked-countdown-round{display:block;font:800 28px/1.3 system-ui;letter-spacing:.5px;color:#e7ede3;margin-bottom:18px}#networkCountdown .ranked-countdown-round[hidden]{display:none}

/* Capture outcome: 50% larger than the normal 20px pursuit label. */
#gameStage #roundHudLayer #speedhuntHud.is-caught #speedhuntStatusLabel{font-size:30px}

/* Explicit exit warning keeps its two red marks alongside the text. */
#leaveRoundNote{display:flex;align-items:center;justify-content:center;gap:18px}#leaveRoundNote .leave-round-alert{flex:none;color:#ff5c66;font:900 34px/1 system-ui}
