@font-face {
  font-family: 'CheeseListTH';
  src: url('../fonts/LINESeedSansTH_W_Rg.woff2') format('woff2'),
       url('../fonts/LINESeedSansTH_W_Rg.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.cls-status-board,
.cls-status-board *,
.cls-status-board *::before,
.cls-status-board *::after {
  box-sizing: border-box;
}

.cls-status-board {
  display: block;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--cls-border, #175038);
  border-radius: var(--cls-radius, 12px);
  background: var(--cls-bg, #0a0d0b);
  color: var(--cls-text, #bac5be);
  font-family: 'CheeseListTH', system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.cls-status-line {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cls-status-summary {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--cls-text, #bac5be);
  font-size: clamp(11px, 1.7vw, 13px);
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.cls-metric-value {
  color: #fff;
}

.cls-metric-note {
  color: var(--cls-deposit, #20dc8c);
}

.cls-live-text {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-height: 24px;
  color: var(--cls-text, #bac5be);
  font-size: clamp(11px, 1.7vw, 13px);
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.cls-live-text > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cls-deposit, #20dc8c);
  box-shadow: 0 0 0 4px rgba(32, 220, 140, .12);
  animation: cls-live-pulse 1.8s ease-in-out infinite;
}

@keyframes cls-live-pulse {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1); }
}

.cls-widget {
  width: 100%;
  min-height: 54px;
  overflow: hidden;
  background: transparent;
  color: var(--cls-text, #bac5be);
}

.cls-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cls-viewport::before,
.cls-viewport::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 30px;
  pointer-events: none;
}

.cls-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--cls-bg, #0a0d0b), transparent);
}

.cls-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--cls-bg, #0a0d0b), transparent);
}

.cls-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 52px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.cls-track.is-running {
  animation: cls-smooth-marquee var(--cls-duration, 20s) linear infinite;
}

.cls-track.is-paused {
  animation-play-state: paused;
}

@keyframes cls-smooth-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--cls-distance, -1000px), 0, 0); }
}

.cls-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 52px;
}

.cls-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 260px;
  height: 34px;
  padding: 0 15px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  white-space: nowrap;
}

.cls-amount {
  color: var(--cls-deposit, #20dc8c);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cls-item.is-withdraw .cls-amount {
  color: var(--cls-withdraw, #ff6b63);
}

.cls-separator {
  color: var(--cls-border, #175038);
}

.cls-phone {
  color: var(--cls-text, #bac5be);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cls-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid var(--cls-deposit, #20dc8c);
  border-radius: 7px;
  padding: 3px 9px;
  background: rgba(32, 220, 140, .08);
  color: var(--cls-deposit, #20dc8c);
  font-size: 12px;
  font-weight: 700;
}

.cls-item.is-withdraw .cls-badge {
  border-color: var(--cls-withdraw, #ff6b63);
  background: rgba(255, 107, 99, .09);
  color: var(--cls-withdraw, #ff6b63);
}

.cls-admin-empty {
  border: 1px dashed #b8c2bc;
  border-radius: 8px;
  padding: 12px;
  background: #f6f7f7;
  color: #50575e;
  font-family: system-ui, sans-serif;
}

@media (max-width: 680px) {
  .cls-status-line { gap: 7px; padding-inline: 10px; }
  .cls-status-summary { gap: 4px; }
  .cls-live-text { justify-content: flex-end; }
}

@media (max-width: 520px) {
  .cls-status-line {
    gap: 5px;
    padding-inline: 8px;
  }

  .cls-status-summary {
    gap: 3px;
  }

  .cls-live-text {
    gap: 5px;
  }

  .cls-item {
    min-width: 245px;
    padding: 0 11px;
  }

  .cls-amount {
    font-size: 14px;
  }

  .cls-phone,
  .cls-badge {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cls-track.is-running,
  .cls-live-text > span {
    animation: none;
  }
}
