/* 무대 화면 (1280 × 720 기준, 통째로 확대 · 축소) — 무대 화면과 콘솔 미리보기가 같이 씀
   느낌: 거의 검정 바탕 · 연두 포인트(LIVE Q&A) · 굵고 큰 흰 질문 · 회색 질문자. 카드 없이 글자로. */
.stg-frame { position: relative; overflow: hidden; margin: 0 auto; }
.stg { --lime: #d6f36b; --dim: #9aa39c; position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; color: #f4f6f3;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
.stg.bg-image { background: #171b18; }
.stg.bg-black { background: #000; }
.stg.bg-green { background: #00b140; }
.stg-bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 맨 위 띠 */
.stg-top { position: absolute; left: 0; right: 0; top: 0; height: 64px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 17px; color: var(--dim); z-index: 1; }
.stg-top b { color: var(--lime); font-weight: 800; letter-spacing: .02em; }
.stg.on-img .stg-top { background: linear-gradient(to bottom, rgb(0 0 0 / .55), rgb(0 0 0 / 0)); }

/* 질문 · 투표 칸: 위치 · 너비는 배치 버튼대로 */
.stg-box { position: absolute; box-sizing: border-box; padding: 8px 0; display: flex; flex-direction: column; align-items: flex-start; gap: .28em;
  max-height: 60%; overflow: hidden; line-height: 1.32; }
.stg.on-img .stg-box { background: rgb(14 18 15 / .82); border-radius: 18px; padding: 26px 32px; }
.stg-box.w-wide { width: 88%; } .stg-box.w-normal { width: 66%; } .stg-box.w-narrow { width: 44%; }
.stg-box.h-left { left: 6%; } .stg-box.h-right { right: 6%; }
.stg-box.h-center.w-wide { left: 6%; } .stg-box.h-center.w-normal { left: 17%; } .stg-box.h-center.w-narrow { left: 28%; }
.stg-box.h-center { align-items: center; text-align: center; }
.stg-box.h-right { align-items: flex-end; text-align: right; }
.stg-box.v-top { top: 13%; } .stg-box.v-bottom { bottom: 8%; }
.stg-box.v-middle { top: 50%; transform: translateY(-50%); }

.stg-eye { color: var(--lime); font-weight: 800; letter-spacing: .28em; margin-bottom: .4em; }
.stg-to { display: inline-flex; align-items: center; gap: .55em; color: #dfe5dc; font-weight: 700; margin-bottom: 1.2em; }
.stg-mini, .stg-to .stg-initial { width: 2.2em; height: 2.2em; border-radius: 999px; object-fit: cover; background: #33402f; flex: none; }
.stg-face { width: 6em; height: 6em; border-radius: 999px; object-fit: cover; background: #33402f; flex: none; }
.stg-initial { display: inline-flex; align-items: center; justify-content: center; color: var(--lime); font-weight: 800; font-size: .8em; }
.stg-qtext { font-weight: 800; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere; }
.stg-asker { font-size: .5em; color: var(--dim); margin-top: .5em; letter-spacing: -.01em; }
.stg-wait .stg-asker { font-size: .55em; }

/* 투표 */
.stg-v { max-height: 80%; gap: .4em; align-items: stretch; text-align: left; }
.stg-box.h-center.stg-v, .stg-box.h-right.stg-v { align-items: stretch; text-align: left; }
.stg-vtitle { font-weight: 800; letter-spacing: -.02em; }
.stg-opts { display: flex; flex-direction: column; gap: .35em; font-size: .62em; margin-top: .3em; }
.stg-opt { display: flex; align-items: center; gap: .7em; }
.stg-opt b { width: 1.6em; height: 1.6em; border-radius: 8px; background: var(--lime); color: #171b18; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.stg-opt.res .stg-olabel { width: 30%; flex: none; }
.stg-bar { flex: 1; height: .9em; background: rgb(255 255 255 / .1); border-radius: 6px; overflow: hidden; }
.stg-bar i { display: block; height: 100%; background: var(--lime); }
.stg-opt em { font-style: normal; font-weight: 800; width: 3em; text-align: right; }
.stg-vfoot { font-size: .45em; color: var(--dim); display: flex; align-items: center; gap: .8em; margin-top: .4em; }
.stg-count { font-size: 2.4em; font-weight: 800; color: var(--lime); }
.stg-vqr { position: absolute; right: 0; bottom: 8px; background: #fff; padding: 6px; border-radius: 8px; line-height: 0; }
.stg.on-img .stg-vqr { right: 28px; bottom: 26px; }

/* 공용 QR 크게 */
.stg-qrwrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; font-size: 36px; font-weight: 800; }
.stg-bigqr { background: #fff; padding: 14px; border-radius: 16px; line-height: 0; }
