/* Touchline reference treatment. Existing stylesheet remains available. */
:root {
  --bg: #0b1013;
  --bg-2: #10171c;
  --side: #0f161b;
  --card: #131d23;
  --card-2: #1b262e;
  --line: #2b363d;
  --text: #edf2f5;
  --muted: #859198;
  --faint: #69777d;
  --lime: #bdff50;
  --lime-ink: #1e2a12;
  --live: #c1f464;
  --radius: 9px;
  --header: 73px;
}
html { color-scheme: dark; scroll-behavior: smooth; }
body { font-size: 13px; line-height: 1.5; }
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--lime); }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 4px;
}
button { transition: background-color 130ms ease, color 130ms ease; }
button:hover { filter: brightness(1.08); }
.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; }
.text-lime, .accent-icon { color: var(--lime) !important; }
.topbar { grid-template-columns: 214px minmax(0, 1fr) auto; padding: 0 30px; gap: 24px; background: #10171c; }
.brand { font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 26px; letter-spacing: .015em; gap: 10px; }
.brand-mark { border-radius: 2px; width: 31px; height: 32px; overflow: hidden; }
.brand-mark img { display: block; }
.main-nav { justify-content: flex-start; gap: 8px; height: 100%; }
.main-nav a { display: flex; align-items: center; padding: 0 14px; font-size: 13px; font-weight: 500; }
.main-nav a.is-on { color: var(--lime); }
.top-tools { gap: 14px; }
.search { background: #131c22; min-width: 238px; width: 242px; height: 38px; border-radius: 6px; padding: 0 12px; }
.search input { width: 160px; font-size: 11px; }
.search kbd { border: 0; padding: 0; font-size: 10px; white-space: nowrap; }
.search-pop { min-width: 100%; background: var(--card-2); }
.icon-btn, .lang { border-radius: 4px; }
.disclaimer { border-left: 0; border-bottom: 1px solid #293322; background: #172015; color: #8e9a88; height: 32px; padding: 0 30px; font-size: 11px; }
.disclaimer .dot { background: transparent; border: 2px solid var(--lime); width: 11px; height: 11px; box-shadow: none; }
.shell { grid-template-columns: 198px minmax(0, 1fr); }
.sidebar { padding: 14px 15px 24px; border-color: var(--line); }
.side-label { font-size: 10px; margin: 14px 0 9px; }
.side-head { margin-top: 25px; }
.side-filter { color: var(--muted); }
.side-link, .league-link, .team-link { border-radius: 5px; font-size: 12px; color: #8f9a9f; padding: 10px; gap: 11px; }
.side-link { min-height: 41px; margin-bottom: 6px; }
.side-link.is-on { color: var(--lime); background: #26371d; font-weight: 600; }
.league-link { min-height: 44px; padding: 10px 5px; }
.league-code { color: var(--badge); background: transparent; font-family: Inter, sans-serif; font-size: 9px; width: 22px; }
.league-code-globe { color: #9aa8ae; }
.team-link { min-height: 46px; padding: 6px; }
.team-link .badge { width: 22px; height: 27px; font-size: 8px; border-radius: 5px 5px 9px 9px; }
.team-link.is-on { border: 1px solid var(--line); background: #1b262e; color: var(--text); }
.plus { border: 0; font-size: 17px; border-radius: 0; width: 16px; }
.tz { margin: 26px 0 0; padding-top: 17px; border-top: 1px solid var(--line); display: block; font-size: 11px; line-height: 1.8; }
.tz svg { margin-right: 4px; vertical-align: -2px; }
.badge { border-radius: 5px 5px 11px 11px; width: 27px; height: 31px; font-family: Oswald, sans-serif; font-weight: 600; font-size: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.badge-sm { width: 21px; height: 25px; font-size: 8px; border-radius: 4px 4px 8px 8px; }
.badge-xl { width: 90px; height: 96px; border-radius: 16px 16px 29px 29px; font-size: 29px; }
.page { min-width: 0; padding: 29px 30px 40px; }
.matches-page { min-height: 1360px; }
.page-intro { display: flex; align-items: center; justify-content: space-between; min-height: 102px; gap: 20px; }
.eyebrow, .club-en { font-family: Oswald, sans-serif; color: var(--lime); font-size: 12px; letter-spacing: .15em; font-weight: 500; margin: 0 0 10px; }
h1 { font-size: 33px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
.lede { font-size: 13px; margin-top: 10px; }
.counters { display: flex; text-align: center; gap: 33px; padding: 4px 0 10px; }
.counters b { font-family: Oswald, sans-serif; font-size: 35px; line-height: 1.2; font-weight: 500; margin-bottom: 9px; }
.counters > div:nth-child(2) b { color: var(--lime); }
.counters span { font-size: 11px; color: var(--muted); }
.datebar { margin: 16px 0 24px; padding: 8px; height: 76px; border-radius: 9px; background: #141d23; gap: 5px; }
.days { gap: 8px; height: 100%; min-width: 0; }
.day { border-radius: 5px; padding: 7px 3px; font-size: 12px; color: var(--text); min-width: 0; }
.day strong { font-weight: 500; }
.day small { font-size: 10px; margin-top: 4px; color: #78868c; }
.day.is-on strong { font-weight: 700; }
.date-nav { color: #a0aeb4; font-size: 23px; width: 27px; }
.calendar-control { position: relative; align-self: stretch; display: flex; align-items: center; border-left: 1px solid var(--line); margin: 8px 0; }
.cal { height: 100%; padding: 0 14px; border-radius: 0; font-size: 12px; color: var(--text); gap: 9px; }
#date-picker { position: absolute; width: 1px; height: 1px; opacity: 0; bottom: 0; right: 0; }
.layout { grid-template-columns: minmax(0, 1fr) 316px; gap: 24px; }
.match-list { min-width: 0; }
.filters { height: 39px; margin: 0 0 20px; gap: 10px; }
.chips { flex-wrap: nowrap; gap: 8px; }
.chip { border-radius: 5px; padding: 9px 12px; background: #1c272f; font-size: 11px; white-space: nowrap; color: #97a4aa; }
.chip em { color: inherit; margin-left: 2px; }
.chip.is-on { color: #20300f; }
.follow-only { margin-left: auto; background: transparent; color: #88979f; font-size: 11px; padding: 8px 0; border-radius: 4px; gap: 6px; white-space: nowrap; }
.follow-only.is-on { outline: 0; color: var(--lime); }
.league-card, .card, .feature { border-radius: 9px; border: 1px solid var(--line); margin-bottom: 20px; }
.league-card { padding: 0; border-left-width: 1px; overflow: hidden; }
.league-card-head { min-height: 50px; background: var(--card-2); padding: 9px 15px; gap: 12px; }
.league-code.lg { width: 29px; height: 30px; font-family: Oswald, sans-serif; font-size: 15px; background: #10171c; color: var(--text); border-radius: 3px; }
.league-card-head > div { display: flex; align-items: baseline; gap: 12px; }
.league-card-head strong { font-size: 13px; font-weight: 600; }
.league-card-head > div > span { font-size: 11px; }
.week { padding: 0; font-size: 10px; gap: 12px; color: #85959d; }
.week em { background: transparent; padding: 0; border-radius: 0; font-size: 10px; }
.week svg { transition: transform 150ms ease; }
.is-collapsed .week svg { transform: rotate(180deg); }
.match { grid-template-columns: 40px minmax(0, 1fr); min-height: 64px; border-top: 1px solid var(--line); padding: 0 12px; }
.match:first-child { border-top: 0; }
.match.is-featured { background: #1a2a21; border-left: 2px solid var(--lime); padding-left: 10px; }
.match.is-featured .star, .match.is-featured .go { color: var(--lime); }
.match-hit { grid-template-columns: 80px minmax(0, 1fr) 70px minmax(0, 1fr) 12px; padding: 12px 0; gap: 10px; border-radius: 0; }
.match:hover { background: #1b262c; }
.match:hover .match-hit { background: transparent; }
.star { width: 28px; height: 32px; color: #6f818a; }
.star.is-on svg path { fill: rgba(189,255,80,.18); }
.when { font-size: 10px; color: #74828a; }
.when strong { font-size: 12px; font-weight: 500; color: #cbd4d9; margin-bottom: 4px; }
.when.live strong { font-size: 17px; font-family: Inter, sans-serif; color: var(--lime); font-weight: 700; }
.when.live { color: var(--live); font-size: 9px; }
.when small { display: block; margin-top: 2px; color: var(--faint); }
.tname { font-size: 12px; }
.side { gap: 10px; }
.score { font-family: Inter, sans-serif; font-size: 19px; padding: 3px 0; font-weight: 700; border-radius: 4px; background: transparent; letter-spacing: .02em; white-space: nowrap; }
.score.live { background: #243719; color: var(--lime); }
.score.upcoming { color: #65737a; }
.is-featured .score { background: #152027; }
.go { font-size: 20px; }
.list-foot { font-size: 10px; margin-top: 23px; color: #78878f; }
.sim { gap: 6px; }
.sim i { width: 5px; height: 5px; box-shadow: none; }
.empty { border-radius: 8px; font-size: 13px; line-height: 1.9; margin: 0 0 20px; }
.empty small { font-size: 11px; }
.rail { position: static; min-width: 0; }
.feature { margin-bottom: 24px; }
.feature-photo { height: 147px; }
.feature-photo img { object-position: center 62%; filter: brightness(.8); }
.feature-tag { top: 16px; left: 14px; right: auto; font-size: 10px; color: var(--lime); font-weight: 500; }
.feature-tag span { padding: 4px 8px; border-radius: 3px; background: rgba(12,22,18,.84); }
.feature-body { padding: 19px 20px 20px; }
.feature-score { grid-template-columns: 1fr 1.5fr 1fr; gap: 7px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.feature-score > div { display: flex; flex-direction: column; gap: 10px; justify-content: center; text-align: center; }
.feature-score > div:last-child { justify-content: center; }
.feature-score .badge { width: 37px; height: 41px; font-size: 14px; border-radius: 6px 6px 15px 15px; }
.feature-score b { font-size: 10px; color: #9aa6ac; font-weight: 400; }
.feature-score .feature-result { display: block; }
.feature-score strong { font-family: Inter, sans-serif; font-size: 33px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.feature-result small { color: var(--muted); font-size: 9px; margin-top: 13px; display: block; }
.feature-body h3 { font-size: 17px; font-weight: 600; margin: 17px 0 15px; }
.feature-body > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 16px; }
.more { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 500; align-items: center; }
.more span { font-size: 19px; line-height: 1; }
.card { padding: 0; }
.card-head { padding: 17px 16px 9px; justify-content: space-between; }
.card-head h2, .info-card h2 { font-size: 18px; font-weight: 600; }
.card-head h2 { display: flex; align-items: center; gap: 9px; }
.card-head > .muted { font-size: 10px; }
.rail-card { margin-bottom: 24px; overflow: hidden; }
.rail-kicker { margin: 0; padding: 0 16px 16px; font-size: 11px; }
.mini-table th { background: #10181d; height: 35px; font-size: 10px; padding: 8px 6px; font-weight: 400; }
.mini-table td { padding: 11px 6px; height: 49px; font-size: 12px; border-top: 1px solid var(--line); }
.mini-table td:first-child, .mini-table th:first-child { padding-left: 16px; width: 31px; }
.mini-table td:last-child, .mini-table th:last-child { padding-right: 16px; text-align: right; }
.mini-table td:nth-child(3), .mini-table td:nth-child(4) { color: #a6b1b6; font-size: 11px; }
.mini-table td:nth-child(2) { min-width: 145px; }
.mini-table a { font-size: 10px; gap: 8px; }
.mini-table tr.is-hot, .standings-full tr.is-hot { background: #26351d; }
.mini-table tr.is-hot td:first-child, .mini-table tr.is-hot .pts { color: var(--lime); }
.fine { font-size: 10px; color: #6f7e86; line-height: 1.7; margin: 14px 16px 10px; padding: 0; }
.table-card > .more { margin: 0 16px 17px; font-size: 11px; }
.next-watch { padding-bottom: 16px; }
.next-watch .card-head { padding: 18px 18px 12px; }
.next-watch h2 { font-size: 13px; }
.when-line { font-size: 11px; margin: 3px 0 14px; padding: 0 18px; }
.next-watch .kick { padding: 0 18px; }
.next-watch .kick strong { font-family: Inter, sans-serif; font-size: 22px; font-weight: 600; }
.versus { text-align: center; font-size: 11px; color: #c1ccd1; margin: 13px 0 17px; }
.remind { margin: 0 18px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; background: var(--card-2); font-size: 11px; font-weight: 500; }
.crumb { font-size: 11px; margin: 0 0 24px; }
.crumb span { margin: 0 10px; }
.hero { min-height: 230px; border-radius: 9px; margin: 0; }
.hero img { object-position: center 62%; }
.hero::after { background: linear-gradient(90deg, #132128 0%, rgba(15,29,35,.95) 27%, rgba(12,22,28,.7) 53%, rgba(7,13,16,.16) 100%); }
.hero-copy { padding: 28px 28px 0; align-items: flex-start; }
.hero-id { gap: 24px; }
.club-en { font-size: 14px; margin-bottom: 10px; }
.hero h1 { font-size: 37px; }
.club-sub { margin-top: 11px; font-size: 12px; }
.follow-btn { border-radius: 5px; padding: 10px 14px; font-size: 12px; font-weight: 600; height: 40px; }
.hero-foot { padding: 30px 28px 22px; font-size: 12px; align-items: center; }
.season { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; padding: 7px 10px; font-size: 11px; color: #d4dde2; background: rgba(12,20,26,.82); }
.tab-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 23px; border-bottom: 1px solid var(--line); }
.tabs { border: 0; gap: 29px; margin: 0; }
.tabs button { padding: 17px 0 15px; font-size: 12px; }
.tabs button.is-on { color: var(--lime); font-weight: 500; }
.updated { margin: 0; font-size: 10px; color: #62737c; }
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat { border-radius: 8px; padding: 16px 18px; min-height: 121px; }
.stat p, .stat span { font-size: 11px; }
.stat strong { font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 29px; font-weight: 500; margin: 7px 0 2px; line-height: 1.4; }
.stat small { font-family: 'Noto Sans Thai', sans-serif; font-weight: 400; font-size: 11px; margin-left: 8px; color: var(--muted); }
.team-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 34.5%); gap: 24px; align-items: start; }
.team-main { min-width: 0; }
.next-match-card { min-height: 153px; margin-bottom: 16px; }
.next-match-card .card-head { padding: 12px 15px 0; }
.next-match-card .card-head h2, .form-card h2 { font-size: 12px; }
.next-match-card .card-head .more { font-size: 10px; }
.next-match-card .when-line { margin: 4px 0 5px; padding: 0 15px; font-size: 10px; }
.next-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: 6px 20px; }
.next-teams > div { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.next-teams > div:first-child { justify-content: flex-end; }
.next-teams strong { font-family: Inter, sans-serif; font-size: 26px; font-weight: 600; }
.next-note { text-align: center; font-size: 10px; color: var(--faint); margin: 4px 0 13px; }
.results-card { overflow: hidden; margin-bottom: 23px; }
.results-card .card-head { background: var(--card-2); padding: 13px 15px; }
.results-card .card-head h2 { font-size: 12px; }
.results-card .card-head .muted { font-size: 9px; }
.results li { grid-template-columns: 99px 39px 24px minmax(0,1fr) 59px 40px 22px; gap: 8px; padding: 13px 15px; min-height: 52px; border-top: 1px solid var(--line); }
.r-date { font-size: 10px; }
.r-venue { font-size: 9px; background: #1b262d; border-radius: 3px; padding: 3px 5px; text-align: center; }
.r-name { font-size: 12px; }
.r-score { font-family: Inter, sans-serif; font-size: 16px; text-align: center; font-weight: 600; white-space: nowrap; }
.r-word { font-size: 10px; text-align: right; }
.mark { width: 23px; height: 25px; font-family: Inter, sans-serif; font-size: 11px; font-weight: 600; border-radius: 4px; background: #1b272e; }
.mark-W { color: var(--lime); background: #26391c; box-shadow: inset 0 0 0 1px #425335; }
.mark-D { color: #9dacb4; background: #202b33; }
.mark-L { color: #f47c88; background: #3b222c; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.section-head h2 { font-size: 19px; font-weight: 600; margin: 0; }
.section-head .muted { font-size: 11px; }
.squad-card { overflow: hidden; padding: 0; margin-bottom: 12px; }
.table-scroll { overflow-x: auto; }
.squad th { background: var(--card-2); font-size: 10px; padding: 11px 10px; font-weight: 400; }
.squad td { padding: 11px 10px; font-size: 11px; height: 50px; border-top: 1px solid var(--line); }
.squad th:first-child, .squad td:first-child { padding-left: 20px; width: 43px; }
.squad th:last-child, .squad td:last-child { text-align: right; padding-right: 15px; }
.squad td:nth-child(2) { width: 45%; }
.squad td:nth-child(3), .squad td:nth-child(4), .squad td:nth-child(5) { color: #a1afb5; font-size: 10px; }
.squad td b { font-size: 11px; font-weight: 500; }
.squad td small { font-size: 9px; color: #718087; line-height: 1.3; }
.shirt { width: auto; height: auto; padding: 0; min-width: 0; background: transparent; border-radius: 0; font-family: Inter, sans-serif; color: #87989f; font-size: 14px; font-weight: 500; }
.captain { font-family: Inter, sans-serif; display: inline-block; width: auto; height: auto; border-radius: 0; font-size: 9px; background: transparent; font-style: normal; color: #87979f; margin-left: 9px; }
.squad-note { font-size: 10px; color: #647780; margin: 12px 0 0; }
.form-card { min-height: 153px; margin-bottom: 16px; }
.form-card .card-head { padding: 15px 18px 10px; }
.form { padding: 0 18px; gap: 10px; }
.form-card .mark { width: 28px; height: 28px; }
.form-card .fine { margin: 14px 18px 16px; }
.info-card { padding: 18px; min-height: 278px; margin-bottom: 24px; }
.info-card h2 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-card dl { margin: 10px 0 0; }
.info-card dl div { display: flex; justify-content: space-between; gap: 14px; border-top: 0; padding: 9px 0; font-size: 11px; }
.info-card dd { text-align: right; }
.info-card dt { color: var(--muted); }
.info-card .fine { margin: 13px 0 0; font-size: 9px; }
.team-rail .table-card { margin-bottom: 20px; }
.scorer .card-head { padding-bottom: 14px; }
.scorer h2 { font-size: 14px; }
.scorer-row { padding: 0 18px 20px; gap: 15px; }
.scorer-row .shirt-lg { width: 44px; height: 52px; border-radius: 4px; background: #3d202e; color: #d88ca1; display: grid; place-items: center; font-family: Oswald, sans-serif; font-size: 27px; }
.scorer-row b { font-size: 14px; font-weight: 500; }
.scorer-row span { font-size: 10px; margin-top: 5px; }
.scorer-row em { background: transparent; padding: 0; font-family: Oswald, sans-serif; font-size: 30px; font-weight: 500; color: var(--lime); }
.scorer-row small { font-family: 'Noto Sans Thai', sans-serif; font-size: 10px; font-weight: 400; color: #70828b; margin-top: 2px; }
.fixture-upcoming { padding: 20px; }
.fixture-upcoming h2 { margin: 0; font-size: 18px; }
#panel-table .table-card { max-width: 800px; }
.footer { margin-left: 198px; padding: 26px 30px 34px; background: var(--bg); font-size: 10px; border-top: 0; position: relative; min-height: 100px; }
.footer::before { content: ''; position: absolute; top: 0; left: 30px; right: 30px; height: 1px; background: var(--line); }
.footer strong { font-family: Oswald, sans-serif; font-size: 17px; color: #9aaaae; letter-spacing: .075em; font-weight: 400; }
.footer p { margin-top: 2px; font-size: 10px; color: #63757e; }
.footer nav { gap: 24px; color: #77858c; }
@media (min-width: 1550px) {
  .page { padding-left: 40px; padding-right: 40px; }
  .layout { grid-template-columns: minmax(0,1fr) 350px; }
  .footer { padding-left: 40px; padding-right: 40px; }
  .footer::before { left: 40px; right: 40px; }
}
@media (max-width: 1250px) {
  .topbar { grid-template-columns: 190px minmax(0,1fr) auto; gap: 10px; padding: 0 20px; }
  .main-nav a { padding: 0 10px; }
  .search { width: 200px; min-width: 200px; }
  .layout { grid-template-columns: minmax(0,1fr) 285px; gap: 18px; }
  .shell { grid-template-columns: 180px minmax(0,1fr); }
  .page { padding: 25px 22px 35px; }
  .footer { margin-left: 180px; padding-left: 22px; padding-right: 22px; }
  .match-hit { grid-template-columns: 58px minmax(0,1fr) 62px minmax(0,1fr) 10px; gap: 7px; }
  .tname { font-size: 11px; }
  .follow-only { font-size: 0; }
  .follow-only svg { width: 19px; height: 19px; }
  .team-columns { grid-template-columns: minmax(0,1fr) 300px; gap: 18px; }
  .results li { grid-template-columns: 75px 34px 21px minmax(0,1fr) 48px 22px; gap: 6px; padding-left: 10px; padding-right: 10px; }
  .r-word { display: none; }
  .r-date { font-size: 9px; }
  .squad td:nth-child(2) { width: auto; }
  .squad td:nth-child(4), .squad th:nth-child(4) { display: none; }
}
@media (max-width: 1080px) {
  .main-nav { gap: 0; }
  .search { width: 165px; min-width: 165px; }
  .search kbd { display: none; }
  .shell { grid-template-columns: 165px minmax(0,1fr); }
  .sidebar { padding: 15px 10px; }
  .brand { font-size: 23px; }
  .layout { grid-template-columns: minmax(0,1fr); }
  .match-layout > .rail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 15px; }
  .match-layout > .rail > .next-watch { grid-column: 1 / -1; }
  .matches-page { min-height: 0; }
  .follow-only { font-size: 11px; }
  .counters { gap: 20px; }
  .team-columns { grid-template-columns: minmax(0,1fr); }
  .team-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .team-rail > .card { margin-bottom: 0; }
  .team-rail .form-card { grid-column: 1 / -1; }
  .squad td:nth-child(4), .squad th:nth-child(4) { display: table-cell; }
  .results li { grid-template-columns: 85px 38px 23px minmax(0,1fr) 55px 22px; }
  .stat-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
  .stat { padding: 13px 12px; }
  .stat strong { font-size: 25px; }
  .stat small { display: block; margin: 0; }
  .footer { margin-left: 165px; }
  .updated { display: none; }
}
@media (max-width: 860px) {
  :root { --header: 65px; }
  .topbar { grid-template-columns: auto minmax(0,1fr); padding: 0 18px; gap: 18px; }
  .brand { font-size: 23px; }
  .main-nav { display: flex; grid-column: 1 / -1; height: 43px; background: var(--side); margin: 0 -18px; padding: 0 15px; border-bottom: 1px solid var(--line); order: 3; }
  .main-nav a { font-size: 12px; padding: 0 13px; }
  .top-tools { justify-content: flex-end; gap: 7px; }
  .search { width: 190px; min-width: 0; }
  .icon-btn { display: none; }
  .lang { font-size: 11px; }
  .topbar { height: auto; min-height: 65px; padding-top: 14px; row-gap: 13px; position: relative; }
  .disclaimer { height: auto; min-height: 31px; padding: 7px 18px; font-size: 9px; line-height: 1.6; }
  .disclaimer .dot { flex: 0 0 auto; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .page { padding: 23px 18px 30px; }
  .footer { margin-left: 0; padding: 24px 18px; }
  .footer::before { left: 18px; right: 18px; }
  .page-intro { min-height: 95px; }
  .counters { display: flex; }
  h1 { font-size: 29px; }
  .counters b { font-size: 29px; }
  .counters span { font-size: 9px; }
  .datebar { height: 70px; }
  .match-hit { grid-template-columns: 65px minmax(0,1fr) 68px minmax(0,1fr) 10px; }
  .side.away { display: flex; }
  .go { display: block; }
  .tname { font-size: 12px; }
  .hero { min-height: 225px; }
  .hero h1 { font-size: 34px; }
  .hero-copy { padding: 24px 22px 0; }
  .hero-foot { padding: 27px 22px 20px; }
  .team-rail { grid-template-columns: 1fr 1fr; }
  .results li { grid-template-columns: 85px 35px 24px minmax(0,1fr) 55px 22px; }
  .r-date, .r-venue { display: block; }
}
@media (max-width: 580px) {
  .topbar { padding-left: 14px; padding-right: 14px; gap: 12px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-mark { width: 27px; height: 28px; }
  .brand-mark img { width: 27px; height: 28px; }
  .search { width: 130px; height: 34px; padding: 0 8px; gap: 5px; }
  .search input { font-size: 10px; width: 80px; }
  .search svg { width: 13px; flex: 0 0 auto; }
  .lang { display: flex; }
  .page { padding: 23px 14px 28px; }
  .page-intro { align-items: flex-start; gap: 12px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 27px; }
  .lede { font-size: 11px; }
  .counters { gap: 13px; padding-top: 7px; }
  .counters b { font-size: 27px; margin-bottom: 5px; }
  .counters > div:last-child { display: none; }
  .datebar { margin: 12px 0 20px; padding: 6px 2px; gap: 0; height: 64px; }
  .date-nav { width: 20px; flex: 0 0 auto; padding: 0; }
  .days { gap: 3px; overflow-x: auto; scrollbar-width: none; }
  .day { padding: 6px 2px; font-size: 10px; min-width: 41px; }
  .day small { font-size: 8px; }
  .cal { font-size: 0; padding: 0 8px; }
  .cal svg { width: 16px; }
  .calendar-control { margin: 7px 0; }
  .filters { flex-wrap: wrap; height: auto; margin-bottom: 14px; gap: 8px; }
  .chips { gap: 5px; }
  .chip { padding: 8px 9px; font-size: 10px; }
  .follow-only { font-size: 10px; }
  .league-card-head { padding: 9px 11px; gap: 9px; }
  .league-card-head > div { gap: 8px; }
  .league-card-head > div > span { display: none; }
  .league-card-head strong { font-size: 12px; }
  .week { font-size: 9px; gap: 7px; }
  .match { grid-template-columns: 26px minmax(0,1fr); padding: 0 8px; min-height: 75px; }
  .match.is-featured { padding-left: 6px; }
  .match-hit { grid-template-columns: minmax(0,1fr) 59px minmax(0,1fr); gap: 7px; padding: 10px 0; position: relative; }
  .when { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; line-height: 1; padding-bottom: 4px; }
  .when strong { margin: 0; font-size: 10px; }
  .when.live strong { font-size: 11px; }
  .when small { margin: 0; }
  .side.home, .side.away { display: flex; gap: 6px; min-width: 0; }
  .side.home { justify-content: flex-end; }
  .tname { font-size: 10px; }
  .match .badge { width: 21px; height: 25px; font-size: 8px; }
  .score { font-size: 16px; }
  .go { display: none; }
  .list-foot { flex-direction: column; gap: 9px; font-size: 9px; margin: 15px 0; }
  .match-layout > .rail { grid-template-columns: 1fr; gap: 0; margin-top: 5px; }
  .match-layout > .rail > .next-watch { grid-column: auto; }
  .feature-photo { height: 175px; }
  .feature-score strong { font-size: 35px; }
  .mini-table a { font-size: 11px; }
  .mini-table td { height: 51px; }
  .hero { min-height: 235px; }
  .hero-copy { padding: 22px 18px 0; }
  .hero-id { gap: 14px; padding-top: 27px; }
  .badge-xl { width: 67px; height: 76px; font-size: 23px; }
  .club-en { font-size: 11px; margin-bottom: 7px; letter-spacing: .08em; }
  .hero h1 { font-size: 28px; }
  .club-sub { font-size: 10px; margin-top: 8px; }
  .follow-btn { position: absolute; top: 14px; right: 15px; font-size: 10px; height: 31px; padding: 6px 9px; }
  .hero-foot { padding: 22px 18px 17px; align-items: flex-start; flex-direction: column; gap: 9px; font-size: 10px; }
  .season { font-size: 9px; padding: 4px 6px; }
  .crumb { font-size: 10px; margin-bottom: 17px; }
  .tab-heading { margin-bottom: 18px; }
  .tabs { width: 100%; justify-content: space-between; gap: 7px; overflow-x: auto; }
  .tabs button { font-size: 10px; white-space: nowrap; padding: 16px 0 13px; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 14px; }
  .stat { padding: 12px; min-height: 113px; }
  .stat strong { font-size: 27px; }
  .stat small { display: inline; margin-left: 6px; font-size: 9px; }
  .stat p, .stat span { font-size: 10px; }
  .team-columns { gap: 20px; }
  .next-teams { gap: 10px; padding: 7px 14px; }
  .next-teams > div { gap: 6px; font-size: 10px; }
  .next-teams strong { font-size: 22px; }
  .results-card .card-head .muted { display: none; }
  .results li { grid-template-columns: 34px 23px minmax(0,1fr) 49px 22px; padding: 13px 10px; gap: 7px; }
  .r-date { display: none; }
  .r-venue { font-size: 8px; }
  .r-name { font-size: 11px; }
  .r-score { font-size: 15px; }
  .team-rail { grid-template-columns: 1fr; gap: 20px; }
  .team-rail .form-card { grid-column: auto; }
  .squad { min-width: 530px; }
  .squad td:nth-child(4), .squad th:nth-child(4) { display: table-cell; }
  .squad td b { font-size: 11px; }
  .section-head h2 { font-size: 18px; }
  .section-head .muted { font-size: 10px; }
  .footer { flex-direction: column; gap: 16px; padding: 24px 14px; }
  .footer::before { left: 14px; right: 14px; }
  .footer nav { font-size: 10px; gap: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

#date-picker.is-visible { opacity: 1; width: 155px; height: 35px; top: calc(100% + 8px); right: 0; bottom: auto; z-index: 25; padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--card-2); font-size: 12px; }

.member-cta, .oauth-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 34px; padding: 7px 12px; border-radius: 5px; border: 1px solid #425335;
  background: #26391c; color: var(--lime); font-weight: 650; text-decoration: none; white-space: nowrap;
}
.member-cta:hover, .oauth-btn:hover { color: var(--lime); }
.member-chip { display: flex; align-items: center; gap: 8px; min-width: 0; }
.member-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.member-chip span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-chip button {
  border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; padding: 0;
}
body.login-open { overflow: hidden; }
.login-dialog { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; }
.login-dialog-backdrop { position: absolute; inset: 0; border: 0; background: rgba(5, 8, 10, .72); cursor: pointer; }
.login-dialog-panel {
  position: relative; width: min(420px, 100%); padding: 22px 20px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.login-dialog-x {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer;
}
.login-lede { color: var(--muted); margin: 0 0 16px; }
.login-card { display: grid; gap: 10px; }
.oauth-btn { width: 100%; background: var(--card-2); color: var(--text); border-color: var(--line); }
.oauth-btn small { color: var(--faint); font-weight: 500; }
.oauth-btn:disabled { cursor: not-allowed; opacity: .72; }
.member-lock { padding: 0 16px 16px; }
.member-lock p { color: var(--muted); margin: 0 0 14px; }
@media (max-width: 720px) {
  .member-chip span { display: none; }
}
