/* ==========================================================================
   Pasaport Yolcusu V1.0 — Koyu Modern Mobil Oyun Arayüzü
   ========================================================================== */
:root {
  --bg: #070D1A;
  --bg-2: #0F172A;
  --card: #121C31;
  --card-2: #182540;
  --border: rgba(148, 163, 184, 0.16);
  --border-hi: rgba(245, 158, 11, 0.45);
  --ink: #F8FAFC;
  --ink-2: #CBD5E1;
  --muted: #94A3B8;
  --gold: #F59E0B;
  --gold-2: #FBBF24;
  --emerald: #10B981;
  --cyan: #38BDF8;
  --purple: #A855F7;
  --rose: #F43F5E;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  background: radial-gradient(circle at top center, #111D38 0%, #070D1A 60%);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.noscroll { overflow: hidden; }
button, input { font-family: inherit; }

/* ==================== Start Screen ==================== */
.start {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 55%),
              linear-gradient(180deg, #070D1A 0%, #101B33 100%);
}

.start-card {
  width: 100%;
  max-width: 450px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.start-hero { position: relative; height: 220px; background: #070D1A; overflow: hidden; }
.start-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.start-hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 26, 0.1) 0%, rgba(18, 28, 49, 0.96) 100%); }
.start-hero-title { position: absolute; left: 20px; right: 20px; bottom: 14px; }
.start-kicker { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; color: var(--gold-2); margin-bottom: 2px; }
.start-hero-title h1 { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF; line-height: 1.1; }

.start-inner { padding: 14px 20px 22px; display: flex; flex-direction: column; gap: 13px; }
.start-sub { font-size: 0.9rem; color: var(--ink-2); }
.start-sub strong { color: var(--gold-2); }

.start-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.start-pills span {
  font-size: 0.74rem; font-weight: 700; color: var(--ink-2);
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
}

.field { display: flex; flex-direction: column; gap: 5px; }
.field span { font-size: 0.74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.field input, .searchbar input {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: rgba(7, 13, 26, 0.65);
  color: var(--ink); font-size: 0.94rem; outline: none;
}
.field input:focus, .searchbar input:focus { border-color: var(--gold); background: #070D1A; }

/* ==================== Top Game HUD ==================== */
.hud {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 17, 34, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px 9px;
  display: flex; flex-direction: column; gap: 8px;
}

.hud-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hud-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hud-id { min-width: 0; }
.hud-right { text-align: right; flex-shrink: 0; }

.hud-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); box-shadow: 0 0 12px rgba(245, 158, 11, 0.35); flex-shrink: 0;
}

