.football-panel { background:rgba(247, 247, 247,.94); border:1px solid var(--glass-border); border-radius:18px; overflow:hidden; box-shadow:var(--panel-shadow); }
.football-head { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:24px; background:linear-gradient(120deg,#e2e2e2,#f5f5f5); }
.football-kicker { color:#464646; font-size:11px; letter-spacing:.12em; }
.football-head h2 { margin:8px 0; font-size:22px; color:#272727; }
.football-head p,.football-footer { color:#4c4c4c; font-size:12px; }
.football-refresh { border:1px solid #595959; background:#d9d9d9; color:#252525; padding:12px 18px; border-radius:10px; cursor:pointer; white-space:nowrap; }
.football-refresh:disabled { opacity:.6; cursor:wait; }
.football-refresh:hover:not(:disabled) { background:#c0c0c0; }
.football-tools { display:flex; align-items:end; justify-content:space-between; gap:16px; padding:20px 24px 0; }
.football-tools label { display:grid; gap:8px; width:min(100%,440px); font-size:12px; color:#4c4c4c; }
.football-tools input { width:100%; padding:12px; border:1px solid #bdbdbd; border-radius:10px; background:#f5f5f5; color:#272727; }
.football-count { font-size:13px; color:#343434; white-space:nowrap; }
.football-status { margin:16px 24px; padding:12px 14px; border-radius:8px; background:#e7e7e7; color:#353535; font-size:13px; line-height:1.6; }
.football-status.is-warning { background:#e0e0e0; color:#323232; }
.football-table-wrap { overflow:auto; }
.football-table { width:100%; min-width:640px; table-layout:fixed; border-collapse:collapse; text-align:left; }
.football-table th { position:sticky; top:0; z-index:1; background:#e4e4e4; color:#272727; font-size:12px; padding:15px 20px; }
.football-table td { padding:15px 20px; border-bottom:1px solid #6363632e; color:#2d2d2d; font-size:13px; line-height:1.5; }
.football-table td:nth-child(-n+2) { white-space:nowrap; }
.football-table td:nth-child(2) { color:#464646; font-weight:700; }
.football-table td:last-child { font-weight:600; }
.football-table tbody tr:nth-child(even) { background:#f0f0f0; }
.football-table tbody tr:hover { background:#e0e0e0; }
.football-footer { padding:18px 24px; line-height:1.7; }
.football-footer a { color:#464646; text-decoration:underline; }
@media(max-width:760px) { .football-head,.football-tools { flex-direction:column; align-items:stretch; padding:16px; } .football-status { margin:0 16px 16px; } .football-head h2 { font-size:18px; } }

.football-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.football-copy { padding:12px 18px; border:1px solid #595959; background:#e7e7e7; color:#2b2b2b; border-radius:10px; cursor:pointer; white-space:nowrap; }
.football-copy:disabled { opacity:.6; cursor:wait; }

.football-prediction strong { display:block; font-size:21px; color:#464646; }
.football-prediction small,.football-prediction a { display:block; font-size:11px; margin-top:4px; }
.football-prediction a { color:#414141; }
.football-model-note { margin:14px 24px; color:#4c4c4c; font-size:12px; line-height:1.6; }
.football-copy-status:empty { display:none; }
.football-copy-fallback { display:block; width:calc(100% - 48px); margin:24px; min-height:200px; padding:15px; }

.football-stats-status { margin:14px 24px; color:#343434; font-size:13px; }

.football-action-area { display:grid; gap:10px; max-width:440px; }
.football-copy-status { margin:0; color:#353535; font-size:12px; line-height:1.6; }
.football-copy-status.is-success { padding:10px 12px; border:1px solid #636363; border-radius:8px; background:#e5e5e5; color:#2a2a2a; }
.football-copy-status.is-warning { padding:10px 12px; border:1px solid #7f7f7f; border-radius:8px; background:#e0e0e0; color:#323232; }
.football-copy.is-success { border-color:#636363; background:#dadada; color:#282828; }
.football-copy-fallback[hidden] { display:none; }
.football-leagues { display:grid; grid-auto-rows:max-content; gap:16px; padding:0 24px 8px; max-height:65vh; overflow:auto; }
.football-league { min-width:0; border:1px solid #bdbdbd; border-radius:12px; overflow:hidden; }
.football-league-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:16px 20px; background:linear-gradient(120deg,#d4d4d4,#ececec); }
.football-league-head h3 { margin:0; color:#272727; font-size:15px; line-height:1.5; }
.football-league-head span { color:#343434; font-size:12px; white-space:nowrap; }
.football-table th:nth-child(1) { width:18%; }
.football-table th:nth-child(2) { width:12%; }
.football-table th:nth-child(3) { width:49%; }
.football-table th:nth-child(4) { width:21%; }
.football-panel .football-table :is(th,td) { box-sizing:border-box; text-align:left; vertical-align:middle; padding-inline:clamp(10px,1.4vw,20px); }
.football-table :is(th,td):is(:nth-child(2),:nth-child(4)) { text-align:center; font-variant-numeric:tabular-nums; }
.football-table td:nth-child(3) { overflow-wrap:anywhere; }
.football-table td:nth-child(3) > span:not(.football-team) { display:inline-block; padding-inline:5px; }
.football-table th { letter-spacing:.06em; }
.football-empty { margin:0; padding:20px; color:#4c4c4c; }
@media(max-width:760px) { .football-action-area { max-width:none; } .football-leagues { padding:0 16px 8px; } .football-league-head { flex-wrap:wrap; padding:12px 16px; } }

.football-team {display:inline-flex;align-items:center;gap:6px;max-width:100%;vertical-align:middle}.football-team img {object-fit:contain;flex:none}

.football-refresh { background: #2d2d2d; color: #f5f5f5; border-color: #2c2c2c; font-weight: 600; }
.football-refresh:hover:not(:disabled) { background: #202020; }
.football-copy { background: #e5e5e5; color: #202020; border-color: #838383; }
.football-copy:hover:not(:disabled) { background: #d0d0d0; }
.football-status.is-warning, .football-copy-status.is-warning { border-left: 3px dashed #474747; }

.football-standings { margin:16px clamp(12px,2vw,24px); border:1px solid #99a8a2; border-radius:9px; background:#cdd3cf; color:#243641; }
.football-standings summary { cursor:pointer; padding:14px 16px; font-weight:700; letter-spacing:.06em; }
.standings-controls { display:flex; align-items:end; flex-wrap:wrap; gap:12px; padding:0 16px; }
.standings-controls label { display:grid; gap:4px; max-width:100%; }
.standings-controls :is(select,button) { max-width:100%; padding:8px 10px; border:1px solid #879893; border-radius:6px; }
.football-standings p { margin:12px 16px; font-size:13px; }
.standings-scroll { overflow:auto; max-height:55vh; }
.standings-scroll table { width:100%; border-collapse:collapse; font-size:14px; white-space:nowrap; }
.standings-scroll caption { text-align:left; padding:10px 16px; font-weight:700; }
.standings-scroll :is(th,td) { text-align:center; padding:8px; border-bottom:1px solid #abb8b1; }
.standings-scroll th { position:sticky; top:0; background:#acbbb6; }
.standings-scroll :nth-child(2):is(td,th) { text-align:left; }
.standings-scroll tr:nth-child(even) { background:#c5cdc8; }
.standings-scroll img { width:22px;height:22px;object-fit:contain;vertical-align:middle;margin-right:8px; }
.standings-scroll td:last-child span { display:inline-block; min-width:20px; margin:1px; padding:2px; border-radius:4px; color:white; font-weight:700; }
.form-W {background:#30614b} .form-D {background:#795c23} .form-L {background:#883e47}

.football-panel .football-table { min-width:820px; }
.football-table th:nth-child(1) {width:13%}
.football-table th:nth-child(2) {width:9%}
.football-table th:nth-child(3) {width:33%}
.football-table th:nth-child(4) {width:31%}
.football-table th:nth-child(5) {width:11%}
.football-panel .football-table :is(th,td):nth-child(4) { text-align:left; }
.football-panel .football-table :is(th,td):nth-child(5) { text-align:center; }
.fixture-form > div {display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:13px;line-height:1.35;}
.fixture-form > div + div {margin-top:5px}
.fixture-form > div > :last-child {display:inline-flex;gap:2px;flex-shrink:0}
.fixture-form [class^="form-"] {color:white;min-width:17px;padding:2px;text-align:center;border-radius:3px;font-size:12px;font-weight:700}

/* Two aligned lines for each fixture, home above away. */
.football-panel .football-table th:nth-child(3){width:49%}
.football-panel .football-table th:nth-child(4){width:18%}
.football-panel .football-table td:nth-child(3) .football-team,
.football-panel .football-table .fixture-form > div {display:flex;align-items:center;min-height:30px;margin:0;gap:8px;justify-content:flex-start;}
.football-panel .football-table td:nth-child(3) > span:not(.football-team){display:none;}
.football-panel .football-table .fixture-form-team{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.football-panel .fixture-form [class^="form-"]{display:inline-grid;place-items:center;box-sizing:border-box;width:18px;height:18px;flex:0 0 18px;padding:0;line-height:1;border-radius:3px;}
.football-panel .football-table td{padding-block:9px;}
.football-panel .football-table :is(th,td):nth-child(n+4){padding-inline:6px;}
.football-panel .football-team > span{min-width:0;white-space:normal;overflow-wrap:anywhere;}
