* {
  box-sizing: border-box;
}
:root {
  --paper: #f0eddc;
  --muted: #a8afa4;
  --amber: #e3c477;
  --mint: #93bea1;
  --red: #e08070;
  --ink: #111a19;
  --mono: "SFMono-Regular", Consolas, monospace;
  --line: #c5d5c325;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #0c1313;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
button,
a,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}
button {
  color: inherit;
}
.hidden {
  display: none !important;
}
.game-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #111a19;
}
#game {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}
.game-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse, transparent 48%, #0007);
  z-index: 1;
}
body:not(.playing) #game {
  filter: blur(4px) brightness(0.38);
}
.hud {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  background: linear-gradient(#0a1215b5, transparent);
  z-index: 5;
  pointer-events: none;
}
.mission-id {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.mission-id a {
  pointer-events: auto;
  color: var(--paper);
  text-decoration: none;
  font-size: 22px;
}
.mission-id div {
  display: grid;
  gap: 5px;
}
.mission-id span {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 3px;
}
.mission-id b {
  font: 9px var(--mono);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.readouts {
  display: flex;
  gap: 22px;
  font: 15px var(--mono);
}
.readouts > span {
  min-width: 55px;
  white-space: nowrap;
}
.readouts > span::before {
  display: block;
  font: 9px var(--mono);
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 6px;
}
#health::before {
  content: "HEALTH";
}
#ammo::before {
  content: "AMMO";
}
#cores::before {
  content: "OBJECTIVES";
}
#alert::before {
  content: "STATUS";
}
#timer::before {
  content: "TIME";
}
#health {
  color: var(--mint);
}
#ammo {
  color: var(--amber);
}
#alert[data-alert="Alert"],
#alert[data-alert="Camera"] {
  color: var(--red);
}
.hud-button {
  pointer-events: auto;
  border: 1px solid var(--line);
  padding: 12px;
  background: #101c1daa;
  font: 12px var(--mono);
}
.status-rack {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  pointer-events: none;
}
.radar {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  background: #0d171aaa;
  flex: none;
}
.radar i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 17px solid var(--amber);
  transform-origin: center 12px;
}
.status-copy {
  background: #0b161bc9;
  padding: 10px 14px;
  border-left: 2px solid var(--amber);
}
.status-copy small {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 1.8px;
  color: var(--amber);
  margin-bottom: 6px;
}
#statusLine {
  font: 12px var(--mono);
}
.objective-stack {
  display: flex;
  margin-left: auto;
  gap: 15px;
  font: 10px var(--mono);
  color: #a7b3a68a;
}
.objective-stack .current {
  color: var(--amber);
}
.objective-stack .done {
  color: var(--mint);
  text-decoration: line-through;
}
.mission-panel {
  position: absolute;
  z-index: 12;
  background: #111a19f7;
  border: 1px solid #b4c4b333;
  box-shadow: 0 32px 120px #0009;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.briefing {
  width: min(1000px, calc(100% - 64px));
}
.dossier-top,
.dossier-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px var(--mono);
  letter-spacing: 1.5px;
  padding: 20px 32px;
  color: var(--muted);
}
.dossier-top {
  border-bottom: 1px solid var(--line);
}
.dossier-top b {
  color: var(--amber);
  border: 1px solid #e3c47755;
  padding: 5px 8px;
  font-size: 8px;
}
.dossier-bottom {
  border-top: 1px solid var(--line);
  font-size: 8px;
  padding: 16px 32px;
}
.briefing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.briefing-copy {
  padding: 38px 36px 28px;
}
.kicker {
  color: var(--amber);
  font: 10px var(--mono);
  letter-spacing: 1.5px;
  margin: 0 0 22px;
}
h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  margin: 0;
  font-weight: 900;
  letter-spacing: -2px;
}
h1 > span:first-child {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 8px;
  margin-bottom: 12px;
}
.title-rule {
  display: block;
  width: 54px;
  height: 3px;
  background: var(--amber);
  margin-top: 25px;
}
h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 14px;
}
.brief {
  font-size: 18px;
  line-height: 1.4;
  margin: 24px 0 12px;
}
.description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.objectives {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 13px;
  font-size: 13px;
}
.objectives b {
  font: 10px var(--mono);
  color: var(--amber);
  margin-right: 15px;
}
.mission-options {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 16px;
}
.mission-options label {
  font: 8px var(--mono);
  color: var(--muted);
  letter-spacing: 1px;
  display: grid;
  gap: 8px;
}
select {
  background: #1c2824;
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 7px 24px 7px 9px;
  font-size: 12px;
}
.best {
  font: 9px var(--mono);
  color: var(--muted);
  padding-bottom: 8px;
}
.primary {
  width: 100%;
  background: var(--amber);
  color: #17211d;
  border: 0;
  font: 700 12px var(--mono);
  padding: 18px 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  display: flex;
  justify-content: space-between;
}
.primary:hover {
  background: #f4d998;
}
.secondary {
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 1px solid var(--line);
  margin-top: 10px;
  font: 11px var(--mono);
}
.controls-note {
  font: 9px/1.8 var(--mono);
  color: var(--muted);
  margin: 16px 0 0;
}
.mobile-note {
  display: none;
}
.intel-panel {
  border-left: 1px solid var(--line);
  padding: 38px 30px 24px;
  background:
    repeating-linear-gradient(0deg, #8aab8810 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, #8aab8810 0 1px, transparent 1px 28px),
    #14201e;
}
.intel-heading,
.intel-footer {
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}
#briefMap {
  width: 100%;
  height: auto;
  margin-top: 28px;
}
.map-legend {
  font: 8px var(--mono);
  display: flex;
  justify-content: space-between;
  color: var(--amber);
  gap: 8px;
}
.intel-note {
  font: 11px/1.8 var(--mono);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}
