/* Physical evidence controls, independent of the casebook layout. */
button,a{touch-action:manipulation}
.sound-options button{display:flex;align-items:center;justify-content:space-between;gap:10px}.sound-options b{font-weight:500;color:#536c3e}.sound-options [aria-pressed="false"] b{color:#827b69}.paper-clue-locked{padding:18px;background:#e6dec8;border:1px dashed #b1a07d;margin:18px 0;font-size:16px;line-height:1.85}.paper-clue-locked button{margin-top:12px;width:100%}.source-note a{color:#42634f;text-decoration:underline}
.witness-portrait.state-change{opacity:1;animation:witness-answer .24s ease-out both}
@keyframes witness-answer{from{opacity:.45}to{opacity:1}}
.weight-exhibit{background:#e6dec8;border:1px solid #c2b693;padding:18px;margin-bottom:20px}
.weight-scale{position:relative;min-height:158px;display:flex;align-items:flex-end;justify-content:center;gap:18px;padding:12px 10px 45px;margin-top:8px}
.scale-box,.scale-crane{position:relative;z-index:1;padding:13px 17px;background:#8d6b45;color:#fff4d5;border:2px solid #5a4932;text-align:center;font-size:14px;line-height:1.6;box-shadow:inset 0 0 0 4px #a68b61}
.scale-crane{background:#b99b51;box-shadow:inset 0 0 0 4px #cdb878;color:#273b30}
.scale-beam{height:9px;background:#32443c;position:absolute;bottom:39px;left:6%;right:6%;box-shadow:0 6px 0 -2px #978555;transition:transform .35s}
.loaded .scale-beam{transform:translateY(3px)}.weight-scale output{position:absolute;bottom:0;font-size:21px;font-weight:600;color:#244039;font-variant-numeric:tabular-nums}
.weight-exhibit .check-btn{width:100%;margin-top:13px}.weight-record{margin:14px 0 6px;font-size:14px;line-height:1.8;border-top:1px dashed #afa17b;padding-top:10px}.weight-exhibit small,.photo-exhibit small{display:block;font-size:12px;color:#686957;line-height:1.8}
.photo-exhibit{background:#e9e0cc;padding:12px;margin-bottom:20px;border:1px solid #c2b693}.photo-view{aspect-ratio:1;background-image:url('assets/photos-case3-v1.webp');background-size:200% 100%;background-position:0 50%;border:7px solid #eee8db;box-shadow:0 2px 8px #312c2b40}
.photo-caption{font-size:15px;text-align:center;padding:12px 0 8px;color:#34483e}.photo-tabs{display:flex;gap:8px;margin:5px 0 10px}.photo-tabs button{flex:1;min-height:44px;background:#d6cbb1;border:1px solid #a59672;font-size:14px}.photo-tabs button.active{background:#314c41;color:#f2ebd5}
.photo-view{max-height:330px}.menu-options{display:grid;gap:9px;margin:18px 0}.menu-options button{min-height:44px;text-align:left;padding:12px 16px;background:#e7dfca;border:1px solid #c2b493;font-size:16px}.comparison-result{border-left:3px solid #45634c;padding:13px 16px;background:#dfe4d3;line-height:1.9;font-size:16px}
#scene:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,#3c4438,#132a28 85%);pointer-events:none}
.title-home{position:absolute;top:22px;left:24px;width:auto;margin:0;pointer-events:auto;z-index:2;background:#172e28d9}.on-title #scene-world{filter:brightness(.87)}
.title-panel .primary{position:relative;z-index:1}.title-panel h1{overflow-wrap:anywhere}.title-number{pointer-events:none}
@media(max-height:500px){.photo-view{max-height:none;aspect-ratio:1}.weight-exhibit{padding:12px}.title-home{top:8px;left:auto;right:12px;min-height:44px}.title-panel h1{font-size:32px}.title-panel{padding:18px 22px}.title-hook{font-size:13px;line-height:1.55}.title-note{font-size:11px}.title-panel .primary{margin-top:12px;margin-bottom:8px}}
@media(max-width:600px) and (min-height:501px){.title-home{top:15px;left:18px}.photo-view{max-height:330px}}
.paper-reward{margin:16px 0;padding:18px 20px;border-left:3px solid #a54b32;background:#e2e8d9;color:#203e37;animation:paperReward .6s ease-out both}.paper-reward>span{display:block;font-size:12px;letter-spacing:.12em}.paper-reward>strong{display:block;font:600 25px/1.5 'Idol Serif',serif;margin:4px 0}.paper-reward p{margin:0;font-size:15px}.reduced .paper-reward{animation:none}@keyframes paperReward{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.paper-reward{animation:none}}
