/* Restrained military presentation. Existing alerts, controls and HUD remain active. */
html[data-visual-style="realistic"] {
  --gold: #c6b782;
  --blue: #b1c5cc;
  --ink: #e8e6db;
  --muted: #a3aaa6;
  --panel: rgba(14, 21, 22, .87);
}
html[data-visual-style="realistic"] #main-menu {
  background: linear-gradient(100deg, rgba(9,15,17,.62), rgba(9,15,17,.15));
  backdrop-filter: blur(2px);
}
html[data-visual-style="realistic"] .menu-card {
  border: 1px solid rgba(190,191,163,.25);
  border-top: 3px solid #a89967;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(22,31,31,.94), rgba(9,16,18,.96));
  box-shadow: 0 25px 85px rgba(0,0,0,.45);
}
html[data-visual-style="realistic"] .menu-card h1 {
  color: #e7e5d9;
  font-family: 'Bahnschrift Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .025em;
  line-height: 1.02;
}
html[data-visual-style="realistic"] .menu-card > div > .label { color: #c6b782; letter-spacing: .13em; }
html[data-visual-style="realistic"] .menu-actions > * { border-radius: 2px; }
html[data-visual-style="realistic"] .menu-actions .primary-action { background: #c6b782; color: #171d1c; }
html[data-visual-style="realistic"] .menu-actions .aibiz-return-action,
html[data-visual-style="realistic"] .aibiz-site-cta {
  background: rgba(23,34,35,.9); color: #c7d0c8; border: 1px solid #52615c; box-shadow: none;
}
html[data-visual-style="realistic"] .menu-mode-badge { background: rgba(67,76,65,.18); border-color: #414d43; }
html[data-visual-style="realistic"] .menu-mode-badge strong { color: #c9c4a4; }
html[data-visual-style="realistic"] .hud-card { border-radius: 2px; background-color: rgba(10,17,19,.78); }
html[data-visual-style="realistic"] .menu-status span { background: rgba(104,119,109,.1); border-radius: 2px; }
.graphics-compare { border: 1px solid #7f8877 !important; color: #d6d3bc !important; font-size: 11px !important; }

/* Reuse the live cards; change their hierarchy, spacing and emphasis. */
html[data-visual-style="realistic"] #hud[data-field-layout] { inset: 22px 24px 30px; }
#hud[data-field-layout] .hud-row { display: contents; }
#hud[data-field-layout] .hud-card { position: relative; }
#hud[data-field-layout] .field-hud-group { position: absolute; display: flex; gap: 4px; }
#hud[data-field-layout] .hud-card { min-width: 0; height: auto; min-height: 36px; padding: 6px 9px; border: 0; border-left: 1px solid #bcc9ba26; border-radius: 0; background: linear-gradient(90deg,#101b20c9,#101b206b); backdrop-filter: none; box-shadow: none; font-family: Bahnschrift, 'Segoe UI', sans-serif; }
#hud[data-field-layout] .hud-card span { display: block; color: #b4bdb5; font-size: 9px; font-weight: 500; letter-spacing: .13em; line-height: 1.25; }
#hud[data-field-layout] .hud-card strong { color: #e5e5d9; margin-top: 3px; font-size: 13px; font-weight: 500; line-height: 1.15; text-shadow: 0 1px 3px #0009; }
#hud[data-field-layout] .field-mission { left: 0; top: 0; width: 310px; flex-wrap: wrap; gap: 2px; }
.field-mission-heading { width: 100%; font: 10px Bahnschrift, sans-serif; letter-spacing: .2em; color: #c2b88d; padding: 0 0 9px; text-shadow: 0 1px 3px #000; }
#hud[data-field-layout] .field-mission [data-field-value="objective"] { min-width: 150px; max-width: 235px; }
#hud[data-field-layout] .field-mission strong { font-size: 15px; }
#hud[data-field-layout] .field-status { top: 0; right: 0; }
#hud[data-field-layout] .field-status .hud-card { min-width: 54px; }
#hud[data-field-layout] .field-operations { top: 79px; left: 0; }
#hud[data-field-layout] .field-radio { top: 125px; left: 0; max-width: 340px; flex-wrap: wrap; }
#hud[data-field-layout] .field-operations .hud-card, #hud[data-field-layout] .field-radio .hud-card { background: #101b2061; border-color: #bcc9ba17; }
#hud[data-field-layout] .field-operations strong, #hud[data-field-layout] .field-radio strong { font-size: 11px; }
#hud[data-field-layout] .field-vitals { bottom: 0; left: 0; align-items: flex-end; }
#hud[data-field-layout] [data-field-value="health"] { width: 124px; min-height: 75px; border-left: 2px solid #bfc5a2; padding: 7px 12px 12px; background: linear-gradient(90deg,#111c20d9,#111c2078); }
#hud[data-field-layout] #health { font-size: 36px; letter-spacing: -.04em; margin-top: 4px; }
#hud[data-field-layout] [data-field-value="health"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: #d4d5b1; transform-origin: left; transform: scaleX(var(--field-health,1)); }
#hud[data-field-layout] .health-critical { border-left-color: #d56c56; }
#hud[data-field-layout] .health-critical #health { color: #f09b84; }
#hud[data-field-layout] .health-critical::after { background: #e5826c; }
#hud[data-field-layout] .field-weapon { bottom: 0; right: 0; width: 234px; flex-direction: column; gap: 0; }
#hud[data-field-layout] .field-weapon .hud-card { padding: 5px 12px; text-align: right; border-left: 0; border-right: 2px solid #bec7b975; background: linear-gradient(270deg,#111c20d9,#111c2070); }
#hud[data-field-layout] .field-weapon [data-field-value="weapon"] span { display: none; }
#hud[data-field-layout] #weapon { font-size: 12px; letter-spacing: .14em; }
#hud[data-field-layout] .field-weapon [data-field-value="ammo"] { min-height: 50px; padding-bottom: 9px; }
#hud[data-field-layout] #ammo { font-size: 28px; letter-spacing: .02em; }
#hud[data-field-layout] .field-long-ammo #ammo { font-size: 12px; line-height: 1.45; }
#hud[data-field-layout] .ammo-low #ammo { color: #ead298; }
#hud[data-field-layout] .ammo-empty #ammo { color: #ef9b87; }
#hud[data-field-layout] .field-powers { bottom: 0; left: 50%; transform: translateX(-50%); width: 320px; justify-content: center; flex-wrap: wrap; gap: 3px; }
#hud[data-field-layout] .field-powers .hud-card { min-width: 88px; text-align: center; padding: 5px 8px; border: 0; background: #111c208c; }
#hud[data-field-layout] .field-powers .hud-card strong { font-size: 13px; }
#hud[data-field-layout] .field-powers .tactical { flex-basis: 100%; min-height: 27px; padding: 4px; }
#hud[data-field-layout] .field-powers .tactical span { display: none; }
#hud[data-field-layout] .field-powers .tactical strong { font-size: 11px; letter-spacing: .02em; }
#hud[data-field-layout] .field-alerts { top: 0; left: 50%; transform: translateX(-50%); max-width: 270px; flex-direction: column; align-items: stretch; }
#hud[data-field-layout] .field-alerts .chain-card { align-self: center; min-width: 82px; text-align: center; }
#hud[data-field-layout] .field-alerts .chain-card.field-idle { display: none; }
#hud[data-field-layout] .boss-compass-cue { position: relative; top: auto; left: auto; transform: none; align-self: center; min-height: 24px; border-radius: 2px; box-shadow: none; text-shadow: none; font-size: 10px; }
#hud[data-field-layout] .field-performance { right: 0; top: 55px; }
#hud[data-field-layout] .field-performance .hud-card { min-height: 25px; padding: 4px 8px; background: #101b2044; text-align: right; }
#hud[data-field-layout] .field-performance span { display: none; }
#hud[data-field-layout] #fps { font-size: 10px; color: #adb8b2; }
html:has(#hud[data-field-layout]) #powers-hint { display: none; }
html:has(#hud[data-field-layout]) #warmup-drill { top: auto; bottom: 133px; border: 1px solid #b8c5b044; border-radius: 2px; background: #132021c9; box-shadow: none; font-size: 10px; }
html:has(#hud[data-field-layout]) #look-hint { bottom: 179px; border-radius: 2px; font-size: 10px; }
html:has(#hud[data-field-layout]) #toast { bottom: 225px; max-width: min(480px,80vw); border-radius: 2px; background: #142022e3; box-shadow: none; font-size: 12px; }
html:has(#hud[data-field-layout]) .aibiz-site-cta { bottom: 6px; left: 24px; padding: 2px 0; border: 0; background: transparent; color: #b0b7ad; font-size: 9px; opacity: .7; }
html:has(#hud[data-field-layout]) #perf-toggle { right: 24px; bottom: 5px; min-height: 20px; padding: 3px 6px; font-size: 9px; border-radius: 0; background: #101b2066; border-color: #53615c; box-shadow: none; }
@media(max-width:900px){
  html[data-visual-style="realistic"] #hud[data-field-layout] { inset: 16px 16px 29px; }
  #hud[data-field-layout] .field-powers { width: 255px; }
  #hud[data-field-layout] .field-powers .hud-card { min-width: 73px; padding: 4px; }
  #hud[data-field-layout] .field-weapon { width: 175px; }
  #hud[data-field-layout] .field-alerts { top: 66px; left: auto; right: 0; transform: none; width: 215px; }
}
@media(max-width:600px){
  html[data-visual-style="realistic"] #hud[data-field-layout] { inset: 12px 10px 25px; }
  #hud[data-field-layout] .field-mission { width: 215px; }
  #hud[data-field-layout] .field-mission [data-field-value="objective"] { min-width: 110px; max-width: 135px; }
  #hud[data-field-layout] .field-mission strong { font-size: 12px; }
  #hud[data-field-layout] .field-mission-heading { font-size: 8px; }
  #hud[data-field-layout] .field-status { gap: 1px; }
  #hud[data-field-layout] .field-status .hud-card { min-width: 34px; padding: 4px; }
  #hud[data-field-layout] .field-status strong { font-size: 11px; }
  #hud[data-field-layout] .field-status span { font-size: 7px; }
  #hud[data-field-layout] .field-operations { top: 68px; }
  #hud[data-field-layout] .field-radio { top: 111px; max-width: 210px; }
  #hud[data-field-layout] .field-radio .hud-card,#hud[data-field-layout] .field-operations .hud-card { padding: 4px; }
  #hud[data-field-layout] .field-powers { bottom: 115px; width: 270px; }
  #hud[data-field-layout] .field-weapon { width: 165px; }
  #hud[data-field-layout] [data-field-value="health"] { width: 96px; }
  #hud[data-field-layout] .field-alerts { top: 84px; width: 155px; }
  #hud[data-field-layout] #flight-card { min-width: 0; max-width: 100%; }
  #hud[data-field-layout] #flight-card strong { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
  html:has(#hud[data-field-layout]) #warmup-drill { bottom: 230px; }
  html:has(#hud[data-field-layout]) #look-hint { bottom: 285px; }
  html:has(#hud[data-field-layout]) #toast { bottom: 325px; font-size: 10px; }
}

/* Keep the number-key inventory clear of the absolute field HUD cards. */
#hud[data-field-layout] .numbered-weapon-choices {
  position: absolute; top: 174px; left: 0; right: 0; margin-top: 0;
}
@media(max-width:600px) {
  #hud[data-field-layout] .numbered-weapon-choices { top: 170px; }
}
