/* ========================================
   MIRA — SPA Stylesheet
   Base CSS loaded via <link> tags in HTML
   This file contains Mira overrides only
   ======================================== */

/* ===== MIRA DESIGN TOKEN OVERRIDES ===== */

/* Override root defaults (dark mode base) with Mira blue accent */
:root {
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  --accent-1: #2563eb;
  --accent-2: #3b82f6;
  --accent-1-glow: rgba(37, 99, 235, 0.12);
  --accent-2-glow: rgba(59, 130, 246, 0.1);
  --accent-1-bg: rgba(37, 99, 235, 0.06);
  --accent-1-border: rgba(37, 99, 235, 0.2);
  --accent-2-bg: rgba(59, 130, 246, 0.06);
  --accent-2-border: rgba(59, 130, 246, 0.15);
  --purple: var(--accent-1);
  --purple-glow: var(--accent-1-glow);
  --pink: var(--accent-2);
  --pink-glow: var(--accent-2-glow);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Override light theme — clean white instead of ivory */
[data-theme="light"] {
  --bg: #ffffff !important;
  --bg2: #f5f5f5 !important;
  --surface: rgba(0, 0, 0, 0.03) !important;
  --surface-hover: rgba(0, 0, 0, 0.06) !important;
  --border: #e0e0e0 !important;
  --text: #0a0a0a !important;
  --text-dim: #a0a0a0 !important;
  --text-mid: #767676 !important;
  --nav-bg: rgba(255, 255, 255, 0.92) !important;
  --modal-bg: rgba(255, 255, 255, 0.75) !important;
  --card-bg: #ffffff !important;
  --card-border: #e0e0e0 !important;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  --card-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
  --card-inner-glow: none !important;
  --dashed-border: rgba(0, 0, 0, 0.15) !important;
  --answer-hover-border: rgba(0, 0, 0, 0.14) !important;
  --accent-1: #2563eb;
  --accent-2: #3b82f6;
  --accent-1-glow: rgba(37, 99, 235, 0.12);
  --accent-2-glow: rgba(59, 130, 246, 0.1);
  --accent-1-bg: rgba(37, 99, 235, 0.06);
  --accent-1-border: rgba(37, 99, 235, 0.2);
  --accent-2-bg: rgba(59, 130, 246, 0.06);
  --accent-2-border: rgba(59, 130, 246, 0.15);
}

/* Override dark theme */
[data-theme="dark"] {
  --bg: #0a0a0a !important;
  --bg2: #141414 !important;
  --surface: rgba(255, 255, 255, 0.05) !important;
  --surface-hover: rgba(255, 255, 255, 0.08) !important;
  --border: rgba(255, 255, 255, 0.1) !important;
  --text: #f0f0f0 !important;
  --text-dim: rgba(255, 255, 255, 0.35) !important;
  --text-mid: rgba(255, 255, 255, 0.55) !important;
  --nav-bg: rgba(10, 10, 10, 0.92) !important;
  --modal-bg: rgba(0, 0, 0, 0.7) !important;
  --card-bg: #141414 !important;
  --card-border: rgba(255, 255, 255, 0.08) !important;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  --card-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  --dashed-border: rgba(255, 255, 255, 0.15) !important;
  --accent-1: #2563eb;
  --accent-2: #3b82f6;
  --accent-1-glow: rgba(37, 99, 235, 0.12);
  --accent-2-glow: rgba(59, 130, 246, 0.1);
  --accent-1-bg: rgba(37, 99, 235, 0.06);
  --accent-1-border: rgba(37, 99, 235, 0.2);
  --accent-2-bg: rgba(59, 130, 246, 0.06);
  --accent-2-border: rgba(59, 130, 246, 0.15);
}

/* Override all accent themes to Mira blue */
[data-accent="sunset"],
[data-accent="ocean"],
[data-accent="ember"],
[data-accent="mint"],
[data-accent="candy"] {
  --accent-1: #2563eb !important;
  --accent-2: #3b82f6 !important;
  --accent-1-glow: rgba(37, 99, 235, 0.12) !important;
  --accent-2-glow: rgba(59, 130, 246, 0.1) !important;
  --accent-1-bg: rgba(37, 99, 235, 0.06) !important;
  --accent-1-border: rgba(37, 99, 235, 0.2) !important;
  --accent-2-bg: rgba(59, 130, 246, 0.06) !important;
  --accent-2-border: rgba(59, 130, 246, 0.15) !important;
}

/* ===== FONT OVERRIDE ===== */
html,
body,
.syne,
h1,
h2,
h3,
.btn,
.fab,
.home-tab,
.copy-btn,
.mode-toggle-btn,
.auth-input,
.nav-item,
input,
textarea,
select,
button {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
}
.syne,
h1,
h2,
h3 {
  letter-spacing: -0.03em;
}
h1 {
  font-weight: 600;
}
h2 {
  font-weight: 500;
}
h3 {
  font-weight: 500;
}

/* White background override */
html,
body,
#app {
  background: var(--bg) !important;
}

