/* Statistics must stay readable even for white, black or dark-purple club crests. */
#app{--stat-home-dark:#72c9f0;--stat-away-dark:#ffbf63;--stat-home-light:#145b83;--stat-away-light:#80500a;--stat-home:var(--stat-home-dark);--stat-away:var(--stat-away-dark);--stat-bg:#172331;--stat-text:#f5f9ff;--stat-label:#c4d0dc;--stat-line:#3b4b5e}
:root[data-theme="light"] #app{--stat-home:var(--stat-home-light);--stat-away:var(--stat-away-light);--stat-bg:#fff;--stat-text:#102a43;--stat-label:#42566a;--stat-line:#cad6e2}
.lc-strip>div,.lc-xg{background:var(--stat-bg);border-color:var(--stat-line)}
.lc-strip b:first-child,.lc-strip b:last-child,.lc-v b,.lc-v b.best,.lc-v b:not(.best),.lc-xv b{color:var(--stat-text);opacity:1;font-variant-numeric:tabular-nums}
.lc-strip b{font-size:14px;line-height:1.6;border-bottom:2px solid transparent}
.lc-strip b:first-child{border-bottom-color:var(--stat-home)}.lc-strip b:last-child{border-bottom-color:var(--stat-away)}
.lc-strip span,.lc-v span,.lc-xm small{color:var(--stat-label);opacity:1}
.lc-v b{font-size:14px}.lc-v b.best{font-weight:950}
.lc-b .h i,.lc-xb i.h{background:var(--stat-home)}.lc-b .a i,.lc-xb i.a{background:var(--stat-away)}
.lc-team-key{display:flex;justify-content:space-between;gap:14px;margin:0 0 7px;color:var(--stat-text);font-size:11px;font-weight:700}
.lc-team-key span{display:flex;align-items:center;gap:6px;min-width:0}.lc-team-key b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lc-team-key i{display:block;width:7px;height:7px;border-radius:50%;flex:none;background:var(--stat-home)}.lc-team-key .away i{background:var(--stat-away)}
.tk-card{--stat-home:var(--stat-home-dark);--stat-away:var(--stat-away-dark);color:#f5f9ff}
.tk-card .tk-mom .h{color:var(--stat-home)}.tk-card .tk-mom .a{color:var(--stat-away)}
.tk-card .tk-mb i.h{background:var(--stat-home)}.tk-card .tk-mb i.a{background:var(--stat-away)}
.tk-card .tk-note{color:#c4d0dc}.sp144-ht{align-items:flex-start;line-height:1.9}.sp144-ht>span{min-width:0}

.sp144-ht,.sp144-ht.boost{background:var(--stat-bg);color:var(--stat-label);border-color:var(--stat-line)}.sp144-ht.boost{color:var(--stat-text);border-color:var(--stat-home)}.sp144-ht small{display:block;font-size:10px;margin-top:5px;opacity:1}
.sp144-closed{margin-top:10px;padding:22px 16px;background:var(--stat-bg);color:var(--stat-text);border:1px solid var(--stat-line);border-radius:14px;font-size:13px;line-height:2;overflow-wrap:anywhere}.sp144-build{display:block;margin-top:7px;font-size:10px;color:var(--stat-label)}
.lc-strip>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 8px;align-items:center;padding:8px 9px}.lc-strip span{grid-column:1/-1;grid-row:1;order:0;min-width:0}.lc-strip b{grid-row:2;min-width:0;width:max-content}.lc-strip b:first-child{grid-column:1;justify-self:start}.lc-strip b:last-child{grid-column:2;justify-self:end}
@media(max-width:480px){.lc-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.lc-strip b{font-size:16px}.lc-strip span{font-size:11px}}
