/* ============================================================
   Theme tokens — three themes selected via [data-theme]
   ============================================================ */

:root, [data-theme="gold"] {
  --bg: #0A0A0A;
  --bg-2: #141414;
  --surface: #1A1A1A;
  --surface-2: #222222;
  --surface-elev: #2A2A2A;
  --border: rgba(255, 184, 0, 0.18);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #FFFFFF;
  --text-dim: #B8B8B8;
  --text-mute: #7A7A7A;

  --accent-1: #FFB800;
  --accent-2: #FF8A00;
  --accent-grad: linear-gradient(135deg, #FFD24A 0%, #FFB800 45%, #FF8A00 100%);
  --accent-text: #1a0d00;   /* dark text on gold buttons */
  --hot: #E60012;
  --hot-2: #FF3B30;

  --soccer-1: #2A8A6F;
  --soccer-2: #1F5F4C;
  --leader-1: #D81B60;
  --leader-2: #8A0E3F;
  --rank-1: #2E6BD8;
  --rank-2: #133E8C;
  --tourney-1: #E48A2A;
  --tourney-2: #8a4514;

  --shadow-accent: 0 10px 30px -8px rgba(255, 138, 0, 0.55), 0 2px 0 rgba(255,255,255,.18) inset;
  --shadow-card: 0 1px 0 rgba(255,255,255,.05) inset, 0 8px 20px -10px rgba(0,0,0,.8);
  --ring-active: 0 0 0 1.5px var(--accent-1), 0 0 24px -2px rgba(255,184,0,.55);
  --card-radius: 14px;
  --pill-radius: 999px;

  --font-display: "Oswald", "Bebas Neue", Impact, ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 700;
  --display-tracking: 0.01em;
  --marquee-duration: 30s;

  --hot-icon: "🔥";
  --promo-icon: "🎰";
  --decor-opacity: 0;
}

[data-theme="neon"] {
  --bg: #0D0B2E;
  --bg-2: #15123F;
  --surface: rgba(26, 24, 64, 0.55);
  --surface-2: rgba(38, 34, 90, 0.55);
  --surface-elev: rgba(48, 42, 110, 0.65);
  --border: rgba(0, 240, 255, 0.28);
  --border-soft: rgba(156, 163, 219, 0.14);
  --text: #FFFFFF;
  --text-dim: #C8CDF0;
  --text-mute: #9CA3DB;

  --accent-1: #00F0FF;
  --accent-2: #FF00C8;
  --accent-grad: linear-gradient(135deg, #00F0FF 0%, #6B5BFF 50%, #FF00C8 100%);
  --accent-text: #061026;
  --hot: #39FF14;
  --hot-2: #00F0FF;

  --soccer-1: #00BFFF;
  --soccer-2: #0066FF;
  --leader-1: #FF00C8;
  --leader-2: #6A00B3;
  --rank-1: #FFEE00;
  --rank-2: #8A2BE2;
  --tourney-1: #39FF14;
  --tourney-2: #008F4C;

  --shadow-accent: 0 0 24px rgba(0, 240, 255, 0.55), 0 0 1px rgba(255, 0, 200, .6) inset;
  --shadow-card: 0 0 0 1px rgba(0,240,255,.18) inset, 0 8px 28px -10px rgba(0,0,0,.7);
  --ring-active: 0 0 0 1.5px var(--accent-1), 0 0 28px rgba(0,240,255,.55);
  --card-radius: 14px;
  --pill-radius: 999px;

  --font-display: "Orbitron", "Space Grotesk", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 700;
  --display-tracking: 0.04em;
  --marquee-duration: 30s;

  --hot-icon: "⚡";
  --promo-icon: "◉";
  --decor-opacity: 0.06;
}

[data-theme="jade"] {
  --bg: #15110D;
  --bg-2: #1B160F;
  --surface: #1F1812;
  --surface-2: #261D15;
  --surface-elev: #2E241A;
  --border: rgba(212, 175, 55, 0.45);
  --border-soft: rgba(212, 175, 55, 0.14);
  --text: #F5F1E8;
  --text-dim: #C4B89D;
  --text-mute: #A89F8C;

  --accent-1: #00A86B;
  --accent-2: #006B3F;
  --accent-grad: linear-gradient(135deg, #00C480 0%, #00A86B 45%, #006B3F 100%);
  --accent-text: #F5F1E8;
  --hot: #C8102E;
  --hot-2: #D4AF37;

  --soccer-1: #2E7D5B;
  --soccer-2: #16432F;
  --leader-1: #C8102E;
  --leader-2: #6E0A1C;
  --rank-1: #0F52BA;
  --rank-2: #0A2F6E;
  --tourney-1: #D4AF37;
  --tourney-2: #8a6E1F;

  --shadow-accent: 0 6px 20px -8px rgba(0, 168, 107, 0.5), 0 0 0 1px rgba(212,175,55,.5) inset;
  --shadow-card: 0 1px 0 rgba(212,175,55,.10) inset, 0 8px 22px -12px rgba(0,0,0,.85);
  --ring-active: 0 0 0 1px var(--hot-2), 0 0 0 3px rgba(212,175,55,.18);
  --card-radius: 8px;
  --pill-radius: 6px;

  --font-display: "Cormorant Garamond", "Cinzel", "Noto Serif Display", Georgia, serif;
  --font-body: "Manrope", "Inter", ui-sans-serif, -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 600;
  --display-tracking: 0.02em;
  --marquee-duration: 45s;

  --hot-icon: "❖";
  --promo-icon: "❀";
  --decor-opacity: 0.05;
}

/* ============================================================
   Resets + base
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #000; }
body {
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============================================================
   Phone shell (mobile-first) — centered on desktop
   ============================================================ */
.page-bg {
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 50% -200px, rgba(255,255,255,0.04), transparent 70%),
    #000;
  display: flex;
  justify-content: center;
}
[data-theme="neon"] .page-bg {
  background:
    radial-gradient(800px 500px at 50% -100px, rgba(0,240,255,0.10), transparent 70%),
    radial-gradient(900px 700px at 90% 80%, rgba(255,0,200,0.08), transparent 70%),
    #060523;
}
[data-theme="jade"] .page-bg {
  background:
    radial-gradient(800px 600px at 50% -150px, rgba(0,168,107,0.06), transparent 70%),
    #0B0805;
}
.app {
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-bottom: 88px; /* room for bottom nav */
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

/* Watermark for jade theme */
[data-theme="jade"] .app::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 18%, rgba(212,175,55,0.06), transparent 28%),
    radial-gradient(circle at 80% 60%, rgba(0,168,107,0.05), transparent 28%);
  z-index: 0;
}
/* Scanlines for neon */
[data-theme="neon"] .app::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 1;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  border: 0;
  border-radius: var(--pill-radius);
  padding: 9px 16px;
  font-size: 13px;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent-grad);
  color: var(--accent-text);
  box-shadow: var(--shadow-accent);
}
[data-theme="jade"] .btn-primary { color: #F5F1E8; }
.btn-primary:hover { filter: brightness(1.08); }

.btn-outline {
  background: transparent;
  color: var(--accent-1);
  border: 1.5px solid var(--accent-1);
}
[data-theme="neon"] .btn-outline {
  box-shadow: 0 0 12px rgba(0,240,255,0.25), inset 0 0 0 1px rgba(0,240,255,0.4);
  color: #fff;
}
[data-theme="jade"] .btn-outline {
  border-color: var(--hot-2);
  color: var(--hot-2);
  background: linear-gradient(180deg, rgba(212,175,55,0.05), transparent);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

/* ============================================================
   Display headlines
   ============================================================ */
.display { font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking); text-transform: uppercase; line-height: .98; }
[data-theme="jade"] .display { text-transform: none; letter-spacing: .01em; }

.accent-fill {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
[data-theme="gold"] .accent-fill {
  background: linear-gradient(180deg, #FFE89A 0%, #FFC53D 35%, #FF8A00 75%, #B85A00 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.4));
}

/* ============================================================
   Card baselines
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  position: relative;
}
[data-theme="neon"] .card {
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  background: rgba(26,24,64,0.40);
  border: 1px solid rgba(0,240,255,0.22);
}
[data-theme="jade"] .card.featured {
  border: 1px solid var(--border);
}

/* hide horizontal scrollbars */
.hscroll {
  display: flex; gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 14px 4px;
  position: relative;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-wrap { position: relative; }
.hscroll-wrap::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 4px; width: 28px;
  background: linear-gradient(270deg, var(--bg), transparent);
  pointer-events: none;
}

/* ============================================================
   Section header
   ============================================================ */
.section-hd {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 14px 10px;
}
.section-hd .swatch {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  font-size: 16px;
  box-shadow: 0 4px 12px -4px rgba(230,0,18,.5);
}
[data-theme="neon"] .section-hd .swatch {
  background: linear-gradient(135deg, #39FF14, #00F0FF);
  box-shadow: 0 0 18px rgba(57,255,20,.45);
  color: #021;
}
[data-theme="jade"] .section-hd .swatch {
  background: linear-gradient(135deg, #C8102E, #8a0c20);
  box-shadow: 0 2px 0 rgba(212,175,55,.4) inset;
  border-radius: 4px;
}
.section-hd h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1;
}
[data-theme="jade"] .section-hd h2 { text-transform: none; font-size: 22px; letter-spacing: .01em; }
.section-hd h2 .pre { color: var(--hot); margin-right: 6px; }
[data-theme="jade"] .section-hd h2 .pre { color: var(--hot-2); }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 8px 0;
  position: relative;
}
[data-theme="jade"] .marquee {
  background: linear-gradient(90deg, rgba(212,175,55,0.03), rgba(212,175,55,0.08), rgba(212,175,55,0.03));
}
.marquee-track {
  display: flex; gap: 36px;
  white-space: nowrap;
  animation: marquee var(--marquee-duration) linear infinite;
  width: max-content;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--accent-1);
}
[data-theme="jade"] .marquee-track {
  color: var(--hot-2); font-family: var(--font-body); letter-spacing: .12em;
  font-size: 11px; text-transform: uppercase;
}
[data-theme="neon"] .marquee-track {
  color: var(--accent-1);
  text-shadow: 0 0 8px rgba(0,240,255,0.6);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 36px; }
.marquee-track .dot { color: var(--text-mute); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   App download banner
   ============================================================ */
.appdl {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #1a1a1a, #0e0e0e);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-soft);
  position: relative; z-index: 3;
}
[data-theme="neon"] .appdl {
  background: linear-gradient(180deg, rgba(20,18,55,.9), rgba(13,11,46,.9));
  backdrop-filter: blur(10px);
}
[data-theme="jade"] .appdl {
  background: linear-gradient(180deg, #1B160F, #15110D);
  border-bottom: 1px solid var(--border-soft);
}
.appdl-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-grad);
  display: grid; place-items: center; font-size: 18px;
  color: var(--accent-text);
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}
.appdl-body { flex: 1; min-width: 0; }
.appdl-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.2; }
.appdl-sub { font-size: 10px; color: var(--text-mute); display:flex; align-items:center; gap:4px; margin-top:2px;}
.appdl-stars { color: #FFB800; letter-spacing: -1px; font-size: 11px; }
.appdl .btn { padding: 6px 12px; font-size: 11px; }
.appdl-close {
  background: transparent; border: 0; color: var(--text-mute); padding: 4px;
  font-size: 16px; line-height: 1; flex-shrink: 0;
}

/* ============================================================
   Header
   ============================================================ */
.hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  position: relative; z-index: 2;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 22px;
  flex-shrink: 0;
}
[data-theme="neon"] .logo { font-size: 18px; letter-spacing: 0.06em; }
[data-theme="jade"] .logo { text-transform: none; letter-spacing: 0; font-size: 24px; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-grad);
  color: var(--accent-text);
  font-size: 16px;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}