/* ===== BUTTON OVERRIDES — pill style ===== */
.btn {
  border-radius: 100px;
  font-family: var(--font);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
}
.fab {
  border-radius: 100px;
  font-family: var(--font);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.home-tab {
  border-radius: 100px;
  font-family: var(--font);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 12px;
}
.copy-btn {
  border-radius: 100px;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mode-toggle-btn {
  border-radius: 100px;
  font-family: var(--font);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.mode-toggle {
  border-radius: 100px;
}

/* ===== HOME BRAND OVERRIDE ===== */
.home-brand h1 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== SPLASH OVERRIDE ===== */
.logo-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.logo-text {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

/* ===== ONBOARDING OVERRIDE ===== */
.slide-emoji {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-1);
  font-style: normal;
  letter-spacing: -0.03em;
}

/* ===== ANSWER OPTIONS — cleaner ===== */
.answer-opt {
  border-radius: var(--radius);
  font-family: var(--font);
}
.answer-opt.selected {
  border-color: var(--accent-1);
  background: var(--accent-1-bg);
}

/* ===== PROFILE PAGE FIXES ===== */
.profile-avatar {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.profile-name {
  font-family: var(--font);
}
.profile-stat-val,
.profile-stat-num {
  font-family: var(--font);
  font-weight: 300;
  letter-spacing: -0.04em;
}

/* ===== NAV ICONS — use SVG, hide emoji ===== */
.nav-icon {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-icon svg {
  display: block;
}

/* ===== MIRA GREETING ===== */
.mira-greeting {
  padding: 20px 24px 8px;
}
.mira-greeting-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.mira-greeting-sub {
  font-size: 14px;
  color: var(--text-mid);
}

/* ===== MIRA FEATURE CARDS ===== */
.mira-features {
  padding: 12px 24px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mira-feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease);
}
.mira-feature-card:hover {
  background: var(--surface-hover);
}
.mira-feature-card:active {
  transform: scale(0.99);
}
.mira-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
.mira-feature-icon-accent {
  background: var(--accent-1-bg);
  color: var(--accent-1);
}
.mira-feature-body {
  flex: 1;
  min-width: 0;
}
.mira-feature-title {
  font-size: 14px;
  font-weight: 500;
}
.mira-feature-desc {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 2px;
  line-height: 1.4;
}
.mira-feature-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.mira-feature-card:hover .mira-feature-arrow {
  transform: translateX(2px);
}
.mira-feature-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-1-bg);
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.mira-feature-accent {
  background: var(--accent-1-bg);
}

/* ===== MIRA COMPANION CARD ===== */
.mira-companion-card {
  margin: 12px 24px 8px;
  padding: 20px;
  background: var(--bg2);
  border-radius: var(--radius);
}
.mira-companion-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mira-companion-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.mira-companion-name {
  font-size: 13px;
  font-weight: 500;
}
.mira-companion-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-dim);
}
.mira-companion-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.mira-companion-bubble {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  padding: 14px 16px;
  background: var(--card-bg);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.mira-companion-prompts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mira-companion-prompt {
  padding: 7px 16px;
  border-radius: 100px;
  border: none;
  background: var(--card-bg);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.mira-companion-prompt:hover {
  background: var(--surface-hover);
}

/* ===== SESSIONS SECTION HEADER ===== */
.mira-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 8px;
}
.mira-section-title {
  font-size: 15px;
  font-weight: 500;
}
.home-tabs-inline {
  display: flex;
  gap: 4px;
}
.home-tabs-inline .home-tab {
  padding: 5px 12px;
  font-size: 11px;
}

/* Hide the old standalone home-tabs (we moved them inline) */
#home > .home-tabs {
  display: none;
}

/* ===== MIRA LOGO IMAGE ===== */
.mira-logo-img {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* ===== MIRA SUBSCRIPTION BANNER ===== */
.mira-sub-banner {
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin: 4px 16px 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border-radius: 16px;
  text-decoration: none;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  min-height: 72px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.mira-features,
.mira-companion-card,
.mira-greeting,
#homeSessions {
  flex-shrink: 0;
}
.mira-sub-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.4) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.mira-sub-banner:hover {
  transform: translateY(-1px);
}
.mira-sub-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  z-index: 1;
}
.mira-sub-banner-body {
  flex: 1;
  min-width: 0;
  z-index: 1;
}
.mira-sub-banner-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.mira-sub-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.mira-sub-banner-days {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mira-sub-banner-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}
.mira-sub-banner-arrow {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.25s ease;
}
.mira-sub-banner:hover .mira-sub-banner-arrow {
  transform: translateX(3px);
  color: #fff;
}

