:root{--bg-rail: #1e1f22;--bg-sidebar: #2b2d31;--bg-main: #313338;--bg-elevated: #383a40;--bg-hover: rgba(255, 255, 255, .06);--bg-active: rgba(255, 255, 255, .1);--bg-input: #1e1f22;--bg-modal: #313338;--text: #dbdee1;--text-muted: #949ba4;--text-strong: #f2f3f5;--accent: #5865f2;--accent-hover: #4752c4;--green: #23a559;--yellow: #f0b232;--red: #f23f43;--red-hover: #da373c;--border: rgba(255, 255, 255, .08);--radius: 8px;--font: "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);font-size:15px;color:var(--text);background:var(--bg-main);overflow:hidden}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}button:disabled{cursor:not-allowed;opacity:.55}input,textarea{font:inherit;color:var(--text)}a{color:#00a8fc}hr{border:0;border-top:1px solid var(--border);margin:18px 0}h1,h2,h3,h4{color:var(--text-strong);margin:0 0 8px}h2{font-size:20px}h3{font-size:15px;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted)}h4{font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);margin-top:14px}p{margin:0 0 10px}.muted{color:var(--text-muted)}.small{font-size:12px}.green{color:var(--green)}.red{color:var(--red)}.gold{color:var(--yellow)}.blue{color:#7aa2f7}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spacer{flex:1}.pre{white-space:pre-wrap}.link{color:#00a8fc;background:none;padding:0}.link:hover{text-decoration:underline}.link-plain{color:inherit;text-align:left}.link-plain:hover{text-decoration:underline}.icon{flex-shrink:0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#1a1b1e;border-radius:4px}::-webkit-scrollbar-track{background:transparent}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;border-radius:4px;font-weight:600;font-size:14px;transition:background .15s}.btn-sm{padding:6px 12px;font-size:13px}.btn-block{width:100%}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-success{background:var(--green);color:#fff}.btn-success:hover:not(:disabled){background:#1a8745}.btn-danger{background:var(--red);color:#fff}.btn-danger:hover:not(:disabled){background:var(--red-hover)}.btn-ghost{background:var(--bg-elevated);color:var(--text-strong)}.btn-ghost:hover:not(:disabled){background:#4e5058}.btn-danger-ghost{background:transparent;color:var(--red);border:1px solid var(--red)}.btn-danger-ghost:hover:not(:disabled){background:#f23f431f}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px;color:var(--text-muted)}.icon-btn:hover:not(:disabled){background:var(--bg-hover);color:var(--text-strong)}.icon-btn.active{color:var(--text-strong)}.icon-btn.danger{color:var(--red)}.mini-btn{color:var(--text-muted);display:inline-flex;padding:2px;border-radius:3px}.mini-btn:hover{color:var(--text-strong)}label{display:block;font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-muted);margin:14px 0 6px;letter-spacing:.02em}label input,label textarea,.search{display:block;width:100%;margin-top:6px;padding:10px;border-radius:4px;border:0;background:var(--bg-input);color:var(--text-strong);outline:none;font-size:15px;font-weight:400;text-transform:none;letter-spacing:0}label input:focus,label textarea:focus{box-shadow:0 0 0 2px var(--accent)}label textarea{resize:vertical}.form-error{background:#f23f4326;color:#ff8a8d;padding:8px 10px;border-radius:4px;margin-top:12px;font-size:14px}.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.copy-row{display:flex;gap:8px;margin-top:6px}.copy-row input{margin:0}.copy-row .btn{flex-shrink:0}.auth-page{min-height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#1e1f22,#2b2d31 60%,#313338);padding:20px}.auth-card{background:var(--bg-sidebar);padding:32px;border-radius:12px;width:100%;max-width:420px;box-shadow:0 8px 32px #0006}.auth-card h1{font-size:22px;text-align:center}.auth-card p.muted{text-align:center}.auth-logo,.splash-logo{width:64px;height:64px;border-radius:18px;background:var(--accent);color:#fff;font-weight:800;font-size:24px;display:grid;place-items:center;margin:0 auto 16px}.auth-card .btn-block{margin-top:20px}.auth-switch{margin-top:16px;font-size:14px;color:var(--text-muted);text-align:center}.splash{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--text-muted)}.app{display:flex;height:100%;position:relative}.offline-bar{position:absolute;top:0;left:72px;right:0;z-index:50;background:var(--yellow);color:#111;text-align:center;font-size:13px;font-weight:600;padding:4px}.rail{width:72px;background:var(--bg-rail);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:8px;flex-shrink:0}.rail-groups{display:flex;flex-direction:column;gap:8px;overflow-y:auto;overflow-x:hidden;width:100%;align-items:center;flex:1}.rail-groups::-webkit-scrollbar{width:0}.rail-item{position:relative;width:48px;height:48px;border-radius:24px;background:var(--bg-sidebar);color:var(--text);display:grid;place-items:center;font-weight:700;font-size:15px;overflow:hidden;transition:border-radius .15s,background .15s;flex-shrink:0}.rail-item img{width:100%;height:100%;object-fit:cover}.rail-item:hover,.rail-item.active{border-radius:16px;background:var(--accent);color:#fff}.rail-item.rail-add{color:var(--green)}.rail-item.rail-add:hover{background:var(--green);color:#fff}.rail-item:before{content:"";position:absolute;left:-12px;top:50%;transform:translateY(-50%);width:4px;height:8px;border-radius:0 4px 4px 0;background:#fff;opacity:0;transition:all .15s}.rail-item.has-unread:before{opacity:1}.rail-item.active:before{opacity:1;height:36px}.rail-item.has-unread:not(.active){color:var(--text-strong)}.rail-sep{width:32px;height:2px;background:var(--bg-elevated);border-radius:1px}.badge{position:absolute;bottom:-2px;right:-2px;min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 4px;border:3px solid var(--bg-rail)}.sidebar{width:240px;background:var(--bg-sidebar);display:flex;flex-direction:column;flex-shrink:0}.sidebar-header{height:48px;padding:8px 10px;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 1px #00000026;display:flex;align-items:center;position:relative}.sidebar-header .search{margin:0;padding:6px 8px;font-size:13px}.group-title{display:flex;align-items:center;justify-content:space-between;width:100%;padding:6px 8px;border-radius:4px;font-weight:700;color:var(--text-strong)}.group-title:hover{background:var(--bg-hover)}.menu{position:absolute;top:52px;left:8px;right:8px;background:#111214;border-radius:6px;padding:6px;z-index:30;box-shadow:0 8px 24px #00000080}.menu-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 10px;border-radius:3px;font-size:14px;color:var(--text)}.menu-item:hover{background:var(--accent);color:#fff}.menu-item.danger{color:var(--red)}.menu-item.danger:hover{background:var(--red);color:#fff}.sidebar-scroll{flex:1;overflow-y:auto;padding:8px}.section-title{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-muted);padding:14px 6px 4px;letter-spacing:.02em}.section-title.row{display:flex;align-items:center;justify-content:space-between}.section-title:hover{color:var(--text)}.list-item,.channel{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;border-radius:4px;color:var(--text-muted);text-align:left;position:relative}.list-item:hover,.channel:hover{background:var(--bg-hover);color:var(--text)}.list-item.active,.channel.active{background:var(--bg-active);color:var(--text-strong)}.list-item.unread,.channel.unread{color:var(--text-strong);font-weight:600}.list-item.dim{opacity:.5}.list-item.dim:hover{opacity:1}.list-item-col{display:flex;flex-direction:column;min-width:0;flex:1}.list-item-name{display:flex;align-items:center;gap:6px;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-item-sub{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill{margin-left:auto;min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px}.channel .count{margin-left:auto;font-size:12px;color:var(--text-muted)}.channel-gear{display:none;margin-left:auto;color:var(--text-muted);padding:2px;border-radius:3px}.channel:hover .channel-gear{display:inline-flex}.channel-gear:hover{color:var(--text-strong)}.channel .pill+.channel-gear{margin-left:4px}.voice-channel{margin-bottom:2px}.voice-members{padding:2px 0 4px 26px}.voice-member{display:flex;align-items:center;gap:8px;padding:3px 6px;border-radius:4px;font-size:14px;color:var(--text-muted);cursor:pointer}.voice-member:hover{background:var(--bg-hover);color:var(--text)}.empty-hint{padding:12px 8px;font-size:13px;color:var(--text-muted)}.avatar{position:relative;border-radius:50%;flex-shrink:0}.avatar img,.avatar-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;display:grid;place-items:center;color:#fff;font-weight:700}.avatar.speaking{box-shadow:0 0 0 3px var(--green)}.status-dot{position:absolute;right:-2px;bottom:-2px;width:12px;height:12px;border-radius:50%;border:3px solid var(--bg-sidebar);background:#80848e}.status-dot.inline{position:static;border:0;width:10px;height:10px;display:inline-block;margin-right:6px}.status-online{background:var(--green)}.status-idle{background:var(--yellow)}.status-dnd{background:var(--red)}.status-offline{background:#80848e}.main .status-dot{border-color:var(--bg-main)}.members .status-dot{border-color:var(--bg-sidebar)}.user-area{background:#232428}.voice-status{display:flex;align-items:center;padding:8px 10px;border-bottom:1px solid var(--border);gap:4px}.voice-status-text{display:flex;flex-direction:column;flex:1;min-width:0;text-align:left;border-radius:4px;padding:2px 4px}.voice-status-text:hover{background:var(--bg-hover)}.vs-state{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:700;color:var(--green)}.vs-state.connecting{color:var(--yellow)}.vs-room{font-size:12px;color:var(--text-muted)}.voice-status-actions{display:flex}.user-panel{display:flex;align-items:center;padding:6px 8px;gap:4px}.user-panel-me{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:4px;border-radius:4px;text-align:left}.user-panel-me:hover{background:var(--bg-hover)}.user-panel-names{display:flex;flex-direction:column;min-width:0}.user-panel-names .name{font-size:14px;font-weight:600;color:var(--text-strong)}.user-panel-names .sub{font-size:12px;color:var(--text-muted)}.user-panel-actions{display:flex}.main{flex:1;display:flex;flex-direction:column;min-width:0;background:var(--bg-main)}.chat-header{height:48px;display:flex;align-items:center;gap:8px;padding:0 16px;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 1px #00000026;flex-shrink:0}.chat-header .title{font-weight:700;color:var(--text-strong);font-size:16px}.messages-wrap{flex:1;display:flex;flex-direction:column;min-height:0}.messages{flex:1;overflow-y:auto;padding:16px 0 8px}.chat-start{padding:16px;margin-bottom:8px}.chat-start h3{text-transform:none;color:var(--text-strong);font-size:24px;letter-spacing:0}.loading-row{text-align:center;color:var(--text-muted);font-size:13px;padding:8px}.day-divider{display:flex;align-items:center;margin:16px 16px 8px;color:var(--text-muted);font-size:12px;font-weight:600}.day-divider:before,.day-divider:after{content:"";flex:1;border-top:1px solid var(--border)}.day-divider span{padding:0 8px}.message{position:relative;display:flex;gap:14px;padding:2px 16px;margin-top:14px}.message.grouped{margin-top:0;padding-top:1px;padding-bottom:1px}.message:hover{background:#00000012}.msg-avatar{flex-shrink:0;margin-top:2px}.msg-time-left{width:40px;flex-shrink:0;font-size:11px;color:var(--text-muted);text-align:right;padding-right:2px;opacity:0;line-height:22px}.message:hover .msg-time-left{opacity:1}.msg-body{flex:1;min-width:0}.msg-head{display:flex;align-items:baseline;gap:8px}.msg-author{font-weight:600;color:var(--text-strong)}.msg-time{font-size:12px;color:var(--text-muted)}.msg-text{white-space:pre-wrap;word-wrap:break-word;line-height:1.375}.msg-text .edited{font-size:11px;color:var(--text-muted);margin-left:4px}.msg-actions{position:absolute;right:16px;top:-14px;display:none;background:var(--bg-elevated);border-radius:4px;box-shadow:0 1px 3px #0006}.message:hover .msg-actions{display:flex}.msg-attachment{margin-top:6px}.msg-attachment img{max-width:min(100%,480px);max-height:360px;border-radius:6px;display:block}.file-card{display:inline-flex;align-items:center;gap:12px;padding:10px 14px;background:var(--bg-sidebar);border:1px solid var(--border);border-radius:6px;color:var(--text);text-decoration:none;max-width:420px}.file-card:hover{background:var(--bg-elevated)}.file-info{display:flex;flex-direction:column;min-width:0}.file-name{color:#00a8fc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{font-size:12px;color:var(--text-muted)}.msg-edit textarea{width:100%;background:var(--bg-elevated);border:0;border-radius:6px;padding:10px;outline:none;resize:none}.msg-edit-hint{font-size:12px;color:var(--text-muted);margin-top:4px}.typing-row{height:22px;padding:0 16px;font-size:13px;color:var(--text-muted);display:flex;align-items:center;gap:6px}.typing-dots{display:inline-flex;gap:3px}.typing-dots i{width:6px;height:6px;border-radius:50%;background:var(--text-muted);animation:blink 1.2s infinite}.typing-dots i:nth-child(2){animation-delay:.2s}.typing-dots i:nth-child(3){animation-delay:.4s}@keyframes blink{0%,60%,to{opacity:.3}30%{opacity:1}}.composer{padding:0 16px 20px;position:relative}.composer-row{display:flex;align-items:flex-end;gap:4px;background:var(--bg-elevated);border-radius:8px;padding:4px 8px}.composer-row textarea{flex:1;background:transparent;border:0;outline:none;resize:none;padding:10px 4px;max-height:220px;line-height:1.375;color:var(--text-strong)}.composer-row .icon-btn{margin-bottom:4px}.composer-row .attach{color:var(--text-muted)}.composer-row .send{color:var(--accent)}.composer-file{display:flex;align-items:center;gap:10px;background:var(--bg-elevated);border-radius:8px 8px 0 0;padding:10px;margin-bottom:2px;border-bottom:1px solid var(--border)}.composer-file img{width:56px;height:56px;object-fit:cover;border-radius:4px}.drop-hint{position:absolute;top:-8px;right:16px;bottom:12px;left:16px;border:2px dashed var(--accent);border-radius:8px;background:#5865f226;display:grid;place-items:center;color:var(--text-strong);font-weight:600;pointer-events:none;z-index:5}.call-banner{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#23a55926;border-bottom:1px solid rgba(35,165,89,.3);font-size:14px}.call-banner .btn{margin-left:auto}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px}.empty-state p{max-width:360px}.members{width:240px;background:var(--bg-sidebar);overflow-y:auto;padding:8px;flex-shrink:0}.call{flex:1;display:flex;flex-direction:column;background:#000;min-height:0;position:relative}.call.compact{height:300px;flex:none;border-bottom:1px solid var(--border)}.call-preview{background:var(--bg-main);align-items:center;justify-content:center}.call-preview-body{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.preview-avatars{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}.preview-avatar{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}.call-focus{flex:1;min-height:0;padding:12px}.call-focus .tile{width:100%;height:100%}.call-grid{flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,420px));justify-content:center;gap:14px;padding:16px;overflow-y:auto;align-content:center}.call-grid.strip{flex:none;display:flex;height:120px;overflow-x:auto;align-content:start}.call-grid.strip .tile{width:160px;height:96px;flex-shrink:0}.call-grid.strip .tile .avatar{width:40px!important;height:40px!important;font-size:16px!important}.call-grid.strip .tile-volume{display:none}.call.compact .call-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.call.compact .tile{min-height:120px}.tile{position:relative;background:#1e1f22;border-radius:12px;aspect-ratio:16 / 10;min-height:150px;display:grid;place-items:center;overflow:hidden;border:2px solid transparent;transition:border-color .12s}.tile.speaking{border-color:var(--green)}.user-tile{background:linear-gradient(160deg,#232428,#1a1b1e)}.tile-volume{position:absolute;left:8px;right:8px;bottom:38px;display:flex;align-items:center;gap:8px;background:#000000a6;padding:5px 10px;border-radius:8px;opacity:0;transition:opacity .15s}.tile:hover .tile-volume,.tile-volume:focus-within{opacity:1}.tile-volume input[type=range]{flex:1;margin:0;padding:0;accent-color:var(--accent);background:transparent;box-shadow:none}.tile-volume input[type=range]:disabled{opacity:.4}.tile-volume .tile-btn{padding:4px}.ping{font-weight:600;font-size:12px;margin-left:6px}.ping.good{color:var(--green)}.ping.ok{color:var(--yellow)}.ping.bad{color:var(--red)}.video-tile{cursor:pointer;background:#000}.video-tile video{width:100%;height:100%;object-fit:contain}.video-tile.focused{cursor:pointer}.tile-label{position:absolute;left:8px;bottom:8px;background:#0009;padding:3px 8px;border-radius:4px;font-size:13px;display:flex;align-items:center;gap:6px;color:#fff}.tile-expand{position:absolute;right:8px;top:8px;background:#0009;padding:4px;border-radius:4px;color:#fff;opacity:0}.video-tile:hover .tile-expand{opacity:1}.call-controls{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--bg-rail)}.call-state{font-size:13px;font-weight:600;color:var(--green);min-width:100px}.call-state.connecting{color:var(--yellow)}.call-count{min-width:100px;text-align:right}.call-buttons{display:flex;gap:12px}.ctl{width:52px;height:52px;border-radius:50%;background:var(--bg-elevated);color:var(--text-strong);display:grid;place-items:center;transition:background .15s}.ctl:hover{background:#4e5058}.ctl.off{background:#fff;color:#111}.ctl.on{background:var(--green);color:#fff}.ctl.hangup{background:var(--red);color:#fff}.ctl.hangup:hover{background:var(--red-hover)}.dm-call{flex-shrink:0;display:flex}.dm-call .call{width:100%}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:grid;place-items:center;z-index:100;padding:20px}.modal{position:relative;background:var(--bg-modal);border-radius:10px;width:100%;max-width:480px;max-height:calc(100vh - 40px);overflow-y:auto;padding:24px;box-shadow:0 12px 40px #00000080}.modal-close{position:absolute;top:12px;right:12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.modal-actions.spread{justify-content:space-between;align-items:center}.modal-actions.spread>span{display:flex;gap:8px}.modal-actions.wrap{flex-wrap:wrap;justify-content:flex-start}.choice-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.choice{display:flex;align-items:center;gap:14px;padding:14px;border-radius:8px;border:1px solid var(--border);text-align:left}.choice:hover{background:var(--bg-hover);border-color:var(--accent)}.choice span,.radio-card span{display:flex;flex-direction:column}.choice small,.radio-card small{color:var(--text-muted);font-size:12px}.radio-cards{display:flex;flex-direction:column;gap:8px}.radio-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;background:var(--bg-elevated);cursor:pointer;text-transform:none;font-weight:400;color:var(--text);margin:0;letter-spacing:0;font-size:14px}.radio-card.checked{outline:2px solid var(--accent)}.radio-card input{width:auto;margin:0;display:none}.avatar-edit{display:flex;align-items:center;gap:16px;margin:8px 0}.avatar-edit .col{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.group-icon-lg{width:80px;height:80px;border-radius:50%;object-fit:cover}.group-icon-lg.fallback{background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:700;font-size:26px}.status-picker{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}.status-opt{display:inline-flex;align-items:center;padding:8px 12px;border-radius:6px;background:var(--bg-elevated);text-transform:none;font-weight:500;font-size:14px;color:var(--text);letter-spacing:0}.status-opt.checked{outline:2px solid var(--accent)}.profile{margin:-24px -24px 0;padding:0 24px 8px}.profile-banner{height:80px;background:linear-gradient(120deg,var(--accent),#8a5cf5);margin:0 -24px;border-radius:10px 10px 0 0}.profile-head{margin-top:-44px;margin-bottom:8px}.profile-head .avatar{border:5px solid var(--bg-modal)}.profile-head .status-dot{border-color:var(--bg-modal)}.profile h2{display:flex;align-items:center;gap:8px}.profile-status{margin-top:8px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#111214;color:var(--text-strong);padding:10px 16px;border-radius:8px;font-size:14px;box-shadow:0 8px 24px #00000080;z-index:200;animation:rise .2s ease-out;max-width:90vw}.toast-error{background:var(--red);color:#fff}@keyframes rise{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.nav{display:flex;flex-shrink:0}.nav-overlay,.nav-toggle{display:none}@media(max-width:900px){.members{display:none}}@media(max-width:768px){.app{height:100dvh}.nav{position:fixed;top:0;bottom:0;left:0;z-index:90;width:min(85vw,320px);transform:translate(-105%);transition:transform .2s ease;box-shadow:8px 0 24px #00000073}.nav.open{transform:none}.nav .sidebar{width:auto;flex:1;min-width:0}.nav-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:89;background:#0000008c}.nav-toggle{display:inline-flex}.offline-bar{left:0}.chat-header{padding:0 10px;gap:6px}.messages{padding:12px 0 8px}.composer{padding:0 10px 10px}.user-area,.composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}input,textarea,select{font-size:16px}.call-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;padding:8px}.tile-volume{opacity:1}.call-focus{padding:8px}.call-controls{padding:10px 10px calc(10px + env(safe-area-inset-bottom));justify-content:center}.call-state,.call-count{display:none}.call.compact{height:240px}.overlay{padding:12px}.modal{max-height:calc(100dvh - 24px);padding:20px 16px}.toast{bottom:calc(20px + env(safe-area-inset-bottom))}}.tile-actions{position:absolute;right:8px;top:8px;display:flex;gap:4px;opacity:0;transition:opacity .15s}.video-tile:hover .tile-actions,.video-tile.fullscreen .tile-actions{opacity:1}.tile-btn{background:#000000a6;color:#fff;padding:6px;border-radius:4px;display:inline-flex}.tile-btn:hover{background:var(--accent)}.tile-expand{display:none}.video-tile.fullscreen{border-radius:0;border:0;background:#000;cursor:default}.video-tile.fullscreen video{object-fit:contain}.video-tile:fullscreen{width:100vw;height:100vh}label select{display:block;width:100%;margin-top:6px;padding:10px;border-radius:4px;border:0;background:var(--bg-input);color:var(--text-strong);font-size:15px;font-weight:400;text-transform:none;letter-spacing:0;outline:none}label select:focus{box-shadow:0 0 0 2px var(--accent)}label input[type=range]{width:100%;margin:10px 0 4px;padding:0;background:transparent;accent-color:var(--accent);box-shadow:none}label input[type=range]:focus{box-shadow:none}label .small{display:block;margin-top:4px;font-weight:400;text-transform:none;letter-spacing:0}.meter{position:relative;height:12px;background:var(--bg-input);border-radius:6px;overflow:hidden;margin-top:8px}.meter-fill{height:100%;background:linear-gradient(90deg,var(--green),var(--yellow) 70%,var(--red));border-radius:6px;transition:width .1s linear}.meter-thr{position:absolute;top:-2px;bottom:-2px;width:2px;background:#fff}.check-list{display:flex;flex-direction:column;gap:6px;margin-top:14px}.check{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;background:var(--bg-elevated);cursor:pointer;text-transform:none;font-weight:400;letter-spacing:0;font-size:14px;color:var(--text);margin:0}.check input{width:18px;height:18px;margin:0;accent-color:var(--accent);display:inline-block}.check span{display:flex;flex-direction:column}.check small{color:var(--text-muted);font-size:12px}
