:root {
  color-scheme: dark;
  --bg: #050914;
  --bg-2: #07101d;
  --panel: rgba(11, 17, 29, 0.84);
  --panel-2: rgba(16, 24, 39, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(198, 255, 46, 0.26);
  --text: #f7f8ff;
  --muted: #aeb7c8;
  --soft: #dce4f2;
  --accent: #c6ff2e;
  --accent-2: #8bdc26;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

.neo-history-stake-note {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.neo-history-stake-note strong {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.15;
}

.neo-history-stake-note p {
  margin: 0;
  color: #667085;
  font-size: 0.76rem;
  font-weight: 460;
  line-height: 1.45;
}

@media (max-width: 899px) {
  .app-header-menu,
  body.matches-app-page .app-header-menu {
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .app-header-menu span,
  body.matches-app-page .app-header-menu span {
    display: none !important;
  }

  .neo-menu-icon {
    display: block !important;
    width: 38px !important;
    height: 28px !important;
    overflow: visible !important;
  }

  .neo-menu-line {
    fill: none !important;
    stroke: #f8fafc !important;
    stroke-width: 3.2 !important;
    stroke-linecap: round !important;
  }

  .neo-menu-line-mid {
    stroke-width: 3.4 !important;
  }

  .neo-menu-dot {
    fill: var(--accent) !important;
    filter: drop-shadow(0 0 8px rgba(198, 255, 46, .42)) !important;
  }

  .neo-menu-dot-soft {
    opacity: .75 !important;
  }
}

/* 2026-06-29: hard production override for thin ZoneStat-like mobile matches UI.
   Kept at the very end of styles.css so older heavy !important blocks cannot win. */
@media (max-width: 899px) {
  body.matches-app-page .app-header {
    min-height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    padding: calc(7px + env(safe-area-inset-top, 0px)) 22px 8px !important;
    background: #111519 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .055) !important;
    box-shadow: none !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 30px !important;
    height: 30px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 1.14rem !important;
    line-height: 1 !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
  }

  body.matches-app-page .app-header-menu {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    background: #22272b !important;
  }

  body.matches-app-page .app-header-menu span {
    width: 17px !important;
    height: 1.5px !important;
    margin: 2px 0 !important;
  }

  body.matches-app-page .matches-app {
    padding: 12px 10px calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    background: #070a0c !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    gap: 9px !important;
    margin: 0 0 11px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    width: auto !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 11px !important;
    background: #202529 !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 40px !important;
    font-size: 1.34rem !important;
    font-weight: 720 !important;
  }

  body.matches-app-page .matches-date-control button {
    gap: 9px !important;
    padding: 0 14px !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: .92rem !important;
    font-weight: 720 !important;
    letter-spacing: 0 !important;
  }

  body.matches-app-page .matches-date-control svg {
    width: 15px !important;
    height: 15px !important;
  }

  body.matches-app-page .app-filter-row {
    min-height: 40px !important;
    margin: 0 0 11px !important;
    padding: 4px !important;
    border-radius: 11px !important;
    background: #202529 !important;
    box-shadow: none !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    font-size: .72rem !important;
    line-height: 1 !important;
    font-weight: 690 !important;
    letter-spacing: 0 !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 44px !important;
    gap: 7px !important;
    margin: 0 0 12px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border-radius: 11px !important;
    background: #202529 !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-search-row input {
    height: 38px !important;
    font-size: .78rem !important;
    font-weight: 520 !important;
  }

  body.matches-app-page .matches-search-row > span {
    font-size: .72rem !important;
    font-weight: 650 !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 44px !important;
    height: 28px !important;
    border-radius: 999px !important;
  }

  body.matches-app-page .matches-search-row button i {
    top: 3px !important;
    left: 3px !important;
    width: 22px !important;
    height: 22px !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 19px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 42px !important;
    margin: 0 0 15px !important;
    padding: 0 12px !important;
    border-radius: 11px !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-advice-link strong {
    font-size: .75rem !important;
    font-weight: 730 !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 36px !important;
    padding: 0 28px 8px 42px !important;
    margin: 0 !important;
    background: transparent !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 32px !important;
    height: 32px !important;
    font-size: .82rem !important;
  }

  body.matches-app-page .app-competition summary span {
    font-size: .86rem !important;
    font-weight: 740 !important;
  }

  body.matches-app-page .app-competition summary small {
    font-size: .61rem !important;
    font-weight: 560 !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 45px minmax(0, 1fr) 22px 22px !important;
    gap: 6px !important;
    min-height: 54px !important;
    padding: 7px 8px !important;
    border-radius: 10px !important;
    background: #12171b !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 43px minmax(0, 1fr) 76px 18px 22px !important;
    min-height: 54px !important;
    gap: 5px !important;
  }

  body.matches-app-page .app-match-status {
    padding-right: 7px !important;
    font-size: .61rem !important;
    font-weight: 720 !important;
  }

  body.matches-app-page .app-team-flag {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  body.matches-app-page .app-team-flag img {
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  body.matches-app-page .app-match-team strong {
    font-size: .74rem !important;
    line-height: 1.05 !important;
    font-weight: 570 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.matches-app-page .app-match-score strong {
    font-size: .66rem !important;
    font-weight: 730 !important;
  }

  body.matches-app-page .app-match-star {
    width: 22px !important;
    height: 22px !important;
    font-size: 1.06rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    width: 76px !important;
    gap: 2px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 24px !important;
    padding: 0 !important;
    gap: 1px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em small {
    font-size: .43rem !important;
    font-weight: 580 !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 22px !important;
    min-height: 18px !important;
    padding: 2px 2px !important;
    border-radius: 4px !important;
    font-size: .5rem !important;
    font-weight: 730 !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 5px 10px calc(5px + env(safe-area-inset-bottom, 0px)) !important;
    background: #e5e8ea !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .18) !important;
  }

  body.matches-app-page .bottom-nav a {
    min-height: 48px !important;
    gap: 2px !important;
    border-radius: 14px !important;
    color: #111519 !important;
    font-size: .58rem !important;
    font-weight: 650 !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 27px !important;
    height: 27px !important;
    border-radius: 8px !important;
  }

  body.matches-app-page .bottom-nav-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Final override: Matchs mobile must read like a dense sports-score app, not a card dashboard. */
@media (max-width: 899px) {
  body.matches-app-page {
    background: #eef1f5 !important;
  }

  body.matches-app-page .app-header {
    min-height: 112px !important;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 36px 24px !important;
    background: #111519 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .055) !important;
    backdrop-filter: none !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 56px !important;
    height: 56px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 2.15rem !important;
    font-weight: 860 !important;
    letter-spacing: -.03em !important;
  }

  body.matches-app-page .app-header-menu {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .075) !important;
  }

  body.matches-app-page .app-header-menu span {
    width: 27px !important;
    height: 3px !important;
  }

  body.matches-app-page .matches-app {
    width: 100% !important;
    max-width: none !important;
    padding: 24px 20px calc(108px + env(safe-area-inset-bottom, 0px)) !important;
    background: #eef1f5 !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 80px minmax(0, 1fr) 80px !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 80px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 80px !important;
    font-size: 3.3rem !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: 1.55rem !important;
    font-weight: 780 !important;
  }

  body.matches-app-page .matches-date-control svg {
    width: 30px !important;
    height: 30px !important;
  }

  body.matches-app-page .app-filter-row {
    margin-bottom: 24px !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 64px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #667085 !important;
    font-size: 1.2rem !important;
    font-weight: 680 !important;
  }

  body.matches-app-page .app-filter-row button.active {
    background: var(--accent) !important;
    color: #081004 !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 90px !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 80px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
  }

  body.matches-app-page .matches-search-row input {
    font-size: 1.28rem !important;
    color: #111827 !important;
  }

  body.matches-app-page .matches-search-row input::placeholder {
    color: #98a2b3 !important;
  }

  body.matches-app-page .matches-search-row > span {
    color: #59677c !important;
    font-size: 1.1rem !important;
    font-weight: 650 !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 84px !important;
    height: 48px !important;
    border: 0 !important;
    background: #e8eef5 !important;
  }

  body.matches-app-page .matches-search-row button.active {
    background: #1e55ff !important;
  }

  body.matches-app-page .matches-search-row button i {
    width: 40px !important;
    height: 40px !important;
    background: #fff !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 41px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 68px !important;
    margin-bottom: 28px !important;
    padding: 0 28px !important;
    border-color: rgba(94, 209, 224, .55) !important;
    border-radius: 18px !important;
    background: #eaffff !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-data-chip {
    display: none !important;
  }

  body.matches-app-page .app-competition {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 64px !important;
    padding: 0 42px 16px 72px !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 56px !important;
    height: 56px !important;
    border: 0 !important;
    background: rgba(198, 255, 46, .16) !important;
    color: var(--accent) !important;
    font-size: 1.35rem !important;
  }

  body.matches-app-page .app-competition summary span {
    color: #f8fafc !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
  }

  body.matches-app-page .app-competition summary small {
    color: #9aa0a6 !important;
    font-size: .96rem !important;
  }

  body.matches-app-page .app-competition > div {
    gap: 10px !important;
    padding: 0 !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 92px minmax(0, 1fr) 44px 40px !important;
    gap: 14px !important;
    min-height: 96px !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #12171b !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 92px minmax(0, 1fr) 230px 44px 40px !important;
  }

  body.matches-app-page .app-match-status {
    padding-right: 20px !important;
    border-right: 1px solid rgba(255, 255, 255, .09) !important;
    color: #a4abb2 !important;
    font-size: 1rem !important;
    font-weight: 750 !important;
  }

  body.matches-app-page .app-team-flag {
    width: 26px !important;
    height: 26px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: transparent !important;
  }

  body.matches-app-page .app-team-flag img {
    border-radius: 2px !important;
    object-fit: cover !important;
  }

  body.matches-app-page .app-match-team strong {
    color: #d9dde2 !important;
    font-size: 1.08rem !important;
    font-weight: 610 !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 42px !important;
    padding: 4px 6px !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #9aa0a6 !important;
    font-size: .78rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 64px !important;
    padding: 8px 7px !important;
    border-radius: 6px !important;
    background: #202529 !important;
    color: #f5f7f9 !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(106px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: #202529 !important;
    box-shadow: 0 -12px 28px rgba(0, 0, 0, .34) !important;
  }

  body.matches-app-page .bottom-nav a {
    color: #9aa0a6 !important;
    font-size: .86rem !important;
    font-weight: 660 !important;
  }

  body.matches-app-page .bottom-nav a.active {
    color: #f8fafc !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    color: #9aa0a6 !important;
    background: transparent !important;
  }

  body.matches-app-page .bottom-nav a.active .bottom-nav-icon {
    color: #071105 !important;
    background: var(--accent) !important;
  }
}

@media (max-width: 430px) {
  body.matches-app-page .app-header {
    min-height: 86px !important;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 16px !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 42px !important;
    height: 42px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 1.55rem !important;
  }

  body.matches-app-page .app-header-menu {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }

  body.matches-app-page .matches-app {
    padding: 18px 14px calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 48px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 48px !important;
    font-size: 2rem !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: 1.02rem !important;
  }

  body.matches-app-page .app-filter-row {
    margin-bottom: 14px !important;
    padding: 5px !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 42px !important;
    font-size: .82rem !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 54px !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 50px !important;
    padding: 0 13px !important;
  }

  body.matches-app-page .matches-search-row input {
    font-size: .9rem !important;
  }

  body.matches-app-page .matches-search-row > span {
    font-size: .82rem !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 54px !important;
    height: 32px !important;
  }

  body.matches-app-page .matches-search-row button i {
    width: 28px !important;
    height: 28px !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 25px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 50px !important;
    margin-bottom: 18px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
  }

  body.matches-app-page .matches-advice-link strong {
    font-size: .84rem !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 46px !important;
    padding: 0 28px 10px 48px !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }

  body.matches-app-page .app-competition summary span {
    font-size: 1rem !important;
  }

  body.matches-app-page .app-competition summary small {
    font-size: .72rem !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 54px minmax(0, 1fr) 28px 28px !important;
    gap: 8px !important;
    min-height: 64px !important;
    padding: 9px 10px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 52px minmax(0, 1fr) 92px 24px 26px !important;
    gap: 6px !important;
  }

  body.matches-app-page .app-match-status {
    padding-right: 8px !important;
    font-size: .72rem !important;
  }

  body.matches-app-page .app-team-flag {
    width: 21px !important;
    height: 21px !important;
  }

  body.matches-app-page .app-match-team strong {
    font-size: .84rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    gap: 3px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 30px !important;
    padding: 1px !important;
    font-size: .52rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 27px !important;
    padding: 5px 3px !important;
    font-size: .62rem !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .bottom-nav a {
    min-height: 56px !important;
    font-size: .66rem !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 899px) {
  html body.matches-app-page,
  html body.matches-app-page .matches-app {
    background: #eef1f5 !important;
  }

  html body.matches-app-page .matches-date-control > a,
  html body.matches-app-page .matches-date-control > span,
  html body.matches-app-page .matches-date-control > button,
  html body.matches-app-page .app-filter-row,
  html body.matches-app-page .matches-search-row label {
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
  }

  html body.matches-app-page .app-filter-row button,
  html body.matches-app-page .app-filter-row a {
    background: transparent !important;
    color: #667085 !important;
    box-shadow: none !important;
  }

  html body.matches-app-page .app-filter-row button.active,
  html body.matches-app-page .app-filter-row a.active,
  html body.matches-app-page .app-filter-row .active {
    background: #baff23 !important;
    color: #071105 !important;
    box-shadow: none !important;
  }

  html body.matches-app-page .matches-live-badge {
    background: #ff2d55 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 6px rgba(255, 45, 85, .16) !important;
  }

  html body.matches-app-page .matches-search-row input {
    color: #111827 !important;
  }

  html body.matches-app-page .matches-search-row input::placeholder {
    color: #98a2b3 !important;
  }

  html body.matches-app-page .matches-search-row > span {
    color: #59677c !important;
  }

  html body.matches-app-page .matches-search-row .matches-odds-toggle {
    background: #e8eef5 !important;
  }

  html body.matches-app-page .matches-search-row .matches-odds-toggle i {
    background: #ffffff !important;
  }
}

@media (max-width: 899px) {
  html body.matches-app-page,
  html body.matches-app-page .matches-app {
    background: #eef1f5 !important;
  }

  html body.matches-app-page .matches-date-control > a,
  html body.matches-app-page .matches-date-control > span,
  html body.matches-app-page .matches-date-control > button,
  html body.matches-app-page .app-filter-row,
  html body.matches-app-page .matches-search-row label {
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
  }

  html body.matches-app-page .app-filter-row button,
  html body.matches-app-page .app-filter-row a {
    background: transparent !important;
    color: #667085 !important;
    box-shadow: none !important;
  }

  html body.matches-app-page .app-filter-row button.active,
  html body.matches-app-page .app-filter-row a.active,
  html body.matches-app-page .app-filter-row .active {
    background: #baff23 !important;
    color: #071105 !important;
    box-shadow: none !important;
  }

  html body.matches-app-page .matches-live-badge {
    background: #ff2d55 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 6px rgba(255, 45, 85, .16) !important;
  }

  html body.matches-app-page .matches-search-row input {
    color: #111827 !important;
  }

  html body.matches-app-page .matches-search-row input::placeholder {
    color: #98a2b3 !important;
  }

  html body.matches-app-page .matches-search-row > span {
    color: #59677c !important;
  }

  html body.matches-app-page .matches-search-row .matches-odds-toggle {
    background: #e8eef5 !important;
  }

  html body.matches-app-page .matches-search-row .matches-odds-toggle i {
    background: #ffffff !important;
  }
}

/* 2026-06-29: EOF lock. This must stay after all legacy mobile Matchs overrides. */
@media (max-width: 899px) {
  body.matches-app-page .app-header {
    min-height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    padding: calc(7px + env(safe-area-inset-top, 0px)) 22px 8px !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 30px !important;
    height: 30px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 1.14rem !important;
    font-weight: 760 !important;
  }

  body.matches-app-page .app-header-menu {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  body.matches-app-page .matches-app {
    padding: 12px 10px calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    gap: 9px !important;
    margin-bottom: 11px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 11px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 40px !important;
    font-size: 1.34rem !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: .92rem !important;
    font-weight: 720 !important;
  }

  body.matches-app-page .app-filter-row {
    min-height: 40px !important;
    margin-bottom: 11px !important;
    padding: 4px !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 32px !important;
    height: 32px !important;
    font-size: .72rem !important;
    font-weight: 690 !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 44px !important;
    gap: 7px !important;
    margin-bottom: 12px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
  }

  body.matches-app-page .matches-search-row input {
    height: 38px !important;
    font-size: .78rem !important;
  }

  body.matches-app-page .matches-search-row > span {
    font-size: .72rem !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 44px !important;
    height: 28px !important;
  }

  body.matches-app-page .matches-search-row button i {
    width: 22px !important;
    height: 22px !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 19px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 42px !important;
    margin-bottom: 15px !important;
    padding: 0 12px !important;
  }

  body.matches-app-page .matches-advice-link strong {
    font-size: .75rem !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 36px !important;
    padding: 0 28px 8px 42px !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 32px !important;
    height: 32px !important;
  }

  body.matches-app-page .app-competition summary span {
    font-size: .86rem !important;
    font-weight: 740 !important;
  }

  body.matches-app-page .app-competition summary small {
    font-size: .61rem !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 45px minmax(0, 1fr) 22px 22px !important;
    gap: 6px !important;
    min-height: 54px !important;
    padding: 7px 8px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 43px minmax(0, 1fr) 76px 18px 22px !important;
  }

  body.matches-app-page .app-match-status {
    font-size: .61rem !important;
    padding-right: 7px !important;
  }

  body.matches-app-page .app-team-flag {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
  }

  body.matches-app-page .app-match-team strong {
    font-size: .74rem !important;
    font-weight: 570 !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    width: 76px !important;
    gap: 2px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 22px !important;
    min-height: 18px !important;
    padding: 2px !important;
    font-size: .5rem !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 5px 10px calc(5px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .bottom-nav a {
    min-height: 48px !important;
    font-size: .58rem !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 27px !important;
    height: 27px !important;
  }
}

/* Absolute last pass: keep TopStats mobile thinner than the previous broad overrides. */
@media (max-width: 430px) {
  body.matches-app-page .app-header {
    min-height: 72px !important;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 20px 10px !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 34px !important;
    height: 34px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 1.34rem !important;
    font-weight: 820 !important;
  }

  body.matches-app-page .app-header-menu {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .app-header-menu span {
    width: 18px !important;
    height: 2px !important;
    margin: 2px 0 !important;
  }

  body.matches-app-page .matches-app {
    padding: 14px 12px calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 40px !important;
    border-radius: 11px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 40px !important;
    font-size: 1.55rem !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: .94rem !important;
    font-weight: 760 !important;
  }

  body.matches-app-page .matches-date-control svg {
    width: 17px !important;
    height: 17px !important;
  }

  body.matches-app-page .app-filter-row {
    margin-bottom: 12px !important;
    padding: 4px !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 36px !important;
    font-size: .74rem !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 46px !important;
    gap: 7px !important;
    margin-bottom: 13px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 42px !important;
    padding: 0 11px !important;
  }

  body.matches-app-page .matches-search-row input {
    font-size: .82rem !important;
  }

  body.matches-app-page .matches-search-row > span {
    font-size: .76rem !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 46px !important;
    height: 28px !important;
  }

  body.matches-app-page .matches-search-row button i {
    width: 24px !important;
    height: 24px !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 20px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 44px !important;
    margin-bottom: 16px !important;
    padding: 0 12px !important;
  }

  body.matches-app-page .matches-advice-link strong {
    font-size: .78rem !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 38px !important;
    padding: 0 24px 8px 42px !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 32px !important;
    height: 32px !important;
    font-size: .82rem !important;
  }

  body.matches-app-page .app-competition summary span {
    font-size: .91rem !important;
  }

  body.matches-app-page .app-competition summary small {
    font-size: .66rem !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 48px minmax(0, 1fr) 24px 24px !important;
    gap: 7px !important;
    min-height: 56px !important;
    padding: 8px 9px !important;
    border-radius: 11px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 47px minmax(0, 1fr) 82px 22px 24px !important;
    gap: 5px !important;
  }

  body.matches-app-page .app-match-status {
    padding-right: 7px !important;
    font-size: .66rem !important;
  }

  body.matches-app-page .app-team-flag {
    width: 18px !important;
    height: 18px !important;
  }

  body.matches-app-page .app-match-team strong {
    font-size: .76rem !important;
    font-weight: 590 !important;
  }

  body.matches-app-page .app-match-score strong {
    font-size: .7rem !important;
  }

  body.matches-app-page .app-match-star {
    width: 24px !important;
    height: 24px !important;
    font-size: 1.2rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    gap: 2px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 26px !important;
    padding: 1px !important;
    font-size: .47rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 24px !important;
    padding: 4px 2px !important;
    font-size: .56rem !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .bottom-nav a {
    min-height: 48px !important;
    font-size: .6rem !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 28px !important;
    height: 28px !important;
  }

  body.matches-app-page .bottom-nav-icon svg {
    width: 19px !important;
    height: 19px !important;
  }
}

/* Final finesse pass: compact ZoneStat-like proportions on real mobile screens. */
@media (max-width: 430px) {
  body.matches-app-page .app-header {
    min-height: 72px !important;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 20px 10px !important;
  }

  body.matches-app-page .app-header-brand {
    gap: 8px !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 34px !important;
    height: 34px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 1.34rem !important;
    font-weight: 820 !important;
  }

  body.matches-app-page .app-header-menu {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .app-header-menu span {
    width: 18px !important;
    height: 2px !important;
    margin: 2px 0 !important;
  }

  body.matches-app-page .matches-app {
    padding: 14px 12px calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 40px !important;
    border-radius: 11px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 40px !important;
    font-size: 1.55rem !important;
    line-height: 1 !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: .94rem !important;
    font-weight: 760 !important;
  }

  body.matches-app-page .matches-date-control svg {
    width: 17px !important;
    height: 17px !important;
  }

  body.matches-app-page .matches-date-control em {
    font-size: .9rem !important;
  }

  body.matches-app-page .matches-date-menu {
    left: 48px !important;
    right: 48px !important;
    padding: 6px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .matches-date-menu a {
    min-height: 34px !important;
    padding: 7px 9px !important;
    border-radius: 9px !important;
  }

  body.matches-app-page .app-filter-row {
    margin-bottom: 12px !important;
    padding: 4px !important;
    border-radius: 11px !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 36px !important;
    border-radius: 9px !important;
    font-size: .74rem !important;
    font-weight: 700 !important;
  }

  body.matches-app-page .app-filter-row a strong {
    min-width: 24px !important;
    height: 24px !important;
    margin-left: 5px !important;
    font-size: .68rem !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 46px !important;
    gap: 7px !important;
    margin-bottom: 13px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 42px !important;
    padding: 0 11px !important;
    border-radius: 11px !important;
  }

  body.matches-app-page .matches-search-row svg {
    width: 17px !important;
    height: 17px !important;
  }

  body.matches-app-page .matches-search-row input {
    font-size: .82rem !important;
    font-weight: 560 !important;
  }

  body.matches-app-page .matches-search-row > span {
    font-size: .76rem !important;
    font-weight: 680 !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 46px !important;
    height: 28px !important;
    border-radius: 999px !important;
  }

  body.matches-app-page .matches-search-row button i {
    width: 24px !important;
    height: 24px !important;
    top: 2px !important;
    left: 2px !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 20px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 44px !important;
    margin-bottom: 16px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .matches-advice-link span,
  body.matches-app-page .matches-advice-link em {
    font-size: 1.05rem !important;
  }

  body.matches-app-page .matches-advice-link strong {
    font-size: .78rem !important;
    font-weight: 760 !important;
  }

  body.matches-app-page .app-competition-stack {
    gap: 14px !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 38px !important;
    padding: 0 24px 8px 42px !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 32px !important;
    height: 32px !important;
    font-size: .82rem !important;
  }

  body.matches-app-page .app-competition summary::after {
    right: 5px !important;
    font-size: 1.05rem !important;
  }

  body.matches-app-page .app-competition summary span {
    font-size: .91rem !important;
    font-weight: 780 !important;
  }

  body.matches-app-page .app-competition summary small {
    font-size: .66rem !important;
    line-height: 1.1 !important;
  }

  body.matches-app-page .app-competition > div {
    gap: 7px !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 48px minmax(0, 1fr) 24px 24px !important;
    gap: 7px !important;
    min-height: 56px !important;
    padding: 8px 9px !important;
    border-radius: 11px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 47px minmax(0, 1fr) 82px 22px 24px !important;
    gap: 5px !important;
  }

  body.matches-app-page .app-match-status {
    padding-right: 7px !important;
    font-size: .66rem !important;
    font-weight: 740 !important;
  }

  body.matches-app-page .app-match-teams {
    gap: 4px !important;
  }

  body.matches-app-page .app-match-team {
    gap: 5px !important;
  }

  body.matches-app-page .app-team-flag {
    width: 18px !important;
    height: 18px !important;
  }

  body.matches-app-page .app-match-team strong {
    font-size: .76rem !important;
    font-weight: 590 !important;
    line-height: 1.05 !important;
  }

  body.matches-app-page .app-match-score {
    gap: 1px !important;
  }

  body.matches-app-page .app-match-score strong {
    font-size: .7rem !important;
    font-weight: 760 !important;
  }

  body.matches-app-page .app-match-star {
    width: 24px !important;
    height: 24px !important;
    font-size: 1.2rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    gap: 2px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 26px !important;
    padding: 1px !important;
    border-radius: 5px !important;
    font-size: .47rem !important;
    line-height: .95 !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em small {
    font-size: .45rem !important;
    font-weight: 620 !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 24px !important;
    padding: 4px 2px !important;
    border-radius: 5px !important;
    font-size: .56rem !important;
    font-weight: 760 !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .bottom-nav a {
    min-height: 48px !important;
    gap: 2px !important;
    font-size: .6rem !important;
    font-weight: 650 !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
  }

  body.matches-app-page .bottom-nav-icon svg {
    width: 19px !important;
    height: 19px !important;
  }
}

/* 2026-06-29: ZoneStat-density pass for the mobile web match list. */
@media (max-width: 899px) {
  body.matches-app-page {
    background: #070a0c;
  }

  body.matches-app-page::before,
  body.matches-app-page::after {
    opacity: .22;
  }

  body.matches-app-page .app-header {
    position: sticky;
    top: 0;
    z-index: 90;
    min-height: 112px;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 36px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    background: #111519;
    backdrop-filter: none;
  }

  body.matches-app-page .app-header-brand {
    gap: 12px;
  }

  body.matches-app-page .app-header-brand img {
    width: 56px;
    height: 56px;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 2.15rem;
    font-weight: 860;
    letter-spacing: -.03em;
  }

  body.matches-app-page .app-header-menu {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .075);
  }

  body.matches-app-page .app-header-menu span {
    width: 27px;
    height: 3px;
    margin: 3px 0;
  }

  body.matches-app-page .matches-app {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 112px);
    padding: 24px 20px calc(108px + env(safe-area-inset-bottom, 0px));
    background: #070a0c;
  }

  body.matches-app-page .matches-date-control {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    gap: 20px;
    margin: 0 0 24px;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 80px;
    height: 80px;
    border: 0;
    border-radius: 16px;
    background: #202529;
    color: #f5f7f9;
    font-size: 3.3rem;
    font-weight: 700;
    box-shadow: none;
  }

  body.matches-app-page .matches-date-control > button {
    height: 80px;
    min-width: 0;
    border: 0;
    border-radius: 16px;
    background: #202529;
    color: #f5f7f9;
    box-shadow: none;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: 1.55rem;
    font-weight: 780;
    letter-spacing: -.02em;
  }

  body.matches-app-page .matches-date-control svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.2;
  }

  body.matches-app-page .matches-date-control em {
    color: #f5f7f9;
    font-size: 1.4rem;
  }

  body.matches-app-page .matches-date-menu {
    left: 100px;
    right: 100px;
    border-color: rgba(255, 255, 255, .08);
    background: #15191d;
  }

  body.matches-app-page .matches-date-menu a.active {
    background: rgba(198, 255, 46, .18);
  }

  body.matches-app-page .app-filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 24px;
    padding: 8px;
    border: 0;
    border-radius: 12px;
    background: #202529;
    box-shadow: none;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 64px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #9aa0a6;
    font-size: 1.2rem;
    font-weight: 680;
  }

  body.matches-app-page .app-filter-row button.active {
    background: var(--accent);
    color: #081004;
    box-shadow: none;
  }

  body.matches-app-page .app-filter-row a strong {
    min-width: 40px;
    height: 40px;
    margin-left: 10px;
    background: #30373c;
    color: #fff;
    font-size: 1rem;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 90px;
    gap: 18px;
    margin: 0 0 24px;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 80px;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: #202529;
    box-shadow: none;
  }

  body.matches-app-page .matches-search-row svg {
    width: 30px;
    height: 30px;
    color: #9aa0a6;
  }

  body.matches-app-page .matches-search-row input {
    color: #f5f7f9;
    font-size: 1.28rem;
    font-weight: 520;
  }

  body.matches-app-page .matches-search-row input::placeholder {
    color: #9aa0a6;
  }

  body.matches-app-page .matches-search-row > span {
    color: #c7cbd0;
    font-size: 1.1rem;
    font-weight: 650;
  }

  body.matches-app-page .matches-search-row button {
    width: 84px;
    height: 48px;
    border: 0;
    background: #344046;
  }

  body.matches-app-page .matches-search-row button i {
    width: 40px;
    height: 40px;
    background: #fff;
  }

  body.matches-app-page .matches-search-row button.active {
    background: #1e55ff;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 41px;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 68px;
    margin: 0 0 28px;
    padding: 0 28px;
    border-color: rgba(94, 239, 255, .55);
    border-radius: 18px;
    background: rgba(7, 41, 47, .78);
    box-shadow: none;
  }

  body.matches-app-page .matches-advice-link span,
  body.matches-app-page .matches-advice-link em {
    color: #7ff4ff;
    font-size: 1.8rem;
  }

  body.matches-app-page .matches-advice-link strong {
    color: #7ff4ff;
    font-size: 1.1rem;
    font-weight: 760;
  }

  body.matches-app-page .matches-data-chip {
    display: none;
  }

  body.matches-app-page .app-competition-stack {
    gap: 20px;
  }

  body.matches-app-page .app-competition {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.matches-app-page .app-competition summary {
    min-height: 64px;
    padding: 0 42px 16px 72px;
    border: 0;
    background: transparent;
  }

  body.matches-app-page .app-competition summary::before {
    left: 0;
    width: 56px;
    height: 56px;
    border: 0;
    background: rgba(198, 255, 46, .16);
    color: var(--accent);
    font-size: 1.35rem;
  }

  body.matches-app-page .app-competition summary::after {
    right: 10px;
    color: #9aa0a6;
    font-size: 1.45rem;
  }

  body.matches-app-page .app-competition summary span {
    color: #f8fafc;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
  }

  body.matches-app-page .app-competition summary small {
    display: block;
    margin-top: 3px;
    color: #9aa0a6;
    font-size: .96rem;
    font-weight: 640;
  }

  body.matches-app-page .app-competition > div {
    gap: 10px;
    padding: 0;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds,
  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 92px minmax(0, 1fr) 44px 40px;
    gap: 14px;
    min-height: 96px;
    padding: 14px 18px;
    border: 0;
    border-radius: 14px;
    background: #12171b;
    box-shadow: none;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 92px minmax(0, 1fr) 230px 44px 40px;
  }

  body.matches-app-page .app-match-status {
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, .09);
    color: #a4abb2;
    font-size: 1rem;
    font-weight: 750;
  }

  body.matches-app-page .app-match-teams {
    gap: 7px;
  }

  body.matches-app-page .app-match-team {
    gap: 10px;
  }

  body.matches-app-page .app-team-flag {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 2px;
    background: transparent;
  }

  body.matches-app-page .app-team-flag img {
    border-radius: 2px;
    object-fit: cover;
  }

  body.matches-app-page .app-match-team strong {
    color: #d9dde2;
    font-size: 1.08rem;
    font-weight: 610;
    line-height: 1.1;
  }

  body.matches-app-page .app-match-score {
    color: #f8fafc;
    font-weight: 800;
  }

  body.matches-app-page .app-match-score strong {
    font-size: 1.02rem;
  }

  body.matches-app-page .app-match-star {
    width: 36px;
    height: 36px;
    color: #9099a4;
    font-size: 2rem;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 42px;
    padding: 4px 6px;
    border-radius: 7px;
    background: transparent;
    color: #9aa0a6;
    font-size: .78rem;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 64px;
    padding: 8px 7px;
    border-radius: 6px;
    background: #202529;
    color: #f5f7f9;
    font-size: .92rem;
    font-weight: 800;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em small {
    font-size: .75rem;
    font-weight: 680;
  }

  body.matches-app-page .bottom-nav,
  body.matches-app-page .chat-page .bottom-nav,
  body.matches-app-page.app-page .bottom-nav {
    min-height: calc(106px + env(safe-area-inset-bottom, 0px));
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #202529;
    box-shadow: 0 -12px 28px rgba(0, 0, 0, .34);
  }

  body.matches-app-page .bottom-nav a {
    min-height: 70px;
    color: #9aa0a6;
    font-size: .86rem;
    font-weight: 660;
  }

  body.matches-app-page .bottom-nav a.active {
    color: #f8fafc;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: #9aa0a6;
    background: transparent;
  }

  body.matches-app-page .bottom-nav a.active .bottom-nav-icon {
    color: #071105;
    background: var(--accent);
    box-shadow: 0 0 28px rgba(198, 255, 46, .34);
  }

  body.matches-app-page .bottom-nav-icon svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 430px) {
  body.matches-app-page .app-header {
    min-height: 86px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 16px;
  }

  body.matches-app-page .app-header-brand img {
    width: 42px;
    height: 42px;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 1.55rem;
  }

  body.matches-app-page .app-header-menu {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  body.matches-app-page .app-header-menu span {
    width: 22px;
  }

  body.matches-app-page .matches-app {
    padding: 18px 14px calc(96px + env(safe-area-inset-bottom, 0px));
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    margin-bottom: 14px;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 48px;
    border-radius: 12px;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 48px;
    font-size: 2rem;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: 1.02rem;
  }

  body.matches-app-page .matches-date-control svg {
    width: 20px;
    height: 20px;
  }

  body.matches-app-page .app-filter-row {
    margin-bottom: 14px;
    padding: 5px;
    border-radius: 12px;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 42px;
    font-size: .82rem;
  }

  body.matches-app-page .app-filter-row a strong {
    min-width: 28px;
    height: 28px;
    font-size: .75rem;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 54px;
    gap: 8px;
    margin-bottom: 16px;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 50px;
    padding: 0 13px;
    border-radius: 12px;
  }

  body.matches-app-page .matches-search-row svg {
    width: 20px;
    height: 20px;
  }

  body.matches-app-page .matches-search-row input {
    font-size: .9rem;
  }

  body.matches-app-page .matches-search-row > span {
    font-size: .82rem;
  }

  body.matches-app-page .matches-search-row button {
    width: 54px;
    height: 32px;
  }

  body.matches-app-page .matches-search-row button i {
    width: 28px;
    height: 28px;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 25px;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 50px;
    margin-bottom: 18px;
    padding: 0 14px;
    border-radius: 13px;
  }

  body.matches-app-page .matches-advice-link span,
  body.matches-app-page .matches-advice-link em {
    font-size: 1.25rem;
  }

  body.matches-app-page .matches-advice-link strong {
    font-size: .84rem;
  }

  body.matches-app-page .app-competition summary {
    min-height: 46px;
    padding: 0 28px 10px 48px;
  }

  body.matches-app-page .app-competition summary::before {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  body.matches-app-page .app-competition summary span {
    font-size: 1rem;
  }

  body.matches-app-page .app-competition summary small {
    font-size: .72rem;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds,
  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 54px minmax(0, 1fr) 28px 28px;
    gap: 8px;
    min-height: 64px;
    padding: 9px 10px;
    border-radius: 12px;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 52px minmax(0, 1fr) 92px 24px 26px;
    gap: 6px;
  }

  body.matches-app-page .app-match-status {
    padding-right: 8px;
    font-size: .72rem;
  }

  body.matches-app-page .app-team-flag {
    width: 21px;
    height: 21px;
  }

  body.matches-app-page .app-match-team {
    gap: 6px;
  }

  body.matches-app-page .app-match-team strong {
    font-size: .84rem;
  }

  body.matches-app-page .app-match-score strong {
    font-size: .76rem;
  }

  body.matches-app-page .app-match-star {
    width: 26px;
    height: 26px;
    font-size: 1.35rem;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    gap: 3px;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 30px;
    padding: 1px;
    font-size: .52rem;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 27px;
    padding: 5px 3px;
    font-size: .62rem;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em small {
    font-size: .5rem;
  }

  body.matches-app-page .bottom-nav,
  body.matches-app-page.app-page .bottom-nav {
    min-height: calc(82px + env(safe-area-inset-bottom, 0px));
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px));
  }

  body.matches-app-page .bottom-nav a {
    min-height: 56px;
    font-size: .66rem;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 32px;
    height: 32px;
  }

  body.matches-app-page .bottom-nav-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Premium product layer: followed picks, profile safety and lighter reading rhythm. */
.recommendation-actions,
.analysis-follow-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.recommendation-actions form,
.analysis-follow-form {
  margin: 0;
}

.analysis-v2-pronos-list article form {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.btn.btn-followed,
.btn.btn-followed:disabled {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(244, 247, 255, 0.74);
  background: rgba(148, 163, 184, 0.22);
  box-shadow: none;
  cursor: default;
}

.team-favorite-form {
  margin-top: 8px;
}

.team-favorite-form button {
  appearance: none;
  border: 1px solid rgba(198, 255, 46, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--accent);
  background: rgba(198, 255, 46, 0.08);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.profile-avatar-icon {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), #e6ff8a);
}

.profile-avatar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #07101d;
}

.streamer-card {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  width: 100%;
  min-width: 0;
}

.streamer-form {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.streamer-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(198, 255, 46, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(198, 255, 46, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
  min-width: 0;
}

.streamer-toggle input {
  width: 44px;
  height: 24px;
  cursor: pointer;
  accent-color: var(--accent);
}

.streamer-toggle strong {
  display: block;
  min-width: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.streamer-toggle small {
  display: block;
  min-width: 0;
  margin-top: 3px;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.35;
}

.streamer-sensitive,
[data-streamer-sensitive] {
  border-radius: 4px;
}

.streamer-mode :not(.neo-history-page) .streamer-sensitive,
.streamer-mode :not(.neo-history-page) [data-streamer-sensitive] {
  filter: blur(6px);
  opacity: 0.68;
  pointer-events: none;
  user-select: none;
}

.streamer-mode input[name*="odds"],
.streamer-mode input[name*="amount"],
.streamer-mode input[name*="price"],
.streamer-mode input[name="max_odds_hint"] {
  filter: blur(6px);
}

.streamer-mode .neo-history-page .streamer-sensitive,
.streamer-mode .neo-history-page [data-streamer-sensitive] {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.streamer-mode :not(.neo-history-page) .streamer-sensitive::selection,
.streamer-mode :not(.neo-history-page) [data-streamer-sensitive]::selection {
  background: transparent;
  color: transparent;
}

.profile-account-grid,
.streamer-card,
.discipline-card,
.legal-profile-card,
.danger-card,
.picks-history-panel {
  margin-top: 16px;
}

.profile-card.glass-panel,
.profile-account-grid.glass-panel,
.streamer-card.glass-panel,
.discipline-card.glass-panel,
.legal-profile-card.glass-panel,
.danger-card.glass-panel {
  padding: clamp(18px, 3vw, 28px);
}

.profile-card h1 {
  margin-top: 12px;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 600;
}

.profile-account-grid,
.legal-profile-card,
.danger-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.profile-account-grid p,
.legal-profile-card p,
.danger-card p,
.discipline-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

.discipline-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.toggle-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.legal-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.legal-profile-links a,
.pick-status {
  border: 1px solid rgba(193, 255, 47, .18);
  border-radius: 999px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 10px;
  text-decoration: none;
}

.danger-card {
  border-color: rgba(255, 96, 96, .22);
}

.picks-history-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.picks-history-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.picks-history-list span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.picks-history-list h3 {
  margin: 4px 0;
  font-size: 1rem;
  font-weight: 650;
}

.picks-history-list p,
.picks-history-list small {
  color: var(--muted);
  font-size: .84rem;
}

.picks-history-list aside {
  display: grid;
  gap: 5px;
  justify-items: end;
}

.picks-history-list aside strong {
  color: var(--accent);
  font-size: 1.25rem;
}

.pick-status-validated {
  color: #4cff8f;
  border-color: rgba(76, 255, 143, .25);
}

.pick-status-lost {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, .25);
}

.empty-state.compact {
  padding: 16px;
}

.analysis-page-v2,
.recommendations-clean,
.profile-card,
.glass-panel {
  font-size: .96rem;
}

@media (max-width: 720px) {
  .profile-account-grid,
  .legal-profile-card,
  .danger-card,
  .picks-history-list article {
    grid-template-columns: 1fr;
  }

  .legal-profile-links,
  .picks-history-list aside {
    justify-content: flex-start;
    justify-items: start;
  }

  .recommendation-actions {
    align-items: stretch;
  }

  .recommendation-actions .btn,
  .recommendation-actions form,
  .recommendation-actions form .btn,
  .analysis-follow-form .btn {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(198, 255, 46, 0.12), transparent 20rem),
    radial-gradient(circle at 78% 8%, rgba(50, 105, 169, 0.22), transparent 24rem),
    linear-gradient(145deg, #02050c 0%, #050914 42%, #07101d 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 43%, rgba(255, 255, 255, 0.06) 43.2%, transparent 43.7%),
    linear-gradient(170deg, transparent 0 70%, rgba(198, 255, 46, 0.08) 70.1%, transparent 70.4%);
  opacity: 0.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.flash {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  width: min(92vw, 520px);
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(10, 18, 30, 0.94);
  box-shadow: var(--shadow);
  color: var(--text);
  transform: translateX(-50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.flash-success {
  border-color: rgba(198, 255, 46, 0.45);
}

.flash-error {
  border-color: rgba(255, 107, 107, 0.45);
}

.flash.fade-out {
  opacity: 0;
  transform: translate(-50%, -8px);
}

.neo-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.neo-logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(198, 255, 46, 0.08);
  box-shadow: 0 0 24px rgba(198, 255, 46, 0.22);
  color: var(--accent);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #081105;
  box-shadow: 0 10px 34px rgba(198, 255, 46, 0.22);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
}

.btn-soft {
  border-color: rgba(198, 255, 46, 0.2);
  background: rgba(198, 255, 46, 0.08);
  color: var(--accent);
}

.btn-small {
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.84rem;
}

.glass-panel,
.match-card,
.recommendation-card,
.metric-card,
.table-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.9), rgba(8, 13, 24, 0.86));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.public-nav,
.landing-shell,
.app-main,
.chat-main {
  position: relative;
  z-index: 1;
}

.public-nav {
  display: flex;
  width: min(var(--max), calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 24px 0 10px;
}

.public-nav-actions {
  display: flex;
  gap: 10px;
}

.landing-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  min-height: calc(100vh - 88px);
  align-items: center;
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 2;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 17px;
}

.hero-ball {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 7px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(198, 255, 46, 0.3);
  font-size: 2rem;
}

.hero-brand h1 {
  margin: 0;
  font-size: clamp(4rem, 19vw, 7.5rem);
  line-height: 0.86;
  font-weight: 900;
}

.hero-brand p,
.eyebrow {
  margin: 8px 0 0;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-statement {
  margin-top: clamp(32px, 8vw, 80px);
}

.hero-statement h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4.1rem);
  line-height: 1.08;
  font-weight: 900;
}

.hero-statement h2 span,
.landing-quote em {
  color: var(--accent);
  font-style: normal;
}

.hero-statement p {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mascot-stage {
  display: flex;
  justify-content: center;
  align-items: end;
  min-height: 340px;
  margin: -24px 0;
}

.mascot-stage img {
  width: min(420px, 92vw);
  filter: drop-shadow(0 44px 80px rgba(0, 0, 0, 0.62));
  border-radius: 28px;
  mix-blend-mode: screen;
}

.hand-note {
  margin: 0 0 18px;
  color: var(--text);
  font-family: Caveat, cursive;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  line-height: 1.05;
}

.hand-note span {
  color: var(--accent);
}

.preview-match {
  padding: 18px;
}

.preview-match-empty .analysis-snippet {
  margin-top: 12px;
}

.analysis-snippet {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.snippet-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--soft);
}

.snippet-head em {
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--accent);
  font-style: normal;
  font-size: 0.78rem;
}

.analysis-snippet h3 {
  margin: 16px 0 8px;
}

.analysis-snippet p {
  color: var(--muted);
  line-height: 1.55;
}

.match-ended-label {
  margin: 12px 0 -4px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 500;
}

.analysis-snippet a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--text);
  font-weight: 800;
}

.phone-preview {
  display: none;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-top: 22px;
}

.feature-rail article {
  min-height: 172px;
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
}

.feature-rail article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.feature-icon {
  color: var(--accent);
  font-size: 2.4rem;
}

.feature-rail h3 {
  margin: 12px 0 8px;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.landing-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  align-items: center;
  padding: 26px 0 10px;
}

.landing-quote span {
  color: var(--accent);
  font-size: clamp(2.7rem, 8vw, 4.1rem);
  line-height: 0.8;
  opacity: 0.92;
}

.landing-quote h2 {
  margin: 0;
  font-size: clamp(1.08rem, 4.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
}

.landing-quote p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent);
  font-family: Caveat, cursive;
  font-size: clamp(1.25rem, 5vw, 1.65rem);
}

.auth-shell,
.error-page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.auth-card,
.compact-panel {
  width: min(100%, 440px);
  padding: 28px;
}

.auth-card h1,
.compact-panel h1 {
  margin: 28px 0 8px;
  font-size: 2rem;
}

.auth-card p,
.compact-panel p {
  color: var(--muted);
  line-height: 1.55;
}

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

.form-grid {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0 13px;
}

input:focus,
select:focus {
  border-color: rgba(198, 255, 46, 0.62);
  box-shadow: 0 0 0 4px rgba(198, 255, 46, 0.1);
}

.micro-copy {
  font-size: 0.8rem;
}

.auth-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
}

.app-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 9, 20, 0.82);
  backdrop-filter: blur(18px);
}

.app-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
}

.app-header-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.app-header-brand strong {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1;
}

.app-header-menu {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .055);
}

.app-header-menu span {
  display: block;
  width: 23px;
  height: 3px;
  margin: 2px 0;
  border-radius: 999px;
  background: currentColor;
}

.global-pro-banner {
  position: relative;
  z-index: 18;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(100% - 32px, 980px);
  margin: 14px auto 0;
  padding: 13px 14px;
  border: 1px solid rgba(198, 255, 46, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(198, 255, 46, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(16, 28, 24, 0.96), rgba(13, 16, 29, 0.96));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.global-pro-banner-copy {
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  gap: 4px 9px;
  align-items: center;
  min-width: 0;
}

.global-pro-banner-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(198, 255, 46, 0.32);
  border-radius: 999px;
  background: rgba(198, 255, 46, 0.12);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.global-pro-banner-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-pro-banner-copy p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.global-pro-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e7ff62);
  color: #071105;
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(198, 255, 46, 0.18);
}

.icon-button,
.profile-dot {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.side-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.48);
}

.side-menu.open {
  display: block;
}

.side-menu-panel {
  display: grid;
  width: min(82vw, 320px);
  height: 100%;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #07101d;
}

.side-menu-panel a {
  padding: 12px 0;
  color: var(--soft);
  font-weight: 800;
}

.app-main {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 18px 16px 108px;
}

.page-hero,
.page-title,
.analysis-section {
  padding: 12px 0 8px;
}

.page-hero {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.page-hero h1,
.page-title h1,
.analysis-section h1 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1.05;
}

.page-hero p,
.page-title p,
.analysis-section .lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(198, 255, 46, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 26px;
}

.metric-card {
  padding: 15px 10px;
}

.metric-card span {
  display: block;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 900;
}

.metric-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.section-head {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin: 24px 0 12px;
}

.section-head h2 {
  margin: 0 0 4px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head a {
  color: var(--accent);
  font-weight: 900;
}

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

.match-card {
  padding: 16px;
}

.match-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.match-status-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--soft);
  font-size: 0.8rem;
}

.match-status-row span,
.match-status-row em {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-style: normal;
}

.match-status-row em {
  border-color: var(--line-strong);
  color: var(--accent);
  font-weight: 900;
}

.teams-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}

.teams-row.large {
  margin: 24px 0;
}

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

.team strong {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.team img,
.team-logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 34%),
    rgba(198, 255, 46, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  object-fit: contain;
}

.teams-row.large .team-logo {
  width: 78px;
  height: 78px;
}

.versus {
  color: var(--text);
  font-weight: 900;
}

.live-score {
  display: inline-flex;
  min-width: 66px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(198, 255, 46, 0.1);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 900;
}

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

.match-date-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: -2px 0 12px;
}

.match-date-strip a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--soft);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.match-date-strip a:hover,
.match-date-strip a.active {
  border-color: rgba(198, 255, 46, 0.32);
  background: rgba(198, 255, 46, 0.085);
  color: var(--text);
}

.match-date-strip strong {
  overflow: hidden;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-date-strip span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 300;
  line-height: 1.2;
}

.recommendation-list {
  display: grid;
  gap: 12px;
}

.recommendation-card {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  overflow: hidden;
}

.recommendation-card p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.recommendation-card h3 {
  margin: 0;
  font-size: 1rem;
}

.recommendation-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.recommendation-card > span {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 900;
}

.analysis-shortcut-list {
  display: grid;
  gap: 10px;
}

.analysis-shortcut-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  text-decoration: none;
}

.analysis-shortcut-card span,
.locked-recommendation-state span,
.recommendations-locked-empty span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analysis-shortcut-card strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

.analysis-shortcut-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.locked-recommendation-state {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-color: rgba(198, 255, 46, 0.22);
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.84);
}

.locked-recommendation-state h2 {
  margin: 5px 0 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.locked-recommendation-state p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.48;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-row span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.76rem;
}

.is-blurred > div {
  filter: blur(3px);
  opacity: 0.55;
}

.is-blurred::after {
  content: "Pro";
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #081105;
  font-weight: 900;
}

.chat-teaser {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px;
}

.chat-teaser h2,
.chat-teaser p {
  margin: 0;
}

.chat-teaser p {
  color: var(--muted);
}

.mini-bot {
  display: inline-grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(198, 255, 46, 0.08);
  color: var(--accent);
}

.analysis-top {
  padding: 18px;
}

.analysis-hero {
  padding: 16px;
}

.analysis-kicker,
.analysis-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.analysis-meta-row {
  flex-wrap: wrap;
  margin-top: 14px;
}

.analysis-meta-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.analysis-meta-row strong {
  margin-left: 5px;
  color: var(--accent);
}

.scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.score-team {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.score-team strong {
  max-width: 100%;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.score-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
}

.score-center {
  display: grid;
  justify-items: center;
  min-width: 76px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(198, 255, 46, 0.08);
}

.score-center strong {
  color: var(--accent);
  font-size: 1.28rem;
  line-height: 1;
  font-weight: 600;
}

.score-center span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
}

.analysis-copy {
  padding: 22px 2px 14px;
}

.analysis-copy h1 {
  max-width: 780px;
  margin: 6px 0 12px;
  font-size: clamp(1.34rem, 4vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
}

.analysis-copy .lead {
  max-width: 820px;
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
}

.stats-panel {
  padding: 16px;
}

.section-head.compact {
  margin: 0 0 14px;
}

.stats-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.stats-table-head,
.stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.15fr minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
}

.stats-table-head {
  background: rgba(198, 255, 46, 0.08);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-row {
  border-top: 1px solid var(--line);
}

.stats-row strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.stats-row span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

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

.prematch-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
}

.prematch-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
}

.prematch-grid strong {
  display: block;
  margin: 8px 0 3px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
}

.prematch-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.55;
}

.analysis-notes {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.analysis-notes .glass-panel {
  padding: 16px;
}

.analysis-notes h2 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 500;
}

.analysis-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.68;
}

.subtle-upgrade {
  background: rgba(198, 255, 46, 0.045);
}

.confidence-ring {
  display: grid;
  justify-items: center;
  margin: 6px auto 0;
  width: 128px;
  height: 128px;
  place-content: center;
  border: 7px solid var(--accent);
  border-radius: 50%;
  background: rgba(198, 255, 46, 0.07);
}

.confidence-ring span {
  font-size: 2rem;
  font-weight: 900;
}

.confidence-ring p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.insight-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

.insight-grid .glass-panel,
.pricing-card,
.profile-card {
  padding: 18px;
}

.insight-grid h2,
.pricing-card h2,
.profile-card h1 {
  margin: 0 0 9px;
}

.insight-grid p,
.pricing-card p,
.profile-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.locked-panel {
  position: relative;
}

.locked-panel p {
  filter: blur(3px);
}

.locked-panel::after {
  content: "Pro";
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #081105;
  font-weight: 900;
}

.risk-card {
  border-color: rgba(255, 255, 255, 0.16);
}

.upgrade-strip {
  display: grid;
  gap: 16px;
  align-items: center;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(198, 255, 46, 0.08);
}

.empty-state {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.api-warning {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
  padding: 16px;
  border-color: rgba(255, 206, 86, 0.26);
}

.empty-state h2,
.empty-state p,
.api-warning h2,
.api-warning p {
  margin: 0;
}

.empty-state p,
.api-warning p {
  color: var(--muted);
  line-height: 1.5;
}

.upgrade-strip h2,
.upgrade-strip p {
  margin: 0;
}

.upgrade-strip p,
.disclaimer {
  color: var(--muted);
  line-height: 1.5;
}

.disclaimer {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.chat-page {
  overflow: hidden;
}

.chat-main {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  width: min(100%, 760px);
  height: calc(100vh - 71px);
  margin: 0 auto;
  padding: 14px 14px 92px;
}

.chat-intro {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 6px 2px 12px;
}

.chat-intro h1,
.chat-intro p {
  margin: 0;
}

.chat-intro p {
  color: var(--muted);
}

.chat-window {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 0 12px;
  overscroll-behavior: contain;
}

.message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.45;
}

.message p {
  margin: 0;
}

.message-bot {
  justify-self: start;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}

.message-user {
  justify-self: end;
  background: var(--accent);
  color: #081105;
  font-weight: 700;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 10px;
  padding: 10px 0 0;
}

.chat-form input {
  min-width: 0;
  min-height: 52px;
  border-radius: 999px;
}

.chat-form button {
  min-height: 52px;
  border-radius: 50%;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
}

.timeline article > span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(198, 255, 46, 0.3);
}

.timeline h3,
.timeline p,
.timeline small {
  margin: 0;
}

.timeline p,
.timeline small {
  color: var(--muted);
}

.profile-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.profile-avatar {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(198, 255, 46, 0.08);
  color: var(--accent);
  font-weight: 900;
  font-size: 1.4rem;
}

.profile-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.profile-actions form,
.pricing-card form {
  display: grid;
}

.pricing-card {
  display: grid;
  gap: 14px;
}

.pricing-card strong {
  color: var(--accent);
  font-size: 2.4rem;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 900;
}

.pricing-card.featured {
  border-color: var(--line-strong);
}

.admin-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
}

.admin-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-weight: 800;
  font-size: 0.84rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 20px;
}

.admin-actions p {
  flex: 1 1 260px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-warning {
  margin-bottom: 18px;
  border-color: rgba(255, 204, 102, 0.28);
}

.admin-warning h2,
.admin-warning p {
  margin-top: 0;
}

.admin-warning p {
  color: var(--muted);
  line-height: 1.5;
}

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

.status-pill.active {
  border-color: rgba(198, 255, 46, 0.36);
  background: rgba(198, 255, 46, 0.12);
  color: var(--accent);
}

.table-card {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  color: var(--soft);
}

td small {
  color: var(--muted);
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.inline-form select {
  width: auto;
  min-width: 120px;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 0;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 760px);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(5, 9, 20, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.38);
}

.bottom-nav a {
  display: grid;
  min-height: 70px;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #7f8a9c;
  font-size: 0.72rem;
  font-weight: 800;
}

.bottom-nav span {
  font-size: 1.22rem;
}

.bottom-nav a.active {
  color: var(--accent);
}

.phone-frame {
  position: relative;
  width: 285px;
  min-height: 580px;
  padding: 44px 16px 18px;
  border: 8px solid rgba(255, 255, 255, 0.13);
  border-radius: 46px;
  background: #060b14;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.64);
}

.phone-frame::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #02050c;
  content: "";
  transform: translateX(-50%);
}

.phone-status {
  position: absolute;
  top: 17px;
  left: 34px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.phone-top,
.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-top {
  padding-bottom: 18px;
}

.phone-top strong {
  color: var(--text);
}

.chat-bubble {
  margin: 11px 0;
  padding: 12px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.chat-bubble.bot {
  margin-right: 35px;
  background: var(--panel-2);
}

.chat-bubble.user {
  margin-left: 42px;
  background: var(--accent);
  color: #081105;
  font-weight: 800;
}

.phone-card {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.phone-card h4 {
  margin: 0 0 12px;
}

.phone-card div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.phone-card strong {
  color: var(--text);
}

.phone-card a {
  display: grid;
  margin-top: 14px;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.phone-nav {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  padding-top: 10px;
  color: #7f8a9c;
}

@media (min-width: 520px) {
  .match-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: minmax(106px, 0.44fr) minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    align-items: center;
  }

  .hero-copy,
  .preview-match {
    grid-column: 1 / -1;
  }

  .hero-statement {
    margin-top: 28px;
  }

  .mascot-stage {
    grid-column: 1 / 2;
    min-height: 142px;
    margin: -4px 0 0;
    align-items: center;
  }

  .mascot-stage img {
    width: min(150px, 38vw);
    border-radius: 18px;
  }

  .hero-side {
    display: contents;
  }

  .hand-note {
    grid-column: 2 / 3;
    align-self: center;
    margin: 0;
    font-size: clamp(1.18rem, 5.8vw, 1.55rem);
    line-height: 1.02;
  }

  .preview-match {
    padding: 14px;
  }

  .analysis-snippet {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
  }

  .analysis-snippet h3 {
    margin: 10px 0 6px;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .analysis-snippet p:not(.match-ended-label) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.84rem;
    line-height: 1.45;
  }
}

@media (min-width: 900px) {
  .landing-page .public-nav,
  .landing-page .landing-shell {
    width: min(1240px, calc(100% - 56px));
  }

  .public-nav {
    padding-top: 26px;
  }

  .hero-grid {
    grid-template-columns:
      minmax(300px, 0.92fr)
      minmax(300px, 0.78fr)
      minmax(235px, 0.62fr)
      minmax(230px, 0.56fr);
    gap: 18px;
    min-height: calc(100vh - 118px);
    align-items: center;
  }

  .hero-copy {
    grid-column: 1 / 2;
    grid-row: 1;
    align-self: center;
    max-width: 430px;
  }

  .hero-ball {
    width: 62px;
    height: 62px;
    border-width: 6px;
    font-size: 1.7rem;
  }

  .hero-brand {
    gap: 14px;
  }

  .hero-brand h1 {
    font-size: clamp(4.7rem, 8vw, 6.45rem);
  }

  .hero-brand p {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .hero-statement {
    margin-top: clamp(42px, 7vh, 68px);
  }

  .hero-statement h2 {
    font-size: clamp(2.55rem, 4.6vw, 3.75rem);
  }

  .hero-statement p {
    max-width: 420px;
    font-size: 1rem;
  }

  .mascot-stage {
    grid-column: 2 / 3;
    grid-row: 1;
    align-self: end;
    justify-content: center;
    min-height: 540px;
    margin: 0 0 -12px;
    pointer-events: none;
  }

  .mascot-stage img {
    width: min(340px, 30vw);
    max-width: none;
  }

  .hero-side {
    grid-column: 3 / 4;
    grid-row: 1;
    align-self: center;
    display: grid;
    gap: 16px;
    margin-top: 0;
    z-index: 4;
  }

  .hand-note {
    max-width: 250px;
    margin: 0;
    font-size: clamp(2rem, 2.85vw, 2.55rem);
  }

  .preview-match {
    padding: 14px;
    border-radius: 12px;
  }

  .preview-match .teams-row {
    gap: 8px;
    margin: 14px 0;
  }

  .preview-match .team-logo,
  .preview-match .team img {
    width: 48px;
    height: 48px;
  }

  .preview-match .team strong {
    font-size: 0.84rem;
  }

  .preview-match .analysis-snippet {
    margin-top: 12px;
    padding: 13px;
    border-radius: 12px;
  }

  .preview-match .analysis-snippet h3 {
    margin: 12px 0 6px;
    font-size: 1rem;
    line-height: 1.2;
  }

  .preview-match .analysis-snippet p:not(.match-ended-label) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .phone-preview {
    display: block;
    grid-column: 4 / 5;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }

  .phone-frame {
    width: min(255px, 100%);
    min-height: 535px;
    padding: 42px 14px 18px;
    border-width: 7px;
    border-radius: 40px;
  }

  .chat-bubble {
    padding: 10px 11px;
    font-size: 0.76rem;
  }

  .chat-bubble.bot {
    margin-right: 26px;
  }

  .chat-bubble.user {
    margin-left: 32px;
  }

  .phone-card {
    padding: 11px;
    border-radius: 14px;
  }

  .phone-card div {
    font-size: 0.76rem;
  }

  .phone-card a {
    font-size: 0.72rem;
  }

  .feature-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 8px;
  }

  .feature-rail article {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .feature-rail article:last-child {
    border-right: 0;
  }

  .landing-quote {
    grid-template-columns: auto auto 1fr;
  }

  .landing-quote p {
    grid-column: auto;
    justify-self: center;
  }

  .bottom-nav {
    display: none;
  }

  .app-main {
    padding-bottom: 46px;
  }

  .app-header {
    padding-right: calc((100vw - min(980px, 100vw - 32px)) / 2);
    padding-left: calc((100vw - min(980px, 100vw - 32px)) / 2);
  }

  .metric-card {
    padding: 20px;
  }

  .match-actions {
    display: flex;
    justify-content: flex-end;
  }

  .chat-main {
    height: calc(100vh - 71px);
    padding-bottom: 20px;
  }

  .upgrade-strip {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 0.8fr) minmax(245px, 0.72fr);
  }

  .phone-preview {
    display: none;
  }

  .mascot-stage img {
    width: min(320px, 36vw);
  }
}

@media (max-width: 430px) {
  .public-nav-actions .btn-ghost {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .mascot-stage {
    min-height: 120px;
  }

  .mascot-stage img {
    width: 124px;
  }

  .hand-note {
    font-size: 1.22rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .feature-rail {
    grid-template-columns: 1fr;
  }

  .feature-rail article {
    border-right: 0;
  }

  .page-hero {
    display: grid;
  }

  .metric-grid {
    gap: 8px;
  }
}

/* Premium product refinement for the authenticated app */
:root {
  --bg: #07080a;
  --bg-2: #0c0f12;
  --panel: rgba(14, 17, 21, 0.88);
  --panel-2: rgba(18, 22, 27, 0.9);
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(190, 232, 88, 0.28);
  --text: #f2f4f0;
  --muted: #8c958f;
  --soft: #c9d0c9;
  --accent: #bee858;
  --accent-2: #8fbd3d;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --radius-sm: 6px;
}

body.app-page,
body.chat-page {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 220px),
    #07080a;
}

body.app-page::before,
body.chat-page::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 1px);
  background-size: 100% 72px, 72px 100%;
  opacity: 0.22;
}

.app-page .glass-panel,
.app-page .match-card,
.app-page .recommendation-card,
.app-page .metric-card,
.app-page .table-card,
.chat-page .glass-panel,
.chat-page .message,
.chat-page .chat-form input {
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(15, 18, 22, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.app-page .neo-logo {
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.app-page .neo-logo-mark {
  width: 28px;
  height: 28px;
  border-width: 1px;
  box-shadow: none;
  font-size: 0.82rem;
}

.app-page .app-header {
  min-height: 56px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(7, 8, 10, 0.86);
  border-bottom-color: var(--line);
}

.app-page .icon-button,
.app-page .profile-dot {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--soft);
  font-size: 0.86rem;
}

.app-page .side-menu-panel {
  gap: 4px;
  background: #0b0d10;
}

.app-page .side-menu-panel a {
  padding: 10px 0;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.app-main {
  width: min(100%, 900px);
  padding: 16px 16px 96px;
}

.page-hero,
.page-title,
.analysis-section {
  padding: 10px 0 14px;
}

.app-page .eyebrow,
.chat-page .eyebrow {
  margin-top: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-hero h1,
.page-title h1,
.analysis-section h1 {
  margin: 4px 0 6px;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
}

.page-hero p,
.page-title p,
.analysis-section .lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 500;
}

.btn-primary {
  background: var(--accent);
  box-shadow: none;
  color: #111607;
}

.btn-soft,
.btn-ghost {
  background: rgba(255, 255, 255, 0.026);
  border-color: var(--line);
  color: var(--soft);
}

.btn-small {
  min-height: 32px;
  padding: 0 11px;
  font-size: 0.78rem;
}

.status-pill,
.tag-row span,
.match-status-row span,
.match-status-row em,
.analysis-meta-row span {
  min-height: 24px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
}

.status-pill {
  padding: 0 9px;
  background: rgba(190, 232, 88, 0.08);
}

.metric-grid {
  gap: 8px;
  margin: 10px 0 20px;
}

.metric-card {
  padding: 12px;
}

.metric-card span {
  font-size: 1.22rem;
  font-weight: 500;
}

.metric-card p {
  font-size: 0.72rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.section-head {
  margin: 20px 0 10px;
  align-items: center;
}

.section-head h2 {
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 500;
}

.section-head p,
.section-head a {
  font-size: 0.82rem;
}

.section-head a {
  color: var(--soft);
  font-weight: 500;
  white-space: nowrap;
}

.card-stack,
.recommendation-list,
.analysis-notes {
  gap: 10px;
}

.match-card {
  padding: 13px;
}

.match-card-live {
  border-color: rgba(190, 232, 88, 0.3);
  background: linear-gradient(180deg, rgba(20, 27, 18, 0.84), rgba(15, 18, 22, 0.78));
}

.match-meta {
  font-size: 0.78rem;
}

.match-status-row {
  margin-top: 8px;
  font-size: 0.74rem;
}

.match-status-row span,
.match-status-row em {
  padding: 0 7px;
}

.match-status-row em {
  font-weight: 600;
}

.live-badge {
  gap: 6px;
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(190, 232, 88, 0.12);
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.teams-row {
  gap: 9px;
  margin: 14px 0;
}

.team {
  gap: 7px;
}

.team strong,
.score-team strong {
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.25;
}

.team img,
.team-logo {
  width: 44px;
  height: 44px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 600;
}

.versus {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.live-score {
  min-width: 54px;
  min-height: 34px;
  border-radius: 7px;
  background: rgba(190, 232, 88, 0.08);
  font-size: 0.98rem;
  font-weight: 500;
}

.match-actions {
  gap: 8px;
}

.recommendation-card {
  padding: 13px;
  align-items: flex-start;
}

.recommendation-card p {
  font-size: 0.74rem;
}

.recommendation-card h3 {
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
}

.recommendation-card small {
  font-size: 0.8rem;
  line-height: 1.55;
}

.recommendation-card > span {
  font-size: 0.9rem;
  font-weight: 500;
}

.tag-row {
  gap: 6px;
  margin-top: 9px;
}

.tag-row span {
  padding: 4px 7px;
}

.chat-teaser,
.upgrade-strip,
.empty-state,
.api-warning,
.stats-panel,
.analysis-hero,
.analysis-notes .glass-panel,
.insight-grid .glass-panel,
.pricing-card,
.profile-card {
  padding: 14px;
}

.chat-teaser h2 {
  font-size: 1.05rem;
  font-weight: 500;
}

.chat-teaser p {
  font-size: 0.84rem;
}

.api-warning {
  gap: 6px;
  margin: 10px 0 14px;
}

.empty-state h2,
.api-warning h2,
.upgrade-strip h2 {
  font-size: 0.98rem;
  font-weight: 500;
}

.empty-state p,
.api-warning p,
.upgrade-strip p,
.disclaimer {
  font-size: 0.84rem;
  line-height: 1.55;
}

.analysis-hero {
  margin-top: 2px;
}

.analysis-kicker,
.analysis-meta-row {
  color: var(--muted);
  font-size: 0.74rem;
}

.analysis-meta-row {
  margin-top: 12px;
}

.analysis-meta-row span {
  padding: 0 8px;
}

.analysis-meta-row strong {
  font-weight: 500;
}

.scoreboard {
  gap: 9px;
  margin-top: 14px;
}

.score-team {
  gap: 7px;
}

.score-logo {
  width: 48px;
  height: 48px;
  padding: 5px;
}

.score-center {
  min-width: 64px;
  padding: 8px 9px;
  border-radius: 7px;
  background: rgba(190, 232, 88, 0.07);
}

.score-center strong {
  font-size: 1.22rem;
  font-weight: 500;
}

.score-center span {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.analysis-copy {
  padding: 16px 0 12px;
}

.analysis-copy h1 {
  max-width: 740px;
  margin: 4px 0 8px;
  font-size: clamp(1.18rem, 4.8vw, 1.65rem);
  font-weight: 500;
  line-height: 1.28;
}

.analysis-copy .lead {
  max-width: 760px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.72;
}

.section-head.compact {
  margin-bottom: 10px;
}

.stats-table {
  border-radius: 7px;
}

.stats-table-head,
.stats-row {
  grid-template-columns: minmax(0, 1fr) 1.05fr minmax(0, 1fr);
  padding: 9px 10px;
}

.stats-table-head {
  background: rgba(255, 255, 255, 0.025);
  color: var(--soft);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.stats-row strong {
  font-size: 0.84rem;
  font-weight: 500;
}

.stats-row span {
  font-size: 0.76rem;
}

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

.prematch-grid article {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.026);
}

.prematch-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prematch-grid strong {
  display: block;
  margin: 7px 0 2px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
}

.prematch-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.55;
}

.analysis-notes {
  margin-top: 10px;
}

.analysis-notes h2 {
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.analysis-notes p {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.65;
}

.chat-main {
  grid-template-rows: auto 1fr auto;
  width: min(100%, 720px);
  height: calc(100dvh - 56px);
  min-height: 0;
  overflow: hidden;
  padding: 12px 14px calc(96px + var(--chat-keyboard-inset, 0px));
  background:
    linear-gradient(180deg, rgba(190, 232, 88, 0.035), transparent 180px),
    transparent;
}

.chat-page .bottom-nav {
  display: none;
}

.chat-page .chat-window {
  min-height: 0;
}

.chat-intro {
  padding: 4px 0 10px;
}

.chat-intro h1 {
  font-size: 1.12rem;
  font-weight: 500;
}

.message {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.message p {
  color: inherit;
  white-space: pre-wrap;
}

.chat-page .message-user {
  border: 1px solid rgba(190, 232, 88, 0.28);
  background:
    linear-gradient(135deg, rgba(190, 232, 88, 0.16), rgba(190, 232, 88, 0.075));
  color: #f4f8ea;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.chat-page .message-bot {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 18, 24, 0.88);
  color: var(--soft);
}

.message-typing p::after {
  display: inline-block;
  width: 1.4em;
  content: "…";
  animation: typingBlink 1s steps(3, end) infinite;
}

@keyframes typingBlink {
  0% {
    opacity: 0.25;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.25;
  }
}

.chat-form {
  grid-template-columns: 1fr 42px;
  gap: 8px;
  position: fixed;
  z-index: 20;
  right: auto;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px) + var(--chat-keyboard-inset, 0px));
  left: 50%;
  width: min(calc(100% - 24px), 696px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 8, 10, 0.96);
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
}

.chat-form input {
  min-width: 0;
  min-height: 42px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 300;
}

.chat-form button {
  min-height: 42px;
  border-radius: 8px;
}

@media (max-width: 560px) {
  .bookmaker-priority-grid {
    grid-template-columns: 1fr;
  }

  .prematch-grid {
    grid-template-columns: 1fr;
  }

  .chat-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .chat-form {
    width: min(calc(100% - 18px), 696px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px) + var(--chat-keyboard-inset, 0px));
  }
}

input,
select {
  min-height: 40px;
  border-radius: 7px;
  font-size: 0.88rem;
}

label {
  font-size: 0.82rem;
  font-weight: 500;
}

.profile-avatar {
  width: 62px;
  height: 62px;
  font-size: 1rem;
  font-weight: 500;
}

.pricing-card {
  gap: 12px;
}

.pricing-card strong {
  font-size: 1.75rem;
  font-weight: 500;
}

.pricing-card li {
  color: var(--soft);
  font-size: 0.86rem;
}

.pricing-card li::before {
  font-weight: 600;
}

.bottom-nav {
  width: min(100%, 720px);
  border-radius: 12px 12px 0 0;
  background: rgba(7, 8, 10, 0.94);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.28);
}

.bottom-nav a {
  min-height: 58px;
  color: #8a928c;
  font-size: 0.66rem;
  font-weight: 500;
}

.bottom-nav span {
  font-size: 1rem;
}

@media (min-width: 900px) {
  .app-main {
    padding-bottom: 36px;
  }

  .app-header {
    padding-right: calc((100vw - min(900px, 100vw - 32px)) / 2);
    padding-left: calc((100vw - min(900px, 100vw - 32px)) / 2);
  }

  .metric-card {
    padding: 14px;
  }

  .chat-main {
    height: calc(100dvh - 56px);
    padding-bottom: 16px;
  }
}

@media (max-width: 430px) {
  body.app-page,
  body.chat-page {
    font-size: 13.5px;
  }

  .app-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .page-hero h1,
  .page-title h1,
  .analysis-section h1 {
    font-size: 1.28rem;
  }

  .analysis-copy h1 {
    font-size: 1.12rem;
  }

  .team img,
  .team-logo {
    width: 40px;
    height: 40px;
  }

  .score-logo {
    width: 44px;
    height: 44px;
  }
}

/* Focused product polish: analysis, recommendations, profile, pricing, history and chat. */
.analysis-layout {
  max-width: 940px;
}

.analysis-layout .analysis-hero {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.085);
  background:
    linear-gradient(180deg, rgba(190, 232, 88, 0.055), rgba(15, 18, 22, 0.82)),
    rgba(15, 18, 22, 0.82);
}

.analysis-layout .analysis-kicker span,
.analysis-layout .analysis-meta-row span {
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.032);
  color: var(--muted);
  font-weight: 400;
}

.analysis-layout .scoreboard {
  margin-top: 18px;
}

.analysis-layout .score-team strong {
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.analysis-layout .score-logo,
.analysis-layout .team-logo {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.analysis-layout .score-center {
  border-radius: 8px;
  background: rgba(190, 232, 88, 0.075);
}

.analysis-layout .analysis-copy {
  padding: 20px 2px 14px;
}

.analysis-layout .analysis-copy h1 {
  max-width: 780px;
  color: var(--text);
  font-size: clamp(1.22rem, 3vw, 1.72rem);
  font-weight: 500;
  line-height: 1.28;
}

.analysis-layout .analysis-copy .lead {
  max-width: 800px;
  color: var(--soft);
  font-size: 0.91rem;
  font-weight: 300;
  line-height: 1.78;
}

.analysis-layout .stats-panel {
  padding: 16px;
}

.analysis-panel-head h2,
.analysis-layout .section-head h2 {
  font-size: 1rem;
  font-weight: 500;
}

.analysis-panel-head p,
.analysis-layout .section-head p {
  max-width: 760px;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
}

.analysis-layout .prematch-grid {
  gap: 10px;
}

.analysis-layout .prematch-grid article {
  padding: 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.024);
}

.analysis-layout .prematch-grid span {
  color: var(--accent);
  font-size: 0.66rem;
}

.analysis-layout .prematch-grid p,
.analysis-layout .analysis-notes p {
  color: var(--soft);
  font-weight: 300;
}

.analysis-layout .analysis-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analysis-layout .analysis-notes .glass-panel {
  padding: 15px;
  background: rgba(15, 18, 22, 0.72);
}

.analysis-layout .analysis-notes h2 {
  color: var(--text);
  font-size: 0.92rem;
}

.recommendation-list-premium {
  gap: 12px;
}

.recommendation-premium-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 168px);
  gap: 16px;
  align-items: stretch;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.085);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012)),
    rgba(15, 18, 22, 0.78);
}

.recommendation-main {
  min-width: 0;
  padding: 15px;
}

.recommendation-match {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 500;
}

.recommendation-premium-card h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.32;
}

.recommendation-premium-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.62;
}

