﻿:root {
  --bg: #07111f;
  --panel: rgba(8, 19, 35, 0.78);
  --panel-strong: rgba(11, 23, 42, 0.92);
  --line: rgba(135, 191, 255, 0.18);
  --text: #eff6ff;
  --muted: #8ea6c8;
  --hot: #ff7b38;
  --hot-2: #ffbe63;
  --cold: #6dd3ff;
  --green: #6cf5a3;
  --shadow: 0 24px 60px rgba(2, 7, 17, 0.45);
}

body[data-theme="light"] {
  --bg: #f6efe3;
  --panel: rgba(255, 251, 245, 0.84);
  --panel-strong: rgba(255, 248, 238, 0.96);
  --line: rgba(187, 146, 92, 0.22);
  --text: #3a2416;
  --muted: #8c6d4f;
  --hot: #c88439;
  --hot-2: #e1b97a;
  --cold: #b88f5a;
  --green: #7ba36b;
  --shadow: 0 24px 60px rgba(103, 73, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 123, 56, 0.22), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(109, 211, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #08101c 0%, #040912 100%);
}

body[data-theme="light"] {
  background:
    radial-gradient(circle at top left, rgba(225, 185, 122, 0.28), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 214, 160, 0.22), transparent 24%),
    linear-gradient(180deg, #fffaf3 0%, #f4eadc 100%);
}

body[data-theme="light"] .site-header,
body[data-theme="light"] .jackpot-topbar {
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.99), rgba(244, 231, 214, 0.97)),
    rgba(255, 250, 242, 0.99);
  border-bottom-color: rgba(198, 152, 90, 0.28);
  box-shadow: 0 14px 34px rgba(168, 125, 69, 0.14);
}

body[data-theme="light"] .card,
body[data-theme="light"] .ecosystem-hero,
body[data-theme="light"] .first-mining-hero,
body[data-theme="light"] .ecosystem-orbit {
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(245, 235, 223, 0.95)),
    rgba(255, 251, 245, 0.96);
  border-color: rgba(210, 178, 136, 0.42);
  box-shadow: 0 18px 44px rgba(132, 96, 58, 0.14);
}

body[data-theme="light"] .user-tab,
body[data-theme="light"] .wallet-btn,
body[data-theme="light"] .action-btn,
body[data-theme="light"] .runtime-pill,
body[data-theme="light"] .stat,
body[data-theme="light"] .jackpot-card,
body[data-theme="light"] .trade-status-card,
body[data-theme="light"] .stake-action-value {
  border-color: rgba(210, 178, 136, 0.42);
  background: rgba(255, 251, 245, 0.92);
  color: #3a2416;
}

body[data-theme="light"] .user-tab.is-active,
body[data-theme="light"] .action-btn--primary,
body[data-theme="light"] .wallet-btn--ghost {
  background: linear-gradient(180deg, rgba(246, 221, 184, 0.94), rgba(236, 205, 157, 0.76));
  border-color: rgba(188, 143, 84, 0.46);
  color: #52331a;
  box-shadow: 0 10px 24px rgba(188, 143, 84, 0.12);
}

body[data-theme="light"] .mini-fomo,
body[data-theme="light"] .jackpot-panel--trend,
body[data-theme="light"] .jackpot-stage__hero {
  background:
    radial-gradient(circle at top right, rgba(236, 205, 157, 0.2), transparent 34%),
    radial-gradient(circle at left center, rgba(255, 232, 197, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 252, 247, 0.98), rgba(245, 235, 223, 0.95));
  border-color: rgba(201, 164, 109, 0.18);
  box-shadow: 0 18px 44px rgba(132, 96, 58, 0.12);
}

body[data-theme="light"] .mini-fomo::after {
  background: radial-gradient(circle, rgba(225, 185, 122, 0.18), transparent 68%);
}

body[data-theme="light"] .jackpot-countdown,
body[data-theme="light"] .mini-fomo__countdown,
body[data-theme="light"] .countdown-book__value {
  color: #52331a;
  text-shadow: 0 10px 30px rgba(201, 164, 109, 0.18);
}

body[data-theme="light"] .jackpot-epoch-meta,
body[data-theme="light"] .jackpot-status-line,
body[data-theme="light"] .mini-fomo__pulse,
body[data-theme="light"] .mini-fomo__sub,
body[data-theme="light"] .jackpot-trend__stat span,
body[data-theme="light"] .jackpot-trend__stat small,
body[data-theme="light"] .jackpot-trend__badge,
body[data-theme="light"] .jackpot-trend__badge--cool,
body[data-theme="light"] .jackpot-trend__yheads,
body[data-theme="light"] .jackpot-trend__legend-item,
body[data-theme="light"] .jackpot-trend__legend-note,
body[data-theme="light"] .jackpot-trend__empty {
  color: #8c6d4f;
}

body[data-theme="light"] .section-title h2,
body[data-theme="light"] .section-title h3,
body[data-theme="light"] .mini-fomo__cta h3,
body[data-theme="light"] .jackpot-card span,
body[data-theme="light"] .mini-fomo__timeline-address,
body[data-theme="light"] .feed-row,
body[data-theme="light"] .leader-item,
body[data-theme="light"] .feed-row__address,
body[data-theme="light"] .feed-row__address-text,
body[data-theme="light"] .helper--strong {
  color: #6b4932;
}

body[data-theme="light"] .wallet-status,
body[data-theme="light"] .wallet-address,
body[data-theme="light"] .runtime-pill strong,
body[data-theme="light"] .stat__value,
body[data-theme="light"] .trade-status-card__row strong,
body[data-theme="light"] .mono-link {
  color: #4e311d;
}

body[data-theme="light"] .mini-fomo__stat,
body[data-theme="light"] .jackpot-trend__stat,
body[data-theme="light"] .trade-preview,
body[data-theme="light"] .input-shell input,
body[data-theme="light"] .text-area,
body[data-theme="light"] .invite-lookup-result,
body[data-theme="light"] .mini-fomo__timeline-row,
body[data-theme="light"] .feed-row,
body[data-theme="light"] .leader-item,
body[data-theme="light"] .jackpot-mini-board,
body[data-theme="light"] .tag,
body[data-theme="light"] .chip,
body[data-theme="light"] .badge {
  background: rgba(255, 251, 245, 0.88);
  border-color: rgba(210, 178, 136, 0.38);
  color: #3a2416;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 238, 0.42);
}

body[data-theme="light"] .jackpot-card,
body[data-theme="light"] .mini-fomo__stat,
body[data-theme="light"] .jackpot-trend__stat,
body[data-theme="light"] .mini-fomo__timeline-row,
body[data-theme="light"] .feed-row,
body[data-theme="light"] .leader-item,
body[data-theme="light"] .jackpot-mini-board {
  border-color: rgba(210, 178, 136, 0.42);
}

body[data-theme="light"] .input-shell input::placeholder,
body[data-theme="light"] .text-area::placeholder {
  color: rgba(140, 109, 79, 0.75);
}

body[data-theme="light"] .input-shell input:focus,
body[data-theme="light"] .text-area:focus,
body[data-theme="light"] .select-shell:focus {
  border-color: rgba(188, 143, 84, 0.54);
  background: rgba(255, 248, 238, 0.96);
  box-shadow: 0 0 0 4px rgba(225, 185, 122, 0.18);
}

body[data-theme="light"] .trade-preview__row span,
body[data-theme="light"] .trade-preview__row strong,
body[data-theme="light"] .mini-fomo__stat strong,
body[data-theme="light"] .jackpot-card strong,
body[data-theme="light"] .jackpot-trend__header h2,
body[data-theme="light"] .jackpot-trend__stat strong,
body[data-theme="light"] .jackpot-trend__row-value,
body[data-theme="light"] .mini-fomo__timeline-rank,
body[data-theme="light"] .mini-fomo__timeline-amount,
body[data-theme="light"] .feed-row strong,
body[data-theme="light"] .leader-item strong {
  color: #52331a;
}

body[data-theme="light"] .asset-switcher__btn,
body[data-theme="light"] .preset-group button,
body[data-theme="light"] .jackpot-trend__control {
  background: rgba(255, 252, 248, 0.96);
  border-color: rgba(210, 178, 136, 0.52);
  color: #5d3b27;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 236, 0.76);
}

body[data-theme="light"] .asset-switcher__btn.is-active,
body[data-theme="light"] .preset-group button.is-active,
body[data-theme="light"] .preset-group button:hover,
body[data-theme="light"] .jackpot-trend__control.is-active {
  background: linear-gradient(180deg, rgba(255, 228, 194, 0.98), rgba(245, 235, 223, 0.98));
  border-color: rgba(198, 152, 90, 0.58);
  color: #52331a;
  box-shadow: 0 10px 22px rgba(201, 164, 109, 0.12);
}

body[data-theme="light"] .jackpot-trend__control--refresh {
  border-color: rgba(186, 214, 232, 0.9);
}

body[data-theme="light"] .jackpot-trend__badge {
  background: rgba(255, 233, 202, 0.72);
  border-color: rgba(198, 152, 90, 0.26);
}

body[data-theme="light"] .jackpot-trend__badge--cool {
  background: rgba(233, 244, 248, 0.82);
  border-color: rgba(174, 205, 220, 0.42);
}

body[data-theme="light"] .jackpot-hero-actions .action-btn,
body[data-theme="light"] .mini-fomo__cta .action-btn {
  background: rgba(255, 251, 245, 0.9);
  border-color: rgba(210, 178, 136, 0.38);
  color: #52331a;
}

body[data-theme="light"] .mini-fomo__pulse {
  color: #d39b4d;
  font-weight: 600;
}

body[data-theme="light"] .mini-fomo__pulse::before {
  background: #d9923b;
  box-shadow: 0 0 0 0 rgba(217, 146, 59, 0.4);
}

body[data-theme="light"] .feed-row__copy-btn {
  background: rgba(255, 247, 235, 0.96);
  border-color: rgba(198, 152, 90, 0.34);
  color: #6b4932;
}

body[data-theme="light"] .feed-row__copy-btn:hover {
  background: rgba(255, 238, 214, 0.96);
  border-color: rgba(198, 152, 90, 0.52);
}

body[data-theme="light"] .mobile-nav-drawer__toggle span,
body[data-theme="light"] .mobile-settings-drawer__toggle span {
  background: #8c6d4f;
}

body[data-theme="light"] .mobile-nav-drawer__toggle,
body[data-theme="light"] .mobile-settings-drawer__toggle {
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(210, 178, 136, 0.34);
  box-shadow: 0 8px 20px rgba(188, 143, 84, 0.08);
}

body[data-theme="light"] .mobile-top-left,
body[data-theme="light"] .mobile-top-right {
  gap: 8px;
}

body[data-theme="light"] .mobile-settings-drawer__panel {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(245, 234, 219, 0.98)),
    rgba(255, 248, 238, 0.98);
  border: 1px solid rgba(201, 164, 109, 0.18);
  color: #3a2416;
  box-shadow: 0 18px 48px rgba(132, 96, 58, 0.12);
}

body[data-theme="light"] .mobile-settings-drawer__label {
  color: #8c6d4f;
}

body[data-theme="light"] .mobile-settings-drawer__buttons button {
  border-color: rgba(201, 164, 109, 0.22);
  background: rgba(255, 253, 249, 0.86);
  color: #52331a;
}

body[data-theme="light"] .mobile-settings-drawer__buttons button.is-active {
  border-color: rgba(188, 143, 84, 0.34);
  background: linear-gradient(180deg, rgba(255, 226, 192, 0.74), rgba(247, 234, 218, 0.94));
  color: #52331a;
}

body[data-theme="light"] .jackpot-shell {
  background:
    radial-gradient(circle at top left, rgba(225, 185, 122, 0.26), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 214, 160, 0.18), transparent 22%),
    linear-gradient(180deg, #fffaf3 0%, #f4eadc 100%);
}

body[data-theme="light"] .eyebrow,
body[data-theme="light"] .stat__label,
body[data-theme="light"] .helper,
body[data-theme="light"] .mobile-drawer__title,
body[data-theme="light"] .runtime-pill span {
  color: #8c6d4f;
}

body[data-theme="light"] .mobile-nav-drawer__backdrop {
  background: rgba(143, 107, 61, 0.16);
}

body[data-theme="light"] .mobile-nav-drawer__panel {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(245, 234, 219, 0.98)),
    rgba(255, 248, 238, 0.98);
  border-color: rgba(201, 164, 109, 0.18);
  color: #3a2416;
  box-shadow: 0 -18px 48px rgba(132, 96, 58, 0.12);
}

body[data-theme="light"] .mobile-drawer__handle {
  background: rgba(188, 143, 84, 0.28);
}

body[data-theme="light"] .mobile-drawer__link,
body[data-theme="light"] .mobile-drawer__social {
  color: #3a2416;
  text-decoration: none !important;
}

body[data-theme="light"] .mobile-drawer__link.is-active {
  background: rgba(198, 152, 90, 0.14);
  border-color: rgba(188, 143, 84, 0.26);
  color: #52331a;
}

body[data-theme="light"] .mobile-drawer__icon {
  color: #c88439;
}

body[data-theme="light"] .mobile-drawer__footer {
  border-top-color: rgba(201, 164, 109, 0.16);
}

body[data-theme="light"] .mobile-drawer__social {
  background: rgba(255, 253, 249, 0.82);
  border-color: rgba(201, 164, 109, 0.18);
}

body.theme-bank-meteor {
  --bank-ink: #0f1d36;
  --bank-navy: #152847;
  --bank-blue: #1d3b6d;
  --bank-gold: #d8b36a;
  --bank-gold-soft: rgba(216, 179, 106, 0.2);
  --bank-line: rgba(163, 190, 232, 0.16);
  --bank-panel: rgba(13, 28, 54, 0.78);
  --bank-panel-strong: rgba(10, 22, 45, 0.92);
  --bank-surface: rgba(15, 31, 60, 0.72);
  --bank-text: #eef5ff;
  --bank-muted: #92a9cf;
  background:
    radial-gradient(circle at top left, rgba(54, 92, 158, 0.28), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(216, 179, 106, 0.15), transparent 18%),
    linear-gradient(180deg, #07111f 0%, #0b1730 38%, #0d1d3b 100%);
  position: relative;
  overflow-x: hidden;
}

body.theme-bank-meteor::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(255, 255, 255, 0.16) 18.2%, rgba(255, 255, 255, 0) 19%) 8% 12% / 28% 28% no-repeat,
    linear-gradient(122deg, transparent 0 24%, rgba(173, 209, 255, 0.18) 24.2%, rgba(255, 255, 255, 0) 25%) 70% 8% / 22% 22% no-repeat,
    linear-gradient(120deg, transparent 0 28%, rgba(255, 240, 205, 0.18) 28.2%, rgba(255, 255, 255, 0) 29%) 82% 24% / 20% 20% no-repeat,
    linear-gradient(119deg, transparent 0 20%, rgba(156, 197, 255, 0.16) 20.2%, rgba(255, 255, 255, 0) 21%) 14% 64% / 24% 24% no-repeat,
    radial-gradient(circle at 6% 10%, rgba(255, 232, 196, 0.88) 0 1.2px, transparent 1.3px),
    radial-gradient(circle at 16% 28%, rgba(198, 221, 255, 0.85) 0 1px, transparent 1.1px),
    radial-gradient(circle at 30% 8%, rgba(255, 232, 196, 0.9) 0 1.1px, transparent 1.2px),
    radial-gradient(circle at 44% 18%, rgba(255, 232, 196, 0.82) 0 1.3px, transparent 1.4px),
    radial-gradient(circle at 63% 12%, rgba(198, 221, 255, 0.82) 0 1px, transparent 1.1px),
    radial-gradient(circle at 77% 10%, rgba(255, 232, 196, 0.9) 0 1.2px, transparent 1.3px),
    radial-gradient(circle at 92% 20%, rgba(198, 221, 255, 0.76) 0 1px, transparent 1.1px),
    radial-gradient(circle at 12% 76%, rgba(255, 232, 196, 0.7) 0 1px, transparent 1.1px),
    radial-gradient(circle at 86% 74%, rgba(255, 232, 196, 0.7) 0 1px, transparent 1.1px);
  opacity: 0.95;
}

