:root {
  --bg: #f6f9fd;
  --bg-soft: #eef6ff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-muted: #f2f6fb;
  --ink: #102033;
  --ink-soft: #324a64;
  --muted: #6d7f93;
  --line: rgba(126, 153, 183, 0.24);
  --line-strong: rgba(71, 116, 168, 0.28);
  --primary: #0b67d9;
  --primary-soft: #e7f2ff;
  --primary-2: #2393f4;
  --accent: #0b67d9;
  --success: #0f9f6e;
  --warning: #c98409;
  --danger: #da3d45;
  --shadow: 0 24px 70px rgba(31, 68, 112, 0.12);
  --shadow-soft: 0 14px 42px rgba(36, 73, 117, 0.09);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content: 1500px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #07111f;
  --bg-soft: #0b1c31;
  --surface: rgba(13, 28, 47, 0.86);
  --surface-solid: #0d1c2f;
  --surface-muted: #10243c;
  --ink: #f4f8fd;
  --ink-soft: #d5e4f7;
  --muted: #9eb3ca;
  --line: rgba(170, 201, 238, 0.17);
  --line-strong: rgba(112, 177, 255, 0.32);
  --primary: #55a7ff;
  --primary-soft: rgba(54, 133, 229, 0.16);
  --primary-2: #2b83e9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 147, 244, 0.17), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(255, 204, 102, 0.16), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 42%, var(--bg) 100%);
  min-height: 100vh;
  font-weight: 500;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 8% 0%, rgba(50, 135, 230, 0.28), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(255, 205, 89, 0.08), transparent 23%),
    linear-gradient(180deg, #07111f 0%, #091624 100%);
}

button,
input { font: inherit; }

button { cursor: pointer; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(11, 103, 217, 0.26);
  outline-offset: 3px;
}

.app-shell {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 44px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(260px, 420px) 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 12px 14px 12px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(148, 178, 215, 0.28);
  box-shadow: 0 16px 48px rgba(56, 94, 134, 0.10);
  backdrop-filter: blur(18px);
  border-radius: 28px;
}

:root[data-theme="dark"] .topbar {
  background: rgba(9, 21, 36, 0.84);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  font-size: clamp(30px, 3.3vw, 46px);
  white-space: nowrap;
}

.logo span { color: var(--primary); }

.search {
  position: relative;
}

.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: var(--muted);
}

.search input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: 17px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

:root[data-theme="dark"] .search input {
  background: rgba(15, 33, 54, 0.72);
}

.search input::placeholder { color: var(--muted); }

.search input:focus {
  border-color: rgba(11, 103, 217, 0.5);
  box-shadow: 0 0 0 5px rgba(11, 103, 217, 0.08);
  background: var(--surface-solid);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 16px;
  padding: 13px 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-link:hover { background: var(--primary-soft); color: var(--primary); transform: translateY(-1px); }
.nav-link.is-active { background: var(--primary); color: #fff; box-shadow: 0 10px 22px rgba(11, 103, 217, 0.22); }

.date-pill,
.theme-toggle,
.refresh-btn,
.segmented button,
.month-button,
.text-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.70);
  color: var(--ink-soft);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 750;
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

:root[data-theme="dark"] .date-pill,
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .refresh-btn,
:root[data-theme="dark"] .segmented button,
:root[data-theme="dark"] .month-button,
:root[data-theme="dark"] .text-button {
  background: rgba(15, 33, 54, 0.70);
}

.theme-toggle {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover,
.refresh-btn:hover,
.segmented button:hover,
.month-button:hover,
.text-button:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 103, 217, 0.42);
  background: var(--primary-soft);
  color: var(--primary);
}

.command-row {
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 14px 0 26px;
}

.focus-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(232, 244, 255, 0.88);
  color: #064c9e;
  border: 1px solid rgba(11, 103, 217, 0.16);
  font-size: 15px;
  font-weight: 800;
}

