:root {
  color-scheme: dark;
  font-family:
    "Arial Narrow", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: #ede9dc;
  background: #141c20;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 1px solid #cecabb66;
  background: #171c1edb;
  letter-spacing: 0.12em;
  padding: 16px 25px;
  text-align: left;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover,
button:focus-visible {
  background: #3b4244;
  border-color: #ffba4c;
  outline: none;
}
.primary {
  background: #ffb746;
  color: #171b1d;
  border-color: #ffb746;
  font-weight: 800;
}
.primary:hover {
  background: #ffcf7a;
  color: #171b1d;
}
.primary span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.23em;
  margin-top: 7px;
  font-weight: 600;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
#game {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}
[hidden] {
  display: none !important;
}
.tag {
  display: inline-block;
  background: #ffb746;
  color: #172026;
  padding: 5px 8px;
  font-size: 20px;
  font-weight: 900;
}
.eyebrow {
  display: block;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.23em;
  color: #d2c9b6;
}
#loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw;
  background: #141c20;
  z-index: 20;
}
#loading strong {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(60px, 15vw, 200px);
  font-stretch: condensed;
  letter-spacing: -0.04em;
}
#loading .tag {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.1em;
}
#load-status {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #adb7b8;
}
.load-line {
  height: 2px;
  width: 35%;
  background: #ffb746;
  animation: load 1.5s ease-in-out infinite;
}
@keyframes load {
  50% {
    width: 70%;
    opacity: 0.3;
  }
}
/* OUTBOUND preparation: one subject and one decision per full-screen page. */
#menu { position: fixed; inset: 0; display: flex; flex-direction: column; padding: 0 4vw; color: #f1f2ef; background: linear-gradient(90deg,#091015ed,#09101591 45%,#09101524),linear-gradient(0deg,#091015d9,transparent 60%); }
.outbound-header { flex: 0 0 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #ffffff26; }
#menu .port-mark { display: flex; align-items: center; gap: 12px; font: 12px monospace; letter-spacing: .13em; white-space: nowrap; }
.port-mark i { width: 7px; height: 7px; background: #ed5349; }
.outbound-header nav { display: flex; gap: 25px; }
#menu .outbound-header button { border: 0; padding: 12px 0; background: transparent; font-size: 12px; letter-spacing: .04em; }
#menu .preparation-nav button { color: #a5b1b6; border-bottom: 2px solid transparent; }
#menu .preparation-nav [aria-current] { color: #fff; border-bottom-color: #ef584e; }
.selection-page { flex: 1; min-height: 0; }
.home-page { display: flex; flex-direction: column; justify-content: center; }
.outbound-hero { margin: auto 0; padding: 24px 0; }
.outbound-kicker { font-size: 11px; letter-spacing: .18em; color: #c6cece; }
#menu h1 { font: 800 clamp(86px,10vw,152px)/1.1 "Helvetica Neue",Arial,"PingFang SC",sans-serif; letter-spacing: .12em; margin: 20px 0 0 -5px; }
#menu h1 span { display: block; font: 500 clamp(26px,3vw,46px)/1.2 "Arial Narrow",sans-serif; letter-spacing: .23em; margin: 8px 0 0 6px; }
.outbound-hero > p { font-size: 13px; letter-spacing: .12em; margin: 23px 0; color: #c1cbcc; }
#menu .primary { background: #e95147; color: white; border-color: #e95147; font-weight: 600; }
#menu .primary:hover { background: #fa6b61; border-color: #fa6b61; }
#prepare-btn { display: flex; justify-content: space-between; width: 310px; align-items: center; margin-top: 35px; font-size: 19px; }
#prepare-btn span,#start-btn span { font-size: 23px; line-height: 1; margin: 0; transition: transform .18s; }
#prepare-btn:hover span,#start-btn:hover span { transform: translateX(5px); }
.outbound-hero > .home-caption { font-size: 11px; letter-spacing: .04em; margin: 13px 0 0; }
.profile-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font: 10px monospace; color: #9dacb0; padding: 15px 0; }
#profile-runs { display: flex; gap: 12px; }
#profile-progress { width: 80px; height: 3px; background: #ffffff22; }
#profile-progress i { display: block; height: 100%; background: #ed6258; }
.outbound-footer { display: flex; flex: 0 0 35px; align-items: center; justify-content: space-between; gap: 15px; color: #9ba9ae; font: 9px monospace; letter-spacing: .04em; border-top: 1px solid #ffffff26; }
.subject-page { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 5vw; padding: 26px 0; animation: selection-enter .22s ease both; }
.subject-art { position: relative; min-width: 0; min-height: 0; overflow: hidden; background-color: #152127; }
.operator-art { width: auto; height: 100%; aspect-ratio: 2 / 3; justify-self: center; max-width: 100%; background-image: var(--operator-portrait); background-size: 300% 100%; background-position: 0% center; }
.operator-art::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#0b171bd9); }
.art-caption { position: absolute; z-index: 1; left: 24px; bottom: 22px; font: 9px monospace; letter-spacing: .16em; color: #d4d9d8; }
.subject-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.weapon-art { background: #182229; }
.weapon-art img { object-fit: contain; }
.art-number { position: absolute; top: 23px; left: 24px; color: #e4e8e8; font: 14px monospace; letter-spacing: .16em; }
.subject-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.page-kicker,.detail-kicker { font: 10px monospace; letter-spacing: .17em; color: #b7c5c8; }
.page-kicker { color: #ef8077; }
#menu h2 { font-size: clamp(27px,3vw,40px); letter-spacing: .07em; margin: 10px 0 23px; line-height: 1.2; font-weight: 600; }
.choice-row { display: flex; gap: 8px; }
.choice-row button { flex: 1; min-width: 0; padding: 12px 10px; background: #17232980; border: 1px solid #ffffff30; letter-spacing: 0; }
.choice-row button:hover { background: #334147; }
#menu button[aria-pressed="true"] { border-color: #ee6a60; background: #ec59401c; }
.choice-label { display: grid; gap: 5px; }
.choice-label strong { font-size: 12px; font-weight: 500; }
.choice-label small { font-size: 10px; color: #aab9bd; }
.operator-choice { display: flex; align-items: center; gap: 9px; }
.choice-portrait { width: 34px; height: 46px; flex-shrink: 0; background-image: var(--operator-portrait); background-size: 300% 100%; }
#menu .operator-choice { padding: 7px; }
.selected-details { padding: 25px 0 18px; }
#menu h3 { font-size: clamp(22px,2.1vw,29px); font-weight: 500; letter-spacing: .04em; margin: 10px 0 13px; }
.selected-details p { font-size: 12px; line-height: 1.85; margin: 9px 0; color: #c2cdcf; }
.ability-brief { margin-top: 22px; padding-left: 13px; border-left: 2px solid #e95a4e; }
.ability-brief strong { font-size: 14px; font-weight: 500; }
.subject-stats { display: flex; gap: 35px; border-top: 1px solid #ffffff26; margin: 22px 0 0; padding: 16px 0 0; }
.subject-stats dt { font-size: 10px; color: #9dacb1; }
.subject-stats dd { margin: 7px 0 0; font: 19px monospace; color: #e3e8e5; }
.selected-details .detail-note { font-size: 10px; color: #99abb0; }
.page-actions { display: flex; gap: 12px; margin-top: auto; }
.page-actions button { padding: 14px 18px; font-size: 12px; letter-spacing: .04em; }
.page-actions .primary { flex: 1; text-align: center; }
#start-btn { display: flex; align-items: center; justify-content: space-between; }
#difficulty-choices { display: flex; gap: 8px; margin-top: 18px; }
.difficulty-choice { padding: 9px 14px; font-size: 11px; background: transparent; letter-spacing: .04em; }
.selected-details .mission-objective { color: #e1e7e6; font-size: 11px; }
.mission-objective strong { font-weight: 500; }
#mission-record { color: #9caaae; font: 9px/1.7 monospace; margin-top: 13px; }
#mission-record strong { display: block; font-weight: 400; color: #c0ccce; }
.deployment-final { margin-top: auto; }
#deployment-summary { display: block; font-size: 10px; line-height: 1.8; color: #b6c4c7; margin-bottom: 12px; }
#menu button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
kbd { font-family: monospace; display: inline-flex; justify-content: center; align-items: center; border: 1px solid #aec8bd66; border-radius: 2px; }
#loading { background: #0c151b; }
#loading .tag { background: #eb4e45; color: #fff; }
#loading strong { font-family: "Helvetica Neue","PingFang SC",sans-serif; font-weight: 800; letter-spacing: .1em; margin: 12px 0; }
.load-line { background: #eb4e45; }
.study-credit { font-size: 10px !important; color: #98a8ac !important; border-top: 1px solid #ffffff22; padding-top: 12px; }
@keyframes selection-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 701px) and (max-height: 680px) {
 .outbound-header { flex-basis: 62px; } .subject-page { gap: 3vw; padding: 16px 0; } #menu h2 { margin: 7px 0 13px; font-size: 29px; } .selected-details { padding: 16px 0 10px; } #menu h3 { font-size: 23px; margin: 7px 0 8px; } .ability-brief { margin-top: 13px; } .subject-stats { margin-top: 13px; padding-top: 10px; gap: 24px; } .selected-details p { font-size: 11px; line-height: 1.7; } #difficulty-choices { margin-top: 12px; } #mission-record { margin-top: 8px; } .outbound-footer { flex-basis: 29px; }
}
@media (max-width: 1000px) and (min-width: 701px) { #menu { padding: 0 3vw; } .subject-page { gap: 3vw; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); } .outbound-header { gap: 16px; } .outbound-header nav { gap: 18px; } .choice-row { gap: 5px; } .choice-portrait { width: 25px; height: 39px; } .operator-choice { gap: 5px; } .choice-label strong { font-size: 11px; } .choice-label small { font-size: 9px; } }
@media (max-width: 700px) {
 #menu { padding: 0 20px; } .outbound-header { flex: 0 0 94px; position: relative; align-items: flex-start; padding-top: 9px; gap: 10px; } #menu .port-mark { font-size: 10px; gap: 8px; } .outbound-header nav { gap: 20px; } .preparation-nav { position: absolute; left: 0; bottom: 0; right: 0; justify-content: space-between; } #menu .outbound-header button { font-size: 11px; } .help-nav { margin-left: auto; }
 .subject-page { display: flex; flex-direction: column; overflow-y: auto; padding: 16px 0; gap: 18px; scrollbar-width: thin; }
 .subject-art { flex: 0 0 180px; width: 100%; } .operator-art { width: 120px; height: auto; align-self: center; } .subject-copy { flex: 1; justify-content: flex-start; }
 .art-caption { left: 12px; bottom: 12px; font-size: 7px; letter-spacing: .08em; } .art-number { top: 13px; left: 13px; font-size: 11px; }
 #menu h2 { font-size: 26px; margin: 7px 0 13px; } .page-kicker { font-size: 9px; } .choice-row { gap: 6px; } .choice-row button { padding: 10px 7px; } .choice-label strong { font-size: 11px; } .choice-label small { font-size: 9px; } .choice-portrait { width: 27px; height: 38px; } .operator-choice { gap: 6px; }
 .selected-details { padding: 18px 0 12px; } #menu h3 { font-size: 23px; margin: 8px 0 10px; } .selected-details p { font-size: 11px; line-height: 1.7; } .ability-brief { margin-top: 15px; } .subject-stats { margin-top: 15px; padding-top: 12px; justify-content: space-between; gap: 10px; } .subject-stats dd { font-size: 17px; }
 .page-actions button { padding: 13px; font-size: 11px; } .outbound-footer { flex-basis: 33px; font-size: 8px; } .outbound-footer span:last-child { display: none; }
 #menu h1 { font-size: 94px; } #menu h1 span { font-size: 31px; } #prepare-btn { width: 100%; } .outbound-kicker { font-size: 10px; letter-spacing: .1em; } .profile-strip { gap: 12px; font-size: 9px; }
}
.panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, 90vw);
  max-height: 90vh;
  overflow: auto;
  background: #111b20f5;
  box-shadow: 0 20px 120px #0008;
  border-top: 3px solid #ffb746;
  padding: 32px;
  z-index: 15;
  backdrop-filter: blur(15px);
}
.panel h2 {
  font-size: 32px;
  margin: 13px 0 24px;
  font-weight: 800;
}
.panel button {
  display: block;
  width: 100%;
  margin-top: 10px;
}
.panel p {
  font-size: 13px;
  line-height: 1.9;
  color: #bec9c6;
}
.panel label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #ffffff1a;
  font-size: 13px;
}
.panel select {
  background: #273337;
  color: #f0eadd;
  border: 1px solid #ffffff30;
  padding: 8px;
  font-size: 12px;
}
.panel input {
  accent-color: #ffb746;
  width: 54%;
}
.panel input[type="checkbox"] { width: 20px; height: 20px; }
.panel output { color: #a8bab6; font: 11px monospace; margin-left: 6px; }
.panel dl {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 15px;
  font-size: 12px;
}
.panel dt {
  font-family: monospace;
  color: #ffbd5b;
}
.panel dd {
  margin: 0;
}
#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  text-shadow: 0 2px 3px #101614bb;
}
.objective {
  position: absolute;
  top: 25px;
  left: 28px;
  border-left: 2px solid #ffb746;
  padding: 0 0 0 12px;
}
.objective strong {
  font-size: 19px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-weight: 800;
}
.objective > div {
  font-family: monospace;
  letter-spacing: 0.17em;
  font-size: 11px;
  color: #c8c3b3;
}
#compass {
  position: absolute;
  top: 15px;
  left: 30%;
  width: 40%;
  height: 47px;
  overflow: hidden;
  font-family: monospace;
  color: #d8d1c4;
}
.compass-center {
  position: absolute;
  top: 23px;
  left: 50%;
  color: #ffbb57;
  font-size: 14px;
}
#bearing {
  position: absolute;
  inset: 0;
  font-size: 10px;
  white-space: nowrap;
}
#bearing span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  height: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dbd4c26e;
}
#compass-markers {
  position: absolute;
  inset: 30px 0 0;
  font-size: 10px;
  color: #ffbe5a;
}
#compass-markers span {
  position: absolute;
  transform: translateX(-50%);
}
#world-markers {
  position: absolute;
  inset: 0;
}
.world-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  text-align: center;
  color: #ffc771;
  font-family: monospace;
  font-size: 10px;
  line-height: 1.7;
}
.world-marker:before {
  content: "◇";
  display: block;
  font-size: 20px;
  line-height: 1.1;
}
.world-marker.cut {
  color: #9fc2b7;
}
.health {
  position: absolute;
  left: 30px;
  bottom: 29px;
  display: grid;
  grid-template-columns: 140px 25px;
  gap: 8px;
  font-family: monospace;
  font-size: 12px;
}
.health > .eyebrow {
  grid-column: 1/-1;
}
.health-track {
  height: 7px;
  background: #edebdf22;
  align-self: center;
}
.health-track i {
  display: block;
  height: 100%;
  background: #e5e2d2;
  width: 100%;
  transition: width 0.15s;
}
.ammo {
  position: absolute;
  right: 30px;
  bottom: 26px;
  text-align: right;
  font-family: monospace;
  min-width: 160px;
}
.ammo > div:first-child {
  display: flex;
  justify-content: end;
  align-items: baseline;
  gap: 13px;
}
.ammo strong {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 76px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.ammo #reserve-number {
  font-size: 14px;
}
#ammo-ticks {
  display: flex;
  justify-content: end;
  gap: 2px;
  margin: 7px 0 8px;
}
#ammo-ticks i {
  width: 3px;
  height: 9px;
  background: #eee8da;
}
#ammo-ticks i.empty {
  opacity: 0.2;
}
.ammo .eyebrow {
  font-size: 9px;
  letter-spacing: 0.24em;
}
.ammo small {
  display: block;
  height: 14px;
  margin-top: 5px;
  color: #ffbf65;
  font-size: 10px;
}
#crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  opacity: 0.8;
}
#crosshair i {
  position: absolute;
  background: #e5e5d8;
  box-shadow: 0 0 2px #0008;
}
#crosshair i:nth-child(1) {
  width: 6px;
  height: 1px;
  left: -13px;
  top: 0;
}
#crosshair i:nth-child(2) {
  width: 6px;
  height: 1px;
  left: 7px;
  top: 0;
}
#crosshair i:nth-child(3) {
  width: 1px;
  height: 5px;
  left: 0;
  top: -12px;
}
#crosshair i:nth-child(4) {
  width: 1px;
  height: 5px;
  left: 0;
  top: 8px;
}
#hitmarker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  opacity: 0;
  color: #f4e3bf;
}
#damage {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 140px 55px #a4110c;
  opacity: 0;
  transition: opacity 0.1s;
}
#damage-direction {
  position: absolute;
  left: 50%; top: 50%; width: 190px; height: 190px;
  border: 5px solid transparent; border-top-color: #ff775a;
  border-radius: 50%; opacity: 0;
  transform: translate(-50%, -50%);
}
#interaction {
  position: absolute;
  left: 50%;
  top: 61%;
  transform: translateX(-50%);
  font-size: 12px;
  text-align: center;
  min-width: 220px;
  color: #ffcd7c;
}
#interaction > div {
  margin-top: 12px;
  width: 220px;
  height: 3px;
  background: #e5d7bf55;
}
#interaction-fill {
  display: block;
  background: #ffbd55;
  height: 100%;
  width: 0;
}
#notification {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #f5e5c6;
  opacity: 0;
  transition: opacity 0.2s;
}
#help {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 65vw;
  font-family: monospace;
  font-size: 10px;
  color: #d3d5caa6;
  transition: opacity 1s;
}
#performance {
  position: absolute;
  top: 100px;
  right: 20px;
  font: 10px monospace;
  color: #faf2dc;
}
#result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}
#result-stats span {
  background: #ffffff07;
  padding: 12px;
  font-size: 11px;
  color: #bec7c0;
}
#result-stats b {
  display: block;
  font-size: 24px;
  margin-top: 7px;
  color: #f1e8d8;
}
#fatal {
  position: fixed;
  inset: 0;
  background: #172126;
  padding: 8vw;
  white-space: pre-wrap;
  color: #ffcb83;
  z-index: 100;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 750px) {
  .objective {
    top: 16px;
    left: 16px;
  }
  .objective strong {
    font-size: 14px;
  }
  .objective .eyebrow {
    font-size: 8px;
  }
  #compass {
    left: 40%;
    width: 45%;
  }
  .health {
    left: 16px;
    bottom: 20px;
    grid-template-columns: 90px 25px;
  }
  .ammo {
    right: 16px;
    bottom: 15px;
  }
  .ammo strong {
    font-size: 54px;
  }
  #help {
    font-size: 8px;
  }
  .brief {
    margin: 12px 0 20px;
  }
}

