* { box-sizing: border-box; }
html { scrollbar-color: var(--muted) var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--text); font: 1rem/1.55 system-ui, sans-serif; }
::selection { background: var(--premium); color: var(--text); }
a { color: var(--action); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding: .7rem var(--page-space); background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.brand img { object-fit: contain; flex: none; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font-size: .7rem; font-weight: 500; letter-spacing: normal; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem .35rem; }
nav a, .text-button { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: .5rem .65rem; color: var(--text); font-size: .9rem; text-decoration: none; border-radius: 6px; }
nav a:hover, .text-button:hover { background: var(--canvas); color: var(--action); }
nav a[aria-current] { color: var(--action); text-decoration: underline; text-decoration-thickness: 3px; font-weight: 700; }
nav form { margin: 0; }
main { max-width: 1240px; margin: auto; padding: 2rem var(--page-space) 4rem; min-height: 60vh; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); letter-spacing: -.03em; margin: 0 0 .6rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
p { margin: .65rem 0 1rem; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; border: 1px solid transparent; border-radius: 6px; background: var(--action); color: var(--surface); padding: .65rem 1rem; font: 650 .95rem/1.4 system-ui, sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
button:hover, .button:hover { background: var(--action-hover); }
button:disabled { background: var(--muted); cursor: not-allowed; }
.text-button { background: none; font-weight: 500; border: 0; }
input, select, textarea { max-width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--muted); border-radius: 6px; padding: .6rem .7rem; font: inherit; color: var(--text); background: var(--surface); caret-color: var(--action); }
input[type=date] { min-width: 0; width: 100%; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
label { display: block; font-size: .9rem; font-weight: 650; margin: 0 0 .4rem; }
.page-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.page-heading p { color: var(--muted); margin: 0; font-size: .9rem; }
.quiet-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: .9rem; }
.filters { display: flex; gap: .8rem; flex-wrap: wrap; align-items: end; padding: 1.25rem 0; }
.filters > div { min-width: 0; }
.filters select { max-width: 22rem; }
.list-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: .9rem 0; border-bottom: 2px solid var(--text); }
.list-heading h2 { margin: 0; font-size: 1.15rem; }
.list-heading > span { color: var(--muted); font-size: .8rem; text-align: right; }
.data-context { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .65rem 0; font-size: .75rem; color: var(--muted); }
.match { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(240px, 31%); gap: 1.25rem; padding: 1.3rem 0; border-bottom: 1px solid var(--border); }
.match-time { font-variant-numeric: tabular-nums; }
.match-time strong { display: block; font-size: 1.2rem; }
.match-time span, .match-teams p, .match-picks > .note { font-size: .8rem; color: var(--muted); }
.match-teams p { margin: .3rem 0; }
.match-teams .competition { font-weight: 650; color: var(--action); margin: 0 0 .4rem; }
.match-teams h3 { margin: 0; line-height: 1.45; }
.versus { font-weight: 400; color: var(--muted); }
.match-picks { min-width: 0; }
.pick + .pick { margin-top: 1.25rem; }
.access-label { display: inline-block; padding: .1rem .45rem; margin-bottom: .4rem; background: var(--success-surface); color: var(--success); font-size: .72rem; font-weight: 700; border-radius: 4px; }
.premium-label { background: var(--premium-surface); color: var(--text); }
.market { display: block; font-size: .9rem; }
.pick-values { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: .55rem 0 0; font-variant-numeric: tabular-nums; }
.pick-values dt { color: var(--muted); font-size: .72rem; }
.pick-values dd { margin: 0; font-size: 1.1rem; font-weight: 700; }
.pick-values > div + div dd { font-size: .9rem; font-weight: 500; padding-top: .2rem; }
.trace { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
summary { min-height: 44px; padding: .7rem 0; cursor: pointer; color: var(--action); }
.trace p { margin: 0 0 .5rem; }
.locked { display: flex; flex-direction: column; align-items: start; font-size: .85rem; padding: .75rem 1rem; background: var(--premium-surface); border-radius: var(--radius); }
.locked span { color: var(--muted); font-size: .8rem; margin-top: .25rem; }
.locked a { display: inline-flex; align-items: center; min-height: 44px; }
.access-summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem 1rem; margin: 0 0 1.25rem; font-size: .85rem; }
.access-summary p { margin: .15rem 0 0; }
.access-summary > div { min-width: 0; }
.access-expired { background: var(--warning-surface); }
.access-actions { display: flex; flex-wrap: wrap; gap: .15rem 1rem; flex-shrink: 0; }
.pending-access { color: var(--warning); }
.reading { max-width: 70ch; margin: .5rem auto; }
.reading .lead { font-size: 1.25rem; color: var(--text); }
.reading p { margin: 1rem 0; }
.reading .button { margin: .5rem 1rem .5rem 0; }
.reading article { padding: 1rem 0; border-top: 1px solid var(--border); }
.reading article p { margin: .5rem 0; }
.form input, .form select, .form textarea { width: 100%; }
.form p { margin: 1.1rem 0; }
.form .helptext { display: block; margin-top: .4rem; font-size: .85rem; color: var(--muted); }
.form ul, .errorlist { color: var(--danger); }
.errorlist { padding: .8rem 1.5rem; background: var(--danger-surface); border-radius: 6px; }
.notice { padding: .8rem 1rem; background: var(--warning-surface); color: var(--warning); border-radius: var(--radius); font-size: .9rem; }
.notice.error { background: var(--danger-surface); color: var(--danger); }
.note { font-size: .85rem; color: var(--muted); margin-top: 1.25rem; }
.empty { padding: 2rem 0; max-width: 60ch; }
.inline-actions, .preferences { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.inline-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.plan-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr); gap: 3rem; margin: 1.5rem 0 2rem; }
.plan-layout h2 { margin-top: 0; }
.plan-purchase { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); }
.plan-purchase .button, .plan-purchase button { width: 100%; }
.plan-purchase p { font-size: .9rem; }
.plan-price { font-size: 1.35rem !important; font-weight: 750; }
.comparison { margin: 1.25rem 0; }
.comparison > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--border); }
.comparison dt { font-weight: 700; }
.comparison dd { margin: 0; }
footer { padding: 2rem var(--page-space); border-top: 1px solid var(--border); color: var(--muted); background: var(--surface); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; max-width: 100ch; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--surface); padding: 1rem; }
code, pre { overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 768px) {
  .site-header { align-items: flex-start; }
  .site-header nav { width: 100%; min-width: 0; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; padding-bottom: .2rem; }
  .site-header nav a { flex: none; }
  .match { grid-template-columns: 60px minmax(0, 1fr); gap: .6rem 1rem; }
  .match-picks { grid-column: 2; }
  .plan-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .plan-purchase { grid-row: 1; }
  .access-summary { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .site-header { padding: .5rem 1rem; gap: .25rem; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 40px; height: 40px; }
  nav { width: 100%; justify-content: space-between; gap: 0; }
  nav a, .text-button { padding: .4rem .3rem; font-size: .8rem; }
  main { padding-top: 1.1rem; }
  .page-heading { display: block; }
  .page-heading > a { margin-top: .2rem; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; padding: .6rem 0 1rem; }
  .filters select { width: 100%; }
  .filters input, .filters select { font-size: .85rem; padding: .55rem .35rem; }
  .filters > label { grid-column: 1 / -1; }
  .access-summary { padding: .65rem .8rem; font-size: .8rem; margin-bottom: 1rem; }
  .access-summary .quiet-link { min-height: 44px; font-size: .8rem; }
  .data-context { font-size: .72rem; }
  .list-heading h2 { font-size: 1rem; }
  .list-heading > span { max-width: 7rem; }
  .match { grid-template-columns: 48px minmax(0, 1fr); gap: .5rem .75rem; padding: 1rem 0; }
  .match-teams h3 { font-size: .95rem; }
  .match-time strong { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sports presentation V2: server-rendered dates and authorized estimates. */
main { padding-top: 1.2rem; }
.calendar-view .page-heading h1 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin-bottom: .25rem; }
.calendar-view .page-heading p { font-size: .8rem; }
.date-strip { width: 100%; flex-wrap: nowrap; justify-content: flex-start; gap: .4rem; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; padding: .25rem .2rem .65rem; margin: .65rem 0 .15rem; }
.date-strip a { flex: 0 0 70px; min-height: 64px; display: flex; flex-direction: column; gap: .15rem; border: 1px solid var(--border); background: var(--surface); padding: .45rem; }
.date-strip a span { font-size: .75rem; }
.date-strip a strong { font-size: 1.15rem; line-height: 1.2; white-space: nowrap; }
.date-strip a:first-child { flex-basis: 74px; }
.date-strip a[aria-current] { background: var(--action); border-color: var(--action); color: var(--surface); text-decoration: none; }
.date-strip a[aria-current] strong { text-decoration: underline; text-underline-offset: .2em; }
.date-strip a:hover { border-color: var(--action); }
.date-strip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.date-strip a[aria-current]:hover { background: var(--action-hover); }
.calendar-filters { gap: .6rem; padding: .35rem 0; }
.calendar-filters > div { flex: 1; }
.calendar-filters select { width: 100%; max-width: none; }
.calendar-filters label { font-size: .8rem; margin-bottom: .2rem; }
.calendar-filters .quiet-link { font-size: .8rem; }
.calendar-access, .calendar-meta { color: var(--muted); font-size: .78rem; margin: .4rem 0; }
.calendar-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.calendar-access a { display: inline-flex; align-items: center; min-height: 44px; }
.calendar-view .list-heading { padding: .65rem 0; margin-bottom: .65rem; border-bottom: 0; }
.calendar-view .note { margin-top: .65rem; }
.match-card, .reading .match-card { grid-template-columns: minmax(0, 1fr) minmax(210px, 32%); gap: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem; margin: 0 0 .75rem; }
.match-main { min-width: 0; }
.match-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: .55rem; font-size: .78rem; }
.match-meta .competition { color: var(--action); font-weight: 650; margin: 0; }
.match-meta time { color: var(--muted); font-variant-numeric: tabular-nums; }
.match-card .match-teams h3 { font-size: 1.08rem; line-height: 1.4; }
.match-card .match-status { color: var(--muted); margin-top: .4rem; }
.match-card .match-picks { grid-column: auto; }
.match-card .market { font-size: 1rem; line-height: 1.4; }
.probability { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem; margin: .35rem 0; font-variant-numeric: tabular-nums; }
.probability strong { font-size: 2rem; font-weight: 750; line-height: 1.15; color: var(--text); letter-spacing: -.025em; }
.probability span { font-size: .75rem; color: var(--muted); }
.probability-meter { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.probability-bar { display: block; width: 100%; height: 8px; margin: .5rem 0; background: var(--canvas); border-radius: 4px; overflow: hidden; }
.probability-fill { fill: var(--action); }
.technical-details { margin: .4rem 0; }
.technical-details > div { display: flex; flex-wrap: wrap; gap: .25rem .6rem; padding: .2rem 0; }
.technical-details dt { font-weight: 650; }
.technical-details dd { margin: 0; overflow-wrap: anywhere; }
.access-summary { padding: .5rem .75rem; margin-bottom: .8rem; font-size: .8rem; }
.access-summary > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; }
.access-summary p { margin: 0; }
.access-summary .pending-access { flex-basis: 100%; }
.access-expired > div { display: block; }
.history-view { max-width: none; }
.history-view > p { max-width: 75ch; }
.history-card .history-result { font-weight: 650; }
.history-method { font-size: .85rem; margin: .5rem 0 1rem; max-width: 75ch; }
.history-method summary { min-height: 44px; padding: .6rem 0; color: var(--action); cursor: pointer; }
.recommendations { margin-bottom: 2rem; }
.recommendation .match-teams h2 { font-size: 1.15rem; line-height: 1.4; margin: 0; }
.recommendation { scroll-margin-top: 1rem; }
.pick-uncertainty { color: var(--muted); font-size: .75rem; margin: .4rem 0 0; }
.recommendations-method { font-size: .8rem; color: var(--muted); margin: .65rem 0; }
.recommendations-method a, .calendar-pick-link { display: inline-flex; align-items: center; min-height: 44px; }
.calendar-section { border-top: 1px solid var(--border); padding-top: 1.4rem; }
.calendar-section > h2 { font-size: 1.3rem; line-height: 1.35; margin: 0 0 .35rem; }
.calendar-match { grid-template-columns: minmax(0, 1fr) minmax(160px, 28%); gap: .75rem; padding: .75rem 0; }
.calendar-match .match-meta { margin-bottom: .2rem; }
.calendar-match .match-teams h3 { font-size: .95rem; line-height: 1.4; }
.calendar-match .match-status { font-size: .75rem; color: var(--muted); margin: .2rem 0 0; }
.calendar-match .match-picks { grid-column: auto; font-size: .78rem; }
.calendar-match--analysis { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.1rem; margin: .7rem 0; }
.calendar-match--analysis .match-picks { grid-column: 1; }
.calendar-match--analysis .match-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1.5rem; }
.calendar-match--analysis .match-teams h3 { font-size: 1.05rem; }
.calendar-view .home-intro { max-width: 65ch; font-size: .94rem; line-height: 1.5; margin: .65rem 0 0; color: var(--text); }
.analysis-state { font-weight: 700; margin: .15rem 0; }
.analysis-reason, .analysis-disclaimer { display: block; color: var(--muted); line-height: 1.4; margin: .15rem 0 .4rem; }
.analysis-market { min-width: 0; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: .6rem; background: var(--canvas); }
.analysis-market > strong { display: block; font-size: .83rem; margin-bottom: .5rem; }
.analysis-values { display: grid; gap: .35rem; }
.analysis-outcome-label { display: flex; justify-content: space-between; gap: .35rem; font-size: .76rem; }
.analysis-outcome-label b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.analysis-outcome progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: 999px; background: var(--border); overflow: hidden; margin: .2rem 0 .35rem; }
.analysis-outcome progress::-webkit-progress-bar { background: var(--border); }
.analysis-outcome progress::-webkit-progress-value { background: var(--brand); border-radius: 999px; }
.analysis-outcome progress::-moz-progress-bar { background: var(--brand); border-radius: 999px; }
.fixture-link { color: inherit; text-decoration: none; }
.fixture-link:hover { color: var(--action); text-decoration: underline; }
.match-detail-link { display: inline-flex; min-height: 44px; align-items: center; font-size: .82rem; font-weight: 650; }
.calendar-probabilities { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; margin-top: .45rem; }
.match-detail-page { max-width: 980px; margin: 0 auto; }
.breadcrumb { margin: 0 0 1.4rem; color: var(--muted); font-size: .86rem; }
.breadcrumb a { min-width: 44px; min-height: 44px; }
.detail-hero { padding: clamp(1.1rem,3.2vw,2.2rem); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.detail-hero h1 { margin: .8rem 0; }
.detail-status { color: var(--muted); font-size: .9rem; }
.detail-result { margin-bottom: 0; }
.detail-panel { margin-top: 1.1rem; padding: clamp(1rem,2.8vw,1.75rem); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.detail-panel h2 { margin: 0 0 1rem; }
.detail-panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; justify-content: space-between; }
.data-badge { padding: .25rem .6rem; background: var(--success-surface); color: var(--success); font-size: .72rem; font-weight: 700; border-radius: 999px; }
.probability-groups { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 1rem; margin-top: 1.2rem; }
.probability-group { min-width: 0; padding: .95rem; border: 1px solid var(--border); border-radius: 9px; }
.probability-group h3 { margin-bottom: 1rem; }
.probability-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(55px,1.3fr) auto; gap: .65rem; align-items: center; margin: .8rem 0; font-size: .81rem; }
.probability-row strong { min-width: 3.1rem; text-align: right; font-variant-numeric: tabular-nums; }
.probability-row progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--canvas); overflow: hidden; }
.probability-row progress::-webkit-progress-bar { background: var(--canvas); }
.probability-row progress::-webkit-progress-value { background: var(--action); border-radius: 999px; }
.probability-row progress::-moz-progress-bar { background: var(--action); border-radius: 999px; }
.detail-footnote, .empty-inline { font-size: .85rem; color: var(--muted); }
.detail-method p { max-width: 70ch; }
.back-to-calendar { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.1rem; }
.picks-empty p { margin: .35rem 0; }
@media (max-width: 600px) {
  .calendar-match { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .calendar-match .match-picks { grid-column: 1; }
  .calendar-probabilities { grid-template-columns: minmax(0, 1fr); }
  .calendar-match--analysis .match-main { display: block; }
  .calendar-match--analysis { padding: .85rem; }
  .calendar-view .page-heading > a { margin-top: 0; }
  .date-strip a { flex-basis: 60px; }
  .calendar-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calendar-filters select { font-size: .85rem; }
  .match-card, .reading .match-card { grid-template-columns: minmax(0, 1fr); gap: .65rem; padding: .85rem; }
  .match-card .match-picks { grid-column: 1; padding-top: .65rem; border-top: 1px solid var(--border); }
  .match-card .match-teams h3 { font-size: 1rem; }
  .match-card .match-meta { margin-bottom: .4rem; }
  .calendar-access { line-height: 1.45; }
  .calendar-view .list-heading > span { max-width: 8rem; }
}
.organic-page { max-width: 1120px; margin: 0 auto; }
.organic-hero { margin: 1rem 0 2rem; padding: clamp(1.1rem, 3vw, 2.5rem); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.organic-hero > p:not(.competition) { max-width: 69ch; color: var(--muted); }
.organic-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.3rem; }
.organic-section-heading { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; align-items: end; margin-bottom: 1rem; }
.organic-section-heading h2 { margin: 0; }
.organic-section-heading .eyebrow { margin: 0 0 .25rem; color: var(--muted); font-size: .8rem; }
.organic-card-grid, .guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.organic-match { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: clamp(.9rem, 2.2vw, 1.4rem); min-width: 0; }
.organic-match h3 { font-size: 1.2rem; margin: .7rem 0 1.2rem; }
.organic-match h3 a { color: var(--text); text-decoration: none; }
.organic-match h3 a:hover { color: var(--action); text-decoration: underline; }
.organic-match-meta, .organic-market-summary { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.organic-market-summary { margin-bottom: .7rem; color: var(--text); font-weight: 650; }
.organic-match-action { margin: .85rem 0 0; font-size: .85rem; }
.organic-related { margin: 2rem 0 0; }
.organic-link-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; }
.organic-link-grid a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; gap: .5rem; padding: .7rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; }
.organic-link-grid a:hover { border-color: var(--action); }
.organic-explainer { margin-top: 1.7rem; }
.organic-explainer h2, .guide-page .detail-panel h2 { margin-top: .4rem; }
.guide-grid { align-items: stretch; }
.guide-grid .detail-panel { margin: 0; }
.guide-count { font-size: .8rem; font-weight: 700; color: var(--action); }
.guide-faq { margin-top: 1.5rem; }
.guide-faq h3 { margin-top: 1.25rem; }
@media (max-width: 760px) { .organic-card-grid, .guide-grid { grid-template-columns: minmax(0,1fr); } .organic-link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .organic-link-grid { grid-template-columns: minmax(0,1fr); } .organic-hero-actions .button { width: 100%; } }

