@font-face { font-family: "DM Sans"; src: url("dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("barlow-condensed.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --ink: #142c24; --muted: #4a6157; --rule: #dce4dd; --green: #13583b; --lime: #c5ee78; }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f6f3; color: var(--ink); font: 400 16px/1.45 "DM Sans", sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--green); text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ad6502; outline-offset: 2px; }
.wrap { width: min(100% - 40px, 1040px); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 5; padding: 10px 16px; background: white; }
.skip:focus { top: 8px; }
.mast { border-bottom: 1px solid var(--rule); background: white; }
.mast-inner, .wordmark, .zone { display: flex; align-items: center; }
.mast-inner { min-height: 68px; justify-content: space-between; gap: 12px; }
.wordmark { gap: 9px; text-decoration: none; color: var(--ink); font-size: 23px; font-weight: 700; letter-spacing: -.055em; }
.wordmark span { border-left: 1px solid #aebeb4; padding-left: 10px; margin-left: 2px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.mark { display: inline-block; width: 21px; height: 24px; transform: skew(-14deg); background: linear-gradient(to right, #276c49 0 28%, transparent 28% 41%, #477f4d 41% 68%, transparent 68% 79%, #76a348 79% 100%); }
.zone { gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }
.zone i { width: 15px; height: 15px; position: relative; border: 1.5px solid currentColor; border-radius: 50%; }
.zone i::after { content: ""; position: absolute; width: 3px; height: 4px; border-left: 1px solid; border-bottom: 1px solid; left: 5px; top: 2px; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 194px; margin: 24px 0 16px; border-radius: 14px; background: #10271f; color: white; }
.hero img { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 64%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(94deg,#10271f 21%,rgba(16,39,31,.96) 34%,rgba(16,39,31,.76) 47%,rgba(16,39,31,.03) 82%); }
.hero-text { padding: 28px clamp(20px,4vw,44px); }
h1,h2,.empty h3 { margin: 0; font-family: "Barlow Condensed",sans-serif; font-weight: 700; line-height: 1.02; }
h1 { font-size: clamp(54px,7vw,82px); letter-spacing: -.025em; }
.hero p { margin: 10px 0 0; color: #edf4ed; }
.calendar { display: grid; grid-template-columns: 44px repeat(5,minmax(0,1fr)) 44px; align-items: stretch; gap: 4px; padding: 7px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.calendar a { display: flex; align-items: center; justify-content: center; min-height: 54px; text-decoration: none; border-radius: 7px; color: var(--ink); }
.calendar a:hover, .tabs a:hover { background: #f1f6ed; }
.calendar .arrow { color: var(--green); font: 500 28px/1 "DM Sans",sans-serif; }
.date-chip { flex-direction: column; line-height: 1.2; }
.date-chip span { color: var(--muted); font-size: 12px; }
.date-chip strong { margin-top: 3px; font-size: 15px; }
.calendar [aria-current] { background: var(--ink); color: #fff; }
.calendar [aria-current]:hover { background: #213f32; }
.date-chip[aria-current] span { color: var(--lime); }
.board { margin: 16px 0 0; background: #fff; border: 1px solid var(--rule); border-radius: 14px; }
.board-head { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 23px 26px 9px; }
.dateline { color: var(--muted); font-weight: 500; margin: 0 0 3px; font-size: 13px; }
h2 { font-size: clamp(32px,4vw,41px); }
.today { font-size: 13px; }
.tabs { display: flex; gap: 10px; padding: 0 20px; border-bottom: 1px solid var(--rule); }
.tabs a { display: grid; place-items: center; padding: 6px 8px; min-height: 44px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; font-size: 14px; }
.tabs a[aria-current] { color: var(--green); border-color: var(--green); font-weight: 700; }
.empty { padding: 26px 16px 32px; text-align: center; }
.mini-pitch { width: 46px; height: 31px; position: relative; display: inline-grid; place-items: center; border: 1.5px solid #749781; border-radius: 4px; background: linear-gradient(90deg,transparent 49%,#749781 49% 51%,transparent 51%), #eff6ec; }
.mini-pitch::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #749781; }
.empty h3 { font-size: 26px; margin: 10px 0 4px; }
.empty p { margin: 0; color: var(--muted); font-size: 14px; }
details { max-width: 390px; margin: 12px auto 0; }
summary { color: var(--green); min-height: 42px; padding: 10px 3px; cursor: pointer; font-size: 14px; font-weight: 600; }
.archive { text-align: left; padding: 15px; border-radius: 8px; background: #f4f7f2; }
.archive-date,.archive a,.feed-info { color: var(--muted); font-size: 12px; }
.archive .team-lines { margin-block: 7px; }
.feed-info { margin: 12px 24px; }
.league { margin: 16px 24px 20px; }
.league h3 { background: #eff4ee; padding: 8px 12px; font-size: 14px; border-radius: 5px; margin: 0; }
.league ul { margin: 0; padding: 0; list-style: none; }
.game { display: grid; grid-template-columns: 60px 1fr minmax(64px,104px); gap: 16px; align-items: center; padding: 12px 8px; }
.game + .game { border-top: 1px solid var(--rule); }
.kick { display: grid; font-size: 14px; font-variant-numeric: tabular-nums; }
.kick span,.game small { font-size: 12px; color: var(--muted); }
.game small { text-align: right; }
.team-lines { min-width: 0; }
.team-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 2px; }
.team-lines strong { font-variant-numeric: tabular-nums; }
footer.wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; color: var(--muted); padding-block: 16px 25px; font-size: 12px; }
footer a { color: var(--muted); }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 24px); }
  .mast-inner { min-height: 56px; }
  .wordmark { font-size: 21px; gap: 6px; }
  .wordmark span { padding-left: 7px; font-size: 12px; }
  .zone { font-size: 11px; }
  .hero { margin-top: 14px; min-height: 162px; }
  .hero img { width: 66%; object-position: 59% 57%; }
  .hero::after { background: linear-gradient(90deg,#10271f 13%,rgba(16,39,31,.94) 35%,rgba(16,39,31,.6) 58%,rgba(16,39,31,.10)); }
  .hero p { width: 180px; font-size: 14px; }
  .calendar { grid-template-columns: 36px repeat(3,minmax(0,1fr)) 36px; gap: 2px; padding: 5px; }
  .calendar .outer { display: none; }
  .board-head { padding: 17px 15px 8px; }
  .tabs { justify-content: space-between; gap: 0; padding: 0 9px; }
  .tabs a { padding-inline: 6px; font-size: 13px; }
  .league { margin-inline: 12px; }
  .game { grid-template-columns: 40px 1fr 60px; gap: 8px; padding-inline: 2px; font-size: 14px; }
}
