html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.sr {
  position: relative;
  display: grid;
  place-items: center;
  gap: 32px;
}

.sr__tip {
  position: absolute;
  top: 2px;
  left: 0;
  transform: translateX(0) translateX(-50%);
  background: #17141a;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 8px;
  font: 600 13px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 140ms ease-out, transform 220ms ease-out;
}
.sr__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #17141a;
}
.sr__tip--show {
  opacity: 1;
}

.sr__row {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}

.sr__star {
  width: 40px;
  height: 40px;
  color: #c93000;
  opacity: 0.45;
  transition: color 220ms ease-out, opacity 220ms ease-out;
}
.sr__star svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.sr__star--filled {
  color: #0a4fe8;
  opacity: 1;
}

@media (max-width: 340px) {
  .sr__star {
    width: 32px;
    height: 32px;
  }
  .sr__row {
    gap: 4px;
  }
  .sr__tip {
    font-size: 12px;
    top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sr__tip, .sr__star {
    transition: none;
  }
}
