:root {
  --bg: #f3eee5;
  --bg-2: #d5e6f0;
  --paper: rgba(255, 252, 247, 0.78);
  --panel: rgba(19, 30, 39, 0.92);
  --text: #16212b;
  --muted: #5d6c79;
  --line: rgba(22, 33, 43, 0.12);
  --accent: #c85f28;
  --accent-2: #1f6b7a;
  --shadow: 0 28px 60px rgba(16, 24, 32, 0.16);
}

/* 2026-04-27: defensive public match/match-center layout repair */
.match-hero-card--consumer {
  overflow: visible;
}

.match-hero-card--consumer::after {
  pointer-events: none;
}

.match-hero-card--consumer .match-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.match-hero-card--consumer .match-hero-vs {
  overflow: visible;
  min-width: 0;
  width: 100%;
}

.match-hero-team,
.match-hero-scorecard,
.match-hero-copy,
.public-match-card,
.public-lineup-panel,
.public-info-chip {
  min-width: 0;
}

.match-hero-team__name,
.public-lineup-player__name,
.public-lineup-player__meta,
.public-info-chip strong,
.public-source-note,
.match-center-overview__copy,
.match-group__titles strong,
.match-team-line__text h3,
.match-meta__competition {
  overflow-wrap: anywhere;
}

.public-match-dossier__glance {
  align-items: start;
}

.public-match-card--accent {
  align-self: start;
  min-height: 0;
}

.prediction-vote-bar__segment {
  min-height: 36px;
}

@media (min-width: 1180px) {
  .dashboard-shell--matchcenter {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
  }

  .dashboard-sidebar--matchcenter {
    display: grid;
    max-width: 280px;
    position: sticky;
    top: 1rem;
  }

  .dashboard-main--matchcenter,
  .matches-list,
  .match-card,
  .match-body,
  .match-meta,
  .match-team-line {
    min-width: 0;
  }

  .market-strip {
    grid-template-columns: repeat(auto-fit, minmax(54px, 68px));
    justify-content: end;
  }
}

@media (max-width: 1179px) {
  .match-hero-card--consumer .match-hero-top,
  .dashboard-shell--matchcenter,
  .match-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-sidebar--matchcenter {
    display: none;
  }

  .market-strip {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .match-hero-card--consumer .match-hero-vs {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-hero-scorecard {
    justify-self: stretch;
  }
}


/* 2026-04-27 last rule: compact authenticated app sidebar */
@media (min-width: 981px) {
  .page-auth .app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 20px;
  }

  .page-auth .app-sidebar {
    top: 100px;
    gap: 12px;
    max-height: none;
    overflow: visible;
  }

  .page-auth .app-sidebar__scroll {
    gap: 12px;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }
}

.page-auth .app-sidebar__card,
.page-auth .app-sidebar__nav {
  border-radius: 16px;
}

.page-auth .app-sidebar__card {
  padding: 13px 14px;
  gap: 6px;
}

.page-auth .app-sidebar__nav {
  gap: 4px;
  padding: 10px 9px 9px;
}

.page-auth .app-sidebar__link {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 11px;
  background: transparent;
}

.page-auth .app-sidebar__link small {
  font-size: 10.5px;
  line-height: 1.25;
}

.page-auth .app-sidebar__link:hover,
.page-auth .app-sidebar__link.is-active {
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.14);
  box-shadow: none;
}

.page-auth .app-icon {
  width: 24px;
  height: 24px;
}

.page-auth .app-icon--image img {
  width: 16px;
  height: 16px;
}

/* 2026-04-28 final override: keep the authenticated workspace stable after
   older duplicated cascade blocks later in this file. */
@media (min-width: 981px) {
  .page-auth .app-shell {
    grid-template-columns: clamp(220px, 20vw, 244px) minmax(0, 1fr) !important;
    align-items: start;
    width: min(100%, 1440px);
    margin-inline: auto;
  }

  .page-auth .app-sidebar {
    max-height: calc(100dvh - 104px) !important;
    overflow: hidden !important;
  }

  .page-auth .app-sidebar__scroll {
    max-height: calc(100dvh - 250px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    scrollbar-gutter: stable !important;
  }
}

.page-auth .dashboard-shell--matchcenter {
  display: block !important;
}

.page-auth .dashboard-sidebar--matchcenter {
  display: none !important;
}

.page-auth .dashboard-main--matchcenter,
.page-auth .app-shell__content,
.page-admin .app-shell__content {
  min-width: 0 !important;
}

.page-auth .filters-panel--matchcenter {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  align-items: end;
  gap: 14px;
}

.page-auth .filters-panel--matchcenter .filter-actions {
  grid-column: 1 / -1;
}

.page-admin .admin-table-wrap,
.page-admin .admin-tabs-nav {
  overflow-x: auto;
}

@media (max-width: 980px) {
  .page-auth .filters-panel--matchcenter {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 2026-04-28 final override: keep the authenticated workspace stable after
   older duplicated cascade blocks later in this file. */
@media (min-width: 981px) {
  .page-auth .app-shell {
    grid-template-columns: clamp(220px, 20vw, 244px) minmax(0, 1fr) !important;
    align-items: start;
    width: min(100%, 1440px);
    margin-inline: auto;
  }

  .page-auth .app-sidebar {
    max-height: calc(100dvh - 104px) !important;
    overflow: hidden !important;
  }

  .page-auth .app-sidebar__scroll {
    max-height: calc(100dvh - 250px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    scrollbar-gutter: stable !important;
  }
}

.page-auth .dashboard-shell--matchcenter {
  display: block !important;
}

.page-auth .dashboard-sidebar--matchcenter {
  display: none !important;
}

.page-auth .dashboard-main--matchcenter,
.page-auth .app-shell__content,
.page-admin .app-shell__content {
  min-width: 0 !important;
}

.page-auth .filters-panel--matchcenter {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  align-items: end;
  gap: 14px;
}

.page-auth .filters-panel--matchcenter .filter-actions {
  grid-column: 1 / -1;
}

.page-admin .admin-table-wrap,
.page-admin .admin-tabs-nav {
  overflow-x: auto;
}

@media (max-width: 980px) {
  .page-auth .filters-panel--matchcenter {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 2026-04-28: stabilize authenticated matchboard/admin workspace.
   The global app sidebar is the only left navigation; the older in-content
   matchcenter sidebar must not create a second "feed mode" column. */
@media (min-width: 981px) {
  .page-auth .app-shell {
    grid-template-columns: clamp(220px, 20vw, 244px) minmax(0, 1fr);
    align-items: start;
    width: min(100%, 1440px);
    margin-inline: auto;
  }

  .page-auth .app-sidebar {
    max-height: calc(100dvh - 104px);
    overflow: hidden;
  }

  .page-auth .app-sidebar__scroll {
    max-height: calc(100dvh - 250px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-gutter: stable;
  }
}

.page-auth .app-shell__content,
.page-auth .dashboard-main,
.page-auth .dashboard-main--matchcenter,
.page-auth .admin-dashboard,
.page-auth .admin-panel {
  min-width: 0;
}

.page-auth .dashboard-shell--matchcenter {
  display: block;
}

.page-auth .dashboard-sidebar--matchcenter {
  display: none !important;
}

.page-auth .dashboard-main--matchcenter {
  width: 100%;
}

.page-auth .filters-panel--matchcenter {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  align-items: end;
  gap: 14px;
}

.page-auth .filters-panel--matchcenter .filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-auth .active-filters--matchcenter,
.page-auth .quick-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.page-admin .app-shell {
  width: min(100%, 1480px);
}

.page-admin .admin-table-wrap,
.page-admin .admin-log-tail,
.page-admin .admin-tabs-nav,
.page-admin .admin-review-card,
.page-admin .admin-system-card {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-admin .admin-table-wrap,
.page-admin .admin-tabs-nav {
  overflow-x: auto;
}

@media (max-width: 980px) {
  .page-auth .filters-panel--matchcenter {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-auth .app-sidebar__scroll {
    max-height: none;
    overflow: visible;
  }
}

/* 2026-04-27 last rule: compact authenticated app sidebar */
@media (min-width: 981px) {
  .page-auth .app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 20px;
  }

  .page-auth .app-sidebar {
    top: 100px;
    gap: 12px;
    max-height: none;
    overflow: visible;
  }

  .page-auth .app-sidebar__scroll {
    gap: 12px;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }
}

.page-auth .app-sidebar__card,
.page-auth .app-sidebar__nav {
  border-radius: 16px;
}

.page-auth .app-sidebar__card {
  padding: 13px 14px;
  gap: 6px;
}

.page-auth .app-sidebar__nav {
  gap: 4px;
  padding: 10px 9px 9px;
}

.page-auth .app-sidebar__link {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 11px;
  background: transparent;
}

.page-auth .app-sidebar__link small {
  font-size: 10.5px;
  line-height: 1.25;
}

.page-auth .app-sidebar__link:hover,
.page-auth .app-sidebar__link.is-active {
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.14);
  box-shadow: none;
}

.page-auth .app-icon {
  width: 24px;
  height: 24px;
}

.page-auth .app-icon--image img {
  width: 16px;
  height: 16px;
}

/* 2026-04-27 final cascade: compact authenticated app sidebar */
@media (min-width: 981px) {
  .page-auth .app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 20px;
  }

  .page-auth .app-sidebar {
    top: 100px;
    gap: 12px;
    max-height: none;
    overflow: visible;
  }

  .page-auth .app-sidebar__scroll {
    gap: 12px;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }
}

.page-auth .app-sidebar__card,
.page-auth .app-sidebar__nav {
  border-radius: 16px;
}

.page-auth .app-sidebar__card {
  padding: 13px 14px;
  gap: 6px;
}

.page-auth .app-sidebar__nav {
  gap: 4px;
  padding: 10px 9px 9px;
}

.page-auth .app-sidebar__link {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 11px;
  background: transparent;
}

.page-auth .app-sidebar__link small {
  font-size: 10.5px;
  line-height: 1.25;
}

.page-auth .app-sidebar__link:hover,
.page-auth .app-sidebar__link.is-active {
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.14);
  box-shadow: none;
}

.page-auth .app-icon {
  width: 24px;
  height: 24px;
}

.page-auth .app-icon--image img {
  width: 16px;
  height: 16px;
}

/* 2026-04-27: keep the authenticated left rail compact and neutral */
@media (min-width: 981px) {
  .app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 20px;
  }

  .app-sidebar {
    top: 100px;
    max-height: calc(100dvh - 112px);
    gap: 12px;
  }
}

.app-sidebar__card,
.app-sidebar__nav {
  border-radius: 16px;
}

.app-sidebar__card {
  padding: 13px 14px;
  gap: 6px;
}

.app-sidebar__nav {
  gap: 4px;
  padding: 10px 9px 9px;
}

.app-sidebar__scroll {
  gap: 12px;
  padding-right: 2px;
  scrollbar-gutter: auto;
}

.app-sidebar__scroll::-webkit-scrollbar {
  width: 5px;
}

.app-sidebar__scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 122, 255, 0.14);
}

.app-sidebar__link {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 11px;
  background: transparent;
}

.app-sidebar__link small {
  font-size: 10.5px;
  line-height: 1.25;
}

.app-sidebar__link:hover,
.app-sidebar__link.is-active {
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.14);
  box-shadow: none;
}

.app-icon {
  width: 24px;
  height: 24px;
}

.app-icon--image img {
  width: 16px;
  height: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 95, 40, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(31, 107, 122, 0.16), transparent 28%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

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

.page-shell {
  min-height: 100vh;
}

.hero,
.section,
.ticker {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent), #8f3b18);
  box-shadow: var(--shadow);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand-text {
  font-size: 18px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.cta-link {
  color: var(--text);
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.info-card,
.step-card,
.stack-card,
.roadmap-card,
.launch {
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.88), rgba(255, 248, 240, 0.7));
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.hero-copy h1,
.section-head h2,
.launch-copy h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(50px, 8vw, 92px);
}

.lead {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.6;
  color: #30404d;
}

.hero-actions,
.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #95461f);
  color: #fff7f0;
}

.button-secondary {
  background: transparent;
  border-color: rgba(22, 33, 43, 0.18);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.signal-card {
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(22, 33, 43, 0.08);
}

.signal-label,
.stack-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 28px;
  color: #f4ede4;
  background:
    linear-gradient(180deg, rgba(14, 24, 31, 0.86), rgba(14, 24, 31, 0.94)),
    linear-gradient(135deg, rgba(200, 95, 40, 0.2), rgba(31, 107, 122, 0.24));
}

.panel-header,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #d5e3ed;
  font-size: 14px;
}

.panel-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(200, 95, 40, 0.22);
  color: #ffd5bc;
  font-weight: 700;
}

.panel-section {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.metric-row span {
  color: #9db0be;
}

.metric-row strong {
  text-align: right;
  max-width: 220px;
}

.panel-footnote {
  color: #c9d6df;
  font-size: 14px;
  line-height: 1.6;
}

.ticker {
  overflow: hidden;
  padding: 12px 0 6px;
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker-move 28s linear infinite;
  color: var(--accent-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.ticker-track span::before {
  content: "•";
  margin-right: 12px;
  color: var(--accent);
}

.section {
  padding: 72px 0 8px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2,
.launch-copy h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.card-grid.three,
.workflow,
.stack-grid,
.roadmap {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.step-card,
.stack-card,
.roadmap-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--paper);
}

.info-card h3,
.step-card h3,
.stack-card strong,
.roadmap-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.05;
}

.info-card p,
.step-card p,
.stack-card p,
.roadmap-card p,
.launch-copy p {
  margin: 0;
  color: #33424f;
  line-height: 1.7;
  font-size: 17px;
}

.accent .step-card {
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.88), rgba(242, 248, 251, 0.76));
}

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

.step-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

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

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

.roadmap-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.roadmap-card.active {
  border-color: rgba(200, 95, 40, 0.22);
  background: linear-gradient(180deg, rgba(255, 248, 243, 0.92), rgba(255, 252, 248, 0.72));
}

.launch {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(21, 31, 40, 0.94), rgba(42, 61, 69, 0.88));
  color: #f4ede4;
}

.launch-copy p {
  margin-top: 18px;
  color: #d0dae2;
}

.launch-actions {
  margin-top: 0;
  flex-direction: column;
  align-items: flex-start;
}

#serverPath {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffdbc9;
  word-break: break-all;
}

.flash-banner {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(22, 33, 43, 0.1);
  box-shadow: var(--shadow);
  background: rgba(255, 252, 247, 0.88);
}

.flash-banner--success {
  border-color: rgba(37, 122, 76, 0.18);
  background: rgba(235, 249, 240, 0.92);
}

.flash-banner--error {
  border-color: rgba(165, 52, 36, 0.18);
  background: rgba(254, 239, 236, 0.92);
}

.auth-shell {
  display: flex;
  justify-content: center;
}

.auth-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-card {
  width: min(620px, 100%);
  padding: 32px;
}

.auth-card--wide {
  width: min(720px, 100%);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.auth-card__actions a {
  color: var(--accent-2);
  font-weight: 600;
}

.auth-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
}

.auth-stage__aside,
.auth-stage__card {
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-stage__aside {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 28px;
  color: #f4ede4;
  background:
    linear-gradient(180deg, rgba(14, 24, 31, 0.9), rgba(14, 24, 31, 0.96)),
    linear-gradient(135deg, rgba(200, 95, 40, 0.24), rgba(31, 107, 122, 0.2));
}

.auth-stage__card {
  padding: 32px;
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.94), rgba(255, 248, 242, 0.84));
}

.auth-stage__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 231, 220, 0.82);
}

.auth-stage__aside h1,
.auth-stage__title {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.auth-stage__aside h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 9ch;
}

.auth-stage__meta {
  display: grid;
  gap: 10px;
}

.auth-stage__meta strong {
  font-size: 18px;
}

.auth-stage__meta p,
.auth-stage__lead {
  margin: 0;
  line-height: 1.65;
}

.auth-stage__lead {
  color: var(--muted);
  max-width: 48ch;
}

.auth-stage__title {
  font-size: clamp(34px, 4vw, 46px);
}

.auth-stage__signals {
  display: grid;
  gap: 12px;
}

.auth-signal {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.auth-signal strong {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff1e5;
}

.auth-signal span {
  color: rgba(233, 240, 245, 0.82);
  line-height: 1.5;
}

.auth-stage__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 22px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.auth-stage__links a {
  color: var(--accent-2);
  font-weight: 700;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-weight: 700;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 33, 43, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 120px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(31, 107, 122, 0.42);
  box-shadow: 0 0 0 4px rgba(31, 107, 122, 0.08);
}

.admin-shell {
  padding-bottom: 56px;
}

.page-admin .app-shell {
  grid-template-columns: 1fr;
  width: min(1440px, calc(100% - 32px));
}

.page-admin .app-sidebar {
  display: none;
}

.page-admin .app-shell__content {
  width: 100%;
}

.admin-metrics {
  margin-bottom: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}

.admin-panel__head h3 {
  margin: 0;
  font-size: 26px;
}

.admin-panel__head span {
  color: var(--muted);
  font-size: 14px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(22, 33, 43, 0.08);
  vertical-align: top;
}

.admin-table-subtext {
  margin-top: 4px;
  color: rgba(22, 33, 43, 0.6);
  font-size: 12px;
  word-break: break-word;
}

.admin-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(31, 107, 122, 0.12);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.admin-badge--warn {
  background: rgba(200, 95, 40, 0.12);
  color: var(--accent);
}

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

.admin-review-list--cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-review-list--compact {
  gap: 10px;
}

.admin-review-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.admin-review-card strong,
.admin-review-card p,
.admin-review-card code,
.admin-review-card small {
  display: block;
}

.admin-review-card p {
  margin: 8px 0;
  line-height: 1.6;
}

.admin-review-card code {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(19, 30, 39, 0.92);
  color: #f1ede5;
  white-space: pre-wrap;
}

.admin-review-card small {
  margin-top: 10px;
  color: var(--muted);
}

.admin-dashboard {
  display: grid;
  gap: 22px;
  max-width: 100%;
}

.admin-dashboard__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: stretch;
  gap: 20px;
  padding: 28px 30px;
  border: 1px solid rgba(19, 42, 68, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(16, 111, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.9));
  box-shadow: 0 26px 60px rgba(111, 139, 181, 0.18);
}

.admin-dashboard__hero h2 {
  margin: 8px 0 14px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.admin-dashboard__hero p:not(.eyebrow) {
  max-width: 62ch;
  font-size: 18px;
  color: var(--muted);
}

.admin-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.admin-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.admin-status-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(19, 42, 68, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(117, 140, 176, 0.12);
}

.admin-status-card__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-status-card strong {
  font-size: 18px;
  line-height: 1.35;
}

.admin-status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.admin-kpi-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(19, 42, 68, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 253, 0.9));
  box-shadow: 0 18px 44px rgba(110, 134, 168, 0.14);
}

.admin-kpi-card span,
.admin-kpi-card small {
  display: block;
}

.admin-kpi-card span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-kpi-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 40px;
  line-height: 1;
}

.admin-tabs-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: sticky;
  top: 12px;
  z-index: 20;
  padding: 10px 12px;
  margin-top: 4px;
  border-radius: 24px;
  border: 1px solid rgba(19, 42, 68, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.admin-tab-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(22, 33, 43, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-weight: 700;
}

.admin-tab-link.is-active {
  background: linear-gradient(135deg, var(--accent), #95461f);
  border-color: transparent;
  color: #fff7f0;
}

.admin-layout-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.admin-layout-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

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

.admin-timeline__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(19, 42, 68, 0.07);
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.74);
}

.admin-timeline__date {
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
  font-weight: 700;
}

.admin-timeline__metrics,
.admin-system-grid {
  display: grid;
  gap: 10px;
}

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

.admin-metric-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
}

.admin-metric-chip--tasks {
  background: rgba(31, 107, 122, 0.12);
  color: #155765;
  border-color: rgba(31, 107, 122, 0.16);
}

.admin-metric-chip--evals {
  background: rgba(200, 95, 40, 0.12);
  color: #a34f26;
  border-color: rgba(200, 95, 40, 0.16);
}

.admin-metric-chip--reviews {
  background: rgba(52, 94, 62, 0.12);
  color: #31593d;
  border-color: rgba(52, 94, 62, 0.16);
}

.admin-metric-chip--ops {
  background: rgba(74, 83, 133, 0.12);
  color: #414974;
  border-color: rgba(74, 83, 133, 0.16);
}

@media (max-width: 960px) {
  .admin-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-panel__head h3 {
    font-size: 22px;
  }

  .admin-layout-two {
    grid-template-columns: 1fr;
  }

  .admin-review-list--cards {
    grid-template-columns: 1fr;
  }

  .admin-user-editor__grid,
  .admin-user-form__grid {
    grid-template-columns: 1fr;
  }
}