.recommendation-side {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 15px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(190, 232, 88, 0.045);
  text-align: center;
}

.recommendation-side strong {
  color: var(--accent);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.recommendation-side small {
  margin: 0;
  color: var(--soft);
  font-size: 0.74rem;
}

.recommendation-side span {
  color: var(--muted);
  font-size: 0.72rem;
}

.recommendation-side .btn {
  width: 100%;
  margin-top: 4px;
}

.profile-subscription {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 12px;
}

.profile-subscription small {
  color: var(--muted);
  font-size: 0.82rem;
}

.pro-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.current-plan-badge {
  flex: 0 0 auto;
  margin-top: 4px;
}

.pricing-grid-pro {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
  position: relative;
  align-content: start;
  min-height: 100%;
}

.pricing-card.featured {
  border-color: rgba(190, 232, 88, 0.36);
  background:
    linear-gradient(180deg, rgba(190, 232, 88, 0.07), rgba(15, 18, 22, 0.82)),
    rgba(15, 18, 22, 0.84);
}

.pricing-card strong {
  color: var(--text);
  font-size: 1.62rem;
}

.pricing-card form,
.pricing-card .btn {
  margin-top: auto;
}

.pricing-free-card {
  opacity: 0.86;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.pagination .disabled {
  opacity: 0.42;
  pointer-events: none;
}

.chat-page {
  overflow: hidden;
}

.chat-page .bottom-nav {
  display: none;
}

.chat-main {
  width: min(100%, 760px);
  height: calc(100dvh - 56px);
  padding: 12px 14px calc(134px + var(--chat-keyboard-inset, 0px));
}

.chat-shell {
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012)),
    rgba(10, 12, 16, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.chat-shell .chat-window {
  height: 100%;
  padding: 4px 2px 6px;
}

.chat-page .message-user {
  border-color: rgba(190, 232, 88, 0.5);
  background: linear-gradient(135deg, #d7ff61, #aee440);
  color: #081105;
  font-weight: 400;
}

.chat-page .message-bot {
  background: rgba(20, 24, 30, 0.92);
}

.chat-page .message {
  max-width: min(86%, 560px);
}

.chat-form {
  bottom: calc(10px + env(safe-area-inset-bottom, 0px) + var(--chat-keyboard-inset, 0px));
  width: min(calc(100% - 24px), 720px);
  background: rgba(8, 10, 12, 0.98);
}

body.chat-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.chat-page .app-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.chat-page .chat-main {
  position: fixed;
  top: 56px;
  bottom: 0;
  left: 50%;
  width: min(100%, 760px);
  height: auto;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  transform: translateX(-50%);
}

.chat-page .chat-shell {
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

.chat-page .chat-window {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

@media (max-width: 980px) {
  .pricing-grid-pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .analysis-layout .analysis-notes,
  .pricing-grid-pro {
    grid-template-columns: 1fr;
  }

  .pro-title {
    display: grid;
  }

  .recommendation-premium-card {
    grid-template-columns: 1fr;
  }

  .recommendation-side {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
    text-align: left;
  }

  .recommendation-side .btn {
    width: auto;
    margin-top: 0;
  }

  .chat-main {
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: calc(134px + var(--chat-keyboard-inset, 0px));
  }

  .chat-page .bottom-nav {
    display: grid;
  }

  .chat-form {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px) + var(--chat-keyboard-inset, 0px));
    width: min(calc(100% - 16px), 720px);
  }
}

.profile-dot {
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.profile-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.profile-icon::before,
.profile-icon::after {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.profile-icon::before {
  top: 1px;
  width: 7px;
  height: 7px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  background: rgba(183, 241, 61, 0.08);
}

.profile-icon::after {
  bottom: 1px;
  width: 15px;
  height: 8px;
  border: 1.6px solid currentColor;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(183, 241, 61, 0.16), rgba(183, 241, 61, 0.02));
}

.profile-dot:hover .profile-icon,
.profile-dot:focus-visible .profile-icon {
  color: #d8ff65;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 7, 10, 0.94);
  color: var(--muted);
}

.site-footer-inner {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  gap: 24px;
  padding: 34px 0;
}

.site-footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.site-footer-col {
  display: grid;
  align-content: start;
  gap: 13px;
}

.site-footer strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.site-footer span,
.site-footer small {
  font-size: 0.82rem;
  line-height: 1.55;
}

.site-footer a {
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.app-page .site-footer {
  padding-bottom: 74px;
}

.chat-page .site-footer {
  display: none;
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(183, 241, 61, 0.07), transparent 34rem),
    var(--bg);
}

.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.legal-hero {
  display: grid;
  gap: 10px;
  padding: 22px 0 28px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.02;
}

.legal-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 12px;
}

.legal-section,
.legal-note {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.legal-section h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
}

.legal-section p,
.legal-note p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.72;
}

.legal-note {
  margin-top: 14px;
  border-color: rgba(183, 241, 61, 0.18);
  background: rgba(183, 241, 61, 0.045);
}

.legal-note strong {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .site-footer-inner {
    gap: 14px;
    padding: 26px 0;
  }

  .site-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer-col {
    gap: 14px;
  }

  .site-footer a {
    font-size: 0.95rem;
  }

  .legal-main {
    width: min(100% - 24px, 920px);
    padding-top: 20px;
  }

  .legal-section,
  .legal-note {
    padding: 15px;
  }
}

/* New TopStats brand assets */
.neo-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.neo-logo img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 150px;
  object-fit: contain;
}

.public-nav .neo-logo img {
  height: 46px;
  max-width: 188px;
}

.app-page .neo-logo {
  min-width: 0;
  gap: 0;
}

.app-page .neo-logo img {
  height: 30px;
  max-width: 118px;
}

.auth-card .neo-logo img {
  height: 52px;
  max-width: 220px;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-statement {
  margin-top: 0;
}

.mascot-stage img {
  border-radius: 0;
  mix-blend-mode: normal;
}

.auth-page input,
.auth-page select,
.auth-page textarea {
  min-height: 46px;
  border-radius: 10px;
  font-size: 16px;
}

.auth-page .auth-shell {
  min-height: 100dvh;
}

.auth-social {
  display: grid;
  gap: 10px;
  margin: 22px 0 16px;
}

.social-login {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-login span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.social-login.apple span {
  color: #f4f6f8;
  font-size: 1rem;
}

.social-login:hover,
.social-login:focus-visible {
  border-color: rgba(183, 241, 61, 0.34);
  background: rgba(183, 241, 61, 0.07);
  transform: translateY(-1px);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  content: "";
}

.chat-plan-notice {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(183, 241, 61, 0.22);
  border-radius: 999px;
  background: rgba(183, 241, 61, 0.075);
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.1;
}

.chat-plan-notice::before {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(183, 241, 61, 0.58);
  content: "";
}

.chat-plan-notice.is-pro {
  border-color: rgba(183, 241, 61, 0.36);
  background: linear-gradient(135deg, rgba(183, 241, 61, 0.18), rgba(183, 241, 61, 0.06));
  color: #eaffbd;
}

.chat-neo-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(183, 241, 61, 0.32);
  border-radius: 50%;
  background: rgba(183, 241, 61, 0.08);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.chat-preview-note {
  display: grid;
  gap: 5px;
  width: min(100%, 520px);
  margin: 0 auto 8px;
  padding: 12px 14px;
  border: 1px solid rgba(183, 241, 61, 0.16);
  border-radius: 10px;
  background: rgba(183, 241, 61, 0.055);
  color: var(--soft);
  text-align: center;
}

.chat-preview-note span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-preview-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.chat-empty-message {
  margin-top: auto;
}

.chat-pro-lockbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  position: fixed;
  z-index: 22;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  width: min(calc(100% - 24px), 720px);
  padding: 12px;
  border: 1px solid rgba(183, 241, 61, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(183, 241, 61, 0.12), rgba(15, 18, 24, 0.98) 42%),
    rgba(7, 8, 10, 0.98);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.chat-pro-lockbar h2,
.chat-pro-lockbar p {
  margin: 0;
}

.chat-pro-lockbar h2 {
  margin-top: 4px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0;
}

.chat-pro-lockbar p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.35;
}

.chat-lock-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #071006;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
}

.chat-pro-lockbar .btn {
  white-space: nowrap;
}

body.chat-page:has(.chat-pro-lockbar) .chat-main {
  padding-bottom: 124px;
}

@media (max-width: 560px) {
  .chat-pro-lockbar {
    grid-template-columns: 1fr;
    gap: 10px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    width: min(calc(100% - 16px), 720px);
    padding: 11px;
  }

  .chat-pro-lockbar .btn {
    width: 100%;
    min-height: 44px;
  }

  body.chat-page:has(.chat-pro-lockbar) .chat-main {
    padding-bottom: 224px;
  }
}

.phone-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.phone-logo img {
  display: block;
  width: auto;
  height: 22px;
  max-width: 82px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .public-nav .neo-logo img {
    height: 38px;
    max-width: 148px;
  }

  .auth-card .neo-logo img {
    height: 46px;
    max-width: 190px;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 0.74rem;
  }

  .chat-plan-notice {
    max-width: 100%;
    white-space: normal;
  }
}

/* Conversion and credibility layer */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-proof span,
.landing-analysis-meta span,
.analysis-mini-proof span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  padding: 7px 10px;
}

