/* A passive TV programme: one favourite, a readable scene and a short headline. */
html[data-theme] .news.sports-active>.football-panel{display:flex;flex:1 1 0;flex-direction:column;gap:5px;min-height:0;overflow:hidden;margin:0}
html[data-theme] .news.sports-active>.news-hero{display:grid;flex:0 0 72px;min-height:0;max-height:72px;margin-top:8px;grid-template-columns:24% minmax(0,1fr)}
html[data-theme] .news.sports-active>.news-hero>.placeholder{grid-column:1/-1;min-height:0;padding:10px 12px;align-self:center}
html[data-theme] .news.sports-active .hero-title{font-size:16px;line-height:18px;-webkit-line-clamp:2}
html[data-theme] .news.sports-active .hero-topic{font-size:9px;line-height:10px}
html[data-theme] .news.sports-active .hero-copy{padding:6px;gap:2px}
html[data-theme] .news.sports-active .hero-copy .news-source{font-size:8px;line-height:10px;margin:0}
html[data-theme] .news.sports-active #footballZenit{flex:none;border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:5px 10px}
html[data-theme] .favorite-summary{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:3px}
html[data-theme] .favorite-summary strong{font-size:16px;line-height:18px;font-weight:650;letter-spacing:-.025em}
html[data-theme] .favorite-summary>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
html[data-theme] .favorite-empty{font-size:13px;line-height:1.5;color:var(--muted)}
html[data-theme] .news.sports-active .football-match{display:flex;flex-direction:column;justify-content:center;flex:1 1 0;min-height:0;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
html[data-theme] .news.sports-active .zenit-match{padding:0;border:0;background:none}
html[data-theme] .news.sports-active .zenit-match .football-teams{min-height:24px}
html[data-theme] .news.sports-active .zenit-match .football-teams strong{font-size:24px;line-height:24px}
html[data-theme] .news.sports-active .zenit-match .football-team>span{white-space:nowrap;display:block;text-overflow:ellipsis}
html[data-theme] .news.sports-active .match-competition{margin:0 0 4px;font-size:11px;line-height:1.2;gap:8px}
html[data-theme] .match-competition>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] .match-competition>span{display:flex;align-items:center;gap:5px}
html[data-theme] .competition-avatar{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:50%;background:#fff;padding:2px;box-sizing:border-box;overflow:hidden}
html[data-theme] .competition-avatar img{width:100%;height:100%;object-fit:contain}
html[data-theme] .football-label{display:flex;align-items:center;gap:7px}
html[data-theme] .football-label .competition-avatar{width:22px;height:22px;padding:3px}
html[data-theme] .competition-avatar--wide,html[data-theme] .football-label .competition-avatar--wide{width:42px;border-radius:4px;background:#252527;padding:3px}
html[data-theme] .match-competition small{font-size:9px;padding:2px 4px;flex:none;line-height:1}
html[data-theme] .news.sports-active .football-teams{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);min-height:32px;gap:5px}
html[data-theme] .news.sports-active .football-teams strong{font-size:26px;line-height:1.15;letter-spacing:-.04em}
html[data-theme] .news.sports-active .football-team{gap:6px;align-items:center}
html[data-theme] .news.sports-active .football-team>span{font-size:15px;line-height:1.14;-webkit-line-clamp:2;overflow-wrap:normal}
html[data-theme] .news.sports-active .club-crest{width:23px;height:23px;flex:none}
html[data-theme] .news.sports-active .club-rank{font-size:10px;color:var(--muted);display:inline-block;min-width:13px;line-height:15px;text-align:center;border-radius:3px;background:var(--panel);margin-left:3px}
html[data-theme] .news.sports-active .football-match-meta{font-size:11px;line-height:1.2;margin:4px 0 0;color:var(--muted)}
html[data-theme] .news.sports-active .match-live .football-match-meta{color:var(--gain)}
html[data-theme] .live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gain);margin:0 3px 1px 0;animation:sport-live 1.8s ease-in-out infinite}
@keyframes sport-live{50%{opacity:.35}}
html[data-theme] .football-scene-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;min-height:22px;margin-top:1px}
html[data-theme] .news.sports-active .football-label{font-size:14px;line-height:1.2;font-weight:600;letter-spacing:-.02em;padding:0;margin:0;color:var(--text)}
html[data-theme] #footballScenePosition{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] .news.sports-active #footballMatches{display:flex;flex-direction:column;flex:1 1 0;min-height:0;gap:6px;overflow:hidden}
html[data-theme] .news.sports-active .rpl-scroll{flex:0 1 auto;min-height:0;max-height:100%;width:100%;overflow:hidden;border-radius:6px;background:var(--surface);scroll-behavior:auto}
html[data-theme] .news.sports-active .rpl-table{font-size:15px;line-height:18px;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
html[data-theme] .news.sports-active .rpl-table th{font-size:10px;line-height:14px;height:26px;box-sizing:border-box;padding:6px 4px;background:var(--panel);color:var(--muted)}
html[data-theme] .news.sports-active .rpl-table th:first-child{text-align:left;padding-left:8px}
html[data-theme] .news.sports-active .rpl-table td{height:30px;box-sizing:border-box;padding:4px;vertical-align:middle}
html[data-theme] .news.sports-active .rpl-table td:first-child{display:flex;gap:7px;align-items:center;min-width:0;padding-left:8px}
html[data-theme] .news.sports-active .rpl-table th:not(:first-child),html[data-theme] .news.sports-active .rpl-table td:not(:first-child){width:27px;text-align:center}
html[data-theme] .news.sports-active .rpl-table td:last-child{font-weight:650;color:var(--text)}
html[data-theme] .news.sports-active .rpl-table .club-crest{width:21px;height:21px}
html[data-theme] .news.sports-active .table-rank{font-size:12px;min-width:17px;text-align:left}
html[data-theme] .news.sports-active .zenit-row{background:var(--selected);color:var(--selected-ink);font-weight:650}
html[data-theme] .news.sports-active .zenit-row .table-rank{color:inherit}
html[data-theme] .news.sports-active.rpl-visible .rpl-table .zenit-row,html[data-theme] .news.sports-active.rpl-visible .rpl-table .zenit-row :is(td,span,strong){color:var(--selected-ink)}
html[data-theme] .football-table-note{flex:none;min-height:13px;font-size:10px;line-height:1.3;color:var(--muted);font-variant-numeric:tabular-nums}
html[data-theme] .football-footer{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex:none;min-height:13px;color:var(--muted)}
html[data-theme] .news.sports-active .football-freshness{font-size:9px;line-height:13px;padding:0;margin:0;flex:none}
html[data-theme] #footballNext{font-size:10px;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
html[data-theme] .football-progress{display:flex;gap:4px;flex:none;height:2px;margin-top:1px}
html[data-theme] .football-progress>span{position:relative;flex:1;background:var(--line);overflow:hidden;border-radius:2px}
html[data-theme] .football-progress>span.done{background:var(--muted)}
html[data-theme] .football-progress>span.active:after{content:'';position:absolute;inset:0;background:var(--text);transform-origin:left;animation:sport-progress var(--scene-duration) linear both}
@keyframes sport-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html[data-theme] .sports-empty{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:9px;padding:20px;font-size:17px;color:var(--text);background:var(--surface);border-radius:8px}
html[data-theme] .sports-empty small{font-size:12px;color:var(--muted)}
@media(prefers-reduced-motion:reduce){html[data-theme] .live-dot,html[data-theme] .football-progress>span.active:after{animation:none}}
@media(max-width:600px){html:not(.screen-fit) .news.sports-active>.football-panel{flex:none;min-height:490px}html:not(.screen-fit) .news.sports-active>.news-hero{min-height:100px;max-height:100px}}
