.league-history-page { width:100%; padding:18px 20px 28px; color:#fff; }
.league-history-page * { box-sizing:border-box; }
.league-history-heading { min-height:100px; padding:18px; display:flex; align-items:center; justify-content:space-between; gap:20px; background:#0b1728; border-radius:5px 5px 0 0; border-bottom:1px solid rgba(255,255,255,.09); }
.league-history-heading a { color:#aab9ce; font-size:13px; font-weight:700; text-decoration:none; }
.league-history-heading a:hover,.league-history-heading a:focus-visible { color:var(--ffo-gold,#f0c545); outline:none; }
.league-history-heading h1 { margin:8px 0 0; color:#fff; font-size:36px; line-height:1; letter-spacing:-.02em; }
.league-history-heading > span { padding:9px 14px; border:1px solid rgba(214,179,92,.35); border-radius:3px; color:var(--ffo-gold,#f0c545); font-size:13px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.league-history-content { padding:14px; background:#07111f; border-radius:0 0 5px 5px; }
.league-history-filters { padding:16px; display:grid; grid-template-columns:repeat(3,minmax(170px,240px)); gap:12px; background:#0b1728; border:1px solid rgba(255,255,255,.09); }
.league-history-filters > div { display:grid; gap:7px; }
.league-history-filters label { color:#aab9ce; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.league-history-filters select { width:100%; min-height:43px; padding:0 35px 0 12px; background:#101d31; border:1px solid #32425a; border-radius:3px; color:#fff; font:inherit; font-size:14px; font-weight:700; }
.league-history-filters button { padding:10px 16px; align-self:end; background:var(--ffo-gold,#f0c545); border:0; color:#07111f; font-weight:900; }
.league-history-panel { margin-top:14px; border:1px solid rgba(255,255,255,.12); background:#0b1728; }
.league-history-panel__heading { min-height:62px; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; gap:16px; background:#162b6f; border-bottom:1px solid rgba(255,255,255,.12); }
.league-history-panel__heading h2 { margin:0; color:#fff; font-size:20px; }
.league-history-panel__heading span { display:block; margin-top:5px; color:#c0cce0; font-size:11px; font-weight:700; }
.league-history-panel__heading small { padding:7px 9px; border:1px solid rgba(240,197,69,.35); color:var(--ffo-gold,#f0c545); font-size:9px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.league-history-panel__actions { display:flex; align-items:center; gap:10px; }
.league-history-panel__actions>a { padding:8px 10px; border:1px solid rgba(255,255,255,.2); color:#fff; font-size:10px; font-weight:900; text-decoration:none; text-transform:uppercase; }
.league-history-panel__actions>a:hover,.league-history-panel__actions>a:focus-visible { border-color:var(--ffo-gold,#f0c545); color:var(--ffo-gold,#f0c545); outline:none; }
.league-history-table-wrap { overflow-x:auto; }
.league-history-table { width:100%; min-width:720px; border-collapse:collapse; color:#e3eaf5; font-size:13px; }
.league-history-table th { padding:12px 10px; background:#101d31; color:#aabbd2; text-align:center; font-size:10px; letter-spacing:.06em; text-transform:uppercase; }
.league-history-table th:nth-child(2) { text-align:left; }
.league-history-table td { padding:9px 10px; border-top:1px solid rgba(255,255,255,.07); text-align:center; }
.league-history-table td:nth-child(2) { text-align:left; }
.league-history-table tbody tr:nth-child(even) { background:#0d1a2c; }
.league-history-table tbody tr:hover { background:#132238; }
.league-history-table tr.is-champion { box-shadow:inset 3px 0 0 var(--ffo-gold,#f0c545); }
.league-history-table tr.is-champion .league-history-position strong,.league-history-table tr.is-champion .league-history-points strong { color:var(--ffo-gold,#f0c545); }
.league-history-position { width:68px; }
.league-history-position > strong { display:inline-block; min-width:20px; }
.league-history-position > span { margin-left:4px; font-size:8px; }
.league-history-position > span.is-up { color:#51c98b; }
.league-history-position > span.is-down { color:#e16b72; }
.league-history-position > span.is-same { color:#718097; }
.league-history-club { display:flex; align-items:center; gap:10px; min-width:205px; }
.league-history-club img { width:30px; height:30px; object-fit:contain; }
.league-history-club>span { display:grid; gap:3px; }
.league-history-club strong,.league-history-club__name { color:#fff; font-size:13px; font-weight:800; text-decoration:none; }
.league-history-club__name:hover,.league-history-club__name:focus-visible { color:var(--ffo-gold,#f0c545); outline:none; }
.league-history-club__positions { width:max-content; color:#8697af; font-size:9px; font-weight:800; text-decoration:none; text-transform:uppercase; }
.league-history-club__positions:hover,.league-history-club__positions:focus-visible { color:#c9d4e3; outline:none; }
.league-history-points { width:58px; }
.league-history-points strong { color:#fff; font-size:15px; }
.league-history-empty { margin:0; padding:35px 20px; color:#aab9ce; text-align:center; font-weight:700; }
.league-position-history { margin-top:14px; border:1px solid rgba(255,255,255,.12); background:#0b1728; }
.league-position-history__heading { min-height:70px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid rgba(255,255,255,.1); }
.league-position-history__heading h2 { margin:0; color:#fff; font-size:18px; }
.league-position-history__heading span { display:block; margin-top:5px; color:#9eacc0; font-size:11px; font-weight:700; }
.league-position-history__heading form { display:flex; align-items:center; gap:8px; }
.league-position-history__heading label { color:#aab9ce; font-size:10px; font-weight:800; text-transform:uppercase; }
.league-position-history__heading select { min-width:190px; min-height:39px; padding:0 34px 0 10px; background:#101d31; border:1px solid #32425a; border-radius:3px; color:#fff; font:inherit; font-size:12px; font-weight:700; }
.league-position-history__rounds { padding:12px; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(54px,1fr); gap:5px; overflow-x:auto; }
.league-position-history__rounds>div { min-height:58px; display:grid; place-content:center; gap:4px; background:#101d31; border:1px solid rgba(255,255,255,.08); text-align:center; }
.league-position-history__rounds span { color:#7f8fa7; font-size:9px; font-weight:800; }
.league-position-history__rounds strong { color:var(--ffo-gold,#f0c545); font-size:18px; }
.league-position-history__empty { margin:0; padding:26px 14px; color:#9eacc0; font-size:12px; font-weight:700; }
@media(max-width:700px) { .league-history-page{padding:14px 10px 28px}.league-history-heading h1{font-size:32px}.league-history-heading>span{padding:8px 10px;font-size:11px}.league-history-filters{grid-template-columns:1fr}.league-history-panel__heading{min-height:58px;align-items:flex-start;flex-direction:column}.league-history-panel__actions{width:100%;justify-content:space-between}.league-history-table th,.league-history-table td{padding:9px 8px}.league-position-history__heading{align-items:stretch;flex-direction:column}.league-position-history__heading form{display:grid}.league-position-history__heading select{width:100%} }