.landing-analysis-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 2px;
}

.landing-proof-panel,
.landing-difference,
.landing-plans,
.recommendation-method,
.pro-value-panel,
.pro-compare,
.data-source-panel {
  margin-top: 18px;
}

.landing-proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
}

.landing-proof-panel h2,
.landing-difference h2,
.landing-plans h2,
.recommendation-method h2,
.pro-compare h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.12;
}

.landing-proof-panel p,
.landing-difference p,
.landing-plans p,
.recommendation-method p,
.pro-compare p {
  color: var(--soft);
  line-height: 1.62;
}

.landing-source-grid,
.source-grid,
.difference-grid,
.method-grid,
.pro-value-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-source-grid article,
.source-card,
.difference-grid article,
.method-grid article,
.pro-value-panel article,
.plans-compare article,
.pro-compare div,
.main-pick-panel,
.analysis-copy-premium,
.premium-notes article,
.plan-limit-banner,
.recommendation-freshness {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.landing-source-grid article,
.source-card,
.difference-grid article,
.method-grid article,
.pro-value-panel article {
  padding: 16px;
}

.landing-source-grid span,
.source-card span,
.difference-grid span,
.method-grid span,
.pro-value-panel span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.landing-source-grid h3,
.source-card h3,
.difference-grid h3,
.method-grid h3,
.pro-value-panel h2 {
  margin: 8px 0 6px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
}

.landing-source-grid p,
.source-card p,
.difference-grid p,
.method-grid p,
.pro-value-panel p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.58;
}

.landing-source-grid .limited,
.source-card.limited {
  border-color: rgba(255, 255, 255, 0.065);
  background: rgba(255, 255, 255, 0.02);
}

.plans-compare {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.plans-compare article {
  padding: 18px;
}

.plans-compare article.featured,
.pricing-card.featured {
  border-color: rgba(183, 241, 61, 0.32);
  background: linear-gradient(180deg, rgba(183, 241, 61, 0.1), rgba(255, 255, 255, 0.032));
}

.plans-compare h3 {
  margin: 14px 0 6px;
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 600;
}

.plans-compare strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 1.55rem;
  font-weight: 600;
}

.plans-compare ul,
.pricing-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.plans-compare li,
.pricing-card li {
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.42;
}

.plans-compare li::before,
.pricing-card li::before {
  margin-right: 8px;
  color: var(--accent);
  content: "✓";
}

.analysis-premium {
  width: min(100%, 980px);
}

.analysis-hero-premium {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.analysis-trust-strip,
.pick-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.analysis-trust-strip span,
.pick-metrics span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.28;
}

.analysis-trust-strip strong,
.pick-metrics strong {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.analysis-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 12px;
  margin-top: 12px;
}

.analysis-copy-premium,
.main-pick-panel {
  padding: 18px;
}

.analysis-copy-premium h1 {
  margin: 6px 0 10px;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
}

.analysis-copy-premium .lead {
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.68;
}

.analysis-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.main-pick-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.main-pick-head h2 {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.14;
}

.main-pick-head p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

