/*
 * HAKOOFSA TV board (Chromecast receiver) styling.
 * Visually faithful to design/HAKOOFSA Board.dc.html: black stage, stencil look, RTL
 * Hebrew, red accent #E63329. The stage is authored at a fixed 1920x1080 and scaled to
 * the device by app.js (see hk-stage transform). All values mirror the design reference.
 */

:root {
  --hk-bg: #000;
  --hk-surface: #070707;
  --hk-ticker-bg: #0a0a0a;
  --hk-border: rgba(255, 255, 255, 0.12);
  --hk-line: rgba(255, 255, 255, 0.1);
  --hk-red: #e63329;
  --hk-text: #fff;
  --hk-muted-85: rgba(255, 255, 255, 0.85);
  --hk-muted-70: rgba(255, 255, 255, 0.7);
  --hk-muted-62: rgba(255, 255, 255, 0.62);
  --hk-muted-55: rgba(255, 255, 255, 0.55);
  --hk-muted-50: rgba(255, 255, 255, 0.5);
  --hk-muted-42: rgba(255, 255, 255, 0.42);
  --hk-muted-40: rgba(255, 255, 255, 0.4);
  --hk-muted-32: rgba(255, 255, 255, 0.32);
  --hk-stencil: 'Saira Stencil One', sans-serif;
  --hk-cond: 'Saira Condensed', sans-serif;
  --hk-semi: 'Saira SemiCondensed', sans-serif;
  --hk-heebo: 'Heebo', sans-serif;
}

* {
  box-sizing: border-box;
}

/*
 * The renderer toggles visibility with the `hidden` attribute. Several toggled elements
 * are flex/grid containers, whose `display` class rule would otherwise win over the UA
 * `[hidden] { display: none }` rule — so we force it. This is what makes exactly one of
 * main / between / timer / leaderboard show at a time.
 */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--hk-bg);
  overflow: hidden;
  width: 100%;
  height: 100%;
}

@keyframes hk-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes hk-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

@keyframes hk-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- stage scaling ---------- */
.hk-stage-wrap {
  position: fixed;
  inset: 0;
  background: var(--hk-bg);
  overflow: hidden;
}

.hk-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  width: 1920px;
  height: 1080px;
  background: var(--hk-bg);
  color: var(--hk-text);
  font-family: var(--hk-heebo);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- header ---------- */
.hk-header {
  height: 158px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid var(--hk-border);
}

.hk-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 340px;
}

.hk-logo-name {
  font-family: var(--hk-stencil);
  font-size: 54px;
  line-height: 0.9;
  letter-spacing: 1px;
  color: var(--hk-text);
}

.hk-logo-sub {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hk-logo-bar {
  flex: 1;
  height: 17px;
  background: var(--hk-text);
}

.hk-logo-word {
  font-family: var(--hk-semi);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 11px;
  color: var(--hk-text);
  padding-left: 11px;
}

.hk-header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hk-header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.hk-date {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 26px;
  color: var(--hk-muted-62);
}

.hk-header-badges {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hk-offline-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hk-offline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.hk-offline-text {
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 21px;
  color: var(--hk-muted-70);
}

.hk-next-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 18px;
  border-radius: 6px;
  border: 1.5px solid var(--hk-red);
}

.hk-next-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hk-red);
  animation: hk-pulse 2s ease-in-out infinite;
}

.hk-next-label {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 20px;
  color: var(--hk-muted-70);
}

.hk-next-time {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 26px;
  color: var(--hk-red);
  letter-spacing: 1px;
}

.hk-clock {
  display: flex;
  align-items: baseline;
  font-family: var(--hk-cond);
  font-weight: 800;
  color: var(--hk-text);
  line-height: 0.85;
}

