/**
 * Move the Money Across Africa · STARKS
 * Comprehensive Responsive Design System & Breakpoint Scaling
 * Supports:
 * - Mobile screens (375px)
 * - Tablets (768px)
 * - Laptops (1366px)
 * - Large desktops (1920px / 55" Booth Screen)
 *
 * Implements responsive-design skill patterns:
 * - Mobile-first base layout
 * - Fluid typography & spacing (clamp)
 * - Container queries for component adaptivity
 * - Strict overflow & safe area guards
 * - Touch targets >= 48px
 */

/* =========================================================================
   1. FLUID DESIGN TOKENS & CONTAINER QUERY SETUP
   ========================================================================= */

:root {
  /* Fluid Typography Scale */
  --fluid-type-2xs: clamp(0.65rem, 0.6rem + 0.22vw, 0.78rem);
  --fluid-type-xs: clamp(0.72rem, 0.66rem + 0.28vw, 0.88rem);
  --fluid-type-sm: clamp(0.82rem, 0.76rem + 0.35vw, 1.00rem);
  --fluid-type-base: clamp(0.92rem, 0.86rem + 0.42vw, 1.12rem);
  --fluid-type-lg: clamp(1.08rem, 0.98rem + 0.62vw, 1.38rem);
  --fluid-type-xl: clamp(1.30rem, 1.15rem + 0.88vw, 1.82rem);
  --fluid-type-2xl: clamp(1.65rem, 1.40rem + 1.25vw, 2.45rem);
  --fluid-type-3xl: clamp(2.10rem, 1.70rem + 1.80vw, 3.40rem);

  /* Fluid Spacing Scale */
  --fluid-gap-xs: clamp(4px, 0.6vw, 8px);
  --fluid-gap-sm: clamp(8px, 1.0vw, 14px);
  --fluid-gap-md: clamp(12px, 1.6vw, 22px);
  --fluid-gap-lg: clamp(18px, 2.4vw, 32px);
  --fluid-gap-xl: clamp(24px, 3.2vw, 48px);

  /* Touch Target Standard */
  --touch-target-min: 48px;
}

/* Container query contexts */
.story-char-card,
.business-card-choice,
.business-card,
.gauntlet-stage-card,
.exec-card,
.my-rank-spotlight-card,
.leaderboard-container,
.game-feed-panel {
  container-type: inline-size;
}

/* Global Zero-Overflow & Safe Area Defaults */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

#app-viewport {
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* Ensure all buttons maintain safe touch targets */
.btn,
.btn-header:not(.btn-circle-btn),
.btn-attract-primary,
.btn-attract-sub,
.btn-card-play,
.bonus-opt-btn,
.reg-btn-submit {
  min-height: var(--touch-target-min);
  box-sizing: border-box;
}

.btn-circle-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.btn-circle-btn svg {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0 !important;
}

/* =========================================================================
   2. MOBILE BREAKPOINT: TARGET 375px (Screens <= 767px)
   ========================================================================= */