.odds-chip {
  display: grid;
  min-width: 84px;
  justify-items: center;
  padding: 12px;
  border: 1px solid rgba(183, 241, 61, 0.28);
  border-radius: 10px;
  background: rgba(183, 241, 61, 0.09);
}

.odds-chip strong {
  color: var(--accent);
  font-size: 1.52rem;
  font-weight: 700;
}

.odds-chip span {
  color: var(--soft);
  font-size: 0.7rem;
}

.evidence-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.evidence-block h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.evidence-block ul,
.recommendation-proof-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-block li,
.recommendation-proof-list li {
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.52;
}

.evidence-block li::before,
.recommendation-proof-list li::before {
  margin-right: 7px;
  color: var(--accent);
  content: "•";
}

.risk-block li::before {
  color: #ffd166;
}

.source-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.prematch-premium,
.data-source-panel,
.recommendation-method,
.pro-compare {
  padding: 0;
}

.premium-notes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-notes article {
  padding: 16px;
}

.premium-notes h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
}

.premium-notes p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.recommendation-hero-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.recommendation-freshness {
  display: grid;
  min-width: 210px;
  gap: 8px;
  padding: 12px;
}

.recommendation-freshness span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.76rem;
}

.recommendation-freshness strong {
  color: var(--soft);
  font-weight: 600;
}

.plan-limit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 16px;
  border-color: rgba(183, 241, 61, 0.18);
  background: rgba(183, 241, 61, 0.055);
}

.plan-limit-banner span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-limit-banner h2 {
  margin: 4px 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 600;
}

.plan-limit-banner p {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.recommendation-proof-list {
  margin-top: 12px;
}

.method-grid {
  margin-top: 12px;
}

.pro-value-panel {
  margin-bottom: 12px;
}

.pro-compare {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 14px;
}

.pro-compare h2 {
  align-self: center;
}

.pro-compare div {
  padding: 16px;
}

.pro-compare span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
}

.pro-compare p {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.pricing-card {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.data-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.data-status-strip span {
  display: grid;
  gap: 4px;
  flex: 0 1 230px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.72rem;
}

.data-status-strip strong {
  overflow: hidden;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .landing-proof-panel,
  .analysis-summary-grid,
  .plans-compare,
  .pro-compare,
  .recommendation-hero-title {
    grid-template-columns: 1fr;
  }

  .landing-source-grid,
  .source-grid,
  .difference-grid,
  .method-grid,
  .pro-value-panel,
  .premium-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-trust-strip,
  .pick-metrics,
  .data-status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing-source-grid,
  .source-grid,
  .difference-grid,
  .method-grid,
  .pro-value-panel,
  .premium-notes {
    grid-template-columns: 1fr;
  }

  .analysis-trust-strip,
  .pick-metrics,
  .main-pick-head,
  .data-status-strip {
    grid-template-columns: 1fr;
  }

  .plan-limit-banner {
    display: grid;
  }

  .recommendation-freshness {
    min-width: 0;
  }
}

/* Analysis page rebuild */
.analysis-page-v2 {
  width: min(100%, 1040px);
  max-width: 1040px;
  gap: 12px;
  color: var(--soft);
}

.analysis-page-v2 .eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analysis-v2-match,
.analysis-v2-pick,
.analysis-v2-brief,
.analysis-v2-card,
.analysis-v2-pro-alert {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.84);
}

.analysis-v2-match {
  padding: 16px;
}

.analysis-v2-topline,
.analysis-v2-trust,
.analysis-v2-metrics {
  display: grid;
  gap: 8px;
}

.analysis-v2-topline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.analysis-v2-topline span,
.analysis-v2-trust span,
.analysis-v2-metrics span,
.analysis-v2-brief div span {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.analysis-v2-topline span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-v2-topline span:last-child {
  color: var(--accent);
}

.analysis-v2-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.analysis-v2-team {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.analysis-v2-team img,
.analysis-v2-team .team-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  padding: 6px;
}

.analysis-v2-team strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
}

.analysis-v2-score {
  display: grid;
  justify-items: center;
  min-width: 74px;
  padding: 10px 12px;
  border: 1px solid rgba(198, 255, 46, 0.22);
  border-radius: 9px;
  background: rgba(198, 255, 46, 0.075);
}

.analysis-v2-score strong {
  color: var(--accent);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1;
}

.analysis-v2-score span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
}

.analysis-v2-trust {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.analysis-v2-trust strong,
.analysis-v2-metrics strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-v2-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.analysis-v2-pick,
.analysis-v2-brief,
.analysis-v2-card,
.analysis-v2-pro-alert {
  padding: 18px;
}

.analysis-v2-pick {
  border-color: rgba(198, 255, 46, 0.18);
  background:
    linear-gradient(180deg, rgba(198, 255, 46, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.88);
}

.analysis-v2-pick-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.analysis-v2-pick h1,
.analysis-v2-brief h2,
.analysis-v2-section-head h2 {
  margin: 7px 0 9px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.16;
}

.analysis-v2-pick h1 {
  font-size: clamp(1.32rem, 2.6vw, 2rem);
}

.analysis-v2-pick p,
.analysis-v2-brief p,
.analysis-v2-section-head p,
.analysis-v2-context-grid p,
.analysis-v2-source-list p,
.analysis-v2-reading-grid p,
.analysis-v2-secondary p,
.analysis-v2-empty-note p {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.62;
}

.analysis-v2-odds {
  display: grid;
  justify-items: center;
  min-width: 92px;
  padding: 12px;
  border: 1px solid rgba(198, 255, 46, 0.3);
  border-radius: 9px;
  background: rgba(198, 255, 46, 0.09);
  text-align: center;
}

.analysis-v2-odds strong {
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.analysis-v2-odds span {
  margin-top: 5px;
  color: var(--soft);
  font-size: 0.7rem;
}

.analysis-v2-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.analysis-v2-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.analysis-v2-evidence-grid > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
}

.analysis-v2-evidence-grid h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.analysis-v2-evidence-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analysis-v2-evidence-grid li {
  position: relative;
  padding-left: 13px;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.5;
}

.analysis-v2-evidence-grid li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.analysis-v2-evidence-grid .risk-list li::before {
  background: #ffd166;
}

.analysis-v2-brief {
  display: grid;
  align-content: start;
}

.analysis-v2-brief h2 {
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.analysis-v2-brief div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.analysis-v2-pro-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  border-color: rgba(198, 255, 46, 0.25);
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 25, 0.86);
}

.analysis-v2-pro-alert span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.analysis-v2-pro-alert h2 {
  margin: 4px 0;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 600;
}

.analysis-v2-pro-alert p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.52;
}

.analysis-v2-pro-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(198, 255, 46, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.11), rgba(255, 255, 255, 0.024)),
    rgba(0, 0, 0, 0.12);
}

.analysis-v2-pro-inline span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.analysis-v2-pro-inline strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.analysis-v2-pro-inline p {
  margin: 3px 0 0;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.42;
}

.analysis-v2-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 12px;
  margin-top: 12px;
}

.analysis-v2-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.analysis-v2-section-head h2 {
  font-size: 1.02rem;
}

.analysis-v2-context-grid,
.analysis-v2-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.analysis-v2-context-grid > div,
.analysis-v2-reading-grid > div,
.analysis-v2-source-list > div,
.analysis-v2-secondary-list article,
.analysis-v2-empty-note {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}

.analysis-v2-context-grid span,
.analysis-v2-reading-grid span,
.analysis-v2-source-list span,
.analysis-v2-secondary-list span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analysis-v2-context-grid strong,
.analysis-v2-source-list strong {
  display: block;
  margin: 7px 0 3px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}

.analysis-v2-source-list {
  display: grid;
  gap: 8px;
}

.analysis-v2-source-list > div {
  padding: 11px 12px;
}

.analysis-v2-source-list .limited {
  opacity: 0.76;
}

.analysis-v2-reading {
  margin-top: 12px;
}

.analysis-v2-reading-grid span {
  margin-bottom: 6px;
}

.analysis-v2-secondary {
  margin-top: 12px;
}

.analysis-v2-secondary-list {
  display: grid;
  gap: 9px;
}

.analysis-v2-secondary-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.analysis-v2-secondary-list h3,
.analysis-v2-empty-note h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
}

.analysis-v2-secondary-list aside {
  display: grid;
  min-width: 108px;
  justify-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(198, 255, 46, 0.2);
  border-radius: 8px;
  background: rgba(198, 255, 46, 0.06);
}

.analysis-v2-secondary-list aside strong {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.analysis-v2-secondary-list aside small,
.analysis-v2-secondary-list aside em {
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
}

.analysis-v2-empty-note {
  display: grid;
  gap: 4px;
}

.analysis-v2-disclaimer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  text-align: center;
}

@media (max-width: 900px) {
  .analysis-v2-decision-grid,
  .analysis-v2-board {
    grid-template-columns: 1fr;
  }

  .analysis-v2-trust,
  .analysis-v2-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-v2-trust strong,
  .analysis-v2-metrics strong {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .analysis-page-v2 {
    gap: 10px;
  }

  .analysis-v2-match,
  .analysis-v2-pick,
  .analysis-v2-brief,
  .analysis-v2-card,
  .analysis-v2-pro-alert {
    padding: 14px;
    border-radius: 9px;
  }

  .analysis-v2-topline,
  .analysis-v2-evidence-grid,
  .analysis-v2-context-grid,
  .analysis-v2-reading-grid,
  .analysis-v2-secondary-list article {
    grid-template-columns: 1fr;
  }

  .analysis-v2-trust,
  .analysis-v2-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-v2-scoreboard {
    gap: 9px;
  }

  .analysis-v2-team img,
  .analysis-v2-team .team-logo {
    width: 44px;
    height: 44px;
    padding: 5px;
  }

  .analysis-v2-team strong {
    font-size: 0.78rem;
  }

  .analysis-v2-score {
    min-width: 58px;
    padding: 8px;
  }

  .analysis-v2-score strong {
    font-size: 1rem;
  }

  .analysis-v2-pick-head,
  .analysis-v2-pro-alert {
    display: grid;
    grid-template-columns: 1fr;
  }

  .analysis-v2-pro-inline {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .analysis-v2-odds {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    min-width: 0;
    gap: 10px;
  }

  .analysis-v2-odds span {
    margin-top: 0;
  }

  .analysis-v2-secondary-list aside {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    min-width: 0;
  }
}

/* Analysis hierarchy update */
.analysis-v2-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.analysis-v2-info-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.72rem;
}

.analysis-v2-info-row strong {
  color: var(--text);
  font-weight: 600;
}

.analysis-v2-quality-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(198, 255, 46, 0.18);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.12);
}

.analysis-v2-quality-panel > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.analysis-v2-quality-panel span {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.analysis-v2-quality-panel strong {
  color: var(--accent);
  font-size: 1.14rem;
  font-weight: 700;
}

.analysis-v2-quality-track {
  overflow: hidden;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.analysis-v2-quality-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.analysis-v2-quality-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.45;
}

.analysis-v2-loading-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(198, 255, 46, 0.2);
  border-radius: 9px;
  background: rgba(198, 255, 46, 0.055);
}

.analysis-v2-loading-card > span {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(198, 255, 46, 0.2);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: neoAnalysisSpin 0.8s linear infinite;
}

.analysis-v2-loading-card strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.analysis-v2-loading-card p {
  margin: 3px 0 0;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
}

.analysis-v2-loading-card.is-error {
  border-color: rgba(255, 209, 102, 0.28);
  background: rgba(255, 209, 102, 0.065);
}

.analysis-v2-loading-card.is-error > span {
  border-color: rgba(255, 209, 102, 0.36);
  border-top-color: #ffd166;
}

@keyframes neoAnalysisSpin {
  to {
    transform: rotate(360deg);
  }
}

.analysis-v2-picks-section {
  margin-top: 12px;
}

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

.analysis-v2-section-title h1,
.analysis-v2-section-title h2 {
  margin: 5px 0 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 1.72rem);
  font-weight: 600;
  line-height: 1.15;
}

.analysis-v2-section-title p:not(.eyebrow) {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
}

.analysis-v2-picks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 12px;
  align-items: start;
}

.analysis-v2-picks-grid .analysis-v2-pick {
  margin: 0;
}

.analysis-v2-pick h2 {
  margin: 7px 0 9px;
  color: var(--text);
  font-size: clamp(1.28rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.14;
}

.analysis-v2-evidence-grid h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.analysis-v2-pronos-panel {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.84);
}

.analysis-v2-pronos-head h2 {
  margin: 5px 0 12px;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 600;
}

.analysis-v2-pronos-list {
  display: grid;
  gap: 8px;
}

.analysis-v2-pronos-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}

.analysis-v2-pronos-list article.featured {
  border-color: rgba(198, 255, 46, 0.26);
  background: rgba(198, 255, 46, 0.06);
}

.analysis-v2-pronos-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analysis-v2-pronos-list h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.analysis-v2-pronos-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 300;
  line-height: 1.35;
}

.analysis-v2-pronos-list aside {
  display: grid;
  min-width: 78px;
  justify-items: center;
  gap: 4px;
  padding: 9px;
  border: 1px solid rgba(198, 255, 46, 0.2);
  border-radius: 8px;
  background: rgba(198, 255, 46, 0.06);
}

.analysis-v2-pronos-list aside strong {
  color: var(--accent);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
}

.analysis-v2-pronos-list aside small {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.analysis-v2-match-analysis {
  margin-top: 12px;
}

.analysis-v2-score-scenarios {
  margin-top: 12px;
}

.analysis-v2-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.analysis-v2-scenario-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    rgba(10, 15, 24, 0.68);
}

.analysis-v2-scenario-grid article.featured {
  border-color: rgba(198, 255, 46, 0.28);
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 24, 0.78);
}

.analysis-v2-scenario-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.analysis-v2-scenario-grid strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  font-weight: 650;
  line-height: 1;
}

.analysis-v2-scenario-grid p,
.analysis-v2-scenario-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
}

.analysis-v2-scenario-note {
  margin-top: 10px;
}

.analysis-v2-scenario-pro {
  margin-top: 10px;
}

.analysis-v2-match-analysis .analysis-v2-reading-grid {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .analysis-v2-picks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .match-date-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-right: -16px;
    padding: 0 16px 4px 0;
    scrollbar-width: none;
  }

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

  .match-date-strip a {
    min-width: 104px;
  }

  .analysis-v2-pronos-panel {
    order: -1;
  }

  .analysis-v2-section-title {
    display: grid;
  }

  .analysis-v2-info-row span {
    width: 100%;
  }

  .analysis-v2-quality-panel > div:first-child {
    align-items: start;
  }

  .analysis-v2-pronos-list article {
    grid-template-columns: 1fr auto;
  }

  .analysis-v2-scenario-grid {
    grid-template-columns: 1fr;
  }
}

/* Recommendations clean list */
.dashboard-briefing h1 {
  max-width: 780px;
}

.trust-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.trust-snapshot h2 {
  margin: 3px 0 6px;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 600;
}

.trust-snapshot p:not(.eyebrow) {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.5;
}

.trust-snapshot-stats {
  display: flex;
  gap: 8px;
}

.trust-snapshot-stats span {
  display: grid;
  min-width: 72px;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.trust-snapshot-stats strong {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
}

.dashboard-reco-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.dashboard-reco-main {
  min-width: 0;
}

.dashboard-reco-main small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.45;
}

.dashboard-reco-proof {
  display: grid;
  min-width: 118px;
  justify-items: end;
  gap: 4px;
}

.dashboard-reco-proof strong {
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.dashboard-reco-proof span,
.dashboard-reco-proof em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  text-align: right;
}

.dashboard-reco-proof em {
  color: var(--accent);
}

.recommendations-clean {
  width: min(100%, 940px);
  max-width: 940px;
}

.recommendations-clean-hero,
.recommendations-clean-limit,
.recommendation-action-card {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.84);
}

.recommendations-clean-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px;
}

.recommendations-clean-hero h1 {
  margin: 5px 0 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.recommendations-clean-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.58;
}

.recommendations-clean-meta {
  display: grid;
  min-width: 154px;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.recommendations-clean-meta span,
.recommendations-clean-limit span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommendations-clean-meta strong {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
}

.recommendations-clean-limit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border-color: rgba(198, 255, 46, 0.22);
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.84);
}

.recommendations-clean-limit strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
}

.recommendations-clean-limit p {
  margin: 4px 0 0;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.42;
}

.recommendations-clean-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.recommendation-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  overflow: hidden;
}

.recommendation-action-main {
  min-width: 0;
}

.recommendation-action-main span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.recommendation-action-main h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.22;
}

.recommendation-action-main p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 7px 0 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.48;
}

.recommendation-action-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.recommendation-action-odd {
  display: grid;
  min-width: 78px;
  justify-items: center;
  padding: 10px;
  border: 1px solid rgba(198, 255, 46, 0.24);
  border-radius: 8px;
  background: rgba(198, 255, 46, 0.075);
}

.recommendation-action-odd strong {
  color: var(--accent);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1;
}

.recommendation-action-odd small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.recommendation-action-tags {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.recommendation-action-tags span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.recommendation-action-tags strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.recommendation-action-info .btn {
  white-space: nowrap;
}

.recommendation-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recommendation-actions .btn,
.recommendation-actions form,
.recommendation-actions form .btn {
  width: 100%;
}

.recommendations-locked-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(198, 255, 46, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 25, 0.88);
}

.recommendations-locked-empty h2 {
  margin: 5px 0 7px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 600;
}

.recommendations-locked-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .trust-snapshot {
    grid-template-columns: 1fr;
  }

  .trust-snapshot-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-reco-card {
    grid-template-columns: 1fr;
  }

  .dashboard-reco-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: start;
    min-width: 0;
  }

  .dashboard-reco-proof span,
  .dashboard-reco-proof em {
    text-align: left;
  }

  .recommendations-clean-hero,
  .recommendation-action-card,
  .recommendations-locked-empty {
    grid-template-columns: 1fr;
  }

  .recommendations-locked-empty {
    display: grid;
  }

  .recommendations-clean-meta {
    min-width: 0;
  }

  .recommendation-action-info {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .recommendations-clean-hero,
  .recommendations-clean-limit,
  .recommendation-action-card {
    padding: 13px;
  }

  .recommendations-clean-limit {
    display: grid;
  }

  .recommendation-action-info {
    grid-template-columns: 1fr;
  }

  .recommendation-action-odd {
    width: 100%;
  }

  .recommendation-actions {
    grid-template-columns: 1fr;
  }
}

/* PRO conversion page */
.pro-conversion-page {
  width: min(100%, 1120px);
  max-width: 1120px;
}

.pro-conversion-hero,
.pro-pack-card,
.pro-current-card,
.pro-cancel-card,
.promo-code-card,
.pro-benefit-grid article {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.84);
}

.pro-conversion-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(20px, 2.8vw, 30px);
}

.pro-conversion-hero h1 {
  max-width: 760px;
  margin: 6px 0 10px;
  color: var(--text);
  font-size: clamp(1.55rem, 3.4vw, 2.55rem);
  font-weight: 650;
  line-height: 1.08;
}

.pro-conversion-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.62;
}

.pro-current-card {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  border-color: rgba(198, 255, 46, 0.2);
  background: rgba(198, 255, 46, 0.055);
}

.pro-current-card span,
.pro-pack-card span,
.pro-cancel-card span,
.pro-benefit-grid span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-current-card strong {
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 700;
}

.pro-current-card p,
.pro-cancel-card p,
.pro-benefit-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.5;
}

.pro-pack-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.promo-code-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: end;
  margin-top: 18px;
  padding: 18px;
  border-color: rgba(137, 229, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(137, 229, 255, 0.07), rgba(198, 255, 46, 0.04)),
    rgba(10, 15, 25, 0.82);
}

.promo-code-card span,
.promo-price-note span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-code-card h2 {
  margin: 7px 0 7px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 650;
}

.promo-code-card p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.5;
}

.promo-code-form {
  display: grid;
  gap: 8px;
}

.promo-code-form label {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.promo-code-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.promo-code-form input {
  text-transform: uppercase;
}

.promo-code-message {
  padding: 9px 10px;
  border-radius: 8px;
}

.promo-code-message.is-success {
  border: 1px solid rgba(198, 255, 46, 0.18);
  background: rgba(198, 255, 46, 0.07);
  color: var(--text);
}

.promo-code-message.is-warning {
  border: 1px solid rgba(255, 196, 87, 0.18);
  background: rgba(255, 196, 87, 0.07);
  color: #ffd991;
}

.pro-pack-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  padding: clamp(20px, 2.2vw, 28px);
}

.pro-pack-card.featured {
  border-color: rgba(198, 255, 46, 0.35);
  background:
    linear-gradient(180deg, rgba(198, 255, 46, 0.12), rgba(255, 255, 255, 0.024)),
    rgba(10, 15, 25, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.pro-pack-card.current {
  border-color: rgba(198, 255, 46, 0.42);
}

.pro-pack-card h2 {
  margin: 10px 0 6px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 650;
}

.pro-pack-card strong {
  display: block;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 750;
  line-height: 1;
}

.pro-pack-card del {
  color: var(--muted);
  text-decoration-color: rgba(255, 255, 255, 0.38);
}

.pro-pack-card p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.45;
}

.pro-pack-card .promo-price-note {
  margin-top: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(198, 255, 46, 0.16);
  border-radius: 8px;
  background: rgba(198, 255, 46, 0.06);
  color: var(--soft);
}

.pro-pack-card .promo-price-note span {
  display: block;
  margin-bottom: 4px;
}

.pro-pack-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-pack-card li {
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.4;
}

.pro-pack-card li::before {
  margin-right: 8px;
  color: var(--accent);
  content: "✓";
}

.pro-pack-card form,
.pro-pack-card button {
  width: 100%;
}

.pro-cancel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 16px;
  border-color: rgba(255, 107, 107, 0.22);
  background: rgba(255, 107, 107, 0.045);
}

.pro-cancel-card h2 {
  margin: 5px 0 5px;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 650;
}

.pro-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.pro-benefit-grid article {
  padding: 20px;
}

.pro-benefit-grid h2 {
  margin: 8px 0 7px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
}

@media (max-width: 860px) {
  .pro-conversion-hero,
  .pro-pack-focus,
  .promo-code-card,
  .pro-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pro-conversion-hero,
  .pro-pack-card,
  .pro-current-card,
  .pro-cancel-card,
  .promo-code-card,
  .pro-benefit-grid article {
    padding: 14px;
  }

  .pro-conversion-hero {
    gap: 10px;
    padding: 12px;
  }

  .pro-conversion-hero h1 {
    margin: 4px 0 7px;
    font-size: 1.45rem;
    line-height: 1.12;
  }

  .pro-conversion-hero p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .pro-current-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 11px 12px;
  }

  .pro-current-card strong {
    justify-self: end;
    font-size: 1rem;
  }

  .pro-current-card p {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .pro-pack-focus {
    margin-top: 8px;
  }

  .promo-code-card {
    gap: 12px;
    margin-top: 12px;
  }

  .promo-code-form > div {
    grid-template-columns: 1fr;
  }

  .pro-pack-card {
    gap: 10px;
  }

  .pro-pack-card h2 {
    margin: 7px 0 5px;
    font-size: 1.04rem;
  }

  .pro-pack-card strong {
    font-size: 1.72rem;
  }

  .pro-pack-card p,
  .pro-pack-card li {
    font-size: 0.8rem;
    line-height: 1.34;
  }

  .pro-cancel-card {
    display: grid;
  }
}

/* Final responsive guard: the app bottom navigation is mobile-only. */
.bottom-nav,
.chat-page .bottom-nav {
  display: none;
}

@media (max-width: 899px) {
  body.app-page .bottom-nav,
  body.chat-page .bottom-nav {
    display: grid;
  }
}

@media (min-width: 900px) {
  body.chat-page .chat-form {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px) + var(--chat-keyboard-inset, 0px));
  }

  body.chat-page .chat-pro-lockbar {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

/* 2026-06-23: conversion layer, PRO paywall, onboarding and cleaner proof history. */
.pro-paywall-panel {
  position: relative;
  overflow: hidden;
}

.pro-paywall-panel::after {
  position: absolute;
  inset: auto -28px -42px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(198, 255, 46, 0.18), transparent 62%);
  content: "";
  pointer-events: none;
}

.pro-paywall-panel .btn,
.pro-paywall-panel a.btn {
  position: relative;
  z-index: 1;
  color: #081105;
  font-weight: 820;
}

.pro-today-value {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(198, 255, 46, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 20%, rgba(198, 255, 46, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(15, 28, 24, 0.9), rgba(12, 14, 24, 0.92));
}

.pro-today-copy span,
.pro-today-signal small,
.neo-history-command-center span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-today-copy h2 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 680;
  line-height: 1.12;
}

.pro-today-copy p,
.pro-today-signal p {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
}

.pro-today-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  grid-column: 1 / -1;
}

.pro-today-metrics article,
.pro-today-signal,
.neo-history-command-center article,
.onboarding-step {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.8);
}

.pro-today-metrics article {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.pro-today-metrics article.accent {
  border-color: rgba(198, 255, 46, 0.24);
  background: rgba(198, 255, 46, 0.065);
}

.pro-today-metrics strong {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 780;
  line-height: 1;
}

.pro-today-metrics span {
  color: var(--soft);
  font-size: 0.72rem;
}

.pro-today-signal {
  grid-column: 1 / -1;
  padding: 14px;
}

.pro-today-signal strong {
  display: block;
  margin: 7px 0 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 680;
}

.pro-today-signal.muted {
  opacity: 0.86;
}

.neo-history-command-center {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.neo-history-command-center article {
  display: grid;
  gap: 6px;
  padding: 15px;
}

.neo-history-command-center article.success {
  border-color: rgba(45, 212, 139, 0.2);
  background: rgba(45, 212, 139, 0.055);
}

.neo-history-command-center strong {
  color: var(--text);
  font-size: 1.85rem;
  font-weight: 760;
  line-height: 1;
}

.neo-history-command-center article.success strong {
  color: #7df0b0;
}

.neo-history-command-center p {
  margin: 0;
  color: var(--soft);
  font-size: 0.78rem;
}

.neo-history-summary.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neo-history-card {
  border-radius: 12px;
}

.onboarding-page {
  width: min(100%, 920px);
  max-width: 920px;
}

.onboarding-hero {
  padding: 18px 0 8px;
}

.onboarding-hero h1 {
  max-width: 760px;
  margin: 6px 0 10px;
  color: var(--text);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 680;
  line-height: 1.08;
}

.onboarding-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--soft);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.55;
}

.onboarding-form {
  display: grid;
  gap: 14px;
}

.onboarding-step {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.onboarding-step > div:first-child span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 780;
}

.onboarding-step h2 {
  margin: 7px 0 7px;
  color: var(--text);
  font-size: 1.1rem;
}

.onboarding-step p {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.onboarding-options {
  display: grid;
  gap: 9px;
}

.onboarding-options.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.032);
  cursor: pointer;
}

.onboarding-options input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.onboarding-options strong {
  color: var(--text);
  font-size: 0.92rem;
}

.onboarding-options small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .pro-today-value,
  .onboarding-step {
    grid-template-columns: 1fr;
  }

  .pro-today-metrics,
  .neo-history-command-center {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .pro-today-metrics article,
  .neo-history-command-center article {
    padding: 11px;
  }

  .pro-today-metrics strong,
  .neo-history-command-center strong {
    font-size: 1.32rem;
  }

  .pro-today-metrics span,
  .neo-history-command-center p {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .neo-history-summary.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding-options.compact {
    grid-template-columns: 1fr;
  }

  .onboarding-actions {
    display: grid;
  }
}

/* Swipe onboarding: fast education before the first dashboard. */
.onboarding-body {
  overflow-x: hidden;
}

.onboarding-page {
  width: min(100%, 760px);
  max-width: 760px;
}

.onboarding-page .app-header {
  display: none;
}

.onboarding-hero {
  display: grid;
  gap: 8px;
  padding: 20px 0 12px;
  text-align: center;
}

.onboarding-hero .eyebrow {
  justify-self: center;
}

.onboarding-hero h1 {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 760;
  line-height: 1.02;
}

.onboarding-hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}

.onboarding-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 18px;
  touch-action: pan-y;
}

.onboarding-track {
  display: flex;
  width: 100%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.onboarding-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.onboarding-slide {
  display: grid;
  flex: 0 0 100%;
  gap: 18px;
  min-height: 430px;
  align-content: space-between;
  padding: clamp(18px, 5vw, 30px);
  border: 1px solid rgba(198, 255, 46, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 12%, rgba(198, 255, 46, 0.17), transparent 34%),
    radial-gradient(circle at 90% 92%, rgba(137, 229, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(15, 29, 24, 0.96), rgba(9, 12, 22, 0.98) 62%, rgba(25, 20, 40, 0.94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  opacity: 0.58;
  transform: scale(0.96);
  transition: opacity 320ms ease, transform 320ms ease;
}

.onboarding-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.onboarding-slide-visual,
.onboarding-analysis-preview,
.onboarding-plan-preview,
.onboarding-tip-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 190px;
  align-content: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.035);
}

.onboarding-slide-visual {
  justify-items: center;
  text-align: center;
}

.onboarding-orbit {
  position: relative;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(198, 255, 46, 0.28);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(198, 255, 46, 0.26), rgba(198, 255, 46, 0.08) 30%, transparent 31%);
  box-shadow: 0 0 42px rgba(198, 255, 46, 0.18);
  animation: neoPulse 2.8s ease-in-out infinite;
}

.onboarding-orbit::before,
.onboarding-orbit::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(198, 255, 46, 0.22);
  border-radius: inherit;
  content: "";
}

.onboarding-orbit::after {
  inset: 38px;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(198, 255, 46, 0.65);
}

.onboarding-slide-visual strong,
.onboarding-tip-card strong,
.onboarding-plan-preview strong {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 760;
}