.hk-clock-hhmm {
  font-size: 96px;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.hk-clock-ss {
  font-size: 40px;
  color: var(--hk-red);
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}

/* ---------- board body ---------- */
.hk-board {
  flex: 1;
  display: flex;
  min-height: 0;
}

.hk-wod {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 34px 56px 30px;
  min-width: 0;
}

.hk-wod-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hk-wod-head-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hk-wod-tag {
  font-family: var(--hk-stencil);
  font-size: 38px;
  letter-spacing: 5px;
  color: var(--hk-red);
}

.hk-wod-heading {
  font-family: var(--hk-heebo);
  font-weight: 800;
  font-size: 36px;
  color: var(--hk-muted-85);
}

.hk-wod-kicker {
  font-family: var(--hk-semi);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--hk-muted-40);
}

.hk-wod-title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 4px 0 22px;
  min-height: 100px;
}

.hk-wod-title-en {
  font-family: var(--hk-stencil);
  font-size: 118px;
  line-height: 0.85;
  color: var(--hk-text);
  letter-spacing: 2px;
}

.hk-wod-title-he {
  font-family: var(--hk-heebo);
  font-weight: 300;
  font-size: 40px;
  color: var(--hk-muted-40);
}

.hk-sections {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hk-section {
  padding: 18px 0;
  border-top: 1px solid var(--hk-line);
  animation: hk-fade 0.4s ease both;
}

.hk-section:last-child {
  border-bottom: 1px solid var(--hk-line);
}

.hk-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.hk-section-square {
  width: 15px;
  height: 15px;
  background: var(--hk-red);
  flex: none;
}

.hk-section-en {
  font-family: var(--hk-stencil);
  font-size: 27px;
  letter-spacing: 4px;
  color: var(--hk-text);
}

.hk-section-he {
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 23px;
  color: var(--hk-muted-42);
}

.hk-section-chips {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hk-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 17px;
  border-radius: 5px;
  font-family: var(--hk-stencil);
  font-size: 20px;
  letter-spacing: 2px;
}

.hk-chip-solid {
  background: var(--hk-red);
  color: var(--hk-text);
}

.hk-chip-outline {
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-size: 18px;
  letter-spacing: 1px;
  padding: 5px 15px;
  color: var(--hk-text);
}

.hk-section-body {
  text-align: right;
  font-family: var(--hk-heebo);
  font-weight: 500;
  font-size: 31px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.hk-section-body.hk-strong {
  font-weight: 600;
  font-size: 33px;
  color: var(--hk-text);
  line-height: 1.3;
}

/* Each line of a dynamic section's text (the coach's line breaks are preserved). */
.hk-section-line + .hk-section-line {
  margin-top: 4px;
}

.hk-section-muted {
  font-weight: 400;
  font-size: 27px;
  color: var(--hk-muted-50);
}

.hk-metcon-scheme {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 6px;
  flex-wrap: nowrap;
}

.hk-metcon-scheme-num {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 64px;
  color: var(--hk-text);
  letter-spacing: 2px;
  white-space: nowrap;
}

.hk-metcon-scheme-label {
  font-family: var(--hk-heebo);
  font-weight: 500;
  font-size: 27px;
  color: var(--hk-muted-50);
}

.hk-metcon-movements {
  text-align: right;
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 32px;
  color: var(--hk-text);
  line-height: 1.35;
}

.hk-metcon-load {
  color: var(--hk-muted-50);
  font-weight: 400;
}

.hk-score-note {
  margin-right: auto;
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 27px;
  color: rgba(255, 255, 255, 0.78);
}

.hk-origin-badge {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0;
  color: var(--hk-muted-55);
}

/* ---------- side panel ---------- */
.hk-side {
  width: 646px;
  flex: none;
  border-right: 1px solid var(--hk-border);
  background: var(--hk-surface);
  padding: 34px 44px 30px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hk-class-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: hk-fade 0.4s ease both;
}

.hk-class-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hk-class-title {
  font-family: var(--hk-heebo);
  font-weight: 800;
  font-size: 32px;
  color: var(--hk-text);
}

.hk-class-sub {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 21px;
  color: var(--hk-muted-40);
}

.hk-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 5px;
  background: rgba(230, 51, 41, 0.15);
}

.hk-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hk-red);
  animation: hk-pulse 1.6s ease-in-out infinite;
}

