/* Le Cabinet 404 · V1.8.0 — module isolé, n'affecte pas les anciens jeux */
.lc18{--ink:#131616;--paper:#e5d7bf;--gold:#d8b786;--rust:#b04e43;--line:#554c41;--muted:#aa9b88;max-width:1540px;margin:auto;padding:22px 25px 90px;color:#eee6d9;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;isolation:isolate}
.lc18 *{box-sizing:border-box}.lc18 h1,.lc18 h2,.lc18 h3{font-family:Georgia,'Times New Roman',serif;line-height:1.1;font-weight:normal;color:#f4ebd9}.lc18 p{line-height:1.62}.lc18-top{display:flex;justify-content:space-between;align-items:flex-end;gap:34px;padding:22px 4px 27px}.lc18-title{max-width:800px}.lc18-kicker,.lc18-section-head span,.lc18-scene-heading span,.lc18-progress>span{font:700 11px/1.5 ui-monospace,monospace;letter-spacing:.18em;color:var(--gold)}.lc18-title h1{font-size:clamp(37px,4.4vw,71px);margin:9px 0}.lc18-title h1 em{color:#ddc6a1;font-weight:400}.lc18-title p{font-size:16px;color:#bcb3a6;max-width:680px;margin:0}.lc18-progress{min-width:245px;background:linear-gradient(145deg,#262320,#191b1b);border:1px solid #4a4036;padding:18px 20px;border-radius:4px}.lc18-progress>strong{display:block;margin:9px 0 12px;font-family:Georgia,serif;font-size:20px;color:#f1e7d6}.lc18-progress small{color:#aca292;font-size:11px;display:block;margin-top:9px}.lc18-track{height:7px;background:#414039;border-radius:100px;overflow:hidden}.lc18-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#86372f,#e8b878)}
.lc18-board{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(290px,.75fr);gap:20px;align-items:start}.lc18-explore,.lc18-panel,.lc18-evidence,.lc18-deduction{background:#161919;border:1px solid #443f38;box-shadow:0 12px 36px rgba(0,0,0,.19);border-radius:6px;overflow:hidden}.lc18-tabs{display:flex;flex-wrap:wrap;background:#1f211f;padding:12px;gap:6px;border-bottom:1px solid #494139}.lc18-tabs form{flex:1;min-width:140px}.lc18-tabs button{background:#292722;border:1px solid #65533d;color:#d9cdbb;border-radius:3px;padding:11px 12px;font-size:13px;width:100%;min-height:42px;cursor:pointer}.lc18-tabs button:hover,.lc18-tabs button.active{background:#7d332f;color:#fff2e2;border-color:#bd7660}.lc18-scene-heading{padding:21px 25px 18px;display:flex;justify-content:space-between;gap:20px;align-items:center}.lc18-scene-heading h2{font-size:clamp(26px,2.3vw,36px);margin:4px 0 3px}.lc18-scene-heading p{font-size:13px;color:#c5b9a8;margin:0}.lc18-scene-heading>span{white-space:nowrap;color:#8d877b}.lc18-scene-art{position:relative;background:#141717;aspect-ratio:16/9;border-top:1px solid #33312c;border-bottom:1px solid #33312c;overflow:hidden}.lc18-scene-art>img{width:100%;height:100%;object-fit:cover;display:block}.lc18-hotspot{position:absolute;left:8%;top:8%;transform:translate(-50%,-50%);z-index:2}.lc18-hotspot button{width:48px;height:48px;border-radius:50%;display:grid;place-content:center;font-size:28px;color:#fff2e2;background:rgba(108,41,34,.9);border:2px solid #f2d7a3;box-shadow:0 0 0 8px rgba(40,20,10,.26),0 0 25px rgba(0,0,0,.8);cursor:pointer;transition:scale .15s,background .15s}.lc18-hotspot button:hover,.lc18-hotspot button:focus-visible{scale:1.1;background:#af5541;outline:2px solid white;outline-offset:3px}.lc18-scene-caption{padding:12px 21px;display:flex;justify-content:space-between;gap:12px;color:#b4a793;font-size:12px}.lc18-fallback{padding:11px 24px;border-bottom:1px solid #3c3832}.lc18-fallback summary{cursor:pointer;color:#dbcaaf;font-size:13px}.lc18-spot-list{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.lc18-spot-list button{background:#282c2c;color:#e9ddc9;border:1px solid #5b4b3b;padding:9px 12px;border-radius:4px;cursor:pointer}.lc18-sidebar{display:grid;gap:17px}.lc18-panel{padding:20px}.lc18-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #484139;padding-bottom:12px}.lc18-panel h2{font-size:24px;margin:0 0 10px}.lc18-panel-head h2{margin:0}.lc18-panel-head small,.lc18-panel p,.lc18-panel .lc18-small{color:#b5a999;font-size:12px}.lc18-items{display:grid;gap:8px;margin:13px 0}.lc18-items>div{border:1px solid #514537;background:#252623;padding:11px;border-radius:3px}.lc18-items strong{font-size:13px;color:#f1dfc2;display:block}.lc18-items small{display:block;font-size:11px;color:#c1b4a2;line-height:1.5;margin-top:5px}.lc18-combine,.lc18-dialogue,.lc18-notes form{display:grid;gap:11px}.lc18-combine label,.lc18-dialogue label{color:#d4c5ae;font-size:12px;display:grid;gap:6px}.lc18 select,.lc18 textarea{font:inherit;background:#292c2b;color:#f5eadb;border:1px solid #6e5e4c;padding:11px;border-radius:4px;width:100%;max-width:100%}.lc18 textarea{font-size:14px;line-height:1.5;resize:vertical}.lc18 button{font-family:inherit}.lc18-combine button,.lc18-dialogue button,.lc18-notes button{background:#41302a;border:1px solid #ad8262;color:#f9ebd9;border-radius:4px;padding:12px;cursor:pointer;font-weight:650}.lc18-combine button:hover,.lc18-dialogue button:hover,.lc18-notes button:hover{background:#703e32}.lc18-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.lc18-evidence,.lc18-deduction{margin-top:24px;padding:28px}.lc18-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;border-bottom:1px solid #474037;padding-bottom:17px;margin-bottom:20px}.lc18-section-head h2{font-size:clamp(25px,2.6vw,39px);margin:5px 0 0}.lc18-section-head>small{font:12px monospace;color:#aaa091}.lc18-quiet{color:#b4a899}.lc18-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.lc18-file{border:1px solid #564737;background:#222323;display:grid;grid-template-columns:38% 62%;min-height:155px;overflow:hidden;border-radius:4px}.lc18-file-preview{background:#dcd0bb;display:flex;align-items:center;justify-content:center;overflow:hidden}.lc18-file-preview img{display:block;width:100%;height:100%;object-fit:cover;object-position:left top}.lc18-icon{font-size:60px;color:#773f37}.lc18-file-copy{padding:13px;min-width:0}.lc18-file-copy h3{font-size:19px;margin:2px 0 9px}.lc18-file-copy p{font-size:12px;line-height:1.45;color:#c8bdae;margin:0 0 10px}.lc18-file-copy button{padding:0;background:transparent;border:0;color:#edbd8b;text-decoration:underline;cursor:pointer;font-size:12px}.lc18-audio{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:22px;padding:16px;border:1px solid #56493b;background:#262626}.lc18-audio>div{flex:1;min-width:220px}.lc18-audio strong{font-family:Georgia,serif;font-size:19px}.lc18-audio p{margin:5px 0 0;color:#c2b6a4;font-size:12px}.lc18-audio audio{max-width:100%;flex:1}.lc18-audio details,.lc18-audio>span{font-size:12px;color:#d7c5af}.lc18-deduction>p{color:#d0c2ad;max-width:900px;font-size:15px}.lc18-answers{max-width:900px}.lc18-answers fieldset{border:0;margin:10px 0 15px;padding:0;display:grid;gap:9px}.lc18-answers legend{margin:0 0 12px;color:#e8cda5;font-weight:700}.lc18-option{display:flex;align-items:center;gap:13px;border:1px solid #564739;background:#232522;padding:13px 16px;border-radius:4px;cursor:pointer;line-height:1.5}.lc18-option:hover,.lc18-option:has(input:checked){border-color:#d29f69;background:#3a3029}.lc18-option input{accent-color:#ab5544;min-width:19px;height:19px}.lc18-primary{background:#8d332f;color:#fff2e3;font-weight:750;border:1px solid #c78968;padding:15px 25px;border-radius:4px;cursor:pointer}.lc18-primary:hover{background:#ad5042}.lc18-hints{margin:26px 0 0;padding:15px;border:1px solid #5c4b3b;background:#272321;max-width:900px}.lc18-hints>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.lc18-hints strong{color:#f3dbb4}.lc18-hints span{font-size:12px;color:#ae9f8a}.lc18-hints p{padding:12px;background:#342d28;border-left:3px solid #ac7c5c;color:#e6d5bf;font-size:13px}.lc18-hints button{margin-top:10px;background:#514035;color:#fff0dc;border:1px solid #aa805d;padding:10px 15px;border-radius:4px;cursor:pointer}.lc18-reset{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:28px;border-top:1px solid #474039;padding-top:18px;color:#9f9383;font-size:12px}.lc18-reset button{background:none;border:0;color:#cdb495;text-decoration:underline;cursor:pointer}.lc18-finale{padding:20px;background:#2b352f;border:1px solid #64765b;color:#e5e8d9}.lc18-finale strong{font:26px Georgia,serif}.lc18-modal{background:#171919;color:#f5edde;padding:24px;max-width:min(900px,94vw);max-height:88vh;border:1px solid #c39b6f;border-radius:6px;box-shadow:0 30px 110px #000;overflow:auto}.lc18-modal::backdrop{background:rgba(5,7,8,.83)}.lc18-modal>button{background:#7b332c;color:#fff;border:1px solid #ab7055;padding:10px 14px;float:right;cursor:pointer}.lc18-modal img{display:block;max-width:100%;width:100%;height:auto;margin:10px auto;border:1px solid #85705b}.lc18-modal h2{font-size:30px;margin:30px 0 10px}.lc18-modal p{color:#c9bda9}.lc18-modal #lc18-zoom{margin-top:10px;border:1px solid #6b5848;padding:9px;background:#2e2823;color:#fff;cursor:pointer}.lc18-file-preview .lc18-icon{font-family:Georgia,serif}
@media(max-width:1100px){.lc18-board{grid-template-columns:minmax(0,1fr)}.lc18-sidebar{grid-template-columns:repeat(3,minmax(0,1fr))}.lc18-panel{min-width:0}.lc18-files{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.lc18{padding:10px 12px 60px}.lc18-top{display:block;padding:18px 4px}.lc18-progress{margin-top:20px;min-width:0}.lc18-title h1{font-size:40px}.lc18-sidebar{grid-template-columns:1fr}.lc18-scene-heading{padding:16px;display:block}.lc18-scene-heading>span{display:none}.lc18-scene-art{aspect-ratio:4/3}.lc18-hotspot button{width:38px;height:38px;font-size:23px;box-shadow:0 0 0 5px rgba(40,20,10,.28)}.lc18-scene-caption{flex-direction:column}.lc18-evidence,.lc18-deduction{padding:16px 13px}.lc18-files{grid-template-columns:1fr}.lc18-file{grid-template-columns:33% 67%}.lc18-file-copy h3{font-size:17px}.lc18-section-head{align-items:start}.lc18-section-head>small{display:none}.lc18-reset{display:block}.lc18-answers legend{font-size:14px}.lc18-option{font-size:13px}.lc18-modal{padding:12px}}
@media(prefers-reduced-motion:reduce){.lc18-hotspot button{transition:none}}
.lc18-achievements ul{margin:8px 0 5px;padding:0;list-style:none;display:grid;gap:9px}.lc18-achievements li{display:flex;gap:9px;align-items:start;color:#766e60;border:1px solid #393a34;padding:10px;border-radius:4px}.lc18-achievements li.earned{color:#e7c38e;border-color:#695840;background:#302d27}.lc18-achievements li>span{color:#d0c3af;font-weight:650;font-size:12px}.lc18-achievements li small{display:block;color:#a69b8b;font-weight:400;margin-top:3px;font-size:11px}
/* LC404 V1.9 - notifications fixes, accessibles, sans défilement forcé en haut. */
.lc19-notice-tray{position:fixed;z-index:2000;top:clamp(68px,10vh,110px);right:16px;left:auto;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:min(460px,calc(100vw - 32px))}
.lc19-notice{pointer-events:auto;display:flex;align-items:flex-start;gap:16px;justify-content:space-between;padding:16px 19px;border:1px solid #b99b74;border-left:4px solid #c8b89a;border-radius:8px;background:#202326;color:#f6eadc;box-shadow:0 16px 45px #0009;font:500 14px/1.55 system-ui,sans-serif}
.lc19-notice.lc19-error{border-left-color:#d46262}
.lc19-notice button{flex-shrink:0;border:0;background:transparent;color:#fff;font-size:23px;line-height:1;cursor:pointer}
@media(max-width:650px){.lc19-notice-tray{left:12px;right:12px;top:72px;max-width:none}.lc19-notice{font-size:13px}}