.onboarding-slide-visual p,
.onboarding-tip-card p,
.onboarding-plan-preview p {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.onboarding-plan-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}

.onboarding-plan-preview > div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.onboarding-plan-preview > div.pro {
  border-color: rgba(198, 255, 46, 0.28);
  background: linear-gradient(145deg, rgba(198, 255, 46, 0.14), rgba(255, 255, 255, 0.028));
  transform: translateY(-8px);
}

.onboarding-plan-preview small,
.onboarding-tip-card small,
.onboarding-slide-copy span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.onboarding-tip-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.onboarding-tip-card div span,
.onboarding-tip-card div em {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 760;
}

.onboarding-tip-card div span {
  background: var(--accent);
  color: #081105;
}

.onboarding-tip-card div em {
  border: 1px solid rgba(198, 255, 46, 0.2);
  color: var(--accent);
}

.onboarding-slide-copy {
  display: grid;
  gap: 8px;
}

.onboarding-slide-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  font-weight: 750;
  line-height: 1.08;
}

.onboarding-slide-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.55;
}

.onboarding-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  margin: 16px 0 14px;
}

.onboarding-arrow {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
}

.onboarding-arrow:disabled {
  opacity: 0.32;
}

.onboarding-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.onboarding-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 220ms ease, background 220ms ease;
}

.onboarding-dots button.is-active {
  width: 28px;
  background: var(--accent);
}

.onboarding-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.onboarding-actions [hidden] {
  display: none !important;
}

@keyframes neoPulse {
  0%, 100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes onboardingDataSweep {
  0%, 52% {
    transform: translateX(-115%);
  }
  78%, 100% {
    transform: translateX(115%);
  }
}

@keyframes onboardingConfidenceFill {
  from {
    transform: scaleX(0.28);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes onboardingSignalLine {
  from {
    opacity: 0;
    transform: scaleX(0.32);
  }
  to {
    opacity: 0.8;
    transform: scaleX(1);
  }
}

@media (max-width: 760px) {
  .onboarding-page {
    padding-bottom: 98px;
  }

  .onboarding-slide {
    min-height: 430px;
  }

  .onboarding-plan-preview {
    grid-template-columns: 1fr;
  }

  .onboarding-plan-preview > div.pro {
    transform: none;
  }

  .onboarding-actions {
    grid-template-columns: 1fr;
  }
}

/* Compact onboarding pass: keep the first action visible on small phones. */
.onboarding-body .app-header,
.onboarding-body .bottom-nav,
.onboarding-body .support-widget {
  display: none !important;
}

.app-main.onboarding-page {
  padding-top: 12px;
  padding-bottom: 18px;
}

.onboarding-hero {
  gap: 6px;
  padding: 8px 0 8px;
}

.onboarding-hero h1 {
  max-width: 520px;
  font-size: clamp(1.38rem, 5.8vw, 2rem);
  line-height: 1.04;
}

.onboarding-hero p:not(.eyebrow) {
  max-width: 460px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.onboarding-carousel {
  margin-top: 2px;
  border-radius: 16px;
}

.onboarding-slide {
  gap: 12px;
  min-height: 330px;
  padding: 14px;
  border-radius: 16px;
}

.onboarding-slide-visual,
.onboarding-plan-preview,
.onboarding-tip-card {
  min-height: 126px;
  gap: 7px;
  padding: 13px;
  border-radius: 14px;
}

.onboarding-orbit {
  width: 76px;
  height: 76px;
}

.onboarding-orbit::before {
  inset: 12px;
}

.onboarding-orbit::after {
  inset: 27px;
}

.onboarding-slide-visual strong,
.onboarding-tip-card strong,
.onboarding-plan-preview strong {
  font-size: 1rem;
}

.onboarding-slide-visual p,
.onboarding-tip-card p,
.onboarding-plan-preview p {
  font-size: 0.78rem;
  line-height: 1.34;
}

.onboarding-plan-preview > div {
  gap: 5px;
  padding: 11px;
}

.onboarding-plan-preview > div.pro {
  transform: translateY(-4px);
}

.onboarding-tip-card div span,
.onboarding-tip-card div em {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.78rem;
}

.onboarding-slide-copy {
  gap: 6px;
}

.onboarding-slide-copy h2 {
  font-size: clamp(1.06rem, 4.55vw, 1.42rem);
  line-height: 1.08;
}

.onboarding-slide-copy p {
  font-size: 0.82rem;
  line-height: 1.38;
}

.onboarding-controls {
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  margin: 9px 0 9px;
}

.onboarding-arrow {
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
}

.onboarding-dots {
  gap: 6px;
}

.onboarding-dots button {
  width: 7px;
  height: 7px;
}

.onboarding-dots button.is-active {
  width: 24px;
}

.onboarding-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.onboarding-actions .btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .app-main.onboarding-page {
    padding: 10px 14px 18px;
  }

  .onboarding-slide {
    min-height: 342px;
  }

  .onboarding-plan-preview {
    grid-template-columns: 1fr;
  }

  .onboarding-plan-preview > div.pro {
    transform: none;
  }

  .onboarding-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 430px), (max-height: 760px) {
  .app-main.onboarding-page {
    padding-top: 8px;
  }

  .onboarding-hero {
    padding-top: 4px;
  }

  .onboarding-hero h1 {
    font-size: clamp(1.26rem, 5.7vw, 1.72rem);
  }

  .onboarding-hero p:not(.eyebrow) {
    font-size: 0.78rem;
  }

  .onboarding-slide {
    min-height: 312px;
    gap: 10px;
    padding: 12px;
  }

  .onboarding-slide-visual,
  .onboarding-plan-preview,
  .onboarding-tip-card {
    min-height: 108px;
    padding: 11px;
  }

  .onboarding-orbit {
    width: 64px;
    height: 64px;
  }

  .onboarding-orbit::before {
    inset: 10px;
  }

  .onboarding-orbit::after {
    inset: 23px;
  }

  .onboarding-slide-copy h2 {
    font-size: clamp(1rem, 4.2vw, 1.24rem);
  }

  .onboarding-slide-copy p {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .onboarding-controls {
    margin: 7px 0;
  }

  .onboarding-actions .btn {
    min-height: 40px;
    font-size: 0.84rem;
  }
}

/* Premium onboarding refresh */
.onboarding-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 0%, rgba(198, 255, 46, 0.18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(77, 214, 255, 0.14), transparent 28%),
    linear-gradient(145deg, #060806 0%, #07151a 52%, #090712 100%);
}

.app-main.onboarding-page {
  position: relative;
  display: grid;
  width: min(100%, 560px);
  max-width: 560px;
  min-height: 100vh;
  align-content: center;
  gap: 10px;
  padding: 18px 18px 20px;
}

.onboarding-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.onboarding-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.onboarding-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(198, 255, 46, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 5px rgba(198, 255, 46, 0.055);
}

.onboarding-brand strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 760;
  line-height: 1;
}

.onboarding-brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.onboarding-live-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(198, 255, 46, 0.28);
  border-radius: 999px;
  background: rgba(198, 255, 46, 0.095);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  padding: 0 12px;
  white-space: nowrap;
}

.onboarding-hero {
  gap: 5px;
  padding: 5px 0 4px;
  text-align: left;
}

.onboarding-hero .eyebrow {
  justify-self: start;
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.onboarding-hero h1 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(1.55rem, 7vw, 2.45rem);
  font-weight: 860;
  line-height: 0.98;
}

.onboarding-hero p:not(.eyebrow) {
  max-width: 470px;
  margin: 0;
  color: rgba(232, 238, 234, 0.72);
  font-size: 0.86rem;
  line-height: 1.38;
}

.onboarding-carousel {
  overflow: hidden;
  margin-top: 2px;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.onboarding-slide {
  position: relative;
  min-height: 330px;
  align-content: stretch;
  gap: 12px;
  padding: 14px;
  border-color: rgba(198, 255, 46, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 10%, rgba(198, 255, 46, 0.22), transparent 31%),
    radial-gradient(circle at 88% 18%, rgba(87, 223, 255, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(18, 31, 27, 0.98), rgba(11, 16, 27, 0.98) 58%, rgba(24, 18, 42, 0.96));
}

.onboarding-slide::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 22%),
    linear-gradient(315deg, rgba(198, 255, 46, 0.11), transparent 27%);
  content: "";
  opacity: 0.8;
  pointer-events: none;
}

.onboarding-slide::after {
  display: none;
}

.onboarding-slide > * {
  position: relative;
  z-index: 1;
}

.onboarding-slide-visual,
.onboarding-plan-preview,
.onboarding-tip-card {
  min-height: 124px;
  border-color: rgba(255, 255, 255, 0.105);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.028)),
    rgba(7, 11, 18, 0.42);
  backdrop-filter: blur(10px);
}

.onboarding-slide-visual {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  text-align: left;
}

.onboarding-slide-visual p {
  grid-column: 2;
}

.onboarding-orbit {
  grid-row: span 2;
  width: 82px;
  height: 82px;
  border-color: rgba(198, 255, 46, 0.42);
  background:
    radial-gradient(circle, rgba(198, 255, 46, 0.2), transparent 28%),
    repeating-radial-gradient(circle, rgba(198, 255, 46, 0.18), rgba(198, 255, 46, 0.18) 1px, transparent 2px, transparent 16px);
}

.onboarding-orbit i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), rgba(198, 255, 46, 0.18) 48%, transparent 54%);
  box-shadow: 0 0 28px rgba(198, 255, 46, 0.62);
  content: "";
  transform: translate(-50%, -50%);
}

.onboarding-orbit::after {
  display: none;
}

.onboarding-analysis-preview {
  position: relative;
  align-content: stretch;
  gap: 9px;
  overflow: hidden;
}

.onboarding-analysis-preview::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(198, 255, 46, 0.1) 44%, rgba(101, 233, 255, 0.14) 50%, transparent 58%);
  content: "";
  opacity: 0.8;
  transform: translateX(-115%);
  animation: onboardingDataSweep 3.4s ease-in-out infinite;
}

.onboarding-match-strip,
.onboarding-signal-card,
.onboarding-scan-lines {
  position: relative;
  z-index: 1;
}

.onboarding-match-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 760;
}

.onboarding-match-strip span {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  padding: 7px 9px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-match-strip strong {
  color: var(--accent);
  font-size: 0.78rem;
  text-shadow: 0 0 18px rgba(198, 255, 46, 0.3);
}

.onboarding-signal-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(198, 255, 46, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 46, 0.16), transparent 36%),
    rgba(6, 10, 17, 0.42);
  padding: 12px;
}

.onboarding-signal-card small {
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.onboarding-signal-card strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 840;
  line-height: 1.1;
}

.onboarding-signal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.onboarding-signal-meta span,
.onboarding-signal-meta em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 760;
  padding: 0 9px;
}

.onboarding-signal-meta span {
  background: var(--accent);
  color: #081105;
}

.onboarding-signal-meta em {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 238, 234, 0.84);
}

.onboarding-signal-card i {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.onboarding-signal-card i::before {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #65e9ff);
  box-shadow: 0 0 16px rgba(198, 255, 46, 0.28);
  content: "";
  animation: onboardingConfidenceFill 1.15s ease-out both;
}

.onboarding-scan-lines {
  display: grid;
  gap: 5px;
}

.onboarding-scan-lines span {
  display: block;
  width: var(--w);
  height: 5px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(198, 255, 46, 0.38)),
    rgba(255, 255, 255, 0.06);
  opacity: 0.8;
  transform-origin: left;
  animation: onboardingSignalLine 1.6s ease-out both;
}

.onboarding-scan-lines span:nth-child(2) {
  animation-delay: 130ms;
}

.onboarding-scan-lines span:nth-child(3) {
  animation-delay: 260ms;
}

.onboarding-plan-preview {
  gap: 8px;
}

.onboarding-plan-preview > div {
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}

.onboarding-plan-preview > div.pro {
  border-color: rgba(198, 255, 46, 0.38);
  background:
    radial-gradient(circle at 86% 18%, rgba(198, 255, 46, 0.25), transparent 42%),
    linear-gradient(145deg, rgba(198, 255, 46, 0.16), rgba(255, 255, 255, 0.035));
}

.onboarding-tip-card {
  align-content: center;
}

.onboarding-tip-card div {
  margin: 2px 0;
}

.onboarding-slide-copy {
  align-content: end;
  padding: 2px 2px 0;
}

.onboarding-slide-copy span {
  width: fit-content;
  border: 1px solid rgba(198, 255, 46, 0.22);
  border-radius: 999px;
  background: rgba(198, 255, 46, 0.08);
  padding: 5px 9px;
}

.onboarding-slide-copy h2 {
  max-width: 94%;
  font-size: clamp(1.18rem, 5.3vw, 1.7rem);
  font-weight: 840;
}

.onboarding-slide-copy p {
  color: rgba(232, 238, 234, 0.72);
  font-size: 0.84rem;
}

.onboarding-controls {
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  margin: 2px 0 0;
}

.onboarding-arrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.onboarding-dots button {
  height: 5px;
  border-radius: 999px;
}

.onboarding-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--accent), #65e9ff);
  box-shadow: 0 0 16px rgba(198, 255, 46, 0.28);
}

.onboarding-swipe-hint {
  margin: -3px 0 0;
  color: rgba(232, 238, 234, 0.48);
  font-size: 0.72rem;
  text-align: center;
}

.onboarding-actions {
  margin-top: 0;
}

.onboarding-actions .btn-primary {
  background: linear-gradient(90deg, #b7ff16, #e2ff57);
  color: #071006;
  box-shadow: 0 12px 34px rgba(198, 255, 46, 0.2);
}

.onboarding-actions .btn-soft {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 430px), (max-height: 760px) {
  .app-main.onboarding-page {
    gap: 7px;
    min-height: 100svh;
    padding: 10px 14px 14px;
  }

  .onboarding-brand img {
    width: 36px;
    height: 36px;
  }

  .onboarding-live-pill {
    min-height: 29px;
    font-size: 0.7rem;
    padding-inline: 10px;
  }

  .onboarding-hero h1 {
    font-size: clamp(1.28rem, 6.5vw, 1.68rem);
  }

  .onboarding-hero p:not(.eyebrow) {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .onboarding-slide {
    min-height: 286px;
    padding: 11px;
  }

  .onboarding-slide-visual,
  .onboarding-analysis-preview,
  .onboarding-plan-preview,
  .onboarding-tip-card {
    min-height: 104px;
  }

  .onboarding-orbit {
    width: 66px;
    height: 66px;
  }

  .onboarding-orbit i {
    width: 36px;
    height: 36px;
  }

  .onboarding-slide-copy h2 {
    font-size: clamp(1.06rem, 5.4vw, 1.34rem);
  }

  .onboarding-slide-copy p {
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .onboarding-swipe-hint {
    display: none;
  }

  .onboarding-controls {
    margin-top: 0;
  }
}

.analysis-v2-pick .analysis-follow-form {
  margin-top: 18px;
  padding-top: 4px;
}

.analysis-v2-pick .analysis-follow-form .btn {
  min-height: 44px;
  padding-inline: 18px;
}

.analysis-v2-pronos-list article form {
  margin-top: 12px;
  padding-top: 4px;
}

/* Premium trust pass: app pages only, landing untouched */
.dashboard-briefing h1 {
  max-width: 780px;
}

.trust-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.trust-snapshot h2 {
  margin: 3px 0 6px;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 600;
}

.trust-snapshot p:not(.eyebrow) {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.5;
}

.trust-snapshot-stats {
  display: flex;
  gap: 8px;
}

.trust-snapshot-stats span,
.history-proof-grid article {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.trust-snapshot-stats span {
  display: grid;
  min-width: 72px;
  gap: 3px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.trust-snapshot-stats strong,
.history-proof-grid span {
  color: var(--accent);
  font-weight: 700;
}

.trust-snapshot-stats strong {
  font-size: 1.05rem;
}

.history-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.history-proof-grid article {
  padding: 14px;
}

.history-proof-grid span {
  font-size: 1.45rem;
}

.history-proof-grid p {
  margin: 4px 0 0;
  color: var(--soft);
  font-size: 0.78rem;
}

.dashboard-reco-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.dashboard-reco-main {
  min-width: 0;
}

.dashboard-reco-main small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.45;
}

.dashboard-reco-proof {
  display: grid;
  min-width: 118px;
  justify-items: end;
  gap: 4px;
}

.dashboard-reco-proof strong {
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.dashboard-reco-proof span,
.dashboard-reco-proof em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  text-align: right;
}

.dashboard-reco-proof em {
  color: var(--accent);
}

.recommendations-proof-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(198, 255, 46, 0.16);
  border-radius: 10px;
  background: rgba(198, 255, 46, 0.055);
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 300;
}

.recommendations-proof-strip span:not(:last-child) {
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.recommendations-proof-strip strong {
  color: var(--accent);
  font-weight: 700;
}

.recommendation-risk-note {
  display: inline-flex;
  margin-top: 9px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 0.73rem;
  font-weight: 300;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .trust-snapshot,
  .dashboard-reco-card {
    grid-template-columns: 1fr;
  }

  .trust-snapshot-stats,
  .dashboard-reco-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .dashboard-reco-proof {
    justify-items: start;
    min-width: 0;
  }

  .dashboard-reco-proof span,
  .dashboard-reco-proof em {
    text-align: left;
  }

  .history-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026-06-18: mobile readability, TopStats history and recommendation cards */
.hero-title-mobile {
  display: none;
}

.hero-statement h2 .hero-title-desktop,
.hero-statement h2 .hero-title-mobile {
  color: var(--text);
}

.hero-statement h2 .hero-title-desktop span,
.hero-statement h2 .hero-title-mobile span {
  color: var(--accent);
}

.neo-history-page {
  width: min(100%, 980px);
  max-width: 980px;
}

.neo-history-title {
  display: grid;
  gap: 8px;
}

.neo-history-title .btn {
  justify-self: start;
}

.neo-history-summary {
  margin-top: 12px;
}

.neo-history-gain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.neo-history-gain-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.neo-history-gain-card,
.neo-history-fomo {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016)),
    rgba(10, 15, 25, 0.86);
}

.neo-history-gain-card {
  display: grid;
  gap: 8px;
  padding: 17px;
}

.neo-history-gain-card.pro {
  border-color: rgba(198, 255, 46, 0.24);
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.105), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.88);
}

.neo-history-gain-card span,
.neo-history-fomo span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.neo-history-gain-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.35;
}

.neo-history-gain-card strong {
  color: var(--text);
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 760;
  line-height: 1;
}

.neo-history-gain-card strong.is-positive {
  color: var(--accent);
}

.neo-history-gain-card strong.is-negative {
  color: #ff8f8f;
}

.neo-history-gain-card p,
.neo-history-fomo p {
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.5;
}

.neo-history-gain-card .gain-adjustment-note {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 300;
}

.neo-history-fomo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 17px;
  border-color: rgba(198, 255, 46, 0.26);
  background:
    radial-gradient(circle at 92% 18%, rgba(198, 255, 46, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(198, 255, 46, 0.08), rgba(63, 220, 255, 0.035)),
    rgba(10, 15, 25, 0.9);
}

.neo-history-fomo h2 {
  max-width: 680px;
  margin: 5px 0 6px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.28;
}

.neo-history-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.neo-history-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.016)),
    rgba(10, 15, 25, 0.84);
}

.neo-history-main {
  min-width: 0;
}

.neo-history-main span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.neo-history-main h2 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.neo-history-main p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 7px 0 0;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
}

.neo-history-meta {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 4px;
}

.neo-history-meta strong {
  color: var(--accent);
  font-size: 1.28rem;
  line-height: 1;
}

.neo-history-meta small {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
}

.neo-history-meta em {
  font-style: normal;
}

.neo-history-signals,
.neo-history-foot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.neo-history-signals span,
.neo-history-foot span,
.neo-history-foot small,
.recommendation-metrics span,
.dashboard-reco-proof span,
.dashboard-reco-proof em {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}

.neo-history-signals span {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  color: var(--muted);
  font-size: 0.68rem;
}

.neo-history-signals strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neo-history-foot {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.neo-history-foot span,
.neo-history-foot small {
  padding: 8px 9px;
  color: var(--muted);
  font-size: 0.72rem;
}

.neo-history-foot small {
  color: var(--soft);
}

.pick-status-review_required {
  color: #ffcf70;
}

/* 2026-06-28: compact TopStats history cards */
.neo-history-card-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
}

.neo-history-card-compact .neo-history-main span {
  margin-bottom: 4px;
  font-size: 0.63rem;
  letter-spacing: 0.045em;
}

.neo-history-card-compact .neo-history-main h2 {
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neo-history-card-compact .neo-history-meta {
  min-width: 86px;
  gap: 3px;
}

.neo-history-card-compact .neo-history-meta strong {
  font-size: 1.05rem;
}

.neo-history-card-compact .neo-history-meta small {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neo-history-card-compact .pick-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 760;
  line-height: 1;
  background: rgba(255, 255, 255, 0.035);
}

.neo-history-card-compact .neo-history-signals {
  gap: 6px;
}

.neo-history-card-compact .neo-history-signals span {
  padding: 7px 8px;
}

.neo-history-card-compact .neo-history-foot span,
.neo-history-card-compact .neo-history-foot small {
  padding: 7px 8px;
}

.admin-alert-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border-color: rgba(255, 207, 112, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 207, 112, 0.1), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 25, 0.88);
}

.admin-alert-panel h2 {
  margin: 4px 0 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.admin-alert-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.5;
}

.recommendation-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recommendation-metrics span {
  display: grid;
  gap: 4px;
  padding: 8px 9px;
}

.recommendation-metrics small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-metrics strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 650;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .dashboard-reco-proof {
    gap: 7px;
  }

  .dashboard-reco-proof strong,
  .dashboard-reco-proof span,
  .dashboard-reco-proof em {
    width: 100%;
  }

  .dashboard-reco-proof span,
  .dashboard-reco-proof em {
    display: grid;
    align-content: center;
    min-height: 40px;
    padding: 7px 8px;
    font-size: 0.66rem;
    line-height: 1.18;
    text-align: left;
    word-break: normal;
  }

  .dashboard-reco-proof strong {
    display: grid;
    min-height: 40px;
    align-content: center;
    padding: 7px 8px;
    border: 1px solid rgba(198, 255, 46, 0.2);
    border-radius: 8px;
    background: rgba(198, 255, 46, 0.06);
    font-size: 1.05rem;
  }

  .recommendation-action-info {
    align-items: stretch;
  }

  .recommendation-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
}

@media (max-width: 520px) {
  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: inline;
  }

  .hero-statement h2 {
    font-size: clamp(2.05rem, 11vw, 2.9rem);
    line-height: 1.03;
  }

  .neo-history-card {
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .neo-history-gain-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .neo-history-gain-card,
  .neo-history-fomo {
    padding: 13px;
  }

  .neo-history-fomo {
    display: grid;
    gap: 12px;
  }

  .neo-history-fomo .btn {
    width: 100%;
  }

  .neo-history-meta {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
  }

  .neo-history-meta small {
    text-align: left;
  }

  .neo-history-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .neo-history-signals span {
    padding: 7px;
    font-size: 0.62rem;
  }

  .neo-history-signals strong {
    font-size: 0.72rem;
  }

  .neo-history-foot {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .neo-history-card-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 11px;
  }

  .neo-history-card-compact .neo-history-meta {
    grid-template-columns: 1fr;
    justify-items: end;
    min-width: 74px;
  }

  .neo-history-card-compact .neo-history-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .neo-history-card-compact .neo-history-foot {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .recommendation-action-info {
    grid-template-columns: 1fr;
  }

  .recommendation-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .recommendation-metrics span:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .admin-alert-panel {
    display: grid;
  }
}

/* Dashboard recommendation cards: final mobile override to avoid flex/grid conflicts. */
.app-page .dashboard-reco-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  gap: 14px;
  align-items: center;
}

.app-page .dashboard-reco-proof {
  display: grid;
  gap: 6px;
  min-width: 112px;
  max-width: 148px;
}

.app-page .dashboard-reco-proof strong,
.app-page .dashboard-reco-proof span,
.app-page .dashboard-reco-proof em {
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 760px) {
  .app-page .dashboard-reco-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-page .dashboard-reco-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .app-page .dashboard-reco-proof strong,
  .app-page .dashboard-reco-proof span,
  .app-page .dashboard-reco-proof em {
    display: grid;
    min-width: 0;
    min-height: 44px;
    align-content: center;
    padding: 8px 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.032);
    font-size: 0.68rem;
    line-height: 1.16;
    text-align: center;
    text-overflow: ellipsis;
  }

  .app-page .dashboard-reco-proof strong {
    border-color: rgba(198, 255, 46, 0.22);
    background: rgba(198, 255, 46, 0.07);
    color: var(--accent);
    font-size: 1.08rem;
    font-weight: 750;
  }

  .app-page .dashboard-reco-proof span,
  .app-page .dashboard-reco-proof em {
    color: var(--soft);
  }
}

@media (max-width: 390px) {
  .app-page .dashboard-reco-proof {
    grid-template-columns: 1fr;
  }

  .app-page .dashboard-reco-proof strong,
  .app-page .dashboard-reco-proof span,
  .app-page .dashboard-reco-proof em {
    min-height: 38px;
    text-align: left;
  }
}

/* Premium decision pages */
.dashboard-plan-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid rgba(198, 255, 46, 0.16);
  border-radius: 10px;
  background: rgba(198, 255, 46, 0.055);
}

.dashboard-plan-notice span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #071006;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.dashboard-plan-notice p {
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
}

.dashboard-plan-notice.is-pro {
  border-color: rgba(198, 255, 46, 0.24);
  background: linear-gradient(135deg, rgba(198, 255, 46, 0.095), rgba(255, 255, 255, 0.018));
}

.analysis-v2-board {
  grid-template-columns: 1fr;
}

.analysis-v2-context-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.analysis-v2-evidence-grid h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.25;
}

.analysis-v2-scenario-grid.is-low-confidence article.featured {
  border-color: rgba(255, 209, 102, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.1), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 24, 0.78);
}

.analysis-v2-scenario-grid.is-low-confidence article.featured span {
  color: #ffd166;
}

.analysis-v2-scorers {
  margin-top: 12px;
}

.analysis-v2-scorer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.analysis-v2-scorer-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    rgba(10, 15, 24, 0.68);
}

.analysis-v2-scorer-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(198, 255, 46, 0.1);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 750;
}

.analysis-v2-scorer-grid h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.2;
}

.analysis-v2-scorer-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
}

.analysis-v2-scorer-grid aside {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 4px;
}

.analysis-v2-scorer-grid aside strong {
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.analysis-v2-scorer-grid aside small {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
}

@media (max-width: 900px) {
  .analysis-v2-context-grid,
  .analysis-v2-scorer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .dashboard-plan-notice {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .analysis-v2-context-grid,
  .analysis-v2-scorer-grid {
    grid-template-columns: 1fr;
  }

  .analysis-v2-scorer-grid article {
    grid-template-columns: 1fr;
  }

  .analysis-v2-scorer-grid aside {
    grid-template-columns: auto auto;
    justify-content: start;
    justify-items: start;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .app-page .dashboard-reco-proof {
    grid-template-columns: minmax(74px, 0.78fr) minmax(0, 1.22fr);
    align-items: stretch;
  }

  .app-page .dashboard-reco-proof strong {
    grid-row: span 2;
    min-height: 70px;
    font-size: 1.15rem;
  }

  .app-page .dashboard-reco-proof span,
  .app-page .dashboard-reco-proof em {
    min-height: 34px;
    justify-items: start;
    text-align: left;
    white-space: normal;
  }
}

/* Premium home signal and editorial match analysis */
.dashboard-top-confidence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
  margin: 0 0 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(198, 255, 46, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 20%, rgba(198, 255, 46, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(16, 30, 31, 0.92), rgba(12, 13, 22, 0.94) 58%, rgba(28, 22, 43, 0.88)),
    rgba(9, 13, 20, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.dashboard-top-confidence.is-locked {
  border-color: rgba(137, 229, 255, 0.2);
  background:
    radial-gradient(circle at 12% 20%, rgba(137, 229, 255, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(15, 29, 36, 0.94), rgba(14, 13, 24, 0.94) 60%, rgba(30, 25, 45, 0.9));
}

.dashboard-top-confidence-main {
  min-width: 0;
}

.dashboard-top-confidence-main > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(198, 255, 46, 0.2);
  border-radius: 999px;
  background: rgba(198, 255, 46, 0.08);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-top-confidence-match {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.25;
}

.dashboard-top-confidence-main h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.28rem, 3vw, 2.1rem);
  font-weight: 720;
  line-height: 1.12;
}

.dashboard-top-confidence-main small {
  display: block;
  max-width: 760px;
  margin-top: 10px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
}

.dashboard-top-confidence-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 260px;
  align-content: stretch;
  gap: 10px;
}

.dashboard-top-confidence-metrics > div,
.dashboard-top-confidence-metrics > a {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  text-align: left;
}

.dashboard-top-confidence-metrics > a {
  align-items: center;
  justify-items: center;
  min-height: 58px;
}

.dashboard-top-confidence-metrics > .dashboard-top-confidence-cta {
  min-height: 78px;
  align-content: center;
  justify-content: center;
  justify-items: center;
  border-color: rgba(198, 255, 46, 0.36);
  background: linear-gradient(135deg, #dfff4e, #a9f51b);
  color: #081105;
  font-size: 0.9rem;
  font-weight: 820;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(198, 255, 46, 0.16);
}

.dashboard-top-confidence-metrics > .dashboard-top-confidence-cta:hover,
.dashboard-top-confidence-metrics > .dashboard-top-confidence-cta:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.dashboard-top-confidence-metrics strong,
.dashboard-top-confidence-metrics em {
  color: var(--accent);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 780;
  line-height: 1;
}

.dashboard-top-confidence-metrics span,
.dashboard-top-confidence-metrics small {
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 500;
}

.dashboard-top-confidence-metrics em {
  font-style: normal;
}

.dashboard-top-confidence-metrics small {
  margin-top: -2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-top-confidence-metrics span {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-top-confidence-metrics em + small {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 650;
  opacity: 0.88;
}

.dashboard-top-confidence-main p:not(.dashboard-top-confidence-match) {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 450;
}

.dashboard-top-confidence aside:not(.dashboard-top-confidence-metrics) em {
  margin-top: 8px;
  color: var(--text);
  font-size: 1.12rem;
  font-style: normal;
  font-weight: 700;
}

.analysis-v2-prose {
  display: grid;
  gap: 13px;
  max-width: 980px;
}

.analysis-v2-prose p {
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.72;
}

.analysis-v2-prose p.lead {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 420;
  line-height: 1.68;
}

.analysis-v2-match-analysis {
  border-color: rgba(137, 229, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(137, 229, 255, 0.055), rgba(198, 255, 46, 0.032)),
    rgba(10, 15, 24, 0.78);
}

@media (max-width: 760px) {
  .dashboard-top-confidence {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
    border-radius: 10px;
  }

  .dashboard-top-confidence-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .dashboard-top-confidence-metrics > div,
  .dashboard-top-confidence-metrics > a {
    min-height: 82px;
    padding: 12px;
  }

  .dashboard-top-confidence-main h2 {
    font-size: 1.34rem;
  }

  .dashboard-top-confidence-main small,
  .analysis-v2-prose p {
    font-size: 0.86rem;
  }

  .analysis-v2-prose p.lead {
    font-size: 0.94rem;
  }
}

/* 2026-06-23: mobile app polish for dashboard, recommendations, history, PRO and profile. */
.history-page,
.recommendations-clean,
.pro-conversion-page {
  box-sizing: border-box;
}

.pro-active-panel,
.profile-password-card {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.016)),
    rgba(10, 15, 25, 0.86);
}

.pro-active-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border-color: rgba(198, 255, 46, 0.24);
}

.pro-active-panel span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-active-panel h2 {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 680;
  line-height: 1.18;
}

.pro-active-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
}

.profile-password-card {
  padding: clamp(18px, 2.4vw, 24px);
}

.profile-password-card h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 650;
}

.history-page .page-title {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.history-page .page-title h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.08;
}

.history-page .page-title p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.55;
}

