/* The two compact rows share existing timing, standings and navigation. */
:root{--competition-height:96px;--ticker-item-width:120px}
#competition-strip{grid-template-columns:100px minmax(0,1fr) 110px;grid-template-rows:52px 44px;gap:0 4px;border-bottom:0}
#competition-strip .survival-countdown{grid-row:1;grid-column:1;gap:1px}
#competition-strip #game-progress{grid-row:1;grid-column:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:0;border:0;text-align:center;font:var(--chart-hint-text);white-space:normal}
#competition-strip #game-progress[hidden]{display:none}
#competition-strip #game-stage{font:var(--control-emphasis)}
#competition-strip #game-time{text-wrap:balance;line-height:1.2}
#competition-strip .power-slot{grid-row:1;grid-column:3}
#competition-strip #powers-open{height:44px;max-height:44px;padding:4px;white-space:nowrap}
#competition-strip #powers-open[data-attention=true]{outline-offset:1px}
.phone.in-round:has(#watch-live-open:not([hidden])){--competition-height:144px}
#competition-strip:has(#watch-live-open:not([hidden])){grid-template-rows:52px 44px 48px}
#competition-strip #watch-live-open{grid-row:3}
.rankings-ticker{grid-row:2;grid-column:1/-1;display:flex;align-items:stretch;min-width:0;height:44px;box-shadow:0 -1px 0 var(--line);background:var(--surface)}
#competition-strip #competition-open{flex:0 0 84px;width:84px;min-height:44px;gap:0;padding:2px 5px;border-right:1px solid var(--line);background:var(--brand-soft)}
#competition-strip #competition-rank{font:var(--control-emphasis)}
#competition-strip #competition-gap{font:var(--chart-hint-text);line-height:1.15;overflow-wrap:normal}
#competition-strip[data-placement=outside] #competition-open{background:var(--warning-bg)}
#competition-strip[data-placement=inside] #competition-open{background:var(--up-soft)}
#competition-strip[data-placement=preparing] #competition-open,#competition-strip[data-placement=spectating] #competition-open{background:var(--surface-2)}
#rankings-viewport{flex:1;min-width:0;height:44px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x}
#rankings-viewport::-webkit-scrollbar{display:none}
.rankings-track,.rankings-field{display:flex;flex:none;width:max-content;height:44px}
.rankings-field[hidden]{display:none}
.ranking-ticker-item{display:flex;flex:0 0 var(--ticker-item-width);flex-direction:column;justify-content:center;gap:2px;width:var(--ticker-item-width);height:44px;min-height:44px;padding:3px 7px;border-right:1px solid var(--line);color:var(--ink);text-align:left}
.ranking-ticker-item[data-me=true]{background:var(--brand-soft)}
.competition-strip .ticker-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--control-emphasis)}
.ticker-detail{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;font:var(--chart-hint-text)}
.ticker-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dim)}
.ticker-value{flex:none;font:var(--chart-control-text);font-variant-numeric:tabular-nums;white-space:nowrap}
#rankings-pause{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border-left:1px solid var(--line);background:var(--surface-2);color:var(--brand);font:var(--chart-control-text)}
.rankings-ticker :focus-visible{outline:2px solid var(--action-blue);outline-offset:-3px}

.ticker-status:empty{display:none}
