:root {
  --app-bg: #020813;
  --app-surface: #07162b;
  --app-surface-soft: #0a1f3b;
  --app-ink: #f7fbff;
  --app-muted: rgba(218, 227, 241, 0.72);
  --app-blue: #4f8dff;
  --app-blue-dark: #f7fbff;
  --app-green: #9be51b;
  --app-green-dark: #2f6f00;
  --app-line: rgba(132, 158, 191, 0.28);
  --app-line-strong: rgba(132, 158, 191, 0.46);
  --app-danger: #c33131;
  --app-warning: #b66a00;
  --app-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  --app-shadow-soft: 0 12px 26px rgba(0, 0, 0, 0.22);
  --app-radius: 8px;
  --surface: #07162b;
  --surface-alt: #0a1f3b;
  --surface-soft: #0b1f38;
  --border: rgba(132, 158, 191, 0.28);
  --border-strong: rgba(132, 158, 191, 0.46);
  --text: #f7fbff;
  --text-soft: rgba(218, 227, 241, 0.78);
  --text-faint: rgba(218, 227, 241, 0.58);
  --blue: #4f8dff;
  --blue-soft: rgba(79, 141, 255, 0.14);
  --green-soft: rgba(155, 229, 27, 0.14);
  --amber-soft: rgba(245, 158, 11, 0.14);
  --red-soft: rgba(239, 68, 68, 0.14);
}

* {
  letter-spacing: 0 !important;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: #071a43;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  color: var(--app-ink);
  background: #071a43;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
a,
input,
select,
summary {
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(155, 229, 27, 0.68);
  outline-offset: 2px;
}

.app-shell {
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  margin: 0 auto;
  background:
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 38%, #f3f7fb 100%);
  position: relative;
  overflow: clip;
}

.site-footer {
  display: none;
}

.boot-splash {
  background: #071a43;
}

.boot-splash-logo {
  width: min(280px, 72vw);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.2));
}

.boot-splash-dots span {
  background: var(--app-green);
}

