/* WFSC 2026 — Liveticker embed. Colors/base components from embed-tokens.css. */

html, body {
  height: 100%;
}

.embed-card {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
}

/* Compact "who's up now" score board — kept deliberately small (11-12px rows); this is the
   whole widget now, not a panel above something bigger, so it should stay a small card, not
   stretch edge-to-edge in whatever iframe width the customer's site gives it. */
.live-score-panel {
  background: var(--teal);
  padding: 8px 12px 10px;
}

.live-score-title {
  margin: 0 0 6px;
  font-family: var(--font-type);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.75;
}

.live-score-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.live-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.live-score-row.is-leader {
  background: var(--white);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.live-score-row.is-current {
  box-shadow: 0 0 0 2px #e5484d inset;
}

.live-score-row .live-score-rank {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted);
  min-width: 26px;
  flex-shrink: 0;
  text-align: center;
}

.live-score-row.is-leader .live-score-rank {
  color: var(--ink);
}

.live-score-row .embed-flag {
  width: 16px;
  height: 11px;
  flex-shrink: 0;
}

.live-score-row .live-score-name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-score-row .live-score-value {
  font-family: var(--font-display);
  font-size: 13px;
  flex-shrink: 0;
}

.live-score-row .live-score-value.is-pending {
  font-family: var(--font-type);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}

.live-score-panel .embed-empty {
  padding: 14px 4px;
  font-size: 12px;
}
