* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden],
[hidden="true"],
.is-hidden {
  display: none !important;
}

.transition-banner[hidden],
.interrogation-desk[hidden],
.instant-verdict-card[hidden],
.question-box[hidden],
.transcript-ticker[hidden] {
  display: none !important;
}

:root {
  --bg0: #03060c;
  --bg1: #06101c;
  --ink: #e8fbff;
  --muted: rgba(180, 230, 255, 0.65);
  --cyan: #3ad0ff;
  --cyan2: #5ef0ff;
  --mint: #7cffc4;
  --warn: #ffd36a;
  --danger: #ff5277;
  --glass: rgba(6, 22, 36, 0.85);
  --glass-border: rgba(58, 208, 255, 0.28);
  --glow: 0 0 16px rgba(58, 208, 255, 0.45);
  --glow-danger: 0 0 16px rgba(255, 82, 119, 0.55);
  --glow-mint: 0 0 16px rgba(124, 255, 196, 0.55);
  --radius: 6px;
  --font: "Orbitron", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(10, 50, 90, 0.45), transparent 70%), var(--bg0);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.app, .stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
}

/* ---------------------------------------------------- */
/* HUD Grid & Vignette FX                               */
/* ---------------------------------------------------- */
.hud-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(58, 208, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 208, 255, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 80%);
}

.hud-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, transparent 40%, rgba(2, 6, 12, 0.8) 100%),
    linear-gradient(180deg, rgba(0, 15, 30, 0.5), transparent 20%, transparent 75%, rgba(0, 8, 16, 0.85));
}

.hud-corners .c {
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
  pointer-events: none;
  border: 2px solid rgba(58, 208, 255, 0.75);
}
.hud-corners .c-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hud-corners .c-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hud-corners .c-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hud-corners .c-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ---------------------------------------------------- */
/* Camera Layer & Face Frame                            */
/* ---------------------------------------------------- */
.cam-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.cam-source {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  opacity: 0.9;
}

.cam-preview, .cam-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.cam-notice {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(3, 14, 26, 0.94);
  border: 1.5px solid var(--warn);
  box-shadow: 0 0 24px rgba(255, 211, 106, 0.45);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  animation: fadeIn 0.3s ease;
}

.cam-notice-icon {
  font-size: 32px;
}

.cam-notice-text {
  font-size: 11.5px;
  color: #fff;
  font-family: var(--font);
  line-height: 1.45;
}

.face-frame {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(65vw, 270px, 35vh);
  height: min(85vw, 360px, 45vh);
  z-index: 5;
  pointer-events: none;
}

.face-oval {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50% / 46%;
  border: 1.5px dashed rgba(58, 208, 255, 0.45);
  box-shadow: inset 0 0 20px rgba(58, 208, 255, 0.15);
}

.face-scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan2), transparent);
  box-shadow: 0 0 10px var(--cyan);
  animation: scanSweep 2.4s ease-in-out infinite alternate;
}

@keyframes scanSweep {
  from { top: 5%; opacity: 0.3; }
  to { top: 92%; opacity: 0.95; }
}

.hold-ring {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  stroke: var(--mint);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 304;
  stroke-dashoffset: 304;
}

/* ---------------------------------------------------- */
/* Top Header                                           */
/* ---------------------------------------------------- */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 52px;
  padding: calc(env(safe-area-inset-top, 6px) + 6px) 14px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  background: linear-gradient(180deg, rgba(3, 10, 20, 0.95) 0%, rgba(3, 10, 20, 0.6) 80%, transparent 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 208, 255, 0.15);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  font-size: 18px;
  color: var(--cyan);
  text-shadow: var(--glow);
}

.brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.brand-sub {
  font-size: 8px;
  font-family: var(--mono);
  color: var(--muted);
}

.phase-stepper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.phase-track {
  display: flex;
  gap: 4px;
}

.phase-seg {
  font-size: 8.5px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(10, 30, 50, 0.6);
  border: 1px solid rgba(58, 208, 255, 0.2);
  color: var(--muted);
  font-family: var(--mono);
}

.phase-seg.is-active {
  background: rgba(58, 208, 255, 0.25);
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: bold;
}