body.theme-bank-meteor::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 115%, rgba(216, 179, 106, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(8, 17, 31, 0) 0%, rgba(8, 17, 31, 0.12) 56%, rgba(6, 11, 22, 0.55) 100%);
}

body.theme-bank-meteor .jackpot-shell {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.26), rgba(7, 17, 31, 0.14));
}

body.theme-bank-meteor .jackpot-topbar {
  align-items: center;
}

body.theme-bank-meteor .jackpot-topbar,
body.theme-bank-meteor .jackpot-stage__hero,
body.theme-bank-meteor .jackpot-panel,
body.theme-bank-meteor .jackpot-panel--trend,
body.theme-bank-meteor .jackpot-mini-board,
body.theme-bank-meteor .feed-row,
body.theme-bank-meteor .leader-item,
body.theme-bank-meteor .jackpot-card,
body.theme-bank-meteor .jackpot-trend__stat,
body.theme-bank-meteor .jackpot-trend__badge,
body.theme-bank-meteor .jackpot-trend__control,
body.theme-bank-meteor .tag,
body.theme-bank-meteor .action-btn {
  border-color: var(--bank-line);
}

body.theme-bank-meteor .jackpot-topbar {
  padding: 0 0 10px;
}

body.theme-bank-meteor .jackpot-topbar .brand__copy,
body.theme-bank-meteor .jackpot-topbar .brand__copy h1,
body.theme-bank-meteor .jackpot-topbar .brand__copy .eyebrow,
body.theme-bank-meteor .jackpot-topbar .user-tab,
body.theme-bank-meteor .jackpot-topbar .wallet-btn,
body.theme-bank-meteor .eyebrow,
body.theme-bank-meteor .jackpot-status-line,
body.theme-bank-meteor .jackpot-epoch-meta,
body.theme-bank-meteor .helper,
body.theme-bank-meteor .tag,
body.theme-bank-meteor .jackpot-trend__badge,
body.theme-bank-meteor .jackpot-trend__control {
  color: var(--bank-text);
}

body.theme-bank-meteor .jackpot-topbar .brand__copy h1,
body.theme-bank-meteor .jackpot-stage__hero h2,
body.theme-bank-meteor .jackpot-panel h2,
body.theme-bank-meteor .jackpot-panel h3,
body.theme-bank-meteor .jackpot-card strong,
body.theme-bank-meteor .jackpot-trend__stat strong,
body.theme-bank-meteor .feed-row strong,
body.theme-bank-meteor .leader-item strong {
  color: #f8ebd1;
}

body.theme-bank-meteor .jackpot-topbar .brand__copy .eyebrow,
body.theme-bank-meteor .eyebrow,
body.theme-bank-meteor .jackpot-epoch-meta,
body.theme-bank-meteor .jackpot-status-line,
body.theme-bank-meteor .jackpot-trend__stat span,
body.theme-bank-meteor .jackpot-trend__stat small,
body.theme-bank-meteor .helper,
body.theme-bank-meteor .leader-item span,
body.theme-bank-meteor .feed-row span {
  color: var(--bank-muted);
}

body.theme-bank-meteor .jackpot-topbar .user-tab,
body.theme-bank-meteor .wallet-btn,
body.theme-bank-meteor .action-btn,
body.theme-bank-meteor .jackpot-trend__control,
body.theme-bank-meteor .tag {
  background: linear-gradient(180deg, rgba(17, 35, 66, 0.92), rgba(12, 24, 48, 0.86));
  box-shadow: 0 10px 26px rgba(2, 8, 20, 0.24);
}

body.theme-bank-meteor .jackpot-topbar .user-tab.is-active,
body.theme-bank-meteor .action-btn:hover,
body.theme-bank-meteor .jackpot-trend__control.is-active {
  background:
    linear-gradient(180deg, rgba(34, 61, 108, 0.98), rgba(18, 37, 71, 0.94));
  color: #fff1d2;
  box-shadow:
    0 0 0 1px rgba(216, 179, 106, 0.26),
    0 14px 28px rgba(4, 12, 28, 0.32);
}

body.theme-bank-meteor .jackpot-stage__hero {
  background:
    radial-gradient(circle at top center, rgba(216, 179, 106, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(16, 31, 58, 0.92), rgba(10, 22, 43, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(233, 212, 172, 0.08),
    0 28px 70px rgba(2, 8, 20, 0.36);
}

body.theme-bank-meteor .jackpot-stage__hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(216, 179, 106, 0), rgba(216, 179, 106, 0.14) 50%, rgba(14, 28, 54, 0) 100%);
  filter: blur(18px);
}

body.theme-bank-meteor .jackpot-panel,
body.theme-bank-meteor .jackpot-panel--trend,
body.theme-bank-meteor .jackpot-mini-board {
  background:
    linear-gradient(180deg, rgba(12, 24, 48, 0.92), rgba(9, 19, 38, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 210, 0.04),
    0 20px 52px rgba(2, 8, 20, 0.32);
}

body.theme-bank-meteor .jackpot-card,
body.theme-bank-meteor .jackpot-trend__stat,
body.theme-bank-meteor .feed-row,
body.theme-bank-meteor .leader-item,
body.theme-bank-meteor .jackpot-trend__badge,
body.theme-bank-meteor .jackpot-trend__control,
body.theme-bank-meteor .tag {
  background:
    linear-gradient(180deg, rgba(17, 35, 66, 0.84), rgba(13, 28, 54, 0.78));
}

body.theme-bank-meteor .jackpot-countdown {
  color: #f8ebd1;
  text-shadow:
    0 0 18px rgba(216, 179, 106, 0.16),
    0 10px 40px rgba(8, 17, 31, 0.34);
}

body.theme-bank-meteor .jackpot-trend__control--refresh,
body.theme-bank-meteor .action-btn {
  color: #f8ebd1;
}

body.theme-bank-meteor .action-btn {
  background:
    linear-gradient(180deg, rgba(33, 61, 109, 0.98), rgba(20, 41, 76, 0.94));
}

body.theme-bank-meteor .action-btn:hover {
  border-color: rgba(216, 179, 106, 0.34);
}

body.theme-bank-meteor .feed-row__address,
body.theme-bank-meteor .feed-row__address-text,
body.theme-bank-meteor .mono-link {
  color: #d7e6ff;
}

.page-shell {
  min-height: 100vh;
}

body.mobile-nav-open {
  overflow: hidden;
}

.site-shell,
.jackpot-shell {
  min-height: 100vh;
  padding: 28px clamp(20px, 4vw, 56px) 56px;
}

.site-header,
.jackpot-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  overflow: visible;
}

.brand--compact .brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.desktop-toolbar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 40;
}

.desktop-settings {
  position: relative;
  z-index: 41;
}

.desktop-settings__toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  gap: 3px;
}

.desktop-settings__toggle::-webkit-details-marker {
  display: none;
}

.desktop-settings__toggle span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  display: inline-block;
}

.desktop-settings__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 260px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 80;
}

.desktop-settings[open] > .desktop-settings__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-settings__group {
  display: grid;
  gap: 8px;
}

.desktop-settings__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.desktop-settings__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.desktop-settings__buttons button {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 600 13px/1 "Space Grotesk", "Noto Sans SC", sans-serif;
  cursor: pointer;
}

.desktop-settings__buttons button.is-active {
  border-color: rgba(255, 190, 99, 0.34);
  background: linear-gradient(180deg, rgba(255, 123, 56, 0.18), rgba(255, 190, 99, 0.12));
  color: #fff2ca;
}

.desktop-wallet-btn {
  min-width: 112px;
}

.desktop-wallet-address {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 600 14px/1 "Space Grotesk", "Noto Sans SC", sans-serif;
  white-space: nowrap;
}

.desktop-disconnect-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 600 14px/1 "Space Grotesk", "Noto Sans SC", sans-serif;
  cursor: pointer;
}

.mobile-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.ecosystem-choice-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.ecosystem-choice-modal[hidden] {
  display: none;
}

.ecosystem-choice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.7);
  backdrop-filter: blur(10px);
}

.ecosystem-choice-modal__panel {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 32px));
  margin: 10vh auto 0;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 190, 99, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 99, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(10, 18, 31, 0.98), rgba(8, 14, 25, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.ecosystem-choice-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ecosystem-choice-modal__header h3 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 38px);
}

.ecosystem-choice-modal__close {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 600 14px/1 "Space Grotesk", "Noto Sans SC", sans-serif;
  cursor: pointer;
}

.ecosystem-choice-modal__intro {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.ecosystem-choice-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ecosystem-choice-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 190, 99, 0.16);
  color: #f7fbff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ecosystem-choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 190, 99, 0.34);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.28);
}

.ecosystem-choice-card strong {
  font-size: 22px;
  line-height: 1.25;
}

.ecosystem-choice-card span {
  color: #fff2ca;
  font-size: 15px;
  line-height: 1.6;
}

.ecosystem-choice-card small {
  margin-top: auto;
  color: #bcd0e6;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}

.ecosystem-choice-card--gold {
  background:
    radial-gradient(circle at top left, rgba(255, 190, 99, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(42, 28, 18, 0.96), rgba(22, 16, 17, 0.98));
}

.ecosystem-choice-card--blue {
  background:
    radial-gradient(circle at top left, rgba(109, 211, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(10, 28, 54, 0.96), rgba(7, 16, 36, 0.98));
}

.ecosystem-choice-card--dark {
  background:
    radial-gradient(circle at top left, rgba(255, 240, 214, 0.12), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(124, 153, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(8, 11, 21, 0.98), rgba(4, 7, 15, 0.99));
}

.user-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.user-tabs--compact {
  margin-bottom: 0;
}

.env-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 24px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 99, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 123, 56, 0.12), rgba(109, 211, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 190, 99, 0.04);
}

.env-banner__label {
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.env-banner strong {
  font-family: "Space Grotesk", sans-serif;
  color: #fff5d3;
  font-size: 18px;
  text-align: right;
}

.user-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 12px 18px;
  border: 1px solid rgba(135, 191, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  transition: 0.2s ease;
}

.user-tab.is-active {
  background: linear-gradient(180deg, rgba(17, 33, 56, 0.8), rgba(10, 20, 37, 0.9));
  border-color: rgba(255, 190, 99, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 190, 99, 0.08);
}

.user-tab--placeholder {
  cursor: default;
  opacity: 0.88;
}

.user-tab--focus {
  border-color: rgba(108, 245, 163, 0.28);
}

.user-content {
  display: grid;
  gap: 28px;
}

.dex-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.dex-wallet-inline {
  margin-top: 4px;
}

.dex-max-btn {
  justify-self: start;
  min-width: 220px;
}

.buy-actions--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buy-actions--triple .action-btn {
  justify-content: center;
  text-align: center;
}

.buy-actions--grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buy-actions--swap-links .action-btn {
  justify-content: center;
  text-align: center;
}

.ecosystem-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 123, 56, 0.24), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(109, 211, 255, 0.16), transparent 22%),
    radial-gradient(circle at 50% 70%, rgba(108, 245, 163, 0.1), transparent 24%),
    linear-gradient(180deg, #08101c 0%, #050913 100%);
}

.ecosystem-stage {
  display: grid;
  gap: 28px;
}

.first-mining-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 190, 99, 0.18), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(109, 211, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #091221 0%, #040912 100%);
}

.ecosystem-hero {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(11, 23, 42, 0.92), rgba(6, 13, 25, 0.86)),
    rgba(255, 255, 255, 0.03);
}

.ecosystem-hero h2 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
}

.ecosystem-hero__lede {
  max-width: 760px;
  margin: 0;
  color: #d7e5ff;
  font-size: 17px;
  line-height: 1.8;
}

.first-mining-stage {
  display: grid;
  gap: 28px;
}

.first-mining-hero {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(11, 23, 42, 0.92), rgba(6, 13, 25, 0.86)),
    rgba(255, 255, 255, 0.03);
}

.first-mining-hero h2 {
  margin: 8px 0 12px;
  color: #f7fbff;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
}

.first-mining-hero__lede {
  max-width: 760px;
  margin: 0;
  color: #eef4ff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.65;
}

.ecosystem-orbit {
  position: relative;
  min-height: 620px;
  padding: 34px 18px;
  border-radius: 34px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(109, 211, 255, 0.08), transparent 38%),
    radial-gradient(circle at 20% 28%, rgba(255, 190, 99, 0.08), transparent 18%),
    radial-gradient(circle at 78% 74%, rgba(108, 245, 163, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(10, 20, 37, 0.84), rgba(5, 11, 21, 0.94));
  overflow: hidden;
}

.ecosystem-orbit::before,
.ecosystem-orbit::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  border: 1px solid rgba(135, 191, 255, 0.08);
}

.ecosystem-orbit::before {
  top: 10%;
  left: 18%;
  width: 60%;
  height: 54%;
}

.ecosystem-orbit::after {
  top: 40%;
  left: 34%;
  width: 30%;
  height: 26%;
}

.eco-bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  height: 178px;
  padding: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 46px rgba(2, 8, 18, 0.32);
  backdrop-filter: blur(14px);
  text-align: center;
  text-decoration: none;
  transform-origin: center;
  animation: ecoBubbleFloat 6.6s ease-in-out infinite;
}

.eco-bubble--gold {
  top: 10%;
  left: 5%;
  background: linear-gradient(135deg, rgba(255, 190, 99, 0.28), rgba(255, 123, 56, 0.14));
  animation-delay: 0s;
}

.eco-bubble--blue {
  top: 14%;
  right: 7%;
  width: 166px;
  height: 166px;
  background: linear-gradient(135deg, rgba(109, 211, 255, 0.22), rgba(63, 124, 255, 0.14));
  animation-delay: -1.8s;
}

.eco-bubble--green {
  bottom: 10%;
  left: 12%;
  width: 188px;
  height: 188px;
  background: linear-gradient(135deg, rgba(108, 245, 163, 0.2), rgba(30, 180, 120, 0.12));
  animation-delay: -3.2s;
}

.eco-bubble--orange {
  top: 50%;
  left: 50%;
  width: 352px;
  height: 352px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(255, 123, 56, 0.2), rgba(255, 190, 99, 0.12));
  animation-delay: -4.6s;
  z-index: 3;
}

.eco-bubble__label {
  color: #fff7e7;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

.eco-bubble--link {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.eco-bubble--link:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(255, 240, 214, 0.26);
  box-shadow: 0 28px 54px rgba(2, 8, 18, 0.36);
}

.eco-bubble--orange .eco-bubble__label {
  font-size: clamp(34px, 4vw, 52px);
}

.eco-bubble--orange.eco-bubble--link:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.eco-bubble--link:active,
.eco-bubble--link.is-launching {
  transform: scale(0.92);
  filter: brightness(1.12);
  box-shadow:
    0 0 0 8px rgba(255, 240, 214, 0.06),
    0 18px 34px rgba(2, 8, 18, 0.28);
}

.eco-bubble--orange.eco-bubble--link:active,
.eco-bubble--orange.eco-bubble--link.is-launching {
  transform: translate(-50%, -50%) scale(0.92);
}

@keyframes ecoBubbleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(0, -12px, 0) scale(1.02);
  }
  50% {
    transform: translate3d(8px, -2px, 0) scale(0.995);
  }
  75% {
    transform: translate3d(-6px, 8px, 0) scale(1.015);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes ecoBubbleFloatCenter {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  25% {
    transform: translate(-50%, calc(-50% - 12px)) scale(1.02);
  }
  50% {
    transform: translate(calc(-50% + 10px), calc(-50% - 2px)) scale(0.996);
  }
  75% {
    transform: translate(calc(-50% - 8px), calc(-50% + 8px)) scale(1.016);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes ecoBubbleFloatMobile {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(0, -18px, 0) scale(1.03);
  }
  50% {
    transform: translate3d(12px, -4px, 0) scale(0.99);
  }
  75% {
    transform: translate3d(-10px, 12px, 0) scale(1.02);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.eco-bubble--orange {
  animation-name: ecoBubbleFloatCenter;
}

body[data-page="mining"] .eco-bubble--gold {
  top: 50%;
  left: 50%;
  width: 352px;
  height: 352px;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation-name: ecoBubbleFloatCenter;
}

body[data-page="mining"] .eco-bubble--gold .eco-bubble__label {
  font-size: clamp(34px, 4vw, 52px);
}

body[data-page="mining"] .eco-bubble--gold.eco-bubble--link:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

body[data-page="mining"] .eco-bubble--gold.eco-bubble--link:active,
body[data-page="mining"] .eco-bubble--gold.eco-bubble--link.is-launching {
  transform: translate(-50%, -50%) scale(0.92);
}

body[data-page="mining"] .eco-bubble--blue {
  top: 16%;
  right: 8%;
  width: 168px;
  height: 168px;
}

body[data-page="mining"] .eco-bubble--green {
  bottom: 8%;
  left: 10%;
  width: 182px;
  height: 182px;
}

body[data-page="mining"] .eco-bubble--orange {
  top: 12%;
  left: 7%;
  right: auto;
  bottom: auto;
  width: 154px;
  height: 154px;
  transform: none;
  z-index: 1;
  animation-name: ecoBubbleFloat;
}

body[data-page="mining"] .eco-bubble--orange .eco-bubble__label {
  font-size: clamp(20px, 2vw, 28px);
}

body[data-page="mining"] .eco-bubble--orange.eco-bubble--link:hover {
  transform: translateY(-6px) scale(1.04);
}

body[data-page="mining"] .eco-bubble--orange.eco-bubble--link:active,
body[data-page="mining"] .eco-bubble--orange.eco-bubble--link.is-launching {
  transform: scale(0.92);
}

.countdown-book {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 40px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 190, 99, 0.14), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(109, 211, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(10, 20, 37, 0.9), rgba(5, 11, 21, 0.96));
}

.countdown-book__binding {
  position: absolute;
  left: 42px;
  top: 30px;
  bottom: 30px;
  width: 18px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 190, 99, 0.82) 0 10px,
      rgba(116, 75, 24, 0.92) 10px 20px
    );
  box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.22);
}

