/* Videoraum: Warteraum, Videostudio (Admin), Vorraum und Bühne */

/* ---------- Kunde: Warteraum ---------- */
.lv-hall { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.lv-hall-stage { position: relative; aspect-ratio: 4 / 3.4; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #1a1f3a 0%, #0a0d18 55%, #05070c 100%); border: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; }
.lv-hall-stage::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 64px); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%); }
.lv-hall-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 170, 110, .22), rgba(155, 143, 255, .12) 45%, transparent 70%); animation: lv-breathe 6s ease-in-out infinite; }
@keyframes lv-breathe { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
.lv-hall-who { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.lv-hall-av { position: relative; width: 132px; height: 132px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, #ffb38a, #9b8fff, #ffb38a); }
.lv-hall-av::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 179, 138, .35); animation: lv-ring 2.8s ease-out infinite; }
@keyframes lv-ring { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.28); opacity: 0; } }
.lv-hall-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #0a0d18; }
.lv-hall-who b { font-size: 20px; margin-top: 10px; }
.lv-hall-who small { color: var(--muted); font-size: 13.5px; }
.lv-hall-txt .h1 { margin: 8px 0 12px; }
.lv-next { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin: 22px 0 14px; }
.lv-next > span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 179, 138, .14); color: #ffb38a; flex: none; }
.lv-next b { display: block; } .lv-next small { color: var(--muted); }
.lv-cd { text-align: center; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-top: 14px; }
.lv-cd small { display: block; color: var(--muted); font-size: 13px; }
.lv-cd b { display: block; font-size: 36px; font-variant-numeric: tabular-nums; margin-top: 4px; }

