/* Football league standings and real recorded knockout stages */
.ls-cup-group-grid{display:grid;grid-template-columns:1fr;gap:17px;margin-top:17px}
.ls-cup-group-grid.is-grouped{grid-template-columns:repeat(2,minmax(0,1fr))}
.ls-cup-group{min-width:0;overflow:hidden;border:1px solid #e5eaf2;border-radius:10px;background:#fff}
.ls-cup-group>h3{font-size:15px!important;font-weight:900;color:#132641!important;margin:0!important;padding:13px 15px;background:#f1f4f9;border-bottom:1px solid #dde5ef}
.ls-cup-group .ls-virtual-overflow{max-width:100%;overflow-x:auto}
.ls-cup-group .ls-virtual-table{width:100%;min-width:455px;font-size:11px}
.ls-cup-group .ls-virtual-table th,.ls-cup-group .ls-virtual-table td{padding:10px 7px!important;white-space:nowrap}
.ls-cup-group .ls-virtual-table td:nth-child(2){min-width:123px;white-space:normal}
.ls-cup-group .ls-virtual-table td:nth-child(2) a{color:#172e4a;font-weight:780}
.ls-cup-group .ls-virtual-table td:nth-child(2) a:hover{color:#e33458}
.ls-cup-bracket-section{margin-top:18px}
.ls-cup-bracket-section>p{color:#6f7f93;font-size:12px;line-height:1.65;margin:8px 0 17px}
.ls-cup-winner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid #eec66b;border-radius:11px;padding:14px 15px;background:#fff7e4;color:#533a15;margin-bottom:16px;font-size:14px}
.ls-cup-winner>a{color:#aa521a;font-weight:900;text-decoration:underline}
.ls-cup-bracket-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:8px 1px 14px;scrollbar-width:thin}
.ls-cup-bracket{display:flex;align-items:flex-start;gap:12px;width:max-content;min-width:100%}
.ls-cup-stage{flex:0 0 220px;min-width:220px;max-width:220px;padding:9px;background:#f3f6fa;border:1px solid #e3eaf2;border-radius:11px}
.ls-cup-stage h3{font-size:14px!important;margin:4px 2px 2px!important;color:#20344f!important;font-weight:900}
.ls-cup-stage-count{color:#8796a7;font-size:10px;padding:0 2px 12px}
.ls-cup-tie{border:1px solid #e3e9f0;background:#fff;border-radius:8px;padding:10px 9px;margin-bottom:9px;box-shadow:0 1px 3px #10203b09}
.ls-cup-tie-team{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4;color:#203653;padding:4px 0;font-weight:750}
.ls-cup-tie-team>span,.ls-cup-tie-team>a{min-width:0;overflow-wrap:anywhere}
.ls-cup-tie-team>a{color:inherit;text-decoration:none;font-weight:inherit}
.ls-cup-tie-team>a:hover{text-decoration:underline}
.ls-cup-tie-team.is-winner{color:#176044;background:#eaf8f0;border-radius:5px;padding:4px 6px;margin:2px -4px;font-weight:850}
.ls-cup-tie-winner{font-size:10px;font-weight:750;color:#196748;padding:5px 0 0}
.ls-cup-tie-pending{font-size:10px;color:#796a47;padding:5px 0 0}
.ls-cup-tie-team strong{min-width:19px;text-align:right;color:#172b48;font-size:13px}
.ls-cup-tie-foot{border-top:1px solid #edf0f5;padding-top:8px;margin-top:7px;font-size:10px;color:#75839a;line-height:1.5}
.ls-cup-tie-foot>div{display:flex;flex-wrap:wrap;gap:5px 10px}
.ls-cup-tie-foot a{color:#d42d55;font-weight:800;text-decoration:none}
.ls-cup-tie-foot a:hover{text-decoration:underline}
.ls-cup-method{font-size:11px!important}
html[data-theme="dark"] .ls-cup-group,html[data-theme="dark"] .ls-cup-tie{background:#1f3046;border-color:#425674}
html[data-theme="dark"] .ls-cup-group>h3,html[data-theme="dark"] .ls-cup-stage{background:#1c2c40!important;border-color:#3d526d;color:#f0f6ff!important}
html[data-theme="dark"] .ls-cup-stage h3,html[data-theme="dark"] .ls-cup-group .ls-virtual-table td:nth-child(2) a,html[data-theme="dark"] .ls-cup-tie-team,html[data-theme="dark"] .ls-cup-tie-team strong{color:#eff5ff!important}
html[data-theme="dark"] .ls-cup-tie-team.is-winner{background:#244a3e;color:#bdfbdc!important}
html[data-theme="dark"] .ls-cup-tie-winner{color:#a7e8c4}
html[data-theme="dark"] .ls-cup-tie-pending{color:#e7cf9f}
html[data-theme="dark"] .ls-cup-tie-team>a{color:inherit!important}
html[data-theme="dark"] .ls-cup-winner{background:#413821;border-color:#8d6727;color:#fff1b4}
html[data-theme="dark"] .ls-cup-winner>a{color:#ffca70}
@media(max-width:850px){.ls-cup-group-grid.is-grouped{grid-template-columns:1fr}.ls-cup-stage{flex-basis:196px;min-width:196px;max-width:196px}}
@media(max-width:520px){.ls-cup-group .ls-virtual-table{min-width:425px;font-size:10px}.ls-cup-group .ls-virtual-table th,.ls-cup-group .ls-virtual-table td{padding:9px 5px!important}}
/* Footer: all links aligned to the right, consistent font weight/color and actual spacing */
.ls-bottom{display:flex!important;justify-content:flex-end!important;align-items:flex-start!important;flex-wrap:wrap;gap:18px 34px!important;padding:24px 28px!important}
.ls-footer-copy{display:flex;gap:7px;flex-direction:column;text-align:right;align-items:flex-end;font-size:11px;font-weight:400;line-height:1.5}
.ls-footer-info{margin-left:auto!important;display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:10px;max-width:min(860px,100%)}
.ls-bottom .ls-footer-nav{display:flex!important;flex-wrap:wrap;justify-content:flex-end!important;gap:8px 21px!important;align-items:center}
.ls-bottom .ls-footer-nav a,.ls-bottom .ls-footer-legal a,.ls-bottom .ls-footer-copy a,.ls-bottom .ls-footer-consent{font-size:12px!important;font-weight:400!important;line-height:1.5!important;color:#718297!important;background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important;text-decoration:none!important;letter-spacing:0!important}
.ls-footer-notice{font-size:11px!important;line-height:1.55;margin:0!important;color:#8493a8!important}
.ls-footer-legal{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;column-gap:9px;row-gap:6px;font-weight:400;color:#8c98aa}
.ls-bottom .ls-footer-consent{border:0!important;cursor:pointer!important;font:inherit;font-weight:400!important}
.ls-bottom .ls-footer-nav a:hover,.ls-bottom .ls-footer-legal a:hover,.ls-bottom .ls-footer-copy a:hover,.ls-bottom .ls-footer-consent:hover{color:#e83a63!important;background:transparent!important;text-decoration:underline!important}
html[data-theme="dark"] .ls-bottom{background:#111d2e!important;border-top-color:#354b64!important}
html[data-theme="dark"] .ls-footer-notice,html[data-theme="dark"] .ls-footer-legal{color:#aebbd0!important}
html[data-theme="dark"] .ls-bottom .ls-footer-nav a,html[data-theme="dark"] .ls-bottom .ls-footer-legal a,html[data-theme="dark"] .ls-bottom .ls-footer-copy a,html[data-theme="dark"] .ls-bottom .ls-footer-consent{color:#c6d4e7!important}
@media(max-width:700px){.ls-bottom{flex-direction:column-reverse!important;align-items:flex-end!important;padding:23px 16px 100px!important}.ls-footer-info{width:100%;max-width:100%}.ls-footer-copy{align-self:flex-end}.ls-bottom .ls-footer-nav{gap:9px 16px!important}}
/* Popular leagues in dark mode: readable rows, text and logos */
html[data-theme="dark"] .ls-info-col .ls-side-panel{background:#1b2b40!important;border:1px solid #405575!important;color:#edf4ff!important}
html[data-theme="dark"] .ls-info-col .ls-side-panel-title,html[data-theme="dark"] .ls-info-col .ls-side-panel-title h2{color:#f4f8ff!important;background:transparent!important}
html[data-theme="dark"] .ls-info-col .ls-side-league{background:#263a53!important;color:#e9f2ff!important;border-color:#405877!important;font-weight:700!important}
html[data-theme="dark"] .ls-info-col .ls-side-league>span{color:#e9f2ff!important;opacity:1!important}
html[data-theme="dark"] .ls-info-col .ls-side-league:hover,html[data-theme="dark"] .ls-info-col .ls-side-league:focus-visible{background:#314a66!important;color:#fff!important;outline:1px solid #6e96c7}
html[data-theme="dark"] .ls-info-col .ls-side-league img{background:#f3f7ff!important;padding:3px!important;border-radius:5px!important;object-fit:contain!important;filter:none!important;opacity:1!important}
html[data-theme="dark"] .ls-info-col .ls-side-panel p{color:#c2d2e5!important}
