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

.tp {
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp__tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 247, 230, 0.12);
  padding: 4px;
  border-radius: 999px;
}

.tp__tab {
  flex: 1 1 0;
  border: none;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 247, 230, 0.72);
}

.tp__tab.is-active {
  background: #0a4fe8;
  color: #fff7e6;
}

.tp__tab:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.tp__wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff7e6;
  transition: height var(--tp-dur, 300ms) ease-out;
}

.tp__panel {
  padding: 16px;
  box-sizing: border-box;
}

.tp__line {
  height: 10px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.16);
  margin: 0 0 8px;
}

.tp__line--a {
  width: 82%;
}

.tp__line--b {
  width: 58%;
}

.tp__line--c {
  width: 68%;
}

.tp__bars {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: flex-end;
  height: 44px;
}

.tp__bars span {
  flex: 1 1 0;
  border-radius: 4px 4px 0 0;
  background: #2f6df6;
}

.tp__bars span:nth-child(1) {
  height: 60%;
}

.tp__bars span:nth-child(2) {
  height: 100%;
}

.tp__bars span:nth-child(3) {
  height: 40%;
}

.tp__bars span:nth-child(4) {
  height: 78%;
}

.tp__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp__list li {
  height: 14px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.12);
}

.tp__list li:nth-child(2n) {
  width: 88%;
}

.tp__meta {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 247, 230, 0.78);
  text-align: center;
}

.tp__meta b {
  color: #fff7e6;
  font-weight: 700;
}

@media (max-width: 340px) {
  .tp {
    width: 100%;
  }
  .tp__tab {
    font-size: 11px;
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp__wrap {
    transition: none;
  }
}
