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

.backdrop {
  position: relative;
  box-sizing: border-box;
  width: 320px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #17141a;
  transition: background-color 300ms ease-out;
}

.copyBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(23, 20, 26, 0.28);
  cursor: pointer;
  transition: color 220ms ease-out, border-color 220ms ease-out, background-color 220ms ease-out;
}

.icon {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.backdrop.is-light .copyBtn {
  border-color: rgba(23, 20, 26, 0.78);
  background: rgba(255, 255, 255, 0.34);
}

.backdrop.is-light .icon {
  color: #17141a;
}

.hint {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.46);
  color: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 11px;
  font-weight: 600;
  transition: background-color 220ms ease-out, color 220ms ease-out;
}

.backdrop.is-light .hint {
  background: rgba(255, 255, 255, 0.58);
  color: #17141a;
}

@media (max-width: 340px) {
  .backdrop {
    width: 260px;
    height: 170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .backdrop, .copyBtn, .hint {
    transition: none;
  }
}
