.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}.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 8px;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-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-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-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{padding:0 16px 10px}.help-chapters button{min-width:32px;min-height:32px;padding:4px}.help-chapter-name{display:none}.help-content{grid-template-columns:1fr;gap:16px;min-height:0;padding:18px 22px}.help-visual{min-height:0}.help-demo-board{width:205px}.help-figure figcaption{margin-top:8px;font-size:12px}.help-copy h3{margin-bottom:12px;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}}: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}.mode-control{border:1px solid var(--line);background:var(--surface-selected);border-radius:8px;width:100%;padding:3px;display:flex}.mode-control button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:6px;padding:5px 6px;font-size:12px;font-weight:700;display:inline-flex}.mode-control button[aria-pressed=true]{background:var(--white);color:var(--cobalt);box-shadow:0 1px 3px #192f4a12}.board-tool-actions{align-items:center;gap:1px;display:flex}.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.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}.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}.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:80%;height:80%}.cell.circuit-disabled .fixture-icon{opacity:.44}.fixture-circuit-mark{z-index:2;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;min-height:12px;padding:1px 3px;font-size:clamp(6px,.58vw,8px);font-weight:800;line-height:1;transition:border-color .18s,color .18s,opacity .18s;display:inline-flex;position:absolute}.fixture-circuit-badge{top:2px;left:2px}.fixture-circuit-state{bottom:2px;right:2px}.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;min-width:18px;padding:1px 3px;font-size:9px;font-weight:700;position:absolute;top:-5px;left:-5px}.token-arrow{border:2px solid var(--white);width:22px;height:22px;color:var(--white);background:#34516e;border-radius:50%;place-items:center;font-size:13px;line-height:1;display:grid;position:absolute;bottom:-4px;right:-6px}.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:30px;height:30px;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}.heist-controls .mode-control .icon{display:none}}@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%}.fixture-icon.laser,.fixture-icon.sensor,.fixture-icon.switch{width:55%;height:55%}}@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}.mode-control{justify-content:space-around;width:100%}.mode-control button{min-height:38px}.fixture-caption{font-size:7px;bottom:2%}.token{border-width:1px;inset:10%}.token-code{min-width:11px;padding:0 2px;font-size:7px;top:-2px;left:-2px}.token-arrow{border-width:1px;width:15px;height:15px;font-size:10px;bottom:-2px;right:-3px}.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 .secondary-button .icon{display:none}.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}.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>=1101px){.game-layout[data-many-pieces=true] .mode-control button{gap:3px;padding-inline: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] .mode-control button{min-height:32px;padding-block:4px}.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 .mode-control button{min-height:32px}.heist-controls :is(.vision-toggle,.board-tool-actions .reset-button){min-height:28px}.heist-controls .board-tool-actions .icon-button{height:28px}}.daily-shell{width:min(1120px,100%);margin:auto;padding:0 28px}.daily-topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:30px;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)}.wallet-link{align-items:center;gap:8px;display:flex}.wallet-link small,.wallet-link strong{display:block}.wallet-link small{color:var(--muted);font-size:11px}.wallet-link 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{justify-content:space-between;align-items:center;gap:20px;margin-top:26px;font-size:13px;display:flex}.daily-footer p{margin:0}.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-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-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 .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>.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{gap:18px;min-height:78px}.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{flex-wrap:wrap;gap:0 16px;padding-top:14px}.daily-topbar .brand-word{font-size:25px}.daily-topbar nav{order:3;justify-content:center;gap:32px;width:100%;margin-top:8px}.wallet-link{margin-left:auto}.wallet-link 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}.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%}}