.admin-quick-actions,
.admin-check-group,
.admin-prompt-actions,
.admin-inline-form--end {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-inline-form {
  display: inline-flex;
}

.admin-user-actions,
.admin-user-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-user-editor-row td {
  padding-top: 0;
}

.admin-user-editor {
  padding: 18px 0 6px;
}

.admin-user-editor__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-user-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(19, 42, 68, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.admin-user-form--danger {
  border-color: rgba(185, 28, 28, 0.14);
  background: rgba(255, 245, 245, 0.86);
}

.admin-user-form__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-user-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.button-danger {
  background: linear-gradient(135deg, #d43f3f, #a92222);
  color: #fff7f7;
}

.admin-select {
  min-width: 150px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(22, 33, 43, 0.12);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.admin-check input {
  accent-color: var(--accent-2);
}

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

.admin-plan-editor,
.admin-process-card {
  display: grid;
  gap: 14px;
}

.admin-form-grid,
.admin-learning-grid,
.admin-ops-grid {
  display: grid;
  gap: 14px;
}

.admin-live-grid {
  display: grid;
  gap: 18px;
}

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

.admin-ai-provider-shell {
  align-items: start;
}

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

.admin-ai-provider-form label,
.admin-ai-provider-shell label {
  display: grid;
  gap: 7px;
  color: #617188;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-ai-provider-json {
  min-height: 110px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: none;
  letter-spacing: 0;
}

.admin-code-block {
  max-width: min(680px, 70vw);
  max-height: 340px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(147, 161, 183, .35);
  border-radius: 10px;
  background: #f7faff;
  color: #122033;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  text-transform: none;
  letter-spacing: 0;
}

.admin-learning-grid {
  grid-template-columns: 1fr 1fr;
}

.admin-ops-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-live-card {
  display: grid;
  gap: 16px;
}

.admin-live-models {
  display: grid;
  gap: 14px;
}

.admin-live-model {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.admin-live-model.is-judge {
  border-color: rgba(52, 94, 62, 0.24);
  background: linear-gradient(180deg, rgba(241, 249, 243, 0.96), rgba(255, 255, 255, 0.92));
}

.admin-live-model__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.admin-live-predictions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-live-pill {
  min-width: 160px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(244, 247, 250, 0.95);
  border: 1px solid rgba(22, 33, 43, 0.06);
}

.admin-live-pill span,
.admin-live-pill small,
.admin-live-source small {
  color: var(--muted);
  font-size: 13px;
}

.admin-live-copy {
  margin: 0;
}

.admin-live-sources {
  display: grid;
  gap: 10px;
}

.admin-live-source {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(22, 33, 43, 0.06);
}

.admin-live-source a {
  color: var(--accent);
  text-decoration: none;
}

.admin-model-card p {
  margin-bottom: 6px;
}

.admin-ensemble-card {
  border-color: rgba(31, 107, 122, 0.14);
  background: linear-gradient(180deg, rgba(241, 249, 252, 0.92), rgba(255, 255, 255, 0.78));
}

.admin-ensemble-card--suppressed {
  border-color: rgba(200, 95, 40, 0.16);
  background: linear-gradient(180deg, rgba(255, 245, 238, 0.96), rgba(255, 255, 255, 0.82));
}

.admin-system-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 16px;
}

.admin-system-grid--ensemble {
  margin-bottom: 18px;
}

.admin-system-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(247, 250, 255, 0.84);
  border: 1px solid rgba(19, 42, 68, 0.08);
}

.admin-system-card strong {
  font-size: 16px;
}

.admin-system-card p {
  margin: 0;
  color: var(--muted);
}

.admin-log-tail {
  display: block;
  max-height: 280px;
  overflow: auto;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(18, 24, 32, 0.92);
  color: #e6edf5;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.landing-radar-grid,
.landing-drift-list {
  display: grid;
  gap: 14px;
}

.landing-radar-card,
.landing-drift-card,
.match-ai-strip {
  border: 1px solid rgba(22, 33, 43, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.landing-radar-card,
.landing-drift-card {
  padding: 18px;
}

.landing-radar-card strong,
.landing-drift-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.landing-radar-card p,
.landing-drift-card p,
.landing-radar-card small,
.landing-drift-card small {
  display: block;
  margin: 0 0 8px;
}

.landing-radar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.landing-radar-pills span,
.match-ai-strip span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(31, 107, 122, 0.1);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.landing-drift-card code {
  display: block;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(19, 30, 39, 0.92);
  color: #f1ede5;
  white-space: pre-wrap;
}

.match-ai-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  margin: 8px 0 0;
}

.match-ai-strip--compact {
  margin-top: 8px;
  padding: 8px 10px;
}

.active-filters--tight {
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 0;
}

.active-filters--tight .filter-chip {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.page-ai-live .landing-radar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-live-filters {
  margin-bottom: 20px;
}

.public-live-signals {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
}

.public-live-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.public-live-signal-card {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.public-live-signal-card--strong {
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.94), rgba(255, 255, 255, 0.88));
}

/* LIVE WAVE: colorize medium/low live-signal cards (98% are --medium). */
.public-live-signal-card--medium {
  border-color: rgba(245, 158, 11, 0.42);
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.72), rgba(255, 255, 255, 0.9));
}

.public-live-signal-card--medium .public-live-signal-card__top strong {
  background: #f59e0b;
  color: #1f2937;
}

.public-live-signal-card--low {
  border-color: rgba(100, 116, 139, 0.34);
  border-left: 4px solid #64748b;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.85), rgba(255, 255, 255, 0.92));
}

.public-live-signal-card--low .public-live-signal-card__top strong {
  background: #64748b;
  color: #fff;
}

.public-live-signal-card__top,
.public-live-signal-card__actions,
.public-live-signal-card__metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.public-live-signal-card__top {
  justify-content: space-between;
}

.public-live-signal-card__top span,
.public-live-signal-card__top strong,
.public-live-signal-card__metrics span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 900;
}

.public-live-signal-card--strong .public-live-signal-card__top strong {
  background: #16a34a;
  color: #fff;
}

.public-live-signal-card h3 {
  margin: 0;
  color: #102033;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.public-live-signal-card p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.public-live-signal-card__ai-report {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.96)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent 70%);
}

.public-live-signal-card__ai-report strong {
  color: #0f3d75;
  font-size: 0.88rem;
}

.public-live-signal-card__ai-report p {
  color: #24364a;
  line-height: 1.55;
}

.match-external-ai-structured {
  display: grid;
  gap: 1rem;
}

.match-external-ai-structured__lead {
  margin: 0;
  color: #102033;
  font-size: 1rem;
  line-height: 1.65;
}

.match-external-ai-structured__section {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.match-external-ai-structured__section h3 {
  margin: 0;
  color: #0f3d75;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-external-ai-structured__section ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
}

.match-external-ai-structured__section li {
  color: #24364a;
  line-height: 1.55;
}

.public-live-signal-card small {
  color: #64748b;
  font-weight: 700;
}

.landing-radar-status {
  margin-top: 10px;
  color: var(--landing-muted);
}

.agreement-pill--unanimous {
  background: rgba(25, 135, 84, 0.12) !important;
  color: var(--landing-green) !important;
}

.agreement-pill--split {
  background: rgba(200, 95, 40, 0.12) !important;
  color: var(--accent) !important;
}

.admin-learning-notes-highlight {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(25, 135, 84, 0.18);
  background: rgba(25, 135, 84, 0.08);
}

.admin-learning-notes-highlight strong {
  display: block;
  margin-bottom: 10px;
}

.admin-learning-notes-highlight ul {
  margin: 0;
  padding-left: 20px;
}

.admin-learning-notes-highlight li + li {
  margin-top: 8px;
}

@keyframes ticker-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .launch,
  .card-grid.three,
  .workflow,
  .stack-grid,
  .roadmap,
  .admin-kpi-grid,
  .admin-layout-two,
  .admin-layout-three,
  .admin-tariff-grid,
  .admin-form-grid,
  .admin-learning-grid,
  .admin-ops-grid,
  .admin-live-grid {
    grid-template-columns: 1fr;
  }

  .page-ai-live .landing-radar-grid {
    grid-template-columns: 1fr;
  }

  .football-preview-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .topbar,
  .topbar-links,
  .signal-row,
  .admin-dashboard__hero,
  .admin-tabs-nav,
  .admin-quick-actions,
  .admin-live-model__head {
    display: grid;
  }

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

  .hero,
  .section,
  .ticker {
    width: min(100% - 20px, 1180px);
  }

  .hero-copy,
  .hero-panel,
  .info-card,
  .step-card,
  .stack-card,
  .roadmap-card,
  .launch {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .lead,
  .info-card p,
  .step-card p,
  .stack-card p,
  .roadmap-card p,
  .launch-copy p {
    font-size: 16px;
  }

  .match-prematch-glance {
    grid-template-columns: 1fr;
  }

  .preview-snapshot-row {
    grid-template-columns: 1fr;
  }
}

.ai-api-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.ai-api-form {
    display: grid;
    gap: 12px;
}

.ai-api-form label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.ai-api-form input,
.ai-api-form select {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

.ai-api-model-note {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.ai-api-form__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ai-api-checkbox {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px !important;
}

.ai-api-checkbox input {
    width: auto;
}

.ai-api-list {
    display: grid;
    gap: 10px;
}

.ai-api-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
}

.ai-api-item div {
    display: grid;
    gap: 4px;
}

.ai-api-item small,
.ai-api-item span {
    color: #64748b;
}

@media (max-width: 980px) {
    .ai-api-grid,
    .ai-api-form__row {
        grid-template-columns: 1fr;
    }

    .ai-api-item {
        grid-template-columns: 1fr;
    }
}

.compact-hero {
  padding-bottom: 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
}

.summary-grid,
.detail-grid,
.odds-board-grid,
.matches-list,
.pricing-grid,
.pricing-list {
  display: grid;
  gap: 18px;
}

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

.summary-grid--compact {
  gap: 12px;
  margin-bottom: 18px;
}

.summary-grid--compact .stack-card {
  padding: 16px 18px;
  border-radius: 20px;
}

.summary-grid--compact .stack-label {
  font-size: 12px;
}

.summary-grid--matchcenter {
  gap: 10px;
  margin-bottom: 14px;
}

.summary-grid--matchcenter .stack-card {
  padding: 12px 14px;
  border-radius: 16px;
  min-height: 0;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.04);
  background: rgba(255, 255, 255, 0.78);
}

.summary-grid--matchcenter .stack-label {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.summary-grid--matchcenter .stack-value {
  font-size: clamp(1.85rem, 2.8vw, 2.2rem);
  line-height: 1;
}

.summary-grid--matchcenter .stack-card {
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.04);
}

.summary-grid--matchcenter .stack-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

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

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.match-card,
.status-banner {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.matches-list--grouped {
  gap: 20px;
}

.matches-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 140, 170, 0.18);
  border-radius: 14px;
  background: rgba(120, 140, 170, 0.06);
}

.matches-legend__chip {
  font-size: 12px;
  line-height: 1.4;
  color: #5a6478;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(120, 140, 170, 0.1);
}

.matches-legend__chip--green { color: #1f7a4d; background: rgba(31, 122, 77, 0.1); }
.matches-legend__chip--yellow { color: #9a7b13; background: rgba(154, 123, 19, 0.1); }
.matches-legend__chip--red { color: #b0473a; background: rgba(176, 71, 58, 0.1); }
.matches-legend__chip--orient { color: #3a5db0; background: rgba(58, 93, 176, 0.1); }

.matches-legend__note {
  flex-basis: 100%;
  font-size: 11px;
  color: #8893a6;
}

.dashboard-shell--matchcenter {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.dashboard-sidebar--matchcenter {
  top: 120px;
  padding: 16px;
  display: none;
  gap: 14px;
  border-radius: 22px;
}

.dashboard-main--matchcenter {
  min-width: 0;
}

.matchcenter-sidebar__section {
  display: grid;
  gap: 10px;
}

.matchcenter-sidebar__eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.matchcenter-sidebar__title {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.matchcenter-sidebar__copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.matchcenter-sidebar__links {
  display: grid;
  gap: 8px;
}

.matchcenter-sidebar__link {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.matchcenter-sidebar__link small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.matchcenter-sidebar__link.is-active {
  border-color: rgba(0, 122, 255, 0.22);
  background: rgba(0, 122, 255, 0.09);
  color: var(--accent);
}

.match-group {
  display: grid;
  gap: 8px;
}

.match-group__head,
.prompt-payload-details {
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(0, 122, 255, 0.08), transparent 34%),
    rgba(255, 252, 247, 0.78);
  box-shadow: 0 10px 22px rgba(16, 24, 32, 0.06);
}

.match-group__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 136px;
  z-index: 6;
  padding: 11px 14px;
  border-radius: 16px;
  border-color: rgba(22, 33, 43, 0.1);
  background:
    radial-gradient(circle at top right, rgba(0, 122, 255, 0.1), transparent 34%),
    rgba(255, 252, 247, 0.9);
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.08);
}

.match-group__titles {
  display: grid;
  gap: 4px;
}

.match-group__titles strong {
  font-size: 16px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.match-group__titles span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.match-group__aside {
  display: grid;
  gap: 2px;
  text-align: right;
  flex: 0 0 auto;
}

.match-group__aside strong {
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
  font-weight: 700;
}

.match-group__aside span {
  color: var(--muted);
  font-size: 10px;
}

.match-group__league-logo,
.match-group__country-flag {
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(22, 33, 43, 0.08);
}

.match-group__league-logo {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.match-group__country-flag {
  width: 16px;
  height: 12px;
  border-radius: 4px;
}

.match-group__list {
  display: grid;
  gap: 8px;
}

.match-card--compact {
  padding: 14px 16px;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.08);
}

.match-insight-details {
  margin-top: 10px;
  border-top: 1px solid rgba(22, 33, 43, 0.08);
  padding-top: 10px;
}

.match-insight-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}

.prompt-payload-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
}

.prompt-payload-actions {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0 10px;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.prompt-payload-box {
  width: 100%;
  min-height: 320px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 33, 43, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: 13px/1.55 "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  resize: vertical;
}

.football-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.football-preview-card h3 {
  margin-bottom: 12px;
}

.match-insight-grid,
.match-models-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

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

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

.match-insight-card,
.match-model-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.match-insight-card h3,
.match-model-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.match-insight-card p,
.match-model-card p {
  margin: 0 0 8px;
  color: #33424f;
}

.pricing-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.8);
  box-shadow: var(--shadow);
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(255, 244, 236, 0.92), rgba(255, 252, 247, 0.78));
  border-color: rgba(200, 95, 40, 0.24);
}

.pricing-card--highlight {
  position: relative;
  transform: translateY(-6px);
  border-color: rgba(0, 122, 255, 0.22);
  background: linear-gradient(180deg, rgba(236, 245, 255, 0.98), rgba(255, 252, 247, 0.92));
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 107, 122, 0.12);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 16px 0 10px;
  font-size: 32px;
}

.pricing-card p {
  color: #33424f;
  line-height: 1.65;
}

.pricing-price {
  margin-bottom: 14px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pricing-price small {
  font-size: 16px;
  color: var(--muted);
}

.pricing-list {
  margin: 18px 0 0;
  padding-left: 18px;
  gap: 10px;
  color: #33424f;
}

.pricing-card__cta {
  margin-top: 6px;
}

.pricing-card__checkout {
  display: grid;
}

.pricing-card__checkout .pricing-card__cta {
  width: 100%;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top left, rgba(0, 122, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--landing-shadow);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.seo-hero__copy,
.seo-keyword-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--landing-shadow);
}

.seo-keyword-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.seo-keyword-panel__label {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 107, 122, 0.1);
  color: #1f3d4a;
  font-size: 13px;
  font-weight: 700;
}

.seo-intent {
  margin: 0;
  color: #33424f;
  line-height: 1.7;
}

.landing-actions--compact {
  margin-top: 18px;
}

.seo-card-grid,
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.seo-related-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.82);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(27, 43, 55, 0.08);
}

.seo-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 107, 122, 0.25);
}

.seo-related-card span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-related-card strong {
  font-size: 18px;
}

.seo-related-card p {
  margin: 0;
  color: #586777;
  line-height: 1.55;
}

.pricing-hero__aside {
  display: grid;
  gap: 16px;
}

.pricing-proof-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  background: rgba(244, 248, 255, 0.76);
}

.pricing-proof-card__label {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-proof-card strong {
  font-size: 24px;
  line-height: 1.1;
}

.pricing-proof-card p,
.pricing-proof-card small {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.55;
}

.pricing-grid--sales {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-compare {
  display: grid;
  gap: 20px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--landing-shadow);
}

.pricing-compare__table {
  display: grid;
  gap: 10px;
}

.pricing-compare__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pricing-compare__row span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(244, 248, 255, 0.72);
  color: var(--landing-text);
  font-weight: 600;
}

.pricing-compare__row--head span {
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stack-card strong {
  display: block;
  margin-bottom: 0;
}

.match-meta,
.match-foot,
.market-mini {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.match-meta {
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
}

.match-foot {
  align-items: center;
  padding-top: 0;
  gap: 10px;
  font-size: 13px;
}

.match-foot .button {
  min-width: 132px;
}

.match-foot span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.match-foot .button-secondary {
  border-color: rgba(0, 122, 255, 0.22);
  background: linear-gradient(180deg, rgba(233, 243, 255, 0.98), rgba(244, 248, 255, 0.9));
  color: var(--landing-blue);
}

.match-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 10px 0 8px;
}

.match-body h3 {
  margin: 0 0 8px;
}

.match-meta__competition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.match-meta__stage {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 700;
}

.match-meta__competition img {
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(22, 33, 43, 0.08);
}

.match-meta__country-flag {
  width: 16px;
  height: 12px;
  border-radius: 3px;
}

.match-meta__league-logo {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.match-teams {
  display: grid;
  gap: 8px;
}

.match-team-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-team-line__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.match-team-line__text h3 {
  margin: 0;
}

.match-team-line__text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(22, 33, 43, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 38px;
  box-shadow: inset 0 0 0 1px rgba(22, 33, 43, 0.08);
}

.team-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-mark--fallback {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(3, 68px);
  gap: 8px;
}

.market-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 14px;
  font-weight: 700;
  background: rgba(22, 33, 43, 0.06);
}

.match-prematch-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 6px;
  opacity: 0.94;
}

.match-prematch-chip {
  display: grid;
  gap: 4px;
  min-height: 48px;
  padding: 7px 9px;
  border-radius: 16px;
  border: 1px solid rgba(22, 33, 43, 0.06);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.78), rgba(241, 246, 255, 0.52));
}

.match-prematch-chip span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-prematch-chip strong {
  font-size: 11px;
  line-height: 1.3;
}

.match-ai-strip--signal span:first-child {
  font-weight: 700;
  color: rgba(22, 33, 43, 0.88);
}

.status-banner {
  display: grid;
  gap: 8px;
}

.plan-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.plan-switcher-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.plan-chip.is-active {
  background: rgba(245, 197, 24, 0.18);
  border-color: rgba(245, 197, 24, 0.45);
}

.plan-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.filters-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr) minmax(180px, 0.9fr) minmax(220px, 1fr);
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: var(--shadow);
}

.filters-panel--matchcenter {
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 253, 0.86));
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.06);
}

.filters-panel--matchcenter .filter-field {
  gap: 6px;
}

.filters-panel--matchcenter .filter-field label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(93, 112, 135, 0.9);
}

.filters-panel--matchcenter .filter-field select,
.filters-panel--matchcenter .filter-field input[type="search"] {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(22, 33, 43, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.filters-panel--matchcenter .filter-actions {
  gap: 8px;
  margin-top: 2px;
}

.filters-panel--matchcenter .button {
  min-height: 40px;
  padding-inline: 16px;
  border-radius: 12px;
  font-size: 14px;
}

.filter-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.filter-field label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-field select,
.filter-field input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(22, 33, 43, 0.14);
  background: #fffdf9;
  color: var(--text);
  font: inherit;
}

.filter-field input[type="search"]::placeholder {
  color: rgba(93, 112, 135, 0.78);
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: end;
  grid-column: 1 / -1;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.active-filters--matchcenter {
  gap: 8px;
  margin-bottom: 14px;
  align-items: center;
}

.quick-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.quick-filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.quick-filter-pill.is-active {
  border-color: rgba(0, 122, 255, 0.2);
  background: rgba(0, 122, 255, 0.12);
  color: var(--accent);
}

.filter-chip,
.insight-banner {
  border: 1px solid rgba(22, 33, 43, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.active-filters--matchcenter .filter-chip {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  border-color: rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.view-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  margin: 10px 0 0;
  border-radius: 999px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(15, 34, 58, 0.05);
}

.view-mode-switch--inline {
  margin: 0 0 0 auto;
}

.view-mode-switch__item {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.view-mode-switch__item.is-active {
  background: rgba(0, 122, 255, 0.12);
  color: var(--accent);
}

.match-card--expanded .match-insight-details {
  margin-top: 14px;
}

.source-action-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 33, 43, 0.08);
}

.source-action-strip__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(93, 112, 135, 0.9);
}

.source-action-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.section-jump-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(22, 33, 43, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.dossier-section--compact-note {
  margin-top: 16px;
}

.period-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.period-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(22, 33, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.period-chip.is-active {
  background: rgba(31, 107, 122, 0.12);
  color: var(--accent-2);
  border-color: rgba(31, 107, 122, 0.28);
}

.insight-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 22px;
}

.ai-summary-banner {
  background: rgba(31, 107, 122, 0.08);
  border-color: rgba(31, 107, 122, 0.22);
}

.status-error {
  background: rgba(200, 95, 40, 0.12);
  border-color: rgba(200, 95, 40, 0.32);
}

.paywall-banner {
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 22px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.odds-table {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.odds-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.5fr 0.6fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  align-items: center;
  background: rgba(22, 33, 43, 0.05);
}

.ai-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.ai-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 107, 122, 0.1);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.odds-head {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-note {
  padding-bottom: 42px;
  color: var(--muted);
}

.section-alt {
  padding-top: 6px;
}

.upcoming-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.upcoming-card,
.feature-card,
.cta-panel,
.match-hero-card,
.tab-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.8);
  box-shadow: var(--shadow);
}

.upcoming-card,
.feature-card {
  padding: 22px;
}

.upcoming-head,
.upcoming-meta,
.match-hero-meta,
.breadcrumbs,
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.upcoming-head,
.upcoming-meta,
.match-hero-meta,
.breadcrumbs {
  color: var(--muted);
  font-size: 14px;
}

.upcoming-head,
.upcoming-meta {
  justify-content: space-between;
}

.upcoming-teams {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(31, 107, 122, 0.12);
  color: var(--accent-2);
  font-weight: 700;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.feature-card p {
  margin: 0;
  color: #33424f;
  line-height: 1.7;
}

.cta-section {
  padding-bottom: 24px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 20px;
  align-items: center;
  padding: 30px 32px;
}

.compact-lead {
  max-width: 52ch;
  font-size: 18px;
}

.breadcrumbs {
  margin-bottom: 18px;
}

.match-competition-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.95));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.match-competition-bar__title,
.match-competition-bar__links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.match-competition-bar__title img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 4px;
}

.match-competition-bar__copy {
  display: grid;
  gap: 2px;
}

.match-competition-bar__copy strong {
  color: #0f172a;
  font-size: 1rem;
}

.match-competition-bar__copy span {
  color: #64748b;
  font-size: 0.85rem;
}

.match-competition-bar__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.96);
  border: 1px solid rgba(96, 165, 250, 0.16);
  color: #0f5ba7;
  font-size: 0.82rem;
  font-weight: 700;
}

.match-hero-card {
  padding: 28px;
  margin-bottom: 22px;
}

.match-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.match-hero-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.match-hero-meta {
  margin-top: 16px;
}

.match-context-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.match-context-card {
  border: 1px solid rgba(18, 40, 76, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  padding: 18px;
}

.match-context-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.match-context-card__head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.match-context-card__caption,
.match-context-card__empty {
  color: var(--muted);
  font-size: 14px;
}

.form-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.form-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.form-badge.is-win {
  background: #14945b;
}

.form-badge.is-loss {
  background: #d84f4f;
}

.form-badge.is-draw {
  background: #788796;
}

.form-badge.is-unknown {
  background: #9aa6b2;
}

.recent-results-list {
  display: grid;
  gap: 10px;
}

.recent-result-row {
  border-top: 1px solid rgba(18, 40, 76, 0.08);
  padding-top: 10px;
}

.recent-result-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.recent-result-row__meta,
.recent-result-row__main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.recent-result-row__meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.recent-result-row__main {
  font-size: 14px;
  color: #223241;
}

.recent-result-row__main strong {
  flex: 1 1 auto;
  min-width: 0;
}

.recent-result-row__main--h2h strong {
  flex: 0 1 42%;
}

.recent-result-row__score {
  flex: 0 0 auto;
  min-width: 44px;
  text-align: center;
  font-weight: 800;
  color: #16212b;
}

.recent-result-row__score--empty {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 999px;
}

.match-hero-vs {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.match-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.match-hero-eyebrow__league-logo,
.match-hero-eyebrow__country-flag {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
}

.team-pill {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200, 95, 40, 0.18), rgba(31, 107, 122, 0.14));
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  overflow: hidden;
}

