.stage html, .stage body {
  margin: 0;
  overflow: hidden;
}
.stage .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);
}

.nb {
  position: relative;
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nb__bell {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #0a4fe8;
  color: #fff7e6;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.nb__ic {
  width: 26px;
  height: 26px;
}

.nb__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c2361a;
  color: #fff7e6;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  transform-origin: center;
}

.nb__badge--pulse {
  animation-name: nbPulse;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nb__pulseRing {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #c2361a;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
}

.nb__pulseRing--go {
  animation: nbRingGo 600ms ease-out;
}

@keyframes nbRingGo {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(var(--ring-scale, 2.6));
  }
}
.nb__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  border: 0;
}

.nb__panel {
  width: 100%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #231f28;
  transition: height 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.nb__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.06);
}

.nb__itemName {
  font-size: 12px;
  color: #fff7e6;
}

.nb__itemTime {
  font-size: 10px;
  color: rgba(255, 247, 230, 0.55);
  flex: 0 0 auto;
}

@keyframes nbPulse {
  0%, 100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.3);
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.3);
  }
  80% {
    transform: scale(1);
  }
}
@media (max-width: 340px) {
  .nb {
    width: 100%;
  }
  .nb__itemTime {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nb__panel {
    transition: none;
  }
  .nb__badge--pulse {
    animation: none;
  }
  .nb__pulseRing--go {
    animation: none;
  }
}
