/* A single full-screen scene. Its art and clickable contours move together. */
html:has(.detective115),body.game-theme:has(.detective115),body.game-theme:has(.detective115) #app {
 width:100%;
 height:100dvh;
 min-height:0!important;
 margin:0!important;
 overflow:hidden!important;
 overscroll-behavior:none;
}
body.game-theme #app .summer-screen.detective115 {
 --case-paper:#fff1db;
 --case-muted:#e0cedd;
 --case-gold:#f4c77e;
 --case-ink:#17121f;
 --case-trim:#ad896a9e;
 --case-gap:clamp(8px,1.1vw,15px);
 --case-top:min(var(--play-top,96px),96px);
 --case-left:max(190px,var(--play-left,228px));
 --case-right:max(12px,var(--play-right,18px),env(safe-area-inset-right));
 position:fixed;
 inset:0;
 isolation:isolate;
 display:block;
 width:100%;
 height:100dvh;
 min-height:0!important;
 padding:0!important;
 overflow:clip;
 color:var(--case-paper);
 background:#201820!important;
 font-family:Arial,Helvetica,sans-serif;
}
.detective-workspace115 {position:absolute;inset:0}
body.game-theme #app .detective115 .detective-case115 {
 position:absolute;
 z-index:4;
 inset:var(--case-top) auto auto var(--case-left);
 width:min(390px,calc(100% - var(--case-left) - 425px));
 margin:0;
 display:flex;
 justify-content:space-between;
 align-items:flex-start;
 flex-wrap:wrap;
 gap:7px 19px;
 height:auto;
 min-height:0;
 padding:12px 16px;
 color:var(--case-paper);
 background:linear-gradient(113deg,#342637ec,#201929e5 76%);
 border:1px solid var(--case-trim);
 border-left:3px solid var(--case-gold);
 box-shadow:4px 5px 0 #100b15a3;
}
.detective-case115 > :is(div,section) {min-width:0}
.detective115 .detective-kicker115 {
 display:block;
 color:var(--case-gold);
 font:750 11px/1.35 system-ui,sans-serif;
 letter-spacing:.075em;
 text-transform:uppercase;
}
body.game-theme #app .detective115 :is(h1,h2,h3) {
 margin:0;
 color:var(--case-paper)!important;
 font:800 clamp(21px,2.45vw,34px)/1.08 system-ui,sans-serif!important;
 letter-spacing:-.025em!important;
 text-shadow:none!important;
 -webkit-text-stroke:0!important;
 -webkit-text-fill-color:currentColor!important;
}
body.game-theme #app .detective115 :is(.detective-case115,.detective-panel115) > h1,
body.game-theme #app .detective115 .detective-case115 h1,
body.game-theme #app .detective115 .detective-panel115 h2 {margin:5px 0 6px}
body.game-theme #app .detective115 .detective-panel115 h3 {font-size:clamp(15px,1.5vw,19px)!important}
body.game-theme #app .detective115 p {
 max-width:65ch;
 margin:5px 0 0;
 color:var(--case-muted);
 font:500 clamp(13px,1.15vw,15px)/1.5 system-ui,sans-serif!important;
 text-shadow:none!important;
}
.detective115 .detective-progress115 {
 display:flex;
 flex-wrap:wrap;
 gap:6px 12px;
 align-items:center;
 align-self:center;
 color:var(--case-gold);
 font:700 13px/1.4 system-ui,sans-serif;
 font-variant-numeric:tabular-nums;
}
.detective-quick115 {display:flex;gap:7px;flex-wrap:wrap}
.detective-stage115 {
 position:absolute;
 inset:0;
 overflow:auto;
 overscroll-behavior:none;
 scrollbar-width:none;
 background:#201820;
}
.detective-stage115::-webkit-scrollbar {display:none}
.detective-stage115[data-can-pan115] {cursor:grab}
.detective-stage115[data-drag115] {cursor:grabbing;user-select:none}
.detective-stage115:focus-visible {outline:2px solid var(--case-gold);outline-offset:-3px}
.detective-pan-help115 {color:var(--case-muted);font:600 11px/1.3 system-ui,sans-serif}
.detective-plane115 {
 position:relative;
 isolation:isolate;
 width:max(100%,calc(100dvh * 1672 / 941));
 aspect-ratio:1672/941;
 max-width:none;
 overflow:hidden;
 background:var(--detective-preview115,none) center/100% 100% no-repeat;
}
.detective-plane115 > .detective-art115 {
 position:absolute;
 inset:0;
 display:block;
 width:100%;
 height:100%;
 max-width:none;
 object-fit:contain;
 user-select:none;
}
.detective-plane115 > .detective-art115[hidden] {display:none}
.detective-map115 {
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 z-index:2;
 pointer-events:none;
}
.detective-mark115 {
 outline:none!important;
 -webkit-tap-highlight-color:transparent;
 touch-action:manipulation;
}
.detective-mark115 :is(polygon,path,.detective-zone115) {
 pointer-events:all;
 cursor:pointer;
 fill:#ffe9b307;
 stroke:#ffe3a7a6;
 stroke-width:1.45px;
 vector-effect:non-scaling-stroke;
 stroke-linejoin:round;
 paint-order:stroke;
 filter:drop-shadow(0 1px 2px #100b17);
 transition:fill .14s,stroke .14s;
}
.detective-mark115 .detective-pin115 {
 pointer-events:all;
 cursor:pointer;
 fill:#ffd896;
 stroke:#3e2032;
 stroke-width:1.8px;
 vector-effect:non-scaling-stroke;
 filter:drop-shadow(0 0 3px #ffd493a0) drop-shadow(1px 2px 2px #1d1423);
}
.detective-mark115.is-seen :is(polygon,path,.detective-zone115) {fill:transparent;stroke:#e3cda978}
.detective-mark115.is-seen .detective-pin115 {fill:#302437;stroke:#dbc398}
.detective-mark115.is-locked polygon {stroke:#cebdacaf;stroke-dasharray:5 4}
.detective-mark115.is-locked .detective-pin115 {fill:#c7b6a4;stroke:#3d2c37;filter:none}
.detective-mark115.is-rescue polygon {stroke:#ffe2a0;stroke-width:2.3px;fill:#efd19521}
.detective-mark115:is(:hover,:focus-visible) :is(polygon,path,.detective-zone115) {
 fill:#fce3aa29;
 stroke:#fff0bd;
 stroke-width:2.8px;
}
.detective-mark115:is(:hover,:focus-visible) .detective-pin115 {fill:#fff1b9;stroke:#6a4b32}
.detective-controls115 {
 position:absolute;
 z-index:4;
 inset:var(--case-top) var(--case-right) auto auto;
 width:min(383px,calc(100% - var(--case-right) * 2));
 box-sizing:border-box;
 display:grid;
 gap:8px;
 padding:9px;
 background:#231c2ce8;
 border:1px solid var(--case-trim);
 box-shadow:4px 5px 0 #100b15a3;
}
.detective115 :is(.detective-tools115,.detective-rooms115,.detective-actions115,.detective-object-options115) {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:7px;
}
.detective115 :is(.detective-rooms115,.detective-tools115) {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
}
.detective115 .detective-tools115 .detective-exit115 {grid-column:span 2}
.detective115 .detective-rooms115 {border-bottom:1px solid #c69a6d3d;padding-bottom:8px}
.detective115 .detective-actions115 {margin-top:13px}
body.game-theme #app .detective115 :is(button.detective-btn115,button.detective-audio115) {
 position:relative;
 display:inline-flex!important;
 align-items:center;
 justify-content:center;
 gap:7px;
 height:auto!important;
 min-height:44px!important;
 min-width:44px!important;
 width:auto;
 max-width:100%;
 padding:8px 13px!important;
 margin:0!important;
 border:1px solid #a98b79!important;
 color:var(--case-paper)!important;
 background:#241b2c!important;
 box-shadow:2px 3px 0 #100b17aa!important;
 font:740 13px/1.25 system-ui,sans-serif!important;
 text-transform:none!important;
 text-shadow:none!important;
 letter-spacing:0!important;
 white-space:normal;
 overflow-wrap:anywhere;
 text-align:center;
 transform:none!important;
 touch-action:manipulation;
}
body.game-theme #app .detective115 :is(.detective-btn115,.detective-audio115):is(.is-selected,[aria-current="true"],[aria-current="location"],[aria-pressed="true"]) {
 background:#554035!important;
 border-color:#f6c980!important;
 color:#fff0c9!important;
}
body.game-theme #app .detective115 .detective-btn115.is-primary {
 color:#251525!important;
 background:#f3ca88!important;
 border-color:#ffe4af!important;
}
body.game-theme #app .detective115 :is(.detective-btn115,.detective-audio115):not(:disabled):hover {border-color:#ffe4a3!important;background:#413047!important}
body.game-theme #app .detective115 .detective-btn115.is-primary:not(:disabled):hover {background:#ffe2ac!important}
body.game-theme #app .detective115 :is(button,a):focus-visible {outline:2px solid #ffdf9d;outline-offset:3px}
body.game-theme #app .detective115 :is(.detective-btn115,.detective-audio115):disabled {opacity:.72;cursor:default}
body.game-theme #app .detective115 .detective-btn115.is-locked {color:#e0cbca!important;border-style:dashed!important}
.detective115 :is(.detective-btn115,.detective-audio115) svg {
 inline-size:17px;
 block-size:17px;
 flex:none;
}
.detective115 .detective-object-options115 {
 margin-top:11px;
}
.detective115 .detective-overlay115[hidden] {display:none}
.detective-overlay115 {
 position:fixed;
 z-index:45;
 inset:0;
 display:grid;
 justify-items:center;
 align-items:center;
 padding:max(16px,env(safe-area-inset-top)) 14px max(16px,env(safe-area-inset-bottom));
 background:#1009169e;
 backdrop-filter:blur(3px);
 overscroll-behavior:contain;
}
body.game-theme #app .detective115 .detective-panel115 {
 position:relative;
 display:block;
 width:min(100%,610px);
 max-height:100%;
 max-height:min(86svh,750px);
 min-width:0;
 min-height:0;
 padding:clamp(15px,2.1vw,26px);
 overflow:auto;
 overscroll-behavior:contain;
 scrollbar-color:#b99372 #241a2c;
 scrollbar-width:thin;
 scroll-padding:12px;
 color:var(--case-paper);
 background:linear-gradient(145deg,#35243dec,#1c1726fa 75%);
 border:1px solid #cdac89;
 border-top:3px solid var(--case-gold);
 box-shadow:5px 6px 0 #100913ba,0 12px 62px #09060ed9;
}
.detective115 .detective-panel115:focus {outline:0}
.detective115 .detective-panel115 [role="status"]:not(.detective-sr115),
.detective115 .detective-feedback115 {
 padding:8px 10px;
 margin-top:9px;
 background:#69433336;
 color:#ffdfaa!important;
 border-left:2px solid #d9ad70;
}
.detective115 :is(.detective-notes115,.detective-notes115 ul,.detective-roster115,.detective-theories115) {
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:7px;
 padding:0;
 margin:11px 0 0;
 list-style:none;
}
.detective115 .detective-notes115 ul {margin:0}
.detective115 .detective-notes115 li,
.detective115 .detective-theories115 > li,
.detective115 :is(.detective-answers115,.detective-evidence115),
.detective115 .detective-clue-card115 {
 display:block;
 min-width:0;
 margin:0;
 padding:9px 11px;
 color:var(--case-paper);
 background:#19141f8a;
 border:1px solid #af8c715e;
 font:620 14px/1.45 system-ui,sans-serif;
}
.detective115 .detective-notes115 li {
 color:#302228;
 background:repeating-linear-gradient(transparent 0 23px,#86563818 23px 24px) #f3e1bf;
 border-color:#b88f65;
 box-shadow:1px 2px 0 #140d194a;
}
.detective115 .detective-notes115 li :is(strong,b) {color:#552a37}
body.game-theme #app .detective115 .detective-notes115 li p {color:inherit}
.detective115 .detective-theories115 > li > b {color:var(--case-gold)}
body.game-theme #app .detective115 .detective-theories115 > li > button {margin-top:8px!important}
.detective115 :is(.detective-answers115,.detective-evidence115) {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:7px;
 margin-top:9px;
}
.detective115 :is(.detective-answers115,.detective-evidence115) legend {
 padding:0 5px;
 color:var(--case-gold);
 font:730 13px/1.3 system-ui,sans-serif;
}
.detective115 .detective-roster115 {grid-template-columns:repeat(3,minmax(0,1fr))}
body.game-theme #app .detective115 button.detective-witness115 {
 display:grid!important;
 grid-template-rows:84px 1fr;
 justify-items:center;
 align-items:start;
 gap:6px;
 padding:6px!important;
}
.detective-witness115 .detective-witness-photo115 {
 width:100%;
 height:84px;
 display:block;
 overflow:hidden;
 background:radial-gradient(ellipse at center,#684d52,#291d32 75%);
 border:1px solid #aa89626f;
}
.detective-witness-photo115 img {
 display:block;
 width:100%;
 height:170%;
 object-fit:contain;
 object-position:center top;
}
.detective-witness115 b,.detective-witness115 small {display:block}
.detective-witness115 small {
 color:#e4d1dc;
 margin:3px 0 0;
 font:570 11px/1.25 system-ui,sans-serif;
 letter-spacing:0;
}
.detective115 .detective-receipt115 {
 display:grid;
 grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);
 align-items:center;
 gap:clamp(8px,2vw,16px);
 padding:10px;
 margin:10px 0;
 background:#57403252;
 border:1px solid #c99a6c9e;
}
.detective115 .detective-receipt115 img {
 display:block;
 inline-size:100%;
 block-size:auto;
 max-block-size:200px;
 object-fit:contain;
}
.detective115 .detective-receipt115 figcaption {
 font:650 14px/1.43 system-ui,sans-serif;
 color:#ffe9c3;
}
body.game-theme #app .detective115 .detective-reward115 {font-weight:750!important;color:var(--case-gold)}
.detective-sr115 {
 position:absolute!important;
 width:1px!important;
 height:1px!important;
 overflow:hidden!important;
 clip-path:inset(50%);
 white-space:nowrap;
}
@media(max-width:960px),(max-height:590px) {
 body.game-theme:has(.detective115) :is(.summer-stats,#minimap81,#fb-radio97) {display:none!important}
 body.game-theme #app .summer-screen.detective115 {--case-left:max(10px,env(safe-area-inset-left))}
 body.game-theme #app .detective115 .detective-case115 {
  width:min(305px,calc(100% - var(--case-left) - var(--case-right) - 382px - var(--case-gap)));
  padding:8px 10px;
 }
 .detective115 .detective-kicker115 {font-size:10px}
 .detective-overlay115 {padding-inline:14px!important}
}
@media(max-width:760px) {
 body.game-theme #app .detective115 .detective-case115 {padding:7px 9px}
 body.game-theme #app .detective115 .detective-case115 h1 {font-size:21px!important}
 .detective-controls115 {padding:6px;gap:5px}
 .detective115 :is(.detective-tools115,.detective-rooms115) {gap:4px}
 .detective115 .detective-rooms115 {padding-bottom:5px}
 body.game-theme #app .detective115 :is(button.detective-btn115,button.detective-audio115) {padding-inline:5px!important;font-size:12px!important}
 .detective115 .detective-receipt115 {grid-template-columns:1fr}
 .detective115 .detective-receipt115 figcaption {font-size:13px}
}
@media(max-width:760px) and (orientation:portrait) {
 body.game-theme #app .summer-screen.detective115 {--case-top:62px;--case-right:max(8px,env(safe-area-inset-right))}
 body.game-theme #app .detective115 .detective-case115 {
  width:calc(100% - var(--case-left) - var(--case-right));
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:5px 8px;
  align-items:center;
 }
 .detective115 .detective-case115 .detective-kicker115 {font-size:9px}
 .detective115 .detective-progress115 {display:grid;grid-template-columns:auto auto;gap:3px 6px;font-size:11px}
 .detective115 .detective-quick115 {grid-column:1/-1;gap:4px}
 .detective115 .detective-pan-help115 {grid-column:1/-1;font-size:10px}
 .detective115 .detective-case115 p {margin:0}
 .detective115 .detective-atmosphere115 {display:none}
 .detective-controls115 {inset:auto var(--case-right) var(--play-bottom,104px) var(--case-left);width:auto}
 .detective115 .detective-tools115 {grid-template-columns:repeat(4,minmax(0,1fr))}
 body.game-theme #app .detective115 button.detective-exit115 {display:none!important}
 .detective-plane115 {width:max(100%,calc(140dvh * 1672 / 941))}
}
@media(max-width:760px) and (orientation:landscape) {
 body.game-theme #app .detective115 .detective-case115 {width:min(255px,43vw)}
 .detective-controls115 {width:min(365px,49vw)}
 .detective115 .detective-atmosphere115 {display:none}
}
@media(prefers-reduced-motion:reduce) {
 .detective-mark115 :is(path,polygon,ellipse) {transition:none}
}