.team-pill--entity {
  padding: 7px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.team-pill__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.match-hero-venue {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.match-hero-venue__image {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.match-tabs {
  display: grid;
  gap: 16px;
}

.tab-list {
  position: sticky;
  top: 92px;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  margin-bottom: 2px;
}

.tab-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(22, 33, 43, 0.12);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tab-button.is-active {
  background: rgba(31, 107, 122, 0.12);
  color: var(--accent-2);
  border-color: rgba(31, 107, 122, 0.28);
}

.tab-panel {
  display: none;
  padding: 24px;
}

.tab-panel.is-active {
  display: block;
}

.match-context-details,
.match-preview-details,
.service-details {
  border: 1px solid rgba(22, 33, 43, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 40px rgba(15, 34, 58, 0.08);
  overflow: hidden;
}

.match-context-details > summary,
.match-preview-details > summary,
.service-details > summary {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--landing-text);
}

.match-context-details > summary small,
.match-preview-details > summary small,
.service-details > summary small {
  color: var(--landing-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.match-context-details > summary::-webkit-details-marker,
.match-preview-details > summary::-webkit-details-marker,
.service-details > summary::-webkit-details-marker {
  display: none;
}

.match-context-details[open] > summary,
.match-preview-details[open] > summary,
.service-details[open] > summary {
  border-bottom: 1px solid rgba(22, 33, 43, 0.08);
}

.match-context-details .match-context-strip,
.match-preview-details .info-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.public-match-dossier {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.public-match-dossier__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.public-match-dossier__main,
.public-match-dossier__aside {
  display: grid;
  gap: 1rem;
}

.public-match-dossier__aside {
  display: none;
}

.public-dossier-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.2rem 0;
}

.public-dossier-tabs--primary {
  padding: 0.35rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 92px;
  z-index: 7;
}

.public-dossier-tabs--primary {
  display: none;
}

.public-dossier-switch {
  position: sticky;
  top: 92px;
  z-index: 7;
  margin-top: -0.1rem;
  padding: 0.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.055);
  backdrop-filter: blur(16px);
  overflow-x: auto;
}

.public-dossier-switch .tab-button {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: #60748a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-dossier-switch .tab-button.is-active {
  background: linear-gradient(135deg, #ff6a1a, #ff8a2a);
  color: #fff;
  box-shadow: 0 12px 22px rgba(255, 106, 26, 0.26);
}

.public-dossier-tabs__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
  color: #496177;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.public-dossier-tabs__item:hover {
  border-color: rgba(37, 99, 235, 0.18);
  color: #0f5ba7;
}

.public-dossier-tabs--primary .public-dossier-tabs__item {
  background: transparent;
  box-shadow: none;
}

.public-match-dossier__glance {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  align-items: stretch;
}

.public-match-dossier__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.public-match-card {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 250, 255, 0.97)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035), transparent 42%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  padding: 1.2rem 1.25rem;
}

.public-dossier-panel.tab-panel {
  padding: 0;
}

.public-match-card--overview {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.992), rgba(241, 246, 255, 0.975));
}

.public-match-card--aside {
  padding: 1rem 1.05rem;
}

.public-match-card--aside-highlight {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
}

.public-match-card--span-2 {
  grid-column: 1 / -1;
}

.public-match-card--full {
  grid-column: 1 / -1;
}

.public-inline-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.public-inline-tabs__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(180deg, #a7adb7, #929aa7);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.public-inline-tabs__item.is-active {
  background: linear-gradient(135deg, #ff6a1a, #ff8a2a);
  box-shadow: 0 10px 18px rgba(255, 106, 26, 0.18);
}

.public-subtab-panel {
  display: none;
}

.public-subtab-panel.is-active {
  display: block;
}

.prediction-vote-bar {
  display: flex;
  margin-top: 0.9rem;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.prediction-vote-bar__segment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 44px;
  padding: 0 0.8rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

.prediction-vote-bar__segment--home {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.prediction-vote-bar__segment--draw {
  background: linear-gradient(90deg, #8b95a3, #6b7280);
}

.prediction-vote-bar__segment--away {
  background: linear-gradient(90deg, #4f46e5, #4338ca);
}

.prediction-vote-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 0.85rem;
  line-height: 1;
}

.prediction-vote-bar__icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.public-lineup-coach {
  display: grid;
  gap: 0.12rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.public-lineup-coach span,
.public-context-card span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-context-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.public-context-card {
  display: grid;
  gap: 0.32rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(242, 246, 251, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.public-context-card strong {
  margin: 0;
  color: #10263d;
  line-height: 1.4;
}

.public-match-card--accent {
  background:
    linear-gradient(135deg, rgba(10, 52, 106, 0.98), rgba(31, 78, 185, 0.96)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%);
  color: #eff6ff;
  min-height: 220px;
  display: grid;
  align-content: start;
}

.public-match-card--accent .data-pill {
  border-color: rgba(191, 219, 254, 0.3);
  background: rgba(239, 246, 255, 0.12);
  color: #eff6ff;
}

.public-match-card__eyebrow {
  margin-bottom: 0.9rem;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-match-card--accent .public-match-card__eyebrow {
  color: rgba(219, 234, 254, 0.96);
}

.public-info-chips {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-info-chip {
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  min-height: 104px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.public-info-chip span {
  display: block;
  margin-bottom: 0.32rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-info-chip strong {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.4;
}

.public-info-chip__flag,
.match-hero-fact__flag {
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.public-source-note {
  margin: 0.85rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-match-card--accent .public-source-note {
  color: rgba(219, 234, 254, 0.78);
  -webkit-line-clamp: 3;
}

.public-split-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-split-list--lineups {
  gap: 1.2rem;
}

.public-lineup-panel {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(252, 252, 253, 0.98), rgba(245, 248, 252, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.public-split-list__column strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #0f172a;
  font-size: 1rem;
}

.public-team-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.public-team-heading__logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 5px;
  image-rendering: -webkit-optimize-contrast;
}

.public-team-subtitle {
  margin: 0.35rem 0 0.55rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-match-card .structured-list--tight li {
  padding-left: 0;
  line-height: 1.42;
}

.public-match-card .structured-list--tight li::before {
  display: none;
}

.public-player-list {
  display: grid;
  gap: 0.55rem;
}

.public-player-row {
  display: grid;
  grid-template-columns: 30px 34px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.62rem 0.15rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.public-player-row:last-child {
  border-bottom: 0;
}

.public-player-row__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #526072;
  font-size: 0.78rem;
  font-weight: 800;
}

.public-player-row__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.public-player-row__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.public-player-row__avatar-fallback {
  position: relative;
  z-index: 0;
}

.public-player-row__body {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}

.public-player-row__body strong {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.public-player-row__body small {
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.35;
}

.public-player-row__link {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.public-player-row__link:hover {
  color: #2563eb;
}

.public-player-row__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex-wrap: wrap;
}

.public-player-row__flag {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.public-player-row--absence {
  grid-template-columns: 34px minmax(0, 1fr);
}

.public-player-row--absence .public-player-row__avatar {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
}

.player-page {
  display: grid;
  gap: 1.4rem;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.player-profile {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(180px, 260px);
  gap: 1.5rem;
  align-items: start;
  padding: 1.1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.player-profile__media {
  display: grid;
  place-items: center;
  min-height: 190px;
  background: #f3f4f6;
  overflow: hidden;
}

.player-profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-profile__media span {
  color: #0f172a;
  font-size: 3rem;
  font-weight: 900;
}

.player-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.player-tabs span {
  padding: 0.5rem 0.62rem;
  background: #64748b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.player-tabs .is-active {
  background: #dc2626;
}

.player-profile h1 {
  margin: 0;
  color: #dc2626;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.player-profile__en {
  margin: 0.25rem 0 0.85rem;
  color: #64748b;
  font-weight: 700;
}

.player-profile__summary {
  margin: 0 0 1rem;
  color: #0f172a;
  line-height: 1.55;
}

.player-profile__params {
  display: grid;
  max-width: 520px;
  margin: 0;
}

.player-profile__params div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.player-profile__params dt {
  color: #475569;
  font-weight: 800;
}

.player-profile__params dd {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

.player-profile__params dd img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.player-mini-pitch {
  position: relative;
  aspect-ratio: 0.78 / 1;
  margin-top: 6.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0 12%, transparent 12% 24%, rgba(255,255,255,0.08) 24% 36%, transparent 36% 48%, rgba(255,255,255,0.08) 48% 60%, transparent 60% 72%, rgba(255,255,255,0.08) 72% 84%, transparent 84% 100%), #4f9734;
  border: 8px solid #6aa84f;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55);
}

.player-mini-pitch::before,
.player-mini-pitch::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  height: 18%;
  border: 2px solid rgba(255,255,255,0.75);
}

.player-mini-pitch::before { top: 0; }
.player-mini-pitch::after { bottom: 0; }

.player-mini-pitch__spot {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-radius: 50%;
  border: 3px solid #fff;
}

.player-mini-pitch__spot:nth-child(1) { top: 18%; }
.player-mini-pitch__spot:nth-child(2) { top: 42%; }
.player-mini-pitch__spot:nth-child(3) { top: 66%; }
.player-mini-pitch__spot--active { background: #16a34a; }

.player-data-section {
  padding: 0.95rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.player-data-section h2 {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.48rem 0.8rem;
  background: #64748b;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1;
}

.player-data-table-wrap {
  overflow-x: auto;
}

.player-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.player-data-table td {
  padding: 0.58rem 0.7rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  color: #0f172a;
  font-size: 0.85rem;
  vertical-align: middle;
}

.player-data-table tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.84);
}

.public-match-card .form-badges {
  margin-bottom: 0.8rem;
}

.public-match-card .recent-results-list {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.public-match-card .recent-result-row {
  padding-left: 0;
  padding-right: 0;
}

.public-match-card .recent-result-row__main {
  gap: 0.8rem;
}

.public-match-card .recent-result-row__main strong {
  font-size: 0.96rem;
}

.public-result-team {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  width: fit-content;
  border-radius: 999px;
  overflow-wrap: anywhere;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.public-result-team img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.public-result-team--focus {
  padding: 0.32rem 0.66rem;
  color: #064e3b;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.12));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.28), 0 10px 22px rgba(16, 185, 129, 0.14);
}

.public-result-meta-league {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.public-result-meta-league img {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.public-match-card .recent-result-row__score {
  min-width: 64px;
  justify-content: center;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-weight: 800;
}

.public-match-card .comparison-bars {
  margin-top: 0.15rem;
}

.public-match-card .comparison-bars__item {
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(96, 165, 250, 0.16);
}

.public-form-shell {
  display: grid;
  gap: 1rem;
}

.public-form-panel {
  display: grid;
  gap: 1rem;
}

.public-form-summary-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.public-form-summary-card {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.public-form-summary-card strong {
  margin: 0;
  color: #10263d;
  font-size: 1.05rem;
}

.public-form-summary-card span {
  color: #64748b;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-results-list--championat {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 250, 252, 0.985));
}

.recent-result-row--championat {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(144px, 172px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: linear-gradient(90deg, rgba(240, 253, 244, 0.65), rgba(255, 255, 255, 0.96));
}

.recent-result-row--championat:nth-child(even) {
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.7), rgba(255, 255, 255, 0.96));
}

.recent-result-row--championat .recent-result-row__meta {
  display: grid;
  gap: 0.22rem;
  align-content: center;
  min-width: 0;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  border-right: 1px solid rgba(203, 213, 225, 0.55);
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.recent-result-row--championat .recent-result-row__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 0.9rem 1.05rem;
}

.recent-result-row--championat .recent-result-row__main .public-result-team:last-child {
  justify-content: flex-end;
  text-align: right;
  justify-self: end;
}

.recent-result-row__main--text {
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.recent-result-row__main--text .public-result-team {
  min-width: 0;
  align-self: start;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

.recent-result-row__main--text .public-result-team--focus {
  max-width: 220px;
}

.recent-result-row--championat .recent-result-row__main--text {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.recent-result-row--championat .recent-result-row__main--text .public-result-team {
  display: none;
}

.recent-result-row__summary {
  min-width: 0;
  color: #172033;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.recent-result-row__round {
  justify-self: end;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.public-formation-board {
  position: relative;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.public-lineups-shell {
  display: grid;
  gap: 1rem;
}

.public-formation-board--inline {
  margin-bottom: 0;
}

.public-formation-board__schemes {
  position: absolute;
  top: 4.2%;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.45);
}

.public-formation-pitch {
  position: relative;
  aspect-ratio: 1.46 / 1;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  border: 10px solid #f3f4f6;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 7.5%, transparent 7.5%, transparent 15%, rgba(255, 255, 255, 0.06) 15%, rgba(255, 255, 255, 0.06) 22.5%, transparent 22.5%, transparent 30%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.06) 37.5%, transparent 37.5%, transparent 45%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.06) 52.5%, transparent 52.5%, transparent 60%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.06) 67.5%, transparent 67.5%, transparent 75%, rgba(255, 255, 255, 0.06) 75%, rgba(255, 255, 255, 0.06) 82.5%, transparent 82.5%, transparent 90%, rgba(255, 255, 255, 0.06) 90%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(180deg, #5fa73d 0%, #3f8b2d 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.public-formation-pitch::before,
.public-formation-pitch::after {
  content: "";
  position: absolute;
  top: 9%;
  bottom: 9%;
  width: 42%;
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.public-formation-pitch::before {
  left: 7%;
}

.public-formation-pitch::after {
  right: 7%;
}

.public-formation-pitch__centerline {
  position: absolute;
  top: 9%;
  bottom: 9%;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.86);
}

.public-formation-pitch__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  margin: -58px 0 0 -58px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.86);
}

.public-formation-pitch__crest {
  position: absolute;
  top: 50%;
  width: clamp(88px, 14vw, 150px);
  height: clamp(88px, 14vw, 150px);
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 0.18;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.26));
  z-index: 0;
  pointer-events: none;
}

.public-formation-pitch__crest--home {
  left: 28%;
}

.public-formation-pitch__crest--away {
  left: 72%;
}

.public-pitch-player {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 0.24rem;
  width: 74px;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: inherit;
  text-decoration: none;
}

.public-pitch-player__shirt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 31px;
  height: 34px;
  padding: 0.18rem 0.58rem 0;
  border-radius: 8px 8px 12px 12px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
}

.public-pitch-player__shirt::before,
.public-pitch-player__shirt::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 11px;
  height: 15px;
  border-radius: 5px 5px 8px 8px;
  background: inherit;
}

.public-pitch-player__shirt::before {
  left: -8px;
  transform: rotate(26deg);
}

.public-pitch-player__shirt::after {
  right: -8px;
  transform: rotate(-26deg);
}

.public-pitch-player--home .public-pitch-player__shirt {
  background: linear-gradient(135deg, #0f3b8a, #d22f27);
}

.public-pitch-player--away .public-pitch-player__shirt {
  background: linear-gradient(135deg, #d6dbe6, #7b8799);
  color: #0f172a;
}

.public-pitch-player strong {
  display: block;
  max-width: 100%;
  color: #fff;
  font-size: 0.66rem;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-pitch-player::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) scale(0.96);
  min-width: max-content;
  max-width: 180px;
  padding: 0.45rem 0.62rem;
  border-radius: 8px;
  background: rgba(7, 12, 20, 0.94);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 10;
}

.public-pitch-player::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(7, 12, 20, 0.94);
  opacity: 0;
  transition: opacity 0.16s ease;
  z-index: 10;
}

.public-pitch-player:hover::after,
.public-pitch-player:hover::before,
.public-pitch-player:focus-visible::after,
.public-pitch-player:focus-visible::before {
  opacity: 1;
}

.public-pitch-player:hover::after,
.public-pitch-player:focus-visible::after {
  transform: translateX(-50%) scale(1);
}

.public-section-subtitle {
  margin: -0.15rem 0 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.public-tournament-highlights {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.public-tournament-highlights__item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(242, 247, 252, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.public-tournament-highlights__item span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-tournament-highlights__item strong {
  color: #10263d;
  font-size: 1.08rem;
}

.public-tournament-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.52fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  margin: 0 0 1rem;
}

.public-tournament-dashboard__team,
.public-tournament-dashboard__meta {
  display: grid;
  gap: 0.38rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  min-width: 0;
}

.public-tournament-dashboard__team--home {
  border-color: rgba(39, 76, 119, 0.18);
  background: linear-gradient(135deg, rgba(39, 76, 119, 0.08), rgba(255, 255, 255, 0.95));
}

.public-tournament-dashboard__team--away {
  border-color: rgba(255, 90, 31, 0.18);
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.08), rgba(255, 255, 255, 0.95));
}

.public-tournament-dashboard__meta {
  text-align: center;
  place-items: center;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.78), rgba(255, 255, 255, 0.98));
}

.public-tournament-dashboard span,
.public-tournament-dashboard small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-tournament-dashboard strong {
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.public-match-card--squad {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 250, 255, 0.97)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05), transparent 58%);
}

.public-match-card--history {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(249, 250, 255, 0.972)),
    linear-gradient(90deg, rgba(14, 165, 233, 0.035), transparent 60%);
}

.public-comparison-matrix {
  margin-bottom: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.99));
}

.public-comparison-matrix--compact {
  margin-bottom: 1.2rem;
}

.public-comparison-matrix__header,
.public-comparison-matrix__row {
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(110px, 0.9fr) minmax(84px, 1fr);
  align-items: center;
}

.public-comparison-matrix__header {
  padding: 0.9rem 1rem;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.01));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.public-comparison-matrix__header span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.public-comparison-matrix__header span:nth-child(2),
.public-comparison-matrix__label {
  text-align: center;
}

.public-comparison-matrix__header span:last-child,
.public-comparison-matrix__value--away {
  text-align: right;
}

.public-comparison-matrix__row {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  gap: 0.5rem 0.75rem;
}

.public-comparison-matrix__row:last-child {
  border-bottom: 0;
}

.public-comparison-matrix__value {
  font-size: 1.24rem;
  line-height: 1;
  color: #0f172a;
}

.public-comparison-matrix__value--home {
  color: #274c77;
}

.public-comparison-matrix__value--away {
  color: #ff5a1f;
}

.public-comparison-matrix__label {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 700;
}

.public-comparison-matrix__bars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.public-comparison-matrix__bar {
  display: block;
  height: 8px;
  border-radius: 999px;
}

.public-comparison-matrix__bar--home {
  justify-self: end;
  background: linear-gradient(90deg, rgba(39, 76, 119, 0.7), rgba(107, 143, 180, 0.95));
}

.public-comparison-matrix__bar--away {
  background: linear-gradient(90deg, rgba(255, 142, 86, 0.9), rgba(255, 90, 31, 0.98));
}

.public-comparison-matrix__bar-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.public-summary-chip-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.public-summary-chip {
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.35;
}

.public-tournament-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.public-tournament-grid__item {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(240, 245, 250, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.public-tournament-grid__item span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.public-tournament-grid__item strong {
  color: #10263d;
  line-height: 1.5;
}

.public-standings-block {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.public-standings-block h3 {
  margin: 0;
  color: #10263d;
  font-size: 1rem;
}

.public-bracket-list,
.public-standings-table {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

.public-bracket-list__row {
  display: grid;
  grid-template-columns: minmax(52px, 0.35fr) minmax(160px, 1fr) minmax(58px, auto) minmax(160px, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.public-bracket-list__row:last-child,
.public-standings-table__row:last-child {
  border-bottom: 0;
}

.public-bracket-list__stage {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}

.public-bracket-list__score {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-weight: 900;
  text-align: center;
}

.public-standings-table__head,
.public-standings-table__row {
  display: grid;
  grid-template-columns: 44px minmax(160px, 1fr) repeat(6, minmax(44px, 0.3fr));
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
}

.public-standings-table__head {
  background: rgba(15, 23, 42, 0.045);
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-standings-table__row {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.public-standings-table__row--home {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.11), rgba(255, 255, 255, 0.92));
}

.public-standings-table__row--away {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.92));
}

@media (max-width: 720px) {
  .public-tournament-dashboard {
    grid-template-columns: 1fr;
  }

  .public-bracket-list__row {
    grid-template-columns: 1fr auto;
  }

  .public-bracket-list__stage {
    grid-column: 1 / -1;
  }

  .public-standings-table__head,
  .public-standings-table__row {
    grid-template-columns: 34px minmax(120px, 1fr) repeat(6, minmax(34px, auto));
    font-size: 0.82rem;
  }
}

.public-match-card--h2h,
.public-match-card--tournament {
  align-self: start;
  grid-column: 1 / -1;
}

.public-match-card--ai-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.992), rgba(248, 251, 255, 0.975)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.028), transparent 62%);
}

.match-center-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: start;
  padding: 0.25rem 0 0.5rem;
}

.match-center-overview__copy {
  display: grid;
  gap: 0.75rem;
}

.match-center-overview__copy h2 {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: #0f172a;
}

.match-center-overview__facts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-signal-panel {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.9rem;
}

.match-signal-panel__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.match-signal-panel__titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.match-signal-panel__titlebar h2 {
  margin: 0.12rem 0 0;
  color: #0f172a;
  font-size: 1.12rem;
  line-height: 1.2;
}

.match-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid rgba(11, 120, 255, 0.18);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.86);
  color: #0b78ff;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.match-signal-panel--sstats-full .match-signal-panel__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: stretch;
}

.match-signal-panel--sstats-full .match-signal-metric--text,
.match-signal-panel--sstats-full .sstats-excerpt-card {
  min-width: 0;
  display: grid;
  align-content: start;
  justify-content: stretch;
}

.match-center-fact {
  display: grid;
  gap: 0.32rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.match-center-fact span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-center-fact strong {
  color: #0f172a;
  line-height: 1.45;
}

.match-center-fact small {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.match-center-fact--ready {
  border-color: rgba(34, 197, 94, 0.22);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(248, 250, 252, 0.96));
}

.match-center-fact--partial {
  border-color: rgba(245, 158, 11, 0.22);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(248, 250, 252, 0.96));
}

.match-source-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.match-source-card {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.match-source-card span {
  color: #64748b;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-source-card strong {
  min-width: 0;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.match-source-card small {
  min-width: 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.match-source-card--ready {
  border-color: rgba(11, 120, 255, 0.18);
}

.match-source-card--partial {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.94));
}

.football-etalon-panel {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.9));
}

.football-etalon-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.football-etalon-panel__head h3 {
  margin: 0.18rem 0 0;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.25;
}

.football-etalon-panel__head > span {
  flex: 0 0 auto;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.football-etalon-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.football-etalon-item {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.football-etalon-item > span {
  width: max-content;
  max-width: 100%;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.football-etalon-item--ready > span {
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}

.football-etalon-item strong {
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.25;
}

.football-etalon-item small,
.football-etalon-item em {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.35;
  font-style: normal;
}

.match-readiness-panel {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.94));
}

.match-readiness-panel__section {
  min-width: 0;
}

.match-missing-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.match-missing-item {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 14px;
  background: rgba(255, 251, 235, 0.72);
}

.match-missing-item strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.match-missing-item span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.match-signal-metric,
.team-profile-list__row,
.match-signal-stack__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.match-signal-metric {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.98), rgba(235, 241, 247, 0.98));
  border: 1px solid rgba(96, 122, 142, 0.16);
}

.match-signal-metric span,
.team-profile-list__row span,
.match-signal-stack__row span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7785;
}

.match-signal-metric strong,
.team-profile-list__row strong,
.match-signal-stack__row strong {
  font-size: 1rem;
  color: #10263d;
}

.data-pill--warning {
  background: rgba(255, 122, 26, 0.14);
  color: #b14c00;
  border-color: rgba(255, 122, 26, 0.24);
}

.team-profile-list {
  display: grid;
  gap: 0.7rem;
}

.team-profile-list__row {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(246, 248, 251, 0.95);
  border: 1px solid rgba(96, 122, 142, 0.12);
}

.match-sidebar-form {
  display: grid;
  gap: 0.8rem;
}

.match-sidebar-form__team {
  display: grid;
  gap: 0.55rem;
}

.match-sidebar-form__team strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.match-sidebar-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.match-sidebar-form__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.96);
  border: 1px solid rgba(96, 165, 250, 0.14);
  color: #0f5ba7;
  font-size: 0.78rem;
  font-weight: 700;
}

.match-signal-stack {
  display: grid;
  gap: 0.6rem;
}

.match-signal-stack__row {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.match-signal-stack__row:last-child {
  border-bottom: 0;
}

.public-ai-copy-actions {
  margin: 0.9rem 0 0.75rem;
}

.public-ai-copy-box {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  padding: 1rem 1.05rem;
  font: 500 0.95rem/1.55 "Inter", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.match-context-details {
  display: none;
}

.service-details {
  margin-top: 16px;
}

.service-details--hero {
  margin-top: 0;
}

.service-details .detail-grid,
.service-details .insight-banner {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.preview-panel-intro {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 122, 255, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.12);
}

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

.preview-snapshot-chip {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.preview-snapshot-chip span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-snapshot-chip strong {
  font-size: 14px;
  line-height: 1.45;
}

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

.preview-panel-grid .info-card {
  display: grid;
  gap: 10px;
}

.preview-panel-grid .info-card p {
  max-height: 220px;
  overflow: auto;
  padding-right: 6px;
}

.info-card--structured {
  align-content: start;
}

.structured-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.structured-list li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(22, 33, 43, 0.05);
  color: #243240;
  line-height: 1.55;
}

.structured-list--kv li {
  display: block;
}

.structured-list--kv strong {
  color: var(--landing-ink);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-row--compact {
  margin-top: 6px;
}

.data-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
  font-size: 13px;
  font-weight: 700;
}

.data-pill--ready {
  background: rgba(34, 197, 94, 0.1);
  color: #047857;
}

.muted-note {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.6;
}

.compact-stack {
  display: grid;
  gap: 8px;
}

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

.meta-chip {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(22, 33, 43, 0.05);
  border: 1px solid rgba(22, 33, 43, 0.06);
}

.meta-chip span {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-chip strong {
  color: var(--landing-ink);
  font-size: 15px;
  line-height: 1.45;
}

.football-dossier-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.football-dossier-hero__item {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(239, 246, 255, 0.72));
}

.football-dossier-hero__item span {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.football-dossier-hero__item strong {
  color: var(--landing-ink);
  font-size: 15px;
  line-height: 1.35;
}

.football-dossier-hero__item small {
  color: var(--landing-muted);
  font-size: 12px;
  line-height: 1.45;
}

.football-dossier-scoreline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
}

.dossier-glance-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.dossier-glance-card {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background:
    radial-gradient(circle at top right, rgba(0, 122, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.9));
  box-shadow: 0 18px 38px rgba(15, 34, 58, 0.08);
}

.dossier-glance-card--prediction {
  background:
    radial-gradient(circle at top left, rgba(255, 119, 0, 0.16), transparent 38%),
    radial-gradient(circle at bottom right, rgba(0, 122, 255, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.92));
}

.dossier-glance-card__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-blue-deep);
}

.prediction-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 34, 58, 0.14);
}

.prediction-strip strong {
  font-size: 1.35rem;
}

.prediction-strip span {
  font-size: 1.15rem;
  font-weight: 800;
}

.prediction-strip--home {
  background: linear-gradient(135deg, #1d7a57, #1494a3);
}

.prediction-strip--draw {
  background: linear-gradient(135deg, #62748a, #324154);
}

.prediction-strip--away {
  background: linear-gradient(135deg, #ff6b35, #ff944d);
}

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

.dossier-grid--public {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

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

.dossier-grid--history {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.dossier-section {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(22, 33, 43, 0.08);
}

.dossier-grid .dossier-section {
  min-height: 100%;
  padding: 14px 16px;
  border-top: 0;
  border: 1px solid rgba(22, 33, 43, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.92), rgba(255, 255, 255, 0.86));
}

.dossier-section--public {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 34, 58, 0.06);
}

.dossier-section--public::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #0b78ff, #ff6b35);
}

.dossier-section h4 {
  margin: 0;
  font-size: 15px;
  color: var(--landing-ink);
}

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

.dossier-team-list {
  display: grid;
  gap: 8px;
}

.dossier-team-list > strong {
  color: var(--landing-ink);
  font-size: 14px;
}

.dossier-team-list__meta {
  color: var(--landing-blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-source-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 120, 255, 0.08);
  color: var(--landing-blue-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.structured-list--tight {
  gap: 6px;
}

.structured-list--tight li {
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.88);
}

.comparison-bars {
  display: grid;
  gap: 8px;
}

.comparison-bars__item {
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(11, 120, 255, 0.12), rgba(255, 107, 53, 0.12));
  color: var(--landing-ink);
  font-weight: 600;
  line-height: 1.45;
}

.details-card--supplement {
  margin-top: 16px;
  border-style: dashed;
}

.details-card--supplement > summary {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--landing-muted);
}

.details-card--supplement[open] > summary {
  background: rgba(22, 33, 43, 0.03);
}

.details-card--inline {
  margin-top: 0;
  align-self: start;
}

.details-card--inline .dossier-section--embedded {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 18px 18px;
}

.details-card__body {
  padding: 0 18px 18px;
}

.details-card__body--dense {
  display: grid;
  gap: 14px;
}

.details-card--full-prematch {
  margin-top: 16px;
}

.details-card--full-prematch > summary {
  padding: 16px 18px;
}

.details-card--full-prematch[open] > summary {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(239, 246, 255, 0.78));
}

@media (max-width: 960px) {
  .public-odds-tables__head {
    display: grid;
  }

  .public-odds-tables__grid {
    grid-template-columns: 1fr;
  }

  .public-odds-table__row {
    grid-template-columns: minmax(72px, 1.2fr) minmax(48px, 0.8fr) minmax(42px, 0.45fr) minmax(46px, 0.5fr);
    padding-inline: 10px;
  }

  .summary-grid,
  .detail-grid,
  .odds-board-grid,
  .match-body,
  .match-insight-grid,
  .match-models-list,
  .pricing-grid,
  .pricing-hero,
  .pricing-compare__row,
  .filters-panel,
  .upcoming-grid,
  .features-grid,
  .cta-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .market-strip {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .plan-banner,
  .plan-switcher {
    align-items: flex-start;
  }

  .match-hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-context-strip {
    grid-template-columns: 1fr;
  }

  .preview-panel-grid {
    grid-template-columns: 1fr;
  }

  .football-dossier-hero,
  .dossier-glance-grid,
  .dossier-grid--public,
  .dossier-grid--summary,
  .dossier-grid--history,
  .meta-chip-grid,
  .dossier-columns {
    grid-template-columns: 1fr;
  }

  .tab-list {
    top: 84px;
  }

  .match-group__head {
    position: static;
  }

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

:root {
  --landing-bg: #f8fafc;
  --landing-surface: #ffffff;
  --landing-surface-alt: #eff6ff;
  --landing-text: #18212f;
  --landing-muted: #5f6f85;
  --landing-line: rgba(24, 33, 47, 0.1);
  --landing-blue: #007aff;
  --landing-blue-deep: #0b4fb4;
  --landing-green: #198754;
  --landing-shadow: 0 20px 48px rgba(15, 34, 58, 0.08);
}

body {
  background:
    radial-gradient(circle at top left, rgba(0, 122, 255, 0.1), transparent 28%),
    radial-gradient(circle at bottom right, rgba(25, 135, 84, 0.08), transparent 24%),
    var(--landing-bg);
  color: var(--landing-text);
  font-family: "Inter", sans-serif;
}

body.page-auth {
  background:
    radial-gradient(circle at top left, rgba(0, 122, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f4f8fd 0%, #eef3f9 100%);
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 32px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-top: 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--landing-shadow);
}

.site-header--app {
  margin-bottom: 18px;
  border-color: rgba(24, 33, 47, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.site-header__bar,
.plan-toolbar,
.site-footer__grid,
.site-footer__meta,
.landing-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

body.page-auth .site-header__bar {
  min-height: 86px;
}

body.page-auth .site-header__pitch small {
  display: block;
  max-width: 320px;
  color: var(--landing-muted);
  line-height: 1.45;
}

.site-header__brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-brand__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.site-brand__text {
  font-size: 18px;
}

.site-header__pitch {
  display: grid;
  gap: 3px;
}

.site-header__pitch strong {
  font-size: 14px;
  color: var(--landing-text);
}

.site-header__pitch span {
  color: var(--landing-muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav--app {
  gap: 14px;
}

.site-nav a {
  color: var(--landing-muted);
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--landing-blue);
}

body.page-auth .site-nav {
  gap: 18px;
}

body.page-auth .site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: 0.01em;
}

body.page-auth .site-nav a.is-active::after,
body.page-auth .site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: var(--landing-blue);
}

.site-nav__hint {
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 600;
  padding-right: 4px;
  white-space: nowrap;
}

.site-nav__profile {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--landing-blue);
  color: #fff !important;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.app-shell__content {
  min-width: 0;
  width: 100%;
}

.app-shell__content > .section {
  width: 100%;
  margin: 0;
}

.app-sidebar {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  max-height: calc(100dvh - 136px);
  overflow: hidden;
}

.app-sidebar__card,
.app-sidebar__nav {
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(16, 24, 32, 0.06);
  backdrop-filter: blur(14px);
}

.app-sidebar__card {
  display: grid;
  gap: 8px;
  padding: 15px 15px 14px;
}

.app-sidebar__eyebrow,
.app-sidebar__section-title {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--landing-blue);
}

.app-sidebar__title {
  font-size: 17px;
  font-weight: 800;
}

.app-sidebar__subtitle {
  color: var(--landing-muted);
  font-size: 13px;
}

.app-sidebar__meta {
  color: var(--landing-muted);
  font-size: 12px;
  line-height: 1.45;
}

.app-sidebar__nav {
  display: grid;
  gap: 6px;
  padding: 12px 10px 10px;
}

.app-sidebar__scroll {
  display: grid;
  gap: 14px;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 4px;
}

.app-sidebar__scroll::-webkit-scrollbar {
  width: 8px;
}

.app-sidebar__scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 122, 255, 0.2);
  border-radius: 999px;
}

.app-sidebar__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--landing-muted);
  font-weight: 700;
  border: 1px solid transparent;
  gap: 2px;
}

