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

.scv {
  display: flex;
  justify-content: center;
  width: 100%;
}

.scv__card {
  width: min(100%, 336px);
  background: #0a4fe8;
  color: #fff7e6;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  padding: 12px 16px;
}

.scv__label {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.scv__zone {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 280/150;
  background: #eef0f3;
}

.scv__prize {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 8px;
  z-index: 0;
}

.scv__prizeTitle {
  margin: 0;
  font-weight: 800;
  font-size: clamp(18px, 6vw, 22px);
  color: #0a4fe8;
}

.scv__prizeSub {
  margin: 0;
  font-weight: 700;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.68);
}

.scv__foil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  z-index: 1;
}

.scv.is-open .scv__foil {
  visibility: hidden;
}

.scv__reveal {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  background: #fff7e6;
  color: #0a4fe8;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  line-height: 1.3;
}

.scv__reveal:focus-visible {
  outline: 3px solid #17141a;
  outline-offset: 2px;
}

.scv__live {
  margin: 0;
  min-height: 0;
  font-weight: 700;
  font-size: 10px;
  color: #fff7e6;
}

@media (max-width: 340px) {
  .scv__card {
    padding: 12px;
  }
}
@media (max-height: 220px) {
  .stage {
    padding: 8px;
  }
  .scv__card {
    padding: 8px 12px;
  }
  .scv__label {
    margin: 0 0 4px;
  }
  .scv__zone {
    aspect-ratio: 280/88;
  }
  .scv__reveal {
    margin-top: 4px;
  }
  .scv__live {
    margin-top: 4px;
    min-height: 0.9em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scv {
    cursor: default;
  }
}
