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

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

.tgc {
  width: 100%;
  max-width: 240px;
  border-collapse: collapse;
  font: 400 12px/1.3 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #fff7e6;
}

.tgc__group {
  cursor: pointer;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 600;
}

.tgc__group td {
  padding: 8px 12px;
}

.tgc__group--collapsed {
  border-radius: 4px;
}

.tgc__child {
  overflow: hidden;
  height: 30px;
  opacity: 1;
  transition: height 300ms ease-out, opacity 300ms ease-out, transform 300ms ease-out;
}

.tgc__cell {
  padding: 4px 12px;
  background: rgba(255, 247, 230, 0.06);
  box-sizing: border-box;
}

.tgc__cell--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .tgc {
    max-width: 200px;
    font-size: 11px;
  }
  .tgc__cell, .tgc__group td {
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tgc__child {
    transition: none;
  }
}