/* ===== MIRA MATCHES WIDGET ===== */
.mira-matches-section {
  display: block !important;
  margin: 8px 16px 24px !important;
  padding: 20px 12px 12px !important;
  background: #f5f9ff !important;
  border-radius: 20px !important;
  position: relative;
  width: auto !important;
  box-sizing: border-box;
  flex-shrink: 0 !important;
}
[data-theme="dark"] .mira-matches-section {
  background: rgba(37, 99, 235, 0.06) !important;
}

.mira-matches-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 16px 16px;
  position: relative;
  z-index: 1;
}
.mira-matches-header-left {
  flex: 1;
  min-width: 0;
}
.mira-matches-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.mira-matches-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
  animation: matches-pulse 2s ease-out infinite;
}
@keyframes matches-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}
.mira-matches-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 4px;
  line-height: 1.25;
}
[data-theme="dark"] .mira-matches-title {
  color: #f0f0f0;
}
.mira-matches-subtitle {
  font-size: 11px;
  color: #888;
  line-height: 1.5;
}
[data-theme="dark"] .mira-matches-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.mira-matches-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563eb;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(37, 99, 235, 0.1);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.mira-matches-all:hover {
  background: #2563eb;
  color: #fff;
}
[data-theme="dark"] .mira-matches-all {
  background: rgba(37, 99, 235, 0.18);
}

.mira-matches {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.mira-match-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}
[data-theme="dark"] .mira-match-card {
  background: rgba(255, 255, 255, 0.05);
}
.mira-match-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}
.mira-match-card.is-new {
  background: #eef4ff;
}
[data-theme="dark"] .mira-match-card.is-new {
  background: rgba(37, 99, 235, 0.12);
}

.mira-match-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.mira-match-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mira-match-body {
  flex: 1;
  min-width: 0;
}
.mira-match-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.mira-match-name {
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .mira-match-name {
  color: #f0f0f0;
}
.mira-match-meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}
[data-theme="dark"] .mira-match-meta {
  color: rgba(255, 255, 255, 0.55);
}
.mira-match-bio {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  font-style: italic;
}
[data-theme="dark"] .mira-match-bio {
  color: rgba(255, 255, 255, 0.45);
}

.mira-match-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.mira-match-badge.new {
  background: #2563eb;
  color: #fff;
}
.mira-match-badge.expiring {
  background: #fef2f2;
  color: #dc2626;
}
[data-theme="dark"] .mira-match-badge.expiring {
  background: rgba(220, 38, 38, 0.18);
}

