/* ══════════════════════════════════════════════════════════════
   nutunion network — 라이브 발표 (live.html)
   큰 화면 = 잉크 블랙 스테이지 / 휴대폰 = 웜 화이트
   토큰: nu-design-system.css (--d-*)
   ══════════════════════════════════════════════════════════════ */
.lv {
  /* v4 volt: 차콜 다크 + 라임 (nu.css와 같은 값) */
  --lv-ink: #0E0E0F;
  --lv-paper: #161719;   /* 페이지 배경 */
  --lv-card: #212226;    /* 카드 */
  --lv-field: #2B2C31;   /* 입력·행 */
  --lv-cream: #2B2C31;
  --lv-line: rgba(255,255,255,.08);
  --lv-text: #F4F4F1;
  --lv-sub: #A5A6AC;
  --lv-volt: #D4FA3C;
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--lv-paper); color: var(--lv-text);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased;
}
.lv [hidden] { display: none !important; }
.lv-label {
  margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--d-gold);
}

/* ── 공통 버튼·입력 ── */
.lv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 700 0.92rem/1 var(--font-body); cursor: pointer; text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.lv-btn:active { transform: scale(0.97); }
.lv-btn:disabled { opacity: .5; cursor: not-allowed; }
.lv-btn--primary { background: var(--lv-volt); color: #111; }
.lv-btn--primary:hover { filter: brightness(1.08); }
.lv-btn--raw { background: var(--lv-volt); color: #111; }
.lv-btn--ghost { background: var(--lv-field); color: var(--lv-text); border-color: transparent; }
.lv-btn--ghost-light { background: transparent; color: var(--d-ivory); border-color: rgba(247,243,236,.3); }
.lv-btn--sm { padding: 9px 16px; font-size: 0.84rem; }
.lv-input {
  width: 100%; box-sizing: border-box; padding: 13px 15px; border-radius: 12px;
  border: 1px solid transparent; background: var(--lv-field); color: var(--lv-text);
  font: 400 1rem/1.4 var(--font-body); outline: none; resize: vertical;
}
.lv-input:focus { border-color: var(--lv-volt); box-shadow: 0 0 0 3px rgba(212,250,60,.18); }
.lv-input--code {
  font-family: var(--font-mono); font-size: 1.6rem; letter-spacing: .3em; text-align: center;
  text-transform: uppercase; padding: 16px;
}

/* ── 1. 입장 ── */
.lv-join {
  max-width: 440px; margin: 0 auto; padding: 56px 20px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.lv-join__logo { width: 140px; height: auto; margin-bottom: 8px; }
.lv-join__title { margin: 0 0 6px; font: 800 1.9rem/1.2 var(--font-body); letter-spacing: -.03em; }
.lv-join__form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.lv-join__err { min-height: 1.2em; margin: 0; color: var(--d-raw-red); font-size: .88rem; }
.lv-join__host {
  width: 100%; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--lv-line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: var(--lv-sub); font-size: .9rem;
}
.lv-back { margin-top: 18px; color: var(--lv-sub); font-size: .85rem; text-decoration: none; }

/* ── 2. 참석자 ── */
.lv-aud { max-width: var(--nu-w-narrow, 720px); margin: 0 auto; padding: 18px 16px 110px; display: flex; flex-direction: column; gap: 14px; }
.lv-aud__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 6px 2px; }
.lv-aud__title { margin: 8px 0 0; font: 800 28px/1.2 var(--font-body); letter-spacing: -.03em; word-break: keep-all; }
.lv-pill {
  flex-shrink: 0; padding: 8px 12px; border-radius: 999px; background: var(--lv-volt); color: #111;
  font: 600 .78rem/1 var(--font-mono); letter-spacing: .06em; white-space: nowrap;
}
.lv-card { background: var(--lv-card); border: 0; border-radius: 24px; padding: 20px 18px; }
.lv-card__title { margin: 0 0 12px; font: 700 1rem/1.3 var(--font-body); }
.lv-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 20px; background: var(--lv-card); color: var(--lv-text); font-size: 1rem; font-weight: 600;
}
.lv-banner--draw { background: var(--d-gold); color: #1C1814; font-weight: 700; justify-content: center; text-align: center; }
.lv-ask { display: flex; flex-direction: column; gap: 10px; }
.lv-ask__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.lv-ask__row .lv-btn, .lv-ask__row .lv-check { font-size: 16px; }
.lv-check { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--lv-sub); }
.lv-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.lv-tab {
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--lv-line); background: transparent;
  font: 600 .82rem/1 var(--font-body); color: var(--lv-sub); cursor: pointer;
}
.lv-tab.is-on { background: var(--lv-volt); border-color: var(--lv-volt); color: #111; }
.lv-qlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lv-q {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px;
  background: var(--lv-field); border: 1px solid transparent;
}
.lv-q.is-spot { border-color: var(--lv-volt); background: rgba(212,250,60,.08); }
.lv-q.is-done { opacity: .62; }
.lv-q__body { flex: 1; min-width: 0; }
.lv-q__text { margin: 0; font-size: .95rem; line-height: 1.5; word-break: break-word; }
.lv-q__meta { margin: 6px 0 0; font: 500 .74rem/1 var(--font-mono); color: var(--lv-sub); letter-spacing: .04em; }
.lv-q__tag { margin-left: 6px; color: var(--lv-volt); }
.lv-up {
  flex-shrink: 0; min-width: 52px; padding: 8px 6px; border-radius: 12px; border: 1px solid transparent;
  background: var(--lv-card); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font: 700 .9rem/1 var(--font-body); color: var(--lv-text);
}
.lv-up.is-on { background: var(--lv-volt); border-color: var(--lv-volt); color: #111; }
.lv-up small { font-size: .7rem; font-weight: 500; }
.lv-cross { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--lv-text); text-decoration: none; }
.lv-cross small { color: var(--lv-sub); }
.lv-cross span:last-child { font-size: 1.3rem; color: var(--lv-volt); }
.lv-empty { margin: 6px 0 0; color: var(--lv-sub); font-size: .88rem; text-align: center; }
.lv-react {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; gap: 6px; padding: 8px; border-radius: 999px; background: var(--lv-ink);
  box-shadow: 0 10px 30px rgba(28,24,20,.25); z-index: 20;
}
.lv-react button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(247,243,236,.08);
  font-size: 1.35rem; cursor: pointer; transition: transform .12s ease;
}
.lv-react button:active { transform: scale(1.25); }