.intel-footer {
  font-size: 8px;
  margin-top: 35px;
}
.live-dot {
  color: var(--mint);
}
.pause-panel,
.result-panel {
  width: min(440px, calc(100% - 32px));
  padding: 28px;
}
.pause-panel .kicker,
.result-panel .kicker {
  margin-bottom: 14px;
}
#tacticalMap {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin: 14px auto;
}
.comfort-settings {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 20px 0;
}
.comfort-settings summary {
  color: var(--amber);
  cursor: pointer;
  font: 12px var(--mono);
}
.controller-help {
  color: var(--muted);
  font: 10px/1.8 var(--mono);
  margin: 14px 0;
}
.controller-active :is(button, input, select, summary):focus {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}
body.controller-active :is(.capture-button, .mouse-status) {
  display: none;
}
body.reduced-motion
  :is(.screen-fx, .emp-fx, .crosshair, .radio-message, .world-marker) {
  animation: none !important;
  transition: none !important;
}
.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 12px var(--mono);
  margin: 18px 0;
}
.setting input[type="range"] {
  width: 125px;
  accent-color: var(--amber);
  touch-action: pan-x;
}
.setting input[type="checkbox"] {
  accent-color: var(--amber);
  width: 18px;
  height: 18px;
}
.setting output {
  font-size: 10px;
  min-width: 32px;
}
.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 25px 0;
}
.mission-stats span {
  font: 22px var(--mono);
}
.mission-stats small {
  display: block;
  font: 9px var(--mono);
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  border: 1px solid #fff6;
  border-radius: 50%;
}
.crosshair i {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 2px;
  height: 2px;
  background: #fff;
}
.crosshair.hit {
  border-color: var(--red);
  transform: translate(-50%, -50%) scale(1.5);
}
.crosshair.reloading {
  border: 2px dashed var(--amber);
}
.screen-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(
      ellipse,
      transparent 45%,
      rgba(180, 46, 30, calc(var(--damage-flash, 0) * 0.6))
    ),
    linear-gradient(
      rgba(239, 219, 154, calc(var(--photo-flash, 0) * 0.7)),
      rgba(239, 219, 154, calc(var(--photo-flash, 0) * 0.7))
    );
}
.prompt {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  font: 12px var(--mono);
  padding: 12px 18px;
  background: #0b171de8;
  border: 1px solid var(--line);
  opacity: 0;
  text-align: center;
  pointer-events: none;
  z-index: 5;
  max-width: 90%;
  white-space: nowrap;
}
.prompt.visible {
  opacity: 1;
}
.desktop-hint {
  position: absolute;
  right: 28px;
  bottom: 84px;
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: #dde3dba8;
  z-index: 4;
}
.desktop-hint span {
  margin: 0 8px;
  color: var(--amber);
}
.detection {
  position: absolute;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: #ffffff25;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}
.detection.active {
  opacity: 1;
}
.detection span {
  display: block;
  height: 3px;
  background: var(--amber);
  width: var(--suspicion, 0%);
}
.detection small {
  display: block;
  text-align: center;
  font: 8px var(--mono);
  letter-spacing: 2px;
  margin-top: 6px;
  color: var(--amber);
}
.touch-zone,
.touch-fire,
.touch-action,
.touch-reload,
.control-field {
  display: none;
  position: absolute;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.control-field {
  z-index: 6;
  top: 30%;
  bottom: 0;
}
.move-field {
  left: 0;
  width: 45%;
}
.look-field {
  right: 0;
  width: 55%;
}
.touch-zone {
  width: 114px;
  height: 114px;
  border: 1px solid #edf0d744;
  border-radius: 50%;
  background: #0b181e66;
  z-index: 7;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: calc(24px + env(safe-area-inset-left));
}
.touch-zone em {
  position: absolute;
  inset: 26px;
  border: 1px solid #edf0d729;
  border-radius: 50%;
  pointer-events: none;
}
.touch-zone span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  background: #d8c99999;
  border: 1px solid #f1e5bc88;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.touch-zone b {
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  text-align: center;
  font: 8px var(--mono);
  letter-spacing: 2px;
  color: #e1e8dbaa;
  pointer-events: none;
}
.touch-zone.look {
  left: auto;
  right: calc(24px + env(safe-area-inset-right));
  background: #0b181e44;
}
.touch-zone.look span {
  width: 24px;
  height: 24px;
  opacity: 0.45;
}
.turn-button {
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 40px;
  border: 0;
  background: transparent;
  color: #edf0d7c9;
  font-size: 30px;
  touch-action: none;
  z-index: 1;
}
.turn-left {
  left: 0;
}
.turn-right {
  right: 0;
}
.touch-fire,
.touch-action,
.touch-reload {
  z-index: 8;
  border: 1px solid #e8edcd66;
  color: var(--paper);
  font: 700 11px var(--mono);
  border-radius: 50%;
  background: #1a2b30cc;
}
.touch-fire {
  right: calc(30px + env(safe-area-inset-right));
  bottom: calc(162px + env(safe-area-inset-bottom));
  width: 72px;
  height: 72px;
  border-color: #e3c477aa;
  background: #796530b8;
}
.touch-action {
  right: calc(120px + env(safe-area-inset-right));
  bottom: calc(150px + env(safe-area-inset-bottom));
  width: 62px;
  height: 62px;
}
.touch-action.ready {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 0 22px #e3c47733;
}
.touch-reload {
  right: calc(152px + env(safe-area-inset-right));
  bottom: calc(45px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  font-size: 23px;
}
.fallback {
  position: absolute;
  z-index: 20;
  top: 20px;
  left: 20px;
}
body:not(.playing)
  :is(
    .hud,
    .status-rack,
    .crosshair,
    .prompt,
    .desktop-hint,
    .detection,
    .touch-zone,
    .touch-fire,
    .touch-action,
    .touch-reload,
    .control-field
  ) {
  display: none !important;
}
@media (pointer: coarse) {
  .touch-zone,
  .touch-fire,
  .touch-action,
  .touch-reload,
  .control-field {
    display: block;
  }
  .desktop-note,
  .desktop-hint {
    display: none;
  }
  .mobile-note {
    display: block;
  }
  .objective-stack {
    display: none;
  }
  .hud {
    padding: 12px max(14px, env(safe-area-inset-right)) 0
      max(14px, env(safe-area-inset-left));
    gap: 12px;
  }
  .mission-id div {
    display: none;
  }
  .mission-id {
    flex: 0;
  }
  .readouts {
    margin-left: auto;
    margin-right: auto;
    gap: 16px;
    font-size: 12px;
  }
  .readouts > span {
    min-width: 40px;
  }
  .readouts > span::before {
    font-size: 7px;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
  }
  .hud-button {
    padding: 10px;
  }
  .hud-button span {
    display: none;
  }
  .status-rack {
    left: 14px;
    right: 14px;
    top: 64px;
    bottom: auto;
    align-items: start;
    gap: 7px;
  }
  .radar {
    width: 30px;
    height: 30px;
  }
  .status-copy {
    padding: 7px 10px;
  }
  .status-copy small {
    display: none;
  }
  #statusLine {
    font-size: 10px;
  }
  .detection {
    top: 110px;
  }
  .prompt {
    bottom: 260px;
    font-size: 10px;
    padding: 9px 12px;
  }
  .game-shell::after {
    background: radial-gradient(ellipse, transparent 60%, #0005);
  }
}
@media (max-width: 720px) {
  .briefing {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .briefing-grid {
    display: block;
  }
  .intel-panel {
    display: none;
  }
  .briefing-copy {
    padding: 24px;
  }
  .dossier-top {
    padding: 14px 24px;
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .dossier-bottom {
    padding: 12px 24px;
    font-size: 7px;
  }
  h1 {
    font-size: clamp(32px, 9vw, 54px);
  }
  .kicker {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .brief {
    margin-top: 18px;
    font-size: 17px;
  }
  .description {
    font-size: 13px;
  }
  .objectives {
    font-size: 12px;
    gap: 12px;
    margin: 20px 0;
  }
  .title-rule {
    margin-top: 19px;
  }
  .readouts {
    gap: 12px;
  }
  .readouts #timer {
    display: none;
  }
  .readouts > span {
    min-width: 36px;
  }
  .readouts > span::before {
    font-size: 6px;
  }
  .hud {
    gap: 8px;
  }
  .mission-options {
    margin-top: 18px;
  }
  .objective-stack {
    display: none;
  }
  .status-rack {
    left: 12px;
    right: 12px;
  }
  .hud .mission-id b {
    display: none;
  }
}
@media (pointer: coarse) and (orientation: landscape) {
  .touch-zone {
    width: 94px;
    height: 94px;
    bottom: calc(19px + env(safe-area-inset-bottom));
  }
  .touch-fire {
    bottom: calc(130px + env(safe-area-inset-bottom));
    width: 60px;
    height: 60px;
  }
  .touch-action {
    right: calc(112px + env(safe-area-inset-right));
    bottom: calc(125px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
  .touch-reload {
    right: calc(132px + env(safe-area-inset-right));
    bottom: calc(33px + env(safe-area-inset-bottom));
  }
  .prompt {
    bottom: 32px;
  }
  .status-rack {
    top: 58px;
    max-width: 60%;
  }
  .status-copy {
    max-width: calc(100% - 38px);
  }
  .briefing {
    width: calc(100% - 40px);
  }
  .briefing-grid {
    display: block;
  }
  .intel-panel {
    display: none;
  }
  .briefing-copy {
    padding: 20px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }
  .briefing-copy .kicker,
  .briefing-copy h1,
  .briefing-copy .brief,
  .briefing-copy .description {
    grid-column: 1;
  }
  .briefing-copy .objectives {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }
  .briefing-copy .mission-options {
    grid-column: 2;
    grid-row: 4;
    margin: 0 0 12px;
  }
  .briefing-copy .primary {
    grid-column: 2;
    grid-row: 5;
  }
  .briefing-copy .controls-note {
    grid-column: 1 / -1;
    margin: 12px 0 0;
  }
  h1 {
    font-size: 34px;
  }
  .briefing-copy .brief {
    font-size: 15px;
    margin: 15px 0 8px;
  }
  .dossier-top {
    padding: 12px 28px;
  }
  .dossier-bottom {
    display: none;
  }
  .title-rule {
    margin-top: 15px;
  }
  .pause-panel {
    max-height: calc(100dvh - 20px);
    padding: 20px;
  }
  #tacticalMap {
    width: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.playing) #game {
    filter: brightness(0.3);
  }
}
@media (pointer: coarse) {
  .readouts {
    font-size: 14px;
  }
  .readouts > span::before {
    font-size: 8px;
  }
  #statusLine {
    font-size: 11px;
  }
}
/* Blackglass / facility overhaul */
:root {
  --paper: #f1ecdc;
  --muted: #afbdc4;
  --amber: #e8c98b;
  --mint: #96d4bd;
  --ink: #12222d;
  --line: #d5e1df30;
}
.game-shell {
  background: #142737;
}
.game-shell::after {
  background: linear-gradient(
    0deg,
    #07111a70,
    transparent 22%,
    transparent 76%,
    #07111a70
  );
}
body:not(.playing) #game {
  filter: none;
}
.game-shell:has(.pause-panel:not(.hidden)) #game,
.game-shell:has(.result-panel:not(.hidden)) #game {
  filter: brightness(0.4) blur(2px);
}
.briefing {
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 435px;
  max-height: calc(100dvh - 40px);
  background: linear-gradient(120deg, #101c29f5, #152836e8);
  border: 1px solid #d5e1df30;
  box-shadow: 0 30px 100px #0005;
  backdrop-filter: blur(14px);
}
.briefing-grid {
  display: block;
}
.briefing-copy {
  padding: 26px 30px 24px;
}
.intel-panel {
  display: none;
}
.dossier-top {
  padding: 17px 30px;
  font-size: 8px;
  letter-spacing: 1px;
}
.dossier-bottom {
  padding: 14px 30px;
  letter-spacing: 1px;
}
.kicker {
  font-size: 9px;
  margin-bottom: 20px;
}
h1 {
  font-size: 47px;
  letter-spacing: -1.5px;
}
h1 > span:first-child {
  font-size: 11px;
  letter-spacing: 7px;
  margin-bottom: 10px;
}
.title-rule {
  margin-top: 18px;
}
.brief {
  font-size: 20px;
  margin: 21px 0 10px;
}
.description {
  font-size: 13px;
  line-height: 1.7;
}
.objectives {
  gap: 14px;
  margin: 22px 0;
}
.objectives li {
  display: flex;
  align-items: start;
  font-size: 13px;
}
.objectives b {
  border: 1px solid #e8c98b40;
  padding: 5px;
  margin-right: 12px;
  font-size: 10px;
  min-width: 26px;
}
.objectives small {
  display: block;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  margin-top: 5px;
}
.mission-options {
  margin-top: 18px;
}
.primary {
  padding: 17px 18px;
  font-size: 11px;
}
.controls-note {
  font-size: 9px;
  color: #a4b5c0;
}
.mission-panel:not(.briefing) {
  background: #11222cf5;
}
.hud {
  padding: 21px 26px;
  gap: 20px;
}
.mission-id {
  flex: 1;
}
.mission-id b {
  font-size: 10px;
  color: #b7cdd4;
}
.readouts {
  gap: 24px;
  font-size: 17px;
}
.readouts > span::before {
  font-size: 8px;
  letter-spacing: 1px;
}
.compass {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 27px;
  font: 12px var(--mono);
  color: #d1dadb;
  letter-spacing: 2px;
}
.hud-button {
  font-size: 11px;
  padding: 11px 13px;
}
.hud-button span {
  display: none;
}
.status-rack {
  bottom: 26px;
  gap: 12px;
  right: auto;
  max-width: 62%;
}
.status-copy {
  background: linear-gradient(90deg, #0d1d28e8, #0d1d2870);
  padding: 12px 20px;
  border-left: 2px solid var(--amber);
}
#statusLine {
  font: 13px/1.5 var(--mono);
  max-width: 460px;
}
.status-copy small {
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.objective-stack {
  display: none;
}
.radar {
  width: 44px;
  height: 44px;
  background: #0d1d28b0;
}
.desktop-hint {
  bottom: 28px;
  right: 26px;
  font: 9px var(--mono);
  line-height: 1.8;
}
.world-marker {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: var(--amber);
  text-shadow: 0 1px 5px #000;
  pointer-events: none;
}
.world-marker::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--amber);
  background: #e8c98b12;
  transform: rotate(45deg);
  margin: 0 auto 10px;
  box-shadow: 0 0 14px #e8c98b18;
}
.radio-message {
  position: absolute;
  z-index: 5;
  top: 91px;
  left: 28px;
  width: min(420px, 38vw);
  padding: 11px 14px;
  color: #dbe5e8;
  background: #0c1e2ce0;
  border-left: 2px solid #8eafb9;
  font: 11px/1.6 var(--mono);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.radio-message.visible {
  opacity: 1;
}
.radio-message b {
  display: block;
  color: #a8c6d2;
  font: 8px var(--mono);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.mouse-status {
  position: absolute;
  z-index: 4;
  bottom: 104px;
  left: 50%;
  transform: translateX(-50%);
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: #bacbd5;
  white-space: nowrap;
  pointer-events: none;
}
.capture-button,
.fullscreen-button {
  position: absolute;
  z-index: 6;
  background: #132936c7;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font: 10px var(--mono);
}
.capture-button {
  right: 27px;
  top: 85px;
}
.fullscreen-button {
  right: 27px;
  top: 128px;
  font-size: 21px;
  padding: 3px 10px;
}
.mouse-help {
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  background: #0002;
  padding: 10px;
  margin: 12px 0;
}
.checkpoint-notice {
  font: 9px var(--mono);
  color: var(--mint);
  margin: 12px 0;
}
.lockdown {
  position: absolute;
  left: 50%;
  top: 78px;
  transform: translateX(-50%);
  z-index: 5;
  color: #ffe3bb;
  background: #7b2e23cd;
  border: 1px solid #e29664;
  font: 12px var(--mono);
  padding: 10px 18px;
  letter-spacing: 1px;
}
.interaction-bar {
  position: absolute;
  left: 50%;
  top: 61%;
  transform: translateX(-50%);
  width: 240px;
  z-index: 5;
  text-align: center;
  pointer-events: none;
}
.interaction-bar small {
  font: 10px var(--mono);
  color: var(--amber);
  text-shadow: 0 1px 4px #000;
}
.interaction-bar > div {
  height: 4px;
  background: #0009;
  margin-top: 12px;
}
.interaction-bar span {
  display: block;
  height: 4px;
  background: var(--amber);
}
.prompt {
  bottom: 140px;
  background: #102331e5;
  font-size: 12px;
  border: 1px solid #bfd8dc40;
  max-width: 80%;
  white-space: normal;
}
.crosshair {
  width: 20px;
  height: 20px;
  border-color: #f3e9c5aa;
}
.aiming .crosshair {
  width: 6px;
  height: 6px;
  border: 0;
}
.aiming .crosshair i {
  left: 2px;
  top: 2px;
}
.detection {
  top: 102px;
}
.touch-aim,
.touch-crouch {
  display: none;
  position: absolute;
  z-index: 8;
  border: 1px solid #e8edcd66;
  background: #132936bd;
  border-radius: 50%;
  color: var(--paper);
  font: 10px var(--mono);
  width: 44px;
  height: 44px;
  touch-action: none;
}
.touch-aim.selected {
  background: var(--amber);
  color: var(--ink);
}
.touch-aim {
  right: calc(150px + env(safe-area-inset-right));
  bottom: calc(90px + env(safe-area-inset-bottom));
}
.touch-crouch {
  left: calc(30px + env(safe-area-inset-left));
  bottom: calc(166px + env(safe-area-inset-bottom));
}
body:not(.playing)
  :is(
    .compass,
    .mouse-status,
    .capture-button,
    .fullscreen-button,
    .radio-message,
    .world-marker,
    .lockdown,
    .interaction-bar,
    .touch-aim,
    .touch-crouch
  ) {
  display: none !important;
}
body[data-mouse-mode="locked"] .mouse-status {
  opacity: 0.5;
}
body[data-mouse-mode="locked"] #game {
  cursor: none;
}
@media (max-width: 1100px) {
  .readouts {
    gap: 15px;
  }
  .compass {
    top: 70px;
    font-size: 10px;
  }
  .mission-id span {
    font-size: 13px;
  }
  .mission-id b {
    font-size: 8px;
  }
  .status-rack {
    max-width: 66%;
  }
}
@media (max-width: 720px) {
  .briefing {
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 24px);
  }
  .briefing-copy {
    padding: 22px 25px;
  }
  .dossier-top {
    padding: 14px 25px;
  }
  .dossier-bottom {
    padding: 12px 25px;
  }
  h1 {
    font-size: clamp(34px, 10vw, 47px);
  }
  .objectives {
    gap: 13px;
  }
  .objectives small {
    font-size: 9px;
  }
  .brief {
    font-size: 19px;
  }
  .status-rack {
    max-width: calc(100% - 24px);
  }
  .hud {
    padding: 12px;
    gap: 12px;
  }
  .compass {
    display: none;
  }
  .mission-id div {
    display: none;
  }
  .readouts {
    font-size: 14px;
    gap: 16px;
  }
  .readouts #timer {
    display: none;
  }
  .capture-button {
    right: 12px;
    top: 63px;
  }
  .fullscreen-button {
    right: 12px;
    top: 103px;
  }
  .radio-message {
    left: 12px;
    top: 64px;
    width: calc(100% - 150px);
    font-size: 10px;
  }
  .mouse-status {
    font-size: 8px;
    max-width: 90%;
    white-space: normal;
    text-align: center;
  }
  .prompt {
    font-size: 10px;
    max-width: 88%;
  }
}
@media (pointer: coarse) {
  .touch-aim,
  .touch-crouch {
    display: block;
  }
  .capture-button,
  .mouse-status,
  .fullscreen-button {
    display: none;
  }
  .hud {
    padding: 12px;
    gap: 12px;
  }
  .mission-id {
    flex: 0;
  }
  .readouts {
    font-size: 15px;
    gap: 16px;
  }
  .readouts > span::before {
    font-size: 7px;
  }
  .compass {
    display: none;
  }
  .status-rack {
    top: 62px;
    bottom: auto;
    left: 12px;
    right: 12px;
    max-width: none;
  }
  .status-copy {
    padding: 7px 10px;
    max-width: calc(100% - 36px);
  }
  #statusLine {
    font-size: 10px;
    line-height: 1.5;
  }
  .radar {
    width: 30px;
    height: 30px;
  }
  .radio-message {
    top: 117px;
    left: 12px;
    width: min(350px, calc(100% - 24px));
    font-size: 10px;
    padding: 8px 10px;
  }
  .detection {
    top: 212px;
  }
  .lockdown {
    top: 107px;
    left: auto;
    right: 12px;
    transform: none;
    font-size: 10px;
    padding: 7px 10px;
  }
  .game-shell:has(.lockdown:not(.hidden)) .radio-message {
    top: 151px;
  }
  .prompt {
    bottom: 245px;
    max-width: 90%;
    font-size: 10px;
  }
  .touch-reload {
    right: calc(164px + env(safe-area-inset-right));
    bottom: calc(28px + env(safe-area-inset-bottom));
  }
}
@media (pointer: coarse) and (orientation: landscape) {
  .briefing {
    width: min(700px, calc(100% - 32px));
    max-height: calc(100dvh - 20px);
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .briefing-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    padding: 20px 24px;
  }
  .briefing-copy .objectives {
    font-size: 12px;
    gap: 9px;
    margin: 0;
  }
  .objectives small {
    font-size: 8px;
  }
  .briefing-copy h1 {
    font-size: 32px;
  }
  .briefing-copy .controls-note {
    font-size: 8px;
  }
  .briefing-copy .mission-options {
    align-self: end;
  }
  .briefing-copy .kicker {
    font-size: 8px;
  }
  .dossier-top {
    padding: 10px 24px;
  }
  .dossier-bottom {
    display: none;
  }
  .radio-message {
    left: 12px;
    top: 100px;
    max-width: 40vw;
    font-size: 9px;
  }
  .status-rack {
    max-width: 65%;
    top: 55px;
  }
  .touch-aim {
    right: calc(128px + env(safe-area-inset-right));
    bottom: calc(62px + env(safe-area-inset-bottom));
    width: 40px;
    height: 40px;
  }
  .touch-crouch {
    bottom: calc(131px + env(safe-area-inset-bottom));
    width: 40px;
    height: 40px;
  }
  .touch-reload {
    right: calc(164px + env(safe-area-inset-right));
    bottom: calc(22px + env(safe-area-inset-bottom));
    width: 40px;
    height: 40px;
  }
  .prompt {
    bottom: 28px;
    max-width: 45%;
    font-size: 9px;
  }
  .lockdown {
    top: 62px;
    right: 12px;
  }
  .game-shell:has(.lockdown:not(.hidden)) .radio-message {
    top: 100px;
  }
  .detection {
    top: 110px;
  }
  .interaction-bar {
    top: 62%;
    width: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .radio-message {
    transition: none;
  }
}
body.touch-layout
  :is(
    .touch-zone,
    .touch-fire,
    .touch-action,
    .touch-reload,
    .touch-aim,
    .touch-crouch,
    .control-field
  ) {
  display: block;
}
body.touch-layout
  :is(
    .mouse-status,
    .capture-button,
    .fullscreen-button,
    .desktop-hint,
    .desktop-note
  ) {
  display: none;
}
body.touch-layout .mobile-note {
  display: block;
}
body.touch-layout .status-rack {
  top: 60px;
  bottom: auto;
  left: 12px;
  right: 12px;
  max-width: 75%;
}
body.touch-layout .status-copy {
  padding: 7px 10px;
}
body.touch-layout #statusLine {
  font-size: 10px;
}
body.touch-layout .status-copy small {
  display: none;
}
body.touch-layout .radio-message {
  top: 120px;
  font-size: 10px;
  max-width: 50%;
}
body.touch-layout .prompt {
  bottom: 245px;
}
body.touch-layout .control-field {
  top: 30%;
  bottom: 0;
}
body.touch-layout .move-field {
  left: 0;
  width: 45%;
}
body.touch-layout .look-field {
  right: 0;
  width: 55%;
}
@media (min-width: 721px) and (max-height: 500px) {
  body.touch-layout .touch-zone {
    width: 94px;
    height: 94px;
    bottom: 19px;
  }
  body.touch-layout .touch-fire {
    bottom: 130px;
    width: 60px;
    height: 60px;
  }
  body.touch-layout .touch-action {
    right: 112px;
    bottom: 125px;
    width: 54px;
    height: 54px;
  }
  body.touch-layout .touch-aim {
    right: 128px;
    bottom: 62px;
    width: 40px;
    height: 40px;
  }
  body.touch-layout .touch-reload {
    right: 164px;
    bottom: 22px;
    width: 40px;
    height: 40px;
  }
  body.touch-layout .touch-crouch {
    bottom: 131px;
    width: 40px;
    height: 40px;
  }
  body.touch-layout .prompt {
    bottom: 26px;
    max-width: 42%;
  }
}

