.agsfs{--agsfs-line:#dce3e9;--agsfs-accent:#116343;box-sizing:border-box;max-width:1120px;margin:1.5rem auto;padding:clamp(12px,3vw,24px);border:1px solid var(--agsfs-line);border-radius:14px;background:#fff;color:#172b3a;font:inherit;line-height:1.6}.agsfs *{box-sizing:border-box}.agsfs .agsfs-header h2{margin:0 0 .5rem;}.agsfs p{margin:.75rem 0}.agsfs .agsfs-note{font-size:.88rem;color:#455766}.agsfs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.agsfs-card{min-width:0;padding:16px;border:1px solid var(--agsfs-line);border-radius:10px}.agsfs img{object-fit:contain;flex-shrink:0;max-width:48px}.agsfs-h2h{margin-top:18px}.agsfs-metrics{margin:0 0 18px}.agsfs-metrics>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--agsfs-line)}.agsfs dt{font-size:.9rem}.agsfs dd{margin:0;text-align:right;font-weight:700;flex-shrink:0}.agsfs-scroll{overflow-x:auto}.agsfs-scroll:focus{outline:2px solid var(--agsfs-accent);outline-offset:2px}.agsfs table{width:100%;border-collapse:collapse;font-size:.85rem;margin:0}.agsfs th,.agsfs td{padding:9px 6px;text-align:left;border:0;border-bottom:1px solid var(--agsfs-line)}.agsfs th{background:#fbe4d8;color:#172b3a}.agsfs td:first-child,.agsfs td:last-child{white-space:nowrap}.agsfs-message{padding:14px;border-left:4px solid #9a6415;background:#fff7e7;color:#51380c}@media(max-width:720px){.agsfs-grid{grid-template-columns:1fr}.agsfs-card{padding:12px}.agsfs-metrics>div{gap:8px}.agsfs dd{max-width:50%;flex-shrink:1}}

.agsfs .agsfs-odds { margin: 1.5rem 0; }
.agsfs .agsfs-odds-button { display: inline-block; padding: .75rem 1.1rem; background: #2ecc71; color: #172b3a; border-radius: .4rem; text-decoration: none; font-weight: 700; }
.agsfs .agsfs-odds-button:hover { background: #2ecc71; color: #172b3a; text-decoration: underline; }
.agsfs .agsfs-odds-button:focus-visible { outline: 3px solid #ca8a04; outline-offset: 3px; }
.agsfs .agsfs-odds table { width: 100%; }
/* Four-book comparison: native tables on desktop, compact selection cards on mobile. */
.agsfs .agsfs-compare-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:1.5rem 0;background:#fff}
.agsfs .agsfs-compare-table th,.agsfs .agsfs-compare-table td{padding:.65rem .35rem;vertical-align:middle;overflow-wrap:anywhere;text-align:center}
.agsfs .agsfs-compare-table th:first-child{width:30%;text-align:left}
.agsfs .agsfs-compare-table thead th{background:#fbe4d8;color:#263238}
.agsfs .agsfs-compare-table thead img{display:block;max-width:100%;object-fit:contain;margin:0 auto .3rem}
.agsfs .agsfs-compare-table tbody tr{border-bottom:1px solid #e5e7eb}
.agsfs .agsfs-odd-value{display:inline-flex;min-height:44px;min-width:44px;max-width:100%;align-items:center;justify-content:center;padding:.25rem .5rem;box-sizing:border-box;border-radius:6px;color:#253642}
.agsfs a.agsfs-odd-value{background:#fbe4d8;text-decoration:underline;text-underline-offset:3px}
.agsfs a.agsfs-odd-value:hover{background:#f5d0bd}
.agsfs a.agsfs-odd-value:focus-visible{outline:3px solid #294b68;outline-offset:2px}
.agsfs .agsfs-odd-time{display:block;font-size:.75rem;color:#5f6670}
.agsfs .agsfs-mobile-book{display:none}
@media(max-width:640px){
 .agsfs .agsfs-compare-table{display:block;min-width:0!important;width:100%;border:0}
 .agsfs .agsfs-compare-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .agsfs .agsfs-compare-table tbody{display:block;width:100%}
 .agsfs .agsfs-compare-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:.75rem;border:1px solid #dedede;border-radius:8px;overflow:hidden}
 .agsfs .agsfs-compare-table tbody th:first-child{grid-column:1/-1;box-sizing:border-box;width:100%;background:#fbe4d8;padding:.65rem;text-align:left}
 .agsfs .agsfs-compare-table td{display:flex;min-width:0;flex-direction:column;align-items:center;padding:.5rem;border:0}
 .agsfs .agsfs-mobile-book{display:block;font-size:.8rem;font-weight:600;margin-bottom:.15rem}
}

.agsfs.agsfs-fixture{border:0;box-shadow:none}
.agsfs .agsfs-mobile-book img{display:block;width:80px;height:32px;max-width:100%;object-fit:contain;margin:0 auto .25rem}

/* Borderless fixture blocks on desktop and mobile; keep keyboard focus outlines. */
.agsfs.agsfs-fixture .agsfs-card,
.agsfs.agsfs-fixture table,
.agsfs.agsfs-fixture th,
.agsfs.agsfs-fixture td,
.agsfs.agsfs-fixture tbody tr,
.agsfs.agsfs-fixture .agsfs-metrics>div{border:0;box-shadow:none}
/* Follow the article typography supplied by the WordPress theme. */
.agsfs.agsfs-fixture{font:inherit;color:inherit;line-height:inherit;letter-spacing:inherit}
.agsfs.agsfs-fixture p,
.agsfs.agsfs-fixture .agsfs-note,
.agsfs.agsfs-fixture table,
.agsfs.agsfs-fixture dt,
.agsfs.agsfs-fixture dd{font-size:inherit;line-height:inherit;color:inherit}
.agsfs.agsfs-fixture .agsfs-mobile-book{font-size:inherit}
/* Align fixture blocks with the article content on desktop and mobile. */
.agsfs.agsfs-fixture{max-width:none;width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
.agsfs.agsfs-fixture .agsfs-card{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
.agsfs-fixture .agsfs-match-standings{min-width:0;margin:1.5rem 0}.agsfs-fixture .agsfs-match-standings .agsfs-scroll{max-width:100%;overflow-x:auto}.agsfs-fixture .agsfs-match-league-table{width:100%;min-width:0;font-variant-numeric:tabular-nums}.agsfs-match-league-table small{display:block;font-weight:400}.agsfs-fixture .agsfs-match-league-table th[scope=row]{min-width:140px}

@media(max-width:600px){.agsfs.agsfs-fixture .agsfs-match-league-table{table-layout:fixed;width:100%;font-size:.8rem}.agsfs.agsfs-fixture .agsfs-match-league-table :is(th,td){padding:8px 2px;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center}.agsfs.agsfs-fixture .agsfs-match-league-table th:nth-child(2){width:34%;text-align:left}.agsfs.agsfs-fixture .agsfs-match-league-table small{font-size:.8em}}

/* Fixture presentation, including HTML preserved in existing snapshots. */
.agsfs.agsfs-fixture .agsfs-match-league-table th[scope=row] small{display:none}
.agsfs.agsfs-fixture .agsfs-odds-recorded{font-weight:700}
/* Compact fixture identity: logos only in the title and standings. */
.agsfs.agsfs-fixture .agsfs-fixture-title{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center}
.agsfs.agsfs-fixture .agsfs-fixture-title span{min-width:0;overflow-wrap:anywhere}
.agsfs.agsfs-fixture .agsfs-fixture-title img{width:36px!important;height:36px!important;flex:0 0 36px;margin:0!important}
.agsfs.agsfs-fixture .agsfs-match-league-table img{width:20px!important;height:20px!important;vertical-align:middle}
@media(max-width:600px){.agsfs.agsfs-fixture .agsfs-fixture-title{gap:8px}.agsfs.agsfs-fixture .agsfs-fixture-title img{width:28px!important;height:28px!important;flex-basis:28px}}
/* Clean fixture layout; scoped so the other shortcodes keep their design. */
.agsfs.agsfs-fixture .agsfs-header{padding:12px 0 20px;text-align:center}
.agsfs.agsfs-fixture .agsfs-header h2.agsfs-matchup-clean{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;max-width:640px;margin:0 auto 12px;}
.agsfs.agsfs-fixture .agsfs-matchup-team{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;overflow-wrap:anywhere;text-align:center}
.agsfs.agsfs-fixture .agsfs-matchup-clean img{width:40px!important;height:40px!important;flex:0 0 40px;max-width:40px;margin:0!important}
.agsfs.agsfs-fixture .agsfs-matchup-vs{font-size:.7em;font-weight:400;color:#68756b}
.agsfs.agsfs-fixture .agsfs-header>p{margin:0;font-size:.9em;color:#58635b}
.agsfs.agsfs-fixture .agsfs-grid{gap:28px;margin-top:28px}
.agsfs.agsfs-fixture .agsfs-card{background:transparent;border:0;box-shadow:none;border-radius:0}
.agsfs.agsfs-fixture .agsfs-h2h,.agsfs.agsfs-fixture .agsfs-odds{margin-top:32px}
.agsfs.agsfs-fixture .agsfs-match-league-table th[scope=row]{text-align:left;vertical-align:middle}
.agsfs.agsfs-fixture .agsfs-match-league-table img{width:20px!important;height:20px!important;margin-right:6px!important}
@media(max-width:600px){.agsfs.agsfs-fixture .agsfs-header h2.agsfs-matchup-clean{gap:10px;}.agsfs.agsfs-fixture .agsfs-matchup-team{gap:8px}.agsfs.agsfs-fixture .agsfs-grid{gap:24px}}
/* Preserve the matchup grid when a table-of-contents plugin wraps the heading. */
.agsfs.agsfs-fixture .agsfs-header h2.agsfs-matchup-clean>span:not(.agsfs-matchup-team):not(.agsfs-matchup-vs){display:contents}

@media(max-width:640px){.agsfs.agsfs-fixture .agsfs-compare-table caption{display:block}}

/* Team analysis only: typography follows the article; all data remain native HTML. */
.agsfs-fixture .agsfs-team-analysis{color:inherit;font:inherit}
.agsfs-fixture .agsfs-analysis-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.agsfs-fixture .agsfs-analysis-heading>div{min-width:0}
.agsfs-fixture .agsfs-analysis-heading h3{margin:0 0 5px;overflow-wrap:anywhere}
.agsfs-fixture .agsfs-analysis-heading img{width:44px!important;height:44px!important;object-fit:contain;margin:0!important;flex:0 0 44px}
.agsfs-fixture .agsfs-analysis-sub,.agsfs-fixture .agsfs-analysis-context,.agsfs-fixture .agsfs-analysis-order,.agsfs-fixture .agsfs-analysis-foot{font-size:.8em;color:#606460}
.agsfs-fixture .agsfs-analysis-filters{display:flex;flex-wrap:wrap;gap:18px;border-bottom:1px solid #e8ebe7;margin-bottom:16px}
.agsfs-fixture .agsfs-analysis-filters button{font:inherit;font-size:.9em;font-weight:600;min-height:44px;min-width:44px;padding:8px 0;background:transparent;color:#606460;border:0;border-bottom:3px solid transparent;border-radius:0;box-shadow:none;cursor:pointer}
.agsfs-fixture .agsfs-analysis-filters button[aria-pressed=true]{color:#1a660c;border-bottom-color:#1a660c}
.agsfs-fixture .agsfs-analysis-filters button:focus-visible{outline:2px solid #1a660c;outline-offset:3px}
.agsfs-fixture .agsfs-team-analysis [hidden]{display:none!important}
.agsfs-fixture .agsfs-analysis-context{margin-bottom:6px}
.agsfs-fixture .agsfs-analysis-order{margin-bottom:8px}
.agsfs-fixture .agsfs-analysis-form{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin-bottom:20px}
.agsfs-fixture .agsfs-result{display:grid;place-items:center;aspect-ratio:1;max-height:38px;min-width:0;border-radius:4px;font-size:.8em;font-weight:700;background:#1a660c;color:#fff}
.agsfs-fixture .agsfs-result-E{background:#916113}.agsfs-fixture .agsfs-result-P{background:#b83232}
.agsfs-fixture .agsfs-analysis-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 22px}
.agsfs-fixture .agsfs-analysis-label{font-size:.8em;color:#606460}
.agsfs-fixture .agsfs-analysis-count{font-size:1.1em;font-weight:700;margin:4px 0 8px;font-variant-numeric:tabular-nums}
.agsfs-fixture .agsfs-analysis-count small{font-size:.7em;font-weight:400;color:#606460;white-space:nowrap}
.agsfs-fixture .agsfs-analysis-track{height:5px;border-radius:4px;overflow:hidden;background:#eff1ed}
.agsfs-fixture .agsfs-analysis-fill{height:100%;background:#1a660c}.agsfs-fixture .agsfs-fill-d{background:#916113}.agsfs-fixture .agsfs-fill-l{background:#b83232}
.agsfs-fixture .agsfs-analysis-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.agsfs-fixture .agsfs-analysis-tiles>div{display:flex;flex-direction:column;background:#f5f6f4;padding:16px;border-radius:8px;min-width:0}
.agsfs.agsfs-fixture .agsfs-analysis-tiles dt{order:2;font-size:.9em;font-weight:400;line-height:1.4}
.agsfs.agsfs-fixture .agsfs-analysis-tiles dd{display:contents;text-align:left;max-width:none}
.agsfs-fixture .agsfs-analysis-tiles strong{order:1;font-size:1.65em;line-height:1.2;font-weight:700;margin-bottom:6px;font-variant-numeric:tabular-nums}
.agsfs-fixture .agsfs-analysis-tiles small{order:3;font-size:.75em;line-height:1.4;font-weight:400;color:#656a62;margin-top:4px}
.agsfs-fixture .agsfs-analysis-foot{margin-top:15px}
@media(max-width:380px){.agsfs-fixture .agsfs-analysis-tiles>div{padding:12px}.agsfs-fixture .agsfs-analysis-tiles{gap:8px}.agsfs-fixture .agsfs-analysis-count small{display:block}.agsfs-fixture .agsfs-result{font-size:.7em}}

/* Keep fixture identities and unequal-length analysis headings aligned. */
.agsfs.agsfs-fixture .agsfs-header h2.agsfs-matchup-clean>span:not(.agsfs-matchup-team):not(.agsfs-matchup-vs){display:contents}
@supports(grid-template-rows:subgrid){
 @media(min-width:721px){
  .agsfs.agsfs-fixture .agsfs-grid:has(>.agsfs-team-analysis){row-gap:0}
  .agsfs.agsfs-fixture .agsfs-grid>.agsfs-team-analysis{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;align-content:start}
  .agsfs.agsfs-fixture .agsfs-team-analysis>.agsfs-analysis-heading{grid-row:1;align-self:start}
  .agsfs.agsfs-fixture .agsfs-team-analysis>.agsfs-analysis-filters{grid-row:2;align-self:start}
  .agsfs.agsfs-fixture .agsfs-team-analysis>div[aria-live]{grid-row:3;min-width:0}
 }
}

/* H2H: reuse the team cards while retaining the results table below. */
.agsfs-fixture .agsfs-h2h-analysis{margin:20px 0 26px;min-width:0}
.agsfs-fixture .agsfs-h2h-analysis .agsfs-analysis-form{grid-template-columns:repeat(5,minmax(0,38px));max-width:210px}
@media(min-width:721px){.agsfs-fixture .agsfs-h2h-analysis .agsfs-analysis-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
.agsfs.agsfs-fixture .agsfs-header h2.agsfs-matchup-clean .agsfs-matchup-suffix{grid-column:1/-1;font-size:.65em;font-weight:400;line-height:1.4;text-align:center}