.countdown-book__page {
  width: min(100%, 720px);
  min-height: 340px;
  margin-left: 26px;
  padding: 34px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 240, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 249, 235, 0.98), rgba(245, 232, 206, 0.95));
  box-shadow:
    0 26px 56px rgba(2, 8, 18, 0.34),
    inset 0 0 0 1px rgba(129, 91, 24, 0.06);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
}

.countdown-book__eyebrow {
  color: #c28a2e;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.countdown-book__value {
  color: #162235;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 700;
  line-height: 0.95;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.countdown-book__value.is-flipping {
  transform: translateY(-4px) scale(1.02);
}

.countdown-book__status {
  color: #8a5d20;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}



.trade-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.8fr);
  gap: 20px;
}

.trade-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.chart-card,
.buy-panel,
.doc-card,
.jackpot-panel,
.bulletin-card,
.mini-fomo {
  padding: 22px;
}

.chart-card--secondary {
  padding-top: 24px;
}

.chart-frame {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 18px;
}

.chart-frame__y,
.chart-frame__x {
  color: var(--muted);
  font-size: 13px;
}

.chart-frame__y {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
}

.chart-frame__x {
  grid-column: 2;
  text-align: right;
}

.chart-canvas {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 123, 56, 0.12);
  border: 1px solid rgba(255, 190, 99, 0.22);
  color: #fff5d3;
  font-size: 12px;
}

.doc-flow {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.stake-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.stake-recent-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.doc-flow section {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.doc-flow h3 {
  margin-top: 0;
}

.whitepaper-flow {
  gap: 20px;
}

.whitepaper-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 99, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 99, 0.16), transparent 30%),
    radial-gradient(circle at left center, rgba(109, 211, 255, 0.12), transparent 24%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 190, 99, 0.05);
}

.whitepaper-hero__eyebrow,
.whitepaper-kpi__label,
.whitepaper-section__eyebrow,
.whitepaper-note__eyebrow {
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.whitepaper-hero__title {
  margin: 10px 0 12px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.05;
}

.whitepaper-hero__lede {
  margin: 0;
  color: #d8e8fb;
  font-size: 16px;
  line-height: 1.8;
}

.whitepaper-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.whitepaper-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #e7f2ff;
  font-size: 13px;
}

.whitepaper-summary {
  display: grid;
  gap: 12px;
}

.whitepaper-summary__card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.whitepaper-summary__card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.whitepaper-summary__card p,
.whitepaper-section p,
.whitepaper-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.whitepaper-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.whitepaper-kpi {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.whitepaper-kpi__value {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  line-height: 1.15;
}

.whitepaper-kpi__hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.whitepaper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.whitepaper-section,
.whitepaper-note {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.whitepaper-section h3,
.whitepaper-note h3 {
  margin: 10px 0 12px;
  font-size: 22px;
}

.whitepaper-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.whitepaper-list li {
  padding-left: 18px;
  position: relative;
  color: #dce9f9;
  line-height: 1.8;
}

.whitepaper-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--hot), var(--hot-2));
  box-shadow: 0 0 0 4px rgba(255, 190, 99, 0.08);
}

.whitepaper-manifesto {
  display: grid;
  gap: 18px;
}

.whitepaper-manifesto__lead {
  margin: 0;
  color: #eef6ff;
  font-size: 18px;
  line-height: 1.75;
}

.whitepaper-manifesto__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.whitepaper-manifesto__card {
  min-height: 108px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 99, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 99, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.025);
}

.whitepaper-manifesto__card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff4d0;
  font-size: 16px;
}

.whitepaper-manifesto__card p {
  color: var(--muted);
  line-height: 1.75;
}

.whitepaper-credo {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(109, 211, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(109, 211, 255, 0.08), rgba(255, 123, 56, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.whitepaper-credo__title {
  margin: 0;
  color: #fff4d0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.whitepaper-credo__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.whitepaper-credo__metric {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.whitepaper-credo__metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.whitepaper-credo__metric strong {
  display: block;
  margin-top: 8px;
  color: #f8fbff;
  font-size: 19px;
}

.whitepaper-credo__lines {
  display: grid;
  gap: 8px;
}

.whitepaper-credo__lines p {
  margin: 0;
}

.whitepaper-credo__claim {
  color: #eef6ff;
  font-weight: 700;
}

.whitepaper-credo__dedication {
  color: #ffdca3;
}

.whitepaper-release {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 99, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 99, 0.1), transparent 40%),
    rgba(255, 255, 255, 0.03);
}

.whitepaper-release__label {
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.whitepaper-release__value {
  margin-top: 10px;
  color: #fff4d0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.2;
  word-break: break-word;
}

.whitepaper-note {
  background:
    linear-gradient(145deg, rgba(255, 123, 56, 0.08), rgba(109, 211, 255, 0.05)),
    rgba(255, 255, 255, 0.03);
}

.whitepaper-timeline {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.whitepaper-timeline__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(135, 191, 255, 0.1);
}

.whitepaper-timeline__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.whitepaper-timeline__label {
  color: #fff2ca;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whitepaper-full {
  grid-column: 1 / -1;
}

.whitepaper-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.whitepaper-footer__card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(135, 191, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.whitepaper-footer__card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.whitepaper-footer__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.bulletin-stack {
  display: grid;
  gap: 16px;
}

.bulletin-date {
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.jackpot-shell {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 123, 56, 0.18), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(109, 211, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #030812 100%);
}

.jackpot-stage {
  display: grid;
  gap: 28px;
}

.jackpot-stage__hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.jackpot-countdown {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(96px, 18vw, 220px);
  line-height: 0.88;
  font-weight: 700;
  color: #fff5d3;
  text-shadow: 0 0 32px rgba(255, 190, 99, 0.14);
}

.jackpot-epoch-meta {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 245, 211, 0.78);
}

.jackpot-hero-grid {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jackpot-claim-actions {
  justify-content: center;
  margin-top: 6px;
}

.jackpot-stage__trend {
  width: 100%;
}

.jackpot-panel--trend {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 190, 99, 0.12), transparent 34%),
    radial-gradient(circle at left center, rgba(109, 211, 255, 0.1), transparent 26%),
    var(--panel-strong);
}

.jackpot-trend__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.jackpot-trend__header h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.08;
}

.jackpot-trend__toolbar {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.jackpot-trend__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.jackpot-trend__controls {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  z-index: 6;
}

.jackpot-trend__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 190, 99, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.jackpot-trend__control.is-active {
  color: #fff7d8;
  border-color: rgba(255, 190, 99, 0.32);
  background: rgba(255, 190, 99, 0.08);
}

.jackpot-trend__control--refresh {
  border-color: rgba(109, 211, 255, 0.18);
}

.jackpot-trend__control--fullscreen {
  border-color: rgba(255, 190, 99, 0.22);
}

.jackpot-trend__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 99, 0.24);
  background: rgba(255, 123, 56, 0.1);
  color: #fff5d3;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jackpot-trend__badge--cool {
  border-color: rgba(109, 211, 255, 0.22);
  background: rgba(109, 211, 255, 0.1);
  color: #dff4ff;
}

.jackpot-trend__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.jackpot-trend__stat {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 99, 0.1);
  background: rgba(255, 255, 255, 0.025);
  min-width: 0;
}

.jackpot-trend__stat span,
.jackpot-trend__stat small {
  display: block;
}

.jackpot-trend__stat span {
  color: var(--muted);
  font-size: 13px;
}

.jackpot-trend__stat strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.05;
  color: #fff2cf;
  overflow-wrap: anywhere;
}

.jackpot-trend__stat small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.jackpot-trend__chart-card {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(135, 191, 255, 0.12);
  background: rgba(3, 10, 18, 0.34);
  overflow: hidden;
}

.jackpot-trend__chart-card:fullscreen,
.jackpot-trend__chart-card.is-mobile-fullscreen {
  padding: 18px;
  background: rgba(3, 10, 18, 0.98);
}

.jackpot-trend__chart-card:fullscreen {
  width: 100vw;
  height: 100vh;
  overflow: auto;
}

.jackpot-trend__chart-card.is-mobile-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border-radius: 0;
}

.jackpot-trend__floating-fullscreen {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 99, 0.28);
  background: rgba(5, 10, 18, 0.82);
  color: #fff5d3;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.jackpot-trend__yheads {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.jackpot-trend__grid {
  min-width: 0;
}

.jackpot-trend__canvas-wrap {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  gap: 14px;
  align-items: stretch;
}

.jackpot-trend__canvas {
  position: relative;
  min-width: 0;
  aspect-ratio: 980 / 360;
  min-height: 360px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(135, 191, 255, 0.08);
  background: rgba(6, 15, 28, 0.88);
  overflow: hidden;
  touch-action: pan-y;
}

.jackpot-trend__chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.jackpot-trend__chart-grid line {
  stroke: rgba(135, 191, 255, 0.12);
  stroke-width: 1;
  stroke-dasharray: 6 14;
}

.jackpot-trend__chart-line {
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
}

.jackpot-trend__chart-line--1,
.jackpot-trend__chart-line--2 {
  filter: drop-shadow(0 0 5px rgba(255, 214, 131, 0.1));
}

.jackpot-trend__chart-line--3,
.jackpot-trend__chart-line--4 {
  filter: drop-shadow(0 0 10px rgba(255, 141, 87, 0.22));
}

.jackpot-trend__chart-band {
  filter: drop-shadow(0 0 14px rgba(255, 141, 87, 0.08));
}

.jackpot-trend__hover-guide {
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 214, 131, 0), rgba(255, 214, 131, 0.82), rgba(255, 214, 131, 0));
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.14s ease;
}

.jackpot-trend__hover-guide.is-visible {
  opacity: 1;
}

.jackpot-trend__hover-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--trend-dot, #fff);
  border: 2px solid rgba(7, 17, 31, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 214, 131, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.14s ease;
}

.jackpot-trend__hover-dot.is-visible {
  opacity: 1;
}

.jackpot-trend__tooltip {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 188px;
  max-width: min(260px, calc(100% - 20px));
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 214, 131, 0.22);
  background: rgba(5, 10, 18, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  color: #fff8e2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 0.14s ease;
  z-index: 3;
}

.jackpot-trend__tooltip.is-visible {
  opacity: 1;
}

.jackpot-trend__tooltip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.jackpot-trend__tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.jackpot-trend__tooltip-row + .jackpot-trend__tooltip-row {
  margin-top: 4px;
}

.jackpot-trend__tooltip-row span:last-child {
  text-align: right;
  color: #ffe7b7;
}

.jackpot-trend__scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  line-height: 1.1;
  padding: 10px 0;
}

.jackpot-trend__scale--left {
  text-align: right;
}

.jackpot-trend__scale--right {
  text-align: left;
}

.jackpot-trend__scale-overlay {
  position: absolute;
  top: 12px;
  bottom: 12px;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  color: #d9ecff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  line-height: 1.1;
}

.jackpot-trend__scale-overlay span {
  padding: 4px 6px;
  border-radius: 10px;
  background: rgba(5, 10, 18, 0.68);
  border: 1px solid rgba(135, 191, 255, 0.14);
  backdrop-filter: blur(6px);
}

.jackpot-trend__scale-overlay--left {
  left: 10px;
  align-items: flex-start;
}

.jackpot-trend__scale-overlay--right {
  right: 10px;
  align-items: flex-end;
}

.jackpot-trend__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px;
}

.jackpot-trend__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce9f8;
  font-size: 13px;
}

.jackpot-trend__legend-swatch {
  width: 20px;
  height: 3px;
  border-radius: 999px;
  display: inline-block;
}

.jackpot-trend__legend-note {
  flex: 1 1 100%;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.jackpot-trend__axis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.jackpot-trend__axis-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-family: "Space Grotesk", sans-serif;
}

.jackpot-trend__axis-chip.is-current {
  color: #fff7d8;
  border-color: rgba(255, 190, 99, 0.26);
  background: rgba(255, 190, 99, 0.08);
}

body.jackpot-chart-fullscreen {
  overflow: hidden;
}

.jackpot-trend__empty {
  padding: 28px 20px;
  border-radius: 20px;
  border: 1px dashed rgba(135, 191, 255, 0.18);
  text-align: center;
  color: var(--muted);
}

.jackpot-status-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 14px;
}

.jackpot-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.jackpot-hero-actions .action-btn {
  min-width: 124px;
}

.jackpot-card {
  min-width: 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 190, 99, 0.16);
}

.jackpot-card span {
  display: block;
  color: var(--muted);
}

.jackpot-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
}

.jackpot-card strong.jackpot-card__address {
  width: 100%;
  max-width: 100%;
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.jackpot-stage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.jackpot-panel-stack {
  display: grid;
  gap: 20px;
  align-content: start;
}

.jackpot-dual-board,
.jackpot-board-stack {
  display: grid;
  gap: 16px;
}

.jackpot-dual-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jackpot-board-stack {
  grid-template-columns: 1fr;
}

.jackpot-mini-board {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(135, 191, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.jackpot-panel--guide {
  align-self: start;
}

.mini-fomo {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 190, 99, 0.12), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(109, 211, 255, 0.12), transparent 32%),
    var(--panel-strong);
}

.mini-fomo::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 123, 56, 0.18), transparent 68%);
  pointer-events: none;
}

.mini-fomo__header,
.mini-fomo__footer {
  position: relative;
  z-index: 1;
}

.mini-fomo__footer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 0;
}

.mini-fomo__countdown {
  position: relative;
  z-index: 1;
  margin: 18px 0 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #fff5d3;
  text-shadow: 0 0 26px rgba(255, 190, 99, 0.14);
}

.mini-fomo__sub {
  position: relative;
  z-index: 1;
  margin: -6px 0 0;
  color: var(--muted);
}

.mini-fomo__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.mini-fomo__stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 190, 99, 0.14);
}

.mini-fomo__stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.mini-fomo__stat strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
}

.mini-fomo__cta {
  display: flex;
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 190, 99, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 190, 99, 0.12), rgba(109, 211, 255, 0.05)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.mini-fomo__cta h3 {
  margin: 0;
  font-size: 22px;
}

.mini-fomo__cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mini-fomo__pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff5d3;
}

.mini-fomo__pulse::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 rgba(255, 123, 56, 0.45);
  animation: pulse 1.8s infinite;
}

.mini-fomo__timeline {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.mini-fomo__timeline-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.1);
}

.mini-fomo__timeline-row strong {
  font-family: "Space Grotesk", sans-serif;
}

.mini-fomo__timeline-rank {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff5d3;
}

