:root {
  --bg: #050510;
  --bg-2: #0a0810;
  --panel: rgba(8, 6, 14, 0.78);
  --panel-strong: rgba(8, 6, 14, 0.92);
  --ink: #15121b;
  --paper: #e8dcc8;
  --muted: #9b9184;
  --accent: #d4a24c;
  --accent-dim: #8f6a2c;
  --red: #ff3344;
  --red-dim: #b43a25;
  --cyan: #5eead4;
  --purple: #aa66ff;
  --line: rgba(212, 162, 76, 0.18);
  --line-soft: rgba(212, 162, 76, 0.10);
  --radius: 12px;
  --font-ui: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.01em;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 35%, transparent 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.88) 100%),
    linear-gradient(180deg, rgba(5,5,16,0.0) 0%, rgba(5,5,16,0.55) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.0) 0px,
    rgba(255, 255, 255, 0.0) 2px,
    rgba(255, 255, 255, 0.018) 2px,
    rgba(255, 255, 255, 0.018) 3px
  );
  mix-blend-mode: overlay;
}

.hidden { display: none !important; }

/* ── Loader ─────────────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  text-align: center;
  pointer-events: none;
}

.loader-line {
  width: 160px;
  height: 2px;
  background: rgba(212, 162, 76, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 14px;
  box-shadow: 0 0 12px rgba(212, 162, 76, 0.18);
}

.loader-line::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: loadSlide 1.4s ease-in-out infinite;
}

@keyframes loadSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(212, 162, 76, 0.4);
}

/* ── Intro ───────────────────────────────────────────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(170, 102, 255, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,5,16,0.2) 0%, rgba(5,5,16,0.85) 70%);
}

.intro-inner {
  text-align: center;
  padding: 2rem;
  max-width: 620px;
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 1.4rem;
  text-shadow: 0 0 10px rgba(212, 162, 76, 0.5);
}

.title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.9;
  margin: 0;
  color: var(--paper);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, #e8dcc8 45%, #b8945a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(212, 162, 76, 0.18));
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-style: italic;
  color: var(--muted);
  margin: 1.2rem 0 2.6rem;
}

.btn-main {
  background: linear-gradient(135deg, var(--accent) 0%, #b8853a 100%);
  color: #0c0a08;
  border: none;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow:
    0 0 0 1px rgba(212, 162, 76, 0.3),
    0 8px 24px rgba(212, 162, 76, 0.25),
    0 0 32px rgba(212, 162, 76, 0.15);
}

.btn-main:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(212, 162, 76, 0.45),
    0 12px 32px rgba(212, 162, 76, 0.35),
    0 0 48px rgba(212, 162, 76, 0.22);
}

.btn-main:disabled { opacity: 0.5; cursor: wait; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.7rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-ghost:hover { color: var(--paper); border-color: var(--accent); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.62rem; letter-spacing: 0.12em; }

.error {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 1rem;
  text-shadow: 0 0 8px rgba(255, 51, 68, 0.4);
}

/* ── Game layout ─────────────────────────────────────────────────────────── */
.game {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.game > * { pointer-events: auto; }

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.4rem 2rem;
  gap: 1rem;
}

.case-meta, .case-meta-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-id {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(212, 162, 76, 0.5);
}

.muted {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* ── HP bar (questions remaining) ────────────────────────────────────────── */
.hp-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 200px;
}

.hp-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(212, 162, 76, 0.45);
}

.hp-label .count { color: var(--paper); }

.hp-bar-bg {
  width: 100%;
  height: 10px;
  background: var(--ink);
  border-radius: 2px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
}

.hp-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #f0c878 50%, var(--accent) 100%);
  box-shadow: 0 0 12px rgba(212, 162, 76, 0.55);
  transition: width 0.4s ease;
  border-radius: 1px;
}

.hp-bar-fill.low {
  background: linear-gradient(90deg, var(--red) 0%, #ff6644 50%, var(--red) 100%);
  box-shadow: 0 0 12px rgba(255, 51, 68, 0.55);
  animation: hpPulse 1.4s ease-in-out infinite;
}

@keyframes hpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ── Stage overlay (suspect name) ────────────────────────────────────────── */
.stage-overlay {
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.4s ease;
  width: min(90vw, 720px);
}

.suspect-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  color: var(--paper);
  text-shadow:
    0 0 18px rgba(232, 220, 200, 0.18),
    0 4px 24px rgba(0,0,0,0.7);
  letter-spacing: -0.01em;
  margin: 0;
  opacity: 0.96;
}

.suspect-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin-top: 0.6rem;
  text-shadow: 0 0 8px rgba(212, 162, 76, 0.4);
}

.persona-badge {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 3px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  background: rgba(0,0,0,0.55);
  color: var(--accent);
  text-shadow: 0 0 6px rgba(212, 162, 76, 0.5);
}

/* ── Splash text (clue / contradiction / verdict hits) ──────────────────── */
.splash {
  position: fixed;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.32s ease;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 0 32px rgba(232, 220, 200, 0.4);
}

.splash.show { opacity: 1; }
.splash.clue { color: var(--accent); text-shadow: 0 0 32px rgba(212, 162, 76, 0.7); }
.splash.contradiction { color: var(--red); text-shadow: 0 0 32px rgba(255, 51, 68, 0.7); }
.splash.verdict { color: var(--paper); text-shadow: 0 0 40px rgba(232, 220, 200, 0.5); }

/* ── Bottom sheet (chat / input) ────────────────────────────────────────── */
.bottom-sheet {
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 1.25rem 2rem 1.5rem;
  position: relative;
}