@media screen and (max-width: 767px) {
  /* Compact Header */
  .app-header {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 max(10px, env(safe-area-inset-right, 10px)) 0 max(10px, env(safe-area-inset-left, 10px)) !important;
    gap: 6px !important;
  }

  .brand-section {
    gap: 6px !important;
  }

  .starks-brand-name {
    font-size: 14px !important;
  }

  .header-divider {
    height: 14px !important;
  }

  .total-score-badge {
    font-size: 9px !important;
    padding: 3px 8px !important;
  }

  .total-score-badge strong {
    font-size: 12px !important;
  }

  .rush-badge {
    font-size: 9px !important;
    padding: 2px 7px !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
  }

  .btn-circle-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  /* Attract View Mobile Ergonomics */
  #view-attract.active {
    padding: 8px 12px max(12px, env(safe-area-inset-bottom, 12px)) 12px !important;
  }

  .attract-content-wrap {
    max-width: 360px !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 6px !important;
  }

  .attract-tagline-badge {
    font-size: 9.5px !important;
    padding: 4px 12px !important;
    letter-spacing: 0.06em !important;
  }

  .attract-title {
    font-size: clamp(24px, 7vw, 29px) !important;
    line-height: 1.12 !important;
    margin: 4px 0 !important;
  }

  .attract-desc {
    font-size: clamp(11.5px, 3.2vw, 13px) !important;
    line-height: 1.45 !important;
    max-width: 320px !important;
    margin: 0 auto 6px auto !important;
  }

  .attract-stat-pills {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    max-width: 350px !important;
  }

  .stat-pill {
    height: 38px !important;
    padding: 0 4px !important;
    gap: 4px !important;
    border-radius: 10px !important;
  }

  .stat-pill-label {
    font-size: clamp(9.5px, 2.6vw, 11px) !important;
  }

  .attract-action-stack {
    max-width: 350px !important;
    gap: 8px !important;
  }

  .btn-attract-primary {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 14.5px !important;
    border-radius: 14px !important;
  }

  .btn-attract-sub {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 12.5px !important;
  }

  /* Choose Payment Screen Mobile */
  #view-select_payment.active {
    padding: 12px 14px max(14px, env(safe-area-inset-bottom, 14px)) 14px !important;
    overflow-y: auto !important;
  }

  .selection-header-wrap {
    margin-bottom: 12px !important;
  }

  .selection-subhead {
    font-size: 0.72rem !important;
  }

  .selection-title {
    font-size: 1.45rem !important;
  }

  .businesses-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .business-card-choice,
  .business-card {
    padding: 12px 14px !important;
    min-height: 130px !important;
    border-radius: 14px !important;
  }

  /* Registration Modal Mobile */
  .registration-modal-dialog {
    width: 94vw !important;
    max-width: 94vw !important;
    padding: 16px 14px max(16px, env(safe-area-inset-bottom, 16px)) 14px !important;
    border-radius: 16px !important;
  }

  .reg-form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .reg-input {
    min-height: 48px !important;
    font-size: 14px !important;
  }

  .reg-btn-submit {
    min-height: 50px !important;
    font-size: 15px !important;
  }

  /* Leaderboard Modal / View Mobile */
  .leaderboard-modal-content,
  .leaderboard-container {
    padding: 12px 12px max(14px, env(safe-area-inset-bottom, 14px)) 12px !important;
  }

  .leaderboard-heading-text h2 {
    font-size: 1.25rem !important;
  }

  .leaderboard-subheading {
    font-size: 0.72rem !important;
  }

  .tab-btn {
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
  }

  /* Story Intro Mobile (<= 767px) */
  #view-gauntlet_brief.view-has-story,
  #view-gauntlet_brief:has(.story-intro-container) {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    height: auto !important;
    min-height: 100% !important;
    padding: 8px 10px max(24px, env(safe-area-inset-bottom, 20px)) 10px !important;
  }

  .story-intro-container {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding: 6px 4px max(24px, env(safe-area-inset-bottom, 20px)) 4px !important;
    gap: 8px !important;
    justify-content: flex-start !important;
  }

  .story-brand-badge {
    padding: 4px 10px !important;
    gap: 6px !important;
    max-width: 75% !important;
    box-sizing: border-box !important;
  }

  .story-brand-eyebrow {
    font-size: clamp(0.55rem, 2.2vw, 0.68rem) !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }

  .story-title-block {
    margin: 0 0 4px 0 !important;
  }

  .story-hero-title {
    font-size: clamp(1.2rem, 4.8vw, 1.45rem) !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }

  .story-hero-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }

  .story-char-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    height: auto !important;
    width: 100% !important;
  }

  .story-char-card {
    flex: 0 0 auto !important;
    height: auto !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .story-char-desc {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  .story-char-tags-row {
    margin-bottom: 6px !important;
  }

  .story-card-visual {
    height: 48px !important;
    margin-bottom: 8px !important;
  }

  .btn-play-character {
    min-height: 46px !important;
    height: 46px !important;
    margin-top: auto !important;
    font-size: 0.9rem !important;
  }

  /* 4-Step Walkthrough Mobile (<= 767px) */
  .story-slide-hero {
    padding: 16px 14px !important;
    gap: 12px !important;
    border-radius: 16px !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  .story-hero-avatar-large {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.6rem !important;
  }

  .story-hero-content {
    align-items: center !important;
    text-align: center !important;
  }

  .story-headline-title {
    font-size: 1.45rem !important;
    margin-bottom: 6px !important;
  }

  .story-body-copy {
    font-size: 0.86rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .story-request-pill {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    align-self: center !important;
  }

  .story-grid-header {
    margin-bottom: 8px !important;
    gap: 10px !important;
  }

  .story-grid-title {
    font-size: clamp(1.2rem, 4.5vw, 1.4rem) !important;
    line-height: 1.2 !important;
  }

  .story-grid-subtitle {
    font-size: 0.78rem !important;
  }

  .story-quad-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .story-pain-card,
  .story-solution-card {
    padding: 10px 12px !important;
    gap: 4px !important;
    border-radius: 12px !important;
  }

  .sol-card-title {
    font-size: 0.92rem !important;
  }

  .sol-card-tag,
  .pain-card-tag {
    font-size: 0.65rem !important;
    padding: 2px 7px !important;
  }

  .sol-card-desc,
  .pain-card-quote {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  .story-highlight-tagline {
    font-size: 1.05rem !important;
    margin-top: 6px !important;
    margin-bottom: 4px !important;
  }

  .story-slide-your-turn {
    padding: 16px 14px !important;
    gap: 8px !important;
    border-radius: 16px !important;
  }

  .coins-visual-display-row {
    gap: 6px !important;
    margin: 8px 0 !important;
    justify-content: center !important;
  }

  .coin-preview-item {
    width: 44px !important;
    height: 44px !important;
    font-size: 1rem !important;
  }

  .story-rules-three-row {
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 6px 0 12px 0 !important;
  }

  .story-rule-pill {
    padding: 7px 12px !important;
    font-size: 0.76rem !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .story-btn-move-money {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.95rem !important;
    padding: 10px 16px !important;
  }

  .story-action-controls {
    margin-top: 10px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  .story-btn-back {
    min-height: 44px !important;
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
  }

  .story-btn-primary {
    min-height: 44px !important;
    padding: 8px 20px !important;
    font-size: 0.92rem !important;
  }

  /* 60s Challenge Arena Game HUD Mobile (<= 767px): 2-Tier Modular HUD with Zero Collisions */
  .game-hud-bar {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    padding: 6px 12px !important;
    row-gap: 4px !important;
    column-gap: 10px !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    align-items: center !important;
    box-sizing: border-box !important;
    z-index: 30 !important;
  }

  /* Left Column (Row 1-2): Wallet & Progress stacked into 2 clean lines */
  .hud-wallet-section {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .hud-wallet-section .hud-label {
    font-size: 8.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: var(--text-muted, #6A6478) !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin-right: 4px !important;
  }

  .wallet-amount {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }

  .wallet-bar-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
  }

  .wallet-track {
    width: clamp(38px, 11vw, 55px) !important;
    height: 4px !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
  }

  .delivered-label {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    color: var(--starks-orange, #DD5A20) !important;
  }

  /* Right Column Row 1: Timer + Controls */
  .hud-right-section {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
  }

  .timer-ring-wrapper {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  .timer-num {
    font-size: 11.5px !important;
    font-weight: 800 !important;
  }

  .hud-controls-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .hud-controls-group .btn-circle-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

  .hud-controls-group .btn-circle-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Right Column Row 2: Score + Streak */
  .hud-center-section {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .score-streak-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .hud-stat-pill {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 3px !important;
  }

  .hud-stat-pill .hud-label {
    font-size: 8px !important;
    letter-spacing: 0.6px !important;
    line-height: 1 !important;
    color: var(--text-muted, #6A6478) !important;
  }

  .score-val {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .streak-badge {
    font-size: 11px !important;
    line-height: 1 !important;
    padding: 1px 4px !important;
    border-radius: 4px !important;
  }

  .streak-text {
    display: none !important;
  }
}

/* =========================================================================
   3. TABLET BREAKPOINT: TARGET 768px (Screens 768px - 1023px)
   ========================================================================= */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* Tablet Header */
  .app-header {
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 0 20px !important;
    gap: 12px !important;
  }

  .starks-brand-name {
    font-size: 15.5px !important;
  }

  .total-score-badge {
    font-size: 10.5px !important;
    padding: 4px 10px !important;
  }

  .rush-badge {
    font-size: 10.5px !important;
    padding: 3px 10px !important;
  }

  /* Attract View Tablet */
  #view-attract.active {
    padding: 12px 24px max(20px, env(safe-area-inset-bottom, 20px)) 24px !important;
  }

  .attract-map-spacer {
    height: 38vh !important;
    min-height: 240px !important;
    max-height: 42vh !important;
  }

  .attract-content-wrap {
    max-width: 520px !important;
    gap: 10px !important;
  }

  .attract-title {
    font-size: 34px !important;
    line-height: 1.15 !important;
  }

  .attract-desc {
    font-size: 14px !important;
    max-width: 440px !important;
  }

  .attract-stat-pills {
    max-width: 440px !important;
    gap: 10px !important;
  }

  .stat-pill {
    height: 42px !important;
  }

  .stat-pill-label {
    font-size: 12px !important;
  }

  .attract-action-stack {
    max-width: 440px !important;
    gap: 10px !important;
  }

  .btn-attract-primary {
    height: 52px !important;
    font-size: 15.5px !important;
  }

  .btn-attract-sub {
    height: 48px !important;
    font-size: 13.5px !important;
  }

  /* Choose a Payment Screen Tablet: 2 Columns */
  #view-select_payment.active {
    padding: 24px 32px !important;
    overflow-y: auto !important;
  }

  .selection-title {
    font-size: 2rem !important;
  }

  .businesses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    max-width: 740px !important;
    margin: 0 auto !important;
  }

  .business-card-choice,
  .business-card {
    padding: 18px 20px !important;
    min-height: 180px !important;
    border-radius: 18px !important;
  }

  /* Story Intro Tablet */
  #view-gauntlet_brief.view-has-story,
  #view-gauntlet_brief:has(.story-intro-container) {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    height: auto !important;
    min-height: 100% !important;
    padding: 10px 14px max(20px, env(safe-area-inset-bottom, 16px)) 14px !important;
  }

  .story-intro-container {
    max-width: 740px !important;
    min-height: 100% !important;
    height: auto !important;
    padding: 10px 12px max(24px, env(safe-area-inset-bottom, 20px)) 12px !important;
    gap: 8px !important;
    overflow-y: visible !important;
    justify-content: flex-start !important;
  }

  .story-brand-badge {
    padding: 4px 10px !important;
    gap: 6px !important;
  }

  .story-brand-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
  }

  .story-title-block {
    margin: 0 0 4px 0 !important;
  }

  .story-hero-title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem) !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }

  .story-hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.3 !important;
  }

  .story-char-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    height: auto !important;
  }

  .story-char-card {
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    border-radius: 16px !important;
  }

  .story-char-header {
    margin-bottom: 6px !important;
    gap: 10px !important;
  }

  .char-circle-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }

  .char-title-name {
    font-size: 1.2rem !important;
    line-height: 1.15 !important;
  }

  .char-title-role {
    font-size: 0.76rem !important;
  }

  .story-char-desc {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  .story-char-tags-row {
    margin-bottom: 6px !important;
  }

  .story-card-visual {
    height: clamp(38px, 5.5vh, 52px) !important;
    margin-bottom: 8px !important;
  }

  .btn-play-character {
    min-height: 44px !important;
    height: 44px !important;
    margin-top: auto !important;
    font-size: 0.9rem !important;
  }

  /* 4-Step Walkthrough Tablet (768px - 1023px) */
  .story-slide-hero {
    padding: 22px 24px !important;
    gap: 20px !important;
    border-radius: 18px !important;
  }

  .story-hero-avatar-large {
    width: 80px !important;
    height: 80px !important;
    font-size: 2.2rem !important;
  }

  .story-headline-title {
    font-size: 1.85rem !important;
    margin-bottom: 8px !important;
  }

  .story-body-copy {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

  .story-grid-header {
    margin-bottom: 10px !important;
  }

  .story-grid-title {
    font-size: 1.6rem !important;
  }

  .story-quad-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .story-pain-card,
  .story-solution-card {
    padding: 12px 14px !important;
    gap: 6px !important;
    border-radius: 14px !important;
  }

  .sol-card-title {
    font-size: 0.98rem !important;
  }

  .sol-card-desc,
  .pain-card-quote {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
  }

  .story-highlight-tagline {
    font-size: 1.2rem !important;
    margin-top: 8px !important;
  }

  .story-slide-your-turn {
    padding: 20px 22px !important;
    border-radius: 18px !important;
  }

  .story-action-controls {
    margin-top: 14px !important;
  }

  /* Mini-Game 60s Challenge Arena Tablet */
  .game-hud-bar {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .hud-wallet-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .hud-center-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    flex-shrink: 0 !important;
  }

  .score-streak-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .hud-right-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }

  .coin-tray-items {
    justify-content: center !important;
    gap: 10px !important;
  }

  .coin-tray-items .coin-item,
  .coin-tray-items .currency-coin,
  .coin-tray-items .coin-dock-btn {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }

  /* Executive Results Screen Tablet */
  #executive-results-content {
    max-width: 700px !important;
    margin: 0 auto !important;
  }

  .celebration-breakdown-grid,
  .exec-breakdown-strip {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }

  .exec-comparison-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  /* Registration Modal Tablet */
  .registration-modal-dialog {
    max-width: 560px !important;
    padding: 24px 28px !important;
  }

  .reg-form-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

/* =========================================================================
   4. LAPTOP BREAKPOINT: TARGET 1366px (Screens 1024px - 1439px)
   ========================================================================= */

@media screen and (min-width: 1024px) and (max-width: 1439px) {
  /* Header Laptop */
  .app-header {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 28px !important;
    gap: 14px !important;
  }

  .starks-brand-name {
    font-size: 16px !important;
  }

  .total-score-badge {
    font-size: 10.5px !important;
    padding: 5px 12px !important;
  }

  .rush-badge {
    font-size: 11px !important;
    padding: 4px 12px !important;
  }

  /* Attract Screen Laptop (Side-by-Side: Left Card 44%, Right Map 55%) */
  #view-attract.active {
    padding: 0 36px 0 48px !important;
  }

  .attract-content-wrap {
    width: 44% !important;
    max-width: 520px !important;
    padding: 28px 32px !important;
    gap: 14px !important;
  }

  .attract-title {
    font-size: 38px !important;
    line-height: 1.1 !important;
  }

  .attract-desc {
    font-size: 14px !important;
    max-width: 460px !important;
  }

  .attract-stat-pills {
    max-width: 440px !important;
    gap: 10px !important;
  }

  .stat-pill {
    height: 42px !important;
  }

  .btn-attract-primary {
    height: 54px !important;
    font-size: 15.5px !important;
  }

  .btn-attract-sub {
    height: 48px !important;
    font-size: 13.5px !important;
  }

  /* Choose a Payment Screen Laptop: 4 Columns */
  #view-select_payment.active {
    padding: 32px 48px !important;
  }

  .selection-title {
    font-size: 2.3rem !important;
  }

  .businesses-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    max-width: 1240px !important;
  }

  .business-card-choice,
  .business-card {
    min-height: 220px !important;
    padding: 20px !important;
  }

  /* Mini-Game 60s Challenge Laptop (Map + Sidebar Feed) */
  .game-arena-grid {
    grid-template-columns: 1fr 320px !important;
    max-width: 1340px !important;
  }

  .game-feed-panel {
    display: flex !important;
    width: 320px !important;
  }

  .coin-tray-items .coin-item,
  .coin-tray-items .currency-coin,
  .coin-tray-items .coin-dock-btn {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }

  /* Executive Results Laptop */
  #executive-results-content {
    max-width: 820px !important;
  }

  .celebration-breakdown-grid,
  .exec-breakdown-strip {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 10px !important;
  }

  .exec-comparison-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* Registration Modal Laptop */
  .registration-modal-dialog {
    max-width: 580px !important;
    padding: 28px 32px !important;
  }
}