.history-page .page-title .btn {
  justify-self: start;
  margin-top: 2px;
}

.picks-history-panel {
  padding: clamp(18px, 2.4vw, 26px);
}

.picks-history-panel .section-heading {
  margin-bottom: 16px;
}

.picks-history-panel .section-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.picks-history-list {
  display: grid;
  gap: 12px;
}

.picks-history-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014)),
    rgba(10, 15, 25, 0.72);
}

.picks-history-list article > div {
  min-width: 0;
}

.picks-history-list article span {
  display: block;
  overflow: hidden;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.picks-history-list h3 {
  margin: 8px 0 7px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 640;
  line-height: 1.24;
}

.picks-history-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.4;
}

.picks-history-list aside {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.picks-history-list aside strong {
  color: var(--accent);
  font-size: 1.55rem;
  font-weight: 760;
  line-height: 1;
}

.pick-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.pick-status-validated {
  border-color: rgba(45, 212, 139, 0.28);
  color: #7df0b0;
}

.pick-status-lost {
  border-color: rgba(255, 107, 107, 0.28);
  color: #ff9a9a;
}

.pick-status-void {
  border-color: rgba(137, 229, 255, 0.22);
  color: #9ee9ff;
}

@media (max-width: 760px) {
  .app-page .app-main {
    padding-inline: 16px;
    padding-bottom: 118px;
  }

  .global-pro-banner {
    width: calc(100% - 28px);
    margin-top: 10px;
    padding: 10px;
    gap: 9px;
    border-radius: 14px;
  }

  .global-pro-banner-copy {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px 7px;
  }

  .global-pro-banner-copy span {
    min-height: 21px;
    padding: 3px 7px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .global-pro-banner-copy strong {
    font-size: 0.86rem;
  }

  .global-pro-banner-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .global-pro-banner-cta {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .app-page .dashboard-briefing {
    display: grid;
    gap: 12px;
    padding: 18px 0 4px;
  }

  .app-page .dashboard-briefing h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.13;
  }

  .app-page .dashboard-briefing p:not(.eyebrow) {
    max-width: 98%;
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .app-page .dashboard-briefing .status-pill {
    justify-self: start;
    min-height: 30px;
    padding: 6px 11px;
    font-size: 0.72rem;
  }

  .app-page .dashboard-top-confidence {
    gap: 11px;
    margin-bottom: 14px;
    padding: 13px;
  }

  .app-page .dashboard-top-confidence-main > span {
    margin-bottom: 8px;
    padding: 5px 9px;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .app-page .dashboard-top-confidence-match {
    overflow: hidden;
    margin-bottom: 8px;
    padding: 5px 9px;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-page .dashboard-top-confidence-main h2 {
    overflow: hidden;
    font-size: clamp(1rem, 4.1vw, 1.22rem);
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-page .dashboard-top-confidence-main small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-top: 8px;
    font-size: 0.83rem;
    line-height: 1.45;
  }

  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
    padding: 0;
  }

  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics > div,
  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics > a {
    min-height: 62px;
    padding: 10px;
  }

  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics > .dashboard-top-confidence-cta {
    min-height: 62px;
    color: #081105;
    font-size: 0.82rem;
    font-weight: 820;
  }

  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics strong,
  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics em {
    font-size: 1.22rem;
  }

  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics span,
  .app-page .dashboard-top-confidence .dashboard-top-confidence-metrics small {
    font-size: 0.64rem;
  }

  .app-page .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .app-page .metric-card {
    min-height: 88px;
    padding: 14px;
  }

  .app-page .metric-card span {
    font-size: 1.55rem;
  }

  .app-page .metric-card p {
    font-size: 0.82rem;
  }

  .app-page .section-head {
    align-items: end;
    margin-top: 20px;
    gap: 10px;
  }

  .app-page .section-head h2 {
    font-size: 1.26rem;
  }

  .app-page .section-head p {
    display: none;
  }

  .recommendations-proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .recommendations-proof-strip span:not(:last-child) {
    padding-right: 0;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .recommendation-action-card {
    padding: 15px;
  }

  .recommendation-action-main h2 {
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .recommendation-action-main p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .recommendation-action-odd {
    justify-items: start;
  }

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

  .history-proof-grid article {
    min-height: 92px;
    padding: 14px;
  }

  .history-proof-grid span {
    font-size: 1.65rem;
    line-height: 1;
  }

  .picks-history-panel {
    padding: 16px;
    border-radius: 12px;
  }

  .picks-history-list article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

  .picks-history-list aside {
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
  }

  .picks-history-list aside small:last-child {
    justify-self: end;
    color: var(--muted);
    font-size: 0.76rem;
  }

  .picks-history-list aside strong {
    font-size: 1.35rem;
  }

  .history-page .pagination {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .pro-active-panel,
  .pro-cancel-card {
    display: grid;
    padding: 16px;
  }

  .pro-active-panel .btn,
  .pro-cancel-card .btn {
    width: 100%;
  }

  .profile-password-card {
    padding: 18px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .app-page .app-main {
    padding-inline: 14px;
  }

  .global-pro-banner {
    grid-template-columns: 1fr;
  }

  .global-pro-banner-cta {
    width: 100%;
  }

  .app-page .dashboard-reco-proof {
    grid-template-columns: 1fr;
  }

  .app-page .dashboard-reco-proof strong,
  .app-page .dashboard-reco-proof span,
  .app-page .dashboard-reco-proof em {
    min-height: 36px;
    text-align: left;
  }

  .picks-history-list aside {
    grid-template-columns: 1fr;
  }

  .picks-history-list aside small:last-child {
    justify-self: start;
  }

  .streamer-card.glass-panel {
    padding: 16px;
  }

  .streamer-card .section-heading {
    min-width: 0;
  }

  .streamer-card .section-heading h2 {
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .streamer-card .section-heading p {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .streamer-toggle {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .streamer-toggle input {
    justify-self: start;
  }

  .streamer-form .btn {
    width: 100%;
  }
}

/* Production public polish */
.hero-statement h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 8vw, 4.1rem);
  font-weight: 850;
  line-height: 1.06;
}

.hero-statement h1 span {
  color: inherit;
}

.hero-statement h1 span span {
  color: var(--accent);
}

.hero-statement h2 {
  display: none;
}

.feature-rail h3 {
  max-width: 9.5rem;
  line-height: 1.15;
}

.social-login strong {
  min-width: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 650;
  line-height: 1.2;
}

.auth-help-link {
  justify-self: start;
  margin-top: -2px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.auth-help-link:hover,
.auth-help-link:focus-visible {
  text-decoration: underline;
}

.legal-note {
  border-color: rgba(198, 255, 46, 0.16);
  background:
    linear-gradient(135deg, rgba(198, 255, 46, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(10, 15, 24, 0.78);
}

@media (min-width: 900px) {
  .hero-statement h1 {
    font-size: clamp(2.45rem, 4.35vw, 3.55rem);
  }
}

@media (max-width: 760px) {
  .landing-page .public-nav {
    padding-top: 18px;
  }

  .hero-statement h1 {
    max-width: 11.8em;
    font-size: clamp(1.82rem, 8.4vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-statement p {
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .feature-rail {
    gap: 10px;
  }

  .feature-rail h3 {
    max-width: none;
    font-size: 1rem;
    line-height: 1.2;
  }
}

@media (max-width: 430px) {
  .hero-statement h1 {
    max-width: 10.8em;
    font-size: clamp(1.66rem, 8.6vw, 2.08rem);
  }

  .hero-statement p {
    font-size: 0.88rem;
  }
}

/* Live support widget */
.support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: inherit;
}

.support-widget [hidden] {
  display: none !important;
}

.support-widget-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(198, 255, 46, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 18%, rgba(198, 255, 46, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(20, 28, 31, 0.98), rgba(8, 10, 15, 0.98));
  color: var(--accent);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(198, 255, 46, 0.055);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-widget-toggle:hover,
.support-widget-toggle:focus-visible {
  border-color: rgba(198, 255, 46, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46), 0 0 0 6px rgba(198, 255, 46, 0.09);
  transform: translateY(-2px);
}

.support-widget-toggle > span {
  position: relative;
  display: block;
  width: 25px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 9px;
}

.support-widget-toggle > span::before {
  position: absolute;
  right: 3px;
  bottom: -6px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 5px 0;
  background: transparent;
  content: "";
  transform: rotate(34deg);
}

.support-widget-toggle > span::after {
  position: absolute;
  left: 6px;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor, 12px 0 0 currentColor;
  content: "";
}

.support-widget-toggle::after {
  position: absolute;
  right: 3px;
  top: 4px;
  width: 11px;
  height: 11px;
  border: 2px solid #080b10;
  border-radius: 50%;
  background: #ffcf70;
  content: "";
}

.support-widget.is-online .support-widget-toggle::after {
  background: #45e38a;
}

.support-widget.is-offline .support-widget-toggle::after {
  background: #ffcf70;
}

.support-widget-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(198, 255, 46, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(15, 22, 33, 0.98), rgba(9, 11, 18, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.support-widget-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.support-widget-panel header strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 720;
}

.support-widget-panel header small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.support-widget-panel header small::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffcf70;
  content: "";
}

.support-widget-panel header small.online::before {
  background: #45e38a;
}

.support-widget-panel header button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.support-widget-body {
  display: grid;
  min-height: 330px;
}

.support-live {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 330px;
}

.support-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 310px;
  overflow: auto;
  padding: 14px;
}

.support-message {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
}

.support-message p {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.42;
}

.support-message-admin {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.support-message-user {
  align-self: flex-end;
  background: var(--accent);
  color: #071006;
}

.support-form,
.support-offline {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  padding: 12px;
}

.support-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.support-form textarea,
.support-offline textarea {
  width: 100%;
  min-height: 46px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  outline: none;
  padding: 11px 12px;
}

.support-form textarea:focus,
.support-offline textarea:focus {
  border-color: rgba(198, 255, 46, 0.32);
}

.support-form button,
.support-offline button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #071006;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 14px;
}

.support-form button:disabled,
.support-offline button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.support-offline {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 15px;
}

.support-offline p,
.support-offline label,
.support-offline small {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.45;
}

.support-offline strong {
  color: var(--text);
}

.support-offline label {
  display: grid;
  gap: 7px;
}

@media (max-width: 760px) {
  .support-widget {
    right: 14px;
    bottom: 92px;
  }

  .support-widget-panel {
    bottom: 58px;
    width: calc(100vw - 28px);
  }

  .support-widget-toggle {
    width: 48px;
    height: 48px;
  }

  .support-widget-toggle > span {
    width: 22px;
    height: 17px;
  }
}

.affiliate-page .page-title,
.admin-affiliation-page .page-title {
  margin-bottom: 20px;
}

.admin-affiliation-page .compact-form {
  gap: 8px;
}

.admin-affiliation-page .compact-form label {
  gap: 4px;
  font-size: 0.72rem;
}

.admin-affiliation-page .compact-form input,
.admin-affiliation-page .compact-form select {
  min-height: 34px;
  border-radius: 10px;
  font-size: 0.78rem;
  padding: 0 9px;
}

.admin-affiliation-page .compact-form button {
  width: max-content;
}

.affiliate-page {
  display: grid;
  gap: 18px;
}

.affiliate-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.affiliate-hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 620;
  line-height: 1.04;
}

.affiliate-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.55;
}

.affiliate-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(198, 255, 46, .28);
  border-radius: 999px;
  background: rgba(198, 255, 46, .1);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 780;
  white-space: nowrap;
}

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

.affiliate-primer article,
.affiliate-tier-grid article,
.affiliate-stats article {
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
    rgba(9, 14, 24, .72);
}

.affiliate-primer article {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.affiliate-primer span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.affiliate-primer strong {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 650;
}

.affiliate-primer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.affiliate-tier-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
}

.affiliate-tier-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr);
  gap: 18px;
  align-items: end;
}

.affiliate-tier-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 620;
  line-height: 1.12;
}

.affiliate-tier-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.affiliate-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.affiliate-tier-grid article {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 14px;
}

.affiliate-tier-grid article.is-current {
  border-color: rgba(198, 255, 46, .32);
  background:
    radial-gradient(circle at 20% 0%, rgba(198, 255, 46, .16), transparent 42%),
    rgba(11, 18, 26, .88);
  box-shadow: 0 18px 48px rgba(198, 255, 46, .08);
}

.affiliate-tier-grid small,
.affiliate-tier-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 420;
}

.affiliate-tier-grid strong {
  color: var(--accent);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 760;
  line-height: 1;
}

.affiliate-grid,
.affiliate-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  gap: 16px;
  margin-bottom: 16px;
}

.affiliate-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.affiliate-link-card,
.affiliate-rate-card,
.affiliate-create-card,
.affiliate-payout-card,
.affiliate-table-card,
.affiliate-referrals-card,
.affiliate-profile-card {
  padding: clamp(18px, 3vw, 28px);
}

.affiliate-link-card,
.affiliate-rate-card,
.affiliate-payout-card,
.affiliate-table-card,
.affiliate-referrals-card,
.affiliate-create-card {
  border-radius: 18px;
}

.affiliate-profile-card,
.affiliate-create-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.affiliate-copy-box {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(198, 255, 46, .26);
  border-radius: 14px;
  background: rgba(198, 255, 46, .08);
  color: var(--text);
  overflow-x: auto;
  white-space: nowrap;
}

.affiliate-link-card h2 {
  margin: 6px 0 0;
  font-size: clamp(1.65rem, 4vw, 2.8rem);
  font-weight: 680;
  letter-spacing: 0;
}

.affiliate-code-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.affiliate-code-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(198, 255, 46, .14);
  color: var(--accent);
  font-size: 0.86rem;
}

.affiliate-code-row small {
  color: var(--soft);
  font-size: 0.78rem;
}

.affiliate-rate-card {
  display: grid;
  align-content: center;
  min-height: 168px;
  gap: 8px;
}

.affiliate-rate-card span,
.affiliate-stats span {
  color: var(--muted);
}

.affiliate-rate-card strong,
.affiliate-stats strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1;
}

.affiliate-rate-card small {
  color: var(--soft);
  font-size: 0.76rem;
}

.affiliate-stats article {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.affiliate-bank-preview {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}

.affiliate-table-card .embedded {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.affiliate-referral-list {
  display: grid;
  gap: 10px;
}

.affiliate-referral-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.affiliate-referral-list span {
  color: var(--muted);
  text-align: right;
}

.form-grid .span-2 {
  grid-column: span 2;
}

@media (max-width: 760px) {
  .affiliate-page {
    gap: 14px;
  }

  .affiliate-hero,
  .affiliate-tier-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .affiliate-hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .affiliate-primer,
  .affiliate-tier-grid {
    grid-template-columns: 1fr;
  }

  .affiliate-primer article,
  .affiliate-tier-grid article {
    min-height: 0;
  }

  .affiliate-grid,
  .affiliate-stats {
    grid-template-columns: 1fr;
  }

  .affiliate-profile-card,
  .affiliate-create-card {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-profile-card .btn,
  .affiliate-create-card .btn {
    width: 100%;
  }

  .affiliate-link-card h2 {
    font-size: 1.8rem;
  }

  .affiliate-rate-card {
    min-height: 128px;
  }

  .affiliate-code-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .affiliate-referral-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .affiliate-referral-list span {
    text-align: left;
  }

  .form-grid .span-2 {
    grid-column: span 1;
  }
}

/* Mobile bottom navigation polish */
body.app-page,
body.chat-page {
  overflow-x: hidden;
}

.bottom-nav,
.chat-page .bottom-nav {
  position: fixed;
  z-index: 60;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: min(calc(100vw - 20px), 560px);
  min-height: 68px;
  padding: 7px 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.bottom-nav a {
  display: grid;
  min-width: 0;
  min-height: 52px;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 5px 3px;
  border-radius: 14px;
  color: #15181d;
  font-size: 0.66rem;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.bottom-nav-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: currentColor;
}

.bottom-nav-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav a.active {
  background: linear-gradient(135deg, rgba(198, 255, 46, 0.94), rgba(226, 255, 91, 0.94));
  color: #071105;
  box-shadow: 0 8px 20px rgba(198, 255, 46, 0.28);
}

.bottom-nav a:active {
  transform: translateY(1px);
}

@media (min-width: 900px) {
  .bottom-nav,
  .chat-page .bottom-nav {
    display: none;
  }
}

@media (max-width: 380px) {
  .bottom-nav,
  .chat-page .bottom-nav {
    width: min(calc(100vw - 16px), 560px);
    min-height: 64px;
    padding: 6px;
    border-radius: 16px;
  }

  .bottom-nav a {
    min-height: 50px;
    font-size: 0.6rem;
  }

  .bottom-nav-icon,
  .bottom-nav-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 899px) {
  body.chat-page .chat-main {
    padding-bottom: calc(154px + var(--chat-keyboard-inset, 0px));
  }

  body.chat-page .chat-form {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px) + var(--chat-keyboard-inset, 0px));
  }

  body.chat-page .chat-pro-lockbar {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

/* Affiliate premium dashboard */
.affiliate-dashboard-shell {
  width: min(1180px, calc(100vw - 36px));
  margin-inline: auto;
  padding-bottom: 116px;
}

.affiliate-dashboard-page .app-main {
  padding-top: clamp(24px, 4vw, 42px);
}

.affiliate-hero-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(198, 255, 46, .13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(198, 255, 46, .13), transparent 34%),
    linear-gradient(135deg, rgba(15, 24, 33, .96), rgba(11, 12, 22, .92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.affiliate-dashboard-shell .affiliate-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 560;
  letter-spacing: 0;
}

.affiliate-dashboard-shell .affiliate-hero p {
  max-width: 680px;
  margin-top: 12px;
  font-size: .98rem;
}

.affiliate-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.affiliate-kpi-card {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .018)),
    rgba(9, 13, 21, .86);
}

.affiliate-kpi-card span,
.affiliate-table-count,
.affiliate-daily-card span,
.affiliate-mobile-list small {
  color: var(--muted);
  font-size: .78rem;
}

.affiliate-kpi-card strong {
  display: block;
  margin: 12px 0 10px;
  color: var(--accent);
  font-size: clamp(1.55rem, 3vw, 2.12rem);
  font-weight: 700;
  line-height: 1;
}

.affiliate-kpi-card small {
  color: var(--soft);
  font-size: .78rem;
  line-height: 1.38;
}

.affiliate-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, .58fr);
  gap: 14px;
}

.affiliate-share-card,
.affiliate-progress-card,
.affiliate-panel,
.affiliate-payout-card {
  border-radius: 20px;
}

.affiliate-share-card,
.affiliate-progress-card {
  padding: clamp(18px, 3vw, 28px);
}

.affiliate-share-card h2,
.affiliate-progress-card h2 {
  margin: 4px 0 10px;
  color: var(--text);
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  font-weight: 650;
  line-height: 1;
}

.affiliate-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
}

.affiliate-copy-row .btn {
  min-height: 52px;
}

.affiliate-copy-box {
  max-width: 100%;
  font-size: .92rem;
  margin: 0;
}

.affiliate-progress-card {
  display: grid;
  align-content: center;
  gap: 10px;
}

.affiliate-progress-card p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.affiliate-progress-card small {
  color: var(--muted);
  font-size: .78rem;
}

.affiliate-progress-bar {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.affiliate-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #76f6d0);
  box-shadow: 0 0 18px rgba(198, 255, 46, .32);
}

.affiliate-panel,
.affiliate-payout-card {
  padding: clamp(18px, 3vw, 26px);
}

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

.affiliate-panel-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 620;
}

.affiliate-panel-head p:not(.eyebrow) {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.affiliate-range-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.affiliate-range-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.affiliate-range-tabs a.active {
  background: var(--accent);
  color: #101500;
}

.affiliate-daily-table table {
  min-width: 760px;
}

.affiliate-daily-table td:not(:first-child),
.affiliate-daily-table th:not(:first-child) {
  text-align: right;
}

.affiliate-daily-table td strong {
  color: var(--text);
}

.affiliate-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 16px;
}

.affiliate-table-wrap table {
  min-width: 820px;
  width: 100%;
  border-collapse: collapse;
}

.affiliate-table-wrap th,
.affiliate-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  text-align: left;
  vertical-align: middle;
}

.affiliate-table-wrap th {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.affiliate-table-wrap td {
  color: var(--text);
  font-size: .88rem;
}

.affiliate-table-wrap td small {
  color: var(--soft);
}

.affiliate-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 760;
  white-space: nowrap;
}

.affiliate-status-badge.is-pro {
  border-color: rgba(198, 255, 46, .28);
  background: rgba(198, 255, 46, .12);
  color: var(--accent);
}

.affiliate-status-badge.is-free {
  color: var(--soft);
}

.affiliate-mobile-list {
  display: none;
}

.affiliate-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: .82rem;
}

.affiliate-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.affiliate-create-form {
  display: grid;
  gap: 10px;
  min-width: min(420px, 100%);
}

.affiliate-create-form label {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 680;
}

.affiliate-create-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.affiliate-payout-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.affiliate-payout-card h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
}

.affiliate-payout-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .affiliate-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .affiliate-dashboard-layout,
  .affiliate-payout-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .affiliate-dashboard-shell {
    width: min(100%, calc(100vw - 22px));
    padding-bottom: 104px;
  }

  .affiliate-dashboard-page .app-main {
    padding-top: 18px;
  }

  .affiliate-hero-card {
    padding: 18px;
    border-radius: 18px;
  }

  .affiliate-dashboard-shell .affiliate-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .affiliate-dashboard-shell .affiliate-hero p {
    font-size: .9rem;
  }

  .affiliate-status-pill {
    min-height: 34px;
    width: fit-content;
    font-size: .74rem;
  }

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

  .affiliate-kpi-card {
    min-height: 112px;
    padding: 14px;
    border-radius: 16px;
  }

  .affiliate-kpi-card strong {
    margin: 9px 0 7px;
    font-size: 1.42rem;
  }

  .affiliate-share-card,
  .affiliate-progress-card,
  .affiliate-panel,
  .affiliate-payout-card,
  .affiliate-create-card {
    padding: 16px;
    border-radius: 17px;
  }

  .affiliate-panel-head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .affiliate-range-tabs {
    width: 100%;
  }

  .affiliate-range-tabs a {
    flex: 1;
    justify-content: center;
  }

  .affiliate-desktop-table {
    display: none;
  }

  .affiliate-daily-table {
    display: block;
  }

  .affiliate-daily-table table {
    min-width: 650px;
  }

  .affiliate-copy-row {
    grid-template-columns: 1fr;
  }

  .affiliate-mobile-list {
    display: grid;
    gap: 10px;
  }

  .affiliate-mobile-list article {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 15px;
    background: rgba(255, 255, 255, .035);
  }

  .affiliate-mobile-list article > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .affiliate-mobile-list strong {
    color: var(--text);
    font-size: .96rem;
  }

  .affiliate-mobile-list span {
    color: var(--muted);
    font-size: .76rem;
    text-align: right;
  }

  .affiliate-mobile-list p {
    margin: 0;
    color: var(--muted);
    font-size: .83rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .affiliate-pagination {
    flex-wrap: wrap;
    font-size: .78rem;
  }

  .affiliate-create-form,
  .affiliate-create-form div {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .affiliate-payout-card .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin finance dashboard */
.admin-finance-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-finance-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .018)),
    rgba(9, 13, 21, .86);
}

.admin-finance-card.is-primary {
  border-color: rgba(198, 255, 46, .22);
  background:
    radial-gradient(circle at 0 0, rgba(198, 255, 46, .18), transparent 42%),
    linear-gradient(135deg, rgba(17, 29, 28, .96), rgba(12, 13, 24, .94));
}

.admin-finance-card span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-finance-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--accent);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

.admin-finance-card p,
.admin-finance-card small {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}

.admin-finance-breakdown {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 22px;
  margin-bottom: 22px;
  padding: clamp(18px, 3vw, 26px);
}

.admin-finance-breakdown h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 620;
}

.admin-finance-breakdown p,
.admin-finance-breakdown small {
  color: var(--muted);
}

.admin-finance-breakdown dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.admin-finance-breakdown dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.admin-finance-breakdown dt {
  color: var(--muted);
  font-size: .82rem;
}

.admin-finance-breakdown dd {
  margin: 0;
  color: var(--text);
  font-weight: 720;
}

.settings-finance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .admin-finance-grid,
  .admin-finance-breakdown {
    grid-template-columns: 1fr 1fr;
  }

  .settings-finance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-finance-grid,
  .admin-finance-breakdown,
  .settings-finance-grid {
    grid-template-columns: 1fr;
  }

  .admin-finance-card {
    min-height: 122px;
    padding: 15px;
  }

  .admin-finance-breakdown {
    padding: 16px;
  }
}

/* 2026-06-28: dashboard connecté façon app, sans toucher à la landing */
.dashboard-hub-page {
  background:
    radial-gradient(circle at 12% 6%, rgba(198, 255, 46, .11), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(73, 214, 255, .12), transparent 26%),
    linear-gradient(180deg, #05080f 0%, #070912 48%, #090617 100%);
}

.dashboard-hub {
  width: min(100%, 1120px);
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.dashboard-hub-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(198, 255, 46, .15), transparent 42%),
    linear-gradient(135deg, rgba(17, 26, 40, .94), rgba(9, 13, 24, .9));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.dashboard-hub-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(198, 255, 46, .42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(198, 255, 46, .2), transparent 56%),
    rgba(10, 14, 22, .88);
  box-shadow: 0 0 26px rgba(198, 255, 46, .13);
}

.dashboard-hub-avatar img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.dashboard-hub-hero .eyebrow {
  margin: 0 0 4px;
}

.dashboard-hub-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 680;
  line-height: 1;
  letter-spacing: 0;
}

.dashboard-hub-hero p:not(.eyebrow) {
  max-width: 580px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.45;
}

.dashboard-hub-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .01em;
  white-space: nowrap;
}

.dashboard-hub-access.is-pro {
  color: #06100b;
  background: linear-gradient(135deg, var(--accent), #e2ff6a);
  box-shadow: 0 14px 34px rgba(198, 255, 46, .18);
}

.dashboard-hub-access.is-free {
  color: var(--accent);
  border: 1px solid rgba(198, 255, 46, .34);
  background: rgba(198, 255, 46, .08);
}

.dashboard-hub-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
}

.dashboard-hub-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(198, 255, 46, .18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.dashboard-hub-loading strong {
  color: var(--text);
  font-size: .96rem;
}

.dashboard-hub-loading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

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

.dashboard-hub-card {
  --hub-color: var(--accent);
  position: relative;
  display: grid;
  min-height: 166px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 26px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--hub-color) 20%, transparent), transparent 38%),
    linear-gradient(145deg, rgba(17, 25, 40, .94), rgba(10, 11, 24, .94));
  box-shadow: 0 18px 56px rgba(0, 0, 0, .2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dashboard-hub-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hub-color) 15%, transparent);
  filter: blur(18px);
  pointer-events: none;
}

.dashboard-hub-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--hub-color) 42%, rgba(255, 255, 255, .08));
  box-shadow: 0 24px 72px rgba(0, 0, 0, .28);
}

.hub-direct {
  --hub-color: #79f3ff;
}

.hub-matches {
  --hub-color: var(--accent);
}

.hub-advice {
  --hub-color: #a78bfa;
}

.hub-chat {
  --hub-color: #47f2a8;
}

.dashboard-hub-card.is-locked {
  --hub-color: #c6ff2e;
}

.hub-card-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--hub-color) 38%, rgba(255, 255, 255, .08));
  border-radius: 16px;
  color: var(--hub-color);
  background: color-mix(in srgb, var(--hub-color) 12%, rgba(255, 255, 255, .035));
}

