/* ========================================
   Rizz Score - Charm Audition Stage
   Primary: #FF6B35 (Electric Orange)
   Dark mode first, Glassmorphism 2.0
   ======================================== */

/* --- CSS Variables (Dark mode default) --- */
:root {
  --primary: #FF6B35;
  --primary-light: #FF8F65;
  --primary-glow: rgba(255, 107, 53, 0.35);
  --primary-dim: rgba(255, 107, 53, 0.15);
  --accent: #FFD166;
  --accent-glow: rgba(255, 209, 102, 0.3);
  --judge-wit: #3B82F6;
  --judge-depth: #8B5CF6;
  --judge-humor: #F59E0B;
  --bg: #0f0a14;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-option: rgba(255, 255, 255, 0.06);
  --bg-option-hover: rgba(255, 107, 53, 0.15);
  --text: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --border: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 107, 53, 0.5);
  --shadow: rgba(0, 0, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 20px;
  --meter-bg: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --stage-gradient: radial-gradient(ellipse at 50% 0%, rgba(255,107,53,0.12) 0%, transparent 60%);
}

/* --- Light mode --- */
[data-theme="light"] {
  --bg: #fff8f3;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.85);
  --bg-option: rgba(255, 107, 53, 0.06);
  --bg-option-hover: rgba(255, 107, 53, 0.12);
  --text: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --border: rgba(0, 0, 0, 0.08);
  --border-active: rgba(255, 107, 53, 0.4);
  --shadow: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
  --meter-bg: rgba(255, 107, 53, 0.1);
  --stage-gradient: radial-gradient(ellipse at 50% 0%, rgba(255,107,53,0.08) 0%, transparent 60%);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* --- Skip Link (a11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 10001;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* --- App Loader --- */
.app-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.app-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-emoji {
  font-size: 64px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  margin: 20px auto 0;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* --- Header --- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 10, 20, 0.7);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .app-header {
  background: rgba(255, 248, 243, 0.7);
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-option);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 20px;
  transition: all var(--transition);
}

.icon-btn:hover {
  background: var(--bg-option-hover);
  border-color: var(--border-active);
}

[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: inline; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: inline; }

.lang-select {
  height: 44px;
  padding: 0 12px;
  background: var(--bg-option);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-width: 100px;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--border-active);
  outline: none;
}

/* --- Container --- */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* --- Screen States --- */
.screen {
  display: none;
  animation: fadeIn 0.5s ease;
}

.screen.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Glass Card --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 8px 32px var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* =====================
   STAGE LIGHTING
   ===================== */
.stage-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.spotlight {
  position: absolute;
  top: -40%;
  width: 40%;
  height: 120%;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  animation: spotlightPulse 4s ease-in-out infinite;
}

.spot-left {
  left: -10%;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  animation-delay: 0s;
}

.spot-center {
  left: 30%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  animation-delay: 1.3s;
}

.spot-right {
  right: -10%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  animation-delay: 2.6s;
}

@keyframes spotlightPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

/* =====================
   START SCREEN
   ===================== */
.start-card {
  text-align: center;
  padding: 48px 24px;
}

.start-card > *:not(.stage-lights) {
  position: relative;
  z-index: 1;
}

.app-emoji {
  font-size: 72px;
  margin-bottom: 16px;
  animation: micBounce 2s ease-in-out infinite;
}