/* =========================================================================
   5. LARGE DESKTOP BREAKPOINT: TARGET 1920px (Screens >= 1440px / 1920px)
   Native Resolution for 55" Exhibition Booth Screen & Full HD Monitors
   ========================================================================= */

@media screen and (min-width: 1440px) {
  /* Large Desktop Header */
  .app-header {
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    padding: 0 44px !important;
    gap: 16px !important;
  }

  .starks-logo-svg {
    width: 28px !important;
    height: 28px !important;
  }

  .starks-brand-name {
    font-size: 18px !important;
  }

  .header-divider {
    height: 20px !important;
  }

  .total-score-badge {
    font-size: 12px !important;
    padding: 6px 14px !important;
    border-radius: 12px !important;
  }

  .total-score-badge strong {
    font-size: 15px !important;
  }

  .rush-badge {
    font-size: 12px !important;
    padding: 5px 14px !important;
    border-radius: 12px !important;
  }

  .btn-circle-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .btn-circle-btn svg {
    width: 17px !important;
    height: 17px !important;
  }

  /* Attract Screen 1920px Display Mode */
  #view-attract.active {
    padding: 0 64px 0 84px !important;
  }

  .attract-content-wrap {
    width: 42% !important;
    max-width: 600px !important;
    padding: 38px 44px !important;
    gap: 18px !important;
    border-radius: 28px !important;
  }

  .attract-tagline-badge {
    font-size: 12px !important;
    padding: 6px 18px !important;
  }

  .attract-title {
    font-size: 48px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  .attract-desc {
    font-size: 16px !important;
    max-width: 520px !important;
    line-height: 1.6 !important;
  }

  .attract-stat-pills {
    max-width: 520px !important;
    gap: 14px !important;
  }

  .stat-pill {
    height: 48px !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
  }

  .stat-pill-label {
    font-size: 13.5px !important;
  }

  .attract-action-stack {
    max-width: 520px !important;
    gap: 14px !important;
  }

  .btn-attract-primary {
    height: 60px !important;
    font-size: 17.5px !important;
    border-radius: 20px !important;
  }

  .btn-attract-sub {
    height: 52px !important;
    font-size: 15px !important;
    border-radius: 20px !important;
  }

  #app-viewport.state-attract .map-container-root,
  #app-viewport.screen-attract .map-container-root {
    left: 44% !important;
    width: 56% !important;
  }

  /* Choose a Payment Screen 1920px: Expansive 4-Column Grid */
  #view-select_payment.active {
    padding: 48px 80px !important;
  }

  .selection-title {
    font-size: 2.8rem !important;
  }

  .businesses-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    max-width: 1560px !important;
  }

  .business-card-choice,
  .business-card {
    min-height: 270px !important;
    padding: 26px 28px !important;
    border-radius: 22px !important;
  }

  .character-avatar {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.45rem !important;
  }

  .character-name {
    font-size: 1.3rem !important;
  }

  .character-role {
    font-size: 0.88rem !important;
  }

  .character-quote {
    font-size: 0.95rem !important;
  }

  .payment-amount {
    font-size: 1.15rem !important;
  }

  .btn-card-play {
    min-height: 50px !important;
    font-size: 1rem !important;
  }

  /* Meet Player 1920px */
  #view-meet_player .meet-player-wrap {
    max-width: 1360px !important;
    gap: 56px !important;
  }

  .character-avatar.large {
    width: 76px !important;
    height: 76px !important;
    font-size: 2.1rem !important;
  }

  .profile-name {
    font-size: 2.6rem !important;
  }

  .quote-body {
    font-size: 1.4rem !important;
  }

  .cell-val.amount-val {
    font-size: 1.85rem !important;
  }

  /* 60-Second Challenge Arena (1920px Full HD & 55" Kiosk) */
  .game-hud-bar {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding: 0 36px !important;
    gap: 20px !important;
  }

  .wallet-amount {
    font-size: 18px !important;
  }

  .wallet-track {
    width: 110px !important;
    height: 8px !important;
  }

  .delivered-label {
    font-size: 12.5px !important;
  }

  .score-val {
    font-size: 19px !important;
  }

  .streak-badge {
    font-size: 15px !important;
  }

  .phase-badge {
    font-size: 11.5px !important;
    padding: 4px 12px !important;
  }

  .timer-ring-wrapper {
    width: 44px !important;
    height: 44px !important;
  }

  .timer-num {
    font-size: 16px !important;
  }

  .game-arena-grid {
    grid-template-columns: 1fr 380px !important;
    max-width: 1720px !important;
  }

  .game-feed-panel {
    width: 380px !important;
    padding: 18px 20px !important;
  }

  .feed-title {
    font-size: 12.5px !important;
  }

  .transfer-log-item {
    padding: 9px 13px !important;
    font-size: 13.5px !important;
  }

  .feed-counter {
    font-size: 15px !important;
  }

  .coin-tray-items {
    gap: 14px !important;
  }

  .coin-tray-items .coin-item,
  .coin-tray-items .currency-coin,
  .coin-tray-items .coin-dock-btn {
    width: 62px !important;
    height: 62px !important;
  }

  /* Story Intro / Gauntlet Brief 1920px */
  .story-intro-container {
    max-width: 1200px !important;
    padding: 24px 32px !important;
    gap: 20px !important;
  }

  .story-hero-title {
    font-size: 2.3rem !important;
  }

  .story-hero-subtitle {
    font-size: 1.1rem !important;
  }

  .story-char-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  .story-char-card {
    padding: 24px 28px !important;
    border-radius: 22px !important;
  }

  .char-circle-avatar {
    width: 58px !important;
    height: 58px !important;
    font-size: 1.7rem !important;
  }

  .char-title-name {
    font-size: 1.6rem !important;
  }

  .char-title-role {
    font-size: 0.95rem !important;
  }

  .story-char-desc {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
  }

  /* Stage Interstitial 1920px */
  #stage-interstitial-content {
    max-width: 900px !important;
  }

  .countdown-ring-box {
    width: 100px !important;
    height: 100px !important;
  }

  .countdown-svg {
    width: 100px !important;
    height: 100px !important;
  }

  .countdown-sec-text {
    font-size: 2.2rem !important;
  }

  .solution-headline {
    font-size: 1.9rem !important;
  }

  .solution-quote {
    font-size: 1.15rem !important;
  }

  /* Bonus Trivia 1920px */
  #bonus-trivia-content {
    max-width: 860px !important;
  }

  .bonus-question-box {
    font-size: 1.45rem !important;
    padding: 28px 34px !important;
    border-radius: 22px !important;
  }

  .bonus-options-grid {
    gap: 16px !important;
  }

  .bonus-opt-btn {
    font-size: 1.15rem !important;
    padding: 18px 24px !important;
    border-radius: 20px !important;
    min-height: 62px !important;
  }

  /* Executive Results 1920px */
  #executive-results-content {
    max-width: 1100px !important;
  }

  .celebration-title {
    font-size: 2.7rem !important;
  }

  .celebration-trophy-box {
    width: 84px !important;
    height: 84px !important;
  }

  .celebration-score-num {
    font-size: 2.9rem !important;
  }

  .celebration-breakdown-grid,
  .exec-breakdown-strip {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
  }

  .breakdown-item {
    padding: 12px 14px !important;
  }

  .breakdown-val {
    font-size: 1.35rem !important;
  }

  .exec-comparison-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px !important;
  }

  .exec-card {
    padding: 26px 30px !important;
    border-radius: 24px !important;
  }

  #btn-exec-replay {
    height: 60px !important;
    font-size: 1.2rem !important;
    max-width: 480px !important;
    border-radius: 20px !important;
  }

  /* Leaderboard 1920px */
  .leaderboard-modal-content,
  .leaderboard-container {
    max-width: 1040px !important;
    padding: 32px 36px !important;
  }

  .leaderboard-heading-text h2 {
    font-size: 1.85rem !important;
  }

  .lb-entry-row {
    padding: 14px 18px !important;
    font-size: 1.05rem !important;
  }

  /* Registration Modal 1920px */
  .registration-modal-dialog {
    max-width: 660px !important;
    padding: 36px 42px !important;
    border-radius: 24px !important;
  }

  .reg-input {
    min-height: 52px !important;
    font-size: 16px !important;
  }

  .reg-btn-submit {
    min-height: 58px !important;
    font-size: 17px !important;
  }

  /* 55" Booth Crowd Display Mirror Mode */
  .crowd-stats-strip {
    gap: 36px !important;
  }

  .crowd-kpi-val {
    font-size: 2.4rem !important;
  }

  .crowd-table th,
  .crowd-table td {
    padding: 14px 18px !important;
    font-size: 1.1rem !important;
  }
}

