feat: inline power play indicator as compact badge in card header
CI / Lint (push) Successful in 45s
CI / Test (push) Successful in 8s
CI / Build & Push (push) Successful in 1m8s

Moves the PP team + countdown into the badges row next to period and
clock, freeing up a full line of vertical space on each live card.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 11:05:38 -04:00
parent 61202b2a70
commit 108b77ed39
2 changed files with 7 additions and 44 deletions
+4 -36
View File
@@ -212,44 +212,12 @@ main {
white-space: nowrap;
}
/* ── Power Play Indicator ───────────────────────── */
/* ── Power Play Badge (inline in card header) ─── */
.pp-indicator {
display: flex;
align-items: center;
gap: 0.4rem;
margin-top: 0.5rem;
padding: 0.35rem 0.5rem;
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 6px;
}
.pp-label {
font-size: 0.6rem;
font-weight: 700;
letter-spacing: 0.08em;
.badge-pp {
background: rgba(239, 68, 68, 0.15);
color: var(--red);
text-transform: uppercase;
flex-shrink: 0;
}
.pp-team {
font-size: 0.72rem;
font-weight: 600;
color: var(--text);
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.pp-clock {
font-size: 0.72rem;
font-weight: 700;
color: var(--red);
flex-shrink: 0;
border: 1px solid rgba(239, 68, 68, 0.35);
font-variant-numeric: tabular-nums;
}