.language-control{flex-shrink:0;position:relative}.language-control select{border:1px solid var(--line,#cbd5e1);background:var(--white,#fff);max-width:10rem;min-height:2.5rem;color:inherit;font:inherit;cursor:pointer;border-radius:.55rem;padding:.4rem .5rem;font-size:.82rem}.language-control select:focus-visible{outline-offset:2px;outline:3px solid #167eac}.language-warning{max-width:15rem;font-size:.75rem;display:block}html[lang=pt-BR] .fixture-circuit-state{font-size:.58em}html[lang=pt-BR] .piece-info strong{overflow-wrap:normal;font-size:11px}.assist-entry-point{flex:none;position:relative}.assist-intro{z-index:50;border:1px solid var(--line-strong);background:var(--white);width:296px;color:var(--navy);white-space:normal;border-radius:12px;padding:16px;position:absolute;top:calc(100% + 12px);right:0;box-shadow:0 8px 28px #192f4a26}.assist-intro:before{content:"";border-top:1px solid var(--line-strong);border-left:1px solid var(--line-strong);background:var(--white);width:10px;height:10px;position:absolute;top:-6px;right:15px;transform:rotate(45deg)}.assist-intro strong{font-size:16px}.assist-intro p{color:var(--muted);margin:8px 0 12px;font-size:14px;line-height:1.45}.assist-intro>div{gap:8px;display:flex}.assist-intro button{min-height:44px;padding:8px 10px;font-size:13px}body:has(dialog[open]) .assist-intro{display:none}@media (width<=620px){.assist-intro{width:min(296px,100vw - 24px);right:-48px}.assist-intro:before{right:63px}}.icon-button.assist-button{border:1px solid var(--line);background:var(--white);border-radius:10px;flex:none;width:44px;height:40px}.assist-dialog{border:1px solid var(--line);background:var(--white);width:min(420px,100% - 24px);max-height:calc(100dvh - 24px);color:var(--navy);border-radius:16px;margin:auto;padding:20px}.assist-dialog::backdrop{background:#142a48aa}.assist-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.assist-heading h2{margin:0;font-size:22px}.assist-dialog p{color:var(--muted);margin:12px 0 16px;line-height:1.45}.assist-option{border-top:1px solid var(--line);cursor:pointer;align-items:center;gap:12px;padding-block:14px;display:flex}.assist-option>.icon{flex:none;width:28px;height:28px}.assist-option>span{flex:1}.assist-option strong,.assist-option small{display:block}.assist-option small{color:var(--muted);margin-top:4px;font-size:13px;line-height:1.4}.assist-option input{appearance:none;border:1px solid var(--line-strong);background:var(--muted);cursor:pointer;border-radius:99px;flex:none;width:42px;height:26px;margin:0}.assist-option input:before{content:"";background:var(--white);border-radius:50%;width:18px;height:18px;margin:3px;display:block}.assist-option input:checked{background:var(--cobalt);border-color:var(--cobalt)}.assist-option input:checked:before{transform:translate(16px)}.assist-option input:focus-visible{outline:2px solid var(--cobalt);outline-offset:3px}@media (forced-colors:active){.assist-option input{appearance:auto}.assist-option input:before{display:none}}.assist-dialog .assist-save{font-size:12px}.assist-dialog .primary-button{width:100%;min-height:44px}@media (width<=360px),(height<=600px){.assist-dialog{padding:16px}.assist-option{padding-block:10px}.assist-dialog p{margin:8px 0 12px}}.roomed-board-wrap{min-width:0;position:relative;overflow:visible}.scenery-legend{color:var(--muted);grid-template-columns:1fr 1fr;gap:8px 10px;margin-top:14px;font-size:11px;display:grid}.scenery-legend span{align-items:center;gap:4px;display:inline-flex}.scenery-legend .icon{flex:none;width:25px;height:25px}.room-board-surface{width:100%;min-width:0;aspect-ratio:var(--board-ratio,1);position:relative}.cell[data-room-tone="0"]{--tile:var(--gallery);--room-stroke:#8c78dc}.cell[data-room-tone="1"]{--tile:var(--vault);--room-stroke:#bd8c20}.cell[data-room-tone="2"]{--tile:var(--lobby);--room-stroke:#d77a68}.cell[data-room-tone="3"]{--tile:var(--office);--room-stroke:#589377}.room-board-surface .cell.region-edge-right{border-right:2px solid var(--room-stroke)}.room-board-surface .cell.region-edge-bottom{border-bottom:2px solid var(--room-stroke)}.room-board-surface .board-row:first-child .cell.region-edge-top{border-top:2px solid var(--room-stroke)}.room-board-surface .board-row .cell:first-child.region-edge-left{border-left:2px solid var(--room-stroke)}.room-board-surface .cell.wall[data-room]{background-image:none}.cell[data-floor]{background-color:var(--tile,var(--gallery));background-position:50%;background-repeat:no-repeat;background-size:100% 100%}.cell[data-floor=wood]{background-image:url(/assets/game/floor-wood.svg)}.cell[data-floor=tile]{background-image:url(/assets/game/floor-tile.svg)}.cell[data-floor=stone]{background-image:url(/assets/game/floor-stone.svg)}.cell[data-floor=rug]{background-image:url(/assets/game/floor-rug.svg)}.cell[data-room-tone="4"]{--tile:#dbeaf7;--room-stroke:#739ab7}.cell[data-room-tone="5"]{--tile:#f3dfec;--room-stroke:#b8799e}.cell[data-room-tone="6"]{--tile:#eadfcf;--room-stroke:#ae9370}.cell[data-room-tone="7"]{--tile:#e9f0cf;--room-stroke:#90a365}.help-trigger{border:1px solid var(--line-strong);background:var(--surface-selected);min-height:42px;color:var(--navy);white-space:nowrap;border-radius:8px;align-items:center;gap:8px;padding:8px 15px;font-size:14px;font-weight:800;display:inline-flex}.help-trigger:hover{background:var(--surface-hover)}.help-dialog{border:2px solid var(--line-strong);background:var(--white);width:min(940px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--navy);border-radius:18px;padding:0;overflow:auto;box-shadow:0 20px 70px #192f4a26}.help-dialog::backdrop{background:#13233b80}.help-header{align-items:center;gap:16px;padding:16px 24px 12px;display:flex}.help-header h2{margin:0 auto 0 0;font-size:20px;font-weight:800}.help-header>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.help-header .icon-button{width:36px;height:36px;min-height:36px}.help-chapters{border-bottom:1px solid var(--line);justify-content:space-between;gap:4px;padding:0 24px 16px;display:flex}.help-chapters button{min-height:36px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:5px 6px;font-size:12px;font-weight:700;display:inline-flex}.help-chapters button:hover{background:var(--stone)}.help-chapters button[aria-current]{border-color:var(--line-strong);background:var(--surface-selected);color:var(--navy)}.help-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:32px;min-height:422px;padding:24px 28px;display:grid;overflow:auto}.help-figure{text-align:center;touch-action:pan-y;min-width:0;margin:0}.help-visual{flex-direction:column;justify-content:center;align-items:center;min-height:320px;display:flex}.help-demo-board{pointer-events:none;width:min(100%,310px)}.help-demo-board .board-frame{width:100%}.help-demo-board .board-wrap{box-shadow:none}.help-demo-board .token-code,.help-demo-board .token-arrow{font-size:9px}.help-demo-board .token-code{display:none}.help-room-legend{justify-content:center;margin-top:10px;font-size:12px}.help-figure figcaption{max-width:350px;color:var(--muted);text-wrap:pretty;margin:14px auto 0;font-size:13px;line-height:1.4}.help-copy{min-width:0}.help-copy h3{letter-spacing:-.6px;text-wrap:balance;margin:0 0 16px;font-size:31px;font-weight:800;line-height:1.12}.help-copy p{text-wrap:pretty;margin:0 0 14px;font-size:16px;line-height:1.5}.help-copy p:last-child{margin-bottom:0}.help-copy .help-note{color:var(--muted);font-size:13px;line-height:1.45}.help-copy .help-lead{font-weight:800}.help-objectives{align-items:center;gap:8px;margin:24px 0;font-size:14px;font-weight:800;display:flex}.help-objectives svg{width:35px;height:35px}.help-clue{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;align-items:center;gap:12px;margin:0 0 16px;padding:12px;font-size:15px;line-height:1.5;display:flex}.help-clue svg{flex:none;width:42px;height:48px}.help-tools>div{align-items:flex-start;gap:14px;display:flex}.help-tools>div>svg{flex:none;width:32px;height:34px}.help-tools p{font-size:15px}.help-piece-picker,.help-cover-picker{justify-content:center;gap:4px;margin-top:12px;display:flex}.help-piece-picker button,.help-cover-picker button{border:1px solid var(--line);background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:3px;min-height:38px;padding:5px 8px;font-size:12px;font-weight:700;display:flex}.help-piece-picker button{flex-direction:column;min-width:54px}.help-piece-picker svg{width:28px;height:28px}.help-piece-picker button[aria-pressed=true],.help-cover-picker button[aria-pressed=true]{border-color:var(--cobalt);background:var(--surface-selected);box-shadow:inset 0 0 0 1px var(--cobalt)}.help-floor-strip{flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px;display:flex}.help-floor-strip svg{width:36px;height:36px}.help-floor-strip span{color:var(--muted);flex-basis:100%;font-size:14px;line-height:1.45}.help-device-examples{gap:20px;width:100%;display:grid}.help-device-examples>div{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;padding:18px 12px}.help-device-examples strong{font-size:15px}.help-device-pair{justify-content:center;align-items:center;gap:12px;margin-bottom:12px;display:flex}.help-device-pair svg{width:70px;height:70px}.help-device-pair svg:nth-child(2){width:22px;height:22px;color:var(--muted)}.help-device-pair>span{flex-direction:column;flex:1;align-items:center;min-width:0;display:flex}.help-device-pair>span svg{width:min(100%,70px)}.help-device-pair small{color:var(--muted);font-size:11px;line-height:1.2}.help-device-labels{flex-wrap:wrap;gap:10px 16px;margin-top:16px;display:flex}.help-device-labels span{align-items:center;gap:6px;font-size:12px;display:inline-flex}.help-device-labels b{border:1px solid var(--line-strong);border-radius:4px;padding:2px 4px;font-size:10px}.help-device-labels svg{stroke-width:1.5px;width:14px;height:14px}.help-device-on{fill:var(--route);stroke:var(--route)}.help-device-off{fill:none;stroke:var(--muted)}.help-assist-action{align-items:center;gap:8px;min-height:44px;margin-bottom:12px;display:inline-flex}.help-assist-action .icon{width:22px;height:22px}.help-time{border-left:3px solid var(--route);flex-direction:column;gap:4px;margin:18px 0;padding-left:14px;display:flex}.help-time strong{color:var(--route);font-size:22px}.help-time span{color:var(--muted);font-size:14px;line-height:1.45}.help-timing-examples{justify-content:center;gap:24px;width:100%;display:flex}.help-timing-examples>div{flex-direction:column;flex:1;align-items:center;gap:8px;display:flex}.help-timing-examples strong{font-variant-numeric:tabular-nums;font-size:clamp(24px,5vw,42px)}.help-timing-examples span{color:var(--muted);font-size:13px}.help-ready{flex-direction:column;align-items:center;gap:14px;font-size:16px;line-height:1.5;display:flex}.help-ready>svg{width:200px;height:200px}.help-shortcuts p{align-items:center;gap:14px;font-size:13px;display:flex}.help-shortcuts kbd{border:1px solid var(--line);background:var(--surface-soft);text-align:center;border-bottom-width:2px;border-radius:5px;min-width:110px;padding:6px;font:700 12px Nunito Sans,sans-serif}.help-note>svg{vertical-align:middle;width:18px;height:18px;margin-right:4px;display:inline-block}.help-credits{color:var(--muted);text-underline-offset:3px;margin-top:12px;font-size:12px;display:inline-block}.help-footer{border-top:1px solid var(--line);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;display:flex}.help-footer>span{color:var(--muted);font-size:13px}.help-footer button{flex:none;justify-content:center;align-items:center;gap:10px;width:auto;min-width:105px;min-height:44px;padding:10px 16px;font-size:14px;display:inline-flex}.help-footer button .icon{width:22px;height:22px}.help-footer .help-tutorial{flex:1 1 0;min-width:0;padding-inline:4px;font-size:12px}@media (width<=760px){.help-footer button{gap:4px;min-width:74px;padding-inline:6px;font-size:12px}.help-footer button .icon{width:14px;height:14px}}.help-back-arrow{transform:rotate(180deg)}@media (width>=761px) and (height<=700px){.help-demo-board{width:min(100%,270px)}.help-visual{min-height:290px}.help-content{min-height:390px}}@media (width<=760px){.help-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.help-header{padding:12px 18px 8px}.help-chapters{grid-template-columns:repeat(10,minmax(0,1fr));padding:0 16px 10px;display:grid}.help-chapters button{min-width:0;min-height:32px;padding:4px}.help-chapter-name{display:none}.help-content{grid-template-columns:1fr;gap:12px;min-height:0;padding:14px 20px}.help-visual{min-height:0}.help-demo-board{width:185px}.help-content[data-chapter=Clues] .help-demo-board,.help-content[data-chapter=Placement] .help-demo-board{width:145px}.help-figure figcaption{margin-top:8px;font-size:12px}.help-copy h3{margin-bottom:10px;font-size:25px}.help-copy p{margin-bottom:10px;font-size:14px}.help-copy .help-note{font-size:12px}.help-objectives{margin:14px 0}.help-clue{margin-bottom:10px;padding:8px;font-size:13px}.help-tools>div>svg{width:28px;height:28px}.help-piece-picker,.help-cover-picker{margin-top:8px}.help-piece-picker button{min-width:52px;padding:4px;font-size:11px}.help-piece-picker svg{width:22px;height:22px}.help-floor-strip{margin-top:12px}.help-floor-strip svg{width:28px;height:28px}.help-floor-strip span{font-size:12px}.help-device-examples{gap:8px}.help-device-examples>div{padding:10px}.help-device-examples strong{font-size:13px}.help-device-pair{gap:12px;margin-bottom:4px}.help-device-pair svg{width:50px;height:50px}.help-ready{gap:4px;font-size:13px}.help-ready>svg{width:150px;height:150px}.help-shortcuts p{font-size:12px}.help-time{margin:12px 0}.help-time strong{font-size:19px}.help-time span{font-size:12px}.help-footer{padding:12px 16px}.help-footer>span{font-size:12px}}@media (width<=760px) and (height<=740px){.help-header{padding-block:8px 4px}.help-footer{padding-block:8px}.help-demo-board{width:155px}.help-content{gap:10px;padding:12px 18px}.help-copy h3{margin-bottom:8px;font-size:22px}.help-copy p{margin-bottom:8px;font-size:13px;line-height:1.4}.help-ready>svg{width:100px;height:100px}.help-shortcuts kbd{padding:3px 6px}.help-floor-strip{gap:5px}.help-floor-strip svg{width:24px;height:24px}.help-floor-strip span{flex:120px}}.security-scope-guide{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;padding:14px}.help-security-details summary{cursor:pointer;color:var(--cobalt);padding-block:10px;font-size:14px;font-weight:800}.help-security-details summary:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}.security-scope-guide h3{margin:0 0 8px;font-size:1rem}.security-scope-guide p{margin:8px 0}.security-scope-guide ul{flex-wrap:wrap;gap:8px 14px;margin:10px 0;padding:0;list-style:none;display:flex}.security-scope-guide li{align-items:center;gap:5px;font-size:.875rem;display:flex}.security-scope-guide li svg{flex:0 0 28px;width:28px;height:28px}:root{color:var(--navy);background:var(--stone);font-synthesis:none;text-rendering:optimizelegibility;--stone:#f5f7fa;--white:#fff;--navy:#192f4a;--cobalt:#305dd9;--cobalt-hover:#2449b4;--route:#11796e;--rust:#bd4735;--brass:#d99a34;--muted:#5e6c80;--line:#d8e0e9;--line-strong:#a9b9cc;--surface-soft:#f0f4f8;--surface-selected:#e8efff;--surface-hover:#d9e5ff;--gallery:#e8e3f6;--vault:#fff0ca;--lobby:#ffe4df;--office:#ddf2e8;font-family:Nunito Sans,Avenir,sans-serif}@font-face{font-family:Nunito Sans;src:url(/assets/game/nunito-sans-400.ttf)format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Nunito Sans;src:url(/assets/game/nunito-sans-700.ttf)format("truetype");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:Nunito Sans;src:url(/assets/game/nunito-sans-800.ttf)format("truetype");font-style:normal;font-weight:800;font-display:swap}*{box-sizing:border-box}body{background:var(--stone);min-width:0;margin:0}button,input,select{color:inherit;font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px}.icon{flex:none;width:24px;height:24px}.app{flex-direction:column;width:min(100%,1600px);height:100dvh;min-height:0;margin:0 auto;padding:0 clamp(16px,2vw,30px) 12px;display:flex}.app-switching{cursor:wait}.restore-warning-banner{border:1px solid #dfaa9e;border-left:4px solid var(--rust);color:#7b3028;background:#fff0ed;border-radius:5px;width:min(100% - 32px,1540px);margin:9px auto 0;padding:8px 12px;font-size:12px;line-height:1.45}.topbar{z-index:20;border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:14px;min-height:72px;display:flex;position:relative}.brand{color:var(--navy);align-items:center;gap:9px;text-decoration:none;display:flex}.brand .icon{width:26px;height:26px;color:var(--cobalt);border-radius:6px;overflow:hidden}.brand-word{letter-spacing:-1px;font-size:26px;font-weight:800;line-height:1}.brand-word i{color:var(--cobalt);font-style:normal}.header-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex}.header-tools{justify-content:flex-end;align-items:center;gap:11px;min-width:0;margin-left:auto;display:flex}.header-actions .quiet-button{white-space:nowrap;min-height:36px;padding-inline:8px}.case-menu{color:var(--navy);position:relative}.case-menu>summary{border:1px solid var(--line);background:var(--surface-selected);min-height:38px;color:var(--navy);cursor:pointer;text-transform:capitalize;white-space:nowrap;border-radius:7px;align-items:center;gap:9px;padding:7px 11px;font-size:12px;font-weight:700;list-style:none;display:flex}.case-menu>summary::-webkit-details-marker{display:none}.case-menu>summary:hover{border-color:var(--cobalt);background:var(--surface-selected)}.case-menu-caret{width:15px;height:15px;color:var(--muted);transform:rotate(90deg)}.case-menu[open]>summary{border-color:var(--cobalt);box-shadow:0 0 0 2px #305dd920}.free-play-header-row{z-index:30;border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;width:min(790px,100vw - 32px);padding:12px 14px;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 14px 34px #192f4a12}.prototype-tag,.eyebrow{color:var(--muted);font-size:11px;font-weight:700}.quiet-button{min-height:40px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:7px 10px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.quiet-button:hover:not(:disabled){border-color:var(--line);background:var(--surface-soft);color:var(--navy)}.save-status{max-width:120px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.25;display:block;overflow:hidden}.save-status.save-warning{color:#913b30}.puzzle-identity{color:var(--muted);white-space:nowrap}.back-curated-button{color:var(--navy)}.free-play-slot{grid-template-columns:minmax(0,1fr);gap:6px;padding:0;display:grid}.daily-case-controls{justify-content:flex-start;align-items:center;gap:12px;min-width:0;display:flex}.daily-case-actions{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.daily-heist-button{border-color:var(--line);background:var(--surface-soft);min-height:36px;color:var(--navy);padding:6px 11px}.daily-heist-button:hover:not(:disabled){border-color:var(--cobalt)}.daily-case-meta{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:11px;display:inline-flex}.daily-case-meta>span+span{border-left:1px solid #aebdcd;padding-left:8px}.daily-demo-tag{color:#72551c;background:#fbf5e4;border:1px solid #e2d3ad;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:700}.daily-status{min-width:0;max-width:310px;color:var(--muted);text-align:left;flex:1;font-size:10px;line-height:1.4}.daily-archive{color:var(--navy);font-size:12px;position:relative}.daily-archive summary{cursor:pointer;white-space:nowrap;min-height:36px;padding:8px 2px;list-style-position:inside}.daily-archive-list{z-index:10;border:1px solid var(--line);background:var(--white);border-radius:6px;flex-direction:column;min-width:230px;max-height:300px;display:flex;position:absolute;top:calc(100% + 4px);right:0;overflow:auto;box-shadow:0 10px 24px #182d4926}.archive-entry-button{border:0;border-bottom:1px solid var(--line);min-height:42px;color:var(--navy);text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:12px;display:flex}.archive-entry-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.archive-entry-meta>span+span{color:var(--muted);border-left:1px solid #aebdcd;padding-left:8px}.archive-entry-button:hover:not(:disabled){background:var(--stone)}.archive-entry-button small{color:#72551c;font-size:10px;font-weight:700}.archive-empty{color:var(--muted);padding:12px;font-size:12px}.free-play-controls{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px;min-width:0;display:flex}.free-play-action{white-space:nowrap;min-height:36px;padding:4px 10px;font-size:12px}.new-puzzle-button,.play-seed-button{border-color:var(--line);background:var(--surface-soft)}.seed-control,.generation-option-control{min-width:0;color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:inline-flex}.seed-control input,.generation-option-control select{border:1px solid var(--line-strong);background:var(--white);height:34px;color:var(--navy);border-radius:6px;font-size:13px}.seed-control input{font-variant-numeric:tabular-nums;letter-spacing:.5px;width:104px;padding:5px 8px}.generation-option-control select{max-width:170px;padding:4px 7px}.generation-status{min-height:0;color:var(--muted);text-align:left;white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:1.4;overflow:hidden}#puzzle{flex-direction:column;flex:auto;width:100%;max-width:1360px;min-height:0;margin:0 auto;display:flex}h1,h2,h3,p{margin-top:0}.eyebrow{margin:0 0 6px}.eyebrow span{color:#6d7d91;padding:0 5px}h1{color:var(--navy);letter-spacing:-.8px;margin-bottom:5px;font-size:clamp(26px,3vw,34px);font-weight:700;line-height:1.12}h1:focus-visible{outline:2px solid var(--cobalt);outline-offset:4px}.case-mission-brief{color:var(--navy);margin:4px 0 0;font-size:12px;font-style:italic;line-height:1.35}.case-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;padding:0;display:flex}.badge{border:1px solid var(--line);background:var(--surface-soft);min-height:24px;color:var(--muted);white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:3px 7px;font-size:10px;display:inline-flex}.daily-case-badge,.badge.challenge{color:#65521e;background:#fff5d8;border-color:#e9dba9}.badge .icon{width:18px;height:18px}.game-layout{flex:auto;grid-template-columns:clamp(280px,25vw,320px) minmax(0,1fr) 200px;gap:18px;min-height:0;display:grid}.board-panel{flex-direction:column;width:100%;min-width:0;max-width:none;height:100%;min-height:0;display:flex;position:relative}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin:10px 0;display:flex}.board-tool-actions{flex-wrap:wrap;align-items:center;gap:1px;display:flex}.board-tool-actions .route-edit-button{gap:4px;min-height:36px;padding:4px 6px;font-size:11px}.route-edit-button .icon{width:16px;height:16px}.route-step-button .icon{transform:rotate(180deg)}.board-tool-actions .icon-button{width:34px;height:36px}.board-tool-actions .icon-button .icon{width:19px;height:19px}.board-tool-actions .reset-button{min-height:36px;padding-inline:6px;font-size:11px}.board-tool-actions .reset-button .icon{width:18px;height:18px}.mode-number{width:18px;height:18px;color:var(--navy);border:1px solid #8da0b5;border-radius:50%;place-items:center;font-size:10px;font-weight:700;display:grid}.vision-toggle{min-height:36px;color:var(--muted);white-space:nowrap;background:0 0;border:0;align-items:center;gap:5px;font-size:11px;display:inline-flex}.vision-toggle .icon{width:18px;height:18px}.toggle-track{background:#8595a8;border-radius:10px;width:30px;height:18px;padding:2px}.toggle-track i{background:var(--white);border-radius:50%;width:14px;height:14px;transition:transform .15s;display:block}.vision-toggle[aria-pressed=true]{color:var(--navy)}.vision-toggle[aria-pressed=true] .toggle-track{background:var(--cobalt)}.vision-toggle[aria-pressed=true] .toggle-track i{transform:translate(12px)}.objectives{color:var(--muted);gap:5px;margin:12px 0;font-size:12px;display:grid}.header-objectives{min-height:28px;color:var(--navy);justify-content:flex-end;gap:12px;margin:2px 0 0;font-size:11px}.header-objectives span{gap:5px}.header-objectives span .icon{width:17px;height:17px}.objectives span{align-items:center;gap:6px;display:inline-flex}.objectives span .icon{width:19px;height:19px}.objectives b{display:none}.objectives .done{color:#266049;font-weight:700}.objectives .done:after{content:"✓"}.board-space{flex:1 1 0;align-items:flex-start;min-width:0;min-height:0;display:flex;container-type:size}.board-frame{--room-label-gutter:0px;--room-label-gutter-block:0px;width:min(100%, calc(max(0px, 100cqh - 26px) * var(--board-width-scale,1) + 20px));flex:none;grid-template-rows:22px auto;grid-template-columns:20px minmax(0,1fr);margin:0 auto;display:grid;position:relative}.axis-top,.axis-side{color:var(--muted);font-variant-numeric:tabular-nums;text-align:center;font-size:11px;display:grid}.axis-top{grid-template-columns:repeat(var(--columns), 1fr);margin-inline:var(--room-label-gutter);align-items:start}.axis-side{grid-template-rows:repeat(var(--rows), 1fr);margin-block:var(--room-label-gutter-block);align-items:center;padding-right:5px}.board-wrap{min-width:0;padding:var(--room-label-gutter-block) var(--room-label-gutter);position:relative}.board{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--rows), minmax(0, 1fr));border:3px solid var(--navy);background:var(--white);isolation:isolate;-webkit-user-select:none;user-select:none;border-radius:6px;display:grid;position:absolute;inset:0;overflow:hidden}.board-row{grid-template-columns:repeat(var(--columns), minmax(0, 1fr));grid-template-rows:minmax(0,1fr);min-height:0;display:grid}.board.route-mode,.board.annotation-mode,.board.route-dragging{touch-action:none}.cell{background:var(--tile,var(--gallery));cursor:pointer;border:1px solid #182d4930;border-top:0;border-left:0;border-radius:0;place-items:center;min-width:0;min-height:0;padding:0;transition:background-color .12s,box-shadow .12s;display:grid;position:relative;overflow:hidden;container-type:size}.cell.zone-gallery{--tile:var(--gallery)}.cell.zone-vault{--tile:var(--vault)}.cell.zone-lobby{--tile:var(--lobby)}.cell.zone-office{--tile:var(--office)}.cell.last-column{border-right:0}.cell.last-row{border-bottom:0}.cell:focus-visible{z-index:5;outline:3px solid var(--cobalt);outline-offset:-4px}.cell:hover:after{z-index:1;content:"";pointer-events:none;border:2px solid #3759d7a8;position:absolute;inset:2px}.cell.wall-edge-top{border-top:4px solid var(--navy)}.cell.wall-edge-right{border-right:4px solid var(--navy)}.cell.wall-edge-bottom{border-bottom:4px solid var(--navy)}.cell.wall-edge-left{border-left:4px solid var(--navy)}.cell.blocked{background-color:var(--tile,var(--gallery))}.coverage{z-index:0;pointer-events:none;background:repeating-linear-gradient(135deg,#c9574330 0 3px,#0000 3px 10px);position:absolute;inset:0}.route-cell:before{z-index:0;content:"";pointer-events:none;background:#176b6312;position:absolute;inset:0}.fixture-icon{z-index:1;pointer-events:none;width:96%;height:96%;position:relative}.clue-reference-fill{z-index:0;pointer-events:none;background:#62adffad;position:absolute;inset:0}.cell[data-connected-device=true]:not([data-clue-kind=object]):after{z-index:0;background:color-mix(in srgb, var(--piece-accent,#91601b) 16%, transparent);content:"";pointer-events:none;position:absolute;inset:0}.device-connection-mark{z-index:3;border:2px dashed var(--piece-accent,#91601b);pointer-events:none;border-radius:4px;position:absolute;inset:1px}.board-connection-guide{color:var(--navy);overflow-wrap:anywhere;flex:none;justify-content:center;align-items:baseline;gap:6px;margin:3px 0 2px;padding-inline:8px;font-size:11px;line-height:1.4;display:flex}.connection-swatch{border:2px dashed var(--piece-accent,#91601b);background:var(--piece-tint,#fff0c7);border-radius:2px;flex:0 0 11px;height:11px}.clue-floor-mark{z-index:2;pointer-events:none;position:absolute;inset:clamp(3px,7cqw,6px)}.clue-floor-mark:before,.clue-floor-mark:after{content:"";border:0 solid #496079b3;width:clamp(4px,18cqw,10px);height:clamp(4px,18cqw,10px);position:absolute}.clue-floor-mark:before{border-top-width:1.5px;border-left-width:1.5px;top:0;left:0}.clue-floor-mark:after{border-bottom-width:1.5px;border-right-width:1.5px;bottom:0;right:0}.clue-room-outline{z-index:4;border:0 solid var(--cobalt);pointer-events:none;position:absolute;inset:0}.clue-edge-top{border-top-width:clamp(3px,7cqw,4px)}.clue-edge-right{border-right-width:clamp(3px,7cqw,4px)}.clue-edge-bottom{border-bottom-width:clamp(3px,7cqw,4px)}.clue-edge-left{border-left-width:clamp(3px,7cqw,4px)}.fixture-number{z-index:5;background:var(--navy);color:#fff;pointer-events:none;border:1px solid #fff;border-radius:50%;place-items:center;width:clamp(10px,36cqw,15px);height:clamp(10px,36cqw,15px);font-size:clamp(8px,26cqw,10px);font-weight:800;line-height:1;display:grid;position:absolute;top:1px;right:1px}.fixture-icon.gem{color:#80601f;width:58%;height:58%}.fixture-icon.rug{color:#4f6274;width:68%;height:68%}.fixture-icon.entry,.fixture-icon.exit{width:65%;height:65%}.fixture-icon.key,.fixture-icon.lock{color:#80601f}.fixture-icon.laser,.fixture-icon.sensor,.fixture-icon.switch{color:#394d62;width:88%;height:88%}.cell.circuit-disabled .fixture-icon{opacity:.7}.fixture-circuit-mark{z-index:4;pointer-events:none;position:absolute;inset:0}.fixture-circuit-badge,.fixture-circuit-state{color:#203e5b;background:#fff;border:1px solid #40556e;border-radius:4px;justify-content:center;align-items:center;padding:0 .5px;font-size:clamp(5px,17cqw,8px);font-weight:800;line-height:1.1;transition:border-color .18s,color .18s,opacity .18s;display:inline-flex;position:absolute}.fixture-circuit-badge{top:1px;left:1px}.fixture-circuit-state{width:clamp(6px,24cqw,13px);height:clamp(6px,24cqw,13px);color:var(--route);border:0;border-radius:50%;padding:0;bottom:1px;right:1px}.fixture-circuit-state svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:100%;height:100%}.fixture-circuit-mark[data-state=disabled] .fixture-circuit-state svg{fill:none}.fixture-circuit-mark[data-state=disabled] .fixture-circuit-badge,.fixture-circuit-mark[data-state=disabled] .fixture-circuit-state{color:#5d6471;border-style:dashed}.cell[data-inspected=true]{outline-offset:-4px;z-index:2;outline:2px solid #315caa}.fixture-caption{z-index:2;color:#203e5b;letter-spacing:.3px;pointer-events:none;font-size:clamp(7px,.75vw,10px);font-weight:700;position:absolute;bottom:5%;left:0;right:0}.token{z-index:3;color:#34516e;pointer-events:none;border:2px solid #0000;border-radius:8px;place-items:center;display:grid;position:absolute;inset:12%}.token.guard-red{color:#913b30}.token.guard-blue{color:#294f99}.token.camera{border-radius:8px}.token.dog{color:#47694f;border-radius:50%}.token.sentry{color:#317d75}.token.drone{color:#8265a2}.token .icon{width:120%;height:120%}.token.selected{box-shadow:0 0 0 3px var(--white), 0 0 0 5px currentColor}.token-code{background:var(--white);text-align:center;border:1px solid;border-radius:4px;padding:0 2px;font-size:clamp(5px,18cqw,9px);font-weight:700;line-height:1.1;position:absolute;top:-8%;left:-8%}.token-arrow{border:1px solid var(--white);width:clamp(9px,28cqw,22px);height:clamp(9px,28cqw,22px);color:var(--white);background:#34516e;border-radius:50%;place-items:center;font-size:clamp(6px,20cqw,13px);line-height:1;display:grid;position:absolute;bottom:-8%;right:-8%}.token-arrow.guard-red{background:#913b30}.token-arrow.guard-blue{background:#294f99}.note-chips{z-index:2;pointer-events:none;grid-template-columns:repeat(2,1fr);align-content:start;gap:3px;display:grid;position:absolute;inset:4px}.note-chip{color:#38536e;text-align:center;background:#ffffffd9;border:1px dashed;border-radius:3px;min-height:17px;font-size:9px;font-weight:700;line-height:15px}.note-chip.guard-red{color:#913b30}.note-chip.guard-blue{color:#294f99}.route-overlay{z-index:4;pointer-events:none;width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;inset:2px;overflow:visible}.laser-overlay{z-index:3;pointer-events:none;width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;inset:2px;overflow:visible}.laser-beam line{fill:none;stroke:#bd4735;stroke-width:4px;stroke-dasharray:5 8;stroke-linecap:round;vector-effect:non-scaling-stroke;transition:stroke .22s,stroke-width .22s,opacity .22s}.laser-beam.active line:first-child{opacity:.76;animation:1.1s linear infinite laser-pulse}.laser-beam .laser-beam-core{stroke:#fff4dc;stroke-width:1px;stroke-dasharray:none;opacity:.9}.laser-beam.disabled line{stroke:#596a7d;stroke-width:2px;stroke-dasharray:2 9;opacity:.55;animation:none}@keyframes laser-pulse{to{stroke-dashoffset:-26px}}.route-segment{fill:none;stroke:var(--route);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.route-segment.transient{opacity:.65}.route-arrow{fill:var(--route);stroke:var(--white);stroke-width:.75px;paint-order:stroke;vector-effect:non-scaling-stroke}.route-arrow.transient{opacity:.65}.route-step-marker{fill:var(--route);stroke:var(--white);stroke-width:1px;vector-effect:non-scaling-stroke}.route-step-label{fill:var(--white);paint-order:stroke;stroke:none;stroke-linejoin:round;stroke-width:0;text-anchor:middle;dominant-baseline:central;vector-effect:non-scaling-stroke;font-family:Nunito Sans,Avenir,sans-serif;font-size:16px;font-weight:700}.route-runner{transition:transform var(--run-step-ms,.18s) linear}.cell[data-collected=true] :is(.fixture-icon.key,.fixture-icon.gem,.token.key){visibility:hidden}.cell[data-activating=true] :is(.fixture-icon.switch,.token.switch){animation:.6s ease-out both switch-press}.cell[data-unlocking=true] .fixture-icon.unlock{animation:.6s ease-out both gate-open}.run-event-unlock .run-event-symbol{animation:.6s ease-out both key-turn}@keyframes key-turn{0%{opacity:0;transform:rotate(-35deg)scale(.8)}30%{opacity:1;transform:rotate(25deg)scale(1.1)}65%{opacity:1;transform:rotate(25deg)}to{opacity:0;transform:translateY(-12px)rotate(25deg)}}@keyframes gate-open{0%{transform:scale(.85)}45%{transform:rotate(-8deg)scale(1.08)}to{transform:rotate(0)scale(1)}}.run-event{color:#cb9628;pointer-events:none}.run-event-loot{color:#428dcc}.run-event-switch{color:#278c7d}.run-event-ring{fill:none;stroke:currentColor;stroke-width:4px;animation:.6s ease-out both pickup-ring}.run-event-symbol{transform-box:fill-box;transform-origin:50%;filter:drop-shadow(0 2px 1px #352a5440);animation:.6s ease-out both pickup-lift}.run-event-sparks{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;animation:.6s ease-out both pickup-spark}.sound-toggle[aria-pressed=false]{color:var(--muted)}@keyframes pickup-lift{0%{opacity:0;transform:translateY(15px)scale(.7)}25%{opacity:1;transform:translateY(-3px)scale(1.08)}65%{opacity:1}to{opacity:0;transform:translateY(-20px)scale(.85)}}@keyframes pickup-ring{0%{opacity:.9;r:20}to{opacity:0;r:43}}@keyframes pickup-spark{0%,to{opacity:0}30%{opacity:1}}@keyframes switch-press{0%,to{transform:scale(1)}25%{transform:translateY(3px)scale(.86)}55%{transform:scale(1.06)}}.route-runner-icon{width:68px;height:68px;color:var(--white);stroke-width:2.2px}.route-runner-disc{fill:var(--navy);stroke:var(--white);stroke-width:3px;vector-effect:non-scaling-stroke}.route-runner.caught .route-runner-disc{fill:#913b30;animation:.64s ease-out route-caught-ring}.route-runner.escaped .route-runner-disc{fill:#24573d;animation:.64s ease-out route-escaped-ring}@keyframes route-caught-ring{0%{stroke:var(--white);stroke-width:3px}45%{stroke:var(--rust);stroke-width:8px}to{stroke:var(--white);stroke-width:3px}}@keyframes route-escaped-ring{0%{stroke:var(--white);stroke-width:3px}45%{stroke:#36734f;stroke-width:8px}to{stroke:var(--white);stroke-width:3px}}.board-caption{justify-content:flex-end;min-height:32px;margin:0 0 0 25px;display:flex}.legend{grid-template-columns:1fr 1fr;gap:7px 10px;margin:12px 0;font-size:12px;display:grid}.legend span{align-items:center;gap:5px;display:flex}.legend i{border:1.5px solid #352a5470;border-radius:4px;flex:none;width:14px;height:14px}.legend [data-room-tone="0"]{background:var(--gallery)}.legend [data-room-tone="1"]{background:var(--vault)}.legend [data-room-tone="2"]{background:var(--lobby)}.legend [data-room-tone="3"]{background:var(--office)}.route-count{color:var(--muted);white-space:nowrap;align-items:center;gap:10px;font-size:12px;display:flex}.text-link{color:#294eaa;min-height:30px;font-size:inherit;background:0 0;border:0;padding:4px 0}.text-link:hover:not(:disabled){color:#203f94;border-color:currentColor}.board-rule{display:none}.notice{border:1px solid var(--line);background:var(--surface-soft);min-height:26px;color:var(--navy);border-radius:6px;align-items:center;gap:7px;margin-top:2px;padding:3px 8px;font-size:11px;line-height:1.35;display:flex}.notice .icon{width:17px;height:17px;color:var(--muted);flex:none;margin:0}.notice[data-tone=error]{color:#913b30;background:#fff0ed;border-color:#e6b2a8}.notice[data-tone=success]{color:#24573d;background:#edf7f0;border-color:#a9cdb7}.run-status{border-left:3px solid var(--line-strong);background:var(--surface-soft);min-height:30px;color:var(--navy);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;margin:4px 0;padding:5px 8px;font-size:11px;line-height:1.4;display:flex}.run-status>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.run-status>div:first-child span{color:var(--muted);font-size:11px}.run-status[data-outcome=success],.run-status[data-outcome=clean],.run-status[data-outcome=escaped]{color:#24573d;background:#edf7f0;border-color:#36734f}.run-status[data-outcome=error],.run-status[data-outcome=failure],.run-status[data-outcome=unavailable],.run-status[data-outcome=caught]{border-color:var(--rust);color:#913b30;background:#fff0ed}.run-status[data-outcome=stopped]{color:#6e5318;background:#fff8e5;border-color:#a47b23}.run-message{color:inherit;flex-basis:100%;margin:0;font-size:11px;line-height:1.4}.run-progress{appearance:none;width:min(130px,18vw);height:5px;accent-color:var(--cobalt);background:#ced8e4;border:0;border-radius:4px;grid-column:2;margin:0;display:block;overflow:hidden}.run-progress::-webkit-progress-bar{background:#ced8e4;border-radius:4px}.run-progress::-webkit-progress-value{background:var(--cobalt);border-radius:4px}.run-progress::-moz-progress-bar{background:var(--cobalt);border-radius:4px}.run-controls{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;min-height:28px;margin-top:0;display:contents}.board-actions{width:100%;margin:10px 0;display:flex}.move-budget{color:var(--navy);font-variant-numeric:tabular-nums;gap:1px;font-size:11px;line-height:1.25;display:grid}.move-budget span{color:var(--muted);font-size:10px}.board-lower{flex-direction:column;align-items:stretch;gap:14px;min-width:0;margin-top:0;display:flex}.security-section{min-width:0;min-height:0;padding:0}.security-section .section-heading{flex-wrap:wrap;gap:4px}.security-section .section-heading h2{font-size:17px}.history-actions{align-items:center;gap:4px;display:flex}.icon-button{background:0 0;border:0;border-radius:5px;place-items:center;width:42px;height:42px;display:inline-grid}.icon-button:hover:not(:disabled){background:#dce5ef}.icon-button .icon{width:21px;height:21px}.action-divider{background:#b8c6d5;width:1px;height:21px;margin:0 5px}.reset-button{color:var(--muted)}.primary-button{border:1px solid var(--cobalt);background:var(--cobalt);color:#fff;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:96px;margin-bottom:0;padding:10px;font-size:19px;font-weight:800;display:inline-flex;box-shadow:0 2px 3px #192f4a12}.board-actions .primary-button{gap:7px;min-height:44px;padding:6px 8px;font-size:14px}.primary-button:hover:not(:disabled){border-color:var(--cobalt-hover);background:var(--cobalt-hover)}.primary-button .icon{width:44px;height:44px}.board-actions .primary-button .icon{width:24px;height:24px}.section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}h2{color:var(--navy);letter-spacing:-.3px;margin-bottom:0;font-size:19px;font-weight:700;line-height:1.25}.section-heading>span{color:var(--muted);white-space:nowrap;font-size:11px}.section-description{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.45}.piece-tray{gap:clamp(4px, var(--card-size) - 8px, 8px);margin-top:8px;display:grid}.piece-group+.piece-group{margin-top:4px}.piece-group h2{margin:0;font-size:16px;font-weight:700}.piece-group .piece-tray{margin-top:4px}.piece-group[data-piece-group=controls] .piece-card{background:#fff5db}.piece-group[data-piece-group=controls] .piece-card[aria-pressed=true]{background:#ffebbc}.circuit-panel{gap:7px;margin-top:12px;display:grid}.circuit-card{color:#243d58;text-align:left;background:#f7f8fa;border:1px solid #bbc7d3;border-radius:6px;gap:3px;min-width:0;padding:6px 8px;transition:background-color .18s,border-color .18s,color .18s;display:grid}.circuit-card[data-state=disabled]{color:#566171;background:#f0f1f3;border-style:dashed}.circuit-card[data-inspected=true]{border-color:#315caa;box-shadow:inset 0 0 0 1px #315caa}.circuit-card-heading{letter-spacing:.25px;align-items:center;gap:6px;font-size:10px;display:flex}.circuit-badge{border:1px solid;border-radius:4px;place-items:center;min-width:23px;min-height:19px;font-size:9px;font-weight:800;display:inline-grid}.circuit-card[data-state=disabled] .circuit-badge{border-style:dashed}.circuit-card-connections{overflow-wrap:anywhere;color:var(--muted);font-size:9px;line-height:1.3}.piece-slot{grid-template-columns:clamp(64px, 4.8 * var(--card-size), 72px) minmax(0, 1fr);border:1.5px solid var(--line);background:var(--white);border-radius:9px;min-width:0;transition:border-color .12s;display:grid;position:relative;box-shadow:0 1px 3px #192f4a08}.piece-card{background:var(--surface-soft);text-align:center;border:0;border-radius:8px 0 0 8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:100%;min-height:48px;padding:3px;display:flex;position:relative}.piece-card:hover{border-color:var(--line-strong);background:var(--surface-soft)}.piece-card[aria-pressed=true]{background:var(--surface-selected);box-shadow:inset 4px 0 var(--cobalt)}.piece-card.guard-red[aria-pressed=true]{background:#fff0ed;border-color:#a63e31;box-shadow:inset 0 0 0 1px #a63e31}.piece-card.guard-blue[aria-pressed=true]{background:#edf2ff;border-color:#315caa;box-shadow:inset 0 0 0 1px #315caa}.piece-portrait{width:clamp(24px, 2 * var(--card-size), 34px);height:clamp(24px, 2 * var(--card-size), 34px);flex:none}.piece-card.guard-red .piece-portrait{color:#913b30}.piece-card.guard-blue .piece-portrait{color:#294f99}.piece-info{flex-direction:column;align-items:center;min-width:0;display:flex}.piece-info strong{color:var(--navy);font-size:12px;font-weight:800;line-height:1.2}.piece-info small{color:var(--muted);font-size:10px;line-height:1.2;position:absolute;top:3px;right:3px}.piece-coordinate{background:var(--white);color:var(--muted);border-radius:3px;padding:1px;font-size:10px;font-weight:800;line-height:1;position:absolute;top:calc(50% - 4px);right:2px}.remove-piece{width:24px;height:24px;color:var(--muted);background:#fffefacc;border:0;border-radius:5px;place-items:center;padding:4px;display:grid;position:absolute;top:0;left:0}.pencil-row{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:none}.selection-label{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.section-divider{border:0;border-top:1px solid #d7e0e9;margin:17px 0 15px}.clue-list{align-content:center;gap:4px;margin:0;padding:2px 6px;list-style:none;display:grid}.clue-row{border:1px solid #0000;border-radius:6px;padding:2px;display:flow-root}.clue-mark{float:right;border:1px solid var(--line);background:var(--white);width:24px;height:24px;color:var(--navy);border-radius:6px;place-items:center;margin:0 0 2px 5px;padding:0;font-size:11px;font-weight:700;display:grid}.clue-mark[aria-pressed=true]{color:#24573d;background:#edf7f0;border-color:#36734f}.clue-mark .icon{width:17px;height:17px}.clue-copy{color:var(--navy);font-size:var(--card-size,13px);line-height:1.35}.clue-row--global{border-style:dashed}.clue-row>div{font-size:var(--card-size,13px);min-width:0;line-height:1.35}.clue-row.related{border-color:var(--line-strong);background:var(--surface-selected)}.clue-row[data-check=good]{background:#edf7f0;border-color:#c5e0d0}.clue-row:has(.clue-mark[aria-pressed=true]){background:#edf7f0;border-color:#c5e0d0}.clue-row[data-check=bad]{background:#fff0ed;border-color:#efd0c9}.clue-row.related .clue-mark{border-color:var(--cobalt);color:#294f99;background:#edf1ff}.clue-row[data-check=good] .clue-mark{color:#24573d;background:#edf7f0;border-color:#36734f}.clue-row[data-check=bad] .clue-mark{border-color:var(--rust);color:#913b30;background:#fff0ed}.clue-row[data-check=waiting] .clue-mark{border-style:dashed}.clue-row[data-check=good] .clue-result{color:#24573d}.clue-row[data-check=bad] .clue-result{color:#913b30}.clue-result{color:var(--muted);margin-top:1px;font-size:9px;line-height:1.1}.clue-actions{gap:7px;display:flex}.secondary-button{border:1px solid var(--line);background:var(--white);min-height:40px;color:var(--navy);white-space:nowrap;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:7px;padding:7px 9px;font-size:12px;font-weight:700;display:inline-flex}.secondary-button:hover:not(:disabled){background:var(--stone)}.secondary-button .icon{width:18px;height:18px}.disclaimer{color:var(--muted);margin:7px 0 0;font-size:10px;line-height:1.35}.footer{border-top:1px solid var(--line);max-width:1230px;color:var(--muted);justify-content:space-between;gap:15px;margin:22px auto 0;padding:13px 0 20px;font-size:11px;display:flex}.save-warning{color:#913b30}.loading{min-height:70vh;color:var(--muted);place-items:center;font-size:15px;display:grid}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.result-dialog{border:2px solid var(--line-strong);background:var(--white);width:min(380px,100% - 32px);max-height:calc(100dvh - 32px);color:var(--navy);text-align:center;border-radius:18px;padding:32px 28px 28px;box-shadow:0 16px 60px #192f4a26}.result-dialog[open]{animation:.18s ease-out both result-appear}.result-dialog::backdrop{background:#13233b80}.result-close{position:absolute;top:8px;right:8px}.result-emblem{border:2px solid var(--line-strong);background:var(--surface-selected);border-radius:50%;place-items:center;width:100px;height:100px;margin:8px auto 20px;display:grid;position:relative}.result-icon{width:74px;height:74px}.result-emblem>span{border:3px solid var(--white);background:var(--route);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;position:absolute;bottom:0;right:-2px}.result-emblem .icon{width:18px;height:18px}.result-dialog[data-outcome=caught] .result-emblem{background:#fbe8e5;border-color:#dfb3ae}.result-dialog[data-outcome=caught] .result-emblem>span{background:#a14545}.result-dialog h2{margin:0;font-size:28px;font-weight:800}.result-dialog p{color:var(--muted);margin:10px 0 24px;font-size:15px;line-height:1.5}.result-dialog .primary-button{min-height:48px;font-size:16px}@keyframes result-appear{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.piece-slot[data-selected=true]{border-color:var(--cobalt);box-shadow:0 0 0 1px var(--cobalt)}.remove-piece .icon{width:16px;height:16px}.remove-piece:hover{background:var(--surface-selected)}.shared-clues h2{font-size:14px}.heist-controls{--card-size:clamp(12px, calc((100dvh - 300px - var(--intel-count) * 54px) / var(--piece-count) / 7), 14px);flex-direction:column;gap:8px;min-width:0;min-height:0;display:flex}.board-guide h2{font-size:17px;font-weight:800}.board-key{border-top:1px solid var(--line);min-width:0;padding-top:14px}.heist-controls .vision-toggle{gap:4px;font-size:10px}.heist-controls .board-tool-actions{gap:0}.heist-controls .board-tool-actions .icon-button{width:28px}.heist-controls .reset-button{padding-inline:3px}.board-guide .notice{align-items:flex-start;margin:10px 0;padding:8px}.board-guide .run-status{grid-template-columns:minmax(0,1fr);display:grid}.board-guide .run-progress{grid-column:1;width:100%}.heist-controls .route-count{justify-content:space-between;margin-top:12px}@media (width<=1100px){.game-layout{grid-template-columns:270px minmax(0,1fr) 185px;gap:12px}}@media (width<=900px){.app{height:auto;min-height:100dvh}#puzzle{display:block}.game-layout{grid-template-columns:260px minmax(0,1fr);align-items:start}.board-panel{flex:none;height:auto}.board-space{flex:none;display:block;container-type:normal}.board-frame{width:100%}.heist-controls{grid-column:1}.board-guide{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:20px;display:grid}}@media (width<=620px){.game-layout{flex-direction:column;gap:18px;display:flex}.security-section,.heist-controls{width:100%}.board-guide{grid-template-columns:1fr;width:100%}}@media (width<=850px){.app{padding:0 16px 20px}.topbar{flex-wrap:wrap;padding-block:10px}.header-tools{flex-wrap:wrap;gap:6px}.save-status{text-overflow:clip;white-space:normal;flex:0 120px;max-width:min(120px,100%);display:block;overflow:visible}.case-menu{position:static}.free-play-header-row{width:calc(100vw - 32px);max-height:70dvh;top:100%;right:0;overflow:auto}.daily-case-controls,.daily-case-actions{flex-wrap:wrap}.daily-archive-list{max-width:100%;position:static}.generation-status{white-space:normal}.case-details{flex-wrap:wrap;justify-content:flex-start;gap:6px}.case-heading{grid-template-columns:1fr;gap:8px;padding-block:12px}.case-badges,.header-objectives{flex-wrap:wrap;justify-content:flex-start}.board-frame{grid-template-columns:18px minmax(0,1fr)}.run-status{grid-template-columns:minmax(0,1fr)}.run-progress{grid-column:1;width:100%}}@media (width<=480px){.restore-warning-banner{width:calc(100% - 20px);margin-top:6px;padding:7px 9px;font-size:11px}.brand{gap:4px}.brand-word{font-size:22px}.brand .icon{width:22px;height:22px}.route-count{gap:6px;font-size:11px}.app{padding-inline:10px}.topbar{flex-wrap:nowrap;align-items:start}.header-tools{flex:1;max-width:190px}.header-actions .quiet-button,.case-menu>summary{min-height:32px;font-size:11px}.header-actions .back-curated-button{white-space:normal;max-width:100px}.header-objectives{gap:6px;font-size:10px}.toolbar{gap:4px}.fixture-caption{font-size:7px;bottom:2%}.token{border-width:1px;inset:10%}.free-play-header-row{width:calc(100vw - 20px);padding:12px}.seed-control{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.run-status+.notice{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.run-status .quiet-button{white-space:nowrap;min-height:28px;padding-block:2px}.heist-controls>.toolbar{flex:none;margin:0}.heist-controls .security-section{flex:none}.plan-actions{border-top:1px solid var(--line);flex:none;grid-template-columns:1fr 1fr;align-items:center;gap:8px;margin-top:auto;padding-top:10px;display:grid}.plan-actions .board-actions{margin:0}.plan-actions .clue-actions{gap:4px}.plan-actions .secondary-button{min-height:44px;padding:5px 7px}.plan-actions .route-toggle .icon{width:18px;height:18px}.plan-actions .route-count{justify-content:flex-end;gap:6px;margin:0;font-size:10px}.board-guide{min-width:0;min-height:0;padding:0}.board-guide .board-key{margin-top:18px}.header-case{border-left:1px solid var(--line);flex:1;min-width:0;padding-left:10px}.header-case h1{letter-spacing:-.5px;margin:0;font-size:20px}.header-case h1:focus{outline:none}.case-title-row{flex-wrap:wrap;align-items:center;gap:4px 14px;display:flex}.solve-timer{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;align-items:center;gap:4px;font-size:13px;font-weight:700;display:inline-flex}.solve-timer .icon{width:14px;height:14px}.header-case .case-mission-brief{color:var(--muted);margin:3px 0 0;font-size:11px;font-style:normal}.game-layout{padding-top:14px}.board-guide .case-badges{justify-content:flex-start;margin-top:8px}.game-layout[data-many-pieces=true] .piece-tray{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=1100px) and (width>=901px){.header-tools .save-status{display:none}}@media (width<=900px){.game-layout[data-many-pieces=true] .piece-tray{grid-template-columns:1fr}.topbar{flex-wrap:wrap;padding-block:10px}.header-case{flex-basis:calc(100% - 120px)}.header-tools{flex:0 0 100%;width:100%}}@media (width<=620px){.header-case h1{font-size:17px}.header-tools{justify-content:space-between;max-width:none}.header-tools .save-status{display:none}.board-guide .case-badges{margin-bottom:12px}}@media (width>=901px) and (height<=800px){.topbar{min-height:64px}.heist-controls{gap:4px}.heist-controls .clue-list,.heist-controls .clue-row{padding-block:1px}.heist-controls .clue-copy,.heist-controls .clue-row>div{line-height:1.25}.heist-controls .piece-card{gap:0;min-height:44px;padding:2px}.heist-controls .piece-info strong{font-size:11px}.heist-controls .piece-tray{gap:3px}.heist-controls .plan-actions{gap:5px;padding-top:6px}.heist-controls .plan-actions :is(.primary-button,.secondary-button){min-height:40px}.heist-controls .route-count .text-link{min-height:24px}.clue-result{font-size:10px;line-height:1.2}.board-guide .board-key{margin-top:8px;padding-top:8px}.board-guide .legend{gap:4px 10px;margin-block:8px}.board-guide .scenery-legend{gap:4px 10px;margin-top:8px}.board-guide .scenery-legend .icon{width:20px;height:20px}.board-guide .circuit-panel{gap:4px;margin-top:8px}.board-guide .circuit-card{padding-block:4px}}@media (width>=901px){.game-layout[data-many-pieces=true] .piece-slot{break-inside:avoid;margin-bottom:8px}}.legend [data-room-tone="4"]{background:#dbeaf7}.legend [data-room-tone="5"]{background:#f3dfec}.legend [data-room-tone="6"]{background:#eadfcf}.legend [data-room-tone="7"]{background:#e9f0cf}.security-intel{border-top:1px solid var(--line);flex:none;padding-top:8px}.security-intel h2{font-size:14px}.intel-scope-note{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.3}.clue-scope{color:var(--cobalt);margin-bottom:2px;font-size:10px;font-weight:700;line-height:1.2;display:block}.security-intel .clue-list{padding:4px 0 0}.security-intel .clue-copy{font-size:12px}.security-intel .clue-mark{float:left;margin:0 7px 2px 0}.security-intel[data-security-only] .clue-row .clue-scope{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=901px) and (height<=800px){.game-layout:has(.heist-controls[data-dense-intel]){grid-template-columns:clamp(300px,27.5vw,352px) minmax(0,1fr) 200px}.heist-controls[data-dense-intel]{gap:2px}.heist-controls[data-dense-intel] .piece-card{min-height:40px}.heist-controls[data-dense-intel] .piece-tray{gap:1px}.heist-controls[data-dense-intel] .security-intel{padding-top:2px}.heist-controls[data-dense-intel] .security-intel .clue-list{gap:1px;padding-top:2px}.heist-controls[data-dense-intel] .security-intel .clue-row{padding-block:0}.heist-controls[data-dense-intel] .security-intel .clue-mark{margin-bottom:0}}@media (width<=900px){.heist-controls{--card-size:13px}}.clue-copy,.clue-result{display:inline}.clue-result:before{content:" · "}@media (width>=901px){.heist-controls :is(.vision-toggle,.board-tool-actions .reset-button){min-height:28px}.heist-controls .board-tool-actions .icon-button{height:28px}}.piece-card .piece-portrait{background:var(--piece-tint,var(--surface-soft));outline:1px solid var(--piece-accent,var(--line));border-radius:50%;padding:2px}.cell .token-code,.cell .fixture-circuit-badge,.cell .fixture-key-badge,.cell .note-chip,.circuit-card .circuit-badge{color:var(--piece-accent,var(--navy));border-color:var(--piece-accent,var(--line));background:var(--piece-tint,var(--white))}.cell .fixture-number{background:var(--piece-accent,var(--navy))}.cell .token.selected{color:var(--piece-accent,var(--navy))}.fixture-key-badge{z-index:4;pointer-events:none;border:1px solid;border-radius:4px;padding:0 1px;font-size:clamp(5px,17cqw,8px);font-weight:800;line-height:1.1;position:absolute;top:1px;left:1px}.gesture-help{color:var(--muted);flex:1 0 100%;margin:0;font-size:12px;line-height:1.4}.hold-progress{z-index:6;border:3px solid var(--cobalt);opacity:.25;pointer-events:none;border-radius:50%;animation:.45s linear forwards hold-placement;position:absolute;inset:3px}@keyframes hold-placement{0%{opacity:.25;transform:scale(.45)}to{opacity:1;transform:scale(1)}}.cell{-webkit-touch-callout:none}@media (prefers-reduced-motion:reduce){.hold-progress{opacity:1;animation:none}}.pieces-progress{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;font-size:12px;display:flex}.pieces-progress strong{color:var(--jade)}.pieces-progress .text-link{min-height:32px;font-weight:800}.game-layout[data-mode=route] :is(.security-section,.security-intel){display:none}.app:not(.app--mobile) .game-layout[data-mode=route]{grid-template-columns:250px minmax(0,1fr)}.game-layout[data-mode=route] .reset-button{display:none}.app--mobile.app{height:100dvh;min-height:0;padding:env(safe-area-inset-top,0px) max(4px, env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(4px, env(safe-area-inset-left,0px));overflow:auto}.app--mobile .topbar{flex-wrap:nowrap;flex:none;gap:10px;min-height:48px;padding:4px 2px}.app--mobile .brand{flex:none}.app--mobile .brand .icon{flex-wrap:wrap;width:28px;min-height:32px}.app--mobile .brand-word,.app--mobile .case-mission-brief{display:none}.app--mobile .header-case{border:0;flex:1;min-width:0;padding:0}.app--mobile .header-case h1{font-size:17px;line-height:1.2}.app--mobile .mobile-case-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:0 10px;margin-top:2px;font-size:10px;display:flex}.app--mobile .solve-timer{font-size:11px}.app--mobile .solve-timer .icon{width:12px;height:12px}.app--mobile .mobile-details-button{background:var(--white);border:1px solid var(--line);border-radius:10px;width:44px;height:40px}.app--mobile #puzzle{flex:1;min-height:0;display:flex}.app--mobile .game-layout{flex-direction:column;align-items:stretch;gap:4px;width:100%;min-width:0;min-height:0;padding-top:4px;display:flex}.app--mobile .board-panel{flex:1 1 0;order:0;height:auto;min-height:280px}.app--mobile .board-space{flex:1 1 0;align-items:center;height:100%;min-height:0;display:flex;container-type:size}.app--mobile .mobile-room-key{flex-wrap:wrap;flex:none;justify-content:center;gap:3px 10px;margin:0;font-size:10px;line-height:1.4;display:flex}.app--mobile .mobile-room-key span{gap:4px}.app--mobile .mobile-room-key i{border-radius:3px;width:9px;height:9px}.app--mobile .mobile-floor-key{color:var(--muted);flex-wrap:wrap;flex:none;justify-content:center;gap:2px 12px;font-size:10px;display:flex}.mobile-floor-key span{align-items:center;gap:3px;display:inline-flex}.mobile-floor-key .icon{width:18px;height:18px}.app--mobile .board-space .board-frame{width:min(100%, calc((100cqh - 22px) * var(--board-width-scale,1) + 18px));grid-template-rows:22px auto;grid-template-columns:18px minmax(0,1fr)}.app--mobile .heist-controls{border:1px solid var(--line);background:var(--white);border-bottom:0;border-radius:16px 16px 0 0;flex:none;order:1;grid-template-columns:minmax(0,1fr);gap:0;width:100%;min-width:0;padding:0 8px 2px;display:grid;box-shadow:0 -4px 16px #192f4a08}.app--mobile .mobile-dock-heading{order:0;align-items:stretch;gap:0 10px;height:28px;display:flex}.app--mobile .mobile-dock-heading button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:0 2px;font-size:12px;font-weight:800}.app--mobile .mobile-dock-heading button[aria-pressed=true]{border-bottom-color:var(--cobalt);color:var(--cobalt)}.app--mobile .mobile-dock-heading span{background:var(--surface-soft);font-variant-numeric:tabular-nums;border-radius:5px;margin-left:4px;padding:1px 5px;font-weight:700}.app--mobile .security-section{order:1;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:5px;min-width:0;padding:2px;display:grid}.app--mobile :is(.piece-group,.piece-tray){display:contents}.app--mobile .piece-group>.section-heading{display:none}.app--mobile .piece-slot{width:auto;min-width:0;box-shadow:none;background:0 0;border:0;display:block}.app--mobile .piece-card{border:1px solid var(--line);background:var(--stone);border-radius:8px;gap:2px;width:100%;height:100%;min-height:50px;padding:2px 3px}.app--mobile .piece-card[aria-pressed=true]{border-color:var(--cobalt);background:var(--surface-selected);box-shadow:inset 0 -2px var(--cobalt)}.app--mobile .piece-portrait{width:24px;height:24px}.app--mobile .piece-info strong{white-space:normal;overflow-wrap:anywhere;font-size:10px}.app--mobile .piece-info small{display:none}.app--mobile .piece-coordinate{color:var(--jade);background:var(--white);top:4px;right:3px}.app--mobile .remove-piece{display:none}.app--mobile .mobile-active-clue,.app--mobile .security-intel{border:0;order:2;min-height:92px;margin:0;padding:6px 2px;font-size:13px;line-height:1.4}.app--mobile .mobile-clue-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 3px;display:flex}.app--mobile .mobile-clue-heading>span{color:var(--muted);font-size:10px}.app--mobile .mobile-sight{color:var(--muted);margin:3px 0 0;font-size:11px;display:block}.app--mobile .board-connection-guide{justify-content:flex-start;margin:3px 0 0;padding:0}.app--mobile .mobile-active-clue p{margin:4px 0}.app--mobile .clue-list{margin:0;display:block}.app--mobile .clue-row+.clue-row{margin-top:4px}.app--mobile .clue-list li{gap:6px;padding:3px;font-size:13px;line-height:1.4}.app--mobile .security-intel .section-heading{margin-bottom:4px}.app--mobile .security-intel h2{font-size:13px}.app--mobile .heist-controls[data-mobile-intel] .security-section,.app--mobile .heist-controls[data-mode=route] .security-section{display:none}.app--mobile .heist-controls[data-mobile-intel] .security-intel{min-height:164px}.app--mobile .heist-controls[data-mode=route] .mobile-active-clue{min-height:88px}.app--mobile .toolbar{border-top:1px solid var(--line);order:4;grid-template-columns:minmax(0,1fr) auto;gap:5px;margin:0;padding-top:3px;display:grid}.app--mobile .board-tool-actions{gap:0;display:flex}.app--mobile .heist-controls[data-mode=route] .toolbar{grid-template-columns:minmax(0,1fr);gap:0}.app--mobile .heist-controls[data-mode=route] .board-tool-actions{flex-wrap:nowrap}.app--mobile .board-tool-actions .route-edit-button{flex:1;justify-content:center;min-height:44px;font-size:12px}.app--mobile .board-tool-actions .icon-button{width:32px;height:44px;padding:6px}.app--mobile .board-tool-actions .reset-button,.app--mobile .board-tool-actions .sound-toggle,.app--mobile .toolbar>.vision-toggle{display:none}.app--mobile .plan-actions{border:0;order:5;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:4px 8px;margin:0;padding-top:4px}.app--mobile .board-actions .primary-button,.app--mobile .clue-actions .secondary-button{min-height:42px;padding:6px;font-size:12px}.app--mobile .clue-actions .secondary-button{background:var(--surface-selected);color:var(--cobalt);border-color:var(--line-strong)}.app--mobile .move-budget{grid-area:2/1/auto/-1;align-self:center;font-size:11px}.app--mobile .move-budget>span{display:none}.app--mobile .route-count{grid-area:3/1/auto/-1;justify-content:space-between;align-self:center;gap:6px;font-size:10px}.app--mobile .mobile-feedback{max-height:36px;color:var(--muted);order:3;font-size:11px;line-height:1.35;overflow-y:auto}.app--mobile .mobile-feedback:empty{display:none}.app--mobile .mobile-feedback[data-tone=error]{color:var(--danger)}.mobile-details-dialog{border:1px solid var(--line);background:var(--stone);width:min(460px,100% - 24px);max-height:calc(100svh - 40px);color:var(--navy);border-radius:16px;margin:auto;padding:16px}.mobile-details-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#142a48aa}.mobile-details-heading{z-index:2;background:var(--stone);justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding-block:6px;display:flex;position:sticky;top:-16px}.mobile-details-heading h2{margin:0;font-size:18px}.mobile-details-heading button{width:44px;height:44px}.app--mobile .mobile-details-dialog .header-tools{flex-wrap:wrap;gap:12px;width:100%;max-width:none;margin:0 0 18px;display:flex}.app--mobile .mobile-details-dialog .header-actions{flex-wrap:wrap;gap:8px;display:flex}.app--mobile .mobile-details-dialog .board-guide{width:100%;display:block}.app--mobile .mobile-settings{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-bottom:12px;padding-bottom:12px;display:flex}.app--mobile .mobile-settings button{min-height:44px}.app--mobile .mobile-route-goals{flex-wrap:wrap;gap:4px 12px;margin-top:6px;font-size:11px;font-weight:700;display:flex}.app--mobile .mobile-route-goals>span{align-items:center;gap:6px;display:flex}.app--mobile .mobile-clue-heading>.text-link{min-height:24px;margin-left:auto;font-size:11px}.app--mobile .mobile-settings button[aria-pressed=true]{color:var(--cobalt);background:var(--surface-selected)}.app--mobile .clue-list .clue-mark{width:30px;min-width:30px;height:30px}.app--mobile .plan-actions .board-actions,.app--mobile .plan-actions .clue-actions{grid-area:1/2}.app--mobile .plan-actions .primary-button,.app--mobile .plan-actions .secondary-button{min-width:116px}.app--mobile .heist-controls:not([data-mode=route]) .board-actions,.app--mobile .heist-controls:not([data-mode=route]) .route-count,.app--mobile .heist-controls[data-mode=route] .clue-actions{display:none}.app--mobile .plan-actions .route-toggle{grid-area:1/1;min-height:42px;font-size:12px}.app--mobile .route-count button{min-height:24px;padding:0}@media (width<=900px) and (height<=500px) and (width>=621px){.app--mobile .game-layout{flex-direction:row;padding-bottom:6px}.app--mobile .heist-controls{border-bottom:1px solid var(--line);border-radius:14px;flex:0 0 340px;align-content:center}.app--mobile .heist-controls[data-mobile-intel] .security-intel{min-height:146px}}@media (height<=740px) and (width<=620px){.app--mobile .heist-controls[data-mobile-intel] .security-intel{min-height:154px}.app--mobile .mobile-clue-heading{margin-bottom:0}.app--mobile .mobile-clue-heading>.text-link{min-height:20px}}@media (width<=620px) and (height<=540px){.app--mobile.app{height:auto;min-height:100svh;overflow:visible}.app--mobile .board-panel{flex:none;height:min(340px,100vw - 12px)}}.app--mobile .game-layout[data-mode=route] .toolbar{border-top:0}.app--mobile .mobile-dock-heading .pieces-progress{margin-left:auto;font-size:11px}.app--mobile .pieces-progress>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.app--mobile .mobile-dock-heading .pieces-progress button{color:var(--cobalt);font-size:10px}.tutorial-shell{max-width:1000px;margin:0 auto;padding:0 24px 20px}.tutorial-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:80px;display:flex}.tutorial-header h1{align-items:center;gap:10px;margin:0;font-size:22px;display:flex}.tutorial-invite{text-align:center;max-width:460px;margin:8vh auto 0}.tutorial-host{width:110px;height:110px}.tutorial-invite h1{font-size:32px;line-height:1.15}.tutorial-invite p{color:var(--muted);line-height:1.6}.tutorial-invite button{width:100%;margin-top:12px;display:block}.tutorial-invite small{color:var(--muted);margin-top:24px;display:block}.tutorial-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:32px;margin-top:28px;display:grid}.tutorial-map .board-frame{width:100%}.tutorial-map .tutorial-legend{flex-wrap:wrap;justify-content:center;gap:14px;margin:0 0 8px;font-size:13px;display:flex}.tutorial-shell .primary-button{min-height:48px;font-size:16px}.tutorial-coach{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:22px}.tutorial-coach h2{margin:0 0 16px;font-size:25px;line-height:1.2}.tutorial-coach h2:focus{outline:none}.tutorial-coach p{font-size:15px;line-height:1.5}.tutorial-coach .tutorial-progress{color:var(--muted);margin:0 0 6px;font-size:12px}.tutorial-piece{text-align:left;border:2px solid var(--line);background:var(--stone);width:100%;color:var(--navy);font:inherit;border-radius:10px;align-items:center;gap:12px;padding:12px;font-size:14px;line-height:1.4;display:flex}.tutorial-piece[aria-pressed=true]{border-color:var(--cobalt);background:var(--surface-selected)}.tutorial-piece>svg{flex:0 0 44px;width:44px;height:44px}.tutorial-piece strong{margin-bottom:4px;display:block}.tutorial-feedback{border-left:3px solid var(--cobalt);padding-left:12px}.tutorial-coach>.primary-button{width:100%;margin-top:12px}.tutorial-route-controls{align-items:center;gap:8px;display:flex}.tutorial-route-controls button{font-size:13px}.tutorial-budget{margin-bottom:4px;font-weight:800}.tutorial-coach small{color:var(--muted);font-size:12px;display:block}.tutorial-footer{justify-content:flex-end;align-items:center;gap:16px;margin-top:20px;display:flex}.tutorial-footer button{align-items:center;gap:8px;display:flex}@media (width<=620px){.tutorial-shell{padding-inline:12px}.tutorial-header{min-height:62px}.tutorial-header h1{font-size:18px}.tutorial-header>button{padding-inline:8px;font-size:12px}.tutorial-layout{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:12px}.tutorial-map{width:min(100%,340px,max(250px,100svh - 400px));margin-inline:auto}.tutorial-coach{padding:16px}.tutorial-coach h2{margin-bottom:12px;font-size:22px}.tutorial-coach p{font-size:14px}.tutorial-invite{margin-top:5vh;padding-inline:12px}}.daily-shell{width:min(1120px,100%);margin:auto;padding:0 28px}.player-extras{border-top:1px solid var(--line);padding-block:10px}.daily-streak{width:fit-content;max-width:100%;color:var(--muted);margin:0;font-size:13px}.daily-streak summary{cursor:pointer;width:fit-content;padding-block:10px;list-style:none}.daily-streak summary::-webkit-details-marker{display:none}.daily-streak strong{color:var(--navy);font-variant-numeric:tabular-nums}.streak-best{margin-left:4px}.daily-streak p{max-width:440px;margin:0 0 6px}.install-game{color:var(--muted);margin-top:0;font-size:13px}.install-game button{min-height:44px;margin-top:6px;display:block}.install-instructions{max-width:440px;font-size:14px}.install-instructions small{color:var(--muted);font-size:12px}.daily-topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;min-height:88px;display:flex}.daily-topbar nav{align-items:center;gap:26px;display:flex}.daily-topbar a{color:var(--navy);text-decoration:none}.daily-topbar nav a{border-bottom:3px solid #0000;padding:12px 0;font-weight:700}.daily-topbar nav a[aria-current=page]{color:var(--cobalt);border-color:var(--cobalt)}.daily-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.wallet-link,.streak-counter{align-items:center;gap:8px;min-width:0;margin:0;display:flex}.daily-stats .icon{flex-shrink:0}.daily-stats small,.daily-stats strong{display:block}.daily-stats small{color:var(--muted);font-size:11px}.daily-stats strong{font-variant-numeric:tabular-nums;font-size:20px}.daily-main{padding-block:30px 20px}.daily-main h1:focus{outline:none}.daily-intro{justify-content:space-between;align-items:center;gap:25px;margin-bottom:26px;display:flex}.daily-date{color:var(--muted);flex-wrap:wrap;gap:16px;margin:0 0 12px;font-size:12px;display:flex}.daily-date time{color:var(--navy);font-weight:800}.daily-intro h1{letter-spacing:-1.5px;margin:0 0 14px;font-size:clamp(32px,4vw,46px);font-weight:800;line-height:1.06}.daily-intro h1 br{display:none}.daily-intro p:last-child{color:var(--muted);margin:0}.daily-take{flex-shrink:0;align-items:center;gap:14px;display:flex}.daily-take>svg{width:72px;height:72px}.daily-take span{font-size:13px}.daily-take strong{color:var(--route);font-size:26px;display:block}.daily-take small{color:var(--muted);font-size:13px;font-weight:400}.daily-take p{font-size:12px}.daily-jobs{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.daily-job{--job-color:var(--surface-selected);border:2px solid var(--line);background:#fff;border-radius:14px;padding:19px;box-shadow:0 4px 16px #192f4a08}.daily-job[data-size="9"]{--job-color:var(--vault)}.daily-job[data-size="11"]{--job-color:var(--office)}.daily-job-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;display:flex}.daily-job h2{margin:0;font-size:24px;font-weight:800}.daily-job-heading>span{background:var(--job-color);border-radius:6px;flex-shrink:0;padding:5px 9px;font-size:13px;font-weight:700}.mini-plan{grid-template-columns:repeat(var(--mini-size), 1fr);grid-template-rows:repeat(var(--mini-size), 1fr);border:2px solid var(--navy);background:var(--job-color);border-radius:6px;width:100%;height:128px;display:grid;position:relative;overflow:hidden}.mini-plan i{background:var(--job-color);border:1px solid #192f4a18}.mini-plan i[data-room="1"]{background:var(--vault)}.mini-plan i[data-room="2"]{background:var(--office)}.mini-plan>svg{filter:drop-shadow(0 3px #192f4a12);width:62px;height:62px;position:absolute;top:19%;left:24%}.mini-plan>span{width:44px;height:44px;position:absolute;bottom:11%;right:15%}.mini-plan>span svg{width:100%;height:100%}.daily-prize{justify-content:space-between;align-items:baseline;gap:8px;margin-top:20px;display:flex}.daily-prize>span{font-size:14px}.daily-prize strong{font-variant-numeric:tabular-nums;font-size:25px;font-weight:800}.daily-job-status{min-height:23px;color:var(--muted);align-items:center;gap:5px;margin:8px 0 18px;font-size:12px;display:flex}.daily-job-status .icon{width:17px;height:17px}.daily-job[data-complete] .daily-job-status{color:var(--route);font-weight:700}.daily-job-actions{grid-column:1/-1;align-items:center;gap:8px;display:flex}.daily-job-actions>.primary-button{justify-content:center;width:100%;min-height:42px;font-size:14px;text-decoration:none;display:flex}.daily-job[data-complete] .daily-job-actions>.primary-button{color:var(--route);background:#edf7f0;border-color:#93c4b0}.daily-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:26px;font-size:13px;display:flex}.daily-footer p{flex:300px;margin:0}.daily-footer .secondary-button{align-items:center;gap:8px;min-height:44px;text-decoration:none;display:inline-flex}.daily-footer a{color:var(--navy);font-weight:700}.daily-job-actions>.result-share{flex-shrink:0}.share-trigger{min-height:38px}.result-dialog[data-daily]{width:min(470px,100% - 32px)}.result-dialog[data-daily] .result-emblem{width:64px;height:64px;margin:0 auto 14px}.result-dialog[data-daily] .result-icon{width:48px;height:48px}.daily-progress{border-block:1px solid var(--line);text-align:left;justify-content:space-between;gap:8px;margin:14px 0;padding:14px 0;list-style:none;display:flex}.daily-progress li{align-items:center;gap:5px;font-size:13px;font-weight:800;display:flex}.daily-progress li[data-complete]{color:var(--route)}.daily-progress small{color:var(--muted);font-size:10px;font-weight:400;display:block}.victory-share-actions{justify-content:center;gap:10px;margin-bottom:16px;display:flex}.share-dialog{border:2px solid var(--line-strong);width:min(640px,100% - 24px);max-height:calc(100dvh - 24px);color:var(--navy);text-align:left;background:#fff;border-radius:16px;padding:22px;box-shadow:0 16px 60px #192f4a26}.share-dialog::backdrop{background:#13233b80}.share-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px;display:flex}.share-dialog h2{margin:0;font-size:22px}.share-card{border:1px solid var(--line);border-radius:6px;width:100%;height:auto;display:block}.share-text{white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;color:var(--navy);background:var(--surface-soft);border:1px solid var(--line);-webkit-user-select:text;user-select:text;border-radius:8px;margin:0 0 18px;padding:16px 12px;font:700 clamp(13px,2vw,17px)/1.6 Nunito Sans,sans-serif}.social-share-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.share-dialog .social-share-link{color:#fff;background:#20212b;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:10px;font-size:15px;font-weight:800;text-decoration:none;display:flex}.social-share-link[data-network=telegram]{background:#147daf}.social-share-link[data-network=whatsapp]{background:#167b45}.social-share-link[data-network=facebook]{background:#0866df}.social-share-link:hover{filter:brightness(1.12)}.social-share-link svg,.social-letter{flex-shrink:0;width:24px;height:24px}.social-letter{text-align:center;font:700 25px/24px Arial,sans-serif}.share-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px;display:flex}.share-actions a{align-items:center;text-decoration:none;display:inline-flex}.share-dialog .share-actions .primary-button{width:auto;min-height:42px;padding-inline:22px;font-size:15px}.share-dialog p{color:var(--muted);margin:12px 0 0;font-size:13px}.share-handoff{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;margin-top:16px;padding:14px}.share-handoff p:first-child{margin-top:0}.share-image-option{text-align:center;margin-top:16px}.share-image-option summary{cursor:pointer;color:var(--muted);padding:8px;font-size:13px}.share-image-option .share-card{margin-block:12px}.share-image-option>a{text-decoration:none;display:inline-flex}.history-storage-note{color:var(--muted);margin:25px 0 0;font-size:11px}.history-heading{justify-content:space-between;align-items:center;gap:20px;margin:12px 0 30px;display:flex}.history-times{margin-bottom:28px}.history-times h2{margin:0 0 12px;font-size:18px}.history-times dl{border-block:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:16px 0;display:grid}.history-times dl>div{padding-inline:16px}.history-times dl>div:first-child{padding-left:0}.history-times dl>div+div{border-left:1px solid var(--line)}.history-times dt{font-size:14px;font-weight:700}.history-times dd{margin:6px 0 0}.history-times strong{font-variant-numeric:tabular-nums;font-size:clamp(20px,3vw,28px);display:block}.history-times small,.history-times p,.timer-explanation{color:var(--muted);font-size:12px}.history-times p{margin:8px 0 0}.history-times small{margin-top:4px;line-height:1.4;display:block}@media (width<=620px){.history-times dt{min-height:2.8em}}.completion-time{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:6px;font-weight:700;display:flex}.completion-time .icon{width:18px;height:18px}.history-heading h1{letter-spacing:-1px;margin:0 0 6px;font-size:40px}.history-heading p{color:var(--muted);margin:0}.history-total{text-align:right;gap:3px;display:grid}.history-total span,.history-total small{color:var(--muted);font-size:13px}.history-total strong{color:var(--route);font-size:34px}.history-empty{border:2px dashed var(--line);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:24px;display:flex}.history-empty>svg{width:66px;height:66px}.history-empty h2{margin-bottom:0;font-size:24px}.history-empty p{color:var(--muted)}.history-empty a{text-decoration:none}.history-archive{border:1px solid var(--line);background:var(--white);border-radius:12px;margin-bottom:28px;padding:20px}.archive-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.archive-heading h2{margin:0 0 4px;font-size:22px}.archive-heading p,.history-archive>p{color:var(--muted);margin:0;font-size:13px}.archive-date{gap:4px;font-size:12px;font-weight:700;display:grid}.archive-date input{border:1px solid var(--line-strong);background:var(--white);min-width:0;min-height:44px;color:var(--navy);font:inherit;border-radius:6px;padding:8px 10px}.archive-jobs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.archive-job{border:1px solid var(--line);background:var(--surface-soft);color:var(--navy);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px;text-decoration:none;display:flex}.archive-job:hover{border-color:var(--cobalt);background:var(--surface-selected)}.archive-job strong{margin-bottom:4px;font-size:16px;display:block}.archive-job>div>span{color:var(--muted);font-size:12px}.archive-action{color:var(--cobalt);align-items:center;gap:5px;font-size:13px;font-weight:800;display:inline-flex}.archive-job[data-complete] .archive-action{color:var(--route)}.archive-action .icon{width:16px;height:16px}.history-filter{justify-content:flex-end;margin-bottom:12px;display:flex}.history-filter button{flex:none;align-items:center;gap:8px;min-height:44px;display:inline-flex}.history-filter .icon{opacity:0;width:16px;height:16px}.history-filter button[aria-pressed=true]{color:var(--cobalt);border-color:var(--cobalt);background:var(--surface-selected)}.history-filter button[aria-pressed=true] .icon{opacity:1}.history-filter-empty{border:1px solid var(--line);background:var(--white);color:var(--muted);border-radius:10px;padding:24px}.history-table-wrap{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden}.history-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.history-table th,.history-table td{border-bottom:1px solid var(--line);padding:17px 16px}.history-table thead{background:var(--surface-soft)}.history-table tbody tr:last-child>*{border:0}.history-table td:last-child{color:var(--route)}.history-table td a{color:var(--route);align-items:center;gap:5px;text-decoration:none;display:inline-flex}.history-table td a:hover{text-decoration:underline}.history-table td a.history-unfinished{color:var(--cobalt)}.history-table .icon{width:16px;height:16px}.not-won{color:var(--muted);font-size:12px}.daily-opening{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100dvh;padding:30px;display:flex}.daily-opening>svg{width:70px;height:70px}.daily-opening h1{margin:10px 0 0;font-size:28px}.daily-opening p{color:var(--muted);margin:0 0 12px}.daily-board-nav{align-items:center;gap:6px;display:flex}.daily-board-nav select{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:7px 5px;font-size:12px}.daily-wallet{align-items:center;gap:4px;display:flex}.daily-wallet .icon{width:18px;height:18px}.daily-victory>strong{color:var(--route);font-size:28px;display:block}.daily-victory p{color:var(--muted);font-size:13px}.daily-victory .daily-streak{margin:0 auto 12px}.daily-victory>.primary-button{width:100%}.loot-value{background:var(--vault);color:#725516;border-color:#e8cc85}.daily-error{border-left:3px solid var(--rust);color:#913b30;background:#fff0ed;padding:12px}@media (width<=850px){.daily-shell{padding-inline:20px}.daily-topbar{grid-template-columns:1fr auto;gap:18px;min-height:78px;padding-top:14px;display:grid}.daily-topbar .language-control{justify-self:end}.daily-topbar nav{gap:18px;font-size:14px}.daily-intro h1 br{display:block}.daily-take{gap:6px}.daily-take>svg{width:45px;height:45px}.daily-take strong{font-size:22px}.daily-jobs{gap:12px}.daily-job{padding:14px}.daily-prize{flex-direction:column;gap:2px;margin-top:12px}.daily-prize strong{font-size:23px}.daily-board-nav>.daily-wallet{display:none}}@media (width<=600px){.daily-shell{padding-inline:16px}.daily-topbar{gap:12px 8px}.daily-topbar .brand-word{font-size:25px}.daily-topbar nav{grid-area:3/1/auto/-1;justify-content:center;gap:32px}.daily-stats{grid-area:2/1/auto/-1;gap:16px;padding-top:4px}.daily-stats>*{justify-content:center}.daily-stats strong{font-size:18px}.daily-main{padding-top:22px}.daily-intro{margin-bottom:22px;display:block}.daily-intro h1{letter-spacing:-1px;font-size:34px}.daily-intro h1 br{display:none}.daily-intro>div>p:last-child{font-size:14px}.daily-date{gap:4px 12px;font-size:11px}.daily-take{border:1px solid var(--line);background:var(--surface-selected);border-radius:8px;gap:12px;margin-top:20px;padding:12px}.daily-take>svg{width:44px;height:44px}.daily-take>div{grid-template-columns:1fr auto;gap:2px 12px;width:100%;display:grid}.daily-take strong{grid-area:1/2/3;align-self:center;font-size:20px}.daily-take p{font-size:11px}.daily-take small{text-align:right;font-size:11px;display:block}.daily-jobs{grid-template-columns:1fr;gap:16px}.daily-job{grid-template-columns:82px 1fr;gap:4px 16px;padding:16px;display:grid}.daily-job-heading{grid-column:2;margin:0}.daily-job h2{font-size:22px}.mini-plan{grid-area:1/1/4;align-self:center;height:105px}.mini-plan>svg{width:44px;height:44px;top:7%;left:12%}.mini-plan>span{width:32px;height:32px;bottom:9%;right:4%}.daily-prize{flex-direction:row;align-items:center;margin:2px 0}.daily-prize>span{font-size:12px}.daily-prize strong{font-size:22px}.daily-job-status{margin:0;font-size:11px}.daily-job-actions{margin-top:10px}.daily-job-actions>.primary-button{min-height:43px}.daily-footer{flex-direction:column;align-items:flex-start;gap:10px}.daily-footer p{flex:auto}.history-archive{padding:16px}.archive-heading{flex-direction:column;align-items:stretch}.archive-jobs{grid-template-columns:1fr;gap:8px}.archive-date input{font-size:16px}.history-heading{align-items:flex-start;gap:10px;margin-top:0}.history-heading h1{font-size:30px}.history-heading p{max-width:180px;font-size:13px}.history-total strong{font-size:24px}.history-total small,.history-total span{font-size:11px}.history-table th,.history-table td{padding:12px 5px;font-size:11px}.history-table th:first-child{max-width:78px}.history-table td a{flex-direction:column;gap:1px}.not-won{font-size:10px}.daily-board-nav{justify-content:space-between;width:100%}}.play-options-update{width:min(620px,100% - 24px);padding:24px;font-size:14px;line-height:1.45;overflow:auto}.play-options-update>p{margin:12px 0 20px}.play-update-options{grid-template-columns:1fr 1fr;gap:24px;display:grid}.play-update-options>section{border-top:1px solid var(--line);min-width:0;padding-top:14px}.play-update-options h3{margin:0 0 12px;font-size:16px;line-height:1.3}.play-update-options p{color:var(--muted);margin:12px 0 0}.annotation-demo-row{border:2px solid var(--navy);background:var(--white);border-radius:5px;grid-template-columns:repeat(3,1fr);gap:2px;width:100%;min-width:0;padding:2px;display:grid}.annotation-demo-cell{aspect-ratio:1;background:var(--gallery);place-items:center;min-width:0;display:grid}.annotation-demo-cell>svg{width:88%;height:88%}.annotation-demo-note{border:1px dashed var(--rust);color:var(--rust);background:#fff1ee;border-radius:3px;padding:1px 3px;font-size:10px;font-weight:800}.annotation-stroke-demo{max-width:164px;margin-inline:auto;padding-bottom:18px;position:relative}.annotation-stroke-arrow{border-top:2px solid var(--cobalt);height:10px;color:var(--cobalt);position:absolute;bottom:1px;left:14%;right:14%}.annotation-stroke-arrow>svg{width:20px;height:20px;position:absolute;top:-11px;right:-8px}.annotation-cleanup-demo{align-items:center;gap:8px;min-height:78px;display:flex}.annotation-cleanup-demo>svg{width:20px;height:20px;color:var(--muted);flex:0 0 20px}.play-options-update .play-update-security{background:var(--surface-soft);color:var(--navy);border-radius:8px;align-items:flex-start;gap:8px;margin:20px 0 12px;padding:12px;display:flex}.play-update-security>svg{flex:0 0 20px;width:20px;height:20px}.play-options-update .play-update-where{margin:12px 0 16px;font-size:12px}.play-options-update>.primary-button{width:100%}@media (width<=540px){.play-options-update{padding:16px}.play-update-options{grid-template-columns:1fr;gap:16px}.annotation-cleanup-demo{max-width:270px;min-height:0;margin-inline:auto}.annotation-stroke-demo{max-width:140px}}@media (height<=760px) and (width<=540px){.play-options-update{font-size:13px}.play-options-update>p,.play-options-update .play-update-security{margin-block:12px}.play-update-options h3{margin-bottom:8px;font-size:15px}}