.hud-name { font-size: 0.98rem; font-weight: 800; color: #FFFFFF; display: flex; align-items: center; gap: 6px; }
.age-tag { font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(56, 189, 248, 0.16); color: var(--cyan); }
.hud-money-row { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.hud-money { font-size: 1.05rem; font-weight: 800; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.hud-sub { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sfx-btn {
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF; font-size: 0.78rem; cursor: pointer;
}

.hud-vitals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vstat {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  border-radius: 9px; padding: 4px 7px; font-size: 0.7rem;
}
.vstat b { font-variant-numeric: tabular-nums; font-size: 0.72rem; color: var(--ink); }
.vbar { flex: 1; height: 5px; background: rgba(255, 255, 255, 0.09); border-radius: 999px; overflow: hidden; }
.vbar i { display: block; height: 100%; border-radius: 999px; transition: width 260ms ease; }
.vp-en .vbar i { background: var(--gold-2); }
.vp-md .vbar i { background: var(--cyan); }
.vp-hl .vbar i { background: var(--emerald); }
.vp-vs .vbar i { background: var(--purple); }
.vp-low { border-color: rgba(244, 63, 94, 0.55); background: rgba(244, 63, 94, 0.1); }
.vp-low .vbar i { background: var(--rose); }

/* ==================== Main & Bottom Nav ==================== */
.main {
  max-width: 680px; margin: 0 auto;
  padding: 12px 13px calc(88px + var(--safe-b));
  display: flex; flex-direction: column; gap: 12px;
}

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(10, 17, 34, 0.96); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + var(--safe-b));
}

.nav-item {
  border: none; background: transparent; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 5px 2px; border-radius: 11px; cursor: pointer;
}
.nav-item span { font-size: 1.2rem; line-height: 1.1; }
.nav-item small { font-size: 0.67rem; font-weight: 700; }
.nav-item.active { color: var(--gold-2); background: rgba(245, 158, 11, 0.12); }

/* ==================== Cards, Buttons, Bars ==================== */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-head h3 { font-size: 0.96rem; font-weight: 800; color: #FFFFFF; }
.fine { font-size: 0.79rem; color: var(--muted); line-height: 1.42; }
.fine.warn { color: #FB7185; font-weight: 600; }
.fine-paper { font-size: 0.8rem; color: #5C4D34; }
.center { text-align: center; align-self: center; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row > .btn { flex: 1; }
.btn-icon { flex: 0 0 46px !important; padding: 0 !important; font-size: 1.15rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 10px 15px; border-radius: 12px;
  border: 1.5px solid transparent; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: transform 110ms ease, filter 140ms ease, opacity 140ms ease;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.42; cursor: not-allowed; }
.btn-gold { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); color: #090D16; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28); }
.btn-gold:hover:not(:disabled) { filter: brightness(1.08); }
.btn-green { background: linear-gradient(135deg, #10B981 0%, #059669 100%); color: #FFFFFF; }
.btn-rose { background: rgba(244, 63, 94, 0.16); color: #FDA4AF; border-color: rgba(244, 63, 94, 0.35); }
.btn-primary { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); color: #090D16; }
.btn-outline { background: rgba(255, 255, 255, 0.05); color: var(--ink); border-color: var(--border); }
.btn-outline:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.09); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 0.8rem; border-radius: 10px; }
.btn-xs { min-height: 30px; padding: 5px 10px; font-size: 0.74rem; border-radius: 8px; }

.bar { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%); border-radius: 999px; transition: width 260ms ease; }
.bar-good i { background: var(--emerald); }
.bar-mid i { background: var(--gold); }
.bar-bad i { background: var(--rose); }

.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 0.71rem; font-weight: 700; background: rgba(255, 255, 255, 0.08); color: var(--ink-2); }
.chip-ok { background: rgba(16, 185, 129, 0.16); color: #6EE7B7; border: 1px solid rgba(16, 185, 129, 0.35); }
.chip-warn { background: rgba(245, 158, 11, 0.16); color: #FDE68A; border: 1px solid rgba(245, 158, 11, 0.35); }

.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 0.69rem; font-weight: 700; white-space: nowrap; }
.mode-home { background: rgba(148, 163, 184, 0.2); color: #E2E8F0; }
.mode-free { background: rgba(16, 185, 129, 0.16); color: #6EE7B7; border: 1px solid rgba(16, 185, 129, 0.35); }
.mode-green { background: rgba(16, 185, 129, 0.25); color: #A7F3D0; border: 1px solid #10B981; }
.mode-voa { background: rgba(245, 158, 11, 0.16); color: #FDE68A; border: 1px solid rgba(245, 158, 11, 0.35); }
.mode-visa { background: rgba(56, 189, 248, 0.16); color: #7DD3FC; border: 1px solid rgba(56, 189, 248, 0.35); }
.mode-pending { background: rgba(168, 85, 247, 0.18); color: #D8B4FE; border: 1px solid rgba(168, 85, 247, 0.35); }
.mode-need { background: rgba(244, 63, 94, 0.16); color: #FDA4AF; border: 1px solid rgba(244, 63, 94, 0.35); }

.good { color: #34D399; }
.mid { color: #FBBF24; }
.bad { color: #FB7185; }
.up { color: #34D399; font-style: normal; }
.dn { color: #FB7185; font-style: normal; }

/* ==================== Life Scene, Goal, Ticker & 6-Tile Mobile App Grid ==================== */
.life-scene { position: relative; height: 184px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.life-scene-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.life-scene-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 26, 0.32) 0%, rgba(7, 13, 26, 0.1) 42%, rgba(7, 13, 26, 0.9) 100%); }
.life-scene-top { position: absolute; top: 10px; left: 11px; right: 11px; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.scene-pill { padding: 4px 10px; border-radius: 999px; background: rgba(7, 13, 26, 0.72); backdrop-filter: blur(8px); color: #FFFFFF; font-size: 0.72rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.16); }
.scene-pill.pill-gold { background: rgba(217, 119, 6, 0.85); color: #FFFBEB; }
.scene-pill.pill-green { background: rgba(5, 150, 105, 0.88); color: #ECFDF5; }

.life-scene-bottom { position: absolute; left: 13px; right: 13px; bottom: 11px; display: flex; align-items: center; gap: 11px; }
.life-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--gold-2); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); flex-shrink: 0; }
.life-scene-meta b { display: block; font-size: 1rem; color: #FFFFFF; line-height: 1.2; }
.life-scene-meta small { font-size: 0.77rem; color: rgba(248, 250, 252, 0.84); }

.card.goal {
  flex-direction: row; align-items: flex-start; gap: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(18, 28, 49, 0.95) 65%);
  border-color: var(--border-hi);
}
.goal-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(245, 158, 11, 0.18); border: 1px solid var(--border-hi); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.goal-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.goal-body small { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; color: var(--gold-2); }
.goal-body h3 { font-size: 0.98rem; color: #FFFFFF; }
.goal-body p { font-size: 0.82rem; color: var(--ink-2); }

.ticker-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tick-item {
  border: 1px solid var(--border); background: rgba(7, 13, 26, 0.55); border-radius: 10px;
  padding: 6px 8px; display: flex; align-items: center; justify-content: space-between; gap: 4px;
  color: var(--ink-2); font-size: 0.72rem; cursor: pointer;
}
.tick-item b { color: #FFFFFF; font-variant-numeric: tabular-nums; }

.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.app-tile {
  position: relative; text-align: left; cursor: pointer;
  padding: 13px 12px; border-radius: 16px;
  border: 1px solid var(--border); background: var(--card);
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: var(--shadow); transition: transform 120ms ease, border-color 150ms ease;
}
.app-tile:active { transform: scale(0.97); }
.app-tile:hover { border-color: rgba(255, 255, 255, 0.3); }
.at-ico { font-size: 1.55rem; line-height: 1.1; margin-bottom: 3px; }
.app-tile b { font-size: 0.9rem; color: #FFFFFF; }
.app-tile small { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-badge { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 0.66rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--rose); color: #FFFFFF; }

.tile-blue { background: linear-gradient(145deg, rgba(56, 189, 248, 0.14), var(--card) 70%); }
.tile-pink { background: linear-gradient(145deg, rgba(236, 72, 153, 0.14), var(--card) 70%); }
.tile-emerald { background: linear-gradient(145deg, rgba(16, 185, 129, 0.14), var(--card) 70%); }
.tile-amber { background: linear-gradient(145deg, rgba(245, 158, 11, 0.14), var(--card) 70%); }
.tile-rose { background: linear-gradient(145deg, rgba(244, 63, 94, 0.14), var(--card) 70%); }
.tile-slate { background: linear-gradient(145deg, rgba(148, 163, 184, 0.12), var(--card) 70%); }

/* ==================== World Map (Dark Neon Ocean) ==================== */
.zoom { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--bg-2); }
.zoom button { border: none; background: transparent; color: var(--muted); font-size: 0.74rem; font-weight: 700; padding: 5px 9px; cursor: pointer; }
.zoom button.active { background: var(--gold); color: #090D16; }

.mapwrap {
  width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  border-radius: 13px; border: 1px solid var(--border); background: #081426; cursor: grab;
}
.mapwrap:active { cursor: grabbing; }
.worldmap { display: block; height: auto; user-select: none; }
.ocean { fill: #081426; }
.mc { stroke: #0B192E; stroke-width: 0.65; vector-effect: non-scaling-stroke; cursor: pointer; transition: filter 140ms ease; }
.mc:hover { filter: brightness(1.22); }
.st-home { fill: #38BDF8; }
.st-visited { fill: #F59E0B; }
.st-free { fill: #10B981; }
.st-green { fill: #34D399; }
.st-voa { fill: #EAB308; }
.st-visa { fill: #60A5FA; }
.st-pending { fill: #A855F7; }
.st-need { fill: #334155; }
.map-route-arc { fill: none; stroke: #FBBF24; stroke-width: 1.3; stroke-dasharray: 4 3; opacity: 0.72; pointer-events: none; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 11px; font-size: 0.72rem; color: var(--ink-2); justify-content: center; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg.st-visited { background: #F59E0B; }
.lg.st-free { background: #10B981; }
.lg.st-green { background: #34D399; }
.lg.st-voa { background: #EAB308; }
.lg.st-visa { background: #60A5FA; }
.lg.st-pending { background: #A855F7; }
.lg.st-need { background: #334155; }

/* ==================== Travel List & Pills ==================== */
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills.scroll-x { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.pills.scroll-x::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--card); color: var(--ink-2);
  font-size: 0.78rem; font-weight: 700; cursor: pointer;
}
.pill-sm { padding: 5px 10px; font-size: 0.74rem; }
.pill.active { background: var(--gold); color: #090D16; border-color: var(--gold); }
.pill:disabled { opacity: 0.38; cursor: not-allowed; }

.clist { display: flex; flex-direction: column; gap: 8px; }
.crow {
  width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 12px;
  border-radius: 13px; border: 1px solid var(--border); background: var(--card);
  text-align: left; cursor: pointer;
}
.crow:hover { border-color: var(--border-hi); }
.crow-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.crow-body b { font-size: 0.92rem; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow-body small { font-size: 0.74rem; color: var(--muted); }
.crow-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.crow-right small { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.flag { width: 34px; height: 25px; object-fit: cover; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.16); flex-shrink: 0; }
.flag-lg { width: 48px; height: 36px; border-radius: 6px; }
.flag-emoji { font-size: 1.45rem; }

/* ==================== Finance, Bank & FX ==================== */
.bank-hero {
  background: linear-gradient(135deg, #162447 0%, #0D182F 100%);
  border-color: rgba(56, 189, 248, 0.3);
}
.bh-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; color: var(--cyan); }
.bh-val { font-size: 1.75rem; font-weight: 800; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid2 > div, .grid3 > div { background: rgba(7, 13, 26, 0.55); border: 1px solid var(--border); border-radius: 10px; padding: 8px; text-align: center; }
.grid2 small, .grid3 small { display: block; font-size: 0.68rem; color: var(--muted); }
.grid2 b, .grid3 b { font-size: 0.86rem; color: #FFFFFF; font-variant-numeric: tabular-nums; }

.fx-list { display: flex; flex-direction: column; gap: 10px; }
.fx-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px; border-radius: 13px; background: rgba(7, 13, 26, 0.55); border: 1px solid var(--border);
}
.fx-left { display: flex; align-items: center; gap: 9px; }
.fx-ico { font-size: 1.4rem; }
.fx-left b { display: block; font-size: 0.88rem; color: #FFFFFF; }
.fx-left small { font-size: 0.76rem; color: var(--ink-2); }
.spark { width: 74px; height: 26px; flex-shrink: 0; }
.fx-actions { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid var(--border); }
.fx-held { font-size: 0.74rem; color: var(--gold-2); font-weight: 700; }
.fx-btns { display: flex; gap: 5px; }

/* ==================== 4-Page Flip-Book Passport ==================== */
.passport-book {
  background: linear-gradient(145deg, #741D2D 0%, #440D19 100%);
  color: #F6DFB0; border-radius: 20px; padding: 22px 18px 18px;
  text-align: center; border: 2px solid rgba(246, 223, 176, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.passport-book.book-green {
  background: linear-gradient(145deg, #0D5C46 0%, #063529 100%);
  border-color: rgba(167, 243, 208, 0.45);
}
.pb-top { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; opacity: 0.85; }
.pb-id-row { display: flex; align-items: center; gap: 14px; text-align: left; }
.pb-photo { width: 66px; height: 66px; border-radius: 13px; object-fit: cover; border: 2px solid rgba(246, 223, 176, 0.75); }
.pb-title { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.18em; }
.pb-name { font-size: 0.94rem; font-weight: 700; color: #FFFFFF; }
.pb-rank { font-size: 0.72rem; color: #FDE68A; }
.pb-status { font-size: 0.75rem; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); color: #FDE68A; }
.pb-flip { color: #F6DFB0; border: 1px solid rgba(246, 223, 176, 0.35); margin-top: 2px; }

.green-card { border-color: rgba(16, 185, 129, 0.45); background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), var(--card) 70%); }

/* Authentic Cream Passport Pages inside Dark UI */
.passport-paper {
  background: radial-gradient(circle at 20% 20%, rgba(180, 83, 9, 0.05), transparent 50%),
              repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(15, 23, 42, 0.04) 24px),
              #FCF8EE;
  color: #0F172A; border: 2px solid #D9CEB2; border-radius: 18px;
  padding: 15px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.paper-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px dashed #CBBF9F; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: #7C5C2E; }

.id-page-grid { display: flex; gap: 13px; align-items: center; }
.id-page-photo { width: 88px; height: 108px; border-radius: 10px; object-fit: cover; border: 2px solid #CBBF9F; flex-shrink: 0; }
.id-page-fields { flex: 1; display: grid; grid-template-columns: 1fr; gap: 5px; }
.id-page-fields small { display: block; font-size: 0.6rem; font-weight: 800; color: #64748B; letter-spacing: 0.06em; }
.id-page-fields b { font-size: 0.82rem; color: #0F172A; }
.vscore-ink { color: #15803D !important; }

.visa-stack { display: flex; flex-direction: column; gap: 10px; }
.visa-sticker { display: flex; border-radius: 12px; overflow: hidden; border: 1.5px solid #B7CBB2; background: linear-gradient(135deg, #F4FAF2 0%, #EDF6F9 55%, #FDF6E8 100%); color: #0F172A; }
.vs-holo { width: 11px; flex-shrink: 0; background: linear-gradient(180deg, #38BDF8, #A855F7, #F59E0B, #10B981, #38BDF8); background-size: 100% 240%; animation: holoShimmer 4s linear infinite; }
@keyframes holoShimmer { 0% { background-position: 0% 0%; } 100% { background-position: 0% 240%; } }
.vs-body { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.vs-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vs-kicker { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; color: #15803D; }
.vs-head strong { font-size: 0.88rem; color: #0F172A; }
.vs-flag { width: 32px; height: 24px; border-radius: 4px; object-fit: cover; border: 1px solid rgba(15, 23, 42, 0.18); }
.vs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 10px; }
.vs-grid small { display: block; font-size: 0.6rem; font-weight: 700; color: #64748B; }
.vs-grid b { font-size: 0.76rem; color: #0F172A; }
.vs-mrz { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.67rem; letter-spacing: 0.08em; color: #475569; padding-top: 5px; border-top: 1px solid rgba(15, 23, 42, 0.1); overflow: hidden; text-overflow: ellipsis; }
.refusal-pill-row { font-size: 0.76rem; color: #991B1B; background: #FEE2E2; border: 1px solid #FECACA; padding: 7px 10px; border-radius: 9px; font-weight: 700; }

.ink-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ink-cell { border: none; background: transparent; padding: 2px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 140ms ease; }
.ink-cell:hover { transform: scale(1.07) !important; }
.ink-stamp { position: relative; width: 104px; height: 104px; display: flex; align-items: center; justify-content: center; }
.ink-stamp.big { width: 132px; height: 132px; }
.ink-svg { width: 100%; height: 100%; display: block; }
.ink-flag { position: absolute; top: 7px; right: 7px; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; border: 1px solid #FFFFFF; }
.stamp-reveal-wrap { display: flex; justify-content: center; margin: 4px 0; }
.stamp-slam { animation: stampSlam 480ms cubic-bezier(0.22, 1.35, 0.36, 1) both; }
@keyframes stampSlam {
  0% { opacity: 0; transform: scale(2.1) rotate(-18deg); }
  70% { opacity: 1; transform: scale(0.92) rotate(-3deg); }
  100% { opacity: 0.96; transform: scale(1) rotate(-5deg); }
}

/* ==================== Sheets, Dossier, Flights & Dilemmas ==================== */
.overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(3, 7, 18, 0.74); backdrop-filter: blur(5px);
  display: flex; align-items: flex-end; justify-content: center; padding: 12px 10px 0;
}
.overlay.end { align-items: center; padding: 20px; }
.sheet {
  width: 100%; max-width: 540px; max-height: 88dvh;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
}
.overlay.end .sheet { border-radius: 22px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sheet-head h3 { font-size: 1rem; font-weight: 800; color: #FFFFFF; }
.x { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.06); color: #FFFFFF; cursor: pointer; }
.sheet-body { padding: 14px 16px calc(20px + var(--safe-b)); overflow-y: auto; display: flex; flex-direction: column; gap: 11px; }
.sheet-body h4 { font-size: 0.78rem; font-weight: 800; color: var(--gold-2); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }

.scene-banner { position: relative; height: 132px; border-radius: 14px; overflow: hidden; background: var(--bg); }
.scene-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-tag { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(7, 13, 26, 0.82); color: #FFFFFF; font-size: 0.74rem; font-weight: 700; }
.scene-tag.tag-good { background: rgba(16, 185, 129, 0.92); }
.scene-tag.tag-bad { background: rgba(244, 63, 94, 0.92); }

.postcard { position: relative; height: 148px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #1E293B, #B45309); }
.postcard > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.postcard-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 26, 0.05) 20%, rgba(7, 13, 26, 0.88) 100%); }
.postcard-info { position: absolute; left: 13px; right: 13px; bottom: 11px; display: flex; align-items: center; gap: 11px; }
.postcard-info b { display: block; font-size: 1.15rem; color: #FFFFFF; line-height: 1.15; }
.postcard-info small { font-size: 0.78rem; color: rgba(248, 250, 252, 0.86); }

.jobrow { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 13px; border: 1px solid var(--border); background: rgba(7, 13, 26, 0.55); }
.jobrow.locked { opacity: 0.62; }
.job-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--card-2); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.jb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jb b { font-size: 0.9rem; color: #FFFFFF; }
.jb small { font-size: 0.73rem; color: var(--muted); }
.track-tag { color: var(--cyan) !important; font-weight: 700; }
.jr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; max-width: 44%; text-align: right; }
.jr .chip-warn { white-space: normal; text-align: right; }
.jr b { font-size: 0.88rem; color: var(--gold-2); }
.jr small { font-size: 0.68rem; color: var(--muted); }

.visabox { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; font-size: 0.83rem; }
.vinfo, .quote { background: rgba(7, 13, 26, 0.58); border: 1px solid var(--border); border-radius: 13px; padding: 11px 12px; display: flex; flex-direction: column; gap: 7px; font-size: 0.84rem; }
.vrow, .quote > div { display: flex; justify-content: space-between; gap: 10px; }
.quote .qt { padding-top: 7px; border-top: 1px solid var(--border); font-size: 0.94rem; color: #FFFFFF; }
.quote .qb { font-size: 0.78rem; color: var(--muted); }
.vinfo details summary { cursor: pointer; font-size: 0.76rem; font-weight: 700; color: var(--cyan); }
.factors { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-top: 7px; font-size: 0.76rem; }
.factors li { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); }

/* Dossier Checklist & Appointment Slots */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot-btn {
  padding: 9px 6px; border-radius: 11px; border: 1.5px solid var(--border);
  background: rgba(7, 13, 26, 0.55); color: var(--ink); text-align: center; cursor: pointer;
}
.slot-btn b { display: block; font-size: 0.74rem; }
.slot-btn small { font-size: 0.68rem; color: var(--muted); }
.slot-btn.active { border-color: var(--gold); background: rgba(245, 158, 11, 0.16); }

.doc-list { display: flex; flex-direction: column; gap: 7px; }
.doc-item {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 11px;
  border-radius: 12px; border: 1.5px solid var(--border); background: rgba(7, 13, 26, 0.5);
  color: var(--ink); text-align: left; cursor: pointer;
}
.doc-item.on { border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.1); }
.doc-check { font-size: 1.1rem; flex-shrink: 0; }
.doc-body { flex: 1; min-width: 0; }
.doc-body b { display: block; font-size: 0.83rem; }
.doc-body small { font-size: 0.71rem; color: var(--muted); }
.doc-fee { font-size: 0.76rem; font-weight: 800; color: var(--gold-2); flex-shrink: 0; }

/* Flight Map, Boarding Pass, Dilemma & Envelope */
.flight-map-box { width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #0B192C; }
.flight-svg { width: 100%; height: 156px; display: block; }
.fm-land { fill: #263449; stroke: #0B192C; stroke-width: 0.5; }
.fm-home { fill: #38BDF8; stroke: #FFFFFF; stroke-width: 0.8; }
.fm-dest { fill: #F59E0B; stroke: #FDE68A; stroke-width: 1; }
.fm-arc-bg { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 2; stroke-dasharray: 4 4; }
.fm-arc-anim { fill: none; stroke: #FBBF24; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: drawArc 1.8s ease-out forwards; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }
.fm-route-pill { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; background: rgba(7, 13, 26, 0.92); color: #FFFFFF; font-size: 0.76rem; font-weight: 700; }
.fm-dots { color: var(--gold-2); }

.dilemma-card {
  width: 100%; background: rgba(7, 13, 26, 0.7); border: 1px solid var(--border-hi);
  border-radius: 15px; padding: 15px; display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.dilemma-card p { font-size: 0.88rem; color: var(--ink-2); }
.dilemma-btns { display: flex; flex-direction: column; gap: 8px; }

.bpass { width: 100%; background: #FCF8EE; color: #0F172A; border-radius: 14px; overflow: hidden; text-align: left; }
.bp-top { background: #0F172A; color: #FDE68A; padding: 7px 12px; display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; }
.bp-route { padding: 11px 14px 9px; display: flex; align-items: center; justify-content: space-between; }
.bp-route b { display: block; font-size: 1.35rem; color: #0F172A; line-height: 1.05; }
.bp-route small { font-size: 0.73rem; color: #64748B; }
.bp-right { text-align: right; }
.bp-plane { font-size: 0.86rem; font-weight: 800; color: #B45309; }
.bp-perf { border-top: 2px dashed #D7CCAE; margin: 0 10px; }
.bp-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 9px 12px 11px; }
.bp-meta small { display: block; font-size: 0.6rem; font-weight: 700; color: #64748B; }
.bp-meta b { font-size: 0.78rem; color: #0F172A; overflow-wrap: anywhere; }

.embassy-stage { display: flex; flex-direction: column; gap: 13px; text-align: center; }
.envelope-btn {
  position: relative; width: 100%; padding: 32px 16px 20px; border-radius: 16px;
  border: 2px solid #D9C9A3; background: linear-gradient(180deg, #FDF8EB 0%, #EFE2C4 100%);
  cursor: pointer; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.env-flap { position: absolute; top: 0; left: 0; right: 0; height: 50px; background: #E4D4AE; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.env-wax { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #EF4444, #991B1B); border: 3px solid #FDE68A; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; animation: waxPulse 1.8s ease-in-out infinite; }
@keyframes waxPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.env-label b { display: block; font-size: 0.98rem; color: #0F172A; }
.env-label small { font-size: 0.78rem; color: #B45309; font-weight: 700; }
.env-msg { font-size: 0.85rem; color: var(--ink-2); }
.refusal-letter { background: #FFFBF8; color: #0F172A; border: 2px solid #FCA5A5; border-radius: 14px; padding: 18px 15px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.refusal-stamp { border: 3px solid #B91C1C; color: #B91C1C; font-weight: 900; font-size: 1.15rem; letter-spacing: 0.16em; padding: 4px 16px; border-radius: 8px; }
.refusal-letter p { font-size: 0.82rem; color: #475569; }

.result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.result .event { background: rgba(245, 158, 11, 0.12); border: 1px solid var(--border-hi); border-radius: 11px; padding: 10px 12px; font-size: 0.85rem; color: #FDE68A; width: 100%; }

.plain { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.plain li, .plain-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.84rem; padding: 8px 10px; border-radius: 10px; background: rgba(7, 13, 26, 0.55); border: 1px solid var(--border); }

.log { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.log li { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 10px; background: rgba(7, 13, 26, 0.55); border-left: 3px solid var(--border); font-size: 0.83rem; }
.log li small { font-size: 0.68rem; color: var(--muted); }
.log li.lg-good, .log li.lg-win { border-left-color: var(--emerald); }
.log li.lg-bad { border-left-color: var(--rose); }
.log li.lg-warn { border-left-color: var(--gold); }
.log li.lg-trip { border-left-color: var(--cyan); }
.log li.lg-skill { border-left-color: var(--purple); }

/* ==================== Toast & Floating Deltas ==================== */
.toast {
  position: fixed; left: 50%; bottom: calc(78px + var(--safe-b));
  transform: translate(-50%, 16px); z-index: 120;
  background: #1E293B; color: #FFFFFF; border: 1px solid var(--border-hi);
  padding: 10px 16px; border-radius: 12px; font-size: 0.84rem; font-weight: 700;
  box-shadow: var(--shadow-lg); max-width: min(92vw, 440px); text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.float-delta {
  position: fixed; top: 96px; right: 16px; z-index: 130;
  padding: 5px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 800;
  box-shadow: var(--shadow); pointer-events: none; animation: floatUp 1.3s ease-out forwards;
}
.float-delta.fl-good { background: var(--emerald); color: #052E16; }
.float-delta.fl-bad { background: var(--rose); color: #FFFFFF; }
.float-delta.fl-skill { background: var(--purple); color: #FFFFFF; }
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(10px) scale(0.92); }
  18% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-32px); }
}

@media (min-width: 640px) {
  .overlay { align-items: center; padding: 20px; }
  .sheet { border-radius: 22px; }
}

/* ==================== Start Screen Theme Pill ==================== */
.theme-fab {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 13, 26, 0.68);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==================== LIGHT THEME (Aydınlık Mod) ==================== */
html[data-theme="light"] {
  --bg: #F6F3EB;
  --bg-2: #ECE7DA;
  --card: #FFFFFF;
  --card-2: #F4F0E6;
  --border: #E2DCCB;
  --border-hi: rgba(180, 83, 9, 0.45);
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --gold: #B45309;
  --gold-2: #D97706;
  --emerald: #15803D;
  --cyan: #0369A1;
  --purple: #7C3AED;
  --rose: #BE123C;
  --shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] body {
  background: radial-gradient(circle at top center, #FFFDF8 0%, #F4EFE3 65%);
  color: var(--ink);
}

html[data-theme="light"] .start {
  background: radial-gradient(circle at top right, rgba(217, 119, 6, 0.16), transparent 55%),
              linear-gradient(180deg, #EFE9DB 0%, #FAF8F2 100%);
}

html[data-theme="light"] .start-hero-fade {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.76) 100%);
}

html[data-theme="light"] .start-sub strong { color: #B45309; }
html[data-theme="light"] .start-pills span { background: #F5F1E6; color: #334155; border-color: #E2DCCB; }

html[data-theme="light"] .field input,
html[data-theme="light"] .searchbar input {
  background: #FAF8F3;
  color: #0F172A;
  border-color: #DBD4C2;
}
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .searchbar input:focus {
  background: #FFFFFF;
  border-color: #B45309;
}

/* HUD & Bottom Nav */
html[data-theme="light"] .hud {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #E2DCCB;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
html[data-theme="light"] .hud-name { color: #0F172A; }
html[data-theme="light"] .hud-money { color: #B45309; }
html[data-theme="light"] .age-tag { background: rgba(3, 105, 161, 0.12); color: #0369A1; }
html[data-theme="light"] .sfx-btn { background: #F4F0E6; border-color: #DBD4C2; color: #0F172A; }
html[data-theme="light"] .vstat { background: #F8F5EE; border-color: #E5DFCF; }
html[data-theme="light"] .vbar { background: #E4DEC9; }
html[data-theme="light"] .vp-low { background: #FFF1F2; border-color: #FECDD3; }

html[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: #E2DCCB;
}
html[data-theme="light"] .nav-item.active {
  color: #B45309;
  background: rgba(180, 83, 9, 0.1);
}

/* Cards, Headings & Buttons */
html[data-theme="light"] .card-head h3,
html[data-theme="light"] .goal-body h3,
html[data-theme="light"] .crow-body b,
html[data-theme="light"] .jb b,
html[data-theme="light"] .fx-left b,
html[data-theme="light"] .sheet-head h3,
html[data-theme="light"] .quote .qt,
html[data-theme="light"] .app-tile b { color: #0F172A; }

html[data-theme="light"] .btn-gold,
html[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
}
html[data-theme="light"] .btn-outline {
  background: #FAF8F3;
  color: #0F172A;
  border-color: #D9D2C0;
}
html[data-theme="light"] .btn-outline:hover:not(:disabled) {
  background: #FFFFFF;
  border-color: #0F172A;
}
html[data-theme="light"] .btn-rose {
  background: #FFF1F2;
  color: #BE123C;
  border-color: #FECDD3;
}
html[data-theme="light"] .bar { background: #E9E4D7; }
html[data-theme="light"] .chip { background: #F1ECE0; color: #334155; }
html[data-theme="light"] .chip-ok { background: #F0FDF4; color: #15803D; border-color: #BBF7D0; }
html[data-theme="light"] .chip-warn { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }

/* Badges */
html[data-theme="light"] .mode-home { background: #E2E8F0; color: #334155; }
html[data-theme="light"] .mode-free { background: #F0FDF4; color: #15803D; border-color: #BBF7D0; }
html[data-theme="light"] .mode-green { background: #DCFCE7; color: #166534; border-color: #4ADE80; }
html[data-theme="light"] .mode-voa { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
html[data-theme="light"] .mode-visa { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
html[data-theme="light"] .mode-pending { background: #F5F3FF; color: #6D28D9; border-color: #DDD6FE; }
html[data-theme="light"] .mode-need { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
html[data-theme="light"] .good, html[data-theme="light"] .up { color: #15803D; }
html[data-theme="light"] .mid { color: #B45309; }
html[data-theme="light"] .bad, html[data-theme="light"] .dn, html[data-theme="light"] .fine.warn { color: #B91C1C; }

/* Goal, Ticker & 6-Tile Mobile App Grid */
html[data-theme="light"] .card.goal {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF3D6 100%);
  border-color: #F1CF84;
}
html[data-theme="light"] .goal-icon { background: #FFFFFF; border-color: #F1CF84; }
html[data-theme="light"] .goal-body small { color: #B45309; }
html[data-theme="light"] .tick-item { background: #FAF8F3; border-color: #E2DCCB; color: #475569; }
html[data-theme="light"] .tick-item b { color: #0F172A; }

html[data-theme="light"] .tile-blue { background: linear-gradient(145deg, #EFF6FF, #FFFFFF 75%); border-color: #DBEAFE; }
html[data-theme="light"] .tile-pink { background: linear-gradient(145deg, #FDF2F8, #FFFFFF 75%); border-color: #FCE7F3; }
html[data-theme="light"] .tile-emerald { background: linear-gradient(145deg, #ECFDF5, #FFFFFF 75%); border-color: #D1FAE5; }
html[data-theme="light"] .tile-amber { background: linear-gradient(145deg, #FFFBEB, #FFFFFF 75%); border-color: #FEF3C7; }
html[data-theme="light"] .tile-rose { background: linear-gradient(145deg, #FFF1F2, #FFFFFF 75%); border-color: #FFE4E6; }
html[data-theme="light"] .tile-slate { background: linear-gradient(145deg, #F8FAFC, #FFFFFF 75%); border-color: #E2E8F0; }

/* World Map in Light Mode */
html[data-theme="light"] .mapwrap,
html[data-theme="light"] .ocean { background: #D8E8F4; fill: #D8E8F4; }
html[data-theme="light"] .mc { stroke: #FFFFFF; }
html[data-theme="light"] .st-home { fill: #0F172A; }
html[data-theme="light"] .st-need { fill: #D6D1C4; }
html[data-theme="light"] .lg.st-need { background: #D6D1C4; }
html[data-theme="light"] .zoom button.active { background: #0F172A; color: #FFFFFF; }
html[data-theme="light"] .pill.active { background: #0F172A; color: #FFFFFF; border-color: #0F172A; }

/* Finance, Sheets, Dossier & Lists */
html[data-theme="light"] .grid2 > div,
html[data-theme="light"] .grid3 > div { background: #FAF8F3; border-color: #E2DCCB; }
html[data-theme="light"] .grid2 b,
html[data-theme="light"] .grid3 b { color: #0F172A; }
html[data-theme="light"] .bank-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-color: #334155;
}
html[data-theme="light"] .bank-hero .bh-top { color: #7DD3FC; }
html[data-theme="light"] .bank-hero .chip { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
html[data-theme="light"] .bank-hero .grid2 > div,
html[data-theme="light"] .bank-hero .grid3 > div { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); }
html[data-theme="light"] .bank-hero .grid2 b,
html[data-theme="light"] .bank-hero .grid3 b { color: #FFFFFF; }
html[data-theme="light"] .bank-hero .grid2 small,
html[data-theme="light"] .bank-hero .grid3 small { color: rgba(248, 250, 252, 0.72); }

html[data-theme="light"] .fx-row,
html[data-theme="light"] .jobrow,
html[data-theme="light"] .vinfo,
html[data-theme="light"] .quote,
html[data-theme="light"] .slot-btn,
html[data-theme="light"] .doc-item,
html[data-theme="light"] .plain li,
html[data-theme="light"] .plain-row,
html[data-theme="light"] .dilemma-card {
  background: #FAF8F3;
  border-color: #E2DCCB;
}
html[data-theme="light"] .log li { background: #FAF8F3; }
html[data-theme="light"] .btn-gold:disabled,
html[data-theme="light"] .btn-primary:disabled { background: #E4DEC9; color: #64748B; opacity: 1; }
html[data-theme="light"] .float-delta.fl-good { color: #FFFFFF; }
html[data-theme="light"] .flag { border-color: rgba(15, 23, 42, 0.16); }
html[data-theme="light"] .app-tile:hover { border-color: rgba(15, 23, 42, 0.28); }
html[data-theme="light"] .slot-btn.active { background: #FFFBEB; border-color: #D97706; }
html[data-theme="light"] .doc-item.on { background: #F0FDF4; border-color: #86EFAC; }
html[data-theme="light"] .doc-fee,
html[data-theme="light"] .jr b,
html[data-theme="light"] .fx-held { color: #B45309; }
html[data-theme="light"] .x { background: #F4F0E6; color: #0F172A; }
html[data-theme="light"] .sheet-body h4 { color: #B45309; }
html[data-theme="light"] .result .event { background: #FFFBEB; border-color: #FDE68A; color: #78350F; }
html[data-theme="light"] .green-card { background: linear-gradient(145deg, #ECFDF5, #FFFFFF 70%); border-color: #A7F3D0; }
html[data-theme="light"] .overlay { background: rgba(15, 23, 42, 0.5); }
html[data-theme="light"] .toast { background: #0F172A; color: #FFFFFF; }

/* ==================== V1.1: Deals, Festivals, Quests, Souvenirs & Interview ==================== */
.tile-purple { background: linear-gradient(145deg, rgba(168, 85, 247, 0.22), var(--card) 75%); border-color: rgba(168, 85, 247, 0.35); }
.at-badge-gold { background: var(--gold); color: #0B1120; }

.promo-card { padding: 12px 14px; }
.promo-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.promo-strip::-webkit-scrollbar { display: none; }
.promo-chip {
  flex: 0 0 auto; min-width: 150px; padding: 9px 11px; border-radius: 13px;
  border: 1px solid var(--border); background: rgba(7, 13, 26, 0.62);
  color: var(--ink); text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; transition: transform 120ms ease;
}
.promo-chip:hover { transform: translateY(-2px); }
.promo-deal { border-color: rgba(245, 158, 11, 0.45); background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(7, 13, 26, 0.68)); }
.promo-fest { border-color: rgba(236, 72, 153, 0.48); background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(7, 13, 26, 0.68)); }
.pc-tag { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; color: var(--gold-2); }
.promo-fest .pc-tag { color: #F472B6; }
.promo-chip b { font-size: 0.84rem; color: #FFFFFF; white-space: nowrap; }
.promo-chip small { font-size: 0.7rem; color: var(--muted); white-space: nowrap; }

.mtag { display: inline-block; font-size: 0.64rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; vertical-align: middle; margin-left: 3px; }
.mtag-deal { background: rgba(245, 158, 11, 0.22); color: var(--gold-2); border: 1px solid rgba(245, 158, 11, 0.42); }
.mtag-fest { background: rgba(236, 72, 153, 0.22); color: #F9A8D4; border: 1px solid rgba(236, 72, 153, 0.42); }
.strike { text-decoration: line-through; opacity: 0.55; margin-right: 4px; font-size: 0.78rem; }

.fest-banner {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.16));
  border: 1px solid rgba(244, 114, 182, 0.45); text-align: left; width: 100%;
}
.fest-banner > span { font-size: 1.55rem; flex-shrink: 0; }
.fest-banner b { display: block; font-size: 0.84rem; color: #FFFFFF; }
.fest-banner small { font-size: 0.73rem; color: #FBCFE8; }

.pb-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 2px; }
.pb-badge {
  width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(246, 223, 176, 0.45); font-size: 0.9rem;
}

/* Quests & Souvenirs */
.quest-list { display: flex; flex-direction: column; gap: 9px; }
.quest-card {
  padding: 12px; border-radius: 14px; border: 1px solid var(--border);
  background: rgba(7, 13, 26, 0.58); display: flex; flex-direction: column; gap: 8px;
}
.quest-card.q-ready { border-color: var(--gold); background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(7, 13, 26, 0.7)); }
.quest-card.q-done { opacity: 0.75; }
.q-top { display: flex; align-items: center; gap: 10px; }
.q-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--card-2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.q-info { flex: 1; min-width: 0; }
.q-info b { display: block; font-size: 0.88rem; color: #FFFFFF; }
.q-info small { font-size: 0.72rem; color: var(--muted); }
.q-prog { font-size: 0.76rem; font-weight: 800; color: var(--gold-2); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.q-rew { font-size: 0.73rem; font-weight: 700; color: var(--emerald); }

.souvenir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.souvenir-card {
  padding: 11px; border-radius: 13px; border: 1px solid var(--border);
  background: rgba(7, 13, 26, 0.58); color: var(--ink); text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
}
.sv-head { display: flex; align-items: center; justify-content: space-between; }
.sv-ico { font-size: 1.4rem; }
.souvenir-card b { font-size: 0.83rem; color: #FFFFFF; }
.souvenir-card small { font-size: 0.71rem; color: var(--muted); }

/* Consulate Interview */
.iv-officer {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 13px; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3);
}
.iv-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--card-2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.iv-officer b { display: block; font-size: 0.88rem; color: #FFFFFF; }
.iv-officer small { font-size: 0.74rem; color: var(--ink-2); }

.iv-quote {
  padding: 13px 14px; border-radius: 13px; background: rgba(7, 13, 26, 0.68);
  border-left: 3px solid var(--gold); font-size: 0.9rem; font-weight: 700; color: #FFFFFF;
}
.iv-choices { display: flex; flex-direction: column; gap: 8px; }
.iv-choice {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px;
  border-radius: 12px; border: 1.5px solid var(--border); background: rgba(7, 13, 26, 0.55);
  color: var(--ink); text-align: left; cursor: pointer; transition: border-color 120ms ease, background 120ms ease;
}
.iv-choice:hover { border-color: var(--gold); background: rgba(245, 158, 11, 0.12); }
.iv-choice span {
  width: 24px; height: 24px; border-radius: 7px; background: var(--card-2);
  color: var(--gold-2); font-size: 0.74rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.iv-choice p { font-size: 0.82rem; color: var(--ink); line-height: 1.38; }

.iv-feedback { padding: 9px 12px; border-radius: 11px; font-size: 0.8rem; font-weight: 700; }
.iv-good { background: rgba(16, 185, 129, 0.16); color: #6EE7B7; border: 1px solid rgba(16, 185, 129, 0.4); }
.iv-mid { background: rgba(245, 158, 11, 0.14); color: #FDE68A; border: 1px solid rgba(245, 158, 11, 0.35); }
.iv-bad { background: rgba(244, 63, 94, 0.16); color: #FDA4AF; border: 1px solid rgba(244, 63, 94, 0.4); }
.iv-summary { display: flex; flex-direction: column; gap: 10px; }
.iv-summary p { font-size: 0.86rem; color: var(--ink-2); }

/* Light Theme Overrides for V1.1 */
html[data-theme="light"] .tile-purple { background: linear-gradient(145deg, #F5F3FF, #FFFFFF 75%); border-color: #EDE9FE; }
html[data-theme="light"] .at-badge-gold { background: #D97706; color: #FFFFFF; }
html[data-theme="light"] .promo-chip { background: #FAF8F3; border-color: #E2DCCB; }
html[data-theme="light"] .promo-deal { background: linear-gradient(135deg, #FFFBEB, #FFFFFF); border-color: #FDE68A; }
html[data-theme="light"] .promo-fest { background: linear-gradient(135deg, #FDF2F8, #FFFFFF); border-color: #FBCFE8; }
html[data-theme="light"] .pc-tag { color: #B45309; }
html[data-theme="light"] .promo-fest .pc-tag { color: #BE185D; }
html[data-theme="light"] .promo-chip b,
html[data-theme="light"] .q-info b,
html[data-theme="light"] .souvenir-card b,
html[data-theme="light"] .iv-officer b,
html[data-theme="light"] .iv-quote { color: #0F172A; }
html[data-theme="light"] .mtag-deal { background: #FEF3C7; color: #B45309; border-color: #FCD34D; }
html[data-theme="light"] .mtag-fest { background: #FCE7F3; color: #BE185D; border-color: #F9A8D4; }
html[data-theme="light"] .fest-banner { background: linear-gradient(135deg, #FDF2F8, #F5F3FF); border-color: #F9A8D4; }
html[data-theme="light"] .fest-banner b { color: #831843; }
html[data-theme="light"] .fest-banner small { color: #9D174D; }
html[data-theme="light"] .quest-card,
html[data-theme="light"] .souvenir-card,
html[data-theme="light"] .iv-choice { background: #FAF8F3; border-color: #E2DCCB; }
html[data-theme="light"] .iv-quote { background: #FAF8F3; }
html[data-theme="light"] .quest-card.q-ready { background: linear-gradient(135deg, #FFFBEB, #FFFFFF); border-color: #F59E0B; }
html[data-theme="light"] .q-prog { color: #B45309; }
html[data-theme="light"] .iv-officer { background: #EFF6FF; border-color: #BFDBFE; }
html[data-theme="light"] .iv-choice:hover { background: #FFFBEB; border-color: #D97706; }
html[data-theme="light"] .iv-choice span { background: #EFE9DB; color: #B45309; }
html[data-theme="light"] .iv-good { background: #F0FDF4; color: #15803D; border-color: #86EFAC; }
html[data-theme="light"] .iv-mid { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
html[data-theme="light"] .iv-bad { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }

/* ==================== V1.2: Multi-Country Routes, Businesses & Loans ==================== */
.seg-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
  padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--border);
}
.seg-btn {
  padding: 9px 10px; border-radius: 10px; border: none; background: transparent;
  color: var(--muted); font-size: 0.8rem; font-weight: 800; cursor: pointer; transition: all 140ms ease;
}
.seg-btn.active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0B1120; }

.route-list, .biz-list, .route-stops { display: flex; flex-direction: column; gap: 9px; }
.route-card {
  width: 100%; padding: 13px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--card); color: var(--ink); text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 9px; transition: border-color 140ms ease, transform 120ms ease;
}
.route-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.rc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.rc-top b { display: block; font-size: 0.94rem; color: #FFFFFF; }
.rc-top small { font-size: 0.72rem; color: var(--muted); }
.rc-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.rc-stop {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 999px;
  background: rgba(7, 13, 26, 0.55); border: 1px solid var(--border); font-size: 0.72rem; font-weight: 700;
}
.rc-stop .flag { width: 18px; height: 13px; border-radius: 2px; }
.rc-arr { font-style: normal; color: var(--gold-2); font-weight: 800; font-size: 0.75rem; }
.rc-desc { font-size: 0.76rem; color: var(--ink-2); }
.rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 7px; border-top: 1px solid var(--border); }
.rc-price { font-size: 0.88rem; color: var(--gold-2); font-variant-numeric: tabular-nums; margin-left: auto; }

.route-hero {
  padding: 13px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(56, 189, 248, 0.1));
  border: 1px solid var(--border-hi); display: flex; flex-direction: column; gap: 7px;
}
.route-hero b { font-size: 1rem; color: #FFFFFF; }
.route-hero p { font-size: 0.8rem; color: var(--ink-2); }

.rs-item {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: 11px; background: rgba(7, 13, 26, 0.55); border: 1px solid var(--border);
}
.rs-body { flex: 1; min-width: 0; }
.rs-body b { display: block; font-size: 0.84rem; color: #FFFFFF; }
.rs-body small { font-size: 0.7rem; color: var(--muted); }

.multi-stamp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  justify-items: center; width: 100%; padding: 8px;
  border-radius: 14px; background: #FCF8EE; border: 2px solid #D9CEB2;
}
.ms-item { display: flex; align-items: center; justify-content: center; }

.loan-active-card { border-color: rgba(56, 189, 248, 0.45); background: linear-gradient(145deg, rgba(56, 189, 248, 0.12), var(--card) 70%); }

/* Light Theme Overrides for V1.2 */
html[data-theme="light"] .seg-btn.active { background: #0F172A; color: #FFFFFF; }
html[data-theme="light"] .rc-top b,
html[data-theme="light"] .route-hero b,
html[data-theme="light"] .rs-body b { color: #0F172A; }
html[data-theme="light"] .rc-stop,
html[data-theme="light"] .rs-item { background: #FAF8F3; border-color: #E2DCCB; color: #0F172A; }
html[data-theme="light"] .rc-arr,
html[data-theme="light"] .rc-price { color: #B45309; }
html[data-theme="light"] .route-hero { background: linear-gradient(135deg, #FFFBEB, #EFF6FF); border-color: #FDE68A; }
html[data-theme="light"] .loan-active-card { background: linear-gradient(145deg, #EFF6FF, #FFFFFF 70%); border-color: #BFDBFE; }

/* ==================== V1.3: Character Customization, Buddies & Hosts ==================== */
.custom-box {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px; border-radius: 14px;
  background: rgba(7, 13, 26, 0.55); border: 1px solid var(--border);
}
.cb-group { display: flex; flex-direction: column; gap: 5px; }
.cb-group > small { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; color: var(--gold-2); }
.cb-hint { font-size: 0.72rem; color: var(--muted); }
.gender-row { display: flex; align-items: center; gap: 12px; }
.gender-preview {
  width: 56px; height: 56px; border-radius: 15px; object-fit: cover;
  border: 2px solid var(--gold); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28); flex-shrink: 0;
}
.gender-btns { display: flex; gap: 8px; flex: 1; }
.gender-btns .pill { flex: 1; text-align: center; padding: 9px 10px; font-size: 0.84rem; }

.buddy-card {
  padding: 12px; border-radius: 14px; border: 1px solid var(--border);
  background: rgba(7, 13, 26, 0.58); display: flex; flex-direction: column; gap: 8px;
}
.buddy-card.b-active {
  border-color: var(--emerald);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(7, 13, 26, 0.7));
}

.host-banner {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(16, 185, 129, 0.45); text-align: left; width: 100%;
}
.host-banner > span { font-size: 1.5rem; flex-shrink: 0; }
.host-banner b { display: block; font-size: 0.84rem; color: #FFFFFF; }
.host-banner small { font-size: 0.73rem; color: #A7F3D0; }

/* Light Theme Overrides for V1.3 */
html[data-theme="light"] .custom-box,
html[data-theme="light"] .buddy-card { background: #FAF8F3; border-color: #E2DCCB; }
html[data-theme="light"] .cb-group > small { color: #B45309; }
html[data-theme="light"] .buddy-card.b-active { background: linear-gradient(135deg, #ECFDF5, #FFFFFF); border-color: #4ADE80; }
html[data-theme="light"] .host-banner { background: linear-gradient(135deg, #ECFDF5, #EFF6FF); border-color: #86EFAC; }
html[data-theme="light"] .host-banner b { color: #166534; }
html[data-theme="light"] .host-banner small { color: #15803D; }

/* ==================== V1.4: Daily Login Rewards & Spin Wheel ==================== */
.bonus-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bonus-btn {
  position: relative; display: flex; align-items: center; gap: 9px;
  padding: 11px 12px; border-radius: 15px; border: 1px solid var(--border);
  background: var(--card); color: var(--ink); text-align: left; cursor: pointer;
  transition: transform 120ms ease, border-color 140ms ease;
}
.bonus-btn:hover { transform: translateY(-1px); border-color: var(--gold); }
.bonus-btn.bb-ready { border-color: rgba(245, 158, 11, 0.6); background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), var(--card) 72%); }
.bonus-btn.bb-ready-pink { border-color: rgba(236, 72, 153, 0.6); background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), var(--card) 72%); }
.bb-ico { font-size: 1.45rem; flex-shrink: 0; }
.bb-txt { min-width: 0; }
.bb-txt b { display: block; font-size: 0.84rem; color: #FFFFFF; }
.bb-txt small { display: block; font-size: 0.69rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-dot {
  position: absolute; top: 6px; right: 7px; font-style: normal; font-size: 0.6rem; font-weight: 900;
  padding: 1px 6px; border-radius: 999px; background: var(--gold); color: #0B1120;
}
.bb-dot-pink { background: #EC4899; color: #FFFFFF; }

.daily-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.daily-day {
  padding: 10px 8px; border-radius: 13px; border: 1.5px solid var(--border);
  background: rgba(7, 13, 26, 0.58); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.daily-day.dd-mega { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(236, 72, 153, 0.14)); border-color: rgba(245, 158, 11, 0.5); }
.daily-day.dd-done { border-color: rgba(16, 185, 129, 0.45); opacity: 0.78; }
.daily-day.dd-ready { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25); background: linear-gradient(145deg, rgba(245, 158, 11, 0.22), rgba(7, 13, 26, 0.72)); }
.dd-num { font-size: 0.66rem; font-weight: 800; color: var(--gold-2); letter-spacing: 0.04em; }
.dd-ico { font-size: 1.45rem; }
.daily-day b { font-size: 0.78rem; color: #FFFFFF; }
.daily-day small { font-size: 0.66rem; color: var(--muted); line-height: 1.25; }

.wheel-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 0 4px; }
.wheel-pointer {
  position: relative; z-index: 4; margin-bottom: -14px;
  font-size: 1.55rem; color: #FBBF24; text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  line-height: 1;
}
.wheel-svg {
  width: 256px; height: 256px; max-width: 78vw;
  transition: transform 3.2s cubic-bezier(0.14, 0.92, 0.22, 1);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}
.wheel-prize-banner {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(245, 158, 11, 0.16));
  border: 1.5px solid rgba(16, 185, 129, 0.5); text-align: left;
}
.wheel-prize-banner > span { font-size: 1.65rem; flex-shrink: 0; }
.wheel-prize-banner b { display: block; font-size: 0.8rem; color: #A7F3D0; }
.wheel-prize-banner small { font-size: 0.88rem; font-weight: 800; color: #FFFFFF; }

/* Light Theme Overrides for V1.4 */
html[data-theme="light"] .bonus-btn { background: #FFFFFF; border-color: #E2DCCB; }
html[data-theme="light"] .bonus-btn.bb-ready { background: linear-gradient(135deg, #FFFBEB, #FFFFFF 75%); border-color: #F59E0B; }
html[data-theme="light"] .bonus-btn.bb-ready-pink { background: linear-gradient(135deg, #FDF2F8, #FFFFFF 75%); border-color: #EC4899; }
html[data-theme="light"] .bb-txt b,
html[data-theme="light"] .daily-day b { color: #0F172A; }
html[data-theme="light"] .bb-dot { background: #D97706; color: #FFFFFF; }
html[data-theme="light"] .daily-day { background: #FAF8F3; border-color: #E2DCCB; }
html[data-theme="light"] .daily-day.dd-mega { background: linear-gradient(135deg, #FFFBEB, #FDF2F8); border-color: #F59E0B; }
html[data-theme="light"] .daily-day.dd-ready { background: linear-gradient(145deg, #FEF3C7, #FFFFFF); border-color: #D97706; }
html[data-theme="light"] .dd-num { color: #B45309; }
html[data-theme="light"] .wheel-prize-banner { background: linear-gradient(135deg, #ECFDF5, #FFFBEB); border-color: #4ADE80; }
html[data-theme="light"] .wheel-prize-banner b { color: #15803D; }
html[data-theme="light"] .wheel-prize-banner small { color: #0F172A; }

/* ==================== V1.5: Active Abroad Trip & Visa Countdown ==================== */
.abroad-visa {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border-radius: 13px; border: 1.5px solid var(--border);
}
.abroad-visa b { display: block; font-size: 0.86rem; color: #FFFFFF; }
.abroad-visa small { font-size: 0.72rem; color: var(--ink-2); }
.av-pill {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.av-ok { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.45); }
.av-ok .av-pill { background: var(--emerald); color: #052E16; }
.av-warn { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.55); }
.av-warn .av-pill { background: var(--gold); color: #0B1120; }
.av-expired { background: rgba(244, 63, 94, 0.18); border-color: rgba(244, 63, 94, 0.65); }
.av-expired .av-pill { background: var(--rose); color: #FFFFFF; }

.abroad-renew {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border-radius: 13px;
  background: rgba(245, 158, 11, 0.14); border: 1.5px solid rgba(245, 158, 11, 0.5);
}
.abroad-renew b { display: block; font-size: 0.84rem; color: #FFFFFF; }
.abroad-renew small { font-size: 0.72rem; color: var(--ink-2); }

html[data-theme="light"] .abroad-visa b,
html[data-theme="light"] .abroad-renew b { color: #0F172A; }
html[data-theme="light"] .av-ok { background: #F0FDF4; border-color: #86EFAC; }
html[data-theme="light"] .av-ok .av-pill { background: #15803D; color: #FFFFFF; }
html[data-theme="light"] .av-warn { background: #FFFBEB; border-color: #F59E0B; }
html[data-theme="light"] .av-warn .av-pill { background: #D97706; color: #FFFFFF; }
html[data-theme="light"] .av-expired { background: #FEF2F2; border-color: #F87171; }
html[data-theme="light"] .abroad-renew { background: #FFFBEB; border-color: #F59E0B; }






