.fp-app{--fp-ink:#122c32;--fp-muted:#5c7075;--fp-green:#b5f5ca;--fp-line:#dce6e4;box-sizing:border-box;max-width:1120px;margin:32px auto 64px;padding:0 24px;color:var(--fp-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.6;text-align:left}.fp-app *{box-sizing:border-box}.fp-app h1,.fp-app h2,.fp-app h3,.fp-app p{margin:0}.fp-app a{text-decoration:none;color:inherit}.fp-hero{background:#102e34;border-radius:20px;padding:48px;color:#fff;position:relative;overflow:hidden}.fp-hero:after{content:"";position:absolute;width:260px;height:260px;border:1px solid #315159;border-radius:50%;right:-60px;top:-100px;pointer-events:none;box-shadow:0 0 0 50px #173940,0 0 0 51px #315159,0 0 0 100px #14343b,0 0 0 101px #315159;opacity:.65}.fp-hero>*{position:relative;z-index:1}.fp-eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;line-height:1.5}.fp-hero .fp-eyebrow{color:#b5f5ca;margin-bottom:24px}.fp-eyebrow>span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b5f5ca;margin-right:8px}.fp-hero h1{font-size:clamp(32px,5vw,54px);line-height:1.13;letter-spacing:-2px;font-weight:750;color:white;max-width:850px;overflow-wrap:anywhere}.fp-hero h1 em{color:#b5f5ca;font-style:normal}.fp-hero>p:not(.fp-eyebrow){color:#c5d5d7;margin-top:20px;max-width:470px}.fp-hero-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #39545a;margin-top:32px;padding-top:20px;font-size:12px;color:#d4e0df}.fp-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-top:40px}.fp-section-heading .fp-eyebrow{color:#52786a;margin-bottom:8px}.fp-app h2{font-size:26px;line-height:1.3;letter-spacing:-.7px;font-weight:700;color:var(--fp-ink)}.fp-count{border:1px solid var(--fp-line);border-radius:24px;padding:4px 12px;white-space:nowrap;font-size:12px}.fp-subtitle{color:var(--fp-muted);font-size:13px;margin:10px 0 24px!important}.fp-matches{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fp-card{display:block;border:1px solid var(--fp-line);background:#fff;border-radius:14px;padding:20px;transition:box-shadow .2s,border-color .2s;min-width:0}.fp-card:hover{border-color:#649b88;box-shadow:0 5px 22px #183c3310}.fp-app a:focus-visible{outline:3px solid #178463;outline-offset:4px}.fp-card-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--fp-muted)}.fp-card-top>span:first-child{overflow-wrap:anywhere}.fp-status{font-weight:650;text-align:right}.fp-card-main{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:24px 0}.fp-teams{display:grid;gap:12px;min-width:0;font-size:16px;font-weight:650}.fp-teams>span{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}.fp-teams i{display:grid;place-items:center;flex:0 0 29px;height:32px;background:#eaf0ee;clip-path:polygon(0 0,100% 0,100% 76%,50% 100%,0 76%);font-size:13px;font-style:normal;color:#305c50}.fp-teams>span+span i{background:#f2ede4;color:#80653c}.fp-small-label{font-size:9px;letter-spacing:1.2px;color:var(--fp-muted);display:block;margin-bottom:7px}.fp-card-prediction{text-align:right;max-width:48%}.fp-pick{display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap;background:#e9f7ee;color:#17563c;padding:7px 10px;border-radius:7px;font-size:12px;font-weight:600}.fp-pick strong{font-size:14px}.fp-pick-empty{background:#f2f5f4;color:#64716d}.fp-card-bottom{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #edf0ef;padding-top:15px;font-size:11px;color:var(--fp-muted)}.fp-card-bottom>span{font-weight:650;color:#356552}.fp-note{margin-top:30px;padding:22px;background:#f0f5f3;border-radius:12px;font-size:13px;color:#516961}.fp-note strong{color:#2b5546}.fp-note p{margin-top:12px}.fp-note h2{font-size:19px}.fp-empty{text-align:center;padding:50px 20px;border:1px dashed var(--fp-line);border-radius:12px}.fp-empty p{margin-top:10px;color:var(--fp-muted)}.fp-back{display:inline-block;font-size:13px;margin-bottom:24px;color:#356552!important}.fp-versus{display:block;font-size:20px;color:#99afb3;margin:12px 0;letter-spacing:0}.fp-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.fp-panel{background:#fff;border:1px solid var(--fp-line);border-radius:14px;padding:28px;margin-bottom:24px;min-width:0}.fp-panel>.fp-eyebrow{color:#52786a;margin-bottom:12px}.fp-panel h2{margin-bottom:22px}.fp-panel p:not(.fp-eyebrow){margin-top:18px}.fp-panel>.fp-pick{font-size:18px;padding:12px 16px}.fp-panel>.fp-pick strong{font-size:24px}.fp-muted{font-size:12px;color:var(--fp-muted)}.fp-facts{display:grid;grid-template-columns:100px 1fr;gap:12px;font-size:13px;margin:0}.fp-facts dt{color:var(--fp-muted)}.fp-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.fp-market-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.fp-market{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px}.fp-market strong{color:#17563c}.fp-market meter{grid-column:1/-1;width:100%;height:8px;accent-color:#22865c}.fp-pagination{display:flex;gap:12px;justify-content:center;margin-top:24px}.fp-pagination .page-numbers{padding:6px 12px;border:1px solid var(--fp-line);border-radius:6px}.fp-pagination .current{background:#102e34;color:#fff}@media(max-width:760px){.fp-matches,.fp-detail-grid{grid-template-columns:1fr}.fp-app{padding:0 16px;margin-top:20px}.fp-hero{padding:30px 24px}.fp-hero h1{letter-spacing:-1px}.fp-hero-footer{font-size:11px;gap:8px}.fp-hero:after{right:-160px}.fp-market-grid{grid-template-columns:1fr 1fr}.fp-detail-grid{gap:0}.fp-section-heading{margin-top:28px}.fp-app h2{font-size:23px}}@media(max-width:390px){.fp-card{padding:16px}.fp-card-main{align-items:start;flex-direction:column}.fp-card-prediction{text-align:left;max-width:100%}.fp-market-grid{grid-template-columns:1fr}.fp-panel{padding:20px}.fp-hero-footer{flex-direction:column}}

/* Reference layout: a single striped list with aligned market and confidence. */
.fp-list{max-width:1080px;color:#242424}
.fp-list-heading{margin-bottom:22px}
.fp-list-heading h1{font-size:28px;line-height:1.25;letter-spacing:-.5px;font-weight:700;color:#242424}
.fp-list-heading p{margin-top:8px;color:#606366;font-size:13px}
.fp-match-list{border:1px solid #e2e6e4;border-radius:4px;overflow:hidden}
.fp-match-row{display:block;padding:26px 24px 14px;background:#fff;border-top:7px solid #e6eae8;transition:box-shadow .15s}
.fp-match-row:nth-child(even){background:#e5e7eb}
.fp-match-row:hover{box-shadow:inset 4px 0 #169954}
.fp-list .fp-match-row:focus-visible{outline:3px solid #16834c;outline-offset:-3px}
.fp-row-heading{display:flex;gap:20px;align-items:baseline;color:#5c5d5e;font-size:clamp(16px,2.5vw,25px);font-weight:700;line-height:1.4}
.fp-row-heading time{white-space:nowrap;font-variant-numeric:tabular-nums}
.fp-row-heading>span{overflow-wrap:anywhere;min-width:0}
.fp-row-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.32fr) 110px;gap:24px;align-items:center;margin:20px 0}
.fp-row-teams{display:grid;gap:16px;min-width:0;font-size:clamp(18px,2.5vw,27px);line-height:1.35;font-weight:650}
.fp-row-teams>span{display:flex;gap:18px;align-items:center;min-width:0}
.fp-row-teams>span>span{overflow-wrap:anywhere}
.fp-team-badge{display:grid;place-items:center;flex:0 0 30px;height:34px;background:#d8e9df;color:#367053;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);font-size:10px;font-weight:700;font-style:normal;text-transform:uppercase;letter-spacing:.5px}
.fp-row-teams>span+span .fp-team-badge{background:#e6ddcf;color:#785f35}
.fp-row-market{text-align:center;font-size:clamp(17px,2.5vw,26px);font-weight:650;line-height:1.3}
.fp-confidence{display:block;text-align:center;color:#148347;background:#cef6d5;border-radius:18px;padding:9px 10px;font-size:clamp(18px,2.5vw,26px);line-height:1.4;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
.fp-row-pending{grid-column:2/-1;color:#616467;font-size:14px;text-align:right;line-height:1.4}
.fp-row-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#64696a;line-height:1.4}
.fp-list .fp-note{background:#f1f3f2;color:#59625e}
@media(max-width:600px){.fp-list{padding:0 12px}.fp-list-heading h1{font-size:24px}.fp-list-heading p{font-size:11px}.fp-match-row{padding:18px 12px 12px;border-top-width:5px}.fp-row-heading{gap:10px;font-size:15px}.fp-row-body{grid-template-columns:minmax(0,1fr) 68px 66px;gap:9px;margin:18px 0}.fp-row-teams{font-size:16px;gap:18px}.fp-row-teams>span{gap:8px}.fp-team-badge{flex-basis:22px;height:27px;font-size:8px}.fp-row-market{font-size:15px}.fp-confidence{font-size:16px;padding:8px 4px;border-radius:13px}.fp-row-meta{font-size:10px}.fp-row-pending{font-size:12px}}
@media(max-width:350px){.fp-row-body{grid-template-columns:minmax(0,1fr) 57px 59px;gap:6px}.fp-row-teams{font-size:14px}.fp-row-market{font-size:13px}.fp-confidence{font-size:14px}.fp-team-badge{flex-basis:18px;height:23px}.fp-row-teams>span{gap:5px}}

/* Fill the page or shortcode container without extending beyond its edges. */
.fp-main{width:100%;min-width:0}
.fp-app{width:100%;max-width:100%;min-width:0;container-type:inline-size;container-name:football}
.fp-app .fp-row-body>*{min-width:0}
.fp-app .fp-row-meta,.fp-app .fp-note,.fp-app .fp-list-heading{overflow-wrap:anywhere}
.fp-app .fp-pagination{flex-wrap:wrap}
@container football (max-width:600px){
  .fp-match-row{padding:18px 12px 12px;border-top-width:5px}
  .fp-row-heading{gap:10px;font-size:15px}
  .fp-row-body{grid-template-columns:minmax(0,1fr) 68px 66px;gap:9px;margin:18px 0}
  .fp-row-teams{font-size:16px;gap:18px}
  .fp-row-teams>span{gap:8px}
  .fp-team-badge{flex-basis:22px;height:27px;font-size:8px}
  .fp-row-market{font-size:15px}
  .fp-confidence{font-size:16px;padding:8px 4px;border-radius:13px}
  .fp-row-meta{font-size:10px}
  .fp-row-pending{font-size:12px}
  .fp-detail-grid,.fp-market-grid{grid-template-columns:1fr}
  .fp-panel{padding:20px}
}
@container football (max-width:300px){
  .fp-row-heading{flex-wrap:wrap;gap:2px 8px}
  .fp-row-body{grid-template-columns:minmax(0,1fr) auto;gap:14px}
  .fp-row-teams{grid-column:1/-1}
  .fp-row-market{text-align:left}
  .fp-confidence{min-width:66px}
  .fp-row-pending{grid-column:1/-1;text-align:left}
  .fp-hero{padding:24px 16px}
  .fp-facts{grid-template-columns:1fr}
  .fp-facts dd{text-align:left}
}

/* Compact calendar list. Every saved match for the day appears in this list. */
.fp-calendar-list{color:var(--fp-ink);font-size:14px;margin:12px auto 24px;padding:0 24px;font-family:Arial,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.fp-calendar{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;padding:8px 0;border-bottom:2px solid #dfe2e5;margin:0}
.fp-calendar-controls{display:flex;align-items:center;gap:6px;min-width:0}
.fp-calendar input[type=date]{width:124px;min-width:0;height:33px;border:1px solid #c5cfd9;border-radius:5px;background:#fff;padding:5px 6px;color:#171b20;font:12px Arial,sans-serif;box-shadow:none}
.fp-calendar-shortcuts .rs-live-score-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;white-space:nowrap}
.fp-calendar-shortcuts .rs-live-score-link strong{font-weight:900}
.fp-calendar-shortcuts .rs-live-score-count{display:inline-grid;min-width:20px;height:20px;place-items:center;padding-inline:4px;border-radius:999px;background:var(--fp-status-good);color:#fff;font-size:11px;font-weight:800}
.fp-calendar-shortcuts .rs-live-score-link:hover{text-decoration:none}
.fp-calendar-sort-label{display:flex;align-items:center;gap:5px;margin-left:auto;color:var(--fp-readable-muted);font-size:11px;font-weight:700;white-space:nowrap}
.fp-calendar select[name=fp_sort]{width:132px;max-width:100%;height:33px;border:1px solid #c5cfd9;border-radius:5px;background:#fff;padding:5px 6px;color:#171b20;font:12px Arial,sans-serif;box-shadow:none}
.fp-calendar button{border:1px solid #c5cfd9;border-radius:5px;height:33px;background:#f3f5f7;color:#171b20;padding:4px 7px;font:12px Arial,sans-serif;cursor:pointer}
.fp-calendar>a{display:grid;place-items:center;width:26px;height:33px;color:#657181;font-size:12px}
.fp-calendar-match{display:block;border-bottom:2px solid #dfe2e5;background:#fff;padding:5px 5px 6px;min-width:0;line-height:1.35}
.fp-calendar-match:hover{background:#f8fafb}
.fp-calendar-teams{display:grid;grid-template-columns:minmax(0,1fr) 34px 24px 34px minmax(0,1fr);align-items:center;gap:4px;font-size:16px;min-width:0}
.fp-calendar-team-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fp-calendar-team-name:first-child{text-align:right}
.fp-calendar-badge{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ecf0f4;color:#758293;font-size:17px}
.fp-calendar-vs{text-align:center;font-weight:700;font-size:13px;color:#68727c}
.fp-calendar-info{display:grid;grid-template-columns:50px minmax(0,1fr) 105px;align-items:center;gap:4px;margin-top:2px;font-size:12px}
.fp-calendar-time{color:#657181;font-variant-numeric:tabular-nums;white-space:nowrap}
.fp-calendar-confidence{text-align:center;color:#167436;font-weight:700;line-height:1.35;min-width:0}
.fp-calendar-pick{font-weight:600;text-align:center;line-height:1.3;overflow-wrap:anywhere}
.fp-calendar-result{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;margin-top:3px;min-height:18px}
.fp-calendar-result strong{font-weight:700}
.fp-result-won{color:#167436}
.fp-result-lost{color:#b4222b}
.fp-result-pending{color:#657181;font-weight:400!important}
.fp-calendar-note{margin-top:10px!important;font-size:11px;color:#657181;text-align:center;overflow-wrap:anywhere}
.fp-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.fp-calendar-list{padding:0 24px;margin-top:10px}}
@container football (max-width:300px){.fp-calendar-match{padding-left:2px;padding-right:2px}.fp-calendar-teams{grid-template-columns:minmax(0,1fr) 26px 18px 26px minmax(0,1fr);font-size:14px;gap:3px}.fp-calendar-badge{width:26px;height:26px;font-size:15px}.fp-calendar-info{grid-template-columns:36px minmax(0,1fr) 87px;font-size:11px}.fp-calendar-result{font-size:12px}.fp-calendar-controls{gap:4px}.fp-calendar input[type=date]{width:118px}}
.fp-calendar-info>*{grid-row:1}
.fp-calendar-time{grid-column:1}
.fp-calendar-confidence{grid-column:1/-1;justify-self:center}
.fp-calendar-pick{grid-column:3}
@container football (max-width:300px){.fp-calendar-confidence{grid-column:2;justify-self:stretch}}
/* The available prediction occupies the row beside kickoff, without percentages. */
.fp-calendar-info{grid-template-columns:50px minmax(0,1fr)}
.fp-calendar-pick{grid-column:2;text-align:right;font-size:13px;line-height:1.45}
@container football (max-width:300px){.fp-calendar-info{grid-template-columns:40px minmax(0,1fr)}.fp-calendar-pick{font-size:12px}}

/* Cached match research: charts keep exact values in accessible results tables. */
.fp-analysis-intro h3{font-size:20px;margin:18px 0 10px;color:var(--fp-ink)}
.fp-research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.fp-research-grid .fp-panel{padding:22px}
.fp-stat-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fp-stat-cards>div{background:#f0f5f3;border-radius:10px;padding:12px 8px;text-align:center}
.fp-stat-cards strong{display:block;font-size:24px;color:#17563c}
.fp-stat-cards span{display:block;font-size:11px;overflow-wrap:anywhere;color:#486156}
.fp-chart,.fp-goal-comparison{margin:16px 0}
.fp-chart svg,.fp-goal-bar svg{display:block;width:100%;height:auto;max-width:100%}
.fp-chart figcaption,.fp-goal-comparison figcaption{font-size:12px;color:#54665f;line-height:1.6}
.fp-scored{color:#17734d}.fp-conceded{color:#a75420;margin-left:10px}
.fp-goal-bar{margin-top:16px}.fp-goal-bar>span{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:8px;overflow-wrap:anywhere}
.fp-goal-bar svg{height:14px}
.fp-table-scroll{max-width:100%;overflow-x:auto;margin-top:20px;border:1px solid #dfe7e3;border-radius:8px;overscroll-behavior-x:contain}
.fp-table-scroll:focus-visible{outline:3px solid #17734d;outline-offset:3px}
.fp-data-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5;text-align:left;margin:0;color:#263e32}
.fp-data-table caption{text-align:left;padding:12px;background:#f0f5f3;font-weight:600}
.fp-data-table th,.fp-data-table td{padding:10px 9px;border:0;border-bottom:1px solid #e4eae7;vertical-align:middle;white-space:nowrap}
.fp-data-table thead th{background:#f8faf9;font-weight:700}
.fp-data-table th[scope=row]{min-width:130px;white-space:normal;overflow-wrap:anywhere}
.fp-data-table small{display:block;font-weight:400;font-size:10px;color:#64776c}
.fp-highlight-team{background:#e9f7ee;font-weight:700}
.fp-score{font-variant-numeric:tabular-nums;font-weight:700}
.fp-detail .fp-panel,.fp-detail .fp-brand{overflow-wrap:anywhere}
@container football (max-width:850px){.fp-research-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.fp-research-grid{grid-template-columns:minmax(0,1fr)}.fp-research-grid .fp-panel{padding:16px}.fp-data-table th,.fp-data-table td{padding:8px 7px}.fp-analysis-intro h3{font-size:18px}}
/* Keep scores visible beside opponents on phones, with dates and venues below. */
@container football (max-width:600px){
  .fp-results-table,.fp-results-table tbody,.fp-results-table caption{display:block}
  .fp-results-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .fp-results-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;padding:10px;gap:4px 10px;border-bottom:1px solid #e4eae7}
  .fp-results-table th,.fp-results-table td{padding:0;border:0;min-width:0;white-space:normal}
  .fp-results-table td:nth-child(1){grid-column:1/-1;grid-row:1;color:#64776c;font-size:11px}
  .fp-results-table th[scope=row]{grid-column:1;grid-row:2;min-width:0}
  .fp-results-table td:nth-child(3){grid-column:1/-1;grid-row:3;color:#64776c;font-size:11px}
  .fp-results-table td:nth-child(4){grid-column:2;grid-row:2;white-space:nowrap}
  .fp-results-table td:nth-child(5){grid-column:3;grid-row:2;font-size:11px}
}

/* Plain rows follow the supplied team / crest / vs / crest / team layout. */
.fp-calendar-list{padding:0;border:0;border-radius:0;box-shadow:none}
.fp-calendar{border-bottom:1px solid #dedede}
.fp-calendar-list .fp-calendar-group{font-size:11px;line-height:1.5;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;color:#657181;margin:12px 0 4px}
.fp-calendar-match{padding:7px 0;border-bottom:1px solid #dedede;border-radius:0;box-shadow:none}
.fp-calendar-teams{grid-template-columns:minmax(0,1fr) 36px minmax(44px,max-content) 36px minmax(0,1fr);gap:7px;font-size:clamp(16px,3cqw,24px);font-weight:600}
.fp-calendar-badge{width:36px;height:36px;background:none;border:0;border-radius:0}
.fp-calendar-badge img{display:block;width:100%;height:100%;object-fit:contain}
.fp-badge-initials{font-size:11px;font-weight:700;letter-spacing:.3px;color:#81908a}
.fp-calendar-vs{font-size:16px;color:#747474}
.fp-calendar-info{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:5px;align-items:start}
.fp-calendar-time{display:flex;flex-wrap:wrap;gap:4px 10px;white-space:normal;font-size:11px}
.fp-calendar-time time{white-space:nowrap}
.fp-calendar-pick{font-size:12px}
.fp-calendar-result{font-size:12px;min-height:0;margin-top:4px}
.fp-calendar-list .fp-empty{border:0;border-radius:0;padding:35px 0}
@container football (max-width:450px){
  .fp-calendar-teams{grid-template-columns:minmax(0,1fr) 29px minmax(40px,max-content) 29px minmax(0,1fr);gap:4px;font-size:16px}
  .fp-calendar-badge{width:29px;height:29px}
  .fp-calendar-vs{font-size:14px}
}
@container football (max-width:300px){
  .fp-calendar-teams{grid-template-columns:minmax(0,1fr) 24px minmax(36px,max-content) 24px minmax(0,1fr);gap:3px;font-size:14px}
  .fp-calendar-badge{width:24px;height:24px}
  .fp-calendar-vs{font-size:12px}
  .fp-calendar-pick{font-size:11px}
  .fp-calendar-info{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* Theme 2: a time-ordered prediction list with a compact confidence line. */
.fp-calendar-theme-2 .fp-calendar-match{padding:8px 5px;border-bottom:1px solid var(--fp-line);background:transparent}
.fp-calendar-theme-2 .fp-calendar-match:hover{background:var(--fp-surface-soft)}
.fp-calendar-theme-2 .fp-calendar-teams{grid-template-columns:minmax(0,1fr) 32px 36px 32px minmax(0,1fr);gap:5px;font-size:clamp(14px,3.1cqw,20px)}
.fp-calendar-theme-2 .fp-calendar-badge{width:30px;height:30px}
.fp-calendar-theme-2 .fp-calendar-info{grid-template-columns:52px minmax(0,1fr) minmax(100px,auto);gap:6px;margin-top:4px;align-items:center}
.fp-calendar-theme-2 .fp-calendar-time{grid-column:1;white-space:nowrap}
.fp-calendar-theme-2 .fp-calendar-confidence{grid-column:2;justify-self:center;color:#167436;font-size:11px;font-weight:700;text-align:center}
.fp-calendar-theme-2 .fp-calendar-pick{grid-column:3;text-align:right;font-size:12px}
.fp-calendar-theme-2 .fp-calendar-result{margin-top:2px}
@media(max-width:480px){
  .fp-calendar-theme-2 .fp-calendar-teams{grid-template-columns:minmax(0,1fr) 26px 34px 26px minmax(0,1fr);gap:3px;font-size:14px}
  .fp-calendar-theme-2 .fp-calendar-badge{width:25px;height:25px}
  .fp-calendar-theme-2 .fp-calendar-info{grid-template-columns:42px minmax(0,1fr) minmax(82px,auto);gap:4px;font-size:11px}
  .fp-calendar-theme-2 .fp-calendar-confidence{font-size:10px}
  .fp-calendar-theme-2 .fp-calendar-pick{font-size:11px}
}

/* Theme 3: league band, stacked teams, score state and prediction panel. */
.fp-calendar-theme-3 .fp-calendar-match{padding:0;margin:10px 0;border:1px solid var(--fp-line);border-radius:3px;background:var(--fp-surface);box-shadow:none}
.fp-calendar-theme-3 .fp-calendar-match:hover{background:var(--fp-surface)}
.fp-calendar-league-band{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 10px;background:var(--fp-surface-soft);border-bottom:1px solid var(--fp-line);color:var(--fp-ink);font-size:13px}
.fp-calendar-league-band>.fp-country-flag,.fp-calendar-league-band>.fp-world-mark{flex:0 0 25px;width:25px;height:18px;font-size:18px}
.fp-calendar-league-band strong{min-width:0;font-weight:600}
.fp-calendar-card-datetime{display:flex;align-items:center;gap:4px;margin-left:auto;white-space:nowrap;color:var(--fp-muted);font-size:12px;font-weight:400}
.fp-calendar-theme3-main{display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(120px,.72fr);align-items:stretch;min-width:0}
.fp-calendar-theme3-teams{display:grid;grid-template-rows:1fr 1fr;min-width:0;padding:5px 8px}
.fp-calendar-theme3-team{display:flex;align-items:center;gap:8px;min-width:0;min-height:34px;font-size:16px;font-weight:600}
.fp-calendar-theme3-team .fp-calendar-badge{width:25px;height:25px;flex:0 0 25px;background:transparent}
.fp-calendar-theme3-team .fp-calendar-team-name{min-width:0}
.fp-calendar-theme3-score{display:grid;grid-template-rows:18px 1fr;place-items:center;align-content:center;min-width:0;padding:5px 3px;border-left:1px solid var(--fp-line);border-right:1px solid var(--fp-line)}
.fp-calendar-card-clock{min-height:18px;color:var(--fp-muted);font-size:10px;font-weight:700;white-space:nowrap}
.fp-calendar-theme3-score .fp-calendar-vs{font-size:17px;font-weight:750;color:var(--fp-ink)}
.fp-calendar-theme3-score .fp-calendar-vs.fp-calendar-score{color:#17563c}
.fp-calendar-theme3-prediction{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:8px 10px}
.fp-calendar-theme3-prediction>.fp-calendar-pick{font-size:15px;font-weight:700;text-align:left}
.fp-calendar-theme3-prediction .fp-calendar-result{justify-content:flex-start;margin:0;font-size:12px;text-align:left}
.fp-calendar-theme3-prediction .fp-calendar-unpredicted{color:var(--fp-muted)}
@media(max-width:520px){
  .fp-calendar-theme-3 .fp-calendar-match{margin:8px 0}
  .fp-calendar-league-band{gap:6px;padding:5px 7px;font-size:12px}
  .fp-calendar-card-datetime{font-size:10px}
  .fp-calendar-theme3-main{grid-template-columns:minmax(0,1fr) 48px minmax(92px,.75fr)}
  .fp-calendar-theme3-teams{padding:4px 6px}
  .fp-calendar-theme3-team{gap:5px;min-height:30px;font-size:13px}
  .fp-calendar-theme3-team .fp-calendar-badge{width:21px;height:21px;flex-basis:21px}
  .fp-calendar-theme3-prediction{padding:6px}
  .fp-calendar-theme3-prediction>.fp-calendar-pick{font-size:12px}
  .fp-calendar-theme3-prediction .fp-calendar-result{font-size:10px}
  .fp-calendar-theme3-score .fp-calendar-vs{font-size:14px}
}
@media(max-width:360px){
  .fp-calendar-league-band{flex-wrap:wrap}
  .fp-calendar-card-datetime{width:100%;margin-left:31px}
  .fp-calendar-theme3-main{grid-template-columns:minmax(0,1fr) 42px minmax(80px,.7fr)}
  .fp-calendar-theme3-team{font-size:12px}
}

/* Match explanations use open sections and dividers, without card frames. */
.fp-detail{padding:0}
.fp-detail .fp-hero{background:none;border:0;border-radius:0;padding:20px 0;color:var(--fp-ink)}
.fp-detail .fp-hero:after{display:none}
.fp-detail .fp-hero h1{color:var(--fp-ink)}
.fp-detail .fp-hero h1 em{color:#17563c}
.fp-detail .fp-hero .fp-eyebrow,.fp-detail .fp-hero>p:not(.fp-eyebrow),.fp-detail .fp-hero-footer{color:var(--fp-muted)}
.fp-detail .fp-hero-footer{border-color:var(--fp-line)}
.fp-detail .fp-panel{background:none;border:0;border-top:1px solid var(--fp-line);border-radius:0;padding:24px 0;box-shadow:none}
.fp-detail .fp-note{background:none;border-top:1px solid var(--fp-line);border-radius:0;padding:24px 0}
.fp-detail .fp-stat-cards>div{background:none;border-radius:0;padding:12px 0}
.fp-detail .fp-table-scroll{border:0;border-radius:0}
.fp-detail .fp-pick{background:none;border-radius:0;padding:0}

/* Cached live and final scores occupy the same center position as vs. */
.fp-calendar-vs{white-space:nowrap;font-variant-numeric:tabular-nums}
.fp-calendar-score{font-weight:700}
.fp-calendar-score,.fp-score,[data-fp-detail-score],[data-fp-detail-regular],.fp-calendar-result>span{color:#b45309}

/* Shortcodes pasted into Code/Preformatted blocks must still render as a list.
   The content filter removes dedicated editor wrappers. These rules also cover
   widgets/builders that call do_shortcode directly and bypass the_content. */
.fp-app.fp-calendar-list{white-space:normal;letter-spacing:normal;word-spacing:normal}
pre:has(> .fp-calendar-list:only-child),
pre:has(> code:only-child > .fp-calendar-list:only-child),
code:has(> .fp-calendar-list:only-child){
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;white-space:normal!important;
  overflow:visible!important;
}

/* Match names share one heading row at every screen width. */
.fp-detail .fp-hero h1{display:flex;align-items:center;gap:8px;width:100%;max-width:none;font-size:24px;font-size:clamp(18px,4.8cqw,36px);line-height:1.3;letter-spacing:-.3px;white-space:nowrap;overflow-wrap:normal}
.fp-detail .fp-hero h1 .fp-detail-team-name{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fp-detail .fp-hero h1 .fp-versus{display:block;flex:none;margin:0;font-size:.7em;line-height:inherit;letter-spacing:0}
/* Native GET submission remains available when JavaScript is disabled. */
.fp-calendar[data-auto-submit="1"] button[type="submit"]{display:none}

/* Detail pages remain bounded by the viewport even with theme typography. */
.fp-main{width:100%;max-width:100%;min-width:0}
.fp-app.fp-detail{width:100%;max-width:1000px;min-width:0;margin:14px auto 24px;padding:0 16px;white-space:normal;font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.fp-detail>*{min-width:0;max-width:100%}
.fp-detail .fp-back{margin:0 0 12px;font-size:13px}
.fp-detail .fp-hero{padding:12px 0}
.fp-detail .fp-hero .fp-eyebrow{margin-bottom:6px;letter-spacing:1px;font-size:11px}
.fp-detail .fp-hero>p:not(.fp-eyebrow){margin-top:8px;max-width:none;font-size:13px}
.fp-detail .fp-hero>p.fp-detail-match-intro{margin-top:14px;color:#dce9e5;font-size:14px;line-height:1.55}
.fp-detail .fp-hero-footer{margin-top:12px;padding-top:10px;gap:4px 14px}
.fp-detail .fp-hero h1{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;font-size:clamp(18px,4.8vw,30px)}
.fp-detail .fp-hero h1 .fp-detail-team-name:first-child{text-align:right}
.fp-detail .fp-hero h1 .fp-detail-score{color:#b45309;font-size:.9em;font-variant-numeric:tabular-nums}
.fp-detail .fp-match-tabs{margin:8px 0 14px;border-block:1px solid var(--fp-line)}
.fp-detail .fp-match-tablist{display:flex;gap:0;width:100%;overflow-x:auto;border-bottom:1px solid var(--fp-line);scrollbar-width:thin}
.fp-detail .fp-match-tablist [role=tab]{display:block;flex:1 0 76px;padding:11px 8px;border-bottom:3px solid transparent;margin-bottom:-1px;text-align:center;white-space:nowrap;color:var(--fp-muted);font-size:clamp(13px,3.8vw,18px);font-weight:600;text-decoration:none}
.fp-detail .fp-match-tablist [role=tab][aria-selected=true]{color:var(--fp-ink);border-bottom-color:#16804b}
.fp-detail .fp-match-tabpanel{min-width:0;padding:8px 0 2px}
.fp-detail .fp-match-tabpanel[hidden]{display:none!important}
.fp-detail .fp-hero>p.fp-detail-match-clock{margin:0 0 8px!important;text-align:center;font-size:14px;font-weight:650;line-height:1.3;color:var(--fp-muted)}
.fp-detail .fp-detail-match-clock.fp-detail-clock-live,.fp-detail .fp-detail-match-clock.fp-detail-clock-finished{color:#16803f;font-weight:800}
.fp-detail .fp-finished-link a{color:#17563c;text-decoration:underline;text-underline-offset:3px}
.fp-detail .fp-finished-link{margin:12px 0;font-size:14px}
.fp-detail [hidden]{display:none!important}
.fp-detail .fp-detail-grid,.fp-detail .fp-research-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:0}
.fp-detail .fp-detail-grid>.fp-panel:only-child{grid-column:1/-1}
.fp-detail .fp-panel,.fp-detail .fp-note{padding:14px 0;margin:0}
.fp-detail h2{font-size:21px;line-height:1.35;letter-spacing:-.3px;margin:0 0 12px}
.fp-detail h3{font-size:18px;line-height:1.4}
.fp-detail .fp-panel p:not(.fp-eyebrow){margin-top:12px}
.fp-detail .fp-facts{grid-template-columns:minmax(75px,1fr) minmax(0,2fr);gap:8px 12px}
.fp-detail .fp-facts dd{min-width:0;overflow-wrap:anywhere}
.fp-detail .fp-table-scroll{width:100%;min-width:0;max-width:100%;margin-top:14px}
.fp-detail .fp-comparison{table-layout:fixed;min-width:0}
.fp-detail .fp-comparison th,.fp-detail .fp-comparison td{min-width:0;white-space:normal;overflow-wrap:anywhere}
.fp-detail #fp-recent-form{padding-top:12px;border-top:1px solid var(--fp-line)}
.fp-detail [id]{scroll-margin-top:20px}
@media(max-width:650px){
 .fp-app.fp-detail{margin-top:14px;padding:0 12px;font-size:14px}
 .fp-detail .fp-detail-grid,.fp-detail .fp-research-grid{grid-template-columns:minmax(0,1fr);gap:0}
 .fp-detail .fp-panel,.fp-detail .fp-note{padding:12px 0}
 .fp-detail .fp-hero h1{gap:6px;font-size:clamp(16px,4.8vw,24px)}
 .fp-detail .fp-hero-footer{display:grid;font-size:11px}
 .fp-detail h2{font-size:20px}
}

/* Cached match events, lineups and linked player profiles. */
.fp-event-grid,.fp-lineup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fp-detail .fp-event-grid h3,.fp-detail .fp-lineup-grid h3{margin:0 0 10px}
.fp-detail .fp-event-list,.fp-detail .fp-lineup-list{list-style:none;padding:0;margin:12px 0}
.fp-event-list li{display:grid;grid-template-columns:45px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--fp-line)}
.fp-event-kind,.fp-event-list small{display:block;font-size:12px}
.fp-event-kind{font-weight:650;color:#805020}.fp-event-list small{color:var(--fp-muted)}
.fp-detail .fp-lineup-list li{display:grid;grid-template-columns:28px minmax(0,1fr) 25px;gap:8px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--fp-line)}
.fp-shirt-number{font-variant-numeric:tabular-nums;color:var(--fp-muted)}
.fp-detail .fp-event-list a,.fp-detail .fp-lineup-list a{color:var(--fp-status-link);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.fp-detail .fp-lineup-grid h4{margin:18px 0 8px;font-size:14px}
.fp-player-profile .fp-player-header{display:flex;align-items:center;gap:16px;margin:12px 0 24px}
.fp-player-header>div{min-width:0}.fp-player-profile h1{font-size:clamp(24px,5vw,36px);line-height:1.25;overflow-wrap:anywhere;letter-spacing:-.5px;margin:0}
.fp-player-header .fp-calendar-badge{width:80px;height:80px;flex:none}
.fp-player-profile .fp-player-stats{padding:18px 0;border-bottom:1px solid var(--fp-line)}
.fp-player-profile .fp-player-stats h3{margin:0 0 18px}
@media(max-width:650px){.fp-event-grid,.fp-lineup-grid{grid-template-columns:minmax(0,1fr);gap:16px}.fp-player-header .fp-calendar-badge{width:60px;height:60px}}

/* League directory, competition pages and compact match clocks. */
.fp-league-directory{margin:12px 0 14px}
.fp-league-heading{margin-bottom:7px;text-align:center}
.fp-league-heading .fp-eyebrow,.fp-league-page-heading .fp-eyebrow{color:#52786a;margin-bottom:5px}
.fp-league-heading h2{font-size:22px}
.fp-popular-leagues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.fp-league-chip{display:flex;align-items:center;gap:9px;min-width:0;min-height:62px;padding:9px 10px;border:1px solid var(--fp-line);border-radius:10px;background:#fff}
.fp-league-chip:hover{border-color:#649b88;background:#f8fbf9}
.fp-league-chip>span:last-child{display:grid;min-width:0;line-height:1.35}
.fp-league-chip strong,.fp-league-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fp-league-chip strong{font-size:12px}
.fp-league-chip small{color:var(--fp-muted);font-size:10px}
.fp-league-chip-flag{display:grid;place-items:center;flex:0 0 27px;font-size:21px}
.fp-country-flag{display:inline-block;margin-right:5px;font-size:15px;vertical-align:-1px}
.fp-world-mark{display:inline-grid;place-items:center;width:23px;height:23px;border:1.5px solid #66817a;border-radius:50%;font-size:18px;line-height:1;color:#45665c}
.fp-world-mark circle,.fp-world-mark path{fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}
.fp-league-local{border-color:#a8d2bc;background:#f3fbf6}
.fp-local-missing{border-style:dashed;color:var(--fp-muted)}
.fp-league-tools{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);align-items:stretch;gap:14px;margin-top:12px}
.fp-league-search-area{display:flex;align-items:end;gap:10px;min-width:0}
.fp-league-search{flex:1;min-width:0}
.fp-league-search label,.fp-country-choice label{display:block;margin-bottom:5px;font-size:11px;font-weight:700;color:var(--fp-muted)}
.fp-league-search>div{display:flex;gap:8px}
.fp-league-search input,.fp-country-choice select{min-width:0;min-height:40px;padding:8px 10px;border:1px solid #cbd7d3;border-radius:7px;background:white;color:var(--fp-ink);font:inherit;font-size:13px}
.fp-league-search input{flex:1}
.fp-league-search button,.fp-country-choice button{min-height:40px;padding:8px 14px;border:0;border-radius:7px;background:#17563c;color:white;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.fp-country-choice{min-width:180px}
.fp-country-choice select{width:100%}
.fp-country-choice button{display:block;margin-top:5px}
.fp-outcome-summary-search{min-width:0;margin:0;padding:11px 13px;border:1px solid var(--fp-line);border-radius:9px;background:var(--fp-surface-soft)}
.fp-outcome-summary-search h2{font-size:15px}
.fp-outcome-summary-search .fp-outcome-graph{max-width:none}
.fp-outcome-summary-search .fp-outcome-row{grid-template-columns:minmax(90px,1fr) 48px minmax(70px,1.5fr);gap:7px;font-size:10px}
.fp-outcome-summary-search .fp-outcome-note{font-size:9px}
.fp-other-leagues{margin-top:12px;border:1px solid var(--fp-line);border-radius:10px;background:#fff}
.fp-other-leagues>summary{display:flex;align-items:center;gap:9px;padding:13px 15px;font-size:14px;font-weight:700;cursor:pointer;list-style:none}
.fp-other-leagues>summary::-webkit-details-marker,.fp-country-group>summary::-webkit-details-marker{display:none}
.fp-other-leagues>summary:after,.fp-country-group>summary:after{content:"⌄";margin-left:auto;color:var(--fp-muted)}
.fp-other-leagues[open]>summary:after,.fp-country-group[open]>summary:after{content:"⌃"}
.fp-other-leagues .fp-muted{margin-left:auto}
.fp-country-list{max-height:620px;overflow:auto;border-top:1px solid var(--fp-line)}
.fp-country-group{border-bottom:1px solid #edf1ef}
.fp-country-group>summary{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;list-style:none;font-size:13px;font-weight:650}
.fp-country-group>summary small{margin-left:auto;color:var(--fp-muted);font-size:11px;font-weight:400}
.fp-country-group ul,.fp-search-leagues,.fp-search-fixtures{list-style:none;margin:0;padding:0}
.fp-country-group ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;padding:0 15px 10px 42px}
.fp-country-group li a{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #edf1ef;font-size:12px}
.fp-country-group li a span{color:var(--fp-muted);font-size:10px}
.fp-search-results{padding:15px 0 4px}
.fp-search-results h3{margin:12px 0 7px;font-size:14px}
.fp-search-results>p{color:var(--fp-muted);font-size:12px}
.fp-search-leagues li,.fp-search-fixtures li{border-bottom:1px solid #edf1ef}
.fp-search-leagues a{display:block;padding:8px 2px;font-size:12px}
.fp-search-fixtures li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 2px}
.fp-search-fixtures li>a:first-child{display:grid;min-width:0}
.fp-search-fixtures strong{font-size:12px}
.fp-search-fixtures span,.fp-search-league-link,.fp-search-clear{color:var(--fp-muted);font-size:11px}
.fp-search-clear{display:inline-block;margin-top:12px;text-decoration:underline!important}
.fp-league-update-notice{margin-top:12px!important;padding:11px 13px;border-radius:8px;background:#f0f5f3;color:#516961;font-size:12px}
.fp-league-page{margin:14px 0 24px}
.fp-league-page>.fp-back{margin-bottom:8px}
.fp-league-page-heading{padding:8px 0 12px;border-bottom:1px solid var(--fp-line)}
.fp-league-page-heading .fp-eyebrow{font-size:11px;letter-spacing:.7px}
.fp-league-page-heading h1{font-size:clamp(26px,5vw,38px);line-height:1.2;letter-spacing:-.8px}
.fp-league-page-heading>p:last-child{margin-top:6px;color:var(--fp-muted);font-size:13px}
.fp-league-fixture-section,.fp-league-table{margin-top:15px}
.fp-league-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:5px}
.fp-league-section-title h2{font-size:20px}
.fp-league-section-title>span{color:var(--fp-muted);font-size:11px}
.fp-league-fixtures{border-top:1px solid var(--fp-line)}
.fp-league-fixture{display:grid;grid-template-columns:100px minmax(0,1fr) 115px;align-items:center;gap:12px;padding:10px 8px;border-bottom:1px solid var(--fp-line)}
.fp-league-fixture:hover{background:#f7faf8}
.fp-league-match-time{display:grid;align-content:center;gap:2px;color:#315647;font-size:12px;font-weight:750;font-variant-numeric:tabular-nums}
.fp-league-match-time>span:last-child{color:var(--fp-muted);font-size:10px;font-weight:400}
.fp-league-clock{white-space:nowrap;font-weight:800}
.fp-league-fixture[data-fp-group="0"] .fp-league-clock{color:#16803f}
.fp-league-match-teams{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.fp-league-team{display:flex;align-items:center;gap:8px;min-width:0}
.fp-league-team strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.fp-league-away{justify-content:flex-end}
.fp-league-away strong{text-align:right}
.fp-league-team .fp-calendar-badge{width:26px;height:26px;flex:0 0 26px}
.fp-league-team .fp-calendar-badge img{width:100%;height:100%;object-fit:contain}
.fp-league-score{text-align:center;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.fp-league-match-meta{display:flex;justify-content:flex-end;gap:7px;align-items:center;color:var(--fp-muted);font-size:10px;text-align:right}
.fp-league-match-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fp-league-empty{padding:13px 0;border-bottom:1px solid var(--fp-line);color:var(--fp-muted);font-size:12px}
.fp-league-pagination{flex-wrap:wrap}
.fp-league-table .fp-table-scroll{margin-top:10px;overflow:auto}
.fp-league-table .fp-data-table{width:100%;border-collapse:collapse;font-size:12px}
.fp-league-table .fp-data-table th,.fp-league-table .fp-data-table td{padding:8px;border-bottom:1px solid var(--fp-line);text-align:right;white-space:nowrap}
.fp-league-table .fp-data-table th:nth-child(2),.fp-league-table .fp-data-table td:nth-child(2){text-align:left}
.fp-league-table .fp-data-table caption{text-align:left;padding:8px 0;font-weight:700}
.fp-detail .fp-hero h1 .fp-detail-team{display:flex;align-items:center;gap:8px;min-width:0;font-size:.85em}
.fp-detail .fp-hero h1 .fp-detail-home{justify-content:flex-end}
.fp-detail .fp-hero h1 .fp-detail-away{justify-content:flex-start}
.fp-detail .fp-hero h1 .fp-detail-team-name:first-child{text-align:inherit}
.fp-detail .fp-detail-team .fp-calendar-badge{width:34px;height:34px;flex:0 0 34px}
.fp-detail .fp-detail-team .fp-calendar-badge img{width:100%;height:100%;object-fit:contain}
.fp-calendar-clock{font-weight:700;color:#315647}
.fp-calendar-match[data-fp-group="0"] .fp-calendar-clock{color:#16803f;font-weight:800}
@media(max-width:620px){
 .fp-league-tools{align-items:stretch;flex-direction:column}
 .fp-country-choice{display:flex;align-items:end;gap:8px}
 .fp-country-choice label{flex:1}
 .fp-country-choice select{flex:2}
 .fp-country-choice button{display:block}
 .fp-league-fixture{grid-template-columns:72px minmax(0,1fr);gap:6px 8px;padding-inline:3px}
 .fp-league-match-meta{grid-column:2;justify-content:flex-start;text-align:left}
 .fp-league-match-teams{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:4px}
 .fp-league-team{gap:4px}
 .fp-league-team strong{font-size:11px}
 .fp-league-team .fp-calendar-badge{width:21px;height:21px;flex-basis:21px}
}
@media(max-width:390px){
 .fp-league-chip{gap:5px;padding:7px 5px;min-height:56px}
 .fp-league-chip strong{font-size:10px}
 .fp-league-chip small{font-size:9px}
 .fp-league-chip-flag{flex-basis:22px;font-size:17px}
 .fp-country-group ul{grid-template-columns:1fr}
 .fp-detail .fp-hero h1 .fp-detail-team{gap:4px;font-size:.76em}
 .fp-detail .fp-detail-team .fp-calendar-badge{width:25px;height:25px;flex-basis:25px}
}

/* Clickable page paths and team profiles. */
.fp-breadcrumb{margin:0 0 10px;color:var(--fp-muted);font-size:12px}
.fp-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:5px;list-style:none;margin:0;padding:0}
.fp-breadcrumb a{text-decoration:underline!important;text-underline-offset:3px}
.fp-breadcrumb a[aria-current=page]{color:var(--fp-ink);font-weight:650}
.fp-breadcrumb-separator{color:var(--fp-muted)}
.fp-detail .fp-breadcrumb{margin-bottom:8px}
.fp-detail .fp-hero h1 .fp-detail-team-name{color:inherit;text-decoration:underline!important;text-decoration-color:transparent!important;text-underline-offset:4px}
.fp-detail .fp-hero h1 .fp-detail-team-name:hover{text-decoration-color:currentColor!important}
.fp-calendar-team-link:hover,.fp-league-team-link:hover{text-decoration:underline!important;text-underline-offset:2px}
.fp-league-team-link{display:block;overflow:hidden;text-overflow:ellipsis}
.fp-league-open{flex:none;text-decoration:underline!important;text-underline-offset:2px}
.fp-league-table-team:hover{text-decoration:underline!important;text-underline-offset:2px}
.fp-team-heading{display:flex;align-items:center;gap:14px;margin:8px 0 18px;padding-bottom:12px;border-bottom:1px solid var(--fp-line)}
.fp-team-heading .fp-calendar-badge{width:60px;height:60px;flex:0 0 60px}
.fp-team-heading .fp-calendar-badge img{width:100%;height:100%;object-fit:contain}
.fp-team-heading h1{font-size:clamp(25px,4vw,36px);line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere}
.fp-team-fixture-section,.fp-match-team-fixtures{margin-top:18px}
.fp-team-fixture-section h2,.fp-match-team-fixtures>h2{margin:0 0 8px;font-size:20px}
.fp-team-fixtures{border-top:1px solid var(--fp-line)}
.fp-team-fixture{display:grid;grid-template-columns:minmax(95px,.5fr) minmax(0,1fr) 70px minmax(90px,.65fr);gap:12px;align-items:center;padding:10px 4px;border-bottom:1px solid var(--fp-line);font-size:13px}
.fp-team-fixture:hover{background:var(--fp-surface-soft)}
.fp-team-fixture-clock{font-weight:700;font-variant-numeric:tabular-nums}
.fp-team-fixture-clock small{display:block;color:var(--fp-muted);font-size:10px;font-weight:400}
.fp-team-fixture[data-fp-group="0"] .fp-team-fixture-clock{color:#16803f;font-weight:800}
.fp-team-fixture-opponent{display:flex;align-items:center;gap:8px;min-width:0}
.fp-team-fixture-opponent .fp-calendar-badge{width:25px;height:25px;flex:0 0 25px}
.fp-team-fixture-opponent .fp-calendar-badge img{width:100%;height:100%;object-fit:contain}
.fp-team-fixture-opponent .fp-team-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fp-team-fixture-score{text-align:center;font-size:14px;font-variant-numeric:tabular-nums}
.fp-team-fixture-competition{color:var(--fp-muted);font-size:11px;text-align:right}
.fp-team-empty{padding:10px 0;color:var(--fp-muted);font-size:12px}
.fp-match-team-fixtures{padding-top:12px;border-top:1px solid var(--fp-line)}
.fp-match-team-fixture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.fp-match-team-fixture-column{min-width:0}
.fp-match-team-fixture-column h3{margin:0 0 8px;font-size:15px}
.fp-team-fixture-heading{text-decoration:underline!important;text-underline-offset:3px}
.fp-match-team-fixture-column .fp-team-fixture{grid-template-columns:minmax(75px,.45fr) minmax(0,1fr) 55px}
.fp-match-team-fixture-column .fp-team-fixture-competition{display:none}

/* Quick date links sit above popular leagues; date and sort controls follow the summary. */
.fp-calendar-above-popular{width:100%;margin:0 0 14px}
.fp-calendar-after-summary{width:100%;margin:12px 0 14px;overflow-x:auto}
.fp-calendar-after-summary .fp-calendar{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:8px;width:max-content;min-width:100%;margin:0;padding:0;border:0;background:transparent}
.fp-calendar-after-summary .fp-calendar-controls{display:flex;flex:0 0 auto;align-items:center;flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:max-content;min-width:0;margin:0}
.fp-calendar{gap:8px}
.fp-calendar-shortcuts{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;flex:0 0 auto;width:100%}
.fp-calendar-shortcuts>a{display:grid;flex:1 1 0;max-width:220px;min-width:0;gap:2px;padding:8px 10px;border:1px solid var(--fp-line);border-radius:9px;background:var(--fp-surface);line-height:1.25;color:var(--fp-ink);font-size:14px;text-align:center;justify-items:center;text-decoration:none}
.fp-calendar-shortcuts>a span{font-size:15px;font-weight:800;white-space:nowrap}
.fp-calendar-shortcuts>a:hover,.fp-calendar-shortcuts>a:focus-visible{border-color:var(--fp-green);background:var(--fp-surface-soft);text-decoration:none}
.fp-calendar-shortcuts>a.fp-calendar-shortcut-today{border-color:var(--fp-green);background:var(--fp-surface-soft);color:var(--fp-ink)}
.fp-calendar-shortcuts>a.fp-calendar-shortcut-today span{color:#16803f}
.fp-calendar-shortcuts .rs-live-score-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;border:1px solid var(--fp-green);background:var(--fp-green);color:var(--fp-ink);font-weight:800}
.fp-calendar-shortcuts .rs-live-score-link strong{color:var(--fp-ink);font-weight:900}
.fp-calendar-shortcuts .rs-live-score-link .rs-live-score-count{background:var(--fp-ink);color:var(--fp-green)}
.fp-calendar-controls{width:100%;margin-left:0;justify-content:space-between;flex-wrap:wrap}
@media(max-width:760px){.fp-league-tools{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.fp-league-search-area{align-items:stretch;flex-direction:column}.fp-country-choice{min-width:0;width:100%}}

/* Small accessible bar graph for yesterday's settled prediction outcomes. */
.fp-outcome-summary{margin:10px 0 14px;padding:10px 0 12px;border-bottom:1px solid var(--fp-line)}
.fp-outcome-summary h2{font-size:17px;line-height:1.3;margin:0}
.fp-outcome-date{margin:3px 0 8px!important;color:var(--fp-muted);font-size:10px}
.fp-outcome-graph{display:grid;gap:5px;max-width:620px}
.fp-outcome-row{display:grid;grid-template-columns:minmax(100px,1.15fr) 54px minmax(90px,3fr);gap:10px;align-items:center;font-size:11px}
.fp-outcome-row>strong{text-align:right;font-variant-numeric:tabular-nums}
.fp-outcome-row>strong small{color:var(--fp-muted);font-size:10px;font-weight:500}
.fp-outcome-track{height:8px;overflow:hidden;background:var(--fp-surface-soft);border-radius:8px}
.fp-outcome-fill{display:block;height:100%;min-width:0;border-radius:inherit;transition:width .2s ease}
.fp-outcome-total{background:#979797}
.fp-outcome-won{background:#1f74ad}
.fp-outcome-lost{background:#e98e2e}
.fp-outcome-note{margin:7px 0 0!important;color:var(--fp-muted);font-size:10px}

/* Spacious but unframed popular-league shortcuts with circular flags. */
.fp-league-heading{margin-bottom:4px}
.fp-popular-leagues{gap:2px 10px}
.fp-league-chip{min-height:48px;padding:5px 3px;border:0;border-radius:0;background:transparent}
.fp-league-chip:hover{border:0;background:var(--fp-surface-soft)}
.fp-league-chip-flag{flex:0 0 30px;width:30px;height:30px;border-radius:50%;overflow:hidden;background:var(--fp-surface-soft);font-size:19px}
.fp-league-chip-flag .fp-country-flag{margin:0;font-size:17px;line-height:1}
.fp-league-chip-flag .fp-world-mark{width:22px;height:22px}
.fp-league-local{background:transparent}
.fp-local-missing{border:0}
.fp-league-directory{margin:7px 0 10px}
.fp-league-tools{margin-top:7px}
.fp-other-leagues{margin-top:7px;border:0;border-radius:0;background:transparent}
.fp-other-leagues>summary{padding:8px 3px;border-top:1px solid var(--fp-line);border-bottom:1px solid var(--fp-line)}
.fp-league-page>.fp-breadcrumb{margin-bottom:3px}
.fp-league-page-heading{padding:5px 0 9px}
.fp-league-fixture-section,.fp-league-table{margin-top:10px}

/* Shared, contrast-safe palette. Explicit site modes override the OS preference. */
.fp-app{
 --fp-surface:#fff;--fp-surface-soft:#f0f5f3;--fp-border-soft:#e4eae7;
 --fp-readable-muted:#4e605a;--fp-readable-clock:#415c51;
 --fp-status-good:#166b39;--fp-status-bad:#a51f2d;--fp-status-link:#17563c;
 --fp-status-score:#934900;--fp-pick-surface:#e9f7ee;--fp-pick-text:#17563c;
 --fp-highlight-surface:#e9f7ee;--fp-highlight-text:#122c32;
 --fp-standing-header:#eceff1;--fp-standing-alt:#edf6fd;--fp-standing-rank:#0b4f82;
 --fp-confidence-surface:#cef6d5;--fp-confidence-text:#146b39;color-scheme:light
}
@media(prefers-color-scheme:dark){
 .fp-app:not([data-theme="light"]){
  --fp-ink:#e5efeb;--fp-muted:#bdcac4;--fp-line:#394d45;--fp-surface:#14201c;
  --fp-surface-soft:#1c2a25;--fp-border-soft:#31443c;--fp-green:#9cebb3;
  --fp-readable-muted:#bdcac4;--fp-readable-clock:#b7d7c5;
  --fp-status-good:#80e0a0;--fp-status-bad:#ff9a9f;--fp-status-link:#a6ecc0;
  --fp-status-score:#f5c078;--fp-pick-surface:#1d3528;--fp-pick-text:#9cebb3;
  --fp-highlight-surface:#244334;--fp-highlight-text:#e5efeb;
  --fp-standing-header:#202c27;--fp-standing-alt:#192c36;--fp-standing-rank:#176a9f;
  --fp-confidence-surface:#234b35;--fp-confidence-text:#a3eeb9;color-scheme:dark
 }
}
:is(.dark,.dark-mode,.dark-theme,.theme-dark,[data-theme="dark"],[data-color-scheme="dark"],[data-bs-theme="dark"],[data-mode="dark"],.wp-dark-mode,.wp-dark-mode-active) .fp-app{
 --fp-ink:#e5efeb;--fp-muted:#bdcac4;--fp-line:#394d45;--fp-surface:#14201c;
 --fp-surface-soft:#1c2a25;--fp-border-soft:#31443c;--fp-green:#9cebb3;
 --fp-readable-muted:#bdcac4;--fp-readable-clock:#b7d7c5;
 --fp-status-good:#80e0a0;--fp-status-bad:#ff9a9f;--fp-status-link:#a6ecc0;
 --fp-status-score:#f5c078;--fp-pick-surface:#1d3528;--fp-pick-text:#9cebb3;
 --fp-highlight-surface:#244334;--fp-highlight-text:#e5efeb;
 --fp-standing-header:#202c27;--fp-standing-alt:#192c36;--fp-standing-rank:#176a9f;
 --fp-confidence-surface:#234b35;--fp-confidence-text:#a3eeb9;color-scheme:dark
}
:is(.light,.light-mode,.light-theme,.theme-light,[data-theme="light"],[data-color-scheme="light"],[data-bs-theme="light"],[data-mode="light"],.wp-light-mode) .fp-app{
 --fp-ink:#122c32;--fp-muted:#5c7075;--fp-line:#dce6e4;--fp-surface:#fff;
 --fp-surface-soft:#f0f5f3;--fp-border-soft:#e4eae7;--fp-green:#b5f5ca;
 --fp-readable-muted:#4e605a;--fp-readable-clock:#415c51;
 --fp-status-good:#166b39;--fp-status-bad:#a51f2d;--fp-status-link:#17563c;
 --fp-status-score:#934900;--fp-pick-surface:#e9f7ee;--fp-pick-text:#17563c;
 --fp-highlight-surface:#e9f7ee;--fp-highlight-text:#122c32;
 --fp-standing-header:#eceff1;--fp-standing-alt:#edf6fd;--fp-standing-rank:#0b4f82;
 --fp-confidence-surface:#cef6d5;--fp-confidence-text:#146b39;color-scheme:light
}
.fp-app .fp-calendar-match,.fp-app .fp-card,.fp-app .fp-panel,.fp-app .fp-league-chip,.fp-app .fp-other-leagues{background-color:var(--fp-surface)}
.fp-app .fp-calendar-match:hover,.fp-app .fp-league-chip:hover,.fp-app .fp-league-fixture:hover{background-color:var(--fp-surface-soft)}
.fp-app .fp-league-local{background-color:transparent}
.fp-app .fp-calendar input[type=date],.fp-app .fp-league-search input,.fp-app .fp-country-choice select{background-color:var(--fp-surface);color:var(--fp-ink);border-color:var(--fp-line)}
.fp-app .fp-calendar select[name=fp_sort]{background-color:var(--fp-surface);color:var(--fp-ink);border-color:var(--fp-line)}
.fp-app .fp-calendar button{background-color:var(--fp-surface-soft);color:var(--fp-ink);border-color:var(--fp-line)}
.fp-app.fp-calendar-list,.fp-app .fp-data-table{color:var(--fp-ink)}
.fp-app .fp-calendar-group,.fp-app .fp-calendar-time,.fp-app .fp-calendar-note,.fp-app .fp-outcome-date,.fp-app .fp-outcome-note,
.fp-app .fp-facts dt,.fp-app .fp-stat-team-names,.fp-app .fp-match-stat-table thead th{color:var(--fp-readable-muted)}
.fp-app .fp-league-update-notice{background-color:var(--fp-surface-soft);color:var(--fp-readable-muted)}
.fp-app .fp-stat-cards>div,.fp-app .fp-data-table caption,.fp-app .fp-data-table thead th{background-color:var(--fp-surface-soft)}
.fp-app .fp-data-table th,.fp-app .fp-data-table td,.fp-app .fp-country-group li a,.fp-app .fp-search-leagues li,.fp-app .fp-search-fixtures li{border-color:var(--fp-border-soft)}

/* Centered prediction followed by a live/final home-vs-away stat comparison. */
.fp-detail .fp-prediction-panel{text-align:center}
.fp-detail .fp-prediction-panel h2{text-align:center;margin-bottom:10px}
.fp-detail .fp-prediction-panel>.fp-pick{justify-content:center}
.fp-detail .fp-prediction-panel p{margin:10px 0 0}
.fp-detail .fp-match-statistics{border-top:1px solid var(--fp-line)}
.fp-stat-team-names{display:flex;justify-content:space-between;gap:16px;font-size:13px;font-weight:650;color:var(--fp-muted);margin:0 0 10px!important}
.fp-stat-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.fp-match-stat-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;line-height:1.35}
.fp-match-stat-table th,.fp-match-stat-table td{width:34%;padding:8px 10px;border-bottom:1px solid var(--fp-line);vertical-align:middle}
.fp-match-stat-table thead th{font-size:11px;color:var(--fp-muted);font-weight:600}
.fp-match-stat-table th[scope=row]{width:32%;text-align:center;font-weight:600;overflow-wrap:anywhere}
.fp-match-stat-table td:first-child{text-align:right}
.fp-match-stat-table td:last-child{text-align:left}
.fp-match-stat-table td strong{font-variant-numeric:tabular-nums}
.fp-stat-bar{display:block;height:5px;max-width:100%;margin-top:4px;background:var(--fp-line);border-radius:99px;overflow:hidden}
.fp-stat-bar i{display:block;height:100%;border-radius:inherit}
.fp-stat-bar-home i{margin-left:auto;background:#22a05a}
.fp-stat-bar-away i{background:#2980c5}
.fp-detail .fp-match-information{margin-top:0}

/* Match detail theme variants reuse one set of match data without repeating sections. */
.fp-detail .fp-detail-league-flag{display:inline-flex;vertical-align:middle;align-items:center;margin-right:7px}
.fp-detail .fp-detail-league-flag>.fp-country-flag,.fp-detail .fp-detail-league-flag>.fp-world-mark{width:19px;height:14px;font-size:15px}

/* Theme 2: a compact, centered match report with a light match header. */
.fp-detail-theme-2 .fp-hero{
  padding:16px;
  border:1px solid var(--fp-line);
  border-radius:8px;
  background:var(--fp-surface);
}
.fp-detail-theme-2 .fp-hero .fp-eyebrow{display:flex;align-items:center;margin-bottom:7px}
.fp-detail-theme-2 .fp-hero h1{gap:10px;font-size:clamp(18px,4vw,29px)}
.fp-detail-theme-2 .fp-hero h1 .fp-versus{font-size:.72em}
.fp-detail-theme-2 .fp-hero>p.fp-detail-match-intro{margin-top:12px;font-size:13px}
.fp-detail-theme-2 .fp-hero-footer{margin-top:10px}
.fp-detail-theme-2 .fp-panel,.fp-detail-theme-2 .fp-note{
  padding:16px;
  margin:12px 0;
  border:1px solid var(--fp-line);
  border-radius:8px;
  background:var(--fp-surface);
}
.fp-detail-theme-2 .fp-match-tabs{margin-top:14px}
.fp-detail-theme-2 .fp-match-tablist [role=tab]{font-size:14px}

/* Theme 3: league band and stacked team rows, matching its fixture-card layout. */
.fp-detail-theme-3 .fp-hero{
  display:flex;
  flex-direction:column;
  gap:0;
  padding:0;
  border:1px solid var(--fp-line);
  border-radius:5px;
  background:var(--fp-surface);
  overflow:hidden;
}
.fp-detail-theme-3 .fp-hero .fp-eyebrow{
  display:flex;
  align-items:center;
  min-height:42px;
  margin:0;
  padding:7px 12px;
  background:var(--fp-surface-soft);
  border-bottom:1px solid var(--fp-line);
  letter-spacing:0;
  font-size:14px;
}
.fp-detail-theme-3 .fp-hero>p.fp-detail-match-clock{margin:9px 12px 0!important}
.fp-detail-theme-3 .fp-hero h1{
  display:grid;
  grid-template-columns:minmax(0,1fr) 68px;
  grid-template-areas:"home score" "away score";
  gap:0 10px;
  padding:8px 12px;
  font-size:clamp(16px,4vw,23px);
}
.fp-detail-theme-3 .fp-hero h1 .fp-detail-home{grid-area:home;justify-content:flex-start}
.fp-detail-theme-3 .fp-hero h1 .fp-detail-away{grid-area:away;justify-content:flex-start}
.fp-detail-theme-3 .fp-hero h1 .fp-detail-team-name:first-child{text-align:left}
.fp-detail-theme-3 .fp-hero h1 .fp-versus{
  grid-area:score;
  display:grid;
  place-items:center;
  min-height:68px;
  margin:0;
  background:var(--fp-surface-soft);
  border-inline:1px solid var(--fp-line);
  color:var(--fp-ink);
  font-size:1.05em;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.fp-detail-theme-3 .fp-hero h1 .fp-detail-score{color:#16803f}
.fp-detail-theme-3 .fp-hero>p.fp-detail-match-intro{margin:3px 12px 8px;font-size:12px}
.fp-detail-theme-3 .fp-hero>p.fp-brand,.fp-detail-theme-3 .fp-hero>p:not(.fp-eyebrow):not(.fp-detail-match-clock):not(.fp-detail-match-intro){margin:0;padding:0 12px 7px;font-size:11px}
.fp-detail-theme-3 .fp-hero-footer{margin:0;padding:7px 12px;border-top:1px solid var(--fp-line)}
.fp-detail-theme-3 .fp-panel,.fp-detail-theme-3 .fp-note{
  padding:16px;
  margin:12px 0;
  border:1px solid var(--fp-line);
  border-radius:5px;
  background:var(--fp-surface);
}
.fp-detail-theme-3 .fp-match-tabs{margin-top:12px}
.fp-detail-theme-3 .fp-match-tablist [role=tab][aria-selected=true]{border-bottom-color:#16804b}
@media(max-width:480px){
  .fp-detail-theme-2 .fp-hero{padding:12px}
  .fp-detail-theme-2 .fp-hero h1{gap:5px;font-size:clamp(15px,4vw,21px)}
  .fp-detail-theme-2 .fp-panel,.fp-detail-theme-2 .fp-note,
  .fp-detail-theme-3 .fp-panel,.fp-detail-theme-3 .fp-note{padding:12px}
  .fp-detail-theme-3 .fp-hero .fp-eyebrow{min-height:36px;padding:5px 8px;font-size:12px}
  .fp-detail-theme-3 .fp-hero h1{grid-template-columns:minmax(0,1fr) 52px;gap:0 6px;padding:6px 8px;font-size:15px}
  .fp-detail-theme-3 .fp-detail-team .fp-calendar-badge{width:22px;height:22px;flex-basis:22px}
  .fp-detail-theme-3 .fp-hero h1 .fp-versus{min-height:60px}
}
@media(max-width:430px){
 .fp-match-stat-table{font-size:12px}
 .fp-match-stat-table th,.fp-match-stat-table td{padding:7px 5px}
 .fp-match-stat-table thead th{font-size:10px}
 .fp-stat-team-names{font-size:12px}
}
@media(max-width:620px){
  .fp-calendar{align-items:stretch;flex-wrap:nowrap}
  .fp-calendar-shortcuts{gap:5px}
   .fp-calendar-shortcuts{flex:0 0 auto;width:100%}
  .fp-calendar-shortcuts>a{flex:1 1 0;padding:7px 5px}
  .fp-calendar-shortcuts>a span{font-size:12px}
    .fp-calendar-controls{width:100%;margin-left:0;justify-content:space-between;flex-wrap:wrap}
 .fp-calendar input[type=date]{width:118px}
  .fp-calendar select[name=fp_sort]{width:120px}
 .fp-match-team-fixture-grid{grid-template-columns:minmax(0,1fr)}
 .fp-team-fixture{grid-template-columns:minmax(82px,.45fr) minmax(0,1fr) 55px;gap:8px}
 .fp-team-fixture-competition{display:none}
}
@media(max-width:400px){
 .fp-calendar{gap:5px}
  .fp-calendar-shortcuts{gap:3px}
  .fp-calendar-shortcuts>a{padding:6px 3px}
 }
@media(max-width:350px){
  .fp-calendar{flex-wrap:wrap}
  .fp-calendar-shortcuts{flex:1 0 100%}
 .fp-calendar-controls{gap:3px}
 .fp-calendar input[type=date]{width:108px}
  .fp-calendar select[name=fp_sort]{width:100px}
 }
@media(max-width:400px){
 .fp-outcome-row{grid-template-columns:minmax(82px,1fr) 46px minmax(70px,1.5fr);gap:6px;font-size:10px}
 .fp-league-chip{min-height:45px}
 .fp-league-chip-flag{flex-basis:25px;width:25px;height:25px;font-size:16px}
 .fp-calendar select[name=fp_sort]{width:108px;font-size:11px}
}
/* Keep secondary text and result states readable in either palette. */
.fp-app .fp-calendar-group,.fp-app .fp-calendar-time,.fp-app .fp-calendar-note,
.fp-app .fp-calendar-clock,.fp-app .fp-calendar-vs,.fp-app .fp-league-match-time,
.fp-app .fp-team-fixture-clock,.fp-app .fp-team-fixture-clock small,
.fp-app .fp-team-fixture-competition,.fp-app .fp-row-meta,.fp-app .fp-row-pending,
.fp-app .fp-card-top,.fp-app .fp-calendar-card-datetime,.fp-app .fp-calendar-card-clock,
.fp-app .fp-calendar-theme3-prediction .fp-calendar-unpredicted,
.fp-app .fp-outcome-date,.fp-app .fp-outcome-note,.fp-app .fp-facts dt,
.fp-app .fp-stat-team-names,.fp-app .fp-match-stat-table thead th,
.fp-app .fp-league-chip small,.fp-app .fp-stat-cards span,
.fp-app .fp-chart figcaption,.fp-app .fp-goal-comparison figcaption,
.fp-app .fp-data-table small,.fp-app .fp-results-table td:nth-child(1),
.fp-app .fp-results-table td:nth-child(3),.fp-app .fp-league-heading .fp-eyebrow,
.fp-app .fp-league-page-heading .fp-eyebrow,.fp-app .fp-section-heading .fp-eyebrow,
.fp-app .fp-calendar-badge,.fp-app .fp-badge-initials{color:var(--fp-readable-muted)}
.fp-app .fp-calendar-score,.fp-app .fp-score,.fp-app [data-fp-detail-score],
.fp-app [data-fp-detail-regular],.fp-app .fp-calendar-result>span,
.fp-app .fp-event-kind,.fp-app .fp-conceded{color:var(--fp-status-score)}
.fp-app .fp-result-won,.fp-app .fp-calendar-shortcuts>a.fp-calendar-shortcut-today span,
.fp-app .fp-calendar-confidence,.fp-app .fp-market strong,.fp-app .fp-stat-cards strong,
.fp-app .fp-confidence,.fp-app .fp-card-bottom>span,.fp-app .fp-scored,
.fp-app .fp-detail .fp-detail-match-clock.fp-detail-clock-live,
.fp-app .fp-detail .fp-detail-match-clock.fp-detail-clock-finished,
.fp-app .fp-detail-theme-3 .fp-hero h1 .fp-detail-score,
.fp-app.fp-calendar-theme-2 .fp-calendar-confidence,
.fp-app.fp-calendar-theme-3 .fp-calendar-theme3-score .fp-calendar-vs.fp-calendar-score{color:var(--fp-status-good)}
.fp-app .fp-confidence{background:var(--fp-confidence-surface)}
.fp-app .fp-confidence,.fp-app .fp-calendar-confidence{color:var(--fp-confidence-text)}
.fp-app .fp-league-fixture[data-fp-group="0"] .fp-league-clock,
.fp-app .fp-calendar-match[data-fp-group="0"] .fp-calendar-clock,
.fp-app .fp-team-fixture[data-fp-group="0"] .fp-team-fixture-clock{color:var(--fp-status-good);font-weight:800}
.fp-app .fp-result-lost{color:var(--fp-status-bad)}
.fp-app .fp-result-pending{color:var(--fp-readable-muted)}
.fp-app{
 --fp-shortcut-bg:#fff;--fp-shortcut-text:#142820;--fp-shortcut-border:#d7e1db;
 --fp-shortcut-active:#17663f;--fp-shortcut-count-bg:#d4ef83;--fp-shortcut-count-text:#102d26
}
@media(prefers-color-scheme:dark){
 .fp-app:not([data-theme="light"]){
  --fp-shortcut-bg:#0d281f;--fp-shortcut-text:#f1f7f3;--fp-shortcut-border:#395449;
  --fp-shortcut-active:#9cebb3;--fp-shortcut-count-bg:#d4ef83;--fp-shortcut-count-text:#102d26
 }
}
:is(.dark,.dark-mode,.dark-theme,.theme-dark,[data-theme="dark"],[data-color-scheme="dark"],[data-bs-theme="dark"],[data-mode="dark"],.wp-dark-mode,.wp-dark-mode-active) .fp-app{
 --fp-shortcut-bg:#0d281f;--fp-shortcut-text:#f1f7f3;--fp-shortcut-border:#395449;
 --fp-shortcut-active:#9cebb3;--fp-shortcut-count-bg:#d4ef83;--fp-shortcut-count-text:#102d26
}
:is(.light,.light-mode,.light-theme,.theme-light,[data-theme="light"],[data-color-scheme="light"],[data-bs-theme="light"],[data-mode="light"],.wp-light-mode) .fp-app{
 --fp-shortcut-bg:#fff;--fp-shortcut-text:#142820;--fp-shortcut-border:#d7e1db;
 --fp-shortcut-active:#17663f;--fp-shortcut-count-bg:#d4ef83;--fp-shortcut-count-text:#102d26
}
.fp-app .fp-calendar-shortcuts>a,.fp-app .fp-calendar-shortcuts .rs-live-score-link{
 box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) auto;align-content:center;align-items:center;justify-items:center;
 height:64px;min-height:64px;max-height:64px;padding:6px 5px;border:1px solid var(--fp-shortcut-border);
 border-radius:9px;background:var(--fp-shortcut-bg);color:var(--fp-shortcut-text);font-weight:850;line-height:1.1
}
.fp-app .fp-calendar-shortcuts>a span,.fp-app .fp-calendar-shortcuts .rs-live-score-link strong{
 align-self:center;color:var(--fp-shortcut-text);font-size:14px;font-weight:900
}
.fp-app .fp-calendar-shortcuts .fp-calendar-shortcut-count{
 color:var(--fp-shortcut-text);font-size:11px;font-weight:850
}
.fp-app .fp-calendar-shortcuts>a.fp-calendar-shortcut-today{
 border-color:var(--fp-shortcut-active);background:var(--fp-shortcut-bg);color:var(--fp-shortcut-text)
}
.fp-app .fp-calendar-shortcuts>a.fp-calendar-shortcut-today span{color:var(--fp-shortcut-active)}
.fp-app .fp-calendar-shortcuts .rs-live-score-link .rs-live-score-count{
 min-width:20px;height:20px;background:var(--fp-shortcut-count-bg);color:var(--fp-shortcut-count-text);font-size:11px;font-weight:900
}
.fp-app .fp-detail .fp-hero h1 em,
.fp-app .fp-detail .fp-match-tablist [role=tab][aria-selected=true],
.fp-app .fp-detail .fp-finished-link a,.fp-app .fp-detail .fp-event-list a,
.fp-app .fp-detail .fp-lineup-list a,.fp-app .fp-note strong{color:var(--fp-status-link)}
.fp-app.fp-detail .fp-hero>p.fp-detail-match-intro{color:var(--fp-ink)}
.fp-app .fp-back{color:var(--fp-status-link)!important}
.fp-app .fp-pick{background:var(--fp-pick-surface);color:var(--fp-pick-text)}
.fp-app .fp-pick.fp-pick-empty{background:var(--fp-surface-soft);color:var(--fp-readable-muted)}
.fp-app .fp-highlight-team{background:var(--fp-highlight-surface);color:var(--fp-highlight-text)}
.fp-app .fp-list-heading h1,.fp-app .fp-row-heading{color:var(--fp-ink)}
.fp-app .fp-list-heading p{color:var(--fp-readable-muted)}
.fp-app .fp-match-row{background:var(--fp-surface)}
.fp-app .fp-match-row:nth-child(even){background:var(--fp-surface-soft)}
.fp-app .fp-prediction{background:var(--fp-surface)}
.fp-app .fp-prediction:nth-child(even){background:var(--fp-surface-soft)}
.fp-app .fp-list .fp-note{background:var(--fp-surface-soft);color:var(--fp-readable-muted)}
.fp-app .fp-world-mark{color:var(--fp-readable-muted);border-color:var(--fp-readable-muted)}
.fp-app .fp-detail-match-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(135px,.32fr);align-items:center;gap:12px}
.fp-app .fp-detail-match-row h1{min-width:0}
.fp-app .fp-detail-match-prediction{display:grid;gap:4px;min-width:0;padding:10px 12px;border:1px solid var(--fp-border-soft);border-radius:8px;background:var(--fp-surface-soft);color:var(--fp-ink);text-align:center;line-height:1.35}
.fp-app .fp-detail-prediction-heading{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.fp-app .fp-detail-prediction-heading>span{color:var(--fp-readable-muted);font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.fp-app .fp-detail-prediction-heading>.fp-detail-result{font-size:12px;font-weight:800}
.fp-app .fp-detail-pick-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.fp-app .fp-detail-pick-row .fp-detail-result{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;font-size:13px;font-weight:800}
.fp-app .fp-detail-pick-row .fp-detail-result[hidden]{display:none}
.fp-app .fp-detail-match-prediction .fp-detail-result.fp-result-won{color:var(--fp-status-good)}
.fp-app .fp-detail-match-prediction .fp-detail-result.fp-result-lost{color:var(--fp-status-bad)}
.fp-app .fp-detail-match-prediction .fp-detail-result.fp-result-pending{color:var(--fp-readable-muted)}
.fp-app.fp-detail .fp-event-kind{color:var(--fp-status-score)}
.fp-app .fp-detail-match-prediction>strong{font-size:14px;overflow-wrap:anywhere}
.fp-app .fp-detail-match-prediction .fp-pick{justify-content:center;margin:0;color:var(--fp-pick-text)}
.fp-detail .fp-match-statistics>h2{text-align:center}
.fp-app.fp-detail,.fp-app.fp-detail .fp-hero h1,.fp-app.fp-detail .fp-match-tabpanel,
.fp-app.fp-detail .fp-panel,.fp-app.fp-detail .fp-note,
.fp-app.fp-detail .fp-match-stat-table tbody th,.fp-app.fp-detail .fp-match-stat-table tbody td,
.fp-app.fp-detail .fp-facts dd{color:var(--fp-ink)}
.fp-app.fp-detail .fp-match-stat-table thead th,.fp-app.fp-detail .fp-stat-team-names,
.fp-app.fp-detail .fp-facts dt,.fp-app.fp-detail .fp-event-list small{color:var(--fp-readable-muted)}
.fp-app.fp-detail .fp-detail-match-clock.fp-detail-clock-live,
.fp-app.fp-detail .fp-detail-match-clock.fp-detail-clock-finished{color:var(--fp-status-good)}
.fp-app .fp-calendar-badge{aspect-ratio:1/1;overflow:hidden}
.fp-app .fp-calendar-badge img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
.fp-app.fp-calendar-list .fp-calendar-teams,
.fp-app.fp-calendar-list .fp-calendar-team-name,
.fp-app.fp-calendar-list .fp-calendar-theme3-team,
.fp-app.fp-calendar-list .fp-calendar-pick{color:var(--fp-ink)}
.fp-app.fp-calendar-list .fp-calendar-group{
 display:block;text-align:center;margin:12px 0 5px;padding:7px 12px;
 border:1px solid var(--fp-border-soft);border-radius:8px;
 background:var(--fp-surface-soft);color:var(--fp-ink);
 font-size:18px;line-height:1.35;font-weight:750;letter-spacing:0;text-transform:none
}
.fp-standings-header{display:flex;align-items:center;min-height:52px;margin:0 0 12px;padding:9px 14px;border:0;background:var(--fp-standing-header)}
.fp-standings-header h2{font-size:18px;letter-spacing:1.2px;text-transform:uppercase}
.fp-standings-header>span{color:var(--fp-readable-muted);font-size:11px}
.fp-standings-group-heading{padding:8px 10px;background:var(--fp-standing-header);color:var(--fp-ink);font-size:14px;font-weight:700}
.fp-standings-scroll{margin-top:0!important;overflow-x:auto;border:0;border-radius:0}
.fp-standings-team{display:flex;align-items:center;gap:9px;min-width:0;text-align:left}
.fp-standings-team .fp-calendar-badge{width:30px;height:30px;flex:0 0 30px;background:transparent;border:0;border-radius:0}
.fp-standings-team .fp-calendar-badge img{display:block;width:100%;height:100%;object-fit:contain}
.fp-standings-team-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}
.fp-standings-table{width:100%;min-width:0;table-layout:fixed;border:0;border-collapse:collapse;background:var(--fp-surface);color:var(--fp-ink);font-size:15px}
.fp-standings-table col.fp-standing-rank-col{width:9%}
.fp-standings-table col.fp-standing-team-col{width:33%}
.fp-standings-table col.fp-standing-goals-col{width:15%}
.fp-standings-table col.fp-standing-points-col{width:15%}
.fp-standings-table caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.fp-standings-table thead th{padding:10px 3px;background:var(--fp-standing-header);color:var(--fp-ink);font-size:12px;font-weight:550;letter-spacing:.04em;text-align:center;text-transform:uppercase}
.fp-standings-table thead th:nth-child(2){text-align:left}
.fp-standings-table tbody tr{height:56px;border-bottom:1px solid var(--fp-border-soft)}
.fp-standings-table tbody tr:nth-child(even){background:var(--fp-standing-alt)}
.fp-standings-table tbody tr.fp-highlight-team{background:var(--fp-highlight-surface)}
.fp-standings-table tbody tr:hover{background:var(--fp-highlight-surface)}
.fp-standings-table tbody th,.fp-standings-table tbody td{padding:8px 4px;border:0;border-bottom:1px solid var(--fp-border-soft);color:var(--fp-ink);font-size:inherit;text-align:center;white-space:nowrap}
.fp-standings-table tbody th[scope=row]{min-width:0}
.fp-standings-table tbody td[data-label="Team"]{text-align:left}
.fp-standings-rank{display:grid;place-items:center;width:36px;height:36px;margin:auto;border-radius:8px;background:var(--fp-standing-rank);color:#fff;font-size:15px;font-weight:750;line-height:1}
.fp-standings-table tbody td[data-label="PTS"] strong{font-weight:800}
@media(max-width:600px){
 .fp-standings-header{min-height:44px;padding:7px 10px}
 .fp-standings-header h2{font-size:16px}
 .fp-standings-table{font-size:12px}
 .fp-standings-table thead th{padding:9px 2px;font-size:10px}
 .fp-standings-table tbody tr{height:50px}
 .fp-standings-table tbody th,.fp-standings-table tbody td{padding:6px 2px;font-size:12px}
 .fp-standings-team{gap:5px}
 .fp-standings-team .fp-calendar-badge{width:24px;height:24px;flex-basis:24px}
 .fp-standings-team-name{font-size:12px}
 .fp-standings-rank{width:29px;height:30px;border-radius:7px;font-size:12px}
}
@media(max-width:620px){
 .fp-app .fp-detail-match-row{grid-template-columns:minmax(0,1fr);gap:8px}
 .fp-app .fp-detail-match-prediction{justify-self:stretch;padding:8px 10px}
}

/* Expandable local match evidence in the prediction's last-ten-games review. */
.fp-app .fp-history-detail-row>td{padding:0!important;border:0!important;background:var(--fp-surface)}
.fp-app .fp-history-match-toggle{margin:0 0 7px;border:1px solid var(--fp-border-soft);border-radius:8px;background:var(--fp-surface)}
.fp-app .fp-history-match-toggle>summary{padding:9px 12px;color:var(--fp-status-link);font-weight:700;cursor:pointer}
.fp-app .fp-history-match-toggle[open]>summary{border-bottom:1px solid var(--fp-border-soft)}
.fp-app .fp-history-match-data{display:grid;gap:16px;padding:12px;color:var(--fp-ink)}
.fp-app .fp-history-match-data h4{margin:0 0 7px;font-size:15px;color:var(--fp-ink)}
.fp-app .fp-history-stat-table{min-width:480px}
.fp-app .fp-history-stat-table th[scope=row]{text-align:center}
.fp-app .fp-history-event-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.fp-app .fp-history-event-list li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid var(--fp-border-soft)}
.fp-app .fp-history-event-list li>strong{color:var(--fp-status-link);font-variant-numeric:tabular-nums}
.fp-app .fp-history-event-list small{display:block;color:var(--fp-readable-muted)}
.fp-app .fp-prediction-table-context{margin-top:14px;text-align:left}
.fp-app .fp-prediction-table-context h3{margin:0 0 6px;font-size:17px;color:var(--fp-ink)}
.fp-app .fp-prediction-standings-table{min-width:590px}

/* Mobile layout safeguards shared by all three plugin match themes and detail pages. */
@media(max-width:760px){
  .fp-app{width:100%;max-width:100%;margin:20px auto 40px;padding-inline:16px}
  .fp-matches{grid-template-columns:minmax(0,1fr);gap:12px}
  .fp-card{padding:15px}
  .fp-card-top{flex-wrap:wrap;align-items:flex-start}
  .fp-card-main{gap:10px;margin:16px 0}
  .fp-app .fp-card-prediction{width:100%;max-width:100%}
  .fp-app.fp-detail .fp-match-tablist{max-width:100%;overscroll-behavior-x:contain}
  .fp-app.fp-detail .fp-match-tablist [role=tab]{flex:0 0 auto;min-width:76px}
  .fp-app .fp-table-scroll,.fp-app .fp-stat-table-scroll,.fp-app .fp-standings-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
  .fp-app .fp-stat-table-scroll>.fp-match-stat-table{min-width:460px}
}
@media(max-width:480px){
  .fp-app{margin-top:16px;margin-bottom:32px;padding-inline:12px;font-size:14px}
  .fp-app:not(.fp-detail) .fp-hero{padding:24px 16px;border-radius:14px}
  .fp-app h2{font-size:22px}
  .fp-app .fp-section-heading{align-items:flex-start;flex-wrap:wrap;gap:8px;margin-top:26px}
  .fp-app .fp-card{padding:12px}
  .fp-app .fp-teams{gap:10px;font-size:15px}
  .fp-app.fp-detail .fp-match-tablist [role=tab]{min-width:68px;padding:10px 6px;font-size:13px}
}
