:root{--bg-primary: #0d1117;--bg-secondary: #161b22;--bg-card: #21262d;--border-color: #30363d;--accent-cyan: #38bdf8;--accent-amber: #f59e0b;--accent-red: #ef4444;--accent-emerald: #10b981;--accent-purple: #a855f7;--text-main: #f0f6fc;--text-muted: #8b949e;--font-main: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "JetBrains Mono", monospace}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-main);background-color:var(--bg-primary);color:var(--text-main);min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-x:hidden;background-image:radial-gradient(circle at 15% 50%,rgba(56,189,248,.05) 0%,transparent 40%),radial-gradient(circle at 85% 30%,rgba(245,158,11,.05) 0%,transparent 40%)}#app{width:100%;max-width:1020px;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.corp-header{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:.75rem 1.25rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 20px #00000059}.corp-logo{display:flex;align-items:center;gap:.85rem}.corp-icon{font-size:2rem;background:#38bdf81a;padding:.35rem .5rem;border-radius:8px;border:1px solid rgba(56,189,248,.2)}.corp-title-group h1{font-size:1.15rem;font-weight:800;letter-spacing:.05em;display:flex;align-items:center;gap:.5rem}.badge{font-size:.65rem;background:var(--accent-cyan);color:#0f172a;font-weight:700;padding:.15rem .45rem;border-radius:4px;text-transform:uppercase}.subtitle{font-size:.75rem;color:var(--text-muted)}.header-actions{display:flex;align-items:center;gap:.85rem}.btn-level-select{background:linear-gradient(135deg,#38bdf826,#a855f726);color:var(--accent-cyan);border:1px solid rgba(56,189,248,.4);font-family:var(--font-main);font-weight:700;font-size:.8rem;padding:.5rem .85rem;border-radius:8px;cursor:pointer;transition:all .2s ease}.btn-level-select:hover{background:var(--accent-cyan);color:#0f172a;transform:translateY(-1px);box-shadow:0 4px 12px #38bdf84d}.user-profile{display:flex;align-items:center;gap:.65rem;background:var(--bg-card);padding:.35rem .75rem;border-radius:8px;border:1px solid var(--border-color)}.avatar{font-size:1.3rem}.profile-info{display:flex;flex-direction:column}.user-role{font-size:.75rem;font-weight:700;color:var(--accent-amber)}.user-dept{font-size:.65rem;color:var(--text-muted)}.game-container{display:flex;flex-direction:column;gap:.75rem}.canvas-wrapper{position:relative;width:100%;aspect-ratio:16 / 9;background:#000;border-radius:12px;border:2px solid var(--border-color);overflow:hidden;box-shadow:0 8px 32px #00000080}#game-canvas{width:100%;height:100%;display:block;image-rendering:pixelated;image-rendering:crisp-edges}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0d1117eb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;transition:opacity .3s ease;z-index:20}.overlay.hidden{opacity:0;pointer-events:none}.overlay-modal{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:16px;padding:2rem;text-align:center;max-width:440px;box-shadow:0 10px 40px #0009;animation:popIn .3s cubic-bezier(.175,.885,.32,1.275)}@keyframes popIn{0%{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}.overlay-modal h2{font-size:1.4rem;font-weight:800;margin-bottom:.5rem;color:var(--accent-red)}.overlay-modal.victory h2{color:var(--accent-emerald)}.overlay-modal p{color:var(--text-muted);font-size:.9rem;margin-bottom:1.5rem;line-height:1.4}.level-select-modal{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:16px;padding:1.5rem;max-width:820px;width:92%;max-height:90vh;overflow-y:auto;box-shadow:0 16px 48px #000c;display:flex;flex-direction:column;gap:1rem;animation:popIn .25s ease-out}.level-select-header h2{font-size:1.25rem;color:var(--accent-cyan);margin-bottom:.25rem}.level-select-header p{font-size:.8rem;color:var(--text-muted)}.level-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem}.level-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:10px;padding:.85rem;display:flex;flex-direction:column;gap:.4rem;cursor:pointer;transition:all .2s ease;text-align:left}.level-card:hover{transform:translateY(-3px);border-color:var(--accent-cyan);box-shadow:0 6px 16px #38bdf840;background:#28303a}.level-card-top{display:flex;justify-content:space-between;align-items:center}.level-card-num{font-size:.75rem;font-weight:800;color:var(--text-muted);font-family:var(--font-mono)}.level-card-badge{font-size:.65rem;font-weight:800;padding:.15rem .4rem;border-radius:4px}.level-card-title{font-size:.85rem;font-weight:700;color:var(--text-main)}.level-card-desc{font-size:.7rem;color:var(--text-muted);line-height:1.3}.btn-corp{background:linear-gradient(135deg,var(--accent-cyan),#0284c7);color:#0f172a;border:none;font-family:var(--font-main);font-weight:700;font-size:.85rem;padding:.65rem 1.25rem;border-radius:8px;cursor:pointer;transition:transform .15s ease,filter .15s ease}.btn-corp:hover{transform:translateY(-2px);filter:brightness(1.1)}.btn-corp-secondary{background:var(--bg-card);color:var(--text-main);border:1px solid var(--border-color);font-family:var(--font-main);font-weight:700;font-size:.8rem;padding:.5rem 1rem;border-radius:8px;cursor:pointer;transition:background .15s ease}.btn-corp-secondary:hover{background:#30363d;color:var(--accent-cyan)}.game-footer{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:.75rem 1.25rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;font-size:.8rem}.controls-guide{display:flex;flex-wrap:wrap;gap:.6rem}.ctrl-tag{color:var(--text-muted);display:flex;align-items:center;gap:.35rem}kbd{background:var(--bg-card);border:1px solid var(--border-color);border-bottom:2px solid #484f58;color:var(--accent-cyan);font-family:var(--font-mono);font-size:.7rem;padding:.12rem .35rem;border-radius:4px}.status-summary{display:flex;gap:1rem}.status-item{color:var(--text-muted)}.hidden{display:none!important}.character-select,.management-panel{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:16px;padding:2rem}.mode-eyebrow{color:var(--accent-amber);font:700 .7rem var(--font-mono);letter-spacing:.12em;margin-bottom:1rem}.character-select h2,.management-panel h2{font-size:2rem;margin-bottom:.5rem}.character-select>p,.management-panel>p{line-height:1.6;color:#aebdce}.character-grid,.worker-grid,.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.character-card{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;text-align:left;font:inherit;color:var(--text-main);background:var(--bg-card);border:1px solid #465465;border-radius:12px;cursor:pointer}.character-card:hover,.character-card:focus-visible{border-color:var(--accent-amber);background:#2b3038;transform:translateY(-3px)}.character-icon{font-size:2.8rem}.character-card strong{font-size:1.3rem}.character-card>span:not(.character-icon){color:var(--accent-cyan);font-size:.65rem;letter-spacing:.08em}.character-card p{line-height:1.6;font-size:.9rem;color:#b5c2d1;flex:1}.character-card b{color:var(--accent-amber);font-size:.8rem}.management-stats,.management-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.5rem}.management-stats{justify-content:space-between;color:var(--accent-amber)}.worker-card{display:flex;flex-direction:column;gap:.75rem;padding:1rem;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-card)}.worker-card meter,.worker-card progress{width:100%;height:1rem}.worker-card span{color:#b5c2d1;font-size:.8rem}.decision-message{margin-top:1.5rem;padding:1rem;border-left:3px solid var(--accent-cyan);background:#111c29}button:disabled{opacity:.4;cursor:default}#worker-objective{padding:.8rem;background:var(--bg-card);border-radius:8px;line-height:1.5;color:var(--accent-amber)}@media (max-width: 720px){.character-grid,.worker-grid,.project-grid{grid-template-columns:1fr}.corp-header{flex-wrap:wrap;gap:1rem}.header-actions{flex-wrap:wrap}.character-select,.management-panel{padding:1rem}}#app{max-width:1180px}.character-select{padding:2.5rem;background:radial-gradient(ellipse at 90% 0%,#273629,#161b22 65%)}.character-select h2{font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.04em}.character-card{min-height:340px;background:linear-gradient(150deg,#26313a,#171d26);transition:transform .15s,border-color .15s}.character-card:nth-child(2){background:linear-gradient(150deg,#373020,#1d1c19)}.character-card:nth-child(3){background:linear-gradient(150deg,#332745,#1c1926)}.character-card:hover{transform:translateY(-5px)}.character-card strong{font-size:1.5rem}.character-icon{font-size:3.6rem}.campaign-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.campaign-emblem{font-size:3.5rem;white-space:nowrap}.management-panel h2{font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.03em}.management-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#10161e;border:1px solid #303e4d;border-radius:10px;padding:1rem}.management-stats>div{display:flex;flex-direction:column;gap:.4rem}.management-stats small{color:#91a3b8;font:.6rem var(--font-mono)}.management-stats strong{font-size:1.1rem}.quota-bar{width:100%;height:8px;display:block;accent-color:#fbbf24;margin-top:10px}.heat-bar{accent-color:#f97316}.incident-banner{display:flex;gap:1rem;background:#302719;border:1px solid #6a542f;border-radius:10px;padding:1rem;margin-top:1.25rem}.incident-banner>span{color:#fbbf24;font-size:1.5rem}.incident-banner strong{color:#fde19d}.incident-banner p{color:#d1c5ae;font-size:.85rem;margin:.35rem 0;line-height:1.5}.incident-banner small{color:#aca187}.worker-name{display:flex;gap:.5rem;align-items:center}.worker-name>span{font-size:1.8rem}.worker-name b{margin-left:auto;color:#6ee7b7;font:.85rem var(--font-mono)}.worker-card>small{color:#a5b4c5;font-size:.7rem}.worker-card meter{accent-color:#6ee7b7}.assignment-buttons{display:flex;gap:4px}.assignment-buttons button{flex:1;padding:.55rem .2rem;background:#111922;color:#c4d1df;font:600 .7rem var(--font-main);border:1px solid #3b485a;border-radius:6px;cursor:pointer}.assignment-buttons button.selected{color:#111827;background:#fbbf24;border-color:#fbbf24}.forecast{font-size:.75rem;color:#9dd8c1}.fatal{color:#fda4af;font-weight:700}.danger-card{border-color:#f87171}.project-card{display:flex;flex-direction:column;gap:.65rem;background:#1c222d;color:#e4edf8;border:1px solid #3f4b5d;border-radius:10px;padding:1rem;text-align:left;font:inherit;cursor:pointer}.project-card.selected{border-color:#c4a4ff;box-shadow:inset 0 0 0 1px #c4a4ff;background:#292338}.project-card.completed{opacity:1;border-color:#38876c;background:#1b302b}.project-icon{font-size:1.8rem}.project-card progress{width:100%;accent-color:#bba2fa}.project-card small,.project-card p{font-size:.75rem;line-height:1.5;color:#b7c2d4}.project-card b{color:#d0baff}.directive-card{display:flex;flex:1;min-width:180px;flex-direction:column;gap:.5rem;padding:1rem;background:#28223a;border:1px solid #635379;color:#f4eaff;border-radius:10px;font:inherit;text-align:left;cursor:pointer}.directive-card:hover:not(:disabled){background:#3d3055;border-color:#c4a4ff}.directive-card span{font-size:.8rem;color:#e7cef7}.directive-card small{font-size:.75rem;color:#b9a6c9}.reward-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1rem}.reward-card{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;border:1px solid #68724d;border-radius:10px;background:#252d22;color:#ecf5db;font:inherit;text-align:left;cursor:pointer}.reward-card:hover{border-color:#d9f99d;background:#35422d}.reward-card span{color:#b8c7ac;font-size:.8rem;line-height:1.5}.result-win{border-color:#6ee7b7;background:#16362e}.result-loss{border-color:#fb7185;background:#381e2a}.game-help{margin-top:1.5rem;font-size:.8rem;color:#a8b6c9;line-height:1.6}.game-help summary{cursor:pointer;color:#c6d4e5}.game-help p{margin-top:.5rem}.shift-log{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #303b49;color:#8e9fb4;font-size:.75rem;line-height:1.8}.shift-log>small{font-family:var(--font-mono);letter-spacing:.1em}.briefing-content{width:95%;max-height:100%;overflow:auto;padding:1.5rem}.briefing-content h2{font-size:1.5rem;margin-bottom:.75rem}.briefing-content>p{color:#b7c6d8;font-size:.85rem;line-height:1.5;margin-top:.6rem}.briefing-controls{text-align:center}button:focus-visible,summary:focus-visible{outline:3px solid #7dd3fc;outline-offset:3px}@media (max-width: 760px){.management-stats{grid-template-columns:1fr 1fr}.reward-grid{grid-template-columns:1fr}.character-select{padding:1.25rem}.character-card{min-height:auto}.campaign-emblem{font-size:2rem}.canvas-wrapper:has(#shift-briefing:not(.hidden)){min-height:640px}.briefing-content{padding:1rem}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}#game-canvas{image-rendering:auto}.worker-portrait{width:100%;height:180px;object-fit:contain;object-position:center;filter:drop-shadow(0 8px 12px #0005)}.character-card:has(.worker-portrait){background:radial-gradient(ellipse at 50% 20%,#60734d,#263c32 55%,#1d2825);border-color:#87946a}.character-card:has(.worker-portrait) .worker-portrait{margin-top:-.75rem;margin-bottom:-.5rem}.briefing-duck{float:right;width:108px;height:135px;object-fit:contain;margin:-10px 10px 5px 20px;filter:drop-shadow(0 5px 10px #0005)}#shift-briefing{background:#1a261ff0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}#shift-briefing .reward-card{background:#344435;border-color:#879167}#shift-briefing .reward-card:hover{background:#4b5d40;border-color:#e2cf8a}#worker-objective{border:1px solid #687352;background:#26362b;color:#efdfa5;font-size:.85rem}.level-card{font:inherit;color:var(--text-main)}.level-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.canvas-wrapper{border-color:#687553}.level-select-modal{max-height:calc(100% - 20px)}.detective-shell,.boss-puzzle-shell{padding:1.8rem;background:#19261f;border:1px solid #677456;border-radius:16px}.boss-puzzle-shell{background:#211e2c;border-color:#66597c}.detective-shell h2,.boss-puzzle-shell h2{font-size:clamp(1.5rem,3.2vw,2.3rem);letter-spacing:-.035em}.detective-shell .campaign-heading p,.boss-puzzle-shell .campaign-heading p{color:#b5c3af;line-height:1.6}.investigation-stats{display:grid;grid-template-columns:1.4fr 1.2fr 1fr 1fr;gap:1rem;padding:1rem;margin:1.3rem 0;background:#111b17;border:1px solid #435443;border-radius:10px}.investigation-stats>div{display:flex;flex-direction:column;gap:.4rem}.investigation-stats small{font:.6rem var(--font-mono);color:#a6b3a0}.investigation-stats strong{color:#f5d799;font-size:1.1rem}.value-change{color:#a9d8a0;font-size:.7rem}.value-change.negative{color:#e9ac93}.investigation-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:1.2rem;align-items:start}.case-brief{padding:1rem;background:#2c3727;border-left:3px solid #c5b87d;line-height:1.6;color:#d2d8c2;font-size:.85rem}.case-brief small{color:#e1cc98;font-family:var(--font-mono);font-size:.65rem}.case-brief p+p{margin-top:.5rem;color:#aab9a0}.estate-map{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-top:1rem;padding:1rem;background:radial-gradient(ellipse,#66704b88,#223323);border:1px solid #74805c;border-radius:12px}.map-room{min-height:105px;display:flex;flex-direction:column;gap:.4rem;padding:.9rem;background:#344430;color:#e2e8c7;border:2px solid #647357;border-radius:8px;font:inherit;cursor:pointer;text-align:left}.map-room>span{font-size:1.6rem}.map-room small{font-size:.7rem;color:#b8c5a7}.map-room b{color:#ffe9a9;font-size:.75rem}.map-room.selected{background:#4b5938;border-color:#ead28b;box-shadow:0 0 20px #dfca641c}.room-scene{margin-top:1rem;padding:1rem;border:1px solid #647250;border-radius:12px;background:linear-gradient(145deg,#534a32,#253a30)}.room-scene h3{font-size:.95rem;color:#d9dbba;line-height:1.5}.room-scene .mode-eyebrow{margin-bottom:.5rem}.scene-props{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-top:1rem}.prop-card{display:flex;flex-direction:column;gap:.6rem;padding:1rem;border:1px solid #a89b6a;border-radius:9px;background:#292e22;color:#ead8a7;font:inherit;cursor:pointer;text-align:left}.prop-card>span{font-size:2rem}.prop-card small{font-size:.7rem;color:#bcc5a7}.prop-card.examined{border-color:#739971;background:#273f2d}.npc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin-top:1rem}.npc-card{padding:.8rem;border:1px solid #59674e;border-radius:9px;background:#243323}.npc-card>div{display:flex;flex-direction:column;gap:.3rem}.npc-card>div>span{font-size:1.7rem}.npc-card small{font-size:.7rem;color:#aebc9d}.npc-card button{display:block;width:100%;font:600 .7rem var(--font-main);line-height:1.5;background:#3d5335;color:#e2e8c6;border:1px solid #738563;border-radius:6px;padding:.55rem;margin-top:.7rem;cursor:pointer}.npc-card .pressure-choice{background:#44372a;color:#dfb495;border-color:#6a5840}.case-notebook{padding:1.2rem;background:#d0bf92;color:#333b2c;border:1px solid #f1dda7;border-radius:10px;box-shadow:inset 5px 0 #9b8968}.case-notebook .mode-eyebrow{color:#63583b}.case-notebook h3{font-size:1.1rem}.evidence-checklist{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0;font-size:.75rem;color:#75684e}.evidence-checklist .found{color:#2e5d37;font-weight:800}.evidence-note{padding:.8rem;margin-bottom:.6rem;background:#e3d4ac;border-left:3px solid #73694b;border-radius:3px}.evidence-note strong{font-size:.8rem}.evidence-note p,.empty-notes{font-size:.8rem;line-height:1.65;margin-top:.5rem}.case-notebook button{width:100%;margin-top:1rem}.report-form{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;padding:1.2rem;margin-top:1rem;background:#101e18;border:1px solid #6a7657;border-radius:10px}.report-form>div{grid-column:1/-1}.report-form small{color:#b7c0a9;font-size:.75rem}.report-form label{display:flex;flex-direction:column;gap:.5rem;font-size:.75rem;color:#d7dcbe}.report-form select{width:100%;padding:.7rem;background:#2a3d2c;border:1px solid #81936d;color:#f2ebcf;border-radius:6px;font:inherit}.report-form>.btn-corp{grid-column:1/-1}.talent-choice{margin-top:1rem;display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.talent-choice h3{grid-column:1/-1;font-size:1rem}.value-chart{margin-top:1.5rem;padding:.8rem;border-top:1px solid #4c5d4b}.value-chart svg{width:100%;height:85px;display:block}.value-chart small{color:#98ad99;font:.6rem var(--font-mono);letter-spacing:.08em}.project-tabs{display:flex;gap:.7rem;margin-bottom:1.2rem}.project-tabs span{flex:1;padding:.8rem;background:#292536;border:1px solid #574c68;color:#a79db8;border-radius:8px;font-size:.85rem}.project-tabs .active{color:#f1e2ff;background:#463651;border-color:#b7a0d1}.project-tabs .done{color:#aad5a6;border-color:#688360}.puzzle-workspace{display:grid;grid-template-columns:1fr 1.2fr;gap:1.5rem;padding:1.3rem;background:#181923;border:1px solid #5a5269;border-radius:12px}.puzzle-instructions h3{font-size:1.3rem;color:#e6d5f4;margin-bottom:1rem}.puzzle-instructions p{font-size:.85rem;line-height:1.75;color:#bfb5cd;margin-bottom:.75rem}.puzzle-legend{display:flex;gap:1rem;color:#d5c1e1;font-size:.75rem;margin-top:1rem}.circuit-layout{display:grid;grid-template-columns:72px minmax(160px,1fr) 65px;gap:.5rem;align-items:stretch}.pipe-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.pipe-tile{position:relative;aspect-ratio:1;background:#2b2d38;border:1px solid #646778;border-radius:8px;cursor:pointer;overflow:hidden;min-width:0}.pipe-center{position:absolute;width:20%;height:20%;left:40%;top:40%;background:#7b8992;z-index:2;border-radius:50%}.pipe-port{position:absolute;background:#7b8992;box-shadow:inset 0 0 0 2px #acb5b744}.pipe-port.N{left:40%;top:0;width:20%;height:50%}.pipe-port.S{left:40%;bottom:0;width:20%;height:50%}.pipe-port.E{right:0;top:40%;height:20%;width:50%}.pipe-port.W{left:0;top:40%;height:20%;width:50%}.pipe-tile.powered{border-color:#f3d877;background:#4a4129}.pipe-tile.powered .pipe-center,.pipe-tile.powered .pipe-port{background:#e6c862;box-shadow:0 0 8px #e7c86155}.circuit-labels{display:grid;grid-template-rows:repeat(4,1fr);align-items:center;color:#e7cb7f;font-size:.6rem}.circuit-labels.left{text-align:right}.allocation-board{display:flex;flex-direction:column;gap:.7rem}.allocation-board article{display:grid;grid-template-columns:1fr 1.5fr 100px;gap:.6rem;align-items:center;background:#302b3c;border:1px solid #63546f;padding:1rem;border-radius:8px}.allocation-board article small{color:#c2b6cd;font-size:.7rem}.allocation-board article>div{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.allocation-board button,.logistics-list button{background:#594263;border:1px solid #a087ab;border-radius:5px;padding:.35rem .65rem;color:#f1def6;font:inherit;cursor:pointer}.resource-checks{display:flex;flex-wrap:wrap;gap:.65rem;color:#b8dca9;font-size:.75rem}.resource-checks .over{color:#f5a692}.logistics-list{list-style:none;display:flex;flex-direction:column;gap:.65rem}.logistics-list li{display:flex;align-items:center;gap:.7rem;padding:.8rem;background:#302b3c;border:1px solid #685573;border-radius:8px}.logistics-list strong{flex:1;font-size:.85rem}.order-number{color:#ccb3da;font-family:var(--font-mono)}.policy-board{padding:1.2rem;border:1px solid #71657f;border-radius:10px;background:#302735}.policy-board .reward-card{background:#413248;border-color:#84688d}.policy-board .reward-card span{color:#c7b4ce}.boss-puzzle-shell .management-actions>small{flex:1;min-width:180px;font-size:.75rem;line-height:1.6;color:#c4b6cc}@media (max-width:850px){.investigation-layout,.puzzle-workspace{grid-template-columns:1fr}.investigation-stats{grid-template-columns:1fr 1fr}.case-notebook{max-height:420px;overflow:auto}.detective-shell,.boss-puzzle-shell{padding:1rem}.report-form{grid-template-columns:1fr}.report-form>div,.report-form>.btn-corp{grid-column:auto}}@media (max-width:520px){.npc-grid{grid-template-columns:1fr}.npc-card>div{flex-direction:row;align-items:center}.scene-props,.talent-choice{grid-template-columns:1fr}.talent-choice h3{grid-column:auto}.allocation-board article{grid-template-columns:1fr 100px}.allocation-board article small{grid-column:1/-1}.circuit-layout{grid-template-columns:55px 1fr 48px}.project-tabs span{font-size:.7rem;padding:.6rem}}.estate-map{background:linear-gradient(#263e2be8,#33462adb),url(/art/estanque-panoramico.png) center/cover}.interview-heading{margin-top:1rem;color:#c6d0b6;font-size:.85rem}.corp-icon{width:54px;height:54px;object-fit:contain}.avatar img{width:100%;height:100%;object-fit:contain}.campaign-emblem img{width:100px;height:112px;object-fit:contain}.npc-portrait{width:72px;height:84px;object-fit:contain}.map-duck{width:26px;height:30px;vertical-align:middle;object-fit:contain}.avatar{width:38px;height:42px;flex:0 0 38px}.corp-icon{flex:0 0 54px}.illustrated-scene{position:relative;min-height:290px;overflow:hidden;border-radius:16px;border:2px solid #8f9f71;background:linear-gradient(#202f2966,#1b201caa),url(/art/fabrica-del-estanque.png) center/cover;display:block;isolation:isolate}.illustrated-scene.room-2{background-image:linear-gradient(#162d3544,#122e24aa),url(/art/estanque-panoramico.png)}.illustrated-scene.room-0:before{content:"";position:absolute;left:9%;bottom:36px;width:40%;height:75px;border:9px solid #74553c;border-top:23px solid #969f80;box-shadow:140px -88px 0 -9px #7b6447;transform:skewY(-3deg);opacity:.9}.illustrated-scene.room-3:before{content:"";position:absolute;top:25px;right:30px;bottom:25px;left:30px;background:repeating-linear-gradient(0deg,#604733 0,#604733 12px,#3d302344 12px,#3d302344 54px);border:9px solid #5d4835;opacity:.8}.scene-hotspot{position:absolute;z-index:1;width:165px;min-height:120px!important;background:#233c2cd9!important;border:2px solid #e8cd86!important;box-shadow:0 0 0 6px #f7d87a18;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:clue-glow 2.5s ease-in-out infinite}.scene-hotspot:first-child{left:9%;bottom:20px;transform:rotate(-3deg)}.scene-hotspot:nth-child(2){right:7%;top:25px;transform:rotate(3deg)}.scene-hotspot:hover{transform:translateY(-5px) scale(1.04)}.scene-hotspot.examined{animation:none;opacity:.75;border-color:#7eb38a!important}@keyframes clue-glow{50%{box-shadow:0 0 0 10px #f7d87a08,0 0 25px #f7d87a33}}.operation-offer,.tail-operation,.contract-draft{padding:1.4rem;border:1px solid #738f77;border-radius:16px;margin:1rem 0;background:linear-gradient(120deg,#273e36,#172923)}.operation-offer{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.operation-offer>div{flex:1 1 320px}.operation-offer>small{width:100%;color:#bdcdbb}.tail-operation{background:linear-gradient(135deg,#122331e8,#233b2ce8),url(/art/estanque-panoramico.png) center/cover}.tail-heading{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.tail-heading strong{color:#f3c87a}.tail-track{display:flex;justify-content:space-around;align-items:center;gap:6px;padding:25px 0;border-bottom:3px dashed #92a58b}.tail-track>span{width:48px;height:65px;display:grid;place-items:center;border-radius:50%;background:#0e171f;color:#82938c}.tail-track>span.tracked{color:#ffdfa0;background:#445e43}.tail-track img{width:52px;height:76px;object-fit:contain;animation:tail-step .8s ease-in-out infinite alternate}@keyframes tail-step{to{transform:translateY(-5px) rotate(3deg)}}.tail-choices,.contract-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:1rem 0}.tail-choices button,.contract-cards button{padding:1rem;background:#243b37;color:#fff0c5;border:1px solid #8aa077;border-radius:12px;cursor:pointer;transition:transform .18s,background .18s}.tail-choices button:hover,.contract-cards button:hover{transform:translateY(-4px);background:#365748}.tail-choices small,.contract-cards small{display:block;font-size:.8rem;margin-top:.5rem;color:#c3d2c2}.contract-draft{border-color:#8278a5;background:linear-gradient(135deg,#342842,#192c34)}.contract-cards button{background:#302a3f;border-color:#8b7b9b;text-align:left}.contract-cards button>span{font-size:2rem}.contract-cards h4{font-size:1.2rem;margin:.5rem 0}.contract-cards p{min-height:60px}.contract-cards strong{color:#ffdc96}.active-contract{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;padding:1rem;background:#f6cc7315;border:1px solid #b5a066;border-radius:12px;margin-bottom:1rem}.active-contract small{width:100%;color:#d6caac}.recipe-options{display:flex!important;gap:8px!important;flex-wrap:wrap}.recipe-options button{flex:1;min-width:120px;padding:.7rem!important;border:1px solid #64736c!important;border-radius:8px;background:#1c302e;color:#d9e1d0}.recipe-options button[aria-pressed=true]{background:#465439;border-color:#ffe09a!important;box-shadow:inset 0 0 0 1px #ffe09a}.recipe-options small{display:block;line-height:1.5}.factory-belt{display:flex;justify-content:space-around;padding:15px;border-bottom:9px dashed #6b7767;background:#17251e;border-radius:12px;overflow:hidden}.factory-belt span{font-size:2rem;animation:conveyor-bob 1.2s ease-in-out infinite;animation-delay:var(--delay)}.factory-belt b{font-size:.9rem;margin-left:8px;color:#ffdf9b}@keyframes conveyor-bob{50%{transform:translate(10px) translateY(-3px)}}.shipment{background:#2b3e35!important;border:1px solid #62785c!important;color:#f0e6c8!important;flex:1!important;padding:.8rem!important;text-align:left}.shipment-selected{outline:3px solid #f7d77f;transform:translate(5px)}.pipe-tile.powered .pipe-port{background-image:repeating-linear-gradient(90deg,transparent 0 8px,#fff7bd99 8px 13px);background-size:28px 28px;animation:energy-flow 1s linear infinite}@keyframes energy-flow{to{background-position:28px 0}}button:disabled{cursor:not-allowed}@media (max-width:600px){.tail-choices,.contract-cards{grid-template-columns:1fr}.contract-cards p{min-height:0}.scene-hotspot{width:130px;font-size:.8rem}.scene-hotspot:first-child{left:4%}.scene-hotspot:nth-child(2){right:4%}.tail-track>span{width:36px}}@media (prefers-reduced-motion:reduce){.scene-hotspot,.tail-track img,.factory-belt span,.pipe-tile.powered .pipe-port{animation:none}}.avatar canvas{width:38px;height:42px;display:block}.deduction-board{margin:1.2rem 0;padding:1.4rem;border:1px solid #b09067;border-radius:16px;background:radial-gradient(ellipse at top,#65543b 0,#302d23 75%)}.deduction-board>div>p{color:#e6dcc1}.deduction-threads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:1.4rem 0;position:relative}.deduction-threads article{position:relative;padding:1.1rem;border:1px solid #9b9477;border-radius:6px;background:#eee1b8;color:#302e25;box-shadow:3px 7px #0002}.deduction-threads article:after{content:"";position:absolute;height:3px;background:#a74132;left:95%;top:32%;width:28px;transform:rotate(-12deg)}.deduction-threads article:last-child:after{display:none}.deduction-threads h4{margin:.2rem 0 1rem;font-size:1.1rem}.deduction-threads label{display:block;font-size:.85rem;margin:.6rem 0}.deduction-threads select{width:100%;max-width:100%;background:#fff5d6;color:#302d22;border:1px solid #a79970;border-radius:5px;padding:.6rem;margin-top:5px;font:inherit}.evidence-pin{position:absolute;top:-7px;left:48%;border-radius:50%;width:14px;height:14px;background:#ae4636;box-shadow:2px 3px 2px #0005}.decree-draft{margin:1rem 0;padding:1.4rem;background:linear-gradient(120deg,#3d3150,#1c3635);border:1px solid #b29b73;border-radius:16px}.forecast-panel{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.1rem;margin-top:1.2rem;border-radius:12px;border:1px solid #ac8d65;background:#4e3e291f}.forecast-panel h3{font-size:1rem}.forecast-panel p{margin:.4rem 0}.forecast-panel small{color:#e6d8b6}.forecast-ready{background:#42654833;border-color:#9bc18a}.forecast-warning{border-color:#bd9970}@media (max-width:720px){.deduction-threads{grid-template-columns:1fr}.deduction-threads article:after{width:3px;height:24px;top:98%;left:50%;transform:none}}#touch-controls{display:none;touch-action:none;user-select:none;-webkit-user-select:none}#touch-controls button{touch-action:none;-webkit-tap-highlight-color:transparent;min-width:44px;min-height:44px;border:1px solid #698477;color:#f4e9bb;background:linear-gradient(#354b43,#22332f);font:700 15px var(--font-main);box-shadow:0 4px #0c1916;border-radius:10px}#touch-controls button.held{transform:translateY(3px);box-shadow:0 1px #0c1916;background:#637e52}@media (pointer:coarse),(max-width:950px){body.worker-playing{justify-content:flex-start;min-height:100dvh}.worker-playing #app{padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));gap:6px;max-width:100%}.worker-playing .corp-header{padding:5px 8px;border-radius:9px;gap:6px;flex-wrap:nowrap;min-height:42px}.worker-playing .corp-logo,.worker-playing .user-profile,.worker-playing #btn-open-level-select{display:none}.worker-playing .header-actions{display:flex;gap:6px;flex-wrap:nowrap;width:100%;justify-content:space-between}.worker-playing .corp-header button{font-size:11px;padding:7px 12px;min-height:36px}.worker-playing #worker-objective{max-height:43px;overflow:auto;font-size:10px;padding:5px 8px;line-height:1.4;margin:0}.worker-playing .game-container{gap:6px;padding:0}.worker-playing .game-footer{display:none}.worker-playing .canvas-wrapper{width:100%;border-radius:8px}.worker-playing #game-canvas{width:100%;height:100%}#touch-controls{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8px 24px;padding:12px 18px 8px;border-radius:12px;background:linear-gradient(145deg,#263b34,#15251f);border:1px solid #56705e}.touch-dpad{display:grid;grid-template:repeat(3,46px)/repeat(3,46px);gap:2px;justify-content:start}.touch-dpad .pad-up{grid-area:1/2}.touch-dpad .pad-left{grid-area:2/1}.touch-dpad .pad-right{grid-area:2/3}.touch-dpad .pad-down{grid-area:3/2}.touch-dpad:after{content:"";grid-area:2/2;background:#263e34;border-radius:5px}.touch-ab{display:flex;gap:14px;justify-content:flex-end;align-items:center}#touch-controls .touch-ab button{width:66px;height:66px;border-radius:50%;font-size:28px;background:linear-gradient(#d4b15d,#967438);border-color:#efdb99;color:#241f19;box-shadow:0 5px #5c482a}#touch-controls .touch-a{margin-top:-32px;order:2}#touch-controls .touch-b{margin-top:32px}.touch-extras{grid-column:1/-1;display:flex;justify-content:center;gap:14px}#touch-controls .touch-extras button{min-height:44px;padding:4px 15px;border-radius:20px;font-size:11px}.touch-help{grid-column:1/-1;text-align:center;font-size:10px;color:#bcceb9;margin:0}.worker-playing .canvas-wrapper:has(#shift-briefing:not(.hidden)){aspect-ratio:auto;min-height:0;height:min(75dvh,620px)}.worker-playing #shift-briefing{overflow-y:auto;align-items:flex-start}.worker-playing .briefing-content{padding:12px;font-size:12px}.worker-playing .briefing-duck{width:50px;height:70px;margin:0 0 4px 8px}.worker-playing .briefing-content h2{font-size:18px}.worker-playing .reward-grid{gap:6px}.worker-playing .reward-card{padding:9px;min-height:44px}.worker-playing .canvas-wrapper:has(#shift-briefing:not(.hidden))+#touch-controls{display:none}}@media (max-width:370px){.touch-dpad{grid-template:repeat(3,42px)/repeat(3,42px)}#touch-controls{gap:8px;padding:10px}.touch-ab{gap:10px}#touch-controls .touch-ab button{width:58px;height:58px}}@media (orientation:landscape) and (max-height:600px) and (pointer:coarse),(orientation:landscape) and (max-height:600px) and (max-width:1100px){.worker-playing .corp-header{display:none}.worker-playing #worker-objective{height:27px;max-height:27px;white-space:nowrap}.worker-playing .game-container{position:relative;min-height:calc(100dvh - 49px);justify-content:flex-start}.worker-playing .canvas-wrapper{width:min(calc(100vw - 300px),calc((100dvh - 95px)*16/9));margin:0 auto}#touch-controls{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-columns:145px 145px;justify-content:space-between;align-content:center;background:none;border:0;padding:0;pointer-events:none;gap:4px}#touch-controls button{pointer-events:auto}.touch-extras{position:absolute;bottom:2px;left:0;right:0}.touch-help{display:none}.touch-ab{gap:10px}#touch-controls .touch-ab button{width:60px;height:60px}.worker-playing .canvas-wrapper:has(#shift-briefing:not(.hidden)){width:100%;height:calc(100dvh - 50px)}}@media (pointer:coarse),(max-width:950px){.worker-playing #worker-objective[data-mobile-status]{font-size:0;line-height:0;min-height:30px;height:30px;overflow:hidden}.worker-playing #worker-objective[data-mobile-status]:after{content:attr(data-mobile-status);font-size:11px;line-height:18px}}@media (orientation:landscape) and (max-height:600px) and (pointer:coarse),(orientation:landscape) and (max-height:600px) and (max-width:1100px){.worker-playing .corp-header{display:flex;position:absolute;top:2px;right:8px;z-index:10;width:180px;min-height:27px;padding:0 3px}.worker-playing .corp-header button{min-height:25px;font-size:9px;padding:3px 6px}.worker-playing #worker-objective[data-mobile-status]{width:calc(100% - 190px);height:27px;min-height:27px;padding:3px 5px}.worker-playing #worker-objective[data-mobile-status]:after{font-size:10px}}@media (orientation:portrait) and (max-width:950px),(orientation:portrait) and (pointer:coarse){#touch-controls{position:relative;padding-top:64px}.touch-extras{display:contents}#touch-controls .touch-extras button:nth-child(1){position:absolute;top:10px;left:26px;min-width:78px;min-height:46px}#touch-controls .touch-extras button:nth-child(2){position:absolute;top:10px;right:26px;min-width:78px;min-height:46px}#touch-controls .touch-extras button:nth-child(3){grid-column:1/-1;justify-self:center;min-height:36px;min-width:74px}}.loadout-guide{padding:12px 14px;margin:12px 0;border:1px solid #d9c27a;border-radius:10px;background:#d9c27a15;color:#f3e2ac;clear:both}.loadout-guide strong{display:block;font-size:1rem}.loadout-guide p{margin:6px 0;line-height:1.55}.loadout-guide small{display:block;color:#c1d5b6;line-height:1.5}.loadout-heading{font-size:1rem;margin:14px 0 8px;color:#f3e2ac}.detective-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.detective-steps>a,.detective-steps>span{padding:12px;border:1px solid #738569;background:#243b2e;border-radius:9px;color:#e4e8cf;text-decoration:none;font-size:13px}.detective-steps b{display:block;margin-bottom:4px;color:#ffe2a3}.connection-example{padding:12px;margin:12px 0;border-left:3px solid #e5c77b;background:#ead69812;font-size:13px;line-height:1.6}.connection-progress{font-weight:800;color:#ffe7a6;margin:14px 0}.connection-cases{display:grid;gap:16px}.connection-case{background:#e7d7ac;color:#30362a;padding:16px;border:2px solid #a69b77;border-radius:10px}.connection-case h4{font-size:19px;margin-bottom:6px}.connection-case>p{font-size:13px;line-height:1.6}.connection-ready{border-color:#84b57f;background:#dce4b9}.connection-pair{display:grid;grid-template-columns:1fr 28px 1fr;gap:10px;margin:14px 0}.connection-arrow{align-self:center;text-align:center;font-size:26px;color:#907238}.connection-side h5{font-size:13px;margin-bottom:8px}.evidence-choices{display:flex;flex-wrap:wrap;gap:6px}.evidence-choices button,.find-evidence{font:inherit;font-size:12px;text-align:left;min-height:44px;padding:10px;border:1px solid #8e8466;border-radius:8px;background:#fff3d0;color:#343a2d;cursor:pointer}.evidence-choices button[aria-pressed=true]{background:#365c3a;color:#fff6d5;border-color:#29492f;box-shadow:0 0 0 2px #6d9564}.connection-side blockquote{margin:10px 0 0;padding:10px;background:#fff5;border-left:3px solid #9c824e;font-size:13px;line-height:1.7}.connection-side blockquote p{margin-top:6px}.connection-feedback{padding:10px;border-radius:7px;background:#fff5;font-weight:600}.report-unlock{margin-top:10px;font-size:13px;line-height:1.6;color:#eadab6}#deduction-board,#detective-report{scroll-margin-top:15px}@media (max-width:650px){.detective-steps,.connection-pair{grid-template-columns:1fr}.connection-arrow{transform:rotate(90deg)}.connection-case{padding:12px}.evidence-choices button{flex:1 1 145px}}.detective-scene{display:grid;gap:10px;width:100%;max-width:980px;margin:0 auto}.detective-scene-window{position:relative;overflow:hidden;border:2px solid #95845a;border-radius:14px;background:#18221c;box-shadow:0 14px 36px #0005}.detective-scene-window canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;touch-action:none;outline:none}.detective-scene-window canvas:focus-visible{box-shadow:inset 0 0 0 3px #f5d88b}.scene-prompt{position:absolute;left:12px;bottom:10px;max-width:calc(100% - 24px);padding:7px 11px;border:1px solid #d1bd7a;border-radius:9px;background:#17251de8;color:#fff0c6;font-size:clamp(.68rem,1.8vw,.83rem);font-weight:700;pointer-events:none}.detective-touch-controls{display:none;align-items:center;justify-content:space-between;gap:24px;padding:8px 12px 12px;touch-action:none;-webkit-user-select:none;user-select:none}.detective-dpad{display:grid;grid-template-columns:repeat(3,56px);grid-template-rows:repeat(2,52px);gap:4px}.detective-dpad button,.detective-interact{touch-action:none;-webkit-user-select:none;user-select:none;border:1px solid #938355;background:linear-gradient(#485a40,#2b3e30);color:#fff0c6;box-shadow:0 3px #1d291e;border-radius:12px;font-size:1.1rem;font-weight:800}.detective-dpad [data-move=up]{grid-column:2;grid-row:1}.detective-dpad [data-move=left]{grid-column:1;grid-row:2}.detective-dpad [data-move=down]{grid-column:2;grid-row:2}.detective-dpad [data-move=right]{grid-column:3;grid-row:2}.detective-dpad button:active,.detective-dpad button.held,.detective-interact:active{transform:translateY(2px);background:#61744d}.detective-interact{width:86px;height:78px;border-radius:50%;background:linear-gradient(#a15a37,#693d2d);font-size:1.35rem}.detective-interact small{display:block;font-size:.62rem;font-weight:600}.detective-shell .detective-scene{margin:1rem auto 1.25rem}.detective-shell .scene-prompt{z-index:1}@media (max-width:850px){.detective-touch-controls{display:flex}.detective-dpad{grid-template-columns:repeat(3,58px);grid-template-rows:repeat(2,54px)}.detective-dpad button{min-width:54px;min-height:50px}.detective-interact{min-width:82px;min-height:76px}}@media (max-width:420px){.detective-touch-controls{justify-content:space-around;gap:8px;padding-inline:0}.detective-dpad{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,48px)}.detective-dpad button{min-width:50px;min-height:46px}.detective-interact{width:76px;height:72px;min-width:76px;min-height:72px}}.detective-adventure{position:relative}.detective-adventure-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.33fr);align-items:start;gap:16px}.detective-play-area{min-width:0}.detective-hud{position:sticky;top:0;z-index:5;background:#111b17}.detective-hud [data-clock]{font:700 1.2rem var(--font-mono);font-variant-numeric:tabular-nums;color:#ffe5a0}.detective-hud [data-clock].clock-urgent{color:#ff9d78;animation:detective-clock-pulse 1s infinite alternate}@keyframes detective-clock-pulse{to{opacity:.55}}.detective-brief{display:grid;grid-template-columns:1fr;gap:8px}.detective-brief>div:first-child{display:flex;gap:10px;align-items:center}.detective-brief>div:first-child small,.room-status>span:first-child{font:.62rem var(--font-mono);letter-spacing:.08em;color:#c5c5a0}.detective-brief>div:first-child strong{color:#ffe4a4}.detective-controls-help{display:flex;flex-wrap:wrap;gap:7px}.detective-controls-help span{padding:5px 8px;border:1px solid #667256;border-radius:8px;background:#203128;color:#dbe3c9;font-size:.75rem}.room-status{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 14px;color:#bbc7b2;font-size:.8rem}.room-status strong{color:#ffe5a0}.detective-case-sidebar{padding:16px;border:1px solid #5c6b50;border-radius:12px;background:#111c17}.detective-case-sidebar ul{display:grid;gap:12px;padding:0;list-style:none;color:#d9e2ce;font-size:.87rem;line-height:1.5}.trust-explainer{margin-top:20px;padding:12px;border:1px solid #977550;border-radius:10px;background:#4d342b55;color:#f5ddb1}.trust-explainer p,.detective-sidebar-tip{margin:.55rem 0 0;color:#c6cdb8;font-size:.78rem;line-height:1.55}.detective-notebook{padding:16px;border:1px solid #677551;border-radius:12px;background:#1a2a20}.notebook-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.notebook-heading h3{margin:0;color:#f4e1b3}.notebook-heading .mode-eyebrow{margin:0 0 3px}.notebook-progress{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.notebook-check{padding:6px 9px;border:1px solid #606b51;border-radius:99px;color:#c6cbb9;font-size:.74rem}.notebook-check.complete{border-color:#95b47a;background:#31452d;color:#e8f0ca}.notebook-evidence{display:grid;grid-template-columns:1fr 1fr;gap:8px}.notebook-note{padding:10px;border:1px solid #667052;border-radius:9px;background:#293b2e}.notebook-note strong{display:block;color:#f0dca8;font-size:.84rem}.notebook-note strong small{float:right;color:#b9c7a8;font-size:.64rem}.notebook-note p,.empty-notes{margin:7px 0 0;color:#d0d8c8;font-size:.78rem;line-height:1.5}.detective-report-open{width:100%;margin-top:13px}.detective-report-open:disabled{opacity:.5;cursor:not-allowed}.report-unlock-hint{margin:8px 0 0;color:#bcc9b2;font-size:.76rem;line-height:1.45}.detective-status{margin-top:14px;padding:10px 12px;border:1px solid #5d6b50;border-radius:9px;background:#243329;color:#d5dec9;font-size:.84rem;line-height:1.45}.detective-status.status-negative{border-color:#aa654d;background:#432c25;color:#ffe1ca}.detective-status.status-positive{border-color:#6e9a65;background:#29432c;color:#e2f0c9}.detective-dialog-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:18px;background:#09100cce;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.detective-dialog{width:min(560px,100%);max-height:min(85dvh,820px);overflow:auto;padding:22px;border:2px solid #97865a;border-radius:16px;background:linear-gradient(145deg,#304333,#1b2a22);box-shadow:0 24px 90px #000a;color:#e5e8d6}.detective-dialog h3{margin:0 0 12px;color:#ffe5a0;font-size:1.35rem}.detective-dialog>p,.detective-dialog>small{display:block;color:#e1e5d4;line-height:1.65}.interview-choices{display:grid;gap:9px;margin:14px 0}.interview-choices button{min-height:48px;padding:10px 13px;border:1px solid #778967;border-radius:9px;background:#39533b;color:#f3edcf;text-align:left;font:600 .9rem var(--font-main);cursor:pointer}.interview-choices .pressure-choice{border-color:#9d6b55;background:#53362c;color:#ffe0c8}.detective-dialog form{display:grid;gap:12px;margin:12px 0}.detective-dialog form label{display:grid;gap:6px;color:#f2e4ba;font-size:.84rem}.detective-dialog select{width:100%;min-height:44px;padding:7px 9px;border:1px solid #8e865f;border-radius:8px;background:#e7dfc4;color:#292d25;font:inherit}.detective-dialog .btn-corp,.detective-dialog .btn-corp-secondary{width:100%;margin-top:9px}.detective-dialog .notebook-note{margin-bottom:8px}.report-feedback{padding:10px;border:1px solid #b77f5f;border-radius:8px;background:#4c332b;color:#ffe1c5}.detective-shell .campaign-heading{margin-bottom:1rem}@media (max-width:850px){.detective-adventure-layout{grid-template-columns:1fr}.detective-case-sidebar{order:2}.detective-notebook{margin-top:6px}.detective-dialog{padding:16px}.notebook-evidence{grid-template-columns:1fr}}@media (max-width:520px){.detective-brief{padding:12px}.detective-hud{gap:.55rem;padding:.7rem}.detective-hud strong{font-size:.95rem}.detective-notebook{padding:12px}.notebook-heading{align-items:flex-start;flex-direction:column}.notebook-heading .btn-corp-secondary{width:100%}.detective-controls-help span{font-size:.68rem}.detective-dialog-backdrop{align-items:flex-end;padding:0}.detective-dialog{width:100%;max-height:82dvh;border-radius:18px 18px 0 0;padding:18px 16px max(18px,env(safe-area-inset-bottom))}}.whip-impact{position:relative;width:min(250px,80%);height:62px;margin:0 auto 8px;color:#ffcf6f;text-align:center;animation:whip-pop .42s cubic-bezier(.2,.8,.25,1) both}.whip-impact svg{width:100%;height:100%;overflow:visible}.whip-trail{fill:none;stroke:#e6c17a;stroke-width:5;stroke-linecap:round;stroke-dasharray:260;stroke-dashoffset:260;animation:whip-snap .35s ease-out forwards}.whip-flash{fill:#ffd76f;stroke:#9d5131;stroke-width:2;transform-origin:184px 18px;animation:whip-star .44s cubic-bezier(.2,.8,.3,1) both}.whip-impact strong{position:absolute;right:0;top:-3px;color:#ffe3a0;font:900 1rem var(--font-main);text-shadow:2px 2px #67351f;transform:rotate(7deg)}@keyframes whip-snap{to{stroke-dashoffset:0}}@keyframes whip-star{0%{opacity:0;transform:scale(.1) rotate(-35deg)}55%{opacity:1;transform:scale(1.25) rotate(12deg)}to{opacity:.88;transform:scale(1) rotate(0)}}@keyframes whip-pop{0%{opacity:.35;transform:translateY(7px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){.whip-impact,.whip-trail,.whip-flash{animation:none!important}.whip-trail{stroke-dashoffset:0}}.notebook-statement{padding:10px;border:1px dashed #b07b49;border-radius:9px;background:#423226;color:#f4e0be}.notebook-statement strong{display:block;color:#f4c77b;font-size:.82rem}.notebook-statement strong small{float:right;color:#e1c8a0;font-size:.68rem}.notebook-statement p{margin:7px 0 0;font-size:.78rem;line-height:1.5;color:#efe1c7}
