/* Welcome overlay (story system removed) */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 3, 10, 0.88);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.welcome-overlay.is-on { opacity: 1; }
.welcome-overlay.is-out { opacity: 0; pointer-events: none; }
.welcome-card {
  width: min(400px, 100%);
  text-align: center;
  background: linear-gradient(165deg, #1a1224, #0c0814);
  border: 1.5px solid rgba(240, 215, 140, 0.35);
  border-radius: 22px;
  padding: 32px 26px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 40px rgba(240,215,140,0.08);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.welcome-overlay.is-on .welcome-card {
  transform: translateY(0) scale(1);
}
.welcome-mark {
  font-size: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 14px rgba(240,215,140,0.55));
}
.welcome-card > small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: rgba(240,215,140,0.7);
  margin-bottom: 12px;
}
.welcome-card h1 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', 'Noto Serif KR', serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.welcome-card > p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.62);
  word-break: keep-all;
}
.welcome-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  text-align: left;
}
.welcome-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,240,220,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.welcome-list li:last-child { border-bottom: none; }
.welcome-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #f0d78c;
  font-size: 10px;
  top: 11px;
}
.welcome-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 999px;
  font: 800 14px/1 'Noto Sans KR', sans-serif;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #f0d78c, #c9a84c);
  color: #1a1208;
  box-shadow: 0 6px 20px rgba(240,215,140,0.35);
  margin-bottom: 10px;
}
.welcome-btn:active { transform: scale(0.98); }
.welcome-skip {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.4);
  font: 700 12px/1 'Noto Sans KR', sans-serif;
  cursor: pointer;
  padding: 8px;
}
html.inapp .welcome-overlay,
html.kakao .welcome-overlay {
  background: rgba(5,3,10,0.94) !important;
}
html.inapp .welcome-card,
html.kakao .welcome-card {
  background: #14101c !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5) !important;
}
html.inapp .welcome-mark,
html.kakao .welcome-mark {
  filter: none;
}
