html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.stc {
  width: min(100%, 300px);
}

.stc__view {
  --shadow-alpha: 0;
  box-sizing: border-box;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(23, 20, 26, 0.1);
}

.stc__table {
  border-collapse: collapse;
  table-layout: fixed;
}

.stc__table th,
.stc__table td {
  box-sizing: border-box;
  width: 72px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 12px;
  color: #17141a;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid rgba(23, 20, 26, 0.08);
}

.stc__table thead th {
  font-weight: 700;
  background: rgba(23, 20, 26, 0.04);
}

.stc__frozen {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 96px;
  text-align: left;
  background: #ffffff;
}
.stc__frozen::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  width: 12px;
  height: 100%;
  background: linear-gradient(90deg, rgba(23, 20, 26, var(--shadow-alpha)), transparent);
  opacity: 1;
  transition: background 140ms ease-out;
  pointer-events: none;
}

@media (max-width: 340px) {
  .stc__table th,
  .stc__table td {
    width: 60px;
    padding: 4px 8px;
    font-size: 11px;
  }
  .stc__frozen {
    width: 78px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stc__frozen::after {
    transition: none;
  }
}