[data-theme="neon"] .logo-mark {
  animation: neonPulse 2.5s ease-in-out infinite;
  border-radius: 6px;
  clip-path: polygon(15% 0, 100% 0, 100% 70%, 85% 100%, 0 100%, 0 30%);
}
[data-theme="jade"] .logo-mark {
  border-radius: 4px;
  background: linear-gradient(135deg, #C8102E, #8a0c20);
  border: 1px solid var(--hot-2);
  color: var(--hot-2);
  font-family: var(--font-display);
  font-size: 14px;
}
@keyframes neonPulse {
  0%,100% { box-shadow: 0 0 14px rgba(0,240,255,.6), 0 0 0 1px rgba(255,0,200,.4) inset; }
  50% { box-shadow: 0 0 24px rgba(255,0,200,.7), 0 0 0 1px rgba(0,240,255,.4) inset; }
}
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.hdr-actions .btn {
  padding: 7px 11px; font-size: 10.5px; letter-spacing: 0.04em;
  white-space: nowrap;
}
[data-theme="neon"] .hdr-actions .btn { padding: 7px 10px; font-size: 10px; letter-spacing: 0.02em; }
[data-theme="jade"] .hdr-actions .btn { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; }
.hamburger {
  background: transparent; border: 0; padding: 4px;
  color: var(--text); font-size: 22px; line-height: 1;
}

/* ============================================================
   Hero carousel
   ============================================================ */
.hero {
  position: relative; padding: 6px 14px 8px;
  z-index: 2;
}
.hero-slide {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  min-height: 200px;
  display: flex; align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
[data-theme="jade"] .hero-slide { border: 1px solid var(--border); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg.bg-1 {
  background:
    radial-gradient(circle at 80% 50%, rgba(255,184,0,0.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(230,0,18,0.25), transparent 60%),
    linear-gradient(135deg, #2a0000, #0a0a0a);
}
[data-theme="neon"] .hero-bg.bg-1 {
  background:
    radial-gradient(circle at 80% 50%, rgba(0,240,255,0.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(255,0,200,0.30), transparent 60%),
    linear-gradient(135deg, #200a4d, #0d0b2e);
}
[data-theme="jade"] .hero-bg.bg-1 {
  background:
    radial-gradient(circle at 80% 50%, rgba(0,168,107,0.28), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(212,175,55,0.18), transparent 60%),
    linear-gradient(135deg, #1a2a1f, #15110D);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 18px 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  flex: 1; min-width: 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--hot);
  padding: 4px 10px;
  background: rgba(230,0,18,0.16);
  border-radius: 999px;
  align-self: flex-start;
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: nowrap;
}
[data-theme="neon"] .hero-eyebrow { font-size: 9px; letter-spacing: 0.06em; }
[data-theme="neon"] .hero-eyebrow {
  color: var(--hot); background: rgba(57,255,20,.14);
  border: 1px solid rgba(57,255,20,.4);
}
[data-theme="jade"] .hero-eyebrow {
  color: var(--hot-2); background: transparent;
  border: 1px solid var(--border);
}
.hero h1 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 0.95;
  color: var(--text);
}
[data-theme="jade"] .hero h1 { text-transform: none; font-size: 30px; letter-spacing: 0.005em; }
.hero h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 52px;
  line-height: 0.9;
  text-transform: uppercase;
}
[data-theme="jade"] .hero h2 { text-transform: uppercase; font-size: 46px; letter-spacing: 0.03em; }
.hero p {
  margin: 8px 0 12px;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.3;
  font-weight: 500;
  max-width: 22ch;
}
.hero-cta {
  align-self: flex-start;
}
.hero-art {
  width: 42%;
  position: relative;
  flex-shrink: 0;
  display: grid; place-items: center;
}
.hero-medal {
  width: 130px; height: 130px;
  position: relative;
  display: grid; place-items: center;
}
.hero-dots {
  display: flex; justify-content: center; gap: 6px;
  padding-top: 10px;
}
.hero-dots span {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.25);
  transition: width .2s ease, background .2s ease;
}
.hero-dots span.active {
  width: 18px;
  background: var(--accent-1);
  box-shadow: 0 0 8px var(--accent-1);
}
[data-theme="jade"] .hero-dots span.active { box-shadow: none; background: var(--hot-2); }

.brand-strip {
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 0 0;
}
[data-theme="jade"] .brand-strip { font-family: var(--font-body); }
.brand-strip .accent { color: var(--accent-1); }
[data-theme="jade"] .brand-strip .accent { color: var(--hot-2); }

/* ============================================================
   Feature cards row
   ============================================================ */
.fcard {
  flex: 0 0 168px;
  height: 92px;
  border-radius: var(--card-radius);
  padding: 12px 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  box-shadow: var(--shadow-card);
}
.fcard.soccer { background: linear-gradient(135deg, var(--soccer-1), var(--soccer-2)); }
.fcard.leader { background: linear-gradient(135deg, var(--leader-1), var(--leader-2)); }
.fcard.rank { background: linear-gradient(135deg, var(--rank-1), var(--rank-2)); }
.fcard.tourney { background: linear-gradient(135deg, var(--tourney-1), var(--tourney-2)); }
[data-theme="jade"] .fcard {
  border: 1px solid var(--border);
  border-radius: 6px;
}
[data-theme="neon"] .fcard {
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 18px -4px currentColor;
}
.fcard-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
}
.fcard-sub {
  font-size: 9.5px;
  line-height: 1.25;
  color: rgba(255,255,255,0.85);
  max-width: 88px;
}
.fcard-icon {
  position: absolute; right: -8px; bottom: -10px;
  font-size: 56px; opacity: 0.55;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.25));
  line-height: 1;
}

/* ============================================================
   Referral strip
   ============================================================ */
.referral {
  margin: 16px 14px 0;
  border-radius: var(--card-radius);
  padding: 12px 12px;
  background: var(--accent-grad);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: var(--shadow-accent);
  position: relative;
  overflow: hidden;
}
[data-theme="jade"] .referral {
  background:
    linear-gradient(135deg, rgba(212,175,55,0.10), rgba(212,175,55,0.04)),
    var(--surface);
  border: 1px solid var(--border);
}
.referral-text { flex: 1; min-width: 0; color: var(--accent-text); }
[data-theme="neon"] .referral-text { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
[data-theme="jade"] .referral-text { color: var(--text); }
.referral-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;
}
[data-theme="jade"] .referral-title {
  color: var(--hot-2);
  letter-spacing: 0.01em;
}
.referral-sub {
  font-size: 10px;
  margin-top: 3px;
  opacity: 0.85;
  font-weight: 500;
}
.referral-actions {
  display: flex; gap: 5px;
}
.ribtn {
  width: 40px; height: 40px;
  border-radius: 9px;
  border: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: grid; place-items: center;
  font-size: 16px;
  position: relative;
}
[data-theme="jade"] .ribtn {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--hot-2);
}
.ribtn.featured::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 11px;
  border: 1px solid var(--hot-2);
  animation: ringPulse 1.6s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.ribtn-lbl {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  font-size: 8px; color: var(--accent-text); white-space: nowrap;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
[data-theme="neon"] .ribtn-lbl { color: #fff; }
[data-theme="jade"] .ribtn-lbl { color: var(--text-dim); }

/* ============================================================
   Hot games + provider grid
   ============================================================ */
.gcard {
  flex: 0 0 124px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  gap: 6px;
}
.gcard-art {
  aspect-ratio: 1 / 1;
  border-radius: var(--card-radius);
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  transition: transform .15s ease, box-shadow .2s ease;
}
[data-theme="jade"] .gcard-art { border: 1px solid var(--border-soft); }
.gcard:active .gcard-art { transform: scale(0.97); }
.gcard-art .badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--hot);
  color: #fff;
  font-family: var(--font-display);
  font-size: 9px; padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
[data-theme="neon"] .gcard-art .badge {
  background: var(--hot); color: #021;
  box-shadow: 0 0 10px var(--hot);
}
.gcard-title {
  font-size: 11.5px; font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.gcard-provider {
  font-size: 9px; color: var(--accent-1);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
[data-theme="jade"] .gcard-provider { color: var(--hot-2); font-family: var(--font-body); }

/* shimmer for featured cards in neon */
[data-theme="neon"] .gcard-art.featured::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 60%, 100% { transform: translateX(-100%); }
  80% { transform: translateX(100%); }
}

/* ============================================================
   All Provider section (tabs + grid)
   ============================================================ */
.providers {
  margin-top: 4px;
  padding: 0 0 4px;
}
.provider-body {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  padding: 0 14px;
}
.provider-tabs {
  display: flex; flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border-radius: var(--card-radius);
  padding: 6px;
  border: 1px solid var(--border-soft);
  align-self: start;
}
[data-theme="neon"] .provider-tabs {
  background: rgba(26,24,64,.45); backdrop-filter: blur(12px);
}
.ptab {
  border: 0; background: transparent;
  color: var(--text-dim);
  padding: 8px 4px;
  border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  transition: color .15s, background .15s;
}
[data-theme="jade"] .ptab { font-family: var(--font-body); letter-spacing: 0.08em; }
.ptab-icon { font-size: 18px; line-height: 1; }
.ptab.active {
  color: var(--accent-1);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}
[data-theme="gold"] .ptab.active::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 2px; background: var(--accent-grad); border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--accent-1);
}
[data-theme="neon"] .ptab.active {
  box-shadow: 0 0 0 1px var(--accent-1), 0 0 18px rgba(0,240,255,.45);
  color: var(--accent-1);
}
[data-theme="jade"] .ptab.active {
  color: var(--hot-2);
  background: transparent;
  border-top: 1px solid var(--hot-2);
  border-bottom: 1px solid var(--hot-2);
  border-radius: 0;
}

.provider-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pcard {
  aspect-ratio: 3 / 4;
  border-radius: var(--card-radius);
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform .15s ease, box-shadow .2s ease;
}
[data-theme="neon"] .pcard {
  background: rgba(26,24,64,.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,240,255,.22);
}
[data-theme="jade"] .pcard { border: 1px solid var(--border-soft); }
.pcard:active { transform: scale(0.97); }
.pcard:hover { box-shadow: var(--ring-active); }
.pcard-art { position: absolute; inset: 0; }
.pcard-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  text-align: center;
  line-height: 1;
}
[data-theme="jade"] .pcard-name { letter-spacing: 0.01em; font-size: 13px; }

