/* VALGRAD V8.0.12 — OPERATION IRON LIGHTNING */
/* Dragging the grand-strategy map must never highlight text or images. */
.wt-view,.wt-view *,.va-viewport,.va-viewport *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.wt-view,.va-viewport{touch-action:none;cursor:grab}
.wt-view.drag,.va-viewport.grabbing{cursor:grabbing}
/* Department navigation should not flash its own artwork or rebuild its buttons. */
#playerPortal .v6-player-tabs{min-height:46px;contain:layout style}
#playerPortal #playerRecord{min-height:300px;align-content:start}
#playerPortal #playerRecord>.ia-dashboard,
#playerPortal #playerRecord>.ia-dashboard>.ia-hero,
#commandApp #content>.ia-dashboard{animation:none!important;transition:opacity 0s!important;filter:none!important}
#playerPortal .v6-player-tabs button{transition:background-color .12s ease,border-color .12s ease}
/* Upload directly from a ChatGPT or Midjourney downloaded/pasted artwork. */
.vl-portrait-panel{background:linear-gradient(160deg,#1b3847,#0c202c 85%);border:1px solid #a78a59;min-width:0;color:#e4d9c6}
.vl-portrait-panel .ia-panel-head{padding:15px 16px 8px;border-bottom:1px solid #89734f77}
.vl-portrait-panel .ia-panel-head h3{font:600 15px Cinzel,Georgia,serif;color:#e8c98d;margin:6px 0}
.vl-portrait-panel .ia-panel-body{padding:16px}
.vl-portrait-drop{min-height:75px;padding:18px 12px;border:2px dashed #997c4b;border-radius:5px;background:#101e2bd6;color:#dbc58f;display:grid;place-items:center;text-align:center;font:600 10px 'IBM Plex Mono',monospace;letter-spacing:.5px;line-height:1.5;outline-offset:3px;cursor:copy}
.vl-portrait-drop:focus-visible,.vl-portrait-drop.vl-dragging{outline:2px solid #e8bc74;background:#344d59}
#vlPortraitFile{display:block;width:100%;margin:12px 0;padding:8px;border:1px solid #907648;background:#101b25;color:#f1ddb3}
.vl-portrait-panel .btn{margin-top:9px;min-height:36px}
.vl-preview{margin:10px 0;max-height:185px;overflow:hidden;text-align:center;border:1px solid #99835766;background:#0c1926}
.vl-preview[hidden]{display:none}
.vl-preview img{max-width:100%;max-height:185px;object-fit:contain}
.vl-feedback{font-size:11px;color:#b7c6c6;line-height:1.7;overflow-wrap:anywhere}
.vl-error{color:#ffd0b9!important}
/* Manual player-specific, Supabase-validated munition counters. */
.vl-munitions{grid-column:1/-1;border:1px solid #a58755;background:linear-gradient(130deg,#1c3946,#0a1f2c 80%);box-shadow:0 8px 22px #0006;padding:21px;margin:0 0 15px;min-width:0}
.vl-mun-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-bottom:13px;border-bottom:1px solid #9b805a70}
.vl-mun-header h3{font:600 clamp(17px,2vw,23px) Cinzel,serif;color:#f2d7a3;letter-spacing:.7px;margin:5px 0 8px}
.vl-mun-header p{font-size:11px;line-height:1.6;color:#b9c9c7;margin:0}
.vl-mun-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:12px;margin:16px 0}
.vl-mun-item{background:#0a1b26;border:1px solid #7e735d;min-width:0;padding:14px;display:flex;flex-direction:column;gap:12px}
.vl-mun-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;line-height:1.5}
.vl-mun-item-head strong{color:#f3deb2;font:600 14px Cinzel,serif;overflow-wrap:anywhere}
.vl-mun-item-head span{color:#a9aeaa;font-size:9px;letter-spacing:.7px}
.vl-mun-numbers{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px}
.vl-mun-numbers>div{display:flex;flex-direction:column;gap:3px;min-width:65px}
.vl-mun-numbers small{font:9px 'IBM Plex Mono',monospace;color:#a8bcc0}
.vl-mun-numbers b{font:600 22px Cinzel,Georgia,serif;color:#e7d2a7}
.vl-mun-numbers em{font-size:12px;font-style:normal;color:#b4b8ad}
.vl-mun-loaded b{color:#e1bd70}
.vl-mun-track{height:6px;background:#314651;overflow:hidden}
.vl-mun-track>div{height:100%;background:#d7b06c;transition:width .15s}
.vl-mun-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.vl-mun-actions button{font-size:9px;flex:1 1 auto;min-width:70px;padding:7px 8px;white-space:nowrap}
.vl-mun-create{border-top:1px solid #8b744e;padding-top:13px;margin-top:12px}
.vl-mun-create summary{font-size:10px;color:#dfc181;cursor:pointer;letter-spacing:.6px}
.vl-mun-create-form{display:grid;grid-template-columns:minmax(145px,2fr) minmax(145px,1fr) minmax(105px,1fr) auto;gap:9px;align-items:end;padding:12px 0}
.vl-mun-create-form label{display:grid;gap:5px;font-size:10px;color:#d5bd86}
.vl-mun-create-form input,.vl-mun-create-form select{width:100%;min-width:0;font-size:12px}
.vl-mun-create-form button{min-height:38px}
@media(max-width:740px){.vl-mun-create-form{grid-template-columns:1fr 1fr}.vl-mun-create-form label:first-child{grid-column:1/-1}.vl-munitions{padding:14px}}
@media(max-width:440px){.vl-mun-create-form{grid-template-columns:1fr}.vl-mun-create-form label:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.vl-mun-track>div{transition:none}}