.focus-pill .bolt { color: #f08b26; }

.segmented {
  display: inline-flex;
  gap: 5px;
  justify-content: center;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

:root[data-theme="dark"] .segmented { background: rgba(13, 28, 47, 0.56); }

.segmented button {
  min-height: 38px;
  border-color: transparent;
  background: transparent;
  padding: 0 22px;
}

.segmented button.is-active {
  color: #fff;
  background: var(--primary);
  border-color: transparent;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 42px;
  align-items: end;
  margin-bottom: 20px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -0.07em;
  line-height: .98;
  font-weight: 850;
}

.hero-copy {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.feature-card {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(247,251,255,0.76) 52%, rgba(225,241,255,0.84) 100%);
  border: 1px solid rgba(133, 164, 204, 0.22);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 48px);
}

:root[data-theme="dark"] .feature-card {
  background:
    linear-gradient(135deg, rgba(13,28,47,0.96) 0%, rgba(11,25,42,0.88) 48%, rgba(16,52,88,0.70) 100%);
}

.feature-card::before,
.feature-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.feature-card::before {
  width: 420px;
  height: 420px;
  right: -150px;
  top: -90px;
  background: radial-gradient(circle, rgba(35, 147, 244, .18), transparent 64%);
}

.feature-card::after {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 200, 92, .12), transparent 64%);
}

.feature-content { position: relative; z-index: 1; height: 100%; display: grid; align-content: space-between; gap: 30px; }

.rank-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(11, 103, 217, 0.22);
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

:root[data-theme="dark"] .event-chip { background: rgba(13, 28, 47, 0.64); }

.feature-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.feature-title small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-title h2 {
  margin-bottom: 12px;
  max-width: 700px;
  color: var(--ink);
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 820;
}

.feature-title p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 16px;
}

.score-strip {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  gap: 22px;
  align-items: center;
}

.team-block {
  display: grid;
  gap: 10px;
}

.team-block:last-child { text-align: right; justify-items: end; }

.team-logo {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 18px 28px rgba(11, 103, 217, 0.18);
}

.team-name {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.25;
}

.team-record { color: var(--muted); font-size: 13px; }

.score-box {
  display: grid;
  min-width: 260px;
  place-items: center;
  padding: 22px 26px 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(126, 153, 183, 0.26);
  box-shadow: 0 18px 50px rgba(40, 82, 124, 0.10);
}

:root[data-theme="dark"] .score-box { background: rgba(7, 17, 31, 0.46); }

.score-value {
  color: var(--ink);
  font-size: clamp(46px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -0.08em;
  font-weight: 830;
}

.score-status {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-pill {
  min-height: 72px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line);
}

:root[data-theme="dark"] .stat-pill { background: rgba(13, 28, 47, 0.54); }

.stat-pill b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.stat-pill span { color: var(--ink-soft); font-size: 14px; }

.side-stack {
  display: grid;
  gap: 14px;
}

.side-header {
  padding: 10px 2px 4px;
}

.side-header p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

.event-list {
  display: grid;
  gap: 14px;
}

.event-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 98px;
  padding: 18px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.event-item::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 4px;
  border-radius: 999px;
  background: var(--primary);
  opacity: .55;
}

.event-item-title {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 760;
}

.event-item-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.event-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.event-code {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 26px rgba(11, 103, 217, 0.18);
}

.month-section {
  margin: 28px 0 22px;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.55fr);
  gap: 20px;
  align-items: stretch;
}

.month-copy,
.month-grid,
.content-card,
.ticker {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.month-copy {
  padding: 26px;
}

.month-copy h2,
.section-title h2 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 780;
}

.month-copy p,
.section-title p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.month-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.month-button {
  min-height: 58px;
  padding: 10px 14px;
  text-align: left;
  border-radius: 17px;
  display: grid;
  align-content: center;
  gap: 3px;
}

.month-button strong { font-size: 13px; color: var(--ink); }
.month-button span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.month-button.is-active { background: var(--primary); border-color: transparent; color: #fff; box-shadow: 0 14px 28px rgba(11, 103, 217, 0.20); }
.month-button.is-active strong,
.month-button.is-active span { color: #fff; }

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-title .text-button { min-height: 40px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.content-card {
  padding: 22px;
  overflow: hidden;
}

.league-card {
  position: relative;
  min-height: 238px;
  display: grid;
  gap: 16px;
}

.league-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 103, 217, .12), transparent 65%);
}