.hk-live-text {
  font-family: var(--hk-semi);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--hk-red);
}

.hk-class-time {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 4px;
}

.hk-class-time-main {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 62px;
  line-height: 0.85;
  color: var(--hk-text);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.hk-class-time-end {
  font-family: var(--hk-cond);
  font-weight: 500;
  font-size: 30px;
  color: var(--hk-muted-40);
  padding-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.hk-class-type {
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 30px;
  color: var(--hk-text);
  margin-bottom: 2px;
}

.hk-class-coach {
  font-family: var(--hk-heebo);
  font-weight: 500;
  font-size: 25px;
  color: var(--hk-muted-55);
  margin-bottom: 22px;
}

.hk-capacity {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--hk-line);
  border-bottom: 1px solid var(--hk-line);
  margin-bottom: 20px;
}

.hk-ring {
  flex: none;
}

.hk-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 15;
}

.hk-ring-fg {
  fill: none;
  stroke: var(--hk-red);
  stroke-width: 15;
  stroke-linecap: round;
  stroke-dasharray: 452;
  transition: stroke-dashoffset 0.6s ease;
}

.hk-ring-num {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 62px;
  fill: var(--hk-text);
}

.hk-ring-cap {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 26px;
  fill: var(--hk-muted-50);
}

.hk-capacity-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hk-capacity-label {
  font-family: var(--hk-heebo);
  font-weight: 800;
  font-size: 28px;
  color: var(--hk-text);
}

.hk-capacity-free {
  font-family: var(--hk-heebo);
  font-weight: 500;
  font-size: 23px;
  color: var(--hk-muted-50);
}

.hk-freshness {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 20px;
  color: var(--hk-muted-40);
}

.hk-current .hk-freshness {
  margin-top: 6px;
}

.hk-freshness-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hk-red);
}

.hk-roster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hk-roster-title {
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 24px;
  color: var(--hk-muted-85);
}

.hk-roster-count {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 22px;
  color: var(--hk-muted-40);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.hk-roster-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 26px;
  align-content: start;
  overflow: hidden;
}

.hk-roster-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.hk-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 19px;
  color: var(--hk-text);
  flex: none;
}

.hk-roster-name {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 25px;
  color: var(--hk-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- next (between) ---------- */
.hk-next-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 0;
  border: 1px solid var(--hk-border);
  border-radius: 10px;
  margin-bottom: 24px;
  background: rgba(230, 51, 41, 0.05);
}

.hk-next-box-label {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 25px;
  color: var(--hk-muted-55);
  margin-bottom: 8px;
}

.hk-next-box-time {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 118px;
  line-height: 0.82;
  color: var(--hk-red);
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

.hk-full-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 5px;
  background: var(--hk-red);
  font-family: var(--hk-stencil);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--hk-text);
}

.hk-standby-head {
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 24px;
  color: var(--hk-muted-85);
  margin-bottom: 13px;
}

.hk-standby-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hk-standby-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hk-standby-rank {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(230, 51, 41, 0.16);
  border: 1px solid rgba(230, 51, 41, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 18px;
  color: var(--hk-red);
  flex: none;
}

.hk-standby-name {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 25px;
  color: var(--hk-text);
}

.hk-next-freshness {
  margin-top: auto;
  padding-top: 18px;
}

/* ---------- timer ---------- */
.hk-timer {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 56px 40px;
  position: relative;
  min-height: 0;
}

.hk-timer-tags {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.hk-timer-running {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 6px;
  background: rgba(230, 51, 41, 0.16);
}

.hk-timer-running-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hk-red);
  animation: hk-pulse 1.4s ease-in-out infinite;
}

.hk-timer-running.hk-paused .hk-timer-running-dot {
  animation: none;
  opacity: 0.5;
}

.hk-timer-running-text {
  font-family: var(--hk-semi);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--hk-red);
}

.hk-timer-format {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 6px;
  background: var(--hk-red);
  color: var(--hk-text);
  font-family: var(--hk-stencil);
  font-size: 23px;
  letter-spacing: 3px;
}

