/* SWMHL v126 — tightening + Welsh Mixed Series network layer
   Keeps SWMHL visually independent while making its place in the Series explicit. */
:root{
  --v126-shell:min(1340px,calc(100vw - 48px));
  --v126-line:rgba(10,17,24,.1);
  --v126-dark:#05090d;
  --v126-red:#e32219;
  --v126-paper:#f5f6f7;
}
body.swmhl-v126 .shell{width:var(--v126-shell)}
body.swmhl-v126 .page-main{padding-top:clamp(16px,2vw,28px)}

/* Series network: intentionally quieter than the SWMHL masthead. */
.series-network-v126{position:relative;z-index:70;background:#020508;color:#d5dbe0;border-bottom:1px solid rgba(255,255,255,.08)}
.series-network-v126 .shell{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.series-network-v126 a{color:inherit;text-decoration:none}
.series-network-v126 .series-home{display:flex;align-items:center;gap:9px;min-width:0;font-size:.7rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase;color:#fff}
.series-network-v126 .series-home::before{content:"WMS";display:grid;place-items:center;width:29px;height:20px;border:1px solid rgba(255,255,255,.28);border-radius:5px;font:900 .58rem/1 Archivo,sans-serif;letter-spacing:.03em}
.series-network-v126 .series-regions{display:flex;align-items:center;gap:3px;font-size:.68rem;font-weight:760}
.series-network-v126 .series-regions a,.series-network-v126 .series-regions span{padding:5px 9px;border-radius:7px;white-space:nowrap}
.series-network-v126 .series-regions span{background:rgba(255,255,255,.09);color:#fff}
.series-network-v126 .series-regions a:hover{background:rgba(255,255,255,.07);color:#fff}

/* Header becomes tighter and more deliberate. */
body.swmhl-v126 header{box-shadow:0 1px 0 rgba(255,255,255,.06)}
body.swmhl-v126 .nav{min-height:76px;gap:22px}
body.swmhl-v126 .brand-emblem{width:54px;height:54px;flex-basis:54px}
body.swmhl-v126 .brand-copy strong{font-size:clamp(1.22rem,1.55vw,1.55rem)}
body.swmhl-v126 .offseason-nav a{padding:.68rem .7rem;font-size:.755rem}
body.swmhl-v126 .offseason-nav .season-three-nav{padding:.66rem .9rem;box-shadow:none}
body.swmhl-v126 .competition-status-v125>.shell{min-height:38px;padding:6px 0}

/* Editorial rhythm: less air without losing hierarchy. */
body.swmhl-v126 .offseason-section{padding-top:clamp(38px,5.5vw,72px)}
body.swmhl-v126 .offseason-section-heading{margin-bottom:18px;padding-bottom:13px}
body.swmhl-v126 .offseason-section-heading h2{font-size:clamp(2.25rem,4.2vw,4.4rem);line-height:.9}
body.swmhl-v126 .page-hero-grid{min-height:clamp(330px,39vw,520px);border-radius:24px}
body.swmhl-v126 .page-title-card{padding:clamp(26px,4.2vw,58px)}
body.swmhl-v126 .site-page-title,body.swmhl-v126 .page-title-card h1{font-size:clamp(3rem,6.3vw,6.5rem)!important;line-height:.84!important}
body.swmhl-v126 .page-lead,body.swmhl-v126 .page-title-card>p{max-width:650px;font-size:clamp(.96rem,1.25vw,1.12rem)}
body.swmhl-v126 .offseason-hero-grid{min-height:min(640px,calc(100svh - 142px))}
body.swmhl-v126 .offseason-hero-copy{padding-top:clamp(58px,7vw,96px);padding-bottom:clamp(44px,5.5vw,74px)}
body.swmhl-v126 .offseason-hero h1{font-size:clamp(4rem,8.2vw,8rem);line-height:.81}
body.swmhl-v126 .offseason-hero-media{min-height:470px}

/* Unified cards and overlays. */
body.swmhl-v126 .offseason-stat-band{border-radius:0 0 18px 18px}
body.swmhl-v126 .champion-card-v125,
body.swmhl-v126 .archive-link-grid a,
body.swmhl-v126 .offseason-award,
body.swmhl-v126 .honours-hat,
body.swmhl-v126 .honours-history-card-v125,
body.swmhl-v126 .team-directory-card,
body.swmhl-v126 .fixture-card,
body.swmhl-v126 .team-profile-panel-v44,
body.swmhl-v126 .card{border-radius:18px!important}
body.swmhl-v126 .champion-card-v125{min-height:172px;padding:18px 20px}
body.swmhl-v126 .champion-card-v125 img{width:clamp(78px,7vw,102px);height:clamp(78px,7vw,102px)}
body.swmhl-v126 .offseason-award,body.swmhl-v126 .honours-hat{min-height:250px}
body.swmhl-v126 .offseason-feature-grid{gap:14px}
body.swmhl-v126 .offseason-feature-card{min-height:390px;border-radius:22px;padding:clamp(24px,3.2vw,42px)}
body.swmhl-v126 .offseason-feature-card::after{background:linear-gradient(90deg,rgba(4,7,11,.9) 0%,rgba(4,7,11,.58) 47%,rgba(4,7,11,.1) 78%)}
body.swmhl-v126 .offseason-feature-card>div{max-width:65%;position:relative;z-index:2}
body.swmhl-v126 .offseason-feature-card img{max-height:72%;object-fit:contain}

/* Matches: logo and score hierarchy, with safe text fit. */
body.swmhl-v126 .fixture-card{overflow:hidden}
body.swmhl-v126 .fixture-teams-row{grid-template-columns:minmax(0,1fr) clamp(72px,8vw,110px) minmax(0,1fr);gap:clamp(10px,2vw,24px)}
body.swmhl-v126 .fixture-team{min-width:0}
body.swmhl-v126 .fixture-team-logo{width:clamp(72px,7vw,96px)!important;height:clamp(72px,7vw,96px)!important}
body.swmhl-v126 .fixture-team .team-name{max-width:100%;font-size:clamp(.92rem,1.25vw,1.12rem);line-height:1.15;overflow-wrap:anywhere;text-wrap:balance}
body.swmhl-v126 .score{font-size:clamp(2.7rem,5.5vw,4.8rem)!important;line-height:.82!important}

/* Team pages: clearer hero and featured leaders. */
body.swmhl-v126 .team-profile-masthead-v44{border-radius:24px;padding:clamp(28px,4.5vw,58px)}
body.swmhl-v126 .team-profile-crest{width:clamp(145px,15vw,220px)!important;height:clamp(145px,15vw,220px)!important}
body.swmhl-v126 .site-team-title{font-size:clamp(3rem,6.5vw,6.7rem)!important;line-height:.84!important;overflow-wrap:anywhere}
body.swmhl-v126 .team-leader-card-v125{border-radius:18px!important}
body.swmhl-v126 .team-chasers-v125{margin-top:10px}

/* Tables should feel native at each breakpoint, not squeezed desktop. */
body.swmhl-v126 .table-responsive-v125{border-radius:16px}
body.swmhl-v126 table{font-variant-numeric:tabular-nums}
body.swmhl-v126 th{font-size:.68rem;letter-spacing:.07em}
body.swmhl-v126 td{vertical-align:middle}

/* Series ecosystem card on Home/About. */
.series-ecosystem-v126{margin-top:clamp(44px,6vw,78px);margin-bottom:clamp(10px,2vw,24px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);overflow:hidden;border-radius:22px;background:#071019;color:#fff}
.series-ecosystem-v126>div{padding:clamp(28px,4vw,52px)}
.series-ecosystem-v126 .series-copy span{display:block;margin-bottom:10px;color:#98a9b8;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.11em}
.series-ecosystem-v126 h2{margin:0;max-width:760px;font:900 clamp(2.4rem,4.8vw,5rem)/.87 Archivo,sans-serif;letter-spacing:-.055em;text-wrap:balance}
.series-ecosystem-v126 p{max-width:650px;margin:18px 0 0;color:#bcc6ce;line-height:1.6}
.series-ecosystem-v126 .series-actions{display:grid;align-content:center;gap:9px;background:#0d1822;border-left:1px solid rgba(255,255,255,.08)}
.series-ecosystem-v126 .series-actions a{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 16px;border:1px solid rgba(255,255,255,.1);border-radius:12px;color:#fff;text-decoration:none;font-weight:800}
.series-ecosystem-v126 .series-actions a:hover{background:rgba(255,255,255,.06)}
.series-ecosystem-v126 .series-actions a small{color:#96a4af;font-weight:600}

/* Footer network line. */
.series-footer-v126{width:var(--v126-shell);margin:0 auto;padding:18px 0 calc(24px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#8f9aa3;font-size:.72rem}
.series-footer-v126 nav{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.series-footer-v126 a{color:#d8dde1;text-decoration:none;font-weight:750}
.series-footer-v126 a:hover{color:#fff}

/* PWA more-sheet Series links. */
body.swmhl-v126 .pwa-series-links-v126{grid-column:1/-1;margin-top:4px;padding-top:10px;border-top:1px solid rgba(10,17,24,.1)}
body.swmhl-v126 .pwa-series-links-v126 a{background:#0a1118!important;color:#fff!important}

@media(max-width:1100px){
  :root{--v126-shell:min(100% - 32px,1180px)}
  body.swmhl-v126 .nav{gap:14px}
  body.swmhl-v126 .offseason-nav a{padding:.62rem .5rem;font-size:.71rem}
  body.swmhl-v126 .offseason-feature-card>div{max-width:72%}
}
@media(max-width:820px){
  :root{--v126-shell:calc(100vw - 28px)}
  .series-network-v126 .shell{min-height:32px}
  .series-network-v126 .series-home{font-size:.64rem}
  .series-network-v126 .series-home span{display:none}
  .series-network-v126 .series-regions{font-size:.64rem}
  .series-network-v126 .series-regions a,.series-network-v126 .series-regions span{padding:4px 7px}
  body.swmhl-v126 .offseason-hero-grid{min-height:auto}
  body.swmhl-v126 .page-hero-grid{border-radius:20px}
  body.swmhl-v126 .series-ecosystem-v126{grid-template-columns:1fr}
  .series-ecosystem-v126 .series-actions{border-left:0;border-top:1px solid rgba(255,255,255,.08)}
  body.swmhl-v126 .offseason-feature-card{min-height:340px}
  body.swmhl-v126 .offseason-feature-card>div{max-width:78%}
}
@media(max-width:680px){
  :root{--v126-shell:calc(100vw - 22px)}
  body.swmhl-v126 .page-main{padding-top:12px}
  body.swmhl-v126 .nav{min-height:64px;padding:8px 0}
  body.swmhl-v126 .brand-emblem{width:46px;height:46px;flex-basis:46px}
  body.swmhl-v126 .brand-copy strong{font-size:1.16rem}
  body.swmhl-v126 .brand-copy span{font-size:.62rem}
  body.swmhl-v126 .competition-status-v125 strong{display:none}
  body.swmhl-v126 .competition-status-v125>.shell{min-height:35px;gap:8px}
  body.swmhl-v126 .competition-status-v125 a{font-size:.64rem}
  body.swmhl-v126 .offseason-hero-copy{padding:38px 0 24px}
  body.swmhl-v126 .offseason-hero h1{font-size:clamp(3.3rem,17vw,5rem)}
  body.swmhl-v126 .offseason-hero-media{min-height:310px}
  body.swmhl-v126 .offseason-section{padding-top:40px}
  body.swmhl-v126 .offseason-section-heading h2{font-size:clamp(2.15rem,11vw,3.4rem)}
  body.swmhl-v126 .offseason-feature-card{min-height:310px;padding:20px}
  body.swmhl-v126 .offseason-feature-card>div{max-width:80%}
  body.swmhl-v126 .offseason-feature-card img{right:-3%;max-width:40%}
  body.swmhl-v126 .fixture-teams-row{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr);gap:7px}
  body.swmhl-v126 .fixture-team-logo{width:58px!important;height:58px!important}
  body.swmhl-v126 .fixture-team .team-name{font-size:.88rem}
  body.swmhl-v126 .score{font-size:clamp(2.15rem,11vw,3.2rem)!important}
  body.swmhl-v126 .team-profile-masthead-v44{padding:24px 18px}
  body.swmhl-v126 .team-profile-crest{width:130px!important;height:130px!important}
  body.swmhl-v126 .site-team-title{font-size:clamp(2.75rem,14vw,4.5rem)!important}
  .series-ecosystem-v126{margin-top:40px;border-radius:18px}
  .series-ecosystem-v126>div{padding:24px 20px}
  .series-ecosystem-v126 h2{font-size:clamp(2.25rem,11vw,3.5rem)}
  .series-footer-v126{align-items:flex-start;flex-direction:column;padding-bottom:calc(94px + env(safe-area-inset-bottom))}
  .series-footer-v126 nav{justify-content:flex-start}
}
@media(max-width:390px){
  :root{--v126-shell:calc(100vw - 16px)}
  .series-network-v126 .series-regions span{display:none}
  body.swmhl-v126 .fixture-teams-row{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)}
  body.swmhl-v126 .fixture-team-logo{width:52px!important;height:52px!important}
  body.swmhl-v126 .fixture-team .team-name{font-size:.82rem}
  body.swmhl-v126 .score{font-size:2.25rem!important}
}
body.swmhl-v126 .pwa-series-links-v126{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media(max-width:520px){body.swmhl-v126 .pwa-series-links-v126{grid-template-columns:1fr}}