.app-sidebar__link-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.app-sidebar__link small {
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.app-sidebar__link:hover,
.app-sidebar__link.is-active {
  color: var(--landing-text);
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.12), rgba(0, 122, 255, 0.06));
  border-color: rgba(0, 122, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
  flex: 0 0 auto;
}

.app-icon--image {
  overflow: hidden;
}

.app-icon--image img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.app-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-icon svg rect,
.app-icon svg circle,
.app-icon svg path {
  vector-effect: non-scaling-stroke;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--landing-text);
}

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(24, 33, 47, 0.08);
}

.mobile-menu.is-open {
  display: grid;
  gap: 10px;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 122, 255, 0.04);
  font-weight: 600;
}

.mobile-menu a.is-active {
  color: var(--landing-text);
  background: rgba(0, 122, 255, 0.1);
}

body.page-auth main.section {
  padding-top: 8px;
}

body.page-auth .section-head {
  margin-bottom: 22px;
}

body.page-auth .section-copy {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--landing-muted);
  line-height: 1.6;
}

body.page-auth .section-head h2 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

body.page-auth .filters-panel,
body.page-auth .stack-card,
body.page-auth .match-card,
body.page-auth .status-banner {
  box-shadow: 0 20px 48px rgba(15, 34, 58, 0.08);
}

.plan-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 18px;
  align-items: center;
}

.plan-toolbar__status {
  max-width: 540px;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.plan-toolbar__summary {
  display: grid;
  gap: 4px;
}

.plan-toolbar__summary strong {
  font-size: 15px;
}

.plan-toolbar__summary span,
.plan-toolbar__summary small {
  color: var(--landing-muted);
}

.plan-toolbar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--landing-line);
  background: #fff;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 700;
}

.plan-chip.is-active {
  border-color: rgba(0, 122, 255, 0.2);
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
}

.landing-section {
  padding: 28px 0;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  padding-top: 18px;
}

.landing-hero__copy,
.landing-hero__visual,
.marketing-card,
.stat-box,
.landing-match-card,
.faq-block,
.inner-hero__content,
.landing-cta {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--landing-shadow);
}

.landing-hero__copy {
  padding: 40px;
  background:
    radial-gradient(circle at top left, rgba(0, 122, 255, 0.08), transparent 34%),
    #fff;
}

.landing-kicker,
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-title,
.section-title {
  margin: 0;
  color: var(--landing-text);
  letter-spacing: -0.04em;
}

.landing-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
}

.page-home .landing-title {
  font-size: clamp(38px, 4.9vw, 58px);
}

.section-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 800;
}

.landing-lead,
.landing-copy {
  margin: 18px 0 0;
  color: var(--landing-muted);
  font-size: 18px;
  line-height: 1.7;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.landing-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.landing-choice-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  background: rgba(247, 250, 255, 0.82);
  color: var(--landing-text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 122, 255, 0.22);
  box-shadow: 0 18px 36px rgba(15, 34, 58, 0.1);
}

.landing-choice-card--accent {
  background: linear-gradient(180deg, rgba(236, 245, 255, 0.96), rgba(247, 250, 255, 0.88));
  border-color: rgba(0, 122, 255, 0.18);
}

.landing-choice-card__label {
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-choice-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.landing-choice-card p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.65;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 2px solid transparent;
  font-weight: 700;
}

.button-primary {
  background: var(--landing-blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--landing-blue-deep);
}

.button-secondary {
  border-color: rgba(0, 122, 255, 0.16);
  background: rgba(0, 122, 255, 0.05);
  color: var(--landing-blue);
}

.landing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.landing-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
  font-size: 13px;
  font-weight: 700;
}

.landing-hero__visual {
  display: grid;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at bottom right, rgba(25, 135, 84, 0.1), transparent 28%),
    #fff;
}

.hero-avatar-card {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.hero-avatar-card--home {
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.hero-avatar-image,
.community-avatar {
  width: min(100%, 320px);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 122, 255, 0.16);
}

.hero-avatar-card__meta {
  text-align: center;
  display: grid;
  gap: 6px;
  color: var(--landing-muted);
}

.hero-mini-panels,
.landing-stats,
.landing-match-grid,
.module-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.hero-mini-card {
  padding: 18px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid rgba(0, 122, 255, 0.08);
}

.hero-mini-card--accent {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(25, 135, 84, 0.1));
}

.hero-mini-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-mini-card p,
.stat-box p,
.landing-match-card__body p,
.feature-list p,
.module-card span,
.inline-note span,
.faq-answer p,
.site-footer__copy {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.65;
}

.home-signal-board {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(10, 28, 48, 0.96), rgba(18, 42, 70, 0.94)),
    #10263d;
  color: #fff;
  box-shadow: 0 26px 58px rgba(15, 34, 58, 0.22);
}

.home-signal-board__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-signal-board__top span,
.home-signal-board__odds span,
.home-signal-board__odds small,
.home-signal-board__rows span {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-signal-board__top strong {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  font-size: 0.82rem;
}

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

.home-signal-board__odds div,
.home-signal-board__rows div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-signal-board__odds strong {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.home-signal-board__rows {
  display: grid;
  gap: 10px;
}

.home-signal-board__rows div {
  grid-template-columns: 0.45fr 1fr;
  align-items: center;
}

.home-signal-board__rows strong {
  color: #fff;
  font-size: 0.96rem;
}

.landing-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-box {
  padding: 28px;
}

.stat-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--landing-blue);
  font-size: 42px;
  line-height: 1;
}

.stat-box span {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.landing-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.marketing-card {
  display: grid;
  gap: 22px;
  padding: 32px;
}

.marketing-card--visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketing-illustration {
  width: 100%;
  border-radius: 22px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.section-head {
  display: grid;
  gap: 10px;
}

.feature-list article,
.module-card {
  padding: 18px 0;
  border-top: 1px solid var(--landing-line);
}

.feature-list article:first-child,
.module-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-list h3,
.landing-match-card__body h3,
.faq-block h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.landing-match-grid,
.module-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-sport-model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.home-sport-model-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(0, 122, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.78));
  box-shadow: 0 14px 30px rgba(15, 34, 58, 0.08);
}

.home-sport-model-card strong {
  color: var(--landing-text);
  font-size: 1.05rem;
}

.home-sport-model-card p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.55;
}

.landing-match-card {
  overflow: hidden;
}

.landing-match-card__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.landing-match-card__body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.landing-match-card__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 700;
}

.landing-match-card__meta span:first-child {
  color: rgba(33, 52, 84, 0.72);
}

.landing-match-card__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.landing-match-card__versus {
  flex: 0 0 auto;
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.landing-match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 0;
}

.landing-match-team:last-child {
  justify-content: flex-end;
}

.landing-match-team__logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 40, 76, 0.08);
  box-shadow: 0 10px 24px rgba(15, 34, 58, 0.1);
  color: var(--landing-text);
  font-size: 16px;
  font-weight: 800;
  overflow: hidden;
}

.landing-match-team__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.landing-match-team__name {
  min-width: 0;
  color: var(--landing-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.landing-match-team:last-child .landing-match-team__name {
  text-align: right;
}

.text-link {
  color: var(--landing-blue);
  font-weight: 700;
}

.module-grid.community-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.inline-note {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 193, 7, 0.12);
}

.landing-stats--dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid,
.proof-list {
  display: grid;
  gap: 16px;
}

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

.process-step,
.proof-item {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--landing-line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(239, 246, 255, 0.72));
}

.process-step__index {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 113, 255, 0.1);
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-step strong,
.proof-item strong {
  font-size: 18px;
}

.landing-radar-card,
.landing-drift-card {
  display: grid;
  gap: 10px;
}

.landing-radar-card p,
.landing-drift-card p {
  margin: 0;
}

.landing-radar-card small,
.landing-drift-card small {
  color: var(--landing-muted);
}

.landing-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  align-items: center;
}

.inner-hero__content {
  padding: 36px;
}

.inner-hero--community {
  padding-top: 18px;
}

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

.faq-block {
  padding: 28px;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--landing-line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--landing-text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  color: var(--landing-blue);
  font-size: 20px;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding-top: 12px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto 0;
  padding: 30px 0 8px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(180px, 0.8fr));
  gap: 28px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--landing-shadow);
}

.site-footer__brand,
.site-footer__column {
  display: grid;
  gap: 12px;
}

.site-footer__column strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--landing-muted);
}

.site-footer__links {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.site-footer__links a {
  color: var(--landing-muted);
}

.site-footer__disclaimer {
  display: grid;
  gap: 8px;
  max-width: 620px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 96, 172, 0.14);
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.78);
  color: #53657c;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer__disclaimer p {
  margin: 0;
}

.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
  color: var(--landing-muted);
  font-size: 13px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .match-hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-hero-card--consumer .match-hero-title {
    max-width: none;
  }

  .match-hero-card--consumer .match-hero-vs {
    width: 100%;
    justify-content: space-between;
  }

  .match-hero-team {
    min-width: 0;
    flex: 1 1 0;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    display: none;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .site-header__brand-wrap {
    gap: 12px;
  }

  .site-header__pitch {
    display: none;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }

  .analytics-table__row {
    grid-template-columns: 1fr;
  }

  .market-summary-grid {
    grid-template-columns: 1fr;
  }

  .plan-toolbar,
  .landing-hero,
  .landing-stats,
  .landing-stats--dense,
  .landing-grid-two,
  .home-sport-model-grid,
  .home-signal-board__odds,
  .landing-choice-grid,
  .landing-match-grid,
  .module-grid,
  .faq-grid,
  .module-grid.community-grid,
  .landing-cta,
  .site-footer__grid,
  .site-footer__meta,
  .hero-mini-panels,
  .process-grid,
  .admin-dashboard__hero,
  .admin-status-grid,
  .admin-kpi-grid,
  .admin-layout-two,
  .admin-layout-three,
  .admin-form-grid,
  .admin-learning-grid,
  .admin-ops-grid,
  .admin-system-grid,
  .admin-timeline__metrics {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero__copy,
  .landing-hero__visual,
  .marketing-card,
  .inner-hero__content,
  .landing-cta,
  .faq-block {
    padding: 24px;
  }

  .landing-title,
  .section-title {
    font-size: clamp(30px, 10vw, 48px);
  }

  .home-signal-board__rows div {
    grid-template-columns: 1fr;
  }

  .site-header__bar {
    min-height: 70px;
  }

  .admin-tabs-nav {
    top: 6px;
  }

  .admin-timeline__row {
    grid-template-columns: 1fr;
  }

  .dashboard-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-toolbar__status {
    max-width: none;
    text-align: left;
  }

  .app-sidebar {
    position: static;
    max-height: none;
  }

  .app-sidebar__scroll {
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .match-hero-card--consumer {
    padding: 22px;
  }

  .match-hero-card--consumer .match-hero-vs {
    gap: 10px;
  }

  .match-hero-card--consumer .team-pill {
    width: 72px;
    height: 72px;
  }

  .match-hero-vs__badge {
    min-width: 46px;
    min-height: 46px;
    font-size: 14px;
  }

  .match-hero-team__name {
    font-size: 13px;
  }

  .page-shell {
    width: min(100%, calc(100% - 16px));
  }

  .site-header {
    margin-top: 10px;
    border-radius: 18px;
  }

  .site-header__bar,
  .plan-toolbar,
  .site-footer__grid,
  .site-footer__meta,
  .landing-section {
    width: min(100%, calc(100% - 20px));
  }

  body.page-auth .section-head h2 {
    font-size: clamp(34px, 12vw, 48px);
  }
}
.article-page {
  display: grid;
  gap: 1.5rem;
}

.article-hero-card,
.article-body-card {
  background: var(--landing-surface, #fff);
  border: 1px solid var(--landing-line, rgba(24,33,47,0.1));
  border-radius: 28px;
  box-shadow: var(--landing-shadow, 0 20px 48px rgba(15,34,58,0.08));
}

.article-hero-card {
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.article-hero-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--landing-muted, #5f6f85);
  font-size: 0.95rem;
}

.article-hero-card__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.article-hero-card__lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--landing-muted, #5f6f85);
  max-width: 70ch;
}

.article-hero-card__teams {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-team-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: var(--landing-surface-alt, #eff6ff);
}

.article-team-badge img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.article-hero-card__versus {
  font-weight: 800;
  color: var(--landing-blue, #007aff);
}

.article-body-card {
  padding: 2rem;
}

.article-body.prose {
  max-width: 78ch;
  margin: 0 auto;
}

.article-body.prose h1,
.article-body.prose h2,
.article-body.prose h3 {
  color: var(--landing-text, #18212f);
}

.article-body.prose p,
.article-body.prose li {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--landing-text, #18212f);
}

.insight-banner--article {
  margin-top: 1rem;
}

.article-summary-card {
  padding: 1.5rem 2rem;
}

.article-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.article-summary-grid h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.article-summary-values {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: var(--landing-surface-alt, #eff6ff);
  border: 1px solid var(--landing-line, rgba(24,33,47,0.1));
}

.article-lock-copy {
  margin: 0;
  color: var(--landing-muted, #5f6f85);
  line-height: 1.7;
}

.seo-model-card {
  display: grid;
  gap: 0.9rem;
}

.seo-model-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin: 0;
  color: var(--landing-muted, #5f6f85);
  font-size: 0.96rem;
}

.article-buy-form {
  display: grid;
  gap: 0.85rem;
}

.article-buy-form__label {
  display: block;
  color: var(--landing-text, #152238);
  font-size: 0.95rem;
  font-weight: 700;
}

.article-buy-form__input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(18, 40, 76, 0.12);
  background: #fff;
  color: var(--landing-text, #152238);
  font: inherit;
}

.match-hero-card--consumer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(243, 247, 254, 0.96)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045), transparent 38%);
  position: relative;
  overflow: hidden;
}

.match-hero-card--consumer::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1), transparent 70%);
  pointer-events: none;
}

.match-hero-card--consumer .app-icon,
.match-hero-card--consumer .feature-icon {
  display: none;
}

.match-hero-copy {
  position: relative;
  z-index: 1;
}

.match-hero-card--consumer .match-hero-title {
  max-width: 11ch;
  color: #152238;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 0.94;
}

.match-hero-card--consumer .match-hero-meta span,
.match-hero-card--consumer .breadcrumbs {
  color: #4d6075;
}

.match-hero-card--consumer .match-hero-eyebrow {
  gap: 12px;
}

.match-hero-card--consumer .match-hero-eyebrow .eyebrow {
  margin-bottom: 0;
  color: #0b74d1;
}

.match-hero-card--consumer .match-hero-vs {
  position: relative;
  z-index: 1;
  gap: 16px;
  align-items: center;
}

.match-hero-team {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 120px;
}

.match-hero-team__name {
  max-width: 12ch;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  color: #12263f;
}

.match-hero-vs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(191, 219, 254, 0.45);
  border: 1px solid rgba(96, 165, 250, 0.2);
  color: #43658d;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.match-hero-card--consumer .team-pill {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 252, 0.94));
  border: 1px solid rgba(18, 40, 76, 0.08);
  box-shadow: 0 10px 28px rgba(15, 34, 58, 0.06);
}

.match-hero-card--consumer .team-pill__image {
  width: min(100%, 48px);
  height: min(100%, 48px);
  object-fit: contain;
  padding: 0;
  image-rendering: auto;
}

.match-tabs .tab-list {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(15, 34, 58, 0.05);
}

.match-tabs .tab-button {
  background: rgba(248, 250, 255, 0.92);
  color: #52657c;
  padding-top: 0.78rem;
  padding-bottom: 0.78rem;
}

.match-tabs .tab-button.is-active {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.14), rgba(31, 107, 122, 0.16));
  color: #0f5ba7;
  border-color: rgba(0, 122, 255, 0.18);
}

