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

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

.viewport {
  width: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.04);
  padding: 8px;
  transition: width 300ms ease-out;
}

.row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.logo {
  flex: 0 0 auto;
  width: 84px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #17141a;
  color: #fff7e6;
  font-weight: 700;
  font-size: 9px;
  text-align: center;
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

@media (max-width: 340px) {
  .panel {
    max-width: 300px;
    gap: 4px;
  }
  .hint {
    font-size: 9px;
  }
  .viewport {
    width: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .viewport {
    transition: none;
  }
}