/* ============================================================
   Bottom nav
   ============================================================ */
.botnav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0;
  width: 100%; max-width: 430px;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 100;
}
[data-theme="neon"] .botnav {
  background: rgba(13,11,46,.86); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,240,255,.2);
}
[data-theme="jade"] .botnav {
  background: #0F0B07;
  border-top: 1px solid var(--border-soft);
}
.bn-item {
  background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.bn-icon { font-size: 18px; line-height: 1; }
.bn-item.active {
  color: var(--accent-1);
}
[data-theme="jade"] .bn-item.active { color: var(--hot-2); }
.bn-item.promo {
  margin-top: -22px;
}
.bn-promo {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-grad);
  color: var(--accent-text);
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow-accent);
  animation: bob 1.8s ease-in-out infinite;
  margin-bottom: 2px;
  border: 3px solid var(--bg-2);
}
[data-theme="jade"] .bn-promo {
  border: 3px solid #0F0B07;
  background: linear-gradient(135deg, #D4AF37, #8a6E1F);
  color: #15110D;
  border-radius: 12px;
}
[data-theme="neon"] .bn-promo {
  border: 3px solid rgba(13,11,46,.95);
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ============================================================
   Decorative SVG illustrations (placeholder game art)
   ============================================================ */
.illus { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================
   Theme-specific decorative motif behind hot section header
   ============================================================ */
[data-theme="jade"] .section-divider {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 14px 0;
  color: var(--hot-2);
}
[data-theme="jade"] .section-divider::before,
[data-theme="jade"] .section-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hot-2), transparent);
  opacity: 0.5;
}
.section-divider { display: none; }