.match-tabs .tab-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 255, 0.84));
}

.match-tabs .detail-grid > .info-card,
.match-tabs .preview-panel-grid .info-card,
.match-tabs .market-summary-card,
.match-tabs .roadmap-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.88));
  border: 1px solid rgba(18, 40, 76, 0.08);
}

.match-tabs .detail-grid > .info-card h3,
.match-tabs .preview-panel-grid .info-card h3,
.match-tabs .market-summary-card h3,
.match-context-card__head h3 {
  color: #16283d;
}

.match-tabs .detail-grid > .info-card p,
.match-tabs .preview-panel-grid .info-card p,
.match-context-card__caption,
.match-context-card__empty {
  color: #42576c;
}

.match-tabs .insight-banner {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(31, 107, 122, 0.08));
  border-color: rgba(0, 122, 255, 0.12);
}

.match-tabs .odds-row,
.match-tabs .preview-snapshot-chip {
  background: rgba(247, 250, 255, 0.88);
}

.model-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.eyebrow--inline {
  margin-bottom: 8px;
}

.ai-chip--muted {
  background: rgba(15, 34, 58, 0.05);
  color: var(--landing-text);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-main--full {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.dashboard-topline__note {
  max-width: 420px;
  color: var(--landing-muted);
  line-height: 1.6;
  font-size: 14px;
}

.dashboard-sidebar,
.analytics-table-card,
.market-summary-card,
.market-board-details {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-sidebar {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.dashboard-sidebar h2,
.dashboard-title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.dashboard-sidebar__copy,
.dashboard-subtitle,
.dashboard-sidebar__note p,
.analytics-table-card__note,
.market-summary-lead {
  margin: 12px 0 0;
  color: #33424f;
  line-height: 1.65;
  font-size: 16px;
}

.dashboard-sidebar__nav {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.dashboard-sidebar__link {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(22, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.55);
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.dashboard-sidebar__link.is-active {
  border-color: rgba(0, 122, 255, 0.2);
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
}

.dashboard-sidebar__note {
  padding: 16px;
  border-radius: 18px;
  background: rgba(22, 33, 43, 0.04);
}

.section-head--compact {
  margin-bottom: 18px;
}

.metric-card h3 {
  font-size: 42px;
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: var(--landing-muted);
}

.metric-card--strong {
  background: linear-gradient(180deg, rgba(237, 252, 240, 0.92), rgba(248, 255, 249, 0.78));
}

.metric-card--good {
  background: linear-gradient(180deg, rgba(244, 250, 236, 0.92), rgba(255, 255, 247, 0.78));
}

.metric-card--watch {
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.92), rgba(255, 252, 244, 0.78));
}

.metric-card--weak {
  background: linear-gradient(180deg, rgba(255, 241, 236, 0.92), rgba(255, 249, 247, 0.78));
}

.analytics-table-card {
  padding: 24px;
  overflow: hidden;
}

.analytics-table-card--spaced {
  margin-top: 24px;
}

.analytics-table-card__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.analytics-table-card__head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

.analytics-table {
  display: grid;
  gap: 10px;
  min-width: 900px;
}

.analytics-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
}

.analytics-table__row {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) 130px 150px 150px 150px 90px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(22, 33, 43, 0.06);
  font-family: "Inter", sans-serif;
}

.analytics-table__row > span,
.analytics-table__row > mark,
.analytics-table__row small {
  min-width: 0;
}

.analytics-table__row--head {
  background: rgba(22, 33, 43, 0.06);
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.analytics-table__model {
  display: grid;
  gap: 4px;
}

.analytics-table__model small {
  color: var(--landing-muted);
}

.analytics-table--recent {
  min-width: 720px;
}

.analytics-table__row--recent {
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.3fr) minmax(180px, 0.9fr) 120px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.score-pill--strong {
  background: rgba(59, 154, 94, 0.14);
  color: #267447;
}

.score-pill--good {
  background: rgba(131, 171, 65, 0.16);
  color: #5c7428;
}

.score-pill--watch {
  background: rgba(203, 154, 43, 0.16);
  color: #8a6513;
}

.score-pill--weak {
  background: rgba(196, 80, 56, 0.14);
  color: #9e3824;
}

.score-pill--muted {
  background: rgba(22, 33, 43, 0.08);
  color: var(--landing-muted);
}

.market-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.market-summary-card {
  padding: 24px;
}

.market-summary-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.market-probability-bars {
  display: grid;
  gap: 12px;
}

.probability-bar {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 33, 43, 0.06);
}

.probability-bar__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}

.probability-bar__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(22, 33, 43, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.probability-bar__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.probability-bar--home .probability-bar__track span {
  background: linear-gradient(90deg, #2d6cdf, #5d9cff);
}

.probability-bar--draw .probability-bar__track span {
  background: linear-gradient(90deg, #7b7f8d, #aeb4c4);
}

.probability-bar--away .probability-bar__track span {
  background: linear-gradient(90deg, #c85f28, #e39b59);
}

.probability-bar--over .probability-bar__track span {
  background: linear-gradient(90deg, #1f8f6a, #55c49d);
}

.probability-bar--under .probability-bar__track span {
  background: linear-gradient(90deg, #8a5ad6, #b08cf2);
}

.probability-bar small {
  color: var(--landing-muted);
}

.market-board-details > summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.market-board-details > summary::-webkit-details-marker {
  display: none;
}

.odds-board-grid--compact {
  padding: 0 18px 18px;
}

.public-odds-tables {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 34, 58, 0.10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.92));
}

.public-odds-tables__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.public-odds-tables__head h3 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.15;
}

.public-odds-tables__head > span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.10);
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
}

.public-odds-tables__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.public-odds-table {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 58, 0.10);
  border-radius: 14px;
  background: #fff;
}

.public-odds-table h4 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 34, 58, 0.08);
  font-size: 14px;
  line-height: 1.25;
}

.public-odds-table__rows {
  display: grid;
}

.public-odds-table__row {
  display: grid;
  grid-template-columns: minmax(86px, 1.35fr) minmax(54px, 0.9fr) minmax(44px, 0.55fr) minmax(48px, 0.55fr);
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(15, 34, 58, 0.06);
  font-size: 12px;
  line-height: 1.25;
}

.public-odds-table__row:last-child {
  border-bottom: 0;
}

.public-odds-table__row--head {
  background: rgba(15, 34, 58, 0.04);
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-odds-table__row strong {
  font-size: 13px;
}

.match-signal-panel--sstats-compact {
  gap: 14px;
  padding: 1rem;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(240, 253, 250, 0.92)),
    #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.match-signal-panel--sstats-compact .public-match-card__eyebrow,
.match-signal-panel--glicko .public-match-card__eyebrow {
  color: #0f766e;
}

.match-signal-panel--sstats-compact .sstats-compact-table {
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
}

.match-signal-panel--sstats-compact .sstats-compact-table__row {
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
}

.sstats-compact-table__row--best {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.14), rgba(240, 253, 244, 0.94));
  box-shadow: inset 4px 0 0 rgba(22, 163, 74, 0.82);
}

.sstats-compact-table__row--best .sstats-compact-table__cell--strong,
.sstats-compact-table__row--best span {
  color: #14532d;
}

.sstats-compact-table__row--model {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.10), rgba(240, 249, 255, 0.92));
  box-shadow: inset 4px 0 0 rgba(14, 165, 233, 0.58);
}

.sstats-compact-table__row--market {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(255, 251, 235, 0.92));
  box-shadow: inset 4px 0 0 rgba(245, 158, 11, 0.64);
}

.sstats-compact-table__row--miss {
  background: rgba(248, 250, 252, 0.88);
}

.sstats-compact-table__row--strong {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.16), rgba(236, 253, 245, 0.96));
  box-shadow: inset 4px 0 0 rgba(22, 163, 74, 0.86);
}

.sstats-compact-table__row--watch {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.13), rgba(255, 251, 235, 0.94));
  box-shadow: inset 4px 0 0 rgba(245, 158, 11, 0.72);
}

.sstats-compact-table__row--audit {
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
}

.sstats-compact-table__row--miss-strong {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.12), rgba(254, 242, 242, 0.94));
  box-shadow: inset 4px 0 0 rgba(239, 68, 68, 0.72);
}

.sstats-compact-table__row small {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.3;
}

.public-glicko-note {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.08);
  color: #334155;
  line-height: 1.45;
}

.match-signal-metric--value-strong {
  border-color: rgba(22, 163, 74, 0.34);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.98), rgba(240, 253, 244, 0.96));
  box-shadow: inset 4px 0 0 rgba(22, 163, 74, 0.86);
}

.match-signal-metric--value-strong strong,
.match-signal-metric--value-strong small {
  color: #166534;
}

.match-signal-metric--value-weak {
  border-color: rgba(245, 158, 11, 0.26);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.98), rgba(255, 247, 237, 0.94));
}

.match-signal-metric--no-value,
.match-signal-metric--line-only {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
}

.match-signal-panel--liveresult {
  border-top-color: rgba(11, 120, 255, 0.16);
}

.liveresult-summary {
  margin: 0;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.55;
}

.liveresult-stat-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.liveresult-stat {
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(15, 34, 58, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.liveresult-stat span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.liveresult-stat strong {
  color: #0f172a;
  font-size: 1rem;
}

.liveresult-timeline {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 58, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.liveresult-timeline__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid rgba(15, 34, 58, 0.06);
}

.liveresult-timeline__row:last-child {
  border-bottom: 0;
}

.liveresult-timeline__minute {
  color: #0b78ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.liveresult-timeline__body {
  min-width: 0;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.liveresult-timeline__body strong {
  margin-right: 0.35rem;
  color: #0f172a;
}

.sstats-compact-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 58, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.sstats-compact-table__row {
  display: grid;
  grid-template-columns: minmax(120px, 1.25fr) minmax(74px, 0.8fr) minmax(74px, 0.8fr) minmax(92px, 0.95fr);
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(15, 34, 58, 0.06);
  font-size: 13px;
  line-height: 1.25;
}

.sstats-compact-table__row:last-child {
  border-bottom: 0;
}

.sstats-compact-table__row--head {
  background: rgba(15, 34, 58, 0.04);
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sstats-compact-table__cell--strong {
  color: var(--landing-ink);
  font-weight: 800;
}

.sstats-compact-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sstats-excerpt-card {
  align-content: start;
}

.sstats-excerpt-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sstats-excerpt-list li {
  position: relative;
  padding-left: 14px;
  color: var(--landing-muted);
  font-size: 12px;
  line-height: 1.42;
  overflow-wrap: break-word;
  word-break: normal;
}

.sstats-excerpt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(11, 120, 255, 0.72);
}

@media (max-width: 960px) {
  .public-odds-tables__head {
    display: grid;
  }

  .public-odds-tables__grid {
    grid-template-columns: 1fr;
  }

  .public-odds-table__row {
    grid-template-columns: minmax(72px, 1.2fr) minmax(48px, 0.8fr) minmax(42px, 0.45fr) minmax(46px, 0.5fr);
    padding-inline: 10px;
  }

  .sstats-compact-table__row {
    grid-template-columns: minmax(96px, 1.1fr) minmax(58px, 0.7fr) minmax(58px, 0.7fr) minmax(74px, 0.8fr);
    gap: 8px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .match-signal-panel__titlebar {
    display: grid;
  }

  .match-source-link {
    justify-self: start;
  }

  .liveresult-timeline__row {
    grid-template-columns: 46px minmax(0, 1fr);
    padding-inline: 0.75rem;
  }
}

.hint-note {
  position: relative;
  flex: 0 0 auto;
}

.hint-note__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(0, 122, 255, 0.18);
  background: rgba(0, 122, 255, 0.08);
  color: var(--landing-blue);
  font-size: 16px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.hint-note__trigger::-webkit-details-marker {
  display: none;
}

.hint-note__body {
  position: absolute;
  right: 0;
  top: 38px;
  width: min(320px, 80vw);
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 40, 76, 0.12);
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 34, 58, 0.14);
  z-index: 20;
}

.hint-note__body p,
.hint-note__body small {
  margin: 0;
}

.hint-note__body small {
  color: var(--landing-muted);
}

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

.availability-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 40, 76, 0.12);
  background: rgba(255, 243, 236, 0.72);
}

.availability-item.is-ready {
  background: rgba(233, 247, 239, 0.82);
  border-color: rgba(18, 143, 84, 0.18);
}

.availability-item strong {
  font-size: 0.98rem;
}

