/* Медиадетектив — extension of the map's mint / ink / lilac visual system. */
#detective{border:var(--line);border-radius:22px;background:var(--yellow);margin:0 0 18px;box-shadow:4px 4px 0 var(--ink);padding:20px;overflow-wrap:anywhere}#detective h2{font-size:29px;letter-spacing:-1px;margin:3px 0}#detective small,.detective-cases small{font-size:10px;letter-spacing:1px;font-weight:800}#detective p{margin:4px 0 10px;font-size:14px}#detective span:not(.detective-mark){font-size:12px}.detective-pitch{display:flex;gap:18px;align-items:center}.detective-pitch>div{flex:1}.detective-pitch>button{background:var(--ink);color:white;flex-shrink:0}.detective-mark{font-size:50px;line-height:1;font-weight:800;transform:rotate(-16deg)}#detective.detective-active{position:sticky;top:8px;z-index:15;background:#e4dafa;padding:13px 16px}.detective-bar{display:flex;align-items:center;gap:12px}.detective-bar>div{flex:1;min-width:0}.detective-bar strong,.detective-bar small,.detective-bar span:not(.detective-mark){display:block}.detective-bar strong{font-size:17px;margin:3px 0}.detective-bar .detective-mark{font-size:34px}.detective-bar button{font-size:12px;padding:9px 12px}#detective-notice{font-size:12px;margin:0 0 12px}#detective-notice:empty{display:none}.detective-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detective-cases article{border:var(--line);border-radius:16px;padding:16px;background:var(--paper);display:flex;flex-direction:column}.detective-cases article:nth-child(3n+1){background:#e3f6e9}.detective-cases article:nth-child(3n+2){background:#eee7fb}.detective-cases h3{margin:8px 0 0}.detective-cases p{font-size:13px;flex:1}.detective-cases button{font-size:12px}.detective-evidence{padding:0;list-style:none;display:grid;gap:8px}.detective-evidence li{background:var(--paper);border:1px dashed #8a9c93;border-radius:12px;padding:12px;font-size:14px}.detective-evidence .collected{background:#d8f4e3;border-style:solid}.detective-evidence small{display:block;margin:5px 0 0 20px;font-size:11px}.detective-actions{display:flex;gap:10px;flex-wrap:wrap}.detective-verdict{border-top:var(--line);margin-top:22px;padding-top:8px}.detective-verdict .chain-options{display:grid;gap:8px}.detective-verdict button{text-align:left}.detective-feedback:not(:empty){padding:14px;border-left:4px solid #7653a9;background:#eee7fb;line-height:1.6}.detective-resolution{padding:20px;background:var(--mint);border:var(--line);border-radius:16px;font-size:19px;line-height:1.6}#modal-body{overflow-wrap:anywhere}
@media(max-width:600px){#detective{padding:14px;margin-bottom:15px;border-radius:16px}.detective-pitch{gap:10px;flex-wrap:wrap}.detective-pitch .detective-mark{font-size:32px}.detective-pitch>div{min-width:170px}#detective h2{font-size:25px}#detective p{font-size:12px}.detective-pitch>button{width:100%}#detective small{font-size:8px}#detective span:not(.detective-mark){font-size:10px}#detective.detective-active{top:4px;padding:10px}.detective-bar{gap:6px;flex-wrap:wrap}.detective-bar>.detective-mark{display:none}.detective-bar>div{flex-basis:100%}.detective-bar strong{font-size:14px}.detective-bar button{padding:6px 12px;font-size:11px}.detective-cases{grid-template-columns:1fr}.detective-resolution{font-size:16px;padding:14px}.detective-evidence li{font-size:12px}}