body.touch-layout .touch-reload {
  right: calc(164px + env(safe-area-inset-right));
  bottom: calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 721px) and (max-height: 500px) {
  body.touch-layout .touch-reload {
    bottom: calc(22px + env(safe-area-inset-bottom));
  }
}

@media (pointer: fine) and (max-width: 720px) {
  body:not(.touch-layout) .lockdown {
    top: 142px;
  }
  body:not(.touch-layout) .detection {
    top: 191px;
  }
  .desktop-hint {
    display: none;
  }
}

/* Personal desktop edition */
.menu-button {
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 25px;
  cursor: pointer;
  padding: 0 5px;
}
.loadout-note {
  font: 10px/1.7 var(--mono);
  color: var(--mint);
  margin: 20px 0;
}
#continueButton {
  margin-bottom: 12px;
  background: #9bd0bb;
}
.emp-button {
  position: absolute;
  right: 27px;
  top: 174px;
  z-index: 8;
  background: #123644dc;
  border: 1px solid #8ac7cb88;
  color: #c6efec;
  padding: 10px 12px;
  font: 10px var(--mono);
  cursor: pointer;
}
.emp-button:disabled {
  opacity: 0.45;
  cursor: default;
}
.emp-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  opacity: var(--emp-flash, 0);
  background: radial-gradient(
    ellipse at center,
    transparent 20%,
    #8af8ff88 70%,
    #b6ffff
  );
  box-shadow: inset 0 0 120px #c4ffff;
}
body:not(.playing) .emp-button {
  display: none;
}
@media (pointer: coarse) {
  .emp-button {
    top: 66px;
    right: 12px;
    padding: 8px;
    font-size: 9px;
  }
  .status-rack {
    right: 120px;
  }
  .loadout-note {
    font-size: 9px;
  }
}
body.touch-layout .emp-button {
  top: 66px;
  right: 12px;
  padding: 8px;
  font-size: 9px;
}
body.touch-layout .status-rack {
  right: 120px;
  max-width: 65%;
}
/* Gameplay presentation: quieter overlay, warm instrument accents. */
body.playing .hud {
  background: linear-gradient(#040c1494, #040c1430 65%, transparent);
  text-shadow: 0 1px 5px #0009;
}
body.playing .mission-id span {
  font-size: 12px;
  letter-spacing: 4px;
}
body.playing .mission-id b {
  font-size: 9px;
  opacity: 0.8;
}
body.playing .status-copy {
  background: linear-gradient(90deg, #09131cd6, #09131c68 78%, transparent);
  border-left-width: 1px;
  padding: 9px 14px;
}
body.playing .status-copy small {
  font-size: 8px;
  letter-spacing: 2.7px;
  opacity: 0.84;
}
body.playing #statusLine {
  font: 12px/1.6 var(--mono);
}
body.playing .radio-message {
  background: linear-gradient(90deg, #07131dda, #07131d75);
  border-left: 1px solid #d4ba83;
}
body.playing .radio-message b {
  color: #e2c98e;
}
body.playing .radar {
  width: 36px;
  height: 36px;
  background: #07131d90;
  border-color: #d7c39130;
}
body.playing #health {
  position: relative;
  padding-bottom: 4px;
}
body.playing #health::after {
  content: "";
  display: block;
  width: var(--hp, 100%);
  height: 2px;
  margin-top: 5px;
  background: #99c6b1;
  box-shadow: 0 0 5px #99c6b120;
}
body.playing .emp-button {
  background: #0b2028ab;
  border-color: #b8d0c34a;
  color: #c2dcd0;
}
body.playing :is(.capture-button, .fullscreen-button) {
  background: #0a1821a3;
  border-color: #b5c6cd2e;
}
body.playing .world-marker {
  color: #edce87;
  font-size: 7px;
}
body.playing .world-marker::before {
  width: 7px;
  height: 7px;
  border-width: 1px;
  margin-bottom: 7px;
}
body.playing .crosshair {
  width: 16px;
  height: 16px;
  border-color: #eddfaf80;
}
body.playing .crosshair i {
  left: 6px;
  top: 6px;
  background: #f3e8c5;
}
body.playing.aiming .crosshair {
  width: 4px;
  height: 4px;
}
body.playing.aiming .crosshair i {
  left: 1px;
  top: 1px;
}
@media (max-width: 720px) and (pointer: fine) {
  .emp-button {
    top: 142px;
    right: 12px;
    font-size: 9px;
  }
  .game-shell:has(.lockdown:not(.hidden)) .emp-button {
    top: 187px;
  }
}

