.detective-view{max-width:850px;margin:auto}.det-panel{background:#fffaf0;color:#24424e;border:2px solid #c7ab68;border-radius:24px;padding:clamp(16px,3vw,28px);font-size:1rem;line-height:1.55}.det-panel h3{color:#17415a;font-size:1.4rem;margin-top:0}.det-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.det-levels small{display:block;font-weight:400;font-size:.875rem;margin-top:8px}.det-panel progress{width:100%;accent-color:#51834c}.det-scene{display:flex;gap:20px;align-items:center;margin:18px 0;padding:12px;background:#f5ead4;border-radius:18px}.det-scene img{width:120px;height:120px;object-fit:contain;border-radius:14px}.det-scene p{font-size:1.2rem;font-weight:700}.det-sentence{font-size:clamp(1.35rem,4vw,1.9rem);line-height:2;color:#173e50;font-weight:700}.det-gap{font:inherit;min-width:66px;border:2px dashed #987442;border-radius:10px;background:#fff;padding:0 8px;color:#663b85;cursor:pointer}.det-answers{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.det-answers button{min-width:64px;font-size:1.25rem}.det-panel button:focus-visible{outline:3px solid #187b90;outline-offset:3px}.det-panel button:disabled{opacity:.6;cursor:default}.det-hint,.det-rules{padding:12px;border-radius:12px;background:#f1e9f7;margin:16px 0}.det-rules summary,.det-hint summary{font-weight:700;cursor:pointer}.det-feedback{display:flex;gap:16px;align-items:center;padding:16px;border-radius:16px;margin:18px 0}.det-feedback img{width:75px;height:90px;object-fit:contain}.det-feedback h3{font-size:1.2rem;margin:0 0 8px}.det-right{background:#e7f2dd;color:#24472b}.det-wrong{background:#ffebc8;color:#654018}.det-results{list-style:none;padding:0;display:grid;gap:12px}.det-results li{padding:16px;border-radius:14px}.det-results p{margin:8px 0}.det-ube{display:block;margin:0 auto;object-fit:contain}.det-panel>.btn{margin:6px 8px 6px 0}@media(max-width:560px){.det-levels{grid-template-columns:1fr}.det-scene{gap:12px}.det-scene img{width:88px;height:88px}.det-scene p{font-size:1rem}.det-feedback{align-items:flex-start;gap:10px}.det-feedback img{width:55px;height:70px}}
/* Locked game uses the same grey treatment as locked mission cards. */
#basherDetective{position:relative}
#basherDetective.packing-locked{background:rgba(223,227,228,.68);border-color:rgba(164,170,173,.68);box-shadow:none;cursor:not-allowed;opacity:1}
#basherDetective.packing-locked>:not(.packing-game-lock){filter:grayscale(1);opacity:.68}
#basherDetective.packing-locked>span:not(.packing-game-lock){background:#dfe3e4;color:#283136}
#basherDetective.packing-locked strong,#basherDetective.packing-locked b{color:#283136}
#basherDetective>.packing-game-lock{position:absolute;top:clamp(35px,12vw,100px);left:50%;transform:translateX(-50%);display:grid;place-items:center;padding:12px;border-radius:50%;background:#fffdf4;font-size:3rem;line-height:1;width:80px;height:80px;box-shadow:0 4px 15px #0002;filter:none;opacity:1}
