*{box-sizing:border-box}body{color:#fff;background:#111827;margin:0;font-family:Arial,Helvetica,sans-serif}.loading-screen{justify-content:center;align-items:center;width:100vw;height:100vh;font-size:20px;display:flex}.prejoin-page{justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.prejoin-container{background:#1f2937;border-radius:16px;grid-template-columns:1.5fr 1fr;gap:30px;width:100%;max-width:1100px;padding:30px;display:grid}.prejoin-preview{flex-direction:column;gap:20px;display:flex}.preview-video{aspect-ratio:16/9;background:#000;border-radius:12px;width:100%;overflow:hidden}.preview-video>div,.preview-video video{width:100%!important;height:100%!important}.preview-video video{object-fit:cover!important}.camera-off-preview{aspect-ratio:16/9;color:#94a3b8;background:#0f172a;border-radius:12px;justify-content:center;align-items:center;width:100%;font-size:20px;display:flex}.preview-controls{justify-content:center;align-items:center;gap:14px;margin-top:4px;display:flex}.prejoin-control-button{color:#fff;cursor:pointer;background:#374151;border:none;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;font-size:20px;transition:background .2s,transform .2s;display:flex}.prejoin-control-button:hover{background:#4b5563;transform:translateY(-2px)}.prejoin-control-button.control-off{color:#fff;background:#dc2626}.prejoin-control-button.control-off:hover{background:#b91c1c}.prejoin-settings{flex-direction:column;gap:12px;display:flex}.prejoin-settings h1{margin-top:0}.prejoin-settings label{color:#d1d5db;margin-top:8px;font-size:14px}.prejoin-settings input,.prejoin-settings select{color:#fff;background:#111827;border:1px solid #4b5563;border-radius:8px;width:100%;padding:12px}.join-meeting-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;margin-top:20px;padding:14px;font-size:16px}.join-meeting-button:hover{background:#1d4ed8}.prejoin-background-section{flex-direction:column;gap:10px;margin-top:6px;display:flex}.prejoin-background-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.background-option-button{color:#d1d5db;cursor:pointer;background:#111827;border:1px solid #4b5563;border-radius:8px;min-height:40px;padding:8px 10px}.background-option-button:hover:not(:disabled){background:#374151}.background-option-button.active{color:#fff;background:#2563eb;border-color:#60a5fa}.background-option-button:disabled{cursor:not-allowed;opacity:.55}.prejoin-background-color-row{color:#d1d5db;justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.prejoin-background-color-row input[type=color]{cursor:pointer;width:52px;height:36px;padding:2px}.prejoin-background-file-input{display:none}.prejoin-background-message{color:#93c5fd;font-size:12px;line-height:1.4}.prejoin-background-message.background-error{color:#fca5a5}.video-call-page{color:#fff;background:#0b1422;flex-direction:column;width:100%;min-height:100vh;padding:16px;display:flex;overflow:hidden}.meeting-header{background:linear-gradient(135deg,#151f2e,#101925);border-radius:14px;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:72px;margin-bottom:16px;padding:14px 18px;display:flex;box-shadow:0 8px 25px #0003}.meeting-header-info{flex-wrap:wrap;align-items:center;gap:34px;display:flex}.header-info-item{color:#e5e7eb;align-items:center;gap:9px;font-size:14px;display:flex}.header-info-item strong{color:#fff;font-weight:700}.header-icon{font-size:20px}.connection-status{color:#65e66e;align-items:center;gap:8px;font-size:14px;font-weight:500;display:flex}.connection-dot{background:#54c95a;border-radius:50%;width:10px;height:10px;display:inline-block}.header-end-call{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:9px;height:46px;padding:0 20px;font-size:14px;font-weight:600;transition:background .2s,transform .2s;display:flex}.header-end-call:hover{background:#dc2626;transform:translateY(-1px)}.meeting-content{flex:1;justify-content:center;align-items:center;width:100%;min-height:0;padding-bottom:120px;display:flex;position:relative}.main-video-stage{aspect-ratio:16/9;background:#000;border-radius:18px;justify-content:center;align-items:center;width:100%;max-height:calc(100vh - 230px);display:flex;position:relative;overflow:hidden;box-shadow:0 15px 40px #00000059}.main-video-player{background:#000;width:100%;height:100%;position:absolute;inset:0}.main-video-player>div{width:100%!important;height:100%!important}.main-video-player video{background:#000;object-fit:contain!important;width:100%!important;height:100%!important}.main-video-name{z-index:20;color:#fff;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#141414c7;border-radius:8px;padding:9px 13px;font-size:13px;font-weight:500;position:absolute;bottom:20px;left:24px}.self-preview{aspect-ratio:16/9;z-index:30;background:#111;border:1px solid #ffffff4d;border-radius:16px;width:260px;position:absolute;top:16px;right:16px;overflow:hidden;box-shadow:0 8px 25px #0006}.self-preview video{object-fit:cover;width:100%;height:100%;transform:scaleX(-1)}.self-preview-name{z-index:5;color:#fff;background:#141414bf;border-radius:7px;padding:6px 9px;font-size:12px;position:absolute;top:12px;left:12px}.signal-indicator{z-index:5;color:#63e66c;background:#141414bf;border-radius:7px;padding:6px 8px;font-size:13px;position:absolute;top:12px;right:12px}.remote-preview{aspect-ratio:16/9;z-index:29;background:#111;border:1px solid #ffffff40;border-radius:16px;width:260px;position:absolute;right:16px;overflow:hidden;box-shadow:0 8px 25px #0006}.remote-preview-player{width:100%;height:100%}.remote-preview-player>div{width:100%!important;height:100%!important}.remote-preview-player video{object-fit:cover!important;width:100%!important;height:100%!important}.remote-camera-off{background:#1f2937;justify-content:center;align-items:center;width:100%;height:100%;font-size:40px;display:flex}.camera-off-screen{color:#9ca3af;background:#111827;flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:absolute;inset:0}.camera-off-avatar{color:#fff;background:#374151;border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;font-size:38px;font-weight:600;display:flex}.meeting-toolbar{z-index:100;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#182331f7;border-radius:18px;justify-content:center;align-items:center;gap:14px;padding:12px 20px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 15px 45px #00000073}.toolbar-button{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:85px;height:78px;font-size:12px;transition:background .2s,transform .2s;display:flex}.toolbar-button:hover{background:#ffffff14;transform:translateY(-2px)}.toolbar-icon-circle{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-size:21px;display:flex}.toolbar-button.inactive .toolbar-icon-circle{color:#ef4444;background:#374151}.toolbar-button.active-share{color:#65e66e}.toolbar-button.active-share .toolbar-icon-circle{color:#102017;background:#65e66e}.toolbar-icon-wrapper{position:relative}.participant-count{color:#fff;background:#4b5563;border-radius:10px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:10px;font-weight:600;display:flex;position:absolute;top:-4px;right:-6px}.end-call-circle{color:#fff;background:#ef4444}.toolbar-button:hover .end-call-circle{background:#dc2626}.end-call-toolbar{color:#fff}.end-call-circle{background:#ef4444;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;font-size:24px;display:flex}.side-panel{z-index:90;background:#172033;border-radius:16px;width:320px;position:fixed;top:105px;bottom:130px;right:20px;overflow:hidden;box-shadow:0 15px 40px #00000073}.side-panel-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:60px;padding:0 18px;display:flex}.side-panel-header h3{margin:0;font-size:16px}.side-panel-header button{color:#fff;cursor:pointer;background:0 0;border:none;font-size:24px}.participant-list{padding:15px}.participant-item{border-radius:10px;align-items:center;gap:12px;padding:10px;display:flex}.participant-item:hover{background:#ffffff0d}.participant-avatar{background:#374151;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.participant-item>div:last-child{flex-direction:column;gap:3px;display:flex}.participant-item span{color:#9ca3af;font-size:11px}.chat-empty{text-align:center;color:#9ca3af;padding:30px;font-size:13px;line-height:1.6}@media (width<=900px){.meeting-header-info{gap:15px}.header-info-item:nth-child(3){display:none}.self-preview,.remote-preview{width:200px}.meeting-toolbar{justify-content:flex-start;max-width:calc(100vw - 20px);overflow-x:auto}.toolbar-button{min-width:78px}}@media (width<=600px){.video-call-page{padding:8px}.meeting-header{border-radius:10px;min-height:auto;padding:12px}.meeting-header-info{flex-direction:column;align-items:flex-start;gap:5px}.header-info-item:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:230px;overflow:hidden}.connection-status,.header-end-call span{display:none}.main-video-stage{aspect-ratio:9/16;max-height:calc(100vh - 185px)}.self-preview,.remote-preview{border-radius:10px;width:130px}.main-video-name{bottom:12px;left:12px}.meeting-content{padding-bottom:95px}.meeting-toolbar{border-radius:14px;gap:2px;width:calc(100% - 16px);min-height:82px;padding:8px;bottom:8px}.toolbar-button{min-width:66px;height:66px;font-size:10px}.toolbar-icon{font-size:22px}.end-call-circle{width:40px;height:40px}.side-panel{width:auto;inset:90px 8px 100px}}@media (width<=768px){.prejoin-container{grid-template-columns:1fr;padding:20px}.prejoin-page{padding:15px}.call-header{flex-direction:column;align-items:flex-start}.leave-button{width:100%;margin-left:0}.video-grid{grid-template-columns:1fr}}.call-countdown{z-index:50;color:#fff;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000a6;border-radius:20px;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:600;display:flex;position:absolute;top:20px;right:20px;box-shadow:0 3px 10px #0000004d}.toolbar-button.active-background{color:#65e66e}.toolbar-button.active-background .toolbar-icon-circle{color:#65e66e;background:#65e66e26}.virtual-background-menu{z-index:150;background:#182331;border-radius:16px;width:380px;max-width:calc(100vw - 30px);padding:16px;position:fixed;bottom:125px;left:50%;transform:translate(-50%);box-shadow:0 15px 45px #00000080}.virtual-background-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.virtual-background-header button{color:#fff;cursor:pointer;background:0 0;border:none;font-size:24px}.virtual-background-options{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.background-option{color:#fff;cursor:pointer;background:#111827;border:2px solid #0000;border-radius:12px;flex-direction:column;gap:7px;padding:8px;transition:border .2s,transform .2s;display:flex}.background-option:hover{border-color:#4b5563;transform:translateY(-2px)}.background-option.selected{border-color:#65e66e}.background-preview{border-radius:8px;justify-content:center;align-items:center;width:100%;height:85px;font-size:13px;display:flex}.none-background{color:#9ca3af;background:#080b10}.blur-background{filter:blur(.5px);background:linear-gradient(135deg,#475569,#1e293b)}.color-background{background:#1f2937}.upload-background{color:#9ca3af;background:#273449;font-size:30px}.virtual-background-not-supported{text-align:center;color:#9ca3af;padding:20px;font-size:13px;line-height:1.5}.meeting-content.screen-sharing-layout{grid-template-columns:minmax(0,1fr) 240px;align-items:stretch;gap:14px;width:100%;min-width:0;min-height:0;padding-bottom:110px;padding-left:0;padding-right:0;display:grid;overflow:hidden}.meeting-content.screen-sharing-layout .shared-screen-pinned{aspect-ratio:auto;background:#050505;border-radius:14px;width:100%;min-width:0;height:calc(100vh - 145px);min-height:0;max-height:none;position:relative;overflow:hidden}.meeting-content.screen-sharing-layout .shared-screen-pinned .main-video-player{width:100%;height:100%;position:absolute;inset:0}.meeting-content.screen-sharing-layout .shared-screen-pinned .main-video-player>div{width:100%!important;height:100%!important}.meeting-content.screen-sharing-layout .shared-screen-pinned .main-video-player video{background:#050505;object-fit:contain!important;width:100%!important;height:100%!important}.screen-share-participants{scrollbar-width:thin;scrollbar-gutter:stable;flex-direction:column;align-items:stretch;gap:12px;width:240px;height:calc(100vh - 145px);min-height:0;padding-right:4px;display:flex;overflow:hidden auto}.screen-share-participant-tile{aspect-ratio:16/9;background:#111827;border:1px solid #ffffff26;border-radius:12px;flex:none;width:100%;min-width:0;position:relative;overflow:hidden;box-shadow:0 5px 15px #0000004d}.screen-share-participant-video{width:100%;height:100%;position:absolute;inset:0}.screen-share-participant-video>div{width:100%!important;height:100%!important}.screen-share-participant-video video{object-fit:cover!important;width:100%!important;height:100%!important}.screen-share-participant-placeholder{background:#111827;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.screen-share-avatar{color:#fff;background:#374151;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;font-size:22px;font-weight:600;display:flex}.screen-share-participant-name{z-index:10;color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#000000b3;border-radius:6px;max-width:calc(100% - 16px);padding:5px 8px;font-size:11px;position:absolute;bottom:8px;left:8px;overflow:hidden}@media (width<=900px){.meeting-content.screen-sharing-layout{grid-template-columns:minmax(0,1fr) 180px}.screen-share-participants{width:180px}}@media (width<=600px){.meeting-content.screen-sharing-layout{gap:8px;width:100%;height:calc(100dvh - 130px);overflow:hidden;flex-direction:initial!important;grid-template-columns:minmax(0,1fr) 130px!important;display:grid!important}.meeting-content.screen-sharing-layout .shared-screen-pinned{aspect-ratio:auto;min-width:0;min-height:0;width:100%!important;height:100%!important}.screen-share-participants{gap:8px;padding:0 3px 0 0;flex-direction:column!important;width:130px!important;height:100%!important;display:flex!important;overflow:hidden auto!important}.screen-share-participant-tile{aspect-ratio:16/9;flex:none;min-height:0;width:100%!important;min-width:0!important}}.meeting-video-grid{place-content:center;gap:12px;width:100%;height:calc(100vh - 125px);padding-bottom:105px;display:grid}.meeting-video-grid.participant-count-1{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.meeting-video-grid.participant-count-2{grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr))}.meeting-video-grid.participant-count-3,.meeting-video-grid.participant-count-4{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr))}.meeting-video-grid.participant-count-5,.meeting-video-grid.participant-count-6{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr))}.meeting-video-tile{background:#000;border-radius:16px;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 25px #00000040}.meeting-grid-video{z-index:1;width:100%;height:100%;position:absolute;inset:0}.local-video-hidden{visibility:hidden}.meeting-grid-video>div{width:100%!important;height:100%!important}.meeting-grid-video video{background:#000;object-fit:contain!important;width:100%!important;height:100%!important}.grid-camera-off{z-index:2;background:#111827;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;inset:0}.grid-avatar{color:#fff;background:#374151;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;font-size:30px;font-weight:600;display:flex}.grid-participant-name{z-index:20;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;border-radius:7px;padding:7px 10px;font-size:12px;position:absolute;bottom:14px;left:14px}.grid-participant-name span{color:#d1d5db}.participant-mic-off-badge{z-index:110;color:#fff;pointer-events:none;background:#dc2626f0;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:15px;display:flex;position:absolute;top:12px;right:12px;box-shadow:0 4px 12px #00000059}.screen-share-participant-tile .participant-mic-off-badge{width:28px;height:28px;font-size:12px;top:8px;right:8px}@media (width<=600px){.screen-share-participant-tile .participant-mic-off-badge{width:23px;height:23px;font-size:10px;top:5px;right:5px}}.meeting-call-header{z-index:200;background:linear-gradient(135deg,#151f2e,#101925);flex-shrink:0;justify-content:flex-end;align-items:center;width:100%;min-height:56px;margin-bottom:12px;padding:10px 18px;display:flex;position:sticky;top:0}.meeting-call-header .call-countdown{margin:0;position:static;top:auto;right:auto}.meeting-video-tile:after,.screen-share-participant-tile:after{content:"";z-index:100;border-radius:inherit;pointer-events:none;border:3px solid #0000;transition:border-color .15s,box-shadow .15s;position:absolute;inset:0}.meeting-video-tile.speaking:after,.screen-share-participant-tile.speaking:after{border-color:#2563eb;box-shadow:inset 0 0 12px #2563eb4d}@media (width<=768px){.meeting-content{box-sizing:border-box;width:100%;height:calc(100dvh - 130px);padding:8px;overflow:hidden auto}.meeting-video-grid{gap:10px;flex-direction:column!important;grid-template-rows:none!important;grid-template-columns:none!important;width:100%!important;height:auto!important;display:flex!important;overflow:visible!important}.meeting-video-tile{aspect-ratio:16/9;flex:none;min-height:200px;position:relative;width:100%!important;min-width:0!important}.meeting-toolbar .toolbar-button>span{display:none}.meeting-toolbar{align-items:center;justify-content:initial;box-sizing:border-box;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;width:calc(100% - 16px);max-width:none;padding:8px 4px;display:grid;overflow:visible}.meeting-toolbar .toolbar-button{flex-direction:column;justify-content:center;align-items:center;gap:0;width:100%;min-width:0;height:66px;margin:0;padding:0;display:flex}.meeting-toolbar .toolbar-icon-circle{justify-content:center;align-items:center;width:44px;height:44px;margin:0 auto;display:flex}.meeting-toolbar .toolbar-icon-wrapper{position:relative}.meeting-toolbar .end-call-circle{width:44px;height:44px}}@media (width<=1024px) and (orientation:portrait){.meeting-content.screen-sharing-layout{min-width:0;flex-direction:column!important;grid-template-rows:none!important;grid-template-columns:none!important;gap:10px!important;width:100%!important;padding-bottom:110px!important;padding-left:0!important;padding-right:0!important;display:flex!important;overflow:hidden!important}.meeting-content.screen-sharing-layout .shared-screen-pinned{flex:auto;position:relative;overflow:hidden;aspect-ratio:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important}.screen-share-participants{scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex:0 0 135px;gap:10px;padding:4px;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;width:100%!important;height:135px!important;display:flex!important;overflow:auto hidden!important}.screen-share-participant-tile{aspect-ratio:16/9;border-radius:10px;flex:0 0 200px!important;width:200px!important;min-width:200px!important;height:auto!important}.screen-share-participant-video,.screen-share-participant-placeholder{width:100%!important;height:100%!important}}@media (width<=600px) and (orientation:portrait){.meeting-content.screen-sharing-layout{gap:8px!important;padding-bottom:90px!important}.screen-share-participants{flex:0 0 105px;gap:8px;padding:3px 2px;width:100%!important;height:105px!important}.screen-share-participant-tile{aspect-ratio:16/9;flex:0 0 150px!important;width:150px!important;min-width:150px!important;height:auto!important}.screen-share-participant-name{padding:3px 6px;font-size:10px;bottom:5px;left:5px}.screen-share-avatar{width:42px;height:42px;font-size:18px}}@media (width<=1024px) and (orientation:portrait){.meeting-content.screen-sharing-layout .shared-screen-pinned{flex:none!important;height:55vh!important;max-height:55vh!important}}@media (width<=600px) and (orientation:portrait){.meeting-content.screen-sharing-layout .shared-screen-pinned{height:48vh!important;max-height:48vh!important}}.toolbar-visibility-toggle{z-index:210;color:#fff;cursor:pointer;background:#182331f7;border:1px solid #ffffff26;border-radius:14px;justify-content:center;align-items:center;width:46px;height:28px;font-size:14px;transition:bottom .25s,background .2s;display:flex;position:fixed;bottom:118px;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #00000059}.toolbar-visibility-toggle.toolbar-hidden{bottom:18px}.toolbar-visibility-toggle:hover{background:#374151}@media (width<=768px){.toolbar-visibility-toggle{width:42px;height:26px;font-size:12px;bottom:92px}.toolbar-visibility-toggle.toolbar-hidden{bottom:12px}}.meeting-ended-page{color:#fff;background:radial-gradient(circle at top,#18263a 0%,#0b1422 45%,#070d16 100%);justify-content:center;align-items:center;width:100vw;min-height:100vh;padding:24px;display:flex}.meeting-ended-card{text-align:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#182331f5;border:1px solid #ffffff14;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:480px;padding:48px 36px;display:flex;box-shadow:0 25px 60px #00000073}.meeting-ended-icon{color:#ef4444;background:#ef444424;border-radius:50%;justify-content:center;align-items:center;width:76px;height:76px;margin-bottom:24px;font-size:30px;display:flex}.meeting-ended-card h1{color:#fff;margin:0 0 12px;font-size:30px;font-weight:700}.meeting-ended-card p{color:#9ca3af;margin:0;font-size:15px;line-height:1.6}@media (width<=600px){.meeting-ended-page{padding:18px}.meeting-ended-card{border-radius:18px;max-width:100%;padding:38px 24px}.meeting-ended-icon{width:64px;height:64px;margin-bottom:20px;font-size:26px}.meeting-ended-card h1{font-size:25px}.meeting-ended-card p{font-size:14px}}