/* Campaign dossier: quick chapter selection with the live location behind it. */
.briefing {
  width: min(480px, calc(100% - 48px));
  scrollbar-width: thin;
  scrollbar-color: #9ab2bd55 transparent;
}
.campaign-directory {
  padding: 16px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #08131b85, #223a471a);
}
.campaign-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #c0ced4;
  font: 8px/1.4 var(--mono);
  letter-spacing: 1.3px;
  margin-bottom: 10px;
}
#briefCampaignProgress {
  color: var(--amber);
  white-space: nowrap;
}
.mission-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.mission-chapter {
  --chapter-light: #a9d7ef;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 85px;
  padding: 11px 10px 10px;
  border: 1px solid #9db8c334;
  color: #c5d2d9;
  text-decoration: none;
  background: #10202c;
  transition: border-color 160ms ease, background 160ms ease;
}
.chapter-harbor {
  --chapter-light: #81ddd5;
}
.chapter-penthouse {
  --chapter-light: #e4c19b;
}
.mission-chapter:hover,
.mission-chapter:focus-visible {
  border-color: var(--chapter-light);
  color: #fff;
}
.mission-chapter.is-active {
  border-color: #e8c98b9c;
  color: #fff1d1;
  box-shadow: inset 0 -2px #e8c98b;
}
.chapter-number,
.chapter-label,
.chapter-status {
  position: relative;
  display: block;
}
.chapter-number {
  font: 9px/1 var(--mono);
  color: var(--chapter-light);
  margin-bottom: 15px;
}
.chapter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  white-space: nowrap;
}
.chapter-status {
  margin-top: 6px;
  font: 7px/1.2 var(--mono);
  letter-spacing: 1px;
  color: #a1b4bf;
}
.is-complete .chapter-status {
  color: #a4d7bd;
}
.is-active .chapter-status {
  color: var(--amber);
}
.chapter-scenery {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.7;
  background: radial-gradient(ellipse at 90% 8%, #86bada38, transparent 65%), linear-gradient(0deg, #07131deb, #182d3a55);
}
.chapter-scenery::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #081520eb 75%);
}
.chapter-scenery i {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 42px;
  height: 28px;
  border: 1px solid #b1d1dc50;
  background: repeating-linear-gradient(90deg, #9fbcc622 0 2px, transparent 2px 9px), #284351;
}
.chapter-snow .chapter-scenery i:first-child {
  top: 4px;
  right: -13px;
  width: 78px;
  height: 60px;
  border: 0;
  background: #7390a544;
  transform: rotate(40deg);
}
.chapter-snow .chapter-scenery i:last-child {
  width: 2px;
  height: 24px;
  top: 4px;
  right: 22px;
  background: #bce3e7;
}
.chapter-harbor .chapter-scenery i {
  height: 15px;
  top: 12px;
  right: -3px;
  background-color: #48666a;
  border-color: #94c8c53d;
}
.chapter-harbor .chapter-scenery i:nth-child(2) {
  top: 27px;
  right: 12px;
  width: 62px;
  background-color: #897056;
}
.chapter-harbor .chapter-scenery i:last-child {
  top: 42px;
  right: -2px;
  width: 68px;
}
.chapter-penthouse .chapter-scenery i {
  width: 15px;
  height: 56px;
  top: 8px;
  right: 28px;
  background: repeating-linear-gradient(0deg, #e9c68877 0 1px, transparent 1px 6px), #304457;
  border-color: #e4c19b44;
}
.chapter-penthouse .chapter-scenery i:nth-child(2) {
  right: 9px;
  top: 22px;
  height: 43px;
}
.chapter-penthouse .chapter-scenery i:last-child {
  right: 46px;
  top: 31px;
  height: 35px;
}
.briefing-copy {
  padding-top: 22px;
}
.briefing-copy .objectives {
  gap: 11px;
  margin: 19px 0;
}
.briefing-copy .brief {
  margin-top: 17px;
}
.briefing-controls {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.briefing-controls summary {
  color: #b4c5ce;
  font: 9px/1.5 var(--mono);
  cursor: pointer;
  letter-spacing: 0.3px;
}
.briefing-controls summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}
.briefing-controls .controls-note {
  margin-top: 10px;
}
.campaign-progress {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 20px 0;
}
.campaign-progress-heading {
  color: #c7d6db;
  font: 8px/1.5 var(--mono);
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.campaign-progress-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.campaign-progress-track span {
  border-top: 2px solid #667c8744;
  padding-top: 8px;
  color: #8fa4af;
  font: 8px/1.4 var(--mono);
}
.campaign-progress-track .is-complete {
  border-color: #a4d7bd;
  color: #b0ddc8;
}
.campaign-score {
  color: var(--amber);
  font: 8px/1.7 var(--mono);
  letter-spacing: 0.5px;
  margin: 13px 0 0;
}
#nextMissionButton:not(.hidden) {
  margin-bottom: 10px;
}
@media (max-width: 720px) {
  .briefing {
    width: calc(100% - 24px);
  }
  .campaign-directory {
    padding: 14px 18px 16px;
  }
  .mission-chapter {
    padding-inline: 8px;
  }
  .chapter-label {
    font-size: clamp(8px, 2.65vw, 11px);
    letter-spacing: 0;
  }
  .campaign-heading {
    letter-spacing: 0.65px;
    font-size: 7px;
  }
}
@media (pointer: coarse) and (orientation: landscape) {
  .briefing {
    width: min(700px, calc(100% - 32px));
  }
  .campaign-directory {
    padding-block: 12px;
  }
  .mission-chapter {
    min-height: 65px;
  }
  .chapter-number {
    margin-bottom: 7px;
  }
  .briefing-controls {
    grid-column: 1 / -1;
  }
  .briefing-copy .objectives {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mission-chapter {
    transition: none;
  }
}

/* Audio stays visible before insertion; the mix is adjustable from pause. */
.brief-audio { display:flex; align-items:center; flex-wrap:wrap; gap:10px 16px; margin:13px 0 18px; color:#b4c7d0; font:10px/1.5 var(--mono); }
.brief-audio label { display:flex; align-items:center; gap:7px; cursor:pointer; }
.brief-audio input { accent-color:var(--amber); }
.brief-audio button,.audio-test { border:1px solid #8aa3b24d; background:#102b3a; color:#e0d6b2; padding:7px 11px; font:10px/1.4 var(--mono); cursor:pointer; }
.brief-audio button:hover,.audio-test:hover { background:#234052; }
.brief-audio button:focus-visible,.audio-test:focus-visible { outline:2px solid var(--amber); outline-offset:3px; }
.brief-audio [role=status] { flex-basis:100%; font-size:9px; color:#93aab7; }
.audio-settings { border-top:1px solid var(--line); margin-top:16px; padding-top:14px; }
.audio-settings summary { color:#d8c68f; font:11px/1.5 var(--mono); cursor:pointer; }
.audio-status { color:#aabdc8; font:10px/1.6 var(--mono); margin:10px 0; }
