/* Menu and current/next fixture form one sticky block; history and news stay in the document. */
.site-masthead{display:block!important;position:sticky;top:0;z-index:100;background:#fffdf4;box-shadow:0 3px 16px #122f251a;overflow:visible}.site-masthead>header{position:relative!important;top:auto;box-shadow:none;z-index:2}.site-masthead .match-banner{display:block!important;width:100%}.site-masthead .match-banner #nextFixture,.site-masthead .match-banner #nextFixture.has-next-forecast{display:grid!important;grid-template-columns:minmax(145px,.8fr) minmax(220px,2fr) 180px minmax(125px,.65fr)!important;grid-template-rows:auto auto!important;gap:2px 16px!important;padding:7px clamp(12px,3vw,42px)!important;min-height:0!important;height:auto!important;background:#f1f3e8;border-top:1px solid #d5ddce;align-items:center;align-content:center}.site-masthead #nextFixture>.live-title,.site-masthead #nextFixture.has-next-forecast>.live-title{grid-area:1/2!important;font-size:10px!important;line-height:1.2;letter-spacing:1px;margin:0!important}.site-masthead #nextFixture>h3,.site-masthead #nextFixture.has-next-forecast>h3{grid-area:2/2!important;text-align:center!important;font-size:17px!important;line-height:1.2;margin:0!important}.site-masthead #nextFixture>.next-precedents{grid-area:1/1/3/2!important;padding:0!important;border:0;font-size:11px;line-height:1.3}.site-masthead #nextFixture .precedents-summary{white-space:normal}.site-masthead #nextFixture .precedents-link{font-size:11px!important;min-height:24px!important;padding:2px 0!important;line-height:1.2}.site-masthead #nextFixture>.next-banner-meta,.site-masthead #nextFixture.has-next-forecast>.next-banner-meta{grid-area:1/4/3/5!important;display:block!important;text-align:right;font-size:11px!important;line-height:1.35}.site-masthead #nextFixture>.next-banner-meta p{font-size:11px!important;line-height:1.3}.site-masthead #nextFixture .next-match-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px}.site-masthead #nextFixture .forum-banner-link{display:block;font-size:12px!important;min-height:24px!important;line-height:1.25;padding:3px 0!important;margin:0!important;text-align:center!important;background:none;border:0;color:#24523f}.site-masthead #nextFixture .match-crest{height:22px!important;width:18px!important}.site-masthead #nextFixture.has-next-forecast>.forecast-pick{grid-area:1/3/3/4!important;inline-size:180px!important;min-block-size:0!important;height:auto!important;max-width:100%;padding:5px 8px!important;gap:0}.site-masthead #nextFixture .forecast-pick-title{font-size:11px!important;margin:0 0 2px}.site-masthead #nextFixture .forecast-pick-values{gap:6px}.site-masthead #nextFixture .forecast-sign{min-width:25px;min-height:25px;font-size:17px}.site-masthead #nextFixture .forecast-pick-score strong{font-size:18px}.site-masthead #nextFixture .forecast-pick-outcome span,.site-masthead #nextFixture .forecast-pick-score span{font-size:10px!important}.site-masthead #nextFixture.is-live{background:#e7eee2;border-top:2px solid #ae2c35}.site-masthead #nextFixture.is-live>.live-title{color:#ae2c35}.header-live-score{font-size:22px;color:#123f32;white-space:nowrap;padding:0 4px}.site-masthead #nextFixture .next-empty{grid-area:2/2/3/-1!important;margin:0;font-size:13px}.recent-match-banner{display:block}.recent-match-banner #last{grid-template-columns:190px minmax(0,1fr) auto;padding:8px 4%;gap:10px}.recent-match-banner #last .scoreline{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;font-size:16px}.recent-match-banner #last .scoreline strong{font-size:23px}.recent-match-banner #last .forum-banner-link{font-size:12px;flex-basis:100%;text-align:center;padding:2px!important;min-height:24px}.recent-match-banner #last .live-title,.recent-match-banner #last .match-meta{font-size:10px}.recent-match-banner .match-crest{height:23px;width:18px}#tabellone{scroll-margin-top:var(--masthead-height,140px)}
@media(max-width:900px){.site-masthead .match-banner #nextFixture,.site-masthead .match-banner #nextFixture.has-next-forecast{grid-template-columns:minmax(0,1fr) 172px!important;grid-template-rows:auto auto auto!important;gap:3px 12px!important;padding:6px 4%!important}.site-masthead #nextFixture>.live-title,.site-masthead #nextFixture.has-next-forecast>.live-title{grid-area:1/1!important}.site-masthead #nextFixture>h3,.site-masthead #nextFixture.has-next-forecast>h3{grid-area:2/1!important;font-size:15px!important}.site-masthead #nextFixture>.next-banner-meta,.site-masthead #nextFixture.has-next-forecast>.next-banner-meta{grid-area:3/1!important;text-align:center;font-size:10px!important}.site-masthead #nextFixture>.next-banner-meta p{display:inline;font-size:10px!important;margin-right:5px}.site-masthead #nextFixture.has-next-forecast>.forecast-pick{grid-area:1/2/3/3!important;inline-size:172px!important}.site-masthead #nextFixture>.next-precedents{grid-area:3/2!important;font-size:10px}.site-masthead #nextFixture .precedents-link{font-size:10px!important}.recent-match-banner #last{grid-template-columns:130px minmax(0,1fr)}.recent-match-banner #last .match-meta{grid-column:2;text-align:center}}
@media(max-width:520px){.site-masthead .match-banner #nextFixture,.site-masthead .match-banner #nextFixture.has-next-forecast{grid-template-columns:minmax(0,1fr) 140px!important;gap:3px 8px!important;padding:5px 3%!important}.site-masthead #nextFixture>h3,.site-masthead #nextFixture.has-next-forecast>h3{font-size:14px!important}.site-masthead #nextFixture>.live-title,.site-masthead #nextFixture.has-next-forecast>.live-title{font-size:9px!important}.site-masthead #nextFixture.has-next-forecast>.forecast-pick{inline-size:140px!important;padding:4px 6px!important}.site-masthead #nextFixture .forecast-pick-outcome span,.site-masthead #nextFixture .forecast-pick-score span{font-size:9px!important}.site-masthead #nextFixture .forecast-pick-title{font-size:10px!important}.site-masthead #nextFixture .forum-banner-link{font-size:11px!important}.site-masthead #nextFixture .next-precedents{font-size:9px;line-height:1.2}.site-masthead #nextFixture .precedents-link{font-size:10px!important;min-height:24px!important}.site-masthead #nextFixture .ternana-team{gap:3px}.site-masthead #nextFixture .next-match-label{gap:3px}.site-masthead #nextFixture .match-crest{height:19px!important;width:16px!important}.header-live-score{font-size:20px}.recent-match-banner #last{display:block;text-align:center}.recent-match-banner #last .live-title{display:flex;justify-content:center;gap:10px}.recent-match-banner #last .match-meta{font-size:10px;text-align:center;margin-top:3px}}

@media(max-width:900px){.site-masthead #nextFixture .next-banner-meta p+p::before{content:' · ';white-space:pre}}
/* The match is the visual centre: countdown before kick-off, score and source minute while live. */
.site-masthead #nextFixture>h3,.site-masthead #nextFixture.has-next-forecast>h3{font-size:24px!important;font-weight:700!important}.site-masthead #nextFixture .next-match-label{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px!important;align-items:center}.header-team{display:block;min-width:0;line-height:1.2}.header-team:first-child{text-align:right}.header-team:last-child{text-align:left}.site-masthead #nextFixture .header-team .ternana-team{justify-content:inherit;font-weight:700}.header-main-value{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:126px;line-height:1}.site-masthead #nextFixture .header-live-score{font-size:36px!important;line-height:1;font-variant-numeric:tabular-nums}.header-countdown{font-size:24px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:.3px;color:#123f32}.header-main-value>small{font-size:9px!important;font-weight:600;line-height:1.25;letter-spacing:.4px;color:#456154;max-width:150px;text-align:center}.header-main-value .header-game-minute{font-size:12px!important;color:#ae2c35;letter-spacing:0}.site-masthead #nextFixture .header-team .match-crest{height:26px!important;width:21px!important}
@media(max-width:900px){.site-masthead .match-banner #nextFixture,.site-masthead .match-banner #nextFixture.has-next-forecast{grid-template-rows:auto auto auto!important;grid-template-columns:minmax(0,1fr) 172px!important}.site-masthead #nextFixture>h3,.site-masthead #nextFixture.has-next-forecast>h3{grid-area:2/1/3/3!important;font-size:20px!important}.site-masthead #nextFixture>.next-banner-meta,.site-masthead #nextFixture.has-next-forecast>.next-banner-meta{grid-area:1/2!important;text-align:right}.site-masthead #nextFixture.has-next-forecast>.forecast-pick{grid-area:3/2!important}.site-masthead #nextFixture>.next-precedents{grid-area:3/1!important}.site-masthead #nextFixture .next-match-label{gap:8px!important}.header-countdown{font-size:23px}.site-masthead #nextFixture .header-live-score{font-size:33px!important}.header-main-value{min-width:125px}.site-masthead #nextFixture .forum-banner-link{min-height:20px!important;padding:2px 0!important}}
@media(max-width:520px){.site-masthead #nextFixture>h3,.site-masthead #nextFixture.has-next-forecast>h3{font-size:18px!important}.site-masthead #nextFixture .next-match-label{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:5px!important}.header-main-value{min-width:0;width:110px}.header-countdown{font-size:19px;letter-spacing:0}.header-main-value>small{font-size:7px!important;letter-spacing:0}.header-main-value .header-game-minute{font-size:11px!important}.site-masthead #nextFixture .header-live-score{font-size:30px!important}.site-masthead #nextFixture .header-team .match-crest{height:22px!important;width:18px!important}.site-masthead #nextFixture>.next-banner-meta p{font-size:9px!important}.site-masthead #nextFixture.has-next-forecast>.forecast-pick{inline-size:155px!important;justify-self:end}.site-masthead #nextFixture .next-precedents{font-size:10px}}
@media(max-width:900px){.site-masthead #nextFixture.has-next-forecast>.forecast-pick{display:grid;grid-template-columns:47px minmax(0,1fr);grid-template-rows:auto;gap:4px;padding:5px 6px!important}.site-masthead #nextFixture .forecast-pick-title{margin:0;line-height:1.15}.site-masthead #nextFixture .forecast-pick-values{grid-template-columns:46px minmax(0,1fr);gap:3px}.site-masthead #nextFixture .forecast-pick-outcome{gap:3px}.site-masthead #nextFixture .forecast-pick-outcome span,.site-masthead #nextFixture .forecast-pick-score span{font-size:8px!important}.site-masthead #nextFixture .forecast-pick-score{padding-left:3px}.site-masthead #nextFixture .forecast-pick-score strong{font-size:16px}}
@media(max-width:520px){.site-masthead #nextFixture .next-match-label{grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr)}.header-main-value{width:104px}}
@media(max-width:900px){.site-masthead #nextFixture.has-next-forecast>.forecast-pick{grid-template-columns:60px minmax(0,1fr);inline-size:172px!important}}
.site-masthead #nextFixture h3>.forum-banner-link{margin:0 auto!important;width:fit-content}
/* One typographic scale for both teams, the countdown and the live score. */
.site-masthead #nextFixture{--header-match-size:32px}.site-masthead #nextFixture .header-team,.site-masthead #nextFixture .header-team b,.site-masthead #nextFixture .header-team a,.site-masthead #nextFixture .header-countdown,.site-masthead #nextFixture .header-live-score{font-size:var(--header-match-size)!important;font-weight:700;line-height:1.15}.site-masthead #nextFixture .header-main-value{min-width:0;width:auto}.site-masthead #nextFixture .next-match-label{grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr)}
@media(max-width:900px){.site-masthead #nextFixture{--header-match-size:26px}}
@media(max-width:520px){.site-masthead #nextFixture{--header-match-size:22px}.site-masthead #nextFixture .next-match-label{grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr)}}

/* Keep the real outcome labels inside their own columns on narrow screens. */
@media(max-width:900px){
.site-masthead #nextFixture.has-next-forecast>.forecast-pick{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;row-gap:3px!important}
.site-masthead #nextFixture .forecast-pick-title{font-size:10px!important;line-height:1.15!important}
.site-masthead #nextFixture .forecast-pick-values{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;min-width:0}
.site-masthead #nextFixture .forecast-pick-outcome{display:grid!important;grid-template-columns:25px minmax(0,1fr);gap:4px!important;min-width:0}
.site-masthead #nextFixture .forecast-pick-outcome span,.site-masthead #nextFixture .forecast-pick-score span{white-space:normal!important;overflow-wrap:anywhere;min-width:0;font-size:9px!important;line-height:1.2!important}
.site-masthead #nextFixture .forecast-pick-score{min-width:0;padding-left:6px!important}
}

/* Teams support the score; the live minute stays easy to read. */
.site-masthead #nextFixture{--header-team-size:26px;--header-minute-size:18px}
.site-masthead #nextFixture .header-team,.site-masthead #nextFixture .header-team b,.site-masthead #nextFixture .header-team a{font-size:var(--header-team-size)!important}
.site-masthead #nextFixture .header-main-value .header-game-minute{font-size:var(--header-minute-size)!important;font-weight:700;line-height:1.15}
@media(max-width:900px){.site-masthead #nextFixture{--header-team-size:22px;--header-minute-size:17px}}
@media(max-width:520px){.site-masthead #nextFixture{--header-team-size:18px;--header-minute-size:16px}}

/* Latest completed match follows the upcoming match's type scale and alignment. */
.recent-match-banner #last{display:grid!important;grid-template-columns:minmax(145px,.8fr) minmax(220px,2fr) 180px minmax(125px,.65fr);grid-template-rows:auto auto;gap:3px 16px;padding:8px clamp(12px,3vw,42px);align-items:center;--last-team-size:26px}
.recent-match-banner #last>.live-title{grid-area:1/2;display:flex;justify-content:center;gap:8px;font-size:10px;line-height:1.2;letter-spacing:1px}
.recent-match-banner #last>.scoreline{grid-area:2/2;display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);gap:4px 12px;align-items:center}
.recent-match-banner #last .last-team,.recent-match-banner #last .last-team a,.recent-match-banner #last .last-team b{font-size:var(--last-team-size)!important;font-weight:700;line-height:1.15}
.recent-match-banner #last .last-team:first-child{text-align:right}.recent-match-banner #last .last-team:nth-child(3){text-align:left}
.recent-match-banner #last .scoreline>strong{font-size:32px;line-height:1.15;white-space:nowrap}
.recent-match-banner #last .last-match-actions{grid-column:1/-1;display:flex;justify-content:center;gap:6px 18px;flex-wrap:wrap}
.recent-match-banner #last .last-match-actions .forum-banner-link{flex-basis:auto;font-size:12px;font-weight:700;min-height:24px;margin:0;border:0;background:none;color:inherit;padding:2px 0;text-decoration:underline;cursor:pointer}
.recent-match-banner #last>.match-meta{grid-area:1/4/3/5;display:flex;flex-direction:column;gap:3px;text-align:right;font-size:11px}
@media(max-width:900px){.recent-match-banner #last{grid-template-columns:minmax(0,1fr) auto;--last-team-size:22px}.recent-match-banner #last>.live-title{grid-area:1/1;justify-content:flex-start;flex-wrap:wrap}.recent-match-banner #last>.match-meta{grid-area:1/2;flex-direction:row;gap:6px}.recent-match-banner #last>.scoreline{grid-area:2/1/3/3}.recent-match-banner #last .scoreline>strong{font-size:26px}}
@media(max-width:520px){.recent-match-banner #last{--last-team-size:18px;padding:7px 4%;gap:5px}.recent-match-banner #last>.live-title{font-size:9px;gap:3px}.recent-match-banner #last>.match-meta{font-size:9px}.recent-match-banner #last .scoreline>strong{font-size:22px}.recent-match-banner #last>.scoreline{column-gap:6px}.recent-match-banner #last .last-match-actions{gap:4px 14px}}

/* Forecast labels must fit for all three outcomes, including away victory. */
.site-masthead #nextFixture .forecast-pick-values{display:grid!important;grid-template-columns:minmax(0,1fr) 62px!important;gap:7px!important;align-items:center;min-width:0}
.site-masthead #nextFixture .forecast-pick-outcome{display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;gap:5px!important;min-width:0}
.site-masthead #nextFixture .forecast-pick-outcome span{display:block;white-space:normal!important;overflow-wrap:normal!important;font-size:10px!important;line-height:1.2!important;min-width:0}
.site-masthead #nextFixture .forecast-pick-score{box-sizing:border-box;min-width:0;padding-left:7px!important}
.site-masthead #nextFixture .forecast-pick-score span{white-space:normal!important;font-size:9px!important;line-height:1.15!important}
.site-masthead #nextFixture .forecast-sign{min-width:26px;min-height:26px}
@media(max-width:900px){.site-masthead #nextFixture .forecast-pick-values{grid-template-columns:minmax(0,1fr) 57px!important;gap:5px!important}.site-masthead #nextFixture .forecast-pick-outcome{gap:4px!important}.site-masthead #nextFixture .forecast-pick-outcome span{font-size:9px!important}.site-masthead #nextFixture .forecast-pick-score{padding-left:5px!important}}

.site-masthead .season-nav{position:relative;font-size:12px;color:var(--ink)}
.site-masthead .season-nav summary{cursor:pointer;white-space:nowrap;padding:7px 0}
.site-masthead .season-nav-links{position:absolute;top:100%;left:0;z-index:5;min-width:max-content;padding:5px;background:#fffdf4;border:1px solid #d7d9cc;border-radius:8px;box-shadow:0 5px 15px #123e3122}
.site-masthead>header nav .season-nav-links a{display:block;padding:8px 10px;text-decoration:none}
.site-masthead>header nav .season-nav-links a:hover,.site-masthead>header nav .season-nav-links a:focus-visible{background:#e9eee3}
@media(max-width:1150px){.site-masthead .season-nav summary{min-height:44px;padding:12px 6px}.site-masthead .season-nav-links{position:static;min-width:0;box-shadow:none}.site-masthead>header nav .season-nav-links a{white-space:normal}}