/* =========================================================================
   6. CONTAINER QUERIES: ADAPTIVE COMPONENT BEHAVIOR
   ========================================================================= */

@container (min-width: 320px) {
  .story-char-card {
    gap: 8px;
  }
  .gauntlet-stage-card {
    padding: 12px 14px;
  }
}

@container (min-width: 500px) {
  .exec-card {
    padding: 22px 26px;
  }
  .my-rank-spotlight-card {
    padding: 16px 20px;
  }
}

/* =========================================================================
   7. THEME & CONTRAST ACCESSIBILITY OVERRIDES
   ========================================================================= */

[data-theme="light"] .highlight-nana-text {
  color: #DD5A20 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .story-char-desc {
  color: #374151 !important;
}

[data-theme="light"] .story-slide-hero,
[data-theme="light"] .story-slide-your-turn {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .story-headline-title,
[data-theme="light"] .story-grid-title,
[data-theme="light"] .story-hero-title {
  color: #0F172A !important;
}

[data-theme="light"] .story-body-copy,
[data-theme="light"] .story-grid-subtitle,
[data-theme="light"] .story-hero-subtitle {
  color: #334155 !important;
}

[data-theme="light"] .story-pain-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(249, 115, 22, 0.35) !important;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.08) !important;
}

[data-theme="light"] .pain-icon-wrapper {
  background: #FFEDD5 !important;
}

