:root{color-scheme:dark;--bg:#101016;--panel:#17171f;--elevated:#20202b;--line:#2b2b38;--muted:#9a9aa9;--text:#eeeef5;--purple:#9c80ff;--primary:#8762f4;--green:#8bdfb0;--red:#ff8c99;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--purple);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #9475fa;outline-offset:1px}[hidden]{display:none!important}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.app{min-height:100dvh;display:flex;flex-direction:column}.topbar{height:88px;display:flex;align-items:center;padding:0 32px;gap:32px;border-bottom:1px solid var(--line);flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:760;letter-spacing:-1.4px}.brand-dot{color:var(--purple)}.room-heading{display:flex;align-items:center;gap:22px}.header-separator{height:30px;width:1px;background:var(--line)}.room-heading>div{display:flex;flex-direction:column;gap:5px}#room-code{font-size:14px;font-weight:600;letter-spacing:.3px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}.purple{color:var(--purple)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.button,.icon-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);background:var(--elevated);border-radius:10px;min-height:43px;padding:10px 17px;font-size:14px;font-weight:600;transition:background .15s,transform .15s}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#30303e}.primary{background:var(--primary);border-color:var(--primary);color:white;box-shadow:0 4px 20px #6b47cf18}.primary:hover:not(:disabled){background:#9976ff;border-color:#9976ff}.icon-button{padding:10px;width:42px;background:transparent}.small{min-height:39px}.connection{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-right:12px}.connection::before{content:"";width:6px;height:6px;background:var(--muted);border-radius:50%}.connection.online{color:var(--green)}.connection.online::before{background:var(--green)}.tag{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--line);font-size:11px;border-radius:5px;color:var(--muted)}.tag svg{width:12px;height:12px}.room-layout{display:flex;flex:1;min-height:0}.workspace{padding:26px 30px 22px;flex:1;min-width:0;display:flex;flex-direction:column;min-height:calc(100dvh - 88px)}.workspace-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;gap:10px}.section-label{display:flex;align-items:center;gap:8px;letter-spacing:1.4px;font-size:11px;font-weight:650;color:var(--muted)}.status-dot{width:5px;height:5px;border-radius:50%;background:var(--purple)}.text-button{border:0;background:none;padding:3px 0;min-height:28px;font-size:12px;color:var(--muted);font-weight:400}.text-button svg{width:15px;height:15px}.text-button:hover{color:var(--text)}.stage{position:relative;border:1px solid var(--line);border-radius:14px;background:#14141d;flex:1;min-height:370px;display:flex;align-items:center;justify-content:center;overflow:hidden}.empty-stage{text-align:center;padding:35px 20px}.empty-icon{width:80px;height:80px;display:grid;place-items:center;margin:0 auto 30px;border:1px solid #49405f;background:#242032;border-radius:24px;transform:rotate(-7deg)}.empty-icon svg{width:35px;height:35px;color:#b29aff;transform:rotate(7deg)}h1{font-size:clamp(27px,3vw,40px);line-height:1.15;letter-spacing:-1.4px;margin:14px 0}p{line-height:1.65}.empty-stage p{color:var(--muted);font-size:14px;margin:16px 0 25px}.empty-hint{display:block;margin-top:14px;font-size:11px;color:#858595}.room-bottom{display:flex;align-items:center;justify-content:space-between;padding:14px 2px 23px;gap:12px}.room-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#898997}.room-meta svg{width:13px;height:13px}.elapsed{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.dock{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;background:#1b1b25;border:1px solid var(--line);border-radius:15px;align-self:center;box-shadow:0 10px 30px #0002}.dock-button{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:75px;padding:9px 12px;background:none;border:0;border-radius:8px;font-size:11px;color:#c8c8d4;min-height:62px}.dock-button svg{width:22px;height:22px}.dock-button:hover:not(:disabled){background:#2d2b3a}.dock-button.active{color:#bfaaff;background:#322747}.screen-control{background:#8863ed;color:white;min-width:130px}.screen-control:hover:not(:disabled){background:#9878f3}.leave-control{color:var(--red);background:#36212a;min-width:64px}.dock-divider{height:28px;width:1px;background:var(--line);margin:0 5px}.sidebar{width:330px;flex-shrink:0;background:#14141b;border-left:1px solid var(--line);display:flex;flex-direction:column;max-height:calc(100dvh - 88px)}.people-section{padding:25px 22px 18px;border-bottom:1px solid var(--line);max-height:35%;overflow:auto;min-height:135px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.sidebar-heading h2{display:flex;align-items:center;gap:9px;font-size:14px;margin:0;font-weight:600}.sidebar-heading h2 svg{color:#9292a6;width:17px;height:17px}.count{font-size:11px;background:#292735;color:#c0afd9;padding:3px 7px;border-radius:6px}.person{display:flex;align-items:center;gap:10px;margin:12px 0}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;font-weight:650;font-size:13px;background:#373044;color:#c7afff;flex-shrink:0}.person-name{min-width:0;flex:1;font-size:13px}.person-name strong{font-weight:550;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-name span{color:var(--muted);font-size:11px;display:block;margin-top:3px}.person-state{display:flex;gap:6px;color:#838391}.person-state svg{width:15px;height:15px}.person-state .live{color:var(--green)}.kick-button{border:0;color:var(--muted);background:transparent;padding:4px;font-size:11px}.kick-button:hover{color:var(--red)}.chat-section{padding:24px 22px 13px;display:flex;flex-direction:column;flex:1;min-height:180px}.small-muted{font-size:11px;color:#858593}.messages{flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#363340 transparent;min-height:70px;padding:0 0 12px;overflow-wrap:anywhere}.chat-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);min-height:130px}.chat-empty-icon{width:42px;height:42px;display:grid;place-items:center;background:#20202b;border:1px solid #2b2b3a;border-radius:13px;margin-bottom:16px;color:#777589}.chat-empty strong{font-size:13px;font-weight:500;color:#b1afc0}.chat-empty p{font-size:12px;margin:5px 0}.chat-form{display:flex;align-items:flex-end;gap:8px;border:1px solid #34323f;background:#1d1d28;border-radius:11px;padding:7px}.chat-form:focus-within{border-color:var(--purple)}textarea{resize:none;max-height:110px;flex:1;min-width:0;background:none;border:0;color:var(--text);padding:8px 4px;font-size:13px;line-height:1.5}textarea:focus{outline:none}.send-button{background:#8060dd;border:0;color:white;width:34px;height:34px;display:grid;place-items:center;border-radius:8px;flex-shrink:0}.send-button svg{width:16px;height:16px}.chat-footnote{font-size:10px;color:#898694;text-align:center;margin:9px 0 0}.sidebar-footer{border-top:1px solid var(--line);padding:16px 22px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#898693}.sidebar-footer strong{color:#bab4c9}.tiny-logo{font-size:20px;font-weight:750;color:#8f7eb0;letter-spacing:-1px}.message{margin:0 0 18px}.message-head{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-size:12px}.message-head strong{color:#c8b6f7;font-weight:600}.message-head time{font-size:10px;color:#82808e}.message p{margin:0;font-size:13px;white-space:pre-wrap;color:#d6d2df;line-height:1.65}.message.own p{padding:9px 11px;background:#262032;border-radius:0 10px 10px 10px}.system-message{font-size:11px;color:#9691a3;text-align:center;margin:12px 0}.muted{color:var(--muted);font-size:14px}.mobile-only{display:none}dialog{background:#1b1b26;border:1px solid #393542;color:var(--text);padding:28px;border-radius:20px;width:min(440px,calc(100vw - 32px));box-shadow:0 35px 120px #0007;max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#090911be;backdrop-filter:blur(7px)}dialog h2{font-size:21px;letter-spacing:-.5px;margin:0}dialog p{font-size:14px}dialog label{display:block;margin:20px 0 8px;font-size:13px;font-weight:550;color:#d1cbdc}input,select{display:block;border:1px solid #3a3648;border-radius:9px;background:#13131c;color:var(--text);padding:12px 13px;width:100%;font-size:14px;min-height:46px}input::placeholder,textarea::placeholder{color:#878192}.entry-dialog{padding:34px 36px}.entry-brand{display:flex;align-items:center;gap:11px;font-size:32px;font-weight:750;letter-spacing:-1.3px;margin-bottom:35px}.entry-dialog h1{font-size:35px;margin:10px 0 12px}.entry-dialog>p{color:var(--muted);margin:0 0 20px}.optional{font-weight:400;color:#898193;font-size:12px;margin-left:4px}.full{width:100%}.entry-dialog .full{margin-top:2px;min-height:47px;justify-content:space-between}.form-error{color:var(--red);font-size:13px;line-height:1.5;min-height:0;margin:14px 0}.form-error:empty{margin:18px 0 0}.entry-dialog .entry-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;margin:23px 0 0;line-height:1.5;color:#aaa1b7}.entry-note svg{width:14px;height:14px}.text-link{color:var(--purple);font-size:13px;display:block;text-align:center;margin-top:20px}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-title .icon-button{margin:-10px -10px -10px 0}.field-note{font-size:12px;color:var(--muted);margin:8px 0 0}hr{border:0;border-top:1px solid var(--line);margin:23px 0}.danger{background:#40252e;color:#ffacb6;border-color:#633542}.danger:hover:not(:disabled){background:#5c303d}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:26px}#password-form .button{margin-top:12px}.form-feedback{color:var(--green);font-size:13px;min-height:0}.help-step{display:flex;gap:16px;margin-top:24px}.help-step>span{color:var(--purple);font-size:12px;margin-top:3px}.help-step h3{font-size:15px;margin:0}.help-step p{color:var(--muted);font-size:13px;margin:7px 0 0}.toasts{position:fixed;bottom:25px;left:24px;display:flex;flex-direction:column;gap:10px;z-index:100;pointer-events:none;max-width:min(430px,calc(100vw - 48px))}.toast{background:#30283f;color:#eee6ff;border:1px solid #57446e;border-radius:10px;padding:14px 18px;box-shadow:0 8px 25px #0005;font-size:13px;line-height:1.5;animation:enter .2s ease}.toast.error{background:#3b2630;border-color:#714051;color:#ffd8df}.screen-grid{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:12px;padding:12px;align-self:stretch;align-content:center}.media-card{position:relative;background:#09090e;border:1px solid #373044;border-radius:10px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.media-card video{width:100%;max-height:60dvh;aspect-ratio:16/9;object-fit:contain;display:block;background:#09090e}.media-caption{display:flex;align-items:center;gap:8px;padding:9px 11px;background:#1c1b25;font-size:12px;color:#c9bed9}.media-caption span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.media-caption button{background:none;border:0;padding:0;display:flex;color:#baaccd}.media-caption svg{width:16px;height:16px}.camera-grid{display:flex;overflow:auto;gap:10px;padding-top:14px}.camera-grid .media-card{width:170px;flex-shrink:0}.camera-grid video{aspect-ratio:16/10;object-fit:cover;max-height:125px}.camera-grid .local video{transform:scaleX(-1)}.camera-grid .media-caption{font-size:11px;padding:7px 9px}.audio-unlock{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);background:var(--primary);z-index:3;white-space:nowrap}.media-card:fullscreen{background:#09090e;display:flex;justify-content:center}.media-card:fullscreen video{max-height:calc(100dvh - 40px);aspect-ratio:auto;flex:1;min-height:0}.media-card:fullscreen .media-caption{flex-shrink:0}.chat-unread{box-shadow:0 0 0 2px var(--purple)}@keyframes enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1400px){.workspace{padding:28px 40px 26px}.sidebar{width:350px}.stage{min-height:430px}.empty-stage h1{font-size:42px}}@media(max-width:1100px){.topbar{padding:0 20px;gap:22px}.room-heading{gap:16px}.tag{display:none}.connection{display:none}.workspace{padding:20px 18px}.sidebar{width:290px}.people-section,.chat-section{padding-left:18px;padding-right:18px}.dock{padding:8px;gap:2px}.dock-button{min-width:62px;padding:9px}.screen-control{min-width:112px}.dock-divider{margin:0 3px}}@media(max-width:850px){.topbar{height:75px;padding:0 18px;gap:18px}.brand{font-size:25px}.brand img{width:30px;height:30px}.room-heading .eyebrow{display:none}#room-code{font-size:12px}.header-actions{gap:5px}.header-actions .button{padding:9px}.header-actions .button span{display:none}.workspace{min-height:calc(100dvh - 75px)}.sidebar{position:fixed;right:0;top:75px;bottom:0;width:340px;max-width:100vw;max-height:none;z-index:10;box-shadow:-20px 0 50px #0006;transform:translateX(105%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.mobile-only{display:inline-flex}.stage{min-height:350px}.room-heading{gap:15px}.sidebar .people-section{min-height:135px}}@media(max-width:520px){.topbar{height:68px;padding:0 12px;gap:12px}.brand{font-size:23px;gap:7px}.brand img{width:28px;height:28px}.header-separator{display:none}.room-heading{gap:0}#room-code{font-size:10px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{width:35px;padding:7px}.header-actions .button{min-height:36px}.workspace{padding:15px 12px 16px;min-height:calc(100dvh - 68px)}.workspace-top{margin-bottom:12px}.section-label{font-size:9px;letter-spacing:1px}.text-button{font-size:10px;gap:5px}.stage{min-height:360px}.empty-stage{padding:25px 12px}.empty-stage .eyebrow{font-size:9px;letter-spacing:1.2px}.empty-stage h1{font-size:29px}.empty-stage p{font-size:13px}.empty-icon{width:64px;height:64px;border-radius:20px;margin-bottom:25px}.empty-icon svg{width:29px;height:29px}.empty-hint{font-size:10px}.dock{padding:7px 4px;gap:0;width:100%;justify-content:space-around;border-radius:12px}.dock-divider{display:none}.dock-button{min-width:0;padding:8px 6px;font-size:9px;gap:7px;min-height:55px}.dock-button svg{width:21px;height:21px}.screen-control{min-width:85px}.leave-control{min-width:42px}.room-bottom{padding:12px 0 18px}.room-meta{font-size:9px}.sidebar{top:68px}.entry-dialog{padding:27px 25px}.entry-brand{margin-bottom:25px}.entry-dialog h1{font-size:31px}.entry-dialog .entry-note{font-size:10px}.camera-grid .media-card{width:140px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}@media(min-width:851px) and (max-height:750px){.workspace{padding-top:16px;padding-bottom:14px}.stage{min-height:280px}.empty-icon{width:60px;height:60px;margin-bottom:20px}.empty-stage{padding:20px}.room-bottom{padding-bottom:14px}}
@media(max-width:380px){.room-heading{display:none}}
@media(max-width:850px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}
.connection-help{margin-top:24px;padding:18px;background:#242030;border:1px solid #433750;border-radius:12px}.connection-help h3{margin:0 0 10px;font-size:16px;color:#d6c3ff}.connection-help p{font-size:14px;color:#bcb4c9;line-height:1.7;margin:10px 0 0}

/* Identidade MISSA — mesma marca e paleta do site original. */
:root{--bg:#080709;--panel:#111013;--elevated:#1b181d;--line:#342d33;--muted:#aca3a8;--text:#e8e2d9;--purple:#ea5572;--primary:#b20f2e;--red:#f6758e;font-family:Arial,Helvetica,sans-serif}
body{background:#080709}.topbar{height:92px;border-color:#30282e;background:#080709}.brand{width:185px;height:78px;overflow:hidden;flex-shrink:0}.brand img{width:100%;height:auto;object-fit:contain}.room-heading .eyebrow{color:#a79ba3}.eyebrow,.section-label{letter-spacing:2px}.button,.icon-button,input,select,.chat-form,.send-button{border-radius:2px}.button{font-weight:500;letter-spacing:.04em}.primary,.screen-control{background:#b20f2e;border-color:#c22040}.primary:hover:not(:disabled),.screen-control:hover:not(:disabled){background:#cd193b;border-color:#de3657}.primary{box-shadow:none}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#30242b}.primary:hover:not(:disabled){background:#cd193b}.room-layout{background:#080709}.workspace{min-height:calc(100dvh - 92px)}.stage{border-color:#3a2b32;border-radius:2px;background:radial-gradient(ellipse at 50% 40%,#29101a 0%,#110b0f 44%,#09080a 78%)}.missa-emblem{display:block;width:min(100%,620px);height:auto;margin:0 auto 7px;filter:drop-shadow(0 14px 18px #0008)}.empty-stage{width:100%;padding:15px 24px 30px}.empty-stage h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3.3vw,47px);letter-spacing:-1px;line-height:1.12;margin:16px auto;max-width:640px}.empty-stage p{font-size:14px;color:#b8acb3;margin:14px 0 23px}.empty-stage .eyebrow{font-size:10px;color:#ed7590}.empty-hint{color:#ad9da6}.dock{border-radius:2px;background:#141015;border-color:#3b2b33;box-shadow:none}.dock-button{border-radius:2px}.dock-button:hover:not(:disabled){background:#35232c}.dock-button.active{color:#ffc7d1;background:#5b1d2c}.leave-control{background:#291018;color:#fa8197}.sidebar{background:#0d0b0e;max-height:calc(100dvh - 92px);border-color:#30262d}.people-section,.sidebar-footer{border-color:#30262d}.sidebar-heading h2{font-weight:500;letter-spacing:.04em}.avatar{background:#291b23;color:#e4c6cf;border:1px solid #56313d;border-radius:2px}.count{background:#301b25;color:#f0b7c5;border-radius:0}.person-name strong{color:#e8e2d9}.person-name span{color:#b1a0aa}.chat-empty-icon{border-radius:0;background:#191017;border-color:#3c2935;color:#b68d9d}.chat-empty strong{color:#c5b5be}.chat-empty p,.small-muted,.chat-footnote,.sidebar-footer{color:#a18e9a}.chat-form{background:#181016;border-color:#44303b}.send-button{background:#b20f2e}.tiny-logo{font-family:Georgia,serif;color:#e3c7ce;font-weight:400}.sidebar-footer{font-size:9px;letter-spacing:1.7px}.sidebar-footer strong{color:#ead6dc}.message-head strong{color:#ed9bac}.message.own p{background:#2d1420;border-radius:0;border-left:1px solid #8e2c48}.message p{color:#e0cfd7}.message-head time{color:#a38c98}.system-message{color:#b395a4}.connection.online{color:#a9c5b0}.connection.online::before{background:#a9c5b0}.room-meta,.elapsed{color:#a2919c}.status-dot{background:#ca2449}.tag{border-radius:0}.media-card{border-radius:2px;border-color:#4f2d3d}.media-caption{background:#21121a;color:#ead2dd}.media-caption button{color:#ddadb9}.toast{border-radius:2px;background:#2a1420;border-color:#743146;color:#f2dce5}.toast.error{background:#351421;border-color:#87354e}.audio-unlock{background:#b20f2e}.connection-help{background:#25131c;border-color:#593043;border-radius:2px}.connection-help h3{color:#f1c6d3}.connection-help p{color:#c9b4bf}.help-step>span,.text-link{color:#ee829b}.danger{background:#381320;border-color:#763247;color:#ffbbc9}.danger:hover:not(:disabled){background:#581c30}dialog{background:#100b0f;border-color:#58333f;border-radius:2px;box-shadow:0 35px 130px #000b}dialog::backdrop{background:#070408d9;backdrop-filter:blur(9px)}dialog h2{font-family:Georgia,serif;font-weight:400;font-size:25px}dialog label{color:#d5bbc7}.entry-dialog{width:min(490px,calc(100vw - 32px));padding:24px 36px 30px;border-top:2px solid #b20f2e}.entry-brand{display:block;margin:0 -12px 14px}.entry-brand img{width:100%;height:auto;display:block}.entry-dialog h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-1px;font-size:35px;margin-top:13px}.entry-dialog .eyebrow{font-size:10px}.entry-dialog>p{color:#bda5b1}.entry-dialog .entry-note{color:#bda1b0}.entry-dialog .full{justify-content:space-between}.field-note{color:#b29ca9}input,select{background:#0c080b;border-color:#4c333f}input::placeholder,textarea::placeholder{color:#a78c9c}.form-feedback{color:#b9d3bd}
@media(min-width:1400px){.empty-stage h1{font-size:47px}.missa-emblem{width:min(85%,710px)}}
@media(max-width:1100px){.brand{width:145px;height:70px}.missa-emblem{max-width:500px}}
@media(max-width:850px){.topbar{height:75px}.brand{width:135px;height:68px}.workspace{min-height:calc(100dvh - 75px)}.sidebar{top:75px;max-height:none}.missa-emblem{width:min(95%,530px)}}
@media(max-width:520px){.topbar{height:68px;gap:9px}.brand{width:110px;height:60px}.brand img{width:100%;height:auto}.room-heading{display:none}.workspace{min-height:calc(100dvh - 68px)}.sidebar{top:68px}.empty-stage{padding:26px 15px}.missa-emblem{width:100%;margin-bottom:19px}.empty-stage h1{font-size:33px;max-width:300px;line-height:1.1}.empty-stage .eyebrow{font-size:8px;letter-spacing:1.6px}.entry-dialog{padding:16px 24px 26px}.entry-brand{margin:0 -10px 12px}.entry-dialog h1{font-size:29px}.dock{border-radius:2px}.empty-stage p{font-size:13px}}
@media(min-width:851px) and (max-height:750px){.missa-emblem{width:330px}.empty-stage{padding:5px 20px 20px}.empty-stage h1{font-size:32px;margin:10px auto}.empty-stage p{margin:10px 0 15px}}
input:focus,textarea:focus,select:focus{outline-color:#e15a78}

/* Volume da transmissao dentro do player, inclusive em tela cheia. */
.media-caption{flex-wrap:wrap;gap:10px}
.media-caption .player-volume{display:flex;align-items:center;gap:8px;margin-left:auto;height:38px}
.media-caption .player-volume-button{margin:0;width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:#fff;cursor:pointer}
.player-volume-button svg{width:24px;height:24px}
.player-volume-button .volume-cross{display:none}
.player-volume-button.muted .volume-near,.player-volume-button.muted .volume-far,.player-volume-button.quiet .volume-far{display:none}
.player-volume-button.muted .volume-cross{display:block}
.media-caption .player-volume-slider{appearance:none;-webkit-appearance:none;min-width:0;width:0;opacity:0;padding:0;height:4px;border:0;border-radius:4px;background:linear-gradient(to right,#fff var(--volume,100%),#ffffff50 var(--volume,100%));transition:width .18s,opacity .18s;cursor:pointer;outline-offset:7px}
.player-volume:hover .player-volume-slider,.player-volume:focus-within .player-volume-slider{width:88px;opacity:1}
.player-volume-slider::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#fff;border:0}
.player-volume-slider::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#fff;border:0}
.player-volume-value{font-size:11px;font-variant-numeric:tabular-nums;color:#ddd;min-width:32px}
.media-caption .fullscreen-button{margin-left:0;flex-shrink:0}
.media-caption>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.media-card:focus-visible{outline:2px solid #e15a78;outline-offset:3px}
.media-card:fullscreen .media-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000d);padding:28px 18px 12px}
@media(hover:none),(max-width:600px){.media-caption .player-volume-slider{width:72px;opacity:1}.media-caption{gap:6px}.player-volume-value{display:none}.media-caption>span{max-width:30%}}
@media(prefers-reduced-motion:reduce){.media-caption .player-volume-slider{transition:none}}
.media-caption .player-volume-slider{min-height:4px}.media-caption .player-volume-button svg{width:24px;height:24px}.media-caption .player-volume-value{flex:0 0 auto}
/* Área confortável para clicar e arrastar, sem depender do hover. */
.media-caption .player-volume{height:44px;gap:4px;flex-shrink:0}
.media-caption .player-volume-slider{width:100px;min-width:72px;height:44px;min-height:44px;opacity:1;flex:0 0 auto;transition:none;background:transparent;touch-action:pan-y}
.player-volume:hover .player-volume-slider,.player-volume:focus-within .player-volume-slider{width:100px}
.player-volume-slider::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,#ed5378 var(--volume,100%),#ffffff50 var(--volume,100%))}
.player-volume-slider::-webkit-slider-thumb{width:16px;height:16px;margin-top:-6px}
.player-volume-slider::-moz-range-track{height:4px;border-radius:4px;background:#ffffff50}
.player-volume-slider::-moz-range-progress{height:4px;background:#ed5378}
.player-volume-slider::-moz-range-thumb{width:16px;height:16px}
.media-caption .player-volume-step{width:32px;height:44px;display:grid;place-items:center;font-size:22px;color:#fff;cursor:pointer;flex-shrink:0}
.media-caption .player-volume-value{display:block;min-width:36px}
@media(max-width:600px){.media-caption .player-volume-slider,.player-volume:hover .player-volume-slider,.player-volume:focus-within .player-volume-slider{width:72px}.media-caption .player-volume{margin-left:0}}
/* Câmeras em grade, com espaço principal quando não há transmissão. */
.stage[hidden]{display:none!important}
.camera-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;overflow:visible;width:100%;padding-top:16px}
.camera-grid .media-card{width:100%;min-width:0}
.camera-grid video{aspect-ratio:16/9;max-height:none;object-fit:contain;background:#09090e}
.camera-grid.camera-gallery{flex:1;align-content:center;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.camera-grid.camera-gallery video{max-height:65dvh}
.camera-grid .media-caption{font-size:13px;padding:10px 12px}
.camera-grid .media-card:fullscreen{width:100%;height:100%;display:flex}
.camera-grid .media-card:fullscreen video{max-height:100dvh;flex:1;min-height:0;object-fit:contain}
.capture-options{display:flex;align-items:center;gap:12px;margin:14px 0 0;font-size:12px;color:var(--muted)}
.capture-options select{width:auto;max-width:100%;min-height:38px;padding:8px 12px}
@media(max-width:600px){.camera-grid,.camera-grid.camera-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.camera-grid .media-caption{font-size:11px}.capture-options{align-items:flex-start;flex-direction:column}}

.audio-unlock{position:static;transform:none;align-self:center;margin:12px 0}
/* A transmissão e as câmeras compartilham o mesmo palco, inclusive em tela cheia. */
#stage{display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:12px;gap:10px;min-height:320px}
#stage.has-share,#stage.has-cameras{height:clamp(300px,calc(100dvh - 410px),900px);flex:none}
#stage .screen-grid{width:100%;flex:1;min-height:0;padding:0;align-items:stretch;align-content:stretch;grid-auto-rows:minmax(0,1fr);grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));overflow:auto}
#stage .screen-grid .media-card{position:relative;display:flex;flex-direction:column;min-height:0;min-width:0}
#stage .screen-grid video{width:100%;height:100%;flex:1;min-height:0;max-height:none;object-fit:contain;aspect-ratio:auto}
#stage .camera-grid{padding:0;margin:0;min-height:0}
#stage.has-share .camera-grid{display:flex;flex:0 0 auto;gap:8px;overflow-x:auto;overflow-y:hidden;max-height:150px}
#stage.has-share .camera-grid .media-card{width:180px;flex:0 0 180px;position:relative}
#stage.has-share .camera-grid video{height:100px;max-height:100px;width:100%;object-fit:cover}
#stage.has-share .camera-grid .media-caption{padding:5px 8px;font-size:11px;min-height:30px}
#stage .camera-gallery{height:100%;overflow:auto;align-content:center;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
#stage .camera-gallery .media-card{position:relative;display:flex;flex-direction:column}
#stage .camera-gallery video{max-height:40dvh;object-fit:contain}
#stage:fullscreen{width:100vw;height:100dvh;max-height:none;padding:12px;background:#080709;border:0}
#stage:fullscreen .screen-grid{flex:1}
.media-card{position:relative}
.media-caption{flex-shrink:0}
.video-notice{position:absolute;inset:10px 10px auto;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;background:#170d16ed;border:1px solid #713044;font-size:12px;z-index:2}
.video-notice span{max-width:480px}.video-notice button{flex-shrink:0}
.capture-options{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:8px 12px}.capture-field{display:flex;flex-direction:column;gap:6px;min-width:0}.capture-options label{white-space:nowrap}.capture-options select{width:100%;font-size:12px}
.voice-mixer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 0;font-size:12px;color:var(--muted)}
.voice-mixer input{width:130px;min-height:28px;padding:0;accent-color:#ed5378;cursor:pointer}.voice-mixer output{min-width:34px;font-variant-numeric:tabular-nums}.voice-mixer span{font-size:11px}
.viewer-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 10px;flex-shrink:0;background:#140d12;border-top:1px solid var(--line)}
.viewer-tools label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);min-width:0}.viewer-tools select{width:auto;max-width:220px;min-height:30px;padding:5px 7px;font-size:11px}.viewer-tools .button{font-size:11px;min-height:30px;padding:5px 9px}
.viewer-feedback{font-size:10px;color:var(--muted);flex-basis:100%}.viewer-feedback:empty{display:none}
.closed-streams{display:flex;flex-direction:column;gap:8px;margin:10px 0}.closed-stream{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 12px;border:1px solid var(--line);background:#171016;font-size:12px}.closed-stream .button{margin-left:auto}
#stage.has-share .camera-grid{max-height:190px}.camera-grid .viewer-tools label{font-size:0;width:100%;gap:0}.camera-grid .viewer-tools select{font-size:10px;max-width:100%;width:100%}.camera-grid .viewer-tools{padding:4px}.camera-grid .viewer-feedback{display:none}
#stage.has-share{min-height:520px}#stage.has-share:fullscreen{min-height:0}
@media(max-width:600px){#stage{padding:6px}#stage.has-share,#stage.has-cameras{height:65dvh}#stage.has-share .camera-grid .media-card{width:125px;flex-basis:125px}#stage.has-share .camera-grid video{height:70px;max-height:70px}#stage .camera-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.capture-options{flex-direction:row;align-items:center}.capture-options select{max-width:100%}.video-notice{flex-direction:column}.media-caption{flex-wrap:wrap}}

/* Call tiles keep everyone present, including people with their camera off. */
#stage.has-cameras:not(.has-share){height:clamp(340px,calc(100dvh - 320px),1000px)}
#stage .camera-gallery{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-auto-rows:minmax(180px,1fr);gap:12px}
.participant-tile{border-radius:12px;overflow:hidden;background:hsl(var(--participant-hue) 20% 16%);border:2px solid transparent;min-height:160px}
.participant-tile video{flex:1;min-height:0;object-fit:cover;width:100%}
.call-avatar{display:none;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;background:hsl(var(--participant-hue) 25% 32%);color:#fff;font:600 28px Arial;box-shadow:0 0 0 8px #ffffff08;position:absolute;left:50%;top:45%;transform:translate(-50%,-50%)}
.camera-off .call-avatar{display:flex}.camera-off video,.camera-off .viewer-tools{display:none}
.participant-tile .media-caption{position:absolute;bottom:8px;left:8px;right:8px;border:0;background:#100c12bc;border-radius:7px;padding:7px 9px;z-index:1}
.participant-tile:not(.camera-off) .viewer-tools{position:absolute;top:7px;right:7px;max-width:160px;border:0;border-radius:6px;background:#100c12bc}
.participant-tile.speaking{border-color:#53cd88;box-shadow:0 0 0 1px #53cd8833}
#stage.has-share .participant-tile{min-height:125px;height:125px;flex-basis:180px}
#stage.has-share .call-avatar{width:48px;height:48px;font-size:18px;top:38%}
#stage.has-share .camera-grid{max-height:140px;flex-shrink:0}
.dock{position:sticky;bottom:12px;z-index:5;border-radius:16px;background:#160f17f5;box-shadow:0 8px 30px #0008}
.audio-unlock{position:fixed;top:100px;left:50%;transform:translateX(-50%);z-index:20;background:#b9113c;color:white;border:1px solid #f2698b;box-shadow:0 8px 30px #0009}
@media(max-width:600px){#stage .camera-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(145px,1fr)}.participant-tile{min-height:145px}.call-avatar{width:58px;height:58px;font-size:22px}.dock{bottom:4px}}

/* Each stream occupies one tile; enlargement is a local viewer action. */
#stage.has-share,#stage.has-cameras,#stage.has-cameras:not(.has-share){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));grid-auto-rows:300px;align-content:start;gap:12px;height:auto;min-height:320px;overflow:visible}
#stage #screen-grid:not([hidden]),#stage #camera-grid:not([hidden]){display:contents}
#stage .media-card,#stage.has-share .camera-grid .media-card{width:100%;height:300px;min-height:0;min-width:0;margin:0;border-radius:12px;overflow:hidden}
#stage .camera-grid video,#stage.has-share .camera-grid video{height:100%;max-height:none;object-fit:cover}
#stage.has-share .call-avatar{width:84px;height:84px;font-size:28px;top:45%}
#stage .media-card:fullscreen{display:flex;flex-direction:column;width:100vw;height:100dvh;max-height:none;border-radius:0;background:#09090e}
#stage .media-card:fullscreen video{flex:1;min-height:0;width:100%;height:100%;max-height:none;object-fit:contain}
@media(max-width:600px){#stage.has-share,#stage.has-cameras{grid-template-columns:1fr;grid-auto-rows:300px}}
#stage .media-card.expanded-view,#stage.has-share .camera-grid .media-card.expanded-view{position:fixed;inset:16px;z-index:100;width:calc(100vw - 32px);height:calc(100dvh - 32px);display:flex;flex-direction:column;background:#09090e;box-shadow:0 0 0 100vmax #000e}
#stage .media-card.expanded-view video{flex:1;min-height:0;height:100%;max-height:none;object-fit:contain}
.avatar img,.call-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-picker{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.profile-picker input{width:100%;font-size:12px}.profile-picker .avatar{width:48px;height:48px;border-radius:50%}.profile-picker label{margin:0}.profile-picker button{font-size:11px;padding:5px}
.audio-choice{margin-top:12px;gap:7px}.audio-choice small{color:var(--muted);font-size:11px;line-height:1.5}.audio-choice select{max-width:100%;font-size:13px}
.admin-badge{display:inline-flex!important;width:auto!important;color:#ffdb81!important;background:#654315!important;border:1px solid #a77832;border-radius:5px;padding:2px 6px;font-size:10px!important;font-weight:800;letter-spacing:1px}
#mic-toggle,.voice-mixer{display:none!important}
/* Compact floating hotbar with settings revealed on demand. */
.dock{gap:6px;padding:8px;border-radius:18px;bottom:18px;max-width:100%;align-items:center;flex-wrap:wrap;justify-content:center;isolation:isolate}
.dock .dock-button{min-height:44px;min-width:0;flex-direction:row;gap:8px;padding:10px 14px;border-radius:10px;font-size:12px}.dock .dock-button svg{width:19px;height:19px}.dock .dock-divider{display:none}.dock .screen-control{min-width:0}.hotbar-menu{position:relative}.hotbar-menu summary{display:flex;align-items:center;gap:8px;list-style:none;padding:12px 14px;border-radius:10px;font-size:12px;font-weight:600;cursor:pointer;background:#251922}.hotbar-menu summary::-webkit-details-marker{display:none}.hotbar-menu summary:hover,.hotbar-menu[open] summary{background:#462534}.hotbar-menu summary:focus-visible{outline:2px solid #ec5276;outline-offset:2px}.hotbar-panel{position:absolute;bottom:calc(100% + 14px);left:50%;transform:translateX(-50%);width:320px;max-width:calc(100vw - 32px);max-height:65dvh;overflow:auto;background:#1b1119;border:1px solid #52313f;border-radius:16px;padding:18px;box-shadow:0 12px 50px #000b;display:flex;flex-direction:column;gap:15px;z-index:10}.hotbar-panel strong{font-size:14px}.hotbar-panel label{font-size:12px;color:#ceb9c4}.hotbar-panel select{width:100%;min-height:40px;font-size:12px;border-radius:8px}.hotbar-panel small{font-size:11px;line-height:1.6;color:#bda5b1}.hotbar-panel .audio-choice{margin:0}.room-bottom{padding-bottom:12px}.workspace{padding-bottom:20px}
@media(max-width:600px){.dock{gap:4px;bottom:8px}.dock .dock-button,.hotbar-menu summary{padding:10px 9px;font-size:11px}.hotbar-panel{position:fixed;left:16px;right:16px;bottom:110px;transform:none;width:auto}.dock .sound-control span{display:none}}
.dock #sound-toggle span,.dock #leave span{display:none}.dock #sound-toggle,.dock #leave{padding:11px;min-width:40px}.dock #screen-toggle{font-weight:700}.dock{width:max-content;max-width:100%;flex-wrap:nowrap}.dock #sound-toggle{border-left:1px solid #51303f}.dock .hotbar-menu{flex-shrink:0}@media(max-width:600px){.dock #screen-toggle span{font-size:0}.dock #screen-toggle span::after{content:'Tela';font-size:11px}.dock .dock-button,.hotbar-menu summary{padding:10px 7px}.dock{gap:3px}.hotbar-menu summary svg{display:none}}
/* Tiles sit directly on the room background, without an outer frame. */
#stage,#stage.has-share,#stage.has-cameras{border:0;background:transparent;box-shadow:none;padding:0}
/* Glass controls use a solid fallback when backdrop filtering is unavailable. */
.dock{background:linear-gradient(135deg,#392532dc,#19131ce8);border:1px solid #ffffff26;box-shadow:0 16px 45px #0006,inset 0 1px 0 #ffffff20;border-radius:24px}
.hotbar-panel{background:linear-gradient(135deg,#352532f2,#19131cf5);border-color:#ffffff29;box-shadow:0 20px 55px #0008,inset 0 1px 0 #ffffff20;border-radius:22px}
.hotbar-menu summary,.dock .dock-button{border-radius:15px}.hotbar-menu summary{background:#ffffff08;border:1px solid #ffffff0d}.hotbar-menu summary:hover,.hotbar-menu[open] summary{background:#ffffff18}.dock .screen-control{background:linear-gradient(140deg,#df174a,#a70c35);box-shadow:inset 0 1px 0 #ffb8cd66,0 4px 16px #9b123644}.dock #sound-toggle{border-left:0}.dock .leave-control{background:#b5223824}
.media-card,.participant-tile{border:1px solid #ffffff17!important;border-radius:20px!important;box-shadow:inset 0 1px 0 #ffffff0b}.participant-tile.speaking{border-color:#53cd88!important}.media-caption{background:#251924b8!important}.hotbar-panel select{background:#110e16a8;border-color:#ffffff1c}.hotbar-panel strong{color:#fff}
@supports(backdrop-filter:blur(16px)){.dock{background:linear-gradient(130deg,#6b435040,#19131c99);backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%)}.hotbar-panel{background:linear-gradient(135deg,#4e3544b8,#19131cdb);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%)}}
@media(prefers-reduced-transparency:reduce){.dock,.hotbar-panel{background:#231820;backdrop-filter:none;-webkit-backdrop-filter:none}}
.expanded-back{display:none;position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:5;min-height:44px;padding:10px 18px;border:1px solid #ffffff50;border-radius:24px;background:#17131fe8;color:white;font-weight:600}.expanded-view .expanded-back{display:block}body.watching-expanded{overflow:hidden}.media-caption .fullscreen-button{min-width:44px;min-height:44px;flex-shrink:0;margin-left:auto}.media-caption>span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis}.media-caption .player-volume{min-width:0}
@media(max-width:850px){#stage .media-card.expanded-view,#stage.has-share .camera-grid .media-card.expanded-view{inset:0;width:100vw;height:100vh;height:100dvh;border:0!important;border-radius:0!important;z-index:1000;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}#stage .expanded-view .viewer-tools{display:none}.expanded-view .media-caption{flex-shrink:0}.media-caption{flex-wrap:wrap}.media-caption .player-volume{flex-basis:100%;order:3}.media-caption .fullscreen-button{order:2}}

/* Centered call area and persistent controls. */
.workspace{position:relative;padding-bottom:110px}
#stage.has-share,#stage.has-cameras,#stage.has-cameras:not(.has-share){display:flex;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center;gap:12px;flex:1;min-height:320px;height:auto}
#stage .media-card,#stage.has-share .camera-grid .media-card{flex:0 1 480px;width:min(100%,480px);height:270px;min-height:0}
.workspace>.dock{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:calc((100% - 330px)/2);transform:translateX(-50%);max-width:calc(100vw - 354px);z-index:8}
.room-bottom{flex-shrink:0;margin-top:16px}
@media(min-width:1400px){.workspace>.dock{left:calc((100% - 350px)/2);max-width:calc(100vw - 374px)}}
@media(min-width:851px) and (max-width:1100px){.workspace>.dock{left:calc((100% - 290px)/2);max-width:calc(100vw - 310px)}}
@media(max-width:850px){.workspace>.dock{left:50%;max-width:calc(100vw - 16px);bottom:max(10px,env(safe-area-inset-bottom))}.workspace{padding-bottom:100px}#stage .media-card,#stage.has-share .camera-grid .media-card{flex-basis:420px;height:250px}}
@media(max-width:520px){#stage .media-card,#stage.has-share .camera-grid .media-card{height:230px}.workspace>.dock .hotbar-panel{left:0;right:0;bottom:calc(100% + 12px);width:100%}}

#stage.has-share,#stage.has-cameras,#stage.has-cameras:not(.has-share){flex-direction:row}#stage .media-card,#stage.has-share .camera-grid .media-card{flex-basis:calc(50% - 6px);max-width:480px}@media(max-width:600px){#stage .media-card,#stage.has-share .camera-grid .media-card{flex-basis:100%}}


/* Expanded cards must not inherit the grid tile width limit. */
#stage .media-card.expanded-view,#stage.has-share .camera-grid .media-card.expanded-view,#stage .media-card:fullscreen{max-width:none;max-height:none;flex-basis:auto}



/* Floating Liquid Glass controls for each viewer. */
#stage .media-card .media-caption{position:absolute;bottom:8px;left:8px;right:8px;border-radius:10px;background:#160f1880;padding:4px 8px;min-height:34px;z-index:2}
#stage .media-card.viewer-bar-open .media-caption{bottom:102px;background:transparent;pointer-events:none}
#stage .media-card .viewer-popover{position:absolute;inset:auto 8px 8px;z-index:6;max-width:none;max-height:calc(100% - 44px);overflow:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;padding:8px;background:linear-gradient(130deg,#a17b8b25,#19131c66);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%);border:1px solid #ffffff35;border-radius:18px;box-shadow:inset 0 1px 0 #ffffff25,0 6px 20px #0003}
#stage .viewer-popover[hidden]{display:none!important}
#stage .viewer-popover label{font-size:0;display:block;flex:1;min-width:100px}
#stage .viewer-popover select{width:100%;max-width:100%;font-size:11px;min-height:32px;border-radius:9px;background:#21192170;border:1px solid #ffffff25;padding:5px;color:white}
#stage .viewer-popover select option{background:#211921}
#stage .viewer-popover .player-volume{width:100%;flex:1 0 100%;display:flex;justify-content:center;gap:8px;order:-1}
#stage .viewer-popover .player-volume-slider{min-width:45px;flex:1;max-width:170px}
#stage .viewer-popover .viewer-dismiss,#stage .viewer-popover .fullscreen-button{position:static;display:flex;align-items:center;justify-content:center;border:0;background:#ffffff0c;color:white;min-width:32px;min-height:32px;border-radius:9px;padding:4px}
#stage .viewer-popover .viewer-dismiss{font-size:24px}
#stage .viewer-popover>.button{font-size:10px;padding:5px;min-height:32px;background:#ffffff0c;border-color:#ffffff20;border-radius:8px}
#stage .viewer-popover .viewer-feedback{display:none}
#stage .viewer-settings{min-width:32px;min-height:32px;align-items:center;justify-content:center}
#stage .viewer-bar-open .viewer-settings{display:none}
.media-caption .admin-badge{flex:0 0 auto}
#stage .expanded-view .viewer-popover{left:50%;right:auto;transform:translateX(-50%);width:min(640px,calc(100% - 16px))}
#stage .expanded-view.viewer-bar-open .media-caption{bottom:104px}
@media(prefers-reduced-transparency:reduce){#stage .viewer-popover{background:#211921;backdrop-filter:none}}

#stage .viewer-popover .player-volume button{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:3px;border:0;border-radius:8px;background:#ffffff0c;color:white;font-size:18px}#stage .viewer-popover .player-volume svg{width:17px;height:17px}#stage .viewer-popover .player-volume-value{font-size:10px;flex:0 0 34px}#stage .viewer-popover .player-volume-slider{height:4px;accent-color:#e84d79}#stage .viewer-bar-open.participant-tile .media-caption{background:transparent}

#stage .media-card.viewer-bar-open .media-caption{background:transparent}#stage .viewer-popover .player-volume{align-items:center}@media(min-width:700px){#stage .expanded-view .viewer-popover .player-volume{width:auto;flex:1 1 190px}#stage .expanded-view .viewer-popover label{flex:0 1 150px}#stage .expanded-view.viewer-bar-open .media-caption{bottom:64px}}


/* Compact participant label at the top of the video. */
#stage .media-card .media-caption,#stage .media-card.viewer-bar-open .media-caption,#stage .expanded-view.viewer-bar-open .media-caption{top:8px;bottom:auto;left:8px;right:auto;width:max-content;max-width:calc(100% - 112px);min-height:26px;padding:4px 7px;gap:6px;border:1px solid #ffffff16;border-radius:9px;background:#19131c50;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:10px;flex-wrap:nowrap}
#stage .media-caption>svg{width:13px;height:13px}#stage .media-caption .viewer-settings,#stage .media-caption .fullscreen-button{min-width:26px;min-height:26px}#stage .media-caption .admin-badge{font-size:9px}


/* Hide idle viewer controls with a downward slide. */
#stage .viewer-popover{translate:0 0;opacity:1;transition:translate .25s ease,opacity .25s ease}
#stage .viewer-idle .viewer-popover{translate:0 calc(100% + 20px);opacity:0;pointer-events:none}
#stage .viewer-idle .viewer-settings{display:flex}
#stage .viewer-idle .media-caption{pointer-events:auto}
@media(prefers-reduced-motion:reduce){#stage .viewer-popover{transition:none}}

#stage .media-card .closed-stream{position:absolute;bottom:12px;left:12px;right:12px;z-index:4;display:flex;flex-direction:column;align-items:center;gap:6px;padding:9px;border:1px solid #ffffff20;border-radius:12px;background:#19131c70;backdrop-filter:blur(10px);font-size:11px;text-align:center}#stage .closed-stream .viewer-feedback{display:none}#stage .closed-stream .button{font-size:11px;min-height:32px;border-radius:9px;background:#ffffff10}#stage .media-card:has(.closed-stream) .call-avatar{top:40%;width:68px;height:68px}

#stage .closed-stream .button{align-self:center;margin:0 auto;background:linear-gradient(140deg,#df174a,#a70c35);border-color:#e34a70;color:white;min-height:38px;padding:8px 18px;font-weight:600}#stage .closed-stream>span{width:100%;text-align:center}

#stage .media-card .closed-stream{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}


/* MISSA atelier — monochrome preview inspired by the reference. */
:root{--bg:#080808;--panel:#111112;--elevated:#1b1b1d;--line:#ffffff20;--muted:#a5a5a9;--text:#f0efec;--purple:#d7d7db;--primary:#dedee2}
body{background:#080808;color:#efeeeb}
.topbar{background:#090909;border-bottom:1px solid #ffffff24;min-height:96px}
.brand img,.entry-brand img,.missa-emblem{filter:grayscale(1);object-fit:contain}
.room-heading .eyebrow,.section-label,.sidebar-footer{letter-spacing:2px;color:#aaa9ad}
.header-actions .button,.tag{background:transparent;border-color:#ffffff26;border-radius:3px}
.button.primary,#stage .closed-stream .button,.screen-control{background:linear-gradient(145deg,#f4f3f0,#b9b9c0)!important;color:#121214!important;border:1px solid #ffffff80!important;box-shadow:0 2px 12px #ffffff0a!important}
.button.primary:hover:not(:disabled),#stage .closed-stream .button:hover{background:#fff!important}
.workspace{background:radial-gradient(ellipse at 50% 20%,#ffffff03,transparent 65%)}
.sidebar{background:#0c0c0d;border-color:#ffffff1c}
.people-section,.sidebar-footer{border-color:#ffffff1c}
.chat-form{background:#151517;border-color:#ffffff25;border-radius:8px}
.send-button{background:#dddddf;color:#151515;border-radius:5px}
.count,.avatar{background:#28282c;color:#e7e7ea}
#stage .participant-tile{background:#202023!important;border:1px solid #ffffff20;box-shadow:inset 0 1px #ffffff0a;border-radius:18px}
#stage .media-caption{background:#11111365!important;border-color:#ffffff28!important;color:#e8e8eb}
#stage .closed-stream>span{color:#c9c9ce}
.dock,#stage .viewer-popover{background:linear-gradient(145deg,#ffffff16,#151518b8)!important;border:1px solid #ffffff32!important;box-shadow:inset 0 1px #ffffff20,0 12px 40px #0005;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.dock-button{color:#dedee2}.dock-button:hover{background:#ffffff10}
#stage .viewer-popover .player-volume-slider{accent-color:#dedee2}
.player-volume-slider{accent-color:#dedee2}
select,input,textarea{accent-color:#d7d7dc}
select,dialog input,dialog select{background:#18181b;color:#efefef;border-color:#ffffff28}
input:focus,textarea:focus,select:focus{outline-color:#c5c5cf}
button:focus-visible,a:focus-visible{outline-color:#c5c5cf}
dialog{background:#111113;border:1px solid #ffffff30;border-radius:16px;box-shadow:0 30px 120px #0009}
.entry-dialog h1,.empty-stage h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.5px}
.entry-dialog .eyebrow,.empty-stage .eyebrow{color:#b8b8bf;letter-spacing:3px}
.connection-help{background:#1a1a1d;border-color:#ffffff22}.connection-help h3,.connection-help p{color:#c5c5ca}
.admin-badge{background:#d6d6dd!important;color:#232329!important;border-color:#eee!important}
.status-dot{background:#ddd}.connection.online{color:#bfcfc4}
@media(max-width:600px){.topbar{min-height:68px}.dock{backdrop-filter:blur(10px)}.entry-dialog h1{font-size:30px}}

/* Standalone home: original MISSA artwork, restrained silver typography. */
.brand img,.entry-brand img,.missa-emblem{filter:none}
.missa-home{min-height:100dvh;background:radial-gradient(ellipse at 50% 40%,#272425 0, #111112 38%,#080808 75%);display:flex;flex-direction:column;padding:0 5vw;color:#eeece8}
.home-header{height:105px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff20}
.home-header img{width:155px;height:78px;object-fit:contain;filter:none}
.home-link{background:none;border:0;color:#ddd;font-size:12px;letter-spacing:.4px;padding:14px}
.home-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 15px 55px}
.home-kicker{font-size:10px;letter-spacing:4px;color:#aaa6a6}
.home-emblem{width:min(700px,85vw);height:250px;object-fit:contain;margin:14px 0 0;filter:none}
.home-main h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(36px,4.2vw,62px);letter-spacing:-2px;margin:6px 0 18px;line-height:1.1}
.home-main p{font-size:14px;line-height:1.8;color:#b8b4b6;margin:0 0 28px}
.home-actions{display:flex;gap:12px}.home-actions .button{min-width:175px;border-radius:3px;min-height:48px;background:#ffffff05;border-color:#ffffff30;font-size:13px}
.home-note{font-size:10px;color:#8f8b8e;letter-spacing:1px;margin-top:25px}
.home-footer{display:flex;justify-content:space-between;gap:15px;padding:22px 0;border-top:1px solid #ffffff20;color:#8e8b8d;font-size:9px;letter-spacing:1.6px}
@media(max-width:600px){.home-header{height:85px}.home-header img{width:120px}.home-emblem{height:190px}.home-main{padding:35px 0}.home-actions{flex-direction:column;width:min(280px,90%)}.home-footer{flex-wrap:wrap;justify-content:center;font-size:8px}.home-kicker{font-size:8px;letter-spacing:2.5px}.home-main h1{letter-spacing:-1px}}
/* Home aligned with the MISSA experience reference. */
.missa-home{background:radial-gradient(ellipse at 50% 10%,#26060d80,transparent 58%),linear-gradient(140deg,#030303,#09080a);padding:0 4vw}
.home-header{position:relative;border:0;height:94px;justify-content:center}
.home-header img{width:130px;height:65px}
.home-link{position:absolute;right:0;font-size:10px;text-transform:uppercase;letter-spacing:1.8px}
.home-main{padding:30px 0 45px}.home-kicker{order:2;margin:6px 0 22px;font-size:9px;letter-spacing:3px}
.home-emblem{order:1;width:min(1120px,94vw);height:clamp(220px,37vw,420px);margin:0}
.home-main h1{order:3;font-size:clamp(28px,3vw,42px);margin:0 0 12px}
.home-main p{order:4;font-size:12px;margin-bottom:22px}
.home-actions{order:5}.home-note{order:6}.home-footer{border-color:#ffffff12}
@media(max-width:600px){.home-header{height:80px}.home-header img{width:100px}.home-link{font-size:8px;max-width:95px;padding:5px}.home-emblem{height:220px}.home-kicker{font-size:8px;letter-spacing:2px}}

.home-socials{display:flex;gap:28px;align-items:center}.home-socials a{padding:5px 0;color:#c4bfc1;transition:color .15s}.home-socials a:hover{color:#fff}.home-socials a:focus-visible{outline:1px solid #ddd;outline-offset:5px}

.home-security{padding:50px 0 65px;border-top:1px solid #ffffff16;max-width:1120px;width:100%;margin:0 auto}.home-security h2{font:400 clamp(26px,3vw,36px) Georgia,serif;letter-spacing:-.7px;margin:18px 0 35px}.home-security-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.home-security-grid article>span{font-size:9px;letter-spacing:2px;color:#928b8f}.home-security h3{font-size:14px;font-weight:500;margin:15px 0 12px;color:#ded8da}.home-security p{font-size:12px;line-height:1.8;color:#a8a0a4;margin:0;max-width:330px}@media(max-width:650px){.home-security-grid{grid-template-columns:1fr;gap:28px}.home-security{padding:35px 10px 45px}.home-security p{max-width:none}}

/* The opening screen ends before the privacy section. */
html{scroll-behavior:smooth}.home-main{flex:0 0 auto;min-height:calc(100svh - 94px);position:relative;padding:20px 0 90px}.home-emblem{height:clamp(170px,32vh,340px)}.home-scroll{position:absolute;bottom:25px;display:flex;flex-direction:column;align-items:center;gap:10px;color:#aaa1a5;font-size:8px;letter-spacing:2px;order:7}.home-scroll span:last-child{font-size:23px;font-weight:300;transition:transform .2s}.home-scroll:hover span:last-child{transform:translateY(4px)}.home-security{min-height:65svh;display:flex;flex-direction:column;justify-content:center;scroll-margin-top:20px}
@media(max-width:600px){.home-main{min-height:calc(100svh - 80px);padding:15px 0 85px}.home-emblem{height:clamp(150px,25svh,220px)}.home-main h1{font-size:28px}.home-kicker{margin-bottom:15px}.home-note{margin-top:18px}.home-scroll{bottom:18px}.home-security{min-height:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.home-scroll span:last-child{transition:none}}

/* Separate full-height chapters with a clean scroll destination. */
html{scroll-snap-type:y proximity}.home-main{scroll-snap-align:end}.home-about,.home-security{min-height:100svh;scroll-snap-align:start;scroll-margin-top:0;flex-shrink:0;box-sizing:border-box}.home-about{display:flex;align-items:center;justify-content:center;border-top:1px solid #ffffff16;padding:75px 0}.home-about-content{max-width:760px;width:100%}.home-about h2{font:400 clamp(34px,5vw,62px)/1.12 Georgia,serif;letter-spacing:-1.5px;margin:25px 0}.home-about p{color:#aaa2a6;font-size:14px;line-height:1.9;max-width:640px;margin:18px 0}.home-about p.home-about-lead{font-size:clamp(18px,2vw,24px);color:#ded8da;line-height:1.5;margin-bottom:28px}.home-about .home-kicker,.home-security>.home-kicker{order:0;display:block;margin:0 0 20px}.home-next{display:inline-flex;gap:20px;align-items:center;font-size:9px;letter-spacing:2px;margin-top:32px;padding:12px 0;color:#c6bec1}.home-next span{font-size:22px}.home-security{padding:70px 0}.home-security h2{margin-top:0}.home-security-grid{flex-shrink:0}@media(max-width:650px){.home-about{padding:55px 14px}.home-about h2{font-size:38px}.home-about p{font-size:13px}.home-next{font-size:8px;letter-spacing:1px}.home-security{padding:50px 14px;min-height:100svh}}@media(prefers-reduced-motion:reduce){html{scroll-snap-type:none}}

.entry-dialog{position:relative}.entry-close{position:absolute;top:12px;right:12px;z-index:1;min-width:44px;min-height:44px}.entry-brand{padding-top:12px}
/* Minimal close glyph; keep its accessible touch target. */
.entry-close,#join-link-dialog [data-close="join-link-dialog"]{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;min-width:44px;min-height:44px;color:#c9c3c7}
.entry-close:hover,#join-link-dialog [data-close="join-link-dialog"]:hover{background:transparent!important;color:#fff}

/* Photo picker: one centered, keyboard-accessible action. */
.profile-picker{flex-direction:column;align-items:center;justify-content:center;gap:5px;margin:20px 0}.profile-picker .profile-choose{display:flex;flex-direction:column;align-items:center;gap:9px;background:transparent;border:0;padding:6px 12px;color:#cbc5c8;border-radius:12px}.profile-picker .avatar{width:64px;height:64px;display:grid;place-items:center;background:#ffffff08;border:1px dashed #ffffff35;overflow:hidden}.profile-picker .avatar:empty::before{content:'';width:25px;height:25px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.5' d='M8 5l2-2h4l2 2h4v15H4V5z'/%3E%3Ccircle fill='none' stroke='black' stroke-width='1.5' cx='12' cy='12' r='4'/%3E%3C/svg%3E") center/contain no-repeat}.profile-choose:hover .avatar{border-color:#b5acb1;background:#ffffff10}.profile-label{font-size:12px}.profile-picker #profile-remove{font-size:10px;min-height:24px}.profile-picker input[hidden]{display:none!important}