/* ============================================================
   Desktop framing
   ============================================================ */
@media (min-width: 1024px) {
  .page-bg { padding: 24px 0; align-items: flex-start; }
  .app { border-radius: 24px; min-height: calc(100vh - 48px); overflow: hidden; }
  .botnav { border-radius: 0 0 24px 24px; }
}

/* ============================================================
   Clickable header logo wrapper
   ============================================================ */
.header-logo {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: inline-flex;
  align-items: center;
}
.header-logo:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ============================================================
   Pink-glow ♀ NEW button (bottom nav, theme-agnostic)
   ============================================================ */
.bn-item.female { color: #ff4fb8; }
.bn-item.female span { color: inherit; }
.bn-female {
  color: #ff4fb8;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  text-shadow:
    0 0 6px #ff4fb8,
    0 0 14px rgba(255,79,184,0.7),
    0 0 24px rgba(255,79,184,0.4);
  animation: pinkPulse 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes pinkPulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%      { transform: scale(1.08); opacity: 0.78;}
}

/* ============================================================
   Floating theme FAB (bottom-left, above bottom nav)
   ============================================================ */
.fab-root {
  position: fixed;
  left: 14px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483600;
}
.fab {
  width: 48px; height: 48px; border-radius: 50%;
  border: 0;
  background: var(--accent-grad);
  color: var(--accent-text);
  box-shadow: var(--shadow-accent), 0 6px 14px rgba(0,0,0,0.45);
  display: grid; place-items: center;
  cursor: pointer;
  position: relative;
}
.fab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fab-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fab-pop {
  position: absolute;
  left: 0;
  bottom: 56px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 10px 12px 12px;
  box-shadow: var(--shadow-card);
  min-width: 168px;
  backdrop-filter: blur(12px);
}
.fab-pop-title {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.fab-swatches { display: flex; gap: 8px; }
.fab-swatch {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--border-soft);
  cursor: pointer;
  padding: 0;
  display: grid; place-items: end center;
  position: relative;
  overflow: hidden;
}
.fab-swatch[data-swatch="gold"] { background: linear-gradient(135deg, #FFD24A, #FFB800 50%, #FF8A00); }
.fab-swatch[data-swatch="neon"] { background: linear-gradient(135deg, #00F0FF, #6B5BFF 50%, #FF00C8); }
.fab-swatch[data-swatch="jade"] { background: linear-gradient(135deg, #00C480, #00A86B 50%, #006B3F); }
.fab-swatch.active { border-color: var(--text); box-shadow: 0 0 0 2px var(--accent-1); }
.fab-swatch-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.7);
  padding: 0 0 3px;
}

/* ============================================================
   Page wrapper
   ============================================================ */
.page {
  position: relative;
  z-index: 2;
  padding: 8px 12px 24px;
}
.page > *:first-child { margin-top: 0; }

/* ============================================================
   ShopPage — product grid, vertical cards
   ============================================================ */
.shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 14px;
}
.shop-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.shop-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  margin: 4px 0 0;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  line-height: 1;
}
.shop-count {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--pill-radius);
  padding: 5px 10px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shop-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.shop-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
  overflow: hidden;
}
.shop-thumb > svg { display: block; width: 100%; height: 100%; }
.shop-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--accent-grad);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border-radius: var(--pill-radius);
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}
.shop-badge-hot { background: linear-gradient(135deg, #ff4fb8, #ff2d6f); color: #fff; }
.shop-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.shop-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1.15;
}
.shop-desc {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}
.shop-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-1);
  letter-spacing: 0.04em;
}
.shop-cta {
  font-size: 11px !important;
  padding: 6px 12px !important;
  border-radius: var(--pill-radius);
}

