.call-create-button{display:inline-flex;gap:7px;align-items:center;white-space:nowrap}.social-hub>.panel-head{flex-wrap:wrap;gap:10px}.social-hub>.panel-head h1{margin-right:auto}.call-chat-button{color:#c2a17d}.call-room{max-width:1000px;margin:0 auto;padding:22px!important;overflow:visible;background:radial-gradient(ellipse at 70% 0,#72513114,transparent 65%),#171512}.call-heading{display:flex;align-items:center;gap:20px;margin-bottom:20px}.call-heading>div{flex:1;min-width:0}.call-heading h1{font-size:22px;line-height:1.35;margin:4px 0 0;overflow-wrap:anywhere}.call-heading small{color:#ad9c8c}.call-timer{font-size:13px;font-variant-numeric:tabular-nums;color:#b6a18d}.call-setup{max-width:480px;margin:0 auto;display:grid;gap:16px}.call-room [hidden],.call-room label[hidden]{display:none!important}.call-mode{max-width:240px;margin:0 auto;width:100%}.call-preview{height:210px;border:1px solid #b68a5624;background:radial-gradient(circle,#4d3a2740,#1f1b17 70%);border-radius:20px;position:relative;display:grid;place-items:center;overflow:hidden}.call-preview-avatar .avatar{width:76px;height:76px;font-size:30px}.call-preview-video,.call-preview video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.call-setup-options{display:flex;gap:24px;justify-content:center}.call-setup-options .check{display:flex;gap:7px;align-items:center}.call-setup-options input{width:16px!important;height:16px!important;accent-color:#bc9869}.call-permission-help{font-size:12px;text-align:center;margin:0}.call-setup>.btn{justify-self:center;min-width:180px}.call-stage{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px}.call-tile{position:relative;aspect-ratio:4/3;min-width:0;border-radius:18px;border:1px solid #b68a5624;background:radial-gradient(ellipse at 70% 0,#60483138,transparent 90%),#211c17;overflow:hidden;display:grid;place-items:center}.call-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}.call-tile audio{display:none}.call-tile.has-video video{opacity:1}.call-tile-avatar{height:66px;width:66px;display:grid;place-items:center;border-radius:50%;background:#68513a55;color:#ddc3a8;font-size:27px;overflow:hidden}.call-tile-avatar img{width:100%;height:100%;object-fit:cover}.call-tile-name{position:absolute;bottom:10px;left:10px;max-width:calc(100% - 44px);background:#17130fba;backdrop-filter:blur(6px);border-radius:8px;padding:4px 8px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.call-tile-muted{position:absolute;bottom:12px;right:13px;color:#c5b1a0}.call-screen{grid-column:1/-1;aspect-ratio:16/9;order:-1}.call-screen video{object-fit:contain}.call-controls{display:flex;justify-content:center;gap:14px;margin:24px auto 16px;position:sticky;bottom:max(10px,env(safe-area-inset-bottom));z-index:30;width:fit-content;max-width:100%;padding:10px 12px;border-radius:34px;background:#211b16ed;border:1px solid #a9835630;backdrop-filter:blur(14px)}.call-control{border:0;background:none;padding:0;color:#d5c6b8;cursor:pointer;display:grid;justify-items:center;gap:7px;font-size:11px;min-width:64px}.call-control>svg{width:48px;height:48px;padding:13px;border-radius:50%;background:#ffffff0b;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;box-sizing:border-box}.call-control:hover>svg{background:#ffffff16}.call-control[aria-pressed=false]>svg{color:#9b8c7c;background:#ffffff05;outline:1px solid #ffffff10}.call-control[aria-pressed=false]{opacity:.7}.call-hangup>svg{background:#963f36;color:#fff;transform:rotate(135deg)}.call-hangup:hover>svg{background:#ac4a40}.call-control:disabled{opacity:.4}.call-secondary{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}.call-secondary .link-button{font-size:12px}.call-error{color:#dcaa93;font-size:13px;line-height:1.5;text-align:center;margin-top:12px;overflow-wrap:anywhere}.call-error:empty{display:none}.call-error .btn{margin:8px auto}.call-help{font-size:12px;text-align:center;max-width:450px;margin:12px auto}.call-chat-link{text-align:center;margin-top:20px}.call-chat-link a{font-size:12px;color:#a8937d}.call-broadcast{border:1px solid #b88a4e55;background:#8f623318;border-radius:14px;padding:13px 16px;margin-bottom:16px;font-size:13px;line-height:1.5}.call-broadcast strong{display:block;color:#d4ad7f}.call-broadcast p{margin:5px 0 10px}.call-broadcast a{color:inherit;text-decoration:underline;text-underline-offset:3px}.call-broadcast .toolbar{margin-top:10px}.call-broadcast-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.call-broadcast-actions>span{color:#b3a18c;font-size:12px}.call-live-dot{display:inline-block;border-radius:50%;width:7px;height:7px;background:#d37362;margin-right:7px}.call-friends{display:grid;gap:4px;max-height:230px;overflow-y:auto;overscroll-behavior:contain}.call-friend{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:8px;border-radius:10px;cursor:pointer}.call-friend:has(input:checked){background:#c29b6d16}.call-friend input{width:16px!important;height:16px;accent-color:#bc9869}.call-friend-avatar{width:32px;height:32px;border-radius:50%;background:#6e533835;color:#d6b58b;display:grid;place-items:center;overflow:hidden;flex-shrink:0}.call-friend-avatar img{width:100%;height:100%;object-fit:cover}.call-friend>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.call-stream-dialog{width:min(470px,calc(100vw - 28px));padding:24px;border:1px solid #8e6d4a66;border-radius:20px;background:#201b16;color:#e2d7c9;box-shadow:0 20px 80px #0008}.call-stream-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.call-stream-dialog form{display:grid;gap:15px}.call-stream-dialog h2{margin:0;font-size:20px}.call-stream-dialog .toolbar{margin-top:8px}.call-devices{margin-top:20px}.call-usage{display:flex;flex-wrap:wrap;gap:16px;border:1px solid #ac835230;border-radius:12px;padding:14px;margin-top:20px}.calls-settings .muted{max-width:820px;font-size:13px}.calls-settings .list-row small{display:block;color:#a5907d;margin-top:4px}.calls-settings .form-grid{max-width:820px}@media(max-width:600px){.call-room{padding:16px!important;border-radius:16px}.call-heading{margin-bottom:14px;gap:10px}.call-heading h1{font-size:19px}.call-stage{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.call-tile{aspect-ratio:3/4;border-radius:13px}.call-tile:only-child{grid-column:1/-1;aspect-ratio:4/3}.call-tile-avatar{height:48px;width:48px;font-size:23px}.call-tile-name{font-size:10px;left:6px;bottom:6px;max-width:calc(100% - 26px);padding:3px 5px}.call-tile-muted{bottom:8px;right:8px}.call-screen{aspect-ratio:16/10}.call-controls{gap:9px;margin-top:20px}.call-control{min-width:55px}.call-control>svg{width:46px;height:46px}.call-preview{height:180px}.call-broadcast{padding:11px 12px}.call-broadcast-actions{gap:8px}.call-chat-button{width:32px;height:32px}.comm-header:has(.call-chat-button){gap:5px}.call-create-button{font-size:12px}.call-create-button svg{width:16px;height:16px}}

.call-inbox {
  --call-inbox-margin: clamp(10px,1.3vw,18px);
  position: fixed;
  right: max(var(--call-inbox-margin),env(safe-area-inset-right));
  bottom: max(var(--call-inbox-margin),env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  gap: 6px;
  width: min(350px,calc(100% - max(var(--call-inbox-margin),env(safe-area-inset-left)) - max(var(--call-inbox-margin),env(safe-area-inset-right))));
  max-height: min(224px,32dvh);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border-radius: 14px;
  box-shadow: 0 10px 35px #0008;
}
.call-inbox[hidden] { display: none !important; }
.call-inbox-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #ac835250;
  border-radius: 14px;
  background: #242019f5;
  backdrop-filter: blur(16px);
}
.call-inbox-card > div { flex: 1; min-width: 0; }
.call-inbox-card strong, .call-inbox-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.call-inbox-card small { margin-bottom: 2px; color: #bdab91; font-size: 11px; }
.call-inbox-card strong { font-size: 13px; }
.call-inbox-symbol { flex: none; color: #c4a277; font-size: 20px; }
.call-inbox-card > .icon-button { flex: none; width: 36px; height: 36px; }
.call-inbox-card > .btn { flex: none; min-height: 36px; padding: 7px 11px; white-space: nowrap; }
.comm-chat > .call-inbox {
  position: static;
  flex: 0 1 auto;
  width: auto;
  min-height: 0;
  max-height: min(144px,24dvh);
  margin: 6px max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left));
  box-shadow: none;
}


/* Standalone call surface. */
.page-call .app-shell{display:block!important;padding:0!important;min-height:100dvh}.page-call .app-main{margin:0!important;padding:clamp(12px,3vw,32px)!important;min-width:0;width:100%;box-sizing:border-box}.page-call .call-room{position:relative;max-width:1120px;margin:0 auto;padding:clamp(16px,3vw,32px);border:1px solid #b48a4933;border-radius:24px;background:radial-gradient(ellipse at 50% 0,#9b6b1e16,transparent 65%),#111214;min-height:calc(100dvh - 64px);overflow:hidden}.call-brand{display:flex;justify-content:center;margin:0 auto 16px;width:56px;height:56px;opacity:.8}.call-brand img{width:100%;height:100%;object-fit:contain}.call-heading h1{overflow-wrap:anywhere;font-size:clamp(20px,3vw,28px)}.call-heading>div{min-width:0}.call-control{border-radius:20px}.call-activity-warning{position:fixed;z-index:1500;left:50%;top:20px;transform:translateX(-50%);width:min(420px,calc(100% - 32px));padding:18px 22px;border:1px solid #b48a49;border-radius:18px;background:#191715f5;box-shadow:0 12px 70px #000b;text-align:center;box-sizing:border-box}.call-activity-warning strong,.call-activity-warning span{display:block}.call-hold{margin:12px auto;max-width:420px}.call-hold select{max-width:100%}@media(max-width:600px){.page-call .app-main{padding:8px!important}.page-call .call-room{min-height:calc(100dvh - 16px);border-radius:20px}.call-controls{gap:8px}.call-control{min-width:0;flex:1;padding:12px 5px}.call-brand{width:44px;height:44px}}

.call-audio-check{width:min(100%,480px);box-sizing:border-box;margin:0 auto;padding:12px 14px;border:1px solid #b48a492a;border-radius:14px;background:#b48a4908}.call-audio-line{display:flex;align-items:center;gap:12px;font-size:12px;color:#bdb3a7;min-width:0}.call-audio-line>span{flex:1;min-width:0;overflow-wrap:anywhere}.call-audio-line meter{width:84px;max-width:30%;height:9px;accent-color:#bc9869}.call-audio-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:9px}.call-audio-devices{display:grid;gap:10px;padding-top:12px}.call-audio-devices select{width:100%;max-width:100%;min-width:0}.call-audio-devices label{min-width:0}.call-audio-check.has-issue [data-mic-status]{color:#d39c86}.call-audio-check.in-call{margin:12px auto}.call-audio-check.in-call [data-mic-test]{font-size:11px;min-height:26px;padding:4px 8px}.call-window-conflict{padding:14px;border:1px solid #bc986977;border-radius:14px;background:#29231c;display:grid;gap:12px}.call-stream-error{color:#dfac92;font-size:13px}.call-details textarea{width:100%;height:320px;font-family:monospace;font-size:12px;box-sizing:border-box}.call-details{max-width:calc(100vw - 24px)}@media(max-width:500px){.call-audio-check{padding:10px}.call-audio-line{gap:8px}.call-audio-devices .toolbar{flex-wrap:wrap}.call-window-conflict .toolbar{flex-wrap:wrap}}

.call-audio-line meter::-webkit-meter-bar{background:#26231e;border:0;border-radius:9px}.call-audio-line meter::-webkit-meter-optimum-value{background:#bc9869;border-radius:9px}.call-audio-line meter::-moz-meter-bar{background:#bc9869;border-radius:9px}

.call-sound-dialog{position:fixed;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:1px solid #b48a4955;border-radius:20px;padding:24px;background:#1c1916;color:#ddd0c0;box-shadow:0 24px 90px #000a}.call-sound-dialog::backdrop{background:#080909b8;backdrop-filter:blur(5px)}.call-sound-dialog h2{font-size:19px;margin:0 32px 22px 0}.call-sound-close{position:absolute;right:14px;top:12px}.call-sound-dialog label{display:grid;gap:6px;font-size:12px;margin:16px 0 10px}.call-sound-dialog select{min-width:0;max-width:100%;width:100%}.call-sound-dialog .toolbar{display:flex;gap:10px;flex-wrap:wrap}.call-sound-dialog .btn{min-height:32px;padding:6px 12px}.call-sound-dialog .link-button{font-size:12px}.call-sound-dialog hr{border:0;border-top:1px solid #b48a4928;margin:20px 0 14px}.call-sound-dialog p{font-size:12px;line-height:1.6;margin:10px 0}.call-sound-hint,.call-sound-dialog details{color:#b0a292}.call-sound-dialog details{font-size:12px;margin-top:16px}.call-sound-dialog summary{cursor:pointer;color:#c8ac87}.call-sound-error{color:#dfa58e}.call-sound-error:empty{display:none}.call-sound-dialog audio{width:100%;margin-top:10px;height:34px}.call-tile-sound{position:absolute;top:9px;left:10px;right:10px;font-size:10px;color:#b2a28e;text-shadow:0 1px 3px #000}.call-tile.has-video .call-tile-sound{width:fit-content;max-width:calc(100% - 20px);background:#17130fa8;border-radius:6px;padding:3px 6px}.call-tile.is-speaking{border-color:#c19a64aa;box-shadow:inset 0 0 0 1px #b48a4940}.call-tile.is-speaking .call-tile-sound{color:#d8b77f}@media(max-width:500px){.call-sound-dialog{padding:20px 16px}.call-tile-sound{font-size:9px;left:7px;top:7px}}

.call-broadcast{padding:16px 18px;border-radius:16px;text-align:left}.call-broadcast>strong{display:flex;align-items:center;gap:8px;font-size:14px}.call-broadcast-title{margin:7px 0;font-size:14px;overflow-wrap:anywhere}.call-broadcast-title a{text-decoration:none}.call-broadcast>p{font-size:12px;line-height:1.5;margin:8px 0}.call-broadcast-access{font-size:12px;color:#b8a997;margin:10px 0}.call-broadcast-access summary{cursor:pointer;list-style-position:inside}.call-broadcast-access p{line-height:1.6;margin:8px 0}.call-broadcast-actions{align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.call-broadcast-actions>span{font-size:12px;color:#b8a997;margin-right:auto}.call-secondary{gap:8px 18px;align-items:center}.call-secondary [data-call-end]{color:#d99b89}.call-hold{max-width:480px;margin:14px auto;color:#b8a997;font-size:12px;text-align:left}.call-hold summary{cursor:pointer}.call-hold label{display:grid;gap:7px;margin:12px 0}.call-hold select{width:100%;font-size:12px}.call-heading h1{overflow-wrap:anywhere}.call-controls{gap:12px}.call-control:focus-visible,.call-secondary button:focus-visible{outline:2px solid #c3a073;outline-offset:4px}@media(max-width:500px){.call-broadcast{padding:13px}.call-controls{gap:8px}.call-broadcast-actions{display:flex}.call-broadcast-actions>span{width:100%}.call-secondary{gap:10px 16px}}

/* Call setup, camera preview and broadcast settings. */
.call-setup{max-width:660px;gap:18px}.call-setup>.call-audio-check:not(.in-call){display:none}.call-setup>[data-call-preview]:not([hidden]){height:150px}.call-setup-options[hidden]{display:none!important}.call-lobby{display:grid;gap:14px;text-align:left;min-width:0}.lobby-step,.lobby-camera-optional{border:1px solid #b6926333;border-radius:20px;background:linear-gradient(145deg,#b6946010,#ffffff02);overflow:hidden;min-width:0;transition:border-color .2s}.lobby-step.is-complete{border-color:#9daf783f}.lobby-step>header{display:flex;gap:13px;padding:20px 22px 0;align-items:flex-start}.lobby-step>header>div{min-width:0}.lobby-step h2,.lobby-camera-optional h2{margin:0;font-size:17px;font-weight:550;line-height:1.5;color:#e2d5c4}.lobby-step>header p{color:#ac9f90;font-size:12px;line-height:1.6;margin:3px 0 0}.lobby-body{padding:18px 22px;display:grid;gap:14px;min-width:0}.lobby-body>label{display:grid;gap:8px;font-size:12px;color:#bdaf9b;min-width:0}.lobby-body select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border-radius:11px;min-height:40px;font-size:13px}.lobby-check{border-top:1px solid #b692631a;padding:12px 22px;display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;color:#aa9c8c;background:#00000010}.lobby-check input{appearance:none;-webkit-appearance:none!important;position:relative;display:block;width:19px!important;height:19px!important;min-width:19px;margin:0!important;padding:0!important;border:1px solid #8c7e6b80;border-radius:6px;background:transparent;opacity:1!important}.lobby-check input:checked{border-color:#b1bf8c;background:#a8b78024}.lobby-check input:checked::after{content:'';position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #bed098;border-width:0 2px 2px 0;transform:rotate(45deg)}.is-complete>.lobby-check{color:#bec9a8}.lobby-hint{font-size:11px;line-height:1.65;margin:0;color:#a99d8b;overflow-wrap:anywhere}.lobby-error{font-size:12px;line-height:1.6;color:#e0aa90;margin:0;overflow-wrap:anywhere}.lobby-error:empty{display:none}.lobby-requirements{font-size:12px;line-height:1.6;margin:0;text-align:center;color:#c6b18f;overflow-wrap:anywhere}.call-setup>.lobby-requirements{margin:0 auto;max-width:100%}.lobby-launch{width:100%;min-height:48px;border-radius:14px;justify-self:stretch!important;transition:opacity .2s,background .2s}.lobby-launch:disabled{opacity:.45!important;cursor:not-allowed!important;box-shadow:none!important;filter:saturate(.25)}.lobby-camera-optional>h2{padding:18px 22px 0;font-size:14px}.lobby-body .check{display:flex;align-items:center;gap:9px;margin:0}.lobby-body .check input{width:16px!important;height:16px!important;accent-color:#c7a574}.lobby-body .call-preview{height:230px;border-radius:14px}.lobby-body .call-preview:has(video:not([hidden])) .call-preview-avatar{visibility:hidden}.lobby-body .broadcast-form{gap:14px}.lobby-body .broadcast-form>h2{display:none}.lobby-body .broadcast-form label{font-size:12px}.lobby-body .broadcast-fields{gap:12px}.lobby-body .broadcast-form .toolbar{flex-wrap:wrap;gap:8px}.lobby-body .broadcast-form .btn{font-size:11px;min-height:34px}.lobby-body .broadcast-form details{font-size:12px}.lobby-body .call-studio-settings{margin:0;min-width:0}.broadcast-preflight.is-compact{border:0;background:transparent;margin:0;padding:0;min-width:0}.broadcast-preflight.is-compact>h3,.broadcast-preflight.is-compact>label{display:none}.broadcast-preflight.is-compact p{font-size:11px;line-height:1.6;margin:0 0 8px}.broadcast-preflight.is-compact p:empty{display:none}.broadcast-preflight.is-compact button{font-size:11px}.call-launch-dialog{width:min(720px,calc(100vw - 24px));padding:24px!important;max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box}.call-launch-dialog>.call-lobby{margin-top:16px}.call-launch-dialog .broadcast-start-actions{display:grid;gap:12px;margin-top:16px;text-align:center}.call-launch-dialog .broadcast-start-actions .lobby-requirements{order:-1}.call-launch-dialog .broadcast-start-actions small{font-size:11px;line-height:1.6}.call-launch-dialog>[data-broadcast-close]{position:absolute;right:14px;top:12px}.call-broadcast-actions>.lobby-requirements{flex-basis:100%;text-align:left;font-size:11px}.call-setup .call-mode{max-width:none}.call-setup .call-mode select{min-height:42px}
@media(max-width:600px){.call-lobby{gap:12px}.lobby-step,.lobby-camera-optional{border-radius:16px}.lobby-step>header{padding:16px 14px 0;gap:10px}.lobby-step h2{font-size:16px}.lobby-step>header p{font-size:11px}.lobby-body{padding:15px 14px;gap:12px}.lobby-check{padding:11px 14px;font-size:11px}.lobby-body .call-preview{height:180px}.lobby-body .broadcast-fields{grid-template-columns:minmax(0,1fr)}.lobby-camera-optional>h2{padding:16px 14px 0}.call-launch-dialog{padding:36px 10px 16px!important}.lobby-launch{min-height:48px}.call-setup{gap:14px}}
@media(prefers-reduced-motion:reduce){.lobby-step,.lobby-launch{transition:none}}

/* Compact optional checks and individual playback recovery. */
.call-launch-tools{display:grid;gap:12px;min-width:0}.call-peer-audio:focus-visible{outline:2px solid #ceb184;outline-offset:2px}.call-lobby:empty{display:none}.call-setup>[data-call-preview]{display:none!important}.call-setup .lobby-body .call-preview{display:grid!important}.call-setup .call-lobby .lobby-step>header{padding-top:15px}.call-setup .lobby-camera-optional{background:transparent}.call-peer-audio{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff1a;border-radius:11px;background:#17130f99;color:#bdad9b;font-size:22px;cursor:pointer;z-index:2}.call-peer-audio:hover{background:#4f3c29}.call-peer-audio.has-issue{color:#e0b98c;border-color:#c7955159;background:#35291fdf}.call-network-hint{margin:0 0 14px;padding:10px 13px;border:1px solid #b48a492a;background:#b48a4908;border-radius:12px;color:#bdb09f;font-size:12px;line-height:1.6}.call-sound-dialog [data-output-help]{font-size:12px;line-height:1.6}.call-details textarea{min-height:260px;max-width:100%;resize:vertical}.call-controls{gap:9px}.call-control[data-call-output]>svg{fill:none}.call-secondary [data-call-diagnostics]{color:#9d978e}.call-launch-dialog .call-launch-tools{margin-top:14px}.call-launch-dialog .lobby-step[hidden]{display:none!important}.broadcast-preflight>label[hidden]{display:none!important}@media(max-width:600px){.call-controls{gap:3px;padding:7px 8px;max-width:100%;box-sizing:border-box}.call-control{min-width:48px;padding:5px 2px}.call-control>svg{width:43px;height:43px;padding:11px}.call-peer-audio{width:32px;height:32px;top:6px;right:6px}.call-secondary{gap:4px 12px}.call-secondary .link-button{min-height:36px}.call-sound-dialog{box-sizing:border-box;max-width:calc(100vw - 20px)}}

.call-setup .lobby-camera-optional>h2{display:none}.call-setup .lobby-camera-optional .lobby-body{padding:12px 16px}.call-setup .lobby-body:has([data-call-camera]:not(:checked))>.call-preview,.call-setup .lobby-body:has([data-call-camera]:not(:checked))>label:not(.check){display:none!important}

/* The standalone room has no pendant navigation above its content. */
.page-call .app-shell > .app-main > .content { padding: 0; }
.page-call .app-shell > .app-main > .content::before { content: none; }

/* Device choice and optional tests share one panel. */
.lobby-sound {
  min-width: 0;
  border: 1px solid #b6926340;
  border-radius: 15px;
  background: #1c1815;
  text-align: left;
}
.lobby-device-row { display: grid; gap: 6px; padding: 9px 12px 11px; min-width: 0; }
.lobby-device-row + .lobby-device-row { border-top: 1px solid #b692632b; }
.lobby-device-heading { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.lobby-device-heading strong { color: #e2d5c5; font-size: 13px; font-weight: 650; }
.lobby-device-status {
  margin-left: auto;
  color: #bdb0a0;
  font-size: 11px;
  line-height: 1.25;
  text-align: right;
}
.lobby-device-status[data-state="ready"] {
  padding: 4px 7px;
  border-radius: 7px;
  background: #9bb07922;
  color: #c6d9ab;
}
.lobby-mic-toggle { position: relative; display: grid; place-items: center; width: 42px; min-height: 30px; margin-left: auto; cursor: pointer; flex-shrink: 0; }
.lobby-device-status:not([hidden]) + .lobby-mic-toggle { margin-left: 0; }
.lobby-mic-toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: inherit; }
.lobby-mic-toggle span { position: relative; width: 35px; height: 20px; border-radius: 20px; border: 1px solid #c6ad8655; background: #2e2823; }
.lobby-mic-toggle span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #ae9c8a; }
.lobby-mic-toggle input:checked + span { background: #826646; border-color: #c5a479; }
.lobby-mic-toggle input:checked + span::after { left: 17px; background: #f1dbc0; }
.lobby-mic-toggle input:focus-visible + span { outline: 2px solid #ceb184; outline-offset: 3px; }
.lobby-mic-toggle input:disabled + span { opacity: .55; }
.lobby-device-actions { display: flex; gap: 7px; align-items: center; min-width: 0; }
.lobby-device-select, .lobby-test-button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid #ba986944;
  border-radius: 9px;
  background: #141211;
  color: #e1d6c7;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.lobby-device-select { flex: 1; justify-content: space-between; min-width: 0; }
.lobby-device-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lobby-test-button { flex: 0 0 auto; background: #30261e; color: #ead3b8; white-space: nowrap; }
.lobby-play-test::before { content: '▷'; font-size: 14px; line-height: 1; }
.lobby-device-select:not(:disabled):hover, .lobby-device-select[aria-expanded="true"],
.lobby-test-button:not(:disabled):hover { border-color: #c4a1739c; background: #3d3026; }
.lobby-device-select:disabled, .lobby-test-button:disabled { cursor: default; opacity: .55; }
.lobby-device-arrow {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: 0 2px 3px 0;
  transform: rotate(45deg);
  border-right: 1.5px solid #c8af8e;
  border-bottom: 1.5px solid #c8af8e;
}
.lobby-device-select[aria-expanded="true"] .lobby-device-arrow { transform: rotate(225deg); }
.lobby-mic-meter { flex: 0 0 clamp(45px, 24%, 105px); height: 8px; min-width: 0; }
.lobby-device-menu {
  position: fixed;
  z-index: 80;
  overflow: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #c09b6b70;
  border-radius: 13px;
  background: #211d19;
  color: #e5d9cb;
  box-shadow: 0 12px 36px #0009;
  scrollbar-color: #61503e #211d19;
}
.lobby-device-menu[hidden], .lobby-device-menu [hidden] { display: none !important; }
.lobby-device-options { display: grid; gap: 2px; }
.lobby-device-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.lobby-device-option[aria-checked="true"] {
  border-color: #c09b6b65;
  background: #b692631c;
}
.lobby-device-option:not(:disabled):hover { background: #c8a37125; }
.lobby-device-option:disabled { cursor: default; }
.lobby-launch:focus-visible, .lobby-device-select:focus-visible, .lobby-test-button:focus-visible, .lobby-device-option:focus-visible {
  outline: 2px solid #ceb184;
  outline-offset: -2px;
}
.lobby-option-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lobby-option-mark { flex: 0 0 13px; color: #ccaa7d; font-size: 10px; }
.lobby-device-option meter { width: 76px; max-width: 24%; height: 8px; flex-shrink: 0; }
.lobby-mic-meter::-webkit-meter-bar, .lobby-device-option meter::-webkit-meter-bar { background: #151311; border: 0; border-radius: 8px; }
.lobby-mic-meter::-webkit-meter-optimum-value, .lobby-device-option meter::-webkit-meter-optimum-value { background: #c7a574; border-radius: 8px; }
.lobby-mic-meter::-moz-meter-bar, .lobby-device-option meter::-moz-meter-bar { background: #c7a574; border-radius: 8px; }
.lobby-system-picker { color: #d6b58c; }
.lobby-device-hint { margin: 5px 9px 6px; color: #b9ad9e; font-size: 11px; line-height: 1.4; }
@media (max-width: 540px) {
  .lobby-device-row { padding-inline: 9px; }
  .lobby-device-option meter { width: 64px; }
}

.call-view-toolbar, .call-view-tools, .call-view-modes, .call-view-zoom {
  display: flex;
  align-items: center;
  gap: 6px;
}
.call-view-toolbar {
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 8px;
  min-width: 0;
}
.call-view-tools { margin-left: auto; }
.call-view-modes, .call-view-zoom {
  gap: 0;
  border: 1px solid #b48a493d;
  border-radius: 11px;
  background: #1b1814;
}
.call-view-toolbar button, .call-tile-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 10px;
  background: transparent;
  color: #dbcbb8;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}
.call-view-toolbar button[aria-pressed="true"] {
  border-color: #c09b6b55;
  background: #bc956627;
  color: #f4dec3;
}
.call-view-toolbar button[aria-disabled="true"] { opacity: .48; cursor: default; }
.call-view-toolbar button:not([aria-disabled="true"]):hover { background: #bc956638; }
.call-view-toolbar button:focus-visible, .call-tile-target:focus-visible,
.call-tile-expand:focus-visible, .call-video-view:focus-visible {
  outline: 2px solid #ceb184;
  outline-offset: -2px;
}
.call-view-toolbar svg, .call-tile-expand svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.call-view-zoom button { min-width: 32px; padding: 0 6px; font-size: 15px; }
.call-view-zoom button[data-view-zoom="0"] { font-size: 12px; }
.call-view-toolbar [data-view-full], .call-view-toolbar [data-view-exit] { border-color: #b48a494d; background: #211a14; }
.call-view-toolbar [data-view-exit] { font-size: 20px; }
.call-view-toolbar [data-view-exit] span { font-size: 12px; }
.call-view-caption {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: #dbccb9;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.call-tile-target {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}
.call-tile-expand {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 36px;
  padding: 0;
  border-color: #ffffff26;
  background: #17130fe0;
}
.call-tile-expand:hover { background: #483829; }
.call-video-view { position: absolute; inset: 0; overflow: hidden; }
.call-tile.has-video .call-video-view { background: #0a0908; }
.call-video-view > video {
  position: relative;
  inset: auto;
  display: block;
  max-width: none;
  width: calc(100% * var(--call-scale, 1));
  height: calc(100% * var(--call-scale, 1));
  pointer-events: none;
}
.call-video-view[data-zoomed] {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #76634e #17130f;
  cursor: grab;
}
.call-video-view.is-panning { cursor: grabbing; }
.call-tile-name, .call-tile-muted { pointer-events: none; }
.call-voice-meter {
  position: absolute;
  top: 8px;
  right: 48px;
  width: 20px;
  height: 34px;
  box-sizing: border-box;
  border-radius: 9px;
  padding: 6px;
  display: grid;
  justify-items: center;
  background: #17130fe0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
  z-index: 2;
}
.call-tile[data-call-self] .call-voice-meter { right: 8px; }
.call-voice-meter.is-speaking { opacity: 1; }
.call-voice-meter::before {
  content: "";
  width: 5px;
  height: 100%;
  border-radius: 4px;
  background: #ecc28b;
  transform: scaleY(var(--call-voice-level, .16));
  transform-origin: bottom center;
  transition: transform .1s ease-out;
}
.call-peer-audio[aria-busy="true"] { border-color: #e0b98c; color: #ffe0b5; }
@media (max-width: 600px) {
  .call-voice-meter { top: 6px; right: 43px; height: 32px; }
  .call-tile[data-call-self] .call-voice-meter { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .call-voice-meter, .call-voice-meter::before { transition: none; }
}
.call-stage .call-screen { grid-column: auto; aspect-ratio: 4 / 3; order: 0; }
.call-stage.is-focused { grid-template-columns: repeat(auto-fill, minmax(min(118px, 100%), 1fr)); }
.call-stage.is-focused .call-tile { grid-column: auto; aspect-ratio: 4 / 3; order: 0; }
.call-stage.is-focused .call-tile:not(.is-featured) .call-tile-avatar { width: 42px; height: 42px; font-size: 18px; }
.call-stage.is-focused .call-tile.is-featured {
  grid-column: 1 / -1;
  order: -1;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(54dvh, 620px);
}
.call-stage.is-focused .call-tile.is-featured.call-screen { aspect-ratio: 16 / 9; }
.call-tile.is-featured video { object-fit: contain; }
.call-view-expanded { overflow: hidden; }
.call-view.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  box-sizing: border-box;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: #0a0908;
  overscroll-behavior: contain;
}
.call-view.is-expanded .call-view-toolbar { flex-wrap: nowrap; }
.call-view.is-expanded .call-view-modes { display: none; }
.call-view.is-expanded .call-stage {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.call-view.is-expanded .call-stage .call-tile:not(.is-featured) { display: none; }
.call-view.is-expanded .call-stage .call-tile.is-featured {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  max-height: none;
  border: 0;
  border-radius: 0;
}
.call-view.is-expanded .call-tile-name { display: none; }

@supports (overflow: clip) {
  .page-call .call-room { overflow: clip; }
}

@media (max-width: 600px) {
  .call-stage .call-screen { aspect-ratio: 3 / 4; }
  .call-stage.is-focused { grid-template-columns: repeat(auto-fill, minmax(min(80px, 100%), 1fr)); }
  .call-stage.is-focused .call-tile.is-featured:not(.call-screen) { aspect-ratio: 4 / 3; }
  .call-view-toolbar, .call-view-tools { gap: 4px; }
  .call-view-toolbar button { min-height: 40px; padding: 0 7px; }
  .call-view-zoom button { min-width: 30px; padding: 0 4px; }
  .call-view-toolbar [data-view-pin], .call-view-toolbar [data-view-full] { min-width: 40px; }
  .call-view-toolbar [data-view-pin] span, .call-view-toolbar [data-view-full] span { display: none; }
  .call-tile-expand { top: 6px; left: 6px; width: 34px; min-height: 34px; }
}
@media (max-width: 360px) {
  .call-control { font-size: 10px; }
  .call-view-modes button { padding: 0 6px; }
  .call-view-zoom button { min-width: 27px; }
  .call-view-toolbar [data-view-pin], .call-view-toolbar [data-view-full] { min-width: 38px; }
}
