/* Vincent Kane — Nachtwerk. Undercover case files and combat HUD. */
#cover-panel{border-top:1px solid #aec5c21c;margin-top:12px;padding-top:11px}
.cover-row{display:flex;align-items:center;gap:8px;font:8px var(--mono);letter-spacing:.07em;color:#9eb8b6;margin:7px 0}
.cover-row>span{width:75px}.cover-row i{height:3px;flex:1;background:#3a4d54}.cover-row b{display:block;height:100%;background:#a6bcaa;transition:width .25s}.cover-row #suspicion-fill{background:#cc8b72}.cover-row strong{min-width:20px;text-align:right;font-weight:400;color:#d4d7c6}
.cover-bottom{display:flex;justify-content:space-between;font:8px var(--mono);letter-spacing:.06em;margin-top:11px;color:#c5b98d}.cover-bottom #cover-status{color:#8faaa6}.cover-bottom .danger{color:#e49a7e!important}
#weapon-status{font:10px var(--mono);letter-spacing:.06em;padding-top:12px;color:#e3c18e}
#case-overlay{position:fixed;inset:0;z-index:16;background:#060e14ba;backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:24px}
#story-dialog{width:min(640px,100%);max-height:calc(100dvh - 48px);overflow-y:auto;padding:32px;background:linear-gradient(135deg,#182830,#112029);border:1px solid #aeb8a73d;border-top:3px solid #b98870;box-shadow:0 40px 150px #000b}
.story-file{display:flex;align-items:center;gap:12px;margin-bottom:30px;font:700 14px Arial;letter-spacing:.15em}.story-file .mark{width:37px;height:37px;font-size:17px}.story-file small{display:block;font:8px var(--mono);color:#98b0ac;letter-spacing:.12em;margin-top:7px}
#story-dialog>.eyebrow{font-size:10px;color:#c9ad84;line-height:1.6}
#story-title{font-size:clamp(25px,3vw,36px);font-weight:500;letter-spacing:-.04em;margin:12px 0 18px;line-height:1.15}
#story-body{font-size:14px;line-height:1.85;color:#c4cfcb;white-space:pre-line}
#story-quote{margin:22px 0;padding:13px 0 13px 18px;border-left:2px solid #b98870;font-size:14px;line-height:1.8;color:#dbc7a6}
#story-options{display:flex;flex-direction:column;gap:10px;margin-top:26px}
.story-option{display:flex;align-items:flex-start;flex-direction:column;gap:6px;min-height:62px;text-align:left;width:100%;padding:15px 19px}
.story-option strong{font-size:13px;font-weight:700;line-height:1.5}.story-option small{font-size:11px;font-weight:400;line-height:1.7;letter-spacing:0;opacity:.8}
.story-option:disabled{opacity:.42;cursor:default;filter:none;transform:none}
.story-tagline{display:block;margin-top:26px;font:9px var(--mono);letter-spacing:.16em;color:#869a93}
#story-entries{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}
#story-entries article{padding:14px;background:#08161e66;border:1px solid #b7c8bd22}
#story-entries b{font-size:12px;color:#ddc89e;line-height:1.7;font-weight:500}
#story-entries p{font-size:11px;line-height:1.8;color:#a6bfbb;margin:6px 0 0}
.touch-actions #touch-fire{grid-column:1;grid-row:1;color:#e0b08b;border-color:#c49c7666}
.touch-actions #touch-reload{grid-column:2;grid-row:1}
.touch-actions #touch-run{grid-column:1;grid-row:2}
.touch-actions #touch-brake{grid-column:1;grid-row:3}
.touch-actions #touch-action{grid-column:2;grid-row:2/4}
@media(pointer:coarse),(max-width:619px){
  #map-wrap{bottom:230px}#speed{bottom:365px}#radio{bottom:240px}#interaction{bottom:190px}
}
@media(max-width:800px){
  #story-dialog{padding:23px}.story-file{margin-bottom:22px}.cover-row{font-size:7px;gap:6px}.cover-row>span{width:65px}.cover-bottom{font-size:7px}
  .game-brand{font-size:10px}#top-actions{gap:7px}#top-actions button{padding:8px}
}
@media(max-width:500px){
  #case-overlay{padding:12px}#story-dialog{padding:22px 19px;max-height:calc(100dvh - 24px)}
  #story-body,#story-quote{font-size:13px;line-height:1.8}#story-title{font-size:28px}.story-option strong{font-size:12px}.story-option small{font-size:10px}
  #story-entries{grid-template-columns:1fr}.story-file{margin-bottom:22px}.intro .eyebrow{font-size:8px;letter-spacing:.12em}
  #top-actions{right:16px;gap:5px}#top-actions button{font-size:8px;padding:8px 7px}.game-brand{font-size:9px;gap:7px}
  #status{top:345px}#weapon-status{font-size:8px;padding-top:8px}.cover-row{font-size:7px}.cover-row>span{width:65px}
}
@media(max-height:480px){
  #story-dialog{padding:18px 24px;max-height:94dvh}.story-file{margin-bottom:15px}#story-title{font-size:26px;margin:8px 0 12px}#story-body{font-size:12px}#story-quote{font-size:12px;margin:14px 0}#story-options{margin-top:16px}.story-option{min-height:52px;padding:10px 15px}.story-tagline{margin-top:14px}
  #cover-panel{margin-top:7px;padding-top:4px}.cover-row{margin:5px 0}.cover-bottom{margin-top:7px}
  #map-wrap{bottom:25px}#speed{bottom:178px}#radio{bottom:145px}#interaction{bottom:auto;top:68px;max-width:37%;left:51%}
  #status{top:67px}#weapon-status{padding-top:7px;font-size:8px}
}
