/* ============================================================
 * NEW VIDEOCHAT 게시판 스킨 — style.css  v1.2.0
 * 8인 화상채팅 방 목록 · 방 만들기 · 화상 방 (플랫 / 그림자 없음)
 *
 *  §0 토큰              §5 방 만들기 폼
 *  §1 공통 부품          §6 방 (입장 화면 · 영상 · 채팅 · 하단 바)
 *  §2 목록 머리글        §7 모바일 방 (전체 화면)
 *  §3 도구 줄 · 필터     §8 다크 모드 · 반응형
 *  §4 방 카드 · 페이지
 * ============================================================ */

/* ── §0 토큰 : 테마 변수를 따라가고, 없으면 시안 값 ── */
body {
  --vc-ink:    var(--text-main, #20231f);
  --vc-mute:   var(--text-muted, #62645c);
  --vc-line:   var(--border, #dedfd7);
  --vc-strong: var(--nc-line-strong, #cfd0c6);
  --vc-card:   var(--bg-card, #fffefa);
  --vc-bg:     var(--bg-body, #f3f2ed);
  --vc-soft:   #e6e5dd;
  --vc-tile:   #ecebe4;
  --vc-acid:   var(--nc-acid, #d7fb55);
  --vc-btn:    var(--p, #20231f);
  --vc-on-btn: var(--nc-on-p, #f3f2ed);
  --vc-coral:  #ff775e;
  --vc-r-lg:   28px;
  --vc-r-md:   24px;
}
body.dark {
  --vc-soft: rgba(255,255,255,.07);
  --vc-tile: rgba(255,255,255,.06);
}
.vc { color: var(--vc-ink); letter-spacing: -.02em; font-family: 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.vc *, .vc *::before, .vc *::after { box-sizing: border-box; }
:where(.vc a) { color: inherit; }
.vc a { text-decoration: none; }
.vc button, .vc input, .vc textarea, .vc select { font-family: inherit; letter-spacing: inherit; }
.vc button { cursor: pointer; }
.vc [hidden] { display: none !important; }
.vc svg { flex-shrink: 0; }
.vc .vc-num { font-family: 'Space Grotesk', 'Noto Sans KR', system-ui, sans-serif; }
.vc-wrap { max-width: 1200px; margin: 0 auto; padding: 8px 0 56px; }
.vc :focus-visible { outline: 2px solid var(--vc-ink); outline-offset: 2px; }
.vc-room :focus-visible, .vc-feat :focus-visible { outline-color: var(--vc-acid); }

/* ── §1 공통 부품 ───────────────────────────────────────── */
.vc-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--vc-mute); }
.vc-crumb a:hover { color: var(--vc-ink); }
.vc-crumb .cur { color: var(--vc-ink); }
.vc-kicker { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.vc-kicker::before { content: ""; width: 26px; height: 3px; background: var(--vc-ink); }
.vc-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.vc-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vc-badge.live { background: #20231f; color: #d7fb55; }
.vc-badge.full { background: var(--vc-coral); color: #20231f; }
.vc-badge.wait { border: 1px solid #20231f; color: #20231f; background: rgba(255,254,250,.6); }
.vc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 1px solid var(--vc-strong); border-radius: 99px; background: transparent; color: var(--vc-ink); font-size: 13px; font-weight: 800; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.vc-btn:hover { border-color: var(--vc-ink); }
.vc-btn.ink { background: var(--vc-btn); border-color: var(--vc-btn); color: var(--vc-on-btn); }
.vc-btn.ink:hover { background: var(--vc-acid); border-color: var(--vc-acid); color: #20231f; }
.vc-btn.lg { height: 52px; padding: 0 30px; font-size: 14px; }
.vc-btn[disabled], .vc-btn.is-off { opacity: .45; pointer-events: none; }
.vc-avi { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--vc-acid); color: #20231f; font-weight: 800; overflow: hidden; flex-shrink: 0; }
.vc-avi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--vc-line); border-radius: 99px; font-size: 11px; font-weight: 700; color: var(--vc-mute); white-space: nowrap; }

/* ── §2 목록 머리글 ─────────────────────────────────────── */
.vc-hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; justify-content: space-between; margin-top: 20px; }
.vc-hero-t { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.vc-h1 { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: .98; font-weight: 900; letter-spacing: -.08em; }
.vc-lead { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--vc-mute); }
.vc-stats { flex: 0 1 420px; min-width: 280px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vc-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 18px 20px; border-radius: var(--vc-r-md); }
.vc-stat.ink { background: #20231f; color: #f3f2ed; }
.vc-stat.acid { background: #d7fb55; color: #20231f; }
.vc-stat-l { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.vc-stat-l i { width: 7px; height: 7px; border-radius: 50%; background: #d7fb55; }
.vc-stat-n { font-size: 56px; font-weight: 700; line-height: 1; }
.vc-stat.ink .vc-stat-n { color: #d7fb55; }
.vc-stat-n small { margin-left: 4px; font-size: 20px; font-weight: 700; }
.vc-new { grid-column: span 2; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border: 1.5px solid var(--vc-ink); border-radius: 99px; font-size: 15px; font-weight: 800; transition: background .15s, color .15s; }
.vc-new:hover { background: var(--vc-ink); color: var(--vc-bg); }
.vc-notice { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 16px; border-radius: 16px; background: #d7fb55; color: #20231f; font-size: 13px; font-weight: 600; }
.vc-notice b { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 99px; background: #20231f; color: #d7fb55; font-size: 10px; font-weight: 800; letter-spacing: .06em; flex-shrink: 0; }

/* ── §3 도구 줄 · 필터 ──────────────────────────────────── */
.vc-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 36px 0 20px; }
.vc-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 99px; background: var(--vc-soft); }
.vc-seg a { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 16px; border-radius: 99px; font-size: 13px; font-weight: 700; transition: background .15s; }
.vc-seg a span { color: var(--vc-mute); }
.vc-seg a:hover { background: rgba(128,128,120,.14); }
.vc-seg a.on { background: var(--vc-btn); color: var(--vc-on-btn); }
.vc-seg a.on span { color: var(--vc-acid); }
body.dark .vc-seg a.on { background: var(--vc-acid); color: #20231f; }
body.dark .vc-seg a.on span { color: #20231f; }
.vc-find { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vc-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--vc-strong); border-radius: 99px; background: var(--vc-card); color: var(--vc-mute); }
.vc-search input { width: 170px; border: 0; outline: 0; background: transparent; color: var(--vc-ink); font-size: 14px; }
.vc-search input::placeholder { color: var(--vc-mute); }
.vc-sort { display: inline-flex; align-items: center; height: 44px; padding: 0 12px 0 16px; border: 1px solid var(--vc-strong); border-radius: 99px; background: var(--vc-card); color: var(--vc-ink); }
.vc-sort select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; color: inherit; font-size: 13px; font-weight: 700; padding-right: 22px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2385877f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.vc-sort select option { color: #20231f; }

/* ── §4 방 카드 · 페이지 ────────────────────────────────── */
.vc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.vc-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 14px; border: 1px solid var(--vc-line); border-radius: var(--vc-r-md); background: var(--vc-card); }
.vc-prev { position: relative; height: 112px; padding: 8px; border-radius: 16px; background: var(--vc-tile); }
.vc-prev-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; height: 100%; }
.vc-prev-g i { display: block; border-radius: 10px; }
.vc-prev-g i.e { border: 1.5px dashed #c3c4ba; }
body.dark .vc-prev-g i.e { border-color: rgba(255,255,255,.18); }
.vc-prev .vc-badge { position: absolute; left: 14px; top: 14px; }
.vc-lock { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fffefa; color: #20231f; }
.vc-card-b { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.vc-card-t { margin: 0; min-height: 44px; font-size: 17px; line-height: 1.3; font-weight: 900; letter-spacing: -.04em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; }
.vc-card-t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vc-host { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--vc-mute); }
.vc-host .vc-avi { width: 24px; height: 24px; font-size: 11px; }
.vc-host b { color: var(--vc-ink); font-weight: 700; }
.vc-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.vc-card-f { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 2px; }
.vc-cnt { display: flex; align-items: baseline; gap: 2px; }
.vc-cnt b { font-size: 30px; font-weight: 700; line-height: 1; }
.vc-cnt span { font-size: 14px; color: var(--vc-mute); }
.vc-go { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: 99px; background: var(--vc-btn); color: var(--vc-on-btn); font-size: 13px; font-weight: 800; transition: background .15s, color .15s; }
.vc-go:hover { background: var(--vc-acid); color: #20231f; }
.vc-go.off { background: transparent; border-color: var(--vc-strong); color: var(--vc-mute); pointer-events: none; }
.vc-card:hover { border-color: var(--vc-strong); }
.vc-card-more { display: flex; gap: 8px; padding: 0 4px; }
.vc-card-more a { font-size: 11px; font-weight: 700; color: var(--vc-mute); }
.vc-card-more a:hover { color: var(--vc-ink); }

.vc-feat { grid-column: span 2; grid-row: span 2; gap: 18px; padding: 20px; border-radius: var(--vc-r-lg); background: #20231f; border-color: #20231f; color: #f3f2ed; }
.vc-feat .vc-prev { flex: 1 1 auto; min-height: 300px; padding: 10px; border-radius: 20px; background: #2b2f29; }
.vc-feat .vc-prev-g { gap: 8px; }
.vc-feat .vc-prev-g i { border-radius: 14px; }
.vc-feat .vc-prev-g i.e { border-color: #4a4f46; }
.vc-feat .vc-prev .vc-badge { left: 20px; top: 20px; height: 24px; padding: 0 10px; font-size: 11px; background: #d7fb55; color: #20231f; }
.vc-feat .vc-prev .vc-badge.vc-hot { left: auto; right: 20px; background: var(--vc-coral); }
.vc-feat .vc-prev .vc-badge.full { background: var(--vc-coral); }
.vc-feat-b { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.vc-feat-i { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.vc-feat-t { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 900; letter-spacing: -.06em; word-break: keep-all; overflow-wrap: anywhere; }
.vc-feat-d { margin: 0; font-size: 14px; line-height: 1.6; color: #b9bbb0; }
.vc-feat .vc-host { font-size: 13px; color: #b9bbb0; }
.vc-feat .vc-host b { color: #f3f2ed; }
.vc-feat .vc-host .vc-avi { width: 28px; height: 28px; font-size: 12px; }
.vc-feat-a { display: flex; align-items: center; gap: 18px; }
.vc-feat .vc-cnt b { font-size: 52px; color: #d7fb55; }
.vc-feat .vc-cnt span { font-size: 18px; color: #b9bbb0; }
.vc-feat .vc-go { height: 52px; padding: 0 24px; font-size: 15px; background: #d7fb55; color: #20231f; }
.vc-feat .vc-go:hover { background: #f3f2ed; }
.vc-feat .vc-go.off { background: transparent; border-color: #4a4f46; color: #b9bbb0; }
.vc-feat .vc-lock { top: 20px; right: 70px; }

.vc-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px 20px; border: 1.5px dashed var(--vc-strong); border-radius: var(--vc-r-md); color: var(--vc-mute); text-align: center; }
.vc-empty strong { font-size: 18px; font-weight: 900; color: var(--vc-ink); }
.vc-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.vc-pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 6px; border: 1px solid var(--vc-strong); border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--vc-ink); }
.vc-pager a:hover { border-color: var(--vc-ink); }
.vc-pager a.on { background: var(--vc-btn); border-color: var(--vc-btn); color: var(--vc-on-btn); font-weight: 800; }
body.dark .vc-pager a.on { background: var(--vc-acid); border-color: var(--vc-acid); color: #20231f; }

/* ── §5 방 만들기 폼 ────────────────────────────────────── */
.vc-w-head { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.vc-w-h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1; font-weight: 900; letter-spacing: -.08em; }
.vc-w-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 32px; }
.vc-form { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding: 32px; border: 1px solid var(--vc-line); border-radius: var(--vc-r-lg); background: var(--vc-card); }
.vc-f { display: flex; flex-direction: column; gap: 10px; }
.vc-f-l { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.vc-f-l small { font-size: 12px; font-weight: 500; color: var(--vc-mute); letter-spacing: 0; }
.vc-f-l .vc-num { font-weight: 500; color: var(--vc-mute); }
.vc-in { width: 100%; height: 56px; padding: 0 20px; border: 1px solid var(--vc-strong); border-radius: 16px; background: var(--vc-card); color: var(--vc-ink); font-size: 17px; font-weight: 700; letter-spacing: -.03em; outline: 0; transition: border-color .15s; }
.vc-in:focus, .vc-ta:focus, .vc-pw:focus { border-color: var(--vc-ink); }
.vc-ta { width: 100%; padding: 16px 20px; border: 1px solid var(--vc-strong); border-radius: 16px; background: var(--vc-card); color: var(--vc-ink); font-size: 15px; line-height: 1.6; resize: vertical; outline: 0; }
.vc-in::placeholder, .vc-ta::placeholder, .vc-pw::placeholder { color: var(--vc-mute); opacity: .8; }
.vc-hint { font-size: 13px; color: var(--vc-mute); }
.vc-caps { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-caps label { position: relative; cursor: pointer; }
.vc-caps input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vc-caps span { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--vc-strong); border-radius: 50%; font-size: 18px; font-weight: 700; transition: background .15s, color .15s; }
.vc-caps label:hover span { border-color: var(--vc-ink); }
.vc-caps input:checked + span { background: var(--vc-btn); border-color: var(--vc-btn); color: var(--vc-acid); }
body.dark .vc-caps input:checked + span { background: var(--vc-acid); border-color: var(--vc-acid); color: #20231f; }
.vc-caps input:focus-visible + span { outline: 2px solid var(--vc-ink); outline-offset: 2px; }
.vc-vis { display: flex; flex-wrap: wrap; gap: 12px; }
.vc-vis label { flex: 1 1 240px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--vc-strong); border-radius: 18px; background: var(--vc-card); cursor: pointer; }
.vc-vis label:has(input:checked) { border: 1.5px solid var(--vc-ink); padding: 15.5px 17.5px; }
.vc-vis input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--vc-ink); flex-shrink: 0; }
body.dark .vc-vis input, body.dark .vc-ck input { accent-color: var(--vc-acid); }
.vc-vis b { display: block; font-size: 15px; font-weight: 900; }
.vc-vis small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--vc-mute); }
.vc-pw { width: 100%; max-width: 360px; height: 48px; padding: 0 18px; border: 1px solid var(--vc-strong); border-radius: 14px; background: var(--vc-card); color: var(--vc-ink); font-size: 14px; outline: 0; }
.vc-pw:disabled { background: var(--vc-tile); color: var(--vc-mute); border-color: var(--vc-line); }
.vc-ckrow { display: flex; flex-wrap: wrap; gap: 24px; }
.vc-ck { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; cursor: pointer; }
.vc-ck input { width: 20px; height: 20px; accent-color: var(--vc-ink); }
.vc-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vc-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 14px; border-radius: 99px; background: var(--vc-btn); color: var(--vc-on-btn); font-size: 13px; font-weight: 700; }
body.dark .vc-chip { background: var(--vc-acid); color: #20231f; }
.vc-chip button { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: inherit; }
body.dark .vc-chip button { background: rgba(32,35,31,.18); }
.vc-chip-in { width: 170px; height: 34px; padding: 0 14px; border: 1px dashed var(--vc-strong); border-radius: 99px; background: transparent; color: var(--vc-ink); font-size: 13px; outline: 0; }
.vc-chip-in:focus { border-color: var(--vc-ink); }
.vc-f-act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-top: 20px; border-top: 1px solid var(--vc-line); margin-top: 4px; }
.vc-aside { flex: 0 1 340px; min-width: 280px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.vc-aside-k { font-size: 11px; font-weight: 800; letter-spacing: .17em; color: var(--vc-mute); }
.vc-tip { padding: 18px 20px; border-radius: 20px; background: #d7fb55; color: #20231f; font-size: 13px; line-height: 1.6; font-weight: 600; }
.vc-err { padding: 14px 18px; border-radius: 16px; background: #ffe7e1; color: #8a2a17; font-size: 13px; font-weight: 700; }

/* ── §6 방 ─────────────────────────────────────────────── */
.vc-room { scroll-margin-top: 72px; position: relative; display: flex; flex-direction: column; height: min(880px, calc(100vh - 150px)); min-height: 600px; border-radius: var(--vc-r-lg); background: #0f110e; color: #f1f2ec; overflow: hidden; }
.vc-room.fs { height: 100vh; border-radius: 0; }
.vc-room button { color: inherit; }
.vc-room > .vc-r-head { position: static !important; background: #0f110e !important; border: 0 !important; color: #f1f2ec !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.vc-r-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 24px; }
.vc-r-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.vc-r-r { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vc-circle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #2c3029; border-radius: 50%; background: transparent; color: #f1f2ec; flex-shrink: 0; transition: background .15s; }
.vc-circle:hover { background: #23271f; }
.vc-r-t { min-width: 0; }
.vc-r-t h1 { color: #f1f2ec; margin: 0; font-size: 17px; font-weight: 900; letter-spacing: -.04em; line-height: 1.3; max-width: 48vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-r-m { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 12px; color: #a8aaa0; }
.vc-live { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border-radius: 99px; background: #d7fb55; color: #20231f; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.vc-live i { width: 6px; height: 6px; border-radius: 50%; background: #20231f; }
.vc-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid #2c3029; border-radius: 99px; background: transparent; color: #f1f2ec; font-size: 13px; font-weight: 700; }
button.vc-pill:hover { background: #23271f; }
.vc-pill .vc-num b { color: #d7fb55; font-weight: 700; }
.vc-r-main { flex: 1 1 auto; min-height: 0; display: flex; gap: 16px; padding: 4px 24px 0; }
.vc-vgrid { flex: 1 1 auto; min-width: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.vc-vgrid.c1 { grid-template-columns: minmax(0, 1fr); }
.vc-vgrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-vgrid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vc-tile { position: relative; overflow: hidden; min-height: 0; border-radius: 22px; background: #1b1e19; border: 1px solid #262a23; }
.vc-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0f110e; }
.vc-tile.me video { transform: scaleX(-1); }
.vc-tile.me.share video { transform: none; }
.vc-tile.sharing video { object-fit: contain; }
.vc-tile.speaking { outline: 2px solid #d7fb55; outline-offset: -2px; }
.vc-tile .vc-ph { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: #1b1e19; }
.vc-tile.nocam .vc-ph, .vc-tile.novid .vc-ph { display: flex; }
.vc-tile.nocam video, .vc-tile.novid video { visibility: hidden; }
.vc-ph .vc-avi { width: 84px; height: 84px; font-size: 32px; font-weight: 900; }
.vc-ph .vc-avi.tone { color: #f1f2ec; }
.vc-label { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; background: rgba(15,17,14,.78); font-size: 12px; font-weight: 700; }
.vc-label .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-role { display: inline-flex; align-items: center; height: 16px; padding: 0 6px; border-radius: 99px; background: #d7fb55; color: #20231f; font-size: 9px; font-weight: 800; flex-shrink: 0; }
.vc-role.me { background: transparent; border: 1px solid #a8aaa0; color: #a8aaa0; }
.vc-ico-off { color: #ff775e; display: none; }
.vc-tile.nomic .vc-ico-off.mic { display: inline-block; }
.vc-tile.nocam .vc-ico-off.cam { display: inline-block; color: #a8aaa0; }
.vc-hand { position: absolute; right: 10px; top: 10px; display: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #d7fb55; color: #20231f; }
.vc-tile.hand .vc-hand { display: inline-flex; }
.vc-kick { position: absolute; left: 10px; top: 10px; display: none; align-items: center; justify-content: center; height: 30px; padding: 0 12px; border: 0; border-radius: 99px; background: rgba(15,17,14,.78); color: #f1f2ec; font-size: 11px; font-weight: 800; }
.vc-kick:hover { background: #ff775e; color: #20231f; }
.vc-room.host .vc-tile:not(.me):hover .vc-kick, .vc-room.host .vc-tile:not(.me):focus-within .vc-kick { display: inline-flex; }
.vc-conn { position: absolute; right: 10px; bottom: 10px; display: none; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: rgba(15,17,14,.78); color: #a8aaa0; font-size: 11px; font-weight: 700; }
.vc-tile.connecting .vc-conn { display: inline-flex; }
.vc-tile.failed .vc-conn { display: inline-flex; background: #ff775e; color: #20231f; font-size: 0; }
.vc-tile.failed .vc-conn::after { content: '연결 안 됨'; font-size: 11px; font-weight: 800; }
.vc-invite { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 0; border: 1.5px dashed #343830; border-radius: 22px; background: transparent; color: #a8aaa0; font-size: 13px; font-weight: 700; }
.vc-invite:hover { border-color: #d7fb55; color: #d7fb55; }
.vc-invite span { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid currentColor; border-radius: 50%; }

.vc-side { flex: 0 0 340px; min-width: 0; display: flex; flex-direction: column; border: 1px solid #262a23; border-radius: 24px; background: #171a15; overflow: hidden; }
.vc-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid #262a23; }
.vc-tabs button { flex: 1; height: 38px; border: 0; border-radius: 99px; background: transparent; color: #a8aaa0; font-size: 13px; font-weight: 700; }
.vc-tabs button.on { background: #d7fb55; color: #20231f; font-weight: 800; }
.vc-pane { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.vc-msgs { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.vc-sys { align-self: center; font-size: 11px; color: #a8aaa0; text-align: center; }
.vc-msg { display: flex; flex-direction: column; gap: 4px; max-width: 84%; }
.vc-msg .who { font-size: 11px; font-weight: 700; color: #a8aaa0; }
.vc-msg .tx { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #23271f; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.vc-msg.mine { align-self: flex-end; align-items: flex-end; }
.vc-msg.mine .tx { border-radius: 16px 16px 4px 16px; background: #d7fb55; color: #20231f; font-weight: 500; }
.vc-msg .tx a { text-decoration: underline; }
.vc-send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #262a23; }
.vc-send input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid #2c3029; border-radius: 99px; background: #0f110e; color: #f1f2ec; font-size: 14px; outline: 0; }
.vc-send input:focus { border-color: #d7fb55; }
.vc-send input::placeholder { color: #6f7268; }
.vc-send button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #d7fb55; color: #20231f; flex-shrink: 0; }
.vc-send button:disabled { opacity: .4; }
.vc-people { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.vc-person { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; }
.vc-person:hover { background: #1d211b; }
.vc-person .vc-avi { width: 36px; height: 36px; font-size: 14px; }
.vc-person .nm { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-person .st { display: flex; gap: 8px; color: #a8aaa0; }
.vc-person .st .off { color: #ff775e; }
.vc-person .vc-kick { position: static; display: inline-flex; height: 28px; }
.vc-person .vc-kick { display: none; }
.vc-room.host .vc-person:not(.me):hover .vc-kick { display: inline-flex; }

.vc-dock-w { display: flex; justify-content: center; padding: 16px 24px 24px; }
.vc-dock { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 10px; border: 1px solid #262a23; border-radius: 99px; background: #171a15; }
.vc-d { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: #262a23; color: #f1f2ec; transition: background .15s; }
.vc-d:hover { background: #30352d; }
.vc-d.on { background: #d7fb55; color: #20231f; }
.vc-d.off { background: #3a2a27; color: #ff775e; }
.vc-d .bd { position: absolute; right: -2px; top: -2px; display: none; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: #ff775e; color: #20231f; font-size: 10px; font-weight: 800; }
.vc-d .bd.on { display: inline-flex; }
.vc-d .i-off { display: none; }
.vc-d.off .i-on { display: none; }
.vc-d.off .i-off { display: block; }
.vc-sep { width: 1px; height: 30px; background: #2c3029; margin: 0 4px; }
.vc-leave { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 26px; border: 0; border-radius: 99px; background: #ff775e; color: #20231f !important; font-size: 14px; font-weight: 800; }
.vc-leave:hover { background: #ff9480; }
.vc-d.mobonly { display: none; }
.vc-d.chat-t { display: none; }

/* 입장 전 (로비) */
.vc-lobby { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 24px 40px; overflow-y: auto; }
.vc-lobby-in { width: 100%; max-width: 880px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; }
.vc-pv { position: relative; flex: 1 1 360px; max-width: 460px; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #1b1e19; border: 1px solid #262a23; }
.vc-pv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); background: #0f110e; }
.vc-pv .vc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vc-pv.hasvid .vc-ph { display: none; }
.vc-pv .vc-ph .vc-avi { width: 96px; height: 96px; font-size: 38px; }
.vc-pv-ctl { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; }
.vc-lobby-t { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.vc-lobby-t h2 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -.06em; line-height: 1.2; word-break: keep-all; overflow-wrap: anywhere; }
.vc-lobby-t p { margin: 0; font-size: 14px; line-height: 1.6; color: #a8aaa0; }
.vc-lobby-t .vc-note { padding: 12px 16px; border-radius: 16px; background: #23271f; font-size: 13px; line-height: 1.6; color: #d9dbd0; }
.vc-lobby-t .vc-turnchk.ok { color: #d7fb55; }
.vc-lobby-t .vc-turnchk.bad { color: #ff9a86; }
.vc-lobby-t .vc-note.bad { background: #3a2a27; color: #ffb3a3; }
.vc-lobby-f { display: flex; flex-direction: column; gap: 10px; }
.vc-lobby-f input { height: 52px; padding: 0 20px; border: 1px solid #2c3029; border-radius: 99px; background: #0f110e; color: #f1f2ec; font-size: 15px; outline: 0; }
.vc-lobby-f input:focus { border-color: #d7fb55; }
.vc-join { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 30px; border: 0; border-radius: 99px; background: #d7fb55; color: #20231f !important; font-size: 15px; font-weight: 800; transition: background .15s; }
.vc-join:hover { background: #f1f2ec; }
.vc-join:disabled { opacity: .5; }
.vc-join.ghost { background: transparent; border: 1px solid #2c3029; color: #f1f2ec !important; }
.vc-d.sm { width: 46px; height: 46px; }
.vc-toast { position: absolute; left: 50%; top: 76px; transform: translateX(-50%); z-index: 5; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 99px; background: #f1f2ec; color: #20231f; font-size: 13px; font-weight: 700; text-align: center; pointer-events: none; opacity: 0; transition: opacity .2s; }
.vc-toast.on { opacity: 1; }
.vc-ended { position: absolute; inset: 0; z-index: 6; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: rgba(15,17,14,.94); text-align: center; }
.vc-ended.on { display: flex; }
.vc-ended h2 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.05em; }
.vc-ended p { margin: 0; max-width: 360px; font-size: 14px; line-height: 1.6; color: #a8aaa0; }
.vc-ended .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ── §7 모바일 방 (입장 후 전체 화면) ─────────────────── */
@media (max-width: 860px) {
  html.vc-live-on body > header, html.vc-live-on .nc-head, html.vc-live-on #dx-header, html.vc-live-on #dx-fab-wrap, html.vc-live-on .dx-fab-wrap { display: none !important; }
  .vc-room.live { position: fixed; inset: 0; z-index: 2147483000; height: 100%; min-height: 0; border-radius: 0; }
  .vc-room.live .vc-r-head { padding: 16px 16px 10px; flex-wrap: nowrap; }
  .vc-room.live .vc-r-t h1 { font-size: 15px; max-width: none; }
  .vc-room.live .vc-r-r .vc-pill.cp { display: none; }
  .vc-room.live .vc-r-r .vc-pill { height: 36px; padding: 0 12px; }
  .vc-room.live .vc-r-r .vc-pill svg { display: none; }
  .vc-room.live .vc-r-l .vc-circle { width: 40px; height: 40px; }
  .vc-room.live .vc-r-main { padding: 4px 16px 8px; position: relative; }
  .vc-room.live .vc-vgrid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-room.live .vc-vgrid.c1 { grid-template-columns: minmax(0, 1fr); }
  .vc-room.live .vc-tile, .vc-room.live .vc-invite { border-radius: 18px; }
  .vc-room.live .vc-ph .vc-avi { width: 60px; height: 60px; font-size: 24px; }
  .vc-room.live .vc-label { left: 8px; bottom: 8px; height: 24px; padding: 0 9px; font-size: 11px; }
  .vc-room.live .vc-side { position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 4; flex: none; border-radius: 22px; display: none; }
  .vc-room.live.chat-open .vc-side { display: flex; }
  .vc-room.live .vc-tabs { position: relative; padding-right: 58px; }
  .vc-room.live .vc-side-x { display: inline-flex; }
  .vc-room.live .vc-dock-w { padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); }
  .vc-room.live .vc-dock { gap: 8px; padding: 10px; flex-wrap: nowrap; }
  .vc-room.live .vc-d { width: 48px; height: 48px; }
  .vc-room.live .vc-d.desk { display: none; }
  .vc-room.live .vc-d.mobonly, .vc-room.live .vc-d.chat-t { display: inline-flex; }
  .vc-room.live .vc-sep { display: none; }
  .vc-room.live .vc-leave { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .vc-room.live .vc-leave span { display: none; }
  .vc-room.live .vc-r-m .host-n, .vc-room.live .vc-r-m .dot { display: none; }
  .vc-room.live .vc-r-main.has-more .vc-more { display: block; }
}
.vc-side-x { display: none; position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #262a23; color: #f1f2ec; z-index: 2; }
.vc-more { display: none; position: absolute; right: 16px; bottom: 8px; z-index: 3; min-width: 190px; padding: 8px; border: 1px solid #262a23; border-radius: 20px; background: #171a15; }
.vc-more button, .vc-more a { display: flex; align-items: center; gap: 12px; width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 14px; background: transparent; color: #f1f2ec; font-size: 14px; font-weight: 700; text-align: left; }
.vc-more button:hover, .vc-more a:hover { background: #23271f; }
.vc-more button.on { color: #d7fb55; }
.vc-more[hidden] { display: none !important; }

/* ── §8 다크 모드 · 반응형 ─────────────────────────────── */
body.dark .vc-badge.wait { background: transparent; border-color: var(--vc-ink); color: var(--vc-ink); }
body.dark .vc-feat { border-color: #343830; }
body.dark .vc-badge.live { background: #20231f; }
body.dark .vc-lock { background: #fffefa; color: #20231f; }
body.dark .vc-err { background: #3a2a27; color: #ffb3a3; }

@media (max-width: 1100px) {
  .vc-side { flex-basis: 300px; }
  .vc-vgrid.c4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .vc-aside { position: static; flex: 1 1 100%; }
  .vc-r-main { flex-direction: column; }
  .vc-side { flex: 0 0 300px; }
  .vc-room:not(.live) { height: auto; min-height: 560px; }
  .vc-room:not(.live) .vc-vgrid { min-height: 420px; }
}
@media (max-width: 720px) {
  .vc-feat { grid-column: auto; grid-row: auto; }
  .vc-feat-t { font-size: 24px; }
  .vc-feat .vc-prev { min-height: 190px; }
  .vc-list { grid-template-columns: 1fr; gap: 12px; }
  .vc-card { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .vc-card .vc-prev { flex: 0 0 112px; height: auto; min-height: 112px; }
  .vc-card .vc-card-b { flex: 1 1 0; min-width: 0; padding: 0; }
  .vc-card .vc-card-t { min-height: 0; font-size: 16px; }
  .vc-card .vc-card-f { flex: 1 1 100%; padding: 0 2px; }
  .vc-card .vc-prev .vc-badge { left: 10px; top: 10px; }
  .vc-card .vc-lock { top: 10px; right: 10px; }
  .vc-feat { flex-direction: column; flex-wrap: nowrap; }
  .vc-feat .vc-prev { flex: 0 0 auto; }
  .vc-stat { min-height: 104px; }
  .vc-stat-n { font-size: 44px; }
  .vc-form { padding: 20px; gap: 24px; }
  .vc-f-act .vc-btn { flex: 1 1 140px; }
  .vc-search { flex: 1 1 100%; }
  .vc-search input { width: 100%; }
  .vc-find { width: 100%; }
  .vc-sort { flex: 1 1 100%; }
  .vc-sort select { width: 100%; }
  .vc-lobby { padding: 8px 16px 32px; }
  .vc-lobby-t h2 { font-size: 24px; }
}
@media (max-width: 420px) {
  .vc-card { flex-direction: column; }
  .vc-card .vc-prev { flex: 0 0 auto; height: 112px; min-height: 0; }
  .vc-card .vc-card-f { flex: 0 0 auto; }
  .vc-seg a { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .vc * { transition: none !important; } }