.phase-label {
  font-size: 9.5px;
  font-family: var(--mono);
  color: var(--mint);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-telemetry-toggle {
  display: none;
  background: rgba(10, 30, 50, 0.85);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius);
  cursor: pointer;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-family: var(--mono);
  color: var(--mint);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---------------------------------------------------- */
/* Mobile Quick Telemetry Strip                         */
/* ---------------------------------------------------- */
.mobile-quick-hud {
  display: none;
  position: absolute;
  top: 58px;
  left: 10px;
  right: 10px;
  z-index: 9;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}

.hud-pill {
  flex: 1;
  background: rgba(3, 14, 26, 0.88);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  padding: 4px 6px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
}

.pill-val { font-weight: bold; color: #fff; }
.pill-unit { font-size: 9px; color: var(--muted); }

.text-cyan { color: var(--cyan); }
.text-warn { color: var(--warn); }
.text-mint { color: var(--mint); }
.text-danger { color: var(--danger); }

/* ---------------------------------------------------- */
/* Telemetry Panels (Desktop & Drawer)                 */
/* ---------------------------------------------------- */
.telemetry-panel {
  position: absolute;
  top: 68px;
  bottom: 110px;
  width: 240px;
  padding: 12px;
  z-index: 8;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.left-panel { left: 16px; }
.right-panel { right: 16px; }

.panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--cyan);
  border-bottom: 1px solid rgba(58, 208, 255, 0.15);
  padding-bottom: 3px;
}

.gauge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.gauge-card {
  background: rgba(3, 15, 28, 0.6);
  border: 1px solid rgba(58, 208, 255, 0.15);
  padding: 6px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.gauge-label {
  font-size: 8.5px;
  font-family: var(--mono);
  color: var(--muted);
}

.gauge-val-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 1px 0;
}

.gauge-val {
  font-size: 17px;
  font-weight: 800;
}

.gauge-unit, .gauge-sub {
  font-size: 8.5px;
  font-family: var(--mono);
  color: var(--muted);
}

.highlight-cyan { color: var(--cyan); }
.highlight-mint { color: var(--mint); }
.highlight-warn { color: var(--warn); }
.highlight-danger { color: var(--danger); }

.scope-card {
  background: rgba(3, 15, 28, 0.8);
  border: 1px solid rgba(58, 208, 255, 0.2);
  padding: 6px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scope-header {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  font-family: var(--mono);
  color: var(--muted);
}

.scope-canvas {
  width: 100%;
  height: 48px;
  background: #010811;
  border-radius: 2px;
}

.au-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.au-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.au-name {
  font-size: 8.5px;
  font-family: var(--mono);
  color: var(--muted);
}

.meter-bar {
  width: 100%;
  height: 5px;
  background: rgba(10, 30, 50, 0.8);
  border-radius: 2px;
  overflow: hidden;
}

.meter-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--danger));
  transition: width 0.1s ease-out;
}

/* ---------------------------------------------------- */
/* Instant Question Verdict Card (Gemini Live Alert)   */
/* ---------------------------------------------------- */
.instant-verdict-card {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 480px);
  z-index: 12;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(3, 14, 26, 0.94);
  border: 1.5px solid var(--cyan);
  box-shadow: var(--glow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.verdict-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  letter-spacing: 1px;
}

.verdict-badge.is-truth {
  background: rgba(124, 255, 196, 0.2);
  color: var(--mint);
  border: 1px solid var(--mint);
  box-shadow: var(--glow-mint);
}