/* ---------- Admin: Videostudio ---------- */
.lv-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
.lv-invite { grid-column: 1 / -1; }
.lv-day { margin-top: 16px; } .lv-day > small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lv-slot { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; margin-bottom: 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.lv-slot:hover { border-color: var(--line-2); }
.lv-slot.on { border-color: rgba(255, 179, 138, .6); background: linear-gradient(135deg, rgba(255, 179, 138, .14), rgba(255, 179, 138, .03)); }
.lv-slot time { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lv-slot b { display: block; font-size: 15px; } .lv-slot em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-slot i { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 99px; }
.lv-slot i.ok { color: #5fe0a0; background: rgba(95, 224, 160, .12); } .lv-slot i.wait { color: #f2bd3a; background: rgba(242, 189, 58, .12); }
.lv-when { color: #ffb38a; font-weight: 700; margin: 6px 0 14px; }
.lv-dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; margin: 0; }
.lv-dl dt { color: var(--muted); font-size: 13px; } .lv-dl dd { margin: 0; font-size: 14.5px; line-height: 1.5; }
.lv-link code { display: block; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; word-break: break-all; }

/* ---------- Vorraum ---------- */
.lv-lobby { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.lv-pre { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: #05070c; border: 1px solid rgba(255, 255, 255, .08); }
.lv-pre video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.lv-pre-off { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); background: radial-gradient(circle at 50% 40%, #151a30, #05070c 70%); }
.lv-pre-off svg { width: 34px; height: 34px; }
.lv-pre-dock { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; display: flex; gap: 10px; }
.lv-pre-txt .h1 { margin: 8px 0 12px; }
.lv-tips { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--text-2); font-size: 14px; }
.lv-tips li { display: flex; gap: 8px; align-items: center; } .lv-tips svg { width: 16px; height: 16px; color: #5fe0a0; }

/* Runde Steuerknöpfe (Vorraum und Bühne) */
.lv-b { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); background: rgba(22, 26, 40, .72); color: #fff; cursor: pointer; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .2s, transform .15s; }
.lv-b svg { width: 22px; height: 22px; }
.lv-b:hover { background: rgba(40, 46, 68, .85); } .lv-b:active { transform: scale(.94); }
.lv-b.off { background: #f0506a; border-color: transparent; }
.lv-b.act { background: #ffb38a; color: #1b0f0a; border-color: transparent; }
.lv-b.lv-end { width: 68px; border-radius: 28px; background: #e5484d; border-color: transparent; }
.lv-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #ffb38a; color: #1b0f0a; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }

/* ---------- Bühne ---------- */
body.lv-open { overflow: hidden; }
.lvr { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: row; width: 100vw; height: 100dvh; margin: 0; padding: 0; max-width: none; background: #04060b; color: #fff; }
.lv-stage { position: relative; flex: 1; min-width: 0; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #141a32 0%, #070a14 60%, #04060b 100%); }
.lv-remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.lvr.peer .lv-remote { opacity: 1; }
.lv-remote.fit-all { object-fit: contain; background: #05070d; }
.lvr.peer-cam-off .lv-remote { opacity: .15; }
.lv-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; transition: opacity .5s; }
.lvr.peer .lv-wait { opacity: 0; pointer-events: none; }
.lv-wait-av { width: 120px; height: 120px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, #ffb38a, #9b8fff, #ffb38a); display: grid; place-items: center; position: relative; }
.lv-wait-av::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 179, 138, .4); animation: lv-ring 2.6s ease-out infinite; }
.lv-wait-av img, .lv-wait-av b { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #070a14; background: #12172a; display: grid; place-items: center; font-size: 44px; }
.lv-wait > b { font-size: clamp(20px, 3vw, 26px); margin-top: 12px; } .lv-wait small { color: rgba(255, 255, 255, .6); max-width: 360px; }
.lv-self { position: absolute; right: 20px; bottom: 112px; width: clamp(120px, 18vw, 240px); aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); transform: scaleX(-1); background: #0c1020; cursor: grab; touch-action: none; z-index: 3; }
.lvr.sharing .lv-self { transform: none; object-fit: contain; }
.lvr.selfoff .lv-self, .lvr.nocam .lv-self { opacity: .35; }
.lv-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(180deg, rgba(4, 6, 11, .75), transparent); z-index: 4; }
.lv-top b { font-size: 16px; } .lv-top time { margin-left: auto; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .75); }
.lv-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 12.5px; font-weight: 700; }
.lv-live i { width: 8px; height: 8px; border-radius: 50%; background: #f2bd3a; }
.lvr.on .lv-live i { background: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .25); }
.lvr.on .lv-live em { font-style: normal; }
.lv-live em { font-style: normal; }
.lv-dock { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: flex; gap: 12px; padding: 10px; border-radius: 99px; background: rgba(8, 10, 18, .55); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); z-index: 5; }
/* Einblendung (nur Gastgeber steuert, beide sehen sie) */
.lv-ov { position: absolute; left: clamp(18px, 4vw, 48px); bottom: 120px; display: flex; gap: 16px; align-items: stretch; max-width: min(620px, 70%); z-index: 3; animation: lv-in .5s var(--ease-out, ease); text-shadow: 0 2px 20px rgba(0, 0, 0, .7); }
.lv-ov i { width: 4px; border-radius: 4px; background: linear-gradient(#ffb38a, #f2bd3a); box-shadow: 0 0 18px rgba(255, 179, 138, .6); }
.lv-ov b { display: block; font-size: clamp(22px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.lv-ov span { display: block; margin-top: 6px; font-size: clamp(14px, 1.6vw, 18px); color: rgba(255, 255, 255, .85); }
@keyframes lv-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lv-pop { position: absolute; left: 50%; bottom: 100px; translate: -50% 0; width: min(420px, calc(100% - 32px)); display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: rgba(12, 15, 26, .92); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); z-index: 6; }
.lv-allow { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
/* Chat */
.lv-chat { width: 0; overflow: hidden; display: flex; flex-direction: column; background: #0a0d18; border-left: 1px solid rgba(255, 255, 255, .08); transition: width .3s var(--ease-out, ease); }
.lvr.chat .lv-chat { width: 360px; }
.lv-chat header { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 12px; min-width: 360px; }
.lv-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; } .lv-x svg { width: 16px; height: 16px; }
.lv-msgs { flex: 1; overflow-y: auto; padding: 6px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 360px; }
.lv-sys { font-size: 12.5px; color: rgba(255, 255, 255, .45); text-align: center; margin: 6px 0; }
.lv-m { margin: 0; max-width: 86%; padding: 10px 13px; border-radius: 16px 16px 16px 6px; background: rgba(255, 255, 255, .07); font-size: 14.5px; line-height: 1.45; align-self: flex-start; word-wrap: break-word; }
.lv-m small { display: block; font-size: 11px; color: rgba(255, 255, 255, .5); margin-bottom: 3px; }
.lv-m.me { align-self: flex-end; border-radius: 16px 16px 6px 16px; background: linear-gradient(135deg, rgba(255, 179, 138, .28), rgba(255, 179, 138, .14)); }
.lv-send { display: flex; gap: 8px; padding: 14px 18px 18px; min-width: 360px; }
.lv-send .input { flex: 1; }
/* Vollbild: nur Gesprächspartner, Knöpfe bleiben dezent */
.lvr.fs .lv-top { opacity: 0; transition: opacity .3s; } .lvr.fs:hover .lv-top { opacity: 1; }
.lvr.fs .lv-dock { background: rgba(8, 10, 18, .35); }

@media (max-width: 860px) {
  .lv-hall, .lv-lobby, .lv-studio { grid-template-columns: 1fr; }
  .lv-hall-stage { aspect-ratio: 4 / 3; }
  .lv-dl { grid-template-columns: 1fr; gap: 2px; } .lv-dl dd { margin-bottom: 8px; }
}
@media (max-width: 640px) {
  .lv-b { width: 46px; height: 46px; } .lv-b svg { width: 20px; height: 20px; } .lv-b.lv-end { width: 58px; }
  .lv-dock { gap: 8px; padding: 8px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .lv-self { width: 108px; aspect-ratio: 3 / 4; top: 72px; bottom: auto; right: 14px; }
  .lv-top { padding: 14px 16px; }
  .lv-ov { bottom: 96px; max-width: calc(100% - 36px); }
  .lvr.chat .lv-chat { position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 58%; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 22px 22px 0 0; z-index: 7; }
  .lv-chat header, .lv-msgs, .lv-send { min-width: 0; }
}
.lv-studio .eyebrow svg, .lv-hall .eyebrow svg, .lv-lobby .eyebrow svg { width: 14px; height: 14px; }
.lv-next > span svg { width: 20px; height: 20px; }
.lv-slot > span { min-width: 0; }

.lvr [hidden], .lv-pop[hidden], .lv-ov[hidden], .lv-badge[hidden], .lv-pre-off[hidden] { display: none !important; }
@media (max-width: 420px) {
  .lv-b { width: 42px; height: 42px; } .lv-b svg { width: 19px; height: 19px; } .lv-b.lv-end { width: 50px; }
  .lv-dock { gap: 5px; padding: 6px; max-width: calc(100vw - 16px); }
}

/* Eigenes Bild: Rahmen verschiebbar, Größe über die Ecke unten rechts */
.lv-selfw { position: absolute; right: 20px; bottom: 112px; width: clamp(140px, 18vw, 260px); aspect-ratio: 16 / 10; z-index: 3; cursor: grab; touch-action: none; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.lv-selfw .lv-self { position: static; width: 100%; height: 100%; aspect-ratio: auto; right: auto; bottom: auto; top: auto; cursor: inherit; box-shadow: none; }
.lv-rs { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(12, 15, 26, .85); border: 1px solid rgba(255, 255, 255, .3); cursor: nwse-resize; touch-action: none; opacity: 0; transition: opacity .2s; }
.lv-rs::after { content: ''; position: absolute; inset: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; }
.lv-selfw:hover .lv-rs, .lv-selfw:active .lv-rs { opacity: 1; }
@media (hover: none) { .lv-rs { opacity: .9; } }
@media (max-width: 640px) { .lv-selfw { width: 110px; aspect-ratio: 3 / 4; top: 72px; bottom: auto; right: 14px; } }
/* Hintergrundwahl */
.lv-bgpop { width: min(520px, calc(100% - 32px)); }
.lv-bgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lv-bgs button { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .85); font: inherit; font-size: 12px; cursor: pointer; text-align: center; }
.lv-bgs i { display: block; aspect-ratio: 16 / 10; border-radius: 12px; background: #1a1f30 center / cover; border: 2px solid transparent; }
.lv-bgs i.none { background: linear-gradient(135deg, #2a3150, #12172a); }
.lv-bgs i.blur { background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, .35), transparent 60%), linear-gradient(135deg, #3a4266, #1a1f36); filter: blur(1px); }
.lv-bgs button.on i { border-color: #ffb38a; }
.lv-bgs button.wait i { opacity: .5; }
.lv-bgnote { color: rgba(255, 255, 255, .55); font-size: 12px; }
@media (max-width: 640px) { .lv-bgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lv-bgpop { max-height: min(70vh, 640px); overflow-y: auto; }
/* 16.11.: Kundenwahl lesbar (Name groß, E-Mail klein), Einladung mit WhatsApp, Gastname */
.lv-cust{display:grid;gap:6px;max-height:300px;overflow-y:auto;margin-top:10px;padding-right:2px}
.lv-c{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center;width:100%;padding:10px 12px;border-radius:14px;background:var(--surface);border:1px solid var(--line);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease}
.lv-c[hidden]{display:none}
.lv-c.on{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 14%,transparent)}
.lv-c-av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--grad);color:#fff;font-weight:800;font-size:16px}
.lv-c-t{min-width:0;display:grid;gap:2px}.lv-c-t b{font-size:16px;line-height:1.2}
.lv-c-t small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lv-link small{display:block;margin-bottom:6px}
.lv-inv-b{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.lv-inv-b .btn{justify-content:center}
.lv-lab{display:block;font-size:13px;font-weight:700;margin:14px 0 6px}.lv-name{margin-bottom:12px;font-size:17px;height:50px}
/* Einladung oben in der App */
.kx-invite{position:fixed;z-index:9000;left:50%;top:calc(env(safe-area-inset-top) + 10px);translate:-50% 0;width:min(560px,calc(100% - 24px));display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 10px 12px 16px;border-radius:20px;background:linear-gradient(135deg,#1c8f5c,#14734a);color:#fff;box-shadow:0 18px 40px -16px rgba(0,0,0,.55);animation:kxIn .35s ease-out}
@keyframes kxIn{from{transform:translateY(-14px);opacity:0}}
.kx-invite a{display:grid;gap:1px;color:#fff;text-decoration:none}
.kx-invite b{font-size:15.5px}.kx-invite small{font-size:13px;opacity:.9;font-weight:700}
.kx-invite button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:15px;cursor:pointer}
.kx-invite-dot,.lv-invited-dot{width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.7);animation:kxPulse 1.6s infinite}
@keyframes kxPulse{70%{box-shadow:0 0 0 10px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
/* Einladung im Warteraum */
.lv-invited{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;margin:16px 0;padding:16px;border-radius:20px;background:rgba(52,227,154,.12);border:1px solid rgba(52,227,154,.45)}
.lv-invited .lv-invited-dot{background:#2fbf7c;box-shadow:0 0 0 0 rgba(47,191,124,.7)}
.lv-invited b{display:block;font-size:16.5px}.lv-invited small{font-size:13.5px;color:var(--text-2)}
.lv-invited .btn{grid-column:1/-1;margin-top:4px}
.lv-none[hidden]{display:none}.lv-none{padding:8px 4px}
.lv-code{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;opacity:.7}
.lv-invpop{max-height:min(70vh,520px);overflow:auto}.lv-invpop .lv-cust{max-height:none}
.lv-invpop .lv-c.sent{border-color:#2fbf7c;background:rgba(47,191,124,.14)}.lv-invpop .lv-c.sent .lv-c-t small::after{content:' · eingeladen ✓';color:#2fbf7c;font-weight:800}
.lv-invpop .lv-c.wait{opacity:.6}
.lvr.weak .lv-live{background:rgba(255,170,60,.85)!important}
/* Mikrofon-Prüfung im Vorraum, Hinweise im Raum */
.lv-mic{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-top:10px;padding:12px 14px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.lv-mic.bad{background:rgba(255,90,106,.1);border-color:rgba(255,90,106,.45)}
.lv-mic-bars{display:flex;align-items:flex-end;gap:3px;height:22px}
.lv-mic-bars i{width:5px;border-radius:3px;background:var(--line-2);transition:background .1s}
.lv-mic-bars i:nth-child(1){height:6px}.lv-mic-bars i:nth-child(2){height:10px}.lv-mic-bars i:nth-child(3){height:14px}.lv-mic-bars i:nth-child(4){height:18px}.lv-mic-bars i:nth-child(5){height:22px}
.lv-mic-bars i.on{background:#2fbf7c}
.lv-mic.bad .lv-mic-bars i{background:rgba(255,90,106,.5)}
.lv-mic-t b{display:block;font-size:15px}.lv-mic-t small{font-size:12.5px;color:var(--muted)}
.lv-chip{position:absolute;left:50%;translate:-50% 0;top:calc(env(safe-area-inset-top) + 64px);z-index:6;padding:10px 16px;border-radius:99px;border:0;font:inherit;font-weight:800;font-size:14px;color:#fff;background:rgba(255,90,106,.92);box-shadow:0 10px 30px -10px #000;cursor:pointer}
.lv-chip.lv-unmute{background:rgba(47,191,124,.95);top:calc(env(safe-area-inset-top) + 110px)}
.lv-chip[hidden]{display:none!important}
/* Mikrofon-Hilfe direkt im Vorraum, Verlassen-Abfrage im Raum (17.11.) */
.lv-mic .lv-mic-help{grid-column:1/-1;margin:2px 0 0;font-size:13px;line-height:1.55;color:var(--text);background:rgba(255,255,255,.04);border-radius:12px;padding:10px 12px}
.lv-mic .lv-mic-help[hidden]{display:none}
.lv-leavepop{left:50%;right:auto;translate:-50% 0;bottom:calc(env(safe-area-inset-bottom) + 96px);width:min(340px,calc(100% - 32px))}
.lv-leavepop p{margin:6px 0 12px;line-height:1.5}
.lv-chip.lv-nomic{font-size:13px}

/* 18.11.: Bildschirm teilen über eigenen Kanal – Kamera läuft weiter */
.lv-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: none; z-index: 1; }
.lvr.remote-share .lv-screen { display: block; }
.lvr.remote-share .lv-remote { inset: auto; top: 72px; left: 16px; width: clamp(110px, 20vw, 220px); height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 34px rgba(0, 0, 0, .5); background: #05070d; z-index: 3; }
.lv-sharing { position: absolute; top: 70px; left: 50%; translate: -50% 0; z-index: 4; display: none; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(47, 95, 214, .92); color: #fff; font-weight: 700; font-size: 13px; border: 0; }
.lv-sharing svg { width: 16px; height: 16px; }
.lvr.sharing .lv-sharing { display: inline-flex; }
.lvr.sharing .lv-self { transform: scaleX(-1); object-fit: cover; }
.lv-selfw { height: auto; max-height: 46vh; }
.lv-selfw .lv-self { object-fit: cover; }
@media (max-width: 640px) { .lvr.remote-share .lv-remote { width: 96px; top: 64px; left: 12px; } .lv-sharing { top: 60px; font-size: 12px; } .lv-selfw { max-height: 32vh; } }
/* Ganz gezeigtes Bild: Ränder mit weichgezeichneter Kopie füllen statt Schwarz */
.lv-remote-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) brightness(.45) saturate(1.2); opacity: 0; transition: opacity .6s; pointer-events: none; }
.lvr.peer.fit-all:not(.remote-share) .lv-remote-bg { opacity: 1; }
.lv-remote.fit-all { background: transparent; }
@media (max-width: 640px) { .lv-sharing { top: auto; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 70px); } }
