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

.ap {
  width: min(320px, 94vw);
}

.ap__title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  font-family: inherit;
  color: #17141a;
}

.ap__ic {
  display: grid;
  place-items: center;
  color: #a89053;
}

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

.ap__badge {
  border: 1px solid rgba(23, 20, 26, 0.1);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.ap__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #17141a;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.ap__ic-sm {
  display: grid;
  place-items: center;
  color: #2f6df6;
  flex: 0 0 auto;
}

.ap__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ap__badge.is-open .ap__reveal {
  grid-template-rows: 1fr;
}

.ap__cap {
  margin: 0;
  overflow: hidden;
  padding: 0 12px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(23, 20, 26, 0.72);
  font-family: inherit;
}

.ap__badge.is-open .ap__cap {
  padding: 0 12px 8px;
}

@media (prefers-reduced-motion: reduce) {
  .ap__cap {
    transition: none !important;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .ap__btn {
    padding: 4px 8px;
    font-size: 10px;
  }
}