.mini-fomo__timeline-address {
  min-width: 0;
  font-size: 16px;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-fomo__timeline-amount {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ecf4ff;
  text-align: right;
  white-space: nowrap;
}

.mini-fomo__footer .trade-preview {
  display: grid;
  align-content: start;
  margin-top: 0;
}

.mini-fomo__footer .trade-preview__row {
  align-items: center;
}

.mini-fomo__footer .trade-preview span,
.mini-fomo__footer .trade-preview strong {
  white-space: nowrap;
}

.mini-fomo__footer .trade-preview strong {
  text-align: right;
}

.mini-fomo__footer .buy-actions {
  display: grid;
  align-content: stretch;
  margin-top: 0;
}

.mini-fomo__footer .action-btn {
  width: 100%;
  min-height: 52px;
}

.mini-fomo__epoch-board {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.mini-fomo__epoch-summary {
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.section-title--compact {
  align-items: center;
  margin-bottom: 0;
}

.section-title--compact h3 {
  margin: 0;
  font-size: 17px;
}

.feed-table--compact {
  margin-top: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px clamp(20px, 4vw, 56px) 36px;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 123, 56, 0.08), transparent 30%),
    linear-gradient(300deg, rgba(109, 211, 255, 0.1), transparent 34%);
  pointer-events: none;
}

.topbar,
.hero-grid,
.content {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand__copy {
  min-width: 0;
}

.brand__mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand__mark:not(img) {
  border-radius: 18px;
  background: linear-gradient(145deg, var(--hot), #f8472a);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 28px;
  box-shadow: 0 16px 30px rgba(255, 123, 56, 0.25);
}

.brand__mark--logo {
  display: block;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 14px 28px rgba(255, 166, 31, 0.34);
}

.brand h1,
.section-heading h2,
.section-title h2,
.section-title h3 {
  margin: 0;
}

.brand__copy h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__copy .eyebrow {
  margin-bottom: 4px;
}

.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(135, 191, 255, 0.18);
  border-radius: 16px;
  background: rgba(6, 15, 29, 0.82);
  box-shadow: 0 18px 40px rgba(3, 8, 18, 0.35);
  backdrop-filter: blur(12px);
}

.lang-switcher--inline {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  margin-left: 0;
  flex: 0 0 auto;
}

.lang-switcher button {
  border: 1px solid rgba(135, 191, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}

.lang-switcher button.is-active {
  border-color: rgba(255, 190, 99, 0.4);
  background: linear-gradient(180deg, rgba(255, 123, 56, 0.24), rgba(255, 190, 99, 0.14));
  color: #fff2ca;
}

.topbar__status,
.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.chip,
.tag,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-decoration: none;
  transition: 0.2s ease;
}

.nav-pill.is-active {
  color: #fff6da;
  background: rgba(255, 123, 56, 0.14);
  border-color: rgba(255, 190, 99, 0.28);
}

.wallet-btn {
  background: transparent;
  border: 1px solid rgba(255, 190, 99, 0.34);
  border-radius: 999px;
  color: #fff5d3;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  touch-action: manipulation;
}

.wallet-btn:disabled,
.action-btn:disabled,
.asset-switcher__btn:disabled,
.preset-group button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.wallet-btn--ghost {
  background: rgba(255, 123, 56, 0.14);
}

.wallet-modal-open {
  overflow: hidden;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.wallet-modal[hidden] {
  display: none;
}

.wallet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.68);
  backdrop-filter: blur(8px);
}

.wallet-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 28px));
  margin: 12vh auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 190, 99, 0.08), transparent 46%),
    rgba(7, 15, 24, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.wallet-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.wallet-modal__header h3 {
  margin: 0;
  font-size: 28px;
}

.wallet-modal__close {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.wallet-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wallet-modal__intro {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 190, 99, 0.18);
  border-radius: 18px;
  background: rgba(255, 190, 99, 0.08);
}

.wallet-modal__intro strong {
  color: #fff5d3;
  font-size: 15px;
}

.wallet-modal__intro span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.wallet-modal__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.wallet-modal__utility {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f8ff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.wallet-modal__utility:hover {
  border-color: rgba(255, 190, 99, 0.36);
  background: rgba(255, 123, 56, 0.08);
}

.wallet-modal__option {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(135, 191, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f8ff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.wallet-modal__option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 190, 99, 0.36);
  background: rgba(255, 123, 56, 0.08);
}

.wallet-modal__option strong {
  font-size: 20px;
}

.wallet-modal__option span {
  color: var(--muted);
  line-height: 1.55;
}

.wallet-modal__hint {
  margin: 16px 4px 0;
  color: var(--muted);
}

.wallet-modal__hint--warn {
  color: #fff5d3;
}

.wallet-modal__hint--error {
  color: #ffb3a1;
}

.launch-countdown-modal {
  position: fixed;
  inset: 0;
  z-index: 100100;
  pointer-events: none;
}

.launch-countdown-modal[hidden] {
  display: none;
}

.launch-countdown-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 190, 99, 0.18), transparent 28%),
    rgba(3, 8, 16, 0.82);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.launch-countdown-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 28px));
  margin: 8vh auto 0;
  padding: 30px 28px 34px;
  border: 1px solid rgba(255, 190, 99, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(255, 123, 56, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(9, 20, 36, 0.98), rgba(5, 12, 23, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  text-align: center;
  pointer-events: auto;
}

.launch-countdown-modal__eyebrow {
  margin: 0 0 12px;
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.launch-countdown-modal__title {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  color: #fff7df;
}

.launch-countdown-modal__timer {
  margin: 26px 0 18px;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(68px, 16vw, 150px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #fff2ca;
  text-shadow: 0 0 32px rgba(255, 190, 99, 0.18);
}

.launch-countdown-modal__summary {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.5;
  color: #f7fbff;
}

.launch-countdown-modal__hint {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.launch-countdown-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.chip--live,
.tag--warm {
  color: #fff7d4;
  background: rgba(255, 123, 56, 0.14);
  border-color: rgba(255, 190, 99, 0.32);
}

.tag--accent {
  color: #d9f5ff;
  background: rgba(109, 211, 255, 0.12);
}

.badge--onchain {
  color: #d8fff1;
  background: rgba(108, 245, 163, 0.12);
}

.badge--synced {
  color: #dff3ff;
  background: rgba(109, 211, 255, 0.14);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 20px;
}

.hero-side {
  display: grid;
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.card--glow {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 190, 99, 0.12), transparent 42%),
    var(--panel-strong);
}

.hero-main {
  padding: clamp(24px, 4vw, 36px);
}

.hero-main__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.hero-main__epoch {
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
}

.countdown-wrap {
  margin: 24px 0 32px;
}

.countdown {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(64px, 11vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.countdown-sub,
.helper,
.hero-note,
.section-hint,
.summary-card__sub,
.metric-label,
.address-label,
.stat__label {
  color: var(--muted);
}

.jackpot {
  margin-top: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #fff5d3;
}

.hero-note {
  max-width: 520px;
}

.last-player,
.viewer-card,
.ledger-card,
.summary-card {
  padding: 22px;
}

.address-row,
.table-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.address-value {
  font-family: "Space Grotesk", sans-serif;
}

.metric-pair,
.viewer-grid,
.summary-grid,
.panel-grid,
.ledger-grid,
.stats-grid {
  display: grid;
  gap: 16px;
}

.metric-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.metric-value,
.stat__value,
.summary-card__value {
  display: block;
  margin-top: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.metric-value {
  font-size: 24px;
}

.viewer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.content {
  padding: 0 clamp(20px, 4vw, 56px) 56px;
}

.panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

.stake-stage {
  margin-bottom: 28px;
}

.stake-stage--minimal {
  margin-bottom: 32px;
}

.stake-stage .card-stack {
  width: 100%;
}

.stake-minimal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.liquidity-stage {
  margin-bottom: 28px;
}

.liquidity-stage .card-stack {
  width: 100%;
}

.panel-grid > .card {
  padding: 22px;
}

.card-stack {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.card-stack > .card {
  padding: 22px;
}

.stake-side-column {
  grid-column: 1;
  display: grid;
  gap: 20px;
  align-content: start;
}

.card--overview {
  grid-column: auto;
}

.overview-actions {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 0 12px;
}

.overview-actions--stack {
  padding: 0;
}

.overview-actions--stack .buy-actions {
  margin-top: 0;
}

.overview-actions--stack .action-btn {
  width: 100%;
}

.card--stake-main {
  grid-column: 2;
}

.stake-minimal-main {
  padding: 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 190, 99, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(8, 15, 26, 0.94);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

body[data-page="stake"] #connectWalletButton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.stake-summary-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stake-summary-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.stake-summary-card__value {
  display: block;
  margin-top: 8px;
  color: #fff5d3;
  font: 700 22px/1.15 "Space Grotesk", "Noto Sans SC", sans-serif;
}

.stake-summary-strip--minimal .stake-summary-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(135, 191, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stake-primary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(240px, 0.72fr);
  gap: 18px;
  margin-top: 18px;
}

.stake-action-list--minimal {
  margin-top: 18px;
  gap: 12px;
}

.stake-account-sidecard {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(135, 191, 255, 0.12);
  display: grid;
  gap: 14px;
  align-content: start;
}

.stake-side-metrics {
  display: grid;
  gap: 12px;
}

.stake-side-metric {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 190, 99, 0.16);
}

.stake-side-metric strong {
  display: block;
  margin-top: 8px;
  color: #fff5d3;
  font: 700 16px/1.3 "Space Grotesk", "Noto Sans SC", sans-serif;
  word-break: break-word;
}

.secondary-panel__box--minimal {
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(18, 28, 40, 0.9);
  border: 1px solid rgba(135, 191, 255, 0.14);
}

.wallet-inline--minimal {
  margin: 18px 0 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.wallet-inline--minimal .wallet-status {
  font-size: 18px;
  line-height: 1.15;
}

.wallet-inline--minimal .wallet-address {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-all;
}

.stake-overview-box--minimal {
  margin-top: 16px;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.stake-overview-box--minimal .panel-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #d7e7f7;
}

.stake-overview-box--minimal .stake-overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stake-overview-box--minimal .stake-overview-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 190, 99, 0.12);
}

.stake-overview-box--minimal .stake-overview-item span {
  display: block;
  color: #9fb4c9;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.stake-overview-box--minimal .stake-overview-item strong {
  display: block;
  margin-top: 8px;
  color: #fff5d3;
  font: 700 18px/1.2 "Space Grotesk", "Noto Sans SC", sans-serif;
  word-break: break-word;
}

.stake-summary-strip--minimal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stake-summary-strip--minimal .stake-summary-box span {
  display: block;
  color: #9fb4c9;
  font-size: 12px;
  line-height: 1.4;
}

.stake-summary-strip--minimal .stake-summary-box strong {
  display: block;
  margin-top: 8px;
  color: #fff5d3;
  font: 700 18px/1.15 "Space Grotesk", "Noto Sans SC", sans-serif;
}

.stake-action-list--minimal .stake-action-row {
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.stake-action-list--minimal .stake-action-row__button {
  min-height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(135, 191, 255, 0.12);
  color: #eef5ff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.stake-action-list--minimal .stake-action-row__button.action-btn--primary {
  background: linear-gradient(180deg, rgba(255, 190, 99, 0.14), rgba(255, 190, 99, 0.06));
  border-color: rgba(255, 190, 99, 0.24);
  color: #fff4da;
}

.stake-action-list--minimal .stake-action-row__button[disabled] {
  color: rgba(232, 240, 252, 0.72);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(135, 191, 255, 0.14);
  opacity: 1;
  -webkit-text-fill-color: rgba(232, 240, 252, 0.72);
}

.stake-action-list--minimal .stake-action-row__value {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 190, 99, 0.18);
  background: rgba(5, 11, 19, 0.78);
  color: #fff5d3;
  font: 700 16px/1.2 "Space Grotesk", "Noto Sans SC", sans-serif;
  display: flex;
  align-items: center;
}

.stake-action-list--minimal .stake-action-row__value--input {
  color: #eef6ff;
  background: rgba(3, 9, 15, 0.92);
}

.secondary-panel__box--minimal .section-title--compact {
  margin-bottom: 14px;
}

.secondary-panel__box--minimal .secondary-list {
  display: grid;
  gap: 10px;
}

.secondary-panel__box--minimal .secondary-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.1);
}

.secondary-panel__box--minimal .secondary-list span {
  display: block;
  color: #9fb4c9;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.secondary-panel__box--minimal .secondary-list strong {
  display: block;
  margin-top: 8px;
  color: #fff5d3;
  font: 700 16px/1.25 "Space Grotesk", "Noto Sans SC", sans-serif;
  word-break: break-word;
}

#stakeHint {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #d7e7f7;
}

.card--liquidity-main {
  grid-column: 2;
}

.card--full {
  grid-column: 1 / -1;
}

.overview-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.stake-actions-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: 18px;
  margin-top: 18px;
}

.stake-actions-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.stake-action-list {
  display: grid;
  gap: 10px;
}

.stake-action-row {
  display: grid;
  grid-template-columns: minmax(118px, 0.72fr) minmax(0, 1.28fr);
  gap: 10px;
  align-items: stretch;
}

.stake-action-row .action-btn {
  min-height: 52px;
  justify-content: center;
  white-space: normal;
}

.stake-action-value {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 190, 99, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff5d3;
  padding: 12px 14px;
  font: 700 15px/1.2 "Space Grotesk", "Noto Sans SC", sans-serif;
  letter-spacing: 0.01em;
  outline: none;
}

.stake-action-value[readonly] {
  color: rgba(226, 236, 255, 0.92);
  cursor: default;
}

.stake-action-value--editable {
  border-color: rgba(109, 211, 255, 0.24);
  background: rgba(2, 8, 17, 0.2);
}

.stake-action-value--editable:focus {
  border-color: rgba(109, 211, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(109, 211, 255, 0.12);
}

.stake-actions-main,
.stake-actions-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.stake-actions-main {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.buy-actions--stack {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.stake-epoch-note {
  margin: 2px 0 0;
  color: #fff5d3;
  line-height: 1.7;
}

.permission-banner {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 99, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 123, 56, 0.12), rgba(109, 211, 255, 0.06)),
    rgba(255, 255, 255, 0.03);
}

.permission-banner strong {
  display: block;
  margin-bottom: 8px;
  color: #fff5d3;
}

.asset-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}

.wallet-inline {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  margin: 18px 0 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.wallet-session-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.wallet-status {
  margin-top: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff5d3;
}

.wallet-address {
  margin-top: 8px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  word-break: break-all;
}

.wallet-address--invite {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(109, 211, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(109, 211, 255, 0.08), rgba(255, 123, 56, 0.08)),
    rgba(255, 255, 255, 0.03);
  color: #fff5d3;
  font-size: 15px;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.invite-link-panel {
  min-width: 0;
}

.invite-link-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.invite-link-row strong {
  min-width: 0;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.invite-link-copy-btn {
  min-width: 110px;
  padding: 10px 14px;
}

.trade-runtime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.runtime-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.runtime-pill strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}

.trade-status-card {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.trade-status-card__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.trade-status-card__row strong {
  font-family: "Space Grotesk", sans-serif;
  text-align: right;
  word-break: break-all;
}

.trade-rules-meta {
  margin-top: 0;
  margin-bottom: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
}

.trade-rules-meta .trade-status-card__row {
  display: grid;
  gap: 6px;
  align-content: start;
}

.trade-rules-meta .trade-status-card__row span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.trade-rules-meta .trade-status-card__row strong {
  text-align: left;
  line-height: 1.25;
}

.fomo-preview-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.mono-link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(135, 191, 255, 0.25);
}

.mono-link:hover {
  color: #fff5d3;
  border-bottom-color: rgba(255, 190, 99, 0.45);
}

.asset-switcher__btn,
.preset-group button {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: 0.2s ease;
}

.asset-switcher__btn {
  padding: 12px 16px;
}

.asset-switcher__btn.is-active,
.preset-group button:hover {
  background: rgba(255, 123, 56, 0.18);
  border-color: rgba(255, 190, 99, 0.3);
}

.preset-group button.is-active {
  background: rgba(109, 211, 255, 0.14);
  border-color: rgba(109, 211, 255, 0.3);
}

.preset-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.preset-group button {
  padding: 12px 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
}

.quick-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: -4px;
}

.quick-row__note {
  color: var(--muted);
  font-size: 13px;
}

.invite-link-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 14px;
}

.inline-link-btn {
  border: 0;
  background: transparent;
  color: #d9f5ff;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link-btn:hover {
  color: #fff5d3;
}

.input-shell {
  display: grid;
  gap: 8px;
}

.input-shell input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 8, 17, 0.55);
  color: var(--text);
  padding: 14px 16px;
  font-size: 16px;
}