.boot-splash-status {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
h4 {
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0 !important;
}

.eyebrow {
  letter-spacing: 0 !important;
  color: var(--app-blue);
  text-transform: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background: linear-gradient(180deg, #071a43 0%, #0b2d72 100%);
  box-shadow: 0 16px 34px rgba(7, 26, 67, 0.28);
}

.brand-wrap {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
}

.brand-home-btn {
  display: flex;
  min-width: 0;
  height: 44px;
  align-items: center;
}

.brand-logo {
  width: 100px;
  max-height: 38px;
  object-fit: contain;
}

.topbar-menu-btn,
.topbar-drawer {
  display: none !important;
}

.topbar-mobile-search-slot {
  display: block;
  min-width: 0;
}

.topbar-mobile-search-slot .nav-search {
  width: 100%;
  min-width: 0;
}

.topbar-mobile-search-slot .nav-search-box,
.nav-search-box {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--app-radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.topbar-mobile-search-slot .nav-search-input,
.nav-search-input {
  color: inherit;
}

.topbar-mobile-search-slot .nav-search-input::placeholder,
.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

.topbar-mobile-search-slot .nav-search-icon,
.nav-search-icon {
  color: var(--app-green);
}

.topbar-mobile-search-slot .nav-search-results,
.nav-search-results,
.nav-dropdown-menu {
  border: 1px solid rgba(215, 226, 242, 0.86);
  border-radius: var(--app-radius);
  background: #ffffff;
  color: var(--app-ink);
  box-shadow: var(--app-shadow);
}

.nav-search-result,
.nav-dropdown-item {
  border-radius: var(--app-radius);
  color: var(--app-ink);
}

.nav-search-result:hover,
.nav-dropdown-item:hover {
  background: #eff6ff;
}

.page-shell {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding: 14px 12px calc(92px + env(safe-area-inset-bottom));
  display: grid;
  gap: 14px;
  overflow-x: hidden;
}

.page-header {
  display: grid;
  gap: 12px;
  align-items: stretch;
  padding: 0;
}

.page-header-main {
  padding: 2px 2px 0;
}

.page-header-main .eyebrow {
  margin-bottom: 5px;
  font-size: 0.74rem;
  font-weight: 800;
}

.page-header-main h2 {
  font-size: 1.45rem;
  line-height: 1.08;
  color: var(--app-blue-dark);
}

.page-copy {
  margin-top: 6px;
  color: var(--app-muted);
  font-size: 0.9rem;
  line-height: 1.42;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.week-controls {
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(215, 226, 242, 0.9);
  border-radius: var(--app-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--app-shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.week-controls-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.week-label-wrap {
  min-height: 42px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  background: #ffffff;
  color: var(--app-ink);
}

.week-label-caption {
  color: var(--app-blue);
  font-weight: 800;
  text-transform: none;
}

.date-nav-btn,
.week-controls .date-nav-btn {
  min-width: 38px;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: var(--app-radius);
  color: var(--app-blue-dark);
  background: #edf5ff;
  border-color: #d2e4ff;
  box-shadow: none;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
  overflow: visible;
}

.date-chip {
  min-height: 58px;
  padding: 7px 4px;
  border-radius: var(--app-radius);
  border-color: var(--app-line);
  background: #ffffff;
  color: var(--app-ink);
  box-shadow: none;
}

.date-chip.active {
  color: #ffffff;
  background: var(--app-blue);
  border-color: var(--app-blue);
  box-shadow: 0 12px 22px rgba(7, 91, 255, 0.26);
}

.date-chip.today:not(.active) {
  border-color: rgba(155, 229, 27, 0.75);
  background: #f5ffe5;
}

.date-chip-meta,
.date-chip-month {
  color: inherit;
  opacity: 0.72;
}

.date-chip-day {
  color: inherit;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stat-card,
.summary-grid .stat-card,
.panel-card,
.tab-panel,
.market-card,
.info-card,
.form-card,
.value-card,
.empty-card,
.league-section,
.day-group,
.country-section {
  border: 1px solid rgba(215, 226, 242, 0.95);
  border-radius: var(--app-radius);
  background: var(--app-surface);
  box-shadow: var(--app-shadow-soft);
}

.stat-card {
  min-height: 78px;
  padding: 10px 8px;
  justify-content: center;
  text-align: center;
}

.stat-card strong {
  color: var(--app-blue-dark);
  font-size: 1.08rem;
}

.stat-card small,
.stat-card .muted {
  color: var(--app-muted);
  font-size: 0.68rem;
}

.league-section {
  overflow: hidden;
}

.section-head,
.day-head,
.country-head {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(215, 226, 242, 0.78);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.section-head h3,
.day-head h4,
.country-head h3 {
  color: var(--app-blue-dark);
}

.section-copy,
.empty-copy,
.detail-copy,
.detail-note {
  color: var(--app-muted);
}

.section-body,
.fixture-list {
  display: grid;
  gap: 12px;
}

.section-body {
  padding: 8px;
}

.fixture-card,
.world-cup-fixture-card {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(215, 226, 242, 0.94);
  border-radius: var(--app-radius);
  color: var(--app-ink);
  background: #ffffff;
  box-shadow: none;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.fixture-card:last-child {
  border-bottom: 1px solid rgba(215, 226, 242, 0.94);
}

.fixture-card:hover,
.fixture-card:focus-visible,
.world-cup-fixture-card:hover,
.world-cup-fixture-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(7, 91, 255, 0.35);
  box-shadow: 0 10px 20px rgba(7, 26, 67, 0.08);
}

.fixture-card-placeholder,
.world-cup-fixture-card-placeholder {
  cursor: default;
}

.fixture-card-placeholder:hover,
.fixture-card-placeholder:focus-visible,
.world-cup-fixture-card-placeholder:hover,
.world-cup-fixture-card-placeholder:focus-visible {
  transform: none;
  border-color: rgba(215, 226, 242, 0.94);
  box-shadow: none;
}

.fixture-grid.fixture-grid-compact {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.fixture-time {
  display: grid;
  justify-items: start;
  gap: 4px;
}

.fixture-kickoff-pill {
  min-width: 48px;
  padding: 7px 6px;
  border: 0;
  border-radius: var(--app-radius);
  color: #ffffff;
  background: var(--app-blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.fixture-stadium-mobile {
  display: block;
  max-width: 64px;
  color: var(--app-muted);
  font-size: 0.62rem;
  line-height: 1.15;
}

.teams-inline.teams-with-stadium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.team-inline-with-logo {
  min-width: 0;
  gap: 6px;
}

.team-inline-logo {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(215, 226, 242, 0.9);
}

.teams {
  color: var(--app-ink);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixture-versus {
  min-width: 34px;
  justify-content: center;
  color: var(--app-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.fixture-divider {
  display: none;
}

.fixture-subline-inline {
  grid-column: 1 / -1;
  color: var(--app-muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixture-side-compact {
  min-width: 34px;
  justify-content: end;
}

.badge,
.status-pill,
.league-summary-pill,
.day-count {
  border-radius: var(--app-radius);
  font-weight: 800;
}

.badge-blue,
.fixture-side .badge[data-mobile-kickoff],
.badge.badge-blue {
  color: var(--app-blue-dark);
  background: #e8f2ff;
  border-color: #cfe2ff;
}

.badge-green,
.status-pill:not(.muted-pill) {
  color: var(--app-green-dark);
  background: #efffce;
  border-color: rgba(155, 229, 27, 0.75);
}

.muted-pill {
  color: var(--app-muted);
  background: #f3f7fb;
}

.primary-btn,
.ghost-btn,
.nav-chip,
.tab-btn,
.detail-nav-btn,
.account-cta-row button {
  min-height: 44px;
  border-radius: var(--app-radius);
  font-weight: 800;
}

.primary-btn {
  color: #ffffff;
  border: 1px solid var(--app-blue);
  background: var(--app-blue);
  box-shadow: 0 12px 24px rgba(7, 91, 255, 0.24);
}

.primary-btn:hover {
  background: #064fe0;
}

.ghost-btn {
  color: var(--app-blue-dark);
  border: 1px solid #cfe2ff;
  background: #eff6ff;
  box-shadow: none;
}

.app-bottom-nav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 80;
  width: min(100%, 740px);
  max-width: 100vw;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border: 1px solid rgba(215, 226, 242, 0.9);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -16px 34px rgba(7, 26, 67, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.app-bottom-nav-btn {
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 7px 4px;
  border: 0;
  border-radius: var(--app-radius);
  color: var(--app-muted);
  background: transparent;
}

.app-bottom-nav-btn svg,
.app-bottom-nav-btn svg path,
.app-bottom-nav-btn svg circle {
  stroke: currentColor !important;
}

.app-bottom-nav-btn.is-active {
  color: var(--app-blue-dark);
  background: linear-gradient(180deg, #eef6ff 0%, #e6f1ff 100%);
}

.app-bottom-nav-btn.is-active .app-bottom-nav-icon {
  color: var(--app-blue);
  background: #ffffff;
  box-shadow: 0 0 0 1px #cfe2ff;
}

.app-bottom-nav-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--app-radius);
}

.app-bottom-nav-label {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 800;
}

.detail-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.detail-hero {
  padding: 15px;
  border: 1px solid rgba(215, 226, 242, 0.95);
  border-radius: var(--app-radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--app-shadow-soft);
}

.detail-hero-top,
.detail-hero-top-strong,
.detail-headline,
.detail-headline-strong {
  display: grid;
  gap: 12px;
}

.detail-title-row {
  display: grid;
  gap: 10px;
}

.detail-title-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  font-size: 1.22rem;
  line-height: 1.08;
}

.detail-team-name-with-logo {
  justify-content: start;
  min-width: 0;
}

.detail-team-name-logo {
  width: 30px;
  height: 30px;
}

.detail-title-vs {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  color: var(--app-muted);
  background: #ffffff;
  font-size: 0.76rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.detail-sidebar {
  position: sticky;
  top: 76px;
  z-index: 30;
}

.detail-nav-card {
  padding: 8px;
  border-radius: var(--app-radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.detail-nav-list,
.tab-row,
.subtab-row,
.world-cup-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px;
  scrollbar-width: none;
}

.detail-nav-list::-webkit-scrollbar,
.tab-row::-webkit-scrollbar,
.subtab-row::-webkit-scrollbar,
.world-cup-tabs::-webkit-scrollbar {
  display: none;
}

.detail-nav-btn,
.tab-btn {
  flex: 0 0 auto;
  width: auto !important;
  min-width: max-content !important;
  order: 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--app-line);
  color: var(--app-muted);
  background: #ffffff;
  box-shadow: none;
}

.detail-nav-btn span {
  color: inherit;
}

.detail-nav-btn.active,
.tab-btn.active {
  color: #ffffff;
  border-color: var(--app-blue);
  background: var(--app-blue);
}

.tab-panel {
  padding: 14px;
}

.overview-rate-grid,
.dual-grid,
.trip-grid,
.metric-grid,
.account-grid,
.stat-compare-grid,
.world-cup-table-grid,
.world-cup-last5-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.overview-rate-card,
.overview-compare-card,
.ai-pick-card,
.grouped-ai-pick-card,
.player-stat-card,
.world-cup-group-card {
  border-radius: var(--app-radius);
  border-color: rgba(215, 226, 242, 0.95);
  background: #ffffff;
  box-shadow: none;
}

.overview-rate-split {
  gap: 10px;
}

.overview-rate-donut {
  width: 74px;
  height: 74px;
}

.overview-compare-row {
  border-radius: var(--app-radius);
  background: #f7fbff;
}

.form-sequence {
  gap: 5px;
}

.form-pill {
  border-radius: var(--app-radius);
}

.world-cup-shell {
  gap: 12px;
}

.world-cup-access-card,
.world-cup-module-head,
.world-cup-fixture-top {
  display: grid;
  gap: 12px;
}

.world-cup-entry-pass-cta {
  padding-top: 48px;
  padding-right: 18px;
}

.world-cup-entry-pass-dismiss {
  color: var(--app-muted);
}

.world-cup-pass-side,
.world-cup-head-actions {
  display: grid;
  gap: 8px;
}

.world-cup-access-card .account-cta-row,
.world-cup-pass-side {
  width: 100%;
  align-items: stretch;
}

.world-cup-access-card .account-cta-row .primary-btn,
.world-cup-access-card .account-cta-row .ghost-btn,
.world-cup-pass-side .primary-btn,
.world-cup-pass-side .ghost-btn,
.world-cup-pass-side .status-pill {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

.account-cta-row .account-mobile-action-full {
  width: 100%;
  justify-content: center;
}

.world-cup-date-nav {
  padding: 8px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  background: #ffffff;
}

.world-cup-fixture-card {
  text-align: left;
}

.world-cup-fixture-top h4 {
  display: grid;
  gap: 8px;
  font-size: 1rem;
}

.table-wrap {
  border-radius: var(--app-radius);
  border: 1px solid var(--app-line);
}

.league-table th,
.league-table td {
  padding: 10px 8px;
}

.account-layout,
.signup-layout,
.delete-account-layout {
  max-width: 740px;
  margin: 0 auto;
}

.signup-shell,
.account-hero-card {
  border-radius: var(--app-radius);
}

.signup-field input,
.signup-field select {
  min-height: 48px;
  border-radius: var(--app-radius);
  border-color: var(--app-line);
  background: #ffffff;
}

.account-feedback {
  position: relative;
  padding-right: 44px;
  border-radius: var(--app-radius);
}

.data-status-banner {
  position: relative;
  padding-right: 44px;
}

.locked-feature-card,
.world-cup-pass-lock-card {
  border-color: rgba(7, 91, 255, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.locked-feature-icon {
  border-radius: var(--app-radius);
  color: var(--app-blue);
  background: #e8f2ff;
}

@media (min-width: 780px) {
  body {
    background:
      linear-gradient(90deg, #071a43 0%, #0b2d72 50%, #071a43 100%);
  }

  .app-shell {
    max-width: 740px;
    min-height: 100dvh;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.32);
  }

  .page-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 520px) {
  .app-shell,
  .topbar,
  .page-shell {
    width: 100% !important;
    max-width: 100vw !important;
  }

  .app-bottom-nav {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    transform: none !important;
    display: flex !important;
  }

  .app-bottom-nav-btn {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    padding-left: 2px;
    padding-right: 2px;
  }

  .app-bottom-nav-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-header,
  .page-header-main,
  .section-head,
  .day-head,
  .fixture-main,
  .teams-inline,
  .panel-card,
  .tab-panel {
    min-width: 0;
  }

  .page-header-main h2,
  .section-head h3,
  .day-head h4 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .brand-wrap {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .brand-logo {
    width: 90px;
  }

  .summary-grid {
    gap: 6px;
  }

  .stat-card {
    min-height: 70px;
    padding: 8px 5px;
  }

  .stat-card strong {
    font-size: 0.98rem;
  }

  .fixture-grid.fixture-grid-compact {
    grid-template-columns: 48px minmax(0, 1fr) 30px;
    gap: 8px;
  }

  .teams {
    font-size: 0.82rem;
  }

  .team-inline-logo {
    width: 22px;
    height: 22px;
  }

  .fixture-versus {
    min-width: 28px;
    font-size: 0.7rem;
  }

  .detail-title-matchup {
    font-size: 1.08rem;
  }

  .overview-rate-split {
    grid-template-columns: 1fr;
  }
}

/* Mobile app hardening: these overrides keep the fork feeling like an app shell,
   not the desktop dashboard squeezed into a phone viewport. */
.app-shell,
.topbar,
.page-shell,
.app-bottom-nav {
  box-sizing: border-box;
}

.topbar {
  padding-left: max(10px, env(safe-area-inset-left));
  padding-right: max(10px, env(safe-area-inset-right));
}

.brand-wrap {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
}

.brand-home-btn {
  width: 84px;
}

.brand-logo {
  width: 82px;
}

.topbar-mobile-search-slot,
.topbar-mobile-search-slot .nav-search,
.topbar-mobile-search-slot .nav-search-box {
  max-width: 100%;
  min-width: 0;
}

.topbar-mobile-search-slot .nav-search-box {
  min-height: 40px;
  padding-inline: 10px;
}

.topbar-mobile-search-slot .nav-search-input {
  min-width: 0;
  font-size: 0.88rem;
}

.page-shell {
  padding-top: 12px;
}

.page-header {
  gap: 8px;
}

.page-header-main {
  display: grid;
  gap: 2px;
  padding-inline: 2px;
}

.page-header-main .eyebrow {
  margin: 0;
  font-size: 0.78rem;
}

.page-copy {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.32;
}

.page-title-league-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}

.page-title-league-lockup > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-title-league-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-title-league-logo.nav-league-logo-fallback {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #07111f;
  background: var(--app-green);
  font-size: 0.92rem;
  font-weight: 800;
}

.summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.summary-grid .stat-card,
.stat-card {
  min-height: 78px;
  padding: 10px;
}

.summary-grid .stat-card span,
.stat-card span {
  font-size: 0.75rem;
}

.summary-grid .stat-card strong,
.stat-card strong {
  font-size: 1.18rem;
}

.app-bottom-nav {
  inset-inline: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  transform: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
}

.app-bottom-nav-btn {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.app-bottom-nav-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .brand-wrap {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 7px;
  }

  .brand-home-btn {
    width: 72px;
  }

  .brand-logo {
    width: 70px;
  }

  .topbar-mobile-search-slot .nav-search-input {
    font-size: 0.82rem;
  }

  .page-shell {
    padding-left: 9px;
    padding-right: 9px;
  }
}

/* Account views keep their darker hero treatment inside the mobile fork.
   The generic app-card reset above intentionally makes most panels white. */
.guest-hero-card,
.signed-in-hero-card {
  border: 0 !important;
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(7, 26, 67, 0.18);
}

.guest-hero-card {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.2), transparent 34%),
    linear-gradient(135deg, #101a32 0%, #18233c 100%) !important;
}

.signed-in-hero-card {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #1f2937 100%) !important;
}

.guest-hero-card .eyebrow,
.guest-hero-card .section-copy,
.guest-status-copy,
.signed-in-hero-card .eyebrow,
.signed-in-hero-card .section-copy {
  color: rgba(255, 255, 255, 0.82) !important;
}

.guest-hero-copy h3,
.signed-in-hero-card h3,
.guest-hero-panel h4 {
  color: #ffffff !important;
}

.guest-avatar,
.account-avatar {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.guest-hero-card .status-pill,
.signed-in-hero-card .status-pill,
.guest-pill-row .muted-pill {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.guest-account-actions .ghost-btn,
.signed-in-account-actions .ghost-btn {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.guest-account-actions .ghost-btn:hover,
.signed-in-account-actions .ghost-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

/* App-wide dark theme for every mobile route outside the already-specialised
   dashboard and fixture-detail surfaces. */
body {
  color: var(--app-ink);
  background: #020813;
}

.app-shell {
  color: var(--app-ink);
  background:
    radial-gradient(circle at 18% -10%, rgba(7, 91, 255, 0.2), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(155, 229, 27, 0.08), transparent 28%),
    linear-gradient(180deg, #031020 0%, #020813 58%, #020813 100%);
}

.topbar {
  border-bottom: 1px solid rgba(103, 132, 171, 0.24);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(3, 16, 32, 0.98), rgba(3, 16, 32, 0.9));
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-header-main .eyebrow,
.eyebrow {
  color: var(--app-green);
}

.page-header-main h2,
.section-head h3,
.day-head h4,
.country-head h3,
.panel-card h3,
.panel-card h4,
.info-card h4,
.empty-card h4,
.account-section-panel h4,
.signup-copy h3,
.signup-plan-top h4,
.login-card h3,
.standings-group-head h4 {
  color: #ffffff;
}

.page-copy,
.section-copy,
.empty-copy,
.detail-copy,
.detail-note,
.muted,
.account-plan-copy,
.signup-plan-copy,
.signup-steps,
.fixture-stadium-mobile,
.fixture-subline-inline,
.stat-card small,
.stat-card .muted,
.sidebar-list li,
.league-table th {
  color: var(--app-muted);
}

.nav-search-box,
.topbar-mobile-search-slot .nav-search-box {
  border-color: rgba(132, 158, 191, 0.34);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-search-results,
.nav-dropdown-menu,
.topbar-mobile-search-slot .nav-search-results {
  border-color: rgba(132, 158, 191, 0.28);
  color: #ffffff;
  background: rgba(5, 16, 32, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.nav-dropdown-item,
.nav-search-result {
  color: #ffffff;
}

.nav-dropdown-item:hover,
.nav-search-result:hover,
.nav-dropdown-item.active {
  background: rgba(155, 229, 27, 0.1);
}

.week-controls,
.world-cup-date-nav {
  border-color: rgba(132, 158, 191, 0.24);
  background: rgba(7, 22, 43, 0.82);
  box-shadow: var(--app-shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.week-label-wrap,
.date-chip {
  border-color: rgba(132, 158, 191, 0.28);
  color: rgba(222, 231, 244, 0.78);
  background: rgba(10, 24, 45, 0.84);
}

.date-chip.active {
  border-color: var(--app-green);
  color: #07111f;
  background: var(--app-green);
  box-shadow: 0 12px 28px rgba(155, 229, 27, 0.24);
}

.date-chip.today:not(.active) {
  border-color: rgba(155, 229, 27, 0.46);
  background: rgba(155, 229, 27, 0.08);
}

.stat-card,
.summary-grid .stat-card,
.panel-card,
.tab-panel,
.market-card,
.info-card,
.form-card,
.value-card,
.empty-card,
.league-section,
.day-group,
.country-section,
.summary-panel-card,
.overview-rate-card,
.overview-compare-card,
.ai-pick-card,
.grouped-ai-pick-card,
.player-stat-card,
.world-cup-group-card,
.signup-plan-card,
.locked-feature-card,
.world-cup-pass-lock-card,
.table-wrap {
  border-color: rgba(132, 158, 191, 0.24);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(8, 22, 43, 0.94), rgba(5, 16, 32, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.2);
}

.section-head,
.day-head,
.country-head,
.standings-group-head {
  border-bottom-color: rgba(132, 158, 191, 0.22);
  background:
    linear-gradient(180deg, rgba(10, 31, 58, 0.94), rgba(7, 22, 43, 0.94));
}

.fixture-card,
.world-cup-fixture-card {
  border-color: rgba(132, 158, 191, 0.24);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(9, 26, 49, 0.94), rgba(5, 16, 32, 0.94));
  box-shadow: none;
}

.fixture-card:last-child {
  border-bottom-color: rgba(132, 158, 191, 0.24);
}

.fixture-card:hover,
.fixture-card:focus-visible,
.world-cup-fixture-card:hover,
.world-cup-fixture-card:focus-visible {
  border-color: rgba(155, 229, 27, 0.42);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.teams,
.team-cell,
.team-inline-with-logo,
.world-cup-fixture-top h4,
.stat-card strong,
.league-table td,
.league-table td strong,
.sidebar-list li strong {
  color: #ffffff;
}

.team-inline-logo,
.league-inline-logo,
.team-logo {
  background: transparent;
  box-shadow: none;
}

.fixture-kickoff-pill {
  color: #07111f;
  background: var(--app-green);
}

.fixture-versus {
  color: rgba(218, 227, 241, 0.66);
}

.badge,
.status-pill,
.league-summary-pill,
.day-count {
  border: 1px solid rgba(132, 158, 191, 0.28);
  color: rgba(218, 227, 241, 0.82);
  background: rgba(255, 255, 255, 0.055);
}

.badge-blue,
.fixture-side .badge[data-mobile-kickoff],
.badge.badge-blue {
  color: #b8d2ff;
  background: rgba(79, 141, 255, 0.12);
  border-color: rgba(79, 141, 255, 0.34);
}

.badge-green,
.status-pill:not(.muted-pill) {
  color: var(--app-green);
  background: rgba(155, 229, 27, 0.1);
  border-color: rgba(155, 229, 27, 0.34);
}

.badge-red {
  color: #ffb4b4;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.32);
}

.muted-pill {
  color: rgba(218, 227, 241, 0.72);
  background: rgba(255, 255, 255, 0.045);
}

.signup-consent-option {
  border-color: rgba(132, 158, 191, 0.24);
  color: rgba(218, 227, 241, 0.82);
  background: rgba(255, 255, 255, 0.045);
}

.signup-consent-option input {
  accent-color: var(--app-green);
}

.signup-consent-option small {
  color: rgba(158, 174, 198, 0.78);
}

.signup-security-note {
  color: rgba(158, 174, 198, 0.82);
}

.primary-btn,
.account-info-card .account-cta-row .primary-btn,
.account-plan-card .account-cta-row .primary-btn,
.login-submit-btn,
.signup-submit-btn {
  border-color: var(--app-green);
  color: #07111f;
  background: var(--app-green);
  box-shadow: 0 12px 24px rgba(155, 229, 27, 0.18);
}

.primary-btn:hover,
.account-info-card .account-cta-row .primary-btn:hover,
.account-plan-card .account-cta-row .primary-btn:hover {
  border-color: #b7ff35;
  background: #b7ff35;
}

.ghost-btn,
.account-info-card .account-cta-row .ghost-btn,
.account-plan-card .account-cta-row .ghost-btn,
.tab-btn,
.detail-nav-btn {
  border-color: rgba(132, 158, 191, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.ghost-btn:hover,
.account-info-card .account-cta-row .ghost-btn:hover,
.account-plan-card .account-cta-row .ghost-btn:hover,
.tab-btn:hover {
  border-color: rgba(155, 229, 27, 0.34);
  background: rgba(155, 229, 27, 0.08);
}

.tab-btn.active,
.detail-nav-btn.active {
  border-color: var(--app-green);
  color: #07111f;
  background: var(--app-green);
}

.world-cup-tabs {
  background: transparent !important;
}

.world-cup-tabs .tab-btn {
  border-color: rgba(132, 158, 191, 0.28) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.055) !important;
  box-shadow: none !important;
}

.world-cup-tabs .tab-btn:hover,
.world-cup-tabs .tab-btn:focus-visible {
  border-color: rgba(155, 229, 27, 0.34) !important;
  background: rgba(155, 229, 27, 0.08) !important;
}

.world-cup-tabs .tab-btn.active {
  border-color: var(--app-green) !important;
  color: #07111f !important;
  background: var(--app-green) !important;
}

.account-modal-backdrop {
  background: rgba(1, 8, 22, 0.72);
}

.account-modal-card {
  border-color: rgba(132, 158, 191, 0.28);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(10, 25, 52, 0.98), rgba(4, 13, 30, 0.98));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
}

.account-modal-close {
  border-color: rgba(132, 158, 191, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
}

.account-modal-close:hover,
.account-modal-close:focus-visible {
  border-color: rgba(155, 229, 27, 0.34);
  background: rgba(155, 229, 27, 0.08);
}

.account-modal-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.account-modal-actions .danger-btn,
.account-modal-actions .ghost-btn {
  width: 100%;
  justify-content: center;
}

.danger-btn,
.delete-confirm-card {
  border-color: rgba(239, 68, 68, 0.36);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.96), rgba(69, 10, 10, 0.96));
}

.delete-confirm-card-locked {
  opacity: 0.76;
}

.signup-field span,
.login-form label span {
  color: rgba(218, 227, 241, 0.82);
}

.signup-field input,
.signup-field select,
input,
select {
  border-color: rgba(132, 158, 191, 0.34);
  color: #ffffff;
  background: rgba(3, 12, 29, 0.82);
}

.signup-field input::placeholder,
input::placeholder {
  color: rgba(218, 227, 241, 0.45);
}

.sidebar-list li,
.reason-list li,
.caution-list li,
.form-list li,
.h2h-list li {
  border-color: rgba(132, 158, 191, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.league-table {
  color: #ffffff;
  background: transparent;
}

.league-table th,
.league-table td {
  border-bottom-color: rgba(132, 158, 191, 0.22);
}

.league-table th {
  color: rgba(218, 227, 241, 0.58);
}

.league-table tbody tr {
  background: transparent;
}

.account-feedback-success {
  color: #d9ffc0;
  background: rgba(155, 229, 27, 0.1);
  border-color: rgba(155, 229, 27, 0.32);
}

.account-feedback-error,
.data-status-banner {
  color: #ffd2a7;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

.inline-link-btn {
  color: var(--app-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-dismiss-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.notice-dismiss-btn:hover,
.notice-dismiss-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.locked-feature-icon,
.account-security-mark {
  color: #07111f;
  background: var(--app-green);
  border-color: rgba(155, 229, 27, 0.38);
  box-shadow: none;
}

.app-bottom-nav {
  border-color: rgba(132, 158, 191, 0.2);
  background: rgba(5, 16, 32, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -12px 28px rgba(0, 0, 0, 0.24);
}

.app-bottom-nav-btn {
  color: rgba(218, 227, 241, 0.72);
}

.app-bottom-nav-btn.is-active {
  color: var(--app-green);
  background: rgba(255, 255, 255, 0.06);
}

.app-bottom-nav-btn.is-active .app-bottom-nav-icon {
  color: var(--app-green);
  background: transparent;
  box-shadow: none;
}

/* Fixture detail overhaul */
body.fixture-detail-mode {
  color: #ffffff;
  background: #020713;
}

body.fixture-detail-mode .app-shell {
  background:
    radial-gradient(circle at 50% -18%, rgba(7, 91, 255, 0.24), transparent 42%),
    linear-gradient(180deg, #020713 0%, #061124 100%);
}

body.fixture-detail-mode .topbar,
body.fixture-detail-mode .page-header,
body.fixture-detail-mode .detail-topbar {
  display: none !important;
}

body.fixture-detail-mode .page-shell {
  max-width: 430px;
  padding-top: calc(10px + env(safe-area-inset-top));
  gap: 10px;
}

body.fixture-detail-mode .detail-hero {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

.fixture-detail-mobile-shell {
  display: grid;
  gap: 10px;
}

.fixture-detail-app-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}

.fixture-detail-icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  appearance: none;
}

.fixture-detail-icon-btn:active {
  background: rgba(255, 255, 255, 0.1);
}

.fixture-detail-app-title {
  min-width: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 850;
}

.fixture-detail-app-title strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-detail-title-icon,
.fixture-detail-edge-icon {
  color: var(--app-green);
}

.fixture-detail-match-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 12px;
  min-height: 110px;
  padding: 13px 14px 12px;
  border: 1px solid rgba(80, 111, 154, 0.58);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12, 29, 58, 0.82), rgba(5, 14, 32, 0.96)),
    radial-gradient(circle at 50% 120%, rgba(155, 229, 27, 0.26), transparent 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(0, 0, 0, 0.28);
}

.fixture-detail-match-card::before {
  content: '';
  position: absolute;
  inset: auto -10% -28% -10%;
  height: 82%;
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(255, 255, 255, 0.12) 47% 53%, transparent 53% 100%),
    radial-gradient(ellipse at center, rgba(155, 229, 27, 0.24), rgba(34, 88, 42, 0.14) 38%, transparent 70%);
  transform: perspective(220px) rotateX(58deg);
  transform-origin: bottom center;
}

.fixture-detail-match-card-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 36%, rgba(13, 148, 136, 0.24), transparent 25%),
    radial-gradient(circle at 86% 30%, rgba(7, 91, 255, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 34%, transparent 66%, rgba(255, 255, 255, 0.04));
}

.fixture-detail-match-stage {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(214, 224, 240, 0.88);
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.fixture-detail-match-stage span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-detail-match-stage small {
  flex: 0 0 auto;
  color: var(--app-green);
  font-size: 0.62rem;
  font-weight: 850;
}

.fixture-detail-match-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(70px, 86px) minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

.fixture-detail-team {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.fixture-detail-team-logo-wrap {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.fixture-detail-team-logo,
.fixture-detail-team-logo-placeholder {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  object-fit: contain;
  color: var(--app-blue-dark);
  font-size: 1rem;
  font-weight: 900;
}

.fixture-detail-team strong {
  max-width: 100%;
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.fixture-detail-match-center {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-width: 0;
  padding-bottom: 3px;
  text-align: center;
}

.fixture-detail-match-center strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.fixture-detail-match-center span {
  margin-top: 5px;
  color: var(--app-green);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.12;
}

.fixture-detail-match-center small {
  color: rgba(221, 232, 246, 0.88);
  font-size: 0.68rem;
  line-height: 1.1;
}

.fixture-detail-edge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fixture-detail-edge-card {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 4px 5px;
  padding: 9px 8px;
  border: 1px solid rgba(80, 111, 154, 0.58);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(6, 18, 39, 0.94);
}

.fixture-detail-edge-card .fixture-detail-edge-icon {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.fixture-detail-edge-label {
  min-width: 0;
  color: rgba(216, 226, 240, 0.68);
  font-size: 0.5rem;
  font-weight: 750;
  line-height: 1.08;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-detail-edge-card strong {
  min-width: 0;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.fixture-detail-context-copy {
  margin: 0;
  color: rgba(222, 232, 246, 0.78);
  font-size: 0.78rem;
  line-height: 1.32;
}

body.fixture-detail-mode .detail-grid {
  gap: 10px;
}

body.fixture-detail-mode .detail-sidebar {
  top: 8px;
}

body.fixture-detail-mode .detail-nav-card {
  padding: 5px 6px 0;
  border: 1px solid rgba(80, 111, 154, 0.52);
  border-radius: 9px;
  background: rgba(5, 14, 32, 0.96);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

body.fixture-detail-mode .detail-nav-list {
  gap: 0;
  padding: 0;
}

body.fixture-detail-mode .detail-nav-btn {
  min-height: 38px;
  padding: 10px 11px 11px;
  border: 0;
  border-radius: 0;
  color: rgba(215, 226, 242, 0.7);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 800;
}

body.fixture-detail-mode .detail-nav-btn span {
  display: none;
}

body.fixture-detail-mode .detail-nav-btn.active {
  color: var(--app-green);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--app-green);
}

body.fixture-detail-mode .tab-panel,
body.fixture-detail-mode .panel-card,
body.fixture-detail-mode .value-card,
body.fixture-detail-mode .overview-rate-card,
body.fixture-detail-mode .overview-compare-card,
body.fixture-detail-mode .ai-pick-card,
body.fixture-detail-mode .grouped-ai-pick-card,
body.fixture-detail-mode .player-stat-card {
  border-color: rgba(80, 111, 154, 0.52);
  color: #ffffff;
  background: rgba(5, 14, 32, 0.94);
}

body.fixture-detail-mode .tab-panel h3,
body.fixture-detail-mode .tab-panel h4,
body.fixture-detail-mode .panel-card h4,
body.fixture-detail-mode .value-card h4 {
  color: #ffffff;
}

body.fixture-detail-mode .section-copy,
body.fixture-detail-mode .detail-note,
body.fixture-detail-mode .empty-copy,
body.fixture-detail-mode .muted {
  color: rgba(216, 226, 240, 0.74) !important;
}

/* Date navigation needs stronger mobile contrast than the desktop dashboard. */
.week-controls,
.world-cup-date-nav {
  padding: 10px;
  border-color: #b7c8de;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 26, 67, 0.08);
}

.week-controls-head {
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  margin-bottom: 10px;
}

.week-label-wrap {
  min-height: 46px;
  padding: 7px 10px;
  border-color: #a9bed8;
  background: #f8fbff;
  color: var(--app-blue-dark);
}

.week-label-caption {
  color: #075bff;
  font-size: 0.66rem;
  line-height: 1;
}

.week-label-wrap strong {
  color: var(--app-blue-dark);
  font-size: 0.92rem;
  line-height: 1.15;
}

.date-nav-btn,
.week-controls .date-nav-btn,
.world-cup-date-nav .date-nav-btn {
  min-width: 42px;
  width: 42px;
  min-height: 42px;
  border-color: #a9bed8;
  color: var(--app-blue-dark);
  background: #e8f2ff;
  font-size: 1.08rem;
  box-shadow: none;
}

.date-nav-btn:hover,
.week-controls .date-nav-btn:hover,
.world-cup-date-nav .date-nav-btn:hover {
  background: #dcebff;
}

.date-strip,
.world-cup-date-strip {
  gap: 7px;
}

.date-chip {
  min-height: 62px;
  border-color: #b7c8de;
  color: var(--app-blue-dark);
  background: #ffffff;
}

.date-chip-meta,
.date-chip-month {
  color: #465a75 !important;
  opacity: 1;
}

.date-chip-day {
  color: var(--app-blue-dark);
  font-size: 1rem;
}

.date-chip.active {
  color: #ffffff !important;
  border-color: #075bff;
  background: #075bff;
  box-shadow: 0 12px 22px rgba(7, 91, 255, 0.28);
}

.date-chip.active .date-chip-meta,
.date-chip.active .date-chip-day,
.date-chip.active .date-chip-month {
  color: #ffffff !important;
  opacity: 1;
}

.date-chip.today:not(.active) {
  border-color: #8ac90f;
  color: var(--app-blue-dark);
  background: #f2ffd9;
}

.date-chip.today:not(.active) .date-chip-meta,
.date-chip.today:not(.active) .date-chip-month {
  color: #2f6f00 !important;
}

.world-cup-date-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: hidden;
}

.world-cup-date-controls {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: stretch;
}

.world-cup-date-current {
  min-height: 46px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 7px 10px;
  border: 1px solid #a9bed8;
  border-radius: var(--app-radius);
  background: #f8fbff;
  color: var(--app-blue-dark);
}

.world-cup-date-current span {
  color: #075bff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
}

.world-cup-date-current strong {
  color: var(--app-blue-dark);
  font-size: 0.88rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-cup-date-strip {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(64px, 72px);
  grid-template-columns: none !important;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 8px;
  scroll-padding-inline: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.world-cup-date-strip::-webkit-scrollbar {
  display: none;
}

.world-cup-date-strip .date-chip,
.world-cup-date-strip .date-chip:nth-child(n + 4),
.world-cup-date-strip .date-chip:nth-child(n + 6) {
  display: grid !important;
  width: 100%;
  scroll-snap-align: center;
}

/* Fixture detail polish pass: keep the whole fixture route in the same dark app surface. */
body.fixture-detail-mode {
  --detail-bg: #020814;
  --detail-surface: rgba(5, 16, 36, 0.98);
  --detail-surface-strong: rgba(8, 23, 49, 0.98);
  --detail-surface-soft: rgba(13, 31, 61, 0.84);
  --detail-line: rgba(99, 130, 174, 0.45);
  --detail-line-strong: rgba(155, 229, 27, 0.42);
  --detail-copy: rgba(219, 231, 246, 0.78);
  --detail-copy-soft: rgba(185, 202, 225, 0.68);
  background: var(--detail-bg);
}

body.fixture-detail-mode .app-shell {
  background:
    linear-gradient(180deg, #06142d 0%, #020814 22%, #020814 100%);
}

body.fixture-detail-mode .page-shell {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: calc(94px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(11, 35, 77, 0.38), transparent 210px),
    var(--detail-bg);
}

body.fixture-detail-mode .fixture-detail-mobile-shell {
  gap: 12px;
}

body.fixture-detail-mode .fixture-detail-app-head {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  min-height: 42px;
}

body.fixture-detail-mode .fixture-detail-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(238, 246, 255, 0.9);
  background: rgba(255, 255, 255, 0.035);
}

body.fixture-detail-mode .fixture-detail-icon-btn:active {
  color: #ffffff;
  background: rgba(155, 229, 27, 0.12);
}

body.fixture-detail-mode .fixture-detail-app-title {
  font-size: 1.02rem;
}

body.fixture-detail-mode .fixture-detail-match-card {
  min-height: 136px;
  gap: 14px;
  padding: 14px 14px 13px;
  border-color: rgba(126, 157, 201, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 44, 84, 0.92), rgba(5, 17, 39, 0.98)),
    linear-gradient(125deg, rgba(155, 229, 27, 0.14), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 34px rgba(0, 0, 0, 0.34);
}

body.fixture-detail-mode .fixture-detail-match-card::before {
  inset: auto -12% -34% -12%;
  height: 88%;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(235, 255, 220, 0.15) 47% 53%, transparent 53% 100%),
    linear-gradient(0deg, rgba(155, 229, 27, 0.12), transparent 66%),
    repeating-linear-gradient(90deg, rgba(155, 229, 27, 0.08) 0 1px, transparent 1px 38px);
  opacity: 0.9;
}

body.fixture-detail-mode .fixture-detail-match-card-glow {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
}

body.fixture-detail-mode .fixture-detail-match-stage {
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
}

body.fixture-detail-mode .fixture-detail-match-stage span {
  white-space: normal;
}

body.fixture-detail-mode .fixture-detail-match-stage small {
  padding: 4px 7px;
  border: 1px solid rgba(155, 229, 27, 0.32);
  border-radius: 999px;
  color: #111d07;
  background: var(--app-green);
  line-height: 1;
}

body.fixture-detail-mode .fixture-detail-match-layout {
  grid-template-columns: minmax(0, 1fr) minmax(62px, 80px) minmax(0, 1fr);
  align-items: center;
}

body.fixture-detail-mode .fixture-detail-team-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.fixture-detail-mode .fixture-detail-team-logo {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.32));
}

body.fixture-detail-mode .fixture-detail-team-logo-placeholder {
  color: #ffffff;
  background: transparent;
}

body.fixture-detail-mode .fixture-detail-team strong {
  font-size: 0.82rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

body.fixture-detail-mode .fixture-detail-match-center strong {
  font-size: 1.08rem;
}

body.fixture-detail-mode .fixture-detail-match-center span {
  color: var(--app-green);
}

body.fixture-detail-mode .fixture-detail-edge-section {
  display: grid;
  gap: 8px;
}

body.fixture-detail-mode .fixture-detail-edge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
  color: rgba(239, 246, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
}

body.fixture-detail-mode .fixture-detail-edge-head span {
  color: var(--app-green);
}

body.fixture-detail-mode .fixture-detail-edge-head strong {
  color: var(--detail-copy-soft);
  font-size: 0.68rem;
}

body.fixture-detail-mode .fixture-detail-edge-grid {
  gap: 8px;
}

body.fixture-detail-mode .fixture-detail-edge-card {
  min-height: 74px;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 4px 7px;
  padding: 10px 8px;
  border-color: var(--detail-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 29, 60, 0.96), rgba(5, 15, 34, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.fixture-detail-mode .fixture-detail-edge-card-1 {
  border-color: var(--detail-line-strong);
  background:
    linear-gradient(180deg, rgba(20, 49, 72, 0.98), rgba(7, 24, 43, 0.98));
}

body.fixture-detail-mode .fixture-detail-edge-card .fixture-detail-edge-icon {
  width: 26px;
  height: 26px;
  color: var(--app-green);
}

body.fixture-detail-mode .fixture-detail-edge-label {
  color: var(--detail-copy-soft);
  font-size: 0.57rem;
  line-height: 1.08;
  white-space: normal;
}

body.fixture-detail-mode .fixture-detail-edge-card strong {
  font-size: 0.78rem;
  line-height: 1.08;
}

body.fixture-detail-mode .detail-nav-card {
  border-color: var(--detail-line);
  background: rgba(3, 12, 29, 0.9);
}

body.fixture-detail-mode .detail-nav-btn {
  color: rgba(203, 216, 235, 0.68);
}

body.fixture-detail-mode .detail-nav-btn.active {
  color: var(--app-green);
  box-shadow: inset 0 -2px 0 var(--app-green);
}

body.fixture-detail-mode .tab-panel,
body.fixture-detail-mode .panel-card,
body.fixture-detail-mode .value-card,
body.fixture-detail-mode .overview-rate-card,
body.fixture-detail-mode .overview-compare-card,
body.fixture-detail-mode .ai-pick-card,
body.fixture-detail-mode .grouped-ai-pick-card,
body.fixture-detail-mode .player-stat-card,
body.fixture-detail-mode .empty-card,
body.fixture-detail-mode .locked-feature-card,
body.fixture-detail-mode .world-cup-pass-lock-card,
body.fixture-detail-mode .form-card,
body.fixture-detail-mode .market-card,
body.fixture-detail-mode .info-card,
body.fixture-detail-mode .stat-card,
body.fixture-detail-mode .world-cup-last5-card,
body.fixture-detail-mode .world-cup-group-card,
body.fixture-detail-mode .summary-panel-card,
body.fixture-detail-mode .table-wrap,
body.fixture-detail-mode .stats-mobile-table {
  border-color: var(--detail-line) !important;
  color: #ffffff !important;
  background:
    linear-gradient(180deg, var(--detail-surface-strong), var(--detail-surface)) !important;
  box-shadow: none !important;
}

body.fixture-detail-mode .tab-panel {
  padding: 14px;
}

body.fixture-detail-mode .panel-head {
  gap: 12px;
}

body.fixture-detail-mode .panel-head h3,
body.fixture-detail-mode .tab-panel h3,
body.fixture-detail-mode .tab-panel h4,
body.fixture-detail-mode .panel-card h4,
body.fixture-detail-mode .value-card h4,
body.fixture-detail-mode .empty-card h4,
body.fixture-detail-mode .form-card h4,
body.fixture-detail-mode .stat-card strong,
body.fixture-detail-mode .overview-rate-card-top h4,
body.fixture-detail-mode .overview-compare-card-top h4,
body.fixture-detail-mode .overview-compare-team-header strong,
body.fixture-detail-mode .overview-compare-value strong,
body.fixture-detail-mode .world-cup-last5-head strong,
body.fixture-detail-mode .league-table th,
body.fixture-detail-mode .league-table td {
  color: #ffffff !important;
}

body.fixture-detail-mode .eyebrow,
body.fixture-detail-mode .panel-head .eyebrow,
body.fixture-detail-mode .overview-tab-panel .panel-head .eyebrow,
body.fixture-detail-mode .overview-tab-panel .overview-compare-card .eyebrow {
  color: var(--app-green) !important;
}

body.fixture-detail-mode .section-copy,
body.fixture-detail-mode .detail-note,
body.fixture-detail-mode .empty-copy,
body.fixture-detail-mode .muted,
body.fixture-detail-mode .overview-rate-card-note,
body.fixture-detail-mode .overview-rate-meta span,
body.fixture-detail-mode .overview-rate-meta small,
body.fixture-detail-mode .overview-compare-value span,
body.fixture-detail-mode .overview-compare-label-row small,
body.fixture-detail-mode .overview-compare-context p,
body.fixture-detail-mode .stat-card small,
body.fixture-detail-mode .stat-card .muted,
body.fixture-detail-mode .stat-compare-metric-label,
body.fixture-detail-mode .stat-compare-value-text-missing,
body.fixture-detail-mode .h2h-list li {
  color: var(--detail-copy) !important;
}

body.fixture-detail-mode .status-pill,
body.fixture-detail-mode .muted-pill {
  border-color: rgba(155, 229, 27, 0.24) !important;
  color: rgba(233, 245, 255, 0.86) !important;
  background: rgba(155, 229, 27, 0.08) !important;
}

body.fixture-detail-mode .overview-rate-card-top {
  background: rgba(12, 28, 56, 0.98) !important;
}

body.fixture-detail-mode .overview-rate-card-note {
  border-color: rgba(125, 153, 194, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

body.fixture-detail-mode .overview-shared-bars {
  display: grid;
  gap: 12px;
}

body.fixture-detail-mode .world-cup-btts-pie-card {
  box-sizing: border-box;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--app-radius);
  color: #ffffff;
  background: var(--detail-surface-soft);
}

body.fixture-detail-mode .world-cup-btts-pie-value {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 4px;
}

body.fixture-detail-mode .world-cup-btts-pie-value-home {
  justify-items: start;
}

body.fixture-detail-mode .world-cup-btts-pie-value-away {
  justify-items: end;
}

body.fixture-detail-mode .world-cup-btts-pie {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(var(--btts-color) var(--btts-rate-deg), rgba(93, 116, 149, 0.38) 0);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 10px 20px rgba(0, 0, 0, 0.22);
}

body.fixture-detail-mode .world-cup-btts-pie span {
  min-width: 34px;
  padding: 3px 5px;
  border-radius: 999px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  background: rgba(3, 12, 29, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

body.fixture-detail-mode .world-cup-btts-pie-value small {
  color: var(--detail-copy);
  font-size: 0.68rem;
  line-height: 1.2;
}

body.fixture-detail-mode .world-cup-btts-pie-card-loading {
  min-height: 78px;
}

body.fixture-detail-mode .world-cup-btts-pie-card-loading .world-cup-btts-pie-main {
  min-height: 56px;
  align-content: center;
}

body.fixture-detail-mode .overview-tab-panel {
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.fixture-detail-mode .overview-tab-panel .overview-compare-sides {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  border: 0 !important;
  background: transparent !important;
}

body.fixture-detail-mode .overview-rate-team,
body.fixture-detail-mode .overview-compare-row,
body.fixture-detail-mode .overview-compare-context,
body.fixture-detail-mode .overview-compare-sides,
body.fixture-detail-mode .mini-compare-row,
body.fixture-detail-mode .market-chip,
body.fixture-detail-mode .stat-compare-metric {
  border-color: rgba(96, 125, 166, 0.34) !important;
  color: #ffffff !important;
  background: var(--detail-surface-soft) !important;
}

body.fixture-detail-mode .overview-compare-row {
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: var(--app-radius);
}

body.fixture-detail-mode .overview-compare-value-home {
  padding-left: 2px;
}

body.fixture-detail-mode .overview-compare-value-away {
  padding-right: 2px;
}

@media (max-width: 420px) {
  body.fixture-detail-mode .overview-compare-row {
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 8px;
    padding-inline: 10px;
  }

  body.fixture-detail-mode .world-cup-btts-pie {
    width: 54px;
    height: 54px;
  }

  body.fixture-detail-mode .world-cup-btts-pie span {
    min-width: 30px;
    font-size: 0.72rem;
  }
}

body.fixture-detail-mode .overview-rate-team-chip,
body.fixture-detail-mode .overview-rate-team-chip-home,
body.fixture-detail-mode .overview-rate-team-chip-away,
body.fixture-detail-mode .overview-rate-side-label,
body.fixture-detail-mode .overview-compare-label-row span,
body.fixture-detail-mode .market-chip strong,
body.fixture-detail-mode .stat-compare-value-text {
  color: #ffffff !important;
}

body.fixture-detail-mode .form-chip-result,
body.fixture-detail-mode .form-chip-meta {
  color: #ffffff !important;
}

body.fixture-detail-mode .overview-rate-donut {
  --ring-bg: rgba(93, 116, 149, 0.42);
  border-color: rgba(219, 231, 246, 0.16);
}

body.fixture-detail-mode .overview-rate-donut::after {
  background: #071426;
}

body.fixture-detail-mode .overview-rate-donut-value {
  color: #ffffff;
}

body.fixture-detail-mode .overview-compare-team-badge,
body.fixture-detail-mode .overview-rate-team-chip-logo {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.fixture-detail-mode .overview-compare-team-badge {
  width: 52px;
  height: 52px;
}

body.fixture-detail-mode .overview-compare-team-badge img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.28));
}

body.fixture-detail-mode .overview-compare-team-badge-fallback {
  font-size: 1rem;
}

body.fixture-detail-mode .league-table {
  color: #ffffff;
  background: transparent;
}

body.fixture-detail-mode .league-table th {
  background: rgba(255, 255, 255, 0.06);
}

body.fixture-detail-mode .league-table th,
body.fixture-detail-mode .league-table td {
  border-color: rgba(96, 125, 166, 0.32);
}

body.fixture-detail-mode .primary-btn {
  border-color: var(--app-green) !important;
  color: #07111f !important;
  background: var(--app-green) !important;
  box-shadow: 0 12px 24px rgba(155, 229, 27, 0.18) !important;
}

body.fixture-detail-mode .ghost-btn {
  border-color: rgba(177, 203, 235, 0.34) !important;
  color: rgba(239, 246, 255, 0.94) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body.fixture-detail-mode .ghost-btn:hover,
body.fixture-detail-mode .ghost-btn:active {
  background: rgba(255, 255, 255, 0.1) !important;
}

body.fixture-detail-mode .account-cta-row {
  display: grid;
  gap: 10px;
}

body.fixture-detail-mode .account-cta-row .primary-btn,
body.fixture-detail-mode .account-cta-row .ghost-btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

body.fixture-detail-mode .app-bottom-nav {
  border-color: rgba(97, 125, 168, 0.42);
  background: rgba(4, 13, 30, 0.96);
  box-shadow: 0 -18px 34px rgba(0, 0, 0, 0.34);
}

body.fixture-detail-mode .app-bottom-nav-btn {
  color: rgba(190, 206, 227, 0.76);
}

body.fixture-detail-mode .app-bottom-nav-btn.is-active {
  color: #ffffff;
  background: rgba(155, 229, 27, 0.1);
}

body.fixture-detail-mode .app-bottom-nav-btn.is-active .app-bottom-nav-icon {
  color: var(--app-green);
  background: rgba(155, 229, 27, 0.12);
  box-shadow: inset 0 0 0 1px rgba(155, 229, 27, 0.22);
}

body.fixture-detail-mode .stats-mobile-row,
body.fixture-detail-mode .stats-table-row,
body.fixture-detail-mode .stats-rate-row,
body.fixture-detail-mode .player-stat-leader-card,
body.fixture-detail-mode .player-stat-leader-row,
body.fixture-detail-mode .hit-rates-row,
body.fixture-detail-mode .best-angle-pick-card,
body.fixture-detail-mode .best-angle-reason-block,
body.fixture-detail-mode .best-angle-caution-block,
body.fixture-detail-mode .stats-mobile-team-badge,
body.fixture-detail-mode .stats-mobile-metric-badge,
body.fixture-detail-mode .angle-pill {
  border-color: rgba(96, 125, 166, 0.34) !important;
  color: #ffffff !important;
  background: rgba(10, 27, 55, 0.9) !important;
  box-shadow: none !important;
}

body.fixture-detail-mode .stats-mobile-row-key,
body.fixture-detail-mode .stats-table-row-key {
  border-color: rgba(96, 125, 166, 0.34) !important;
  background: rgba(10, 27, 55, 0.9) !important;
}

body.fixture-detail-mode .stats-block-head h5,
body.fixture-detail-mode .stats-mobile-metric,
body.fixture-detail-mode .stats-mobile-rate-title,
body.fixture-detail-mode .stats-mobile-stack-value,
body.fixture-detail-mode .stats-mobile-team-badge-name,
body.fixture-detail-mode .stats-rate-row-label,
body.fixture-detail-mode .stats-rate-percent,
body.fixture-detail-mode .stats-table-metric h6,
body.fixture-detail-mode .stats-table-cell,
body.fixture-detail-mode .player-stat-leader-name,
body.fixture-detail-mode .player-stat-leader-value,
body.fixture-detail-mode .player-stat-leader-card-head h6,
body.fixture-detail-mode .player-stat-leader-group-team,
body.fixture-detail-mode .hit-rates-card-top strong,
body.fixture-detail-mode .hit-rates-played-side,
body.fixture-detail-mode .hit-rates-played-side .team-inline-with-logo,
body.fixture-detail-mode .hit-rates-cell-center,
body.fixture-detail-mode .hit-rate-value,
body.fixture-detail-mode .grouped-pick-market,
body.fixture-detail-mode .ai-pick-top strong,
body.fixture-detail-mode .best-angle-pick-title {
  color: #ffffff !important;
}

body.fixture-detail-mode .stats-block-subtitle,
body.fixture-detail-mode .stats-rate-label,
body.fixture-detail-mode .stats-rate-header span,
body.fixture-detail-mode .stats-rate-row-value,
body.fixture-detail-mode .stats-rate-note,
body.fixture-detail-mode .stats-split-note,
body.fixture-detail-mode .stat-source-note,
body.fixture-detail-mode .stat-note,
body.fixture-detail-mode .stats-table-header span,
body.fixture-detail-mode .stats-mobile-header span,
body.fixture-detail-mode .stats-mobile-rate-label,
body.fixture-detail-mode .stats-mobile-metric-meta,
body.fixture-detail-mode .stats-mobile-stack-label,
body.fixture-detail-mode .stats-mobile-stack-detail,
body.fixture-detail-mode .stats-mobile-empty,
body.fixture-detail-mode .player-stat-leader-header span,
body.fixture-detail-mode .player-stat-leader-value-missing,
body.fixture-detail-mode .hit-rates-played-side small,
body.fixture-detail-mode .hit-rate-value-empty,
body.fixture-detail-mode .pick-compact-meta,
body.fixture-detail-mode .ai-pick-card p,
body.fixture-detail-mode .best-angle-reason-block p,
body.fixture-detail-mode .best-angle-caution-block p {
  color: var(--detail-copy) !important;
}

body.fixture-detail-mode .hit-rates-card-top,
body.fixture-detail-mode .hit-rates-row,
body.fixture-detail-mode .grouped-pick-item,
body.fixture-detail-mode .player-stat-leader-group + .player-stat-leader-group {
  border-color: rgba(96, 125, 166, 0.28) !important;
}

body.fixture-detail-mode .hit-rate-value {
  color: var(--app-green) !important;
}

body.fixture-detail-mode .hit-rates-cell-center {
  color: rgba(234, 244, 255, 0.88) !important;
}

body.fixture-detail-mode .confidence-high,
body.fixture-detail-mode .confidence-medium,
body.fixture-detail-mode .confidence-low,
body.fixture-detail-mode .angle-pill-likelihood,
body.fixture-detail-mode .angle-pill-reliability {
  border-color: rgba(155, 229, 27, 0.22) !important;
  color: rgba(239, 246, 255, 0.94) !important;
  background: rgba(155, 229, 27, 0.09) !important;
}

body.fixture-detail-mode .stats-mobile-team-badge-logo,
body.fixture-detail-mode .stats-mobile-rate-logo,
body.fixture-detail-mode .player-stat-leader-group-logo,
body.fixture-detail-mode .player-stat-leader-team-logo,
body.fixture-detail-mode .team-inline-logo {
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

body.fixture-detail-mode .dual-grid,
body.fixture-detail-mode .form-card-grid,
body.fixture-detail-mode .value-card,
body.fixture-detail-mode .world-cup-h2h-card,
body.fixture-detail-mode .h2h-list,
body.fixture-detail-mode .h2h-list li,
body.fixture-detail-mode .h2h-row-match,
body.fixture-detail-mode .h2h-row-team,
body.fixture-detail-mode .h2h-team-inline {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.fixture-detail-mode .dual-grid,
body.fixture-detail-mode .form-card-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  overflow: hidden;
}

body.fixture-detail-mode .value-card,
body.fixture-detail-mode .world-cup-h2h-card {
  overflow: hidden;
}

body.fixture-detail-mode .h2h-list {
  gap: 8px;
}

body.fixture-detail-mode .world-cup-h2h-card .detail-note {
  margin-top: 8px;
}

body.fixture-detail-mode .h2h-list li {
  width: 100%;
  padding: 10px;
  border-color: rgba(96, 125, 166, 0.34) !important;
  border-left-color: rgba(155, 229, 27, 0.36) !important;
  border-right-color: rgba(96, 125, 166, 0.34) !important;
  color: #ffffff !important;
  background: rgba(10, 27, 55, 0.9) !important;
  overflow: hidden;
}

body.fixture-detail-mode .h2h-list li.h2h-row-home-win {
  border-left-color: rgba(34, 197, 94, 0.82) !important;
  border-right-color: rgba(239, 68, 68, 0.68) !important;
}

body.fixture-detail-mode .h2h-list li.h2h-row-away-win {
  border-left-color: rgba(239, 68, 68, 0.68) !important;
  border-right-color: rgba(34, 197, 94, 0.82) !important;
}

body.fixture-detail-mode .h2h-list li.h2h-row-draw {
  border-left-color: rgba(234, 179, 8, 0.78) !important;
  border-right-color: rgba(234, 179, 8, 0.78) !important;
}

body.fixture-detail-mode .h2h-row-date {
  color: var(--detail-copy-soft) !important;
}

body.fixture-detail-mode .h2h-row-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(42px, 48px) minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  width: 100%;
  overflow: hidden;
}

body.fixture-detail-mode .h2h-row-team {
  display: block;
  overflow: hidden;
}

body.fixture-detail-mode .h2h-team-inline {
  display: inline-flex;
  width: 100%;
  overflow: hidden;
  color: #ffffff !important;
  font-size: 0.78rem;
  line-height: 1.15;
}

body.fixture-detail-mode .h2h-team-inline span:last-child {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.fixture-detail-mode .h2h-row-team-home .h2h-team-inline {
  justify-content: flex-start;
}

body.fixture-detail-mode .h2h-row-team-away .h2h-team-inline {
  justify-content: flex-end;
}

body.fixture-detail-mode .h2h-team-inline .team-inline-logo {
  width: 16px;
  height: 16px;
}

body.fixture-detail-mode .h2h-row-score {
  min-width: 0;
  width: 100%;
  padding: 6px 4px;
  border: 1px solid rgba(155, 229, 27, 0.26);
  border-radius: 8px;
  color: #ffffff !important;
  background: rgba(3, 12, 29, 0.92);
  font-size: 0.82rem;
  box-shadow: none;
}

/* Dark mobile dashboard */
body.dashboard-mode {
  color: #f7fbff;
  background: #020813;
}

body.dashboard-mode .app-shell {
  max-width: 430px;
  min-height: 100dvh;
  color: #f7fbff;
  background:
    radial-gradient(circle at 18% -10%, rgba(7, 91, 255, 0.22), transparent 36%),
    radial-gradient(circle at 90% 12%, rgba(155, 229, 27, 0.08), transparent 28%),
    linear-gradient(180deg, #031020 0%, #020813 56%, #020813 100%);
}

body.dashboard-mode .topbar {
  position: sticky;
  top: 0;
  padding: calc(18px + env(safe-area-inset-top)) 20px 14px;
  border-bottom: 1px solid rgba(103, 132, 171, 0.24);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(3, 16, 32, 0.98), rgba(3, 16, 32, 0.9));
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.dashboard-mode .brand-wrap {
  grid-template-columns: minmax(116px, 1fr) auto;
  gap: 14px;
}

body.dashboard-mode .brand-home-btn {
  width: 142px;
  height: 50px;
}

body.dashboard-mode .brand-logo {
  width: 140px;
  max-height: 46px;
}

body.dashboard-mode .topbar-mobile-search-slot {
  display: flex;
  justify-content: flex-end;
  width: auto;
}

.topbar-icon-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.topbar-icon-btn {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(132, 158, 191, 0.34);
  border-radius: 8px;
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.topbar-icon-btn svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-icon-btn.is-active {
  border-color: var(--app-green);
  color: #07111f;
  background: var(--app-green);
}

body.search-mode .page-shell {
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

.competition-search-shell {
  display: grid;
  gap: 14px;
}

.competition-search-toolbar {
  display: flex;
  align-items: center;
}

.competition-search-back-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.competition-search-back-btn span:first-child {
  font-size: 1.38rem;
  line-height: 1;
}

.competition-search-panel {
  display: grid;
  gap: 14px;
}

.competition-search-box {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(132, 158, 191, 0.34);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.competition-search-box:focus-within {
  border-color: var(--app-green);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(155, 229, 27, 0.12);
}

.competition-search-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: rgba(222, 231, 244, 0.76);
}

.competition-search-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.competition-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.competition-search-input::placeholder {
  color: rgba(222, 231, 244, 0.54);
}

.competition-search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(218, 227, 241, 0.7);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.competition-search-results {
  display: grid;
  gap: 8px;
}

.competition-search-result {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(132, 158, 191, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(9, 26, 49, 0.94), rgba(5, 16, 32, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: left;
}

.competition-search-result:hover,
.competition-search-result:focus-visible,
.competition-search-result.active {
  border-color: rgba(155, 229, 27, 0.42);
  background:
    linear-gradient(180deg, rgba(12, 38, 62, 0.98), rgba(8, 26, 48, 0.98));
}

.competition-search-result-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.competition-search-logo,
.competition-search-logo.nav-league-logo-fallback {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  object-fit: contain;
}

.competition-search-logo.nav-league-logo-fallback {
  display: inline-grid;
  place-items: center;
  color: #07111f;
  background: var(--app-green);
  font-size: 1rem;
  font-weight: 800;
}

.competition-search-result-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.competition-search-result-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competition-search-result-copy small {
  min-width: 0;
  display: flex;
}

.competition-search-result-copy .league-country-pill {
  max-width: 100%;
  overflow: hidden;
  border-color: rgba(132, 158, 191, 0.2);
  color: rgba(218, 227, 241, 0.72);
  background: rgba(255, 255, 255, 0.045);
}

.competition-search-result-copy .league-country-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.competition-search-chevron {
  color: rgba(218, 227, 241, 0.56);
  font-size: 1.5rem;
  line-height: 1;
}

.competition-search-empty {
  padding: 18px;
  border: 1px solid rgba(132, 158, 191, 0.24);
  border-radius: 8px;
  color: rgba(218, 227, 241, 0.74);
  background: rgba(255, 255, 255, 0.045);
}

.competition-search-empty h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1rem;
}

.competition-search-empty p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

body.dashboard-mode .page-shell {
  max-width: 430px;
  padding: 18px 18px calc(104px + env(safe-area-inset-bottom));
  gap: 16px;
  overflow: hidden;
}

body.dashboard-mode .page-header {
  gap: 16px;
}

body.dashboard-mode .page-header-main {
  gap: 8px;
  padding: 0 4px;
}

body.dashboard-mode .page-header-main .eyebrow:empty {
  display: none;
}

body.dashboard-mode .page-header-main h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2.06rem;
  font-weight: 750;
  line-height: 1.03;
}

body.dashboard-mode .page-copy.dashboard-date-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(218, 227, 241, 0.72);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.2;
}

body.dashboard-mode .page-copy.dashboard-date-label::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 1.7px solid rgba(218, 227, 241, 0.78);
  border-radius: 3px;
  box-shadow:
    inset 0 4px 0 rgba(218, 227, 241, 0.18),
    0 -3px 0 -1.5px rgba(218, 227, 241, 0.78);
}

body.dashboard-mode .week-controls {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dashboard-date-nav {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  width: 100%;
}

body.dashboard-mode .date-nav-btn,
body.dashboard-mode .week-controls .date-nav-btn,
body.dashboard-mode .world-cup-date-nav .date-nav-btn {
  min-width: 42px;
  width: 42px;
  min-height: 48px;
  border: 1px solid rgba(132, 158, 191, 0.36);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.045);
  font-size: 1.42rem;
  line-height: 1;
  box-shadow: none;
}

body.dashboard-mode .date-nav-btn:disabled {
  opacity: 0.42;
}

.dashboard-date-strip,
body.dashboard-mode .world-cup-date-strip {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(43px, 1fr);
  grid-template-columns: none !important;
  gap: 5px;
  min-width: 0;
  padding: 0;
  overflow-x: auto !important;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.dashboard-date-strip::-webkit-scrollbar,
body.dashboard-mode .world-cup-date-strip::-webkit-scrollbar {
  display: none;
}

body.dashboard-mode .date-chip,
body.dashboard-mode .world-cup-date-strip .date-chip {
  min-height: 56px;
  width: 100%;
  padding: 7px 2px;
  border: 1px solid rgba(42, 62, 88, 0.78);
  border-radius: 8px;
  color: rgba(222, 231, 244, 0.78);
  background: rgba(10, 24, 45, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  scroll-snap-align: center;
}

body.dashboard-mode .date-chip-meta,
body.dashboard-mode .date-chip-month {
  color: rgba(222, 231, 244, 0.72) !important;
  font-size: 0.61rem;
  font-weight: 600;
  line-height: 1;
  opacity: 1;
}

body.dashboard-mode .date-chip-day {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.05;
}

body.dashboard-mode .date-chip.active {
  border-color: var(--app-green);
  color: #06101f !important;
  background: var(--app-green);
  box-shadow: 0 12px 28px rgba(155, 229, 27, 0.24);
}

body.dashboard-mode .date-chip.active .date-chip-meta,
body.dashboard-mode .date-chip.active .date-chip-day,
body.dashboard-mode .date-chip.active .date-chip-month {
  color: #07111f !important;
}

body.dashboard-mode .date-chip.today:not(.active) {
  border-color: rgba(155, 229, 27, 0.46);
  background: rgba(155, 229, 27, 0.08);
}

.fixture-dashboard {
  display: grid;
  gap: 14px;
}

.fixture-dashboard-mini-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fixture-dashboard-filter-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ff3434;
  box-shadow: 0 0 0 4px rgba(255, 52, 52, 0.13);
}

.fixture-dashboard-bolt {
  color: var(--app-green);
  fill: currentColor;
  stroke: currentColor;
}

.fixture-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 82px;
  border: 1px solid rgba(132, 158, 191, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 26, 49, 0.94), rgba(5, 16, 32, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.fixture-dashboard-stat {
  min-width: 0;
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  appearance: none;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.fixture-dashboard-stat + .fixture-dashboard-stat {
  border-left: 1px solid rgba(132, 158, 191, 0.22);
}

.fixture-dashboard-stat:hover,
.fixture-dashboard-stat:focus-visible {
  outline: none;
  background: rgba(155, 229, 27, 0.09);
}

.fixture-dashboard-stat.active {
  color: #07111f;
  background: var(--app-green);
}

.fixture-dashboard-stat .fixture-dashboard-mini-icon {
  width: 20px;
  height: 20px;
  color: rgba(211, 222, 238, 0.78);
}

.fixture-dashboard-stat-total .fixture-dashboard-mini-icon {
  color: var(--app-green);
}

.fixture-dashboard-stat-live .fixture-dashboard-filter-dot {
  width: 14px;
  height: 14px;
}

.fixture-dashboard-stat.active .fixture-dashboard-mini-icon {
  color: #07111f;
}

.fixture-dashboard-stat.active .fixture-dashboard-filter-dot {
  background: #07111f;
  box-shadow: none;
}

.fixture-dashboard-stat strong {
  color: #ffffff;
  font-size: 1.36rem;
  font-weight: 750;
  line-height: 1;
}

.fixture-dashboard-stat-label {
  min-width: 0;
  color: rgba(218, 227, 241, 0.74);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.1;
}

.fixture-dashboard-stat.active strong,
.fixture-dashboard-stat.active .fixture-dashboard-stat-label {
  color: #07111f;
}

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

.fixture-dashboard-league-card,
.fixture-dashboard-empty {
  border: 1px solid rgba(132, 158, 191, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(8, 22, 43, 0.94), rgba(5, 16, 32, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 15px 34px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.fixture-dashboard-empty {
  padding: 18px;
}

.fixture-dashboard-empty h3 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 1rem;
}

.fixture-dashboard-empty p {
  margin: 0;
  color: rgba(218, 227, 241, 0.72);
  font-size: 0.88rem;
  line-height: 1.38;
}

.fixture-dashboard-league-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(132, 158, 191, 0.16);
}

.fixture-dashboard-league-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.fixture-dashboard-league-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fixture-dashboard-league-logo.nav-league-logo-fallback {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #07111f;
  background: var(--app-green);
  font-weight: 750;
}

.fixture-dashboard-league-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.1;
}

.fixture-dashboard-league-head p {
  margin: 4px 0 0;
  color: rgba(218, 227, 241, 0.68);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.15;
}

.fixture-dashboard-view-league {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.83rem;
  font-weight: 650;
  white-space: nowrap;
}

.fixture-dashboard-match-list {
  display: grid;
  gap: 0;
  padding: 0 14px 14px;
}

.league-page-fixture-match-list {
  padding: 0 12px 12px;
}

.fixture-dashboard-match {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  border: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  text-align: left;
  appearance: none;
}

.fixture-dashboard-match + .fixture-dashboard-match {
  border-top: 1px solid rgba(132, 158, 191, 0.14);
}

.fixture-dashboard-match-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.fixture-dashboard-time {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding-right: 16px;
  border-right: 1px solid rgba(132, 158, 191, 0.22);
}

.fixture-dashboard-time strong {
  color: #ffffff;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1;
}

.fixture-dashboard-time span {
  color: rgba(218, 227, 241, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.15;
}

.fixture-dashboard-teams {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.fixture-dashboard-team {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.12;
}

.fixture-dashboard-team-has-score {
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.fixture-dashboard-team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-dashboard-team-score {
  min-width: 24px;
  justify-self: end;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

.fixture-dashboard-team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.32));
}

.fixture-dashboard-team-logo-fallback {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #07111f;
  background: var(--app-green);
  font-weight: 700;
  filter: none;
}

.fixture-dashboard-breakdown {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(155, 229, 27, 0.76);
  border-radius: 8px;
  color: var(--app-green);
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.fixture-dashboard-breakdown span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-dashboard-breakdown span:last-child {
  font-size: 1.6rem;
  line-height: 1;
}

.fixture-dashboard-match-disabled {
  opacity: 0.68;
}

.world-cup-dashboard-shell,
.world-cup-fixture-stack {
  display: grid;
  gap: 14px;
}

body.dashboard-mode .world-cup-date-nav {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.dashboard-mode .world-cup-date-controls {
  display: none;
}

body.dashboard-mode .world-cup-date-strip {
  grid-auto-columns: 64px;
  padding: 0 0 2px;
}

body.dashboard-mode .app-bottom-nav {
  left: 50%;
  right: auto;
  width: min(100% - 24px, 406px);
  max-width: calc(100vw - 24px);
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid rgba(132, 158, 191, 0.2);
  border-radius: 12px;
  background: rgba(5, 16, 32, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -12px 28px rgba(0, 0, 0, 0.24);
}

body.dashboard-mode .app-bottom-nav-btn {
  min-height: 58px;
  color: rgba(218, 227, 241, 0.72);
  background: transparent;
}

body.dashboard-mode .app-bottom-nav-btn.is-active {
  color: var(--app-green);
  background: rgba(255, 255, 255, 0.06);
}

body.dashboard-mode .app-bottom-nav-icon {
  background: transparent;
}

body.dashboard-mode .app-bottom-nav-btn.is-active .app-bottom-nav-icon {
  background: transparent;
}

body.dashboard-mode .app-bottom-nav-btn svg,
body.dashboard-mode .app-bottom-nav-btn svg path,
body.dashboard-mode .app-bottom-nav-btn svg circle {
  stroke: currentColor !important;
}

body.dashboard-mode .app-bottom-nav-label {
  color: currentColor;
}

@media (max-width: 380px) {
  body.dashboard-mode .topbar {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.dashboard-mode .brand-wrap {
    grid-template-columns: minmax(96px, 1fr) auto;
    gap: 10px;
  }

  body.dashboard-mode .brand-home-btn {
    width: 118px;
  }

  body.dashboard-mode .brand-logo {
    width: 116px;
  }

  .topbar-icon-actions {
    gap: 8px;
  }

  .topbar-icon-btn {
    width: 48px;
    height: 48px;
  }

  body.dashboard-mode .page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dashboard-date-nav {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  body.dashboard-mode .date-nav-btn,
  body.dashboard-mode .week-controls .date-nav-btn,
  body.dashboard-mode .world-cup-date-nav .date-nav-btn {
    min-width: 38px;
    width: 38px;
  }

  .fixture-dashboard-league-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .fixture-dashboard-view-league {
    justify-self: start;
  }
}

/* Late dark overrides for high-specificity desktop/mobile legacy rules. */
body:not(.dashboard-mode):not(.fixture-detail-mode) .week-controls,
body:not(.dashboard-mode):not(.fixture-detail-mode) .world-cup-date-nav {
  border-color: rgba(132, 158, 191, 0.24);
  background: rgba(7, 22, 43, 0.82);
  box-shadow: var(--app-shadow-soft);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .week-label-wrap {
  border-color: rgba(132, 158, 191, 0.28);
  color: #ffffff;
  background: rgba(10, 24, 45, 0.84);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .week-label-caption {
  color: var(--app-green);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .week-label-wrap strong {
  color: #ffffff;
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-nav-btn,
body:not(.dashboard-mode):not(.fixture-detail-mode) .week-controls .date-nav-btn,
body:not(.dashboard-mode):not(.fixture-detail-mode) .world-cup-date-nav .date-nav-btn {
  border-color: rgba(132, 158, 191, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-nav-btn:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .week-controls .date-nav-btn:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .world-cup-date-nav .date-nav-btn:hover {
  border-color: rgba(155, 229, 27, 0.34);
  background: rgba(155, 229, 27, 0.08);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip {
  border-color: rgba(132, 158, 191, 0.28);
  color: rgba(222, 231, 244, 0.78);
  background: rgba(10, 24, 45, 0.84);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip-meta,
body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip-month {
  color: rgba(222, 231, 244, 0.72) !important;
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip-day {
  color: #ffffff;
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip.active {
  border-color: var(--app-green);
  color: #07111f !important;
  background: var(--app-green);
  box-shadow: 0 12px 28px rgba(155, 229, 27, 0.24);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip.active .date-chip-meta,
body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip.active .date-chip-day,
body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip.active .date-chip-month {
  color: #07111f !important;
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip.today:not(.active) {
  border-color: rgba(155, 229, 27, 0.46);
  color: #ffffff;
  background: rgba(155, 229, 27, 0.08);
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip.today:not(.active) .date-chip-meta,
body:not(.dashboard-mode):not(.fixture-detail-mode) .date-chip.today:not(.active) .date-chip-month {
  color: var(--app-green) !important;
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .fixture-card:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .fixture-card:focus-visible,
body:not(.dashboard-mode):not(.fixture-detail-mode) .world-cup-fixture-card:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .world-cup-fixture-card:focus-visible {
  border-color: rgba(155, 229, 27, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(11, 34, 59, 0.98), rgba(7, 22, 43, 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 26px rgba(0, 0, 0, 0.24) !important;
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .fixture-card-placeholder:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .fixture-card-placeholder:focus-visible,
body:not(.dashboard-mode):not(.fixture-detail-mode) .world-cup-fixture-card-placeholder:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .world-cup-fixture-card-placeholder:focus-visible {
  border-color: rgba(132, 158, 191, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(8, 22, 43, 0.94), rgba(5, 16, 32, 0.98)) !important;
  box-shadow: none !important;
}

body:not(.dashboard-mode):not(.fixture-detail-mode) .section-summary:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .league-link-btn-inline:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .ghost-btn:hover,
body:not(.dashboard-mode):not(.fixture-detail-mode) .league-table tbody tr:hover {
  border-color: rgba(155, 229, 27, 0.3);
  color: #ffffff;
  background: rgba(155, 229, 27, 0.08);
}

body:not(.fixture-detail-mode) .fixture-card:hover,
body:not(.fixture-detail-mode) .fixture-card:focus-visible,
body:not(.fixture-detail-mode) .world-cup-fixture-card:hover,
body:not(.fixture-detail-mode) .world-cup-fixture-card:focus-visible {
  border-color: rgba(155, 229, 27, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(11, 34, 59, 0.98), rgba(7, 22, 43, 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 26px rgba(0, 0, 0, 0.24) !important;
}

body:not(.fixture-detail-mode) .summary-grid .stat-card:nth-child(1),
body:not(.fixture-detail-mode) .summary-grid .stat-card:nth-child(2),
body:not(.fixture-detail-mode) .summary-grid .stat-card:nth-child(3),
body:not(.fixture-detail-mode) .summary-grid .stat-card:nth-child(4),
body:not(.fixture-detail-mode) .summary-grid .stat-card {
  border-color: rgba(132, 158, 191, 0.24);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(8, 22, 43, 0.94), rgba(5, 16, 32, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.2);
}

body:not(.fixture-detail-mode) .summary-grid .stat-card::before {
  background: var(--app-green);
}

/* Keep the same topbar geometry across dashboard, league, account, and auth pages. */
body:not(.fixture-detail-mode) .topbar {
  padding: calc(18px + env(safe-area-inset-top)) 20px 14px;
}

body:not(.fixture-detail-mode) .brand-wrap {
  grid-template-columns: minmax(116px, 1fr) auto;
  gap: 14px;
}

body:not(.fixture-detail-mode) .brand-home-btn {
  width: 142px;
  height: 50px;
}

body:not(.fixture-detail-mode) .brand-logo {
  width: 140px;
  max-height: 46px;
}

body:not(.fixture-detail-mode) .topbar-mobile-search-slot {
  display: flex;
  justify-content: flex-end;
  width: auto;
}

@media (max-width: 380px) {
  body:not(.fixture-detail-mode) .topbar {
    padding-left: 14px;
    padding-right: 14px;
  }

  body:not(.fixture-detail-mode) .brand-wrap {
    grid-template-columns: minmax(96px, 1fr) auto;
    gap: 10px;
  }

  body:not(.fixture-detail-mode) .brand-home-btn {
    width: 118px;
  }

  body:not(.fixture-detail-mode) .brand-logo {
    width: 116px;
  }
}

/* Mobile account dashboard redesign */
.account-mobile-redesign {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.account-mobile-redesign,
.account-mobile-redesign * {
  min-width: 0;
}

.account-mobile-hero,
.account-mobile-panel,
.account-mobile-plan-card {
  border: 1px solid rgba(132, 158, 191, 0.22);
  border-radius: var(--app-radius);
  background: rgba(7, 22, 43, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.account-mobile-hero {
  display: grid;
  gap: 14px;
  padding: 14px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 29, 61, 0.98) 0%, rgba(3, 12, 29, 0.98) 100%);
}

.account-plan-plus .account-mobile-hero,
.account-plan-pro .account-mobile-hero {
  border-color: rgba(155, 229, 27, 0.34);
}

.account-plan-admin .account-mobile-hero {
  border-color: rgba(79, 141, 255, 0.42);
}

.account-has-payment-issue .account-mobile-hero,
.account-mobile-panel-warning {
  border-color: rgba(245, 158, 11, 0.42);
}

.account-has-payment-issue .account-mobile-status-chip,
.account-mobile-panel-warning .eyebrow {
  color: #ffd2a7 !important;
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.12);
}

.account-mobile-hero-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.account-mobile-hero .guest-avatar,
.account-mobile-hero .account-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--app-radius);
  color: #07111f !important;
  background: var(--app-green) !important;
  box-shadow: none;
}

.account-mobile-hero-copy {
  display: grid;
  gap: 4px;
}

.account-mobile-hero-copy .eyebrow,
.account-mobile-panel-head .eyebrow,
.account-mobile-plan-top .eyebrow {
  margin: 0;
  color: var(--app-green) !important;
  font-size: 0.72rem;
  font-weight: 800;
}

.account-mobile-hero-copy h3 {
  margin: 0;
  color: #ffffff !important;
  font-size: 1.16rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.account-mobile-hero-copy p,
.account-mobile-panel-copy {
  margin: 0;
  color: rgba(218, 227, 241, 0.76);
  font-size: 0.84rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.account-mobile-status-chip {
  grid-column: 1 / -1;
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(155, 229, 27, 0.34);
  border-radius: var(--app-radius);
  color: var(--app-green);
  background: rgba(155, 229, 27, 0.1);
  font-size: 0.74rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.account-mobile-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.account-mobile-hero-stats > div {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 9px 7px;
  border: 1px solid rgba(132, 158, 191, 0.2);
  border-radius: var(--app-radius);
  background: rgba(255, 255, 255, 0.045);
}

.account-mobile-hero-stats small {
  color: rgba(218, 227, 241, 0.58);
  font-size: 0.62rem;
  line-height: 1.15;
}

.account-mobile-hero-stats strong {
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.account-mobile-hero-actions {
  display: grid;
}

.account-mobile-panel {
  display: grid;
  gap: 12px;
  padding: 13px;
}

.account-mobile-panel-head,
.account-mobile-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.account-mobile-panel-head h4,
.account-mobile-plan-top h4 {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.18;
}

.account-mobile-panel-head .status-pill,
.account-mobile-plan-top .status-pill {
  flex: 0 0 auto;
  max-width: 42%;
  text-align: center;
  white-space: normal;
}

.account-mobile-row-list {
  display: grid;
  gap: 8px;
}

.account-mobile-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(132, 158, 191, 0.18);
  border-radius: var(--app-radius);
  background: rgba(255, 255, 255, 0.04);
}

.account-mobile-row-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--app-radius);
  color: #07111f;
  background: var(--app-green);
  font-size: 0.68rem;
  font-weight: 900;
}

.account-mobile-row-locked .account-mobile-row-mark {
  color: rgba(218, 227, 241, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.account-mobile-row-copy {
  display: grid;
  gap: 2px;
}

.account-mobile-row-copy strong {
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.18;
}

.account-mobile-row-copy small {
  color: rgba(218, 227, 241, 0.64);
  font-size: 0.73rem;
  line-height: 1.3;
}

.account-mobile-row-state {
  color: rgba(218, 227, 241, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
}

.account-mobile-row-active .account-mobile-row-state {
  color: var(--app-green);
}

.account-mobile-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
}

.account-mobile-action-grid .primary-btn,
.account-mobile-action-grid .ghost-btn,
.account-mobile-action-grid .danger-btn,
.account-mobile-hero-actions .primary-btn,
.account-mobile-plan-action .primary-btn,
.account-mobile-plan-action .ghost-btn {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  justify-content: center;
  border-radius: var(--app-radius);
  text-align: center;
  white-space: normal;
}

.account-mobile-action-grid .account-mobile-action-full {
  grid-column: 1 / -1;
}

.account-mobile-action-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-mobile-plan-grid {
  display: grid;
  gap: 10px;
}

.account-mobile-plan-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.account-mobile-plan-card.current-plan-card {
  border-color: rgba(155, 229, 27, 0.42);
}

.account-mobile-plan-card.recommended-plan-card {
  border-color: rgba(79, 141, 255, 0.38);
}

.account-mobile-price {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.account-mobile-plan-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-mobile-plan-list li {
  padding: 7px 8px;
  border: 1px solid rgba(132, 158, 191, 0.16);
  border-radius: var(--app-radius);
  color: rgba(218, 227, 241, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  line-height: 1.25;
}

@media (min-width: 560px) {
  .account-mobile-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .account-mobile-redesign {
    gap: 10px;
  }

  .account-mobile-hero,
  .account-mobile-panel {
    padding: 11px;
  }

  .account-mobile-hero-stats {
    grid-template-columns: 1fr;
  }

  .account-mobile-action-grid,
  .account-mobile-action-grid-secondary {
    grid-template-columns: 1fr;
  }

  .account-mobile-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .account-mobile-row-state {
    grid-column: 2;
    justify-self: start;
  }
}

.marketing-consent-banner {
  z-index: 100;
}

@media (max-width: 780px) {
  .marketing-consent-banner {
    bottom: calc(94px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .marketing-consent-copy p {
    font-size: 0.78rem;
  }
}

body.email-world-cup-mode {
  background: #061537;
}

.email-world-cup-mode .app-shell {
  min-height: 100dvh;
  background:
    linear-gradient(180deg, #061537 0%, #0b2d72 56%, #f7fbff 56%, #ffffff 100%);
}

.email-world-cup-mode .topbar,
.email-world-cup-mode .page-header,
.email-world-cup-mode .summary-grid,
.email-world-cup-mode .app-bottom-nav,
.email-world-cup-mode .site-footer {
  display: none !important;
}

.email-world-cup-mode .page-shell {
  min-height: 100dvh;
  max-width: none;
  padding: clamp(18px, 5vw, 42px) 14px;
  display: grid;
  place-items: center;
}

.email-world-cup-mode .view-section {
  width: min(100%, 620px);
}

.email-world-cup-layout {
  width: 100%;
  min-height: calc(100dvh - clamp(36px, 10vw, 84px));
  display: grid;
  place-items: center;
}

.email-world-cup-cta {
  width: 100%;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(215, 226, 242, 0.9);
  border-radius: var(--app-radius);
  background: #ffffff;
  color: #07162b;
  box-shadow: 0 26px 60px rgba(2, 8, 19, 0.26);
}

.email-world-cup-logo {
  width: min(190px, 58vw);
  height: auto;
  justify-self: center;
  padding: 10px 12px;
  border-radius: var(--app-radius);
  background: #071a43;
}

.email-world-cup-copy {
  display: grid;
  gap: 10px;
  text-align: center;
}

.email-world-cup-copy .eyebrow {
  margin: 0;
  color: #0b55d9;
}

.email-world-cup-copy h2 {
  margin: 0;
  color: #07162b;
  font-size: 2.6rem;
  line-height: 1;
}

.email-world-cup-copy p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.5;
}

.email-world-cup-feature-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.email-world-cup-feature-list li {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: var(--app-radius);
  background: #f8fbff;
  color: #10213f;
  font-weight: 800;
}

.email-world-cup-feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--app-green);
  box-shadow: 0 0 0 4px rgba(155, 229, 27, 0.18);
}

.email-world-cup-actions {
  display: grid;
  gap: 10px;
}

.email-world-cup-actions .primary-btn,
.email-world-cup-actions .ghost-btn {
  width: 100%;
  min-height: 54px;
  justify-content: center;
  text-align: center;
}

.email-world-cup-actions .primary-btn {
  background: #9be51b;
  border-color: #8bd315;
  color: #102000;
  font-size: 1rem;
}

.email-world-cup-actions .ghost-btn {
  background: #eef5ff;
  border-color: #d2e4ff;
  color: #0b2d72;
}

.email-world-cup-secure-copy {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 720px) {
  .email-world-cup-copy h2 {
    font-size: 3.2rem;
  }

  .email-world-cup-copy p {
    font-size: 1.08rem;
  }
}

@media (max-width: 380px) {
  .email-world-cup-copy h2 {
    font-size: 2.15rem;
  }
}

body.create-account-mode .topbar {
  display: none !important;
}

body.create-account-mode .page-shell {
  padding-top: calc(18px + env(safe-area-inset-top));
}

.signup-logo-wrap {
  display: grid;
  place-items: center;
  padding: 2px 0 4px;
}

.signup-logo {
  display: block;
  width: min(190px, 58vw);
  height: auto;
  object-fit: contain;
}

@media (max-width: 380px) {
  .signup-logo {
    width: min(160px, 54vw);
  }
}
