/* 시청자 페이지 */
body.viewer {
  background: radial-gradient(900px 500px at 50% -10%, #dfe8ff 0%, transparent 65%), var(--bg);
  min-height: 100vh; min-height: 100dvh;
}
:root[data-theme="dark"] body.viewer { background: radial-gradient(900px 500px at 50% -10%, #182a52 0%, transparent 65%), var(--bg); }
.v-wrap { min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; align-items: center;
  padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom)); }
.v-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 28px 22px 18px; transition: max-width .25s ease; }
.v-card.with-video { max-width: 880px; }
.v-head { text-align: center; margin-bottom: 20px; }
.v-head h1 { font-size: 21px; font-weight: 800; margin: 12px 0 6px; letter-spacing: -0.02em; }
.v-head p { margin: 0; font-size: 14px; }
.onair-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--onair); color: #fff; font-weight: 800;
  font-size: 12px; letter-spacing: .12em; padding: 5px 12px; border-radius: 999px; }
.onair-pill .pip { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.v-status { min-height: 24px; font-weight: 600; color: var(--text-2); font-size: 15px; display: flex; align-items: center;
  justify-content: center; gap: 6px; }
.v-status.playing { color: var(--ok); }
.v-status.playing::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.4s infinite; }
.v-status.error { color: var(--bad); }
.play-btn { background: var(--accent); border-color: var(--accent); color: #fff; height: 56px; font-size: 17px; border-radius: 16px; }
.play-btn:hover { background: var(--accent-hover); }
#stopBtn { height: 56px; font-size: 17px; border-radius: 16px; }
.video-btn { margin-top: 10px; height: 50px; border-radius: 16px; background: var(--ok); border-color: var(--ok); color: #fff; }
.video-btn:hover { filter: brightness(1.06); background: var(--ok); }
.video-btn.on { background: var(--surface-3); color: var(--text); border-color: var(--border-strong); }
.v-video { margin-top: 14px; background: #000; border-radius: 14px; overflow: hidden; position: relative; }
.v-video video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.v-video:fullscreen video { height: 100%; aspect-ratio: auto; }
.v-video-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; color: #cbd5e1;
  font-size: 12.5px; background: #0b1020; }
.v-video-bar .btn { background: rgba(255, 255, 255, .1); color: #fff; border-color: transparent; }
.v-hint { text-align: center; font-size: 12.5px; color: var(--text-3); margin: 10px 0 0; }
.v-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between;
  font-size: 11.5px; color: var(--text-3); }
.notice-text { font-size: 18px; font-weight: 700; line-height: 1.6; white-space: pre-wrap; word-break: keep-all; text-align: center; }
@media (min-width: 900px) { .v-card.with-video { padding: 26px 28px 18px; } }