.entry-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.entry-flow__node {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(109, 211, 255, 0.08);
  border: 1px solid rgba(109, 211, 255, 0.18);
}

.entry-flow__arrow {
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
}

.trade-preview {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
  display: grid;
  gap: 10px;
}

.trade-preview__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.invite-manager-panel {
  margin-top: 18px;
}

.invite-lookup-result {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(135, 191, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #dbe9ff;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.invite-lookup-result strong {
  color: #ffffff;
}

.invite-lookup-result--ok {
  border-color: rgba(120, 255, 208, 0.28);
  color: #d8fff1;
}

.invite-lookup-result--warn {
  border-color: rgba(255, 227, 138, 0.24);
  color: #fff5d3;
}

.invite-lookup-result--error {
  border-color: rgba(255, 146, 119, 0.26);
  color: #ffb3a1;
}

.buy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.buy-actions--single {
  grid-template-columns: 1fr;
}

.buy-actions--swap-sell-links {
  margin-top: 8px;
  justify-items: center;
  gap: 10px;
}

.buy-actions--swap-sell-links .action-btn {
  width: min(320px, 100%);
  min-height: 42px;
  padding: 10px 18px;
  justify-content: center;
  text-align: center;
  font-size: 14px;
}

.action-btn--buy {
  background: linear-gradient(145deg, var(--hot), #f8472a);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.helper--strong {
  margin-top: 12px;
  color: #dbe9ff;
}

.helper--ok {
  color: #d8fff1;
}

.helper--warn {
  color: #fff5d3;
}

.helper--error {
  color: #ffb3a1;
}

.list-stack,
.feed-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.leader-item,
.feed-row {
  display: grid;
  grid-template-columns: 70px 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(135, 191, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.feed-row--invite {
  grid-template-columns: minmax(0, 2.3fr) minmax(110px, 0.82fr) minmax(110px, 0.82fr) minmax(110px, 0.82fr) minmax(110px, 0.9fr);
  align-items: start;
}

body[data-page="invite"] .feed-row--invite {
  grid-template-columns: minmax(200px, 1.8fr) repeat(3, minmax(120px, 0.85fr)) minmax(180px, 1fr);
  align-items: center;
}

body[data-page="invite"] .feed-row--invite > span,
body[data-page="invite"] .feed-row--invite > strong {
  text-align: center;
}

body[data-page="invite"] .feed-row--invite > span:first-child,
body[data-page="invite"] .feed-row--invite > strong:first-child {
  text-align: center;
}

body[data-page="invite"] .leader-item--referral {
  grid-template-columns: 92px minmax(200px, 1.9fr) minmax(120px, 0.85fr) minmax(150px, 1fr);
  align-items: center;
}

body[data-page="invite"] .leader-item--referral > span,
body[data-page="invite"] .leader-item--referral > strong {
  text-align: center;
}

.feed-row--jackpot {
  grid-template-columns: minmax(0, 2.05fr) minmax(205px, 1.34fr) minmax(126px, 0.92fr) minmax(118px, 0.84fr);
  align-items: center;
  column-gap: 18px;
}

.feed-row--jackpot-history {
  grid-template-columns: minmax(0, 2.4fr) minmax(120px, 0.95fr) minmax(140px, 1fr) minmax(140px, 1fr);
  align-items: start;
}

body[data-page="trade"] .feed-row--trade-epoch {
  grid-template-columns: minmax(0, 2fr) minmax(150px, 1.18fr) minmax(104px, 0.8fr) minmax(110px, 0.9fr);
  gap: 10px;
  padding: 11px 12px;
  align-items: center;
}

body[data-page="trade"] .feed-row--trade-epoch > strong,
body[data-page="trade"] .feed-row--trade-epoch > span {
  min-width: 0;
  white-space: nowrap;
  line-height: 1.15;
}

body[data-page="trade"] .feed-row--trade-epoch > strong:nth-child(n + 2),
body[data-page="trade"] .feed-row--trade-epoch > span:nth-child(n + 2) {
  text-align: right;
}

body[data-page="trade"] .feed-row--trade-epoch > strong {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-page="trade"] .feed-row--trade-epoch .feed-row__address {
  min-width: 0;
}

body[data-page="trade"] .feed-row--trade-epoch .feed-row__address--with-copy {
  min-width: 0;
  width: auto;
  max-width: 100%;
}

body[data-page="trade"] .feed-row--trade-epoch .feed-row__address-text {
  font-size: 13px;
}

body[data-page="trade"] .feed-row--trade-epoch .feed-row__copy-btn {
  min-width: 28px;
  height: 18px;
  padding: 0 5px;
  font-size: 9px;
}

.feed-row--fomo-preview {
  grid-template-columns: 84px minmax(88px, 0.8fr) minmax(160px, 1.25fr) minmax(88px, 0.8fr) minmax(160px, 1.25fr);
}

.stake-activity-card {
  overflow: hidden;
}

.stake-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stake-activity-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(135, 191, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.018);
}

.feed-table--stake-activity {
  gap: 8px;
}

.feed-row--stake-activity {
  grid-template-columns: minmax(132px, 1.15fr) minmax(112px, 0.9fr) minmax(156px, 1.05fr);
  padding: 12px 14px;
  border-radius: 14px;
}

.feed-row--stake-activity > strong {
  color: #dff4ff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.feed-row--stake-activity > span:nth-child(n + 2),
.feed-row--stake-activity > strong:nth-child(n + 2) {
  text-align: right;
}

.feed-row--stake-activity .feed-row__address--with-copy {
  min-width: 0;
}

.feed-row--stake-activity .feed-row__address-text {
  font-size: 13px;
}

.feed-row--stake-activity .feed-row__copy-btn {
  min-width: 32px;
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
}

.leader-item--guide {
  grid-template-columns: 70px minmax(120px, 0.9fr) minmax(0, 1.9fr) minmax(120px, 0.8fr);
  align-items: start;
}

.leader-item--guide-rich {
  align-items: stretch;
}

.guide-rich-copy {
  display: grid;
  gap: 10px;
  line-height: 1.7;
}

.guide-rich-copy strong {
  font-size: 15px;
  color: #fff5d3;
}

.guide-rich-copy p {
  margin: 0;
  white-space: normal;
}

.guide-rich-copy ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.guide-rich-copy li {
  line-height: 1.65;
}

.site-contact-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr);
  gap: 24px;
  margin-top: 28px;
  padding: 26px 28px;
  border-top: 1px solid rgba(255, 184, 74, 0.14);
  border-bottom: 1px solid rgba(255, 184, 74, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 166, 0, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.site-contact-footer__brand {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-content: start;
}

.site-contact-footer__brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff7db;
  background: linear-gradient(145deg, #ffb347, #ff8a00);
  box-shadow: 0 10px 28px rgba(255, 138, 0, 0.24);
}

.site-contact-footer__brand-copy strong {
  display: block;
  margin-bottom: 14px;
  color: #ffbf54;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  letter-spacing: 0.28em;
}

.site-contact-footer__brand-copy p,
.site-contact-footer__intro p {
  margin: 0;
  color: #d4c4a2;
  line-height: 1.7;
}

.site-contact-footer__links {
  display: grid;
  gap: 14px;
}

.site-contact-footer__intro strong {
  display: block;
  margin-bottom: 8px;
  color: #fff4d1;
  font-size: 24px;
}

.site-contact-footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 184, 74, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: #efe2c6;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.site-contact-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 184, 74, 0.3);
  background: rgba(255, 184, 74, 0.08);
}

.site-contact-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  color: #d5c5ab;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1;
}

.site-contact-chip--button {
  cursor: pointer;
  font: inherit;
}

.site-contact-chip__copy-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-contact-chip__copy-value {
  color: #ffcf78;
  font-family: "Space Grotesk", sans-serif;
}

.site-contact-chip__copy-action {
  color: #bfa981;
  font-size: 13px;
}

.leader-item--stake,
.leader-item--dividend,
.leader-item--referral {
  grid-template-columns: minmax(0, 1.55fr) minmax(92px, 0.9fr) minmax(92px, 0.9fr) 58px;
  gap: 8px;
}

.leader-item--board-head {
  background: rgba(109, 211, 255, 0.06);
  border-color: rgba(109, 211, 255, 0.16);
}

.leader-item--board-head strong {
  color: #dff4ff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leader-item__address {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#jackpotStakeLeaderboard .leader-item--stake > span:nth-child(2),
#jackpotStakeLeaderboard .leader-item--stake > span:nth-child(3),
#jackpotDividendLeaderboard .leader-item--dividend > span:nth-child(2),
#jackpotDividendLeaderboard .leader-item--dividend > span:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}

.leader-item__rank {
  justify-self: end;
  text-align: right;
  color: #fff5d3;
}

#jackpotStakeLeaderboard .leader-item--board-head strong:nth-child(2),
#jackpotStakeLeaderboard .leader-item--board-head strong:nth-child(3),
#jackpotStakeLeaderboard .leader-item--board-head strong:nth-child(4),
#jackpotDividendLeaderboard .leader-item--board-head strong:nth-child(2),
#jackpotDividendLeaderboard .leader-item--board-head strong:nth-child(3),
#jackpotDividendLeaderboard .leader-item--board-head strong:nth-child(4) {
  text-align: right;
}

.section-title--sub {
  margin-top: 28px;
}

.section-title--sub h3 {
  margin: 0;
}

.leader-item--referral > span:nth-child(n + 3),
.leader-item--referral > strong:nth-child(n + 3) {
  text-align: right;
}

.leader-item__address--referral {
  min-width: 0;
}

.leader-item__address-compact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.leader-item__address-text {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-item__copy-btn {
  min-width: 28px;
  height: 18px;
  padding: 0 4px;
  font-size: 9px;
  line-height: 1;
}

.leader-item__address .feed-row__address--with-copy {
  width: 100%;
}

.feed-row__address {
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.feed-row__address--with-copy {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  max-width: 100%;
  justify-self: start;
  min-height: 24px;
  word-break: normal;
  overflow-wrap: normal;
}

.feed-row__address-text {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-row__copy-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 99, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff5d3;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  margin-left: -1px;
}

.feed-row__copy-btn:hover {
  background: rgba(255, 190, 99, 0.12);
  border-color: rgba(255, 190, 99, 0.45);
  transform: translateY(-1px);
}

.feed-row__copy-btn:active {
  transform: translateY(0);
}

.jackpot-shell .feed-row--jackpot > strong:nth-child(n + 2),
.jackpot-shell .feed-row--jackpot > span:nth-child(n + 2),
.jackpot-shell .feed-row--jackpot-history > strong:nth-child(n + 2),
.jackpot-shell .feed-row--jackpot-history > span:nth-child(n + 2) {
  white-space: nowrap;
  text-align: left;
  min-width: 0;
}

.leader-item strong,
.feed-row strong {
  font-family: "Space Grotesk", sans-serif;
}

.section-block {
  margin-bottom: 28px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 16px;
}

.ledger-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 18px;
}

.invite-stats-grid .stat__value {
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.14;
  word-break: break-word;
}

.invite-stats-grid .stat {
  padding: 13px 14px;
  border-radius: 16px;
}

.invite-stats-grid .stat__label {
  font-size: 12px;
  line-height: 1.35;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.stake-active-meta {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.stake-active-meta--ready {
  color: #fff5d3;
}

.stat__value {
  font-size: 24px;
}

.table-card {
  margin-top: 18px;
  border-top: 1px solid rgba(135, 191, 255, 0.12);
  padding-top: 16px;
  display: grid;
  gap: 12px;
}

.healthy {
  color: var(--green);
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card__value {
  font-size: 28px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 123, 56, 0.45);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(255, 123, 56, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 123, 56, 0);
  }
}

.page-shell--admin .hero,
.admin-header {
  padding: 28px clamp(20px, 4vw, 56px) 18px;
}

.brand__mark--admin {
  background: linear-gradient(145deg, #2ca5ff, #1571d8);
  box-shadow: 0 16px 30px rgba(44, 165, 255, 0.2);
}

.admin-content {
  padding-top: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.admin-grid--hero {
  align-items: stretch;
}

.admin-hero,
.admin-ops-owners,
.admin-panel {
  padding: 22px;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat--warn {
  border: 1px solid rgba(255, 190, 99, 0.18);
}

.stat--ok {
  border: 1px solid rgba(108, 245, 163, 0.18);
}

.admin-alert-list,
.admin-data-list,
.ops-feed {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-alert,
.admin-data-row,
.ops-feed__row,
.notice-preview {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(135, 191, 255, 0.12);
}

.admin-alert p,
.notice-preview p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-alert--critical {
  border-color: rgba(255, 123, 56, 0.28);
  background: rgba(255, 123, 56, 0.08);
}

.admin-alert--warning {
  border-color: rgba(255, 190, 99, 0.22);
}

.admin-alert--info {
  border-color: rgba(109, 211, 255, 0.22);
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.action-btn {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  min-height: 44px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.action-btn:not(:disabled):active,
.action-btn[data-primed="true"] {
  transform: translateY(1px) scale(0.992);
  border-color: rgba(109, 211, 255, 0.34);
  background: rgba(109, 211, 255, 0.14);
}

.action-btn[aria-busy="true"] {
  box-shadow: 0 0 0 1px rgba(109, 211, 255, 0.22), 0 10px 24px rgba(2, 8, 17, 0.18);
}

.action-btn:disabled,
.action-btn.action-btn--disabled {
  color: rgba(226, 236, 255, 0.42);
  background: linear-gradient(180deg, rgba(124, 132, 142, 0.14), rgba(91, 98, 108, 0.1));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: none;
  filter: grayscale(0.45) saturate(0.55);
  transform: none;
}

.action-btn--primary:disabled,
.action-btn--buy:disabled,
.action-btn--primary.action-btn--disabled,
.action-btn--buy.action-btn--disabled {
  background: linear-gradient(180deg, rgba(124, 132, 142, 0.16), rgba(91, 98, 108, 0.12));
  border-color: rgba(148, 163, 184, 0.2);
}

.action-btn--primary {
  background: rgba(109, 211, 255, 0.12);
  border-color: rgba(109, 211, 255, 0.24);
}

.action-btn--danger {
  background: rgba(255, 123, 56, 0.12);
  border-color: rgba(255, 123, 56, 0.28);
}

.text-area,
.select-shell {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 8, 17, 0.55);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
}

.text-area {
  min-height: 120px;
  resize: vertical;
}

.notice-preview__eyebrow,
.ops-feed__time,
.ops-feed__type {
  color: var(--hot-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ops-feed__row {
  display: grid;
  grid-template-columns: 90px 90px 1fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 1080px) {
  .hero-grid,
  .panel-grid,
  .ledger-grid,
  .summary-grid,
  .admin-grid,
  .admin-kpis,
  .trade-hero,
  .trade-grid,
  .jackpot-stage__grid,
  .jackpot-hero-grid,
  .jackpot-dual-board,
  .jackpot-board-stack,
  .mini-fomo__stats,
  .whitepaper-grid,
  .whitepaper-kpis,
  .whitepaper-footer,
  .whitepaper-hero,
  .whitepaper-manifesto__grid,
  .whitepaper-credo__metrics {
    grid-template-columns: 1fr;
  }

  .jackpot-trend__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jackpot-trend__chart-card {
    padding: 16px;
  }

  .stake-action-row {
    grid-template-columns: minmax(104px, 0.74fr) minmax(0, 1.26fr);
  }

  .leader-item--stake,
  .leader-item--dividend {
    grid-template-columns: 78px minmax(0, 2.1fr) minmax(132px, 1fr) minmax(132px, 1fr);
  }
}

@media (max-width: 720px) {
  .site-shell,
  .jackpot-shell {
    padding: 22px 16px 40px;
  }

  .site-header,
  .jackpot-topbar,
  .topbar,
  .section-heading,
  .hero-main__meta,
  .address-row,
  .table-card__row,
  .ops-feed__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-pair,
  .viewer-grid,
  .stats-grid,
  .trade-runtime-grid,
  .wallet-inline,
  .buy-actions,
  .stake-actions-layout,
  .card-stack {
    grid-template-columns: 1fr;
  }

  .stake-summary-duo {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stake-minimal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stake-overview-box--minimal .stake-overview-list,
  .stake-summary-strip--minimal {
    grid-template-columns: 1fr;
  }

  .stake-action-list--minimal .stake-action-row {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 10px;
  }

  .stake-action-list--minimal .stake-action-row__button {
    min-height: 48px;
    font-size: 12px;
    padding: 0 10px;
  }

  .stake-action-list--minimal .stake-action-row__value {
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
  }

  .stake-summary-card {
    padding: 14px;
  }

  .stake-summary-card__value {
    font-size: 18px;
  }

  .stake-primary-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stake-account-sidecard {
    padding: 14px;
  }

  .card--overview,
  .card--stake-main,
  .card--liquidity-main,
  .card--full {
    grid-column: 1 / -1;
  }

  .site-actions {
    width: 100%;
  }

  .site-actions .lang-switcher--inline {
    margin-left: auto;
  }

  .site-actions .wallet-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .stake-action-row {
    grid-template-columns: minmax(96px, 0.78fr) minmax(0, 1.22fr);
    gap: 8px;
  }

  .stake-action-row .action-btn,
  .stake-action-value {
    min-height: 50px;
    border-radius: 14px;
    font-size: 14px;
    padding: 10px 12px;
  }

  .user-tab {
    min-width: calc(50% - 5px);
    min-height: 52px;
    padding: 12px 14px;
  }

  .wallet-modal__grid {
    grid-template-columns: 1fr;
  }

  .wallet-modal__actions {
    justify-content: stretch;
  }

  .wallet-modal__utility {
    width: 100%;
  }

  .wallet-modal__option {
    min-height: 108px;
  }

  .wallet-modal__panel {
    margin-top: 8vh;
    width: min(560px, calc(100vw - 20px));
    padding: 18px;
  }

  .launch-countdown-modal__panel {
    width: min(100vw - 20px, 720px);
    margin-top: 10vh;
    padding: 24px 18px 26px;
    border-radius: 26px;
  }

  .launch-countdown-modal__summary {
    font-size: 19px;
  }

  .launch-countdown-modal__hint {
    font-size: 14px;
  }

  .mini-fomo__timeline-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    align-items: center;
  }

  .mini-fomo__footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mini-fomo__timeline-rank {
    font-size: 15px;
  }

  .mini-fomo__timeline-address {
    font-size: 14px;
  }

  .mini-fomo__timeline-amount {
    font-size: 13px;
  }

  .mini-fomo__footer .trade-preview span,
  .mini-fomo__footer .trade-preview strong {
    white-space: normal;
  }

  .stake-activity-grid {
    grid-template-columns: 1fr;
  }

  .stake-activity-panel {
    padding: 14px;
  }

  .feed-row--stake-activity {
    grid-template-columns: minmax(94px, 1.05fr) minmax(82px, 0.86fr) minmax(76px, 0.82fr);
    gap: 5px;
    padding: 9px 8px;
    min-height: 48px;
    align-items: center;
  }

  .feed-row--stake-activity > strong,
  .feed-row--stake-activity > span {
    min-width: 0;
    font-size: 11px;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .feed-row--stake-activity .feed-row__address-text {
    font-size: 10.5px;
  }

  .feed-row--stake-activity .feed-row__copy-btn {
    min-width: 22px;
    height: 15px;
    padding: 0 3px;
    font-size: 8px;
    margin-left: 1px;
  }

  .whitepaper-hero,
  .whitepaper-section,
  .whitepaper-note,
  .whitepaper-kpi,
  .whitepaper-footer__card {
    padding: 18px;
  }

  .whitepaper-hero__title {
    font-size: 30px;
  }

  .whitepaper-kpi__value {
    font-size: 22px;
  }

  .whitepaper-timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-contact-footer {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .site-contact-footer__brand {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .site-contact-footer__intro strong {
    font-size: 20px;
  }

  .site-contact-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .leader-item,
  .feed-row {
    grid-template-columns: 1fr;
  }

  body[data-page="stake"] .feed-row.feed-row--stake-activity {
    grid-template-columns: minmax(0, 1.22fr) minmax(104px, 0.9fr) minmax(92px, 0.82fr);
    gap: 8px;
    min-height: 52px;
    padding: 10px 12px;
    align-items: center;
  }

  body[data-page="stake"] .feed-row.feed-row--stake-activity > strong,
  body[data-page="stake"] .feed-row.feed-row--stake-activity > span {
    min-width: 0;
    font-size: 11px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-page="stake"] .feed-row.feed-row--stake-activity > strong:nth-child(n + 2),
  body[data-page="stake"] .feed-row.feed-row--stake-activity > span:nth-child(n + 2) {
    text-align: right;
  }

  body[data-page="stake"] .feed-row.feed-row--stake-activity .feed-row__address--with-copy {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body[data-page="stake"] .feed-row.feed-row--stake-activity .feed-row__address-text {
    font-size: 11px;
  }

  body[data-page="stake"] .feed-row.feed-row--stake-activity .feed-row__copy-btn {
    min-width: 24px;
    height: 16px;
    padding: 0 4px;
    font-size: 8px;
    margin-left: 2px;
  }

  .jackpot-mini-board {
    padding: 12px;
    gap: 10px;
  }

  .jackpot-shell .feed-row--jackpot,
  .jackpot-shell .feed-row--jackpot-history {
    grid-template-columns: minmax(0, 1.46fr) minmax(108px, 1.16fr) minmax(64px, 0.7fr) minmax(74px, 0.78fr);
    gap: 8px;
    padding: 10px 10px;
    align-items: center;
  }

  .jackpot-shell .feed-row--jackpot strong,
  .jackpot-shell .feed-row--jackpot-history strong,
  .jackpot-shell .feed-row--jackpot span,
  .jackpot-shell .feed-row--jackpot-history span {
    font-size: 12px;
    line-height: 1.18;
    min-width: 0;
  }

  .jackpot-shell .feed-row--jackpot > strong:nth-child(2),
  .jackpot-shell .feed-row--jackpot > span:nth-child(2) {
    white-space: nowrap;
  }

  .jackpot-shell .feed-row--jackpot > span:not(.feed-row__address),
  .jackpot-shell .feed-row--jackpot-history > span:not(.feed-row__address),
  .jackpot-shell .feed-row--jackpot > strong:not(:first-child),
  .jackpot-shell .feed-row--jackpot-history > strong:not(:first-child) {
    text-align: right;
  }

  .jackpot-shell .feed-row__address--with-copy {
    min-height: 24px;
    align-items: center;
    gap: 0;
    width: auto;
    max-width: 100%;
  }

  .jackpot-shell .feed-row__address-text {
    display: inline-block;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.1;
  }

  .jackpot-shell .feed-row__copy-btn {
    min-width: 24px;
    height: 16px;
    padding: 0 4px;
    font-size: 8px;
    margin-left: -1px;
  }

  .jackpot-shell .feed-row__copy-btn:hover,
  .jackpot-shell .feed-row__copy-btn:active {
    transform: none;
  }

  body[data-page="trade"] .mini-fomo__epoch-board {
    gap: 10px;
  }

  body[data-page="trade"] .section-title--compact h3 {
    font-size: 14px;
  }

  body[data-page="trade"] .feed-table--compact {
    gap: 8px;
  }

  body[data-page="trade"] .feed-row--trade-epoch {
    grid-template-columns: minmax(0, 1.45fr) minmax(88px, 1fr) minmax(62px, 0.68fr) minmax(72px, 0.78fr);
    gap: 6px;
    padding: 9px 8px;
  }

  body[data-page="trade"] .feed-row--trade-epoch > strong,
  body[data-page="trade"] .feed-row--trade-epoch > span {
    font-size: 11px;
  }

  body[data-page="trade"] .feed-row--trade-epoch .feed-row__address--with-copy {
    min-height: 20px;
  }

  body[data-page="trade"] .feed-row--trade-epoch .feed-row__address-text {
    font-size: 11px;
    line-height: 1.05;
  }

  body[data-page="trade"] .feed-row--trade-epoch .feed-row__copy-btn {
    min-width: 20px;
    height: 14px;
    padding: 0 3px;
    font-size: 7px;
    margin-left: -1px;
  }

  body[data-page="trade"] .feed-row--trade-epoch .feed-row__copy-btn:hover,
  body[data-page="trade"] .feed-row--trade-epoch .feed-row__copy-btn:active {
    transform: none;
  }

  .trade-rules-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .trade-rules-meta .trade-status-card__row {
    gap: 4px;
  }

  .trade-rules-meta .trade-status-card__row span,
  .trade-rules-meta .trade-status-card__row strong,
  .trade-rules-meta .trade-status-card__row a {
    font-size: 11px;
  }

  .leader-item--stake,
  .leader-item--dividend,
  .leader-item--referral {
    grid-template-columns: 52px minmax(0, 1.35fr) minmax(82px, 0.9fr) minmax(82px, 0.9fr);
    gap: 8px;
    padding: 10px;
  }

  .leader-item--board-head strong,
  .leader-item--stake span,
  .leader-item--stake strong,
  .leader-item--dividend span,
  .leader-item--dividend strong,
  .leader-item--referral span,
  .leader-item--referral strong {
    font-size: 11px;
    line-height: 1.2;
  }

  .leader-item__rank {
    text-align: left;
  }

  body[data-page="invite"] .leader-item--referral {
    grid-template-columns: 42px minmax(86px, 1fr) minmax(54px, 0.58fr) minmax(84px, 0.92fr);
    gap: 6px;
    padding: 10px 8px;
    align-items: center;
  }

  body[data-page="invite"] .leader-item--referral span,
  body[data-page="invite"] .leader-item--referral strong {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10.5px;
    line-height: 1.08;
  }

  body[data-page="invite"] .leader-item--referral > span:nth-child(n + 3),
  body[data-page="invite"] .leader-item--referral > strong:nth-child(n + 3) {
    text-align: right;
  }

  body[data-page="invite"] .leader-item--referral .leader-item__address-compact {
    gap: 3px;
  }

  body[data-page="invite"] .leader-item--referral .leader-item__address-text {
    max-width: 52px;
  }

  body[data-page="invite"] .leader-item--referral .leader-item__copy-btn {
    min-width: 24px;
    height: 15px;
    padding: 0 3px;
    font-size: 7px;
  }

  .jackpot-panel--trend {
    padding: 18px;
  }

  .jackpot-trend__header,
  .jackpot-trend__row-head,
  .jackpot-trend__row-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .jackpot-trend__meta {
    justify-content: flex-start;
  }

  .jackpot-trend__toolbar,
  .jackpot-trend__controls {
    width: 100%;
  }

  .jackpot-trend__controls {
    gap: 8px;
  }

  .jackpot-trend__control {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .jackpot-trend__control--fullscreen {
    flex-basis: 100%;
  }

  .jackpot-trend__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .jackpot-trend__stat {
    padding: 12px;
  }

  .jackpot-trend__stat span {
    font-size: 11px;
    line-height: 1.3;
  }

  .jackpot-trend__stat strong {
    margin-top: 6px;
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.12;
  }

  .jackpot-trend__stat small {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.35;
  }

  .jackpot-trend__chart-card {
    padding: 10px;
  }

  .jackpot-trend__floating-fullscreen {
    display: inline-flex;
    top: 10px;
    right: 10px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 10px;
  }

  .jackpot-trend__yheads {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .jackpot-trend__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jackpot-trend__canvas-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .jackpot-trend__canvas {
    aspect-ratio: 1 / 1.26;
    min-height: 420px;
    padding: 12px 38px;
  }

  .jackpot-trend__scale {
    display: none;
  }

  .jackpot-trend__scale-overlay {
    display: flex;
  }

  .jackpot-trend__scale-overlay span {
    max-width: 64px;
    font-size: 9px;
    white-space: nowrap;
  }

  .jackpot-trend__legend {
    gap: 8px 12px;
    margin-top: 8px;
  }

  .jackpot-trend__legend-item,
  .jackpot-trend__legend-note {
    font-size: 11px;
    line-height: 1.35;
  }

  .jackpot-trend__legend-note {
    display: none;
  }

  .jackpot-trend__tooltip {
    min-width: 164px;
    max-width: calc(100% - 28px);
    padding: 10px 12px;
    font-size: 11px;
    z-index: 5;
  }

  .jackpot-trend__tooltip strong,
  .jackpot-trend__tooltip-row {
    font-size: 11px;
  }

  .jackpot-trend__hover-guide,
  .jackpot-trend__hover-dot {
    display: block;
  }

  .jackpot-trend__row {
    padding: 14px;
  }

  .jackpot-trend__row-value {
    text-align: left;
    font-size: 20px;
  }

  .jackpot-trend__spark {
    margin-top: 10px;
    padding: 8px 8px 4px;
  }

  .jackpot-trend__axis {
    margin-top: 10px;
    gap: 6px;
  }

  .jackpot-trend__axis-chip {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .jackpot-trend__chart-card:fullscreen,
  .jackpot-trend__chart-card.is-mobile-fullscreen {
    padding: 10px;
  }

  .jackpot-trend__chart-card:fullscreen .jackpot-trend__floating-fullscreen,
  .jackpot-trend__chart-card.is-mobile-fullscreen .jackpot-trend__floating-fullscreen {
    top: 12px;
    right: 12px;
  }

  .jackpot-trend__chart-card:fullscreen .jackpot-trend__canvas,
  .jackpot-trend__chart-card.is-mobile-fullscreen .jackpot-trend__canvas {
    aspect-ratio: auto;
    min-height: min(88dvh, 760px);
    padding: 12px 40px;
  }

  .trade-preview__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .trade-status-card__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .trade-status-card__row strong,
  .wallet-address,
  .feed-row,
  .leader-item {
    width: 100%;
  }
}

a,
button,
input,
select,
textarea {
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(109, 211, 255, 0.82);
  box-shadow: 0 0 0 5px rgba(109, 211, 255, 0.14);
}

/* Light Theme V2: rebuilt from scratch around a clean white desktop/mobile UI */
body[data-theme="light"] {
  --bg: #fbfaf8;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 252, 248, 0.98);
  --line: rgba(223, 212, 200, 0.96);
  --text: #211916;
  --muted: #7d6e66;
  --hot: #cf8f56;
  --hot-2: #efd3ad;
  --cold: #e7dfe8;
  --green: #6d8a78;
  --shadow: 0 24px 60px rgba(104, 80, 59, 0.08);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(246, 225, 190, 0.58), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(248, 230, 215, 0.42), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255, 244, 230, 0.74), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f8f2ea 50%, #f6efe8 100%);
}

body[data-theme="light"] .site-shell,
body[data-theme="light"] .jackpot-shell {
  background:
    radial-gradient(circle at top left, rgba(247, 226, 194, 0.42), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(248, 231, 214, 0.44), transparent 22%),
    radial-gradient(circle at 72% 78%, rgba(255, 246, 232, 0.62), transparent 26%);
}

body[data-theme="light"] .site-header,
body[data-theme="light"] .jackpot-topbar {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(249, 242, 234, 0.88));
  border: 1px solid rgba(233, 224, 212, 0.9);
  border-radius: 24px;
  padding: 16px 18px;
  box-shadow: 0 14px 36px rgba(116, 94, 67, 0.08);
  backdrop-filter: blur(16px);
}

body[data-theme="light"] .card,
body[data-theme="light"] .ecosystem-hero,
body[data-theme="light"] .first-mining-hero,
body[data-theme="light"] .ecosystem-orbit,
body[data-theme="light"] .mini-fomo,
body[data-theme="light"] .jackpot-panel--trend,
body[data-theme="light"] .jackpot-stage__hero,
body[data-theme="light"] .countdown-book,
body[data-theme="light"] .stake-actions-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 242, 234, 0.97));
  border: 1px solid rgba(229, 219, 208, 0.96);
  box-shadow:
    0 20px 48px rgba(121, 94, 63, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body[data-theme="light"] .buy-panel {
  background:
    radial-gradient(circle at 18% 14%, rgba(247, 228, 198, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 241, 231, 0.98));
}

body[data-theme="light"] .mini-fomo {
  background:
    radial-gradient(circle at 84% 18%, rgba(248, 226, 210, 0.34), transparent 24%),
    radial-gradient(circle at 12% 8%, rgba(246, 229, 202, 0.3), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 241, 233, 0.98));
}

body[data-theme="light"] .jackpot-stage__hero {
  background:
    radial-gradient(circle at 50% 10%, rgba(244, 223, 189, 0.28), transparent 18%),
    radial-gradient(circle at 12% 24%, rgba(249, 233, 205, 0.18), transparent 18%),
    radial-gradient(circle at 86% 22%, rgba(247, 228, 214, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 242, 235, 0.98));
}

body[data-theme="light"] .card,
body[data-theme="light"] .jackpot-panel,
body[data-theme="light"] .mini-fomo,
body[data-theme="light"] .jackpot-stage__hero,
body[data-theme="light"] .jackpot-mini-board,
body[data-theme="light"] .runtime-pill,
body[data-theme="light"] .stat,
body[data-theme="light"] .wallet-inline,
body[data-theme="light"] .trade-status-card,
body[data-theme="light"] .trade-preview,
body[data-theme="light"] .mini-fomo__timeline-row,
body[data-theme="light"] .feed-row,
body[data-theme="light"] .leader-item,
body[data-theme="light"] .jackpot-trend__stat,
body[data-theme="light"] .mini-fomo__stat,
body[data-theme="light"] .stake-action-value,
body[data-theme="light"] .tag,
body[data-theme="light"] .chip,
body[data-theme="light"] .badge,
body[data-theme="light"] .jackpot-trend__badge,
body[data-theme="light"] .jackpot-trend__badge--cool,
body[data-theme="light"] .jackpot-trend__axis-chip {
  border-color: rgba(229, 219, 208, 0.98);
  color: var(--text);
}

body[data-theme="light"] .jackpot-panel--guide,
body[data-theme="light"] .doc-card,
body[data-theme="light"] .chart-card,
body[data-theme="light"] .whitepaper-section,
body[data-theme="light"] .whitepaper-note {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 242, 235, 0.98));
}

body[data-theme="light"] .eyebrow,
body[data-theme="light"] .stat__label,
body[data-theme="light"] .helper,
body[data-theme="light"] .trade-preview__row span,
body[data-theme="light"] .trade-status-card__row span,
body[data-theme="light"] .jackpot-status-line,
body[data-theme="light"] .jackpot-epoch-meta,
body[data-theme="light"] .jackpot-card span,
body[data-theme="light"] .jackpot-trend__stat span,
body[data-theme="light"] .jackpot-trend__stat small,
body[data-theme="light"] .jackpot-trend__legend-item,
body[data-theme="light"] .jackpot-trend__legend-note,
body[data-theme="light"] .mini-fomo__cta p,
body[data-theme="light"] .mini-fomo__pulse,
body[data-theme="light"] .mini-fomo__sub,
body[data-theme="light"] .mobile-drawer__title,
body[data-theme="light"] .runtime-pill span,
body[data-theme="light"] .mobile-settings-drawer__label,
body[data-theme="light"] .topbar__status,
body[data-theme="light"] .tag,
body[data-theme="light"] .chip,
body[data-theme="light"] .badge {
  color: #8a7767;
}

body[data-theme="light"] .section-title h2,
body[data-theme="light"] .section-title h3,
body[data-theme="light"] .whitepaper-hero__title,
body[data-theme="light"] .mini-fomo__cta h3,
body[data-theme="light"] .jackpot-trend__header h2,
body[data-theme="light"] .wallet-status,
body[data-theme="light"] .wallet-address,
body[data-theme="light"] .trade-preview__row strong,
body[data-theme="light"] .trade-status-card__row strong,
body[data-theme="light"] .jackpot-card strong,
body[data-theme="light"] .mini-fomo__countdown,
body[data-theme="light"] .jackpot-countdown,
body[data-theme="light"] .countdown-book__value,
body[data-theme="light"] .mini-fomo__timeline-rank,
body[data-theme="light"] .mini-fomo__timeline-amount,
body[data-theme="light"] .feed-row strong,
body[data-theme="light"] .leader-item strong,
body[data-theme="light"] .runtime-pill strong,
body[data-theme="light"] .stat__value,
body[data-theme="light"] .metric-value,
body[data-theme="light"] .summary-card__value,
body[data-theme="light"] .jackpot-trend__stat strong,
body[data-theme="light"] .jackpot-trend__row-value,
body[data-theme="light"] .mono-link {
  color: #3b241b;
  text-shadow: none;
}

body[data-theme="light"] .jackpot-countdown,
body[data-theme="light"] .mini-fomo__countdown,
body[data-theme="light"] .countdown-book__value {
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #c7772f;
  text-shadow:
    0 2px 0 rgba(255, 248, 238, 0.75),
    0 12px 24px rgba(201, 129, 59, 0.12);
}

body[data-theme="light"] .jackpot-trend__badge,
body[data-theme="light"] .jackpot-trend__badge--cool,
body[data-theme="light"] .jackpot-trend__axis-chip,
body[data-theme="light"] .tag,
body[data-theme="light"] .chip,
body[data-theme="light"] .badge {
  background: rgba(248, 244, 238, 0.95);
}

body[data-theme="light"] .jackpot-trend__badge--cool {
  background: rgba(241, 246, 250, 0.95);
}

body[data-theme="light"] .user-tab,
body[data-theme="light"] .asset-switcher__btn,
body[data-theme="light"] .preset-group button,
body[data-theme="light"] .wallet-btn,
body[data-theme="light"] .action-btn,
body[data-theme="light"] .jackpot-trend__control,
body[data-theme="light"] .mobile-settings-drawer__buttons button,
body[data-theme="light"] .mobile-drawer__social,
body[data-theme="light"] .feed-row__copy-btn {
  background: rgba(255, 252, 248, 0.96);
  color: #3b2f27;
  border: 1px solid rgba(225, 215, 202, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-theme="light"] .wallet-btn,
body[data-theme="light"] .action-btn,
body[data-theme="light"] .asset-switcher__btn,
body[data-theme="light"] .preset-group button,
body[data-theme="light"] .jackpot-trend__control {
  border-radius: 18px;
  font-weight: 600;
}

body[data-theme="light"] .user-tab.is-active,
body[data-theme="light"] .asset-switcher__btn.is-active,
body[data-theme="light"] .preset-group button.is-active,
body[data-theme="light"] .jackpot-trend__control.is-active,
body[data-theme="light"] .mobile-settings-drawer__buttons button.is-active {
  background: linear-gradient(180deg, #f4eadc 0%, #ead8bf 100%);
  border-color: rgba(205, 180, 142, 0.98);
  color: #241d19;
  box-shadow: 0 10px 24px rgba(172, 137, 83, 0.12);
}

body[data-theme="light"] .wallet-btn--ghost,
body[data-theme="light"] .action-btn--primary {
  background: linear-gradient(180deg, #f5e6d4 0%, #e7cfad 100%);
  border-color: rgba(205, 180, 142, 0.98);
  color: #241d19;
}

body[data-theme="light"] .action-btn--buy {
  background: linear-gradient(145deg, #d89a63 0%, #c98147 100%);
  border-color: transparent;
  color: #fffdf9;
  box-shadow: 0 12px 28px rgba(184, 113, 58, 0.22);
}

body[data-theme="light"] .wallet-btn:hover,
body[data-theme="light"] .action-btn:not(:disabled):hover,
body[data-theme="light"] .asset-switcher__btn:not(:disabled):hover,
body[data-theme="light"] .preset-group button:not(:disabled):hover,
body[data-theme="light"] .jackpot-trend__control:not(:disabled):hover,
body[data-theme="light"] .inline-link-btn:not(:disabled):hover {
  border-color: rgba(201, 176, 140, 1);
  background-color: rgba(248, 242, 234, 0.98);
}

body[data-theme="light"] .input-shell input,
body[data-theme="light"] .text-area,
body[data-theme="light"] .select-shell {
  background: rgba(246, 241, 234, 0.98);
  color: #271e1a;
  border: 1px solid rgba(225, 215, 202, 0.98);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.88);
}

body[data-theme="light"] .input-shell input::placeholder,
body[data-theme="light"] .text-area::placeholder {
  color: #968b80;
}

body[data-theme="light"] .input-shell input:focus,
body[data-theme="light"] .text-area:focus,
body[data-theme="light"] .select-shell:focus {
  border-color: rgba(211, 181, 136, 1);
  background: #fffdfa;
  box-shadow: 0 0 0 4px rgba(234, 216, 191, 0.32);
}

body[data-theme="light"] .mobile-nav-drawer__backdrop {
  background: rgba(34, 26, 21, 0.12);
}

body[data-theme="light"] .mobile-nav-drawer__panel,
body[data-theme="light"] .mobile-settings-drawer__panel {
  background: linear-gradient(180deg, rgba(255, 254, 251, 0.99), rgba(246, 240, 232, 0.98));
  color: #211a17;
  border: 1px solid rgba(233, 224, 212, 0.98);
  box-shadow: 0 22px 48px rgba(110, 87, 61, 0.14);
}

body[data-theme="light"] .mobile-drawer__link,
body[data-theme="light"] .mobile-drawer__social {
  color: #231d19;
}

body[data-theme="light"] .mobile-drawer__link.is-active {
  background: linear-gradient(180deg, rgba(245, 235, 223, 0.98), rgba(236, 219, 195, 0.98));
  border-color: rgba(205, 180, 142, 0.98);
  color: #241d19;
}

body[data-theme="light"] .mobile-drawer__icon {
  color: #b9853c;
}

body[data-theme="light"] .mobile-drawer__footer {
  border-top-color: rgba(229, 219, 208, 0.98);
}

body[data-theme="light"] .mobile-nav-drawer__toggle,
body[data-theme="light"] .mobile-settings-drawer__toggle {
  background: rgba(255, 252, 248, 0.94);
  border: 1px solid rgba(229, 219, 208, 0.98);
  box-shadow: 0 8px 22px rgba(108, 88, 63, 0.08);
}

body[data-theme="light"] .mobile-nav-drawer__toggle span,
body[data-theme="light"] .mobile-settings-drawer__toggle span {
  background: #70665f;
}

body[data-theme="light"] .brand__mark {
  filter: saturate(1.02) contrast(1.02);
  box-shadow: 0 8px 20px rgba(203, 149, 69, 0.14);
}

body[data-theme="light"] .inline-link-btn {
  color: #7a6048;
}

body[data-theme="light"] .helper--strong {
  color: #655b53;
}

body[data-theme="light"] .site-contact-footer {
  border-top-color: rgba(229, 219, 208, 0.98);
  border-bottom-color: rgba(229, 219, 208, 0.72);
  background:
    radial-gradient(circle at top left, rgba(244, 227, 199, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 240, 232, 0.98));
}

body[data-theme="light"] .site-contact-footer__brand-copy strong,
body[data-theme="light"] .site-contact-footer__intro strong,
body[data-theme="light"] .site-contact-chip__copy-value {
  color: #2a211d;
}

body[data-theme="light"] .site-contact-footer__brand-copy p,
body[data-theme="light"] .site-contact-footer__intro p,
body[data-theme="light"] .site-contact-chip,
body[data-theme="light"] .site-contact-chip__copy-action {
  color: #766b63;
}

body[data-theme="light"] .lang-switcher,
body[data-theme="light"] .lang-switcher--inline {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(255, 251, 246, 0.92);
  box-shadow: 0 14px 32px rgba(108, 88, 63, 0.08);
}

body[data-theme="light"] .lang-switcher button {
  border-color: rgba(225, 215, 202, 0.98);
  background: rgba(255, 252, 248, 0.96);
  color: #4b3b31;
}

body[data-theme="light"] .lang-switcher button.is-active {
  border-color: rgba(205, 180, 142, 0.98);
  background: linear-gradient(180deg, #f3e7d4 0%, #e8d0ae 100%);
  color: #241d19;
}

body[data-theme="light"] .desktop-settings__toggle,
body[data-theme="light"] .desktop-wallet-address,
body[data-theme="light"] .desktop-disconnect-btn {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(255, 252, 248, 0.96);
  color: #4b3b31;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-theme="light"] .desktop-settings__panel {
  border-color: rgba(229, 219, 208, 0.98);
  background: linear-gradient(180deg, rgba(255, 254, 251, 0.99), rgba(246, 240, 232, 0.98));
  box-shadow: 0 20px 44px rgba(104, 80, 59, 0.12);
}

body[data-theme="light"] .desktop-settings__label {
  color: #7d6e66;
}

body[data-theme="light"] .desktop-settings__buttons button {
  border-color: rgba(225, 215, 202, 0.98);
  background: rgba(255, 252, 248, 0.96);
  color: #4b3b31;
}

body[data-theme="light"] .desktop-settings__buttons button.is-active {
  border-color: rgba(205, 180, 142, 0.98);
  background: linear-gradient(180deg, #f3e7d4 0%, #e8d0ae 100%);
  color: #241d19;
}

body[data-theme="light"] .wallet-modal__backdrop {
  background: rgba(54, 41, 31, 0.18);
  backdrop-filter: blur(10px);
}

body[data-theme="light"] .wallet-modal__panel {
  border-color: rgba(229, 219, 208, 0.98);
  background:
    radial-gradient(circle at top, rgba(244, 227, 199, 0.34), transparent 46%),
    radial-gradient(circle at 88% 22%, rgba(247, 229, 214, 0.22), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 240, 232, 0.98));
  box-shadow: 0 28px 64px rgba(84, 66, 47, 0.16);
}

body[data-theme="light"] .wallet-modal__header h3,
body[data-theme="light"] .wallet-modal__option strong,
body[data-theme="light"] .wallet-modal__intro strong {
  color: #241d19;
}

body[data-theme="light"] .wallet-modal__close,
body[data-theme="light"] .wallet-modal__intro span,
body[data-theme="light"] .wallet-modal__option span,
body[data-theme="light"] .wallet-modal__hint {
  color: #756b63;
}

body[data-theme="light"] .wallet-modal__intro {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(248, 243, 236, 0.98);
}

body[data-theme="light"] .wallet-modal__utility,
body[data-theme="light"] .wallet-modal__option {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(255, 252, 248, 0.98);
  color: #2e241e;
}

body[data-theme="light"] .wallet-modal__utility:hover,
body[data-theme="light"] .wallet-modal__option:hover {
  border-color: rgba(205, 180, 142, 0.98);
  background: rgba(247, 239, 228, 0.98);
}

body[data-theme="light"] .wallet-modal__hint--warn {
  color: #aa7c39;
}

body[data-theme="light"] .wallet-modal__hint--error {
  color: #a55f44;
}

body[data-theme="light"] .jackpot-countdown,
body[data-theme="light"] .mini-fomo__countdown {
  color: #c7772f;
}

body[data-theme="light"] .jackpot-trend__chart-card {
  border-color: rgba(229, 219, 208, 0.98);
  background:
    radial-gradient(circle at 18% 16%, rgba(245, 226, 195, 0.28), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(248, 229, 214, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(246, 239, 231, 0.98), rgba(238, 229, 216, 0.96));
}

body[data-theme="light"] .jackpot-trend__chart-card:fullscreen,
body[data-theme="light"] .jackpot-trend__chart-card.is-mobile-fullscreen {
  background:
    radial-gradient(circle at 18% 16%, rgba(245, 226, 195, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(246, 240, 232, 0.99), rgba(238, 229, 216, 0.98));
}

body[data-theme="light"] .jackpot-trend__floating-fullscreen {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(255, 252, 248, 0.96);
  color: #4b3b31;
}

body[data-theme="light"] .jackpot-trend__canvas {
  border-color: rgba(221, 212, 201, 0.92);
  background:
    radial-gradient(circle at 14% 14%, rgba(245, 226, 195, 0.24), transparent 20%),
    radial-gradient(circle at 84% 18%, rgba(248, 229, 214, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(247, 241, 234, 0.98), rgba(239, 229, 216, 0.98));
}

body[data-theme="light"] .jackpot-trend__chart-grid line {
  stroke: rgba(184, 160, 126, 0.16);
}

body[data-theme="light"] .jackpot-trend__scale-overlay span {
  background: rgba(255, 250, 244, 0.9);
  border-color: rgba(221, 212, 201, 0.92);
  color: #8a735b;
}

body[data-theme="light"] .jackpot-trend__tooltip {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(255, 252, 248, 0.98);
  color: #241d19;
  box-shadow: 0 18px 40px rgba(84, 66, 47, 0.16);
}

body[data-theme="light"] .jackpot-trend__tooltip-row span:last-child {
  color: #a36c36;
}

body[data-theme="light"] .card--overview {
  background:
    radial-gradient(circle at 18% 12%, rgba(246, 229, 201, 0.32), transparent 22%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(248, 240, 229, 0.98));
  border-color: rgba(216, 194, 163, 0.98);
  box-shadow:
    0 22px 48px rgba(184, 150, 98, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

body[data-theme="light"] .card--stake-main {
  background:
    radial-gradient(circle at 84% 18%, rgba(248, 230, 216, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 242, 236, 0.98));
  border-color: rgba(229, 219, 208, 0.98);
}

body[data-theme="light"] .card--overview .stat {
  background: rgba(255, 248, 238, 0.96);
  border-color: rgba(223, 201, 169, 0.78);
}

body[data-theme="light"] .whitepaper-hero__lede,
body[data-theme="light"] .whitepaper-summary__card p,
body[data-theme="light"] .whitepaper-section p,
body[data-theme="light"] .whitepaper-note p,
body[data-theme="light"] .whitepaper-kpi__hint,
body[data-theme="light"] .whitepaper-manifesto__card p,
body[data-theme="light"] .whitepaper-credo__metric span,
body[data-theme="light"] .whitepaper-footer__card p {
  color: #6f665e;
}

body[data-theme="light"] .whitepaper-pill,
body[data-theme="light"] .whitepaper-summary__card,
body[data-theme="light"] .whitepaper-kpi,
body[data-theme="light"] .whitepaper-section,
body[data-theme="light"] .whitepaper-note,
body[data-theme="light"] .whitepaper-manifesto__card,
body[data-theme="light"] .whitepaper-credo,
body[data-theme="light"] .whitepaper-release,
body[data-theme="light"] .whitepaper-footer__card {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(255, 252, 248, 0.96);
}

body[data-theme="light"] .whitepaper-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 228, 197, 0.3), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(248, 229, 216, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 241, 233, 0.98));
}

body[data-theme="light"] .whitepaper-pill,
body[data-theme="light"] .whitepaper-list li,
body[data-theme="light"] .whitepaper-manifesto__lead,
body[data-theme="light"] .whitepaper-credo__claim,
body[data-theme="light"] .whitepaper-credo__dedication,
body[data-theme="light"] .whitepaper-release__value,
body[data-theme="light"] .whitepaper-timeline__label {
  color: #241d19;
}

body[data-theme="light"] .ecosystem-shell,
body[data-theme="light"] .first-mining-shell {
  background:
    radial-gradient(circle at 12% 12%, rgba(245, 226, 193, 0.52), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(248, 230, 215, 0.42), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #f7f2ea 100%);
}

body[data-theme="light"] .ecosystem-orbit {
  background:
    radial-gradient(circle at 50% 50%, rgba(241, 226, 205, 0.62), transparent 38%),
    radial-gradient(circle at 20% 28%, rgba(244, 227, 199, 0.42), transparent 18%),
    radial-gradient(circle at 78% 74%, rgba(248, 230, 216, 0.3), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 238, 228, 0.98));
  border-color: rgba(229, 219, 208, 0.98);
}

body[data-theme="light"] .ecosystem-orbit::before,
body[data-theme="light"] .ecosystem-orbit::after {
  border-color: rgba(223, 210, 193, 0.78);
}

body[data-theme="light"] .eco-bubble {
  border-color: rgba(229, 219, 208, 0.98);
  box-shadow: 0 20px 46px rgba(103, 84, 61, 0.12);
  backdrop-filter: blur(10px);
}

body[data-theme="light"] .eco-bubble__label {
  color: #2a211d;
  text-shadow: none;
}

body[data-theme="light"] .eco-bubble--gold {
  background: linear-gradient(135deg, rgba(244, 227, 199, 0.96), rgba(232, 212, 179, 0.9));
}

body[data-theme="light"] .eco-bubble--blue {
  background: linear-gradient(135deg, rgba(240, 244, 248, 0.96), rgba(221, 232, 241, 0.92));
}

body[data-theme="light"] .eco-bubble--green {
  background: linear-gradient(135deg, rgba(236, 244, 236, 0.96), rgba(214, 232, 217, 0.92));
}

body[data-theme="light"] .eco-bubble--orange {
  background: linear-gradient(135deg, rgba(246, 234, 214, 0.98), rgba(237, 219, 190, 0.94));
}

body[data-theme="light"] .status-box {
  border-color: rgba(229, 219, 208, 0.98);
  background: rgba(255, 252, 248, 0.96);
  color: #4b3b31;
}

@media (max-width: 720px) {
  body[data-theme="light"] {
    background:
      radial-gradient(circle at 12% 10%, rgba(245, 226, 193, 0.58), transparent 24%),
      radial-gradient(circle at 88% 12%, rgba(255, 245, 226, 0.9), transparent 22%),
      linear-gradient(180deg, #fffdfa 0%, #f8f3eb 100%);
  }

  body[data-theme="light"] .site-header,
  body[data-theme="light"] .jackpot-topbar {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    margin-bottom: 0;
    padding: 10px 12px;
    border-radius: 20px;
    background: rgba(255, 251, 246, 0.86);
    border-color: rgba(233, 224, 212, 0.98);
  }

  body[data-theme="light"] .mobile-top-left,
  body[data-theme="light"] .mobile-top-right {
    gap: 10px;
  }

  body[data-theme="light"] .site-header .brand__mark,
  body[data-theme="light"] .jackpot-topbar .brand__mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  body[data-theme="light"] .site-shell,
  body[data-theme="light"] .jackpot-shell {
    padding-top: 104px;
  }

  body[data-theme="light"] .mobile-nav-drawer__panel {
    border-radius: 26px 26px 0 0;
  }

  body[data-theme="light"] .mobile-settings-drawer__panel {
    width: min(220px, calc(100vw - 36px));
    border-radius: 18px;
    padding: 14px;
  }

  body[data-theme="light"] .wallet-btn,
  body[data-theme="light"] .mobile-wallet-entry {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  body[data-theme="light"] .card,
  body[data-theme="light"] .mini-fomo,
  body[data-theme="light"] .jackpot-panel,
  body[data-theme="light"] .jackpot-stage__hero {
    border-radius: 28px;
  }
}

.user-tab,
.wallet-btn,
.action-btn,
.asset-switcher__btn,
.preset-group button,
.jackpot-trend__control,
.inline-link-btn {
  -webkit-tap-highlight-color: transparent;
}

.user-tab:hover,
.wallet-btn:hover,
.action-btn:not(:disabled):hover,
.asset-switcher__btn:not(:disabled):hover,
.preset-group button:not(:disabled):hover,
.jackpot-trend__control:not(:disabled):hover,
.inline-link-btn:not(:disabled):hover {
  border-color: rgba(109, 211, 255, 0.34);
  background-color: rgba(109, 211, 255, 0.08);
}

.wallet-btn:disabled,
.action-btn:disabled,
.asset-switcher__btn:disabled,
.preset-group button:disabled,
.jackpot-trend__control:disabled {
  filter: saturate(0.7);
}

.wallet-address,
.mono-link,
.stat__value,
.jackpot-card__address,
.trade-preview__row strong,
.trade-status-card__row strong {
  overflow-wrap: anywhere;
}

.input-shell input,
.text-area,
.select-shell {
  min-height: 48px;
}

.input-shell input:focus,
.text-area:focus,
.select-shell:focus {
  border-color: rgba(109, 211, 255, 0.42);
  background: rgba(3, 12, 24, 0.72);
}

@media (max-width: 720px) {
  body[data-page="stake"] .stake-recent-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-page="stake"] .stake-recent-card {
    width: 100%;
    min-width: 0;
    padding: 16px;
  }

  body[data-page="stake"] .stake-recent-card .section-title--compact {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  body[data-page="stake"] .stake-recent-card .tag {
    align-self: flex-start;
  }

  body[data-page="stake"] .feed-table {
    width: 100%;
    overflow: hidden;
  }

  .site-header,
  .jackpot-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
    padding: 14px 16px 12px;
    background:
      linear-gradient(180deg, rgba(53, 33, 30, 0.96), rgba(25, 20, 29, 0.92)),
      rgba(8, 17, 31, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(135, 191, 255, 0.08);
  }

  .brand {
    width: auto;
  }

  .brand__copy h1 {
    font-size: 26px;
  }

  .mobile-top-left,
  .mobile-top-right {
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .mobile-top-left {
    flex: 0 0 auto;
  }

  .mobile-top-right {
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
    z-index: 90;
    pointer-events: auto;
  }

  .site-header .brand,
  .jackpot-topbar .brand {
    width: auto;
  }

  .site-header .brand__mark,
  .jackpot-topbar .brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .site-header .brand__copy,
  .jackpot-topbar .brand__copy {
    display: none;
  }

  .mobile-nav-drawer,
  .mobile-settings-drawer {
    position: relative;
    z-index: 40;
    width: auto;
    margin: 0;
  }

  .mobile-settings-drawer[open] {
    width: 100%;
  }

  .mobile-nav-drawer__toggle,
  .mobile-settings-drawer__toggle {
    list-style: none;
    width: 32px;
    height: 28px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    gap: 2px;
    box-shadow: none;
    padding: 0;
  }

  .mobile-nav-drawer__toggle::-webkit-details-marker,
  .mobile-settings-drawer__toggle::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-drawer__toggle span,
  .mobile-settings-drawer__toggle span {
    width: 14px;
    height: 1.5px;
    border-radius: 999px;
    background: #f6f8ff;
    display: block;
  }

  .mobile-settings-drawer__toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  .mobile-settings-drawer__toggle span {
    width: 3px;
    height: 3px;
    display: inline-block;
  }

  .mobile-nav-drawer__overlay,
  .mobile-settings-drawer__panel {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms ease;
  }

  .mobile-nav-drawer__overlay {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
  }

  .mobile-nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 10, 18, 0.48);
    padding: 0;
  }

  .mobile-nav-drawer__panel {
    position: relative;
    width: 100%;
    max-height: 74vh;
    overflow-y: auto;
    z-index: 96;
    margin-top: auto;
    padding: 18px 20px 24px;
    border-radius: 28px 28px 0 0;
    border: 1px solid rgba(255, 206, 137, 0.14);
    border-bottom: 0;
    background:
      linear-gradient(180deg, rgba(42, 25, 23, 0.96), rgba(15, 21, 35, 0.98)),
      rgba(10, 15, 28, 0.96);
    color: #f7ead7;
    box-shadow: 0 -18px 48px rgba(2, 8, 18, 0.46);
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    backdrop-filter: blur(18px);
    transform: translateY(100%);
  }

  .mobile-nav-drawer__overlay.is-open,
  .mobile-settings-drawer[open] > .mobile-settings-drawer__panel {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-drawer__overlay.is-open .mobile-nav-drawer__panel {
    transform: translateY(0);
  }

  .mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 44px;
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    text-align: left;
    border: 0;
    background: transparent;
    color: #f7ead7;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 12px 14px;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  }

  .mobile-drawer__link.is-active {
    background: rgba(255, 190, 99, 0.1);
    border-color: rgba(255, 190, 99, 0.2);
    color: #fff3d1;
  }

  .mobile-drawer__link:visited,
  .mobile-drawer__link:hover,
  .mobile-drawer__link:focus,
  .mobile-drawer__link:active {
    color: inherit;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
  }

  .mobile-drawer__link:active {
    transform: scale(0.985);
  }

  .mobile-drawer__handle {
    width: 46px;
    height: 6px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(255, 240, 216, 0.32);
  }

  .mobile-drawer__section {
    display: grid;
    gap: 12px;
  }

  .mobile-drawer__title {
    color: rgba(255, 228, 183, 0.72);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .mobile-drawer__links {
    display: grid;
    gap: 12px;
  }

  .mobile-drawer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    color: #ffb347;
    font-size: 18px;
    line-height: 1;
    text-decoration: none !important;
  }

  .mobile-drawer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 222, 176, 0.12);
  }

  .mobile-drawer__socials-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-drawer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 201, 128, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #f7ead7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-settings-drawer__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(220px, calc(100vw - 40px));
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 190, 99, 0.16);
    background:
      linear-gradient(180deg, rgba(16, 26, 39, 0.96), rgba(11, 18, 28, 0.98));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    z-index: 40;
    transform: translateY(-6px);
  }

  .mobile-settings-drawer[open] > .mobile-settings-drawer__panel {
    transform: translateY(0);
  }

  .mobile-settings-drawer__section {
    display: grid;
    gap: 8px;
  }

  .mobile-settings-drawer__label {
    color: #fff5d3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .mobile-settings-drawer__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-settings-drawer__buttons button {
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(135, 191, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: #eef6ff;
    font: 600 13px/1 "Space Grotesk", "Noto Sans SC", sans-serif;
  }

  .mobile-settings-drawer__buttons button.is-active {
    border-color: rgba(255, 190, 99, 0.34);
    background: linear-gradient(180deg, rgba(255, 123, 56, 0.18), rgba(255, 190, 99, 0.12));
    color: #fff2ca;
  }

  .user-tabs {
    display: none !important;
  }

  .site-actions {
    display: none !important;
  }

  .mobile-wallet-entry {
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    position: relative;
    z-index: 91;
    pointer-events: auto;
  }

  .site-shell,
  .jackpot-shell {
    padding-top: 104px;
  }

  .ecosystem-choice-modal__panel {
    width: calc(100vw - 20px);
    margin-top: 7vh;
    padding: 18px;
    border-radius: 24px;
  }

  .ecosystem-choice-modal__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ecosystem-choice-modal__close {
    align-self: flex-end;
  }

  .ecosystem-choice-modal__grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-choice-card {
    min-height: 0;
  }

  .lang-switcher,
  .lang-switcher--inline {
    display: none !important;
  }

  .dex-panel {
    padding: 18px;
  }

  .dex-max-btn {
    min-width: 0;
    width: 100%;
  }

  .ecosystem-hero {
    padding: 22px;
  }

  .ecosystem-hero__lede {
    font-size: 15px;
  }

  .first-mining-hero {
    padding: 22px;
  }

  .first-mining-hero__lede {
    font-size: 15px;
  }

  .ecosystem-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 12px;
  }

  .ecosystem-orbit::before,
  .ecosystem-orbit::after {
    display: none;
  }

  .eco-bubble {
    position: static;
    width: 62vw;
    max-width: 220px;
    min-width: 0;
    height: 62vw;
    max-height: 220px;
    min-height: 0;
    padding: 12px;
    border-radius: 50%;
    transform: none !important;
    animation-name: ecoBubbleFloatMobile;
    animation-duration: 5.4s;
  }

  .eco-bubble__label {
    font-size: 16px;
  }

  .eco-bubble--gold {
    justify-self: start;
    margin-left: 2%;
    order: 2;
  }

  .eco-bubble--blue {
    justify-self: end;
    width: 58vw;
    height: 58vw;
    max-width: 206px;
    max-height: 206px;
    margin-right: 0;
    order: 3;
  }

  .eco-bubble--green {
    justify-self: start;
    width: 60vw;
    height: 60vw;
    max-width: 214px;
    max-height: 214px;
    margin-left: 10%;
    order: 4;
  }

  .eco-bubble--orange {
    justify-self: center;
    width: 72vw;
    height: 72vw;
    max-width: 252px;
    max-height: 252px;
    min-height: 0;
    margin-right: 0;
    order: 1;
  }

  .eco-bubble--orange .eco-bubble__label {
    font-size: 22px;
  }

  .countdown-book {
    min-height: 360px;
    padding: 20px 14px 20px 24px;
  }

  .countdown-book__binding {
    left: 16px;
    top: 16px;
    bottom: 16px;
    width: 12px;
  }

  .countdown-book__page {
    min-height: 280px;
    margin-left: 10px;
    padding: 26px 18px;
  }

  .countdown-book__status {
    text-align: center;
    font-size: 18px;
  }

  .preset-group,
  .asset-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preset-group button,
  .asset-switcher__btn {
    width: 100%;
  }
}