.mira-match-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 100px;
  background: #ecfdf5;
  color: #16a34a;
  flex-shrink: 0;
}
.mira-match-timer.soon {
  background: #fffbeb;
  color: #d97706;
}
.mira-match-timer.urgent {
  background: #fef2f2;
  color: #dc2626;
}
[data-theme="dark"] .mira-match-timer {
  background: rgba(22, 163, 74, 0.15);
}
[data-theme="dark"] .mira-match-timer.soon {
  background: rgba(217, 119, 6, 0.15);
}
[data-theme="dark"] .mira-match-timer.urgent {
  background: rgba(220, 38, 38, 0.15);
}

.mira-matches-empty {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  align-items: center;
}
[data-theme="dark"] .mira-matches-empty {
  background: rgba(255, 255, 255, 0.04);
}
.mira-matches-empty-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef4ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .mira-matches-empty-icon {
  background: rgba(37, 99, 235, 0.12);
}
.mira-matches-empty-title {
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 2px;
}
[data-theme="dark"] .mira-matches-empty-title {
  color: #f0f0f0;
}
.mira-matches-empty-text {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}
[data-theme="dark"] .mira-matches-empty-text {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== DECK INTRO SCREEN ===== */
.deck-intro-wrap {
  padding: 0 0 100px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.deck-intro-hero {
  text-align: center;
  padding: 20px 28px 32px;
}
.deck-intro-emoji {
  font-size: 56px;
  margin-bottom: 16px;
  line-height: 1;
}
.deck-intro-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2563eb;
  background: #eef4ff;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.deck-intro-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #0a0a0a;
  line-height: 1.2;
}
[data-theme="dark"] .deck-intro-title {
  color: #f0f0f0;
}
.deck-intro-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}
[data-theme="dark"] .deck-intro-desc {
  color: rgba(255, 255, 255, 0.6);
}

.deck-intro-steps {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.deck-intro-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #f5f5f5;
  border-radius: 12px;
}
[data-theme="dark"] .deck-intro-step {
  background: rgba(255, 255, 255, 0.05);
}
.deck-intro-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.deck-intro-step-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}
.deck-intro-step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #0a0a0a;
}
[data-theme="dark"] .deck-intro-step-title {
  color: #f0f0f0;
}
.deck-intro-step-text {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
[data-theme="dark"] .deck-intro-step-text {
  color: rgba(255, 255, 255, 0.55);
}

.deck-intro-tip {
  margin: 0 24px 24px;
  padding: 16px 18px;
  background: #eef4ff;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
[data-theme="dark"] .deck-intro-tip {
  background: rgba(37, 99, 235, 0.1);
  color: rgba(255, 255, 255, 0.65);
}
.deck-intro-tip strong {
  color: #0a0a0a;
  font-weight: 600;
}
[data-theme="dark"] .deck-intro-tip strong {
  color: #f0f0f0;
}
.deck-intro-tip-icon {
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 1px;
}

.deck-intro-footer {
  padding: 16px 24px 24px;
  margin-top: auto;
}
.deck-intro-cta {
  width: 100%;
  padding: 16px 24px;
  font-size: 14px;
}
.deck-intro-note {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}
[data-theme="dark"] .deck-intro-note {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== PACKS INFO BOX ===== */
.mira-packs-info {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 4px 24px 24px;
  padding: 20px;
  background: #eef4ff;
  border-radius: 16px;
}
[data-theme="dark"] .mira-packs-info {
  background: rgba(37, 99, 235, 0.1);
}
.mira-packs-info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}
[data-theme="dark"] .mira-packs-info-icon {
  background: rgba(37, 99, 235, 0.15);
}
.mira-packs-info-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .mira-packs-info-title {
  color: #f0f0f0;
}
.mira-packs-info-text {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}
[data-theme="dark"] .mira-packs-info-text {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== SEO SECTION HIDE ===== */
.seo-landing {
  display: none;
}
