/* The lobby is an invitation to play; the simulated apps retain their own visual language. */
.game-lobby{max-width:1220px;margin:auto;padding:46px 38px 52px;color:#24313c}
.lobby-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:38px;align-items:center}
.lobby-eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:750;letter-spacing:.1em;color:#5f6880;margin-bottom:25px}
.lobby-eyebrow i{width:7px;height:7px;border-radius:50%;background:#a88656;box-shadow:0 0 0 4px #eee5d7}
.lobby-copy h1{font-size:clamp(39px,4.5vw,64px);line-height:1.08;letter-spacing:-.05em;margin:0 0 24px;font-weight:780}
.lobby-copy h1 em{font-style:normal;color:#5b48b7}
.lobby-copy>p{max-width:510px;font-size:16px;line-height:1.75;color:#5e6978;margin-bottom:27px}
.lobby-play-choices{display:grid;gap:12px}
.lobby-play-card{display:flex;align-items:center;gap:16px;min-height:104px;padding:18px 21px;background:#fff;border:1px solid #d6d5e3;border-radius:16px;text-align:left;color:#26334c;box-shadow:0 5px 16px #27234205;transition:transform .15s,border-color .15s}
.lobby-play-card:hover{transform:translateY(-2px);border-color:#8270c8;box-shadow:0 10px 25px #42337112}
.lobby-play-card>.role-symbol{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:#efeafa;color:#634db4;font-size:32px;flex:none}
.lobby-play-card>span:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.lobby-play-card small{font-size:9px;letter-spacing:.1em;font-weight:750;color:#6d5ba1}
.lobby-play-card strong{font-size:19px;line-height:1.3}
.lobby-play-card>span>span{font-size:12px;color:#6d778b}
.lobby-play-card>b{font-size:23px;font-weight:400}
.lobby-play-dark{background:#19283a;color:#edf3ff;border-color:#31425c}
.lobby-play-dark .role-symbol{background:#2c423e;color:#c0deae}
.lobby-play-dark small{color:#b8cbbd}.lobby-play-dark>span>span{color:#bdc9d9}.lobby-play-dark:hover{background:#21334a;border-color:#a2bc93}
.lobby-footnote{display:flex;flex-wrap:wrap;gap:17px;font-size:11px;color:#7a8193;margin-top:22px}.lobby-footnote span+span:before{content:'·';margin-right:17px}
.lobby-art{position:relative;min-height:440px;isolation:isolate;background:radial-gradient(ellipse at 40% 40%,#e7e1ef 0,transparent 65%)}
.art-orbit{position:absolute;border:1px solid #d5cede;border-radius:50%;inset:25px 5px;transform:rotate(-18deg);z-index:-1}.orbit-two{inset:60px -10px;transform:rotate(30deg)}
.art-label{position:absolute;left:50px;top:32px;letter-spacing:.16em;font-size:10px;color:#8b8099}
.art-pc{position:absolute;left:0;right:35px;top:93px;padding:16px 19px 23px;border:6px solid #273244;border-radius:15px;background:#f8fafc;box-shadow:0 25px 42px #2a30442b;transform:rotate(-5deg)}
.art-window-bar{display:flex;align-items:center;gap:4px;border-bottom:1px solid #e0e3ea;padding-bottom:11px;font-size:10px;color:#79849a}.art-window-bar i{width:5px;height:5px;border-radius:50%;background:#c2cbdb}.art-window-bar span{margin-left:8px}
.art-mail{display:flex;gap:12px;margin-top:18px;align-items:center;font-size:13px}.art-mail b{font-weight:700}.art-mail span{display:block;font-size:10px;color:#8790a2;margin-top:5px}.art-avatar{display:grid;place-items:center;background:#e5ebf4;width:34px;height:34px;border-radius:50%;color:#52637f;font-weight:650;flex:none}
.art-mail-lines{display:flex;flex-direction:column;gap:8px;margin:21px 0 18px}.art-mail-lines i{width:90%;height:5px;border-radius:5px;background:#e2e5ee}.art-mail-lines i:nth-child(2){width:70%}.art-mail-lines i:nth-child(3){width:48%}
.art-mail-link{display:inline-block;background:#4873aa;color:white;font-size:10px;padding:10px 15px;border-radius:5px}
.art-paper{position:absolute;max-width:200px;padding:20px 18px 17px;border:1px solid #e4d8b7;background:#fff9e7;box-shadow:0 12px 24px #55432a15;border-radius:3px;z-index:2}
.art-paper>span{font-size:8px;letter-spacing:.08em;color:#958468}.art-paper b{display:block;font-size:15px;margin:12px 0 7px}.art-paper p{font-size:11px;line-height:1.5;color:#8d7c63;margin:0}
.paper-one{bottom:5px;left:23px;transform:rotate(-9deg)}.paper-two{top:28px;right:0;transform:rotate(9deg)}
.art-pin{position:absolute;top:-5px;left:50%;width:9px;height:9px;border-radius:50%;background:#ad8355;box-shadow:0 2px 3px #63523740}.art-thread{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.art-chip{position:absolute;bottom:48px;right:0;background:#f5f0fa;border:1px solid #d9d1e8;border-radius:24px;font-size:10px;color:#716181;padding:11px 14px;transform:rotate(5deg)}.art-chip>span{color:#ad8b5e;margin-right:5px}
.lobby-lumi{display:flex;align-items:center;gap:17px;border-top:1px solid #e1ddeb;border-bottom:1px solid #e1ddeb;margin-top:45px;padding:21px 0}.lobby-lumi>.lumi-avatar{width:68px;height:68px;flex:none}.lobby-lumi strong{font-size:15px}.lobby-lumi p{font-size:13px;color:#778096;line-height:1.7;margin:5px 0 0;max-width:600px}.lobby-fiction{font-size:9px;letter-spacing:.08em;color:#8d90a0;white-space:nowrap;margin-left:auto}
.lobby-method{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:31px}.lobby-method article{display:flex;gap:12px}.lobby-method article>span{font-size:11px;font-weight:650;color:#ab9073;background:#eee6db;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex:none}.lobby-method h2{font-size:14px;margin:0 0 7px}.lobby-method p{font-size:12px;line-height:1.75;color:#808698;margin:0}
body:not(.simulator-active){background:#f7f5f9}
#cases{width:min(1000px,calc(100% - 30px));max-height:92dvh}
#cases .dialog-body{padding:28px 34px}
#cases-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#cases .case-option{align-items:start;border-radius:14px;min-height:148px;padding:20px;background:#faf9fd}
#cases .case-option>span:first-child{width:30px;height:32px;font-size:15px;border-radius:9px;display:grid;place-items:center;background:#eae4f7;color:#66539c}
#cases .case-option strong{font-size:17px;line-height:1.4;margin:8px 0!important}
#cases .case-option p{font-size:13px;line-height:1.65;margin:0}
#cases .case-option small{font-size:10px;line-height:1.6}.cases-scroll-tip{display:none}
.simulator-title>span:nth-child(2){font-size:12px}.simulator-toolbar{background:#fcfbff}
.shortcut-tile.files{background:#e8bc63;color:#4b371c}
.pc-desktop-widgets{position:absolute;right:32px;top:28px;max-width:240px;color:#fff;pointer-events:none}.pc-desktop-widgets>strong{font-size:46px;letter-spacing:-.04em;font-weight:350;display:block}.pc-desktop-widgets>span{font-size:13px;color:#edf1ff}.pc-desk-note{margin-top:24px;background:#fff8dd;color:#716045;padding:19px 22px;border-radius:2px;box-shadow:0 8px 24px #26374e22;transform:rotate(3deg)}.pc-desk-note small{font-size:9px;letter-spacing:.1em}.pc-desk-note p{font-size:13px;line-height:1.7;margin:9px 0 0}
.investigation-shortcut{background:#f6edcc!important;color:#705524!important;border-color:#d8c598!important}
.message-game-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:10px 20px;border-top:1px solid #e3e5ee;background:#fbfbfe}.message-game-footer p{font-size:12px;color:#778398;line-height:1.6;margin:0}.message-game-footer button{font-size:12px;min-height:44px;padding:9px 15px;white-space:normal}.message-game-footer .button-row{gap:8px}
.game-toast{position:fixed;right:18px;bottom:84px;z-index:120;max-width:380px;background:#fff;border:1px solid #d2c5a5;border-radius:12px;padding:17px 21px;box-shadow:0 10px 35px #21334922;color:#3c495e;font-size:14px;line-height:1.65}
.verdict-panel{padding:24px;background:#eee8df;border:1px solid #d4c5ae;border-radius:12px;margin:25px 0}.verdict-panel h3{font-size:20px;margin-bottom:10px}.verdict-panel p{font-size:14px;line-height:1.7;color:#6d6458}.verdict-options{display:flex;flex-wrap:wrap;gap:10px}.verdict-options button{min-height:46px;font-size:14px}
.case-twist-banner{display:flex;align-items:center;gap:10px;background:#fff4d3;color:#7d5c26;padding:12px 18px;border-bottom:1px solid #dfcd9c;min-height:48px;width:100%;font-size:13px;text-align:left}.case-twist-banner>span{background:#bb8040;color:#fff;border-radius:50%;padding:3px 7px;font-size:11px}
.evidence-sources{padding:20px;border-top:1px solid #e3e5ef}.evidence-sources>h3{font-size:14px;margin:0 0 10px;color:#657084}
@media(max-width:950px){.game-lobby{padding:35px 25px}.lobby-hero{gap:24px}.lobby-copy h1{font-size:43px}.lobby-art{min-height:410px}.lobby-play-card strong{font-size:16px}.art-pc{right:10px}.paper-two{right:-10px}.art-chip{display:none}.lobby-fiction{display:none}}
@media(max-width:760px){.game-lobby{padding:29px 20px 36px}.lobby-hero{grid-template-columns:1fr}.lobby-art{display:none}.lobby-copy h1{font-size:clamp(35px,7vw,52px)}.lobby-copy>p{font-size:15px}.lobby-play-card{min-height:99px}.lobby-play-card strong{font-size:18px}.lobby-eyebrow{font-size:9px;line-height:1.7;margin-bottom:20px}.lobby-lumi{margin-top:30px}.lobby-lumi p{font-size:12px}.lobby-method{grid-template-columns:1fr;gap:21px}.lobby-footnote{font-size:10px;gap:10px}.lobby-footnote span+span:before{margin-right:10px}#cases .dialog-body{padding:22px 18px}#cases-list{grid-template-columns:1fr}#cases .case-option{min-height:0;padding:16px;grid-template-columns:30px 1fr 17px}#cases .case-option strong{font-size:16px}.pc-desktop-widgets{right:18px;top:12px;max-width:190px}.pc-desktop-widgets>strong{font-size:35px}.pc-desk-note{padding:15px;margin-top:15px}.pc-desk-note p{font-size:12px}.message-game-footer{padding:9px 12px;flex-direction:column;align-items:stretch}.message-game-footer .button-row{flex-wrap:nowrap}.message-game-footer button{flex:1;font-size:12px}.game-toast{right:10px;left:10px;bottom:80px;max-width:none}.verdict-panel{padding:18px}.verdict-options{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.lobby-play-card{transition:none}.lobby-play-card:hover{transform:none}}

.pc-window-content .iv-document-reader{scroll-margin-top:0}.mail-destination-link,.phone-link-details{background:none;border:0;color:#687891;font-size:12px;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:6px 0;text-align:left}.phone-source-archives{width:100%}.phone-case-actions{padding:8px 12px}.phone-case-actions>p{font-size:11px;margin:0}.phone-case-actions button{font-size:11px;min-height:44px}.phone-icon-orange{background:#edc470;color:#78541f}.case-annotations{margin:25px;padding:17px;border:1px solid #d7ceba;border-radius:9px;font-size:13px}.case-annotations summary{min-height:44px;cursor:pointer;font-weight:650}.case-annotations article{padding:10px 0}.case-annotations p{font-size:14px;overflow-wrap:anywhere}.case-board-footer{display:flex;gap:12px;flex-wrap:wrap;padding:20px 24px}.case-board-footer button{font-size:14px;min-height:44px}.case-receipt{padding:35px;max-width:780px;margin:auto}.case-receipt h2{font-size:28px;margin:23px 0}.case-receipt p{font-size:15px;line-height:1.8}.case-receipt-event{border-left:3px solid #95764c;padding:20px 24px;background:#fbf5e9;margin:25px 0}.case-receipt-event span{font-size:12px;color:#88795f}.case-receipt-event h3{font-size:21px;margin:10px 0}.case-receipt>button{min-height:46px;font-size:14px;margin:0 10px 10px 0}.simulator-toast{pointer-events:none}.iv-documents .iv-file-text,.iv-documents .iv-file-text strong{white-space:normal}
@media(max-width:760px){.phone-app-switcher button{min-width:0;flex:1}.phone-app-switcher{gap:0;padding-inline:5px}.phone-app-switcher button span{font-size:8px}.phone-home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.case-receipt{padding:20px}.case-receipt h2{font-size:23px}.case-receipt>button{width:100%;margin-right:0}.iv-documents .iv-document-reader{scroll-margin-top:0}.phone-screen:has(>.iv-documents){padding:0}.phone-case-actions .button-row{display:grid;grid-template-columns:1.3fr 1fr}.pc-desk-note{max-width:210px}.case-board-footer{padding:18px}.phone-screen .iv-evidence-board{border-radius:0;padding:18px 12px}}

.source-message-body{white-space:pre-line;font-size:15px;line-height:1.8}.pc-window-content .message-heading h2{font-size:23px;margin:10px 0 18px}.pc-window-content .message-body{margin-top:20px}.pc-window-content .service-logo{margin-bottom:14px}.pc-window-content .message-body>p{margin-bottom:17px}.iv-documents .iv-reader-footer{margin-top:20px}.iv-locked-source{min-height:70px}.pc-shell .pc-window-content>.mail-layout>.mail-reading-pane>.message-pane{padding:22px 26px}

@media(max-width:600px){.pc-desktop-widgets{display:none}}
@media(orientation:landscape) and (max-height:500px){
 .immersive-simulator .phone-device{width:min(100%,760px);max-width:760px;border-width:2px;border-radius:16px}
 .immersive-simulator .phone-status-bar{height:22px;min-height:22px}
 .immersive-simulator .phone-app-bar{min-height:48px;padding:5px 14px}
 .immersive-simulator .phone-app-bar small{display:none}
 .immersive-simulator .phone-bottom-bar{display:flex;align-items:stretch}
 .immersive-simulator .phone-app-switcher{flex:1;padding:4px 5px;min-width:0}
 .immersive-simulator .phone-home-button{width:68px;min-height:44px;padding:4px}
 .immersive-simulator .phone-home-indicator{width:36px}
 .immersive-simulator .phone-app-switcher>button{flex-direction:row;justify-content:center;gap:5px}
 .immersive-simulator .phone-fixed-decision .message-game-footer{flex-direction:row;padding:4px 10px}
 .immersive-simulator .phone-fixed-decision .message-game-footer>p{display:none}
 .immersive-simulator .phone-fixed-decision .button-row{width:100%}
}

.outcome-recap{margin:24px 0;border:1px solid #dad3e7;border-radius:12px;padding:16px 20px;background:#fff}.outcome-recap summary{cursor:pointer;min-height:44px;font-size:15px;font-weight:650;padding-block:10px}.outcome-recap>p,.outcome-recap article p{font-size:14px;line-height:1.8;color:#566479}.outcome-recap article{padding:18px 0;border-top:1px solid #e8e4ef}.outcome-recap h3{font-size:16px;line-height:1.5}.outcome-recap small{font-size:12px;color:#65708a}
/* Player tools live outside the virtual PC / phone, alongside Déclic controls. */
.player-evidence-tool{flex:none;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:12px 20px;background:#f0ebfb;color:#352d53;border-bottom:3px solid #9583c6;min-width:0;z-index:16}
.player-evidence-copy{min-width:0;flex:1}.player-tool-label{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:.065em;color:#5c458e;margin-bottom:5px}.player-tool-label svg{width:17px;height:17px;flex:none}
.player-evidence-copy strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.player-evidence-copy p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#66577d}
.player-evidence-actions{display:flex;gap:9px;flex:none}.player-evidence-save,.player-evidence-open{min-height:44px;padding:10px 15px;border:1px solid #675292;border-radius:9px;font:inherit;font-size:13px;font-weight:650;line-height:1.4;cursor:pointer}
.player-evidence-save{background:#604b91;color:#fff}.player-evidence-save:hover{background:#493674}.player-evidence-save:disabled{background:#e5dfef;color:#51426b;border-color:#b6a8ce;cursor:default;opacity:1}
.player-evidence-open{background:#fff;color:#594283}.player-evidence-open:hover{background:#e9e1f6}.player-evidence-tool button:focus-visible{outline:3px solid #5c4895;outline-offset:3px}
.native-message-detail{background:#f6f8fb!important;border:1px solid #d1dae6!important;border-radius:7px!important;color:#31435b}.native-message-detail .investigation-label{color:#566a81}.native-message-detail .secondary-button{border-color:#cbd5e2;background:#fff;color:#405877}
.message-game-footer button{background:#f5f8fc;border-color:#c5d5e7;color:#255c94}.phone-case-actions .button-row{display:flex}.phone-case-actions button{flex:1}
@media(max-width:760px){.player-evidence-tool{padding:9px 12px;gap:9px;flex-wrap:wrap}.player-tool-label{font-size:9px;margin-bottom:3px}.player-evidence-copy{flex-basis:100%}.player-evidence-copy strong{font-size:12px}.player-evidence-copy p{font-size:11px;margin-top:3px}.player-evidence-actions{width:100%;gap:7px}.player-evidence-actions button{flex:1;padding:8px;font-size:12px;line-height:1.35}}
@media(orientation:landscape) and (max-height:500px){.player-evidence-tool{padding:6px 14px;gap:12px;flex-wrap:nowrap}.player-evidence-copy{flex-basis:auto}.player-evidence-copy strong{font-size:12px}.player-evidence-copy p{display:none}.player-evidence-actions{width:auto}.player-evidence-actions button{font-size:12px;padding:7px 11px}.player-tool-label{font-size:9px;margin-bottom:2px}}
.phone-screen .native-message-detail,.phone-screen .iv-document-reader{scroll-margin-top:84px}
@media(orientation:landscape) and (max-height:500px){.phone-screen .native-message-detail,.phone-screen .iv-document-reader{scroll-margin-top:50px}}