/* Public football portal: compact fixtures with a single, readable probability per outcome. */
.site-header { gap: .65rem 1.25rem; padding-block: .55rem; box-shadow: 0 2px 16px rgb(14 42 71 / 4%); }
.site-header nav { gap: .2rem .85rem; }
.calendar-view .page-heading h1 { margin: 0 0 .15rem; letter-spacing: -.045em; }
.calendar-view .home-intro { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
.calendar-view .date-strip { margin: .7rem 0 .25rem; }
.calendar-view .date-strip a { flex-basis: 84px; min-height: 56px; padding: .45rem .6rem; border-radius: 9px; text-decoration: none; }
.calendar-view .date-strip a strong { font-size: .98rem; }
.calendar-view .date-strip a:first-child { flex-basis: 78px; }
.calendar-filters { padding: .35rem 0 .6rem; align-items: end; }
.calendar-filters select { font-size: .88rem; min-height: 40px; border-color: var(--border); }
.calendar-filters button { min-height: 40px; padding: .5rem .9rem; font-size: .85rem; }
.calendar-section { border: 0; padding-top: .5rem; }
.calendar-section > h2 { margin: .15rem 0 .45rem; font-size: 1.12rem; }
.calendar-view .list-heading { border-bottom: 1px solid var(--border); margin: .3rem 0 .7rem; }
.league-heading { display: flex; align-items: center; gap: .55rem; margin: 1.2rem 0 .25rem; font-size: 1rem; letter-spacing: -.015em; }
.league-heading::before { content: ''; display: inline-block; width: 4px; height: 1.15rem; border-radius: 3px; background: var(--brand); flex: 0 0 auto; }
.league-day { margin: .15rem 0 .55rem; color: var(--muted); font-size: .76rem; text-transform: capitalize; }
.fixture-card { min-width: 0; margin-bottom: .7rem; padding: .8rem 1rem .65rem; background: var(--surface); border: 1px solid #dbe3ea; border-radius: 13px; box-shadow: 0 2px 12px rgb(14 42 71 / 4%); }
.fixture-card-head { display: grid; grid-template-columns: minmax(110px,165px) minmax(0,1fr) minmax(110px,165px); align-items: center; border-bottom: 1px solid #eaf0f4; padding: .25rem 0 .75rem; gap: .65rem; }
.fixture-kickoff { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.fixture-kickoff time { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fixture-status { display: inline-block; max-width: 100%; color: var(--muted); font-size: .71rem; line-height: 1.3; }
.fixture-teams { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; font-size: 1.1rem; font-weight: 750; letter-spacing: -.018em; }
.fixture-teams a { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: .7rem; align-items: center; color: var(--text); text-decoration: none; }
.fixture-teams a:hover { color: var(--action); }
.fixture-teams a span:first-child { text-align: right; }
.fixture-teams a span:last-child { text-align: left; }
.fixture-teams a span { min-width: 0; overflow-wrap: anywhere; }
.fixture-versus { font-size: .9em; color: #7e94a7; font-weight: 500; }
.calendar-probabilities { display: block; margin: .65rem 0 .45rem; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .65rem; margin: .65rem 0 .5rem; }
.market-grid--compact { margin: 0; }
.market-panel { min-width: 0; padding: .65rem .75rem; border-radius: 9px; background: #f6f9fb; border: 1px solid #e6edf1; }
.market-panel h3 { margin: 0 0 .48rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .035em; color: #31506b; }
.market-options { display: grid; gap: .36rem; }
.market-option { min-width: 0; padding: .12rem .15rem .1rem; border-radius: 5px; }
.market-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: .35rem; font-size: .79rem; line-height: 1.3; }
.market-option-head span { min-width: 0; overflow-wrap: anywhere; }
.market-option-head strong { white-space: nowrap; font-size: .83rem; font-variant-numeric: tabular-nums; }
.market-option progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 5px; margin: .27rem 0 .03rem; overflow: hidden; border: none; border-radius: 10px; background: #dce6ee; }
.market-option progress::-webkit-progress-bar { background: #dce6ee; border-radius: 10px; }
.market-option progress::-webkit-progress-value { background: #6789a2; border-radius: 10px; }
.market-option progress::-moz-progress-bar { background: #6789a2; border-radius: 10px; }
.market-option--eligible { background: #e2f3e9; padding: .25rem .35rem .3rem; }
.market-option--eligible .market-option-head strong { color: var(--action); }
.market-option--eligible progress::-webkit-progress-value { background: var(--brand); }
.market-option--eligible progress::-moz-progress-bar { background: var(--brand); }
.eligible-note { display: block; margin-top: .22rem; font-size: .67rem; line-height: 1.25; font-weight: 750; color: var(--action); }
.fixture-card-footer { display: flex; flex-wrap: wrap; gap: .35rem .85rem; justify-content: space-between; align-items: center; border-top: 1px solid #eaf0f4; padding-top: .55rem; font-size: .76rem; }
.fixture-verdict { color: var(--muted); }
.fixture-card-footer a { color: var(--action); font-weight: 750; min-height: 36px; display: inline-flex; align-items: center; text-decoration: none; }
.fixture-card-footer a:hover { text-decoration: underline; }
.fixture-no-data { display: flex; gap: .65rem; align-items: center; min-height: 86px; margin: .55rem 0; padding: .8rem; border: 1px dashed #d6e1e9; background: #f7fafc; color: var(--muted); border-radius: 9px; font-size: .83rem; }
.fixture-no-data-icon { font-size: 1.2rem; color: #819bad; }
.fixture-method-note { margin: .8rem 0 1.5rem; color: var(--muted); font-size: .78rem; }
.detail-event-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.1rem; font-size: .83rem; color: var(--muted); }
.detail-hero { padding: 1.25rem; text-align: center; background: linear-gradient(135deg,#fff,#f5f9fc); }
.detail-hero .competition { margin: 0 0 .45rem; color: var(--action); font-weight: 750; }
.detail-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: .8rem; align-items: center; margin: 1rem auto .65rem; max-width: 740px; font-size: clamp(1.35rem,3vw,2.3rem); }
.detail-teams span:first-child { text-align: right; }
.detail-teams span:last-child { text-align: left; }
.detail-result { display: inline-block; margin: .3rem auto 0; padding: .4rem .8rem; background: var(--success-surface); border-radius: 8px; }
.match-detail-page { max-width: 1100px; }
.match-detail-page .breadcrumb { margin-bottom: .65rem; }
.match-detail-page .detail-panel { padding: 1rem 1.15rem; margin-top: .8rem; }
.match-detail-page .detail-panel h2 { margin: 0; font-size: 1.15rem; }
.match-detail-page .market-grid { margin-top: .95rem; }
.detail-selection-note { font-size: .79rem; color: var(--muted); margin: .6rem 0 0; }
.detail-method summary { cursor: pointer; font-weight: 750; color: var(--text); min-height: 30px; }
.detail-method[open] summary { margin-bottom: .75rem; }
.detail-method p { font-size: .85rem; }
.related-fixtures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; margin-top: .9rem; }
.related-fixtures a { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem .85rem; background: #f6f9fb; border-radius: 8px; font-size: .79rem; text-decoration: none; }
.related-fixtures a time { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.detail-bottom-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1rem 0; font-size: .84rem; font-weight: 650; }
.organic-hero { padding: clamp(1.1rem,2vw,1.7rem); margin: .8rem 0 1.4rem; border-radius: 12px; }
.organic-match { border-radius: 11px; box-shadow: 0 2px 12px rgb(14 42 71 / 3%); }
.organic-match h3 { font-size: 1.05rem; margin: .4rem 0 .85rem; }
.history-card { border-radius: 11px; }
.history-card .match-teams h3 { font-size: 1rem; }
@media (max-width: 840px) {
  .fixture-card-head { grid-template-columns: 100px minmax(0,1fr) 100px; }
  .market-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-panel:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .calendar-view .date-strip a { flex-basis: 78px; }
  .calendar-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .calendar-filters button { width: 100%; }
  .fixture-card { padding: .75rem .7rem .55rem; }
  .fixture-card-head { display: flex; flex-direction: column-reverse; gap: .35rem; padding-bottom: .55rem; }
  .fixture-teams { width: 100%; font-size: .99rem; }
  .fixture-teams a { gap: .4rem; }
  .fixture-kickoff { flex-direction: row; align-items: baseline; gap: .5rem; }
  .fixture-kickoff time { font-size: .9rem; }
  .market-grid { gap: .4rem; }
  .market-panel { padding: .56rem .5rem; }
  .market-panel h3 { font-size: .7rem; }
  .market-option-head { font-size: .73rem; }
  .market-option-head strong { font-size: .75rem; }
  .related-fixtures { grid-template-columns: minmax(0,1fr); }
  .detail-teams { gap: .35rem; }
  .match-detail-page .detail-panel { padding: .9rem .75rem; }
  .organic-hero { padding: 1rem; }
}
@media (max-width: 370px) {
  .market-grid { grid-template-columns: minmax(0,1fr); }
  .market-panel:first-child { grid-column: auto; }
}
.history-view { max-width: 1120px; margin: 0 auto; }
.history-hero { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1rem, 2.5vw, 1.7rem); background: var(--surface); border: 1px solid var(--border); border-radius: 13px; margin: .85rem 0 1.5rem; }
.history-hero > div { flex: 1 1 290px; }
.history-hero h1 { margin-bottom: .35rem; }
.history-hero p:last-child { max-width: 58ch; color: var(--muted); margin-bottom: 0; font-size: .9rem; }
.history-date-form { flex: 0 1 345px; }
.history-date-form > div { display: flex; gap: .5rem; }
.history-date-form input { flex: 1 1 145px; }
.history-date-form button { flex: 0 0 auto; }
.history-section-heading { display: flex; justify-content: space-between; align-items: end; gap: .75rem; margin-bottom: .75rem; }
.history-section-heading .eyebrow { font-size: .78rem; color: var(--muted); margin: 0 0 .15rem; }
.history-section-heading h2 { margin: 0; }
.history-section-heading > a { min-height: 40px; display: flex; align-items: center; font-size: .85rem; }
.history-stat-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; }
.history-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: .75rem .9rem; display: flex; flex-direction: column; gap: .2rem; }
.history-stat span { color: var(--muted); font-size: .8rem; }
.history-stat strong { color: var(--text); font-size: clamp(1.25rem,2.3vw,1.8rem); font-variant-numeric: tabular-nums; line-height: 1.2; }
.history-method { margin: .6rem 0 1.6rem; max-width: none; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.history-method summary { padding: .7rem 1rem; font-weight: 650; }
.history-method-content { padding: 0 1rem 1rem; max-width: 80ch; font-size: .86rem; }
.history-method-content p { margin: .5rem 0; }
.history-results { margin-top: 1.25rem; }
.history-game { margin-bottom: .65rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: .85rem 1.1rem; }
.history-game-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: .5rem; font-size: .79rem; }
.history-game-top .competition { margin: 0; }
.history-game-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(135px,auto); gap: .75rem 1.5rem; align-items: center; padding: .65rem 0; }
.history-game-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: .65rem; margin: 0; font-size: 1rem; text-wrap: auto; }
.history-game-teams span { overflow-wrap: anywhere; }
.history-game-teams span:first-child { text-align: right; }
.history-game-outcome { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; font-size: .85rem; }
.history-game-outcome strong { font-variant-numeric: tabular-nums; }
.history-result-label { color: var(--muted); }
.history-game-pick { border-top: 1px solid var(--border); padding-top: .65rem; }
.history-game-pick .pick { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.history-game-pick .probability { display: flex; align-items: baseline; gap: .4rem; }
.history-game-pick .probability-meter, .history-game-pick .probability-bar { max-width: 200px; flex: 1 1 100px; }
.history-game-pick .pick-uncertainty { color: var(--muted); font-size: .77rem; margin: 0; }
.history-empty { padding: 1.5rem; border: 1px dashed var(--border); border-radius: 11px; background: var(--surface); }
.history-pagination { justify-content: center; margin-top: 1rem; font-size: .87rem; }
.history-pagination > span { color: var(--muted); padding: .5rem; }
@media (max-width: 760px) {
  .history-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .history-game-body { grid-template-columns: minmax(0,1fr); }
  .history-game-outcome { justify-content: center; }
}
@media (max-width: 480px) {
  .history-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .history-hero, .history-game { padding: .85rem; }
  .history-date-form { flex: 1 1 100%; }
  .history-date-form > div { flex-wrap: wrap; }
  .history-date-form button { width: 100%; }
  .history-game-teams { font-size: .9rem; gap: .3rem; }
}
