/* ─────────────────────────────────────────────────────────────────────────────
   THE VAULT — Ocean's 11 Theme
   ─────────────────────────────────────────────────────────────────────────── */

/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --bg:           #0D0D14;
  --bg-surface:   #14141E;
  --bg-card:      #1C1C2A;
  --bg-card-alt:  #222234;
  --bg-input:     #12121C;

  --gold:         #C9A84C;
  --gold-light:   #F0CC6A;
  --gold-dim:     #7A6030;
  --gold-glow:    rgba(201,168,76,0.15);

  --text:         #E8EDF5;
  --text-sub:     #8892A8;
  --text-muted:   #484E60;

  --success:      #3D9970;
  --success-bg:   rgba(61,153,112,0.12);
  --warning:      #D4882A;
  --warning-bg:   rgba(212,136,42,0.12);
  --danger:       #C04040;
  --danger-bg:    rgba(192,64,64,0.12);

  --border:       rgba(255,255,255,0.07);
  --border-gold:  rgba(201,168,76,0.25);
  --border-strong:rgba(201,168,76,0.5);

  --font-heading: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --font-body:    -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Courier New', 'Lucida Console', monospace;

  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 4px 24px rgba(0,0,0,0.6);
  --shadow-gold:  0 0 30px rgba(201,168,76,0.2);
}

/* ─── Mute Toggle ──────────────────────────────────────────────────────────── */
.mute-toggle {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 99999;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(13,13,20,0.8);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.mute-toggle:hover { opacity: 1; }

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
#app { min-height: 100vh; }

/* ─── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: normal; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: 0.08em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: 0.05em; }
h3 { font-size: 1.2rem; letter-spacing: 0.04em; }

.gold-text { color: var(--gold); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.muted { color: var(--text-sub); }
.small { font-size: 0.85rem; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary {
  background: var(--gold);
  color: #0A0A0E;
  font-weight: 700;
}
.btn-primary:hover:not(:disabled) {
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--gold-glow);
  border-color: var(--border-strong);
}
.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-danger:hover:not(:disabled) { background: #d44444; }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 16px 40px; font-size: 0.8rem; }

/* Loading spinner on button */
.btn.loading { pointer-events: none; }
.btn.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ─── Form Elements ─────────────────────────────────────────────────────────── */
.input, .textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
  outline: none;
  resize: vertical;
}
.input:focus, .textarea:focus { border-color: var(--border-gold); }
.input::placeholder, .textarea::placeholder { color: var(--text-sub); opacity: 0.7; }
.input.shake { animation: shake 0.4s ease; }
textarea.textarea { min-height: 100px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.form-group { margin-bottom: 20px; }
.lang-btn {
  padding: 6px 14px; border: 1px solid #444; border-radius: 4px;
  background: transparent; color: var(--text-sub); font-size: 0.8rem;
  cursor: pointer; transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.lang-btn.lang-active { border-color: var(--gold); color: var(--gold); background: rgba(200,168,75,0.1); }
.char-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}
.field-hint { font-size: 0.8rem; color: var(--text-sub); margin-top: 6px; }

/* ─── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card-gold {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 1px var(--border-gold) inset;
}
.card-success { background: var(--success-bg); border-color: var(--success); }
.card-warning { background: var(--warning-bg); border-color: var(--warning); }
.card-danger  { background: var(--danger-bg);  border-color: var(--danger);  }

/* ─── Error / Info Banners ──────────────────────────────────────────────────── */
.error-msg {
  display: none;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* ─── Screen Layout ─────────────────────────────────────────────────────────── */
.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.screen-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}
.screen-inner-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}

/* ─── Navigation Bar ────────────────────────────────────────────────────────── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-bar-logo {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.top-bar-team {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}
.room-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── LANDING SCREEN ────────────────────────────────────────────────────────── */
.screen-landing {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.landing-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.03) 0%, transparent 50%);
}
.landing-content {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  max-width: 560px;
  width: 100%;
  animation: fade-in 1s ease forwards;
}
.landing-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-sub);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.landing-title {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.3));
}
.landing-subtitle {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 48px;
  letter-spacing: 0.03em;
  opacity: 0.75;
}
.landing-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
  opacity: 0.5;
}
.landing-form { text-align: left; margin-bottom: 32px; }
.landing-footer {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-sub);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── INTRO VIDEO SCREEN ────────────────────────────────────────────────────── */
.intro-video-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.intro-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-start-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 28px 48px;
  background: rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.video-start-btn:hover { background: rgba(255,255,255,0.12); }
.video-play-icon { font-size: 2.8rem; line-height: 1; }

/* ─── INTRO VIDEO SCREEN ────────────────────────────────────────────────────── */
.intro-video-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.intro-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-start-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 28px 48px;
  background: rgba(255,255,255,0.06);
}
.video-play-icon { font-size: 2.8rem; line-height: 1; }

/* ─── INTRO VIDEO SCREEN ────────────────────────────────────────────────────── */
.intro-video-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.intro-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-start-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 28px 48px;
  background: rgba(255,255,255,0.06);
}
.video-play-icon { font-size: 2.8rem; line-height: 1; }

/* ─── BRIEFING SCREEN ───────────────────────────────────────────────────────── */

/* Full-screen photo background — blueprint table photo */
.briefing-scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('blueprint-table.jpg') center center / cover no-repeat;
  overflow-y: auto;
}
/* Gradient overlay — darker toward bottom for footer legibility */
.briefing-scene::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 52, 0.52) 0%,
    rgba(6, 14, 42, 0.68) 50%,
    rgba(4, 10, 32, 0.78) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Frosted glass panel behind briefing content */
.bpo-content-panel {
  background: rgba(6, 12, 36, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 32px 40px 28px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* All content floats above the overlay */
.briefing-photo-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px 44px 36px;
}

/* ── Account hero ── */
.bpo-hero {
  margin-bottom: 22px;
  padding-bottom: 16px;
  /* Thin chalk line separator */
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.bpo-stamp-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.bpo-classified {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.30em;
  color: rgba(255,160,160,0.90);
  border: 1.5px solid rgba(220,80,80,0.50);
  padding: 3px 10px;
  background: rgba(160,20,20,0.18);
  text-shadow: 0 0 6px rgba(255,120,120,0.40);
  display: inline-block;
  transform: rotate(-1.2deg);
}
.bpo-op-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(200,225,255,0.55);
  text-shadow: 0 0 4px rgba(180,210,255,0.20);
}

/* The main title — large chalk text */
.bpo-account-name {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin-bottom: 8px;
  /* Chalk glow */
  text-shadow:
    0 0 4px  rgba(255,255,255,0.80),
    0 0 12px rgba(255,255,255,0.35),
    0 0 28px rgba(200,220,255,0.18),
    2px 2px 0 rgba(0,0,40,0.20);
}
.bpo-account-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(220,235,255,0.78);
  text-shadow: 0 0 4px rgba(180,210,255,0.25);
}
.bpo-rule-line { display: none; }

/* ── Two-column body ── */
.bpo-body {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}
.bpo-col { flex: 1; padding: 0 20px; }
.bpo-col:first-child { padding-left: 0; }
.bpo-col:last-child  { padding-right: 0; }

/* Thin chalk vertical rule between columns */
.bpo-divider {
  width: 1px;
  background: rgba(255,255,255,0.18);
  margin: 0 8px;
  flex-shrink: 0;
  box-shadow: 0 0 4px rgba(255,255,255,0.08);
}

/* Section labels — like drafted annotations */
.bpo-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  color: rgba(190,220,255,0.82);
  text-transform: uppercase;
  margin-bottom: 14px;
  text-shadow: 0 0 5px rgba(180,210,255,0.35);
}

/* Body paragraphs — chalk on blueprint */
.bpo-text {
  font-size: 0.92rem;
  color: rgba(250,252,255,0.95);
  line-height: 1.80;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,20,0.70);
}
.bpo-text strong {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255,255,255,0.55), 0 1px 4px rgba(0,0,20,0.70);
}
.bpo-text em {
  font-style: italic;
  color: rgba(220,240,255,0.92);
}

/* Rules list — chalk annotation style */
.bpo-rule-item {
  font-size: 0.89rem;
  color: rgba(248,252,255,0.93);
  line-height: 1.72;
  margin-bottom: 9px;
  padding-left: 20px;
  position: relative;
  text-shadow: 0 1px 4px rgba(0,0,20,0.70);
}
.bpo-arrow {
  position: absolute;
  left: 0;
  color: rgba(255,240,140,0.85);
  text-shadow: 0 0 6px rgba(255,230,80,0.45);
}

/* Warning box */
.bpo-warning {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255,200,80,0.45);
  border-left: 3px solid rgba(255,210,60,0.70);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: rgba(255,240,170,0.95);
  line-height: 1.65;
  background: rgba(120,80,0,0.25);
  text-shadow: 0 1px 3px rgba(0,0,0,0.50);
}
.bpo-warn-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.bpo-warning strong {
  color: rgba(255,248,120,1.0);
  text-shadow: 0 0 6px rgba(255,230,60,0.50);
}

/* ── Footer — chalk annotation bar ── */
.bpo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.18);
  gap: 16px;
  flex-wrap: wrap;
}
.bpo-crew {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  color: rgba(220,235,255,0.80);
  text-shadow: 0 1px 3px rgba(0,0,20,0.60);
}
.bpo-crew strong {
  color: rgba(255,255,255,0.96);
  font-size: 0.76rem;
  text-shadow: 0 0 5px rgba(255,255,255,0.45), 0 1px 3px rgba(0,0,20,0.60);
}
.bpo-scale {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: rgba(200,220,255,0.52);
  text-shadow: 0 1px 2px rgba(0,0,20,0.50);
}

