/* VoiceRooms: the lobby additions and the voice room (conference room / auditorium / projector / chat). Uses the colours and buttons from theater.css. */

/* ---------- lobby */
.vr-lobby { margin: 1.1rem 0 0; } .vr-lobby-h { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; margin: 0 0 0.6rem; } .vr-lobby-h h2 { margin: 0; font-size: 1.15rem; }
.vr-card { display: block; overflow: hidden; color: var(--text); cursor: pointer; margin: 0; transition: transform 0.12s, border-color 0.12s; } .vr-card:hover { transform: translateY(-2px); border-color: var(--gold-dim); text-decoration: none; }
.vr-cicon { height: 96px; display: flex; align-items: center; justify-content: center; font-size: 2.3rem; background: radial-gradient(ellipse at 50% 0, #1c3a63, #070a12 75%); }
.vr-card .info { padding: 0.7rem 0.85rem 0.8rem; } .vr-card h3 { margin: 0 0 0.15rem; font-size: 1rem; overflow-wrap: anywhere; } .vr-card .sub { font-size: 0.82rem; color: var(--muted); } .vr-card .np { font-size: 0.82rem; margin-top: 0.3rem; color: var(--gold); }
.vr-card .faces { display: flex; margin-top: 0.5rem; } .vr-card .faces .av { width: 24px; height: 24px; margin-right: -6px; border: 2px solid #14110d; } .vr-card .count { float: right; font-weight: 700; font-size: 0.85rem; } .vr-card .lock { font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 0.4rem; margin-left: 0.4rem; }

/* ---------- the room page */
.vr-room { position: relative; }
.vr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.7rem; } .vr-title { margin: 0; font-size: 1.6rem; line-height: 1.15; overflow-wrap: anywhere; } .vr-sub { color: var(--muted); font-size: 0.88rem; } .vr-acts { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.vr-main { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 0.9rem; align-items: start; } .vr-left { min-width: 0; }
@media (max-width: 980px) { .vr-main { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the scene */
.vr-scene { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #070913; border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55); isolation: isolate; contain: layout paint; user-select: none; }
@media (max-width: 700px) { .vr-scene { aspect-ratio: 4 / 3.7; border-radius: 14px; } }
.vr-bg { position: absolute; inset: 0; pointer-events: none; transition: opacity 1s ease; }
/* conference room: a back wall with a window onto the city, a dark floor, a warm lamp over the table */
.vr-bg-conf { background: linear-gradient(#151b33 0%, #0e1326 52%, #0a0d1a 100%); }
.vr-window { position: absolute; left: 11%; right: 11%; top: 5%; height: 31%; overflow: hidden; border: 3px solid #252c45; border-radius: 6px 6px 0 0; background: linear-gradient(#1c2b57 0%, #0f1832 68%, #3a2442 100%); box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.55), 0 0 50px rgba(90, 120, 210, 0.14); }
.vr-window svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vr-glass { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 24.5%, rgba(10, 14, 28, 0.92) 24.5% 25%), linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0) 100%); }
.vr-wallglow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 18%, rgba(120, 150, 255, 0.13), transparent 62%); }
.vr-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 56%; border-top: 1px solid rgba(255, 255, 255, 0.06); background: linear-gradient(#11141f, #090b13), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 9%); }
.vr-lamp { position: absolute; left: 18%; right: 18%; top: 34%; height: 48%; background: radial-gradient(ellipse at 50% 0%, rgba(255, 213, 140, 0.26), transparent 66%); }
/* auditorium: red curtains and valance, a banner, a wooden stage with footlights, a dark hall */
.vr-bg-aud { opacity: 0; background: linear-gradient(#10080f 0%, #1b0b13 33%, #0a0810 33%, #06050a 100%); }
.mode-auditorium .vr-bg-aud { opacity: 1; } .mode-auditorium .vr-bg-conf { opacity: 0; }
.vr-bg-aud::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 34% 46% at 28% 4%, rgba(255, 232, 175, 0.11), transparent 72%), radial-gradient(ellipse 34% 46% at 72% 4%, rgba(255, 232, 175, 0.11), transparent 72%); }
.vr-curtain { position: absolute; top: 0; bottom: 47%; width: 19%; background: repeating-linear-gradient(90deg, #5e0b16 0 14px, #7c1424 14px 26px, #4a0810 26px 40px); box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.55); z-index: 1; } .vr-curtain.l { left: 0; border-radius: 0 0 46% 0 / 0 0 14% 0; } .vr-curtain.r { right: 0; border-radius: 0 0 0 46% / 0 0 14% 0; }
.vr-valance { position: absolute; left: 0; right: 0; top: 0; height: 7%; z-index: 2; background: linear-gradient(#85162a, #4a0810); border-bottom: 3px solid #c79a2b; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); }
.vr-banner { position: absolute; left: 50%; top: 10%; transform: translateX(-50%); z-index: 1; max-width: 56%; text-align: center; } .vr-banner span { display: inline-block; max-width: 100%; padding: 0.25rem 1.3rem; font: 800 clamp(0.8rem, 2.1vw, 1.45rem) Georgia, "Times New Roman", serif; letter-spacing: 0.12em; text-transform: uppercase; color: #f6d77a; text-shadow: 0 0 14px rgba(246, 215, 122, 0.55); background: rgba(58, 6, 14, 0.62); border: 1px solid rgba(246, 215, 122, 0.45); border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr-stagefloor { position: absolute; left: 0; right: 0; top: 33%; height: 14%; z-index: 1; background: linear-gradient(#5d3f24, #3b2514 70%, #22150b), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 7%); border-top: 3px solid #8d6234; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65); }
.vr-lights { position: absolute; left: 4%; right: 4%; top: 46.2%; z-index: 2; display: flex; justify-content: space-between; } .vr-lights i { width: 7px; height: 7px; border-radius: 50%; background: #ffe7a3; box-shadow: 0 0 10px 3px rgba(255, 220, 130, 0.7); animation: vrtwinkle 3s ease-in-out infinite; } .vr-lights i:nth-child(2n) { animation-delay: 0.6s; } .vr-lights i:nth-child(3n) { animation-delay: 1.3s; }
@keyframes vrtwinkle { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.55; } }
.vr-hall { position: absolute; left: 0; right: 0; top: 47%; bottom: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, rgba(120, 30, 40, 0.16), transparent 60%), linear-gradient(#0e0b15, #05040a); } .vr-hall::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse 120% 160% at 50% -40%, transparent 0 15%, rgba(255, 255, 255, 0.035) 15% 15.6%); } .vr-hall::after { content: ""; position: absolute; left: 47%; width: 6%; top: 0; bottom: 0; background: linear-gradient(rgba(255, 230, 180, 0.06), transparent); }
/* the table (conference room only) */
.vr-table { position: absolute; left: 50%; top: 62%; width: 56%; height: 34%; transform: translate(-50%, -50%); z-index: 5; pointer-events: none; transition: opacity 0.9s, transform 0.9s cubic-bezier(0.3, 0.9, 0.3, 1); }
.mode-auditorium .vr-table { opacity: 0; transform: translate(-50%, -10%) scale(0.7); } .mode-conference.sharing .vr-table { opacity: 0.2; }
.vr-tabletop { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse at 50% 34%, #80553a 0%, #52341f 46%, #2d1b10 82%); box-shadow: 0 24px 44px rgba(0, 0, 0, 0.68), inset 0 0 0 3px rgba(253, 210, 31, 0.2), inset 0 -12px 34px rgba(0, 0, 0, 0.5); }
.vr-tableshine { position: absolute; left: 18%; right: 18%; top: 11%; height: 34%; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, rgba(255, 236, 205, 0.3), transparent 70%); filter: blur(2px); }

/* ---------- people */
.vr-people, .vr-empties { position: absolute; inset: 0; }
.vr-p { position: absolute; width: 9.5%; min-width: 44px; transform: translate(-50%, -86%) scale(var(--s, 1)); transform-origin: 50% 100%; cursor: pointer; transition: left 0.95s cubic-bezier(0.3, 0.9, 0.3, 1), top 0.95s cubic-bezier(0.3, 0.9, 0.3, 1), transform 0.95s cubic-bezier(0.3, 0.9, 0.3, 1), opacity 0.5s; }
.vr-p .vr-fig { position: relative; z-index: 2; } .vr-fig .th-fig { width: 100%; filter: drop-shadow(0 0 3px var(--glow, #fdd21f)); transform-origin: 50% 100%; } .vr-fig .th-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.vr-chair { position: absolute; left: -14%; right: -14%; bottom: -7%; height: 64%; z-index: 1; background: linear-gradient(#2a2e42, #14151f); border-radius: 24px 24px 8px 8px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), 0 7px 14px rgba(0, 0, 0, 0.55); }
.vr-p.stage .vr-chair { display: none; }
.vr-p.aud .vr-chair, .vr-p.row .vr-chair { z-index: 3; left: -10%; right: -10%; bottom: -9%; height: 46%; background: linear-gradient(#4a0f1a, #1e060b); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), 0 -3px 10px rgba(0, 0, 0, 0.55); }
.vr-p.aud .vr-fig .th-fig { filter: brightness(0.72) drop-shadow(0 0 2px var(--glow, #fdd21f)); }
.vr-name { position: absolute; left: 50%; bottom: -1.25em; transform: translateX(-50%); z-index: 6; max-width: 170%; padding: 0 3px; font-size: clamp(0.56rem, 0.9vw, 0.74rem); font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px #000, 0 0 6px #000; pointer-events: none; }
.vr-p.seat .vr-name, .vr-p.row .vr-name { bottom: -0.4em; } .vr-p.aud .vr-name { display: none; } .vr-p.aud:hover .vr-name, .vr-p.aud.speaking .vr-name { display: block; bottom: -0.9em; font-size: 0.74rem; transform: translateX(-50%) scale(1.6); }
.vr-p.me .vr-name { color: var(--gold); } .vr-badge { position: absolute; top: -8px; right: 2%; z-index: 7; font-size: 0.85rem; filter: drop-shadow(0 1px 2px #000); } .vr-stat { position: absolute; top: 2%; left: 0; z-index: 7; font-size: 0.72rem; opacity: 0.95; }
.vr-p.join .vr-fig { animation: vrpop 0.8s cubic-bezier(0.2, 1.4, 0.4, 1) both; } .vr-p.leaving { pointer-events: none; opacity: 0; }
.vr-p.muted .th-fig { filter: grayscale(0.7) opacity(0.65); }
.vr-p.speaking .vr-fig { animation: vrbob 0.42s ease-in-out infinite alternate; } .vr-p.speaking .th-fig { filter: drop-shadow(0 0 11px var(--glow, #fdd21f)) drop-shadow(0 0 3px var(--glow, #fdd21f)); }
.vr-p.speaking:not(.stage)::before, .vr-p.speaking::after { content: ""; position: absolute; left: 50%; top: 24%; width: 74%; aspect-ratio: 1; z-index: 1; border: 2px solid var(--glow, #fdd21f); border-radius: 50%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; animation: vrwave 1.2s ease-out infinite; pointer-events: none; } .vr-p.speaking::after { animation-delay: 0.6s; }
/* a spotlight over whoever is talking on the stage */
.vr-p.stage::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 230%; height: 520%; z-index: 0; transform: translateX(-50%); background: linear-gradient(to top, rgba(255, 238, 190, 0.34), rgba(255, 238, 190, 0) 92%); clip-path: polygon(38% 100%, 62% 100%, 100% 0, 0 0); opacity: 0; transition: opacity 0.35s; pointer-events: none; } .vr-p.stage.speaking::before { opacity: 1; }
@keyframes vrpop { 0% { transform: translateY(40%) scale(0.2); opacity: 0; } 55% { transform: translateY(-9%) scale(1.1); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes vrbob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-5%) rotate(2deg); } }
@keyframes vrwave { 0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; } 100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; } }
.vr-empty { position: absolute; width: 8.8%; min-width: 40px; aspect-ratio: 1 / 1.05; transform: translate(-50%, -86%) scale(var(--s, 1)); transform-origin: 50% 100%; opacity: 0.55; } .vr-empty::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: 0; height: 62%; background: linear-gradient(#262a40, #12131c); border-radius: 24px 24px 8px 8px; }
.vr-hint { position: absolute; left: 50%; top: 31%; transform: translate(-50%, -50%); z-index: 3; text-align: center; color: rgba(253, 230, 170, 0.85); font-weight: 700; text-shadow: 0 0 14px #000; pointer-events: none; } .vr-hint small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- sharing a screen: the room dims, a projector screen comes down */
.vr-dim { position: absolute; inset: 0; z-index: 20; pointer-events: none; opacity: 0; transition: opacity 0.9s; background: radial-gradient(ellipse at 50% 28%, rgba(6, 9, 22, 0.35), rgba(1, 2, 8, 0.84) 86%); } .sharing .vr-dim { opacity: 1; } .sharing .vr-people { z-index: 22; filter: brightness(0.8); } .vr-people { transition: filter 0.9s; }
.vr-beam { position: absolute; left: 50%; bottom: -4%; width: 46%; height: 80%; z-index: 21; transform: translateX(-50%); pointer-events: none; opacity: 0; mix-blend-mode: screen; transition: opacity 1.2s 0.5s; background: linear-gradient(to top, rgba(190, 215, 255, 0), rgba(190, 215, 255, 0.17)); clip-path: polygon(45% 100%, 55% 100%, 98% 6%, 2% 6%); }
.sharing .vr-beam { opacity: 1; animation: vrflick 4s ease-in-out infinite 1.6s; } @keyframes vrflick { 0%, 100% { filter: brightness(1); } 46% { filter: brightness(1.06); } 50% { filter: brightness(0.78); } 54% { filter: brightness(1.12); } }
.vr-proj { position: absolute; left: 50%; top: 0; width: 62%; z-index: 30; transform: translate(-50%, -122%); transition: transform 1.1s cubic-bezier(0.22, 1.18, 0.36, 1); filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.7)); pointer-events: none; } .sharing .vr-proj { transform: translate(-50%, 3%); pointer-events: auto; }
.vr-cords { position: absolute; left: 7%; right: 7%; top: -80px; height: 80px; } .vr-cords i { position: absolute; top: 0; bottom: 0; width: 2px; background: linear-gradient(#383b49, #8b91a4); } .vr-cords i:first-child { left: 0; } .vr-cords i:last-child { right: 0; }
.vr-roller { position: relative; height: 13px; margin: 0 -2.2%; border-radius: 7px; background: linear-gradient(#d9deea, #7b8294 55%, #484d5c); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.vr-canvas { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0a0c; border: 4px solid #ebe8de; border-top: 0; box-shadow: 0 0 56px rgba(170, 205, 255, 0.36), inset 0 0 30px rgba(0, 0, 0, 0.7); }
.vr-canvas video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; } .vr-canvas video[hidden], .vr-projmsg[hidden] { display: none; }
.vr-projmsg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; padding: 1rem; text-align: center; color: #e8eaf3; background: radial-gradient(ellipse at 50% 40%, #1d2440, #0b0e1c); } .vr-projmsg span { color: rgba(232, 234, 243, 0.65); font-size: 0.88rem; }
.vr-projbar { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 6px; padding: 0.25rem 0.6rem; font-size: 0.78rem; background: rgba(8, 10, 20, 0.82); border-radius: 8px; color: var(--muted); } .vr-by { color: #d9e4ff; font-weight: 600; }
.vr-proj:fullscreen { width: 100vw; height: 100vh; transform: none; background: #000; display: flex; flex-direction: column; justify-content: center; } .vr-proj:fullscreen .vr-cords, .vr-proj:fullscreen .vr-roller { display: none; } .vr-proj:fullscreen .vr-canvas { border: 0; aspect-ratio: auto; flex: 1; }
.vr-ann { position: absolute; left: 50%; bottom: 3%; z-index: 40; max-width: 88%; padding: 0.5rem 0.95rem; text-align: center; font-size: 0.88rem; background: rgba(14, 12, 8, 0.93); border: 1px solid var(--gold-dim); border-radius: 12px; opacity: 0; transform: translate(-50%, 240%); transition: transform 0.5s cubic-bezier(0.3, 0.9, 0.3, 1), opacity 0.4s; pointer-events: none; } .vr-ann.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- the control bar */
.vr-bar { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; margin-top: 0.7rem; padding: 0.6rem 0.7rem; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.vr-vol { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; color: var(--muted); } .vr-vol input { width: 110px; accent-color: var(--gold); }
.vr-hand { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }

/* ---------- the chat */
.vr-chat { position: relative; display: flex; flex-direction: column; height: min(74vh, 660px); overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
@media (max-width: 980px) { .vr-chat { height: 540px; } }
.vr-chat-h { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--line); }
.vr-log { flex: 1; overflow-y: auto; padding: 0.5rem 0.55rem 0.7rem; }
.vr-msg { position: relative; padding: 0.3rem 0.5rem 0.35rem 0.55rem; border-radius: 10px; } .vr-msg:hover { background: var(--panel-2); }
.vr-msg .mh { display: flex; align-items: baseline; gap: 0.5rem; } .vr-msg .mh b { font-size: 0.86rem; color: var(--gold); } .vr-msg.mine .mh b { color: #fff; } .vr-msg .mt { font-size: 0.7rem; color: var(--muted); }
.vr-msg .mx { margin-top: 0.05rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.vr-msg .mgif { display: block; margin: 0.3rem 0 0.1rem; max-width: min(260px, 100%); height: auto; border-radius: 10px; cursor: zoom-in; background: rgba(255, 255, 255, 0.05); }
.vr-msg .mpics { display: grid; gap: 4px; margin: 0.3rem 0 0.1rem; max-width: 290px; } .mpics.p1 { grid-template-columns: 1fr; } .mpics.p2, .mpics.p3, .mpics.p4 { grid-template-columns: 1fr 1fr; } .mpics img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; cursor: zoom-in; background: rgba(255, 255, 255, 0.05); } .mpics.p1 img { height: auto; max-height: 240px; }
.vr-msg .mrx { display: flex; flex-wrap: wrap; gap: 0.25rem; } .vr-msg .mrx:not(:empty) { margin-top: 0.25rem; }
.rxc { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.82rem; cursor: pointer; } .rxc:hover { border-color: var(--gold-dim); } .rxc.on { border-color: var(--gold); background: rgba(253, 210, 31, 0.14); } .rxc b { margin-left: 0.15rem; font-weight: 700; }
.vr-msg .mact { position: absolute; right: 0.35rem; top: -0.8rem; display: none; gap: 0.1rem; padding: 0.1rem 0.2rem; background: #1a1712; border: 1px solid var(--line); border-radius: 8px; } .vr-msg:hover .mact { display: flex; } .mact button { background: none; border: 0; cursor: pointer; padding: 0.1rem 0.28rem; border-radius: 6px; } .mact button:hover { background: var(--panel-2); }
@media (pointer: coarse) { .vr-msg .mact { display: flex; position: static; background: none; border: 0; padding: 0; margin-top: 0.1rem; opacity: 0.75; } }
.vr-msg.del { color: var(--muted); font-size: 0.82rem; }
.vr-comp { padding: 0.5rem 0.6rem; border-top: 1px solid var(--line); }
.vr-prev { display: flex; gap: 0.4rem; flex-wrap: wrap; } .vr-prev:not(:empty) { margin-bottom: 0.4rem; } .vr-prev .it { position: relative; width: 64px; height: 64px; } .vr-prev .it img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; } .vr-prev .x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #000; color: #fff; cursor: pointer; line-height: 1; } .vr-prev .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, 0.5); } .vr-prev .bar i { display: block; height: 100%; background: var(--gold); } .vr-prev .bad { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; text-align: center; background: rgba(120, 0, 0, 0.7); border-radius: 8px; }
.vr-cin { display: flex; gap: 0.4rem; align-items: flex-end; } .vr-cin textarea { flex: 1; min-width: 0; min-height: 38px; max-height: 110px; resize: none; overflow-y: auto; border-radius: 14px; line-height: 1.35; } .vr-tools { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.4rem; }
.vr-ib { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--panel-2); font-size: 1.05rem; cursor: pointer; } .vr-ib:hover { border-color: var(--gold-dim); } .vr-ib[disabled] { opacity: 0.4; cursor: not-allowed; } .vr-ib.gif { font: 800 0.68rem Inter, system-ui, sans-serif; letter-spacing: 0.04em; color: var(--muted); } .vr-ib[hidden] { display: none; }
.vr-pop { position: absolute; left: 0.5rem; right: 0.5rem; bottom: 4.3rem; z-index: 10; max-height: 62%; overflow: auto; background: #16130e; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65); } .vr-pop[hidden] { display: none; }
.vr-emo .quick { display: flex; flex-wrap: wrap; gap: 0.1rem; padding: 0.45rem 0.5rem 0.2rem; } .vr-emo button { background: none; border: 0; padding: 0.15rem 0.25rem; border-radius: 8px; font-size: 1.35rem; cursor: pointer; } .vr-emo button:hover { background: var(--panel-2); } .vr-emo .more { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 0.2rem; padding: 0.2rem 0.5rem 0.5rem; border-top: 1px solid var(--line); }
.vr-gifp .gh { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem; border-bottom: 1px solid var(--line); } .vr-gifp .gifgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-height: 300px; padding: 6px; overflow-y: auto; }
.vr-gifp .gifcell { position: relative; display: block; width: 100%; height: 0; padding-bottom: 100%; overflow: hidden; background: #000; border-radius: 8px; cursor: pointer; } .vr-gifp .gifcell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vr-gifp .gifmore { padding: 0 0 0.4rem; text-align: center; } .vr-gifp .gifmore:empty { display: none; } .vr-gifp .gby { padding: 0.3rem 0.7rem 0.5rem; text-align: right; font-size: 0.7rem; color: var(--muted); } .vr-gifp .pad { padding: 1rem; }
#vrLight { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.88); cursor: zoom-out; } #vrLight img { max-width: 94vw; max-height: 92vh; border-radius: 10px; }

@media (max-width: 700px) { .vr-title { font-size: 1.3rem; } .vr-p { min-width: 34px; } .vr-vol { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .vr-p, .vr-proj, .vr-ann, .vr-bg, .vr-table { transition: none; } .vr-p.join .vr-fig, .vr-p.speaking .vr-fig, .vr-p.speaking::before, .vr-p.speaking::after, .vr-lights i, .sharing .vr-beam { animation: none; } }

/* turning one person up or down (their menu) */
.vr-p { -webkit-touch-callout: none; touch-action: manipulation; }
.vr-uvb { position: absolute; left: 50%; top: -0.9em; transform: translateX(-50%); z-index: 7; padding: 0 5px; font-size: 0.62rem; font-weight: 700; white-space: nowrap; color: #1a1500; background: var(--gold); border-radius: 999px; pointer-events: none; } .vr-uvb:empty { display: none; }
.th-menu .vr-uv { padding: 0.45rem 0.6rem 0.5rem; border-bottom: 1px solid var(--line); min-width: 210px; } .vr-uv label { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.82rem; margin-bottom: 0.3rem; } .vr-uv input[type=range] { width: 100%; accent-color: var(--gold); margin: 0.15rem 0; } .vr-uv .uvb { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.15rem; }
/* the menu on a person (its own class, so the Theater page's "click anywhere closes menus" never touches it) */
.vr-menu { position: fixed; z-index: 70; min-width: 170px; padding: 0.3rem; background: #1a1712; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6); } .vr-menu button:not(.linkbtn) { display: block; width: 100%; padding: 0.5rem 0.7rem; text-align: left; background: none; border: 0; border-radius: 8px; cursor: pointer; } .vr-menu button:not(.linkbtn):hover { background: var(--panel-2); } .vr-menu .danger { color: var(--red); } .vr-menu .hd { margin-bottom: 0.2rem; padding: 0.4rem 0.7rem; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 0.85rem; }
.vr-menu .vr-uv { padding: 0.45rem 0.6rem 0.5rem; border-bottom: 1px solid var(--line); min-width: 210px; }

/* wide mode (like theater mode on YouTube): the room fills the page, the chat sits underneath */
body.vr-wide .col { max-width: none; padding-left: 0.6rem; padding-right: 0.6rem; }
body.vr-wide .vr-main { grid-template-columns: minmax(0, 1fr); }
body.vr-wide .vr-left, body.vr-wide .vr-chat { width: min(100%, calc((100vh - 190px) * 1.6)); margin-left: auto; margin-right: auto; }
body.vr-wide .vr-chat { height: 360px; }

/* theater mode while someone presents: the screen as big as it gets, everybody a black silhouette */
.vr-scene.cinema .vr-dim { background: rgba(0, 0, 0, 0.9); } .vr-scene.cinema .vr-bg { opacity: 0.3; }
.vr-scene.cinema .vr-proj { width: 84%; transform: translate(-50%, 2%); } .vr-scene.cinema .vr-beam { opacity: 0.45; }
.sharing.cinema .vr-people { filter: none; }
.vr-scene.cinema .vr-fig .th-fig { filter: brightness(0); } .vr-scene.cinema .vr-p.muted .th-fig { filter: brightness(0); }
.vr-scene.cinema .vr-p.speaking .th-fig { filter: brightness(0) drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)); }
.vr-scene.cinema .vr-chair { background: #000; box-shadow: none; }
.vr-scene.cinema .vr-name, .vr-scene.cinema .vr-badge, .vr-scene.cinema .vr-stat, .vr-scene.cinema .vr-uvb { display: none; } .vr-scene.cinema .vr-p:hover .vr-name { display: block; font-size: 0.7rem; color: #fff; transform: translateX(-50%) scale(1.5); }
.vr-scene.cinema .vr-p.speaking::before, .vr-scene.cinema .vr-p.speaking::after { border-color: rgba(255, 255, 255, 0.45); }
/* push to talk */
.vr-pttbtn { min-width: 11.5rem; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; } .vr-pttbtn.on { background: var(--gold); color: #1a1500; border-color: var(--gold); box-shadow: 0 0 14px rgba(253, 210, 31, 0.5); }

/* ---------- the Discord bridge */
.vr-dcbadge { position: absolute; top: 8px; left: 8px; background: #5865f2; color: #fff; font-size: 0.7rem; font-weight: 700; border-radius: 999px; padding: 0.1rem 0.55rem; } .vr-cicon { position: relative; }
.vr-dc { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.55rem; margin: 0.5rem 0; padding: 0.45rem 0.7rem; border: 1px solid #5865f2; border-radius: 10px; background: rgba(88, 101, 242, 0.12); font-size: 0.85rem; }
.vr-dc[hidden] { display: none; } .vr-dcl { font-weight: 700; color: #aab1ff; } .vr-dch { font-size: 0.78rem; margin-left: auto; }
.vr-dcp { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 0.5rem 0.1rem 0.15rem; border-radius: 999px; background: rgba(0, 0, 0, 0.25); border: 2px solid transparent; }
.vr-dcp img, .vr-dcp i { width: 22px; height: 22px; border-radius: 50%; background: #5865f2; display: block; object-fit: cover; } .vr-dcp b { font-weight: 600; max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr-dcp.speaking { border-color: #3ba55d; box-shadow: 0 0 8px #3ba55d; } .vr-dcp.muted { opacity: 0.6; }
.vr-p.bridge .th-fig { filter: drop-shadow(0 0 5px #5865f2); } .vr-p.bridge .vr-name { color: #aab1ff; } .vr-p.bridge.speaking .th-fig { filter: drop-shadow(0 0 11px #5865f2) drop-shadow(0 0 3px #5865f2); }

.mpics video { width: 100%; max-height: 260px; border-radius: 8px; display: block; background: #000; } .vr-prev .it video { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