@keyframes micBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.start-card h1 {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.judges-preview {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.judge-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.judge-avatar span {
  font-size: 40px;
  display: block;
  animation: judgeFloat 3s ease-in-out infinite;
}

.judge-avatar:nth-child(2) span { animation-delay: 0.5s; }
.judge-avatar:nth-child(3) span { animation-delay: 1s; }

@keyframes judgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.judge-avatar small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.warning {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
  font-style: italic;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #FF8F65);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--primary-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-share {
  background: var(--bg-option);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 14px;
  padding: 10px 20px;
}

.btn-share:hover {
  background: var(--bg-option-hover);
  border-color: var(--border-active);
}

.btn-twitter {
  background: rgba(29, 155, 240, 0.15);
  color: #1d9bf0;
  border-color: rgba(29, 155, 240, 0.3);
}

.btn-twitter:hover {
  background: rgba(29, 155, 240, 0.25);
}

/* =====================
   AUDITION SCREEN
   ===================== */
.audition-card {
  padding: 24px 20px;
}

.audition-card > *:not(.stage-lights) {
  position: relative;
  z-index: 1;
}

.stage-header {
  margin-bottom: 20px;
}

.round-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.round-num {
  font-size: 20px;
  color: var(--primary);
  font-weight: 800;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--meter-bg);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* --- Stage Area --- */
.stage-area {
  position: relative;
  background: var(--stage-gradient);
  border-radius: var(--radius);
  padding: 24px 16px;
  margin-bottom: 20px;
  min-height: 200px;
}

.scenario-box {
  text-align: center;
  margin-bottom: 20px;
}

.scenario-icon {
  font-size: 48px;
  margin-bottom: 12px;
  animation: scenarioAppear 0.5s ease;
}

@keyframes scenarioAppear {
  from { transform: scale(0.5) rotate(-10deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.scenario-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
}

/* --- Performance Choices --- */
.choices-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-btn {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: var(--bg-option);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.choice-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-dim), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.choice-btn:hover {
  background: var(--bg-option-hover);
  border-color: var(--border-active);
  transform: translateX(4px);
}

.choice-btn:active {
  transform: translateX(2px);
}

.choice-btn.selected {
  background: var(--primary-dim);
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow);
}

.choice-btn.selected::before {
  transform: translateX(100%);
}

.choice-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

.choice-btn:disabled:hover {
  transform: none;
}

/* --- Judge Panel --- */
.judge-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.judge {
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-option);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.judge-face {
  font-size: 36px;
  margin-bottom: 4px;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.judge.reacting .judge-face {
  transform: scale(1.3);
}

.judge.score-high {
  border-color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}

.judge.score-mid {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.judge.score-low {
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

.judge-name {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.judge-score {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  min-height: 32px;
  line-height: 32px;
}

/* Judge reaction emojis */
.judge[data-judge="wit"] .judge-face { color: var(--judge-wit); }
.judge[data-judge="depth"] .judge-face { color: var(--judge-depth); }
.judge[data-judge="humor"] .judge-face { color: var(--judge-humor); }

/* --- Scoreboard --- */
.scoreboard {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--primary-dim);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-active);
}

.scoreboard-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.live-score {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.live-score.bump {
  animation: scoreBump 0.4s ease;
}

@keyframes scoreBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.scoreboard-max {
  font-size: 14px;
  color: var(--text-muted);
}

/* Slide transitions */
.audition-card.slide-out {
  animation: slideOut 0.3s ease forwards;
}

.audition-card.slide-in {
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideOut {
  to { opacity: 0; transform: translateX(-30px); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =====================
   RESULT SCREEN
   ===================== */
.result-card {
  text-align: center;
}

.result-card > *:not(.stage-lights) {
  position: relative;
  z-index: 1;
}

.result-reveal {
  margin-bottom: 28px;
}

.result-emoji {
  font-size: 64px;
  margin-bottom: 8px;
  animation: resultBounce 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes resultBounce {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.result-label {
  font-size: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* --- Circular Score Meter --- */
.score-meter-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
}

.score-meter {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.meter-track {
  fill: none;
  stroke: var(--meter-bg);
  stroke-width: 10;
}

.meter-arc {
  fill: none;
  stroke: url(#meter-gradient);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.score-value-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* --- Result level & style --- */
.result-level {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  animation: typeReveal 0.6s ease 0.3s both;
}

.result-style {
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 8px;
  animation: typeReveal 0.6s ease 0.5s both;
}

@keyframes typeReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Final judge scores --- */
.final-judges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.final-judge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  background: var(--bg-option);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.fj-emoji {
  font-size: 28px;
}

.fj-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.fj-score {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

/* --- Round breakdown --- */
.round-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--primary-dim);
  border-radius: 6px;
  font-size: 13px;
}

.rb-round {
  font-weight: 700;
  color: var(--primary);
  min-width: 20px;
}

.rb-scores {
  display: flex;
  gap: 6px;
  flex: 1;
}

.rb-judge-score {
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}

.rb-judge-score.wit { background: rgba(59,130,246,0.15); color: var(--judge-wit); }
.rb-judge-score.depth { background: rgba(139,92,246,0.15); color: var(--judge-depth); }
.rb-judge-score.humor { background: rgba(245,158,11,0.15); color: var(--judge-humor); }

.rb-total {
  font-weight: 800;
  color: var(--text);
  margin-left: auto;
}

/* --- Result Details --- */
.result-section {
  text-align: left;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-option);
  border-radius: var(--radius-sm);
  animation: fadeInUp 0.5s ease both;
}

.result-section:nth-child(4) { animation-delay: 0.6s; }
.result-section:nth-child(5) { animation-delay: 0.7s; }
.result-section:nth-child(6) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-section h3 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tips-list li {
  background: var(--primary-dim);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  border-left: 3px solid var(--primary);
}

/* --- Result Actions --- */
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

/* --- Percentile Stat --- */
.percentile-stat { text-align: center; margin: 16px auto 0; font-size: 13px; color: var(--text-muted); max-width: 420px; }
.percentile-stat strong { color: var(--primary); font-size: 15px; }

/* --- Related Tests --- */
.related-tests { width: 100%; max-width: 420px; margin: 24px auto 0; padding-top: 20px; border-top: 1px solid var(--border); }
.related-tests h3 { font-size: 16px; color: var(--text-muted); margin-bottom: 12px; text-align: center; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: var(--bg-option); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); transition: transform 0.2s, border-color 0.2s; }
.related-card:hover { transform: translateY(-2px); border-color: var(--card-color, var(--primary)); }
.related-emoji { font-size: 28px; }
.related-name { font-size: 12px; font-weight: 600; text-align: center; color: var(--text-muted); }
[data-theme="light"] .related-tests { border-top-color: rgba(0,0,0,0.1); }
[data-theme="light"] .related-card { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .related-card:hover { background: rgba(0,0,0,0.06); }

/* --- Cross-promo --- */
#cross-promo-container {
  margin-top: 32px;
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .container {
    padding: 16px 12px 60px;
  }

  .glass-card {
    padding: 24px 16px;
  }

  .start-card {
    padding: 36px 16px;
  }

  .start-card h1 {
    font-size: 24px;
  }

  .app-emoji {
    font-size: 56px;
  }

  .result-emoji {
    font-size: 52px;
  }

  .score-meter-container {
    width: 170px;
    height: 170px;
  }

  .score-number {
    font-size: 46px;
  }

  .scenario-text {
    font-size: 15px;
  }

  .choice-btn {
    font-size: 14px;
    padding: 12px 16px;
  }

  .judge-face {
    font-size: 28px;
  }

  .judge-score {
    font-size: 20px;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-actions .btn {
    width: 100%;
  }

  .judges-preview {
    gap: 16px;
  }

  .judge-avatar span {
    font-size: 32px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .loader-emoji,
  .app-emoji,
  .spotlight {
    animation: none;
  }

  .meter-arc {
    transition-duration: 0.01ms !important;
  }

  .progress-fill {
    transition-duration: 0.01ms !important;
  }
}