.availability-item__state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 40, 76, 0.08);
  color: var(--landing-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.availability-item.is-ready .availability-item__state {
  background: rgba(18, 143, 84, 0.12);
  color: #0b6b43;
}

.availability-item small {
  color: var(--landing-muted);
  line-height: 1.5;
}

.tool-evidence-details {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(18, 40, 76, 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.tool-evidence-details > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--landing-ink);
  list-style: none;
}

.tool-evidence-details > summary::-webkit-details-marker {
  display: none;
}

.tool-evidence-details[open] > summary {
  margin-bottom: 16px;
}

.info-card p,
.article-body-card p,
.article-hero-card p,
.availability-item small {
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-header__bar,
.plan-toolbar {
  min-width: 0;
}

.site-nav {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__hint {
  max-width: 240px;
  white-space: normal;
  text-align: right;
}

@media (max-width: 900px) {
  .public-match-dossier__glance,
  .public-split-list,
  .match-center-overview,
  .match-center-overview__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-dossier-switch {
    padding-bottom: 0.55rem;
  }

  .public-dossier-switch .tab-button {
    white-space: nowrap;
  }

  .recent-result-row--championat .recent-result-row__main {
    grid-template-columns: 1fr;
  }

  .recent-result-row--championat .recent-result-row__main .public-result-team:last-child {
    justify-content: flex-start;
    text-align: left;
    justify-self: start;
  }

  .public-formation-pitch {
    min-height: 580px;
  }

  .public-pitch-player {
    width: 74px;
  }

  .public-pitch-player strong {
    font-size: 0.66rem;
  }
}

@media (max-width: 640px) {
  .public-player-row {
    grid-template-columns: 26px 30px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .public-player-row__number {
    width: 26px;
    height: 26px;
  }

  .public-player-row__avatar {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .public-info-chips {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .auth-stage {
    grid-template-columns: 1fr;
  }

  .article-summary-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }

  .analytics-table-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav__hint {
    max-width: none;
    text-align: left;
  }

  .public-match-dossier__glance,
  .public-match-dossier__layout,
  .public-match-dossier__grid,
  .public-info-chips,
  .public-split-list {
    grid-template-columns: 1fr;
  }

  .public-match-dossier__aside {
    position: static;
  }

  .public-match-card--span-2 {
    grid-column: auto;
  }

  .public-match-card--h2h,
  .public-match-card--tournament {
    grid-column: auto;
  }

  .match-center-overview,
  .match-center-overview__facts,
  .match-signal-panel__grid,
  .match-competition-bar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

.match-hero-centerline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.match-hero-statusline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.match-hero-statuschip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #28435f;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.match-hero-statuschip--muted {
  background: rgba(226, 232, 240, 0.62);
  color: #556b84;
}

.match-hero-state {
  color: #102338;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-hero-card--consumer .match-hero-top {
  align-items: stretch;
  gap: 2rem;
}

.match-hero-card--consumer .match-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.match-hero-card--consumer .match-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.match-hero-card--consumer .match-hero-vs {
  position: relative;
  z-index: 1;
  gap: 16px;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(235, 244, 255, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.match-hero-form-dots {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
}

.match-hero-form-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.82);
}

.match-hero-form-dot.is-win {
  background: #7ba53f;
}

.match-hero-form-dot.is-loss {
  background: #d53b36;
}

.match-hero-form-dot.is-draw {
  background: #f1b814;
}

.match-hero-form-dot.is-unknown {
  background: #a8b3bf;
}

.match-hero-scorecard {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  min-width: 132px;
  max-width: 100%;
  padding: 0.95rem 0.9rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(30, 41, 59, 0.88));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.match-hero-scorecard__score {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #f8fafc;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.match-hero-scorecard__sets {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.match-hero-scorecard__status {
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* LIVE WAVE: hero LIVE emphasis (enhances ONLY the live state; finished/scheduled untouched). */
@keyframes livewave-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.match-hero-scorecard.is-live .match-hero-scorecard__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: center;
  padding: 2px 10px;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  letter-spacing: 0.06em;
  animation: livewave-pulse 1.8s infinite;
}

.match-hero-scorecard.is-live .match-hero-scorecard__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.match-hero-scorecard.is-live .match-hero-scorecard__score {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(248, 250, 252, 0.35);
}

.match-hero-scorecard.is-live .match-hero-scorecard__score .is-lead {
  color: #fde68a;
}

/* LIVE WAVE: live 1x2 implied-probability bar (de-vigged from Fonbet live line). */
.match-live-prob-card {
  display: grid;
  gap: 0.7rem;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.match-live-prob-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.match-live-prob-card__head h2 {
  margin: 0;
  font-size: 1.04rem;
  color: #0f2033;
}

.match-live-prob-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.match-live-prob-card__minute {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
}

.match-live-prob-bar {
  display: flex;
  width: 100%;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
}

.match-live-prob-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  transition: filter 0.2s ease;
}

.match-live-prob-seg--home { background: #2563eb; }
.match-live-prob-seg--draw { background: #94a3b8; }
.match-live-prob-seg--away { background: #f59e0b; }

.match-live-prob-seg.is-fav {
  background: #16a34a;
}

.match-live-prob-seg__pct {
  padding: 0 4px;
  white-space: nowrap;
}

.match-live-prob-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.78rem;
  color: #475569;
  font-weight: 700;
}

.match-live-prob-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.match-live-prob-legend__dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.match-live-prob-legend__dot--home { background: #2563eb; }
.match-live-prob-legend__dot--draw { background: #94a3b8; }
.match-live-prob-legend__dot--away { background: #f59e0b; }

/* LIVE WAVE: momentum card (publishes match_live_situation, football-only in practice). */
.match-live-mom-card {
  display: grid;
  gap: 0.7rem;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.match-live-mom-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.match-live-mom-card__head h2 {
  margin: 0;
  font-size: 1.04rem;
  color: #0f2033;
}

.match-live-mom-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.match-live-mom-card__score {
  font-size: 1.04rem;
  font-weight: 900;
  color: #0f2033;
}

.match-live-mom-card__minute {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
}

.match-live-mom-card__teams {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 800;
}

.match-live-mom-card__team--home { color: #2563eb; }
.match-live-mom-card__team--away { color: #d97706; }

.match-live-mom-card__bars {
  display: grid;
  gap: 0.55rem;
}

.match-live-mom__bar {
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 0.5rem;
}

.match-live-mom__val {
  font-size: 0.82rem;
  font-weight: 800;
  color: #64748b;
}

.match-live-mom__val--home { text-align: left; }
.match-live-mom__val--away { text-align: right; }
.match-live-mom__val--home.is-lead { color: #2563eb; }
.match-live-mom__val--away.is-lead { color: #d97706; }

.match-live-mom__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.match-live-mom__track {
  grid-column: 1 / -1;
  display: flex;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  background: #eef2f7;
}

.match-live-mom__fill--home { background: #2563eb; }
.match-live-mom__fill--away { background: #f59e0b; }

.tennis-match-board {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.tennis-score-rail {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.tennis-score-rail strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tennis-score-rail strong:first-child {
  text-align: right;
}

.tennis-score-rail > span {
  padding: 7px 12px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
}

.tennis-score-rail em,
.tennis-score-rail small {
  color: #64748b;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.tennis-match-board__nav,
.tennis-match-board__tournament,
.tennis-score-panel,
.tennis-side-panel,
.tennis-match-board__tabs {
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.tennis-match-board__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  color: #73798a;
  font-size: 1rem;
  font-weight: 850;
  overflow-x: auto;
}

.tennis-match-board__nav strong {
  color: #182033;
}

.tennis-match-board__tournament {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.tennis-match-board__tournament strong {
  display: block;
  color: #111827;
  font-size: 1.05rem;
}

.tennis-match-board__sport {
  display: block;
  color: #84a70a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tennis-match-board__links,
.tennis-match-board__tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #72798b;
  font-size: 0.86rem;
  font-weight: 800;
}

.tennis-match-board__tabs {
  justify-content: flex-start;
  padding: 16px 18px;
  border: 0;
  box-shadow: none;
}

.tennis-match-board__tabs strong {
  color: #182033;
  font-size: 1.02rem;
}

.tennis-match-board__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: 12px;
}

.tennis-match-board__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.tennis-score-panel {
  padding: 22px;
}

.tennis-score-panel__meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #7a8190;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.tennis-score-panel__meta strong {
  color: #111827;
}

.tennis-score-panel__players {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.tennis-player-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  min-width: 0;
  text-align: center;
  color: #111827;
}

.tennis-player-card__photo {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #f8fafc;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 900;
  overflow: hidden;
}

.tennis-player-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tennis-player-card strong {
  max-width: 100%;
  font-size: 1.02rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tennis-player-card span,
.tennis-player-card small {
  max-width: 100%;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.tennis-player-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tennis-player-card small {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
}

.tennis-player-card__flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.tennis-player-card__flag--emoji {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 14px;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1;
}

.tennis-form-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  min-height: 18px;
  margin-top: 2px;
}

.tennis-form-chip {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1;
}

.tennis-form-chip--win {
  background: #00a85a;
}

.tennis-form-chip--loss {
  background: #e11d48;
}

.tennis-form-chip--neutral {
  background: #cbd5e1;
  color: #475569;
}

.tennis-score-panel__score {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 18px auto 0;
  color: #111827;
  text-align: center;
}

.tennis-score-panel__score span {
  font-size: 1.35rem;
  font-weight: 950;
}

.tennis-score-panel__score strong {
  color: #6b7280;
  font-size: 0.9rem;
}

.tennis-set-table {
  display: grid;
  gap: 1px;
  max-width: 480px;
  margin: 16px auto 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
}

.tennis-set-table__row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) repeat(var(--sets, 3), minmax(34px, 0.28fr)) minmax(42px, 0.34fr);
  grid-auto-flow: column;
  align-items: center;
  background: #fff;
}

.tennis-set-table__row strong,
.tennis-set-table__row span,
.tennis-set-table__row b,
.tennis-set-table__row em {
  padding: 9px 10px;
  color: #111827;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
  text-align: center;
}

.tennis-set-table__row strong {
  text-align: left;
}

.tennis-set-table__row--head {
  background: #f3f4f6;
}

.tennis-set-table__row--head b,
.tennis-set-table__row em {
  background: #eef2f7;
}

.tennis-momentum-strip {
  display: flex;
  gap: 4px;
  max-width: 480px;
  margin: 12px auto 0;
  min-height: 24px;
}

.tennis-momentum-strip__seg {
  display: grid;
  place-items: center;
  min-width: 38px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
}

.tennis-momentum-strip__seg--home {
  background: #1d4ed8;
}

.tennis-momentum-strip__seg--away {
  background: #ff4a12;
}

.tennis-momentum-strip__seg--even {
  background: #94a3b8;
}

.tennis-odds-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(92px, 0.36fr));
  gap: 8px;
  max-width: 560px;
  margin: 16px auto 0;
  align-items: stretch;
}

.tennis-odds-strip__title,
.tennis-odds-strip__item {
  border-radius: 8px;
  background: #f1f5f9;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 850;
}

.tennis-odds-strip__title {
  display: flex;
  align-items: center;
  color: #64748b;
  text-transform: uppercase;
}

.tennis-odds-strip__item {
  display: grid;
  gap: 2px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tennis-odds-strip__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #008f5a calc(var(--prob) * 1%), #dbe4ef 0);
}

.tennis-odds-strip__item span {
  color: #64748b;
}

.tennis-odds-strip__item strong {
  color: #111827;
  font-size: 1rem;
}

.tennis-odds-strip__item small {
  color: #008f5a;
  font-weight: 900;
}

.tennis-odds-strip__item em {
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.tennis-score-panel__facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: #7a8190;
  font-size: 0.82rem;
}

.tennis-side-panel {
  padding: 18px;
}

.tennis-side-panel h3 {
  margin: 0 0 14px;
  color: #182033;
  font-size: 1.12rem;
}

.tennis-side-panel__switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
  border-radius: 4px;
  overflow: hidden;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.tennis-side-panel__switch strong {
  padding: 11px 8px;
  background: #ff4a12;
}

.tennis-side-panel__switch span {
  padding: 11px 8px;
  background: #9aa0aa;
}

.tennis-side-panel__row {
  padding: 10px 0;
  border-top: 1px dotted #cbd5e1;
  color: #4b5563;
  font-size: 0.78rem;
  line-height: 1.45;
}

.tennis-side-panel__match {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 58px;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 9px 0;
  border-top: 1px dotted #cbd5e1;
}

.tennis-side-panel__match span,
.tennis-side-panel__match em {
  color: #94a3b8;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
}

.tennis-side-panel__match strong {
  min-width: 0;
  color: #1f2937;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.35;
}

.tennis-side-panel__match em {
  justify-self: end;
  padding: 4px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  text-align: right;
}

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

.tennis-insight-card {
  border: 1px solid rgba(214, 224, 236, 0.96);
  border-radius: 8px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.tennis-insight-card--wide {
  grid-column: 1 / -1;
}

.tennis-insight-card h3 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 950;
}

.tennis-about-table {
  display: grid;
  gap: 0;
  border-top: 1px dotted #cbd5e1;
}

.tennis-about-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.62fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 34px;
  padding: 8px 0;
  border-bottom: 1px dotted #cbd5e1;
  align-items: center;
  text-align: center;
}

.tennis-about-table__row:first-child {
  border-top: 0;
}

.tennis-about-table__row strong {
  color: #697386;
  font-size: 0.76rem;
  font-weight: 900;
}

.tennis-about-table__row span {
  color: #071426;
  font-size: 0.9rem;
  font-weight: 850;
}

.tennis-surface-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.tennis-surface-form__player {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.tennis-surface-form__player > strong {
  color: #111827;
  font-size: 0.96rem;
  font-weight: 950;
}

.tennis-surface-form__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 116px;
}

.tennis-surface-ring {
  display: grid;
  place-items: center;
  width: 116px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 51%, transparent 52%),
    conic-gradient(from -90deg, #5b66aa calc(var(--pct) * 1%), #edf2f7 0);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.04),
    0 8px 22px rgba(17, 24, 39, 0.06);
}

.tennis-surface-ring strong {
  color: #111827;
  font-size: 1.1rem;
  line-height: 1;
}

.tennis-surface-ring span {
  margin-top: -24px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
}

.tennis-surface-form__total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 950;
}

.tennis-surface-form__total span {
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 800;
}

.tennis-surface-form__row {
  display: grid;
  grid-template-columns: 104px minmax(120px, 1fr) minmax(72px, auto);
  gap: 10px;
  align-items: center;
  color: #596174;
  font-size: 0.78rem;
  font-weight: 800;
}

.tennis-surface-form__row div {
  height: 8px;
  border-radius: 999px;
  background: #edf2f7;
  overflow: hidden;
}

.tennis-surface-form__row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff4a12, #ff7a1a);
}

.tennis-surface-form__row b {
  min-width: 58px;
  text-align: right;
  white-space: nowrap;
}

.tennis-h2h-text {
  margin: 0;
  color: #374151;
  font-size: 0.86rem;
  line-height: 1.65;
}

.tennis-h2h-row {
  padding: 10px 0;
  border-top: 1px dotted #d6dde8;
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.5;
}

.tennis-h2h-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.tennis-h2h-table {
  display: grid;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.tennis-h2h-table__row {
  display: grid;
  grid-template-columns: 108px minmax(220px, 1fr) 112px;
  gap: 0;
  border-top: 1px dotted #d6dde8;
  background: #fff;
}

.tennis-h2h-table__row:first-child {
  border-top: 0;
}

.tennis-h2h-table__row > div,
.tennis-h2h-table__row > em {
  padding: 11px 12px;
}

.tennis-h2h-table__row strong,
.tennis-h2h-table__row b,
.tennis-h2h-table__row span,
.tennis-h2h-table__row em {
  display: block;
  font-style: normal;
}

.tennis-h2h-table__row strong {
  color: #111827;
  font-size: 0.84rem;
}

.tennis-h2h-table__row span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
}

.tennis-h2h-table__row b {
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.45;
}

.tennis-h2h-table__row em {
  align-self: stretch;
  display: grid;
  place-items: center;
  background: #f3f5f8;
  color: #111827;
  font-size: 0.84rem;
  font-weight: 950;
  text-align: center;
}

.tennis-h2h-results {
  display: grid;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.tennis-h2h-result {
  display: grid;
  grid-template-columns: 86px minmax(190px, 0.8fr) 118px minmax(390px, 1.6fr);
  align-items: stretch;
  border-top: 1px dotted #d6dde8;
  min-height: 76px;
}

.tennis-h2h-result:first-child {
  border-top: 0;
}

.tennis-h2h-result__year,
.tennis-h2h-result__event,
.tennis-h2h-result__round {
  padding: 13px 12px;
  border-right: 1px dotted #d6dde8;
}

.tennis-h2h-result__year {
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 900;
}

.tennis-h2h-result__event {
  display: grid;
  align-content: center;
  gap: 5px;
}

.tennis-h2h-result__event strong {
  color: #1f2937;
  font-size: 0.84rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.tennis-h2h-result__event span,
.tennis-h2h-result__round {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.tennis-h2h-result__round {
  display: grid;
  place-items: center start;
}

.tennis-h2h-result__scoreboard {
  min-width: 0;
  display: grid;
  overflow: hidden;
}

.tennis-h2h-result__team {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 38px;
  border-top: 1px dotted #e2e8f0;
}

.tennis-h2h-result__team:first-child {
  border-top: 0;
}

.tennis-h2h-result__team.is-loser {
  color: #8a94a6;
}

.tennis-h2h-result__seed {
  display: grid;
  place-items: center;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 950;
}

.tennis-h2h-result__player {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 10px;
}

.tennis-h2h-result__player img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.tennis-h2h-result__player strong {
  overflow: hidden;
  color: #1f2937;
  font-size: 0.84rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tennis-h2h-result__team.is-loser .tennis-h2h-result__player strong {
  color: #7a8495;
}

.tennis-h2h-result__sets {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(32px, 34px);
  align-items: stretch;
  min-height: 38px;
}

.tennis-h2h-result__set {
  display: grid;
  place-items: center;
  border-left: 1px dotted #d6dde8;
  background: #fff;
  color: #172033;
  font-size: 0.84rem;
  font-weight: 950;
}

.tennis-h2h-result__set--goal {
  background: #eef2f7;
}

.tennis-h2h-result__set.is-win {
  background: #edf7ef;
  color: #0b8f43;
}

.tennis-fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0;
}

.tennis-fact-chips span {
  padding: 8px 11px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 900;
}

@media (max-width: 900px) {
  .tennis-match-board__grid {
    grid-template-columns: 1fr;
  }

  .tennis-match-board__tournament,
  .tennis-score-panel__meta,
  .tennis-score-panel__facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .tennis-match-board__links {
    flex-wrap: wrap;
  }

  .tennis-insight-grid,
  .tennis-surface-form {
    grid-template-columns: 1fr;
  }

  .tennis-about-table__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .tennis-odds-strip {
    grid-template-columns: 1fr 1fr;
  }

  .tennis-odds-strip__title {
    grid-column: 1 / -1;
  }

  .tennis-score-rail {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
    text-align: center;
  }

  .tennis-score-panel__players {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tennis-set-table {
    max-width: 100%;
    overflow-x: auto;
  }

  .tennis-set-table__row {
    min-width: 320px;
  }

  .tennis-surface-form__summary {
    align-items: flex-start;
  }

  .tennis-h2h-table__row {
    grid-template-columns: 1fr;
  }

  .tennis-h2h-table__row em {
    text-align: left;
  }

  .tennis-h2h-result {
    grid-template-columns: 1fr;
  }

  .tennis-h2h-result__year,
  .tennis-h2h-result__event,
  .tennis-h2h-result__round {
    border-right: 0;
    border-bottom: 1px dotted #d6dde8;
  }

  .tennis-h2h-result__sets {
    grid-auto-columns: minmax(30px, 1fr);
  }

  .tennis-h2h-result__player strong {
    white-space: normal;
  }
}

.match-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.match-hero-fact {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.match-hero-fact span {
  display: block;
  margin-bottom: 0.3rem;
  color: #667b92;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-hero-fact strong {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #11263d;
  font-size: 1.05rem;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .match-hero-centerline {
    align-items: flex-start;
    flex-direction: column;
  }

  .match-hero-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .match-hero-card--consumer .match-hero-top {
    gap: 1.1rem;
  }

  .match-hero-card--consumer .match-hero-vs {
    display: grid;
    width: 100%;
    padding: 1rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.7rem;
  }

  .match-hero-team {
    min-width: 0;
  }

  .match-hero-team__name {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .match-hero-scorecard {
    min-width: 108px;
    padding: 0.82rem 0.78rem;
  }

  .match-hero-scorecard__score {
    font-size: 1.4rem;
  }

  .match-hero-statuschip {
    min-height: 32px;
    padding: 0.42rem 0.72rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .page-shell,
  .match-hero-card--consumer,
  .tennis-match-board,
  .tennis-score-panel,
  .tennis-side-panel {
    max-width: 100%;
    min-width: 0;
  }

  .match-hero-card--consumer {
    padding: 20px;
  }

  .match-hero-card--consumer .match-hero-title {
    font-size: clamp(2rem, 11vw, 2.75rem);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .match-hero-card--consumer .match-hero-vs {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .match-hero-scorecard {
    width: min(190px, 100%);
  }

.tennis-match-board__nav,
  .tennis-match-board__tabs {
    overflow-x: auto;
  }
}

/* 2026-04-27 final cascade: public match/match-center layout repair */
html,
body {
  overflow-x: hidden;
}

.match-hero-card--consumer {
  overflow: visible;
}

.match-hero-card--consumer::after {
  pointer-events: none;
}

.match-hero-card--consumer .match-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.match-hero-card--consumer .match-hero-vs {
  overflow: visible;
  min-width: 0;
  width: 100%;
}

.match-hero-team,
.match-hero-scorecard,
.match-hero-copy,
.public-match-card,
.public-lineup-panel,
.public-info-chip {
  min-width: 0;
}

.match-hero-team__name,
.public-lineup-player__name,
.public-lineup-player__meta,
.public-info-chip strong,
.public-source-note,
.match-center-overview__copy,
.match-group__titles strong,
.match-team-line__text h3,
.match-meta__competition {
  overflow-wrap: anywhere;
}

.public-match-dossier__glance {
  align-items: start;
}

.public-match-card--accent {
  align-self: start;
  min-height: 0;
}

.prediction-vote-bar__segment {
  min-height: 36px;
}

@media (min-width: 1180px) {
  .dashboard-shell--matchcenter {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
  }

  .dashboard-sidebar--matchcenter {
    display: grid;
    max-width: 280px;
    position: sticky;
    top: 1rem;
  }

  .dashboard-main--matchcenter,
  .matches-list,
  .match-card,
  .match-body,
  .match-meta,
  .match-team-line {
    min-width: 0;
  }

  .market-strip {
    grid-template-columns: repeat(auto-fit, minmax(54px, 68px));
    justify-content: end;
  }
}

@media (max-width: 1179px) {
  .match-hero-card--consumer .match-hero-top,
  .dashboard-shell--matchcenter,
  .match-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-sidebar--matchcenter {
    display: none;
  }

  .market-strip {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .match-hero-card--consumer .match-hero-vs {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-hero-scorecard {
    justify-self: stretch;
  }
}

/* 2026-04-27 final cascade: compact authenticated app sidebar */
@media (min-width: 981px) {
  .page-auth .app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 20px;
  }

  .page-auth .app-sidebar {
    top: 100px;
    gap: 12px;
    max-height: none;
    overflow: visible;
  }

  .page-auth .app-sidebar__scroll {
    gap: 12px;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }
}

.page-auth .app-sidebar__card,
.page-auth .app-sidebar__nav {
  border-radius: 16px;
}

.page-auth .app-sidebar__card {
  padding: 13px 14px;
  gap: 6px;
}

.page-auth .app-sidebar__nav {
  gap: 4px;
  padding: 10px 9px 9px;
}

.page-auth .app-sidebar__link {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 11px;
  background: transparent;
}

.page-auth .app-sidebar__link small {
  font-size: 10.5px;
  line-height: 1.25;
}

.page-auth .app-sidebar__link:hover,
.page-auth .app-sidebar__link.is-active {
  background: rgba(0, 122, 255, 0.07);
  border-color: rgba(0, 122, 255, 0.14);
  box-shadow: none;
}

.page-auth .app-icon {
  width: 24px;
  height: 24px;
}

.page-auth .app-icon--image img {
  width: 16px;
  height: 16px;
}
/* 2026-04-28 terminal override: matchboard/admin layout */
body.page-auth .dashboard-shell--matchcenter {
  display: block !important;
}

body.page-auth .dashboard-sidebar--matchcenter {
  display: none !important;
}

body.page-auth .dashboard-main--matchcenter {
  width: 100%;
  min-width: 0;
}

@media (min-width: 981px) {
  body.page-auth:not(.page-admin) .app-shell {
    grid-template-columns: 244px minmax(0, 1fr) !important;
    gap: 20px;
  }

  body.page-auth:not(.page-admin) .app-sidebar {
    max-height: calc(100dvh - 104px) !important;
    overflow: hidden !important;
  }

  body.page-auth:not(.page-admin) .app-sidebar__scroll {
    max-height: calc(100dvh - 250px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    scrollbar-gutter: stable !important;
  }

  body.page-admin .app-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 1480px);
  }

  body.page-admin .app-sidebar {
    display: none !important;
  }
}

/* 2026-04-28 workspacefix2: final cascade guard for the app workspace. */
body.page-auth .dashboard-shell--matchcenter {
  display: block !important;
  width: 100% !important;
}

body.page-auth .dashboard-sidebar--matchcenter {
  display: none !important;
}

body.page-auth .dashboard-main--matchcenter,
body.page-auth .app-shell__content,
body.page-admin .app-shell__content {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.page-auth .filters-panel--matchcenter {
  display: grid !important;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(132px, 1fr)) !important;
  align-items: end !important;
  gap: 14px !important;
}

body.page-auth .filters-panel--matchcenter .filter-actions {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.filters-panel--matchcenter .filter-field--search input {
  width: 100%;
}

body.page-auth .active-filters--matchcenter,
body.page-auth .quick-filter-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body.page-admin .admin-shell,
body.page-admin .admin-dashboard,
body.page-admin .admin-panel {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.page-admin .admin-table-wrap,
body.page-admin .admin-log-tail,
body.page-admin .admin-tabs-nav,
body.page-admin .admin-review-card,
body.page-admin .admin-system-card {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

body.page-admin .admin-table-wrap,
body.page-admin .admin-tabs-nav {
  overflow-x: auto !important;
}

@media (min-width: 981px) {
  body.page-auth:not(.page-admin) .app-shell {
    grid-template-columns: 244px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
    width: min(100%, 1440px) !important;
    margin-inline: auto !important;
  }

  body.page-auth:not(.page-admin) .app-sidebar {
    position: sticky !important;
    top: 100px !important;
    max-height: calc(100dvh - 104px) !important;
    overflow: hidden !important;
  }

  body.page-auth:not(.page-admin) .app-sidebar__scroll {
    max-height: calc(100dvh - 250px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    scrollbar-gutter: stable !important;
  }

  body.page-admin .app-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 1480px) !important;
    margin-inline: auto !important;
  }

  body.page-admin .app-sidebar {
    display: none !important;
  }
}

@media (max-width: 980px) {
  body.page-auth .filters-panel--matchcenter {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-auth .app-sidebar__scroll {
    max-height: none !important;
    overflow: visible !important;
  }
}
/* 2026-04-28: public matchboard uses the same colorful app sidebar without account blocks */
@media (min-width: 981px) {
  body.page-public.page-has-app-sidebar .app-shell {
    display: grid;
    grid-template-columns: clamp(220px, 20vw, 244px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    width: min(100%, 1440px);
    margin: 0 auto;
  }

  body.page-public.page-has-app-sidebar .app-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100dvh - 104px);
    overflow: hidden;
    gap: 12px;
  }

  body.page-public.page-has-app-sidebar .app-sidebar__scroll {
    max-height: calc(100dvh - 230px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 3px;
  }

  body.page-public.page-has-app-sidebar .dashboard-shell--matchcenter {
    display: block;
  }
}

body.page-public.page-has-app-sidebar .app-shell__content,
body.page-public.page-has-app-sidebar .dashboard-main--matchcenter,
body.page-public.page-has-app-sidebar .match-card,
body.page-public.page-has-app-sidebar .match-body {
  min-width: 0;
}

body.page-public.page-has-app-sidebar .app-sidebar__card,
body.page-public.page-has-app-sidebar .app-sidebar__nav {
  border-radius: 16px;
}

body.page-public.page-has-app-sidebar .app-sidebar__card {
  padding: 13px 14px;
  gap: 6px;
}

body.page-public.page-has-app-sidebar .app-sidebar__nav {
  gap: 4px;
  padding: 10px 9px 9px;
}

body.page-public.page-has-app-sidebar .app-sidebar__link {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 11px;
}

body.page-public.page-has-app-sidebar .app-sidebar__link small {
  font-size: 10.5px;
  line-height: 1.25;
}

@media (max-width: 980px) {
  body.page-public.page-has-app-sidebar .app-shell {
    display: block;
    width: min(100%, calc(100% - 24px));
    margin: 0 auto;
  }

  body.page-public.page-has-app-sidebar .app-sidebar {
    display: none;
  }
}

.admin-ai-provider-shell .admin-inline-field {
  display: inline-grid;
  gap: 4px;
  min-width: 120px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-ai-provider-shell .admin-inline-field .admin-select {
  min-width: 120px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}

.admin-ai-backtest-panel {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .seo-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-hero__copy,
  .seo-keyword-panel {
    padding: 22px;
    border-radius: 20px;
  }
}

/* 2026-05-03: Championat-style compact scoreboard for non-football team sports. */
.match-hero-card--open-team-sport {
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  border-color: rgba(218, 226, 235, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.match-hero-card--open-team-sport::after {
  display: none;
}

.match-hero-card--open-team-sport .match-hero-centerline {
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.match-hero-card--open-team-sport .match-hero-statusline {
  justify-content: center;
}

.match-hero-card--open-team-sport .match-hero-statuschip,
.match-hero-card--open-team-sport .match-hero-statuschip--muted {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #5f6f83;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0;
}

.match-hero-card--open-team-sport .match-hero-state {
  color: #1e293b;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.match-hero-card--open-team-sport .match-hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.match-hero-card--open-team-sport .match-hero-copy {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
}

.match-hero-card--open-team-sport .match-hero-eyebrow {
  justify-content: center;
}

.match-hero-card--open-team-sport .match-hero-title {
  max-width: min(680px, 100%);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.match-hero-card--open-team-sport .match-hero-meta {
  justify-content: center;
  margin-top: 0;
}

.match-hero-card--open-team-sport .match-hero-vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 0.34fr) minmax(0, 1fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(0.9rem, 2vw, 1.25rem);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: none;
}

.match-hero-card--open-team-sport .match-hero-team {
  gap: 0.55rem;
}

.match-hero-card--open-team-sport .team-pill {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.match-hero-card--open-team-sport .team-pill__image {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.match-hero-card--open-team-sport .match-hero-team__name {
  max-width: 16ch;
  color: #1f2937;
  font-size: 0.98rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.match-hero-card--open-team-sport .match-hero-scorecard {
  align-self: center;
  min-width: 108px;
  padding: 0.9rem 0.8rem;
  border-radius: 8px;
}

.match-hero-card--open-team-sport .match-hero-scorecard__score {
  font-size: 1.85rem;
}

.match-hero-card--open-team-sport .match-hero-scorecard__status {
  letter-spacing: 0.04em;
}

.match-hero-card--open-team-sport .match-hero-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(680px, 100%);
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 760px) {
  .match-hero-card--open-team-sport .match-hero-vs {
    grid-template-columns: 1fr;
  }

  .match-hero-card--open-team-sport .match-hero-scorecard {
    width: min(180px, 100%);
    justify-self: center;
  }

  .match-hero-card--open-team-sport .match-hero-facts {
    grid-template-columns: 1fr;
  }
}

.match-ai-buy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: center;
  margin: 1.35rem 0 1.6rem;
  padding: clamp(1.25rem, 2.8vw, 2rem);
  border: 1px solid rgba(147, 197, 253, 0.52);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #eaf3ff 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.match-ai-overview-card {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: 1.35rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.match-ai-overview-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.match-ai-overview-card__spark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.35rem;
  font-weight: 900;
}

.match-ai-overview-card h2 {
  margin: 0;
  color: #10263d;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.match-ai-overview-card p {
  margin: 0;
  color: #172033;
  font-size: 1rem;
  line-height: 1.55;
}

.match-ai-overview-card__best {
  width: fit-content;
  max-width: 100%;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(22, 163, 74, 0.26);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.98), rgba(240, 253, 244, 0.96));
  color: #14532d;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
}

.match-ai-overview-card__list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
  color: #172033;
  font-weight: 700;
  line-height: 1.45;
}

.match-ai-overview-card small {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Fair (de-vigged) probability card */
.match-fair-prob-card {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: 1.35rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.match-fair-prob-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.match-fair-prob-card__spark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 1.25rem;
  font-weight: 900;
}

.match-fair-prob-card h2 {
  margin: 0;
  color: #10263d;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.15;
}

.match-fair-prob-card small {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.4;
}

.match-fair-prob-market {
  display: grid;
  gap: 0.55rem;
}

.match-fair-prob-market__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  color: #172033;
  font-weight: 800;
}

.match-fair-prob-market__title small {
  color: #6b7280;
  font-weight: 700;
}

.match-fair-prob-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.55rem;
}

.match-fair-prob-cell {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 12px;
  background: rgba(238, 242, 255, 0.55);
  text-align: center;
}

.match-fair-prob-cell span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.match-fair-prob-cell strong {
  color: #1e1b4b;
  font-size: 1.05rem;
  font-weight: 900;
}

.match-ai-overview-card--external-ai {
  border-color: rgba(16, 185, 129, 0.22);
  background:
    radial-gradient(circle at top left, rgba(209, 250, 229, 0.58), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 253, 250, 0.94));
}

/* aicmp = multi-provider AI-prediction comparison rows; aitab = JS-driven provider tabs (2026-07-08 rebuild) */
.aicmp-consensus {
  margin: 0;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #065f46;
  font-weight: 800;
  width: fit-content;
  max-width: 100%;
}

.aitab-group {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.7rem;
  max-width: 100%;
}

.aitab-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 100%;
}

@media (max-width: 640px) {
  .aitab-tabbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem;
  }
}

.aitab-tab {
  cursor: pointer;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.aitab-tab:hover {
  border-color: rgba(29, 78, 216, 0.4);
}

.aitab-tab.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.aitab-tab--cmp {
  border-style: dashed;
}

.aitab-tab--cmp.is-active {
  background: #0f172a;
  border-color: #0f172a;
}

.aitab-panels {
  max-width: 100%;
  min-width: 0;
}

.aitab-panel {
  display: none;
}

.aitab-panel.is-active {
  display: block;
}

.aicmp-row {
  display: grid;
  gap: 0.95rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(16, 27, 45, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  box-shadow: 0 1px 2px rgba(16, 27, 45, 0.04), 0 10px 26px -20px rgba(16, 27, 45, 0.28);
  min-width: 0;
}

.aicmp-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.aicmp-provider-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.24);
  color: #1d4ed8;
  font-weight: 900;
  font-size: 0.88rem;
}

.aicmp-updated {
  color: #64748b;
  font-size: 0.78rem;
}

.aicmp-probs {
  display: grid;
  gap: 0.4rem;
  max-width: 100%;
}

.aicmp-prob {
  display: grid;
  grid-template-columns: 2.2rem 1fr 3.1rem;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}

.aicmp-prob__label {
  color: #5c6b7f;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.aicmp-prob__bar {
  position: relative;
  height: 13px;
  border-radius: 999px;
  background: #e6ebf1;
  overflow: hidden;
}

.aicmp-prob__fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c3ccd7, #aeb9c6);
  transition: width 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.aicmp-prob--max .aicmp-prob__fill { background: linear-gradient(90deg, #10985b, #16b268); }
.aicmp-prob--max .aicmp-prob__label { color: #0e5a37; font-weight: 900; }
.aicmp-prob--max .aicmp-prob__val { color: #10985b; font-weight: 900; }

.aicmp-prob__val {
  text-align: right;
  font-weight: 800;
  font-size: 1rem;
  color: #101b2d;
  font-variant-numeric: tabular-nums;
}

.aicmp-prob__fav {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 152, 91, 0.1);
  color: #10985b;
  font-weight: 800;
  font-size: 0.74rem;
}

.aicmp-prob-empty {
  color: #94a3b8;
  font-weight: 700;
}

.aicmp-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.aicmp-score-badge {
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.24);
  color: #1d4ed8;
  font-weight: 900;
  font-size: 0.82rem;
  white-space: nowrap;
}

.aicmp-chip {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: #3730a3;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.aicmp-chip--pick {
  background: linear-gradient(90deg, #10985b, #16b268);
  border-color: #10985b;
  color: #fff;
}

/* Consensus banner — the trust hook above the tabs */
.aitab-consensus {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(16, 152, 91, 0.18);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(16, 152, 91, 0.1), rgba(16, 152, 91, 0.03));
}
.aitab-consensus__badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 2.35rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: #10985b;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.aitab-consensus__badge--split { background: #5c6b7f; }
.aitab-consensus__txt { min-width: 0; }
.aitab-consensus__lead { font-size: 0.95rem; font-weight: 700; color: #101b2d; }
.aitab-consensus__lead b { font-weight: 900; }
.aitab-consensus__sub { font-size: 0.8rem; color: #5c6b7f; margin-top: 0.1rem; }

/* "По данным ИИ" info row + chips (styled via CSS, not inline) */
.aicmp-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0.1rem 0 0;
}
.aicmp-info__label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #94a3b8;
}
.aicmp-info-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background: #f2f5f8;
  border: 1px solid rgba(16, 27, 45, 0.07);
  color: #46566a;
  font-size: 0.78rem;
  font-weight: 600;
}
.aicmp-info-chip--key {
  background: rgba(47, 111, 224, 0.08);
  border-color: rgba(47, 111, 224, 0.2);
  color: #234f9e;
  font-weight: 700;
}

.aitab-report {
  font-size: 0.85rem;
  color: #334155;
}

.aitab-report summary {
  cursor: pointer;
  font-weight: 700;
  color: #2563eb;
}

.aitab-report__body {
  margin-top: 0.6rem;
  max-width: 68ch;
  line-height: 1.6;
}

.aitab-report__body p {
  margin: 0 0 0.85rem;
}

.aitab-report__body p:last-child {
  margin-bottom: 0;
}

.aitab-cmp-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.aitab-cmp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.aitab-cmp-table th,
.aitab-cmp-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  text-align: left;
  white-space: nowrap;
}

.aitab-cmp-table th {
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
}

.aitab-cmp-table th.aitab-cmp-th--consensus {
  color: #065f46;
  background: rgba(16, 185, 129, 0.1);
}

.aitab-cmp-table td.aitab-cmp-cell--max {
  color: #14532d;
  font-weight: 900;
}

.aitab-cmp-table td.aitab-cmp-cell--consensus {
  background: rgba(16, 185, 129, 0.08);
}

.aitab-cmp-table tbody tr:nth-child(even) {
  background: rgba(148, 163, 184, 0.08);
}

.aitab-cmp-provider {
  font-weight: 900;
  color: #10263d;
  position: sticky;
  left: 0;
  background: #fff;
}

.aitab-cmp-table tbody tr:nth-child(even) .aitab-cmp-provider {
  background: #f8fafc;
}

@media (max-width: 640px) {
  .aicmp-prob { grid-template-columns: 1.8rem 1fr 2.6rem; }
  .aitab-tab { padding: 0.36rem 0.7rem; font-size: 0.78rem; }
  .aitab-cmp-table { min-width: 520px; }
}

.match-external-ai-copy {
  display: grid;
  gap: 0.85rem;
  color: #172033;
  font-size: 1rem;
  line-height: 1.58;
}

.match-external-ai-copy p,
.match-external-ai-copy ul,
.match-external-ai-copy ol,
.match-external-ai-copy blockquote {
  margin: 0;
}

.match-external-ai-copy ul,
.match-external-ai-copy ol {
  padding-left: 1.2rem;
}

.match-external-ai-copy li + li {
  margin-top: 0.35rem;
}

.match-external-ai-copy h3,
.match-external-ai-copy h4 {
  margin: 0.35rem 0 0;
  color: #10263d;
  line-height: 1.2;
}

.match-external-ai-copy table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.match-external-ai-copy th,
.match-external-ai-copy td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  text-align: left;
  vertical-align: top;
}

.match-external-ai-copy th {
  color: #475569;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.match-ai-consensus-card {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0;
  padding: 1.15rem;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(239, 246, 255, 0.96));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.match-ai-consensus-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.match-ai-consensus-card__badge {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 14px;
  background: #16a34a;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.match-ai-consensus-card h2 {
  margin: 0;
  color: #102033;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.match-ai-consensus-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 0.75rem;
}

.match-ai-consensus-card__metric {
  min-width: 0;
  padding: 0.86rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.match-ai-consensus-card__metric--strong {
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.92), rgba(255, 255, 255, 0.86));
}

.match-ai-consensus-card__metric span {
  display: block;
  margin-bottom: 0.3rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-ai-consensus-card__metric strong {
  display: block;
  color: #07182f;
  font-size: 1.05rem;
  line-height: 1.18;
}

.match-ai-consensus-card__note {
  margin: 0;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: #475569;
  font-weight: 700;
  line-height: 1.45;
}

.match-ai-buy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0d7cff, #22c55e, #f59e0b);
}

.match-ai-buy-card .eyebrow {
  margin-bottom: 0.55rem;
}

.match-ai-buy-card__copy > .eyebrow,
.match-ai-buy-card__copy > h2:not(.match-ai-buy-card__title),
.match-ai-buy-card__copy > p:not(.match-ai-buy-card__lead) {
  display: none;
}

.match-ai-buy-card__copy h2 {
  margin: 0.15rem 0 0.65rem;
  color: #14213d;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.match-ai-buy-card__copy p,
.match-ai-buy-card__action p {
  margin: 0;
  color: #50627a;
  line-height: 1.5;
}

.match-ai-buy-card__copy small {
  display: block;
  margin-top: 0.85rem;
  color: #6b7280;
  line-height: 1.45;
}

.match-ai-buy-card__copy p::after {
  content: "Оплата -> AI-анализ -> приватная ссылка";
  display: flex;
  width: fit-content;
  margin-top: 0.9rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.72);
  color: #16468b;
  font-size: 0.82rem;
  font-weight: 800;
}

.match-ai-buy-card__action {
  display: grid;
  gap: 0.72rem;
  justify-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(147, 197, 253, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.match-ai-buy-card__action form {
  margin: 0;
}

.match-ai-buy-card__action::before {
  content: "100 ₽";
  display: block;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.match-ai-buy-card__action::after {
  content: "Разовый доступ без обязательной регистрации";
  color: #64748b;
  font-size: 0.82rem;
}

.match-ai-buy-card__action .button {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.match-ai-buy-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.match-ai-buy-card__action strong {
  color: #14213d;
}

.match-ai-buy-card__copy p::after {
  content: "Оплата -> AI-анализ -> приватная ссылка";
}

.match-ai-buy-card__copy .eyebrow::after {
  content: none;
  display: none;
}

.match-ai-buy-card__action form {
  display: grid;
  gap: 0.75rem;
}

.match-ai-buy-card__action::before {
  content: "100 руб.";
}

.match-ai-buy-card__action::after {
  content: "Разовый доступ без обязательной регистрации";
}

.match-ai-buy-card__email {
  display: grid;
  gap: 0.38rem;
}

.match-ai-buy-card__email span {
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
}

.match-ai-buy-card__email input {
  width: 100%;
  min-height: 46px;
  padding: 0 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.match-ai-buy-card__email input:focus {
  border-color: #0d7cff;
  box-shadow: 0 0 0 3px rgba(13, 124, 255, 0.16);
}

@media (max-width: 760px) {
  .match-ai-buy-card {
    grid-template-columns: 1fr;
  }
}
/* User AI lab */
.ai-lab .dashboard-header {
    align-items: flex-start;
}

.ai-lab-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(360px, 1.35fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.ai-lab-panel {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    border-radius: 8px;
    padding: 18px;
}

.ai-lab-filter label,
.ai-lab-template-row label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.ai-lab-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
    padding: 4px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #f8fafc;
}

.ai-lab-mode-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.ai-lab-mode-tabs a.is-active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.ai-lab-filter select,
.ai-lab-template-row select,
.ai-lab-actions select,
.ai-lab-actions input,
.ai-lab-save-template input,
.ai-lab-save-template textarea,
.ai-lab-response-form input,
.ai-lab-response-form textarea {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

.ai-lab-match-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    max-height: 68vh;
    overflow: auto;
}

.ai-lab-match {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.ai-lab-match.is-active {
    border-color: #2563eb;
    background: #eff6ff;
}

.ai-lab-match.is-live {
    border-color: rgba(220, 38, 38, 0.34);
}

.ai-lab-match span {
    font-weight: 800;
    line-height: 1.25;
}

.ai-lab-match small,
.ai-lab-run small {
    color: #64748b;
}

.ai-lab-match-head {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.ai-lab-match-head h2 {
    margin: 4px 0;
    font-size: 24px;
    line-height: 1.15;
}

.ai-lab-live-state {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 6px 0 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 800;
}

.ai-lab-prompt-box {
    width: 100%;
    min-height: 460px;
    margin: 14px 0;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    padding: 14px;
    font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    resize: vertical;
    background: #f8fafc;
}

.ai-lab-actions {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.ai-lab-save-template {
    margin-top: 14px;
}

.ai-lab-save-template form,
.ai-lab-response-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.ai-lab-save-template textarea {
    min-height: 120px;
}

.ai-lab-run {
    display: grid;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.ai-lab-run:first-of-type {
    padding-top: 0;
}

.ai-lab-run__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.ai-lab-run__head span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
}

.ai-lab-eval,
.ai-lab-summary div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
}

.ai-lab-eval.is-hit {
    background: #ecfdf5;
    color: #065f46;
}

.ai-lab-eval.is-miss {
    background: #fff1f2;
    color: #9f1239;
}

.ai-lab-summary {
    display: grid;
    gap: 8px;
}

@media (max-width: 1180px) {
    .ai-lab-grid {
        grid-template-columns: 1fr;
    }

    .ai-lab-match-list {
        max-height: none;
    }
}

@media (max-width: 720px) {
    .ai-lab-actions {
        grid-template-columns: 1fr;
    }

    .ai-lab-match-head {
        display: grid;
    }
}
.public-match-card--accent {
  background: linear-gradient(135deg, #174b95 0%, #235fc0 100%);
  border: 0;
}

.public-match-card--accent .public-summary-chip-list {
  gap: 0.65rem;
}

.public-match-card--accent .public-summary-chip {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(219, 234, 254, 0.22);
  color: #f8fbff;
  line-height: 1.35;
}

.public-match-card--accent .pill-row--compact {
  gap: 0.5rem;
}

.prediction-vote-bar {
  overflow: hidden;
  border-radius: 12px;
}

.prediction-vote-bar__segment {
  gap: 0.35rem;
  min-width: 0;
  white-space: nowrap;
}

.prediction-vote-bar__icon {
  overflow: hidden;
}

.prediction-vote-bar__icon img {
  object-fit: contain;
}

.public-match-card--votes {
  display: grid;
  gap: 0.85rem;
}

.prediction-vote-card__head {
  display: grid;
  align-items: start;
  gap: 0.8rem;
  color: #eff6ff;
}

.prediction-vote-card__head strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.prediction-vote-card__head span {
  color: #bfdbfe;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}

.public-match-card--votes .prediction-vote-bar {
  margin-top: 0;
  border: 1px solid rgba(219, 234, 254, 0.22);
  background: rgba(15, 23, 42, 0.18);
}

.public-match-card--votes .prediction-vote-bar__segment {
  min-height: 42px;
  padding: 0.38rem 0.58rem;
  font-size: 0.8rem;
  white-space: normal;
  overflow: visible;
  align-content: center;
}

.prediction-vote-bar__segment small {
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.86;
}

.prediction-vote-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.prediction-vote-action {
  display: grid;
  gap: 0.2rem;
  min-height: 54px;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(219, 234, 254, 0.38);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.prediction-vote-action strong {
  font-size: 0.92rem;
  line-height: 1;
}

.prediction-vote-action span {
  min-width: 0;
  overflow: visible;
  color: rgba(239, 246, 255, 0.78);
  font-size: 0.72rem;
  line-height: 1.1;
  text-overflow: clip;
  white-space: normal;
}

.prediction-vote-action:hover,
.prediction-vote-action:focus-visible,
.prediction-vote-action.is-selected {
  transform: translateY(-1px);
  background: #f8fafc;
  color: #174b95;
}

.prediction-vote-action:hover span,
.prediction-vote-action:focus-visible span,
.prediction-vote-action.is-selected span {
  color: #475569;
}

.prediction-vote-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.prediction-auth-prompt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.72rem 0;
  border-radius: 8px;
  background: transparent;
  color: #dbeafe;
  font-size: 0.86rem;
  font-weight: 700;
}

.prediction-auth-prompt[hidden] {
  display: none;
}

.prediction-auth-prompt a {
  color: #fde68a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-subtabs] > .public-subtab-panel:not(.is-active) {
  display: none !important;
}

.prediction-market-preview {
  max-height: none;
  overflow: visible;
}

.results-page {
  display: grid;
  gap: 18px;
}

.results-hero {
  margin-bottom: 0;
}

.results-date-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.results-filter-panel,
.results-summary {
  margin-bottom: 0;
}

.results-list {
  display: grid;
  gap: 18px;
}

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

.results-group__head {
  position: static;
}

.results-table {
  overflow: hidden;
  border: 1px solid rgba(22, 33, 43, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.07);
}

.result-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 72px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 33, 43, 0.08);
}

.result-row:last-child {
  border-bottom: 0;
}

.result-row:hover {
  background: rgba(0, 122, 255, 0.06);
}

.result-row__time,
.result-row__cta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-row__team {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.result-row__team--home {
  color: var(--accent-2);
}

.result-row__team--away {
  text-align: right;
  color: var(--accent);
}

.result-row__score {
  justify-self: center;
  min-width: 58px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.14), rgba(255, 111, 41, 0.14));
  color: var(--text);
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(22, 33, 43, 0.08);
}

.result-row__cta {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: var(--accent);
}

@media (max-width: 760px) {
  .result-row {
    grid-template-columns: 64px minmax(0, 1fr) 58px;
    grid-template-areas:
      "time home score"
      "time away cta";
    gap: 6px 10px;
    min-height: 72px;
  }

  .result-row__time {
    grid-area: time;
  }

  .result-row__team--home {
    grid-area: home;
  }

  .result-row__team--away {
    grid-area: away;
    text-align: left;
  }

  .result-row__score {
    grid-area: score;
    min-width: 52px;
    font-size: 16px;
  }

  .result-row__cta {
    grid-area: cta;
    justify-self: end;
  }
}

/* 2026-05-08: match-page encoding fallout and narrow-layout repair. */
body.page-match.page-public .app-shell {
  display: block !important;
  width: min(100%, 1120px) !important;
  margin-inline: auto !important;
}

body.page-match.page-public .app-sidebar {
  display: none !important;
}

.match-ai-buy-card {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  align-items: stretch;
}

.match-ai-buy-card,
.match-ai-buy-card__copy,
.match-ai-buy-card__action,
.match-ai-overview-card,
.public-match-card,
.match-center-fact,
.match-hero-fact {
  min-width: 0;
}

.match-ai-buy-card__copy > small {
  display: none !important;
}

.match-ai-buy-card__copy p::after {
  content: "Оплата -> AI-анализ -> приватная ссылка" !important;
}

.match-ai-buy-card__action::before {
  content: "100 руб." !important;
}

.match-ai-buy-card__action::after {
  content: "Разовый доступ без обязательной регистрации" !important;
}

.match-hero-facts {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.match-hero-fact strong,
.match-center-fact strong,
.public-info-chip strong,
.match-ai-buy-card__copy p,
.match-ai-buy-card__action p,
.public-source-note {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.match-hero-fact strong,
.public-info-chip strong {
  display: flex;
  flex-wrap: wrap;
}

.public-info-chip {
  min-width: 0;
  overflow: hidden;
}

.prediction-vote-action span {
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
}

@media (max-width: 1180px) {
  .match-hero-card--consumer .match-hero-top {
    grid-template-columns: 1fr;
  }

  .match-hero-card--consumer .match-hero-vs {
    max-width: 100%;
  }

  body.page-public.page-has-app-sidebar .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .match-ai-buy-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .prediction-vote-actions {
    grid-template-columns: 1fr;
  }
}

body.page-ai-lab .app-shell {
  grid-template-columns: clamp(220px, 18vw, 260px) minmax(0, 1fr);
}

body.page-ai-lab .ai-lab-grid {
  grid-template-columns: minmax(260px, 0.95fr) minmax(420px, 1.55fr) minmax(260px, 0.9fr);
}

body.page-ai-lab .ai-lab-mode-tabs {
  display: none;
}

.form-field__hint {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.form-field__hint.is-warning {
  color: #b45309;
}

.form-field__hint.is-ok {
  color: #047857;
}

@media (max-width: 1180px) {
  body.page-ai-lab .app-shell,
  body.page-ai-lab .ai-lab-grid {
    grid-template-columns: 1fr;
  }

  body.page-ai-lab .ai-lab-mode-tabs {
    display: grid;
  }
}

/* Premium H2H styles */
.premium-h2h {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.premium-h2h-header-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.premium-h2h-teams-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.premium-h2h-team-side {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.premium-h2h-team-side--home {
  justify-content: flex-end;
  text-align: right;
}

.premium-h2h-team-side--away {
  justify-content: flex-start;
  text-align: left;
}

.premium-h2h-team-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.premium-h2h-team-logo-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.premium-h2h-team-logo-wrapper:hover {
  transform: scale(1.05);
}

.premium-h2h-team-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.premium-h2h-center-vs {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.premium-h2h-center-vs .matches-total-val {
  font-size: 2rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1;
}

.premium-h2h-center-vs .matches-total-lbl {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Multi-segment percent bar */
.premium-h2h-percent-bar {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 1rem;
}

.premium-h2h-bar-segment {
  height: 100%;
  transition: width 0.3s ease;
}

.premium-h2h-bar-segment--home {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.premium-h2h-bar-segment--draw {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.premium-h2h-bar-segment--away {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.premium-h2h-percent-labels {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.premium-h2h-percent-label-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.premium-h2h-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.premium-h2h-color-dot--home { background-color: #3b82f6; }
.premium-h2h-color-dot--draw { background-color: #94a3b8; }
.premium-h2h-color-dot--away { background-color: #f97316; }

/* Facts Grid */
.premium-h2h-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .premium-h2h-facts-grid {
    grid-template-columns: 1fr;
  }
  .premium-h2h-teams-vs {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .premium-h2h-team-side--home {
    justify-content: center;
    text-align: center;
    flex-direction: row-reverse;
  }
  .premium-h2h-team-side--away {
    justify-content: center;
    text-align: center;
  }
}

.premium-h2h-fact-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-h2h-fact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.premium-h2h-fact-card-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.premium-h2h-fact-card-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.premium-h2h-fact-card-desc {
  font-size: 0.8rem;
  color: #64748b;
}

/* Stat bar comparisons */
.premium-h2h-stats-section {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.premium-h2h-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.premium-h2h-stat-bar-row {
  margin-bottom: 1.25rem;
}

.premium-h2h-stat-bar-row:last-child {
  margin-bottom: 0;
}

.premium-h2h-stat-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.premium-h2h-stat-val {
  font-size: 1rem;
  font-weight: 800;
}

.premium-h2h-stat-val--home { color: #3b82f6; }
.premium-h2h-stat-val--away { color: #f97316; }

.premium-h2h-stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

.premium-h2h-stat-comparison-bar {
  display: flex;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.premium-h2h-stat-subbar {
  height: 100%;
}

.premium-h2h-stat-subbar--home {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  margin-right: auto;
}

.premium-h2h-stat-subbar--away {
  background: linear-gradient(90deg, #fb923c, #f97316);
  margin-left: auto;
}

/* History List */
.premium-h2h-history-list {
  display: grid;
  gap: 0.75rem;
}

.premium-h2h-history-row {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 0.9rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.premium-h2h-history-row:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

@media (max-width: 640px) {
  .premium-h2h-history-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem;
  }
}

.premium-h2h-history-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.premium-h2h-history-date {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
}

.premium-h2h-history-league {
  font-size: 0.76rem;
  font-weight: 800;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 640px) {
  .premium-h2h-history-league {
    justify-content: center;
  }
}

.premium-h2h-history-league img {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.premium-h2h-history-team {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}

.premium-h2h-history-team--home {
  justify-content: flex-end;
  text-align: right;
}

.premium-h2h-history-team--away {
  justify-content: flex-start;
  text-align: left;
}

@media (max-width: 640px) {
  .premium-h2h-history-team--home {
    justify-content: center;
    text-align: center;
    flex-direction: row-reverse;
  }
  .premium-h2h-history-team--away {
    justify-content: center;
    text-align: center;
  }
}

.premium-h2h-history-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.premium-h2h-history-score-wrapper {
  display: flex;
  justify-content: center;
}

.premium-h2h-history-score {
  font-size: 1rem;
  font-weight: 900;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  background-color: #f1f5f9;
  color: #1e293b;
  min-width: 54px;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.premium-h2h-history-score.is-win {
  background-color: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.premium-h2h-history-score.is-loss {
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

/* ==========================================================================
   AI Glicko Confidence Badges (Green, Yellow, Red)
   ========================================================================== */
.glicko-confidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: help;
  position: relative;
  overflow: hidden;
}

.glicko-confidence-badge:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.glicko-confidence-badge--green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border: 1px solid rgba(56, 239, 125, 0.2);
}

.glicko-confidence-badge--yellow {
  background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
  border: 1px solid rgba(245, 175, 25, 0.2);
}

.glicko-confidence-badge--red {
  background: linear-gradient(135deg, #747474 0%, #9e9e9e 100%);
  border: 1px solid rgba(158, 158, 158, 0.2);
}

.glicko-confidence-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  display: inline-block;
  position: relative;
}

/* Micro-animation: pulsing dot for active/recommended bets */
.glicko-confidence-badge--green .glicko-confidence-badge__dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%);
  animation: pulse-dot 1.8s infinite ease-in-out;
  opacity: 0.7;
}

@keyframes pulse-dot {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* Match card color accents */
.match-card--confidence-green {
  border-left: 8px solid #22c55e !important;
  background-image: linear-gradient(90deg, rgba(34,197,94,0.08) 0%, transparent 22%);
  box-shadow: -3px 0 18px rgba(34,197,94,0.12);
}

.match-card--confidence-yellow {
  border-left: 8px solid #f59e0b !important;
  background-image: linear-gradient(90deg, rgba(245,158,11,0.08) 0%, transparent 22%);
  box-shadow: -3px 0 18px rgba(245,158,11,0.12);
}

.match-card--confidence-red {
  border-left: 8px solid #ef4444 !important;
  background-image: linear-gradient(90deg, rgba(239,68,68,0.06) 0%, transparent 22%);
}
.glicko-confidence-badge--orient { background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%); border: 1px solid rgba(45,212,191,0.25); }
.match-card--confidence-orient { border-left: 8px solid #14b8a6 !important; background-image: linear-gradient(90deg, rgba(20,184,166,0.08) 0%, transparent 22%); box-shadow: -3px 0 18px rgba(20,184,166,0.12); }
.market-strip span.is-fav-odd { background: linear-gradient(135deg, rgba(245,175,25,0.22), rgba(245,158,11,0.32)); border: 1px solid rgba(245,158,11,0.6); color: #fff8e6; font-weight: 800; }
.match-card__orient { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; padding: 8px 10px; border-radius: 12px; background: rgba(20,184,166,0.07); border: 1px solid rgba(20,184,166,0.18); }
.match-card__orient-note { font-size: 0.78rem; line-height: 1.3; color: #9fb4c2; }
.match-card__orient-pick { font-size: 0.85rem; font-weight: 800; color: #2dd4bf; }

/* Secondary multi-market "Ориентиры" line (Тотал / Фора leans) — subtle, below the main badge */
.match-card__markets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0.15rem 0 0.1rem;
  padding: 0.2rem 0.1rem 0;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--text-muted, #94a3b8);
  cursor: help;
}
.match-card__markets-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.66rem;
  opacity: 0.8;
}
.match-card__markets-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
}
.match-card__markets-kind {
  font-weight: 700;
  color: var(--text-secondary, #cbd5e1);
}
.match-card__markets-prob {
  opacity: 0.7;
  font-size: 0.66rem;
}
.match-card__markets-sep {
  opacity: 0.45;
}

/* === tennis-odds-championat-polish === */
.match-signal-panel--bookmakers { background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%); border: 1px solid #e2e8f1; border-radius: 18px; padding: 14px 16px 18px; box-shadow: 0 1px 0 rgba(15,23,42,0.04); }
.match-signal-panel--bookmakers .public-match-card__eyebrow { color: #1f6feb; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; margin-bottom: 12px; }
.match-signal-panel--bookmakers .public-odds-tables__head { margin: 12px 0 8px; border-top: 1px solid #e8eef5; padding-top: 10px; }
.match-signal-panel--bookmakers .public-odds-tables__head:first-of-type { border-top: 0; padding-top: 0; }
.match-signal-panel--bookmakers .public-odds-tables__head strong { font-size: 0.92rem; font-weight: 700; color: #0f1f3a; letter-spacing: 0.02em; }
.match-signal-panel--bookmakers .match-signal-panel__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.match-signal-panel--bookmakers .match-signal-metric { padding: 12px 14px; border-radius: 14px; background: #ffffff; border: 1.5px solid #e2e8f1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; transition: all 0.15s; }
.match-signal-panel--bookmakers .match-signal-metric:hover { border-color: #93c5fd; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(59,130,246,0.10); }
.match-signal-panel--bookmakers .match-signal-metric span:first-child { font-size: 0.85rem; font-weight: 600; color: #1e293b; text-transform: none; letter-spacing: 0; }
.match-signal-panel--bookmakers .match-signal-metric strong { font-size: 1.55rem; font-weight: 700; color: #0f1f3a; line-height: 1; font-variant-numeric: tabular-nums; }
.match-signal-panel--bookmakers .match-signal-metric small { grid-column: 1 / -1; font-size: 0.72rem; color: #64748b; line-height: 1.35; margin-top: 2px; }
.match-signal-panel--bookmakers .match-signal-metric--value-strong { background: linear-gradient(135deg, rgba(34,197,94,0.10) 0%, rgba(34,197,94,0.03) 100%); border-color: #22c55e; border-width: 2px; }
.match-signal-panel--bookmakers .match-signal-metric--value-strong strong { color: #15803d; }
.match-signal-panel--bookmakers .match-signal-metric--value-strong small { color: #15803d; font-weight: 600; }
.match-signal-panel--bookmakers .match-signal-metric--value-weak { background: linear-gradient(135deg, rgba(34,197,94,0.05) 0%, rgba(34,197,94,0.01) 100%); border-color: rgba(34,197,94,0.45); }
.match-signal-panel--bookmakers .match-signal-metric--value-weak strong { color: #16a34a; }
.match-signal-panel--bookmakers .match-signal-metric--value-weak small { color: #16a34a; }
.match-signal-panel--bookmakers .match-signal-metric--no-value { background: #f8fafc; border-color: #e2e8f1; }
.match-signal-panel--bookmakers .match-signal-metric--no-value small { color: #94a3b8; }
.match-signal-panel--bookmakers .match-signal-metric--line-only { background: #f8fafc; border-color: #eef2f7; }
.match-signal-panel--bookmakers .match-signal-metric--line-only small { color: #94a3b8; font-style: italic; }
.match-signal-panel--bookmakers > .public-source-note { font-size: 0.74rem; color: #64748b; line-height: 1.5; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e2e8f1; }


/* tennisstats.com prematch block (added 2026-05-30) */
.tennisstats-card .tennisstats-players{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.tennisstats-player{flex:1 1 160px;min-width:160px;background:rgba(127,127,127,.06);border:1px solid rgba(127,127,127,.18);border-radius:10px;padding:10px 12px}
.tennisstats-player>strong{display:block;font-size:14px;margin-bottom:4px}
.tennisstats-player__meta{display:flex;gap:10px;font-size:12px;opacity:.8;margin-bottom:6px;flex-wrap:wrap}
.tennisstats-player__meta span{white-space:nowrap}
.tennisstats-player__form{display:flex;gap:3px}
.tennisstats-form{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border-radius:4px;font-size:11px;font-weight:700;color:#fff}
.tennisstats-form--w{background:#1f9d57}
.tennisstats-form--l{background:#c0392b}
.tennisstats-surface{margin-top:10px}
.tennisstats-surface>h4{font-size:13px;margin:8px 0 4px;opacity:.85}
.tennisstats-table{width:100%;border-collapse:collapse;font-size:12px}
.tennisstats-table th,.tennisstats-table td{padding:4px 8px;border-bottom:1px solid rgba(127,127,127,.16);text-align:center}
.tennisstats-table th:first-child,.tennisstats-table td:first-child{text-align:left;opacity:.85}
.tennisstats-credit{font-size:11px;opacity:.55;margin-top:8px}
/* tennisstats.com rich enrichment: markets / profile / live (added 2026-05-31) */
.tennisstats-markets-card__hint{font-size:12px;opacity:.7;margin:0 0 10px}
.tennisstats-market{margin-top:12px}
.tennisstats-market>h4{font-size:13px;margin:8px 0 4px;opacity:.85}
.tennisstats-market-table th:last-child,.tennisstats-market-table td:last-child{font-weight:600;background:rgba(127,127,127,.06)}
.tennisstats-market-table__avg td{font-weight:600;border-bottom:1px solid rgba(127,127,127,.32)}
.tennisstats-profile-table td:not(:first-child){font-variant-numeric:tabular-nums}
.tennisstats-live-card .tennisstats-live-table td:not(:first-child){font-variant-numeric:tabular-nums}
.tennisstats-live-card{border-left:3px solid #1f9d57}

/* Live Fonbet betting-ladder (informational live coefficients) */
.fonbet-live-ladder{border-left:3px solid #d12a2a}
.fonbet-live-ladder__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fonbet-live-ladder__head h3{margin:0}
.fonbet-live-ladder__score{font-weight:700;font-variant-numeric:tabular-nums;color:#d12a2a;white-space:nowrap}
.fonbet-live-ladder__hint{margin:.35rem 0 .85rem;font-size:.82rem;opacity:.7}
.fonbet-live-ladder__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.fonbet-ladder-market{background:rgba(127,127,127,.05);border:1px solid rgba(127,127,127,.16);border-radius:10px;padding:10px 12px}
.fonbet-ladder-market h4{margin:0 0 .5rem;font-size:.92rem}
.fonbet-ladder-rows{display:flex;flex-direction:column;gap:4px}
.fonbet-ladder-row{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:8px;padding:5px 6px;border-radius:7px;font-size:.86rem}
.fonbet-ladder-row:nth-child(odd){background:rgba(127,127,127,.05)}
.fonbet-ladder-rows--flat .fonbet-ladder-row{grid-template-columns:1fr auto}
.fonbet-ladder-sel{opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fonbet-ladder-sel--right{text-align:right}
.fonbet-ladder-odds{font-weight:700;font-variant-numeric:tabular-nums;text-align:right;min-width:42px}
@media (max-width:540px){
  .fonbet-live-ladder__grid{grid-template-columns:1fr}
  .fonbet-ladder-row{font-size:.84rem;gap:6px}
}


/* --- Live-pick tracker badge (hypothesis-testing flag; not betting advice) --- */
.live-pick-badge{display:inline-block;margin-left:.4rem;padding:.05rem .4rem;border-radius:.5rem;font-size:.66rem;font-weight:700;line-height:1.5;letter-spacing:.02em;text-transform:uppercase;color:#0d172a;background:linear-gradient(135deg,#fde68a,#fbbf24);vertical-align:middle;cursor:help;white-space:nowrap}
.fonbet-ladder-sel--right .live-pick-badge,.fonbet-ladder-sel.fonbet-ladder-sel--right .live-pick-badge{margin-left:.3rem}
.live-pick-extra{margin:.6rem 0 .2rem;padding:.6rem .75rem;border:1px dashed rgba(251,191,36,.35);border-radius:.6rem;background:rgba(251,191,36,.05)}
.live-pick-extra__title{display:block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.8;margin-bottom:.4rem}
.live-pick-extra__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.3rem}
.live-pick-extra__list li{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.82rem}
.live-pick-extra__rule{font-weight:600}
.live-pick-extra__sel{opacity:.9}
.live-pick-extra__meta{opacity:.65;font-size:.76rem}
.live-pick-extra__note{display:block;margin-top:.4rem;font-size:.72rem;opacity:.6}


/* === basketball-crossbook-value (genuine BetBoom+Fonbet 2-book) === */
.match-card__crossbook {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.4rem;
  margin: 0.1rem 0 0.15rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.72rem;
  line-height: 1.3;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.30);
  color: var(--text-secondary, #cbd5e1);
  cursor: help;
}
.match-card__crossbook-tag {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.64rem;
  color: #0ea5e9;
}
.match-card__crossbook-body {
  font-weight: 600;
}

/* ===== SStats content card (football only; sync_sstats_content.py) ===== */
.match-sstats-card {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: 1.35rem;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.96));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.match-sstats-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.match-sstats-card__spark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  font-size: 1.25rem;
  font-weight: 900;
}

.match-sstats-card h2 {
  margin: 0;
  color: #10263d;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.15;
}

.match-sstats-card small {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.4;
}

.match-sstats-block {
  display: grid;
  gap: 0.55rem;
}

.match-sstats-block__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  color: #172033;
  font-weight: 800;
}

.match-sstats-block__title small {
  color: #6b7280;
  font-weight: 700;
}

.match-sstats-standings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem;
}

.match-sstats-standing {
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 12px;
  background: rgba(236, 253, 245, 0.5);
}

.match-sstats-standing__team {
  color: #10263d;
  font-weight: 800;
  font-size: 0.95rem;
}

.match-sstats-standing__empty {
  color: #94a3b8;
  font-size: 0.8rem;
}

.match-sstats-standing__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
}

.match-sstats-standing__rank {
  color: #059669;
  font-weight: 900;
}

.match-sstats-standing__form {
  display: flex;
  gap: 0.25rem;
}

.match-sstats-form {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: #94a3b8;
}

.match-sstats-form.is-win { background: #16a34a; }
.match-sstats-form.is-loss { background: #dc2626; }
.match-sstats-form.is-draw { background: #f59e0b; }

.match-sstats-price-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 0.55rem;
}

.match-sstats-price-cell {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 12px;
  background: rgba(236, 253, 245, 0.5);
  text-align: center;
}

.match-sstats-price-cell__key {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.match-sstats-price-cell__odds {
  color: #065f46;
  font-size: 1.1rem;
  font-weight: 900;
}

.match-sstats-price-cell__book {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 600;
}

.match-sstats-glicko {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem;
}

.match-sstats-glicko__col {
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 12px;
  background: rgba(236, 253, 245, 0.5);
}

.match-sstats-glicko__team {
  color: #10263d;
  font-weight: 800;
  font-size: 0.95rem;
}

.match-sstats-glicko__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
}

.match-sstats-glicko__wp {
  color: #059669;
  font-weight: 800;
}


/* === 🎯 Прогноз PrognozAI — model-prediction surface (feed cards + match-page hero) === */
.match-model-pred {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(200, 95, 40, 0.06);
  border: 1px solid rgba(200, 95, 40, 0.14);
  border-left: 3px solid var(--accent, #c85f28);
}
.match-model-pred__eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent, #c85f28);
  margin-bottom: 6px;
}
.match-model-pred__pick {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.25;
  margin-bottom: 7px;
}
.match-model-pred__side {
  font-weight: 800;
  color: var(--accent-2, #1f6b7a);
}
.match-model-pred__name {
  font-weight: 700;
}
.match-model-pred__pct {
  font-weight: 800;
  color: var(--accent, #c85f28);
}
.match-model-pred__bar {
  display: flex;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(22, 33, 43, 0.08);
}
.match-model-pred__seg {
  display: block;
  height: 100%;
  min-width: 0;
}
.match-model-pred__seg--home {
  background: linear-gradient(90deg, #2d6cdf, #5d9cff);
}
.match-model-pred__seg--draw {
  background: linear-gradient(90deg, #7b7f8d, #aeb4c4);
}
.match-model-pred__seg--away {
  background: linear-gradient(90deg, #c85f28, #e39b59);
}
.match-model-pred__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--landing-muted, #6b7280);
}

/* Hero variant on the match page (larger, labeled .probability-bar rows) */
.match-model-pred--hero {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
}
.match-model-pred--hero .match-model-pred__eyebrow {
  font-size: 0.82rem;
}
.match-model-pred__subtitle {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: var(--landing-muted, #6b7280);
}
.match-model-pred__fav {
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  line-height: 1.3;
}
.match-model-pred__fav strong {
  font-weight: 800;
}
.match-model-pred__bars {
  display: grid;
  gap: 10px;
}
.match-model-pred__bars .probability-bar {
  padding: 10px 12px;
  border-radius: 14px;
}
.match-model-pred__note {
  margin: 12px 0 0;
  font-size: 0.76rem;
  color: var(--landing-muted, #6b7280);
}

/* --- Win-probability donut (.prob-ring) — neutral alias of .tennis-surface-ring,
   reused in the «Прогноз PrognozAI» hero. Conic-gradient driven by --pct. --- */
.prob-ring {
  display: grid;
  place-items: center;
  width: clamp(96px, 26vw, 116px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 51%, transparent 52%),
    conic-gradient(from -90deg, var(--accent, #5b66aa) calc(var(--pct) * 1%), #edf2f7 0);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.04),
    0 8px 22px rgba(17, 24, 39, 0.06);
}
.prob-ring strong {
  color: #111827;
  font-size: 1.1rem;
  line-height: 1;
}
.prob-ring span {
  margin-top: 2px;
  max-width: 84%;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero layout: donut on the left, probability bars on the right. */
.match-model-pred__layout {
  display: flex;
  align-items: center;
  gap: 16px;
}
.match-model-pred__layout .match-model-pred__bars {
  flex: 1 1 auto;
  min-width: 0;
}
.match-model-pred__summary {
  margin: 12px 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--landing-muted, #6b7280);
}
@media (max-width: 520px) {
  .match-model-pred__layout {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .match-model-pred__layout .prob-ring {
    align-self: center;
  }
}

/* Hero «наш vs рынок»: neutral framing line + compact market de-vig caption
   under each model probability bar. Additive, muted, informational only. */
.match-model-pred__compare {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--landing-muted, #6b7280);
}
.match-model-pred__market {
  display: block;
  margin-top: 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--landing-muted, #6b7280);
}

/* --- Confidence-tier badge for the «Прогноз PrognozAI» pick (presentation-only).
   Reuses .glicko-confidence-badge geometry; high=green, medium=amber, low=muted grey. --- */
.prognozai-conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 8px;
  padding: 0.22rem 0.6rem;
  border-radius: 99px;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.prognozai-conf-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  display: inline-block;
  flex: 0 0 auto;
}
.prognozai-conf-badge--high {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border: 1px solid rgba(56, 239, 125, 0.2);
}
.prognozai-conf-badge--medium {
  background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
  border: 1px solid rgba(245, 175, 25, 0.2);
}
.prognozai-conf-badge--low {
  background: linear-gradient(135deg, #747474 0%, #9e9e9e 100%);
  border: 1px solid rgba(158, 158, 158, 0.25);
  color: #f3f4f6;
}
/* RED «НЕ СТАВИТЬ» cards: neutral informational note, NOT a green confidence chip.
   Muted grey, sentence-case — reads "вероятна, но кэф низкий — не наша ставка". */
.prognozai-conf-badge--lowvalue {
  background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
  border: 1px solid rgba(107, 114, 128, 0.3);
  color: #e5e7eb;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

/* ---- Recommended-outcome highlight (presentation-only; tier-keyed) ---- */
/* Chip marking the model's pick on the pick line / 1X2 board. */
.prognozai-pick-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.16rem 0.58rem;
  border-radius: 99px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: none;
  vertical-align: middle;
}
.prognozai-pick-chip--high {
  background: #0b8a4f;
}
.prognozai-pick-chip--medium {
  background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
}
.prognozai-pick-chip--low,
.prognozai-pick-chip--none,
.prognozai-pick-chip-- {
  background: linear-gradient(135deg, #747474 0%, #9e9e9e 100%);
  color: #f3f4f6;
}
/* Hero probability-bar row (match page model block). */
.probability-bar.is-prognozai-pick {
  border-color: rgba(17, 153, 142, 0.55);
  background: rgba(56, 239, 125, 0.1);
  box-shadow: 0 0 0 1px rgba(17, 153, 142, 0.25) inset;
}
/* Fair-prob (de-vig) 1X2 cell on the match page. */
.match-fair-prob-cell.is-prognozai-pick {
  border-color: rgba(17, 153, 142, 0.6);
  background: rgba(56, 239, 125, 0.14);
  box-shadow: 0 0 0 1px rgba(17, 153, 142, 0.28) inset;
}
.match-fair-prob-cell.prognozai-pick--medium {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 175, 25, 0.16);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.3) inset;
}
.match-fair-prob-cell .prognozai-pick-chip {
  margin-left: 0.3rem;
}
/* Compact market-strip odds cell on listing cards. */
.market-strip span.is-prognozai-pick {
  border: 1px solid rgba(17, 153, 142, 0.6);
  background: rgba(56, 239, 125, 0.16);
  color: #064e3b;
  font-weight: 800;
}
.market-strip span.is-prognozai-pick.prognozai-pick--medium {
  border-color: rgba(245, 158, 11, 0.65);
  background: rgba(245, 175, 25, 0.2);
  color: #7c4a03;
}
.market-strip span.is-prognozai-pick.is-fav-odd {
  border-color: rgba(17, 153, 142, 0.7);
}
.prognozai-pick-tick {
  margin-right: 0.22rem;
  font-size: 0.72em;
  font-weight: 900;
  color: #0f766e;
}
.market-strip span.is-prognozai-pick.prognozai-pick--medium .prognozai-pick-tick {
  color: #b45309;
}

/* 2026-06-23: mobile public layout guardrails. */
@media (max-width: 640px) {
  .site-header {
    margin-top: 10px;
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .site-header__bar {
    width: min(100%, calc(100% - 20px));
    min-height: 64px;
    gap: 8px;
  }

  .site-header__brand-wrap,
  .site-brand {
    min-width: 0;
  }

  .site-brand {
    gap: 8px;
  }

  .site-brand__avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .site-brand span {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    line-height: 1.1;
  }

  .site-header__actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .site-auth-links {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .site-header__actions .button {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
  }

  .landing-grid-two,
  .landing-section.landing-grid-two,
  .landing-grid-two > *,
  .marketing-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .analytics-table-card {
    padding: 18px;
  }

  .analytics-table-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .analytics-table-scroll {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .analytics-table,
  .analytics-table--recent {
    min-width: 0;
    width: 100%;
  }

  .analytics-table__row,
  .analytics-table__row--recent {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
  }

  .analytics-table__row--head {
    display: none;
  }

  .analytics-table__row > span,
  .analytics-table__row > mark,
  .analytics-table__row small {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .site-brand span {
    max-width: 106px;
    font-size: 16px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .site-auth-links {
    gap: 4px;
  }

  .site-header__actions .button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }

  .mobile-menu-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}