.bottom-sheet::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.transcript {
  height: 110px;
  overflow-y: auto;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--paper);
  margin-bottom: 1rem;
  padding-right: 0.5rem;
  scrollbar-width: thin;
}

.transcript::-webkit-scrollbar { width: 5px; }
.transcript::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-dim), var(--accent));
  border-radius: 3px;
}

.transcript .hint { color: var(--muted); font-style: italic; }
.transcript .you {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-shadow: 0 0 8px rgba(212, 162, 76, 0.45);
  display: block;
  margin-top: 0.4rem;
}

.transcript .answer {
  display: block;
  margin: 0.2rem 0 0.5rem;
  color: var(--paper);
}

.transcript .clue, .transcript .contradiction {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.4rem;
  padding: 4px 10px;
  border-radius: 4px;
  border-left: 2px solid currentColor;
}

.transcript .clue {
  color: var(--accent);
  background: rgba(212, 162, 76, 0.08);
  text-shadow: 0 0 6px rgba(212, 162, 76, 0.3);
}

.transcript .contradiction {
  color: var(--red);
  background: rgba(255, 51, 68, 0.08);
  text-shadow: 0 0 6px rgba(255, 51, 68, 0.3);
}

.ask-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

#ask-input {
  flex: 1;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#ask-input::placeholder { color: var(--muted); }

#ask-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.15);
}

.btn-send {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #b8853a);
  color: #0c0a08;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 0 16px rgba(212, 162, 76, 0.35);
}

.btn-send:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(212, 162, 76, 0.55);
}

.bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.suggested {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  background: rgba(212, 162, 76, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  color: var(--paper);
  border-color: var(--accent);
  background: rgba(212, 162, 76, 0.12);
  text-shadow: 0 0 6px rgba(212, 162, 76, 0.4);
}

.btn-charge {
  background: transparent;
  color: var(--red);
  border: 1px solid rgba(255, 51, 68, 0.45);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-shadow: 0 0 8px rgba(255, 51, 68, 0.5);
  box-shadow: 0 0 12px rgba(255, 51, 68, 0.18) inset, 0 0 12px rgba(255, 51, 68, 0.12);
}

.btn-charge:hover {
  background: rgba(255, 51, 68, 0.15);
  box-shadow: 0 0 18px rgba(255, 51, 68, 0.35);
  color: #fff;
}

/* Validation shake for required-empty fields */
.shake {
  animation: shake 0.4s ease;
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(255, 51, 68, 0.25) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ── Modals ─────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.modal-card {
  width: min(500px, 90vw);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.7),
    0 0 0 1px rgba(212, 162, 76, 0.08),
    0 0 48px rgba(212, 162, 76, 0.08);
  position: relative;
}

.modal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 50%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}

.modal-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.modal-card label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.modal-card select,
.modal-card textarea {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.modal-card select:focus,
.modal-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.15);
}

.modal-card select option { background: var(--ink); }
.modal-card textarea { resize: vertical; min-height: 90px; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.verdict-card { text-align: center; }

.score {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  margin: 0.5rem 0 1rem;
  text-shadow: 0 0 24px rgba(212, 162, 76, 0.5);
  letter-spacing: 0.04em;
}

.noir-line {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--paper);
  margin-bottom: 1rem;
}

.truth-line {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ── Toast ──────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  z-index: 70;
  animation: fadeDown 0.3s ease;
  backdrop-filter: blur(12px);
}

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

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .top-bar { padding: 1rem; flex-direction: column; gap: 0.6rem; }
  .hp-block { width: 100%; }
  .bottom-sheet { padding: 1rem; }
  .stage-overlay { top: 22%; }
  .suspect-name { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .transcript { height: 90px; }
  .suspect-label { font-size: 0.85rem; }
  .suspect-label.active { font-size: 1rem; }
  .suspect-label .asked-count { font-size: 0.5rem; }
  .onboarding-card { padding: 1.25rem; }
  .onboarding-step h3 { font-size: 1.15rem; }
  .onboarding-step p { font-size: 0.8rem; }
}

/* ── Onboarding ─────────────────────────────────────────────────────────── */
.onboarding {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.onboarding-card {
  width: min(480px, 90vw);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.7),
    0 0 48px rgba(212, 162, 76, 0.08);
  position: relative;
  text-align: center;
}

.onboarding-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 50%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}

.onboarding-steps {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.onboarding-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-soft);
  transition: all 0.3s ease;
}

.onboarding-dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(212, 162, 76, 0.6);
  transform: scale(1.3);
}

.onboarding-body {
  min-height: 120px;
  margin-bottom: 1.5rem;
}

.onboarding-step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--paper);
  margin: 0 0 0.6rem;
}

.onboarding-step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.onboarding-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Suspect floating labels ───────────────────────────────────────────── */
.suspect-labels {
  position: fixed;
  inset: 0;
  z-index: 33;
  pointer-events: none !important;
}

.suspect-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--paper);
  text-shadow: 0 0 12px rgba(0,0,0,0.9), 0 0 4px rgba(212, 162, 76, 0.4);
  opacity: 0.75;
  transition: opacity 0.3s ease, font-size 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
}

.suspect-label.active {
  opacity: 1;
  font-size: 1.3rem;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(212, 162, 76, 0.7), 0 0 6px rgba(0,0,0,0.9);
}

.suspect-label .asked-count {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 2px;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
}

/* ── Charge confirmation step ──────────────────────────────────────────── */
.charge-confirm {
  text-align: center;
  padding: 0.5rem 0;
}

.charge-confirm p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.charge-confirm .charge-target {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 51, 68, 0.4);
}

.charge-confirm .charge-warning {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.8rem;
}