.hk-timer-cap {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-family: var(--hk-stencil);
  font-size: 21px;
  letter-spacing: 2px;
}

.hk-timer-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 2px;
}

.hk-timer-title-en {
  font-family: var(--hk-stencil);
  font-size: 58px;
  color: var(--hk-text);
  letter-spacing: 2px;
}

.hk-timer-title-he {
  font-family: var(--hk-heebo);
  font-weight: 300;
  font-size: 30px;
  color: var(--hk-muted-40);
}

.hk-timer-clock {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 300px;
  line-height: 0.82;
  color: var(--hk-text);
  letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
}

.hk-timer-clock.hk-over {
  color: var(--hk-red);
}

.hk-timer-desc {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 34px;
  color: var(--hk-muted-60, rgba(255, 255, 255, 0.6));
  margin-top: 2px;
  white-space: nowrap;
}

.hk-timer-bar {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 24px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hk-timer-progress {
  height: 100%;
  width: 0%;
  background: var(--hk-red);
  border-radius: 4px;
  transition: width 0.9s linear;
}

/* ---------- leaderboard ---------- */
.hk-leaderboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 56px 24px;
  min-height: 0;
}

.hk-lb-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hk-lb-head-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hk-lb-tag {
  font-family: var(--hk-stencil);
  font-size: 38px;
  letter-spacing: 4px;
  color: var(--hk-red);
}

.hk-lb-title {
  font-family: var(--hk-heebo);
  font-weight: 800;
  font-size: 36px;
  color: var(--hk-muted-85);
}

.hk-lb-head-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hk-lb-wod-en {
  font-family: var(--hk-stencil);
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--hk-text);
}

.hk-lb-wod-meta {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 24px;
  color: var(--hk-muted-40);
}

.hk-lb-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hk-lb-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--hk-line);
  animation: hk-fade 0.4s ease both;
}

.hk-lb-row:last-child {
  border-bottom: 1px solid var(--hk-line);
}

.hk-lb-rank {
  width: 64px;
  text-align: center;
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 54px;
  color: var(--hk-red);
  flex: none;
}

.hk-lb-row.hk-rest .hk-lb-rank {
  font-size: 46px;
  color: var(--hk-muted-32);
}

.hk-lb-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(230, 51, 41, 0.16);
  border: 1px solid rgba(230, 51, 41, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 23px;
  color: var(--hk-text);
  flex: none;
}

.hk-lb-row.hk-rest .hk-lb-avatar {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 21px;
}

.hk-lb-name {
  font-family: var(--hk-heebo);
  font-weight: 700;
  font-size: 37px;
  color: var(--hk-text);
}

.hk-lb-row.hk-rest .hk-lb-name {
  font-weight: 600;
  font-size: 34px;
  color: rgba(255, 255, 255, 0.92);
}

.hk-lb-score {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hk-lb-rx {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  font-family: var(--hk-semi);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--hk-text);
}

.hk-lb-rx.hk-scaled {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--hk-muted-40);
}

.hk-lb-value {
  font-family: var(--hk-cond);
  font-weight: 800;
  font-size: 50px;
  color: var(--hk-text);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.hk-lb-row.hk-rest .hk-lb-value {
  font-size: 46px;
  color: rgba(255, 255, 255, 0.92);
}

.hk-lb-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 40px;
  color: var(--hk-muted-40);
}

/* ---------- ticker ---------- */
.hk-ticker {
  height: 60px;
  flex: none;
  border-top: 1px solid var(--hk-border);
  background: var(--hk-ticker-bg);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hk-ticker-tag {
  flex: none;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: var(--hk-red);
  font-family: var(--hk-stencil);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--hk-text);
  z-index: 2;
}

.hk-ticker-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.hk-ticker-track {
  display: inline-flex;
  animation: hk-marquee 38s linear infinite;
  will-change: transform;
}

.hk-ticker-seg {
  font-family: var(--hk-heebo);
  font-weight: 600;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 40px;
}