.hub-card-visual svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.hub-direct .hub-card-visual i {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(121, 243, 255, .24);
  border-radius: 50%;
}

.hub-direct .hub-card-visual i:nth-child(2) {
  inset: 15px;
}

.hub-direct .hub-card-visual i:nth-child(3) {
  inset: 21px;
  background: rgba(121, 243, 255, .3);
}

.hub-card-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 5px;
}

.hub-card-copy strong {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: 0;
}

.hub-card-copy small {
  max-width: 190px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}

.dashboard-hub-card em {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  max-width: 92px;
  overflow: hidden;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--hub-color) 35%, rgba(255, 255, 255, .08));
  border-radius: 999px;
  color: var(--hub-color);
  background: rgba(6, 10, 18, .42);
  font-size: .68rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-hub-today {
  display: grid;
  gap: 13px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .035);
}

.dashboard-hub-today header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-hub-today header strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
}

.dashboard-hub-today header span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 720;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dashboard-hub-today > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.dashboard-hub-today article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
}

.dashboard-hub-today article strong {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 760;
  line-height: 1;
}

.dashboard-hub-today article span {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-hub-pro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(121, 243, 255, .22);
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at 0 0, rgba(121, 243, 255, .15), transparent 35%),
    linear-gradient(135deg, rgba(10, 26, 36, .92), rgba(12, 11, 25, .94));
}

.dashboard-hub-pro > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #07101d;
  background: var(--accent);
  font-size: .82rem;
  font-weight: 900;
}

.dashboard-hub-pro strong {
  display: block;
  color: var(--text);
  font-size: .98rem;
  font-weight: 780;
}

.dashboard-hub-pro p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}

.dashboard-hub-pro em {
  color: var(--accent);
  font-size: 1.35rem;
  font-style: normal;
}

.dashboard-hub-empty {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
}

.dashboard-hub-empty strong {
  color: var(--text);
  font-size: 1rem;
}

.dashboard-hub-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .dashboard-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dashboard-hub {
    padding-top: 20px;
  }

  .dashboard-hub-hero {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 23px;
  }

  .dashboard-hub-avatar {
    width: 52px;
    height: 52px;
  }

  .dashboard-hub-hero h1 {
    font-size: 1.72rem;
  }

  .dashboard-hub-hero p:not(.eyebrow) {
    margin-top: 6px;
    font-size: .83rem;
    line-height: 1.35;
  }

  .dashboard-hub-access {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 0;
    padding: 7px 11px;
    font-size: .72rem;
  }

  .dashboard-hub-grid {
    gap: 10px;
  }

  .dashboard-hub-card {
    min-height: 138px;
    padding: 13px;
    border-radius: 21px;
  }

  .hub-card-visual {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .hub-card-visual svg {
    width: 22px;
    height: 22px;
  }

  .hub-card-copy strong {
    font-size: .99rem;
  }

  .hub-card-copy small {
    font-size: .72rem;
  }

  .dashboard-hub-card em {
    top: 12px;
    right: 12px;
    max-width: 74px;
    padding: 5px 7px;
    font-size: .62rem;
  }

  .dashboard-hub-today {
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .dashboard-hub-today > div {
    gap: 6px;
  }

  .dashboard-hub-today article {
    padding: 9px 6px;
    border-radius: 14px;
    text-align: center;
  }

  .dashboard-hub-today article strong {
    font-size: 1.08rem;
  }

  .dashboard-hub-today article span {
    font-size: .64rem;
  }

  .dashboard-hub-pro {
    margin-top: 12px;
    padding: 13px;
    border-radius: 20px;
  }

  .dashboard-hub-pro > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: .76rem;
  }
}

/* 2026-06-28: app-like shell for connected dashboard pages */
.app-screen-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(198, 255, 46, .12), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(56, 189, 248, .13), transparent 28%),
    linear-gradient(180deg, #05080f 0%, #080b14 54%, #090617 100%);
}

body.app-page .app-header {
  border-bottom-color: rgba(255, 255, 255, .07);
  background: rgba(5, 7, 12, .82);
  backdrop-filter: blur(18px);
}

.app-screen {
  width: min(100%, 980px);
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.app-screen-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 0, rgba(198, 255, 46, .14), transparent 40%),
    linear-gradient(135deg, rgba(17, 25, 40, .96), rgba(10, 11, 24, .95));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
}

.app-screen-hero.compact {
  padding: 18px;
}

.app-screen-hero h1 {
  margin: 3px 0 8px;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 760;
  line-height: .98;
  letter-spacing: 0;
}

.app-screen-hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.app-screen-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 10px 14px;
  border: 1px solid rgba(198, 255, 46, .34);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(198, 255, 46, .09);
  font-size: .8rem;
  font-weight: 850;
  white-space: nowrap;
}

.app-screen-pill.is-live {
  border-color: rgba(121, 243, 255, .36);
  color: #9af6ff;
  background: rgba(121, 243, 255, .1);
}

.app-date-strip {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.app-date-strip a {
  display: grid;
  min-width: 136px;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
}

.app-date-strip a.active {
  color: #07100b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #e3ff64);
  box-shadow: 0 14px 36px rgba(198, 255, 46, .18);
}

.app-date-strip strong {
  font-size: .82rem;
  font-weight: 820;
  line-height: 1.1;
}

.app-date-strip span {
  font-size: .68rem;
  font-weight: 680;
  opacity: .78;
}

.app-filter-row {
  display: flex;
  gap: 9px;
  margin: 0 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.app-filter-row::-webkit-scrollbar {
  display: none;
}

.app-filter-row span,
.app-filter-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .055);
  font-size: .82rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.app-filter-row .active {
  color: #07100b;
  border-color: transparent;
  background: var(--accent);
}

.app-filter-row .is-blue {
  color: #9af6ff;
  border-color: rgba(121, 243, 255, .24);
  background: rgba(121, 243, 255, .09);
}

.app-filter-row strong {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, .1);
  font-size: .72rem;
}

.app-data-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  font-size: .75rem;
}

.app-data-chip span {
  color: var(--accent);
  font-weight: 850;
  letter-spacing: .05em;
}

.app-data-chip strong {
  color: var(--soft);
  font-weight: 680;
}

.app-competition-stack {
  display: grid;
  gap: 12px;
}

.app-competition {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .044), rgba(255, 255, 255, .018)),
    rgba(10, 15, 25, .76);
}

.app-competition summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.app-competition summary::-webkit-details-marker {
  display: none;
}

.app-competition summary span {
  min-width: 0;
  overflow: hidden;
  font-size: .98rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-competition summary small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 780;
  white-space: nowrap;
}

.app-competition summary::after {
  content: "⌄";
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.app-competition[open] summary::after {
  transform: rotate(180deg);
}

.app-competition > div {
  display: grid;
  gap: 7px;
  padding: 0 10px 10px;
}

.app-match-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 17px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, .045);
}

.app-match-row.is-live {
  border-color: rgba(121, 243, 255, .22);
  background:
    radial-gradient(circle at 0 0, rgba(121, 243, 255, .1), transparent 40%),
    rgba(255, 255, 255, .045);
}

.app-match-status {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  text-align: center;
}

.app-match-row.is-live .app-match-status {
  color: #9af6ff;
}

.app-match-teams {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.app-match-team {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.app-match-team strong {
  min-width: 0;
  overflow: hidden;
  color: var(--soft);
  font-size: .92rem;
  font-weight: 620;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-match-row.is-finished .app-match-team strong {
  color: var(--muted);
}

.app-team-flag {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.app-team-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-team-flag em {
  color: var(--accent);
  font-size: .55rem;
  font-style: normal;
  font-weight: 900;
}

.app-match-score {
  display: grid;
  justify-items: center;
  min-width: 34px;
  gap: 3px;
  color: var(--text);
}

.app-match-score strong {
  font-size: 1rem;
  font-weight: 840;
  line-height: 1;
}

.app-match-star {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, .4);
  font-size: 1.35rem;
}

.direct-signal-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(198, 255, 46, .2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 0, rgba(198, 255, 46, .14), transparent 38%),
    linear-gradient(135deg, rgba(18, 31, 31, .92), rgba(11, 13, 25, .94));
}

.direct-signal-card.is-active {
  border-color: rgba(121, 243, 255, .28);
}

.direct-radar {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: rgba(198, 255, 46, .08);
}

.direct-radar i {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(198, 255, 46, .32);
  border-radius: 50%;
}

.direct-radar i:nth-child(2) {
  inset: 18px;
}

.direct-radar i:nth-child(3) {
  inset: 28px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(198, 255, 46, .55);
}

.direct-signal-card strong {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
}

.direct-signal-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
}

.app-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 10px;
}

.app-section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 760;
}

.app-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.app-section-head a,
.app-section-head > span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.app-pro-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid rgba(121, 243, 255, .24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 8%, rgba(121, 243, 255, .18), transparent 34%),
    linear-gradient(135deg, rgba(11, 29, 40, .94), rgba(13, 10, 27, .96));
  box-shadow: 0 22px 72px rgba(0, 0, 0, .25);
}

.app-pro-hero.is-unlocked {
  border-color: rgba(198, 255, 46, .24);
  background:
    radial-gradient(circle at 0 0, rgba(198, 255, 46, .16), transparent 38%),
    linear-gradient(135deg, rgba(17, 27, 33, .96), rgba(10, 11, 24, .95));
}

.app-pro-hero span {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #07100b;
  background: var(--accent);
  font-size: .72rem;
  font-weight: 900;
}

.app-pro-hero h1 {
  max-width: 640px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.app-pro-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.45;
}

.app-pro-hero .btn {
  width: max-content;
  min-width: 220px;
}

.app-advice-list {
  display: grid;
  gap: 10px;
}

.app-advice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .046), rgba(255, 255, 255, .02)),
    rgba(10, 15, 25, .78);
}

.app-advice-main {
  min-width: 0;
}

.app-match-label {
  display: block;
  overflow: hidden;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-advice-matchline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .6);
}

.app-advice-matchline i {
  display: inline-grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, .08);
  font-size: .55rem;
  font-style: normal;
  font-weight: 950;
}

.app-advice-matchline b {
  min-width: 0;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-advice-matchline em {
  color: rgba(255, 255, 255, .52);
  font-style: normal;
}

.app-advice-main h2 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-advice-main small {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-advice-metrics {
  display: grid;
  grid-template-columns: repeat(2, 74px);
  gap: 7px;
}

.app-advice-metrics span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}

.app-advice-metrics small {
  color: var(--muted);
  font-size: .62rem;
  font-weight: 780;
  text-transform: uppercase;
}

.app-advice-metrics strong {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 850;
}

.app-advice-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.app-advice-footer span,
.app-advice-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, .045);
  font-size: .72rem;
  font-weight: 760;
  text-decoration: none;
}

.app-advice-footer a {
  color: #9af6ff;
  border-color: rgba(121, 243, 255, .22);
}

.app-locked-signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(121, 243, 255, .24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(121, 243, 255, .15), transparent 40%),
    rgba(10, 17, 28, .86);
}

.app-locked-signal div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  min-width: 0;
}

.app-locked-signal div span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(121, 243, 255, .12);
}

.app-locked-signal strong {
  color: var(--text);
  font-size: .98rem;
  font-weight: 800;
}

.app-locked-signal p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.app-empty-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .04);
}

.app-empty-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 760;
}

.app-empty-card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

@media (max-width: 899px) {
  body.app-page .bottom-nav {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(7, 9, 14, .92);
    box-shadow: 0 -12px 42px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
  }

  body.app-page .bottom-nav a {
    color: rgba(255, 255, 255, .58);
  }

  body.app-page .bottom-nav a.active {
    color: var(--accent);
    background: rgba(198, 255, 46, .1);
    box-shadow: 0 0 22px rgba(198, 255, 46, .13);
  }
}

@media (max-width: 640px) {
  .app-screen {
    padding-top: 18px;
  }

  .app-screen-hero,
  .app-pro-hero {
    border-radius: 24px;
    padding: 16px;
  }

  .app-screen-hero h1,
  .app-pro-hero h1 {
    font-size: 2rem;
  }

  .app-screen-hero p:not(.eyebrow),
  .app-pro-hero p {
    font-size: .86rem;
  }

  .app-screen-pill {
    min-width: 0;
    padding: 8px 11px;
    font-size: .72rem;
  }

  .app-date-strip a {
    min-width: 118px;
    padding: 9px 12px;
  }

  .app-filter-row span,
  .app-filter-row a {
    min-height: 38px;
    padding: 0 14px;
    font-size: .76rem;
  }

  .app-match-row {
    grid-template-columns: 46px minmax(0, 1fr) auto 24px;
    gap: 8px;
    min-height: 70px;
    padding: 9px;
    border-radius: 15px;
  }

  .app-match-status {
    font-size: .66rem;
  }

  .app-match-team strong {
    font-size: .84rem;
  }

  .app-match-score {
    min-width: 28px;
  }

  .app-match-score strong {
    font-size: .9rem;
  }

  .app-match-star {
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
  }

  .direct-signal-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
    border-radius: 22px;
  }

  .direct-signal-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .direct-radar {
    width: 52px;
    height: 52px;
  }

  .app-section-head {
    margin-top: 16px;
  }

  .app-advice-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 13px;
    border-radius: 18px;
  }

  .app-advice-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-locked-signal {
    align-items: stretch;
    flex-direction: column;
  }

  .app-locked-signal .btn {
    width: 100%;
  }
}

/* 2026-06-28: mobile web dashboard aligned with the iOS app screens */
@media (max-width: 899px) {
  body.app-screen-page {
    min-height: 100svh;
    background:
      radial-gradient(circle at 0 0, rgba(86, 128, 15, .42), transparent 36%),
      radial-gradient(circle at 100% 0, rgba(23, 84, 91, .36), transparent 34%),
      linear-gradient(165deg, #071006 0%, #061114 42%, #090817 100%);
  }

  body.app-screen-page::before,
  body.dashboard-hub-page::before {
    display: none;
  }

  body.app-screen-page .app-header,
  body.app-screen-page .global-pro-banner,
  body.dashboard-hub-page .app-header,
  body.dashboard-hub-page .global-pro-banner {
    display: none;
  }

  body.app-screen-page .site-footer,
  body.dashboard-hub-page .site-footer {
    display: none;
  }

  .app-screen,
  .dashboard-hub {
    width: 100%;
    max-width: none;
    padding: max(28px, env(safe-area-inset-top)) 34px calc(118px + env(safe-area-inset-bottom));
  }

  .dashboard-hub {
    padding-top: max(34px, env(safe-area-inset-top));
  }

  .dashboard-hub-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dashboard-hub-avatar {
    width: 58px;
    height: 58px;
    border-color: rgba(198, 255, 46, .58);
    background: rgba(198, 255, 46, .08);
  }

  .dashboard-hub-hero h1 {
    font-size: clamp(2rem, 8.7vw, 3rem);
    font-weight: 860;
    line-height: .96;
  }

  .dashboard-hub-hero p:not(.eyebrow) {
    margin-top: 4px;
    color: rgba(255, 255, 255, .62);
    font-size: clamp(.96rem, 4vw, 1.15rem);
    font-weight: 700;
  }

  .dashboard-hub-access {
    grid-column: auto;
    min-width: 112px;
    padding: 11px 15px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 950;
  }

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

  .dashboard-hub-card {
    min-height: 162px;
    padding: 30px 28px;
    border-radius: 25px;
    border-color: color-mix(in srgb, var(--hub-color) 34%, rgba(255, 255, 255, .1));
    background:
      radial-gradient(circle at 16% 0, color-mix(in srgb, var(--hub-color) 14%, transparent), transparent 44%),
      linear-gradient(145deg, rgba(17, 25, 36, .94), rgba(10, 11, 23, .96));
  }

  .hub-card-visual {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .hub-card-copy strong {
    font-size: 1.55rem;
    font-weight: 850;
  }

  .hub-card-copy small {
    color: rgba(255, 255, 255, .62);
    font-size: .92rem;
    font-weight: 700;
  }

  .dashboard-hub-card em {
    position: static;
    align-self: end;
    justify-self: start;
    max-width: none;
    margin-top: 12px;
    padding: 7px 13px;
    color: var(--hub-color);
    background: color-mix(in srgb, var(--hub-color) 12%, transparent);
    font-size: .8rem;
    font-weight: 950;
  }

  .dashboard-hub-card::before {
    content: "›";
    position: absolute;
    top: 24px;
    right: 28px;
    color: var(--hub-color);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
  }

  .dashboard-hub-today {
    margin-top: 34px;
    padding: 18px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .045);
  }

  .dashboard-hub-today header strong {
    font-size: 1.2rem;
  }

  .dashboard-hub-today article {
    padding: 14px 8px;
    border-radius: 16px;
  }

  .dashboard-hub-today article strong {
    font-size: 1.45rem;
  }

  .dashboard-hub-today article span {
    font-size: .78rem;
    font-weight: 780;
  }

  .matches-app {
    padding-top: max(32px, env(safe-area-inset-top));
  }

  .matches-date-control {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 26px;
    align-items: center;
    margin-bottom: 28px;
  }

  .matches-date-control > a,
  .matches-date-control > span,
  .matches-date-control > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    color: var(--text);
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  }

  .matches-date-control > a,
  .matches-date-control > span {
    font-size: 3.2rem;
    font-weight: 760;
    line-height: .8;
  }

  .matches-date-control > span {
    opacity: .28;
  }

  .matches-date-control > button {
    gap: 12px;
    width: 100%;
    border-radius: 20px;
    font: inherit;
  }

  .matches-date-control svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
  }

  .matches-date-control strong {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    font-weight: 880;
  }

  .matches-date-control em {
    font-style: normal;
    font-size: 1.45rem;
  }

  .matches-app .app-filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
  }

  .matches-app .app-filter-row span,
  .matches-app .app-filter-row a {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    font-size: .98rem;
    font-weight: 900;
  }

  .matches-app .app-filter-row .active {
    color: #061006;
    background: var(--accent);
  }

  .matches-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 54px;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
  }

  .matches-search-row label {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 58px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 19px;
    background: rgba(255, 255, 255, .08);
  }

  .matches-search-row svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: rgba(255, 255, 255, .58);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
  }

  .matches-search-row input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 760;
  }

  .matches-search-row input::placeholder {
    color: rgba(255, 255, 255, .32);
  }

  .matches-search-row > span {
    color: rgba(255, 255, 255, .68);
    font-size: .96rem;
    font-weight: 860;
  }

  .matches-search-row button {
    position: relative;
    width: 54px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
  }

  .matches-search-row button i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
  }

  .matches-advice-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    margin-bottom: 28px;
    padding: 0 18px;
    border: 1px solid rgba(90, 229, 242, .42);
    border-radius: 18px;
    color: #78f5ff;
    background: rgba(12, 67, 76, .28);
    text-decoration: none;
  }

  .matches-advice-link strong {
    overflow: hidden;
    font-size: .98rem;
    font-weight: 930;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .matches-advice-link em,
  .matches-advice-link span {
    color: #78f5ff;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 950;
  }

  .matches-data-chip {
    display: none;
  }

  .app-competition-stack {
    gap: 14px;
  }

  .app-competition {
    border-radius: 25px;
    background: rgba(255, 255, 255, .045);
  }

  .app-competition summary {
    min-height: 78px;
    padding: 24px 28px 14px;
  }

  .app-competition summary::before {
    content: "🏆";
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: rgba(198, 255, 46, .16);
    font-size: 1.35rem;
  }

  .app-competition summary span {
    font-size: 1.18rem;
    font-weight: 920;
  }

  .app-competition summary small {
    position: absolute;
    left: 104px;
    margin-top: 34px;
    color: rgba(255, 255, 255, .58);
    font-size: .86rem;
  }

  .app-competition > div {
    gap: 12px;
    padding: 12px 24px 24px;
  }

  .app-match-row {
    grid-template-columns: 68px minmax(0, 1fr) auto 42px;
    min-height: 74px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .075);
  }

  .app-match-status {
    border-right: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .66);
    font-size: .9rem;
    font-weight: 900;
  }

  .app-team-flag {
    width: 27px;
    height: 27px;
  }

  .app-match-team strong {
    font-size: 1.08rem;
    font-weight: 760;
  }

  .app-match-star {
    color: var(--accent);
    font-size: 2.15rem;
  }

  .direct-app {
    padding-top: max(34px, env(safe-area-inset-top));
  }

  .direct-app .app-screen-hero {
    display: none;
  }

  .direct-signal-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 24px;
    min-height: 142px;
    margin-top: 98px;
    padding: 24px 28px;
    border-radius: 25px;
  }

  .direct-signal-card .btn {
    grid-column: 2;
    justify-self: start;
    width: auto;
    min-width: 156px;
    min-height: 42px;
    border-radius: 999px;
    font-size: .9rem;
  }

  .direct-radar {
    width: 108px;
    height: 108px;
  }

  .direct-radar i:nth-child(1) {
    inset: 8px;
  }

  .direct-radar i:nth-child(2) {
    inset: 24px;
  }

  .direct-radar i:nth-child(3) {
    inset: 44px;
  }

  .direct-signal-card strong {
    font-size: 1.22rem;
    font-weight: 900;
  }

  .direct-signal-card p {
    color: rgba(255, 255, 255, .64);
    font-size: .98rem;
    font-weight: 720;
  }

  .recommendations-app {
    padding-top: max(28px, env(safe-area-inset-top));
  }

  .app-mobile-titlebar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    margin-bottom: 34px;
  }

  .app-mobile-titlebar a {
    color: var(--accent);
    font-size: 3.15rem;
    font-weight: 760;
    line-height: .8;
    text-decoration: none;
  }

  .app-mobile-titlebar strong {
    color: var(--text);
    font-size: 1.34rem;
    font-weight: 850;
    text-align: center;
  }

  .app-pro-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 122px;
    margin-bottom: 26px;
    padding: 26px 28px;
    border-color: rgba(198, 255, 46, .35);
    border-radius: 25px;
  }

  .app-pro-hero > span {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    color: var(--accent);
    background: rgba(198, 255, 46, .16);
    font-size: 1.55rem;
  }

  .app-pro-hero h1 {
    font-size: clamp(1.75rem, 7.4vw, 2.5rem);
    font-weight: 950;
  }

  .app-pro-hero p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .66);
    font-size: 1.02rem;
    font-weight: 740;
    line-height: 1.28;
  }

  .app-pro-hero em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 42px;
    border-radius: 999px;
    color: #071006;
    background: var(--accent);
    font-style: normal;
    font-size: .95rem;
    font-weight: 950;
  }

  .recommendations-app .app-section-head {
    display: none;
  }

  .app-advice-list {
    gap: 18px;
  }

  .app-advice-card {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 14px;
    min-height: 110px;
    padding: 18px 20px;
    border-radius: 21px;
    background:
      radial-gradient(circle at 100% 100%, rgba(144, 114, 255, .12), transparent 42%),
      rgba(255, 255, 255, .055);
  }

  .app-match-label {
    color: rgba(255, 255, 255, .6);
    font-size: .93rem;
    font-weight: 850;
  }

  .app-advice-main h2 {
    font-size: 1.17rem;
    font-weight: 820;
  }

  .app-advice-metrics {
    grid-template-columns: 1fr;
    justify-items: end;
  }

  .app-advice-metrics span:first-child {
    display: none;
  }

  .app-advice-metrics span {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .app-advice-metrics small {
    color: rgba(255, 255, 255, .64);
    font-size: .78rem;
    text-transform: none;
  }

  .app-advice-metrics strong {
    display: inline-grid;
    min-width: 64px;
    min-height: 48px;
    place-items: center;
    border-radius: 13px;
    color: #071006;
    background: var(--accent);
    font-size: 1.25rem;
    font-weight: 950;
  }

  .app-advice-footer {
    gap: 9px;
  }

  .app-advice-footer span,
  .app-advice-footer a {
    min-height: 31px;
    padding: 0 10px;
    border: 0;
    color: rgba(255, 255, 255, .66);
    background: rgba(255, 255, 255, .06);
    font-size: .78rem;
    font-weight: 850;
  }

  .app-advice-footer span:first-child {
    color: #78f5ff;
  }

  .app-advice-footer span:nth-child(2) {
    color: var(--accent);
  }
}

@media (max-width: 420px) {
  .app-screen,
  .dashboard-hub {
    padding-right: 24px;
    padding-left: 24px;
  }

  .dashboard-hub-grid {
    gap: 18px;
  }

  .dashboard-hub-card {
    min-height: 148px;
    padding: 22px 18px;
  }

  .hub-card-copy strong {
    font-size: 1.32rem;
  }

  .matches-date-control {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 14px;
  }

  .app-competition summary {
    padding-inline: 18px;
  }

  .app-competition summary small {
    left: 94px;
  }

  .app-competition > div {
    padding-inline: 14px;
  }

  .app-match-row {
    grid-template-columns: 56px minmax(0, 1fr) auto 34px;
  }
}