.verdict-badge.is-lie {
  background: rgba(255, 82, 119, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
  box-shadow: var(--glow-danger);
}

.verdict-reason {
  font-size: 11px;
  font-family: var(--mono);
  color: #fff;
  line-height: 1.35;
}

.verdict-contra {
  font-size: 10.5px;
  font-family: var(--mono);
  color: var(--warn);
}

/* ---------------------------------------------------- */
/* Center Question Card (100% Readable & Responsive)   */
/* ---------------------------------------------------- */
.center-banner {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 540px);
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.question-box {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 12px 16px;
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.q-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.q-phase-badge {
  font-size: 9.5px;
  font-family: var(--mono);
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(58, 208, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(58, 208, 255, 0.3);
}

.q-num {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--muted);
}

.q-prompt {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 3px;
  word-break: normal;
  overflow-wrap: break-word;
}

.q-rationale {
  font-size: 10.5px;
  font-family: var(--mono);
  color: var(--muted);
  line-height: 1.3;
}

.transcript-ticker {
  width: 100%;
  background: rgba(3, 12, 22, 0.9);
  border: 1px solid rgba(124, 255, 196, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.ticker-label {
  color: var(--mint);
  font-weight: bold;
}

.ticker-text {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------- */
/* Bottom Bar                                           */
/* ---------------------------------------------------- */
.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 80px;
  padding: 8px 16px calc(env(safe-area-inset-bottom, 10px) + 6px) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  background: linear-gradient(0deg, rgba(2, 6, 12, 0.98) 0%, rgba(2, 6, 12, 0.75) 80%, transparent 100%);
  border-top: 1px solid rgba(58, 208, 255, 0.15);
}

.control-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hud-shutter-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 208, 255, 0.3) 0%, rgba(6, 20, 36, 0.95) 70%);
  border: 2px solid var(--cyan);
  color: #fff;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow);
}

.hud-shutter-btn.is-recording {
  border-color: var(--danger);
  background: radial-gradient(circle, rgba(255, 82, 119, 0.4) 0%, rgba(36, 6, 16, 0.95) 70%);
  box-shadow: var(--glow-danger);
  animation: recPulse 1.2s infinite;
}

.sub-controls {
  display: flex;
  justify-content: flex-end;
}

.btn-hud-primary {
  padding: 8px 12px;
  background: linear-gradient(90deg, #0284c7, #0ea5e9);
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
}

.btn-hud-secondary {
  padding: 8px 12px;
  background: rgba(10, 30, 50, 0.8);
  border: 1px solid rgba(58, 208, 255, 0.3);
  border-radius: var(--radius);
  color: var(--cyan);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------------------------------------------------- */
/* Modal Styling                                        */
/* ---------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(2, 6, 12, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 12px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(94vw, 540px);
  background: rgba(6, 18, 30, 0.98);
  border: 1.5px solid var(--cyan);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-card.modal-lg {
  width: min(96vw, 760px);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(58, 208, 255, 0.2);
  padding-bottom: 8px;
}

.modal-header h3 {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cyan);
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
}

.modal-body {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hud-input {
  background: rgba(3, 10, 20, 0.85);
  border: 1px solid var(--glass-border);
  padding: 8px 10px;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  border-radius: var(--radius);
  outline: none;
  width: 100%;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid rgba(58, 208, 255, 0.15);
  padding-top: 10px;
}

.report-summary-banner {
  display: flex;
  justify-content: space-between;
  background: rgba(3, 14, 26, 0.85);
  border: 1px solid var(--glass-border);
  padding: 12px 16px;
  border-radius: var(--radius);
}

.verdict-title { font-size: 18px; color: var(--mint); }
.verdict-score { font-size: 11px; color: var(--muted); }
.conf-val { font-size: 16px; color: var(--cyan); }
.conf-sub { font-size: 10px; color: var(--muted); }

.report-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(58, 208, 255, 0.2);
  padding-bottom: 4px;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 10px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}

.tab-btn.is-active {
  background: rgba(58, 208, 255, 0.2);
  color: var(--cyan);
}

.modality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mod-card {
  background: rgba(3, 14, 26, 0.7);
  border: 1px solid rgba(58, 208, 255, 0.15);
  padding: 10px;
  border-radius: var(--radius);
}

.mod-title { font-size: 10.5px; font-weight: 700; color: var(--cyan); margin-bottom: 4px; }

.xai-box, .timeline-list { display: flex; flex-direction: column; gap: 8px; }
.xai-list { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.othello-box {
  background: rgba(58, 208, 255, 0.08);
  border: 1px solid rgba(58, 208, 255, 0.3);
  padding: 8px;
  border-radius: var(--radius);
  font-size: 10.5px;
  color: var(--cyan);
}

/* ---------------------------------------------------- */
/* Transition Banner (Between Phase 1 and Phase 2)      */
/* ---------------------------------------------------- */
.transition-banner {
  width: 100%;
  background: rgba(3, 20, 36, 0.95);
  border: 1.5px solid var(--mint);
  box-shadow: var(--glow-mint);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.3s ease;
}

.trans-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: 1px;
  background: rgba(124, 255, 196, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.trans-title {
  font-size: 14px;
  color: #fff;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
}

.trans-desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  max-width: 480px;
  margin: 0;
}

/* ---------------------------------------------------- */
/* Interrogation Desk (Phase 2 Examiner Panel)          */
/* ---------------------------------------------------- */
.interrogation-desk {
  width: 100%;
  background: rgba(4, 18, 32, 0.95);
  border: 1.5px solid var(--cyan);
  box-shadow: var(--glow);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.3s ease;
}

.desk-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-family: var(--font);
}

.desk-badge {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.desk-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-family: var(--mono);
}

.desk-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-btn {
  padding: 5px 9px;
  background: rgba(10, 30, 50, 0.9);
  border: 1px solid rgba(58, 208, 255, 0.35);
  color: #e0f2fe;
  font-size: 10px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-btn:hover {
  background: rgba(2, 132, 199, 0.35);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-1px);
}

.desk-custom-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.desk-custom-row .hud-input {
  flex: 1;
}

.verdict-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verdict-score {
  font-size: 11px;
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

/* ==================================================== */
/* RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)           */
/* ==================================================== */
@media (max-width: 900px) {
  .btn-telemetry-toggle { display: inline-flex; }
  .mobile-quick-hud { display: flex; }
  .status-text-mobile { display: none; }
  .brand-sub { display: none; }

  .telemetry-container {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(2, 6, 12, 0.94);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    padding: 64px 14px 80px 14px;
    gap: 12px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .telemetry-container.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .telemetry-panel {
    position: static;
    width: 100%;
    bottom: auto;
  }

  .center-banner {
    bottom: 90px;
    width: min(94vw, 480px);
  }

  .q-prompt { font-size: 13px; }
}
