/* 시작 화면 */
.splash-lang { width: auto; margin-top: 10px; }
.splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  padding: 24px;
  overflow-y: auto;
  /* 낮은 화면에서도 START 까지 스크롤 가능 */
  background:
    radial-gradient(800px 500px at 50% 35%, #4a0c18aa, transparent 70%),
    var(--bg);
  transition: opacity .5s ease, visibility .5s ease;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-inner { margin: auto; display: grid; gap: 12px; justify-items: center; text-align: center; }
@media (max-height: 520px) {
  .splash-inner { gap: 8px; }
  .splash-inner img { width: 64px; height: 64px; }
  .splash-start { margin-top: 8px; }
}
.splash-inner img { border-radius: 22px; box-shadow: 0 0 60px #d6283b55; }
.splash h1 {
  word-break: keep-all;
  overflow-wrap: break-word;
  margin: 8px 0 0;
  font-size: clamp(30px, 8vw, 52px);
  font-weight: 900;
  letter-spacing: -.03em;
}
.splash h1 span { color: var(--red-hi); }
.splash p { margin: 0; color: var(--muted); }
.splash small { color: var(--muted); font-size: 12px; }
.splash-actions { margin-top: 18px; display: grid; gap: 10px; width: min(280px, 100%); }
.splash-start { font-size: 18px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px #d6283b22, 0 0 30px #d6283b66; } }
/* 시작 화면 */
.splash {
  background:
    radial-gradient(520px 420px at 50% 32%, rgba(255, 45, 75, .26), transparent 70%),
    radial-gradient(900px 600px at 50% 110%, rgba(90, 40, 160, .12), transparent 70%),
    var(--bg);
}
.splash-inner { gap: 10px; }
.splash-art { position: relative; isolation: isolate; }
.splash-art::before {
  content: "";
  position: absolute;
  inset: 18% 12% 8%;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 45, 75, .45), transparent 65%);
  filter: blur(24px);
  z-index: -1;
  animation: splash-breathe 4s ease-in-out infinite;
}
@keyframes splash-breathe { 50% { opacity: .55; transform: scale(.92); } }
.splash-inner img { border-radius: 0; box-shadow: none; width: min(220px, 52vw); height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .8)); }
/* 제목: 콜론 뒤 "데드 어게인" 은 한 덩어리로 줄바꿈 */
.splash h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #ff6b80, #ff2d4b 55%, #c3122f);
  -webkit-background-clip: text;
  background-clip: text;
}
.splash-login { border-radius: 16px; }
.splash-start { animation: none; }
@media (max-height: 620px) {
  .splash-inner img { width: 130px; }
}
.splash {
  background:
    conic-gradient(from 168deg at 50% -12%, transparent 0deg, rgba(224, 120, 170, .1) 12deg, rgba(224, 120, 170, .03) 22deg, transparent 34deg),
    conic-gradient(from 180deg at 50% -12%, transparent -14deg, rgba(224, 120, 170, .1) 0deg, rgba(224, 120, 170, .03) 10deg, transparent 22deg),
    radial-gradient(520px 400px at 50% 32%, rgba(224, 100, 154, .18), transparent 70%),
    radial-gradient(900px 620px at 50% 112%, rgba(56, 28, 56, .34), transparent 70%),
    var(--bg);
}
.splash::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px);
}
.splash-art::before {
  inset: 16% 8% 4%;
  background: radial-gradient(closest-side, rgba(224, 100, 154, .5), rgba(224, 100, 154, .12) 55%, transparent 72%);
  filter: blur(26px);
  animation: splash-breathe 4.5s ease-in-out infinite;
}
@keyframes splash-breathe { 50% { opacity: .55; transform: scale(.9); } }
.splash-inner img {
  width: min(230px, 54vw);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter:
    drop-shadow(0 0 26px rgba(224, 100, 154, .4))
    drop-shadow(0 26px 32px rgba(0, 0, 0, .85));
  -webkit-mask-image: linear-gradient(#000 74%, transparent 99%);
  mask-image: linear-gradient(#000 74%, transparent 99%);
}
.splash h1 {
  margin: 4px 0 0;
  font-size: clamp(32px, 8.5vw, 54px);
  letter-spacing: -.035em;
  line-height: 1.06;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}
.splash h1 span {
  background: var(--chrome-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(224, 100, 154, .35));
}
.splash p { color: var(--muted); letter-spacing: .01em; }
.splash small { color: var(--muted); }
.splash-start { animation: pulse-rose 2.6s ease-in-out infinite; }
@keyframes pulse-rose {
  50% { box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 0 0 9px rgba(224, 100, 154, .1), 0 0 36px rgba(224, 100, 154, .55); }
}
.splash-login { border-radius: 16px; }
@media (prefers-reduced-motion: reduce) {
  .splash-art::before, .splash-start { animation: none !important; }
}
.splash h1 { background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.splash-inner img {
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
}

/* 누적 방문: 가로 한 줄, 양옆에 가는 선 */
.splash .live-total {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.live-total::before, .live-total::after { content: ""; align-self: center; width: 30px; height: 1px; }
.live-total::before { background: linear-gradient(90deg, transparent, rgba(255, 158, 194, .65)); }
.live-total::after { background: linear-gradient(90deg, rgba(255, 158, 194, .65), transparent); }
.live-total .live-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.live-total .live-num {
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  padding-right: .12em; /* 기울임꼴 끝 글자가 잘리지 않게 */
  color: transparent;
  background: var(--chrome-text);
  -webkit-background-clip: text;
  background-clip: text;
  transition: opacity .3s;
}
.live-total .live-num.is-loading { opacity: .35; }
