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

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

.panel {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hint {
  margin: 0;
  padding: 0 8px;
  text-align: center;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.72);
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  background: rgba(23, 20, 26, 0.04);
  border-radius: 8px;
  overflow: hidden;
}

.cmpCaption {
  display: none;
}

.cmp th,
.cmp td {
  padding: 4px 8px;
  text-align: center;
  font-weight: 400;
  font-size: 11px;
  color: #17141a;
}

.cmp thead th {
  font-weight: 700;
  font-size: 10px;
  border-bottom: 1px solid rgba(23, 20, 26, 0.18);
}

.cmp tbody th {
  text-align: left;
  font-weight: 500;
}

.cmp tbody tr {
  background: rgba(47, 109, 246, var(--diff-alpha, 0));
  transition: background 300ms ease-out;
}

.chip {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
}

@media (max-width: 340px) {
  .panel {
    max-width: 300px;
    gap: 4px;
  }
  .hint {
    font-size: 9px;
  }
  .cmp th, .cmp td {
    padding: 4px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cmp tbody tr {
    transition: none;
  }
}
