.scene-cue{min-height:26px;padding:8px 12px;background:#101a14;border-inline:1px solid #354437;font:11px/1.7 system-ui;color:#c5cfb6;letter-spacing:.04em}.presence-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:7px;background:#d4cf9e;box-shadow:0 0 8px #d4cf9e88}.hotspot-label{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);white-space:nowrap;padding:3px 7px;border-radius:2px;background:#0a110ee8;color:#e1dfcb;font:10px/1.5 system-ui;pointer-events:none}.hotspot.used{opacity:.55}.scene.exploring .hotspot{pointer-events:none;opacity:0}.scene.exploring:after{content:'調べています';position:absolute;bottom:30px;left:50%;transform:translateX(-50%);padding:7px 18px;color:#ece7cc;background:#080e0bcc;z-index:9;font:11px system-ui;letter-spacing:.15em}.scene-world[data-haunting=true]:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 55px #07090866;animation:presence-arrives 1.5s ease-out;z-index:3}@keyframes presence-arrives{from{background:#c8d8ce22;opacity:.2}to{background:transparent;opacity:1}}.scene-world[data-haunting=true] .view-guide{color:#d7d5ac}.journal-card{padding:17px 20px;margin-top:17px}.journal-card h3{font-size:17px;margin:3px 0 13px}.journal-card>.eyebrow,.journal-card>p{display:none}.story-panel .reading-details{border-top:1px solid #3c4939;margin-top:15px;padding-top:14px}.reading-details summary{cursor:pointer;color:#bac5a8;font:12px system-ui}.story-panel .choices{margin-top:18px}.story-panel .choices button{font-size:12px;line-height:1.7}.story-panel .eyebrow{font-size:10px}.evidence-preview{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4/3;padding:0;margin:0 0 13px;overflow:hidden;background:#050907;border:1px solid #58634c;color:#a8b49b;font:11px/1.8 system-ui}.evidence-preview img,.evidence-preview video{width:100%;height:100%;position:absolute;inset:0;object-fit:contain}.evidence-card{padding:10px}.evidence-card p,.evidence-card h3{margin-left:5px;margin-right:5px}.evidence-card .small{min-height:36px;margin:3px}.preview-play{z-index:1;background:#050a08bd;padding:8px 12px;border-radius:25px;color:#ece5cc}.preview-loading{animation:loading-pulse 1s ease-in-out infinite alternate}.evidence-view{background:#030705;padding:8px;min-height:160px;display:grid;place-items:center}.evidence-photo,.evidence-video{max-height:68dvh;width:100%;object-fit:contain}.camera-flash{position:absolute;inset:0;background:#f5f5e6;z-index:12;pointer-events:none;opacity:0}.camera-flash.fired{animation:shutter-flash .28s ease-out}@keyframes shutter-flash{0%{opacity:.75}100%{opacity:0}}.camera-last-shot{display:none;position:absolute;right:0;bottom:14px;width:84px;height:64px;border:1px solid #aaa98a;background:#0c140e;padding:3px;transform:rotate(3deg)}.camera-last-shot img{width:100%;height:100%;object-fit:cover}.camera-last-shot.visible{display:block}.camera-last-shot:after{content:'保存済み';position:absolute;bottom:0;left:0;right:0;background:#0b140de0;font:8px/1.8 system-ui;text-align:center}.camera-key-hint{display:none}@keyframes loading-pulse{to{opacity:.4}}.scene{height:520px;min-height:520px}.reading-details p{font-size:12px;line-height:2}.scene-world canvas{transition:opacity .18s}.game-layout{align-items:start}
@media(max-width:1000px){.scene{height:560px;min-height:560px}.game-layout>section{display:flex;flex-direction:column}.game-layout .story-panel{margin-top:0}.game-top{margin-bottom:13px}}
@media(max-width:640px){.scene{height:clamp(360px,60svh,550px);min-height:360px}.hotspot-label{font-size:9px}.scene-cue{font-size:10px}.tutorial-guide{padding:10px 13px;margin-bottom:14px}.tutorial-guide p{line-height:1.8}.game-top .save-state{font-size:8px}.journal-card{padding:13px 16px}.journal-card h3{font-size:14px}.story-panel{padding:18px}.story-panel h3{font-size:19px}.story-panel>p{font-size:12px}.evidence-card{padding:6px}.evidence-card .small{font-size:10px}.evidence-preview{margin-bottom:8px}.evidence-photo,.evidence-video{max-height:62dvh}.camera-controls{bottom:max(9px,env(safe-area-inset-bottom))}.camera-last-shot{width:61px;height:51px;bottom:17px}.camera-close{min-height:44px}.camera-live{bottom:165px}.camera-message{bottom:125px}.camera-lower{bottom:198px}.viewfinder-corners{bottom:183px}}
.camera-controls .capture-main{position:absolute;left:50%;transform:translateX(-50%);bottom:2px}
@media(prefers-reduced-motion:reduce){.scene-world[data-haunting=true]:after,.preview-loading,.camera-flash.fired{animation:none}}

@media(max-width:640px){#modal:has(.evidence-grid),#modal:has(.evidence-view){width:calc(100vw - 24px);padding:26px 14px}#modal:has(.evidence-grid) h2,#modal:has(.evidence-view) h2{font-size:23px;line-height:1.6;padding-right:24px}.evidence-card .small{min-height:44px}.evidence-card p{font-size:10px;line-height:1.8}}