/* 2026-06-29: finer mobile web app shell, with the web top bar kept visible */
@media (max-width: 899px) {
  body.app-screen-page .app-header,
  body.dashboard-hub-page .app-header {
    position: sticky;
    top: 0;
    z-index: 55;
    display: flex;
    min-height: 62px;
    padding: 10px 18px;
    background: rgba(5, 8, 12, .9);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    backdrop-filter: blur(18px);
  }

  body.app-screen-page .global-pro-banner,
  body.dashboard-hub-page .global-pro-banner {
    display: none;
  }

  .app-screen,
  .dashboard-hub {
    padding: 18px 22px calc(104px + env(safe-area-inset-bottom));
  }

  .dashboard-hub {
    padding-top: 22px;
  }

  .dashboard-hub-hero {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 11px;
    margin-bottom: 18px;
  }

  .dashboard-hub-avatar {
    width: 44px;
    height: 44px;
  }

  .dashboard-hub-hero h1 {
    font-size: clamp(1.55rem, 6.2vw, 2.15rem);
    font-weight: 760;
  }

  .dashboard-hub-hero p:not(.eyebrow) {
    font-size: .86rem;
    font-weight: 560;
  }

  .dashboard-hub-access {
    min-width: 82px;
    padding: 8px 10px;
    font-size: .72rem;
  }

  .dashboard-hub-grid {
    gap: 14px;
  }

  .dashboard-hub-card {
    min-height: 126px;
    padding: 17px;
    border-radius: 21px;
  }

  .dashboard-hub-card::before {
    top: 14px;
    right: 17px;
    font-size: 1.7rem;
  }

  .hub-card-visual {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .hub-card-copy strong {
    font-size: 1.16rem;
    font-weight: 740;
  }

  .hub-card-copy small {
    font-size: .75rem;
    font-weight: 500;
  }

  .dashboard-hub-card em {
    margin-top: 8px;
    padding: 5px 9px;
    font-size: .68rem;
  }

  .dashboard-hub-today {
    margin-top: 18px;
    padding: 13px;
    border-radius: 19px;
  }

  .dashboard-hub-today header strong {
    font-size: 1rem;
  }

  .dashboard-hub-today article {
    padding: 10px 6px;
  }

  .dashboard-hub-today article strong {
    font-size: 1.1rem;
  }

  .dashboard-hub-today article span {
    font-size: .68rem;
    font-weight: 650;
  }

  .matches-app,
  .direct-app,
  .recommendations-app {
    padding-top: 16px;
  }

  .matches-date-control {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    margin-bottom: 14px;
  }

  .matches-date-control > a,
  .matches-date-control > span,
  .matches-date-control > button {
    min-height: 48px;
    border-radius: 15px;
  }

  .matches-date-control > a,
  .matches-date-control > span {
    font-size: 2.2rem;
  }

  .matches-date-control strong {
    font-size: 1.12rem;
    font-weight: 760;
  }

  .matches-date-control svg {
    width: 18px;
    height: 18px;
  }

  .matches-app .app-filter-row {
    margin-bottom: 14px;
    border-radius: 15px;
  }

  .matches-app .app-filter-row span,
  .matches-app .app-filter-row a,
  .matches-app .app-filter-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: .82rem;
    font-weight: 760;
    text-decoration: none;
  }

  .matches-app .app-filter-row .active {
    color: #061006;
    background: var(--accent);
  }

  .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 48px;
    gap: 9px;
    margin-bottom: 14px;
  }

  .matches-search-row label {
    min-height: 48px;
    border-radius: 15px;
  }

  .matches-search-row input {
    font-size: .92rem;
    font-weight: 560;
  }

  .matches-search-row > span {
    font-size: .82rem;
    font-weight: 720;
  }

  .matches-search-row button {
    width: 48px;
    height: 30px;
  }

  .matches-search-row button i {
    width: 24px;
    height: 24px;
  }

  .matches-search-row button.active {
    background: rgba(198, 255, 46, .95);
  }

  .matches-search-row button.active i {
    left: 21px;
    background: #071006;
  }

  .matches-advice-link {
    min-height: 48px;
    margin-bottom: 16px;
    border-radius: 15px;
  }

  .matches-advice-link strong {
    font-size: .84rem;
  }

  .app-competition {
    border-radius: 20px;
  }

  .app-competition summary {
    min-height: 60px;
    padding: 16px 18px 10px;
  }

  .app-competition summary::before {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .app-competition summary span {
    font-size: .98rem;
    font-weight: 760;
  }

  .app-competition summary small {
    left: 72px;
    margin-top: 28px;
    font-size: .72rem;
  }

  .app-competition > div {
    gap: 8px;
    padding: 8px 14px 14px;
  }

  .app-match-row {
    grid-template-columns: 48px minmax(0, 1fr) auto 30px;
    min-height: 62px;
    padding: 9px 10px;
    border-radius: 15px;
  }

  .app-match-row:has(.app-match-odds) {
    grid-template-columns: 48px minmax(0, 1fr) auto 30px;
  }

  .app-match-status {
    font-size: .72rem;
    font-weight: 760;
  }

  .app-team-flag {
    width: 22px;
    height: 22px;
  }

  .app-match-teams {
    gap: 5px;
  }

  .app-match-team strong {
    font-size: .88rem;
    font-weight: 560;
  }

  .app-match-score strong {
    font-size: .82rem;
  }

  .app-match-star {
    width: 26px;
    height: 26px;
    font-size: 1.35rem;
  }

  .app-match-odds {
    grid-column: 2 / 4;
    display: none;
    gap: 5px;
    margin-top: 3px;
  }

  .matches-app.show-odds .app-match-odds {
    display: flex;
  }

  .app-match-odds em {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 7px;
    color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .06);
    font-size: .66rem;
    font-style: normal;
    font-weight: 650;
  }

  .app-match-odds strong {
    color: var(--text);
    font-size: .72rem;
  }

  .direct-signal-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    min-height: 112px;
    margin-top: 18px;
    padding: 17px;
    border-radius: 20px;
  }

  .direct-radar {
    width: 68px;
    height: 68px;
  }

  .direct-radar i:nth-child(2) {
    inset: 18px;
  }

  .direct-radar i:nth-child(3) {
    inset: 30px;
  }

  .direct-signal-card strong {
    font-size: 1rem;
    font-weight: 760;
  }

  .direct-signal-card p {
    font-size: .82rem;
    font-weight: 520;
  }

  .direct-signal-card .btn {
    min-width: 130px;
    min-height: 36px;
    font-size: .78rem;
  }

  .app-mobile-titlebar {
    margin-bottom: 18px;
  }

  .app-mobile-titlebar a {
    font-size: 2.25rem;
  }

  .app-mobile-titlebar strong {
    font-size: 1.06rem;
    font-weight: 760;
  }

  .app-pro-hero {
    min-height: 94px;
    gap: 13px;
    margin-bottom: 16px;
    padding: 17px;
    border-radius: 20px;
  }

  .app-pro-hero > span {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .app-pro-hero h1 {
    font-size: 1.45rem;
    font-weight: 800;
  }

  .app-pro-hero p {
    font-size: .9rem;
    font-weight: 520;
  }

  .app-pro-hero em {
    min-width: 58px;
    min-height: 34px;
    font-size: .75rem;
  }

  .app-advice-list {
    gap: 11px;
  }

  .app-advice-card {
    grid-template-columns: minmax(0, 1fr) 70px;
    min-height: 92px;
    padding: 13px 14px;
    border-radius: 17px;
  }

  .app-advice-matchline i {
    width: 22px;
    height: 22px;
    overflow: hidden;
  }

  .app-advice-matchline i img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .app-advice-matchline b {
    font-size: .76rem;
  }

  .app-advice-main h2 {
    font-size: .98rem;
    font-weight: 650;
  }

  .app-advice-metrics strong {
    min-width: 54px;
    min-height: 38px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .app-advice-footer span,
  .app-advice-footer a {
    min-height: 26px;
    padding: 0 8px;
    font-size: .68rem;
  }

  .analysis-app-page .analysis-layout {
    width: 100%;
    max-width: none;
    padding: 16px 18px calc(110px + env(safe-area-inset-bottom));
  }

  .analysis-v2-match {
    overflow: hidden;
    margin: 0 -18px 14px;
    padding: 20px 18px 16px;
    border: 0;
    border-radius: 0 0 24px 24px;
    background:
      radial-gradient(circle at 10% 0, rgba(198, 255, 46, .16), transparent 36%),
      linear-gradient(145deg, rgba(15, 24, 28, .96), rgba(11, 11, 23, .96));
  }

  .analysis-v2-topline,
  .analysis-v2-info-row,
  .analysis-v2-quality-panel {
    display: none;
  }

  .analysis-v2-scoreboard {
    margin: 0;
    gap: 10px;
  }

  .analysis-v2-team img,
  .analysis-v2-team .team-logo {
    width: 54px;
    height: 54px;
  }

  .analysis-v2-team strong {
    font-size: .9rem;
    font-weight: 680;
  }

  .team-favorite-form button {
    padding: 5px 8px;
    font-size: .62rem;
  }

  .analysis-v2-score strong {
    font-size: 1.4rem;
  }

  .analysis-v2-score span {
    font-size: .72rem;
  }

  .analysis-v2-picks-section,
  .analysis-v2-card,
  .analysis-v2-pick,
  .analysis-v2-pronos-panel,
  .analysis-v2-editorial {
    border-radius: 18px;
  }

  .analysis-v2-section-title h1 {
    font-size: 1.18rem;
    font-weight: 720;
  }

  .analysis-v2-pick {
    padding: 14px;
  }

  .analysis-v2-pick-head h2 {
    font-size: 1.1rem;
  }

  .analysis-v2-odds strong {
    font-size: 1.25rem;
  }
}

/* 2026-06-29: stable ZoneStat-like mobile shell and compact match rows */
@media (max-width: 899px) {
  body.app-screen-page,
  body.dashboard-hub-page {
    background:
      radial-gradient(circle at 0 0, rgba(100, 139, 18, .34), transparent 34%),
      radial-gradient(circle at 100% 0, rgba(20, 88, 96, .30), transparent 36%),
      linear-gradient(165deg, #061006 0%, #061116 45%, #090817 100%);
  }

  body.app-screen-page .app-header,
  body.dashboard-hub-page .app-header {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 20px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
    background: #0d1115;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    backdrop-filter: none;
  }

  .app-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    text-decoration: none;
  }

  .app-header-brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 12px rgba(198, 255, 46, .18));
  }

  .app-header-brand strong {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 860;
    line-height: 1;
  }

  .app-header-brand strong::after {
    content: ".";
    color: var(--accent);
  }

  .app-header-menu {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    gap: 0;
    border: 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, .075);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  }

  .app-header-menu span {
    display: block;
    width: 25px;
    height: 4px;
    margin: 2px 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
  }

  .app-screen,
  .dashboard-hub {
    max-width: 100%;
    padding: 18px 20px calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .dashboard-hub {
    padding-top: 20px;
  }

  .dashboard-hub-hero {
    gap: 10px;
    margin-bottom: 14px;
  }

  .dashboard-hub-avatar {
    width: 42px;
    height: 42px;
  }

  .dashboard-hub-hero h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.8rem);
    font-weight: 760;
    line-height: 1.06;
  }

  .dashboard-hub-hero p:not(.eyebrow) {
    font-size: .82rem;
  }

  .dashboard-hub-access {
    min-width: 76px;
    padding: 7px 9px;
    font-size: .68rem;
  }

  .dashboard-hub-grid {
    gap: 12px;
  }

  .dashboard-hub-card {
    min-height: 112px;
    padding: 14px;
    border-radius: 18px;
  }

  .dashboard-hub-card::before {
    top: 12px;
    right: 13px;
    font-size: 1.45rem;
  }

  .hub-card-visual {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .hub-card-copy strong {
    font-size: 1.02rem;
    font-weight: 700;
  }

  .hub-card-copy small {
    font-size: .7rem;
    line-height: 1.25;
  }

  .dashboard-hub-card em {
    margin-top: 6px;
    padding: 4px 8px;
    font-size: .64rem;
  }

  .dashboard-hub-today {
    margin-top: 14px;
    padding: 12px;
    border-radius: 17px;
  }

  .dashboard-hub-today article {
    padding: 8px 4px;
    border-radius: 12px;
  }

  .dashboard-hub-today article strong {
    font-size: 1rem;
  }

  .matches-app,
  .direct-app,
  .recommendations-app {
    padding-top: 16px;
  }

  .matches-date-control {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    margin-bottom: 12px;
  }

  .matches-date-control > a,
  .matches-date-control > span,
  .matches-date-control > button {
    min-height: 48px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .075);
  }

  .matches-date-control > a,
  .matches-date-control > span {
    font-size: 2rem;
  }

  .matches-date-control strong {
    font-size: 1.02rem;
    font-weight: 740;
  }

  .matches-date-control svg {
    width: 17px;
    height: 17px;
  }

  .matches-app .app-filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 12px;
    padding: 4px;
    border-radius: 15px;
  }

  .matches-app .app-filter-row span,
  .matches-app .app-filter-row a,
  .matches-app .app-filter-row button {
    min-height: 36px;
    border-radius: 11px;
    font-size: .78rem;
    font-weight: 740;
  }

  .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 46px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .matches-search-row label {
    min-height: 46px;
    padding: 0 13px;
    border-radius: 15px;
  }

  .matches-search-row svg {
    width: 19px;
    height: 19px;
  }

  .matches-search-row input {
    font-size: .88rem;
    font-weight: 560;
  }

  .matches-search-row > span {
    font-size: .78rem;
    font-weight: 720;
  }

  .matches-search-row button {
    width: 46px;
    height: 28px;
  }

  .matches-search-row button i {
    width: 22px;
    height: 22px;
  }

  .matches-search-row button.active i {
    left: 21px;
  }

  .matches-advice-link {
    min-height: 44px;
    margin-bottom: 14px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .matches-advice-link strong {
    font-size: .8rem;
  }

  .app-competition-stack {
    gap: 12px;
  }

  .app-competition {
    border-radius: 18px;
  }

  .app-competition summary {
    position: relative;
    min-height: 56px;
    padding: 12px 42px 10px 14px;
  }

  .app-competition summary::before {
    width: 34px;
    height: 34px;
    font-size: .95rem;
  }

  .app-competition summary::after {
    position: absolute;
    right: 16px;
  }

  .app-competition summary span {
    font-size: .92rem;
    font-weight: 740;
  }

  .app-competition summary small {
    position: static;
    margin: 0 0 0 auto;
    font-size: .68rem;
  }

  .app-competition > div {
    gap: 7px;
    padding: 8px 10px 12px;
  }

  .app-match-row,
  .app-match-row.has-odds {
    grid-template-columns: 46px minmax(0, 1fr) auto 28px;
    gap: 8px;
    min-height: 60px;
    padding: 8px 9px;
    border-radius: 14px;
  }

  .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 40px minmax(0, 1fr) 74px 20px 24px;
  }

  .app-match-status {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 6px;
    border-right: 1px solid rgba(255, 255, 255, .10);
    font-size: .68rem;
    font-weight: 740;
  }

  .app-match-teams {
    gap: 5px;
    min-width: 0;
  }

  .app-match-team {
    gap: 7px;
  }

  .app-team-flag {
    width: 22px;
    height: 22px;
  }

  .app-match-team strong {
    font-size: .84rem;
    font-weight: 560;
  }

  .app-match-score {
    display: grid;
    gap: 3px;
    justify-items: center;
    min-width: 20px;
  }

  .app-match-score strong {
    font-size: .76rem;
    line-height: 1;
  }

  .app-match-star {
    width: 24px;
    height: 24px;
    font-size: 1.25rem;
  }

  .app-match-odds {
    display: none;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
    margin: 0;
  }

  .matches-app.show-odds .app-match-odds {
    display: grid;
  }

  .app-match-odds em {
    display: grid;
    gap: 1px;
    min-width: 0;
    min-height: 30px;
    place-items: center;
    padding: 3px 4px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .075);
    color: rgba(255, 255, 255, .58);
    font-size: .58rem;
    font-style: normal;
    font-weight: 650;
    line-height: 1;
  }

  .app-match-odds em small {
    font-size: .55rem;
    font-weight: 700;
  }

  .app-match-odds strong {
    color: var(--text);
    font-size: .64rem;
    font-weight: 760;
  }

  .bottom-nav,
  .chat-page .bottom-nav,
  body.app-page .bottom-nav,
  body.chat-page .bottom-nav {
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: calc(74px + env(safe-area-inset-bottom, 0px));
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 0;
    background: rgba(250, 251, 252, .98);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .22);
    transform: none;
  }

  .bottom-nav a {
    min-height: 54px;
    color: #0f1720;
    font-size: .65rem;
    font-weight: 740;
  }

  .bottom-nav a.active {
    color: #071105;
    background: transparent;
    box-shadow: none;
  }

  .bottom-nav a.active .bottom-nav-icon {
    color: #071105;
    background: var(--accent);
  }

  .bottom-nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .bottom-nav-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.15;
  }
}

/* 2026-06-29: mobile app polish, interactive match filters and iOS-like match detail. */
@media (max-width: 899px) {
  .app-header {
    min-height: 60px;
    padding: 10px 18px;
  }

  .app-header-menu {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .app-header-menu span {
    width: 16px;
    height: 2px;
  }

  .matches-date-control {
    position: relative;
    z-index: 30;
  }

  .matches-date-control > button {
    min-width: 0;
  }

  .matches-date-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 54px;
    right: 54px;
    display: grid;
    max-height: min(420px, 62vh);
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(198, 255, 46, .22);
    border-radius: 16px;
    background: rgba(13, 19, 25, .98);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .46);
  }

  .matches-date-menu[hidden] {
    display: none;
  }

  .matches-date-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
  }

  .matches-date-menu a.active {
    background: rgba(198, 255, 46, .16);
    color: var(--accent);
  }

  .matches-date-menu a span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 620;
  }

  .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 36px minmax(0, 1fr) 58px 18px 22px;
    gap: 5px;
    padding: 7px 7px;
  }

  .matches-app.show-odds .app-match-team {
    gap: 5px;
  }

  .matches-app.show-odds .app-team-flag {
    width: 20px;
    height: 20px;
  }

  .matches-app.show-odds .app-match-team strong {
    font-size: .76rem;
  }

  .matches-app.show-odds .app-match-status {
    padding-right: 4px;
    font-size: .62rem;
  }

  .matches-app.show-odds .app-match-odds {
    gap: 2px;
  }

  .matches-app.show-odds .app-match-odds em {
    min-height: 24px;
    padding: 2px;
    border-radius: 6px;
    font-size: .48rem;
  }

  .matches-app.show-odds .app-match-odds em small {
    font-size: .45rem;
  }

  .matches-app.show-odds .app-match-odds strong {
    font-size: .54rem;
    font-weight: 720;
  }

  .matches-app.show-odds .app-match-score strong {
    font-size: .68rem;
  }

  .matches-app.show-odds .app-match-star {
    width: 21px;
    height: 21px;
    font-size: 1.05rem;
  }

  .bottom-nav,
  .chat-page .bottom-nav,
  body.app-page .bottom-nav,
  body.chat-page .bottom-nav {
    background: rgba(232, 234, 237, .98);
    box-shadow: 0 -12px 26px rgba(0, 0, 0, .26);
  }

  .bottom-nav a {
    color: #111418;
  }

  .bottom-nav-icon {
    color: #111418;
    background: rgba(17, 20, 24, .08);
  }

  .bottom-nav a.active {
    color: #111418;
  }

  .bottom-nav a.active .bottom-nav-icon {
    color: #071105;
    background: var(--accent);
    box-shadow: 0 8px 20px rgba(198, 255, 46, .28);
  }

  .analysis-app-page .app-header,
  .analysis-app-page .global-pro-banner {
    display: none;
  }

  .analysis-layout {
    width: 100%;
    max-width: none;
    padding: 0 0 calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .analysis-v2-match {
    position: relative;
    margin: 0 0 22px;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 0;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 0 0, rgba(198, 255, 46, .16), transparent 34%),
      linear-gradient(145deg, rgba(23, 38, 31, .98), rgba(15, 19, 29, .98));
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
  }

  .analysis-v2-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }

  .analysis-v2-competition-title {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    color: var(--text);
    font-size: .92rem;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: none;
  }

  .analysis-v2-competition-title i {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(198, 255, 46, .28);
    border-radius: 999px;
    background: rgba(198, 255, 46, .10);
    font-style: normal;
  }

  .analysis-v2-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
    font-weight: 760;
    text-decoration: none;
  }

  .analysis-v2-scoreboard {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 0 2px 16px;
  }

  .analysis-v2-team {
    gap: 8px;
  }

  .analysis-v2-team img,
  .analysis-v2-team .team-logo {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    object-fit: cover;
  }

  .analysis-v2-team strong {
    max-width: 118px;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.15;
  }

  .analysis-v2-team .team-favorite-form {
    display: none;
  }

  .analysis-v2-score strong {
    color: var(--text);
    font-size: 1.76rem;
    font-weight: 820;
    letter-spacing: 0;
    text-shadow: none;
  }

  .analysis-v2-score span {
    color: rgba(255, 255, 255, .64);
    font-size: .78rem;
    font-weight: 650;
  }

  .analysis-v2-tabs {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    margin: 0 -18px;
    padding: 0 18px;
    scrollbar-width: none;
  }

  .analysis-v2-tabs::-webkit-scrollbar {
    display: none;
  }

  .analysis-v2-tabs a {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    color: rgba(255, 255, 255, .62);
    font-size: .88rem;
    font-weight: 760;
    text-decoration: none;
    white-space: nowrap;
  }

  .analysis-v2-tabs a:first-child,
  .analysis-v2-tabs a:target,
  .analysis-v2-tabs a:hover {
    color: var(--text);
  }

  .analysis-v2-tabs a:first-child::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: var(--accent);
    content: "";
  }

  .analysis-v2-info-row,
  .analysis-v2-quality-panel {
    display: none;
  }

  .analysis-v2-picks-section,
  .analysis-v2-card,
  .analysis-v2-pro-alert {
    width: calc(100% - 34px);
    margin-right: auto;
    margin-left: auto;
    border-radius: 24px;
  }

  .analysis-v2-picks-section {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .analysis-v2-section-title {
    margin-bottom: 10px;
  }

  .analysis-v2-section-title .eyebrow {
    display: none;
  }

  .analysis-v2-section-title h1,
  .analysis-v2-section-title h2 {
    font-size: 1.06rem;
    font-weight: 760;
    letter-spacing: 0;
  }

  .analysis-v2-section-title p:not(.eyebrow) {
    font-size: .78rem;
    line-height: 1.35;
  }

  .analysis-v2-picks-grid {
    display: grid;
    gap: 14px;
  }

  .analysis-v2-pick {
    padding: 16px;
    border-color: rgba(109, 232, 255, .38);
    border-radius: 24px;
    background:
      radial-gradient(circle at 0 0, rgba(109, 232, 255, .16), transparent 42%),
      rgba(14, 22, 31, .94);
  }

  .analysis-v2-pick-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
  }

  .analysis-v2-pick .eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 8px;
    padding: 5px 10px;
    border: 1px solid rgba(109, 232, 255, .42);
    border-radius: 999px;
    color: #77efff;
    font-size: .66rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .analysis-v2-pick h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    font-size: 1.02rem;
    font-weight: 760;
    line-height: 1.18;
  }

  .analysis-v2-pick p {
    margin-top: 7px;
    font-size: .76rem;
    line-height: 1.35;
  }

  .analysis-v2-odds {
    min-width: 76px;
    padding: 8px 9px;
    border-radius: 18px;
    background: rgba(198, 255, 46, .12);
  }

  .analysis-v2-odds strong {
    font-size: 1.2rem;
  }

  .analysis-v2-odds span {
    max-width: 72px;
    overflow: hidden;
    font-size: .62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .analysis-v2-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .analysis-v2-metrics span {
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: .7rem;
  }

  .analysis-v2-metrics strong {
    font-size: .94rem;
  }

  .analysis-v2-evidence-grid,
  .analysis-follow-form,
  .analysis-v2-pick > .btn {
    display: none;
  }

  .analysis-v2-pronos-panel {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .analysis-v2-pronos-head {
    margin: 4px 0 10px;
  }

  .analysis-v2-pronos-head .eyebrow {
    display: none;
  }

  .analysis-v2-pronos-head h2 {
    font-size: 1.02rem;
    font-weight: 760;
  }

  .analysis-v2-pronos-list {
    gap: 10px;
  }

  .analysis-v2-pronos-list article,
  .analysis-v2-odds-table article {
    grid-template-columns: minmax(0, 1fr) 76px;
    min-height: 78px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
  }

  .analysis-v2-pronos-list span {
    font-size: .67rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .analysis-v2-pronos-list h3 {
    margin-top: 4px;
    font-size: .92rem;
    font-weight: 720;
    line-height: 1.18;
  }

  .analysis-v2-pronos-list p {
    font-size: .68rem;
  }

  .analysis-v2-pronos-list aside {
    width: 72px;
    min-height: 48px;
    padding: 7px 8px;
    border-radius: 14px;
  }

  .analysis-v2-pronos-list aside strong {
    font-size: 1.04rem;
  }

  .analysis-v2-pronos-list aside small {
    max-width: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .analysis-v2-pronos-list article form {
    display: none;
  }

  .analysis-v2-card {
    padding: 16px;
  }

  .analysis-v2-score-scenarios {
    margin-top: 16px;
  }

  .analysis-v2-scenario-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .analysis-v2-scenario-grid article {
    min-width: 158px;
    padding: 14px;
    border-radius: 20px;
  }

  .analysis-v2-scenario-grid strong {
    font-size: 1.46rem;
  }

  .analysis-v2-scenario-grid p {
    font-size: .72rem;
  }

  .analysis-v2-mobile-extra {
    margin-top: 16px;
  }

  .analysis-v2-mobile-extra .analysis-v2-reading-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .analysis-v2-mobile-extra .analysis-v2-reading-grid > div {
    padding: 12px;
    border-radius: 16px;
  }

  .analysis-v2-mobile-extra .analysis-v2-reading-grid strong {
    color: var(--soft);
    font-size: .8rem;
    font-weight: 420;
    line-height: 1.35;
  }

  .analysis-v2-match-analysis {
    margin-top: 16px;
  }

  .analysis-v2-prose p {
    font-size: .82rem;
    line-height: 1.52;
  }
}

/* Final override: Matchs mobile must read like a dense sports-score app, not a card dashboard. */
@media (max-width: 899px) {
  body.matches-app-page {
    background: #070a0c !important;
  }

  body.matches-app-page .app-header {
    min-height: 112px !important;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 36px 24px !important;
    background: #111519 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .055) !important;
    backdrop-filter: none !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 56px !important;
    height: 56px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 2.15rem !important;
    font-weight: 860 !important;
    letter-spacing: -.03em !important;
  }

  body.matches-app-page .app-header-menu {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .075) !important;
  }

  body.matches-app-page .app-header-menu span {
    width: 27px !important;
    height: 3px !important;
  }

  body.matches-app-page .matches-app {
    width: 100% !important;
    max-width: none !important;
    padding: 24px 20px calc(108px + env(safe-area-inset-bottom, 0px)) !important;
    background: #070a0c !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 80px minmax(0, 1fr) 80px !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 80px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #202529 !important;
    color: #f5f7f9 !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 80px !important;
    font-size: 3.3rem !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: 1.55rem !important;
    font-weight: 780 !important;
  }

  body.matches-app-page .matches-date-control svg {
    width: 30px !important;
    height: 30px !important;
  }

  body.matches-app-page .app-filter-row {
    margin-bottom: 24px !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #202529 !important;
    box-shadow: none !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 64px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #9aa0a6 !important;
    font-size: 1.2rem !important;
    font-weight: 680 !important;
  }

  body.matches-app-page .app-filter-row button.active {
    background: var(--accent) !important;
    color: #081004 !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 90px !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 80px !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #202529 !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-search-row input {
    font-size: 1.28rem !important;
    color: #f5f7f9 !important;
  }

  body.matches-app-page .matches-search-row input::placeholder {
    color: #9aa0a6 !important;
  }

  body.matches-app-page .matches-search-row > span {
    color: #c7cbd0 !important;
    font-size: 1.1rem !important;
    font-weight: 650 !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 84px !important;
    height: 48px !important;
    border: 0 !important;
    background: #344046 !important;
  }

  body.matches-app-page .matches-search-row button.active {
    background: #1e55ff !important;
  }

  body.matches-app-page .matches-search-row button i {
    width: 40px !important;
    height: 40px !important;
    background: #fff !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 41px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 68px !important;
    margin-bottom: 28px !important;
    padding: 0 28px !important;
    border-color: rgba(94, 239, 255, .55) !important;
    border-radius: 18px !important;
    background: rgba(7, 41, 47, .78) !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-data-chip {
    display: none !important;
  }

  body.matches-app-page .app-competition {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 64px !important;
    padding: 0 42px 16px 72px !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 56px !important;
    height: 56px !important;
    border: 0 !important;
    background: rgba(198, 255, 46, .16) !important;
    color: var(--accent) !important;
    font-size: 1.35rem !important;
  }

  body.matches-app-page .app-competition summary span {
    color: #f8fafc !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
  }

  body.matches-app-page .app-competition summary small {
    color: #9aa0a6 !important;
    font-size: .96rem !important;
  }

  body.matches-app-page .app-competition > div {
    gap: 10px !important;
    padding: 0 !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 92px minmax(0, 1fr) 44px 40px !important;
    gap: 14px !important;
    min-height: 96px !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #12171b !important;
    box-shadow: none !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 92px minmax(0, 1fr) 230px 44px 40px !important;
  }

  body.matches-app-page .app-match-status {
    padding-right: 20px !important;
    border-right: 1px solid rgba(255, 255, 255, .09) !important;
    color: #a4abb2 !important;
    font-size: 1rem !important;
    font-weight: 750 !important;
  }

  body.matches-app-page .app-team-flag {
    width: 26px !important;
    height: 26px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: transparent !important;
  }

  body.matches-app-page .app-team-flag img {
    border-radius: 2px !important;
    object-fit: cover !important;
  }

  body.matches-app-page .app-match-team strong {
    color: #d9dde2 !important;
    font-size: 1.08rem !important;
    font-weight: 610 !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 42px !important;
    padding: 4px 6px !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #9aa0a6 !important;
    font-size: .78rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 64px !important;
    padding: 8px 7px !important;
    border-radius: 6px !important;
    background: #202529 !important;
    color: #f5f7f9 !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(106px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: #202529 !important;
    box-shadow: 0 -12px 28px rgba(0, 0, 0, .34) !important;
  }

  body.matches-app-page .bottom-nav a {
    color: #9aa0a6 !important;
    font-size: .86rem !important;
    font-weight: 660 !important;
  }

  body.matches-app-page .bottom-nav a.active {
    color: #f8fafc !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    color: #9aa0a6 !important;
    background: transparent !important;
  }

  body.matches-app-page .bottom-nav a.active .bottom-nav-icon {
    color: #071105 !important;
    background: var(--accent) !important;
  }
}

@media (max-width: 430px) {
  body.matches-app-page .app-header {
    min-height: 86px !important;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 16px !important;
  }

  body.matches-app-page .app-header-brand img {
    width: 42px !important;
    height: 42px !important;
  }

  body.matches-app-page .app-header-brand strong {
    font-size: 1.55rem !important;
  }

  body.matches-app-page .app-header-menu {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }

  body.matches-app-page .matches-app {
    padding: 18px 14px calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .matches-date-control {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span,
  body.matches-app-page .matches-date-control > button {
    height: 48px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .matches-date-control > a,
  body.matches-app-page .matches-date-control > span {
    width: 48px !important;
    font-size: 2rem !important;
  }

  body.matches-app-page .matches-date-control strong {
    font-size: 1.02rem !important;
  }

  body.matches-app-page .app-filter-row {
    margin-bottom: 14px !important;
    padding: 5px !important;
  }

  body.matches-app-page .app-filter-row button,
  body.matches-app-page .app-filter-row a {
    min-height: 42px !important;
    font-size: .82rem !important;
  }

  body.matches-app-page .matches-search-row {
    grid-template-columns: minmax(0, 1fr) auto 54px !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  body.matches-app-page .matches-search-row label {
    min-height: 50px !important;
    padding: 0 13px !important;
  }

  body.matches-app-page .matches-search-row input {
    font-size: .9rem !important;
  }

  body.matches-app-page .matches-search-row > span {
    font-size: .82rem !important;
  }

  body.matches-app-page .matches-search-row button {
    width: 54px !important;
    height: 32px !important;
  }

  body.matches-app-page .matches-search-row button i {
    width: 28px !important;
    height: 28px !important;
  }

  body.matches-app-page .matches-search-row button.active i {
    left: 25px !important;
  }

  body.matches-app-page .matches-advice-link {
    min-height: 50px !important;
    margin-bottom: 18px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
  }

  body.matches-app-page .matches-advice-link strong {
    font-size: .84rem !important;
  }

  body.matches-app-page .app-competition summary {
    min-height: 46px !important;
    padding: 0 28px 10px 48px !important;
  }

  body.matches-app-page .app-competition summary::before {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }

  body.matches-app-page .app-competition summary span {
    font-size: 1rem !important;
  }

  body.matches-app-page .app-competition summary small {
    font-size: .72rem !important;
  }

  body.matches-app-page .app-match-row,
  body.matches-app-page .app-match-row.has-odds {
    grid-template-columns: 54px minmax(0, 1fr) 28px 28px !important;
    gap: 8px !important;
    min-height: 64px !important;
    padding: 9px 10px !important;
    border-radius: 12px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-row.has-odds {
    grid-template-columns: 52px minmax(0, 1fr) 92px 24px 26px !important;
    gap: 6px !important;
  }

  body.matches-app-page .app-match-status {
    padding-right: 8px !important;
    font-size: .72rem !important;
  }

  body.matches-app-page .app-team-flag {
    width: 21px !important;
    height: 21px !important;
  }

  body.matches-app-page .app-match-team strong {
    font-size: .84rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds {
    gap: 3px !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em {
    min-height: 30px !important;
    padding: 1px !important;
    font-size: .52rem !important;
  }

  body.matches-app-page .matches-app.show-odds .app-match-odds em strong {
    min-width: 27px !important;
    padding: 5px 3px !important;
    font-size: .62rem !important;
  }

  body.matches-app-page .bottom-nav {
    min-height: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.matches-app-page .bottom-nav a {
    min-height: 56px !important;
    font-size: .66rem !important;
  }

  body.matches-app-page .bottom-nav-icon {
    width: 32px !important;
    height: 32px !important;
  }
}
