/* Showcase page only. Reuses tokens + classes from app.css. */

.sc-section {
  padding: 72px 0 0;
}

.sc-lead {
  max-width: 760px;
  margin-bottom: 24px;
}

/* Live snapshot cards */
.now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.now-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 24px;
  transition:
    border-color 0.16s,
    background 0.16s,
    transform 0.16s;
}

.now-card:hover {
  border-color: var(--accent);
  background: rgba(107, 63, 246, 0.04);
  transform: translateY(-2px);
}

.now-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.now-src {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.now-src > span:last-child {
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.now-rank {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.now-track {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: NanumSquareExtraBold, NanumSquare, Pretendard, sans-serif;
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.now-artist {
  margin: 4px 0 0;
  color: var(--dim);
  font-size: 14px;
}

/* Live badge (mirrors .status) */
.now-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.now-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dim2);
}

.now-badge.live {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--lime);
}

.now-badge.live::before {
  background: var(--lime);
}

.now-badge.down {
  border-color: rgba(192, 51, 44, 0.22);
  background: rgba(192, 51, 44, 0.1);
  color: #c0332c;
}

.now-badge.down::before {
  background: #c0332c;
}

.now-badge.sample {
  border-color: rgba(107, 63, 246, 0.28);
  background: var(--accent-soft);
  color: var(--accent);
}

.now-badge.sample::before {
  background: var(--accent);
}

/* Coverage */
.coverage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.coverage-col {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 22px 22px 8px;
}

.coverage-col > h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 6px;
  color: var(--ink);
  font-family: NanumSquareExtraBold, NanumSquare, Pretendard, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.coverage-col > h3 small {
  color: var(--dim2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cov-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
}

.cov-row + .cov-row {
  border-top: 1px solid var(--line);
}

.cov-row .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.cov-name {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Uptime strip */
.uptime-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 24px;
}

.uptime-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.uptime-top strong {
  color: var(--ink);
  font-weight: 900;
}

.uptime-top span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.uptime-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 48px;
}

.uptime-bars i {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: var(--dark);
}

.uptime-bars i.warn {
  height: 60%;
  background: #e0a500;
}

.uptime-legend {
  margin: 14px 0 0;
  color: var(--dim2);
  font-size: 12px;
}

@media (max-width: 900px) {
  .now-grid,
  .coverage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .now-grid,
  .coverage {
    grid-template-columns: 1fr;
  }

  .sc-section {
    padding-top: 52px;
  }
}