/* 참석자 슬라이드 카드 */
.lv-slidecard { padding: 10px; }
.lv-slidecard__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--lv-ink);
  display: flex; align-items: center; justify-content: center;
}
.lv-slidecard__frame img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; background: var(--lv-card); }
.lv-slidecard__wait { margin: 0; color: var(--d-pearl); font-size: .88rem; text-align: center; padding: 0 16px; }
.lv-slidecard__bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.lv-slidecard__no { flex: 1; text-align: center; font: 600 .82rem/1 var(--font-mono); color: var(--lv-sub); }
.lv-slidecard__nav {
  width: 44px; height: 40px; border-radius: 12px; border: 0; background: var(--lv-field);
  color: var(--lv-text); font-size: .9rem; cursor: pointer;
}
.lv-slidecard__nav:disabled { opacity: .35; cursor: default; }
.lv-lightbox {
  position: fixed; inset: 0; z-index: 60; background: #000; display: flex; align-items: center; justify-content: center;
  overflow: auto; touch-action: pinch-zoom;
}
.lv-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* 참석자 투표 카드 */
.lv-poll { box-shadow: inset 0 0 0 1.5px var(--lv-volt); }
.lv-poll__q { margin: 8px 0 16px; font: 800 1.35rem/1.3 var(--font-body); letter-spacing: -.02em; word-break: keep-all; }
.lv-poll__opts { display: flex; flex-direction: column; gap: 8px; }
.lv-opt {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 15px 16px; border-radius: 16px; border: 1px solid transparent; background: var(--lv-field);
  font: 600 .95rem/1.3 var(--font-body); color: var(--lv-text); text-align: left; cursor: pointer;
}
.lv-opt.is-on { border-color: var(--lv-volt); box-shadow: inset 0 0 0 1px var(--lv-volt); }
.lv-opt__bar { position: absolute; inset: 0 auto 0 0; background: rgba(212,250,60,.16); transition: width .4s ease; }
.lv-opt__txt { position: relative; flex: 1; }
.lv-opt__pct { position: relative; font: 600 .82rem/1 var(--font-mono); color: var(--lv-sub); }
.lv-poll__foot { margin: 12px 0 0; font-size: .82rem; color: var(--lv-sub); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.lv-words-form { display: flex; gap: 8px; }
.lv-cloud { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: center; padding: 6px 0; }
.lv-cloud span { font-family: var(--font-display); line-height: 1.1; }

/* ── 3. 스테이지 (큰 화면) ── */
.lv-stage {
  position: fixed; inset: 0; display: grid; grid-template-columns: 1fr 340px; grid-template-rows: 1fr auto;
  background: var(--d-obsidian); color: var(--d-ivory);
}
.lv-stage.no-side { grid-template-columns: 1fr 0; }
.lv-stage.no-side .lv-side { display: none; }
.lv-stage__main { position: relative; grid-column: 1; grid-row: 1; overflow: hidden; }
.lv-chathelp { font-size: 16px; color: var(--d-ash); margin: 0 0 12px; }
.lv-recording-indicator { position: absolute; top: 16px; left: 16px; z-index: 6; background: #161719; color: #F4F4F1; border: 1px solid #D4FA3C; border-radius: 8px; padding: 8px 12px; font: 700 16px/1.4 Pretendard,sans-serif; }
.lv-recording-indicator[hidden] { display: none !important; }
.lv-livechat { position: absolute; top: 0; bottom: 0; right: 0; width: 29%; z-index: 4; padding: 24px; box-sizing: border-box; background: rgba(22,23,25,var(--chat-bg-alpha,.92)); border-left: 1px solid #55565C; display: flex; flex-direction: column; gap: 18px; color: #F4F4F1; font: 16px/1.5 Pretendard,sans-serif; text-shadow: 0 1px 3px #0008; }
.lv-livechat[hidden] { display: none !important; }
.lv-livechat header, .lv-livechat__meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.lv-livechat header strong { font-size: clamp(18px,1.6vw,30px); }
.lv-livechat header strong, .lv-livechat__eyebrow { display: block; }
.lv-livechat__eyebrow { font-size: 16px; color: #B8B9BE; margin-bottom: 2px; }
.lv-livechat__live { color: #D4FA3C; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #D4FA3C66; border-radius: 999px; }
.lv-livechat__live i { width: 7px; height: 7px; background: #D4FA3C; border-radius: 50%; }
.lv-livechat__stats { display: flex; justify-content: space-between; color: #B8B9BE; font-size: 16px; padding-bottom: 16px; border-bottom: 1px solid #74757B55; }
.lv-livechat__stats b { color: #D4FA3C; }
.lv-livechat ol { min-height: 0; overflow-y: auto; scrollbar-width: thin; list-style: none; padding: 0 3px 0 0; margin: 0; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.lv-livechat li { border: 1px solid #74757B44; border-radius: 14px; padding: 16px; overflow-wrap: anywhere; flex-shrink: 0; background: rgba(255,255,255,calc(var(--chat-bg-alpha,.92) * .035)); }
.lv-livechat__author { display: flex; gap: 10px; align-items: center; }
.lv-livechat__avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #D4FA3C; color: #111; text-shadow: none; font-size: 17px; font-weight: 800; }
.lv-livechat li p { margin: 12px 0; font-size: clamp(17px,1.35vw,27px); font-weight: 500; line-height: 1.55; letter-spacing: -.02em; }
.lv-livechat__meta { flex: 1; min-width: 0; }
.lv-livechat__meta b { color: #F4F4F1; font-size: 16px; }
.lv-livechat__badge { white-space: nowrap; color: #D4FA3C; font-size: 16px; border: 1px solid #D4FA3C55; border-radius: 6px; padding: 1px 6px; }
.lv-livechat__reactions { display: flex; justify-content: space-between; gap: 8px; color: #B8B9BE; font-size: 16px; }
.lv-livechat__reactions > span:first-child { color: #D4FA3C; }
.lv-livechat li.is-answered { border-color: #74757B33; }
.lv-livechat .is-answered .lv-livechat__badge { color: #B8B9BE; border-color: #74757B66; }
.lv-livechat .is-answered .lv-livechat__avatar { background: #55565C; color: #F4F4F1; }
.lv-livechat .is-answered p { color: #B8B9BE; }
.lv-livechat footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #74757B55; }
.lv-livechat footer b, .lv-livechat footer span { display: block; }
.lv-livechat footer b { color: #F4F4F1; }
.lv-livechat footer strong { color: #D4FA3C; letter-spacing: .08em; }
.lv-livechat__joinicon { width: 38px; height: 38px; border: 1px solid #74757B; border-radius: 10px; text-align: center; line-height: 38px; font-size: 24px; }
.lv-livechat__empty, .lv-livechat footer { color: #B8B9BE; font-size: 16px; }
.lv-livechat__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.lv-livechat__actions button { min-height: 40px; padding: 6px 10px; font: 600 16px/1.4 Pretendard,sans-serif; border: 1px solid #74757B; background: #2B2C31; color: #F4F4F1; border-radius: 8px; cursor: pointer; }
.lv-chat-right:not(.lv-chat-overlay) #slideBox { right: 29%; }
.lv-chat-left:not(.lv-chat-overlay) #slideBox { left: 29%; }
.lv-chat-left .lv-livechat { left: 0; right: auto; border-left: 0; border-right: 1px solid #55565C; }
.lv-chat-bottom:not(.lv-chat-overlay) #slideBox { bottom: 34%; }
.lv-chat-bottom .lv-livechat { top: auto; left: 0; width: 100%; height: 34%; border-top: 1px solid #55565C; border-left: 0; padding: 12px 20px; gap: 8px; }
.lv-chat-bottom .lv-livechat ol { flex-direction: row; gap: 24px; overflow-x: auto; }
.lv-chat-bottom .lv-livechat li { min-width: 240px; width: 30%; padding: 10px; }
.lv-chat-bottom .lv-livechat__stats, .lv-chat-bottom .lv-livechat footer, .lv-chat-bottom .lv-livechat__eyebrow, .lv-chat-bottom .lv-livechat__reactions { display: none; }
.lv-chat-bottom .lv-livechat li p { margin: 4px 0; }
.lv-chat-overlay .lv-livechat { top: 16px; right: 16px; bottom: 16px; width: 30%; border: 1px solid #74757B66; border-radius: 18px; box-shadow: 0 16px 40px #0003; }
.lv-chat-overlay.lv-chat-left .lv-livechat { left: 16px; right: auto; }
.lv-chat-overlay.lv-chat-bottom .lv-livechat { top: auto; left: 16px; width: calc(100% - 32px); height: 34%; }
.lv-emoji-picker { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; padding: 10px; border: 1px solid #74757B; background: #212226; border-radius: 12px; margin-top: 8px; }
.lv-emoji-picker[hidden] { display: none !important; }
.lv-emoji-picker button { border: 0; border-radius: 8px; background: #2B2C31; min-height: 44px; font-size: 24px; cursor: pointer; }
.lv-emoji-picker button:hover { background: #55565C; }
.lv-emoji-picker button:focus-visible { outline: 2px solid #D4FA3C; }
@media(max-width:767px) { .lv-livechat { padding: 10px; width: 38%; gap: 10px; } .lv-chat-right:not(.lv-chat-overlay) #slideBox { right: 38%; } .lv-chat-left:not(.lv-chat-overlay) #slideBox { left: 38%; } .lv-livechat__meta { flex-wrap: wrap; gap: 2px; } .lv-livechat li { padding: 10px; } .lv-chat-overlay .lv-livechat { width: 46%; padding: 10px; } }
@media(prefers-reduced-motion:no-preference) { .lv-livechat__item { animation: lv-chat-arrive .2s ease-out both; } @keyframes lv-chat-arrive { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } }
.lv-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lv-slide canvas { display: block; max-width: 100%; max-height: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lv-drop {
  width: min(640px, 86%); padding: 40px 32px; border: 1.5px dashed rgba(247,243,236,.28); border-radius: 22px;
  text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.lv-drop.is-over { border-color: var(--d-gold); background: rgba(200,136,42,.08); }
.lv-drop h2 { margin: 0; font: 800 1.9rem/1.25 var(--font-body); letter-spacing: -.03em; }
.lv-drop p { margin: 0; color: var(--d-pearl); line-height: 1.6; font-size: .95rem; }
.lv-drop__row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.lv-drop__err { color: #F0A090; min-height: 1.2em; }
.lv-blank { text-align: center; padding: 24px; }
.lv-blank h2 { margin: 10px 0; font: 800 clamp(2.4rem, 5vw, 4.4rem)/1.1 var(--font-body); letter-spacing: -.03em; }
.lv-blank p { margin: 0; color: var(--d-pearl); font-size: 1.1rem; }

.lv-side {
  grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 14px; min-height: 0;
  padding: 20px 18px; background: var(--d-onyx); border-left: 1px solid var(--d-hairline);
}
.lv-joinbox { display: flex; gap: 14px; align-items: center; }
.lv-joinbox canvas { width: 112px; height: 112px; border-radius: 10px; background: var(--lv-card); padding: 6px; box-sizing: border-box; flex-shrink: 0; }
.lv-joinbox__code { margin: 6px 0 2px; font: 600 2rem/1 var(--font-mono); letter-spacing: .14em; color: var(--d-ivory); }
.lv-joinbox__url { margin: 0; font-size: .875rem; color: var(--d-ash); word-break: break-all; }
.lv-side__stats { display: flex; justify-content: space-between; font: 500 .875rem/1.2 var(--font-mono); color: var(--d-ash); letter-spacing: .06em; }
.lv-side__body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.lv-side__h { margin: 4px 0 2px; font: 800 1.25rem/1.3 var(--font-body); color: var(--d-ivory); word-break: keep-all; }
.lv-sq {
  position: relative; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--d-graphite);
  border: 1px solid var(--d-hairline);
}
.lv-sq.is-spot { border-color: var(--d-gold); }
.lv-sq__text { margin: 0; font-size: .95rem; line-height: 1.45; word-break: break-word; }
.lv-sq__meta { margin: 6px 0 0; display: flex; justify-content: space-between; gap: 8px; font: 500 .82rem/1.3 var(--font-mono); color: var(--d-ash); }
.lv-sq__ups { color: var(--d-gold); }
.lv-sq__acts { display: flex; gap: 6px; margin-top: 10px; }
.lv-mini {
  min-height: 36px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent;
  color: var(--lv-text); font: 600 .875rem/1.2 var(--font-body); cursor: pointer;
}
.lv-mini:hover { border-color: var(--lv-volt); color: var(--lv-volt); }
.lv-mini--spot { background: var(--lv-volt); border-color: var(--lv-volt); color: #111; }
.lv-mini--spot:hover { color: #111; filter: brightness(1.06); }
.lv-res { display: flex; flex-direction: column; gap: 8px; }
.lv-res__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: .92rem; }
.lv-res__bar { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: var(--d-graphite-2); overflow: hidden; }
.lv-res__bar i { display: block; height: 100%; background: var(--d-gold); transition: width .5s ease; }
.lv-res__n { font: 600 .82rem/1.3 var(--font-mono); color: var(--d-gold-bright); }
.lv-side .lv-cloud span { color: var(--d-ivory); }

.lv-overlay {
  position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center;
  background: rgba(20,17,16,.86); backdrop-filter: blur(6px); padding: 5vh 6vw;
}
.lv-ov { width: min(1100px, 100%); text-align: center; }
.lv-ov__q { margin: 16px 0 18px; font: 800 clamp(2rem, 4.4vw, 3.8rem)/1.2 var(--font-body); letter-spacing: -.03em; word-break: keep-all; }
.lv-ov__who { font: 500 1rem/1 var(--font-mono); color: var(--d-gold); letter-spacing: .08em; }
.lv-ov .lv-res { text-align: left; max-width: 900px; margin: 0 auto; gap: 14px; }
.lv-ov .lv-res__row { font-size: 1.35rem; }
.lv-ov .lv-res__bar { height: 18px; border-radius: 9px; }
.lv-ov .lv-cloud span { color: var(--d-ivory); }
.lv-ov__qr { background: var(--lv-card); border-radius: 16px; padding: 12px; width: min(300px, 40vh); height: auto; }
.lv-ov__draw { font: 400 clamp(3rem, 8vw, 7rem)/1.1 var(--font-display); color: var(--d-gold-bright); margin: 18px 0; }

.lv-bursts { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 6; }
.lv-burst { position: absolute; bottom: -40px; font-size: 2.6rem; animation: lv-rise 2.6s ease-out forwards; }
@keyframes lv-rise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-75vh) scale(1.2); opacity: 0; }
}

.lv-ctrl {
  grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative;
  padding: 10px 14px; background: #0E0E0F; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap;
  transition: opacity .3s ease;
}
.lv-stage.is-fs .lv-ctrl { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; z-index: 8; }
.lv-stage.is-fs .lv-ctrl:hover, .lv-stage.is-fs.show-ctrl .lv-ctrl { opacity: 1; }
.lv-ctrl__group { display: flex; align-items: center; gap: 6px; }
.lv-ctrl__group--wrap { flex-wrap: wrap; justify-content: center; }
.lv-ctrl__page { min-width: 80px; text-align: center; font: 600 15px/1 var(--font-mono); color: #F4F4F1; }
.lv-cbtn { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; position: relative;
  padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: #24252A;
  color: #F4F4F1; font: 600 15px/1 var(--font-body); cursor: pointer; white-space: nowrap;
}
.lv-cbtn--icon { padding: 10px 12px; }
.lv-cbtn:hover { border-color: var(--lv-volt); }
.lv-cbtn.is-on { background: var(--lv-volt); color: #111; border-color: var(--lv-volt); }
.lv-cbtn__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #FF5A4E; color: #fff;
  font: 700 12px/20px var(--font-body); text-align: center; }
.lv-cbtn--kakao { background: #FEE500; border-color: #FEE500; color: #191919; }
.lv-cbtn--accent { background: var(--lv-volt); border-color: var(--lv-volt); color: #111; }

/* ── 모달 ── */
.lv-modal {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(20,17,16,.6); padding: 16px;
}
.lv-modal__box {
  width: min(520px, 100%); max-height: 88vh; overflow-y: auto; box-sizing: border-box;
  background: var(--lv-card); color: var(--lv-text); border-radius: 20px; padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.lv-modal__box--wide { width: min(720px, 100%); }
.lv-modal__title { margin: 0; font: 800 1.5rem/1.2 var(--font-body); letter-spacing: -.02em; }
.lv-modal__hint { margin: 0; color: var(--lv-sub); font-size: .86rem; }
.lv-modal__err { margin: 0; min-height: 1.1em; color: var(--d-raw-red); font-size: .86rem; }
.lv-modal__row { display: flex; justify-content: flex-end; gap: 8px; }
.lv-drivefield { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.lv-drivefield > span { font-weight: 700; }
.lv-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.lv-seg label {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--lv-line); font-size: .86rem; cursor: pointer;
  display: inline-flex; gap: 6px; align-items: center;
}
.lv-seg label:has(input:checked) { border-color: var(--lv-volt); background: var(--lv-volt); color: #111; }
.lv-optrow { display: flex; gap: 6px; margin-bottom: 6px; }
.lv-optrow button { flex-shrink: 0; width: 40px; border-radius: 10px; border: 1px solid var(--lv-line); background: var(--lv-card); cursor: pointer; }
.lv-qman { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lv-qman li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--lv-card); border: 1px solid var(--lv-line); }
.lv-qman li.is-spot { border-color: var(--d-gold); }
.lv-qman__t { flex: 1; min-width: 0; font-size: .92rem; line-height: 1.45; word-break: break-word; }
.lv-qman__t small { display: block; margin-top: 4px; color: var(--lv-sub); font-family: var(--font-mono); font-size: .72rem; }
.lv-qman li { padding: 14px 14px; }
.lv-qman li.is-done { opacity: .7; }
.lv-qman__t { font-size: 16px; }
.lv-qman__t small { font-size: 13px; }
.lv-qman__a { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
.lv-qman__a button {
  padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: transparent;
  color: #F4F4F1; font: 700 14px/1 var(--font-body); cursor: pointer; white-space: nowrap;
}
.lv-qman__a button:hover { border-color: #F4F4F1; background: rgba(255,255,255,.06); }
.lv-qman__a button[data-act="spot"] { background: var(--lv-volt); border-color: var(--lv-volt); color: #111; }
.lv-qman__a button[data-act="spot"].is-on { background: transparent; color: var(--lv-volt); }
.lv-qman__a button[data-act="done"].is-on { background: rgba(212,250,60,.14); border-color: var(--lv-volt); color: var(--lv-volt); }
.lv-qman__a button[data-act="hide"] { color: #FF8A80; border-color: rgba(255,138,128,.55); }
.lv-qman__a button[data-act="hide"]:hover { background: rgba(255,90,78,.14); border-color: #FF8A80; }
.lv-qfilter { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lv-qfilter button { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--lv-sub);
  font: 600 14px/1 var(--font-body); cursor: pointer; }
.lv-qfilter button b { margin-left: 4px; color: inherit; }
.lv-qfilter button.is-on { background: #F4F4F1; border-color: #F4F4F1; color: #111; }
.lv-qfilter__sp { flex: 1; }

/* 좁은 화면에서 스테이지(태블릿 발표 등) */
@media (max-width: 900px) {
  .lv-stage { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; }
  .lv-side { grid-column: 1; grid-row: 2; max-height: 38vh; border-left: 0; border-top: 1px solid var(--d-hairline); }
  .lv-ctrl { grid-row: 3; }
}

@media (min-width: 768px) { .lv-aud__title { font-size: 36px; } .lv-join__title { font-size: 36px !important; } }
/* 공통 상단 바 아래 여백 */
body[data-shell] .lv-join { padding-top: 40px; }
body[data-shell] .lv-aud { padding-top: 24px; }
/* 공통 상단 바가 있을 때: 입장 화면도 만족도 조사와 같은 왼쪽 정렬 · 로고/홈 링크 중복 제거 */
body[data-shell] .lv-join { align-items: stretch; text-align: left; max-width: var(--nu-w-narrow, 720px); padding: 32px var(--nu-gutter, 16px) 48px; gap: 12px; }
body[data-shell] .lv-join__logo, body[data-shell] .lv-back { display: none; }
body[data-shell] .lv-join__title { font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
body[data-shell] .lv-join__form { max-width: 480px; }
body[data-shell] .lv-join__host { max-width: 480px; font-size: 15px; }
body[data-shell] .lv-join__err { font-size: 14px; }

/* ══════════ 2026-11 고도화: 추첨·타이머·공유·설문·검은 화면 ══════════ */
.lv-btn--danger { background: transparent; color: #FF8A80; border-color: rgba(255,138,128,.55); }
.lv-btn--danger:hover { background: rgba(255,90,78,.14); }
.lv-btn--kakao { background: #FEE500; color: #191919; }
.lv-btn--kakao:disabled { opacity: .45; }
.lv-modal__box { font-size: 16px; }
.lv-modal__sub { margin: 10px 0 0; font: 700 16px/1.3 var(--font-body); }
.lv-modal__row--split { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.lv-seg--big label { padding: 11px 16px; font-size: 15px; font-weight: 600; }
.lv-formrow { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.lv-field { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--lv-sub); }
.lv-field--num { flex: 0 0 120px; min-width: 120px; }
.lv-check--big { font-size: 15px; color: var(--lv-text); }
.lv-check--big input { width: 18px; height: 18px; accent-color: var(--lv-volt); }
.lv-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.lv-presets button { padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: var(--lv-field);
  color: var(--lv-text); font: 700 16px/1 var(--font-body); cursor: pointer; }
.lv-presets button:hover { border-color: var(--lv-volt); }
.lv-presets--sm button { padding: 9px 12px; font-size: 14px; font-weight: 600; border-radius: 999px; }
.lv-drawpool { background: var(--lv-paper); border-radius: 14px; padding: 12px 14px; }
.lv-drawpool__h { margin: 0 0 8px; font-size: 15px; }
.lv-drawpool__h b { color: var(--lv-volt); font-size: 18px; }
.lv-drawpool__h small { color: var(--lv-sub); font-size: 13px; }
.lv-drawpool__list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 120px; overflow-y: auto; }
.lv-drawpool__list span { padding: 6px 10px; border-radius: 999px; background: var(--lv-field); font-size: 13px; }
.lv-drawpool__list span.is-won { text-decoration: line-through; opacity: .5; }

/* 추첨 무대 (큰 화면) */
.lv-drawstage { position: absolute; inset: 0; z-index: 7; background: radial-gradient(120% 90% at 50% 40%, #1d1f22 0%, #0b0b0c 70%); display: flex; flex-direction: column; align-items: center; }
.lv-drawstage canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s ease; }
.lv-drawstage.is-done canvas { opacity: .1; }
.lv-drawstage__head { position: relative; z-index: 1; text-align: center; margin-top: 3vh; pointer-events: none; }
.lv-drawstage__head h2 { margin: 8px 0 0; font: 800 clamp(1.8rem, 3.4vw, 3rem)/1.15 var(--font-body); letter-spacing: -.03em; color: #F4F4F1; }
.lv-drawstage__result { position: relative; z-index: 2; margin: auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 4vw; }
.lv-drawstage__result .lv-winner { font: 800 clamp(2.6rem, 7vw, 6.4rem)/1.05 var(--font-body); letter-spacing: -.03em; color: #111; background: var(--lv-volt);
  padding: .18em .5em; border-radius: .35em; animation: lv-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.lv-drawstage__result .lv-winners { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 1100px; }
.lv-drawstage__result .lv-winners .lv-winner { font-size: clamp(1.8rem, 4vw, 3.4rem); }
.lv-drawstage__result p { margin: 0; color: var(--lv-volt); font: 600 clamp(1rem, 1.6vw, 1.4rem)/1.3 var(--font-body); }
.lv-drawstage__acts { position: relative; z-index: 2; display: flex; gap: 10px; margin-bottom: 4vh; }
.lv-drawstage__acts .lv-btn { font-size: 16px; padding: 14px 22px; }
@keyframes lv-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.lv-timerctl { display: flex; gap: 8px; flex-wrap: wrap; }

/* 검은 화면 */
.lv-black { position: absolute; inset: 0; z-index: 10; background: #000; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; cursor: pointer; }
.lv-black span { color: rgba(255,255,255,.25); font-size: 14px; }

/* 공유 */
.lv-share { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.lv-share canvas { width: 220px; height: 220px; border-radius: 14px; background: #fff; padding: 8px; box-sizing: border-box; flex-shrink: 0; }
.lv-share__body { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.lv-share__code { margin: 0; font: 700 2rem/1 var(--font-mono); letter-spacing: .14em; color: var(--lv-volt); }
.lv-share__link { font-family: var(--font-mono); font-size: 14px; }
.lv-share__msg { font-size: 14px; resize: none; }
.lv-share__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-share__btns .lv-btn { font-size: 15px; }
.lv-morelist { display: flex; flex-direction: column; gap: 8px; }
.lv-morelist .lv-btn { justify-content: flex-start; font-size: 15px; padding: 14px 18px; border-radius: 14px; }
.lv-keys { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.lv-keys dt { font: 700 14px/1.4 var(--font-mono); color: var(--lv-volt); }
.lv-keys dd { margin: 0; color: var(--lv-text); }

/* 참여 QR 크게 (오버레이) */
.lv-ov__joinqr { background: #fff; border-radius: 20px; padding: 14px; width: min(420px, 52vh); height: auto; }
.lv-ov__code { font: 700 clamp(2.4rem, 6vw, 5rem)/1 var(--font-mono); letter-spacing: .16em; color: var(--lv-volt); margin: 18px 0 8px; }
.lv-ov__count { display: inline-block; margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: rgba(212,250,60,.12); color: var(--lv-volt); font: 700 1.2rem/1 var(--font-body); }

/* 의사 전체화면(아이폰 등 전체화면 기능이 없는 기기) */
.lv-stage.is-pseudo-fs .lv-side { display: none; }
.lv-stage.is-pseudo-fs { grid-template-columns: 1fr; }
.lv-stage.is-pseudo-fs .lv-ctrl { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; z-index: 8; }
.lv-stage.is-pseudo-fs.show-ctrl .lv-ctrl { opacity: 1; }

/* 참석자: 타이머·추첨·설문 */
.lv-aud__pills { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lv-drawcard { text-align: center; box-shadow: inset 0 0 0 1.5px var(--lv-volt); }
.lv-drawcard__reel { margin: 10px 0 4px; font: 800 30px/1.2 var(--font-body); letter-spacing: -.02em; min-height: 1.2em; word-break: keep-all; }
.lv-drawcard__reel.is-spin { color: var(--lv-sub); }
.lv-drawcard.is-win { background: var(--lv-volt); color: #111; box-shadow: none; }
.lv-drawcard.is-win .lv-label { color: #111; }
.lv-drawcard__names { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.lv-drawcard__names span { padding: 6px 12px; border-radius: 999px; background: var(--lv-field); font-size: 15px; font-weight: 600; }
.lv-drawcard p.lv-drawcard__s { margin: 6px 0 0; font-size: 15px; color: var(--lv-sub); }
.lv-drawcard.is-win p.lv-drawcard__s { color: #111; }
.lv-surveycard { box-shadow: inset 0 0 0 1.5px var(--lv-volt); display: flex; flex-direction: column; gap: 10px; }
.lv-surveycard__t { margin: 4px 0 0; font: 800 22px/1.3 var(--font-body); letter-spacing: -.02em; word-break: keep-all; }
.lv-surveycard__s { margin: 0; color: var(--lv-sub); font-size: 15px; }
.lv-surveycard .lv-btn { font-size: 16px; padding: 15px 20px; }
.lv-surveycard.is-done { box-shadow: none; }
@media (max-width: 900px) {
  .lv-ctrl__group--wrap { justify-content: flex-start; }
  .lv-cbtn { font-size: 14px; padding: 9px 11px; }
}

/* ══════════ 2026-11 v2: 컨트롤 바 · 투표 바 · 메뉴 · 타이머 · 발표 화면 ══════════ */
.lv-ctrl { padding: 10px 16px; gap: 16px; min-height: 64px; box-sizing: border-box; flex-wrap: nowrap; }
.lv-ctrl__nav, .lv-ctrl__tools, .lv-ctrl__right { display: flex; align-items: center; gap: 6px; }
.lv-ctrl__tools { flex: 1; justify-content: center; min-width: 0; }
.lv-ctrl__nav { background: #1A1B1E; border-radius: 999px; padding: 4px; }
.lv-ctrl__page { min-width: 64px; text-align: center; font: 600 15px/1 var(--font-body); font-variant-numeric: tabular-nums; color: #F4F4F1; }
.lv-ib { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #F4F4F1; display: grid; place-items: center; cursor: pointer; }
.lv-ib:hover { background: rgba(255,255,255,.08); }
.lv-ib svg, .lv-tb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lv-tb {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px;
  border: 0; background: transparent; color: #D6D7DA; font: 600 15px/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.lv-tb:hover { background: rgba(255,255,255,.07); color: #fff; }
.lv-tb.is-on { background: rgba(212,250,60,.14); color: var(--lv-volt); }
.lv-tb--accent { background: var(--lv-volt); color: #111; }
.lv-tb--accent:hover { background: var(--lv-volt); color: #111; filter: brightness(1.06); }
.lv-tb__badge { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #FF5A4E; color: #fff;
  font: 700 11px/18px var(--font-body); text-align: center; box-sizing: border-box; }
.lv-ctrl__tools .lv-tb + .lv-tb { margin-left: 2px; }
.lv-ctrl__right { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.08); }

/* 더보기 메뉴 */
.lv-menu { position: absolute; right: 16px; bottom: calc(100% + 8px); z-index: 30; width: 300px; padding: 8px; border-radius: 16px;
  background: #1E1F23; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(0,0,0,.55); display: flex; flex-direction: column; }
.lv-menu__h { margin: 8px 10px 4px; font: 600 12px/1 var(--font-body); letter-spacing: .08em; color: #8C8D93; }
.lv-menu__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 12px; border: 0; border-radius: 10px;
  background: transparent; color: #F4F4F1; font: 500 15px/1.2 var(--font-body); text-align: left; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.lv-menu__item:hover { background: rgba(255,255,255,.07); }
.lv-menu__item.is-on { color: var(--lv-volt); }
.lv-menu__item kbd { font: 600 12px/1 var(--font-mono); color: #8C8D93; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 4px 6px; }

/* 투표 진행 바 (투표 중에만, 화면 아래 가운데) */
.lv-pollbar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 8; display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(22,23,25,.92); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.45); backdrop-filter: blur(10px); white-space: nowrap; }
.lv-pollbar__info { font: 600 14px/1 var(--font-body); color: var(--lv-volt); margin-right: 8px; }
.lv-pb { height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255,255,255,.08); color: #F4F4F1; font: 600 14px/1 var(--font-body); cursor: pointer; }
.lv-pb:hover { background: rgba(255,255,255,.14); }
.lv-pb.is-on { background: var(--lv-volt); color: #111; }
.lv-pb--end { background: transparent; color: #FF8A80; }
.lv-pb--end:hover { background: rgba(255,90,78,.14); }

/* 타이머 — 유리 카드 + 진행 링 */
.lv-timer {
  position: absolute; top: 20px; right: 20px; z-index: 9; display: flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 14px; border-radius: 22px; background: rgba(16,17,19,.72);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); pointer-events: none;
  --tc: var(--lv-volt);
}
.lv-timer__ring { width: 52px; height: 52px; transform: rotate(-90deg); flex-shrink: 0; }
.lv-timer__track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 4; }
.lv-timer__prog { fill: none; stroke: var(--tc, #D4FA3C); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .5s linear, stroke .4s ease;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--tc, #D4FA3C) 55%, transparent)); }
.lv-timer__body { display: flex; flex-direction: column; gap: 4px; }
.lv-timer__label { font: 600 12px/1 var(--font-body); letter-spacing: .14em; color: rgba(244,244,241,.55); text-transform: uppercase; }
.lv-timer__time { font: 700 clamp(30px, 2.6vw, 42px)/1 var(--font-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #F7F7F4; }
.lv-timer.is-low, .lv-bigtimer.is-low, .lv-pill--timer.is-low { --tc: #FF7A5C; }
.lv-timer.is-low .lv-timer__time, .lv-bigtimer.is-low .lv-timer__time { color: #FFB4A3; }
.lv-timer.is-paused, .lv-bigtimer.is-paused, .lv-pill--timer.is-paused { --tc: #8C8D93; }
.lv-timer.is-done, .lv-bigtimer.is-done { --tc: #FF7A5C; animation: lv-breathe 1.8s ease-in-out infinite; }
.lv-timer.is-done { background: rgba(70,22,16,.78); border-color: rgba(255,122,92,.45); }
.lv-timer.is-done .lv-timer__time { font-size: clamp(22px, 1.9vw, 30px); color: #FFD9CF; }
@keyframes lv-breathe { 0%, 100% { box-shadow: 0 18px 48px rgba(0,0,0,.45), 0 0 0 0 rgba(255,122,92,.0); } 50% { box-shadow: 0 18px 48px rgba(0,0,0,.45), 0 0 0 10px rgba(255,122,92,.14); } }

/* 큰 타이머 (쉬는 시간 등) */
.lv-bigtimer { position: absolute; inset: 0; z-index: 9; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(90% 80% at 50% 45%, #1E2023 0%, #0A0A0B 72%); --tc: var(--lv-volt); cursor: pointer; }
.lv-bigtimer__dial { position: relative; width: min(72vh, 64vw); aspect-ratio: 1; }
.lv-bigtimer__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.lv-bigtimer .lv-timer__track { stroke-width: 6; }
.lv-bigtimer .lv-timer__prog { stroke-width: 6; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--tc) 60%, transparent)); }
.lv-bigtimer__txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh; }
.lv-bigtimer .lv-timer__label { margin: 0; font-size: clamp(16px, 2.2vh, 24px); letter-spacing: .2em; }
.lv-bigtimer .lv-timer__time { margin: 0; font-size: min(15vh, 13vw); letter-spacing: -.03em; }
.lv-bigtimer.is-done .lv-timer__time { font-size: min(9vh, 8vw); }

/* 참석자 타이머 알약 */
.lv-pill--timer { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: rgba(255,255,255,.06); color: #F4F4F1;
  border: 1px solid rgba(255,255,255,.12); --tc: var(--lv-volt); }
.lv-pill--timer .lv-timer__ring { width: 24px; height: 24px; }
.lv-pill--timer .lv-timer__track, .lv-pill--timer .lv-timer__prog { stroke-width: 6; }
.lv-pill--timer .lv-timer__prog { filter: none; }
.lv-pill--timer .lv-timer__time { font: 700 15px/1 var(--font-body); font-variant-numeric: tabular-nums; color: inherit; letter-spacing: 0; }
.lv-pill--timer.is-done { background: rgba(255,122,92,.16); border-color: rgba(255,122,92,.5); color: #FFB4A3; }

/* 발표 화면(청중용 창) */
.lv-stage.is-screen { grid-template-columns: 1fr; grid-template-rows: 1fr; cursor: default; }
.lv-stage.is-screen .lv-side, .lv-stage.is-screen .lv-ctrl, .lv-stage.is-screen .lv-pollbar, .lv-stage.is-screen .lv-drop { display: none !important; }
.lv-stage.is-screen .lv-drawstage__acts { display: none !important; }
.lv-stage.is-screen.hide-cursor { cursor: none; }
.lv-screenhint { position: absolute; inset: 0; z-index: 12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  background: rgba(10,10,11,.94); padding: 24px; }
.lv-screenhint h2 { margin: 0; font: 800 clamp(26px, 3vw, 40px)/1.3 var(--font-body); letter-spacing: -.02em; }
.lv-screenhint p { margin: 0; color: #A5A6AC; font-size: 17px; }
.lv-screenhint .lv-btn { font-size: 17px; padding: 16px 28px; margin-top: 8px; }
.lv-screenhint__sub { font-size: 14px !important; }
.lv-stage.is-screen .lv-overlay { background: rgba(14,14,15,.92); }

/* 전체화면(한 창) — 청중에게 관리 버튼이 보이지 않게 */
.lv-stage.is-fs .lv-sq__acts, .lv-stage.is-pseudo-fs .lv-sq__acts { display: none; }
.lv-stage.is-fs .lv-pollbar, .lv-stage.is-pseudo-fs .lv-pollbar { opacity: 0; transition: opacity .3s ease; }
.lv-stage.is-fs.show-ctrl .lv-pollbar, .lv-stage.is-pseudo-fs.show-ctrl .lv-pollbar { opacity: 1; }
/* 발표 화면 창이 연결되면 관리 창의 큰 화면 덮개는 작게 보이게(미리보기) */
.lv-stage.has-screen .lv-overlay { background: rgba(14,14,15,.8); }

/* 도구가 한 줄에 다 안 들어갈 때(live.js fitCtrl): 먼저 여백을 줄이고, 그래도 넘치면 도구 글자를 숨긴다 */
.lv-ctrl.is-snug { gap: 10px; padding-left: 12px; padding-right: 12px; }
.lv-ctrl.is-snug .lv-tb { padding: 0 10px; gap: 6px; }
.lv-ctrl.is-snug .lv-ctrl__tools .lv-tb + .lv-tb { margin-left: 0; }
.lv-ctrl.is-compact .lv-ctrl__tools .lv-tb span { display: none; }
.lv-ctrl.is-compact .lv-ctrl__tools .lv-tb { padding: 0 12px; }
/* 좁은 노트북: 아이콘 위주로 */
@media (max-width: 1240px) {
  .lv-ctrl__right .lv-tb span { display: none; }
  .lv-ctrl__right .lv-tb { padding: 0 12px; }
}
@media (max-width: 1100px) {
  .lv-ctrl__tools .lv-tb span { display: none; }
  .lv-ctrl__tools .lv-tb { padding: 0 12px; }
  .lv-ctrl { gap: 8px; padding: 8px 10px; }
}
@media (max-width: 900px) {
  .lv-ctrl { flex-wrap: wrap; justify-content: center; }
  .lv-ctrl__right { border-left: 0; padding-left: 0; }
  .lv-menu { right: 8px; }
}
.lv-ov__acts { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.lv-ov__acts .lv-btn { font-size: 16px; padding: 13px 22px; }
.lv-stage.is-screen .lv-ov__acts, .lv-stage.is-fs .lv-ov__acts, .lv-stage.is-pseudo-fs .lv-ov__acts { display: none; }
.lv-black.is-preview { background: rgba(0,0,0,.78); }
.lv-black.is-preview span { color: rgba(255,255,255,.7); font-size: 15px; }
/* 발표자 도구 팝오버 — 질문 채팅창 설정·발표 화면 보내기 */
.lv-pop { position: fixed; z-index: 60; width: min(340px, calc(100vw - 16px)); box-sizing: border-box; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  background: #212226; color: #F4F4F1; border: 1px solid #55565C; border-radius: 16px; box-shadow: 0 16px 48px #000a; font: 16px/1.45 Pretendard, sans-serif; }
.lv-pop[hidden] { display: none !important; }
.lv-pop__title { margin: 0; font-weight: 800; font-size: 17px; display: flex; flex-direction: column; gap: 2px; }
.lv-pop__title small, .lv-pop__check small { font-weight: 400; font-size: 14px; color: #B8B9BE; }
.lv-pop__check { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 4px 10px; cursor: pointer; }
.lv-pop__check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #D4FA3C; }
.lv-pop__check small { grid-column: 2; }
.lv-pop__row { display: flex; flex-direction: column; gap: 6px; }
.lv-pop__row > span { font-weight: 700; }
.lv-pop__row output { color: #D4FA3C; margin-left: 6px; }
.lv-pop__row select { min-height: 44px; background: #161719; color: #F4F4F1; border: 1px solid #74757B; border-radius: 10px; padding: 8px; font: 16px Pretendard, sans-serif; }
.lv-pop__row input[type="range"] { accent-color: #D4FA3C; width: 100%; }
.lv-pop__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lv-pop__seg label { position: relative; }
.lv-pop__seg input { position: absolute; opacity: 0; inset: 0; }
.lv-pop__seg span { display: block; text-align: center; padding: 10px 4px; min-height: 44px; box-sizing: border-box; border: 1px solid #74757B; border-radius: 999px; cursor: pointer; }
.lv-pop__seg input:checked + span { background: #D4FA3C; border-color: #D4FA3C; color: #111; font-weight: 800; }
.lv-pop__seg input:focus-visible + span { outline: 2px solid #D4FA3C; outline-offset: 2px; }
.lv-pop__list { display: flex; flex-direction: column; gap: 6px; }
.lv-pop__list:empty { display: none; }
.lv-pop__screen { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 52px; padding: 10px 12px; text-align: left; border: 1px solid #74757B; background: #2B2C31; color: #F4F4F1; border-radius: 12px; font: 16px Pretendard, sans-serif; cursor: pointer; }
.lv-pop__screen span { font-size: 14px; color: #B8B9BE; }
.lv-pop__screen:hover, .lv-pop__screen:focus-visible { border-color: #D4FA3C; outline: none; }
.lv-pop__hint { margin: 0; font-size: 14px; color: #B8B9BE; }
.lv-livechat header { flex-wrap: wrap; row-gap: 8px; }
.lv-livechat header strong, .lv-livechat__eyebrow { white-space: nowrap; }
.lv-livechat__hide { flex-shrink: 0; white-space: nowrap; margin-left: 8px; min-height: 36px; padding: 4px 12px; border: 1px solid #74757B; background: #2B2C31; color: #F4F4F1; border-radius: 999px; font: 700 15px/1.2 Pretendard, sans-serif; cursor: pointer; text-shadow: none; }
.lv-livechat__hide:hover { border-color: #D4FA3C; }


/* ── 발표 화면 배치(live-layout.js) ── */
.ly-stagebg { position: absolute; z-index: 0; background-size: cover; background-position: center; pointer-events: none; }
.ly-stagebg[hidden] { display: none !important; }
.lv-stage__main.ly-on #slideBox { z-index: 1; }
.lv-stage__main.ly-on .lv-slide canvas { box-shadow: none; }
.ly-editor { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-columns: minmax(0, 1fr) 340px; background: #0E0E0F; color: #F4F4F1; font: 16px/1.45 Pretendard, sans-serif; }
.ly-editor[hidden], .ly-editor [hidden] { display: none !important; }
body.ly-editing .st-switch, body.ly-editing .st-panel { visibility: hidden; }
.ly-work { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ly-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #2E2F34; }
.ly-top h2 { margin: 0; font-size: 22px; }
.ly-top p { margin: 4px 0 0; color: #B8B9BE; font-size: 15px; }
.ly-topacts { display: flex; gap: 8px; flex-shrink: 0; }
.ly-editor button { min-height: 44px; padding: 8px 14px; border: 1px solid #74757B; background: #2B2C31; color: #F4F4F1; border-radius: 10px; font: 700 16px/1.2 Pretendard, sans-serif; cursor: pointer; }
.ly-editor button:hover { border-color: #D4FA3C; }
.ly-editor button:disabled { opacity: .45; cursor: not-allowed; }
.ly-editor button:focus-visible, .ly-editor input:focus-visible, .ly-editor select:focus-visible, .ly-box:focus-visible { outline: 2px solid #D4FA3C; outline-offset: 2px; }
.ly-editor .ly-primary, .ly-editor button[aria-pressed="true"], .ly-layers button[aria-checked="true"] { background: #D4FA3C; border-color: #D4FA3C; color: #111; }
.ly-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 12px; }
.ly-frame { position: relative; background: #161719; box-shadow: 0 0 0 1px #3D3E44, 0 20px 60px #000a; overflow: hidden; touch-action: none; user-select: none; }
.ly-bgview { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ly-gridview { position: absolute; inset: 0; pointer-events: none; z-index: 30;
  background-image: linear-gradient(to right, rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(to right, transparent calc(50% - 1px), rgba(212,250,60,.45) calc(50% - 1px), rgba(212,250,60,.45) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent calc(50% - 1px), rgba(212,250,60,.45) calc(50% - 1px), rgba(212,250,60,.45) calc(50% + 1px), transparent calc(50% + 1px));
  background-size: 10% 10%, 10% 10%, 100% 100%, 100% 100%; }
.ly-safe { position: absolute; inset: 5%; border: 1px dashed rgba(244,244,241,.55); pointer-events: none; z-index: 30; }
.ly-lines { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
.ly-line { position: absolute; background: #FF4FD8; }
.ly-line--v { top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.ly-line--h { left: 0; right: 0; height: 2px; margin-top: -1px; }
.ly-box { position: absolute; box-sizing: border-box; border: 2px dashed rgba(244,244,241,.55); background: rgba(43,44,49,.55); cursor: move; z-index: 10; overflow: visible; }
.ly-box--chat { z-index: 12; }
.ly-box--face, .ly-box--phone1, .ly-box--phone2 { z-index: 11; border-radius: 12px; }
.ly-box.has-thumb { background: #000; }
.ly-box.is-sel { border: 2px solid #D4FA3C; box-shadow: 0 0 0 1px #111, 0 0 0 4px rgba(212,250,60,.25); }
.ly-box.is-off { opacity: .45; }
.ly-thumb { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ly-tag { position: absolute; left: 6px; top: 6px; padding: 3px 8px; background: #161719e6; color: #F4F4F1; border-radius: 6px; font: 700 14px/1.3 Pretendard, sans-serif; pointer-events: none; white-space: nowrap; }
.ly-box.is-sel .ly-tag { background: #D4FA3C; color: #111; }
.ly-chatmock { position: absolute; inset: 0; padding: 10px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; color: #F4F4F1; font-size: 13px; padding-top: 34px; }
.ly-chatmock b { font-size: 14px; }
.ly-chatmock p { margin: 0; padding: 8px; border: 1px solid #74757B66; border-radius: 10px; }
.ly-h { position: absolute; width: 14px; height: 14px; background: #D4FA3C; border: 2px solid #111; border-radius: 3px; display: none; z-index: 2; }
.ly-box.is-sel .ly-h { display: block; }
.ly-h--nw { left: -8px; top: -8px; cursor: nwse-resize; } .ly-h--se { right: -8px; bottom: -8px; cursor: nwse-resize; }
.ly-h--ne { right: -8px; top: -8px; cursor: nesw-resize; } .ly-h--sw { left: -8px; bottom: -8px; cursor: nesw-resize; }
.ly-h--n { left: calc(50% - 7px); top: -8px; cursor: ns-resize; } .ly-h--s { left: calc(50% - 7px); bottom: -8px; cursor: ns-resize; }
.ly-h--w { top: calc(50% - 7px); left: -8px; cursor: ew-resize; } .ly-h--e { top: calc(50% - 7px); right: -8px; cursor: ew-resize; }
.ly-side { overflow-y: auto; padding: 16px; border-left: 1px solid #2E2F34; background: #161719; display: flex; flex-direction: column; gap: 4px; }
.ly-side section { padding: 12px 0; border-bottom: 1px solid #2E2F34; display: flex; flex-direction: column; gap: 8px; }
.ly-side h3 { margin: 0 0 2px; font-size: 17px; }
.ly-layers, .ly-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ly-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.ly-nums label, .ly-field { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: #B8B9BE; }
.ly-field output { color: #D4FA3C; font-weight: 800; }
.ly-editor input[type="number"], .ly-editor select { min-height: 44px; background: #0E0E0F; color: #F4F4F1; border: 1px solid #74757B; border-radius: 8px; padding: 6px 8px; font: 16px Pretendard, sans-serif; width: 100%; box-sizing: border-box; }
.ly-editor input[type="color"] { width: 100%; height: 44px; border: 1px solid #74757B; border-radius: 8px; background: #0E0E0F; }
.ly-editor input[type="range"] { accent-color: #D4FA3C; width: 100%; }
.ly-editor input[type="file"] { color: #B8B9BE; font: 15px Pretendard, sans-serif; }
.ly-align { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ly-align button { padding: 8px 4px; font-size: 15px; }
.ly-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ly-check { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.ly-check input { width: 20px; height: 20px; accent-color: #D4FA3C; }
.ly-hint { margin: 0; font-size: 14px; color: #B8B9BE; }
.ly-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 12px; position: sticky; bottom: -16px; background: #161719; padding-bottom: 16px; }
@media (max-width: 900px) { .ly-editor { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 45vh; } .ly-side { border-left: 0; border-top: 1px solid #2E2F34; } }
/* 전체화면에서 도구 막대가 흐려져도, 설정 창(질문 채팅·발표 화면)이 열려 있으면 보이게 */
.lv-stage.is-fs .lv-ctrl:has(.lv-pop:not([hidden])), .lv-stage.is-pseudo-fs .lv-ctrl:has(.lv-pop:not([hidden])) { opacity: 1; }

