/* style.css - Flag Finder: World Tour */

:root {
  --primary: #1e3a8a;       /* Deep navy */
  --primary-hover: #172554;
  --accent: #d97706;        /* Warm amber / gold */
  --accent-hover: #b45309;
  --bg-ocean: #b8d5e5;      /* Vintage map pastel blue */
  --bg-land: #f7ecd2;       /* Warm parchment */
  --card-bg: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #64748b;
  --success: #16a34a;       /* Grass green */
  --warning: #ea580c;       /* Warm orange */
  --danger: #dc2626;        /* Stamp red */

  --poki-pill-width: 50px;
  --poki-pill-height: 66px;
  --hud-height: 56px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-ocean);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  touch-action: none; /* Prevent browser pinch/scroll */
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #ffffff;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  padding: 24px;
  max-width: 380px;
}

.logo-plane {
  font-size: 52px;
  display: inline-block;
  animation: planeFloat 2s ease-in-out infinite;
}

.svg-loading-plane {
  width: 54px;
  height: 54px;
  display: inline-block;
}

@keyframes planeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

.logo-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 8px;
}

.logo-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
}

.loading-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.loading-bar-progress {
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  animation: loadProgress 1.6s ease-in-out infinite;
}

@keyframes loadProgress {
  0% { transform: translateX(-100%); width: 40%; }
  50% { width: 70%; }
  100% { transform: translateX(250%); width: 40%; }
}

.loading-status {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* Main Game Application Container */
.game-app {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-ocean);
}

/* Poki Pill Clearance Spacer */
.poki-pill-spacer {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--poki-pill-width);
  height: var(--poki-pill-height);
  pointer-events: none;
  z-index: 1000;
}

/* HUD Header */
.game-hud {
  height: var(--hud-height);
  padding: 0 16px;
  padding-left: calc(var(--poki-pill-width) + 8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 500;
}

.hud-left, .hud-center, .hud-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}

.btn-icon:hover {
  background: #f1f5f9;
}

.btn-icon:active {
  transform: scale(0.92);
}

/* Custom Vector SVG Icons */
.svg-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-large {
  width: 32px;
  height: 32px;
  display: block;
}

.svg-heart {
  width: 22px;
  height: 22px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.svg-heart.filled:hover {
  transform: scale(1.15);
}

.svg-touch-pointer {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.touch-ring {
  animation: touchRingPulse 1.8s ease-out infinite;
  transform-origin: center;
}

@keyframes touchRingPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.svg-lock-icon {
  width: 14px;
  height: 14px;
  opacity: 0.45;
  display: block;
}

.hud-mode-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: #e0e7ff;
  padding: 4px 10px;
  border-radius: 12px;
}

.hud-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hud-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.hud-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.hud-lives-container {
  display: flex;
  gap: 2px;
}

.heart-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.hud-round-pill {
  font-size: 13px;
  font-weight: 700;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 16px;
  color: var(--text-dark);
}

/* Map Stage */
.map-stage {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-ocean);
}

.map-container {
  width: 100%;
  height: 100%;
  background: var(--bg-ocean) !important;
}

/* Leaflet Canvas Customization */
.leaflet-container {
  background: var(--bg-ocean) !important;
  font-family: inherit;
}

/* Microstate Touch Target Expansion */
.microstate-dot {
  cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

/* FX Canvas Overlay */
.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 450;
}

/* Visual Hand Tutorial */
.tutorial-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 460;
}

.tutorial-hand.active {
  display: flex;
  animation: handPulse 1.8s ease-in-out infinite;
}

.hand-icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.hand-caption {
  margin-top: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@keyframes handPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -65%) scale(1.1); }
}

/* Streak Multiplier Badge */
.streak-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 460;
}

.streak-badge.visible {
  opacity: 1;
  transform: scale(1);
  animation: streakBounce 0.5s ease-out;
}

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

/* Desktop Hints */
.desktop-hints {
  position: absolute;
  bottom: 8px;
  left: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  pointer-events: none;
  z-index: 460;
}

