:root{
  --green:#01472F; --green-2:#0A5C3E; --green-dark:#012A1C; --tint:#E6EFEB; --tint-2:#D5E3DD;
  --bg:#F5F7F5; --card:#FFFFFF; --ink:#0E1F18; --muted:#4F5F57; --line:#E3EAE5;
  --radius:14px; --shadow:0 1px 3px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Commissioner,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--green-2);text-decoration:underline}
img{max-width:100%;display:block}
h1,h2,h3{line-height:1.15;margin:0}
.wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:10px 14px;z-index:100}
.skip:focus{left:10px}

/* Top bar */
.topbar{background:var(--green);color:#fff;font-size:13px}
.topbar .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding-top:8px;padding-bottom:8px}
.topbar a{color:#fff}
.topbar .soc{display:flex;gap:16px}

/* Header */
.site-header{background:#fff;border-bottom:4px solid var(--green);position:relative;z-index:10}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink)}
.brand:hover{text-decoration:none;color:var(--ink)}
.brand img{width:64px;height:64px;object-fit:contain}
.brand b{display:block;font-size:21px;font-weight:800}
.brand small{display:block;font-size:13px;color:var(--muted)}
.nav{display:flex;flex-wrap:wrap;gap:2px}
.nav a{padding:11px 13px;border-radius:8px;color:var(--ink);font-weight:600;font-size:15px}
.nav a:hover{background:var(--tint);text-decoration:none}
.nav a.on{background:var(--tint);color:var(--green)}
.menu-btn{display:none;background:none;border:2px solid var(--green);color:var(--green);border-radius:10px;padding:10px 14px;font:inherit;font-weight:700;min-height:44px}
@media (max-width:1100px){
  .menu-btn{display:block}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;padding:8px 20px 16px;border-bottom:4px solid var(--green);box-shadow:0 8px 20px rgba(0,0,0,.08)}
  .nav.open{display:flex}
  .nav a{padding:13px 12px}
}
@media (max-width:520px){.brand img{width:52px;height:52px}.brand b{font-size:18px}.brand small{display:none}}

/* Layout */
main{padding:28px 0 48px}
.grid-main{display:flex;flex-wrap:wrap;gap:24px}
.col-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.col-side{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:24px}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.card-h{background:var(--green);color:#fff;padding:14px 20px;font-weight:700;display:flex;justify-content:space-between;align-items:center;gap:10px}
.card-h.dark{background:var(--ink)}
.card-h small{font-weight:500;font-size:13px;opacity:.8}
.card-f{display:block;padding:14px 20px;font-weight:700;border-top:1px solid var(--line)}
.pad{padding:20px}
.page-title{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:22px}
.page-title h1{font-size:38px;font-weight:900}
.kicker{font-size:12px;font-weight:700;letter-spacing:1.5px;color:var(--green);text-transform:uppercase}
.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;font-weight:700;padding:13px 22px;border-radius:10px;min-height:44px;border:2px solid var(--green)}
.btn:hover{background:var(--green-2);color:#fff;text-decoration:none}
.btn.ghost{background:transparent;color:var(--green)}
.btn.ghost:hover{background:var(--tint)}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pills a{padding:9px 14px;border-radius:999px;background:#fff;box-shadow:var(--shadow);color:var(--ink);font-weight:600;font-size:14px}
.pills a.on{background:var(--green);color:#fff}
.pills a:hover{text-decoration:none}
select.season{font:inherit;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:#fff;min-height:44px}

/* Hero & news */
.hero{display:block;color:var(--ink)}
.hero:hover{text-decoration:none;color:var(--ink)}
.hero .ph{aspect-ratio:16/8;background:repeating-linear-gradient(135deg,var(--tint-2) 0 18px,var(--tint) 18px 36px)}
.hero .ph img{width:100%;height:100%;object-fit:cover}
.hero .tx{padding:26px;display:flex;flex-direction:column;gap:10px}
.hero h1{font-size:36px;font-weight:800}
.hero p{margin:0;font-size:17px;color:var(--muted)}
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.news{display:flex;flex-direction:column;color:var(--ink)}
.news:hover{text-decoration:none;color:var(--ink)}
.news:hover h3{color:var(--green)}
.news .ph{aspect-ratio:16/10;background:repeating-linear-gradient(135deg,var(--tint-2) 0 14px,var(--tint) 14px 28px)}
.news .ph img{width:100%;height:100%;object-fit:cover}
.news .tx{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px}
.news h3{font-size:17px;font-weight:700;line-height:1.3}
.date{font-size:12px;color:var(--muted)}
.ph.empty{display:flex;align-items:center;justify-content:center}
.ph.empty img{width:30%;height:auto;opacity:.35;object-fit:contain}

/* Matches */
.fx{padding:14px 20px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:6px;color:var(--ink)}
.fx:hover{text-decoration:none;background:#FAFCFB;color:var(--ink)}
.fx:last-child{border-bottom:0}
.fx .meta{font-size:12px;color:var(--muted)}
.fx .row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-weight:600}
.fx .row .t{display:flex;align-items:center;gap:8px;min-width:0}
.fx .row .t span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx .row .t.r{justify-content:flex-end;text-align:right}
.badge{background:var(--tint);color:var(--green);font-weight:800;padding:4px 10px;border-radius:6px;min-width:52px;text-align:center;white-space:nowrap}
.badge.next{background:var(--green);color:#fff}
.badge.W{background:#E3F4EA;color:#0B5A33}.badge.L{background:#F7E6E6;color:#8A1F1F}.badge.D{background:#EEF0EF;color:#333}
.crest{width:28px;height:28px;object-fit:contain;flex:none}
.crest.lg{width:72px;height:72px}
.crest.ini{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--tint);color:var(--green);font-weight:800;font-size:11px}
.crest.lg.ini{font-size:22px}
.us{font-weight:800}

.match-list{display:flex;flex-direction:column}
.month{padding:12px 20px;background:var(--tint);font-weight:700;color:var(--green);font-size:14px}

.next-match{background:var(--green);color:#fff;border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:16px}
.next-match .kicker{color:#CFE6DA}
.next-match .vs{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;text-align:center}
.next-match .vs div{display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:700}
.next-match .vs b{font-size:26px;font-weight:900;color:#CFE6DA}
.next-match .crest.lg{background:#fff;border-radius:50%;padding:6px}
.cd{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;text-align:center}
.cd div{background:rgba(0,0,0,.2);border-radius:10px;padding:8px 0}
.cd b{display:block;font-size:24px;font-weight:900}
.cd small{font-size:11px;color:#CFE6DA}
.next-match .info{font-size:14px;color:#E4F2EA}

.scoreboard{background:var(--green);color:#fff;border-radius:var(--radius);padding:28px 20px;display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;text-align:center}
.scoreboard .team{display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:700;font-size:18px}
.scoreboard .crest.lg{background:#fff;border-radius:50%;padding:6px;width:88px;height:88px}
.scoreboard .sc{font-size:56px;font-weight:900;letter-spacing:2px;white-space:nowrap}
.scoreboard .st{font-size:13px;color:#CFE6DA}
.goals{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;margin-top:6px;font-size:14px;color:#E4F2EA}
.goals .r{text-align:right}
@media (max-width:560px){.scoreboard .sc{font-size:40px}.scoreboard .crest.lg{width:60px;height:60px}.scoreboard .team{font-size:15px}}

/* Tables */
.tbl-wrap{overflow-x:auto}
table.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th{padding:10px 8px;color:var(--muted);font-size:12px;text-align:center;font-weight:600;white-space:nowrap}
.tbl th:first-child,.tbl td:first-child{padding-left:16px}
.tbl th.l,.tbl td.l{text-align:left}
.tbl td{padding:11px 8px;border-top:1px solid var(--line);text-align:center;white-space:nowrap}
.tbl td.l{white-space:normal}
.tbl tr.me td{background:var(--tint);font-weight:700;color:var(--green)}
.tbl td.pts{font-weight:800}
.tbl .tm{display:flex;align-items:center;gap:8px}

/* Squad */
.squad{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}
.pl{display:flex;flex-direction:column}
.pl .ph{aspect-ratio:4/5;background:linear-gradient(180deg,var(--tint),var(--tint-2));position:relative}
.pl .ph img{width:100%;height:100%;object-fit:cover}
.pl .num{position:absolute;left:12px;top:8px;font-size:40px;font-weight:900;color:var(--green);opacity:.85}
.pl .tx{padding:12px 14px}
.pl b{display:block}
.section-h{font-size:24px;font-weight:800;margin:28px 0 14px}
.section-h:first-child{margin-top:0}

/* Scorers */
.sc-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.sc-row:last-child{border-bottom:0}
.sc-row .n{width:22px;font-weight:800;color:var(--green)}
.sc-row .nm{flex:1}
.sc-row .g{font-weight:800}

/* History band */
.band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.band .wrap{padding-top:52px;padding-bottom:52px;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.band .tx{flex:1 1 420px;display:flex;flex-direction:column;gap:14px}
.band h2{font-size:42px;font-weight:900}
.band p{margin:0;font-size:17px;color:var(--muted);line-height:1.6}
.stats{flex:1 1 420px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.stats div{background:var(--tint);border-radius:var(--radius);padding:22px}
.stats b{display:block;font-size:36px;font-weight:900;color:var(--green)}
.stats span{color:var(--muted)}
.btns{display:flex;flex-wrap:wrap;gap:12px}

/* Sponsors */
.sponsors{padding:44px 0}
.sponsors h2{text-align:center;font-size:14px;font-weight:700;letter-spacing:2px;color:var(--muted);margin-bottom:20px}
.sp-row{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.sp{width:200px;height:90px;background:#fff;border-radius:12px;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;padding:14px;font-weight:700;color:var(--ink)}
.sp img{max-height:100%;max-width:100%;object-fit:contain}
.sp:hover{text-decoration:none}

/* Article */
.article{max-width:820px}
.article h1{font-size:40px;font-weight:900;margin:8px 0 12px}
.article .cover{border-radius:var(--radius);overflow:hidden;margin:20px 0}
.prose{font-size:18px;line-height:1.7}
.prose p{margin:0 0 1em}
.prose h2{font-size:26px;margin:1.4em 0 .5em}
.prose h3{font-size:21px;margin:1.2em 0 .5em}
.prose img{border-radius:10px;margin:1em 0}
.prose blockquote{margin:1em 0;padding:12px 18px;background:var(--tint);border-radius:10px}
.prose ul,.prose ol{padding-left:1.3em}
.video{position:relative;aspect-ratio:16/9;margin:1em 0;border-radius:12px;overflow:hidden;background:#000}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.share{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}

.pager{display:flex;justify-content:space-between;gap:12px;margin-top:24px}
.empty-state{padding:28px;text-align:center;color:var(--muted)}

/* Footer */
.site-footer{background:var(--green-dark);color:#B9C8BF}
.site-footer .wrap{padding-top:40px;padding-bottom:40px;display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;font-size:14px}
.site-footer .who{display:flex;gap:14px;align-items:flex-start}
.site-footer .who img{width:56px;height:56px;object-fit:contain}
.site-footer .who b{color:#fff;font-size:18px;display:block}
.site-footer nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.site-footer a{color:#fff}
.site-footer .copy{flex-basis:100%;border-top:1px solid rgba(255,255,255,.1);padding-top:18px;font-size:13px}
.yc{display:inline-block;width:12px;height:16px;border-radius:2px;background:#F2C200;vertical-align:middle}.yc.r{background:#C8102E}

/* Responsive tweaks */
.brand b{white-space:nowrap}
.nav a{padding:10px 10px;font-size:15px}
.col-side{flex-basis:360px}
.fx .row{font-size:14px;gap:8px}
.fx .crest{width:22px;height:22px}
.fx .crest.ini{font-size:9px}
.only-m{display:none}
@media (max-width:1240px){.nav a{padding:10px 8px;font-size:14px}}
@media (max-width:930px){
  .only-m{display:block}.only-d{display:none}
  .hero h1{font-size:28px}.hero .tx{padding:20px}
  .band h2{font-size:32px}.page-title h1{font-size:30px}.article h1{font-size:30px}
  .news-grid{grid-template-columns:1fr;gap:12px}
  .news{flex-direction:row}
  .news .ph{aspect-ratio:auto;width:120px;flex:none;min-height:100px}
  .news .tx{padding:12px 14px}
  .news h3{font-size:16px}
  .stats b{font-size:28px}
  .prose{font-size:17px}
}
@media (max-width:520px){.brand b{white-space:normal;font-size:17px;line-height:1.15}.brand{gap:10px}.menu-btn{padding:8px 12px}}
@media (max-width:930px){.topbar .soc{display:none}}