/* ============================================================
   HistoryPage
   ============================================================ */
.hp-tabs {
  display: flex;
  gap: 10px;
  padding: 6px 0 14px;
}
.hp-tab {
  background: var(--surface);
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}
.hp-tab.active {
  background: var(--surface-elev);
  color: var(--text);
  border-color: var(--accent-1);
  box-shadow: var(--shadow-card);
}
.hp-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--text);
  background: var(--bg-2);
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.hp-section-side {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 13px;
}
.tx-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}
.tx-row {
  position: relative;
  padding: 12px 14px 14px;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tx-row:first-child { border-top: 0; }
.tx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tx-type {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-1);
}
.tx-type-withdraw  { color: var(--accent-1); }
.tx-type-deposit   { color: #4cd964; }
.tx-type-forfeited { color: var(--text-dim); }
.tx-type-bonus     { color: var(--hot-2); }
.tx-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
}
.tx-meta {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.tx-amount {
  font-weight: 700;
  color: var(--text);
}
.tx-ts {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 2px;
}
.tx-status {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.tx-status-completed { color: #4cd964; }
.tx-status-pending   { color: var(--accent-1); }
.tx-status-failed    { color: var(--hot); }

/* ============================================================
   PromoPage
   ============================================================ */
.promo-head {
  padding: 8px 4px 14px;
}
.promo-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  margin: 0;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  line-height: 1;
}
.promo-head p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}
.promo-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.promo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 16px 16px 14px;
  display: grid;
  grid-template-columns: 1fr 110px;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.promo-stripe { grid-column: 1; grid-row: 1; min-width: 0; }
.promo-art    { grid-column: 2; grid-row: 1; align-self: center; opacity: 0.85; }
.promo-percent {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--accent-1);
  letter-spacing: 0.04em;
}
.promo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 4px;
}
.promo-body {
  margin: 6px 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-dim);
}
.promo-cta {
  font-size: 12px !important;
  padding: 8px 14px !important;
}
.promo-tags {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}
.promo-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: var(--pill-radius);
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
}