/* Feedback Banner */
.feedback-banner {
  position: absolute;
  top: calc(var(--hud-height) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease, visibility 0.25s ease;
  z-index: 600;
  pointer-events: none;
}

.feedback-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.feedback-banner.correct {
  background: var(--success);
  color: #ffffff;
}

.feedback-banner.warm {
  background: var(--warning);
  color: #ffffff;
}

.feedback-banner.wrong {
  background: var(--danger);
  color: #ffffff;
}

.feedback-pts {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 13px;
}

/* Question Card */
.question-card {
  height: 120px;
  background: var(--card-bg);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 24px;
  z-index: 500;
}

.flag-wrapper {
  height: 80px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.quiz-flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prompt-text {
  display: flex;
  flex-direction: column;
}

.prompt-sub {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.prompt-main {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 16px;
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.visible .modal-card {
  transform: scale(1);
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
}

.score-summary {
  margin-bottom: 24px;
}

.score-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.score-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.score-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
}

.badge-new-high {
  margin-top: 6px;
  background: #fef08a;
  color: #854d0e;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
}

.stamps-count {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Button Standards (44px min touch target, Poki compliant ad styling) */
.btn {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-large {
  min-height: 54px;
  font-size: 18px;
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Poki Rewarded Button: Clear 🎬 icon, NOT GREEN, states ad will play */
.btn-rewarded {
  background: #475569; /* Slate gray / dark blue, strictly NOT green */
  color: #ffffff;
  min-height: 50px;
  justify-content: center;
}

.btn-rewarded:hover {
  background: #334155;
}

.btn-icon-ad {
  font-size: 20px;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-text-wrap strong {
  font-size: 14px;
  line-height: 1.2;
}

.btn-text-wrap small {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 500;
}

/* Storage Alert Toast */
.storage-alert-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 41, 59, 0.95);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 3000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: opacity 0.4s ease;
}

/* Language Selector in Pause Menu */
.lang-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 8px 12px;
}

.lang-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.lang-buttons {
  display: flex;
  gap: 4px;
}

.btn-lang {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-lang.active, .btn-lang:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* RTL Support for Arabic */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .game-hud {
  padding-left: 16px;
  padding-right: calc(var(--poki-pill-width) + 8px);
}

[dir="rtl"] .poki-pill-spacer {
  left: auto;
  right: 0;
}

[dir="rtl"] .streak-badge {
  right: auto;
  left: 16px;
}

[dir="rtl"] .desktop-hints {
  left: auto;
  right: 12px;
}

[dir="rtl"] .btn-text-wrap {
  text-align: right;
}

[dir="rtl"] .passport-stamp-seal {
  right: auto;
  left: 4px;
}

/* Wide Modals (Mode & Passport) */
.modal-card-wide {
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.modal-header-row .modal-title {
  margin-bottom: 0;
  font-size: 22px;
}

.passport-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.passport-icon {
  font-size: 24px;
}

.btn-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.btn-close:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

/* Mode Selection Styles */
.mode-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding-right: 4px;
}

.mode-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.mode-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.mode-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.mode-info {
  flex: 1;
}

.mode-info h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.mode-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

.daily-meta-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.meta-tag {
  background: #e0e7ff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
}

.mode-card-regions {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
}

.mode-card-regions h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.regions-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}

.btn-region {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-region:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Passport Stamp Book Styles */
.modal-passport {
  background: #fdfbf7; /* Authentic cream parchment */
  border: 2px solid #d4c5a9;
  width: 95%;
  max-width: 680px;
  height: 82vh;
  max-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.passport-summary-bar {
  background: #f1ebd8;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 12px;
  flex-shrink: 0;
  border: 1px solid #e2d7be;
}

.passport-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #4a3b22;
}

.passport-progress-bar {
  height: 9px;
  background: #e2d7be;
  border-radius: 5px;
  overflow: hidden;
}

.passport-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  border-radius: 5px;
  transition: width 0.4s ease;
}

.passport-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px 2px;
  margin-bottom: 12px;
  flex-shrink: 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.passport-tab {
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.passport-tab:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.passport-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.35);
}

.passport-grid-container {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  padding: 4px;
  padding-right: 6px;
  min-height: 180px;
}

.passport-item {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.passport-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.passport-item.stamped {
  border-color: #60a5fa;
  background: #f8fafc;
}

.passport-stamp-seal {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
}

.stamp-ink {
  font-size: 9px;
  font-weight: 900;
  color: #1d4ed8;
  border: 1.5px dashed #1d4ed8;
  padding: 2px 5px;
  border-radius: 4px;
  transform: rotate(-12deg);
  display: inline-block;
  background: rgba(239, 246, 255, 0.9);
}

.stamp-lock {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stamp-lock .svg-lock-icon {
  width: 12px;
  height: 12px;
  color: #64748b;
  opacity: 0.85;
}

.passport-flag-box {
  width: 56px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  margin-bottom: 8px;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.passport-flag-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.passport-item.locked .passport-flag-thumb {
  filter: grayscale(0.2) opacity(0.85);
}

.passport-country-name {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.passport-meta {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

/* Responsive Layout: Landscape vs Portrait */
@media (orientation: portrait), (max-width: 600px) {
  .question-card {
    height: 110px;
    padding: 8px 16px;
    gap: 14px;
  }

  .flag-wrapper {
    height: 64px;
  }

  .prompt-main {
    font-size: 16px;
  }

  .hud-stat .hud-label {
    display: none;
  }
}