[data-theme="light"] .pain-card-tag {
  color: #C2410C !important;
}

[data-theme="light"] .pain-card-quote {
  color: #1E293B !important;
}

[data-theme="light"] .story-solution-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08) !important;
}

[data-theme="light"] .sol-icon-wrapper {
  background: #D1FAE5 !important;
}

[data-theme="light"] .sol-card-title {
  color: #064E3B !important;
}

[data-theme="light"] .sol-card-tag {
  background: #ECFDF5 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #047857 !important;
}

[data-theme="light"] .sol-card-desc {
  color: #334155 !important;
}

[data-theme="light"] .eyebrow-starks-way {
  color: #047857 !important;
  background: #D1FAE5 !important;
  border: 1px solid #6EE7B7 !important;
}

[data-theme="light"] .story-rule-pill {
  color: #1E293B !important;
}

[data-theme="light"] .story-rule-pill strong {
  color: #0F172A !important;
}

[data-theme="light"] .story-rule-pill.rule-right {
  background: #ECFDF5 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

[data-theme="light"] .story-rule-pill.rule-wrong {
  background: #FFF1F2 !important;
  border-color: rgba(244, 63, 94, 0.4) !important;
}

[data-theme="light"] .story-rule-pill.rule-quick {
  background: #FFFBEB !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

[data-theme="light"] .story-btn-back {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
}

[data-theme="light"] .story-btn-back:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* Stepper & Avatar Light Mode Clarity */
[data-theme="light"] .story-progress-indicator {
  background: #E2E8F0 !important;
  box-shadow: none !important;
}

[data-theme="light"] .story-progress-indicator.active {
  background: #DD5A20 !important;
  box-shadow: none !important;
}

[data-theme="light"] .story-progress-indicator.active-ali {
  background: #7C3AED !important;
  box-shadow: none !important;
}

.avatar-nana {
  background: #DD5A20 !important;
  color: #ffffff !important;
}

.avatar-ali {
  background: #7C3AED !important;
  color: #ffffff !important;
}

.story-hero-avatar-large.avatar-nana {
  background: linear-gradient(135deg, #FF6F32 0%, #DD5A20 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(221, 90, 32, 0.4) !important;
}

.story-hero-avatar-large.avatar-ali {
  background: linear-gradient(135deg, #9333EA 0%, #6D28D9 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.4) !important;
}

.story-step2-avatar-tag.avatar-nana {
  background: #DD5A20 !important;
  color: #ffffff !important;
}

.story-step2-avatar-tag.avatar-ali {
  background: #7C3AED !important;
  color: #ffffff !important;
}

/* =========================================================================
   MANDATORY DEVICE ORIENTATION GATE (TABLET PORTRAIT)
   ========================================================================= */

#orientation-prompt-modal,
#orientation-prompt-modal[aria-hidden="true"] {
  display: none !important;
}

@media screen and (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
  #orientation-prompt-modal:not([aria-hidden="true"]) {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    animation: fadeInOrientationPrompt 0.25s ease-out forwards;
    touch-action: none;
    pointer-events: auto;
  }

  /* Explicitly prevent rotate prompt from appearing on the 9:16 landing/attract screen */
  #app-viewport.state-attract ~ #orientation-prompt-modal,
  #app-viewport.screen-attract ~ #orientation-prompt-modal,
  body:has(#app-viewport.state-attract) #orientation-prompt-modal,
  body:has(#app-viewport.screen-attract) #orientation-prompt-modal,
  body:has(#view-attract.active) #orientation-prompt-modal {
    display: none !important;
  }
}

@media screen and (orientation: landscape), screen and (max-width: 599px), screen and (min-width: 1025px) {
  #orientation-prompt-modal {
    display: none !important;
  }
}

.orientation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.orientation-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid rgba(221, 90, 32, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(221, 90, 32, 0.08);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-sizing: border-box;
}

[data-theme="dark"] .orientation-card {
  background: #141824;
  border-color: rgba(255, 111, 50, 0.3);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 111, 50, 0.15);
}

.orientation-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(221, 90, 32, 0.1);
  color: #DD5A20;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

[data-theme="dark"] .orientation-badge {
  background: rgba(255, 111, 50, 0.15);
  color: #FF6F32;
}

.orientation-graphic-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0;
}

.device-graphic.tablet-device {
  width: 52px;
  height: 74px;
  border-radius: 8px;
  border: 3px solid #DD5A20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(221, 90, 32, 0.06);
  position: relative;
  animation: rotateTabletDevice 3s ease-in-out infinite;
  transform-origin: center center;
  box-sizing: border-box;
}

[data-theme="dark"] .device-graphic.tablet-device {
  border-color: #FF6F32;
  background: rgba(255, 111, 50, 0.1);
}

.device-screen {
  display: flex;
  align-items: center;
  justify-content: center;
}

.starks-mini-logo {
  width: 22px;
  height: 22px;
}

.rotate-arrow-indicator {
  color: #DD5A20;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseRotateArrow 3s ease-in-out infinite;
}

[data-theme="dark"] .rotate-arrow-indicator {
  color: #FF6F32;
}

@keyframes rotateTabletDevice {
  0%, 15% {
    transform: rotate(0deg);
  }
  45%, 70% {
    transform: rotate(-90deg);
  }
  85%, 100% {
    transform: rotate(0deg);
  }
}

@keyframes pulseRotateArrow {
  0%, 15% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  45%, 70% {
    opacity: 1;
    transform: scale(1.1);
  }
  85%, 100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
}

.orientation-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.3px;
}

[data-theme="dark"] .orientation-title {
  color: #F8FAFC;
}

.orientation-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #475569;
  max-width: 360px;
}

[data-theme="dark"] .orientation-desc {
  color: #94A3B8;
}

.orientation-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.btn-orientation-primary {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF6F32 0%, #DD5A20 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(221, 90, 32, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-orientation-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(221, 90, 32, 0.45);
}

.btn-orientation-sub {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  background: transparent;
  color: #64748B;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

[data-theme="dark"] .btn-orientation-sub {
  color: #94A3B8;
  border-color: rgba(148, 163, 184, 0.2);
}

.btn-orientation-sub:hover {
  color: #0F172A;
  border-color: #94A3B8;
}

[data-theme="dark"] .btn-orientation-sub:hover {
  color: #F8FAFC;
  border-color: #CBD5E1;
}

.orientation-helper-text {
  font-size: 12px;
  color: #DD5A20;
  margin-top: 2px;
  line-height: 1.4;
}

@keyframes fadeInOrientationPrompt {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}



