:root {
  color-scheme: dark;
  --background: #05070b;
  --background-soft: #080b11;
  --surface: #0b1018;
  --surface-raised: #111821;
  --surface-strong: #151d28;
  --border: rgba(177, 190, 210, 0.14);
  --border-strong: rgba(177, 190, 210, 0.24);
  --text: #f5f7fb;
  --text-muted: #8f9aae;
  --text-subtle: #626d7f;
  --accent: #40e6f2;
  --accent-strong: #7cf5ff;
  --accent-muted: rgba(64, 230, 242, 0.12);
  --success: #47d18c;
  --warning: #f0b35b;
  --danger: #f06472;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.28);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
label:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  color: #021013;
  background: var(--accent);
}

.hidden {
  display: none !important;
}

.pause-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(64, 230, 242, 0.08), transparent 34%),
    var(--background);
}

.pause-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(20px, 5vw, 48px);
  place-items: center;
}

.pause-card {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 52px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.pause-logo {
  display: block;
  width: min(72vw, 280px);
  height: auto;
  margin: 0 auto clamp(36px, 7vw, 56px);
}

.pause-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pause-card h1 {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(2.35rem, 8vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.pause-card p:last-child {
  max-width: 36rem;
  margin: clamp(22px, 4vw, 32px) auto 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.55;
}

.preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: clamp(24px, 4vw, 34px);
  padding: 0 22px;
  color: #021013;
  text-decoration: none;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.auth-panel h2 {
  max-width: 10ch;
  margin: 22px 0 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.auth-copy {
  max-width: 34rem;
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.auth-actions {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.auth-legal {
  margin: -2px 0 0;
  color: var(--text-subtle);
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-legal a,
.legal-document a,
.legal-back {
  color: var(--accent);
  text-decoration: none;
}

.auth-legal a:hover,
.legal-document a:hover,
.legal-back:hover {
  text-decoration: underline;
}

.oauth-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.oauth-button:hover {
  background: var(--surface-strong);
  border-color: rgba(64, 230, 242, 0.45);
}

.oauth-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  color: #121820;
  background: var(--text);
  border-radius: 999px;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 900;
}

.email-auth-form,
.email-auth-code-form {
  display: grid;
  gap: 14px;
}

.email-auth-form .field,
.email-auth-code-form .field {
  margin-top: 0;
}

.locked-input {
  color: var(--text-muted) !important;
}

.app-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(16px, 4vw, 40px);
}

.game-panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 1080px);
  min-height: min(760px, calc(100vh - 80px));
  padding: clamp(20px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.player-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.intro-active .player-header {
  grid-template-columns: 1fr;
  justify-items: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.brand-wordmark {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-self: center;
  width: min(100%, 248px);
}

.brand-wordmark img,
.admin-wordmark {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-text-wordmark {
  justify-content: center;
  min-height: 48px;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(5, 10, 18, 0.72);
  font-size: clamp(1.55rem, 5vw, 2.45rem);
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
}

a.brand-text-wordmark {
  text-decoration: none;
}

.player-header h1 {
  grid-column: 1;
  margin: 0;
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.05;
}

.intro-active .player-header h1 {
  justify-self: center;
  text-align: center;
}

.progress-dots {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  gap: 6px;
}

.progress-dots span {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: width 180ms ease, background 180ms ease;
}

.progress-dots span.active {
  width: 22px;
  background: var(--accent);
}

.rail-meter {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.rail-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 12%);
  background: var(--accent);
  border-radius: inherit;
  transition: width 260ms ease;
}

.intro-active .progress-dots,
.intro-active .rail-meter {
  display: none;
}

.voice-page {
  overflow-x: hidden;
}

.voice-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(14px, 3vw, 34px);
  background: radial-gradient(circle at 50% 0%, rgba(64, 230, 242, 0.08), transparent 34%), var(--background);
}

.voice-flow {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  width: min(100%, 1180px);
  min-height: calc(100vh - clamp(28px, 6vw, 68px));
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.voice-flow-header {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
  padding-bottom: clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--border);
}

.voice-brand {
  display: block;
}

.voice-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.voice-flow-header h1 {
  margin: 6px 0 10px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.voice-flow-header p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.5;
}

.avatar-call-header {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  padding-bottom: 14px;
}

.avatar-call-header h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.voice-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(16px, 3vw, 24px);
  min-height: 0;
}

.voice-chat-wrap {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.voice-chat-topline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.voice-chat-topline div,
.voice-question-card {
  padding: 14px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.voice-chat-topline span,
.voice-question-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-subtle);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.voice-chat-topline strong {
  display: block;
  overflow-wrap: anywhere;
}

.voice-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 480px;
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  padding: clamp(14px, 2vw, 18px);
  background: var(--background-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.voice-input-monitor {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(88%, 520px);
  min-height: 74px;
  padding: 12px 14px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.voice-input-monitor .mic-glyph {
  position: relative;
  width: 14px;
  height: 22px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.voice-input-monitor .mic-glyph::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 10px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.voice-input-monitor .mic-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 2px;
  height: 6px;
  background: currentColor;
  transform: translateX(-50%);
}

.voice-input-monitor strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}

.voice-input-monitor p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.voice-input-monitor.receiving {
  color: var(--accent);
  border-color: rgba(64, 230, 242, 0.42);
}

.voice-input-monitor.receiving .mic-glyph {
  animation: micPulse 0.85s ease-in-out infinite;
}

.voice-input-monitor.ready {
  color: var(--success);
  background: rgba(71, 209, 140, 0.1);
  border-color: rgba(71, 209, 140, 0.72);
  box-shadow: inset 0 0 0 1px rgba(71, 209, 140, 0.16), 0 0 0 4px rgba(71, 209, 140, 0.08);
}

.voice-input-monitor.ready strong {
  color: var(--success);
}

.voice-input-monitor.ready .mic-glyph {
  animation: micPulse 1s ease-in-out infinite;
}

.voice-input-monitor.speaking {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.018);
  border-color: var(--border);
  box-shadow: none;
}

.voice-input-monitor.captured {
  color: var(--success);
  border-color: rgba(63, 221, 137, 0.34);
}

.chat-message {
  width: min(88%, 680px);
  padding: 14px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.chat-message.user {
  align-self: flex-end;
  background: rgba(64, 230, 242, 0.1);
  border-color: rgba(64, 230, 242, 0.28);
}

.chat-message.partial {
  opacity: 0.72;
}

.chat-message span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chat-message p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

@keyframes micPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.voice-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.voice-status-card,
.voice-export {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.voice-export {
  flex-direction: column;
}

.voice-status-card strong {
  display: block;
  margin-bottom: 4px;
}

.voice-status-card p,
.voice-export small {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.voice-live-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  background: var(--text-subtle);
  border-radius: 999px;
}

.voice-live-dot.active {
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(71, 209, 140, 0.12);
}

.voice-actions {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 10px;
}

.voice-question-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.45;
}

.voice-text-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.avatar-stage {
  position: relative;
  height: clamp(520px, 68vh, 760px);
  min-height: 0;
  contain: layout paint size;
  overflow: hidden;
  background: #05080d;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.avatar-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #05080d;
}

.camera-preview {
  position: absolute;
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 3;
  width: min(28%, 210px);
  min-width: 132px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #05080d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.camera-preview.hidden {
  display: none;
}

.camera-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-preview span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  color: var(--text);
  background: rgba(5, 8, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 760;
}

.camera-toggle {
  width: 100%;
}

.avatar-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  background: #05080d;
}

.avatar-placeholder.hidden {
  display: none;
}

.avatar-placeholder span {
  color: var(--accent);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 820;
  letter-spacing: 0;
}

.avatar-placeholder p {
  max-width: 420px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.5;
}

.voice-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 4vw, 36px);
  padding: clamp(18px, 4vw, 28px);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.voice-summary.hidden,
.voice-submit-form.hidden,
.code-form.hidden {
  display: none;
}

.voice-summary-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  letter-spacing: 0;
  line-height: 0.98;
}

.voice-summary-copy p:last-child,
.voice-submit-note {
  color: var(--text-muted);
  line-height: 1.55;
}

.voice-submit-form {
  display: grid;
  gap: 14px;
}

.voice-submit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.voice-submit-form textarea {
  min-height: 180px;
}

.voice-submit-note {
  margin: 0;
  font-size: 0.9rem;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 4.2rem;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.02;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
  animation: rise 220ms ease both;
}

.intro-main {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
}

.intro-panel h2 {
  max-width: 640px;
  font-size: 6.5rem;
  line-height: 0.94;
}

.intro-lede {
  max-width: 600px;
  margin: 0;
  color: var(--text);
  font-size: 1.24rem;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.2;
}

.intro-offer-line {
  max-width: 620px;
  margin: 2px 0 0;
  color: var(--text);
  font-size: 1.7rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.22;
}

.intro-copy {
  max-width: 520px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  font-weight: 560;
  line-height: 1.58;
}

.intro-start {
  justify-self: start;
  min-width: min(100%, 232px);
  min-height: 44px;
  margin-top: clamp(48px, 10vw, 116px);
  padding: 0 16px;
  font-size: 0.94rem;
}

.intro-footnote {
  max-width: 560px;
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.5;
}

.intro-offer {
  display: grid;
  align-content: start;
  gap: 18px;
  width: 100%;
  min-height: 330px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.intro-benefits {
  display: grid;
  gap: 14px;
  width: 100%;
}

.intro-benefits h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 720;
}

.intro-benefits ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.4;
}

.intro-benefits li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
  content: "";
}

form {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.step {
  display: none;
  flex: 1;
  animation: rise 220ms ease both;
}

.step.active {
  display: grid;
  align-content: start;
}

.step-support {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.field {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 32px;
}

.field span,
.detail-grid span,
.admin-stats span {
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea,
.admin-login input,
textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field input,
.field select,
.admin-login input {
  min-height: 60px;
  padding: 0 16px;
  font-size: 1.05rem;
}

.field select {
  appearance: none;
  min-width: 140px;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field textarea,
textarea {
  min-height: 176px;
  padding: 16px;
  line-height: 1.5;
  resize: vertical;
}

.wide-field {
  max-width: 760px;
}

.field small {
  color: var(--text-subtle);
  font-weight: 560;
  line-height: 1.45;
}

.field input::placeholder,
.field select::placeholder,
.field textarea::placeholder,
.admin-login input::placeholder,
textarea::placeholder {
  color: #515b6d;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.admin-login input:focus,
textarea:focus {
  background: var(--surface-strong);
  border-color: rgba(64, 230, 242, 0.72);
  box-shadow: 0 0 0 3px rgba(64, 230, 242, 0.1);
}

.email-check {
  min-height: 18px;
  color: var(--text-subtle);
  font-size: 0.84rem;
  font-weight: 620;
}

.email-check.ok {
  color: var(--success);
}

.email-check.error {
  color: var(--danger);
}

.email-check.checking {
  color: var(--accent);
}

.skip-button {
  justify-self: start;
  margin-top: 18px;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.phone-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.phone-entry {
  display: grid;
  grid-template-columns: minmax(136px, 0.36fr) minmax(0, 1fr);
  gap: 10px;
  max-width: 620px;
}

.casino-grid,
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.casino-card,
.choice-card {
  display: grid;
  min-height: 144px;
  padding: 18px;
  text-align: left;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.casino-card:hover,
.choice-card:hover {
  transform: translateY(-1px);
  background: var(--surface-strong);
  border-color: var(--border-strong);
}

.casino-card.selected,
.choice-card.selected {
  background: #101923;
  border-color: rgba(64, 230, 242, 0.72);
  box-shadow: inset 0 0 0 1px rgba(64, 230, 242, 0.16);
}

.casino-card strong,
.choice-card strong {
  align-self: end;
  color: var(--text);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.25;
}

.casino-card small,
.choice-card small {
  color: var(--text-subtle);
}

.casino-logo-wrap,
.casino-sigil {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  background: #0a0f16;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 760;
}

.casino-logo-wrap {
  position: relative;
  overflow: hidden;
}

.casino-logo {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.casino-logo + .casino-sigil {
  display: none;
}

.casino-logo.failed {
  display: none;
}

.casino-logo.failed + .casino-sigil {
  display: grid;
}

.casino-sigil {
  position: absolute;
  inset: 0;
  color: var(--accent);
}

.choice-card {
  align-content: start;
  min-height: 248px;
  overflow: hidden;
  padding: 12px 12px 18px;
}

.tier-visual {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  min-height: 174px;
  margin-bottom: 14px;
  background: #f3f5f8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
}

.tier-art {
  justify-self: center;
  width: min(112%, 280px);
  height: 164px;
  object-fit: contain;
  filter: saturate(0.88) contrast(0.98);
  transition: transform 180ms ease;
}

.tier-choice:hover .tier-art,
.tier-choice.selected .tier-art {
  transform: translateY(-2px) scale(1.02);
}

.tier-choice strong {
  justify-self: center;
  text-align: center;
}

.dropzone {
  display: grid;
  place-items: center;
  min-height: 284px;
  margin-top: 30px;
  padding: 32px;
  text-align: center;
  background: var(--surface-raised);
  border: 1px dashed rgba(177, 190, 210, 0.34);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.dropzone.dragging,
.dropzone:hover {
  background: var(--surface-strong);
  border-color: rgba(64, 230, 242, 0.68);
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid rgba(64, 230, 242, 0.24);
  border-radius: var(--radius-sm);
  font-size: 1.7rem;
  font-weight: 500;
}

.dropzone strong {
  font-size: 1.05rem;
  font-weight: 720;
}

.dropzone small {
  max-width: 440px;
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.5;
}

.evidence-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.evidence-slot {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px dashed rgba(177, 190, 210, 0.34);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.evidence-slot.required {
  background: linear-gradient(180deg, rgba(255, 91, 62, 0.08), rgba(18, 26, 37, 0.96));
  border-color: rgba(255, 91, 62, 0.62);
  border-style: solid;
}

.evidence-slot.required.complete {
  background: linear-gradient(180deg, rgba(54, 211, 153, 0.12), rgba(18, 26, 37, 0.96));
  border-color: rgba(54, 211, 153, 0.7);
}

.evidence-slot.dragging,
.evidence-slot:hover {
  background: var(--surface-strong);
  border-color: rgba(64, 230, 242, 0.68);
}

.evidence-slot input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.evidence-slot strong {
  align-self: end;
  font-size: 1rem;
  font-weight: 740;
}

.required-marker {
  color: #ff5b3e;
  font-weight: 860;
}

.evidence-slot.complete .required-marker {
  color: #36d399;
}

.required-badge {
  justify-self: start;
  padding: 4px 8px;
  color: #ffb39f;
  background: rgba(255, 91, 62, 0.12);
  border: 1px solid rgba(255, 91, 62, 0.38);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.evidence-slot.complete .required-badge {
  color: #b8ffe5;
  background: rgba(54, 211, 153, 0.14);
  border-color: rgba(54, 211, 153, 0.45);
}

.evidence-slot small {
  color: var(--text-muted);
  line-height: 1.45;
}

.file-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 16px;
}

.file-pill,
.summary-board div,
.detail-grid div,
.report-box,
.email-box,
.evidence-item,
.admin-stats div {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.file-pill,
.summary-board div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.file-pill span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 30px;
  color: var(--accent);
  background: var(--accent-muted);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 760;
}

.file-pill strong {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.file-pill small,
.summary-board span {
  color: var(--text-subtle);
}

.file-note {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  color: var(--text-muted);
  background: rgba(64, 230, 242, 0.07);
  border: 1px solid rgba(64, 230, 242, 0.18);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 560;
}

.file-note p {
  margin: 0;
}

.file-remove {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--danger);
  background: rgba(240, 100, 114, 0.08);
  border: 1px solid rgba(240, 100, 114, 0.18);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.file-remove:hover,
.file-remove:focus-visible {
  background: rgba(240, 100, 114, 0.14);
  border-color: rgba(240, 100, 114, 0.34);
}

.file-remove svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.evidence-review {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-top: 18px;
  padding: 18px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.evidence-review.checking {
  border-color: rgba(64, 230, 242, 0.34);
}

.evidence-review.strong {
  border-color: rgba(71, 209, 140, 0.42);
}

.evidence-review.fair {
  border-color: rgba(240, 179, 91, 0.42);
}

.evidence-review.error,
.evidence-review.weak {
  border-color: rgba(240, 100, 114, 0.44);
}

.evidence-review p,
.evidence-review ul {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.evidence-review ul {
  padding-left: 18px;
}

.evidence-review li + li {
  margin-top: 6px;
}

.evidence-review-head {
  display: grid;
  gap: 8px;
}

.evidence-review-head span,
.evidence-review-attempts,
.score-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.evidence-review-head span {
  padding: 5px 9px;
  color: var(--warning);
  background: rgba(240, 179, 91, 0.1);
  border: 1px solid rgba(240, 179, 91, 0.24);
}

.evidence-review.strong .evidence-review-head span {
  color: var(--success);
  background: rgba(71, 209, 140, 0.1);
  border-color: rgba(71, 209, 140, 0.24);
}

.evidence-review.error .evidence-review-head span,
.evidence-review.weak .evidence-review-head span {
  color: var(--danger);
  background: rgba(240, 100, 114, 0.1);
  border-color: rgba(240, 100, 114, 0.24);
}

.evidence-review-note {
  color: var(--text) !important;
  font-weight: 700;
}

.evidence-review-attempts {
  padding: 7px 10px;
  color: var(--accent) !important;
  background: var(--accent-muted);
  border: 1px solid rgba(64, 230, 242, 0.2);
}

.voice-copy {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.voice-card {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-top: 24px;
  padding: 18px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.voice-record-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  min-height: 46px;
  padding: 0 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 720;
}

.voice-record-button.recording {
  color: #fff;
  border-color: rgba(240, 100, 114, 0.42);
  background: rgba(240, 100, 114, 0.14);
}

.voice-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.voice-record-button.recording .voice-dot {
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(240, 100, 114, 0.12);
}

.voice-card p,
.voice-transcript {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.voice-transcript {
  padding: 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.summary-board {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-top: 28px;
}

.summary-board strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.consent {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 18px;
  color: var(--text-muted);
  font-weight: 560;
  line-height: 1.45;
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 720;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.primary {
  color: #031113;
  background: var(--accent);
  border: 1px solid rgba(124, 245, 255, 0.5);
}

.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.secondary {
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
}

.secondary:hover {
  background: var(--surface-strong);
  border-color: rgba(177, 190, 210, 0.34);
}

.mini-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.primary:disabled,
.secondary:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.result-panel {
  display: grid;
  align-content: center;
  flex: 1;
}

.result-panel p {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.result-panel a {
  color: var(--accent);
  font-weight: 680;
  text-decoration: none;
}

.result-panel a:hover {
  text-decoration: underline;
}

.code-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-top: 24px;
}

.code-form .field {
  margin-top: 0;
}

.code-form input {
  text-align: center;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.code-form small {
  min-height: 20px;
  color: var(--success);
  font-weight: 700;
}

.code-form small.error {
  color: var(--danger);
}

.link-button {
  display: inline-grid;
  place-items: center;
  width: max-content;
  text-decoration: none;
}

.shake {
  animation: shake 300ms ease;
}

@keyframes shake {
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-5px);
  }
}

.admin-body {
  background: var(--background);
}

.admin-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px);
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-wordmark {
  width: 218px;
  margin-bottom: 22px;
}

.admin-logo-home {
  display: block;
  width: 218px;
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.admin-logo-home .admin-wordmark {
  width: 100%;
  margin-bottom: 0;
}

.admin-logo-home:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.admin-header h1 {
  margin: 0;
  color: var(--text);
  font-size: 4rem;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.98;
}

.llm-status {
  display: grid;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: var(--surface-raised);
  border: 1px solid rgba(240, 179, 91, 0.28);
  border-radius: var(--radius);
}

.llm-status.live {
  border-color: rgba(71, 209, 140, 0.32);
}

.llm-status span {
  color: var(--text);
  font-weight: 720;
}

.llm-status strong,
.llm-status small {
  color: var(--text-muted);
}

.email-test-row,
.admin-login {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-login {
  align-items: flex-start;
  justify-content: flex-end;
  max-width: 760px;
}

.admin-login input {
  min-width: 240px;
  min-height: 48px;
  font-size: 0.96rem;
}

.admin-login input:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.admin-code-step {
  display: flex;
}

.admin-code-step input {
  min-width: 170px;
  text-align: center;
  letter-spacing: 0.12em;
}

.admin-login-message {
  flex-basis: 100%;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: right;
}

.admin-layout {
  display: block;
}

.inbox-pane,
.review-pane {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.inbox-pane {
  overflow: hidden;
}

.inbox-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 720px);
  align-items: end;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.inbox-toolbar h2 {
  margin: 0;
  font-size: 2.35rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-stats div {
  padding: 11px 12px;
}

.admin-stats span {
  display: block;
  margin-bottom: 6px;
}

.admin-stats strong {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 760;
}

.inbox-filters {
  display: grid;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.admin-search-field {
  display: grid;
  gap: 7px;
}

.admin-search-field span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-search-field input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  font: inherit;
}

.admin-search-field input::placeholder {
  color: var(--text-subtle);
}

.admin-search-field input:focus {
  border-color: rgba(64, 230, 242, 0.62);
  box-shadow: 0 0 0 3px rgba(64, 230, 242, 0.12);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 12px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 680;
  cursor: pointer;
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.filter-chip.active {
  color: var(--accent);
  background: var(--accent-muted);
  border-color: rgba(64, 230, 242, 0.34);
}

.application-list {
  display: grid;
}

.app-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 92px;
  padding: 16px 18px;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.app-row:hover,
.app-row.active {
  background: rgba(255, 255, 255, 0.035);
}

.inbox-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid rgba(64, 230, 242, 0.18);
  border-radius: var(--radius-sm);
  font-weight: 760;
}

.inbox-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.inbox-line,
.inbox-score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inbox-line {
  justify-content: space-between;
}

.inbox-line strong {
  font-weight: 720;
}

.inbox-line strong,
.inbox-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-subject {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 620;
}

.inbox-subject > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-code-chip {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid rgba(64, 230, 242, 0.26);
  border-radius: 5px;
  background: rgba(64, 230, 242, 0.08);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.metawin-risk-chip {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(151, 163, 183, 0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 760;
}

.metawin-risk-chip.clear {
  color: var(--success);
  background: rgba(71, 209, 140, 0.08);
  border-color: rgba(71, 209, 140, 0.26);
}

.metawin-risk-chip.warning {
  color: var(--warning);
  background: rgba(240, 179, 91, 0.08);
  border-color: rgba(240, 179, 91, 0.28);
}

.metawin-risk-chip.risk {
  color: var(--danger);
  background: rgba(240, 100, 114, 0.1);
  border-color: rgba(240, 100, 114, 0.32);
}

.fp-score-chip {
  min-width: 52px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(151, 163, 183, 0.08);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.fp-score-chip.clear {
  color: var(--success);
  background: rgba(71, 209, 140, 0.08);
  border-color: rgba(71, 209, 140, 0.26);
}

.fp-score-chip.warning {
  color: var(--warning);
  background: rgba(240, 179, 91, 0.08);
  border-color: rgba(240, 179, 91, 0.28);
}

.fp-score-chip.risk {
  color: var(--danger);
  background: rgba(240, 100, 114, 0.12);
  border-color: rgba(240, 100, 114, 0.38);
}

.inbox-preview,
.app-row small,
.inbox-empty {
  color: var(--text-muted);
}

.inbox-preview {
  font-size: 0.9rem;
}

.inbox-score {
  justify-content: end;
  flex-wrap: wrap;
}

.inbox-score strong {
  min-width: 74px;
  color: var(--text-muted);
  text-align: right;
  font-size: 0.86rem;
  font-weight: 680;
}

.inbox-player-quality {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.quality-chip {
  min-height: 26px;
  padding: 0 9px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 760;
  cursor: pointer;
}

.quality-chip:hover {
  color: var(--text);
}

.quality-chip.good.active {
  color: #40f29a;
  background: rgba(64, 242, 154, 0.1);
  border-color: rgba(64, 242, 154, 0.28);
}

.quality-chip.bad.active {
  color: #ff6b7a;
  background: rgba(255, 107, 122, 0.1);
  border-color: rgba(255, 107, 122, 0.3);
}

.open-app-button,
.row-action-button {
  min-height: 28px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(64, 230, 242, 0.08);
  border: 1px solid rgba(64, 230, 242, 0.24);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 780;
  cursor: pointer;
}

.row-action-button {
  color: var(--warning);
  background: rgba(240, 179, 91, 0.08);
  border-color: rgba(240, 179, 91, 0.24);
}

.open-app-button:hover,
.open-app-button:focus-visible,
.row-action-button:hover,
.row-action-button:focus-visible {
  color: #061017;
  background: var(--accent);
  outline: none;
}

.row-action-button:disabled {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
  cursor: not-allowed;
  opacity: 0.58;
}

.score-badge {
  justify-content: center;
  min-width: 66px;
  padding: 5px 9px;
  border: 1px solid var(--border);
}

.score-badge.excellent {
  color: #f5d879;
  background: rgba(245, 216, 121, 0.1);
  border-color: rgba(245, 216, 121, 0.26);
}

.score-badge.good {
  color: var(--success);
  background: rgba(71, 209, 140, 0.1);
  border-color: rgba(71, 209, 140, 0.26);
}

.score-badge.medium {
  color: var(--warning);
  background: rgba(240, 179, 91, 0.1);
  border-color: rgba(240, 179, 91, 0.28);
}

.score-badge.weak {
  color: var(--danger);
  background: rgba(240, 100, 114, 0.1);
  border-color: rgba(240, 100, 114, 0.28);
}

.score-badge.muted {
  color: var(--text-muted);
  background: rgba(151, 163, 183, 0.08);
  border-color: var(--border);
}

.review-pane {
  padding: clamp(18px, 3vw, 28px);
}

.review-pane h2 {
  font-size: 3rem;
  line-height: 1.04;
}

.inbox-back {
  width: max-content;
  margin-bottom: 18px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 32px;
  color: var(--text-muted);
  text-align: center;
}

.x-activity-shell {
  max-width: 1440px;
}

.x-activity-header {
  align-items: flex-end;
}

.x-activity-subtitle,
.x-activity-refresh {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.x-activity-subtitle {
  max-width: 620px;
}

.x-activity-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 260px;
}

.x-activity-refresh {
  margin: 0;
  font-size: 0.88rem;
  text-align: right;
}

.x-activity-auth,
.x-activity-dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.x-activity-auth {
  display: grid;
  gap: 10px;
  max-width: 560px;
  padding: 22px;
}

.x-activity-auth span {
  color: var(--text-muted);
  line-height: 1.45;
}

.x-activity-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 6px;
}

.x-activity-login input {
  min-height: 46px;
  padding: 0 14px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.x-activity-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
  overflow: hidden;
}

.x-activity-main {
  min-width: 0;
  border-right: 1px solid var(--border);
}

.x-activity-toolbar {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.x-search-field {
  display: grid;
  gap: 8px;
}

.x-search-field span {
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.x-search-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.x-search-field input::placeholder {
  color: var(--text-subtle);
}

.x-filter-group {
  gap: 8px;
}

.x-feed-status {
  padding: 12px 18px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.018);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.x-feed-list {
  display: grid;
}

.x-feed-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.x-feed-card:hover {
  background: rgba(255, 255, 255, 0.025);
}

.x-card-media {
  display: grid;
  place-items: center;
}

.x-card-image,
.x-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
}

.x-card-image {
  object-fit: cover;
  background: var(--surface-raised);
  border: 1px solid var(--border);
}

.x-card-avatar {
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid rgba(64, 230, 242, 0.18);
  font-weight: 760;
}

.x-card-content {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.x-card-topline,
.x-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.x-card-topline div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.x-card-topline strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 740;
}

.x-card-topline span,
.x-card-topline time,
.x-metrics,
.x-card-matches span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.x-card-topline time {
  flex: 0 0 auto;
  text-align: right;
}

.x-card-content p {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.x-card-matches,
.x-metrics,
.x-card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.x-card-matches span {
  padding: 5px 8px;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid rgba(64, 230, 242, 0.18);
  border-radius: 999px;
  font-weight: 720;
}

.x-card-footer {
  align-items: center;
}

.x-metrics {
  align-items: center;
}

.x-metrics span {
  color: var(--text-subtle);
}

.x-card-buttons {
  justify-content: flex-end;
}

.x-ignore-button:hover {
  color: var(--danger);
  border-color: rgba(240, 100, 114, 0.34);
}

.x-status-reviewed {
  box-shadow: inset 3px 0 0 rgba(71, 209, 140, 0.78);
}

.x-status-ignored {
  opacity: 0.58;
  box-shadow: inset 3px 0 0 rgba(143, 154, 174, 0.42);
}

.x-summary-panel {
  position: sticky;
  top: 0;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.x-summary-panel h2 {
  margin: 0;
  font-size: 1.7rem;
}

.x-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.x-summary-grid div {
  padding: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.x-summary-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-subtle);
  font-size: 0.78rem;
  font-weight: 720;
}

.x-summary-grid strong {
  color: var(--text);
  font-size: 1.28rem;
}

.x-summary-note {
  color: var(--text-muted);
  line-height: 1.5;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.detail-grid div,
.report-box,
.email-box,
.admin-notice {
  padding: 16px;
}

.detail-grid span {
  display: block;
  margin-bottom: 8px;
}

.detail-grid strong,
.report-box strong,
.email-box strong,
.admin-notice strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.report-box,
.email-box,
.admin-notice {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.report-box p,
.email-box p,
.admin-notice p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.admin-notice {
  background: rgba(240, 179, 91, 0.08);
  border: 1px solid rgba(240, 179, 91, 0.24);
  border-radius: var(--radius);
}

.admin-notice.neutral strong {
  color: var(--warning);
}

.report-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.5;
}

.fingerprint-report {
  border-color: rgba(64, 230, 242, 0.24);
}

.player-quality-box {
  border-color: rgba(64, 230, 242, 0.24);
}

.player-quality-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fingerprint-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fingerprint-grid div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.fingerprint-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-subtle);
  font-size: 0.78rem;
  font-weight: 720;
  text-transform: uppercase;
}

.fingerprint-grid strong {
  overflow-wrap: anywhere;
}

.fingerprint-link {
  color: var(--accent);
  text-decoration: none;
}

.fingerprint-link:hover {
  text-decoration: underline;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-chip {
  padding: 7px 9px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 720;
}

.signal-chip.clear {
  color: var(--success);
  border-color: rgba(71, 209, 140, 0.28);
}

.signal-chip.risk,
.metawin-crossref.risk {
  color: var(--danger);
  border-color: rgba(255, 91, 124, 0.34);
}

.metawin-crossref {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.risk-text {
  color: var(--danger) !important;
}

.fingerprint-warning {
  color: var(--warning) !important;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.evidence-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.evidence-item:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
}

.evidence-item img,
.pdf-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #080d14;
  border-radius: var(--radius-sm);
}

.pdf-tile {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 760;
}

.evidence-item strong {
  overflow-wrap: anywhere;
}

.evidence-item small {
  color: var(--text-subtle);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

textarea {
  min-height: 96px;
  margin-top: 12px;
  font-size: 0.98rem;
}

.legal-shell {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 32px 0 72px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 22px;
}

.legal-brand {
  width: 190px;
  min-height: 48px;
}

.legal-document {
  padding: clamp(24px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-document h1 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.98;
}

.legal-document h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.16;
}

.legal-document p,
.legal-document li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0 0 0 20px;
  padding: 0;
}

.legal-updated {
  color: var(--text-subtle);
}

@media (max-width: 960px) {
  .voice-flow {
    min-height: auto;
  }

  .voice-flow-header,
  .voice-room,
  .voice-summary {
    grid-template-columns: 1fr;
  }

  .voice-chat-topline {
    grid-template-columns: 1fr;
  }

  .voice-submit-grid {
    grid-template-columns: 1fr;
  }

  .voice-brand {
    width: 220px;
  }

  .avatar-call-header {
    grid-template-columns: 150px minmax(0, 1fr);
    padding-bottom: 12px;
  }

  .avatar-call-header .voice-brand {
    width: 150px;
  }

  .voice-chat {
    min-height: 360px;
    max-height: none;
  }

  .avatar-stage {
    height: clamp(460px, 62vh, 640px);
  }

  .app-shell {
    align-items: start;
    min-height: auto;
    padding: 14px;
  }

  .game-panel {
    min-height: auto;
  }

  .player-header {
    position: sticky;
    top: 0;
    z-index: 5;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    margin: -20px -20px 28px;
    padding: 20px 20px 16px;
    background: rgba(11, 16, 24, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .brand-wordmark {
    width: 226px;
  }

  .player-header h1,
  .intro-active .player-header h1 {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .progress-dots {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .intro-active .player-header {
    justify-items: start;
  }

  .intro-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-panel h2 {
    font-size: 4.6rem;
    line-height: 0.98;
  }

  .intro-start {
    margin-top: 18px;
  }

  .intro-offer {
    min-height: 0;
  }

  .casino-grid,
  .tier-grid,
  .evidence-slot-grid,
  .detail-grid,
  .fingerprint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inbox-toolbar {
    grid-template-columns: 1fr;
  }

  .x-activity-dashboard {
    grid-template-columns: 1fr;
  }

  .x-activity-main {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .x-summary-panel {
    position: static;
  }

  .admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-brand {
    width: 160px;
  }

  .voice-shell {
    padding: 10px;
  }

  .voice-flow {
    padding: 16px;
  }

  .voice-flow-header h1 {
    font-size: 3rem;
  }

  .chat-message {
    width: 100%;
  }

  .voice-actions {
    grid-template-columns: 1fr;
  }

  .app-shell,
  .admin-shell {
    padding: 10px;
  }

  .game-panel,
  .review-pane {
    padding: 18px;
  }

  .player-header {
    margin: -18px -18px 24px;
    gap: 16px;
    padding: 18px 18px 16px;
  }

  .brand-wordmark,
  .admin-wordmark {
    width: 206px;
  }

  h2 {
    font-size: 1.9rem;
    letter-spacing: 0;
    line-height: 1.04;
  }

  .intro-panel h2 {
    font-size: 3.35rem;
  }

  .intro-lede {
    font-size: 1.05rem;
    line-height: 1.28;
  }

  .intro-offer-line {
    font-size: 1.34rem;
    line-height: 1.28;
  }

  .intro-copy {
    font-size: 0.98rem;
  }

  .intro-offer {
    gap: 20px;
    padding: 22px 18px;
  }

  .intro-start,
  .primary,
  .secondary {
    width: 100%;
  }

  .auth-panel {
    grid-template-columns: 1fr;
  }

  .auth-panel h2 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 15vw, 4.5rem);
  }

  .field {
    margin-top: 24px;
  }

  .field input {
    min-height: 56px;
    font-size: 1rem;
  }

  .phone-entry {
    grid-template-columns: 1fr;
  }

  .casino-grid,
  .tier-grid,
  .evidence-slot-grid,
  .detail-grid,
  .fingerprint-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .casino-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    min-height: 86px;
    padding: 14px;
  }

  .choice-card {
    min-height: 226px;
  }

  .tier-visual {
    min-height: 150px;
  }

  .tier-art {
    width: min(108%, 280px);
    height: 148px;
  }

  .dropzone {
    min-height: 210px;
    margin-top: 22px;
    padding: 22px 18px;
  }

  .button-row,
  .admin-header,
  .admin-login,
  .x-activity-actions,
  .x-card-topline,
  .x-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .x-activity-actions {
    justify-content: start;
    min-width: 0;
  }

  .x-activity-refresh,
  .x-card-topline time {
    text-align: left;
  }

  .x-feed-card {
    grid-template-columns: 1fr;
  }

  .x-card-media {
    justify-content: start;
  }

  .x-card-buttons .secondary {
    width: auto;
  }

  .x-summary-grid {
    grid-template-columns: 1fr;
  }

  .summary-board div,
  .file-pill {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-board strong {
    text-align: left;
  }

  .app-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    min-height: 112px;
    padding: 14px;
  }

  .inbox-avatar {
    width: 40px;
    height: 40px;
  }

  .inbox-score {
    grid-column: 2;
    justify-content: start;
  }

  .inbox-line {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }
}