/* Compact field instruments stay clear of the sight line. */
.field-status { position: absolute; right: 30px; top: 26px; text-align: right; }
.field-status .eyebrow { font-size: 8px; }
.field-status:has(#mission-timer[hidden]) { display: none; }
#mission-timer { display: block; font: 22px/1.6 monospace; color: #e2d7bd; }
.ability { position: absolute; left: 30px; bottom: 91px; display: flex; gap: 10px; align-items: flex-start; }
.ability > kbd { width: 28px; height: 28px; font-size: 12px; color: #8fd0bf; background: #152c2b80; }
.ability > div { width: 135px; }
#ability-name { display: inline-block; font-size: 11px; font-weight: 500; margin-bottom: 4px; }
#ability-status { float: right; font: 9px/1.6 monospace; color: #a6cbbb; }
.ability-track { height: 3px; background: #c5d3c136; margin-top: 5px; }
#ability-fill { display: block; height: 100%; width: 100%; background: #91c4b1; }
#weapon-slots { position: absolute; bottom: 65px; right: 235px; display: flex; gap: 7px; font: 9px monospace; color: #c9d1c2; }
#weapon-slots > * { padding: 7px 9px; background: #15202580; border: 1px solid #d1d7c43b; }
#weapon-slots .active { border-color: #dfba7c; color: #f3cd8b; }
#weapon-slots kbd { margin-right: 4px; padding: 2px 3px; }
#result { width: min(700px,92vw); padding: 30px 36px; }
#result h2 { font-size: 34px; margin-bottom: 10px; }
#result-copy { margin: 0 0 12px; }
.debrief-loadout { font: 10px monospace; color: #9cb9af; letter-spacing: .04em; border-bottom: 1px solid #9aaba53b; padding-bottom: 14px; }
.debrief-rewards { display: flex; gap: 24px; justify-content: space-between; align-items: center; padding: 20px 0 15px; }
.debrief-score { position: relative; }
.debrief-score .eyebrow,.debrief-xp .eyebrow { font-size: 8px; letter-spacing: .16em; }
.debrief-score > strong { font: 56px/1.2 Impact,"Arial Narrow",sans-serif; letter-spacing: .02em; color: #e1c18a; display: inline-block; }
.record-badge { display: inline-block; margin-left: 15px; font: 10px monospace; color: #94c5b4; }
.debrief-xp { text-align: right; }
.debrief-xp > strong { display: block; font: 22px/1.7 monospace; color: #9bcbb9; }
.debrief-xp > span:last-child { font-size: 10px; color: #9eb2a6; }
.debrief-medals { display: flex; gap: 8px; flex-wrap: wrap; }
.debrief-medals:not(:empty) { margin-bottom: 18px; }
.medal-badge { background: #b6ac7a15; border: 1px solid #b6ac7a38; color: #d4c99f; padding: 6px 9px; font-size: 10px; }
#result-stats { grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 18px; }
#result-stats span { padding: 12px; }
#result-stats b { font-size: 21px; }
#result > button { display: inline-block; width: calc(50% - 5px); }
#result > button:last-child { margin-left: 6px; }
@media (max-width: 750px) {
  .ability { left: 16px; bottom: 77px; }
  .field-status { right: 16px; top: 18px; }
  .field-status .eyebrow { display: none; }
  #mission-timer { font-size: 18px; }
  #weapon-slots { bottom: 122px; right: 16px; }
  #result { padding: 25px; }
  #result h2 { font-size: 27px; }
  .record-badge { display: block; margin: 5px 0 0; }
  .debrief-score > strong { font-size: 46px; }
  .debrief-xp > strong { font-size: 18px; }
  #result-stats { grid-template-columns: 1fr 1fr; }
  #result > button { width: 100%; }
  #result > button:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
#boss-status { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); width: min(370px, 44vw); color: #dfd5bf; text-shadow: 0 1px 4px #000; }
#boss-status > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 7px; }
#boss-status strong { font-size: 11px; letter-spacing: 1px; }
#boss-intent { color: #deaf78; font-size: 10px; }
.boss-track { height: 5px; background: #171f23c9; border: 1px solid #bbb39b44; }
#boss-fill { display: block; width: 100%; height: 100%; background: #c78152; transition: width .08s linear; }
#boss-status.exposed #boss-fill { background: #83c8c5; }
#boss-status.exposed #boss-intent { color: #a9d6d3; }