/* ============================================================
   LiveChatPage
   ============================================================ */
.page-chat { padding-bottom: 90px; }
.lc-clock {
  align-self: center;
  display: inline-block;
  margin: 4px auto 12px;
  text-align: center;
  font-family: var(--font-mono);
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.lc-name {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
  margin-bottom: 8px;
}
.lc-welcome {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.lc-welcome h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.06em;
}
.lc-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
}
.lc-btns {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.lc-btn {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lc-list {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lc-list-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.lc-list-row {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}
.lc-deposit {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px;
  text-align: left;
}
.lc-deposit-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lc-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-elev);
  color: var(--text);
  border: 1px solid var(--border-soft);
  text-transform: lowercase;
}
.lc-contacts {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lc-contact-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}
.lc-contact-row span:first-child { color: var(--text-mute); }
.lc-sites { display: flex; gap: 14px; padding-top: 2px; }
.lc-site { font-size: 12px; color: var(--accent-1); }
.lc-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 2px 8px;
}
.lc-msg {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
}
.lc-msg-bot {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.lc-msg-me {
  background: var(--accent-grad);
  color: var(--accent-text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 600;
}
.lc-input {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  width: 100%; max-width: 430px;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  z-index: 50;
}
.lc-input input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text);
  padding: 9px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
}
.lc-input input:focus { border-color: var(--accent-1); }
.lc-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--accent-grad);
  color: var(--accent-text);
  font-size: 16px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-accent);
}

/* ============================================================
   SettingPage
   ============================================================ */
.profile-head {
  padding: 12px 4px 8px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 12px;
}
.profile-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin: 0;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  line-height: 1;
}
.profile-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.profile-row {
  display: grid;
  grid-template-columns: 130px 14px 1fr;
  align-items: baseline;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-soft);
}
.profile-row:last-child { border-bottom: 0; }
.profile-label { color: var(--text-dim); }
.profile-colon { color: var(--text-mute); }
.profile-value { color: var(--text); font-weight: 600; word-break: break-word; }
.setting-list {
  display: flex;
  flex-direction: column;
}
.setting-row {
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.setting-row:hover { background: var(--surface); }
.setting-chevron {
  color: var(--text-mute);
  font-size: 18px;
}
