/* SWMHL v125 — responsive refinement layer
   Uses the Welsh Mixed Series design principles (status-led hierarchy, editorial scale,
   clean stat bands, disciplined spacing) while retaining the distinct SWMHL identity. */
:root{
  --v125-shell:min(1440px,calc(100vw - 40px));
  --v125-black:#05080c;
  --v125-ink:#0a1118;
  --v125-paper:#f4f6f8;
  --v125-white:#fff;
  --v125-red:#e32219;
  --v125-muted:#68737d;
  --v125-line:rgba(10,17,24,.12);
  --v125-shadow:0 20px 55px rgba(3,8,14,.08);
  --v125-radius:24px;
}
html{overflow-x:clip;scroll-padding-top:128px}
body.swmhl-v125{overflow-x:clip;background:var(--v125-paper)}
body.swmhl-v125 *,body.swmhl-v125 *::before,body.swmhl-v125 *::after{box-sizing:border-box}
body.swmhl-v125 img,body.swmhl-v125 svg,body.swmhl-v125 video{max-width:100%}
body.swmhl-v125 .shell{width:var(--v125-shell);max-width:none;margin-left:auto;margin-right:auto}
body.swmhl-v125 .page-main{padding-top:clamp(18px,2.5vw,34px)}

/* Header and competition status */
body.swmhl-v125 header{position:sticky;top:0;z-index:62;background:rgba(5,8,12,.96)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body.swmhl-v125 .nav{min-height:82px;gap:28px}
body.swmhl-v125 .brand{min-width:0;gap:12px}
body.swmhl-v125 .brand-emblem{width:58px;height:58px;flex:0 0 58px}
body.swmhl-v125 .brand-emblem img{width:100%;height:100%;object-fit:contain}
body.swmhl-v125 .brand-copy strong{font-size:clamp(1.25rem,1.8vw,1.7rem);line-height:.9;letter-spacing:-.035em}
body.swmhl-v125 .brand-copy span{font-size:.69rem;line-height:1.2;letter-spacing:.07em;white-space:normal}
body.swmhl-v125 .offseason-nav{gap:4px;align-items:center;flex-wrap:nowrap}
body.swmhl-v125 .offseason-nav a{position:relative;padding:.76rem .78rem;border-radius:10px;color:#d6dde3;font-size:.78rem;font-weight:750;white-space:nowrap}
body.swmhl-v125 .offseason-nav a:hover{background:rgba(255,255,255,.07);color:#fff}
body.swmhl-v125 .offseason-nav a.is-active-v125:not(.season-three-nav){color:#fff;background:rgba(255,255,255,.08)}
body.swmhl-v125 .offseason-nav a.is-active-v125:not(.season-three-nav)::after{content:"";position:absolute;left:.8rem;right:.8rem;bottom:.34rem;height:2px;background:var(--v125-red);border-radius:2px}
body.swmhl-v125 .offseason-nav .season-three-nav{padding:.7rem 1rem;background:var(--v125-red);color:#fff;box-shadow:0 8px 24px rgba(227,34,25,.2)}
.competition-status-v125{position:relative;z-index:45;background:#10161d;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.competition-status-v125>.shell{min-height:42px;display:flex;align-items:center;gap:15px;padding:7px 0;font-size:.74rem}
.competition-status-v125 span{display:flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:.1em;font-weight:850;color:#fff;white-space:nowrap}
.competition-status-v125 span i{width:7px;height:7px;border-radius:50%;background:#39d581;box-shadow:0 0 0 4px rgba(57,213,129,.12)}
.competition-status-v125 strong{font-weight:550;color:#aeb8c1;min-width:0}
.competition-status-v125 a{margin-left:auto;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}
.competition-status-v125 a:hover{text-decoration:underline;text-underline-offset:3px}

/* Shared hero system — larger copy, safer media, stronger overlay */
body.swmhl-v125 .page-hero,body.swmhl-v125 .results-finals-hero-v99,body.swmhl-v125 .finals-command-hero-v98{margin-top:0}
body.swmhl-v125 .page-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:0;min-height:clamp(360px,43vw,580px);border-radius:30px;overflow:hidden;background:var(--v125-black);box-shadow:var(--v125-shadow)}
body.swmhl-v125 .page-title-card{min-width:0;padding:clamp(30px,5vw,74px);display:flex;flex-direction:column;justify-content:flex-end;border-radius:0!important;border:0!important;background:var(--v125-black)!important;color:#fff!important}
body.swmhl-v125 .page-title-card .season-complete-kicker,body.swmhl-v125 .page-title-card .eyebrow{margin-bottom:clamp(14px,2vw,24px)}
body.swmhl-v125 .site-page-title,body.swmhl-v125 .page-title-card h1{max-width:100%;font-size:clamp(3rem,7.2vw,7.4rem)!important;line-height:.82!important;letter-spacing:-.065em!important;overflow-wrap:anywhere;text-wrap:balance}
body.swmhl-v125 .page-lead,body.swmhl-v125 .page-title-card>p{max-width:720px;margin-top:clamp(14px,2vw,24px);font-size:clamp(.98rem,1.45vw,1.2rem);line-height:1.55;color:#c4ccd3!important;text-wrap:pretty}
body.swmhl-v125 .fixture-hero-media,body.swmhl-v125 .page-hero-media{position:relative;min-width:0;overflow:hidden;background:#111820}
body.swmhl-v125 .fixture-hero-media::after,body.swmhl-v125 .page-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,12,.62),transparent 34%),linear-gradient(0deg,rgba(5,8,12,.52),transparent 46%);pointer-events:none}
body.swmhl-v125 .fixture-hero-media img,body.swmhl-v125 .page-hero-media img{width:100%;height:100%;min-height:100%;object-fit:cover;display:block}

/* WMS-inspired section rhythm */
body.swmhl-v125 .offseason-section{padding-top:clamp(44px,7vw,96px)}
body.swmhl-v125 .offseason-section-heading{padding-bottom:16px;border-bottom:1px solid var(--v125-line);margin-bottom:22px}
body.swmhl-v125 .offseason-section-heading h2{max-width:900px;font-size:clamp(2.4rem,5vw,5rem);text-wrap:balance}
body.swmhl-v125 .offseason-section-heading>div>span{display:flex;align-items:center;gap:8px}
body.swmhl-v125 .offseason-section-heading>div>span::before{content:"";width:22px;height:2px;background:var(--v125-red)}

/* Home: reduce accidental overflow and tighten information hierarchy */
body.swmhl-v125 .offseason-hero{min-height:auto}
body.swmhl-v125 .offseason-hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);min-height:min(700px,calc(100svh - 124px))}
body.swmhl-v125 .offseason-hero-copy{min-width:0;padding-top:clamp(70px,8vw,118px);padding-bottom:clamp(58px,7vw,96px)}
body.swmhl-v125 .offseason-hero h1{font-size:clamp(4rem,9.5vw,9rem);max-width:850px;text-wrap:balance}
body.swmhl-v125 .offseason-hero p{font-size:clamp(1rem,1.5vw,1.22rem);max-width:650px}
body.swmhl-v125 .offseason-hero-media{min-height:520px}
body.swmhl-v125 .season-stamp{max-width:calc(100% - 40px);left:20px;bottom:20px}
body.swmhl-v125 .offseason-stat-band{border-radius:0 0 22px 22px;box-shadow:0 16px 35px rgba(3,8,14,.04)}
body.swmhl-v125 .offseason-stat-band article{min-width:0;padding:clamp(20px,3vw,38px)}
body.swmhl-v125 .offseason-stat-band strong{font-size:clamp(2.3rem,4.6vw,4.4rem)}
body.swmhl-v125 .offseason-stat-band span{font-size:clamp(.78rem,1.1vw,.96rem)}

/* Champions use finals results, not league-table leaders */
body.swmhl-v125 .offseason-champions-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.swmhl-v125 .champion-card-v125{position:relative;grid-template-columns:minmax(76px,112px) minmax(0,1fr);min-height:190px;padding:20px 22px;overflow:hidden;background:#fff}
body.swmhl-v125 .champion-card-v125::after{content:"CHAMPIONS";position:absolute;right:-8px;bottom:-8px;font:900 clamp(2rem,4vw,4.2rem)/.75 Archivo,sans-serif;color:rgba(10,17,24,.035);letter-spacing:-.05em;pointer-events:none}
body.swmhl-v125 .champion-card-v125 img{width:clamp(82px,8vw,112px);height:clamp(82px,8vw,112px);object-fit:contain;position:relative;z-index:1}
body.swmhl-v125 .champion-card-v125>div{min-width:0;position:relative;z-index:1}
body.swmhl-v125 .champion-card-v125 strong{font-size:clamp(1.28rem,2vw,1.75rem);overflow-wrap:anywhere}
body.swmhl-v125 .champion-card-v125 small{font-size:.8rem}
body.swmhl-v125 .champion-placeholder-v125{width:92px;height:92px;display:grid;place-items:center;border-radius:22px;background:#edf0f3;font:900 2rem Archivo,sans-serif;color:#a5afb8}

/* Award character restored and scaled */
body.swmhl-v125 .offseason-awards-grid,body.swmhl-v125 .honours-award-stage{gap:14px}
body.swmhl-v125 .offseason-award{min-width:0;min-height:330px;grid-template-columns:minmax(130px,210px) minmax(0,1fr);padding:clamp(24px,3vw,42px)}
body.swmhl-v125 .offseason-award img{width:clamp(135px,15vw,205px);height:clamp(135px,15vw,205px)}
body.swmhl-v125 .offseason-award strong{font-size:clamp(2.1rem,4vw,4rem);overflow-wrap:anywhere}
body.swmhl-v125 .offseason-award small{font-size:clamp(.86rem,1.2vw,1rem);line-height:1.4}
body.swmhl-v125 .honours-hat{grid-template-columns:minmax(140px,220px) minmax(0,1fr);min-height:430px;padding:clamp(26px,4vw,50px)}
body.swmhl-v125 .honours-hat-art{width:clamp(145px,17vw,215px);height:clamp(145px,17vw,215px)}
body.swmhl-v125 .honours-hat h2{font-size:clamp(1rem,1.3vw,1.2rem);letter-spacing:.06em;text-transform:uppercase;margin:.55rem 0}
body.swmhl-v125 .honours-hat strong{font-size:clamp(2rem,4.2vw,4.25rem);overflow-wrap:anywhere}

/* 2025 history: make founding season feel permanent, not a footnote */
.honours-history-v125{margin-top:clamp(44px,7vw,96px)}
.honours-history-v125 .history-heading-v125{display:flex;justify-content:space-between;gap:20px;align-items:end;padding-bottom:16px;border-bottom:1px solid var(--v125-line);margin-bottom:20px}
.honours-history-v125 .history-heading-v125 span{display:block;color:var(--v125-red);text-transform:uppercase;letter-spacing:.13em;font-size:.72rem;font-weight:900}
.honours-history-v125 .history-heading-v125 h2{margin:.35rem 0 0;font:900 clamp(2.2rem,4.4vw,4.5rem)/.9 Archivo,sans-serif;letter-spacing:-.055em}
.honours-history-grid-v125{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.honours-history-card-v125{position:relative;min-width:0;min-height:200px;background:#0a1118;color:#fff;border-radius:24px;padding:24px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;align-items:center;overflow:hidden}
.honours-history-card-v125::after{content:"2025";position:absolute;right:12px;bottom:-12px;font:900 5.4rem/.75 Archivo,sans-serif;color:rgba(255,255,255,.04);letter-spacing:-.07em}
.honours-history-card-v125 img{width:105px;height:105px;object-fit:contain;position:relative;z-index:1}
.honours-history-card-v125 div{min-width:0;position:relative;z-index:1}
.honours-history-card-v125 span{display:block;color:#ff8179;text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;font-weight:900}
.honours-history-card-v125 strong{display:block;margin-top:9px;font:850 clamp(1.5rem,2.5vw,2.2rem)/1 Archivo,sans-serif;overflow-wrap:anywhere}
.honours-history-card-v125 small{display:block;margin-top:8px;color:#aeb8c1}

/* Feature cards and archive links */
body.swmhl-v125 .offseason-feature-grid{gap:14px}
body.swmhl-v125 .offseason-feature-card{min-width:0;border-radius:26px;min-height:430px;padding:clamp(26px,4vw,50px)}
body.swmhl-v125 .offseason-feature-card>div{max-width:min(66%,680px)}
body.swmhl-v125 .offseason-feature-card h2{font-size:clamp(3rem,6vw,6rem);overflow-wrap:anywhere}
body.swmhl-v125 .offseason-feature-card img{max-width:42%;max-height:72%;object-fit:contain}
body.swmhl-v125 .archive-link-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.swmhl-v125 .archive-link-grid a{min-width:0;min-height:180px;border-radius:20px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
body.swmhl-v125 .archive-link-grid a:hover{transform:translateY(-3px);border-color:rgba(227,34,25,.35);box-shadow:0 14px 28px rgba(3,8,14,.07)}

/* Match cards: crest/score first, metadata second */
body.swmhl-v125 .data-grid{gap:14px}
body.swmhl-v125 .match-card,body.swmhl-v125 .fixture-card{min-width:0;overflow:hidden;border-radius:22px}
body.swmhl-v125 .fixture-card-head{gap:12px;min-width:0}
body.swmhl-v125 .fixture-tag-stack{min-width:0;flex-wrap:wrap}
body.swmhl-v125 .fixture-teams-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(76px,auto) minmax(0,1fr);gap:clamp(10px,2vw,24px);align-items:center}
body.swmhl-v125 .fixture-team{min-width:0}
body.swmhl-v125 .fixture-team-logo{width:clamp(64px,7vw,92px)!important;height:clamp(64px,7vw,92px)!important;object-fit:contain}
body.swmhl-v125 .fixture-team .team-name{max-width:100%;font-size:clamp(.95rem,1.55vw,1.22rem);line-height:1.1;overflow-wrap:anywhere;text-wrap:balance}
body.swmhl-v125 .fixture-team .team-name a{color:inherit}
body.swmhl-v125 .score{min-width:76px;font-size:clamp(2.3rem,5.6vw,4.8rem)!important;line-height:.82;letter-spacing:-.06em;white-space:nowrap}
body.swmhl-v125 .fixture-meta,body.swmhl-v125 .fixture-meta-chips{flex-wrap:wrap;gap:7px}
body.swmhl-v125 .fixture-division-logo{width:32px!important;height:32px!important;object-fit:contain}

/* Tables: no clipping on phones, bigger crest/name targets */
.table-responsive-v125{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;padding-bottom:3px}
body.swmhl-v125 .league-table{width:100%;border-collapse:separate;border-spacing:0;font-size:clamp(.78rem,1.02vw,.94rem)}
body.swmhl-v125 .league-table th{white-space:nowrap;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase}
body.swmhl-v125 .league-table td{vertical-align:middle}
body.swmhl-v125 .league-table .table-team-logo,body.swmhl-v125 .league-table img{max-width:42px;max-height:42px;object-fit:contain}
body.swmhl-v125 .league-table td strong{overflow-wrap:anywhere}
body.swmhl-v125 #pageContent,body.swmhl-v125 .stats-panel,body.swmhl-v125 .fantasy-shell,body.swmhl-v125 .portal-layout,body.swmhl-v125 .downloads-section{min-width:0;max-width:100%}
body.swmhl-v125 #pageContent>table,body.swmhl-v125 .stats-panel>table,body.swmhl-v125 .fantasy-shell table,body.swmhl-v125 .portal-layout table{display:table;min-width:680px}
body.swmhl-v125 #pageContent:has(>table),body.swmhl-v125 .stats-panel:has(>table),body.swmhl-v125 .fantasy-shell:has(table),body.swmhl-v125 .portal-layout:has(table){overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Team directory and team profiles */
body.swmhl-v125 .team-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.swmhl-v125 .team-directory-card{min-width:0;border-radius:22px;overflow:hidden}
body.swmhl-v125 .team-directory-head{gap:12px;align-items:center}
body.swmhl-v125 .team-directory-division-logo{width:54px!important;height:54px!important;object-fit:contain}
body.swmhl-v125 .team-directory-list a{min-width:0;min-height:74px;gap:14px}
body.swmhl-v125 .team-directory-logo{width:54px!important;height:54px!important;flex:0 0 54px;object-fit:contain}
body.swmhl-v125 .team-directory-list a span{font-size:clamp(.9rem,1.2vw,1.05rem);line-height:1.15;overflow-wrap:anywhere}
body.swmhl-v125 .team-profile-shell{padding-top:0}
body.swmhl-v125 .team-profile-card-v44{overflow:hidden;border-radius:28px;box-shadow:var(--v125-shadow)}
body.swmhl-v125 .team-profile-masthead-v44{grid-template-columns:minmax(0,1.15fr) minmax(180px,.55fr);gap:clamp(20px,5vw,70px);padding:clamp(28px,5vw,68px);min-height:360px}
body.swmhl-v125 .site-team-title{font-size:clamp(3.2rem,7vw,7.2rem)!important;line-height:.82!important;overflow-wrap:anywhere;text-wrap:balance}
body.swmhl-v125 .team-profile-crest-stage{min-width:0;display:grid;place-items:center}
body.swmhl-v125 .team-profile-crest{width:clamp(150px,20vw,250px)!important;height:clamp(150px,20vw,250px)!important;object-fit:contain}
body.swmhl-v125 .team-profile-intel-v44{grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:20px;padding:clamp(20px,3vw,36px)}
body.swmhl-v125 .team-profile-stats-v44{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
body.swmhl-v125 .team-profile-stats-v44>div{min-width:0}
body.swmhl-v125 .team-profile-stats-v44 strong{font-size:clamp(1.35rem,2vw,1.85rem);overflow-wrap:anywhere}
body.swmhl-v125 .team-profile-command-grid-v44{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px}
body.swmhl-v125 .team-profile-panel-v44{min-width:0;overflow:hidden;border-radius:22px}
body.swmhl-v125 .team-profile-wide-v44{grid-column:1/-1}
.team-panel-heading-v125{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:14px}
.team-panel-heading-v125>div>span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.67rem;font-weight:900;color:#7b8791}
.team-panel-heading-v125 h2{margin:.32rem 0 0!important}
.team-panel-rank-v125{font:900 2rem/.9 Archivo,sans-serif;color:rgba(10,17,24,.16)}
.team-leader-card-v125{min-height:126px;padding:22px!important;border-radius:18px!important;display:flex;flex-direction:column;justify-content:end;position:relative;overflow:hidden}
.team-leader-card-v125::after{content:"#1";position:absolute;right:12px;top:7px;font:900 4rem/.9 Archivo,sans-serif;color:rgba(255,255,255,.18)}
.team-leader-card-v125 strong{position:relative;z-index:1;font-size:clamp(1.5rem,2.5vw,2.1rem)!important;overflow-wrap:anywhere}
.team-leader-card-v125 span{position:relative;z-index:1}
.team-chasers-v125{margin-top:16px;min-width:0}
.team-chasers-v125 h3{margin:0 0 9px;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:#69757f}
.team-chasers-v125 .league-table{min-width:500px}

/* About / season pages: fit the layout rather than shrink the text */
body.swmhl-v125 .about-v124-intro,body.swmhl-v125 .about-format-v124,body.swmhl-v125 .about-history-v124{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:clamp(24px,4vw,56px);padding:clamp(28px,4vw,54px)}
body.swmhl-v125 .about-principles-v124{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.swmhl-v125 .about-principles-v124 article{min-width:0;min-height:240px}
body.swmhl-v125 .founders-v124-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.swmhl-v125 .season-review-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.swmhl-v125 .season-review-photo-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.825fr) minmax(0,.825fr);gap:12px}
body.swmhl-v125 .season-review-photo-grid img{min-width:0;min-height:360px}
body.swmhl-v125 .season-three-info-grid,body.swmhl-v125 .season-three-who{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

/* Finals: preserve its own event identity */
body.swmhl-v125[data-page="finals"] .page-main{background:#05080c}
body.swmhl-v125 .finals-command-hero-v98{overflow:hidden;border-radius:28px}
body.swmhl-v125 .champions-current-v117,body.swmhl-v125 .champions-history-v117,body.swmhl-v125 .finals-page-shell-v110,body.swmhl-v125 .finals-guide-v114,body.swmhl-v125 .finals-page-awards-v110{max-width:var(--v125-shell);min-width:0}
body.swmhl-v125 .champion-card-v117,body.swmhl-v125 .champions-history-card-v117{min-width:0}
body.swmhl-v125 .champion-card-logo-v117,body.swmhl-v125 .champions-history-logo-v117,body.swmhl-v125 .finals-running-logo-v114{width:clamp(58px,7vw,90px)!important;height:clamp(58px,7vw,90px)!important;object-fit:contain}

/* Operational surfaces still need proper scale */
body.swmhl-v125 .portal-layout.single,body.swmhl-v125 .captain-shell-v101,body.swmhl-v125 .fantasy-shell,body.swmhl-v125 .downloads-section,body.swmhl-v125 .app-settings-page{width:var(--v125-shell);max-width:none}
body.swmhl-v125 .portal-card,body.swmhl-v125 .captain-panel,body.swmhl-v125 .fantasy-panel,body.swmhl-v125 .downloads-card,body.swmhl-v125 .app-settings-panel{min-width:0;border-radius:20px}
body.swmhl-v125 input,body.swmhl-v125 select,body.swmhl-v125 textarea,body.swmhl-v125 button{max-width:100%}
body.swmhl-v125 .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-align:center}

/* Footer */
body.swmhl-v125 .footer{margin-top:clamp(56px,8vw,110px);background:#05080c;color:#fff}
body.swmhl-v125 .footer-grid{padding:clamp(30px,4vw,52px) 0;gap:28px}
body.swmhl-v125 .footer-identity strong{font-size:clamp(1rem,1.5vw,1.25rem)}
body.swmhl-v125 .footer-links{gap:10px 18px;flex-wrap:wrap}
body.swmhl-v125 .footer-links a{color:#b4bec7}

/* PWA: make dock fit narrow screens and safe areas */
body.swmhl-v125 .pwa-app-dock{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));max-width:640px;margin:0 auto;border-radius:18px;padding:5px;grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden}
body.swmhl-v125 .pwa-app-dock a,body.swmhl-v125 .pwa-app-dock button{min-width:0;padding:8px 2px 7px;border-radius:13px}
body.swmhl-v125 .pwa-app-dock small{max-width:100%;font-size:clamp(7.5px,2.2vw,9.5px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.swmhl-v125 .pwa-install-card,body.swmhl-v125 .pwa-update-card,body.swmhl-v125 .pwa-alert-card{max-width:560px;margin:0 auto;bottom:calc(82px + env(safe-area-inset-bottom));border-radius:18px}
body.swmhl-v125 .pwa-more-sheet{padding-bottom:calc(20px + env(safe-area-inset-bottom));max-height:min(80svh,720px);overflow:auto}

/* Tablet */
@media(max-width:1120px){
  :root{--v125-shell:min(100% - 32px,1120px)}
  body.swmhl-v125 .nav{min-height:74px;gap:15px}
  body.swmhl-v125 .brand-emblem{width:50px;height:50px;flex-basis:50px}
  body.swmhl-v125 .brand-copy span{display:none}
  body.swmhl-v125 .offseason-nav a{padding:.65rem .55rem;font-size:.73rem}
  body.swmhl-v125 .offseason-hero-grid{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .offseason-hero h1{font-size:clamp(3.8rem,9.2vw,7.2rem)}
  body.swmhl-v125 .team-directory-grid{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .about-principles-v124{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .archive-link-grid{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .team-profile-intel-v44{grid-template-columns:1fr}
}

/* Mobile landscape / small tablet */
@media(max-width:860px){
  :root{--v125-shell:calc(100vw - 28px)}
  body.swmhl-v125 header{position:relative}
  body.swmhl-v125 .nav{min-height:68px}
  body.swmhl-v125 .brand-emblem{width:48px;height:48px;flex-basis:48px}
  body.swmhl-v125 .brand-copy strong{font-size:1.25rem}
  body.swmhl-v125 .offseason-nav{display:none}
  .competition-status-v125>.shell{min-height:46px;gap:8px;flex-wrap:wrap;padding:8px 0}
  .competition-status-v125 strong{display:none}
  .competition-status-v125 a{margin-left:auto}
  body.swmhl-v125 .page-hero-grid{grid-template-columns:1fr;min-height:auto}
  body.swmhl-v125 .page-title-card{min-height:300px;padding:32px 26px}
  body.swmhl-v125 .fixture-hero-media,body.swmhl-v125 .page-hero-media{height:280px}
  body.swmhl-v125 .fixture-hero-media::after,body.swmhl-v125 .page-hero-media::after{background:linear-gradient(0deg,rgba(5,8,12,.3),transparent 55%)}
  body.swmhl-v125 .offseason-hero-grid{grid-template-columns:1fr;min-height:auto}
  body.swmhl-v125 .offseason-hero-copy{padding:54px 0 38px}
  body.swmhl-v125 .offseason-hero-media{min-height:430px;margin:0}
  body.swmhl-v125 .offseason-champions-grid{grid-template-columns:1fr}
  body.swmhl-v125 .offseason-awards-grid,body.swmhl-v125 .honours-award-stage{grid-template-columns:1fr}
  body.swmhl-v125 .offseason-feature-grid{grid-template-columns:1fr}
  body.swmhl-v125 .team-profile-masthead-v44{grid-template-columns:minmax(0,1fr) minmax(140px,.4fr);padding:30px 24px}
  body.swmhl-v125 .team-profile-command-grid-v44{grid-template-columns:1fr}
  body.swmhl-v125 .team-profile-wide-v44{grid-column:auto}
  body.swmhl-v125 .season-review-stat-grid{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .season-review-photo-grid{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .season-review-photo-grid img:first-child{grid-column:1/-1}
  body.swmhl-v125 .season-three-info-grid,body.swmhl-v125 .season-three-who{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .about-v124-intro,body.swmhl-v125 .about-format-v124,body.swmhl-v125 .about-history-v124{grid-template-columns:1fr}
  .honours-history-grid-v125{grid-template-columns:1fr}
}

/* Phone */
@media(max-width:600px){
  :root{--v125-shell:calc(100vw - 24px);--v125-radius:20px}
  html{scroll-padding-top:20px}
  body.swmhl-v125 .page-main{padding-top:12px}
  body.swmhl-v125 .nav{min-height:64px}
  body.swmhl-v125 .brand{gap:9px}
  body.swmhl-v125 .brand-emblem{width:44px;height:44px;flex-basis:44px}
  body.swmhl-v125 .brand-copy strong{font-size:1.13rem}
  .competition-status-v125>.shell{font-size:.66rem}
  .competition-status-v125 span{letter-spacing:.07em}
  .competition-status-v125 a{font-size:.66rem}
  body.swmhl-v125 .page-hero-grid{border-radius:22px}
  body.swmhl-v125 .page-title-card{min-height:270px;padding:28px 20px}
  body.swmhl-v125 .site-page-title,body.swmhl-v125 .page-title-card h1{font-size:clamp(2.8rem,15.5vw,4.8rem)!important;line-height:.86!important}
  body.swmhl-v125 .page-lead,body.swmhl-v125 .page-title-card>p{font-size:.96rem}
  body.swmhl-v125 .fixture-hero-media,body.swmhl-v125 .page-hero-media{height:230px}
  body.swmhl-v125 .offseason-hero-copy{padding:44px 0 28px}
  body.swmhl-v125 .offseason-hero h1{font-size:clamp(3.35rem,18.5vw,5.3rem);line-height:.8}
  body.swmhl-v125 .offseason-hero-media{min-height:330px;margin:0 -12px}
  body.swmhl-v125 .season-stamp{left:12px;right:12px;bottom:12px;max-width:none;padding:10px 12px}
  body.swmhl-v125 .season-stamp img{width:44px;height:44px}
  body.swmhl-v125 .offseason-stat-band{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .offseason-stat-band article{padding:18px 16px}
  body.swmhl-v125 .offseason-stat-band article:nth-child(2n){border-right:0}
  body.swmhl-v125 .offseason-stat-band article:nth-child(-n+2){border-bottom:1px solid var(--v125-line)}
  body.swmhl-v125 .offseason-section{padding-top:48px}
  body.swmhl-v125 .offseason-section-heading{gap:10px}
  body.swmhl-v125 .offseason-section-heading h2{font-size:clamp(2.25rem,12vw,3.6rem)}
  body.swmhl-v125 .champion-card-v125{grid-template-columns:76px minmax(0,1fr);min-height:150px;padding:17px}
  body.swmhl-v125 .champion-card-v125 img{width:74px;height:74px}
  body.swmhl-v125 .offseason-award,body.swmhl-v125 .honours-hat{grid-template-columns:92px minmax(0,1fr);min-height:230px;padding:18px;gap:14px}
  body.swmhl-v125 .offseason-award img,body.swmhl-v125 .honours-hat-art{width:90px;height:90px}
  body.swmhl-v125 .offseason-award strong,body.swmhl-v125 .honours-hat strong{font-size:clamp(1.55rem,8vw,2.45rem)}
  body.swmhl-v125 .offseason-feature-card{min-height:330px;padding:22px}
  body.swmhl-v125 .offseason-feature-card>div{max-width:76%}
  body.swmhl-v125 .offseason-feature-card h2{font-size:clamp(2.6rem,13vw,4.4rem)}
  body.swmhl-v125 .archive-link-grid{grid-template-columns:1fr}
  body.swmhl-v125 .archive-link-grid a{min-height:130px}
  body.swmhl-v125 .fixture-teams-row{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);gap:8px}
  body.swmhl-v125 .fixture-team-logo{width:60px!important;height:60px!important}
  body.swmhl-v125 .fixture-team .team-name{font-size:.9rem}
  body.swmhl-v125 .score{min-width:58px;font-size:clamp(2.1rem,12vw,3.4rem)!important}
  body.swmhl-v125 .fixture-side-label{font-size:.56rem}
  body.swmhl-v125 .team-directory-grid{grid-template-columns:1fr}
  body.swmhl-v125 .team-directory-logo{width:52px!important;height:52px!important;flex-basis:52px}
  body.swmhl-v125 .team-profile-masthead-v44{grid-template-columns:1fr;padding:28px 20px;min-height:auto}
  body.swmhl-v125 .team-profile-crest-stage{order:-1;justify-content:start}
  body.swmhl-v125 .team-profile-crest{width:125px!important;height:125px!important}
  body.swmhl-v125 .site-team-title{font-size:clamp(2.8rem,15vw,4.8rem)!important}
  body.swmhl-v125 .team-profile-intel-v44{padding:18px}
  body.swmhl-v125 .team-profile-stats-v44{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.swmhl-v125 .team-profile-stats-v44>div:last-child{grid-column:1/-1}
  body.swmhl-v125 .team-profile-command-grid-v44{padding:10px;gap:10px}
  body.swmhl-v125 .team-profile-panel-v44{padding:16px}
  .team-leader-card-v125{min-height:112px;padding:17px!important}
  .team-chasers-v125 .table-responsive-v125{margin:0 -16px;width:calc(100% + 32px);padding:0 16px 4px}
  body.swmhl-v125 .season-review-stat-grid{grid-template-columns:1fr 1fr}
  body.swmhl-v125 .season-review-stat-grid article{padding:18px}
  body.swmhl-v125 .season-review-photo-grid{grid-template-columns:1fr}
  body.swmhl-v125 .season-review-photo-grid img:first-child{grid-column:auto}
  body.swmhl-v125 .season-review-photo-grid img{min-height:240px}
  body.swmhl-v125 .season-three-info-grid,body.swmhl-v125 .season-three-who,body.swmhl-v125 .about-principles-v124,body.swmhl-v125 .founders-v124-grid{grid-template-columns:1fr}
  .honours-history-card-v125{grid-template-columns:82px minmax(0,1fr);min-height:160px;padding:18px;gap:14px}
  .honours-history-card-v125 img{width:80px;height:80px}
  .honours-history-card-v125::after{font-size:4rem}
  body.swmhl-v125 .offseason-about-strip{padding:24px;border-radius:22px}
  body.swmhl-v125 .footer-grid{padding:32px 0 92px}
}

/* Very narrow phones */
@media(max-width:390px){
  :root{--v125-shell:calc(100vw - 18px)}
  .competition-status-v125>.shell{gap:6px}
  .competition-status-v125 span{font-size:.61rem}
  .competition-status-v125 a{font-size:.61rem}
  body.swmhl-v125 .fixture-teams-row{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)}
  body.swmhl-v125 .fixture-team-logo{width:52px!important;height:52px!important}
  body.swmhl-v125 .fixture-team .team-name{font-size:.82rem}
  body.swmhl-v125 .score{min-width:50px;font-size:2.25rem!important}
  body.swmhl-v125 .offseason-award,body.swmhl-v125 .honours-hat{grid-template-columns:76px minmax(0,1fr)}
  body.swmhl-v125 .offseason-award img,body.swmhl-v125 .honours-hat-art{width:74px;height:74px}
  body.swmhl-v125 .team-profile-stats-v44{grid-template-columns:1fr 1fr}
}

@media(prefers-reduced-motion:reduce){body.swmhl-v125 *{scroll-behavior:auto!important}}