.card-top,
.league-row,
.upcoming-row,
.news-row {
  position: relative;
  z-index: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.card-label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.card-competition {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.status-badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.league-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 780;
}

.league-rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.league-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.league-row b {
  color: var(--ink);
  font-weight: 720;
  text-align: right;
}

.card-action {
  position: relative;
  z-index: 1;
  align-self: end;
  display: inline-flex;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 780;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 22px;
  margin-bottom: 22px;
}

.standings-list,
.upcoming-list,
.news-list {
  display: grid;
  gap: 14px;
}

.standing-block {
  padding: 18px;
  border-radius: 20px;
  background: rgba(246, 250, 255, 0.78);
  border: 1px solid var(--line);
}

:root[data-theme="dark"] .standing-block { background: rgba(16, 36, 60, 0.60); }

.standing-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
}

.standing-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.standing-row b { color: var(--ink); font-weight: 720; }
.standing-row .form { color: var(--primary); font-weight: 800; }

.upcoming-row,
.news-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(246, 250, 255, 0.78);
  border: 1px solid var(--line);
}

:root[data-theme="dark"] .upcoming-row,
:root[data-theme="dark"] .news-row { background: rgba(16, 36, 60, 0.60); }

.upcoming-date,
.news-time {
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.upcoming-title,
.news-text {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 720;
}

.upcoming-subtitle { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  margin-top: 22px;
}

.ticker-title {
  color: var(--primary);
  font-weight: 850;
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 28px;
  overflow: hidden;
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: 14px;
}

.ticker-track span { display: inline-flex; gap: 8px; align-items: center; }
.ticker-track b { color: var(--muted); font-weight: 700; }

.mobile-bottom-nav {
  display: none;
}

.hidden { display: none !important; }

@media (max-width: 1180px) {
  .topbar { grid-template-columns: auto 1fr auto; }
  .main-nav { grid-column: 1 / -1; justify-self: start; overflow: auto; max-width: 100%; padding-bottom: 2px; }
  .date-pill { display: none; }
  .command-row { grid-template-columns: 1fr; }
  .segmented { justify-content: flex-start; overflow: auto; max-width: 100%; }
  .hero-intro { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-grid,
  .month-section,
  .lower-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .app-shell { width: min(100% - 24px, var(--content)); padding-top: 12px; padding-bottom: 92px; }
  .topbar {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }
  .logo { font-size: 34px; }
  .search { grid-column: 1 / -1; order: 3; }
  .search input { height: 46px; }
  .main-nav { display: none; }
  .theme-toggle { min-width: 46px; padding: 0 14px; }
  .theme-toggle span:last-child { display: none; }
  .command-row { margin-top: 12px; gap: 12px; }
  .focus-pill { width: 100%; min-height: 42px; padding: 0 14px; font-size: 13px; }
  .refresh-btn { width: 100%; }
  .segmented { width: 100%; justify-content: flex-start; }
  .segmented button { padding: 0 16px; white-space: nowrap; }
  .hero-intro { margin-bottom: 14px; }
  h1 { font-size: 38px; }
  .hero-copy { font-size: 14px; }
  .dashboard-grid { gap: 16px; }
  .feature-card { min-height: 0; padding: 26px 18px; border-radius: 26px; }
  .feature-head { align-items: center; }
  .event-chip { display: none; }
  .feature-title h2 { font-size: 35px; }
  .feature-title p { font-size: 14px; }
  .score-strip { grid-template-columns: 1fr; gap: 16px; }
  .team-block:last-child { text-align: left; justify-items: start; }
  .score-box { min-width: auto; width: 100%; }
  .score-value { font-size: 52px; }
  .stat-row { grid-template-columns: 1fr; }
  .side-header { display: none; }
  .event-item { grid-template-columns: 36px minmax(0, 1fr); padding: 16px; min-height: 0; }
  .event-meta { grid-column: 2; justify-items: start; display: flex; gap: 10px; }
  .event-code { display: none; }
  .month-section { margin: 18px 0; }
  .month-copy { padding: 22px; }
  .month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid { grid-template-columns: 1fr; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .lower-grid { gap: 16px; }
  .ticker { grid-template-columns: 1fr; }
  .ticker-track { overflow-x: auto; padding-bottom: 4px; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px;
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(20, 50, 90, .16);
    backdrop-filter: blur(18px);
  }
  :root[data-theme="dark"] .mobile-bottom-nav { background: rgba(9, 21, 36, .88); }
  .mobile-bottom-nav a {
    display: grid;
    gap: 3px;
    place-items: center;
    min-height: 52px;
    border-radius: 17px;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 750;
  }
  .mobile-bottom-nav a.is-active { color: var(--primary); background: var(--primary-soft); }
}
