:root{color-scheme:light;--ink:#202020;--muted:#6f7073;--line:#e3e2df;--surface:#fff;--page:#f7f7f5;--accent:#262626;--warm:#f2eee6;--shadow:0 18px 50px #2424240c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--page);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100dvh}.callTop{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,64px);background:#ffffffed;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:4;backdrop-filter:blur(12px)}.brand{display:flex;gap:10px;align-items:center;color:var(--ink);text-decoration:none;font-size:21px;letter-spacing:-.04em}.brand img{width:36px;height:36px;border-radius:12px;object-fit:contain;background:#242321;padding:4px}.topLabel{font-size:11px;font-weight:750;letter-spacing:.17em;color:#85847f}.homeLink{color:#4d4d4d;text-decoration:none;padding:10px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px}.pageWrap{max-width:1100px;margin:0 auto;padding:50px 26px 80px}.intro{text-align:center;max-width:640px;margin:0 auto 36px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.16em;color:#8c8170;text-transform:uppercase}.intro h1,.roomHeader h1{font-size:clamp(34px,5vw,52px);line-height:1.06;letter-spacing:-.055em;margin:13px 0}.intro p{font-size:17px;line-height:1.55;color:var(--muted);max-width:560px;margin:0 auto}.accountCard,.choiceCard,.savedCalls,.callPanel{border:1px solid var(--line);background:var(--surface);border-radius:24px;box-shadow:var(--shadow)}.accountCard{max-width:700px;margin:0 auto 22px;padding:22px 24px}.accountHead{display:flex;align-items:center;gap:13px}.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#242321;color:white;font-size:19px;font-weight:700}.accountHead h2,.choiceCard h2{font-size:18px;letter-spacing:-.025em;margin:0 0 4px}.accountHead p,.choiceCard p{font-size:14px;color:var(--muted);line-height:1.45;margin:0}.authFields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:20px}.authFields label,.signedInControls label,.inviteInput{display:grid;gap:7px;font-size:12px;color:#565656;font-weight:650}.authFields input,.signedInControls input,.inviteInput input,.chatForm input{width:100%;min-width:0;border:1px solid #d9d8d5;border-radius:11px;padding:12px 13px;background:#fff;font:inherit;color:var(--ink);outline:0}.authFields input:focus,.signedInControls input:focus,.inviteInput input:focus,.chatForm input:focus{border-color:#9b8b74;box-shadow:0 0 0 3px #b39b7824}.authActions{grid-column:1/-1;display:flex;gap:9px}.button{min-height:45px;padding:0 17px;border:1px solid var(--line);border-radius:13px;background:#fff;color:#262626;font:inherit;font-size:14px;font-weight:680;cursor:pointer;transition:transform .15s,background .15s,border-color .15s}.button:hover:not(:disabled){transform:translateY(-1px);border-color:#c2c0bb}.button:focus-visible,.controlButton:focus-visible,.reactionRow button:focus-visible{outline:3px solid #b49b743f;outline-offset:2px}.button:disabled{opacity:.45;cursor:not-allowed}.button.primary{background:#222;color:#fff;border-color:#222}.button.primary:hover:not(:disabled){background:#080808}.button.secondary{background:#f3f2f0}.wide{width:100%;min-height:50px;margin-top:17px}.status{font-size:13px;line-height:1.4;color:#62615e;margin:12px 0 0;min-height:0}.status:empty{display:none}.signedInControls{display:flex;align-items:end;gap:15px;margin-top:16px}.signedInControls label{flex:1}.textButton{border:0;background:transparent;color:#656565;text-decoration:underline;cursor:pointer;padding:11px}.callChoice{display:grid;grid-template-columns:1fr 1fr;gap:17px}.choiceCard{padding:24px}.choiceIcon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#262626;color:#fff;margin-bottom:16px}.choiceIcon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.joinIcon{background:var(--warm);color:#333}.choiceCard h2{font-size:20px;margin-bottom:6px}.deviceOptions{display:flex;gap:16px;margin-top:20px;font-size:13px;color:#555}.deviceOptions label{display:flex;align-items:center;gap:7px;cursor:pointer}.deviceOptions input{accent-color:#2a2a2a;width:16px;height:16px}.inviteInput{margin-top:18px}.savedCalls{margin-top:18px;overflow:hidden}.savedCalls>summary{cursor:pointer;list-style:none;padding:17px 21px;font-size:14px;font-weight:700}.savedCalls>summary::-webkit-details-marker{display:none}.savedCalls>summary:after{content:"⌄";float:right;color:#777}.savedCalls[open]>summary:after{content:"⌃"}.savedCalls>summary span{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:99px;background:#f1f0ee;font-size:12px;margin-left:5px}.savedList{border-top:1px solid var(--line);padding:14px 20px;display:grid;gap:10px}.savedList>p{font-size:13px;color:var(--muted);margin:0}.savedRow{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);padding:11px 13px;border-radius:12px}.savedRow strong{font-size:13px}.savedRow span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.savedActions{display:flex;gap:7px}.savedActions .button{min-height:36px;padding:0 10px;font-size:12px}.privacyNote{max-width:760px;margin:22px auto 0;text-align:center;font-size:12px;line-height:1.55;color:#777}.privacyNote a{color:#343434}.callPanel{padding:22px;min-height:calc(100dvh - 150px)}.roomHeader{display:flex;justify-content:space-between;align-items:center;padding:3px 3px 18px}.roomHeader h1{font-size:27px;margin:4px 0 0}.roomMeta{display:flex;align-items:center;gap:15px;color:#676767;font-size:13px}.connectionStatus{display:inline-flex;align-items:center;gap:7px}.connectionStatus i{width:8px;height:8px;border-radius:50%;background:#d1a544;box-shadow:0 0 0 4px #d1a54420}.connectionStatus.connected i{background:#3e9a69;box-shadow:0 0 0 4px #3e9a6920}.connectionStatus.error i{background:#c94949;box-shadow:0 0 0 4px #c9494920}.roomLayout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.videoColumn{min-width:0}.videoGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:min(60vh,600px);align-content:center}.participantTile{position:relative;min-height:225px;aspect-ratio:16/10;border-radius:17px;background:#222;overflow:hidden;color:white}.participantTile video{width:100%;height:100%;object-fit:cover;display:block}.participantTile video.mirror{transform:scaleX(-1)}.participantTile .tileName{position:absolute;left:12px;bottom:11px;background:#111b;color:white;padding:6px 9px;border-radius:999px;font-size:12px;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.participantTile .audioState{position:absolute;right:11px;bottom:12px;font-size:13px}.participantTile .tilePlaceholder{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:7px;color:#ddd}.tilePlaceholder .avatar{margin:auto;width:52px;height:52px;border:2px solid #ffffff32}.tilePlaceholder span:last-child{font-size:13px}.inviteStrip{border:1px solid var(--line);background:#fafaf9;border-radius:15px;padding:13px 14px;display:flex;align-items:center;gap:8px;margin-top:12px}.inviteText{display:grid;gap:3px;flex:1;min-width:0}.inviteText strong{font-size:13px}.inviteText span{font-size:11px;color:var(--muted)}.button.mini{min-height:38px;padding:0 11px;font-size:12px}.shareButton{display:none}.callControls{position:sticky;bottom:12px;z-index:2;margin:14px auto 0;width:max-content;max-width:100%;display:flex;gap:6px;padding:7px;border:1px solid #ffffff1c;border-radius:18px;background:#232323;box-shadow:0 12px 28px #0003}.controlButton{height:59px;min-width:67px;padding:7px 11px;border:1px solid transparent;background:transparent;color:white;border-radius:12px;display:grid;place-items:center;gap:3px;font:inherit;font-size:10px;position:relative;cursor:pointer}.controlButton:hover{background:#ffffff14}.controlButton[aria-pressed=true]{background:#ffffff22}.controlGlyph{font-size:20px;line-height:1;display:grid;place-items:center}.controlGlyph svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.recordGlyph{color:#ff7777;font-size:17px}.controlButton.hangup{background:#b63838;min-width:70px}.controlButton.hangup:hover{background:#9d2828}.unreadCount{position:absolute;right:2px;top:1px;min-width:17px;height:17px;border-radius:99px;display:grid;place-items:center;background:#f0a546;color:#171717;font-size:10px}.callStatus{min-height:18px;text-align:center;color:#6c6c69;font-size:12px}.chatPanel{min-height:400px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;overflow:hidden}.chatPanel>header{padding:16px;border-bottom:1px solid var(--line);display:flex;align-items:start;justify-content:space-between}.chatPanel h2{font-size:16px;margin:0 0 3px}.chatPanel header p{font-size:11px;color:var(--muted);margin:0;line-height:1.45}.closeChat{border:0;background:transparent;font-size:22px;color:#777;cursor:pointer;display:none}.chatMessages{flex:1;min-height:240px;max-height:55vh;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:9px}.chatEmpty{font-size:12px;color:#888;text-align:center;margin:auto}.chatMessage{max-width:92%;padding:9px 11px;background:#f2f1ef;border-radius:12px 12px 12px 3px;align-self:flex-start;overflow-wrap:anywhere}.chatMessage.own{background:#292929;color:white;align-self:flex-end;border-radius:12px 12px 3px 12px}.chatMessage strong{display:block;font-size:10px;opacity:.75;margin-bottom:3px}.chatMessage p{font-size:13px;line-height:1.4;margin:0;white-space:pre-wrap}.chatForm{padding:11px;border-top:1px solid var(--line);display:flex;gap:6px}.chatForm input{padding:10px 11px;font-size:12px}.chatForm button{min-height:40px;padding:0 12px;font-size:12px}.reactionRow{display:flex;justify-content:space-around;padding:10px;border-top:1px solid var(--line)}.reactionRow button{width:39px;height:39px;border:0;background:#f4f3f1;border-radius:50%;font-size:18px;cursor:pointer}.reactionRow button img{width:24px;height:24px;object-fit:contain}.mascotReaction{position:absolute;z-index:1;pointer-events:none;left:50%;top:46%;transform:translate(-50%,-50%);font-size:72px;filter:drop-shadow(0 9px 12px #0005);opacity:0}.mascotReaction.show{animation:reactionFloat 1.6s ease both}.mascotReaction img{width:86px;height:86px;object-fit:contain}@keyframes reactionFloat{0%{opacity:0;transform:translate(-50%,-20%) scale(.4)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.16)}75%{opacity:1;transform:translate(-50%,-65%) scale(1)}100%{opacity:0;transform:translate(-50%,-100%) scale(.86)}}.consentDialog{width:min(410px,calc(100vw - 30px));border:1px solid var(--line);border-radius:23px;padding:28px;background:#fff;color:var(--ink);box-shadow:0 28px 80px #0004;text-align:center}.consentDialog::backdrop{background:#1515157a;backdrop-filter:blur(4px)}.consentMascot img{width:68px;height:68px;object-fit:contain}.consentDialog h2{font-size:23px;letter-spacing:-.04em;margin:10px 0}.consentDialog p{font-size:14px;line-height:1.55;color:var(--muted)}.consentActions{display:flex;gap:9px;margin-top:22px}.consentActions button{flex:1}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:850px){.pageWrap{padding-top:36px}.roomLayout{grid-template-columns:minmax(0,1fr) 270px}.participantTile{min-height:180px}}
@media(max-width:680px){.callTop{height:58px;padding:0 15px}.brand{font-size:18px}.brand img{width:32px;height:32px}.topLabel{font-size:9px}.pageWrap{padding:28px 13px 45px}.intro{margin-bottom:25px}.intro p{font-size:15px}.accountCard{padding:17px;border-radius:19px}.authFields{grid-template-columns:1fr;gap:10px}.authActions{grid-column:auto}.callChoice{grid-template-columns:1fr;gap:12px}.choiceCard{padding:19px;border-radius:20px}.deviceOptions{gap:13px;font-size:12px}.callPanel{padding:13px;border-radius:18px;min-height:calc(100dvh - 90px)}.roomHeader{padding:4px 2px 13px}.roomHeader h1{font-size:22px}.roomMeta{font-size:11px;gap:8px}.roomLayout{display:block}.videoGrid{gap:7px;min-height:42vh}.participantTile{min-height:130px;aspect-ratio:4/3;border-radius:12px}.participantTile .tileName{left:7px;bottom:7px;font-size:10px;padding:5px 7px}.inviteStrip{padding:10px;gap:5px}.inviteText span{font-size:10px}.button.mini{padding:0 9px;min-height:36px}.shareButton{display:block}.callControls{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));width:100%;justify-content:space-around;gap:0;margin-top:12px;border-radius:17px;padding:5px}.controlButton{flex:1;min-width:0;height:60px;padding:6px 3px;font-size:11px;line-height:1.15}.controlGlyph{font-size:19px}.controlButton.hangup{min-width:0;max-width:none}.chatPanel{position:fixed;z-index:8;inset:auto 8px calc(78px + env(safe-area-inset-bottom));height:min(67dvh,540px);box-shadow:0 18px 60px #0003;display:none}.chatPanel.open{display:flex}.chatPanel .closeChat{display:block}.chatMessages{max-height:none}.mascotReaction{position:fixed;top:43%;font-size:62px}.signedInControls{align-items:end}.privacyNote{font-size:11px}.savedRow{align-items:flex-start}.savedActions{flex-direction:column}}
@media(max-width:390px){.topLabel{display:none}.callTop{justify-content:flex-start}.homeLink{margin-left:auto}.controlButton{font-size:10px}.callControls{gap:2px}.controlGlyph svg{width:22px;height:22px}.deviceOptions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

[hidden]{display:none!important}
@media(max-width:680px){#shareScreen{display:none!important}.videoGrid:has(.participantTile:only-child){grid-template-columns:minmax(0,1fr)}}

.demoCard{max-width:760px;margin:0 auto 22px;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(110deg,#fff,#f4f1ea);display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;box-shadow:var(--shadow)}.demoCard>img{width:52px;height:52px;object-fit:contain;border-radius:16px;background:#242321;padding:4px}.demoCard h2{font-size:16px;letter-spacing:-.02em;margin:0 0 4px}.demoCard p{font-size:14px;line-height:1.4;color:var(--muted);margin:0}.demoCard .button{min-height:46px;white-space:nowrap}.demoStatus{min-height:0;margin:0 auto 8px;text-align:center;font-size:13px;color:#5c725f}.demoStatus:empty{display:none}.demoNotice{margin:0 0 12px;padding:11px 14px;border-radius:12px;background:#f5f1e8;color:#5e5547;font-size:14px;line-height:1.4}.mascotDemoTile{background:radial-gradient(circle at 50% 44%,#4d4843,#201f1e 70%)}.mascotDemoTile .tilePlaceholder .avatar{width:88px;height:88px;padding:8px;background:#201f1e;border:2px solid #eee7dc;box-shadow:0 0 0 10px #ffffff10,0 0 32px #efddba44;animation:mascotFloat 2.7s ease-in-out infinite}.mascotDemoTile .tilePlaceholder .avatar img{width:100%;height:100%;object-fit:contain}.mascotDemoTile .tilePlaceholder span:last-child{font-size:15px;color:#fff}.mascotDemoTile .audioState:empty{display:block;right:12px;top:12px;bottom:auto;width:10px;height:10px;border-radius:50%;background:#74c994;box-shadow:0 0 0 5px #74c99428}@keyframes mascotFloat{50%{transform:translateY(-5px)}}@media(max-width:680px){.demoCard{grid-template-columns:44px minmax(0,1fr);gap:10px;padding:14px;border-radius:17px}.demoCard>img{width:44px;height:44px}.demoCard .button{grid-column:1/-1;width:100%}.demoCard p{font-size:14px}.demoNotice{font-size:13px}}

/* Keep video fallbacks clean and make the active call usable on narrow phones. */
.startPanel{scroll-margin-top:84px}.callPanel{scroll-margin-top:84px}.tilePlaceholder{padding:16px}.tilePlaceholder span:last-child{max-width:calc(100% - 24px);margin:0 auto;line-height:1.35}.mascotDemoTile .tilePlaceholder span:last-child{font-size:14px}
@media(max-width:680px){.startPanel,.callPanel{scroll-margin-top:68px}.callPanel{min-height:0;padding:13px}.roomLayout{display:flex;flex-direction:column;gap:12px}.videoColumn{display:flex;flex-direction:column;min-width:0}.videoGrid{grid-template-columns:minmax(0,1fr);gap:10px;min-height:0;align-content:start}.participantTile{height:clamp(190px,31dvh,250px);min-height:0;aspect-ratio:auto}.tilePlaceholder{padding:20px}.mascotDemoTile .tilePlaceholder .avatar{width:78px;height:78px}.inviteStrip{flex-wrap:wrap}.inviteText{flex-basis:100%}.roomMeta{flex-wrap:wrap;justify-content:flex-end}.callControls{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));z-index:5}.callStatus{padding:4px 2px 8px}}
@media(max-width:380px){.participantTile{height:clamp(176px,29dvh,220px)}.roomHeader{align-items:flex-start;gap:8px}.roomMeta{gap:6px;font-size:10px}.controlButton{font-size:10px}.callControls{padding:4px;gap:1px}.controlButton{padding:5px 2px}}

/* Mobile live-chat mode keeps the real call tiles and call controls inside the sheet. */
@media(max-width:680px){.chatPanel{inset:auto 8px calc(8px + env(safe-area-inset-bottom));height:min(76dvh,650px);min-height:min(500px,calc(100dvh - 92px));border-radius:22px;box-shadow:0 18px 60px #0004}.chatPanel>header{order:0;padding:11px 14px;align-items:center}.chatPanel h2{font-size:15px}.chatPanel header p{font-size:12px}.chatVideoDock{order:1;display:block;padding:8px 10px 5px;border-bottom:1px solid var(--line);background:#fafaf9}.chatVideoLabel{display:flex;align-items:center;gap:7px;margin:0 0 7px 2px;font-size:12px;font-weight:650}.chatVideoLabel>span:last-child{margin-left:auto;color:var(--muted);font-weight:400;font-size:11px}.liveDot{width:8px;height:8px;border-radius:50%;background:#3e9a69;box-shadow:0 0 0 4px #3e9a691c}.chatVideoDock #videoGrid{display:flex;gap:7px;min-height:0;max-height:104px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.chatVideoDock .participantTile{flex:0 0 min(42vw,168px);height:88px;min-height:0;aspect-ratio:auto;border-radius:12px;scroll-snap-align:start}.chatVideoDock .tilePlaceholder{padding:5px;gap:3px}.chatVideoDock .tilePlaceholder .avatar{width:34px;height:34px;font-size:15px}.chatVideoDock .mascotDemoTile .tilePlaceholder .avatar{width:39px;height:39px;padding:3px;box-shadow:none;animation:none}.chatVideoDock .tilePlaceholder span:last-child{display:none}.chatVideoDock .participantTile .tileName{left:6px;bottom:5px;padding:3px 7px;font-size:10px}.chatVideoDock .participantTile .audioState{right:6px;bottom:6px;font-size:10px}.chatControlsDock{order:2;padding:5px 9px;background:#fff;border-bottom:1px solid var(--line)}.chatControlsDock .callControls{position:static;width:100%;max-width:none;margin:0;padding:3px;gap:3px;border-radius:14px;box-shadow:none}.chatControlsDock .controlButton{height:48px;min-width:0;flex:1;padding:4px 2px;font-size:10px}.chatControlsDock .controlGlyph{font-size:17px}.chatControlsDock .controlGlyph svg{width:20px;height:20px}.chatControlsDock .controlButton.hangup{min-width:0}.chatPanel .chatMessages{order:3;flex:1;min-height:74px;max-height:none;padding:9px 12px;overscroll-behavior:contain}.chatPanel .chatEmpty{font-size:13px}.chatPanel .chatMessage{padding:8px 10px}.chatPanel .chatMessage p{font-size:14px}.chatPanel .chatForm{order:4;padding:8px 10px;gap:7px;align-items:center}.chatPanel .chatForm input{min-width:0;min-height:43px;font-size:14px}.chatPanel .chatForm button{min-height:43px;font-size:13px}.chatPanel .reactionRow{order:5;padding:7px 8px;flex:0 0 auto}.chatPanel .reactionRow button{width:35px;height:35px;font-size:17px}}
@media(max-width:380px){.chatPanel{inset:auto 5px calc(5px + env(safe-area-inset-bottom));height:min(78dvh,620px);min-height:min(470px,calc(100dvh - 82px))}.chatVideoDock .participantTile{flex-basis:40vw;height:80px}.chatControlsDock .controlButton{font-size:9px}.chatPanel .chatMessages{min-height:60px}}

/* Let phone call geometry follow the available viewport instead of pinning controls over video. */
@media(max-width:680px){
 .videoColumn>.callControls{position:relative;inset:auto;bottom:auto;margin:12px auto 0}
 #videoGrid:has(.participantTile:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
 #videoGrid:has(.participantTile:nth-child(2)) .participantTile{height:auto;min-height:0;aspect-ratio:4/3}
 #videoGrid:has(.participantTile:nth-child(3)) .participantTile{aspect-ratio:1/1}
 #videoGrid:has(.participantTile:only-child) .participantTile{height:clamp(190px,38dvh,330px);min-height:0;aspect-ratio:16/10}
 .chatPanel{height:min(64dvh,560px);min-height:min(370px,calc(100dvh - 116px));max-height:calc(100dvh - 90px - env(safe-area-inset-bottom))}
 .chatPanel .chatEmpty{margin:6px 0;text-align:left;align-self:flex-start;line-height:1.4}
}
@media(max-width:680px) and (max-height:700px){
 .callPanel{padding:10px}
 .roomHeader{padding-bottom:8px}
 .demoNotice{margin-bottom:8px;padding:8px 10px}
 #videoGrid:has(.participantTile:only-child) .participantTile{height:clamp(165px,34dvh,240px)}
 .videoColumn>.callControls{margin-top:8px}
 .chatPanel{height:min(70dvh,500px);min-height:min(340px,calc(100dvh - 90px));}
 .chatPanel>header{padding:8px 11px}
 .chatVideoDock{padding:6px 8px 4px}
 .chatVideoDock .participantTile{height:68px}
 .chatControlsDock .controlButton{height:42px}
 .chatPanel .chatForm{padding:6px 8px}
 .chatPanel .reactionRow{padding:5px 7px}
 .chatPanel .reactionRow button{width:32px;height:32px}
}

/* BOLO Video Calls 0.59.2: keep the live action first and make preview clearly optional. */
.demoPreview{max-width:760px;margin:16px auto 0;border:1px solid var(--line);border-radius:17px;background:#fff;overflow:hidden}
.demoPreview>summary{list-style:none;cursor:pointer;padding:15px 18px;color:#57534c;font-size:13px;font-weight:650}
.demoPreview>summary::-webkit-details-marker{display:none}
.demoPreview>summary::after{content:"＋";float:right;color:#777}
.demoPreview[open]>summary::after{content:"−"}
.demoPreview .demoCard{margin:0;padding:16px 18px;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:#fbfaf8}
.demoPreview .demoStatus{padding:0 16px 10px}
#callPanel:not([hidden]){position:fixed;inset:68px 0 0;z-index:3;max-width:1100px;width:calc(100% - 36px);height:calc(100dvh - 80px);min-height:0;margin:0 auto 12px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface)}
#callPanel:not([hidden]) .roomLayout{min-height:0}
@media(max-width:680px){
 .demoPreview{margin-top:13px;border-radius:15px}
 .demoPreview>summary{padding:14px 15px;font-size:13px}
 .demoPreview .demoCard{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:13px}
 .demoPreview .demoCard>img{width:42px;height:42px}
 .demoPreview .demoCard .button{grid-column:1/-1;width:100%}
 #callPanel:not([hidden]){inset:58px 0 0;width:100%;height:calc(100dvh - 58px);margin:0;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none}
 #callPanel:not([hidden]) .roomHeader{position:sticky;top:-10px;z-index:2;margin:-10px -12px 0;padding:12px 13px 9px;background:#ffffffed;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
 #callPanel:not([hidden]) .roomHeader h1{font-size:20px}
 #callPanel:not([hidden]) .videoGrid:has(.participantTile:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
 #callPanel:not([hidden]) .participantTile{height:clamp(170px,32dvh,300px)}
 #callPanel:not([hidden]) .videoGrid:has(.participantTile:nth-child(3)) .participantTile{height:auto;aspect-ratio:1/1}
 #callPanel:not([hidden]) .callControls{flex-wrap:nowrap}
 #callPanel:not([hidden]) .controlButton{min-width:0}
 .chatPanel{inset:auto 7px calc(7px + env(safe-area-inset-bottom));height:min(70dvh,560px);min-height:min(300px,calc(100dvh - 100px));max-height:calc(100dvh - 74px - env(safe-area-inset-bottom))}
 .chatVideoDock .participantTile{flex-basis:min(42vw,168px);height:clamp(62px,10dvh,88px)}
 .chatVideoDock .tilePlaceholder span:last-child{display:none}
}
@media(max-width:380px){#callPanel:not([hidden]){padding-left:8px;padding-right:8px}#callPanel:not([hidden]) .roomHeader{margin-left:-8px;margin-right:-8px;padding-left:9px;padding-right:9px}.chatPanel{inset:auto 4px calc(4px + env(safe-area-inset-bottom));height:min(72dvh,520px);min-height:min(280px,calc(100dvh - 88px))}}
@media(max-width:680px) and (max-height:560px){#callPanel:not([hidden]) .participantTile{height:clamp(120px,31dvh,190px)}.chatPanel{height:min(80dvh,440px);min-height:min(230px,calc(100dvh - 74px))}.chatPanel .chatVideoDock{padding:4px 7px}.chatVideoDock .participantTile{height:54px}.chatControlsDock .controlButton{height:38px}.chatPanel .reactionRow{padding:3px 6px}.chatPanel .reactionRow button{width:29px;height:29px}}


/* Tell callers when video uses their internet connection. */
.networkNote{max-width:700px;margin:16px auto;padding:12px 15px;border:1px solid #e4e1dc;border-radius:14px;background:#f4f3f1;color:#55524c;font-size:14px;line-height:1.45;text-align:center}
.networkNote strong{color:#272727}
.activeNetworkNote{max-width:none;margin:0 0 12px;padding:9px 12px;font-size:13px}
@media(max-width:680px){.networkNote{margin:13px auto;padding:11px 12px;font-size:13px}.activeNetworkNote{margin:0 -1px 8px;padding:8px 10px;font-size:12px}}
