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);
}

.wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tabs {
  display: flex;
  gap: 8px;
  background: #fff7e6;
  padding: 8px;
  border-radius: 12px;
}

.tab {
  appearance: none;
  border: none;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #17141a;
  background: #b9a0ff;
  corner-shape: notch;
  border-radius: 4px;
  cursor: pointer;
}
.tab[aria-selected=true] {
  background: #6ec8ff;
}
.tab:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

@supports not (corner-shape: notch) {
  .tab {
    border: 1px solid rgba(23, 20, 26, 0.2);
  }
}
.readout {
  margin: 0;
  color: #17141a;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .tab {
    padding: 4px 16px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tab {
    transition: none;
  }
}