/* ─── ROOM INTRO ────────────────────────────────────────────────────────────── */
.room-intro-header { text-align: center; margin-bottom: 48px; }
.room-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.room-title { margin-bottom: 8px; }
.room-subtitle {
  font-style: italic;
  color: var(--text-sub);
  font-family: var(--font-heading);
  font-size: 1rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}
.step-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.step-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.consequence-bar {
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.consequence-bar strong { color: var(--gold); }

/* ─── TIMER ─────────────────────────────────────────────────────────────────── */
.timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 32px;
  position: sticky;
  top: 60px;
  z-index: 99;
}
.timer-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-sub);
  text-transform: uppercase;
}
.timer-display {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.05em;
  transition: color 0.5s;
}
.timer-display.warning { color: var(--warning); }
.timer-display.critical { color: var(--danger); animation: timer-pulse 1s ease infinite; }
.timer-phase {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ─── TRIGGER HUNT SCREEN — CLIPBOARD BACKGROUND ──────────────────────────── */
.trigger-screen { display: flex; flex-direction: column; }
.trigger-scene {
  position: relative;
  flex: 1;
  min-height: calc(100vh - 76px);
  background: url('trigger-bg.jpg') left center / contain no-repeat;
  background-color: #2a2520;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}
.tools-panel {
  width: 340px;
  flex-shrink: 0;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 700px) {
  .tools-panel { width: 100%; border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .trigger-scene { flex-direction: column; }
  .tools-panel-columns { grid-template-columns: 1fr; }
}
.tools-panel-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 1;
}
.tools-panel-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tools-panel-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2px;
  opacity: 0.75;
}
.tool-card {
  background: rgba(28,28,42,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px;
}
.tool-card-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.7;
}
.tool-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  text-decoration: none;
  color: rgba(230,235,245,0.88);
  font-size: 0.8rem;
  margin-bottom: 6px;
  transition: all 0.15s;
}
.tool-link:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
}
.audio-intel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 8px;
}
.audio-intel-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.audio-intel-icon {
  font-size: 1.1rem;
}
.audio-intel-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.audio-intel-meta strong {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.audio-intel-meta span {
  color: rgba(230,235,245,0.65);
  font-size: 0.72rem;
}
.audio-intel-player {
  width: 100%;
  height: 36px;
  filter: invert(0.85) hue-rotate(180deg) saturate(0.6);
}
.protip-card {
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 8px;
  padding: 14px 16px;
}
.protip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.65;
}
.protip-text {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.protip-text em { color: var(--gold-light); font-style: italic; }
.trigger-footer {
  padding: 14px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.trigger-note { font-size: 0.74rem; color: var(--text-sub); opacity: 0.6; line-height: 1.5; }

/* ─── PERSONA CARDS ─────────────────────────────────────────────────────────── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .persona-grid { grid-template-columns: 1fr; } }
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.persona-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.persona-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.persona-name { font-size: 1rem; font-weight: 600; }
.persona-title-text { font-size: 0.8rem; color: var(--text-sub); }
.difficulty-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.difficulty-high  { background: rgba(192,64,64,0.2); color: #E07070; border: 1px solid rgba(192,64,64,0.3); }
.difficulty-mid   { background: rgba(212,136,42,0.2); color: #E0A050; border: 1px solid rgba(212,136,42,0.3); }
.difficulty-low   { background: rgba(61,153,112,0.2); color: #60C090; border: 1px solid rgba(61,153,112,0.3); }
.persona-desc { font-size: 0.82rem; color: var(--text-sub); line-height: 1.5; }
.persona-kpis { font-size: 0.78rem; color: var(--text-muted); }
.persona-select-btn {
  margin-top: auto;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: var(--radius);
  padding: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.persona-select-btn:hover { background: var(--gold-glow); }

/* ─── OUTREACH SCREEN ───────────────────────────────────────────────────────── */
.outreach-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}
@media (max-width: 700px) { .outreach-layout { grid-template-columns: 1fr; } }
.persona-sidebar .persona-card { cursor: default; }
.persona-sidebar .persona-card:hover { transform: none; box-shadow: none; border-color: var(--border); }
.kpi-list { list-style: none; margin-top: 12px; }
.kpi-list li {
  font-size: 0.78rem;
  color: var(--text-sub);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kpi-list li::before { content: '◆'; color: var(--gold); font-size: 0.4rem; }
.vehicle-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.vehicle-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  color: var(--text-sub);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.vehicle-tab.active { border-color: var(--border-gold); color: var(--gold); background: var(--gold-glow); }

/* ─── OUTREACH FORMS — EMAIL & LINKEDIN INMAIL ────────────────────────── */
.outreach-form-frame {
  background: #FFFFFF; color: #1F2937;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Email composer */
.email-frame .email-header {
  background: #F3F4F6; border-bottom: 1px solid #E5E7EB;
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.email-header-title { font-weight: 600; font-size: 0.9rem; color: #111827; }
.email-header-icons { color: #9CA3AF; font-size: 0.85rem; letter-spacing: 0.15em; }
.email-meta { padding: 0 20px; }
.email-meta-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #E5E7EB;
  font-size: 0.88rem;
}
.email-meta-label { color: #6B7280; font-weight: 500; min-width: 32px; }
.email-recipient-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 4px; background: #EEF2FF;
  border-radius: 16px; font-size: 0.82rem; color: #1F2937;
}
.email-pcircle {
  width: 22px; height: 22px; border-radius: 50%;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.02em;
}
.email-subject-input {
  width: 100%; border: none; outline: none;
  padding: 14px 0; font-size: 0.95rem; font-weight: 500;
  color: #111827; background: transparent;
}
.email-subject-input::placeholder { color: #9CA3AF; font-weight: 400; }
.email-body-wrap { padding: 18px 20px 0; }
.email-body-textarea {
  width: 100%; min-height: 220px; border: none; outline: none; resize: vertical;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; line-height: 1.55;
  color: #1F2937; background: transparent;
}
.email-body-textarea::placeholder { color: #9CA3AF; }
.email-frame .email-footer {
  padding: 12px 20px;
  background: #F9FAFB; border-top: 1px solid #E5E7EB;
  display: flex; align-items: center; justify-content: space-between;
}
.email-tools { display: flex; gap: 14px; color: #6B7280; font-size: 1rem; }
.email-tools span { cursor: pointer; }
.email-send-btn {
  background: #2563EB; color: white;
  border: none; padding: 9px 22px; border-radius: 6px;
  font-weight: 600; font-size: 0.85rem; cursor: pointer;
  box-shadow: 0 1px 2px rgba(37,99,235,0.3);
  transition: background 0.15s;
}
.email-send-btn:hover:not(:disabled) { background: #1D4ED8; }
.email-send-btn:disabled { background: #D1D5DB; box-shadow: none; cursor: not-allowed; color: #6B7280; }

/* LinkedIn InMail */
.linkedin-frame { border-left: 4px solid #0A66C2; border-radius: 12px; }
.linkedin-header {
  padding: 14px 20px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #E5E7EB;
}
.linkedin-header-title { font-weight: 700; font-size: 0.95rem; color: #111827; }
.linkedin-header-x { color: #6B7280; font-size: 1.1rem; cursor: pointer; }
.linkedin-recipient {
  padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid #E5E7EB;
}
.linkedin-pcircle {
  width: 44px; height: 44px; border-radius: 50%;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  font-family: 'Inter', sans-serif;
}
.linkedin-recipient-info { line-height: 1.3; }
.linkedin-recipient-name { font-weight: 700; font-size: 0.95rem; color: #111827; margin-bottom: 2px; }
.linkedin-recipient-title { font-size: 0.82rem; color: #6B7280; }
.linkedin-subject-wrap { padding: 0 20px; border-bottom: 1px solid #E5E7EB; }
.linkedin-subject-input {
  width: 100%; border: none; outline: none;
  padding: 14px 0; font-size: 0.92rem;
  color: #111827; background: transparent;
}
.linkedin-subject-input::placeholder { color: #9CA3AF; }
.linkedin-body-wrap { padding: 14px 20px 0; }
.linkedin-body-textarea {
  width: 100%; min-height: 200px; border: none; outline: none; resize: vertical;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; line-height: 1.55;
  color: #1F2937; background: transparent;
  padding-bottom: 12px;
}
.linkedin-body-textarea::placeholder { color: #9CA3AF; }
.linkedin-counter-row {
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #F3F4F6;
  font-size: 0.78rem;
}
.linkedin-counter { color: #6B7280; font-family: 'IBM Plex Mono', monospace; }
.linkedin-counter strong { color: #111827; transition: color 0.2s; }
.linkedin-counter.warning strong { color: #D97706; }
.linkedin-counter.over strong { color: #DC2626; }
.linkedin-counter-tip { color: #9CA3AF; font-style: italic; font-size: 0.74rem; }
.linkedin-footer {
  padding: 12px 20px;
  border-top: 1px solid #E5E7EB;
  display: flex; align-items: center; justify-content: space-between;
}
.linkedin-tools { display: flex; gap: 18px; color: #6B7280; font-size: 1.05rem; }
.linkedin-tools span { cursor: pointer; transition: color 0.15s; }
.linkedin-tools span:hover { color: #0A66C2; }
.linkedin-send-btn {
  background: #0A66C2; color: white;
  border: none; padding: 8px 24px; border-radius: 16px;
  font-weight: 600; font-size: 0.82rem; cursor: pointer;
  transition: background 0.15s;
}
.linkedin-send-btn:hover:not(:disabled) { background: #004182; }
.linkedin-send-btn:disabled {
  background: transparent; color: #B6BCC4;
  cursor: not-allowed;
}

.what-works {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 20px;
}
.what-works h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.what-works ul { list-style: none; }
.what-works li {
  font-size: 0.82rem;
  color: var(--text-sub);
  padding: 4px 0 4px 16px;
  position: relative;
}
.what-works li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-size: 0.75rem; }

/* ─── RESULT SCREENS ────────────────────────────────────────────────────────── */
.result-header { text-align: center; margin-bottom: 40px; }
.result-icon { font-size: 3rem; margin-bottom: 16px; }
.result-tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tier-strong { color: var(--success); }
.tier-adequate { color: var(--warning); }
.tier-weak { color: var(--danger); }
.tier-not_relevant { color: var(--warning); }
.persona-reply-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
}
.persona-reply-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.persona-reply-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}
.persona-reply-name { font-size: 0.9rem; font-weight: 600; }
.persona-reply-title { font-size: 0.78rem; color: var(--text-sub); }
.persona-reply-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; font-style: italic; }
.feedback-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.feedback-card h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feedback-text { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; }
.consequence-card {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── CHAT SCREEN ───────────────────────────────────────────────────────────── */
.chat-screen { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.chat-persona-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}
.chat-persona-name { font-size: 0.95rem; font-weight: 600; }
.chat-persona-title { font-size: 0.8rem; color: var(--text-sub); }
.chat-timer { margin-left: auto; }
.chat-timer .timer-display { font-size: 1.3rem; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.msg {
  display: flex;
  flex-direction: column;
  max-width: 75%;
}
.msg-user { align-self: flex-end; align-items: flex-end; }
.msg-assistant { align-self: flex-start; align-items: flex-start; }
.msg-system { align-self: center; align-items: center; max-width: 90%; }
.msg-bubble {
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.msg-user .msg-bubble {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-bottom-right-radius: 4px;
  color: var(--text);
}
.msg-assistant .msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.msg-system .msg-bubble {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-align: center;
}
.msg-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.typing-indicator .msg-bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 16px 20px;
}
.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
.chat-input-area {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}
.chat-input-area .textarea {
  flex: 1;
  min-height: 48px;
  max-height: 120px;
  resize: none;
}
.chat-actions { display: flex; flex-direction: column; gap: 8px; }
.ice-tracker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.ice-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.ice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}
.ice-dot.unlocked { background: var(--success); }
.call-ended-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border-gold);
  padding: 16px 24px;
  text-align: center;
  flex-shrink: 0;
}
.call-ended-banner p { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 12px; }

/* ─── PRE-PLAN SCREEN ───────────────────────────────────────────────────────── */
.spin-guide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 600px) { .spin-guide { grid-template-columns: 1fr; } }
.spin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.spin-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.spin-desc { font-size: 0.82rem; color: var(--text-sub); }

/* ─── VAULT SCREEN ──────────────────────────────────────────────────────────── */
.screen-vault {
  background: var(--bg);
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.vault-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.15) 0%, transparent 65%);
  animation: vault-glow-pulse 3s ease infinite;
}
.vault-content {
  position: relative;
  padding: 40px 24px;
  max-width: 640px;
  animation: vault-reveal 0.8s ease forwards;
}
.vault-door {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  margin: 0 auto 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vault-spin 1.5s ease-out forwards;
  box-shadow: 0 0 60px rgba(201,168,76,0.4), 0 0 120px rgba(201,168,76,0.15);
}
.vault-door::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
}
.vault-door::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.1;
}
.vault-icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  animation: vault-icon-appear 0.5s 1.2s ease forwards;
  opacity: 0;
}
.vault-opened {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fade-in 0.5s 1.5s ease forwards;
  opacity: 0;
}
.vault-title {
  color: var(--gold-light);
  margin-bottom: 16px;
  animation: fade-in 0.5s 1.7s ease forwards;
  opacity: 0;
}
.vault-team {
  color: var(--text-sub);
  font-style: italic;
  margin-bottom: 32px;
  animation: fade-in 0.5s 1.9s ease forwards;
  opacity: 0;
}
.vault-message {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  animation: fade-in 0.5s 2.1s ease forwards;
  opacity: 0;
  text-align: left;
}
.vault-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  animation: fade-in 0.5s 2.3s ease forwards;
  opacity: 0;
}
.vault-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.vault-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.vault-stat-value { font-size: 1rem; color: var(--gold); font-weight: 600; }

/* ─── FAIL SCREEN ───────────────────────────────────────────────────────────── */
.screen-fail {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.fail-icon { font-size: 4rem; margin-bottom: 24px; opacity: 0.5; }
.fail-title { color: var(--text-sub); margin-bottom: 12px; }
.fail-message { color: var(--text-muted); max-width: 480px; margin: 0 auto 40px; font-size: 0.95rem; line-height: 1.7; }

/* ─── SECTION DIVIDER ───────────────────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}
.section-divider-line { flex: 1; height: 1px; background: var(--border); }
.section-divider-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── ANIMATIONS ────────────────────────────────────────────────────────────── */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-6px); }
  40%, 80%  { transform: translateX(6px); }
}
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
@keyframes timer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes vault-spin {
  0%   { transform: rotate(0deg);    }
  30%  { transform: rotate(-360deg); }
  60%  { transform: rotate(-700deg); }
  80%  { transform: rotate(-710deg); }
  100% { transform: rotate(-720deg); }
}
@keyframes vault-icon-appear {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1);   }
}
@keyframes vault-glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes vault-reveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Staggered fade-in for briefing items */
.anim-1 { animation: fade-in 0.6s 0.1s ease both; }
.anim-2 { animation: fade-in 0.6s 0.3s ease both; }
.anim-3 { animation: fade-in 0.6s 0.5s ease both; }
.anim-4 { animation: fade-in 0.6s 0.7s ease both; }
.anim-5 { animation: fade-in 0.6s 0.9s ease both; }
.anim-6 { animation: fade-in 0.6s 1.1s ease both; }

/* ─── Utilities ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.flex-row { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.progress-pills {
  display: flex;
  gap: 6px;
  align-items: center;
}
.pill {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  flex: 1;
  transition: background 0.3s;
}
.pill.done { background: var(--gold); }
.pill.active { background: var(--gold-light); }

/* ─── LANDING VISUAL ────────────────────────────────────────────────────────── */
.landing-hero-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1596003906949-67221c37965c?w=1920&q=60');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: grayscale(30%);
}
.briefing-hero {
  width: 100%;
  height: 180px;
  background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21ed6c?w=1200&q=60');
  background-size: cover;
  background-position: center 40%;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.briefing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,20,0.95) 0%, rgba(13,13,20,0.5) 60%, rgba(13,13,20,0.7) 100%);
}
.briefing-hero-text {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.briefing-hero-text h2 {
  color: var(--gold-light);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 4px;
}
.briefing-hero-text p {
  color: var(--text-sub);
  font-style: italic;
  font-size: 0.9rem;
}

/* ─── LINKEDIN MODAL — MANILA CASE FILE ─────────────────────────────────────── */
.li-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Dark ops desk backdrop with subtle wood-grain texture */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0.3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 25%, #2A1A06 0%, transparent 55%),
    radial-gradient(ellipse at 75% 80%, #1A0E02 0%, transparent 50%),
    #120B02;
  backdrop-filter: blur(3px);
}

/* Folder wrapper — the manila file itself */
.li-modal-folder {
  position: relative;
  width: min(740px, 95vw);
  height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 3px 10px 3px 3px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.85),
    0 10px 30px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,248,220,0.25);
  overflow: hidden;
  /* Realistic manila paper gradient */
  background: linear-gradient(
    170deg,
    #D9AA6A 0%,
    #C99444 15%,
    #D6A660 30%,
    #C8924A 50%,
    #D4A460 65%,
    #C99444 80%,
    #D2A25C 100%
  );
}

/* Folder tab sticking up above the folder */
.li-modal-folder::before {
  content: 'INTELLIGENCE FILE';
  position: absolute;
  top: -30px;
  left: 22px;
  height: 30px;
  padding: 0 20px;
  background: linear-gradient(180deg, #B87A2E 0%, #C8924A 100%);
  color: rgba(0,0,0,0.45);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
}

/* Manila paper texture overlay */
.li-modal-folder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0.2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23p)' opacity='0.22'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Header bar — dark kraft paper strip */
.li-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: linear-gradient(180deg, #8B5A1A 0%, #7A4E16 100%);
  border-bottom: 3px solid #5C3A0E;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  gap: 12px;
}
.li-modal-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.li-modal-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255,230,160,0.75);
  text-transform: uppercase;
  white-space: nowrap;
}
.li-modal-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFE8A0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.li-modal-case {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: rgba(255,220,120,0.5);
  text-transform: uppercase;
  white-space: nowrap;
}
.li-modal-close {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,200,100,0.3);
  border-radius: var(--radius);
  color: rgba(255,220,140,0.85);
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.li-modal-close:hover {
  background: rgba(180,60,0,0.5);
  border-color: rgba(255,140,80,0.6);
  color: #FFD090;
}

/* Stamps strip under header */
.li-modal-stamps {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 18px;
  background: rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.li-modal-stamp {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1.5px solid currentColor;
}
.li-modal-stamp.red   { color: rgba(180,20,0,0.7);   border-color: rgba(180,20,0,0.5);   }
.li-modal-stamp.green { color: rgba(0,100,30,0.7);   border-color: rgba(0,100,30,0.5);   }
.li-modal-stamp.gray  { color: rgba(60,40,10,0.45);  border-color: rgba(60,40,10,0.3);   font-weight:400; font-style:italic; letter-spacing:0.12em; border:none; }

/* Iframe lives inside the folder */
.li-modal iframe {
  flex: 1;
  border: none;
  background: #f3f2ef;
  position: relative;
  z-index: 1;
}

/* ─── PERSONA CARD VISUAL LIFT ──────────────────────────────────────────────── */
.persona-card-header-img {
  width: 100%;
  height: 60px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #da291c 100%);
  margin: -24px -24px 16px -24px;
  width: calc(100% + 48px);
}

/* ─── HYPOTHESIS TIERS ──────────────────────────────────────────────────────── */
.tier-developing { color: var(--warning); }
.coaching-card {
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.coaching-card h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.coaching-text { font-size: 0.9rem; color: var(--text-sub); line-height: 1.6; }

/* ─── CINEMATIC SCENE CARDS ─────────────────────────────────────────────────── */
.scene-card {
  position: fixed; inset: 0; z-index: 200;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}
.scene-film-grain {
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  animation: grain 0.5s steps(2) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  25%       { transform: translate(-2%,-1%); }
  50%       { transform: translate(1%, 2%); }
  75%       { transform: translate(-1%, 1%); }
}
.scene-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.scene-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}
.scene-content {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.scene-act {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fade-in 0.8s 0.2s ease forwards;
}
.scene-rule {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 28px;
  opacity: 0;
  animation: fade-in 0.6s 0.7s ease forwards;
}
.scene-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  letter-spacing: 0.15em;
  color: #fff;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 28px;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1s 1s ease forwards;
}
.scene-title.gold  { color: var(--gold-light); }
.scene-title.red   { color: #E05555; }
.scene-title.green { color: #4CAF84; }
.scene-quote {
  font-style: italic;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  margin: 0 auto 52px;
  line-height: 1.8;
  opacity: 0;
  animation: fade-in 0.8s 1.7s ease forwards;
}
.scene-continue {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 0.8s 2.4s ease forwards;
}
.scene-countdown-ring {
  position: absolute;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  opacity: 0;
  animation: fade-in 0.5s 2.6s ease forwards;
}
.scene-countdown-ring circle {
  fill: none;
  stroke: rgba(201,168,76,0.3);
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 1s linear;
}
.scene-countdown-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
}

/* ─── WHITEBOARD / HEIST INTEL BOARD ───────────────────────────────────────── */
.corkboard {
  min-height: 100vh;
  background: #F0EDE3;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 31px,
      rgba(100, 149, 237, 0.12) 31px,
      rgba(100, 149, 237, 0.12) 32px
    );
  position: relative;
  overflow: hidden;
}
/* Dark board frame */
.corkboard::after {
  content: '';
  position: fixed;
  inset: 0;
  border: 14px solid #1C1A18;
  box-shadow:
    inset 0 0 30px rgba(0,0,0,0.18),
    inset 0 0 60px rgba(0,0,0,0.08),
    0 0 80px rgba(0,0,0,0.7);
  pointer-events: none;
  z-index: 50;
}
/* Subtle whiteboard texture/shine */
.corkboard::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(255,255,255,0.55) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 90%, rgba(220,215,200,0.4) 0%, transparent 40%);
  pointer-events: none;
}
.corkboard-header {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 16px 24px 4px;
}
.corkboard-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: #8B1A1A;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.corkboard-title-text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #1C1A18;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.corkboard-hint {
  font-size: 0.8rem;
  color: #555;
}

/* String map container */
.string-map {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  height: 540px;
}
.string-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Individual persona pin */
.cork-pin-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 175px;
  transform: translateX(-50%);
  animation: fade-in 0.6s ease forwards;
}
.cork-pin-card.pin-A { left: 50%;  top: 16px; animation-delay: 0.2s; opacity: 0; }
.cork-pin-card.pin-B { left: 18%;  bottom: 16px; transform: translateX(-50%); animation-delay: 0.5s; opacity: 0; }
.cork-pin-card.pin-C { left: 82%;  bottom: 16px; transform: translateX(-50%); animation-delay: 0.8s; opacity: 0; }

/* Tack */
.cork-tack {
  width: 14px; height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.3), 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: -2px;
  position: relative;
  z-index: 4;
  flex-shrink: 0;
}
.cork-tack.gold   { background: var(--gold); }
.cork-tack.red    { background: #C04040; }
.cork-tack.silver { background: #888; }

/* Photo circle */
.cork-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.18);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28), 2px 3px 0 rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.cork-photo:hover {
  border-color: #8B1A1A;
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 18px rgba(139,26,26,0.22);
}
.cork-photo-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700;
  font-family: var(--font-heading);
  color: white;
}
.cork-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.68);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}
.cork-photo:hover .cork-photo-overlay { opacity: 1; }
.cork-photo-overlay span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Info card — light bg for whiteboard */
.cork-info {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 10px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cork-name { font-size: 0.92rem; font-weight: 700; color: #1C1A18; margin-bottom: 3px; }
.cork-role { font-size: 0.72rem; color: #444; line-height: 1.4; margin-bottom: 8px; }
.cork-difficulty {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.cork-difficulty.high   { background: rgba(192,64,64,0.12);   color: #A00000; border: 1px solid rgba(192,64,64,0.3); }
.cork-difficulty.mid    { background: rgba(180,100,0,0.1);    color: #8B5000; border: 1px solid rgba(180,100,0,0.25); }
.cork-difficulty.low    { background: rgba(30,120,80,0.1);    color: #1A6040; border: 1px solid rgba(30,120,80,0.25); }
.cork-recruit-btn {
  width: 100%;
  background: #8B1A1A;
  border: none;
  color: #fff;
  padding: 9px 12px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(139,26,26,0.3);
}
.cork-recruit-btn:hover { background: #A02020; box-shadow: 0 4px 14px rgba(139,26,26,0.45); transform: translateY(-1px); }

/* Corkboard footer */
.corkboard-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 32px;
  position: relative;
  z-index: 5;
}
.corkboard-footer .consequence-bar {
  color: #2A1808;
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
}

/* ─── STICKY NOTES ───────────────────────────────────────────────────────────── */
.sticky-note {
  position: absolute;
  padding: 11px 13px 14px;
  font-family: 'Patrick Hand', 'Comic Sans MS', 'Segoe Script', cursive;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #2A1808;
  z-index: 4;
  min-width: 130px;
  max-width: 158px;
  box-shadow: 2px 3px 10px rgba(0,0,0,0.22), inset 0 -3px 0 rgba(0,0,0,0.07);
  pointer-events: none;
}
.sticky-note::before {
  content: '';
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 17px;
  background: rgba(255,253,220,0.85);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.sticky-yellow  { background: #FFF176; }
.sticky-orange  { background: #FFCC80; }
.sticky-pink    { background: #F8BBD9; }
.sticky-blue    { background: #B3E5FC; }
.sticky-green   { background: #C8E6C9; }
.sticky-note strong { font-weight: 800; color: #5C1010; }

/* ─── HEIST DECORATIONS ─────────────────────────────────────────────────────── */
.heist-tape {
  position: absolute;
  background: rgba(255,253,210,0.80);
  border-top: 1px solid rgba(200,185,80,0.35);
  border-bottom: 1px solid rgba(200,185,80,0.35);
  padding: 4px 20px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,0.55);
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.heist-stamp {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: rgba(170,0,0,0.38);
  border: 4px solid rgba(170,0,0,0.38);
  padding: 6px 14px;
  border-radius: 5px;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
  transform: rotate(-14deg);
  white-space: nowrap;
}
.heist-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  color: rgba(0,0,0,0.35);
  text-transform: uppercase;
  z-index: 4;
  pointer-events: none;
}

/* ─── DECOY PINS ─────────────────────────────────────────────────────────────── */
.decoy-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
  z-index: 2;
  opacity: 0;
  animation: fade-in 0.5s ease 1.2s forwards;
}
.decoy-photo {
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 2px solid #999;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(100%) brightness(0.75);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.decoy-initials {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.75);
}
.decoy-x-mark {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.decoy-stamp {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #CC1100;
  border: 2px solid #CC1100;
  padding: 2px 7px;
  border-radius: 3px;
  margin-top: 5px;
  transform: rotate(-8deg);
  opacity: 0.85;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(204,17,0,0.18);
}
.decoy-name {
  font-size: 0.68rem;
  color: #888;
  text-decoration: line-through;
  text-align: center;
  margin-top: 5px;
  font-weight: 600;
}
.decoy-role {
  font-size: 0.6rem;
  color: #AAA;
  text-align: center;
  line-height: 1.3;
  padding: 0 6px;
}

/* ─── ROOM TIMER BAR ─────────────────────────────────────────────────────────── */
.room-timer-strip {
  background: rgba(201,168,76,0.06);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 5px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
}
.room-timer-strip-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.room-timer-strip-val {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  transition: color 0.3s;
}
.room-timer-strip-val.warning  { color: var(--warning); }
.room-timer-strip-val.critical { color: var(--danger); animation: pulse 1s infinite; }

/* ─── ROOM TIMER BAR (prominent, replaces step-level pills) ─────────────────── */
.room-timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
  border-bottom: 1px solid rgba(201,168,76,0.35);
  padding: 14px 32px;
  position: sticky;
  top: 60px;
  z-index: 99;
}
.room-timer-bar-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.9;
}
.room-timer-bar-val {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  transition: color 0.5s;
  text-shadow: 0 0 16px rgba(201,168,76,0.35);
}
.room-timer-bar-val.warning  { color: var(--warning); text-shadow: 0 0 16px rgba(230,170,60,0.35); }
.room-timer-bar-val.critical { color: var(--danger); text-shadow: 0 0 18px rgba(220,60,60,0.4); animation: timer-pulse 1s ease infinite; }
.room-timer-bar-phase {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-sub);
  text-transform: uppercase;
  opacity: 0.75;
}

/* ─── PROSPECTING AGENT BTN ─────────────────────────────────────────────────── */
.agent-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.06));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  margin-bottom: 10px;
}
.agent-btn:hover { background: rgba(201,168,76,0.18); box-shadow: var(--shadow-gold); }
.agent-btn-icon { font-size: 1.1rem; }
.agent-btn-label { flex: 1; }
.agent-btn-arrow { opacity: 0.5; font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════════════════════════════════
   BLUEPRINT BRIEFING SCREEN — BRUSHED METAL DESK
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Brushed steel / metal desk surface */
.desk-scene {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 16px;
  overflow: hidden;
  background-color: #2A2A2A;
  background-image:
    /* Fine horizontal brush strokes — the key to brushed metal */
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 1px,
      rgba(255,255,255,0.022) 1px,
      rgba(255,255,255,0.022) 2px,
      transparent 2px,
      transparent 4px
    ),
    /* Occasional bolder reflection bands */
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 32px,
      rgba(255,255,255,0.045) 32px,
      rgba(255,255,255,0.045) 33px,
      transparent 33px,
      transparent 68px
    ),
    /* Diagonal highlight sheen */
    linear-gradient(
      118deg,
      rgba(255,255,255,0.0) 0%,
      rgba(255,255,255,0.055) 30%,
      rgba(255,255,255,0.0) 45%,
      rgba(255,255,255,0.03) 65%,
      rgba(255,255,255,0.0) 100%
    ),
    /* Base tone gradient — slightly lighter top */
    linear-gradient(180deg, #343434 0%, #1E1E1E 50%, #262626 100%);
}

/* Edge vignette — metal surface darkens at edges */
.desk-metal-sheen {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.desk-item, .desk-grain { display: none; }

/* ── BLUEPRINT — wider, deeper blue ── */
.blueprint {
  position: relative;
  width: min(1100px, 96vw);
  border: 2px solid rgba(100,175,255,0.55);
  box-shadow:
    0 0 0 1px rgba(80,160,255,0.08),
    0 0 50px rgba(50,120,255,0.2),
    0 0 100px rgba(30,90,220,0.12),
    0 28px 70px rgba(0,0,0,0.92),
    0 10px 24px rgba(0,0,0,0.8);
  background-color: #0B2280;
  background-image:
    linear-gradient(rgba(140,205,255,0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,205,255,0.075) 1px, transparent 1px),
    linear-gradient(rgba(140,205,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,205,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  animation: bp-appear 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  opacity: 0;
  overflow: hidden;
}
@keyframes bp-appear {
  from { opacity:0; transform: translateY(20px) scale(0.985); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}

/* Schematic SVG — faint floor plan background */
.bp-floorplan {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* All content floats above the schematic */
.bp-title-bar, .bp-body, .bp-footer { position: relative; z-index: 1; }

.bp-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  background: rgba(0,15,70,0.65);
  border-bottom: 1.5px solid rgba(100,175,255,0.28);
  backdrop-filter: blur(2px);
  gap: 12px;
}
.bp-title-left { display: flex; flex-direction: column; gap: 2px; }
.bp-project-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  color: rgba(140,200,255,0.55);
  text-transform: uppercase;
}
.bp-project-name {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  color: #A8D8FF;
  text-transform: uppercase;
  font-weight: 700;
}
.bp-title-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.bp-ref {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: rgba(140,200,255,0.4);
  text-transform: uppercase;
}
.bp-class-stamp {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,100,100,0.95);
  border: 1.5px solid rgba(255,80,80,0.6);
  padding: 2px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}
.bp-body {
  position: relative;
  padding: 26px 36px 20px;
  background: rgba(5,15,60,0.6);
  backdrop-filter: blur(1px);
}
.bp-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: rgba(140,200,255,0.55);
  border-style: solid;
}
.bp-corner-tl { top:10px; left:10px;  border-width: 2px 0 0 2px; }
.bp-corner-tr { top:10px; right:10px; border-width: 2px 2px 0 0; }
.bp-corner-bl { bottom:10px; left:10px;  border-width: 0 0 2px 2px; }
.bp-corner-br { bottom:10px; right:10px; border-width: 0 2px 2px 0; }

.bp-target-row { margin-bottom: 16px; }
.bp-target-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: rgba(140,200,255,0.6);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bp-target-name {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #FFFFFF;
  font-weight: normal;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
  line-height: 1;
  text-shadow: 0 0 40px rgba(100,175,255,0.35);
}
.bp-target-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(140,200,255,0.72);
  text-transform: uppercase;
}
.bp-rule {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 0;
}
.bp-rule-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(140,200,255,0.5); flex-shrink: 0;
}
.bp-rule-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(140,200,255,0.35), rgba(140,200,255,0.06));
}
.bp-columns { display: flex; gap: 0; align-items: flex-start; }
.bp-col { flex: 1; padding: 0 24px 0 0; }
.bp-col:last-child { padding: 0 0 0 24px; }
.bp-col-divider {
  width: 1px; align-self: stretch; flex-shrink: 0;
  background: linear-gradient(to bottom, transparent, rgba(140,200,255,0.2) 20%, rgba(140,200,255,0.2) 80%, transparent);
}
.bp-col-label {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.25em;
  color: #A8D8FF; text-transform: uppercase; font-weight: 700;
  margin-bottom: 12px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(140,200,255,0.15);
}
.bp-text {
  font-size: 0.93rem; color: rgba(225,238,255,0.92);
  line-height: 1.78; margin-bottom: 10px;
}
.bp-text strong { color: #fff; font-weight: 600; }
.bp-callout {
  background: rgba(100,175,255,0.09);
  border-left: 3px solid rgba(140,200,255,0.5);
  border-radius: 0 4px 4px 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: #A8D8FF; text-transform: uppercase;
  margin-top: 8px;
}
.bp-rules { list-style: none; padding: 0; margin: 0; }
.bp-rules li {
  font-size: 0.91rem; color: rgba(225,238,255,0.9);
  line-height: 1.68; padding: 5px 0 5px 22px; position: relative;
  border-bottom: 1px solid rgba(140,200,255,0.07);
}
.bp-rules li:last-child { border-bottom: none; }
.bp-rules li::before { content: '→'; position: absolute; left: 0; color: #A8D8FF; font-weight: 700; }
.bp-annotation {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.18em; color: rgba(140,200,255,0.35);
  text-align: center; margin-top: 18px; padding-top: 12px;
  border-top: 1px solid rgba(140,200,255,0.1);
  text-transform: uppercase;
}
.bp-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px;
  background: rgba(0,10,50,0.7);
  border-top: 1.5px solid rgba(100,175,255,0.22);
  backdrop-filter: blur(2px); gap: 12px;
}
.bp-footer-left { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.bp-footer-label {
  font-family: var(--font-mono); font-size: 0.48rem;
  letter-spacing: 0.28em; color: rgba(140,200,255,0.4); text-transform: uppercase;
}
.bp-footer-val {
  font-family: var(--font-mono); font-size: 0.84rem;
  letter-spacing: 0.18em; color: #fff; text-transform: uppercase; font-weight: 600;
}
.bp-footer-center { flex: 1; text-align: center; }
.bp-scale {
  font-family: var(--font-mono); font-size: 0.46rem;
  letter-spacing: 0.18em; color: rgba(140,200,255,0.28); text-transform: uppercase;
}
.bp-accept-btn {
  background: transparent;
  border: 1.5px solid rgba(140,200,255,0.75);
  color: #A8D8FF; padding: 11px 28px;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer;
  transition: all 0.2s; flex-shrink: 0;
}
.bp-accept-btn:hover {
  background: rgba(140,200,255,0.14);
  border-color: #A8D8FF; color: #fff;
  box-shadow: 0 0 28px rgba(100,175,255,0.35);
  transform: translateY(-1px);
}

/* ─── BRIEFING READABILITY OVERRIDES (v5b) ─────────────────────────────────── */

/* CLASSIFIED stamp — solid red, fully opaque */
.bpo-classified {
  font-family: var(--font-mono) !important;
  font-size: 0.64rem !important;
  letter-spacing: 0.28em !important;
  color: #fff !important;
  border: 1.5px solid #cc3333 !important;
  padding: 4px 12px !important;
  background: #8B1515 !important;
  text-shadow: none !important;
  display: inline-block !important;
  transform: rotate(-1.2deg) !important;
  font-weight: 700 !important;
}

/* Warning box — solid amber, dark text */
.bpo-warning {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border: 1.5px solid #e0a800 !important;
  border-left: 3px solid #FFC020 !important;
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  font-size: 0.90rem !important;
  color: #1a1000 !important;
  line-height: 1.68 !important;
  background: #C8960A !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}
.bpo-warn-icon {
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
  color: #1a1000 !important;
}
.bpo-warning strong {
  color: #000 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* Body text — bigger and brighter */
.bpo-text {
  font-size: 1.02rem !important;
  color: rgba(255,255,255,0.97) !important;
  line-height: 1.82 !important;
  margin-bottom: 12px !important;
  font-weight: 400 !important;
  text-shadow: 0 0 3px rgba(255,255,255,0.50), 1px 1px 4px rgba(0,0,40,0.70) !important;
}
.bpo-text strong {
  color: #fff !important;
  font-weight: 800 !important;
  text-shadow: 0 0 7px rgba(255,255,255,0.75) !important;
}
.bpo-text em {
  font-style: italic !important;
  color: rgba(210,235,255,0.90) !important;
}

/* Rules list — bigger and brighter */
.bpo-rule-item {
  font-size: 0.98rem !important;
  color: rgba(255,255,255,0.96) !important;
  line-height: 1.74 !important;
  margin-bottom: 10px !important;
  padding-left: 22px !important;
  position: relative !important;
  font-weight: 400 !important;
  text-shadow: 0 0 3px rgba(255,255,255,0.45), 1px 1px 4px rgba(0,0,40,0.70) !important;
}

/* Section labels — brighter */
.bpo-label {
  font-family: var(--font-mono) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.26em !important;
  color: rgba(215,238,255,0.92) !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
  font-weight: 600 !important;
  text-shadow: 0 0 7px rgba(180,210,255,0.60) !important;
}

/* Account meta line — brighter */
.bpo-account-meta {
  font-family: var(--font-mono) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.18em !important;
  color: rgba(225,242,255,0.88) !important;
  text-shadow: 0 0 5px rgba(180,210,255,0.45) !important;
}


/* ─── VIDEO → BRIEFING TRANSITION ──────────────────────────────────────────── */

/* 1. Video screen fades to black when ended */
.intro-video-screen.video-fade-out {
  animation: videoFadeOut 0.55s ease forwards;
  pointer-events: none;
}
@keyframes videoFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* 2. Briefing scene unrolls top-to-bottom — like unrolling blueprint paper */
.briefing-scene {
  animation: blueprintUnroll 1.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes blueprintUnroll {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0% 0);
  }
}

/* 3. Text content fades in after the paper is mostly unrolled */
.briefing-photo-overlay {
  animation: contentReveal 0.7s ease 0.85s both;
}
@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─── BRIEFING READABILITY OVERRIDES (v5b) ─────────────────────────────────── */

/* CLASSIFIED stamp — solid red, fully opaque */
.bpo-classified {
  font-family: var(--font-mono) !important;
  font-size: 0.64rem !important;
  letter-spacing: 0.28em !important;
  color: #fff !important;
  border: 1.5px solid #cc3333 !important;
  padding: 4px 12px !important;
  background: #8B1515 !important;
  text-shadow: none !important;
  display: inline-block !important;
  transform: rotate(-1.2deg) !important;
  font-weight: 700 !important;
}

/* Warning box — solid amber, dark text */
.bpo-warning {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border: 1.5px solid #e0a800 !important;
  border-left: 3px solid #FFC020 !important;
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  font-size: 0.90rem !important;
  color: #1a1000 !important;
  line-height: 1.68 !important;
  background: #C8960A !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}
.bpo-warn-icon {
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
  color: #1a1000 !important;
}
.bpo-warning strong {
  color: #000 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* Body text — bigger and brighter */
.bpo-text {
  font-size: 1.02rem !important;
  color: rgba(255,255,255,0.97) !important;
  line-height: 1.82 !important;
  margin-bottom: 12px !important;
  font-weight: 400 !important;
  text-shadow: 0 0 3px rgba(255,255,255,0.50), 1px 1px 4px rgba(0,0,40,0.70) !important;
}
.bpo-text strong {
  color: #fff !important;
  font-weight: 800 !important;
  text-shadow: 0 0 7px rgba(255,255,255,0.75) !important;
}
.bpo-text em {
  font-style: italic !important;
  color: rgba(210,235,255,0.90) !important;
}

/* Rules list — bigger and brighter */
.bpo-rule-item {
  font-size: 0.98rem !important;
  color: rgba(255,255,255,0.96) !important;
  line-height: 1.74 !important;
  margin-bottom: 10px !important;
  padding-left: 22px !important;
  position: relative !important;
  font-weight: 400 !important;
  text-shadow: 0 0 3px rgba(255,255,255,0.45), 1px 1px 4px rgba(0,0,40,0.70) !important;
}

/* Section labels — brighter */
.bpo-label {
  font-family: var(--font-mono) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.26em !important;
  color: rgba(215,238,255,0.92) !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
  font-weight: 600 !important;
  text-shadow: 0 0 7px rgba(180,210,255,0.60) !important;
}

/* Account meta line — brighter */
.bpo-account-meta {
  font-family: var(--font-mono) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.18em !important;
  color: rgba(225,242,255,0.88) !important;
  text-shadow: 0 0 5px rgba(180,210,255,0.45) !important;
}


/* ─── VIDEO → BRIEFING TRANSITION ──────────────────────────────────────────── */

/* 1. Video screen fades to black when ended */
.intro-video-screen.video-fade-out {
  animation: videoFadeOut 0.55s ease forwards;
  pointer-events: none;
}
@keyframes videoFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* 2. Briefing scene unrolls top-to-bottom — like unrolling blueprint paper */
.briefing-scene {
  animation: blueprintUnroll 1.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes blueprintUnroll {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0% 0);
  }
}

/* 3. Text content fades in after the paper is mostly unrolled */
.briefing-photo-overlay {
  animation: contentReveal 0.7s ease 0.85s both;
}
@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─── TRANSITION VIDEO SCREEN (Briefing → Room 1) ─────────────────────────── */
.transition-video-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.transition-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transition-video-screen.video-fade-out {
  animation: videoFadeOut 0.55s ease forwards;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SLOT MACHINE — Room 1 Intro
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Casino ambient glow behind the screen */
.slot-screen { position: relative; }
.slot-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(180,140,40,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(160,100,20,0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(160,100,20,0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.slot-cabinet {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

/* Chrome outer shell */
.cabinet-chrome {
  background: linear-gradient(180deg,
    #c0b8a8 0%, #a8a090 2%, #908878 4%, #a8a090 6%, #b8b0a0 8%,
    #908070 20%, #706858 50%, #585048 80%, #484038 100%
  );
  border-radius: 20px 20px 12px 12px;
  padding: 6px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.7),
    0 0 80px rgba(0,0,0,0.3),
    inset 0 2px 0 rgba(255,255,255,0.15);
}
.cabinet-inner {
  background: linear-gradient(180deg, #2c1810 0%, #1e1008 40%, #160c04 100%);
  border-radius: 16px 16px 8px 8px;
  overflow: hidden;
}

/* ── MARQUEE ── */
.slot-marquee {
  position: relative;
  background: linear-gradient(180deg, #3a1808 0%, #5a2010 30%, #4a1808 70%, #2a1004 100%);
  border-bottom: 3px solid #8B6020;
  padding: 0;
  overflow: hidden;
}
.slot-marquee::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6a5020, #c9a84c, #f0d060, #c9a84c, #f0d060, #c9a84c, #6a5020);
}
.slot-marquee-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  gap: 16px;
  position: relative;
}
.slot-marquee-side {
  text-align: center;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.3);
}
.slot-marquee-side-label {
  font-family: var(--font-mono);
  font-size: 0.4rem;
  letter-spacing: 0.15em;
  color: rgba(201,168,76,0.5);
  text-transform: uppercase;
}
.slot-marquee-side-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(100,255,120,0.9);
  text-shadow: 0 0 8px rgba(100,255,120,0.3);
}
.slot-marquee-center { text-align: center; }
.slot-marquee-sub {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: rgba(255,200,80,0.5);
  text-transform: uppercase;
}
.slot-marquee-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffd040;
  text-shadow: 0 0 10px rgba(255,200,60,0.5), 0 0 30px rgba(255,180,40,0.2), 0 2px 4px rgba(0,0,0,0.6);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

/* Decorative bolts */
.slot-bolt {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8ad, #46a 50%, #238);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.3);
  position: absolute;
}
.slot-bolt-tl { top: 8px; left: 10px; }
.slot-bolt-tr { top: 8px; right: 10px; }
.slot-bolt-bl { bottom: 8px; left: 10px; }
.slot-bolt-br { bottom: 8px; right: 10px; }

/* ── CHASE LIGHTS ── */
.slot-chase-lights {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 5px 30px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.slot-chase-light {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  animation: slotChase 1.5s ease-in-out infinite;
}
.slot-chase-light:nth-child(5n+1) { background: #e44; box-shadow: 0 0 4px #e44; animation-delay: 0s; }
.slot-chase-light:nth-child(5n+2) { background: #4a4; box-shadow: 0 0 4px #4a4; animation-delay: 0.3s; }
.slot-chase-light:nth-child(5n+3) { background: #44e; box-shadow: 0 0 4px #44e; animation-delay: 0.6s; }
.slot-chase-light:nth-child(5n+4) { background: #ea4; box-shadow: 0 0 4px #ea4; animation-delay: 0.9s; }
.slot-chase-light:nth-child(5n+5) { background: #e4e; box-shadow: 0 0 4px #e4e; animation-delay: 1.2s; }
@keyframes slotChase {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── REEL WINDOW ── */
.slot-reel-section {
  padding: 12px 16px;
  position: relative;
}
.slot-reel-bezel {
  border: 4px solid;
  border-image: linear-gradient(180deg, rgba(201,168,76,0.5), rgba(140,110,50,0.3), rgba(201,168,76,0.5)) 1;
  border-radius: 4px;
  background: #000;
  padding: 3px;
  position: relative;
  box-shadow: inset 0 6px 20px rgba(0,0,0,0.8), inset 0 -2px 8px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.3);
}
/* Glass reflection */
.slot-reel-bezel::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: linear-gradient(165deg, rgba(255,255,255,0.04) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.015) 100%);
  border-radius: 2px;
  pointer-events: none;
  z-index: 5;
}

.slot-reel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0;
}
.slot-reel-col { position: relative; }
.slot-reel-col + .slot-reel-col { border-left: 2px solid rgba(139,96,32,0.4); }

/* Ghost rows */
.slot-ghost-cell {
  padding: 8px 6px;
  text-align: center;
  font-size: 1.6rem;
  opacity: 0.12;
  filter: blur(1.5px);
  background: rgba(20,15,10,0.6);
}

/* Winning row cells */
.slot-win-cell {
  background: linear-gradient(180deg, rgba(255,248,225,0.97) 0%, rgba(255,244,200,0.95) 50%, rgba(248,235,185,0.93) 100%);
  padding: 16px 8px 14px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.slot-win-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(139,112,48,0.02) 2px, rgba(139,112,48,0.02) 3px);
  pointer-events: none;
}
.slot-reel-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.12));
  position: relative; z-index: 1;
}
.slot-step-num {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  color: rgba(139,112,48,0.5);
  margin-bottom: 3px;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.slot-step-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2a1e10;
  line-height: 1.2;
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.slot-step-time {
  font-family: var(--font-mono);
  font-size: 0.46rem;
  color: rgba(100,80,40,0.5);
  letter-spacing: 0.04em;
  position: relative; z-index: 1;
}

/* ── WIN LINE ── */
.slot-win-marker-left, .slot-win-marker-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.slot-win-marker-left { left: -2px; }
.slot-win-marker-right { right: -2px; }
.slot-win-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.3);
}
.slot-win-dot.active {
  background: radial-gradient(circle at 35% 35%, #ff5555, #cc2222 60%, #991111);
  box-shadow: 0 0 8px rgba(255,50,50,0.5);
}
.slot-win-dot.inactive {
  background: radial-gradient(circle at 35% 35%, #555, #333 60%, #222);
}
.slot-win-stripe {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  background: rgba(255,50,50,0.25);
  transform: translateY(-50%);
  z-index: 3;
  box-shadow: 0 0 6px rgba(255,50,50,0.15);
}

/* ── PAY STRIP ── */
.slot-pay-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(201,168,76,0.12);
}
.slot-pay-label {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.3);
  text-transform: uppercase;
}

/* ── CONTROLS ── */
.slot-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  border-top: 2px solid rgba(201,168,76,0.2);
}
.slot-ctrl { text-align: center; }
.slot-ctrl-label {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  letter-spacing: 0.15em;
  color: rgba(201,168,76,0.35);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.slot-ctrl-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 3px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.slot-ctrl-value.green {
  color: rgba(100,255,140,0.9);
  text-shadow: 0 0 6px rgba(100,255,140,0.2);
  border-color: rgba(100,255,140,0.15);
}
.slot-ctrl-value.gold {
  color: rgba(255,220,120,0.9);
  text-shadow: 0 0 6px rgba(255,220,120,0.2);
  border-color: rgba(255,220,120,0.15);
}
.slot-ctrl-value.red {
  color: rgba(255,100,100,0.9);
  text-shadow: 0 0 6px rgba(255,100,100,0.2);
  border-color: rgba(255,100,100,0.15);
}
.slot-spin-btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  padding: 12px 36px;
  background: linear-gradient(180deg, #d4b45c 0%, #a88838 100%);
  color: #1a1008;
  border: 2px solid rgba(255,220,120,0.4);
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: all 0.15s;
}
.slot-spin-btn:hover {
  background: linear-gradient(180deg, #e0c068 0%, #b89848 100%);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ── LEVER ── */
.slot-lever {
  position: absolute;
  right: -42px;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}
.slot-lever-plate {
  width: 22px; height: 16px;
  background: linear-gradient(90deg, #706050, #a09080, #706050);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.slot-lever-arm {
  width: 8px; height: 90px;
  background: linear-gradient(90deg, #808080, #c0c0c0 40%, #909090 70%, #707070);
  border-radius: 4px;
  box-shadow: 2px 0 4px rgba(0,0,0,0.3);
}
.slot-lever-ball {
  width: 28px; height: 28px;
  background: radial-gradient(circle at 38% 32%, #ff5555, #cc2020 55%, #881010);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.6), inset 0 -2px 4px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.15);
  margin-top: -1px;
}

/* ── COIN TRAY ── */
.slot-coin-tray {
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-top: 2px;
  height: 14px;
  background: linear-gradient(180deg, #807060, #504038 40%, #302820);
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(201,168,76,0.1);
  border-top: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Machine glow animation */
.cabinet-chrome {
  animation: slotMachineGlow 4s ease-in-out infinite;
}
@keyframes slotMachineGlow {
  0%, 100% { box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 80px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 80px rgba(201,168,76,0.06); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SLOT MACHINE BACKGROUND — Room 1 Intro (uses video last-frame as bg)
   ═══════════════════════════════════════════════════════════════════════════════ */

.slot-bg-screen {
  position: relative;
  background: url('slot-bg-new.png') center 45% / 70% no-repeat;
  background-color: #0a0806;
  min-height: 100vh;
}
.slot-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.45) 15%,
    rgba(0,0,0,0.05) 30%,
    rgba(0,0,0,0.05) 55%,
    rgba(0,0,0,0.7) 72%,
    rgba(0,0,0,0.95) 88%,
    rgba(0,0,0,1) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.slot-bg-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: calc(100vh - 50px);
  padding: 8px 24px 40px !important;
}
.room1-intro-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  background: rgba(10, 10, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  padding: 24px 32px;
}

/* ── APPROACH VIDEO SCREEN ── */
.approach-video-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.approach-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.approach-video-screen.video-fade-out {
  animation: videoFadeOut 0.55s ease forwards;
  pointer-events: none;
}
.room2-video-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.room2-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room2-video-screen.video-fade-out {
  animation: videoFadeOut 0.55s ease forwards;
  pointer-events: none;
}

/* ─── Solution Recommendation Tiles ──────────────────────────────────────── */
.solution-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
@media (max-width: 960px) {
  .solution-tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .solution-tile-grid { grid-template-columns: 1fr; }
}
.solution-tile {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 14px 16px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}
.solution-tile:hover {
  border-color: var(--gold-dim);
  background: rgba(201, 168, 76, 0.04);
  transform: translateY(-2px);
}
.solution-tile.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.10);
  box-shadow: 0 0 0 1px var(--gold), 0 6px 18px rgba(201, 168, 76, 0.18);
}
.solution-tile-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 10px;
}
.solution-tile-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.solution-tile.selected .solution-tile-name {
  color: var(--gold-light);
}
.solution-tile-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.4;
  flex: 1;
}
.solution-tile-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #0D0D14;
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}
.solution-tile.selected .solution-tile-check {
  opacity: 1;
  transform: scale(1);
}

/* ─── VAULT — DEAL REVENUE + FEEDBACK ──────────────────────────────────────── */
.vault-deal-label-top {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.28em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 10px;
}
.vault-deal-amount {
  font-size: 3.4rem; font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 8px;
}
.vault-deal-sub {
  font-size: 0.82rem; color: var(--text-sub);
  max-width: 420px; margin: 4px auto 0;
}
.vault-deal-delta {
  max-width: 460px; margin: 22px auto 0; padding: 14px 18px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
}
.delta-label {
  display: block; font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.24em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 8px;
}
.delta-bar {
  display: block; position: relative;
  height: 6px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden; margin-bottom: 8px;
}
.delta-bar-fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 3px;
}
.delta-numbers { font-size: 0.78rem; color: var(--text-sub); }
.delta-numbers strong { color: var(--gold-light); font-weight: 700; }
.delta-pct { color: var(--warning); font-weight: 700; }

.vault-stats-row {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 14px;
}
.vault-stat.total .vault-stat-value { color: var(--gold-light); }

/* Feedback section */
.feedback-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 36px auto 24px; max-width: 520px;
}
.feedback-divider .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.feedback-divider .label {
  color: var(--gold); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
}
.feedback-divider .label::before { content: '\25C6  '; color: var(--gold-dim); }
.feedback-divider .label::after  { content: '  \25C6'; color: var(--gold-dim); }

.feedback-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  text-align: left; margin-bottom: 20px;
}
@media (max-width: 680px) { .feedback-grid { grid-template-columns: 1fr; } }

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.feedback-card.strengths {
  border-color: rgba(61,153,112,0.4);
  background: linear-gradient(180deg, var(--success-bg) 0%, var(--bg-card) 100%);
}
.feedback-card.sharpen {
  border-color: rgba(212,136,42,0.4);
  background: linear-gradient(180deg, var(--warning-bg) 0%, var(--bg-card) 100%);
}
.feedback-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 6px;
}
.feedback-card.strengths .feedback-eyebrow { color: var(--success); }
.feedback-card.sharpen   .feedback-eyebrow { color: var(--warning); }

.feedback-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin-bottom: 14px; letter-spacing: -0.01em;
  font-family: var(--font-body);
}
.feedback-list { list-style: none; margin: 0; padding: 0; }
.feedback-list li {
  padding: 10px 0 12px 24px;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  position: relative;
  font-size: 0.88rem; line-height: 1.55;
  color: var(--text-sub);
}
.feedback-list li:last-child { border-bottom: none; }
.feedback-list li::before {
  position: absolute; left: 0; top: 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem;
}
.feedback-card.strengths .feedback-list li::before { content: '+'; color: var(--success); }
.feedback-card.sharpen   .feedback-list li::before { content: '$'; color: var(--warning); }
.feedback-list li strong {
  color: var(--text); display: block; margin-bottom: 3px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.005em;
}

.pill-dollar {
  display: inline-block; margin-bottom: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--warning-bg); color: var(--warning);
  border: 1px solid rgba(212,136,42,0.4);
  font-family: var(--font-mono); font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.08em;
}

.feedback-footer {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  margin-top: 4px; margin-bottom: 24px;
}

/* ─── SKIP VIDEO BUTTON (shown on every video screen) ─────────────────────── */
.video-skip-btn {
  position: absolute; top: 20px; right: 24px; z-index: 100;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 22px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.15s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.video-skip-btn:hover {
  background: rgba(212,175,55,0.85);
  color: #0B0F1A;
  border-color: rgba(212,175,55,1);
  transform: translateY(-1px);
}
.video-skip-btn::after { content: '→'; font-size: 0.95rem; }

/* ─── ROOM 2 · PARTNER REACH-OUT ─────────────────────────────────────────── */
.partner-screen { padding: 32px 28px 80px; }
.partner-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.28em;
  color: var(--gold); text-transform: uppercase; text-align: center;
  margin-bottom: 14px; opacity: 0.9;
}
.partner-title {
  font-family: var(--font-serif, Georgia, serif); font-style: italic; font-weight: 700;
  font-size: 2rem; color: var(--text); text-align: center;
  margin: 0 0 36px; letter-spacing: -0.01em;
}
.play-partners {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  margin-bottom: 28px;
}
.partner-subtitle {
  text-align: center; max-width: 720px; margin: 0 auto 28px;
  color: rgba(220, 220, 230, 0.7); font-size: 0.95rem; line-height: 1.55;
}
.partner-card {
  background: var(--bg-card, #111726); border: 1px solid var(--border, #1F2538);
  border-radius: 8px; padding: 22px 20px; position: relative;
  cursor: pointer; transition: all 0.2s;
}
.partner-card-skip {
  border-style: dashed; opacity: 0.85;
}
.partner-card-skip .partner-logo.brand-skip {
  background: rgba(255,255,255,0.04); color: rgba(220,220,230,0.5);
  font-size: 2rem; font-weight: 300;
}
.partner-card-skip:hover { opacity: 1; }
.partner-card:hover {
  border-color: rgba(212,175,55,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.partner-card.selected {
  border-color: #D4AF37;
  background: linear-gradient(180deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  box-shadow: 0 0 24px rgba(212,175,55,0.25);
}
.partner-card.selected::after {
  content: '\2713'; position: absolute; top: 12px; right: 14px;
  color: #D4AF37; font-size: 1.2rem; font-weight: 700;
}
.play-partners.has-selection .partner-card:not(.selected) {
  opacity: 0.32; cursor: not-allowed; pointer-events: none;
  filter: saturate(0.5); transform: none;
}
.partner-logo {
  width: 64px; height: 64px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; padding: 8px;
  font-family: var(--font-body, Inter, sans-serif);
  font-weight: 800; letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  text-align: center; line-height: 1; overflow: hidden;
}
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.partner-logo.brand-wwt { background: #ffffff; border: 1px solid #e5e5e5; padding: 4px; }
.partner-logo.brand-t3 { background: #000000; font-style: normal; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; border: 1px solid #1A1A1A; }
.brand-t3 .t3-trace { color: #B5B5BA; }
.brand-t3 .t3-three { color: #00C2FF; }
.partner-logo.brand-acn { background: #ffffff; color: #A100FF; font-size: 2.2rem; font-weight: 900; border: 1px solid #e5e5e5; }
.partner-logo.brand-cgn { background: #003DA5; color: #ffffff; font-size: 0.78rem; font-weight: 600; letter-spacing: -0.03em; }
.partner-name {
  font-family: var(--font-body, Inter, sans-serif); font-weight: 600;
  font-size: 1.15rem; color: var(--text, #E8EBF2); margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.partner-tag {
  font-family: var(--font-mono, monospace); font-size: 0.58rem; letter-spacing: 0.2em;
  color: var(--text-dim, #5A6175); text-transform: uppercase; margin-bottom: 12px;
}
.partner-row.neutral { color: var(--text-sub, #C2C8D6); margin-bottom: 0; line-height: 1.5; font-size: 0.78rem; }

/* Inline result panel */
.partner-result-panel {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 10px; padding: 28px 32px;
  margin-bottom: 24px;
  animation: resultFadeIn 0.4s ease;
}
@keyframes resultFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.result-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}
.result-from { color: var(--text-muted, #8A91A3); font-size: 0.78rem; }
.result-from .name { color: #E6C659; font-weight: 600; }
.result-tag {
  font-family: var(--font-mono, monospace); font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 3px;
}
.result-tag.jackpot { background: rgba(59,176,120,0.14); color: #3BB078; border: 1px solid rgba(59,176,120,0.3); }
.result-tag.solid   { background: rgba(212,175,55,0.08); color: #D4AF37; border: 1px solid rgba(212,175,55,0.35); }
.result-tag.trap    { background: rgba(200,16,46,0.14); color: #C8102E; border: 1px solid rgba(200,16,46,0.3); }
.result-tag.dead    { background: rgba(200,16,46,0.14); color: #C8102E; border: 1px solid rgba(200,16,46,0.3); }
.result-quote {
  color: var(--text-sub, #C2C8D6); font-size: 0.92rem; line-height: 1.6;
  font-style: italic; padding: 10px 16px; border-left: 2px solid #D4AF37;
  background: rgba(0,0,0,0.2); border-radius: 4px; margin-bottom: 18px;
}
.result-intel-label {
  font-family: var(--font-mono, monospace); font-size: 0.65rem; letter-spacing: 0.22em;
  color: #D4AF37; text-transform: uppercase; margin-bottom: 12px;
}
.result-intel ul {
  margin: 0; padding-left: 22px;
  color: var(--text-sub, #C2C8D6); font-size: 0.92rem; line-height: 1.65;
}
.result-intel ul li { margin-bottom: 8px; }
.result-footer {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(212,175,55,0.2);
  font-family: var(--font-mono, monospace); font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--text-muted, #8A91A3); text-transform: uppercase;
}
.result-footer .pts { color: #D4AF37; font-weight: 600; }
.result-footer .pts.zero { color: #C8102E; }

@media (max-width: 1200px) {
  .play-partners { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .play-partners { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Discovery Call intro — poker-table playing-card layout ─────────────── */
.discovery-table {
  position: relative;
  border-radius: 16px;
  padding: 4px;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, #1f4d3a 0%, #143626 100%);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(212,175,55,0.18);
}
.discovery-table-felt {
  display: flex; gap: 14px; align-items: stretch; justify-content: center;
  padding: 28px 24px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at top, rgba(212,175,55,0.08) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #1d4434 0%, #133022 100%);
  border: 1px solid rgba(212,175,55,0.15);
}
.discovery-card,
.discovery-card-back {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(212,175,55,0.4);
  transition: transform 0.2s ease;
}
.discovery-card {
  background: linear-gradient(180deg, #f6efde 0%, #ece2c8 100%);
  color: #1a1d2e;
  padding: 18px 12px;
  border: 1px solid #d4af37;
}
.discovery-card:hover { transform: translateY(-3px); }
.discovery-card-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #1a1d2e;
  padding: 0 6px;
}
.discovery-card-corner {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #b8902c;
  letter-spacing: 0.02em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.discovery-card-corner.tl { top: 8px; left: 10px; }
.discovery-card-corner.br { bottom: 8px; right: 10px; transform: rotate(180deg); }
.discovery-card-suit {
  font-size: 0.7rem;
  color: #d4af37;
  margin-top: 1px;
}
.discovery-card-back {
  background:
    repeating-linear-gradient(45deg, #2c1f3d 0 6px, #1f1530 6px 12px),
    #1f1530;
  border: 1px solid #d4af37;
  flex: 0.7 1 0;
}
.discovery-card-back-pattern {
  font-size: 2.5rem;
  color: #d4af37;
  text-shadow: 0 0 12px rgba(212,175,55,0.5);
  letter-spacing: -4px;
}
@media (max-width: 760px) {
  .discovery-table-felt { flex-wrap: wrap; padding: 18px 14px; gap: 10px; }
  .discovery-card, .discovery-card-back { flex: 1 1 calc(50% - 10px); aspect-ratio: 3 / 4; }
  .discovery-card-back { display: none; }
  .discovery-card-name { font-size: 0.9rem; }
}

/* ─── Discovery intro — poker table image ─────────────────────────────── */
.discovery-table-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.discovery-table-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* Bonus pill on partner select title */
.partner-bonus-pill {
  display: inline-block;
  background: #d4af37;
  color: #1a1d2e;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-right: 8px;
  font-style: normal;
}

/* ─── Jailbreak warning modal ───────────────────────────────────────────── */
.jailbreak-warning-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  animation: jb-fade-in 0.2s ease;
}
@keyframes jb-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.jailbreak-warning-modal {
  background: #fff;
  border: 2px solid #c8102e;
  border-radius: 12px;
  padding: 32px 36px;
  max-width: 520px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  color: #1a1d2e;
  animation: jb-pop-in 0.25s ease;
}
@keyframes jb-pop-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.jailbreak-warning-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.jailbreak-warning-modal h2 {
  color: #c8102e;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.jailbreak-warning-modal p {
  color: #2a2f3e;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 14px;
}
.jailbreak-warning-modal p.jailbreak-warning-strong {
  background: #fef0f1;
  border: 1px solid #f9c4cc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #1a1d2e;
}
.jailbreak-warning-modal p.jailbreak-warning-strong strong {
  color: #c8102e;
}
.jailbreak-warning-dismiss {
  margin-top: 8px;
  background: #c8102e !important;
  color: #fff !important;
  border-color: #c8102e !important;
  padding: 12px 32px !important;
}
.jailbreak-warning-dismiss:hover {
  background: #a30d24 !important;
  border-color: #a30d24 !important;
}

/* Vault deal narrative — italic descriptor under the product list */
.vault-deal-narrative {
  margin-top: 14px;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(220, 220, 230, 0.78);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}
