/* Self-hosted Barlow — subset to the glyphs this site renders, hinting dropped.
   Three faces, 27.5 KB total. Served from our own origin because the Content
   Security Policy is `style-src 'self'` and Google Fonts could not load anyway. */
@font-face{font-family:Barlow;src:url(/assets/fonts/barlow-400.woff2) format("woff2");
  font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Barlow;src:url(/assets/fonts/barlow-600.woff2) format("woff2");
  font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(/assets/fonts/barlow-condensed-700.woff2) format("woff2");
  font-weight:700;font-style:normal;font-display:swap}
:root{--navy:#090c60;--blue:#3067b2;--lime:#d5ef08;--ink:#17233b;--muted:#667389;--border:#dce3ed;--paper:#f3f6fa;--white:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}a{color:#245da5;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #83a8df;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:2.25rem;line-height:1.15;letter-spacing:-.045em;margin-bottom:12px}h2{font-size:1.2rem;line-height:1.4;letter-spacing:-.02em;margin-bottom:18px}p{line-height:1.6}small{display:block;font-size:.8125rem;line-height:1.5;color:var(--muted)}.eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.13em;line-height:1.6;color:var(--blue);margin-bottom:10px}.muted,.help{color:var(--muted)}.help{font-size:.875rem;line-height:1.6;margin:20px 0 0}.muted-light{color:#aeb6d4}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;background:var(--navy);color:white;min-height:46px;padding:12px 20px;font-size:.875rem;font-weight:700;gap:8px;text-decoration:none;white-space:normal}.button:hover{background:#252784;text-decoration:none}.button.light{background:var(--lime);color:var(--navy)}.wide{width:100%}.text-button{background:none;border:0;padding:8px;color:var(--blue);font-size:.875rem;font-weight:650;min-height:40px}.danger{color:#a12735}label{display:block;font-size:.875rem;font-weight:650;margin-bottom:20px;line-height:1.5}label span{color:#a12735}input,select,textarea{display:block;width:100%;min-height:46px;background:white;border:1px solid #bfcbdc;border-radius:6px;padding:11px 12px;margin-top:7px;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #9ebfea;outline-offset:1px;border-color:var(--blue)}textarea{resize:vertical}.check{display:flex;align-items:center;gap:10px;font-weight:400}.check input{width:20px;height:20px;min-height:0;flex:none;margin:0}.notice,.error{padding:15px 18px;border-radius:7px;margin:18px 0;font-size:.875rem;line-height:1.6}.notice{background:#eaf2fd;border:1px solid #cddff4;color:#274f84}.error{background:#fff0f0;border:1px solid #e6b4ba;color:#8d2232}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.club-panel{background:var(--navy);color:white;padding:8vh 12%;display:flex;flex-direction:column;justify-content:center;border-bottom:8px solid var(--lime)}.login-crest{width:145px;height:auto;object-fit:contain;margin-bottom:45px}.club-panel .eyebrow{color:var(--lime)}.club-panel h1{font-size:clamp(2.8rem,4.3vw,4.8rem);font-weight:750;line-height:1.02;margin:10px 0 25px}.club-copy{color:#c1c9e8;max-width:300px}.pathway{display:flex;gap:22px;border-top:1px solid #414783;padding-top:25px;margin-top:30px;font-size:.875rem;color:#dfe4fb;flex-wrap:wrap}.login-form{display:grid;place-items:center;padding:55px 30px;background:white}.login-inner{width:100%;max-width:390px}.login-inner h2{font-size:2rem;margin:12px 0}.login-inner form{margin-top:30px}.shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:white;padding:28px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;color:white;font-size:1.2rem;font-weight:800;line-height:1.2;margin-bottom:48px}.brand:hover{text-decoration:none}.brand img{width:59px;height:64px;object-fit:contain}.brand small{color:#b6bedb;font-size:.65rem;letter-spacing:.13em;margin-top:5px}.nav-label{color:#9aa6cd;font-size:.7rem;letter-spacing:.14em;padding-left:12px;font-weight:750}.nav-link{display:flex;align-items:center;gap:15px;color:#cdd4ec;padding:13px 15px;margin:5px 0;border-radius:6px;font-size:.9375rem;font-weight:550}.nav-link:hover{background:#252978;text-decoration:none}.nav-link.selected{background:var(--lime);color:var(--navy);font-weight:750}.nav-symbol{font-size:1.2rem;width:21px;text-align:center;line-height:1}.sidebar-bottom{margin-top:auto;border-top:1px solid #333979;padding:24px 9px 4px}.sidebar-bottom .eyebrow{color:#9ba9d2;font-size:.65rem}.sidebar-bottom p{font-size:.75rem;margin:12px 0;color:#e3e6f5}.sidebar-bottom .muted-light{font-size:.75rem}.workspace{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:white;border-bottom:1px solid var(--border);min-height:86px;padding:20px 36px;font-size:.875rem;color:var(--muted)}.slash{padding:0 12px;color:#bbc3d0}.account{display:flex;align-items:center;gap:18px;color:var(--ink)}.account>span{font-weight:700}.account small{font-weight:400;text-transform:capitalize}.content{padding:28px 36px 40px;max-width:1450px;margin:auto}.sample-banner{display:flex;align-items:center;gap:16px;border-left:3px solid var(--blue);padding:9px 13px;margin-bottom:30px;font-size:.8125rem;color:#4a6284;background:#e9eff8;line-height:1.5}.sample-banner strong{color:#234675;white-space:nowrap}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.heading-row .muted{font-size:.875rem;margin:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:34px}.stat{background:white;border:1px solid var(--border);border-radius:9px;padding:23px}.stat>span{font-size:.875rem;color:#596a83}.stat strong{display:block;font-size:2.6rem;font-weight:750;margin:16px 0 8px;line-height:1}.stat.accent{background:var(--navy);border-color:var(--navy);color:var(--lime)}.stat.accent>span{color:white}.stat.accent small{color:#bdc9e8}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 16px}.section-heading h2{margin:0}.section-heading a{font-size:.875rem;font-weight:650}.card{background:white;border:1px solid var(--border);border-radius:9px;padding:25px;margin-bottom:24px}.no-pad{padding:0;overflow:hidden}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.two-col .card p:not(.eyebrow){font-size:.9375rem;color:var(--muted)}.two-col .card a{font-size:.875rem;font-weight:700}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{background:#f8faff;padding:16px 20px;color:#65738b;font-size:.75rem;letter-spacing:.025em;font-weight:650;white-space:nowrap}td{padding:18px 20px;border-top:1px solid #e9edf3;vertical-align:middle}tbody tr:hover{background:#fafcff}.player-name{display:flex;align-items:center;gap:12px;font-weight:650;color:var(--ink);white-space:nowrap}.player-name small{font-weight:400;font-size:.75rem}.avatar{width:39px;height:39px;display:grid;place-items:center;flex:none;background:#e9f0fc;color:#3967a9;border:1px solid #d2def1;border-radius:50%;font-weight:650}.badge{display:inline-block;background:#edf4e9;color:#36572d;border:1px solid #dce8d6;border-radius:5px;padding:5px 9px;font-size:.75rem;white-space:nowrap}.filters{display:flex;gap:16px;align-items:flex-end;margin:25px 0}.filters label{margin:0;flex:1}.filters a{padding:13px 4px;font-size:.875rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.form-actions{display:flex;gap:24px;align-items:center}.back{display:inline-block;font-size:.875rem;margin-bottom:25px}.profile-header{display:flex;align-items:center;gap:24px;background:var(--navy);color:white;padding:30px;border-radius:9px;margin-bottom:24px}.profile-header .eyebrow{color:var(--lime)}.profile-header p{margin-bottom:0;color:#c3cce8}.profile-header .button{margin-left:auto}.profile-avatar{display:grid;place-items:center;width:95px;height:110px;flex:none;background:#333a89;border:1px solid #5c68a6;border-radius:8px;font-size:3rem}dl{margin:0}body:not(.pub) dl>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #edf0f5;padding:12px 0;font-size:.875rem}body:not(.pub) dt{color:var(--muted)}body:not(.pub) dd{margin:0;font-weight:550;text-align:right;overflow-wrap:anywhere;max-width:65%}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.timeline{border-left:3px solid #c9dbf1;padding:8px 15px;margin:15px 0;font-size:.875rem}.timeline span{display:block;color:var(--muted);margin-top:5px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:35px 0}.team-card{border:1px solid var(--border);border-top:5px solid var(--blue);background:white;padding:30px;border-radius:8px}.team-card h2{font-size:2rem;margin:20px 0}.team-card strong{display:block;font-size:2rem}.team-card strong small{display:inline;font-weight:400;font-size:.875rem}.team-card a{display:block;margin-top:32px;font-size:.875rem;font-weight:700}.team-card:last-child{border-top-color:var(--navy)}summary{cursor:pointer;font-weight:700;font-size:1rem;padding:4px 0}details[open] summary{margin-bottom:25px}.inline{display:flex;gap:5px;flex-wrap:wrap}.empty{text-align:center;padding:45px 25px}.empty p{color:var(--muted)}.footer{padding:22px 36px;border-top:1px solid var(--border);font-size:.75rem;color:var(--muted);display:flex;justify-content:space-between;gap:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.content{padding-top:40px}.stats{gap:24px}.stat{padding:28px}.shell{grid-template-columns:255px minmax(0,1fr)}}
@media(max-width:1100px){.shell{grid-template-columns:195px minmax(0,1fr)}.content{padding:25px}.topbar{padding:20px 25px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:22px}.team-grid{gap:14px}.team-card{padding:22px}.profile-header{flex-wrap:wrap}.profile-header .button{margin-left:0}}
@media(max-width:760px){.shell{display:block}.sidebar{position:relative;height:auto;padding:14px 18px}.brand{margin:0;font-size:1rem}.brand img{width:40px;height:44px}.brand small{font-size:.6rem}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;margin-top:12px;gap:5px}.nav-link{font-size:.875rem;padding:10px 12px;white-space:nowrap;margin:0}.nav-symbol{display:none}.topbar{padding:15px 20px;min-height:64px}.topbar>span{display:none}.account{width:100%;justify-content:space-between}.content{padding:20px 16px}.heading-row{align-items:flex-start;flex-wrap:wrap;gap:12px}.heading-row h1{font-size:1.9rem}.sample-banner{display:block;margin-bottom:24px}.sample-banner span{display:block}.stats{gap:12px}.stat{padding:18px 15px}.stat strong{font-size:2rem}.two-col,.form-grid,.detail-grid,.team-grid{grid-template-columns:1fr}.card{padding:20px}.card.no-pad{padding:0}.two-col{gap:0}.filters{display:grid;grid-template-columns:1fr 1fr}.filters label:first-of-type{grid-column:1/-1}.filters .button{align-self:end}.filters>a{grid-column:1/-1}.profile-header{padding:23px;gap:18px}.profile-header h1{font-size:1.8rem;overflow-wrap:anywhere}.profile-avatar{width:65px;height:75px;font-size:2rem}.footer{padding:20px 16px;flex-direction:column;gap:8px}.login-layout{grid-template-columns:1fr}.club-panel{padding:28px;display:block}.login-crest{width:65px;float:right;margin:0 0 15px 15px}.club-panel h1{font-size:2.4rem}.club-copy,.pathway{display:none}.login-form{padding:35px 24px}.team-grid{margin:25px 0}.team-card h2{margin:14px 0}.section-heading{align-items:flex-start}td,th{padding:15px}}

