/* One scene, one dock. Original pixel artwork and normalized hit geometry stay intact. */
.point-click-shell .pc-unmatched{pointer-events:none!important;visibility:hidden}
.point-click-shell .pc-sentence{grid-row:1;white-space:normal;line-height:16px;min-height:34px;text-align:center}
.point-click-shell .pc-dock{grid-template-rows:minmax(34px,auto) 84px}
.point-click-shell .pc-verbs,.point-click-shell .pc-menu{grid-row:2}
.point-click-shell.mobile-shell{grid-template-rows:calc(46px + env(safe-area-inset-top)) auto minmax(0,1fr) auto;padding:0;height:100dvh}
/* Feedback has its own row: never cover onboarding, exits or dialog controls. */
.point-click-shell.mobile-shell .feedback-slot #toast{position:static;transform:none;margin:0;width:100%;max-width:none;box-shadow:none;border-width:0 0 1px;padding:7px 12px}
.point-click-shell:has(#modal[open])>.feedback-slot{display:none}
.pc-place{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:env(safe-area-inset-top) 12px 0;background:#211e19;border-bottom:2px solid #6b5536;min-width:0;text-align:center;z-index:4}
.pc-place strong{font:small-caps 16px Georgia;letter-spacing:.8px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pc-place small{font:11px Georgia;color:#c0a778}
.point-click-shell .pc-dock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:84px 23px;align-items:stretch;gap:0;padding:3px 8px env(safe-area-inset-bottom);background:#30271c;border-top:3px solid #997447;box-shadow:inset 0 2px #503f29;min-width:0}
.pc-verbs,.pc-menu{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;min-width:0;align-items:stretch}.pc-menu{border-left:2px solid #82643d;padding-left:8px;margin-left:8px;grid-template-columns:1.65fr 1.3fr 1fr 1fr 1fr}
.point-click-shell .pc-dock button{max-width:none;min-width:0;min-height:44px;border-radius:0;background:transparent;color:#e6d4ab;letter-spacing:0;position:relative;box-shadow:none;border:2px solid transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3px;gap:2px;font:12px Georgia;overflow:hidden}
.point-click-shell .pc-dock button:hover,.point-click-shell .pc-dock button:focus-visible{background:#453821;border-color:#b08a4e;outline:none}.point-click-shell .pc-dock button.active{border-color:#e7bf74;background:#574326;box-shadow:inset 0 0 0 2px #2a231b}
.point-click-shell .pc-dock button:disabled{opacity:.38;filter:grayscale(.7);cursor:default}.point-click-shell .pc-dock button:disabled:hover{border-color:transparent;background:none}
.point-click-shell .pc-dock img.pc-icon{width:43px;height:43px;object-fit:contain;image-rendering:pixelated;flex:none}
.pc-character{display:grid;grid-template-columns:minmax(0,1fr);position:relative;align-items:center;min-width:0}.point-click-shell .pc-character>button:first-child{padding:0;height:72px;display:grid;grid-template-columns:52px minmax(0,1fr);width:100%}
.point-click-shell .pc-dock img.pc-portrait{width:48px;height:68px;object-fit:cover;object-position:50% 20%;image-rendering:pixelated;border:1px solid #ab8754}
.point-click-shell .pc-character .pc-vitals{padding:0;border:0;gap:5px;overflow:visible;display:flex;flex-direction:column}
.pc-meter{display:block;width:100%;height:16px;background:#181915;position:relative;border:1px solid #a08252;isolation:isolate;font:10px/14px Arial;text-align:center;color:#fff1d3;white-space:nowrap;text-shadow:1px 1px #000}
.pc-meter i{position:absolute;inset:0 auto 0 0;width:var(--fill);background:#833e34;z-index:-1}.pc-ap i{background:#51613f}.pc-meter.infinite{font-size:13px}
.point-click-shell .pc-character .pc-wanted{position:absolute;left:-3px;bottom:-1px;min-height:20px;height:20px;display:flex;flex-direction:row;padding:0 2px;background:#25251e;border:1px solid #9b7847;font:10px Arial;z-index:2}.point-click-shell .pc-wanted img.pc-icon{width:18px;height:18px}.pc-wanted.high{color:#f3a477!important}
.pc-cash{display:flex;align-items:center;justify-content:center;font:11px Arial;white-space:nowrap}.point-click-shell .pc-dock .pc-cash img.pc-icon{height:17px;width:23px}
.pc-bookmark{position:absolute;right:17%;top:9px;width:5px;height:15px;background:#ad4b37;border:1px solid #e2b971}.pc-has-task{border-bottom-color:#c5a066!important}
.pc-sentence{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:8px;font:12px Georgia;color:#d3b985;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.point-click-shell .pc-sentence button{min-height:22px;min-width:28px;height:22px;padding:0;flex:none;font-size:16px}
.point-click-shell .location-world .scene-controls:empty,.point-click-shell .location-world .scene-heading{display:none}
.point-click-shell .location-world .scene-controls:has(.standard-action){max-height:44px;min-height:0;padding:0 8px}
.point-click-shell .location-world .scene-viewport{display:grid;align-items:center;background:#171a15}
.point-click-shell .location-world .scene-canvas{width:calc(max(580px,min(100cqw,150cqh))*var(--scene-scale,1));margin:auto;aspect-ratio:3/2}
.point-click-shell .room-interaction{border-radius:0;box-shadow:none!important;background:none;transition:none}.point-click-shell .room-interaction .hotspot-ring{opacity:0;border-radius:0;background:#26271cd9;box-shadow:none;font:19px Georgia;width:24px;height:24px}
.point-click-shell .room-interaction.interaction-revealed{border:1px dashed #c2a573;background:#dac0890a}.point-click-shell .room-interaction.interaction-revealed .hotspot-ring,.point-click-shell .room-interaction:hover .hotspot-ring,.point-click-shell .room-interaction:focus-visible .hotspot-ring{opacity:1}
.point-click-shell .room-interaction:hover,.point-click-shell .room-interaction:focus-visible{border:1px solid #b3935e;background:#b394621a}
.point-click-shell .room-interaction .hotspot-label{display:none;max-width:min(230px,75vw);white-space:normal;top:auto;bottom:0;left:0;line-height:1.25;font:12px Georgia;border:1px solid #907247;background:#211f18f0}
.point-click-shell .room-interaction:hover .hotspot-label,.point-click-shell .room-interaction:focus-visible .hotspot-label{display:block}
.point-click-shell .room-interaction.pc-edge-exit{border:0!important;border-left:3px solid #af8e57;background:#30291c55!important;min-width:40px;max-width:54px}.point-click-shell .pc-edge-exit .hotspot-ring{opacity:1;border:0;background:#332a1dcc;font-size:28px}.point-click-shell .pc-edge-exit .hotspot-label{left:0;bottom:0;width:130px}
.point-click-shell[data-verb=look] .scene-hotspot{cursor:zoom-in}.point-click-shell[data-verb=talk] .pc-kind-talk{cursor:help}.point-click-shell[data-verb=go] .pc-kind-go{cursor:pointer}.point-click-shell[data-verb=use] .pc-kind-use{cursor:grab}
.point-click-shell .pc-unmatched:not(:focus-visible):not(:hover){border-color:transparent;background:transparent}.point-click-shell .location-world+.world-notices:empty{display:none}
.pc-objective{border:1px solid #98815a;border-left:4px solid #bf9a5e;background:#29271f;padding:18px;margin-bottom:18px}.pc-objective>small{color:#d7b36c;letter-spacing:2px}.pc-objective>h2{font:24px Georgia;margin:6px 0 20px}.pc-objective>strong{color:#c7b081;font:11px Arial;letter-spacing:1px}.pc-objective>p{font:18px/1.5 Georgia}.pc-objective details{margin-top:16px}.pc-work-reminder>strong{color:#d6b67d}
.point-click-shell .quest-folio>.folio-tabs{display:flex;flex-wrap:wrap;gap:4px;border:0}.point-click-shell .quest-folio>.folio-tabs button{min-height:44px;flex:1 0 100px;border:1px solid #796348;font:13px Georgia;background:#312a20}.point-click-shell .quest-folio>.folio-tabs button[aria-current]{background:#675133;color:#fff0c9}
.pc-feedback{animation:pc-feedback 700ms steps(2,end) 3}@keyframes pc-feedback{50%{background:#695334;box-shadow:inset 0 0 0 1px #d4ad62}}
.point-click-shell .pc-possession:active img,.point-click-shell .pc-command:active img{transform:translateY(2px)}
@media(prefers-reduced-motion:no-preference){
 .point-click-shell .quest-folio,.point-click-shell .inventory-workbench{animation:pc-open-object 140ms steps(3,end)}
 .point-click-shell .overview-map{animation:pc-unfold 160ms steps(4,end)}
}
@keyframes pc-open-object{from{transform:translateY(5px);opacity:.75}to{transform:none;opacity:1}}
@keyframes pc-unfold{from{clip-path:inset(0 4%);opacity:.8}to{clip-path:inset(0);opacity:1}}
@media(max-width:760px){
 .point-click-shell.mobile-shell{grid-template-rows:calc(42px + env(safe-area-inset-top)) auto minmax(0,1fr) auto}
 .point-click-shell .pc-dock{grid-template-columns:minmax(0,1fr);grid-template-rows:51px 67px 23px;padding:2px 3px env(safe-area-inset-bottom)}
 .pc-menu{margin:0;padding:1px 0 0;border-left:0;border-top:1px solid #725734;grid-template-columns:1.65fr 1.25fr 1fr 1fr 1fr}.pc-place strong{font-size:14px}
 .point-click-shell .pc-dock button{font:10px Arial;padding:1px}.point-click-shell .pc-dock img.pc-icon{width:32px;height:32px}.point-click-shell .pc-verbs button{min-height:48px;gap:0}
 .point-click-shell .pc-character>button:first-child{height:60px;grid-template-columns:34px minmax(0,1fr)}.point-click-shell .pc-dock img.pc-portrait{width:32px;height:56px}.pc-meter{height:15px;font:9px/13px Arial}.point-click-shell .pc-character .pc-vitals{gap:3px}.pc-cash{font-size:9px}.point-click-shell .pc-dock .pc-cash img.pc-icon{width:15px;height:14px}
 .pc-sentence{font-size:11px}.pc-bookmark{right:18%;top:8px}.point-click-shell .location-world .scene-canvas{width:calc(max(540px,150cqh)*var(--scene-scale,1))}
}
@media(max-height:480px) and (orientation:landscape){.point-click-shell .pc-dock{grid-template-columns:1fr 1.2fr;grid-template-rows:65px 20px}.pc-menu{border-top:0;border-left:1px solid #725734}.point-click-shell .pc-verbs img.pc-icon{width:30px;height:30px}.point-click-shell .pc-place{height:35px}.point-click-shell.mobile-shell{grid-template-rows:35px auto minmax(0,1fr) auto}}
@media(prefers-reduced-motion:reduce){.pc-feedback{animation:none;outline:1px solid #c5a066}.point-click-shell .pc-possession:active img,.point-click-shell .pc-command:active img{transform:none}}
@media(max-height:540px) and (orientation:landscape){
 .point-click-shell.mobile-shell:has(#modal[open]){grid-template-rows:0 0 minmax(0,1fr) 0}
 .point-click-shell:has(#modal[open])>.pc-place,.point-click-shell:has(#modal[open])>.pc-dock{visibility:hidden;min-height:0;height:0;padding:0;overflow:hidden}
 .point-click-shell:has(#modal[open])>.game-workspace{grid-row:3;min-height:0;height:100%}
}

/* Identification stays above the controls at every viewport size. */
.point-click-shell .pc-dock{grid-template-rows:minmax(34px,auto) 84px}
.point-click-shell .pc-sentence{grid-row:1;white-space:normal;min-height:34px;line-height:16px;text-align:center}
.point-click-shell .pc-verbs,.point-click-shell .pc-menu{grid-row:2}
@media(max-width:760px){.point-click-shell .pc-dock{grid-template-rows:minmax(34px,auto) 51px 67px}.point-click-shell .pc-menu{grid-row:3}}
@media(max-height:480px) and (orientation:landscape){.point-click-shell .pc-dock{grid-template-rows:minmax(28px,auto) 65px}.point-click-shell .pc-menu{grid-row:2}}

@media(max-height:480px) and (orientation:landscape){.point-click-shell .pc-character>button:first-child{height:60px;grid-template-columns:40px minmax(0,1fr)}.point-click-shell .pc-dock img.pc-portrait{height:56px;width:36px}}

/* Quality61: single-context room investigation. */
.roomlife-suspect img{float:left;width:80px;max-height:150px;object-fit:contain;image-rendering:pixelated;margin:0 12px 8px 0}.roomlife-suspect:after{content:"";display:block;clear:both}