.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:7px}

/* Stage 2b — match statistics entry. Narrow numeric cells so a full team sheet
   fits without horizontal scrolling on a laptop, and align digits in columns. */
.stat-cell{width:4.5rem;min-width:4.5rem;text-align:right;font-variant-numeric:tabular-nums}
table td small{display:block;color:var(--muted,#6d7694);font-size:.78em;line-height:1.35;margin-top:.15em}

/* ============================================================================
   THE PUBLIC WEBSITE
   ----------------------------------------------------------------------------
   Palette taken from the club crest: navy ground, royal-blue wings, lime shield.
   No web font is loaded. The Content-Security-Policy is style-src 'self', and
   weakening it on a children's club site to fetch a typeface would be a poor
   trade; the weight here comes from scale, colour blocking and the crest.
   ========================================================================== */
.pub{
  --navy:#111a4f; --navy-2:#0a1136; --navy-3:#1b2668; --navy-deep:#070c2b;
  --royal:#3c6fd1; --royal-soft:#6d97e4;
  --lime:#c6e22e; --lime-2:#8fa617;
  --paper:#f3f6fb; --white:#fff;
  --ink:#111a4f; --body:#3b456b; --muted:#5d6a8c;
  --line:#dde4ef; --line-2:#c8d3e6;
  --sans:Barlow,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --display:"Barlow Condensed",Barlow,"Arial Narrow",system-ui,sans-serif;
  margin:0;background:var(--white);color:var(--body);
  font:16px/1.65 var(--sans);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
.pub *{box-sizing:border-box}
.pub h1,.pub h2,.pub h3{color:var(--ink);margin:0;line-height:1.06;letter-spacing:-.005em;
  font-family:var(--display);font-weight:700;text-wrap:balance}
.pub p{margin:0}
.pub a{color:var(--royal);text-decoration:none}
.pub a:hover{text-decoration:underline}
.pub :focus-visible{outline:3px solid var(--royal);outline-offset:3px;border-radius:var(--r-sm)}
/* The focus indicator has to clear 3:1 against what it sits on (WCAG 1.4.11).
   royal-soft measured 2.92:1 on white — a fail — so light surfaces take the
   stronger royal, and navy surfaces take lime, which reaches 11.15:1. */
.pub .hero :focus-visible,.pub-head :focus-visible,.pub-foot :focus-visible,
.band-navy :focus-visible,.cta :focus-visible{outline-color:var(--lime)}
.pub .num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}

/* --- shell: the footer is pushed to the bottom, so a short page never simply
       stops halfway down a grey screen -------------------------------------- */
.pub-shell{min-height:100vh;display:flex;flex-direction:column}
.pub-shell>main{flex:1 0 auto}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.band{padding:76px 0}
.band-tight{padding:52px 0}
.band-paper{background:var(--paper)}
.band-navy{background:var(--navy);color:#c9d3ef}
.band-navy h1,.band-navy h2,.band-navy h3{color:#fff}

/* --- masthead -------------------------------------------------------------- */
.pub-head{background:var(--navy);border-bottom:5px solid var(--lime);position:sticky;top:0;z-index:40}
.pub-head-in{max-width:1120px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:24px}
.pub .pub-brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;flex:none}
.pub .pub-brand:hover{text-decoration:none}
.pub-brand img{width:52px;height:52px;border-radius:50%;object-fit:cover;
  box-shadow:0 0 0 2px var(--lime),0 0 0 5px rgba(198,226,46,.18)}
.pub-brand b{font-family:var(--display);font-weight:700;display:block;font-size:1.0625rem;letter-spacing:-.02em;line-height:1.2}
.pub-brand small{display:block;font-size:.625rem;letter-spacing:.2em;color:var(--lime);font-weight:600;margin-top:3px}
.pub-nav{margin-left:auto;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.pub-nav a{color:#b9c4e6;font-size:.9375rem;font-weight:600;padding:9px 14px;border-radius:7px}
.pub-nav a:hover{color:#fff;background:rgba(255,255,255,.08);text-decoration:none}
.pub-nav a.on{color:var(--navy);background:var(--lime)}
.pub-nav .pub-login{margin-left:8px;border:1.5px solid rgba(255,255,255,.32);color:#fff;font-size:.875rem}
.pub-nav .pub-login:hover{border-color:var(--lime);background:transparent;color:var(--lime)}

/* --- hero ------------------------------------------------------------------- */
.hero{position:relative;background:var(--navy);color:#c9d3ef;overflow:hidden;
  padding:96px 0 128px;isolation:isolate}
.hero::after{content:"";position:absolute;inset:auto 0 0 0;height:5px;background:var(--lime)}
/* The diagonal cut. The crest is a JPEG with navy baked into its background, so
   enlarging it as a watermark could only ever read as mud. This is the club's
   mark in structure instead: a wedge of deeper navy with a lime edge along the
   cut, built from two clipped layers so the edge follows the angle exactly. */
.hero-cut{position:absolute;inset:0 0 0 auto;width:46%;max-width:620px;z-index:-1;pointer-events:none}
.hero-cut::before{content:"";position:absolute;inset:0;background:var(--navy-deep);
  clip-path:polygon(30% 0,100% 0,100% 100%,0 100%)}
@media(max-width:820px){.hero-cut{display:none}}
.hero .eyebrow{color:var(--lime);font-size:.75rem;font-weight:600;letter-spacing:.22em;margin:0 0 22px}
.hero h1{color:#fff;font-size:clamp(2.9rem,6.6vw,5.25rem);letter-spacing:-.01em;line-height:.98;max-width:15ch}
.hero p.lede{margin:26px 0 0;font-size:1.1875rem;line-height:1.6;max-width:46ch;color:#c3cee9}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:38px}

.pub .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:2px solid transparent;border-radius:9px;padding:15px 28px;
  font-size:.9375rem;font-weight:600;letter-spacing:.01em;text-decoration:none;cursor:pointer;
  transition:transform .12s ease,background .15s ease,color .15s ease}
.pub .btn:hover{text-decoration:none;transform:translateY(-1px)}
.pub .btn-lime{background:var(--lime);color:var(--navy)}
.pub .btn-lime:hover{background:#d4ec46}
.pub .btn-ghost{border-color:rgba(255,255,255,.35);color:#fff}
.pub .btn-ghost:hover{border-color:var(--lime);color:var(--lime)}
.pub .btn-navy{background:var(--navy);color:#fff}
.pub .btn-navy:hover{background:var(--navy-3)}

/* --- the strip of cards that lifts over the hero ---------------------------- */
.strip{margin-top:-72px;position:relative;z-index:5}
.strip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.tile{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:28px;
  box-shadow:0 18px 40px -24px rgba(17,26,79,.35)}
.tile .label{font-size:.6875rem;font-weight:600;letter-spacing:.18em;color:var(--royal);margin:0 0 14px}
.tile .headline{font-family:var(--display);font-weight:700;font-size:1.625rem;color:var(--ink);letter-spacing:-.03em;line-height:1.15;margin:0}
.tile .score{font-family:var(--display);font-weight:700;font-size:3rem;color:var(--ink);letter-spacing:-.05em;line-height:1;margin:0}
.tile .meta{margin:12px 0 0;font-size:.9375rem;color:var(--muted)}
.tile .empty-note{margin:0;font-size:1.0625rem;color:var(--muted)}

/* --- section headings -------------------------------------------------------- */
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 32px}
.sec-head h2{font-size:clamp(1.75rem,3vw,2.25rem)}
.sec-head .eyebrow{font-size:.6875rem;font-weight:600;letter-spacing:.18em;color:var(--royal);margin:0 0 10px}
.sec-head a{font-size:.9375rem;font-weight:600;white-space:nowrap}
.band-navy .sec-head .eyebrow{color:var(--lime)}

/* --- news --------------------------------------------------------------------- */
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.pub .news-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);
  border-radius:14px;padding:28px;color:inherit;transition:border-color .15s ease,transform .15s ease}
.pub .news-card:hover{border-color:var(--royal);transform:translateY(-2px);text-decoration:none}
.news-card time{font-size:var(--t-sm);font-weight:600;letter-spacing:0;color:var(--royal)}
.news-card h3{font-size:1.3125rem;margin:14px 0 0;letter-spacing:-.025em;line-height:1.25}
.news-card p{margin:12px 0 0;color:var(--muted);font-size:.9375rem}
.news-card .more{margin-top:auto;padding-top:20px;font-size:.875rem;font-weight:600;color:var(--royal)}
.pub .news-lead{grid-column:1/-1;background:var(--navy);border-color:var(--navy);color:#c3cee9}
.news-lead h3{color:#fff;font-size:clamp(1.75rem,3.4vw,2.5rem);max-width:20ch}
.news-lead time{color:var(--lime)}
.news-lead p{color:#c3cee9;font-size:1.0625rem;max-width:60ch}
.news-lead .more{color:var(--lime)}
.pub .news-lead:hover{border-color:var(--lime);transform:none}

/* --- teams ---------------------------------------------------------------------- */
.team-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:22px}
.pub .team-tile{position:relative;display:flex;flex-direction:column;overflow:hidden;
  background:var(--white);border:1px solid var(--line);border-radius:16px;padding:32px;color:inherit}
.team-tile::before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:var(--royal)}
.team-tile.first::before{background:var(--lime)}
.pub .team-tile:hover{text-decoration:none;border-color:var(--line-2)}
.team-tile .kind{font-size:.6875rem;font-weight:600;letter-spacing:.18em;color:var(--royal);margin:6px 0 16px}
.team-tile.first .kind{color:var(--lime-2)}
.team-tile h2{font-size:2.125rem;letter-spacing:-.04em}
.team-tile .count{display:flex;align-items:baseline;gap:10px;margin:22px 0 0}
.team-tile .count b{font-family:var(--display);font-weight:700;font-size:2.75rem;color:var(--ink);letter-spacing:-.05em;line-height:1}
.team-tile .count span{font-size:.9375rem;color:var(--muted)}
.team-tile .go{margin-top:26px;font-size:.9375rem;font-weight:600;color:var(--royal)}

/* --- squad ------------------------------------------------------------------------ */
.squad{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.pub .player-card{display:flex;align-items:center;gap:18px;background:var(--white);border:1px solid var(--line);
  border-radius:13px;padding:18px 20px;color:inherit;transition:border-color .15s ease,transform .15s ease}
.pub .player-card:hover{border-color:var(--royal);transform:translateY(-2px);text-decoration:none}
.pub .shirt{font-family:var(--display);font-weight:700;font-variant-numeric:tabular-nums;
  flex:none;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;
  background:var(--navy);color:var(--lime);font-size:1.25rem;letter-spacing:-.02em}
.player-card b{font-family:var(--display);font-weight:700;display:block;font-size:1.0625rem;color:var(--ink);letter-spacing:-.015em}
.player-card span{display:block;font-size:.875rem;color:var(--muted);margin-top:3px}

/* --- player page -------------------------------------------------------------------- */
.player-hero{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.player-hero .shirt{width:86px;height:86px;font-size:2rem;box-shadow:0 0 0 3px rgba(198,226,46,.25)}
.player-hero h1{font-size:clamp(2.25rem,5vw,3.5rem)}
.player-hero .pos{margin:10px 0 0;font-size:1.0625rem;color:#c3cee9}
.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px}
.stat-tile{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:26px;text-align:center}
.stat-tile b{font-family:var(--display);font-weight:700;display:block;font-size:3rem;color:var(--ink);letter-spacing:-.05em;line-height:1}
.stat-tile .k{font-size:.6875rem;font-weight:600;letter-spacing:.18em;color:var(--royal);margin:0 0 14px}
.stat-tile .n{font-size:.8125rem;color:var(--muted);margin:12px 0 0}

/* --- fixtures ------------------------------------------------------------------------- */
.filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 30px}
.filters a{font-size:.875rem;font-weight:600;color:var(--ink);background:var(--white);
  border:1px solid var(--line-2);border-radius:999px;padding:9px 18px}
.filters a:hover{border-color:var(--royal);color:var(--royal);text-decoration:none}
.filters a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.match-list{display:flex;flex-direction:column;gap:12px}
.match{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:24px;
  background:var(--white);border:1px solid var(--line);border-radius:13px;padding:20px 24px}
.match .when{text-align:center;border-right:1px solid var(--line);padding-right:20px}
.match .when b{font-family:var(--display);font-weight:700;display:block;font-size:1.5rem;color:var(--ink);letter-spacing:-.04em;line-height:1}
.match .when span{display:block;font-size:var(--t-xs);font-weight:600;letter-spacing:0;color:var(--text-muted);margin-top:var(--s-1)}
.match .who b{font-family:var(--display);font-weight:700;display:block;font-size:1.125rem;color:var(--ink);letter-spacing:-.02em}
.match .who span{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}
.match .out{text-align:right;white-space:nowrap}
.match .result{font-family:var(--display);font-weight:700;font-size:1.75rem;letter-spacing:-.04em;color:var(--ink);line-height:1}
.match .venue{font-size:.875rem;color:var(--muted)}
/* Unscoped so the styleguide renders the real component rather than a copy of
   it. The word is always present alongside the colour — see tokens.css. */
.pub .badge-w,.pub .badge-d,.pub .badge-l{display:inline-block;font-size:var(--t-xs);
  font-weight:600;letter-spacing:0;padding:var(--s-1) 9px;border-radius:var(--r-sm)}
.match .badge-w,.match .badge-d,.match .badge-l{margin-top:var(--s-1)}
.pub .badge-w{background:var(--win-bg);color:var(--win)}
.pub .badge-d{background:var(--draw-bg);color:var(--draw)}
.pub .badge-l{background:var(--loss-bg);color:var(--loss)}

/* --- prose --------------------------------------------------------------------------- */
.prose{max-width:68ch;margin-left:0;margin-right:auto}
.prose h1{font-size:clamp(2.25rem,4.6vw,3.25rem);margin-bottom:24px}
.prose p{font-size:1.0625rem;line-height:1.75;margin:0 0 20px;color:var(--body)}
.prose ul{margin:0 0 20px;padding-left:22px}
.prose li{font-size:1.0625rem;line-height:1.75;margin-bottom:12px}
.prose .lede{font-size:1.25rem;line-height:1.6;color:var(--ink);font-weight:500}
.aside-note{background:var(--paper);border-left:4px solid var(--royal);border-radius:0 12px 12px 0;
  padding:24px 28px;margin:32px 0 0}
.aside-note p{font-size:.9375rem;margin:0;color:var(--muted)}

/* --- empty states: deliberate, not blank ------------------------------------------------ */
.empty-state{text-align:center;padding:64px 28px;background:var(--white);
  border:1px dashed var(--line-2);border-radius:16px}
.empty-state img{width:76px;height:76px;border-radius:50%;opacity:.4;margin:0 0 22px}
.empty-state h3{font-size:1.375rem;margin:0 0 10px}
.empty-state p{max-width:44ch;margin:0 auto;color:var(--muted);font-size:.9375rem}

/* --- call to action ---------------------------------------------------------------------- */
.cta{background:var(--lime);color:var(--navy)}
.cta-in{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.cta h2{font-size:clamp(1.5rem,3vw,2rem);color:var(--navy);max-width:24ch}
.cta p{margin:10px 0 0;color:#3d4a1e;font-size:1rem;max-width:52ch}

/* --- footer ------------------------------------------------------------------------------- */
.pub-foot{background:var(--navy-2);color:#8e9ac4;border-top:5px solid var(--lime)}
.foot-in{max-width:1120px;margin:0 auto;padding:64px 24px 40px;
  display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:44px}
.foot-brand img{width:74px;height:74px;border-radius:50%;object-fit:cover;
  box-shadow:0 0 0 2px var(--lime);margin-bottom:20px}
.foot-brand b{font-family:var(--display);font-weight:700;display:block;color:#fff;font-size:1.1875rem;letter-spacing:-.02em}
.foot-brand p{margin:12px 0 0;font-size:.9375rem;max-width:34ch;line-height:1.7}
.foot-col h4,.foot-col .foot-h{color:#fff;font-size:var(--t-base);font-weight:600;letter-spacing:0;margin:0 0 var(--s-4)}
.foot-col a{display:block;color:#8e9ac4;font-size:.9375rem;padding:6px 0}
.foot-col a:hover{color:var(--lime);text-decoration:none}
.foot-base{border-top:1px solid rgba(255,255,255,.09)}
.foot-base-in{max-width:1120px;margin:0 auto;padding:22px 24px;display:flex;
  justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.8125rem}
.foot-base a{color:#8e9ac4}

/* --- responsive ------------------------------------------------------------------------------ */
@media (max-width:900px){
  .foot-in{grid-template-columns:1fr 1fr;gap:36px}
  .foot-brand{grid-column:1/-1}
  .hero{padding:68px 0 104px}
  .hero-crest{width:360px;height:360px;right:-130px;opacity:.16}
  .band{padding:56px 0}
}
@media (max-width:620px){
  .pub-head-in{flex-wrap:wrap;gap:14px}
  .pub-nav{margin-left:0;width:100%;gap:2px}
  .pub-nav a{padding:8px 11px;font-size:.875rem}
  .pub-nav .pub-login{margin-left:auto}
  .hero{padding:52px 0 92px}
  .hero-crest{display:none}
  .strip{margin-top:-60px}
  .tile{padding:22px}
  .match{grid-template-columns:70px 1fr;gap:16px;padding:16px 18px}
  .match .when{padding-right:14px}
  .match .out{grid-column:2;text-align:left;margin-top:8px}
  .foot-in{grid-template-columns:1fr;gap:30px;padding:44px 24px 30px}
  .band{padding:44px 0}
  .cta-in{gap:20px}
}
@media (prefers-reduced-motion:reduce){.pub *{transition:none!important}}
/* A disabled control must look disabled. .text-button set its own colour and
   cursor, which overrode the generic button:disabled rule further up — so the
   approve button a submitter cannot use still looked clickable, invited a
   click, and did nothing. */
button:disabled,
.text-button:disabled,
.button:disabled{opacity:.45;cursor:not-allowed;text-decoration:none}
.text-button:disabled:hover,
.button:disabled:hover{filter:none}

/* ==========================================================================
   Styleguide  (/?site=styleguide)
   Presentation for the design-system page only. It deliberately reuses the
   real component classes above rather than restyling copies of them.
   ========================================================================== */
.sg-h{font-size:var(--d-2);margin:0 0 var(--s-5)}
.sg-sub{font-size:var(--t-md);margin:var(--s-7) 0 var(--s-4);color:var(--text-primary)}
.sg-sub:first-of-type{margin-top:var(--s-5)}
.sg-note{font-size:var(--t-sm);color:var(--text-muted);max-width:70ch;margin:0 0 var(--s-4)}
.pub code{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:var(--t-xs);
  background:var(--n-100);padding:2px 6px;border-radius:var(--r-sm);color:var(--n-800)}

.sg-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--s-4);margin-bottom:var(--s-5)}
.sg-swatch{display:flex;flex-direction:column;gap:var(--s-1)}
.sg-swatch code{background:none;padding:0;font-size:var(--t-xs)}
.sg-swatch span{font-size:var(--t-xs);color:var(--text-muted)}
.sg-chip{height:64px;border-radius:var(--r-sm);border:1px solid var(--border)}

.sg-table{width:100%;border-collapse:collapse;font-size:var(--t-sm);margin-bottom:var(--s-5)}
.sg-table th{text-align:left;font-weight:600;color:var(--text-muted);font-size:var(--t-xs);
  text-transform:uppercase;letter-spacing:var(--track-label);
  padding:var(--s-2) var(--s-3);border-bottom:2px solid var(--border-strong)}
.sg-table td{padding:var(--s-3);border-bottom:1px solid var(--border);vertical-align:middle}
.sg-table .ta-r{text-align:right}
.sg-narrow{max-width:420px}
.sg-demo{display:inline-block;padding:var(--s-1) var(--s-2);border-radius:var(--r-sm);
  margin-right:var(--s-2);font-weight:600;border:1px solid rgba(0,0,0,.06)}
.pill{display:inline-block;font-size:var(--t-xs);font-weight:600;padding:3px 10px;border-radius:var(--r-pill)}
.pill-pass{background:var(--win-bg);color:var(--win)}
.pill-fail{background:var(--loss-bg);color:var(--loss)}
.pill-na{background:var(--n-100);color:var(--text-muted)}

.sg-row{display:flex;align-items:baseline;gap:var(--s-5);margin:0 0 var(--s-3);
  border-bottom:1px solid var(--border);padding-bottom:var(--s-3)}
.sg-tok{flex:none;width:170px;font-size:var(--t-xs);color:var(--text-muted)}
.sg-tok code{background:none;padding:0}
.sg-spec{margin:0 0 var(--s-2);color:var(--text-primary)}

.sg-spaces{display:flex;flex-direction:column;gap:var(--s-2)}
.sg-space{display:flex;align-items:center;gap:var(--s-4);font-size:var(--t-xs);color:var(--text-muted)}
.sg-space code{background:none;padding:0;width:64px;flex:none}
.sg-bar{height:16px;background:var(--royal);border-radius:var(--r-sm);flex:none}

.sg-strip{display:flex;align-items:center;gap:var(--s-3);flex-wrap:wrap;margin-bottom:var(--s-4)}
.sg-on-navy{background:var(--navy);padding:var(--s-4);border-radius:var(--r-md)}
.sg-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--s-4)}

/* --- styleguide swatches -------------------------------------------------
   Classes rather than inline style attributes: the Content Security Policy is
   `style-src 'self'`, which silently drops every inline style. Driving these
   from the tokens also means a swatch cannot disagree with the token it names. */
.sw-navy{background:var(--navy)}
.sw-navy-deep{background:var(--navy-deep)}
.sw-navy-lift{background:var(--navy-lift)}
.sw-royal{background:var(--royal)}
.sw-royal-deep{background:var(--royal-deep)}
.sw-lime{background:var(--lime)}
.sw-lime-deep{background:var(--lime-deep)}
.sw-n-50{background:var(--n-50)}    .sw-n-100{background:var(--n-100)}
.sw-n-200{background:var(--n-200)}  .sw-n-300{background:var(--n-300)}
.sw-n-400{background:var(--n-400)}  .sw-n-500{background:var(--n-500)}
.sw-n-600{background:var(--n-600)}  .sw-n-700{background:var(--n-700)}
.sw-n-800{background:var(--n-800)}  .sw-n-900{background:var(--n-900)}
.sw-win{background:var(--win)} .sw-draw{background:var(--draw)} .sw-loss{background:var(--loss)}

/* contrast demo pairings */
.p-body-w{background:var(--surface);color:var(--text-body)}
.p-muted-w{background:var(--surface);color:var(--text-muted)}
.p-head-w{background:var(--surface);color:var(--text-primary)}
.p-link-w{background:var(--surface);color:var(--link)}
.p-white-navy{background:var(--navy);color:var(--text-on-navy)}
.p-dim-navy{background:var(--navy);color:var(--text-on-navy-dim)}
.p-lime-navy{background:var(--navy);color:var(--lime)}
.p-navy-lime{background:var(--lime);color:var(--navy)}
.p-limed-w{background:var(--surface);color:var(--lime-deep)}
.p-won{background:var(--win-bg);color:var(--win)}
.p-lost{background:var(--loss-bg);color:var(--loss)}
.p-body-sunk{background:var(--surface-sunk);color:var(--text-body)}
.p-border-w{background:var(--surface);color:var(--border)}

/* type-scale rows */
.ts-2xs{font-size:var(--t-2xs)} .ts-xs{font-size:var(--t-xs)} .ts-sm{font-size:var(--t-sm)}
.ts-base{font-size:var(--t-base)} .ts-md{font-size:var(--t-md)} .ts-lg{font-size:var(--t-lg)}
.ts-xl{font-size:var(--t-xl)} .ts-2xl{font-size:var(--t-2xl)}
.sg-display{font-family:var(--font-display);font-weight:700;font-size:var(--d-1);line-height:var(--lh-tight)}
.no-tnum{font-variant-numeric:normal}

/* space bars — widths come from the space scale itself */
.sb-1{width:var(--s-1)} .sb-2{width:var(--s-2)} .sb-3{width:var(--s-3)} .sb-4{width:var(--s-4)}
.sb-5{width:var(--s-5)} .sb-6{width:var(--s-6)} .sb-7{width:var(--s-7)} .sb-8{width:var(--s-8)}
.sb-9{width:var(--s-9)} .sb-10{width:var(--s-10)}

/* --- hero size variants --------------------------------------------------
   Replacing inline padding overrides that the CSP was discarding, so the
   inner pages have actually been rendering at the full home-page height. */
.hero-mid{padding:var(--s-8) 0 var(--s-9)}
.hero-sm{padding:var(--s-7) 0 var(--s-8)}
.hero-mid h1,.hero-sm h1{font-size:var(--d-1);max-width:22ch}
.sec-tight{margin-top:var(--s-2)}
.h-sub{font-size:var(--t-md)}

/* ==========================================================================
   Structure replacing the template chrome
   Tile labels and player stats are definition lists now: the label is a real
   <dt>, in sentence case, not a tracked-capitals eyebrow. Meta strings are
   discrete elements separated by a hairline rather than middle dots.
   ========================================================================== */
.strip-grid,.stat-row{margin:0}
.tile dt,.stat-tile dt{font-size:var(--t-sm);font-weight:600;color:var(--text-muted);
  letter-spacing:0;text-transform:none;margin:0 0 var(--s-3)}
.tile dd,.stat-tile dd{margin:0}
.tile .headline{margin:0}
.stat-tile dd.num{display:block;font-family:var(--display);font-weight:700;
  font-size:var(--d-score);color:var(--text-primary);line-height:1}
.stat-tile dd.n{font-size:var(--t-xs);color:var(--text-muted);margin-top:var(--s-3)}

/* Discrete facts. A hairline is a separator; a middle dot is a decoration
   that a screen reader also has to read aloud. */
.facts{display:flex;flex-direction:column;gap:var(--s-1);margin:var(--s-3) 0 0;
  font-size:var(--t-sm);color:var(--text-muted);line-height:1.4}
/* Short, reliably single-line facts sit on one row with a hairline between. */
.match .who .facts{flex-direction:row;flex-wrap:wrap;gap:var(--s-3);margin-top:var(--s-1)}
.match .who .facts>*+*{padding-left:var(--s-3);border-left:1px solid var(--border-strong)}

.team-tile .kind{font-size:var(--t-sm);font-weight:600;letter-spacing:0;
  text-transform:none;color:var(--text-muted);margin:var(--s-1) 0 var(--s-4)}

.hero-meta{margin:0 0 var(--s-4);font-size:var(--t-sm);color:var(--text-on-navy-dim)}

/* Radius by role, not one value everywhere: structural blocks stay near-square
   to hold the scoreboard character; only things you click get softened. */
.tile,.stat-tile{border-radius:var(--r-sm)}
.news-card,.team-tile,.player-card{border-radius:var(--r-md)}


/* A squad with nothing published states why, and is not a link, because there
   is nothing behind it to open. */
.team-tile-empty{cursor:default;background:var(--surface-sunk);box-shadow:none}
.team-tile-empty:hover{transform:none}
.team-tile-empty .none{margin:var(--s-4) 0 0;font-size:var(--t-sm);color:var(--text-muted);line-height:1.55}


/* A squad with nothing published states why, and is not a link, because there
   is nothing behind it to open. */
.team-tile-empty{cursor:default;background:var(--surface-sunk);box-shadow:none}
.team-tile-empty:hover{transform:none}
.team-tile-empty .none{margin:var(--s-4) 0 0;font-size:var(--t-sm);color:var(--text-muted);line-height:1.55}

/* Below this width the match facts wrap, which would leave a separator rule
   stranded at the start of the second line. They stack instead. */
@media(max-width:640px){
  .match .who .facts{flex-direction:column;gap:var(--s-1)}
  .match .who .facts>*+*{padding-left:0;border-left:0}
}


/* Skip link. Six navigation links repeat on every page; a keyboard user should
   not have to walk them all to reach the content (WCAG 2.4.1). It is hidden
   until focused, then sits above everything. */
.skip-link{position:absolute;left:var(--s-4);top:-100px;z-index:100;
  background:var(--lime);color:var(--navy);font-weight:600;
  padding:var(--s-3) var(--s-4);border-radius:var(--r-md);
  transition:top var(--dur) var(--ease)}
.skip-link:focus{top:var(--s-3);text-decoration:none}
