.modal.invite-manager{background:var(--theme-surface,#232428);border-color:var(--theme-border,#35363c);border-radius:14px;width:min(680px,100vw - 24px);padding:28px}.invite-manager>.invite-heading{gap:16px;margin-bottom:20px}.invite-manager>.invite-heading h2{font-size:25px;line-height:1.3}.invite-heading>button{color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;font-size:28px}.invite-manager .invite-create{background:var(--theme-surface,#1b1c20);border:1px solid var(--theme-border,#36373d);border-radius:10px;gap:16px;padding:18px}.invite-manager .invite-create label{color:var(--theme-text-secondary,#b5bac1);font-size:13px}.invite-manager .invite-create input,.invite-manager .invite-create select,.invite-manager .invite-item>input{border:1px solid var(--theme-border-strong,#3b3c43);background:var(--theme-control,#1b1c20);color:var(--theme-text-primary,#f2f3f5);border-radius:8px;min-height:44px;padding:12px}.invite-manager .invite-list{margin-top:20px}.invite-manager .invite-item{border:0;border-bottom:1px solid var(--theme-border,#36373d);background:0 0;border-radius:0;gap:10px;padding:20px 0}.invite-manager .invite-item-actions>button{background:var(--theme-button,#33343b);border:0;border-radius:7px;min-height:38px;padding:9px 14px}.invite-manager .invite-item-actions>button:first-child{background:var(--accent);color:var(--theme-on-accent,#17181c)}.invite-manager .invite-item small{color:var(--theme-text-muted,#a1a4ad);font-size:12px}.layout-create-category{background:var(--theme-surface,#1b1c20);border:1px solid var(--theme-border,#383940);border-radius:12px;gap:16px;padding:22px}.layout-create-category label{color:var(--theme-text-primary,#f2f3f5);font-size:15px}.layout-create-category input{background:var(--theme-control,#232428);border-radius:9px;min-height:46px}.layout-create-category>button{background:var(--accent);min-height:44px;color:var(--theme-on-accent,#17181c);border-radius:8px}.server-settings-panel .invite-manager{background:0 0;border:0;padding:0}@media (width<=450px){.modal.invite-manager{padding:20px 16px}.invite-manager>.invite-heading h2{font-size:22px}.invite-manager .invite-create{padding:14px}.layout-create-category{padding:16px}.layout-create-category>button{width:100%}}.audio-settings-panel{width:min(560px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--theme-text-primary,#e7ebf5);padding:24px;overflow-y:auto}.audio-settings-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.audio-settings-heading h2{margin:4px 0 0;font-size:23px}.audio-settings-heading small{letter-spacing:.08em;color:var(--theme-warning,#f3a63b);font-size:10px}.audio-settings-heading>button{border:1px solid var(--theme-border,#424a5c);background:var(--theme-button,#282e3b);width:36px;height:36px;color:var(--theme-text-primary,#e7ebf5);cursor:pointer;border-radius:8px;flex:none;font-size:24px}.audio-settings-hint{color:var(--theme-text-muted,#aeb7c9);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.audio-setting{margin-top:20px;font-size:13px;font-weight:600;display:block}.audio-setting select{border:1px solid var(--theme-border-strong,#424a5c);background:var(--theme-control,#161b25);width:100%;min-height:40px;color:var(--theme-text-primary,#edf1f8);font:inherit;border-radius:8px;margin-top:8px;padding:10px;display:block}.audio-setting select:disabled{opacity:.55}.audio-microphone-check{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin:10px 0 18px;display:grid}.audio-microphone-check>button,.audio-settings-footer>button:not(.primary){border:1px solid var(--theme-border-strong,#495063);background:var(--theme-button,#303746);min-height:40px;color:var(--theme-text-primary,#edf1f8);cursor:pointer;border-radius:8px;padding:9px 12px}.audio-microphone-check>meter{width:100%;height:16px}.audio-microphone-check>small{color:var(--theme-text-muted,#aeb7c9);grid-column:1/-1;font-size:11px;line-height:1.5}.audio-monitor-option{grid-column:1/-1;align-items:center;gap:9px;font-size:13px;display:flex}.audio-monitor-option input{width:17px;height:17px;accent-color:var(--theme-focus,#f3a63b)}.device-settings-tabs{flex-wrap:wrap;gap:8px;margin:18px 0;display:flex}.device-settings-tabs button{border:1px solid var(--theme-border,#424a5c);background:var(--theme-button,#282e3b);color:var(--theme-text-primary,#e7ebf5);cursor:pointer;border-radius:8px;padding:9px 12px}.device-settings-tabs button[aria-current=page]{border-color:var(--theme-warning-border,#f3a63b);color:var(--theme-warning,#f3a63b)}.device-settings-tabs button:focus-visible{outline:2px solid var(--theme-focus,#f3a63b);outline-offset:2px}.audio-volume{grid-template-columns:1fr auto;gap:8px;display:grid}.audio-volume input{width:100%;accent-color:var(--theme-focus,#f3a63b);grid-column:1/-1;min-height:28px}.audio-volume output{color:var(--theme-warning,#f3a63b);font-variant-numeric:tabular-nums}.audio-processing{border:1px solid var(--theme-border,#394255);border-radius:8px;margin:18px 0 0;padding:14px}.audio-processing legend{color:var(--theme-text-primary,#c8d0e0);padding:0 6px;font-size:13px}.audio-processing label{align-items:center;gap:10px;margin:8px 0;font-size:12px;line-height:1.5;display:flex}.audio-processing input{width:17px;height:17px;accent-color:var(--theme-focus,#f3a63b);flex:none}.audio-settings-footer{justify-content:space-between;gap:10px;margin-top:18px;display:flex}.audio-settings-footer .primary{width:auto;min-width:105px}.audio-input-mode{border:1px solid var(--theme-border-strong,#394255);border-radius:8px;min-width:0;margin:18px 0 0;padding:14px}.audio-input-mode legend{color:var(--theme-text-primary,#c8d0e0);padding:0 6px;font-size:13px}.audio-input-mode>label:not(.audio-sensitivity){align-items:center;gap:9px;margin:9px 0;font-size:13px;display:flex}.audio-input-mode input[type=radio]{width:17px;height:17px;accent-color:var(--theme-focus,#f3a63b);flex:none}.audio-sensitivity{margin-top:16px}.audio-sensitivity small{color:var(--theme-text-muted,#aeb7c9);grid-column:1/-1;font-size:11px;font-weight:400;line-height:1.5}@media (width<=420px){.audio-settings-panel{padding:16px}.audio-settings-heading h2{font-size:21px}.audio-microphone-check{grid-template-columns:minmax(0,1fr)}.audio-microphone-check>button{justify-self:start}}.modal.audio-settings-panel{background:var(--theme-surface,#232428);border-color:var(--theme-border,#36373d);border-radius:14px;width:min(1280px,100vw - 32px);height:min(900px,100dvh - 48px);max-height:calc(100dvh - 48px);padding:0;overflow:hidden}.device-settings-layout{grid-template-columns:220px minmax(0,1fr);height:100%;min-height:0;display:grid}.device-settings-sidebar{background:var(--theme-panel,#1b1c20);border-right:1px solid var(--theme-border,#2d2e33);min-width:0;padding:30px 20px;overflow:auto}.device-settings-sidebar>strong{margin-bottom:32px;font-size:21px;display:block}.device-settings-sidebar>small{color:var(--theme-text-muted,#92959d);margin:0 12px 8px;font-size:11px;font-weight:700;display:block}.device-settings-sidebar .device-settings-tabs{flex-direction:column;gap:4px;margin:0;display:flex}.device-settings-sidebar .device-settings-tabs button{text-align:left;color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:7px;padding:12px;font-size:14px}.device-settings-sidebar .device-settings-tabs button:hover{background:var(--theme-hover,#28292e)}.device-settings-sidebar .device-settings-tabs button[aria-current=page]{background:var(--theme-selected,#33343b);color:var(--theme-text-primary,#fff)}.device-settings-body{scrollbar-gutter:stable;min-width:0;min-height:0;padding:28px 40px 32px;overflow:auto}.device-settings-body .audio-settings-heading{border-bottom:1px solid var(--theme-border,#35363d);margin-bottom:28px;padding-bottom:22px}.device-settings-body .audio-settings-heading h2{margin:0;font-size:24px;font-weight:600}.device-settings-body .audio-settings-heading>button{color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:50%;font-size:30px}.device-settings-body .audio-settings-heading>button:hover{background:var(--theme-hover,#33343b);color:var(--theme-text-primary,#fff)}.audio-device-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:18px 0 24px;display:grid}.audio-device-row .audio-setting{margin:0}.device-settings-body .audio-setting{font-size:15px}.device-settings-body .audio-setting select{background:var(--theme-control,#1b1c20);border-color:var(--theme-border,#3a3b42);border-radius:9px;min-height:48px;padding:12px;font-weight:500}.device-settings-body .audio-input-mode,.device-settings-body .audio-processing{border:0;border-top:1px solid var(--theme-border,#393a40);border-radius:0;margin-top:30px;padding:26px 0 8px}.device-settings-body fieldset legend{color:var(--theme-text-primary,#f2f3f5);padding:0 12px 0 0;font-size:16px;font-weight:600}.device-settings-body .audio-input-mode>label:not(.audio-sensitivity),.device-settings-body .audio-processing label{margin:16px 0;font-size:14px}.device-settings-body .audio-microphone-check{margin:26px 0}.device-settings-body .audio-microphone-check>button{background:var(--accent);color:var(--theme-on-accent,#17181c);border:0;padding:12px 16px;font-weight:600}.device-settings-body .audio-microphone-check>meter{height:24px}.device-settings-body .audio-settings-hint{color:var(--theme-text-muted,#a1a4ad);font-size:13px}.device-settings-body .audio-settings-footer{border-top:1px solid var(--theme-border,#393a40);margin-top:28px;padding-top:22px}@media (width<=700px){.modal.audio-settings-panel{width:calc(100vw - 16px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.device-settings-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.device-settings-sidebar{border-right:0;border-bottom:1px solid var(--theme-border,#36373d);padding:12px;overflow:hidden}.device-settings-sidebar>strong,.device-settings-sidebar>small{display:none}.device-settings-sidebar .device-settings-tabs{flex-flow:row;overflow:auto}.device-settings-sidebar .device-settings-tabs button{flex:1;min-width:max-content;padding:10px}.device-settings-body{padding:20px}.device-settings-body .audio-settings-heading{margin-bottom:18px;padding-bottom:16px}.audio-device-row{grid-template-columns:minmax(0,1fr);gap:14px}}@media (prefers-reduced-motion:no-preference){.audio-settings-panel,.server-settings-panel,.channel-creation-wizard,.invite-manager{animation:.16s ease-out settings-enter45}@keyframes settings-enter45{0%{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}.audio-settings-panel .audio-noise-section{min-width:0;margin-top:22px}.audio-settings-panel .audio-noise-section .audio-setting{margin-top:0}.audio-settings-panel .audio-noise-help{color:var(--settings-muted,var(--theme-text-muted,#a1a4ad));overflow-wrap:anywhere;margin:10px 0 6px;font-size:13px;font-weight:400;line-height:1.55}.audio-settings-panel .audio-noise-licenses{min-width:0;margin-top:4px;font-size:12px}.audio-settings-panel .audio-noise-licenses>summary{width:fit-content;max-width:100%;min-height:32px;color:var(--settings-muted,var(--theme-text-muted,#a1a4ad));cursor:pointer;border-radius:4px;align-items:center;gap:7px;padding:4px 0;font-weight:500;line-height:1.4;list-style:none;display:flex}.audio-settings-panel .audio-noise-licenses>summary::-webkit-details-marker{display:none}.audio-settings-panel .audio-noise-licenses>summary::marker{content:""}.audio-settings-panel .audio-noise-licenses>summary:hover{color:var(--text,var(--theme-text-primary,#f2f3f5))}.audio-settings-panel .audio-noise-licenses>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.audio-settings-panel .audio-noise-licenses>summary>svg{flex:none;transform:rotate(-90deg)}.audio-settings-panel .audio-noise-licenses[open]>summary>svg{transform:rotate(0)}.audio-settings-panel .audio-license-content{border:1px solid var(--settings-border,var(--theme-border,#393a42));background:var(--settings-sidebar,var(--theme-panel,#1b1c20));-webkit-user-select:text;user-select:text;border-radius:9px;min-width:0;margin-top:8px;padding:14px}.audio-settings-panel .audio-license-content>p{color:var(--settings-muted,var(--theme-text-muted,#a1a4ad));margin:0 0 12px;font-size:12px;font-weight:400;line-height:1.5}.audio-settings-panel .audio-license-content>pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;color:var(--settings-muted,var(--theme-text-muted,#a1a4ad));scrollbar-gutter:stable;-webkit-user-select:text;user-select:text;margin:0;padding:0 8px 0 0;font-family:ui-monospace,Consolas,monospace;font-size:11px;font-weight:400;line-height:1.65;overflow:auto}.audio-settings-panel .audio-license-content>pre:focus-visible{outline:2px solid var(--accent);outline-offset:4px}@media (width<=420px){.audio-settings-panel .audio-license-content{padding:12px}}.camera-settings-panel{width:min(560px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--theme-text-primary,#e7ebf5);padding:24px;overflow-y:auto}.camera-settings-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.camera-settings-heading h2{margin:4px 0 0;font-size:23px}.camera-settings-heading small{letter-spacing:.08em;color:var(--theme-warning,#f3a63b);font-size:10px}.camera-settings-heading>button{border:1px solid var(--theme-border,#424a5c);background:var(--theme-button,#282e3b);width:36px;height:36px;color:var(--theme-text-primary,#e7ebf5);cursor:pointer;border-radius:8px;flex:none;font-size:24px}.camera-settings-hint{color:var(--theme-text-muted,#aeb7c9);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.camera-preview-quality{color:#ced5e4;overflow-wrap:anywhere;margin:8px 0 0;font-size:12px;line-height:1.6}.camera-setting{margin-top:18px;font-size:13px;font-weight:600;display:block}.camera-setting select{border:1px solid var(--theme-border-strong,#424a5c);background:var(--theme-control,#161b25);width:100%;min-height:40px;color:var(--theme-text-primary,#edf1f8);font:inherit;border-radius:8px;margin-top:8px;padding:10px;display:block}.camera-preview{aspect-ratio:16/9;background:#10141c;border:1px solid #424a5c;border-radius:12px;margin-top:18px;position:relative;overflow:hidden}.camera-preview video{object-fit:contain;visibility:hidden;width:100%;height:100%;display:block;transform:scaleX(-1)}.camera-preview-active video{visibility:visible}.camera-preview>div{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;inset:0}.camera-preview>div>span{color:#f3a63b;font-size:26px}.camera-preview>div>b{font-size:13px}.camera-preview>div>small{color:#aeb7c9;font-size:11px;line-height:1.5}.camera-check,.camera-settings-footer>button:not(.primary){border:1px solid var(--theme-border-strong,#495063);background:var(--theme-button,#303746);min-height:40px;color:var(--theme-text-primary,#edf1f8);cursor:pointer;border-radius:8px;padding:9px 12px}.camera-check{margin-top:10px}.camera-settings-footer{justify-content:space-between;gap:10px;margin-top:18px;display:flex}.camera-settings-footer .primary{width:auto;min-width:105px}@media (width<=420px){.camera-settings-panel{padding:16px}.camera-settings-heading h2{font-size:21px}}.modal.camera-settings-panel{background:var(--theme-surface,#232428);border-color:var(--theme-border,#36373d);border-radius:14px;width:min(1280px,100vw - 32px);height:min(900px,100dvh - 48px);max-height:calc(100dvh - 48px);padding:0;overflow:hidden}.camera-device-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:18px 0 24px;display:grid}.camera-device-row .camera-setting{margin:0}.device-settings-body .camera-setting{font-size:15px}.device-settings-body .camera-setting select{background:var(--theme-control,#1b1c20);border-color:var(--theme-border,#3a3b42);border-radius:9px;min-height:48px;padding:12px;font-weight:500}.device-settings-body .camera-preview{background:#1b1c20;border-color:#393a40;border-radius:10px;max-width:800px;min-height:200px;max-height:420px;margin:24px 0}.device-settings-body .camera-check{background:var(--accent);color:var(--theme-on-accent,#17181c);border:0;padding:12px 16px;font-weight:600}.device-settings-body .camera-settings-hint{color:var(--theme-text-muted,#a1a4ad);font-size:13px}.camera-screen-section{border-top:1px solid var(--theme-border,#393a40);margin-top:30px;padding-top:20px}.device-settings-body h3{font-size:19px;font-weight:600}.device-settings-body .camera-settings-footer{border-top:1px solid var(--theme-border,#393a40);margin-top:28px;padding-top:22px}@media (width<=700px){.modal.camera-settings-panel{width:calc(100vw - 16px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.camera-device-row{grid-template-columns:minmax(0,1fr);gap:14px}.device-settings-body .camera-preview{min-height:130px}}.bot-portal,.bot-consent-panel{background:var(--panel,var(--theme-panel,#202024));min-width:0;color:var(--text,var(--theme-text-primary,#eee));padding:0;overflow:hidden}.bot-portal button,.bot-consent-panel button,.server-bots-panel button{font:inherit;background:var(--theme-button,#36373d);color:var(--theme-text-primary,#dbdee1);cursor:pointer;border:0;border-radius:8px;max-width:100%;padding:10px 14px;font-size:14px;font-weight:600;line-height:1.4}.bot-portal button:hover:not(:disabled),.bot-consent-panel button:hover:not(:disabled),.server-bots-panel button:hover:not(:disabled){background:var(--theme-hover,#41434a)}.bot-portal button.primary,.bot-consent-panel button.primary,.server-bots-panel button.primary{background:var(--accent,var(--theme-accent,#9c83ff));color:var(--theme-on-accent,#17191f);width:auto}.bot-portal-sidebar button.primary{width:100%}.bot-portal button.danger-action,.bot-consent-panel button.danger-action,.server-bots-panel button.danger-action{color:var(--theme-danger,#ff8c90)}.bot-portal button:disabled,.bot-consent-panel button:disabled,.server-bots-panel button:disabled{opacity:.45;cursor:not-allowed}.bot-document-links{flex-wrap:wrap;gap:10px;display:flex}.bot-document-links a{background:var(--theme-surface,#36373d);color:var(--theme-text-primary,#dbdee1);border-radius:8px;align-items:center;padding:10px 14px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.bot-document-links a:hover{background:var(--theme-hover,#41434a)}.bot-document-links a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.bot-portal :is(button,input,textarea):focus-visible,.bot-consent-panel :is(button,input):focus-visible,.server-bots-panel :is(button,input):focus-visible{outline:2px solid var(--accent,var(--theme-focus,#9c83ff));outline-offset:2px}.bot-portal input,.bot-portal textarea,.bot-consent-panel input:not([type=checkbox]),.server-bots-panel input:not([type=checkbox]):not([type=radio]){font:inherit;background:var(--theme-control,#232428);color:var(--theme-text-primary,#dbdee1);border:1px solid var(--theme-border-strong,#45474e);border-radius:8px;outline:none;min-width:0;max-width:100%;padding:11px 12px;font-size:14px;font-weight:400}.bot-edit-form input,.bot-edit-form textarea{width:100%}.bot-limits{color:var(--muted);margin:0 0 4px;font-size:12px;line-height:1.5}.bot-panel-heading>button{color:var(--theme-text-secondary,#b5bac1);background:0 0;width:36px;height:36px;padding:0;font-size:24px}.modal.bot-portal{grid-template-rows:auto minmax(0,1fr);grid-template-columns:240px minmax(0,1fr);width:min(1280px,100vw - 48px);height:min(900px,100vh - 64px);padding:0;display:grid}.bot-panel-heading{border-bottom:1px solid var(--line,var(--theme-border,#343439));grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.bot-panel-heading h2{margin:0;font-size:22px}.bot-panel-heading>button{flex:none;padding:4px 10px;font-size:25px}.bot-portal-sidebar{background:var(--theme-panel,#00000026);flex-direction:column;gap:10px;min-width:0;padding:20px 16px;display:flex;overflow:auto}.bot-portal-sidebar>small{color:var(--muted);font-size:11px;font-weight:700}.bot-portal-sidebar ul{margin:6px 0;padding:0;list-style:none}.bot-portal-sidebar li>button,.bot-install-list>button{text-align:left;flex-direction:column;gap:5px;width:100%;min-width:0;margin-bottom:6px;display:flex}.bot-portal-sidebar b,.bot-portal-sidebar small{text-overflow:ellipsis;overflow:hidden}.bot-portal-sidebar [aria-pressed=true],.bot-install-list [aria-pressed=true]{background:var(--hover,var(--theme-selected,#36363b))}.bot-portal-body{min-width:0;padding:32px 40px;overflow:auto}.bot-portal-body h3,.bot-consent-body h3,.server-bots-panel h3{margin:0 0 16px;font-size:21px}.bot-edit-form{gap:18px;display:grid}.bot-edit-form label,.bot-lookup label{gap:8px;font-weight:600;display:grid}.bot-edit-form>button{justify-self:start}.bot-edit-form textarea{resize:none;min-height:96px}.bot-section{border-top:1px solid var(--line,var(--theme-border,#343439));margin-top:30px;padding-top:24px}.bot-copy-row{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.bot-copy-row input{flex:1;min-width:0}.bot-copy-row button{flex:none}.bot-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.bot-confirm{border:1px solid var(--line,var(--theme-border,#434349));border-radius:10px;margin-top:18px;padding:16px}.bot-confirm button{margin-right:8px}.bot-badge{vertical-align:middle;letter-spacing:.3px;background:var(--accent,var(--theme-accent,#faa82b));color:var(--theme-on-accent,#191919);border-radius:4px;align-items:center;margin-left:5px;padding:3px 5px;font-size:10px;font-weight:700;display:inline-flex}.bot-token-once{border:1px solid var(--accent,var(--theme-warning-border,#faa82b));border-radius:10px;margin:16px 0;padding:16px}.bot-token-once>button{margin-top:10px}.bot-token-once input{font-family:monospace;font-size:13px}.bot-notice{color:var(--green,var(--theme-success,#65c990))}.bot-empty{max-width:660px}.bot-inline-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.bot-install-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin:22px 0;display:grid}.bot-lookup{margin:20px 0}.bot-install-editor{border-top:1px solid var(--line,var(--theme-border,#343439));padding-top:24px}.bot-install-editor fieldset{border:1px solid var(--line,var(--theme-border,#343439));border-radius:8px;min-width:0;margin-top:18px;padding:16px}.bot-install-editor legend{padding:0 6px;font-weight:700}.bot-check{align-items:center;gap:10px;margin:10px 0;line-height:1.4;display:flex}.bot-check input{width:18px;height:18px;accent-color:var(--accent);flex:none}.bot-channel-list{max-height:240px;overflow:auto}.bot-channel-list label{overflow-wrap:anywhere}.bot-install-editor p,.bot-section p,.bot-consent-body p{color:var(--muted);line-height:1.5}.server-bots-panel,.bot-consent-body{min-width:0}.modal.bot-consent-panel{width:min(660px,100vw - 32px);max-height:calc(100vh - 40px);padding:0}.bot-consent-body{max-height:calc(100vh - 125px);padding:24px;overflow:auto}@media (width<=700px){.modal.bot-portal{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:1fr;width:calc(100vw - 16px);height:calc(100dvh - 16px)}.bot-panel-heading{padding:14px 16px}.bot-portal-sidebar{max-height:160px;padding:12px;display:block}.bot-portal-sidebar>button{margin-bottom:8px;margin-right:8px}.bot-portal-sidebar>small{margin-bottom:8px;display:block}.bot-portal-sidebar ul{gap:6px;display:flex;overflow:auto}.bot-portal-sidebar li{min-width:160px}.bot-portal-body{padding:20px 16px}.bot-inline-heading{flex-direction:column;gap:4px}.bot-copy-row>input{flex-basis:100%;width:100%}.bot-copy-row button{max-width:100%}.bot-actions>*{flex:1;min-width:160px}.bot-consent-body{padding:18px}.bot-confirm button{margin-bottom:6px}.server-bots-panel fieldset{padding:10px}}.notification-settings-panel{min-width:0;color:var(--settings-text)}.notification-settings-panel>.notification-settings-hint{color:var(--settings-muted);margin:0 0 24px;font-size:13px}.notification-settings-panel>section{border-bottom:1px solid var(--settings-border);margin:0 0 28px;padding:0 0 28px}.notification-settings-panel>section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.notification-settings-panel h3{margin:0 0 18px;font-size:19px}.notification-settings-panel .notification-setting{cursor:pointer;align-items:center;gap:24px;margin:0;padding:14px 0;font-size:14px;font-weight:400;display:flex}.notification-settings-panel .notification-setting>span{flex:1;gap:5px;min-width:0;display:grid}.notification-settings-panel .notification-setting strong{color:var(--settings-text);font-size:14px;font-weight:600}.notification-settings-panel .notification-setting small{color:var(--settings-muted);font-size:13px;font-weight:400;line-height:1.5}.notification-settings-panel .notification-setting>input{cursor:pointer;width:20px;height:20px;accent-color:var(--accent);flex:none;margin:0}.notification-settings-panel .notification-permission{border:1px solid var(--settings-border);background:var(--settings-sidebar);border-radius:9px;margin-top:16px;padding:18px}.notification-settings-panel .notification-permission h4{margin:0 0 8px;font-size:14px}.notification-settings-panel .notification-permission p{color:var(--settings-muted);margin:0 0 12px;font-size:13px}.notification-settings-panel .notification-permission>p:last-child{margin-bottom:0}.notification-settings-panel .notification-volume{gap:14px;margin:20px 0;font-size:14px;font-weight:500;display:grid}.notification-settings-panel .notification-volume>span{justify-content:space-between;gap:16px;display:flex}.notification-settings-panel .notification-volume output{color:var(--settings-muted);font-variant-numeric:tabular-nums}.notification-settings-panel .notification-volume>input{cursor:pointer;width:100%;min-width:0;accent-color:var(--accent);margin:0}.notification-settings-panel .notification-sound-test{flex-wrap:wrap;align-items:center;gap:12px 18px;display:flex}.notification-settings-panel .notification-sound-test p{color:var(--settings-muted);flex:240px;margin:0;font-size:13px}.notification-settings-panel .notification-settings-status{color:var(--settings-text);margin:12px 0 0;font-size:13px}@media (width<=700px){.notification-settings-panel .notification-setting{gap:14px}.notification-settings-panel .notification-permission{padding:14px}}.appearance-settings fieldset{border:0;min-width:0;margin:0;padding:0}.appearance-settings legend{color:var(--settings-text);padding:0;font-size:17px;font-weight:600}.appearance-settings fieldset>p{color:var(--settings-muted);margin:8px 0 20px;font-size:13px;line-height:1.5}.appearance-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.appearance-choice{border:1px solid var(--settings-border);min-width:0;color:var(--settings-text);background:var(--settings-control);cursor:pointer;border-radius:10px;flex-direction:column;gap:12px;padding:18px;display:flex;position:relative}.appearance-choice:hover{background:var(--settings-hover)}.appearance-choice[data-selected=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.appearance-choice:focus-within{outline:2px solid var(--accent);outline-offset:3px}.appearance-choice>input{width:16px;height:16px;accent-color:var(--accent);margin:0;position:absolute;top:16px;right:16px}.appearance-choice>.ui-icon{color:var(--accent)}.appearance-choice strong{font-size:14px;line-height:1.4;display:block}.appearance-choice small{color:var(--settings-muted);margin-top:5px;font-size:12px;line-height:1.45;display:block}.theme-chooser{min-width:0;max-width:100%;color:var(--settings-text);align-items:center;gap:6px;display:inline-flex}.theme-chooser>.ui-icon{flex:none}.theme-chooser select{border:1px solid var(--settings-border);background:var(--settings-control);width:auto;min-width:0;max-width:170px;min-height:34px;color:var(--settings-text);font:inherit;cursor:pointer;border-radius:7px;padding:5px 8px;font-size:13px}.theme-chooser select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.auth-theme-chooser{z-index:2;position:fixed;top:16px;right:16px}.auth .theme-chooser{color:var(--settings-text);margin:0;font-size:13px;font-weight:400;display:inline-flex}.desktop-overlay .auth-theme-chooser{top:calc(var(--desktop-titlebar-height,40px) + 12px)}@media (width<=640px){.appearance-options{grid-template-columns:1fr}.appearance-choice{flex-direction:row;align-items:center;padding-right:44px}.appearance-choice>input{top:50%;transform:translateY(-50%)}.auth-theme-chooser{top:10px;right:10px}.landing-header:has(.theme-chooser){flex-wrap:wrap;align-items:flex-start}.landing-header:has(.theme-chooser) .landing-brand{white-space:nowrap;flex:none}.landing-header:has(.theme-chooser) nav{flex-wrap:wrap;flex:100%;justify-content:flex-end;gap:12px;min-width:0}.landing-header:has(.theme-chooser) nav>a{white-space:nowrap;flex:none}.landing-header:has(.theme-chooser) nav>.theme-chooser{white-space:nowrap;flex:none}}.account-profile-popover{z-index:110;box-sizing:border-box;border:1px solid var(--settings-border);background:var(--settings-sidebar);color:var(--settings-text);box-shadow:0 12px 40px var(--theme-shadow-strong,#0007);border-radius:12px;padding:16px;position:fixed;overflow:auto}.account-profile-heading{align-items:center;gap:12px;margin-bottom:16px;display:flex}.account-profile-avatar{flex:none;width:48px;height:48px;display:block}.account-profile-avatar :is(.avatar,img){border-radius:50%;width:48px;height:48px}.account-profile-heading>div{flex:1;min-width:0}.account-profile-heading h2{overflow-wrap:anywhere;margin:0;font-size:17px;line-height:1.4}.account-profile-heading p{color:var(--settings-muted);overflow-wrap:anywhere;margin:3px 0 0;font-size:12px}.account-profile-heading>button{width:28px;min-width:28px;height:28px;color:var(--settings-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;padding:4px;display:grid}.account-profile-status{overflow-wrap:anywhere;margin:-4px 0 16px;font-size:13px;line-height:1.5}.account-profile-action,.account-profile-availability-menu>button{width:100%;min-width:0;min-height:40px;color:var(--settings-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;margin:0;padding:10px;font-size:13px;display:flex}.account-profile-action>span{overflow-wrap:anywhere;flex:1;min-width:0}.account-profile-popover button:hover{background:var(--settings-selected);color:var(--theme-text-muted,#fff)}.account-profile-popover button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.account-profile-availability{border-block:1px solid var(--settings-border);margin:7px 0;padding:7px 0}.account-profile-availability>p{color:var(--settings-muted);margin:7px 10px;font-size:12px;line-height:1.5}.account-profile-availability-menu{z-index:111;box-sizing:border-box;border:1px solid var(--settings-border);background:var(--settings-sidebar);box-shadow:0 12px 40px var(--theme-shadow-strong,#0007);border-radius:8px;margin:0;padding:6px;position:fixed;overflow:auto}.account-profile-availability-menu>button[aria-checked=true]{background:var(--settings-selected)}.account-profile-availability-menu>button{align-items:flex-start}.account-profile-availability-menu>button>i{margin-top:3px}.account-profile-availability>button>.ui-icon:last-child{transform:rotate(-90deg)}.account-profile-availability-menu>button:hover{background:var(--settings-selected)}.account-profile-availability-menu>button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.account-profile-availability-menu>button>span{flex:1;min-width:0}.account-profile-availability-menu small{color:var(--settings-muted);margin-top:5px;font-size:12px;font-weight:400;line-height:1.5;display:block}.account-profile-availability-menu i{border-radius:50%;flex:none;width:10px;height:10px;display:block}.account-profile-availability-menu i.online{background:var(--theme-success-solid,#3ba977)}.account-profile-availability-menu i.quiet{background:var(--theme-danger-solid,#ed4245);position:relative}.account-profile-availability-menu i.quiet:after{content:"";background:var(--settings-sidebar);height:2px;position:absolute;top:4px;left:2px;right:2px}.account-profile-availability-menu i.invisible,.account-profile-popover i.invisible{background:var(--theme-offline,#949ba4);box-shadow:inset 0 0 0 3px var(--settings-sidebar);border:2px solid var(--theme-avatar-outline,#949ba4);box-sizing:border-box}.account-profile-error{color:var(--theme-danger,#ff929b)!important}.account-profile-availability-menu button{-webkit-user-select:none;user-select:none}.account-profile-availability-menu button:disabled{opacity:.6;cursor:default}.account-profile-popover i{border-radius:50%;flex:none;width:10px;height:10px;display:block}.account-profile-popover i.online{background:var(--theme-success-solid,#3ba977)}.account-profile-popover i.quiet{background:var(--theme-danger-solid,#ed4245);position:relative}.account-profile-popover i.quiet:after{content:"";background:var(--settings-sidebar);height:2px;position:absolute;top:4px;left:2px;right:2px}.profile-avatar i.online.account-presence-quiet{background:var(--theme-danger-solid,#ed4245)}.profile-avatar i.account-presence-quiet:after{content:"";background:var(--theme-avatar-outline,#232428);height:2px;position:absolute;top:calc(50% - 1px);left:3px;right:3px}.profile-avatar i.online.account-presence-invisible{background:var(--theme-offline,#949ba4)}@media (prefers-reduced-motion:reduce){.account-profile-popover{transition:none;animation:none}}.community-media{vertical-align:middle;box-sizing:border-box;flex:none;display:inline-flex;position:relative;overflow:hidden}.community-media-avatar{color:#191b20;background:#f0a52e;border-radius:14px;justify-content:center;align-items:center;font-weight:700}.community-media img{object-fit:cover;width:100%;height:100%;display:block}.community-media-fallback{width:100%;height:100%;font-size:inherit;justify-content:center;align-items:center;display:flex}.community-media-banner{aspect-ratio:16/5;background:#25272e;width:100%;display:block}.community-media-banner .community-media-fallback{background:linear-gradient(120deg,#33363f,#25272e)}.verified-community-badge[role=img]{width:var(--verified-badge-size,18px);min-width:var(--verified-badge-size,18px);height:var(--verified-badge-size,18px);vertical-align:middle;color:var(--theme-success,#54c78c);background:0 0;border:0;border-radius:0;flex:none;place-items:center;margin:0;padding:0;font-size:0;line-height:1;display:inline-grid}.verified-community-badge[role=img]>svg{flex:none;width:100%;height:100%;margin:0;padding:0;display:block}.discovery-card-title{align-items:center;gap:7px;min-width:0;margin-bottom:10px;display:flex}.discovery-card .discovery-card-title>h2{min-width:0;margin:0}.operator-directory-card>h3:has(>.verified-community-badge){align-items:center;gap:7px;display:flex}.operator-community-verification{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:12px;display:flex}.operator-community-verification>p{overflow-wrap:anywhere;flex-basis:100%;margin:0;line-height:1.5}.operator-community-verification>button{border:1px solid var(--theme-border,#45464e);min-height:36px;font:inherit;color:inherit;background:var(--theme-button,#303137);cursor:pointer;border-radius:7px;padding:7px 10px}.operator-community-verification>button:disabled{opacity:.5;cursor:default}.operator-community-verification>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.image-crop-backdrop{inset:var(--desktop-chrome-height,0px) 0 0;z-index:1800;background:var(--theme-backdrop,#08090bb8);box-sizing:border-box;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed}.image-crop-dialog{border:1px solid var(--settings-border,var(--theme-border,#3a3b42));background:var(--settings-surface,var(--theme-surface,#232428));width:min(540px,100%);min-width:0;max-height:100%;color:var(--text,var(--theme-text-primary,#eeeff2));box-shadow:0 18px 70px var(--theme-shadow-strong,#0007);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.image-crop-dialog>header{justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 16px;display:flex}.image-crop-dialog h2{margin:0 0 8px;font-size:22px;line-height:1.3}.image-crop-dialog header p,.image-crop-note{color:var(--settings-muted,var(--theme-text-muted,#b5bac1));margin:0;font-size:13px;line-height:1.5}.image-crop-dialog button{font:inherit;background:var(--settings-button,var(--theme-button,#34353d));color:inherit;cursor:pointer;border:0;border-radius:8px;min-height:40px;padding:10px 18px}.image-crop-dialog>header>button{background:0 0;flex:none;place-items:center;width:32px;height:32px;min-height:32px;padding:0;display:grid}.image-crop-dialog button.primary{background:var(--accent,var(--theme-accent,#a08aff));color:var(--theme-on-accent,#16111e);font-weight:600}.image-crop-dialog button:disabled{opacity:.5;cursor:default}.image-crop-dialog button:focus-visible,.image-crop-dialog input:focus-visible,.image-crop-viewport:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#a08aff));outline-offset:3px}.image-crop-body{gap:16px;min-height:0;padding:0 24px 20px;display:grid;overflow-y:auto}.image-crop-viewport{aspect-ratio:1;isolation:isolate;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;background-color:#17181c;background-image:linear-gradient(45deg,#24252b 25%,#0000 25%),linear-gradient(-45deg,#24252b 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#24252b 75%),linear-gradient(-45deg,#0000 75%,#24252b 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;border-radius:10px;flex:none;justify-self:center;width:min(360px,100%);position:relative;overflow:hidden}.image-crop-viewport:active{cursor:grabbing}.image-crop-viewport.image-crop-banner{aspect-ratio:16/5;border-radius:8px;width:100%}.image-crop-viewport>img{pointer-events:none;max-width:none;display:block;position:absolute}.image-crop-viewport>p{text-align:center;color:var(--settings-muted,#b5bac1);place-items:center;margin:0;padding:20px;font-size:13px;display:grid;position:absolute;inset:0}.image-crop-grid{pointer-events:none;border-radius:inherit;box-sizing:border-box;background:linear-gradient(90deg,#0000 33.2%,#ffffff42 33.2% 33.5%,#0000 33.5% 66.5%,#ffffff42 66.5% 66.8%,#0000 66.8%),linear-gradient(#0000 33.2%,#ffffff42 33.2% 33.5%,#0000 33.5% 66.5%,#ffffff42 66.5% 66.8%,#0000 66.8%);border:1px solid #fff7;position:absolute;inset:0}.image-crop-zoom{align-items:center;gap:14px;min-width:0;font-size:13px;display:flex}.image-crop-zoom>span{flex:none}.image-crop-zoom input[type=range]{width:auto;min-width:0;height:24px;min-height:24px;accent-color:var(--accent,var(--theme-accent,#a08aff));cursor:pointer;flex:1 1 0;margin:0;padding:0}.image-crop-zoom output{text-align:right;font-variant-numeric:tabular-nums;width:44px}.image-crop-dialog .error{color:var(--danger,var(--theme-danger,#ff858b));margin:0;font-size:13px;line-height:1.5}.image-crop-dialog>footer{border-top:1px solid var(--settings-border,var(--theme-border,#3a3b42));justify-content:flex-end;gap:10px;padding:16px 24px;display:flex}@media (width<=450px){.image-crop-backdrop{padding:10px}.image-crop-dialog>header{gap:10px;padding:18px 16px 14px}.image-crop-dialog h2{font-size:20px}.image-crop-body{gap:14px;padding:0 16px 16px}.image-crop-dialog>footer{padding:14px 16px}.image-crop-dialog>footer>button{flex:1 1 0}.image-crop-zoom{gap:10px}}.server-profile-settings{gap:18px;min-width:0;display:grid}.server-profile-settings[hidden]{display:none}.server-profile-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.server-profile-heading h3{margin:0;font-size:20px}.server-profile-settings .server-profile-heading>button{place-items:center;width:36px;height:36px;min-height:36px;padding:0;display:grid}.server-profile-grid{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:32px;display:grid}.server-profile-form{gap:0;min-width:0;display:grid}.server-profile-section{border-bottom:1px solid var(--settings-border,var(--theme-border,#3a3b42));gap:14px;min-width:0;padding:22px 0;display:grid}.server-profile-section:first-child{padding-top:0}.server-profile-section h4{margin:0;font-size:16px}.server-profile-name{gap:10px;min-width:0;font-size:15px;font-weight:600;display:grid}.server-profile-name input{box-sizing:border-box;width:100%;min-width:0}.server-profile-hint{color:var(--settings-muted,var(--theme-text-muted,#b5bac1));overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}.server-profile-actions,.server-profile-save{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.server-profile-media-edit{align-items:center;gap:18px;min-width:0;display:flex}.server-profile-save{justify-content:flex-end;margin-top:20px}.server-profile-toggle{justify-content:space-between;align-items:center;gap:20px;font-size:15px;font-weight:600;display:flex}.server-profile-settings .server-profile-toggle input{width:36px;height:20px;accent-color:var(--accent);cursor:pointer;flex:none;margin:0}.server-profile-preview{border:1px solid var(--settings-border,var(--theme-border,#3a3b42));background:var(--theme-surface-raised,#2b2d33);border-radius:14px;min-width:0;overflow:hidden}.server-profile-preview .community-media-banner{aspect-ratio:auto;height:126px}.server-profile-preview-body{min-width:0;padding:0 22px 22px}.server-profile-preview-body>.community-media-avatar{border:5px solid var(--theme-surface,#2b2d33);box-sizing:content-box;border-radius:20px;margin-top:-24px}.server-profile-preview-body h4{overflow-wrap:anywhere;margin:14px 0 6px;font-size:20px}.server-profile-preview-body p{color:var(--settings-muted,var(--theme-text-muted,#b5bac1));margin:0;font-size:13px}.server-profile-settings .error,.server-profile-settings .security-status{margin:0}.server-profile-settings button:focus-visible,.server-profile-settings input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=1000px){.server-profile-grid{grid-template-columns:minmax(0,1fr) 220px;gap:24px}}@media (width<=850px){.server-profile-grid{grid-template-columns:minmax(0,1fr)}.server-profile-preview{grid-row:1;justify-self:start;width:100%;max-width:420px}.server-profile-preview .community-media-banner{height:104px}}@media (width<=420px){.server-profile-heading h3{font-size:18px}.server-profile-media-edit{align-items:flex-start;gap:12px}.server-profile-media-edit .server-profile-actions{flex-direction:column;align-items:stretch}.server-profile-save button{flex:130px}.server-profile-settings button{overflow-wrap:anywhere}.server-profile-section{padding:18px 0}.server-profile-toggle{gap:12px}}.server-settings-general>.server-profile-settings{background:0 0;border:0;padding:0}.server-profile-settings .server-profile-section{border:0;border-bottom:1px solid var(--settings-border,var(--theme-border,#3a3b42));gap:14px;padding:22px 0}.server-profile-settings .server-profile-section:first-child{padding-top:0}.server-profile-section>label:has(textarea){gap:10px;min-width:0;font-size:15px;font-weight:600;display:grid}.server-profile-section textarea{box-sizing:border-box;resize:vertical;width:100%;min-width:0;min-height:100px}.server-profile-discovery{border:0;gap:12px;min-width:0;margin:0;padding:0;display:grid}.server-profile-discovery legend{color:var(--settings-muted,var(--theme-text-muted,#b5bac1));margin-bottom:12px;font-size:13px}.server-profile-discovery-option{cursor:pointer;align-items:flex-start;gap:12px;min-width:0;display:flex}.server-profile-discovery-option input[type=radio]{width:18px;height:18px;accent-color:var(--accent);flex:none;margin:3px 0 0}.server-profile-discovery-option span{gap:4px;min-width:0;display:grid}.server-profile-discovery-option b{overflow-wrap:anywhere;font-size:14px;font-weight:600}.server-profile-discovery-option small{color:var(--settings-muted,var(--theme-text-muted,#b5bac1));overflow-wrap:anywhere;font-size:12px;line-height:1.5}.server-profile-preview-body p{white-space:pre-wrap;overflow-wrap:anywhere}.community-roles{flex-direction:column;gap:16px;min-width:0;min-height:0;display:flex}.community-roles[hidden]{display:none}.community-roles-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:10px;display:flex}.community-roles-toolbar h3,.community-roles-section h3{color:var(--theme-text-primary,#e7eaf1);margin:0;font-size:15px}.community-roles-hint,.community-roles-empty{color:var(--theme-text-muted,#aeb5c5);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}.community-roles button,.community-roles input{font:inherit}.community-roles button{border:1px solid var(--theme-border,#3b4251);background:var(--theme-button,#303644);color:var(--theme-text-primary,#d9deea);cursor:pointer;border-radius:7px;padding:9px 11px}.community-roles button:disabled,.community-roles input:disabled{opacity:.6;cursor:default}.community-roles button:focus-visible,.community-roles input:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#c19b5a));outline-offset:2px}.community-roles input:not([type=checkbox]){box-sizing:border-box;background:var(--theme-control,#191e28);width:100%;min-width:0;color:var(--theme-text-primary,#e7eaf1);border:1px solid var(--theme-border-strong,#3b4251);border-radius:7px;padding:9px 11px}.community-roles-section{gap:12px;min-width:0;display:grid}.community-role-create,.community-role-editor{grid-template-columns:minmax(150px,1fr) minmax(120px,.55fr);align-items:end;gap:10px;display:grid}.community-role-create label,.community-role-editor label{color:var(--theme-text-primary,#cbd2df);gap:6px;min-width:0;font-size:13px;display:grid}.community-role-create>button,.community-role-editor-actions{grid-column:1/-1;justify-self:start}.community-role-create>.community-role-conflict,.community-role-editor>.community-role-conflict{grid-column:1/-1}.community-role-editor-actions{flex-wrap:wrap;gap:8px;display:flex}.community-role-list,.community-role-member-list{gap:9px;min-width:0;display:grid}.community-role-card,.community-role-member{border:1px solid var(--theme-border,#363e4c);background:var(--theme-surface-raised,#252b36);overflow-wrap:anywhere;border-radius:9px;min-width:0;margin:0;padding:12px;display:block}.community-role-card-heading,.community-role-member-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;min-width:0;display:flex}.community-role-name{color:var(--theme-text-primary,#e7eaf1);overflow-wrap:anywhere;align-items:center;gap:8px;min-width:0;display:inline-flex}.community-role-color{border:1px solid var(--theme-border,#9ea7b8);border-radius:50%;flex:none;width:12px;height:12px}.community-role-card small,.community-role-member small{color:var(--theme-text-muted,#aeb5c5);font-size:12px}.community-role-card-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.community-role-card .community-role-editor{margin-top:12px}.community-role-palette{flex-wrap:wrap;grid-column:1/-1;gap:6px;display:flex}.community-role-palette button{justify-content:center;align-items:center;min-width:32px;min-height:32px;padding:5px;display:flex}.community-role-palette button[aria-pressed=true]{border-color:var(--accent,var(--theme-accent,#c19b5a));outline:1px solid var(--accent,var(--theme-focus,#c19b5a))}.community-role-member-search{color:var(--theme-text-primary,#cbd2df);gap:6px;font-size:13px;display:grid}.community-role-badges{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.community-role-badge{border:1px solid var(--theme-border,#414957);color:var(--theme-text-primary,#d9deea);overflow-wrap:anywhere;border-radius:6px;align-items:center;gap:5px;max-width:100%;padding:3px 7px;font-size:12px;display:inline-flex}.community-role-assignment{border:1px solid var(--theme-border,#525e73);background:var(--theme-surface,#212733);border-radius:9px;gap:10px;min-width:0;padding:12px;display:grid}.community-role-assignment h4,.community-role-assignment p{overflow-wrap:anywhere;margin:0}.community-role-assignment fieldset{border:1px solid var(--theme-border,#3b4251);border-radius:7px;gap:8px;min-width:0;margin:0;padding:10px;display:grid}.community-role-assignment legend{color:var(--theme-text-primary,#cbd2df);padding:0 5px;font-size:13px}.community-role-choice{min-width:0;color:var(--theme-text-primary,#d9deea);overflow-wrap:anywhere;align-items:center;gap:8px;font-size:13px;display:flex}.community-role-choice input{width:17px;height:17px;accent-color:var(--accent,var(--theme-accent,#c19b5a));flex:none;margin:0}.community-role-choice span:last-child{min-width:0}.community-role-conflict{border:1px solid var(--theme-warning-border,#785a31);background:var(--theme-surface,#3a3022);color:var(--theme-text-primary,#ead7b8);border-radius:7px;gap:8px;padding:10px;font-size:13px;line-height:1.5;display:grid}.community-role-conflict p{margin:0}.community-roles .danger-action{border-color:var(--theme-danger-border,#70414c);color:var(--theme-danger,#ffb8c1);background:var(--theme-danger-bg,#412831)}@media (width<=600px){.community-role-create,.community-role-editor{grid-template-columns:minmax(0,1fr)}}@media (width<=420px){.community-role-card,.community-role-member,.community-role-assignment{padding:10px}.community-role-card-actions button,.community-role-editor-actions button{flex:130px}.community-roles-toolbar>button{width:100%}}.community-role-create .community-role-hoist,.community-role-editor .community-role-hoist{grid-column:1/-1;align-items:center;gap:10px;font-weight:500;display:flex}.community-role-hoist input{width:17px;height:17px;accent-color:var(--accent);flex:none;margin:0}.community-role-grouping-hint{grid-column:1/-1}.community-role-priority small{color:var(--settings-muted,var(--theme-text-muted,#aeb5c5));font-size:12px;font-weight:400}.community-member-group{min-width:0;margin:0 0 18px}.community-member-group>h3{color:var(--theme-text-secondary,#a3a7b1);text-transform:uppercase;overflow-wrap:anywhere;margin:14px 12px 9px;font-size:12px;font-weight:600;line-height:1.5}.community-member-group>h3 span{white-space:nowrap}.community-members-empty{color:var(--theme-text-muted,#a3a7b1);margin:14px 12px;font-size:13px;line-height:1.5}.members .community-member-group>.member{border-radius:6px;gap:9px;min-height:56px;padding:7px 8px;position:relative}.members .community-member-group>.member:hover{background:var(--theme-hover,#35373c)}.members .community-member-group .community-role-badges{gap:3px;margin-top:4px}.members .community-member-group .community-role-badge{padding:2px 5px;font-size:10px}.member-profile-card{z-index:70;box-sizing:border-box;border:1px solid var(--theme-border,#303136);background:var(--theme-surface-raised,#202125);color:var(--theme-text-primary,#f2f3f5);box-shadow:0 12px 36px var(--theme-shadow-strong,#0007);overscroll-behavior:contain;scrollbar-width:thin;-webkit-user-select:text;user-select:text;isolation:isolate;border-radius:12px;font-size:14px;line-height:1.4;animation:.13s ease-out member-profile-appear;position:fixed;overflow:auto}.member-profile-card:focus{outline:none}.member-profile-card button,.member-profile-card input{font:inherit;box-sizing:border-box}.member-profile-card button{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s,color .12s;transform:none!important}.member-profile-card button:disabled{cursor:default;opacity:.48}.member-profile-card button:focus-visible,.member-profile-card input:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#f5a82f));outline-offset:2px}.member-profile-banner{background:var(--member-profile-tone,#55657c);height:86px}.member-profile-tools{align-items:center;gap:4px;max-width:calc(100% - 20px);display:flex;position:absolute;top:10px;right:10px}.member-profile-tool,.member-profile-more .navigation-menu-trigger{place-items:center;width:30px;height:30px;display:grid;color:#f2f3f5!important;background:#17181b8f!important;border:0!important;border-radius:50%!important;margin:0!important;padding:0!important}.member-profile-tool:hover,.member-profile-more .navigation-menu-trigger:hover{background:#101113!important}.member-profile-more,.member-profile-more .navigation-menu{align-items:center;display:flex}.member-profile-avatar{box-sizing:content-box;border:6px solid var(--theme-surface,#202125);background:var(--theme-surface,#303644);border-radius:50%;place-items:center;width:76px;height:76px;margin:-38px 0 0 16px;display:grid;position:relative}.member-profile-avatar>.avatar,.member-profile-avatar>img{object-fit:cover;box-sizing:border-box;border-radius:50%;flex:none;font-size:29px;width:76px!important;height:76px!important;margin:0!important}.member-profile-avatar>.avatar:not(img){place-items:center;display:grid}.member-profile-presence{border:4px solid var(--theme-avatar-outline,#202125);box-sizing:border-box;background:var(--theme-surface,#80848e);border-radius:50%;width:21px;height:21px;position:absolute;bottom:-1px;right:-3px}.member-profile-presence.online{background:var(--theme-success-solid,#3ba977)}.member-profile-presence.dnd{background:var(--theme-danger-solid,#ed4245)}.member-profile-presence.dnd:after{content:"";background:var(--theme-avatar-outline,#202125);height:3px;position:absolute;top:5px;left:3px;right:3px}.member-profile-presence.offline{background:var(--theme-avatar-outline,#202125);box-shadow:inset 0 0 0 3px var(--theme-shadow-strong,#80848e)}.member-profile-body{background:var(--theme-surface-raised,#17181c);border-radius:8px;min-width:0;margin:7px 14px 14px;padding:14px}.member-profile-identity h2{overflow-wrap:anywhere;color:var(--theme-text-primary,#f2f3f5);flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 2px;font-size:21px;font-weight:700;line-height:1.25;display:flex}.member-profile-identity p{color:var(--theme-text-primary,#d5d7dc);overflow-wrap:anywhere;margin:0;font-size:13px}.member-profile-self,.member-profile-bot{border:1px solid var(--theme-border,#4b4d55);color:var(--theme-text-secondary,#c7c9d0);border-radius:4px;padding:3px 4px;font-size:10px;font-weight:600;line-height:1}.member-profile-bot{background:var(--theme-accent-soft,#4a4d64);border-color:var(--theme-accent,#4a4d64);color:var(--theme-text-primary,white)}.member-profile-availability{color:var(--theme-text-muted,#aeb1bb);margin-top:6px;font-size:12px;display:block}.member-profile-status{border:1px solid var(--theme-border,#35363d);color:var(--theme-text-muted,#dedfe5);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:7px;margin:11px 0 0;padding:10px 11px;font-size:13px;line-height:1.45}.member-profile-roles{border-top:1px solid var(--theme-border,#303138);min-width:0;margin-top:13px;padding-top:13px}.member-profile-roles h3{text-transform:uppercase;letter-spacing:.035em;color:var(--theme-text-secondary,#b5b7c1);overflow-wrap:anywhere;margin:0 0 7px;font-size:11px;font-weight:650;line-height:1.4}.member-profile-roles>div{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.member-profile-role{box-sizing:border-box;border:1px solid var(--theme-border,#3d3f49);max-width:100%;color:var(--theme-text-primary,#d8dae2);overflow-wrap:anywhere;background:var(--theme-surface,#22232a);border-radius:5px;align-items:center;gap:5px;padding:3px 7px;font-size:11px;line-height:1.35;display:inline-flex}.member-profile-role i{border-radius:50%;flex:none;width:8px;height:8px}.member-profile-role svg{flex:none}.member-profile-role.fixed{border-color:var(--theme-border,#484b56)}.member-profile-messaging{gap:10px;min-width:0;margin-top:15px;display:grid}.member-profile-open-message{width:100%;color:var(--theme-text-primary,#ededf1);background:var(--theme-surface,#373a44);border:0;border-radius:5px;justify-content:center;align-items:center;gap:8px;padding:7px 10px;display:flex;font-size:12px!important}.member-profile-open-message:hover:not(:disabled){background:var(--theme-hover,#454956)}.member-profile-messaging form{background:var(--theme-surface,#222328);border:1px solid var(--theme-border,#42444e);border-radius:5px;align-items:center;min-width:0;padding:0 4px;display:flex}.member-profile-messaging input{width:100%;min-width:0;height:36px;color:var(--theme-text-primary,#e8e9ef);background:0 0;border:0;border-radius:4px;padding:7px;font-size:12px;display:block}.member-profile-messaging input::placeholder{color:var(--theme-placeholder,#a2a5af)}.member-profile-messaging input:disabled{opacity:.6;cursor:default}.member-profile-messaging input:focus-visible{outline-offset:-2px}.member-profile-messaging form>button{color:var(--theme-text-secondary,#c1c4ce);background:0 0;border:0;border-radius:4px;flex:none;place-items:center;width:28px;height:28px;padding:0;display:grid}.member-profile-messaging form>button:hover:not(:disabled){color:var(--theme-text-primary,white);background:var(--theme-hover,#353741)}.member-profile-input-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.member-profile-hint,.member-profile-progress,.member-profile-error{color:var(--theme-danger,#abadb8);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.4}.member-profile-progress,.member-profile-error{margin-top:10px}.member-profile-error{color:var(--theme-danger,#ff929b)}.member-profile-owner{color:var(--theme-warning,#f1b33b);flex:none;align-items:center;display:inline-flex}.member-profile-identity .member-profile-custom-status{color:var(--theme-text-muted,#dedfe5);white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;font-size:13px;line-height:1.45}.member-profile-about,.member-profile-membership{border-top:1px solid var(--theme-border,#303138);min-width:0;margin-top:13px;padding-top:13px}.member-profile-about h3,.member-profile-membership h3{text-transform:uppercase;letter-spacing:.035em;color:var(--theme-text-secondary,#b5b7c1);margin:0 0 7px;font-size:11px;font-weight:650;line-height:1.4}.member-profile-about p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--theme-text-primary,#dedfe5);margin:0;font-size:13px;line-height:1.5}.member-profile-membership time{color:var(--theme-text-muted,#dedfe5);font-size:13px}.member-profile-roles .member-profile-builtin-roles{margin-bottom:6px}@keyframes member-profile-appear{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.member-profile-card{animation:none}.member-profile-card button{transition:none}}.quick-member-roles{min-width:0;font-size:12px;line-height:1.4}.quick-member-role-chips{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.quick-member-role-chip{box-sizing:border-box;border:1px solid var(--theme-border,#3d3f49);background:var(--theme-surface,#22232a);min-width:0;max-width:100%;color:var(--theme-text-primary,#d8dae2);border-radius:6px;align-items:center;gap:5px;padding:3px 7px;display:inline-flex}.quick-member-role-chip>i,.quick-member-role-options button>i{border-radius:50%;flex:none;width:9px;height:9px}.quick-member-role-chip>span{overflow-wrap:anywhere;min-width:0}.quick-member-roles .quick-member-role-remove,.quick-member-roles .quick-member-role-add{color:var(--theme-text-secondary,#b7bac4);cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;place-items:center;min-width:0;min-height:0;margin:0;padding:0;display:grid;transform:none}.quick-member-roles .quick-member-role-remove{width:18px;height:18px;margin:-1px -3px -1px 0}.quick-member-roles .quick-member-role-add{border:1px solid var(--theme-border,#3d3f49);background:var(--theme-surface,#22232a);width:27px;height:27px}.quick-member-roles .quick-member-role-remove:hover:not(:disabled),.quick-member-roles .quick-member-role-add:hover:not(:disabled){background:var(--theme-hover,#3e404b);color:var(--theme-text-primary,white)}.quick-member-roles button:disabled{cursor:default;opacity:.45}.quick-member-roles button:focus-visible,.quick-member-roles-popover button:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#a78bfa));outline-offset:2px}.quick-member-roles-error,.quick-member-roles-hint,.quick-member-roles-empty{color:var(--theme-danger,#aeb1bb);overflow-wrap:anywhere;margin:7px 0 0;font-size:12px;line-height:1.5}.quick-member-roles-error{color:var(--theme-danger,#ff929b)}.quick-member-role-chips>.quick-member-roles-empty{margin:0}.quick-member-roles-popover{z-index:180;box-sizing:border-box;border:1px solid var(--theme-border,#3d3f49);background:var(--theme-surface,#222328);color:var(--theme-text-primary,#ededf1);box-shadow:0 8px 24px var(--theme-shadow-strong,#0007);isolation:isolate;-webkit-user-select:none;user-select:none;border-radius:8px;flex-direction:column;padding:8px;font-size:13px;line-height:1.4;display:flex;position:fixed;overflow:hidden}.quick-member-roles-popover .quick-member-role-search{border:1px solid var(--theme-border,#3d3f49);background:var(--theme-control,#17181c);min-width:0;color:var(--theme-text-secondary,#aeb1bb);border-radius:5px;flex:none;align-items:center;gap:6px;margin:0 0 5px;padding:0 8px;display:flex}.quick-member-role-search>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.quick-member-roles-popover input{box-sizing:border-box;width:100%;min-width:0;color:var(--theme-text-primary,#ededf1);font:inherit;background:0 0;border:0;border-radius:4px;margin:0;padding:8px 0}.quick-member-roles-popover input:focus{outline:none}.quick-member-role-search:focus-within{outline:2px solid var(--accent,var(--theme-focus,#a78bfa));outline-offset:1px}.quick-member-roles-popover input::placeholder{color:var(--theme-placeholder,#aeb1bb)}.quick-member-role-options{overscroll-behavior:contain;scrollbar-width:thin;gap:2px;min-height:0;padding:2px;display:grid;overflow:auto}.quick-member-role-options>button{box-sizing:border-box;width:100%;min-width:0;color:var(--theme-text-primary,#ededf1);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:7px;padding:7px 6px;line-height:1.4;transition:none;display:flex;transform:none}.quick-member-role-options>button:hover:not(:disabled),.quick-member-role-options>button:focus-visible{background:var(--theme-hover,#383b45)}.quick-member-role-options>button:disabled{opacity:.45;cursor:default}.quick-member-role-options>button>span:not(.quick-member-role-check){overflow-wrap:anywhere;flex:1;min-width:0}.quick-member-role-check{box-sizing:border-box;border:1px solid var(--theme-border-strong,#737784);width:15px;height:15px;color:var(--theme-text-primary,#ededf1);border-radius:3px;flex:none;place-items:center;font-size:12px;line-height:1;display:grid}.quick-member-role-options>button[aria-checked=true] .quick-member-role-check{background:var(--accent,var(--theme-accent,#a78bfa));border-color:var(--accent,var(--theme-accent,#a78bfa));color:var(--theme-on-accent,#17181c)}.quick-member-role-options>.quick-member-roles-empty{margin:5px;padding:3px}.quick-member-roles-progress{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.member-profile-roles>.quick-member-roles{display:block}.discovery-page{box-sizing:border-box;width:100%;min-width:0;max-width:1360px;color:var(--text,var(--theme-text-primary,#ececef));margin:0 auto;padding:32px clamp(16px,4vw,48px)}.discovery-page[hidden]{display:none}.discovery-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.discovery-heading h1{letter-spacing:-.4px;margin:0 0 10px;font-size:28px;line-height:1.2}.discovery-heading p{color:var(--muted,var(--theme-text-muted,#b5bac1));margin:0;line-height:1.5}.discovery-page button{box-sizing:border-box;border:1px solid var(--settings-border,var(--theme-border,#3b3c43));background:var(--settings-control,var(--theme-control,#313238));color:var(--text,var(--theme-text-primary,#ececef));cursor:pointer;border-radius:8px;min-height:42px;padding:11px 16px;font-size:14px;font-weight:600}.discovery-page button.primary{background:var(--accent,var(--theme-accent,#a58bff));color:var(--theme-on-accent,#19181e);border-color:#0000}.discovery-page button:disabled{opacity:.55;cursor:default}.discovery-page button:focus-visible,.discovery-page input:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#a58bff));outline-offset:3px}.discovery-invite{flex:none}.discovery-search{box-sizing:border-box;border:1px solid var(--settings-border,var(--theme-border,#3b3c43));background:var(--theme-control,#191a1e);border-radius:10px;align-items:center;gap:12px;min-width:0;margin:0 0 28px;padding:5px 8px 5px 16px;display:flex}.discovery-search>.ui-icon{color:var(--muted,var(--theme-text-muted,#b5bac1));flex:none}.discovery-search input{color:inherit;width:100%;min-width:0;font:inherit;box-shadow:none;background:0 0;border:0;flex:1;padding:11px 0;line-height:1.4;transform:none}.discovery-page .discovery-search>button{background:0 0;border:0;flex:none;place-items:center;width:38px;min-height:38px;padding:7px;display:grid}.discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;min-width:0;display:grid}.discovery-card{box-sizing:border-box;border:1px solid var(--settings-border,var(--theme-border,#3b3c43));background:var(--settings-sidebar,var(--theme-panel,#202126));border-radius:12px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.discovery-media{background:var(--theme-surface,#31343d);box-sizing:border-box;min-width:0;overflow:hidden}.discovery-media img{object-fit:cover;width:100%;height:100%;display:block}.discovery-banner{background:linear-gradient(125deg,#343740,#202228);flex:none;height:132px}.discovery-avatar{border:4px solid var(--settings-sidebar,var(--theme-border,#202126));background:#42444e;border-radius:17px;flex:none;place-items:center;width:60px;height:60px;margin:-35px 0 16px;display:grid;position:relative}.discovery-avatar>span{color:#edeef3;font-size:25px;font-weight:700}.discovery-card-body{flex-direction:column;flex:1;min-width:0;padding:0 22px 22px;display:flex}.discovery-card h2{overflow-wrap:anywhere;margin:0 0 10px;font-size:19px;line-height:1.35}.discovery-description{-webkit-line-clamp:3;color:var(--muted,var(--theme-text-muted,#b5bac1));white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;min-height:67px;margin:0 0 22px;font-size:14px;line-height:1.6;display:-webkit-box;overflow:hidden}.discovery-card-meta{color:var(--muted,var(--theme-text-muted,#b5bac1));gap:8px;margin:auto 0 18px;font-size:12px;display:grid}.discovery-card-meta>span{align-items:center;gap:7px;display:flex}.discovery-card-meta small{font-size:12px}.discovery-card-body>button{width:100%;margin-top:0}.discovery-empty{color:var(--muted,var(--theme-text-muted,#b5bac1));text-align:center;overflow-wrap:anywhere;padding:42px 0;line-height:1.6}.discovery-error{margin:0 0 18px}.discovery-more{justify-content:center;margin-top:28px;display:flex}@media (width<=1100px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-heading{flex-direction:column;align-items:flex-start;gap:18px}}@media (width<=650px){.discovery-page{padding:24px 16px}.discovery-heading h1{font-size:25px}.discovery-heading p{font-size:14px}.discovery-invite{width:100%;font-size:13px!important}.discovery-grid{grid-template-columns:minmax(0,1fr);gap:18px}.discovery-card-body{padding-inline:18px}.discovery-search{gap:8px;padding-left:12px}.discovery-search input{font-size:13px}.discovery-banner{height:120px}}.discovery-page .discovery-heading{box-shadow:none;background:0 0;border:0;height:auto;min-height:0;padding:0}.discovery-page .discovery-card,.discovery-page .discovery-card:hover{background:var(--settings-sidebar,var(--theme-panel,#202126));gap:0;margin:0;padding:0}.mayak-mark{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.mayak-logo{object-fit:contain;pointer-events:none;width:176px;height:auto;display:block}.landing-page .landing-brand .mayak-logo{flex:none}.auth .logo.mayak-auth-mark{background:0 0;border-radius:0;width:72px;height:72px}.splash.mayak-splash{background:var(--theme-page,#1e1f22)}.splash.mayak-splash .mayak-mark{width:112px;height:112px}.rail .brand.mayak-home{background:var(--theme-button,#313338)}.rail .brand.mayak-home:hover{background:var(--theme-hover,#383a40)}.rail .brand.mayak-home.active{background:var(--theme-selected,#3e3a50)}.rail .brand.mayak-home .mayak-mark{width:44px;height:44px}.landing-page .landing-hero{max-width:1000px;padding-bottom:48px}.landing-page .landing-hero-art{border:1px solid var(--theme-border,#303139);background:#17181c;border-radius:22px;max-width:940px;margin:44px auto 0;overflow:hidden}.landing-page .landing-hero-art img{aspect-ratio:1672/941;object-fit:contain;width:100%;height:auto;display:block}.landing-page .landing-benefits>article.landing-benefit-card,.landing-page .landing-benefits>article.landing-benefit-card:hover{background:var(--theme-surface,#202127);flex-direction:column;align-items:stretch;gap:0;min-width:min(260px,100%);max-width:min(380px,100%);padding:0;overflow:hidden}.landing-page .landing-benefit-card .landing-benefit-art{aspect-ratio:1586/992;background:#202127;width:100%;overflow:hidden}.landing-page .landing-benefit-card .landing-benefit-art img{object-fit:contain;width:100%;height:100%;display:block}.landing-page .landing-benefit-card .landing-benefit-art img[src$=\.svg]{padding:32px}.landing-page .landing-benefits>article.landing-benefit-card>p{margin:0;padding:20px 22px}@media (width<=640px){.landing-page .landing-brand .mayak-logo{width:160px}.landing-page .landing-hero-art{border-radius:14px;margin-top:30px}.landing-page .landing-hero{padding-bottom:32px}.landing-page .landing-benefits>article.landing-benefit-card,.landing-page .landing-benefits>article.landing-benefit-card:hover{flex-basis:100%;width:100%;min-width:0;max-width:440px}}@media (width<=950px){.rail .brand.mayak-home .mayak-mark{width:38px;height:38px}}body button.icon-control,body .modal button.icon-control,.operator-panel button.operator-section-refresh,.modal .channel-settings-heading button,.modal .server-profile-heading>button,.modal .operator-site-benefit>button,.modal .wizard-heading>button,.community-create-heading>button,.community-create-quota-line>button,.image-crop-dialog>header>button,.discovery-page .discovery-search>button{box-sizing:border-box;background:var(--theme-button,#313338);width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;color:var(--theme-text-secondary,#b5bac1);cursor:pointer;border:0;border-radius:8px;flex:0 0 36px;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}button.icon-control>.ui-icon,.operator-panel button.operator-section-refresh>.ui-icon{flex:none;margin:0;display:block}button.icon-control:hover:not(:disabled),.modal button.icon-control:hover:not(:disabled),.operator-panel button.operator-section-refresh:hover:not(:disabled){background:var(--theme-hover,#3d3f47);color:var(--theme-text-primary,#f2f3f5)}.attachment-tray button.icon-control{border-radius:6px;flex-basis:24px;width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px}.attachment-tray button.icon-control>.ui-icon{width:16px;height:16px}.landing-page{box-sizing:border-box;background:var(--theme-page,#17181c);min-height:100dvh;color:var(--theme-text-primary,#ededf2);overflow-wrap:anywhere;padding:0 clamp(20px,6vw,96px);font-family:inherit;overflow:auto}.landing-page *{box-sizing:border-box}.landing-page a{color:inherit;text-decoration:none}.landing-header{border-bottom:1px solid var(--theme-border,#303139);justify-content:space-between;align-items:center;gap:18px;max-width:1240px;margin:auto;padding:28px 0;display:flex}.landing-brand{align-items:center;gap:12px;font-size:23px;font-weight:750;display:flex}.landing-brand>span{background:var(--theme-accent,#a78bfa);width:42px;height:42px;color:var(--theme-on-accent,#191922);border-radius:12px;place-items:center;display:grid}.landing-header nav{align-items:center;gap:24px;display:flex}.landing-page .landing-button{background:var(--theme-accent,#a78bfa);color:var(--theme-on-accent,#171821);border:1px solid var(--theme-accent,#a78bfa);border-radius:9px;justify-content:center;align-items:center;gap:10px;padding:13px 21px;font-weight:700;display:inline-flex}.landing-header .landing-button{padding:10px 17px;font-size:14px}.landing-hero{text-align:center;max-width:940px;margin:0 auto;padding:94px 0 72px}.landing-eyebrow{color:var(--theme-accent,#bda8fa);letter-spacing:.02em;margin:0 0 24px;font-size:14px;font-weight:650}.landing-hero h1{letter-spacing:-.035em;white-space:pre-wrap;margin:0 auto 28px;font-size:clamp(36px,5.3vw,70px);font-weight:760;line-height:1.12}.landing-description{color:var(--theme-text-muted,#b9bdc8);white-space:pre-wrap;max-width:750px;margin:0 auto;font-size:clamp(17px,2vw,21px);line-height:1.7}.landing-hero-actions{flex-wrap:wrap;justify-content:center;gap:16px;margin-top:34px;display:flex}.landing-secondary{border:1px solid var(--theme-border,#44454e);background:var(--theme-surface,#25262d);border-radius:9px;justify-content:center;align-items:center;gap:10px;padding:13px 21px;font-weight:650;display:inline-flex}.landing-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1240px;margin:0 auto 72px;display:grid}.landing-benefits article{border:1px solid var(--theme-border,#34353e);background:var(--theme-surface,#202127);border-radius:12px;padding:25px}.landing-benefits svg{color:var(--theme-accent,#bba3fa)}.landing-benefits p{white-space:pre-wrap;margin:16px 0 0;font-size:16px;line-height:1.65}.landing-clients{border-top:1px solid var(--theme-border,#363740);grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:28px;max-width:1240px;margin:auto;padding:36px 0;display:grid}.landing-clients h2{margin:0 0 12px;font-size:25px;line-height:1.3}.landing-clients p{color:var(--theme-text-secondary,#aeb3bf);margin:0;font-size:14px;line-height:1.65}.landing-downloads{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.landing-downloads>a{border:1px solid var(--theme-border,#40414b);background:var(--theme-surface,#26272e);border-radius:9px;align-items:center;gap:12px;min-width:0;padding:18px 14px;display:flex}.landing-downloads svg{color:var(--theme-accent,#bba3fa);flex:none}.landing-downloads strong,.landing-downloads small{display:block}.landing-downloads small{color:var(--theme-text-muted,#acb1bc);margin-top:5px;font-size:12px;line-height:1.5}.landing-footer{border-top:1px solid var(--theme-border,#303139);max-width:1240px;color:var(--theme-text-secondary,#959aa7);flex-wrap:wrap;justify-content:space-between;gap:24px;margin:auto;padding:25px 0 32px;font-size:13px;display:flex}.landing-footer p{white-space:pre-wrap;max-width:800px;margin:0}.landing-footer button{color:var(--theme-accent,#bca6fc);cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.landing-page a:focus-visible,.landing-page button:focus-visible{outline:3px solid var(--theme-focus,#a78bfa);outline-offset:4px}.landing-downloads>a:hover,.landing-secondary:hover{background:var(--theme-hover,#30313a)}.landing-button:hover{filter:brightness(1.07)}.app.discovery-mode .discovery-page{min-height:0;padding-bottom:calc(var(--account-footer-height,80px) + 28px);grid-area:2/2/auto/-1;overflow:auto}.discovery-account{z-index:44;width:280px;position:fixed;bottom:0;left:72px}.app .discovery-account .account-bar{border-radius:0 9px 0 0;width:100%;margin:0}.app .discovery-toggle{color:var(--theme-accent,#bba3fa);background:var(--theme-surface,#25232e)}.app .discovery-toggle[aria-pressed=true]{background:var(--theme-selected,#a78bfa);color:var(--theme-on-accent,#1a1823)}@media (width<=950px){.landing-clients{grid-template-columns:minmax(0,1fr)}.landing-benefits{gap:12px}.landing-benefits article{padding:20px}.landing-hero{padding-top:70px}.discovery-account{width:260px;left:56px}}@media (width<=600px){.landing-header{gap:10px;padding:20px 0}.landing-brand{gap:8px;font-size:19px}.landing-brand>span{border-radius:9px;width:34px;height:34px}.landing-header nav{gap:13px;font-size:14px}.landing-header .landing-button{padding:9px 11px;font-size:13px}.landing-hero{padding:56px 0 44px}.landing-hero h1{font-size:37px}.landing-benefits{grid-template-columns:minmax(0,1fr);margin-bottom:42px}.landing-downloads{grid-template-columns:minmax(0,1fr)}.landing-downloads>a{padding:14px 18px}.landing-hero-actions{flex-direction:column}.landing-clients h2{font-size:23px}.landing-footer{gap:15px}.discovery-account{width:calc(100vw - 56px);left:56px}.app.discovery-mode .discovery-page{grid-column:2/-1}.landing-page{padding:0 20px}}body:has(#root>.landing-page){overflow:hidden auto}.landing-page{overflow:visible}.landing-page>.landing-header{box-shadow:none;background:0 0;border:0}.landing-page .theme-chooser-icons{color:var(--theme-text-secondary,#b5bac1);gap:4px}.landing-page .theme-chooser-icons>button{width:36px;height:36px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;padding:0;display:grid}.landing-page .theme-chooser-icons>button:hover{color:var(--theme-text-primary,#ededf2);background:var(--theme-hover,#30313a)}.landing-page .theme-chooser-icons>button[aria-pressed=true]{color:var(--theme-accent,#a78bfa);background:var(--theme-accent-soft,#a78bfa1a)}.landing-page .landing-benefits{flex-wrap:wrap;justify-content:center;align-items:stretch;gap:16px;display:flex}.landing-page .landing-benefits>article,.landing-page .landing-benefits>article:hover{border:1px solid var(--theme-border,#34353e);background:var(--theme-hover,#202127);width:fit-content;min-width:min(240px,100%);max-width:min(440px,100%);min-height:96px;box-shadow:inset 0 1px 0 var(--theme-inset-highlight,#ffffff05);border-radius:14px;flex:0 auto;align-items:center;gap:16px;margin:0;padding:24px;display:flex}.landing-page .landing-benefits>article>.ui-icon{width:26px;height:26px;color:var(--theme-accent,#bba3fa);flex:none}.landing-page .landing-benefits>article>p{white-space:pre-wrap;min-width:0;margin:0;font-size:16px;line-height:1.5}@media (width<=600px){.landing-page .landing-benefits>article,.landing-page .landing-benefits>article:hover{flex-basis:100%;width:100%;max-width:none;min-height:80px;padding:20px}}.cookie-notice{z-index:80;border:1px solid var(--theme-border,#444650);background:var(--theme-surface,#25262d);width:min(440px,100vw - 40px);color:var(--theme-text-primary,#ededf2);box-shadow:0 8px 32px var(--theme-shadow,#0004);border-radius:12px;align-items:flex-end;gap:18px;padding:20px;font-size:13px;display:flex;position:fixed;bottom:20px;right:20px}.cookie-notice>div{min-width:0}.cookie-notice strong{font-size:14px;display:block}.cookie-notice p{color:var(--theme-text-secondary,#b9bdc8);margin:8px 0 0;line-height:1.55}.cookie-notice>button{background:var(--theme-accent,#a78bfa);color:var(--theme-on-accent,#191922);font:inherit;cursor:pointer;border:0;border-radius:8px;flex:none;padding:10px 14px;font-weight:650}.cookie-notice>button:focus-visible{outline:2px solid var(--theme-focus,#c8b7ff);outline-offset:3px}@media (width<=700px){.cookie-notice{gap:12px;width:calc(100vw - 24px);padding:16px;bottom:12px;right:12px}.app~.cookie-notice{bottom:90px}}.reaction-picker.reaction-picker-popover{z-index:100;box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--theme-border,#454750);background:var(--theme-surface,#232428);color:var(--theme-text-primary,#f2f3f5);box-shadow:0 10px 32px var(--theme-shadow-strong,#0007);border-radius:10px;padding:12px;font-size:14px;display:block;position:fixed;right:auto;overflow:auto}.reaction-popover-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.reaction-picker-popover .reaction-popover-close{width:28px;height:28px;color:var(--theme-text-secondary,#b5bac1);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;padding:0;font-size:14px;display:grid}.reaction-picker-popover .reaction-popover-close:hover{background:var(--theme-hover,#35373e);color:var(--theme-text-primary,#fff)}.reaction-popover-search{border:1px solid var(--theme-border,#1e1f22);background:var(--theme-control,#1e1f22);color:var(--theme-text-secondary,#949ba4);border-radius:6px;align-items:center;gap:8px;padding:8px 10px;display:flex}.reaction-popover-search input{width:100%;min-width:0;color:var(--theme-text-primary,#dbdee1);font:inherit;background:0 0;border:0;outline:0;padding:0}.reaction-popover-search:focus-within{border-color:var(--theme-accent,#5865f2)}.reaction-popover-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:10px;display:grid}.reaction-picker-popover .reaction-popover-grid button{min-width:0;min-height:40px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:5px 2px;font-size:26px;line-height:1;display:grid}.reaction-picker-popover .reaction-popover-grid button:hover,.reaction-picker-popover .reaction-popover-grid button:focus-visible{background:var(--theme-hover,#3f4149)}.reaction-picker-popover button:focus-visible{outline:2px solid var(--theme-focus,#8ea1ff);outline-offset:1px}.reaction-popover-empty{color:var(--theme-text-muted,#b5bac1);margin:14px 0 4px;font-size:13px}@media (width<=360px){.reaction-picker.reaction-picker-popover{padding:10px}.reaction-picker-popover .reaction-popover-grid button{font-size:24px}}.profile-avatar i.account-presence-invisible{background:var(--theme-offline,#80848e)}.profile-avatar i.account-presence-invisible:after{content:"";background:var(--theme-avatar-outline,#232428);border-radius:50%;position:absolute;inset:3px}.member-avatar i.presence-indicator-dnd,.contact-avatar i.presence-indicator-dnd{background:var(--theme-danger-solid,#ed4245)}.member-avatar i.presence-indicator-dnd:after,.contact-avatar i.presence-indicator-dnd:after{content:"";background:var(--theme-avatar-outline,#232428);height:2px;position:absolute;top:calc(50% - 1px);left:3px;right:3px}.community-sidebar-content>.community-sidebar-banner.community-media-banner{aspect-ratio:16/7;border-radius:0;flex:none;width:calc(100% + 16px);height:auto;margin:-50px -8px 0;display:block;overflow:hidden}.community-sidebar-banner.community-media-banner>img{object-fit:cover;width:100%;height:100%;display:block}.rail .community-media-avatar{border-radius:inherit;overflow:hidden}.rail button.community-rail-button{background:0 0;padding:0}.rail button.community-rail-button>.community-media-avatar{width:100%!important;height:100%!important}.rail button.community-rail-button:hover,.rail button.community-rail-button.active{background:0 0}.rail button.community-rail-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.members>.community-member-groups{padding:0;display:block}.members .community-member-group>.member{align-items:center;display:flex}.members .member-profile-trigger{text-align:left;min-width:0;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:1;align-items:center;gap:10px;padding:0;display:flex}.members .member-profile-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.members .member-name{flex:1;min-width:0}.members .member-name>b{align-items:center;gap:5px;min-width:0;display:flex}.members .member-display-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.member-owner-crown{color:var(--theme-warning,#f2bd52);vertical-align:middle;flex:none}.members .member-status{text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:17px;overflow:hidden}.profile-modal .profile-fields{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.profile-modal .profile-about-field{gap:8px;min-width:0;display:grid}.profile-modal .profile-about-field textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:112px}.profile-modal .profile-about-field small{color:var(--settings-muted,var(--theme-text-muted,#b5bac1));font-size:12px;line-height:1.5}.members .member-card-selected{background:var(--theme-selected,#35373c)}.member-avatar-trigger,.message-author-trigger{color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.member-avatar-trigger{border-radius:50%;flex:none;align-self:flex-start}.message-author-trigger{font-weight:700}.member-avatar-trigger:focus-visible,.message-author-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.member-restriction-controls{flex-basis:100%;gap:8px;min-width:0;margin-top:8px;display:grid}.moderation-extension-actions{flex-wrap:wrap;gap:7px;display:flex}.moderation-extension-actions button{white-space:normal}.member-timeout-editor{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.member-timeout-editor label{min-width:0;color:var(--theme-text-muted,#bac2d7);gap:4px;font-size:12px;display:grid}.member-timeout-editor select{min-width:100px}.member-restriction-status{color:var(--theme-text-muted,#edc088);overflow-wrap:anywhere;margin-top:5px;display:block}.ownership-transfer{gap:10px;display:grid}.ownership-transfer h3,.ownership-transfer p,.ownership-confirm p{margin:0}.ownership-transfer p{color:var(--theme-text-secondary,#aeb7cd);font-size:13px;line-height:1.6}.ownership-transfer label{gap:6px;min-width:0;display:grid}.ownership-transfer input,.ownership-transfer select{width:100%;min-width:0;max-width:100%}.ownership-transfer>button{justify-self:start}.ownership-confirm{border:1px solid var(--theme-danger-border,#75544d);background:var(--theme-surface,#31242b);border-radius:8px;gap:12px;padding:14px;display:grid}.voice-participant .member-restriction-controls{grid-column:1/-1;margin:0}.voice-participant:has(.member-restriction-controls){grid-template-columns:minmax(0,1fr) auto;display:grid}.voice-moderation-notice{color:var(--theme-text-primary,#edc088);border:1px solid var(--theme-border,#61494b);border-radius:7px;padding:8px 10px}.community-timeout-notice{color:var(--theme-text-muted,#edc088);border-top:1px solid var(--theme-border,#574544);padding:10px 14px;font-size:13px}.moderation-person{min-width:0}.moderation-member:has(.member-restriction-controls){flex-wrap:wrap}.moderation-member>.member-restriction-controls{padding-left:45px}.voice-moderation-controls{grid-column:1/-1;gap:7px;display:grid}.voice-moderation-controls .error{margin:0}.moderation-extension-actions select{min-width:0}.member-restriction-controls button,.member-timeout-editor select{border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#303644);min-height:36px;color:var(--theme-text-muted,#d9deea);font:inherit;cursor:pointer;border-radius:6px;padding:7px 9px}.ownership-transfer input,.ownership-transfer select{border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#1b202b);min-height:38px;color:var(--theme-text-primary,#eef1f8);font:inherit;border-radius:6px;padding:8px 10px}.member-restriction-controls button:hover:not(:disabled){background:var(--theme-hover,#3a4252)}.member-restriction-controls button:disabled,.member-timeout-editor select:disabled,.ownership-transfer input:disabled,.ownership-transfer select:disabled{opacity:.6;cursor:default}.member-restriction-controls button:focus-visible,.member-timeout-editor select:focus-visible,.ownership-transfer input:focus-visible,.ownership-transfer select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=650px){.moderation-member>.member-restriction-controls{padding-left:0}.member-timeout-editor label,.member-timeout-editor>button{flex:1}.ownership-transfer select{font-size:13px}.ownership-confirm{padding:11px}.voice-participant:has(.member-restriction-controls){grid-template-columns:minmax(0,1fr)}.voice-participant .moderation-extension-actions button{flex:1;font-size:12px}}.permission-move-backdrop{z-index:220}.permission-move-dialog{width:min(560px,100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto}.permission-move-dialog h2{font-size:23px}.permission-move-dialog>p{color:var(--muted,var(--theme-text-muted,#b5bac1));line-height:1.5}.permission-move-dialog fieldset{border:0;gap:12px;margin:20px 0;padding:0;display:grid}.permission-move-dialog legend{padding:0 0 10px;font-weight:600}.permission-move-dialog fieldset label{border:1px solid var(--theme-border,#41434a);cursor:pointer;border-radius:12px;align-items:flex-start;gap:12px;padding:15px;display:flex}.permission-move-dialog fieldset label:has(input:checked){border-color:var(--accent);background:var(--theme-accent-soft,#a38bfa12)}.permission-move-dialog input[type=radio]{flex:none;width:18px;height:18px;margin-top:3px}.permission-move-dialog fieldset span{gap:6px;display:grid}.permission-move-dialog small{color:var(--muted,var(--theme-text-muted,#b5bac1));line-height:1.4}.permission-source{border:1px solid var(--theme-border,#41434a);border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0;padding:14px 16px;display:flex}.permission-source>div{flex:190px;gap:5px;display:grid}.permission-source small{color:var(--muted,var(--theme-text-muted,#b5bac1));line-height:1.4}.permission-source button{white-space:normal;flex:0 auto}.permission-source[data-synced=true]{border-color:var(--theme-success-border,#429775)}.layout-category-permissions{margin-top:14px}.layout-category-permissions>summary{cursor:pointer;padding:12px 0;font-weight:600}.layout-category-permissions>div{gap:14px;padding:12px 0;display:grid}.channel-wizard-backdrop{z-index:91}.channel-creation-wizard{flex-direction:column;width:min(520px,100vw - 24px);max-height:calc(100dvh - 24px);padding:0;display:flex;overflow:hidden}.wizard-heading{justify-content:space-between;align-items:flex-start;gap:14px;padding:24px 24px 12px;display:flex}.wizard-heading h2{margin:0;font-size:22px}.wizard-heading p{color:var(--muted);margin:7px 0 0;font-size:13px}.wizard-heading>button{color:var(--muted);background:0 0;border:0;border-radius:5px;place-items:center;padding:4px;display:grid}.wizard-steps{border-bottom:1px solid var(--stroke);color:var(--muted);gap:20px;margin:0;padding:0 24px 16px;font-size:12px;list-style:none;display:flex}.wizard-steps [aria-current=step]{color:var(--accent);font-weight:700}.wizard-content{scrollbar-gutter:stable;min-height:0;padding:20px 24px 24px;overflow-y:auto}.wizard-content label{color:var(--theme-text-secondary,#c5c9d1);margin:14px 0 0;font-size:12px;font-weight:650;display:block}.wizard-content input:not([type=checkbox]):not([type=radio]),.wizard-content select,.wizard-content textarea{background:var(--theme-control,#1e1f22);border:1px solid var(--theme-border,#42444c);width:100%;color:var(--theme-text-primary,#f2f3f5);font:inherit;border-radius:5px;margin-top:7px;padding:11px;font-weight:400;display:block}.channel-type-choices{border:0;margin:0 0 20px;padding:0}.channel-type-choices legend{color:var(--theme-text-secondary,#c5c9d1);margin-bottom:9px;font-size:12px;font-weight:700}.channel-type-choices label{border:1px solid var(--theme-border,#464851);cursor:pointer;background:var(--theme-surface,#2b2d31);border-radius:6px;align-items:center;gap:12px;margin-top:8px;padding:14px;display:flex}.channel-type-choices label.selected{border-color:var(--accent);background:var(--theme-selected,#3c3750)}.channel-type-choices input{accent-color:var(--accent)}.channel-type-choices b{color:var(--theme-text-primary,#f2f3f5);font-size:14px}.channel-type-choices small{margin-top:4px;font-size:12px;font-weight:400}.wizard-actions{background:var(--theme-button,#292a2e);border-top:1px solid var(--theme-border,#41434a);flex:none;align-items:center;gap:10px;padding:16px 24px;display:flex}.wizard-actions>span{flex:1}.wizard-actions button{color:var(--theme-text-primary,#f2f3f5);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:10px 14px}.wizard-actions button:hover{background:var(--theme-hover,#41434a)}.wizard-actions .primary{background:var(--accent);width:auto;color:var(--theme-on-accent,#1b1828)}.wizard-actions .primary:hover{background:var(--accent-hover)}.wizard-preview{border:1px solid var(--theme-border,#454750);background:var(--theme-surface-raised,#2b2d31);border-radius:6px;align-items:center;gap:12px;padding:12px;display:flex}.wizard-preview b{overflow-wrap:anywhere;display:block}.wizard-preview small{margin-top:4px}.wizard-permissions{margin-top:20px}.wizard-permissions>summary{cursor:pointer;color:var(--theme-text-secondary,#c5c9d1);padding:10px 0;font-weight:650}.wizard-permissions fieldset{border:1px solid var(--theme-border,#464851);border-radius:6px;margin-top:12px}.wizard-permissions .channel-acl-option{align-items:center;gap:9px;font-weight:400;display:flex}.wizard-permissions .channel-acl-members{max-height:180px;overflow-y:auto}.channel-capacity-field .field-error{color:var(--theme-danger,#f7a1a8);font-size:12px}@media (width<=450px){.wizard-heading{padding:20px 16px 12px}.wizard-steps{gap:12px;padding-inline:16px;font-size:11px}.wizard-content{padding:16px}.wizard-actions{gap:6px;padding:14px 16px}.wizard-actions button{padding-inline:10px}}.modal.channel-creation-wizard{background:var(--theme-surface,#232428);border-color:var(--theme-border,#35363c);border-radius:14px;width:min(600px,100vw - 24px)}.wizard-heading{padding:28px 28px 18px}.wizard-heading h2{font-size:26px}.wizard-heading p{font-size:15px}.wizard-heading>button{color:var(--theme-text-secondary,#b5bac1);padding:4px}.wizard-content{padding:24px 28px 28px}.wizard-content label,.channel-type-choices legend{font-size:14px}.channel-type-choices label{background:0 0;border:0;align-items:flex-start;gap:14px;margin-top:8px;padding:12px 4px}.channel-type-choices label.selected{background:0 0;border:0}.channel-type-choices label:hover{background:var(--theme-hover,#2c2d33)}.channel-type-choices input[type=radio]{flex:none;width:22px;height:22px;margin:2px 0}.channel-type-choices b{font-size:17px}.channel-type-choices small{color:var(--theme-text-muted,#a1a4ad);font-size:14px;line-height:1.5}.wizard-content input:not([type=checkbox]):not([type=radio]),.wizard-content select,.wizard-content textarea{background:var(--theme-control,#1d1e22);border-radius:9px;min-width:0;padding:13px;font-size:14px}.wizard-actions{border-top:1px solid var(--theme-border,#35363c);background:0 0;padding:20px 28px}.wizard-actions>button{border-radius:8px;min-height:44px;font-size:14px}.wizard-actions>button:first-child{background:var(--theme-button,#33343b);padding-inline:22px}.wizard-actions .primary{min-width:150px;font-weight:600}@media (width<=450px){.wizard-heading{padding:22px 18px 16px}.wizard-heading h2{font-size:23px}.wizard-content{padding:20px 18px}.wizard-actions{flex-wrap:wrap;padding:16px 18px}.wizard-actions .primary{min-width:120px}}.modal.channel-creation-wizard .wizard-description{margin:0 0 18px;line-height:1.6}.modal.channel-creation-wizard .wizard-actions{flex-wrap:nowrap}.modal.channel-creation-wizard .wizard-actions>button{white-space:nowrap}.modal.channel-creation-wizard .wizard-content{scrollbar-gutter:stable}.modal.channel-creation-wizard .wizard-content fieldset{min-width:0}@media (width<=450px){.modal.channel-creation-wizard .wizard-actions{gap:5px;padding:14px 12px}.modal.channel-creation-wizard .wizard-actions>button{min-width:0;padding-inline:9px;font-size:12px}.modal.channel-creation-wizard .wizard-actions>button:first-child{padding-inline:10px}.modal.channel-creation-wizard .wizard-actions>span{min-width:0}}.modal.channel-layout-panel{width:min(820px,100vw - 24px)}.modal.channel-layout-panel .layout-list{gap:12px;display:grid}.modal.channel-layout-panel .layout-create-actions{flex-wrap:wrap;align-items:center;gap:10px;padding:0 0 8px;display:flex}.modal.channel-layout-panel .layout-create-actions>button{border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:10px 14px;display:inline-flex}.modal.channel-layout-panel .layout-create-actions>button.layout-create-channel{background:var(--accent);color:var(--theme-on-accent,#19181e);border-color:#0000}.modal.channel-layout-panel .layout-create-actions>.layout-create-category-inline{width:100%}.modal.channel-layout-panel .layout-create-actions>.layout-create-category-inline>summary{cursor:pointer;background:var(--theme-button,#33343b);border-radius:8px;width:fit-content;padding:10px 14px}.modal.channel-layout-panel .layout-create-category{grid-template-columns:minmax(0,1fr) auto;display:grid}.modal.channel-layout-panel :is(.layout-category,.layout-channel){border:1px solid var(--settings-border,var(--theme-border,#3b3c43));background:var(--settings-sidebar,var(--theme-panel,#1b1c20));border-radius:9px;min-width:0;margin:0;padding:0;display:block}.modal.channel-layout-panel .layout-channel-group{border:1px solid var(--settings-border,var(--theme-border,#3b3c43));background:0 0;border-radius:9px;min-width:0;margin:0;padding:0;display:block}.modal.channel-layout-panel :is(.layout-editor-heading,.layout-group-heading){cursor:pointer;align-items:center;gap:8px;min-height:48px;padding:10px 12px;list-style:none;display:flex}.modal.channel-layout-panel summary::-webkit-details-marker{display:none}.modal.channel-layout-panel .layout-editor-heading>b{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px;font-weight:600}.modal.channel-layout-panel :is(.layout-editor-heading,.layout-group-heading)>.ui-icon{color:var(--muted);flex:none;transition:transform .12s}.modal.channel-layout-panel details[open]>summary>.ui-icon:first-of-type{transform:rotate(180deg)}.modal.channel-layout-panel .layout-editor-heading>small{text-align:right;max-width:100px;margin:0;font-size:11px}.modal.channel-layout-panel .layout-group-heading h4{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:14px}.modal.channel-layout-panel .layout-group-heading small{flex:none;margin:0}.modal.channel-layout-panel .layout-editor-heading>.layout-drag-handle{width:26px;height:28px;min-height:28px;color:var(--muted);cursor:grab;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;padding:3px;display:grid}.modal.channel-layout-panel .layout-drag-handle:active{cursor:grabbing}.modal.channel-layout-panel .layout-editor-content{border-top:1px solid var(--settings-border,var(--theme-border,#3b3c43));grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;padding:16px;display:grid}.modal.channel-layout-panel .layout-group-content{gap:10px;padding:0 12px 12px;display:grid}.modal.channel-layout-panel .layout-category form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.modal.channel-layout-panel .layout-channel form{grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;display:grid}.modal.channel-layout-panel .layout-channel :is(input,textarea,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%}.modal.channel-layout-panel .layout-channel input[type=checkbox]{width:auto}.modal.channel-layout-panel .layout-channel label{line-height:1.4}.modal.channel-layout-panel .layout-channel fieldset{border-color:var(--settings-border,var(--theme-border,#3b3c43));border-radius:8px;min-width:0;margin:0}.modal.channel-layout-panel .layout-row-actions{flex-wrap:wrap;gap:8px;display:flex}.modal.channel-layout-panel .layout-list>h3{margin:14px 0 0}.modal.channel-layout-panel [data-drop=before]{box-shadow:inset 0 3px var(--accent)}.modal.channel-layout-panel [data-drop=after]{box-shadow:inset 0 -3px var(--accent)}.modal.channel-layout-panel [data-drop=into],.modal.channel-layout-panel summary:focus-visible,.modal.channel-layout-panel .layout-drag-handle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media (width<=450px){.modal.channel-layout-panel .layout-category form,.modal.channel-layout-panel .layout-create-category{grid-template-columns:minmax(0,1fr)}.modal.channel-layout-panel .layout-editor-content{padding:12px}.modal.channel-layout-panel .layout-group-content{padding-inline:8px}.modal.channel-layout-panel .layout-create-actions>button{flex:1;padding-inline:8px;font-size:12px}.modal.channel-layout-panel .layout-editor-heading{gap:6px;padding-inline:8px}.modal.channel-layout-panel .layout-editor-heading>small{max-width:70px}}.channel-message-input{flex:1;min-width:0;display:flex;position:relative}.channel-message-input textarea{width:100%;min-width:0;display:block}.mention-suggestions{z-index:20;overscroll-behavior:contain;border:1px solid var(--theme-border,#4a5263);background:var(--theme-surface,#191d27);min-width:0;max-height:min(300px,50vh);box-shadow:0 8px 24px var(--theme-shadow-strong,#0007);border-radius:8px;padding:5px;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow-y:auto}.mention-suggestions .mention-option{width:100%;min-width:0;color:var(--theme-text-primary,#eef1f8);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.mention-suggestions .mention-option.active,.mention-suggestions .mention-option:hover{background:var(--theme-hover,#343b4b)}.mention-suggestions .mention-option[aria-disabled=true]{opacity:.5;cursor:default}.mention-display-name,.mention-username{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mention-display-name{flex:1;font-weight:600}.mention-username{color:var(--theme-text-secondary,#aeb7c8);flex:0 45%;font-size:12px}@media (width<=600px){.mention-suggestions .mention-option{flex-direction:column;align-items:stretch;gap:2px;padding:8px}.mention-username{flex-basis:auto}}.quick-noise-control{flex:none;display:flex}.voice-sidebar-notice{color:var(--theme-text-secondary,#b5bac1);flex-basis:100%;margin:4px 0;font-size:11px;line-height:1.4}.account-bar .quick-noise-trigger{width:30px;height:32px;min-height:32px;color:var(--theme-text-muted,#d3ccd8);background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.account-bar .quick-noise-trigger:hover,.account-bar .quick-noise-trigger[aria-expanded=true]{background:var(--theme-hover,#414349);color:var(--theme-text-muted,#fff)}.quick-noise-popover{z-index:150;box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--theme-border,#454750);background:var(--theme-surface,#202127);color:var(--theme-text-primary,#f2f3f5);box-shadow:0 8px 28px var(--theme-shadow-strong,#0007);border-radius:10px;padding:16px;position:fixed;overflow:auto}.quick-noise-heading{align-items:center;gap:12px;margin-bottom:16px;display:flex}.quick-noise-heading h2{flex:1;min-width:0;margin:0;font-size:16px;line-height:1.35}.quick-noise-heading>button{width:28px;height:28px;color:var(--theme-text-secondary,#b5bac1);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;padding:0;display:grid}.quick-noise-heading>button:hover{background:var(--theme-hover,#35373c);color:var(--theme-text-primary,#fff)}.quick-noise-switch-row{justify-content:space-between;align-items:center;gap:16px;font-size:14px;font-weight:600;display:flex}.quick-noise-switch-row>button{background:var(--theme-control,#555861);cursor:pointer;border:0;border-radius:16px;flex:none;align-items:center;width:42px;height:24px;padding:3px;display:flex}.quick-noise-switch-row>button[aria-checked=true]{background:var(--accent,var(--theme-accent,#f6a632))}.quick-noise-switch-row>button>span{width:18px;height:18px;box-shadow:0 1px 3px var(--theme-shadow,#0004);background:#fff;border-radius:50%;transform:translate(0)}.quick-noise-switch-row>button[aria-checked=true]>span{transform:translate(18px)}.quick-noise-switch-row>button:disabled{opacity:.6;cursor:default}.quick-noise-popover p{color:var(--theme-text-secondary,#b5bac1);overflow-wrap:anywhere;margin:14px 0 0;font-size:13px;line-height:1.5}.quick-noise-popover .quick-noise-note{margin-top:8px;font-size:12px}.quick-noise-popover .quick-noise-error{color:var(--theme-danger,#f3a8b2)}.quick-noise-test{border:1px solid var(--theme-border,#484b55);background:var(--theme-surface,#35373f);width:100%;color:var(--theme-text-primary,#f2f3f5);cursor:pointer;border-radius:6px;margin-top:16px;padding:10px 12px;font-size:13px}.quick-noise-test:hover{background:var(--theme-hover,#41434c)}.quick-noise-popover button:focus-visible,.quick-noise-trigger:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#f6a632));outline-offset:3px}.media-controls{flex-wrap:wrap;gap:8px;min-width:0;margin-block:10px;display:flex}.screen-quality.compact{min-width:0;margin-block:8px}.screen-quality.compact .camera-setting{color:var(--theme-text-secondary,#b9c3d4);align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.screen-quality.compact select{border:1px solid var(--theme-border-strong,#414958);width:auto;min-width:0;max-width:180px;min-height:36px;color:var(--theme-text-primary,#e1e7f2);background:var(--theme-control,#161b25);border-radius:7px;flex:1;margin:0;padding:7px}.media-controls button,.media-stage-heading button{border:1px solid var(--theme-border,#414958);background:var(--theme-control,#303745);max-width:100%;min-height:38px;color:var(--theme-text-primary,#e1e7f2);cursor:pointer;white-space:normal;overflow-wrap:anywhere;border-radius:7px;padding:8px 11px}.media-controls button:disabled{opacity:.5;cursor:default}.media-controls button[aria-pressed=true]{border-color:var(--theme-success-border,#82c99e);background:var(--theme-success-bg,#254234)}.media-stage{min-width:0;margin-block:12px}.media-stage-heading{min-width:0;color:var(--theme-text-secondary,#b9c3d4);justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;font-size:12px;display:flex}.media-stage-heading>span,.media-stage-heading>b{overflow-wrap:anywhere;min-width:0}.media-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px;min-width:0;display:grid}.media-tile{aspect-ratio:16/10;border:1px solid var(--theme-border,#445064);background:#0d121c;border-radius:9px;min-width:0;margin:0;position:relative;overflow:hidden}.media-tile video{object-fit:contain;width:100%;height:100%;display:block}.media-tile.camera video{object-fit:cover}.media-tile.camera.self video{transform:scaleX(-1)}.media-tile figcaption{color:#eef2fa;overflow-wrap:anywhere;background:linear-gradient(#0000,#000d);justify-content:space-between;gap:8px;padding:9px;font-size:12px;display:flex;position:absolute;inset:auto 0 0}.media-tile figcaption>span{color:#c4d1e4;flex:none}.media-waiting{color:#b9c3d4;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.media-stage.compact .media-tile{aspect-ratio:auto;height:130px;max-height:130px}.media-stage-overlay{z-index:210;background:#080b12ed;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.media-stage-expanded{color:#e1e7f2;flex-direction:column;width:min(1200px,100%);min-width:0;min-height:0;max-height:100%;display:flex}.media-stage-expanded>.media-grid{flex:1;min-height:0;padding:1px;overflow-y:auto}.media-stage-expanded>.media-stage-heading,.media-stage-expanded>.media-controls{flex:none}.media-stage-expanded .media-tile{max-height:65vh}.media-stage-expanded{background:#000;border-radius:12px;width:min(1600px,100%);height:min(100%,1000px);padding:16px}.media-stage-overlay.docked{z-index:180;background:#000}.media-stage-overlay.docked .media-stage-expanded{border-radius:0;width:100%;height:100%;padding:16px}.media-stage-main{flex:1;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;overflow:hidden}.media-stage-main>.media-tile{aspect-ratio:auto;border:0;border-radius:6px;width:100%;height:100%;max-height:none}.media-stage-main .media-tile video{object-fit:contain}.media-stage-thumbnails{flex:none;justify-content:center;gap:10px;min-width:0;padding:14px 2px 4px;display:flex;overflow-x:auto}.media-stage-thumbnails>.media-tile,.media-participant-tile{aspect-ratio:auto;flex:0 0 190px;width:190px;height:110px;max-height:none}.media-stage-thumbnails .media-tile{cursor:pointer;background:#202024;border:2px solid #0000}.media-stage-thumbnails .media-tile.selected{border-color:var(--accent,var(--theme-accent,#fab037))}.media-stage-thumbnails .media-tile:focus-visible{outline-offset:1px;outline:2px solid #fff}.media-stage-thumbnails figcaption{padding:5px;font-size:11px}.media-participant-tile{text-align:center;overflow-wrap:anywhere;background:#33333b;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:12px;display:flex;position:relative}.media-participant-avatar{background:#495366;border-radius:50%;place-items:center;width:58px;height:58px;font-size:28px;font-weight:700;display:grid}.media-participant-flags{gap:5px;display:flex;position:absolute;bottom:8px;left:8px}@media (width<=700px){.media-stage.compact .media-grid{display:none}.media-controls button,.media-stage-heading button{min-height:40px;padding-inline:8px;font-size:12px}.media-stage-overlay{padding:12px 8px}.media-stage-expanded .media-grid{grid-template-columns:1fr}.media-stage-expanded .media-tile{max-height:50vh}.media-stage-expanded{padding:10px}.media-stage-main>.media-tile{max-height:none}.media-stage-thumbnails{justify-content:flex-start}.media-stage-thumbnails>.media-tile,.media-participant-tile{flex-basis:140px;width:140px;height:85px}.media-stage-heading{align-items:flex-start}}.media-view-controls{opacity:0;gap:6px;transition:opacity .15s;display:flex;position:absolute;inset:8px 8px auto auto}.media-tile:hover .media-view-controls,.media-tile:focus-within .media-view-controls{opacity:1}.media-view-controls button{color:#fff;cursor:pointer;background:#101218cc;border:0;border-radius:6px;place-items:center;min-width:34px;min-height:34px;display:grid}.media-view-controls button:disabled{opacity:.45;cursor:default}.media-view-error{z-index:1;background:#571e25;border-radius:6px;padding:8px;font-size:12px;position:absolute;inset:auto 8px 40px}.media-tile:fullscreen{aspect-ratio:auto;background:#000;border:0;border-radius:0;width:100vw;height:100vh;max-height:none}.media-tile:fullscreen video{object-fit:contain}.media-tile:fullscreen .media-view-controls{opacity:1}@media (hover:none){.media-view-controls{opacity:1}}.chat.channel-chat{grid-template-rows:50px minmax(0,1fr)}.channel-chat-body{min-width:0;min-height:0;display:grid}.channel-conversation{grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;position:relative;overflow:hidden}.channel-conversation[hidden]{display:none}.voice-chat-toggle{border:1px solid var(--theme-border,#414958);background:var(--theme-surface,#303745);min-height:34px;color:var(--theme-text-primary,#e1e7f2);cursor:pointer;border-radius:7px;flex:none;align-items:center;gap:6px;padding:5px 8px;font-size:11px;display:inline-flex}.voice-chat-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.voice-chat.voice-chat-hidden .channel-chat-body{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.channel-conversation>.messages{scrollbar-gutter:stable;min-height:0;overflow:hidden auto}.channel-conversation>.search-results,.channel-conversation>.pins-panel{top:0}.voice-chat{grid-template-columns:minmax(0,1fr);min-width:0}.voice-chat .channel-conversation{border-left:1px solid var(--theme-border,#394251);grid-template-rows:auto minmax(0,1fr) auto}.voice-chat-heading{border-bottom:1px solid var(--theme-border,#394251);min-width:0;padding:12px 16px}.voice-chat-heading b{font-size:14px;display:block}.voice-chat-heading small{margin-top:4px;line-height:1.45}.channel-upload-note{color:var(--theme-text-muted,#aeb5c5);margin:8px 20px;font-size:11px;line-height:1.45}.voice-chat .welcome h1{overflow-wrap:anywhere;font-size:20px}.voice-chat>header{gap:10px;min-width:0}.voice-chat>header>b{text-overflow:ellipsis;white-space:nowrap;min-width:32px;overflow:hidden}.voice-channel-panel{min-width:0;min-height:0;color:var(--text,var(--theme-text-primary,#e5e5ea));background:var(--theme-surface,#17181c);flex-direction:column;padding:20px;display:flex;overflow-y:auto}.voice-stage-header{min-width:0;box-shadow:none;border:0;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.voice-stage-title{align-items:center;gap:9px;min-width:0;display:flex}.voice-stage-title>.ui-icon{color:var(--muted,var(--theme-text-muted,#aeb5c5));flex:none}.voice-stage-title h2{overflow-wrap:anywhere;margin:0;font-size:15px}.voice-stage-tools{gap:6px;margin-left:auto;display:flex}.voice-stage-tools button{width:36px;height:36px;color:var(--muted,var(--theme-text-muted,#aeb5c5));cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.voice-stage-tools button:hover{background:var(--theme-hover,#ffffff0b);color:var(--text,var(--theme-text-primary,#e5e5ea))}.voice-entry{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;min-height:260px;padding:24px 8px;display:flex}.voice-entry>.ui-icon{color:var(--muted,var(--theme-text-muted,#aeb5c5))}.voice-entry h2{overflow-wrap:anywhere;max-width:100%;margin:2px 0 0;font-size:26px;line-height:1.2}.voice-entry-occupancy,.voice-entry-note{color:var(--muted,var(--theme-text-muted,#aeb5c5));margin:0;font-size:12px;line-height:1.5}.voice-entry button{max-width:100%;min-height:42px;font:inherit;cursor:pointer;overflow-wrap:anywhere;border:0;border-radius:8px;padding:10px 16px;font-size:13px}.voice-entry-join{background:var(--accent,var(--theme-accent,#a18aff));color:var(--theme-on-accent,#161421);justify-content:center;align-items:center;gap:8px;margin-top:10px;font-weight:600;display:flex}.voice-entry-listen{color:var(--text,var(--theme-text-primary,#e5e5ea));background:var(--theme-surface-raised,#ffffff0b)}.voice-entry-note{font-size:11px}.voice-entry .voice-hint{max-width:420px;margin:2px 0 0}.voice-scene{flex-direction:column;flex:1;justify-content:safe center;min-width:0;min-height:0;padding:18px 0;display:flex;overflow-y:auto}.voice-scene>.media-stage{margin:0}.voice-scene .media-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items:start;gap:12px}.voice-scene .media-tile{aspect-ratio:16/10;background:#232429;border:0;border-radius:12px}.voice-stage-footer{flex:none;min-width:0;padding-top:8px}.voice-stage-footer>p{margin:6px 0}.voice-stage-footer .voice-status{color:var(--muted,var(--theme-text-muted,#aeb5c5));font-size:11px}.voice-panel-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.voice-panel-controls .voice-controls,.voice-panel-controls .media-controls{margin:0}.voice-panel-controls>button,.voice-panel-controls .voice-controls button,.voice-panel-controls .media-controls button{background:var(--theme-control,#303137);min-height:42px;color:var(--text,var(--theme-text-primary,#e5e5ea));font:inherit;cursor:pointer;overflow-wrap:anywhere;border:0;border-radius:9px;justify-content:center;align-items:center;max-width:100%;padding:10px 12px;font-size:12px;display:inline-flex}.voice-panel-controls button:disabled{opacity:.45;cursor:default}.voice-panel-controls .voice-controls .voice-leave{background:var(--theme-danger-solid,#ab3344);color:var(--theme-on-accent,#fff)}.voice-panel-controls button[aria-pressed=true]{background:var(--theme-success-bg,#284b3a)}.voice-panel-controls>.voice-hint,.voice-panel-controls>.voice-error{flex-basis:100%}.voice-quality-options{color:var(--muted,var(--theme-text-muted,#aeb5c5));font-size:11px;position:relative}.voice-quality-options>summary{cursor:pointer;border-radius:7px;align-items:center;gap:7px;min-height:36px;padding:6px 10px;display:flex}.voice-quality-options>summary:after{content:"⌄"}.voice-quality-options>summary::-webkit-details-marker{display:none}.voice-quality-options>.screen-quality{background:var(--theme-surface,#232429);border-radius:8px;min-width:min(260px,100%);padding:8px}.voice-stage-quality>summary{place-items:center;width:36px;height:36px;padding:0;display:grid}.voice-stage-quality>summary:after{content:none}.voice-stage-quality>.screen-quality{z-index:15;border:1px solid var(--theme-border,#45464e);width:min(260px,70vw);min-width:0;box-shadow:0 8px 28px var(--theme-shadow-strong,#0007);margin:0;position:absolute;top:40px;right:0}.voice-channel-panel button:focus-visible,.voice-channel-panel summary:focus-visible,.voice-participant-actions summary:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#a18aff));outline-offset:2px}.voice-hint{color:var(--theme-text-muted,#aeb5c5);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.voice-status{overflow-wrap:anywhere;line-height:1.5}.voice-controls{flex-wrap:wrap;gap:8px;min-width:0;margin-block:12px;display:flex}.voice-controls button,.voice-dock-heading button{border:1px solid var(--theme-border,#414958);background:var(--theme-control,#303745);max-width:100%;min-height:38px;color:var(--theme-text-primary,#e1e7f2);cursor:pointer;white-space:normal;overflow-wrap:anywhere;border-radius:7px;padding:9px 12px}.voice-controls button:disabled{opacity:.5;cursor:default}.voice-controls button[aria-pressed=true]{border-color:var(--theme-success-border,#82c99e)}.voice-controls .voice-leave{background:var(--theme-danger-bg,#542c34);border-color:var(--theme-danger-border,#7f414c)}.voice-error{color:var(--theme-danger,#ffadb7);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.voice-channel-panel .voice-scene .voice-participant{aspect-ratio:16/10;background:var(--theme-surface-raised,#292a31);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:0;width:100%;min-width:0;min-height:170px;margin:0;padding:18px 14px 44px;display:flex;position:relative}.voice-scene .voice-participant:hover{background:var(--theme-hover,#2b2d31);margin:0;padding:18px 14px 44px}.voice-participant-avatar{border-radius:50%;place-items:center;width:68px;height:68px;display:grid}.voice-participant-avatar>*,.media-participant-avatar>.avatar{width:100%;height:100%;margin:0}.voice-scene .voice-participant-avatar .avatar,.media-participant-avatar .avatar{border-radius:50%;width:68px;height:68px}.voice-avatar-initial{background:#434550;border-radius:50%;place-items:center;font-size:26px;font-weight:600;display:grid}.voice-participant-caption{min-width:0;position:absolute;bottom:10px;left:12px;right:12px}.voice-participant-caption b{overflow-wrap:anywhere;font-size:12px;line-height:1.4;display:block}.voice-participant-caption>span,.voice-participant-caption small{color:var(--muted,var(--theme-text-muted,#aeb5c5));overflow-wrap:anywhere;font-size:10px;line-height:1.4;display:block}.voice-participant-flags{color:var(--muted,var(--theme-text-muted,#aeb5c5));gap:5px;display:flex;position:absolute;top:12px;left:12px}.voice-participant-actions{z-index:3;text-align:left;position:absolute;top:8px;right:8px}.voice-participant-actions>summary{color:#e5e5ea;cursor:pointer;background:#16171bbf;border-radius:7px;place-items:center;width:32px;height:32px;list-style:none;display:grid}.voice-participant-actions>summary::-webkit-details-marker{display:none}.voice-participant-actions[open]{z-index:15}.voice-participant-actions>.member-restriction-controls{border:1px solid var(--theme-border,#45464e);background:var(--theme-control,#24252b);width:min(246px,70vw);box-shadow:0 8px 28px var(--theme-shadow-strong,#0007);border-radius:10px;padding:8px;position:absolute;top:36px;right:0}.voice-participant-actions .moderation-extension-actions{flex-direction:column;gap:4px;display:flex}.voice-participant-actions .moderation-extension-actions button{text-align:left;margin:0}.voice-participant-actions .member-timeout-editor{flex-direction:column;min-width:0;display:flex}.voice-participant-actions .member-timeout-editor select{max-width:100%}.media-tile>.voice-participant-actions{left:8px;right:auto}.media-tile>.voice-participant-actions>.member-restriction-controls{left:0;right:auto}.media-tile:has(>.voice-participant-actions[open]){z-index:15;overflow:visible}.media-tile:has(>.voice-participant-actions) video{border-radius:inherit}.voice-media-participant-status{color:#d0d1da;pointer-events:none;overflow-wrap:anywhere;text-shadow:0 1px 3px #000;font-size:10px;line-height:1.4;position:absolute;bottom:36px;left:10px;right:10px}.voice-media-participant-status .member-restriction-status{margin-top:2px}.voice-channel-dock{z-index:35;border:1px solid var(--theme-border,#53604f);background:var(--theme-success-bg,#1f2a26);box-shadow:0 5px 20px var(--theme-shadow-strong,#0007);border-radius:10px;min-width:0;max-width:740px;max-height:min(340px,55vh);padding:12px;position:fixed;top:56px;left:330px;right:18px;overflow-y:auto}.voice-dock-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.voice-dock-heading>div{flex:1;min-width:0}.voice-dock-heading b,.voice-dock-heading small{overflow-wrap:anywhere;display:block}.voice-dock-heading small{color:var(--theme-text-muted,#b6c4ba);margin-top:4px;font-size:12px}.voice-channel-dock .voice-controls{margin-bottom:0}@media (width<=1200px){.voice-chat .channel-chat-body{grid-template-rows:minmax(150px,43%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.voice-chat .channel-conversation{border-left:0;border-top:1px solid var(--theme-border,#394251)}.voice-chat .voice-channel-panel{padding:16px}}@media (width<=700px){.voice-chat>header{gap:6px;padding-inline:10px}.voice-chat>header>b{flex:1}.voice-channel-panel{padding:16px 12px}.voice-entry{min-height:220px;padding:20px 4px}.voice-entry h2{font-size:22px}.voice-chat .voice-channel-panel{padding:12px 8px}.voice-stage-header{gap:8px}.voice-scene{padding:8px 0}.voice-scene .media-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:8px}.voice-channel-panel .voice-scene .voice-participant{aspect-ratio:auto;height:140px;min-height:140px;padding:12px 10px 40px}.voice-channel-panel .voice-scene .voice-participant:hover{padding:12px 10px 40px}.voice-scene>.media-stage:has(.voice-participant:only-child){height:100%}.voice-scene .media-grid:has(>.voice-participant:only-child){height:100%}.voice-channel-panel .voice-scene .voice-participant:only-child{height:100%;min-height:110px;max-height:140px;padding:8px 10px 36px}.voice-channel-panel .voice-scene .voice-participant:only-child:hover{padding:8px 10px 36px}.voice-scene .voice-participant-avatar,.voice-scene .voice-participant-avatar .avatar{width:54px;height:54px}.voice-quality-options>summary{min-height:26px;padding:3px 6px}.voice-chat>header>span:not(.channel-actions),.voice-chat>header .channel-actions{display:none}.voice-chat>header .channel-topic-open{flex:none}.voice-chat>header .search-box{width:min(110px,28vw)}.voice-chat>header .connection,.voice-chat>header .channel-posting-badge{display:none}.voice-chat-toggle{justify-content:center;width:30px;padding:5px}.voice-chat-toggle>span:last-child{display:none}.voice-chat .channel-chat-body{grid-template-rows:minmax(130px,36%) minmax(0,1fr)}.voice-chat-heading{padding:8px 10px}.voice-chat-heading small{font-size:10px}.voice-channel-dock{padding:10px;top:56px;left:64px;right:8px}.voice-dock-heading{flex-wrap:wrap}.voice-dock-heading>div{flex-basis:100%}.voice-controls button,.voice-dock-heading button{min-height:40px;padding-inline:9px;font-size:12px}}.channel-settings-backdrop[data-covered=true]{z-index:99;pointer-events:none}.channel-settings-tab .channel-capacity-field>label{gap:8px;font-size:13px;font-weight:600;display:grid}.modal.channel-settings-panel{background:var(--settings-surface,var(--theme-surface,#232428));border-color:var(--settings-border,var(--theme-border,#393a42));border-radius:14px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:225px minmax(0,1fr);gap:0;width:min(1120px,100vw - 32px);min-width:0;height:min(920px,100dvh - 48px);max-height:calc(100dvh - 48px);padding:0;display:grid;overflow:hidden}.channel-settings-sidebar{background:var(--settings-sidebar,var(--theme-panel,#1b1c20));border-right:1px solid var(--settings-border,var(--theme-border,#393a42));grid-area:1/1/3;min-height:0;padding:28px 16px;overflow:auto}.channel-settings-sidebar>strong{text-transform:uppercase;color:var(--settings-muted,var(--theme-text-muted,#a6aab1));-webkit-user-select:none;user-select:none;margin-bottom:18px;padding:0 12px;font-size:11px;display:block}.channel-settings-sidebar nav{flex-direction:column;gap:4px;display:flex}.channel-settings-sidebar nav button{text-align:left;min-height:44px;color:var(--settings-muted,var(--theme-text-muted,#a6aab1));background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:flex}.channel-settings-sidebar nav button:hover{background:var(--theme-hover,#28292e)}.channel-settings-sidebar nav button[aria-selected=true]{background:var(--settings-selected,var(--theme-selected,#33343b));color:var(--settings-text,var(--theme-text-primary,#f2f3f5))}.channel-settings-sidebar .channel-settings-delete{text-align:left;border:0;border-top:1px solid var(--settings-border,var(--theme-border,#393a42));width:100%;min-height:40px;color:var(--theme-danger,#ff7b88);background:0 0;border-radius:0;margin-top:28px;padding:10px 12px}.channel-settings-delete:disabled{opacity:.5}.channel-settings-panel .channel-settings-heading{border:0;border-bottom:1px solid var(--settings-border,var(--theme-border,#393a42));min-width:0;box-shadow:none;-webkit-user-select:none;user-select:none;background:0 0;grid-area:1/2;justify-content:space-between;align-items:flex-start;gap:12px;margin:0;padding:24px 28px 20px;display:flex}.channel-settings-heading>div:first-child{min-width:0}.channel-settings-heading h2{margin:0;font-size:21px;line-height:1.3}.channel-settings-heading p{color:var(--settings-muted,var(--theme-text-muted,#a6aab1));overflow-wrap:anywhere;margin:6px 0 0;font-size:13px}.channel-settings-heading>div:last-child{flex:none;gap:4px;display:flex}.channel-settings-heading button{width:36px;height:36px;min-height:36px;color:var(--settings-muted,var(--theme-text-muted,#a6aab1));background:0 0;border:0;border-radius:7px;place-items:center;padding:7px;display:grid}.channel-settings-heading button:hover{background:var(--settings-hover,var(--theme-hover,#3d3f47))}.channel-settings-form{grid-area:2/2;grid-template-rows:minmax(0,1fr) auto;gap:0;min-width:0;min-height:0;margin:0;padding:0;display:grid}.channel-settings-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:24px 28px;overflow:auto}.channel-settings-tab{gap:13px;min-width:0;display:grid}.channel-settings-tab[hidden]{display:none!important}.channel-settings-tab h3{margin:0 0 8px;font-size:18px}.channel-settings-tab>label,.channel-settings-section>label{gap:8px;font-size:13px;font-weight:600;display:grid}.channel-settings-tab input,.channel-settings-tab select,.channel-settings-tab textarea{font-size:14px}.channel-settings-tab textarea{resize:vertical;min-height:95px;max-height:280px}.channel-settings-tab .channel-settings-hint{color:var(--settings-muted,var(--theme-text-muted,#a6aab1));margin:0;font-size:12px;font-weight:400;line-height:1.55}.channel-settings-section{border-top:1px solid var(--settings-border,var(--theme-border,#393a42));gap:13px;margin-top:8px;padding-top:24px;display:grid}.channel-settings-section .channel-capacity-field{gap:10px;display:grid}.channel-settings-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.channel-settings-media fieldset{border:1px solid var(--settings-border,var(--theme-border,#393a42));border-radius:9px;gap:10px;min-width:0;padding:16px;display:grid}.channel-settings-media legend{padding:0 5px;font-size:14px}.channel-settings-media fieldset>p{color:var(--settings-muted,var(--theme-text-muted,#a6aab1));margin:6px 0;font-size:12px}.channel-settings-panel .channel-settings-checkbox{align-items:center;gap:10px;min-width:0;font-size:13px;display:flex}.channel-settings-checkbox input{flex:none;width:16px;height:16px}.channel-settings-tab .channel-acl-option{font-size:13px}.channel-settings-tab .channel-custom-grants,.channel-settings-tab .channel-visibility-fields{min-width:0}.channel-settings-footer{border-top:1px solid var(--settings-border,var(--theme-border,#393a42));background:var(--settings-surface,var(--theme-surface,#232428));justify-content:space-between;align-items:center;gap:12px;min-width:0;margin:0;padding:18px 28px;display:flex}.channel-settings-footer>span{color:var(--settings-muted,var(--theme-text-muted,#a6aab1));font-size:12px}.channel-settings-footer>div{flex:none;gap:8px;display:flex}.channel-settings-footer button{white-space:nowrap;min-height:40px;padding:9px 14px;font-size:13px}.channel-settings-conflict{border:1px solid var(--theme-border,#6d6140);background:var(--theme-surface,#363123);border-radius:9px;gap:12px;margin-bottom:22px;padding:14px;font-size:13px;display:grid}.channel-settings-conflict p{margin:0}.channel-settings-conflict dl{grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:8px;margin:0;display:grid}.channel-settings-conflict dt{font-weight:600}.channel-settings-conflict dd{overflow-wrap:anywhere;white-space:pre-wrap;color:var(--theme-text-primary,#e1d5b2);margin:0}.channel-settings-conflict button{justify-self:start;min-height:38px;font-size:13px}.channel-settings-unavailable{color:var(--settings-muted,var(--theme-text-muted,#a6aab1));grid-area:2/2;margin:0;padding:24px 28px}@media (width<=700px){.modal.channel-settings-panel{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.channel-settings-panel .channel-settings-heading{grid-area:1/1;padding:16px}.channel-settings-heading h2{font-size:17px}.channel-settings-heading p{font-size:12px}.channel-settings-heading button{width:30px;height:32px;padding:5px}.channel-settings-sidebar{border-right:0;border-bottom:1px solid var(--settings-border,var(--theme-border,#393a42));grid-area:2/1;gap:4px;padding:8px 10px;display:flex;overflow:auto}.channel-settings-sidebar>strong{display:none}.channel-settings-sidebar nav{flex-direction:row;flex:none}.channel-settings-sidebar nav button{white-space:nowrap;gap:6px;min-height:38px;padding:8px;font-size:12px}.channel-settings-sidebar .channel-settings-delete{white-space:nowrap;border:0;border-left:1px solid var(--settings-border,var(--theme-border,#393a42));flex:none;width:auto;min-height:38px;margin:0;padding:8px;font-size:12px}.channel-settings-form{grid-area:3/1}.channel-settings-scroll{padding:18px 16px}.channel-settings-tab h3{font-size:17px}.channel-settings-footer{flex-wrap:wrap;gap:8px;padding:12px}.channel-settings-footer>span{flex:100%;font-size:11px}.channel-settings-footer>div{justify-content:flex-end;gap:6px;width:100%}.channel-settings-footer button{min-height:38px;padding:8px 11px;font-size:12px}.channel-settings-media{grid-template-columns:minmax(0,1fr)}.channel-settings-unavailable{grid-area:3/1;padding:18px 16px}.channel-settings-conflict dl{grid-template-columns:minmax(0,1fr)}.channel-settings-conflict dd{margin-bottom:6px}}.contacts-panel{min-width:0;min-height:0;color:var(--theme-text-primary,#dbe0ea);padding:24px;overflow-y:auto}.contacts-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.contacts-heading>div{min-width:0}.contacts-heading h2{margin:0;font-size:22px}.contacts-heading p{color:var(--theme-text-secondary,#aeb5c5);font-size:12px;line-height:1.6}.contacts-panel button,.direct-call-panel button,.direct-call-dock button{border:1px solid var(--theme-border,#414958);min-height:38px;color:var(--theme-text-primary,#e1e7f2);background:var(--theme-button,#303745);white-space:normal;overflow-wrap:anywhere;cursor:pointer;border-radius:7px;padding:9px 12px}.contacts-panel button:disabled,.direct-call-panel button:disabled,.direct-call-dock button:disabled{opacity:.5;cursor:default}.contact-add{margin:18px 0}.contact-add label{margin-bottom:8px;font-size:13px;display:block}.contact-add>div{gap:8px;display:flex}.contact-add input{border:1px solid var(--theme-border-strong,#414958);background:var(--theme-control,#1e2430);min-width:0;min-height:40px;color:var(--theme-text-primary,#e1e7f2);border-radius:7px;flex:1;padding:9px 10px}.contacts-tabs{flex-wrap:wrap;gap:8px;margin-block:18px;display:flex}.contacts-tabs button[aria-pressed=true]{border-color:var(--theme-success-border,#82c99e);background:var(--theme-success-bg,#30473b)}.contacts-tabs span{opacity:.75;margin-left:3px}.contacts-list{gap:10px;padding:0;list-style:none;display:grid}.contact-row{border:1px solid var(--theme-border,#394251);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;min-width:0;padding:12px;display:flex}.contact-avatar{flex:none}.contact-identity{flex:1;min-width:0}.contact-identity b,.contact-identity small,.contact-identity span{overflow-wrap:anywhere;display:block}.contact-identity small,.contact-identity span{color:var(--theme-text-muted,#aeb5c5);margin-top:4px;font-size:12px}.contact-actions{flex-wrap:wrap;gap:6px;max-width:65%;display:flex}.contacts-empty{color:var(--theme-text-muted,#aeb5c5);font-size:13px;line-height:1.6}.social-notice{color:var(--theme-text-primary,#a8dfb8);font-size:12px;line-height:1.6}.social-error{color:var(--theme-danger,#ffadb7);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.contacts-panel .social-danger,.direct-call-panel .social-danger,.direct-call-dock .social-danger{border-color:var(--theme-danger-border,#7f414c);background:var(--theme-danger-bg,#542c34)}.direct-call-panel{background:var(--theme-success-bg,#202c27);border-bottom:1px solid var(--theme-success-border,#3e5547);min-width:0;color:var(--theme-text-primary,#dbe8df);padding:12px 16px}.direct-call-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.direct-call-heading>div{min-width:0}.direct-call-heading b,.direct-call-heading small{overflow-wrap:anywhere;display:block}.direct-call-heading small{color:var(--theme-text-muted,#b6c4ba);margin-top:4px;font-size:12px}.direct-call-controls{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.direct-call-controls button[aria-pressed=true]{border-color:var(--theme-success-border,#82c99e)}.direct-call-dock{z-index:35;border:1px solid var(--theme-border,#53604f);background:var(--theme-success-bg,#1f2a26);min-width:0;max-width:740px;max-height:min(340px,55vh);box-shadow:0 5px 20px var(--theme-shadow-strong,#0007);border-radius:10px;padding:12px;position:fixed;top:56px;left:330px;right:18px;overflow-y:auto}.direct-call-dock .direct-call-panel{background:0 0;border:0;padding:0}.direct-call-controls button{flex-shrink:1;max-width:100%}.contact-person{flex:1;align-items:center;gap:10px;min-width:0;display:flex}@media (width<=700px){.contacts-panel{padding:16px 12px}.contacts-heading{align-items:flex-start}.contacts-heading h2{font-size:18px}.contact-add>div{flex-wrap:wrap}.contact-add input{flex-basis:100%}.contact-row{flex-wrap:wrap;padding:10px}.contact-person{flex-basis:100%}.contact-actions{max-width:100%}.contacts-panel button,.direct-call-panel button,.direct-call-dock button{min-height:40px;padding-inline:9px;font-size:12px}.direct-call-panel{padding:10px}.direct-call-heading{flex-wrap:wrap}.direct-call-dock{padding:10px;top:56px;left:64px;right:8px}}.friends-chat{grid-template-rows:50px minmax(0,1fr);min-width:0;min-height:0}.friends-chat>header{min-width:0}.friends-chat>header>b{flex:1;min-width:0}.contacts-panel .contacts-heading{box-shadow:none;border:0;padding:0}.contacts-heading>button{white-space:nowrap;flex:none}.direct-call-start{background:var(--theme-surface,#303745);min-width:32px;min-height:32px;color:var(--theme-text-primary,#dbe0ea);border:1px solid var(--theme-border,#414958);cursor:pointer;border-radius:7px;flex:none}.direct-call-start:disabled{opacity:.45;cursor:default}.dm-contact-actions{flex:none;position:relative}.dm-contact-menu-toggle{background:var(--theme-surface,#303745);min-width:32px;min-height:32px;color:var(--theme-text-primary,#dbe0ea);border:1px solid var(--theme-border,#414958);cursor:pointer;border-radius:7px}.dm-contact-menu{z-index:45;border:1px solid var(--theme-border,#414958);background:var(--theme-surface,#191f2b);width:260px;max-width:calc(100vw - 72px);box-shadow:0 8px 24px var(--theme-shadow-strong,#0008);border-radius:8px;padding:8px;position:absolute;top:calc(100% + 10px);right:0}.dm-contact-menu-person{border-bottom:1px solid var(--theme-border,#343d4d);overflow-wrap:anywhere;margin-bottom:6px;padding:5px 8px 10px}.dm-contact-menu button{text-align:left;width:100%;min-height:40px;color:var(--theme-text-primary,#dbe0ea);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:10px 8px;display:block}.dm-contact-menu button:hover,.dm-contact-menu button:focus-visible{outline:1px solid var(--theme-focus,#6c8bb3);background:var(--theme-hover,#2e3849)}.dm-contact-menu button:disabled{opacity:.5;cursor:default}.dm-contact-menu .social-danger{color:var(--theme-danger,#ffadb7)}@media (width<=700px){.dm-chat>header{gap:6px;padding-inline:8px}.dm-chat>header>b{flex:1;min-width:25px}.dm-chat>header .search-box{flex:0 100px;width:100px;min-width:50px}.dm-contact-menu{position:fixed;top:54px;left:auto;right:8px}}.friends-navigation{border:1px solid var(--theme-border,#414958);background:var(--theme-surface,#252c37);width:100%;color:var(--theme-text-primary,#dbe0ea);text-align:left;cursor:pointer;border-radius:7px;margin-bottom:8px;padding:10px}.chat.friends-chat{grid-template-rows:minmax(0,1fr)}.contacts-panel{flex-direction:column;padding:0;display:flex;overflow:hidden}.contacts-panel .contacts-heading{border-bottom:1px solid var(--theme-border,#43454c);background:var(--theme-surface,#313338);flex-wrap:wrap;flex:none;justify-content:flex-start;gap:12px;min-height:50px;padding:10px 16px}.contacts-panel .contacts-heading h2{flex:none;align-items:center;gap:8px;margin:0;font-size:15px;line-height:24px;display:flex}.contacts-panel .contacts-heading h2>.ui-icon{color:var(--theme-text-muted,#a6aab1)}.contacts-panel .contacts-heading h2>span{color:inherit;font-size:inherit;border:0;padding:0}.contacts-panel .contacts-tabs{border-left:1px solid var(--theme-border,#43454c);flex-wrap:wrap;flex:1;align-items:center;gap:4px;margin:0;padding-left:12px;display:flex}.contacts-panel .contacts-tabs>button{min-height:28px;color:var(--theme-text-secondary,#c4c9d4);background:0 0;border:0;border-radius:5px;padding:4px 8px;font-size:13px;font-weight:500;line-height:20px}.contacts-panel .contacts-tabs>button:hover{background:var(--theme-hover,#383a40);color:var(--theme-text-primary,#f2f3f5)}.contacts-panel .contacts-tabs>button[aria-pressed=true]{background:var(--theme-selected,#3e3a50);color:var(--theme-text-primary,#f2f3f5)}.contacts-panel .contacts-tabs>.contacts-add-tab,.contacts-panel .contacts-tabs>.contacts-add-tab:hover{background:var(--theme-success-solid,#248a5d);color:#fff}.contacts-panel .contacts-tabs>.contacts-add-tab[aria-pressed=true]{color:var(--theme-success,#57c78a);background:0 0}.contacts-panel .contacts-pending-count{background:var(--theme-danger-solid,#d24e59);color:#fff;opacity:1;border-radius:8px;place-items:center;min-width:16px;height:16px;margin-left:5px;padding:0 4px;font-size:10px;line-height:1;display:inline-grid}.contacts-header-actions{flex:none;align-items:center;gap:4px;margin-left:auto;display:flex}.contacts-panel .contacts-heading .contacts-refresh,.contacts-panel .contacts-heading .audio-header-button,.contacts-panel .contacts-heading .mobile-nav-button{width:32px;min-width:32px;height:32px;min-height:32px;color:var(--theme-text-secondary,#c4c9d4);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.contacts-panel .contacts-heading .contacts-refresh:hover,.contacts-panel .contacts-heading .audio-header-button:hover,.contacts-panel .contacts-heading .mobile-nav-button:hover{background:var(--theme-hover,#383a40);color:var(--theme-text-primary,#f2f3f5)}.contacts-panel .contacts-heading>.mobile-nav-button{display:none}.contacts-list-tools{flex:none;min-width:0;padding:18px 24px 0}.contacts-search{border:1px solid var(--theme-border,#43454c);background:var(--theme-control,#1b1c20);min-width:0;color:var(--theme-text-secondary,#c4c9d4);border-radius:6px;align-items:center;gap:8px;padding:0 10px;display:flex}.contacts-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.contacts-search-label{clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.contacts-search input{width:100%;min-width:0;min-height:36px;color:var(--theme-text-primary,#f2f3f5);font:inherit;background:0 0;border:0;outline:none;flex:1;padding:7px 0}.contacts-search input::placeholder{color:var(--theme-placeholder,#878b96)}.contacts-list-title{color:var(--theme-text-muted,#a6aab1);text-transform:uppercase;letter-spacing:.04em;margin:20px 0 10px;font-size:11px;font-weight:700}.contacts-panel .contacts-list{scrollbar-gutter:stable;min-height:0;margin:0;padding:0 16px 20px 24px;display:block;overflow-y:auto}.contacts-panel .contact-row{border:0;border-top:1px solid var(--theme-border,#43454c);border-radius:0;flex-wrap:nowrap;align-items:center;gap:12px;min-height:68px;margin:0;padding:10px 8px;display:flex}.contacts-panel .contact-row:hover,.contacts-panel .contact-row:focus-within{background:var(--theme-hover,#383a40);border-radius:7px}.contacts-panel .contact-person{flex:1;gap:12px;min-width:0;min-height:40px}.contacts-panel .contact-avatar{flex:none;width:36px;height:36px;position:relative}.contacts-panel .contact-avatar .avatar{width:36px;height:36px;font-size:16px}.contacts-presence{border:3px solid var(--theme-surface,#313338);box-sizing:border-box;background:var(--theme-success,#57c78a);border-radius:50%;width:13px;height:13px;display:block;position:absolute;bottom:-2px;right:-2px}.contacts-presence-dnd{background:var(--theme-danger-solid,#d24e59)}.contacts-presence-dnd:after{content:"";background:var(--theme-surface,#313338);width:5px;height:1px;margin:auto;position:absolute;inset:0}.contacts-presence-offline{background:var(--theme-offline,#80848e)}.contacts-panel .contact-identity{flex-direction:column;gap:3px;display:flex;overflow:hidden}.contacts-panel .contact-name-line{align-items:baseline;gap:8px;min-width:0;display:flex}.contacts-panel .contact-identity b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.contacts-panel .contact-username{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--theme-text-muted,#a6aab1);margin:0;font-size:12px;display:none;overflow:hidden}.contacts-panel .contact-row:hover .contact-username,.contacts-panel .contact-row:focus-within .contact-username{display:block}.contacts-panel .contact-identity small{text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text-muted,#a6aab1);margin:0;font-size:12px;line-height:18px;display:block;overflow:hidden}.contacts-panel .contact-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;max-width:55%;display:flex}.contacts-panel .contact-actions>button{min-height:32px;padding:6px 9px;font-size:12px}.contacts-panel .contact-actions .contact-dm-action,.contacts-panel .contact-actions .contact-menu-action{width:36px;min-width:36px;height:36px;min-height:36px;color:var(--theme-text-secondary,#c4c9d4);background:var(--theme-panel,#2b2d31);border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.contacts-panel .contact-actions .contact-dm-action:hover,.contacts-panel .contact-actions .contact-menu-action:hover{background:var(--theme-control,#1b1c20);color:var(--theme-text-primary,#f2f3f5)}.contacts-panel .contacts-empty{color:var(--theme-text-muted,#a6aab1);margin:0;padding:28px 24px;font-size:13px}.contacts-panel>.social-notice,.contacts-panel>.social-error{flex:none;margin:12px 24px 0}.contacts-add-view{min-height:0;padding:24px;overflow:auto}.contacts-add-view h3{margin:0 0 8px;font-size:16px}.contacts-add-view>p{color:var(--theme-text-muted,#a6aab1);margin:0;font-size:13px;line-height:1.5}.contacts-panel .contact-add{margin:18px 0 0}.contacts-panel .contact-add>div{border:1px solid var(--theme-border,#43454c);background:var(--theme-control,#1b1c20);border-radius:8px;align-items:center;padding:8px}.contacts-panel .contact-add input{background:0 0;border:0;outline:none;min-height:36px}.contacts-panel .contact-add>div:focus-within{outline:2px solid var(--accent);outline-offset:2px}.contacts-panel .contact-add button{background:var(--accent);min-height:36px;color:var(--theme-on-accent,#191725);border:0;padding:8px 12px;font-weight:600}@media (width<=1100px){.contacts-panel .contacts-heading{gap:8px;padding:8px 12px}.contacts-panel .contacts-tabs{border:0;flex-basis:100%;order:3;padding:0}.contacts-panel .contacts-tabs>button{padding-inline:7px;font-size:12px}}@media (width<=700px){.contacts-panel .contacts-heading>.mobile-nav-button{display:grid}.contacts-panel .contacts-heading h2{font-size:14px}.contacts-list-tools{padding:14px 12px 0}.contacts-panel .contacts-list{padding-inline:8px}.contacts-panel .contact-row{gap:6px;padding:10px 4px}.contacts-panel .contact-person{flex-basis:auto;gap:8px}.contacts-panel .contact-actions{gap:4px;max-width:50%}.contacts-panel .contact-actions .contact-dm-action,.contacts-panel .contact-actions .contact-menu-action{width:32px;min-width:32px;height:32px;min-height:32px}.contacts-panel .contact-row[data-contact-kind=incoming],.contacts-panel .contact-row[data-contact-kind=outgoing]{flex-wrap:wrap}.contacts-panel .contact-row[data-contact-kind=incoming] .contact-person,.contacts-panel .contact-row[data-contact-kind=outgoing] .contact-person{flex-basis:100%}.contacts-panel .contact-row[data-contact-kind=incoming] .contact-actions,.contacts-panel .contact-row[data-contact-kind=outgoing] .contact-actions{max-width:100%;margin-left:44px}.contacts-add-view{padding:18px 12px}.contacts-panel .contact-add>div{flex-wrap:wrap}.contacts-panel .contact-add input{flex-basis:100%}.contacts-panel .contact-add button{width:100%}.contacts-panel>.social-notice,.contacts-panel>.social-error{margin-inline:12px}.contacts-panel .contacts-empty{padding:24px 12px}}.privacy-settings-panel{min-width:0}.privacy-settings-panel form{gap:24px;display:grid}.privacy-settings-panel fieldset{border:0;min-width:0;margin:0;padding:0}.privacy-settings-panel legend{color:var(--settings-text,var(--theme-text-primary,#f2f3f5));padding:0;font-size:17px;font-weight:600}.privacy-settings-panel legend>span,.privacy-blacklist h3>span{color:var(--theme-text-muted,#a6aab1);margin-left:8px;font-size:12px;font-weight:400}.privacy-help{color:var(--theme-text-muted,#a6aab1);margin:8px 0 14px;font-size:13px;line-height:1.55}.privacy-policy-choice{border:1px solid var(--theme-border,#393a42);background:var(--theme-control,#1b1c20);cursor:pointer;border-radius:9px;align-items:flex-start;gap:12px;margin:8px 0 0;padding:15px;display:flex}.privacy-policy-choice[data-selected=true]{border-color:var(--accent);background:var(--theme-accent-soft,#2c263e)}.privacy-policy-choice>input{width:17px;height:17px;accent-color:var(--accent);flex:none;margin:2px 0 0}.privacy-policy-choice>span{flex:1;min-width:0}.privacy-policy-choice strong,.privacy-friend-option strong,.privacy-blocked-identity strong{overflow-wrap:anywhere;color:var(--theme-text-primary,#f2f3f5);font-size:14px;font-weight:600}.privacy-policy-choice small{color:var(--theme-text-muted,#a6aab1);margin-top:5px;font-size:12px;line-height:1.5;display:block}.privacy-search{border:1px solid var(--theme-border,#393a42);background:var(--theme-control,#1b1c20);min-width:0;color:var(--theme-text-muted,#a6aab1);border-radius:7px;align-items:center;gap:8px;padding:0 12px;display:flex}.privacy-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.privacy-settings-panel .privacy-search>input,.modal .privacy-settings-panel .privacy-search>input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){min-width:0;max-width:100%;min-height:40px;color:var(--theme-text-primary,#f2f3f5);font:inherit;background:0 0;border:0;border-radius:0;outline:none;flex:1;padding:9px 0;font-size:13px}.privacy-visually-hidden{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.privacy-friend-options{scrollbar-gutter:stable;gap:6px;max-height:320px;margin-bottom:4px;padding:10px 2px 2px;display:grid;overflow-y:auto}.privacy-friend-option{cursor:pointer;border-radius:6px;align-items:center;gap:10px;min-width:0;padding:8px;display:flex}.privacy-friend-option:hover{background:var(--theme-hover,#3d3f47)}.privacy-friend-option>input{width:17px;height:17px;accent-color:var(--accent);flex:none;margin:0}.privacy-friend-option>span:last-child{flex:1;min-width:0}.privacy-friend-option small,.privacy-blocked-identity small{color:var(--theme-text-muted,#a6aab1);overflow-wrap:anywhere;margin-top:2px;font-size:12px;line-height:1.5;display:block}.privacy-contact-avatar{flex:none;width:32px;height:32px}.privacy-contact-avatar .avatar{width:32px;height:32px}.privacy-nobody-note{border:1px solid var(--theme-warning-border,#7b6540);background:var(--theme-warning-bg,#3d3324);color:var(--theme-text-primary,#f2f3f5);border-radius:7px;align-items:flex-start;gap:8px;margin:10px 0 0;padding:11px;font-size:12px;line-height:1.5;display:flex}.privacy-nobody-note .ui-icon{color:var(--theme-warning,#e5a84f);margin-top:1px}.privacy-save-actions{flex-wrap:wrap;gap:8px;display:flex}.privacy-error{border:1px solid var(--theme-danger-border,#5e363f);background:var(--theme-danger-bg,#38282f);color:var(--theme-danger,#ff929b);border-radius:7px;margin:0;padding:10px 12px;font-size:13px;line-height:1.5}.privacy-notice{color:var(--theme-success,#57c78a);margin:16px 0 0;font-size:13px;line-height:1.5}.privacy-blacklist{border-top:1px solid var(--theme-border,#393a42);margin-top:28px;padding-top:24px}.privacy-blacklist h3{align-items:center;gap:8px;margin:0;font-size:17px;display:flex}.privacy-blocked-list{gap:8px;margin:14px 0 0;padding:0;list-style:none;display:grid}.privacy-blocked-list>li{border:1px solid var(--theme-border,#393a42);background:var(--theme-control,#1b1c20);border-radius:8px;align-items:center;gap:10px;min-width:0;padding:10px;display:flex}.privacy-blocked-identity{flex:1;min-width:0}.privacy-settings-panel .privacy-blocked-list>li>button{flex:none;min-height:36px;padding:8px 10px;font-size:12px}.privacy-empty{color:var(--theme-text-muted,#a6aab1);margin:0;padding:12px 4px;font-size:13px;line-height:1.5}@media (width<=600px){.privacy-policy-choice{gap:10px;padding:12px}.privacy-save-actions>button{flex:1}.privacy-blocked-list>li{flex-wrap:wrap}.privacy-blocked-identity{flex-basis:calc(100% - 44px)}.privacy-settings-panel .privacy-blocked-list>li>button{width:100%}.privacy-friend-options{max-height:260px}}.chat.requests-chat{min-width:0;min-height:0;display:flex}.message-requests-page{width:100%;min-width:0;min-height:0;color:var(--theme-text-primary,#f2f3f5);flex-direction:column;display:flex}.message-requests-toolbar{border-bottom:1px solid var(--theme-border,#303139);background:var(--theme-surface,#232428);flex-wrap:wrap;align-items:center;gap:16px;min-height:60px;padding:10px 20px;display:flex}.message-requests-toolbar h2{white-space:nowrap;align-items:center;gap:10px;margin:0;font-size:17px;display:flex}.message-requests-toolbar nav{flex-wrap:wrap;flex:1;gap:6px;display:flex}.message-requests-page button{cursor:pointer;color:var(--theme-text-primary,#f2f3f5);background:var(--theme-button,#313338);font:inherit;border:0;border-radius:8px;padding:9px 14px}.message-requests-page button:disabled{opacity:.5;cursor:default}.message-requests-page button:focus-visible{outline:2px solid var(--theme-focus,#ad91ff);outline-offset:2px}.message-requests-toolbar nav button{color:var(--theme-text-secondary,#b5bac1);white-space:nowrap;background:0 0}.message-requests-toolbar nav button[aria-pressed=true]{color:var(--theme-text-primary,#f2f3f5);background:var(--theme-button,#313338)}.message-requests-content{flex:1;min-width:0;min-height:0;padding:20px 24px;overflow-y:auto}.message-requests-page .request-search{border:1px solid var(--theme-border,#303139);background:var(--theme-control,#1b1c20);border-radius:9px;align-items:center;gap:10px;padding:0 12px;display:flex}.request-search input{width:100%;min-width:0;color:var(--theme-text-primary,#f2f3f5);font:inherit;background:0 0;border:0;outline:0;padding:12px 0}.request-search:focus-within{outline:2px solid var(--theme-focus,#ad91ff)}.request-list-heading{color:var(--theme-text-secondary,#b5bac1);margin:24px 0 12px;font-size:13px}.request-list{margin:0;padding:0;list-style:none}.request-list li{border-top:1px solid var(--theme-border,#303139)}.message-requests-page .request-open{text-align:left;background:0 0;align-items:center;gap:14px;width:100%;min-height:88px;padding:14px 10px;display:flex}.message-requests-page .request-open:hover{background:var(--theme-hover,#2c2e33)}.request-open>span:not(.avatar){flex:1;min-width:0}.request-open :is(b,small,p){text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.request-open small,.request-open p{color:var(--theme-text-muted,#949ba4);margin:5px 0 0;font-size:13px}.request-open .avatar,.request-person .avatar{flex:none}.requests-empty{text-align:center;color:var(--theme-text-muted,#949ba4);justify-items:center;gap:10px;padding:70px 20px;display:grid}.requests-empty h3,.requests-empty p{max-width:460px;margin:0;line-height:1.6}.request-preview{max-width:820px;margin:0 auto}.message-requests-page .request-back{color:var(--theme-text-secondary,#b5bac1);background:0 0;padding-left:0}.request-person{align-items:center;gap:12px;min-width:0;margin-top:18px;display:flex}.request-person>div{flex:1;min-width:0}.request-person h3{overflow-wrap:anywhere;margin:0 0 4px}.request-person small{color:var(--theme-text-muted,#949ba4);overflow-wrap:anywhere}.request-explanation{color:var(--theme-text-secondary,#b5bac1);margin-block:24px;font-size:14px;line-height:1.65}.request-message-list{flex-direction:column;gap:12px;margin-bottom:24px;display:flex}.message-requests-page .request-message-list article,.message-requests-page .request-message-list article:hover{border:1px solid var(--theme-border,#303139);background:var(--theme-control,#1b1c20);border-radius:10px;min-width:0;margin:0;padding:14px 16px;display:block}.request-message-list article>div{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.request-message-list time{color:var(--theme-text-muted,#949ba4);font-size:11px}.request-message-list p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;line-height:1.55}.request-decision{flex-wrap:wrap;gap:10px;display:flex}.request-composer{gap:10px;margin-top:24px;display:grid}.request-composer textarea{resize:vertical;box-sizing:border-box;border:1px solid var(--theme-border,#303139);width:100%;min-width:0;min-height:112px;color:var(--theme-text-primary,#f2f3f5);background:var(--theme-control,#1b1c20);font:inherit;border-radius:10px;padding:12px 14px;line-height:1.5}.request-composer>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.request-composer small{color:var(--theme-text-muted,#949ba4)}.message-requests-page button.primary{color:var(--theme-on-accent,#fff);background:var(--theme-success-solid,#24865a)}.message-requests-page .request-block{color:var(--theme-danger,#ffadb7);background:var(--theme-danger-bg,#542c34)}.message-requests-page .icon-control{flex:none;place-items:center;width:36px;height:36px;padding:0;display:inline-grid}@media (width<=700px){.message-requests-toolbar{gap:10px;padding:10px 12px}.message-requests-toolbar nav{flex-basis:100%;order:5}.message-requests-toolbar h2{white-space:normal;flex:1;font-size:15px}.message-requests-content{padding:16px 12px}.request-person{flex-wrap:wrap}.request-person .request-block{margin-left:0}.request-composer>div button{width:100%}}.native-server-selector{min-width:0;max-width:220px;height:26px;color:var(--theme-text-secondary,#c4c9d4);font:inherit;cursor:pointer;-webkit-app-region:no-drag;app-region:no-drag;background:0 0;border:0;border-radius:6px;flex:none;align-items:center;gap:6px;padding:0 8px;font-size:12px;display:inline-flex}.native-server-selector>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.native-server-selector>.ui-icon{flex:none;display:block}.native-server-selector:hover{background:var(--theme-hover,#35373d);color:var(--theme-text-primary,#f2f3f5)}.native-server-selector:focus-visible{outline:2px solid var(--theme-focus,#9b8aff);outline-offset:2px}.auth .native-server-selector{left:12px;top:calc(var(--desktop-titlebar-height,32px) + 10px);z-index:12;background:var(--theme-surface,#1e1f22);position:fixed}@media (width<=900px){.native-server-selector{max-width:155px}}@media (width<=650px){.native-server-selector{gap:4px;max-width:120px;font-size:11px}}.modal.notifications-panel .notifications-list>.notification-item,.modal.notifications-panel .notifications-list>.notification-item:hover{border:1px solid var(--theme-border,#394251);background:var(--theme-control,#1b1f28);border-radius:10px;grid-template-columns:44px minmax(0,1fr) 40px;align-items:start;gap:12px;min-width:0;margin:0 0 10px;padding:12px;display:grid}.modal.notifications-panel .notifications-list>.mention-notification,.modal.notifications-panel .notifications-list>.mention-notification:hover{box-shadow:inset 2px 0 var(--theme-accent,#a18cff)}.modal.notifications-panel .notification-item>.avatar{flex:none;justify-self:center;width:36px;height:36px;margin:0}.modal.notifications-panel .notification-jump,.modal.notifications-panel .notification-jump:hover{width:100%;min-width:0;min-height:0;color:var(--theme-text-primary,#e1e7f2);text-align:left;background:0 0;border:0;border-radius:0;margin:0;padding:0;display:block}.modal.notifications-panel .notification-jump :is(small,b,p,time){overflow-wrap:anywhere;padding:0;display:block}.modal.notifications-panel .notification-jump small{color:var(--theme-text-muted,#aeb5c5);margin:0 0 6px;font-size:12px}.modal.notifications-panel .notification-jump b{margin:0 0 6px;font-size:15px}.modal.notifications-panel .notification-jump p{white-space:pre-wrap;margin:0 0 8px;line-height:1.5}.modal.notifications-panel .notification-jump time{color:var(--theme-text-muted,#aeb5c5);margin:0;font-size:11px}.modal.notifications-panel .notification-read{border-radius:8px;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:0;font-size:19px;line-height:1;display:grid}.rail .brand.mayak-home{place-items:center;padding:0;display:grid}.chat.friends-chat{min-width:0;min-height:0;display:flex}.chat.friends-chat>.contacts-panel{width:100%}.home-navigation .requests-navigation{align-items:center;gap:10px;display:flex}.home-navigation .requests-navigation>span{flex:1;min-width:0}.dm-request-button{background:var(--theme-success-solid,#24865a);color:var(--theme-on-accent,#fff);cursor:pointer;border:0;border-radius:8px;width:fit-content;margin:6px 12px;padding:10px 14px}@media (width<=500px){.modal.notifications-panel .notifications-list>.notification-item,.modal.notifications-panel .notifications-list>.notification-item:hover{grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;padding:10px}.modal.notifications-panel .notification-item>.avatar{width:32px;height:32px}.modal.notifications-panel .notification-read{width:32px;min-width:32px;height:32px;min-height:32px}}.server-settings-panel{flex-direction:column;gap:14px;width:min(960px,100%);max-width:100%;height:min(820px,100dvh - 32px);min-height:0;max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.server-settings-heading{flex:none;justify-content:space-between;align-items:center;gap:14px;min-width:0;display:flex}.server-settings-heading h2{overflow-wrap:anywhere;flex:1;min-width:0}.server-settings-heading>button{flex:none;min-width:36px;min-height:36px}.server-settings-tabs{border-bottom:1px solid var(--theme-border,#3b4251);flex-wrap:wrap;flex:none;gap:6px;padding-bottom:12px;display:flex}.server-settings-tabs button{border:1px solid var(--theme-border,#3b4251);background:var(--theme-button,#252b36);color:var(--theme-text-primary,#cfd5df);cursor:pointer;border-radius:7px;min-height:38px;padding:9px 12px}.server-settings-tabs button[aria-selected=true]{background:var(--theme-selected,#493a25);border-color:var(--accent);color:var(--theme-text-primary,#fff)}.server-settings-content{scrollbar-gutter:stable;flex:1;min-width:0;min-height:0;padding-right:3px;overflow:hidden auto}.server-settings-tab-content{min-width:0}.server-settings-tab-content[hidden]{display:none}.server-settings-panel .server-settings-embedded{width:100%;min-width:0}.server-settings-panel .server-settings-embedded>section{width:100%;max-width:100%;min-height:0;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;overflow:visible}.server-settings-panel .server-settings-embedded .layout-list,.server-settings-panel .server-settings-embedded .moderation-list{max-height:none;overflow:visible}.server-settings-general{gap:18px;min-width:0;display:grid}.server-settings-general section{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface,#191d26);border-radius:8px;gap:10px;padding:16px;display:grid}.server-settings-general h3,.server-settings-general p{overflow-wrap:anywhere;margin:0}.server-settings-general p{color:var(--theme-text-secondary,#b8becc);font-size:13px;line-height:1.5}.server-settings-general button{border:1px solid var(--theme-border,#3b4251);width:fit-content;color:var(--theme-text-primary,#fff);background:var(--theme-button,#303644);cursor:pointer;border-radius:6px;min-height:38px;padding:9px 12px}.server-settings-general .danger-action{border-color:var(--theme-danger-border,#70414c);color:var(--theme-danger,#ffb8c1);background:var(--theme-danger-bg,#412831)}.server-settings-open{min-height:36px}@media (width<=700px){.server-settings-panel{gap:10px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:14px}.server-settings-tabs{gap:5px;padding-bottom:10px}.server-settings-tabs button{padding:8px 9px;font-size:12px}.server-settings-heading h2{font-size:17px}.server-settings-general section{padding:12px}}.modal.server-settings-panel{background:var(--theme-surface,#232428);border-color:var(--theme-border,#36373d);border-radius:14px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:250px minmax(0,1fr);gap:0;width:min(1360px,100vw - 32px);height:min(960px,100dvh - 48px);max-height:calc(100dvh - 48px);padding:0;display:grid}.server-settings-sidebar{background:var(--theme-panel,#1b1c20);border-right:1px solid var(--theme-border,#2e2f35);grid-area:1/1/3;min-height:0;padding:30px 20px;overflow:auto}.server-settings-sidebar>strong{white-space:nowrap;text-overflow:ellipsis;color:var(--theme-text-secondary,#92959d);text-transform:uppercase;margin:0 12px 20px;font-size:12px;display:block;overflow:hidden}.server-settings-sidebar .server-settings-tabs{border:0;flex-flow:column;gap:4px;padding:0}.server-settings-tabs>small{color:var(--theme-text-muted,#92959d);border-top:1px solid var(--theme-border,#36373d);margin:22px 12px 6px;padding-top:20px;font-size:11px;font-weight:700}.server-settings-sidebar .server-settings-tabs button{text-align:left;color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:7px;min-height:44px;padding:12px;font-size:15px}.server-settings-sidebar .server-settings-tabs button:hover{background:var(--theme-hover,#28292e)}.server-settings-sidebar .server-settings-tabs button[aria-selected=true]{background:var(--theme-selected,#33343b);color:var(--theme-text-primary,#fff)}.server-settings-panel .server-settings-heading{border-bottom:1px solid var(--theme-border,#34353c);grid-area:1/2;margin:0;padding:26px 32px 20px}.server-settings-heading>button{color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:50%;font-size:28px}.server-settings-panel .server-settings-content{grid-area:2/2;min-height:0;padding:28px 32px}.server-settings-general section{border:0;border-bottom:1px solid var(--theme-border,#3a3b42);background:0 0;border-radius:0;gap:14px;padding:8px 0 26px}.server-settings-general section:last-child{border-bottom:0}.server-settings-general h3{font-size:19px}@media (width<=700px){.modal.server-settings-panel{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);width:calc(100vw - 16px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.server-settings-panel .server-settings-heading{grid-area:1/1;padding:18px 16px}.server-settings-sidebar{border-right:0;border-bottom:1px solid var(--theme-border,#34353c);grid-area:2/1;padding:10px 12px;overflow:hidden}.server-settings-sidebar>strong,.server-settings-tabs>small{display:none}.server-settings-sidebar .server-settings-tabs{flex-direction:row;gap:4px;overflow:auto}.server-settings-sidebar .server-settings-tabs button{white-space:nowrap;flex:none;min-height:38px;padding:10px;font-size:13px}.server-settings-panel .server-settings-content{grid-area:3/1;padding:18px 16px}.server-settings-heading h2{font-size:18px}}.community-audit{flex-direction:column;gap:12px;min-width:0;min-height:0;display:flex}.community-audit[hidden]{display:none}.community-audit-toolbar{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.community-audit-toolbar label{min-width:0;color:var(--theme-text-primary,#d9deea);flex:240px;gap:6px;font-size:13px;display:grid}.community-audit-toolbar select{width:100%;min-width:0}.community-audit-toolbar select,.community-audit-refresh,.community-audit-older{border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#303644);color:var(--theme-text-primary,#d9deea);font:inherit;border-radius:7px;padding:9px 11px}.community-audit-refresh,.community-audit-older{cursor:pointer}.community-audit button:disabled,.community-audit select:disabled{opacity:.6;cursor:default}.community-audit button:focus-visible,.community-audit select:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#c19b5a));outline-offset:2px}.community-audit-hint,.community-audit-empty{color:var(--theme-text-muted,#aeb5c5);margin:0;font-size:13px;line-height:1.5}.community-audit-list{gap:10px;min-width:0;min-height:0;display:grid}.community-audit-entry{border:1px solid var(--theme-border,#363e4c);background:var(--theme-surface-raised,#252b36);overflow-wrap:anywhere;border-radius:9px;min-width:0;padding:12px;display:block}.community-audit-entry-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;display:flex}.community-audit-entry-heading b{color:var(--theme-text-primary,#e7eaf1);font-size:14px}.community-audit-entry-heading time{color:var(--theme-text-muted,#aeb5c5);font-size:12px}.community-audit-actor{color:var(--theme-text-primary,#e7eaf1);margin:8px 0 0;font-size:13px}.community-audit-target,.community-audit-detail{color:var(--theme-text-secondary,#bcc4d3);white-space:pre-wrap;margin:5px 0 0;font-size:13px;line-height:1.45}.community-audit-entry small{color:var(--theme-text-muted,#aeb5c5)}.community-audit-older{justify-self:start;max-width:100%}@media (width<=420px){.community-audit-toolbar label{flex-basis:100%}.community-audit-refresh,.community-audit-older{width:100%}.community-audit-entry{padding:10px}}.community-reports,.report-message-dialog{min-width:0;color:var(--theme-text-primary,#e1e5ee);gap:14px;display:grid}.community-reports[hidden]{display:none}.report-message-dialog{width:min(560px,100%);max-height:calc(100dvh - 32px);overflow-y:auto}.report-heading,.report-toolbar,.report-actions{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.report-heading{flex-wrap:nowrap;justify-content:space-between}.report-heading h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:20px}.community-reports button,.report-message-dialog button{color:var(--theme-text-primary,#e1e5ee);background:var(--theme-button,#303644);border:1px solid var(--theme-border,#465065);cursor:pointer;border-radius:6px;min-height:38px;padding:9px 12px}.community-reports button:disabled,.report-message-dialog button:disabled{opacity:.55;cursor:default}.community-reports p,.report-message-dialog p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;line-height:1.5}.community-reports small,.report-message-dialog small{color:var(--theme-text-muted,#b8becc);overflow-wrap:anywhere}.report-message-dialog form,.report-confirmation{gap:10px;min-width:0;display:grid}.community-reports label,.report-message-dialog label{gap:7px;min-width:0;display:grid}.community-reports textarea,.report-message-dialog textarea,.community-reports select,.report-message-dialog select{box-sizing:border-box;width:100%;min-width:0;color:var(--theme-text-primary,#eef1f7);background:var(--theme-control,#171b24);border:1px solid var(--theme-border-strong,#465065);font:inherit;border-radius:6px;padding:10px}.community-reports textarea,.report-message-dialog textarea{resize:vertical}.report-toolbar{justify-content:space-between}.report-toolbar label{flex:1;max-width:300px}.report-hint{color:var(--theme-text-muted,#b8becc);font-size:13px}.report-list,.report-card-detail{gap:12px;min-width:0;display:grid}.report-card{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface-raised,#191d26);border-radius:8px;gap:10px;min-width:0;padding:14px;display:grid}.community-reports .report-card-heading{text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;gap:7px;width:100%;padding:0;display:grid}.report-card-heading b,.report-card-heading span,.report-card-heading small,.report-card-heading time{overflow-wrap:anywhere}.report-card-heading time{color:var(--theme-text-muted,#b8becc);font-size:12px}.report-original{border-left:3px solid var(--theme-border,#697c9e);background:var(--theme-surface,#222836);gap:7px;min-width:0;padding:12px;display:grid}.report-original p{max-height:220px;overflow-y:auto}.report-confirmation{border:1px solid var(--theme-border,#786b50);background:var(--theme-surface,#29251d);border-radius:6px;padding:12px}.report-actions{justify-content:flex-end}@media (width<=700px){.report-message-dialog{gap:12px;max-height:calc(100dvh - 24px);padding:14px}.report-heading h2{font-size:17px}.report-toolbar{align-items:stretch}.report-toolbar label{max-width:none}.report-card{padding:12px}.community-reports .report-card-heading{grid-template-columns:minmax(0,1fr)}.report-actions button{flex:1}.report-original,.report-confirmation{padding:10px}}.operator-registration-settings>p{color:var(--theme-text-secondary,#b4bdce);font-size:13px;line-height:1.5}.operator-registration-settings form>label{color:var(--theme-text-primary,#d3d8e2);gap:7px;margin:16px 0;font-size:13px;display:grid}.operator-registration-settings input:not([type=checkbox]),.operator-registration-settings select{width:100%;min-width:0;color:var(--theme-text-primary,#f0f3fa);background:var(--theme-control,#191d26);border:1px solid var(--theme-border-strong,#424958);border-radius:7px;min-height:38px;padding:9px 10px}.operator-registration-settings form>.registration-check{align-items:center;gap:10px;display:flex}.registration-check input{width:18px;height:18px;accent-color:var(--accent);flex:none}.registration-key-state{color:var(--theme-text-secondary,#b4bdce);font-size:13px;line-height:1.5}.registration-settings-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.registration-captcha{min-width:0;margin:16px 0}.registration-captcha>p,.auth-registration-state{color:var(--theme-text-secondary,#b4bdce);overflow-wrap:anywhere;font-size:13px;line-height:1.5}.auth .auth-retry{background:var(--theme-surface,#303644);color:var(--theme-text-primary,#f0f3fa);border:1px solid var(--theme-border,#424958);margin-top:8px}@media (width<=500px){.registration-settings-actions button{flex:1}.registration-captcha{max-width:100%;overflow:auto}}.channel-slow-mode-notice{color:var(--muted,var(--theme-text-muted,#b0b8c8));overflow-wrap:anywhere;padding:8px 24px}.channel-slow-mode-notice button{margin-left:8px}.channel-slow-mode-settings{border-top:1px solid var(--border,var(--theme-border,#394253));padding-top:12px}.attachment-composer:empty{display:none}.attachment-composer{flex-basis:100%;min-width:0;position:relative}.attachment-tray{gap:10px;padding:8px 2px 12px;display:flex;overflow-x:auto}.attachment-pending{border:1px solid var(--border,var(--theme-border,#41434a));background:var(--bg-secondary,var(--theme-surface,#2b2d31));border-radius:8px;flex:0 0 190px;align-items:center;gap:10px;padding:12px;display:flex;position:relative}.attachment-pending img{object-fit:cover;border-radius:5px;width:52px;height:52px}.attachment-file-icon{color:var(--muted,var(--theme-text-muted,#b5bac1));font-size:32px}.attachment-pending>div{flex:1;min-width:0}.attachment-pending strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.attachment-pending small{color:var(--muted,var(--theme-text-muted,#b5bac1));font-size:11px}.attachment-pending button{color:var(--muted,var(--theme-text-muted,#b5bac1));background:0 0;border:0;padding:0 5px;font-size:17px;position:absolute;top:3px;right:3px}.attachment-summary,.attachment-progress{color:var(--muted,var(--theme-text-muted,#b5bac1));align-items:center;gap:10px;padding-bottom:8px;font-size:12px;display:flex}.attachment-summary button,.attachment-progress button{color:var(--accent,var(--theme-accent,#a1a7ff));background:0 0;border:0;margin-left:auto;padding:4px}.attachment-progress progress{max-width:180px;accent-color:var(--accent,var(--theme-accent,#a1a7ff));flex:1}.attachment-error{color:var(--danger,var(--theme-danger,#ff9098));margin:0 0 8px;font-size:12px}.attachment-drop-hint{border:2px dashed var(--accent,var(--theme-accent,#a1a7ff));text-align:center;color:var(--accent,var(--theme-accent,#a1a7ff));border-radius:8px;margin-bottom:8px;padding:12px}.operator-attachments-settings{max-width:650px}.operator-attachments-settings fieldset{border:1px solid var(--border,var(--theme-border,#41434a));border-radius:8px;margin:16px 0;padding:12px}.operator-attachments-settings legend{color:var(--muted,var(--theme-text-muted,#b5bac1));padding:0 6px}.operator-attachment-options{flex-wrap:wrap;gap:14px;display:flex}.operator-attachment-options label{align-items:center;gap:6px;display:flex}.operator-attachment-options input{width:auto}.operator-attachments-settings input[type=number]{max-width:150px}.operator-attachments-settings .attachment-settings-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.operator-community-limits,.community-limit-field{min-width:0}.operator-community-limits h3{margin-top:0}.operator-community-limits form,.community-limit-dialog form,.community-create-dialog form{gap:14px;min-width:0;display:grid}.community-limit-field{gap:12px;display:grid}.community-limit-field label,.community-create-dialog label{gap:7px;min-width:0;font-size:13px;font-weight:600;display:grid}.community-limit-field input,.community-limit-field select,.community-create-dialog input{box-sizing:border-box;border:1px solid var(--border,var(--theme-border-strong,#3b3d47));background:var(--input-bg,var(--theme-control,#1e1f25));width:100%;min-width:0;max-width:100%;min-height:40px;color:var(--text,var(--theme-text-primary,#eeeef3));font:inherit;border-radius:6px;padding:9px 11px}.community-limit-help{color:var(--muted,var(--theme-text-muted,#a6a6b2));margin:0;font-size:12px;line-height:1.5}.community-limit-blocked{color:var(--theme-warning,#f5bc79);margin:10px 0 0;font-size:13px;line-height:1.5}.community-limit-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;display:flex}.community-limit-actions button,.operator-community-limits>button{white-space:normal;overflow-wrap:anywhere;border:1px solid var(--theme-border,#484950);background:var(--theme-button,#3b3d46);max-width:100%;min-height:38px;color:var(--theme-text-primary,#eeeef3);font:inherit;cursor:pointer;border-radius:6px;padding:9px 13px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s}.community-limit-actions button.primary{background:var(--accent,var(--theme-accent,#9c84ff));color:var(--theme-on-accent,#19171f);border-color:#0000}.community-limit-actions button:hover:not(:disabled),.operator-community-limits>button:hover:not(:disabled){background:var(--theme-hover,#484a56)}.community-limit-actions button.primary:hover:not(:disabled){background:var(--theme-accent-hover,#ad98ff)}.community-limit-actions button:disabled{opacity:.5;cursor:default}.community-limit-actions button:focus-visible,.community-limit-field select:focus-visible,.community-limit-field input:focus-visible,.community-create-dialog input:focus-visible{outline:2px solid var(--accent,var(--theme-focus,#9c84ff));outline-offset:3px}.community-limit-summary,.community-creation-quota dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 14px;margin:0;font-size:13px;display:grid}.community-limit-summary dt,.community-creation-quota dt{color:var(--muted,var(--theme-text-muted,#a6a6b2))}.community-limit-summary dd,.community-creation-quota dd{overflow-wrap:anywhere;margin:0}.community-limit-preview,.community-creation-quota{border:1px solid var(--border,var(--theme-border,#3b3d47));background:var(--surface-2,var(--theme-surface-raised,#26272e));border-radius:8px;padding:12px}.community-creation-quota .community-limit-help{margin-top:10px}.community-limit-target{overflow-wrap:anywhere}.community-limit-dialog-backdrop{z-index:150;box-sizing:border-box;background:var(--theme-backdrop,#000a);place-items:center;padding:16px;display:grid;position:fixed;inset:0}.community-limit-dialog,.community-create-dialog{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--border,var(--theme-border,#3b3d47));background:var(--surface,var(--theme-surface,#2b2d35));width:min(560px,100%);min-width:0;max-height:calc(100dvh - 32px);box-shadow:0 14px 48px var(--theme-shadow-strong,#0007);border-radius:12px;padding:24px;overflow:auto}.community-limit-dialog h2,.community-create-dialog h2{margin:0 0 12px;font-size:21px}.community-create-backdrop{z-index:110}@media (width<=480px){.community-limit-dialog-backdrop{padding:10px}.community-limit-dialog,.community-create-dialog{max-height:calc(100dvh - 20px);padding:18px 14px}.community-limit-actions button{flex:120px}}@media (prefers-reduced-motion:reduce){.community-limit-actions button,.operator-community-limits>button{transition:none}}.operator-bot-settings>p{color:var(--settings-muted,var(--theme-text-muted,#b4bdce));font-size:13px;line-height:1.5}.operator-bot-settings .registration-check{align-items:center;gap:10px;margin:18px 0;font-size:14px;display:flex}.operator-bot-settings .registration-check input{width:18px;height:18px;accent-color:var(--accent,var(--theme-accent,#9b8aff));flex:none}.operator-site-tab[hidden]{display:none!important}.operator-site-settings{min-width:0}.operator-site-settings form{gap:18px;min-width:0;display:grid}.operator-site-settings fieldset{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.operator-site-settings label{gap:7px;min-width:0;font-size:14px;font-weight:600;display:grid}.operator-site-settings input,.operator-site-settings textarea{box-sizing:border-box;border:1px solid var(--theme-border-strong,#41434c);background:var(--theme-control,#1b1c20);width:100%;min-width:0;max-width:100%;color:var(--theme-text-primary,#efeff2);font:inherit;border-radius:7px;padding:11px 12px}.operator-site-settings textarea{resize:vertical;min-height:76px;line-height:1.5}.operator-site-settings label>small,.operator-site-hint{color:var(--muted,var(--theme-text-muted,#a6a8b2));margin:0;font-size:12px;font-weight:400;line-height:1.5}.operator-site-hint{margin:0 0 18px}.operator-site-benefits{gap:10px;min-width:0;display:grid}.operator-site-benefits-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.operator-site-benefits-heading h4{margin:0;font-size:14px}.operator-panel .operator-site-benefits-heading>button{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex:none;align-items:center;gap:6px;min-width:100px;display:flex}.operator-site-benefits>.operator-site-hint{margin:0}.operator-site-benefit{align-items:flex-end;gap:8px;min-width:0;display:flex}.operator-site-benefit>label{flex:1;min-width:0}.operator-site-benefit>button{flex:none;place-items:center;width:38px;display:grid;padding:0!important}.operator-site-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.operator-site-actions>.primary{width:auto}.operator-site-conflict{border:1px solid var(--theme-border,#665e42);background:var(--theme-surface,#322e22);border-radius:7px;padding:12px;font-size:13px;line-height:1.5}.operator-site-conflict p{margin:0 0 10px}@media (width<=500px){.operator-site-actions{flex-wrap:wrap}.operator-site-actions>button{flex:100%;width:100%;min-width:0}.operator-site-benefits-heading{gap:8px}.operator-site-benefits-heading>button{padding:8px!important}}.modal.operator-panel{flex-direction:column;gap:14px;width:min(960px,100vw - 32px);min-width:0;max-width:calc(100vw - 32px);height:min(850px,100dvh - 32px);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.operator-heading{justify-content:space-between;gap:12px;min-width:0;display:flex}.operator-heading h2{overflow-wrap:anywhere;margin:0;font-size:22px}.operator-heading .operator-access-sections{overflow-wrap:anywhere;line-height:1.45}.operator-panel button{border:1px solid var(--theme-border,#424958);background:var(--theme-button,#303644);color:var(--theme-text-primary,#f0f3fa);cursor:pointer;border-radius:7px;min-height:38px;padding:9px 12px}.operator-panel button:disabled{cursor:default;opacity:.55}.operator-heading>button{flex:none;align-self:start;font-size:22px;line-height:1}.operator-tabs{border-bottom:1px solid var(--theme-border,#3b4251);flex-wrap:wrap;gap:6px;padding-bottom:12px;display:flex}.operator-tabs button[aria-selected=true]{background:var(--theme-selected,#493a25);border-color:var(--accent)}.operator-panel :focus-visible{outline:2px solid var(--accent);outline-offset:3px}.operator-toolbar{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.operator-toolbar form{flex:1;align-items:end;gap:8px;min-width:0;display:flex}.operator-toolbar label{min-width:0;color:var(--theme-text-secondary,#c2c8d3);flex:1;gap:5px;font-size:12px;display:grid}.operator-toolbar input{border:1px solid var(--theme-border-strong,#424958);width:100%;min-width:0;min-height:38px;color:var(--theme-text-primary,#f0f3fa);background:var(--theme-control,#191d26);border-radius:7px;padding:9px 10px}.operator-content{scrollbar-gutter:stable;flex:1;min-width:0;min-height:0;padding-right:3px;overflow:auto}.operator-checked{color:var(--muted);margin-top:0;font-size:12px}.operator-content section{background:var(--theme-surface,#191d26);border:1px solid var(--theme-border,#3b4251);border-radius:9px;min-width:0;padding:16px}.operator-content h3{overflow-wrap:anywhere;margin:0 0 12px;font-size:15px}.operator-content dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 16px;margin:0;font-size:13px;display:grid}.operator-content dt{color:var(--theme-text-muted,#aeb6c7)}.operator-content dd{overflow-wrap:anywhere;margin:0}.operator-content p{overflow-wrap:anywhere}.operator-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.operator-metric{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface,#191d26);border-radius:9px;flex-direction:column;gap:10px;min-width:0;padding:16px;display:flex}.operator-metric span{color:var(--theme-text-secondary,#b4bdce);overflow-wrap:anywhere;font-size:12px}.operator-metric b{overflow-wrap:anywhere;font-size:24px}.operator-directory,.operator-infrastructure{gap:12px;display:grid}.operator-directory-card>p{color:var(--theme-text-secondary,#b4bdce);margin:-4px 0 12px}.operator-directory-card small{overflow-wrap:anywhere;margin-top:12px}.operator-directory-card dd span{color:var(--muted);display:block}.operator-infrastructure section>p{color:var(--theme-text-secondary,#b4bdce);margin-bottom:0;font-size:12px;line-height:1.5}.operator-more{margin-top:12px}.operator-user-actions{margin-top:14px}.operator-panel .operator-danger,.operator-restriction-dialog .operator-danger{color:var(--theme-danger,#ffd6d6);border-color:var(--theme-danger-border,#a35661);background:var(--theme-danger-bg,#472a34)}.operator-audit-filter{min-width:0;color:var(--theme-text-secondary,#c2c8d3);flex:1;gap:5px;font-size:12px;display:grid}.operator-audit-filter select,.operator-restriction-dialog input,.operator-restriction-dialog select{border:1px solid var(--theme-border-strong,#424958);width:100%;min-width:0;min-height:38px;color:var(--theme-text-primary,#f0f3fa);background:var(--theme-control,#191d26);border-radius:7px;padding:9px 10px}.operator-audit-list{gap:12px;display:grid}.operator-audit-list dd span{color:var(--muted);display:block}.operator-restriction-backdrop{z-index:150;background:var(--theme-backdrop,#080a10d9);justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.operator-restriction-dialog{background:var(--theme-surface,#20242d);border:1px solid var(--theme-border,#424958);width:100%;min-width:0;max-width:560px;max-height:calc(100dvh - 32px);box-shadow:0 16px 56px var(--theme-shadow-strong,#0008);border-radius:12px;padding:24px;overflow:auto}.operator-restriction-dialog h2{overflow-wrap:anywhere;margin:0 0 16px;font-size:21px}.operator-restriction-dialog p{overflow-wrap:anywhere;line-height:1.5}.operator-restriction-dialog label{color:var(--theme-text-secondary,#c2c8d3);gap:7px;margin:16px 0;font-size:13px;display:grid}.operator-restriction-dialog button{border:1px solid var(--theme-border,#424958);background:var(--theme-button,#303644);color:var(--theme-text-primary,#f0f3fa);cursor:pointer;border-radius:7px;min-height:38px;padding:9px 12px}.operator-restriction-dialog button:disabled{opacity:.55;cursor:default}.operator-restriction-dialog :focus-visible{outline:2px solid var(--accent);outline-offset:3px}.operator-restriction-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.operator-confirm-state{color:var(--theme-text-secondary,#b4bdce);font-size:13px}@media (width<=700px){.operator-restriction-dialog{padding:18px}.operator-restriction-actions{justify-content:stretch}.operator-restriction-actions button{flex:1}}.channels footer:has(.operator-open){gap:5px}.channels footer:has(.operator-open)>span{flex:1;min-width:0}:is(.channels footer:has(.operator-open)>span b,.channels footer:has(.operator-open)>span small){text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.channels footer:has(.operator-open) button{min-width:22px;margin-left:0;padding:2px}@media (width<=700px){.modal.operator-panel{gap:10px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:14px}.operator-heading h2{font-size:18px}.operator-heading p{font-size:12px}.operator-tabs button{padding:8px 9px;font-size:12px}.operator-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.operator-metric{padding:12px}.operator-metric b{font-size:21px}.operator-content section{padding:12px}.operator-content dl{gap:9px 12px}.operator-toolbar form{flex-basis:100%}}.operator-panel button[aria-selected=true]{background:var(--accent-soft,var(--theme-selected,#5865f233));border-color:var(--accent,var(--theme-accent,#a1a7ff))}.operator-sidebar{min-width:0;min-height:0}.operator-sidebar>strong{margin:0 0 18px;font-size:20px;display:block}.operator-sidebar>small{color:var(--muted);margin:0 0 12px;font-size:11px;display:block}.operator-tabs button{align-items:center;gap:10px;display:flex}@media (width>=850px){.modal.operator-panel{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:190px minmax(0,1fr);gap:18px 22px;display:grid}.operator-heading{grid-column:1/-1}.operator-sidebar{border-right:1px solid var(--border,var(--theme-border,#41434a));grid-area:2/1/4;padding-right:14px;overflow:auto}.operator-tabs{border:0;flex-flow:column;align-items:stretch;padding:0;display:flex;overflow:visible}.operator-tabs button{text-align:left;flex:none}.operator-toolbar{grid-area:2/2}.operator-content{grid-area:3/2}}@media (width<=700px){.operator-sidebar>strong,.operator-sidebar>small{display:none}}.operator-media-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.operator-media-columns fieldset{border:1px solid var(--theme-border,#444);border-radius:8px;min-width:0;padding:18px}.operator-media-toggle,.operator-media-quality{align-items:center;gap:10px;margin:12px 0;display:flex}.operator-media-columns input{width:auto}@media (width<=600px){.operator-media-columns{grid-template-columns:1fr}}.operator-panel .operator-section-heading{align-items:center;gap:12px;min-width:0;margin-bottom:12px;display:flex}.operator-panel .operator-section-heading h3{overflow-wrap:normal;min-width:0;margin:0;font-size:16px}.operator-toolbar>.operator-section-heading{flex-basis:100%;margin-bottom:0}.operator-panel .operator-section-refresh{flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;min-height:38px;padding:0;display:inline-flex}.operator-section-refresh-help{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.operator-panel :is(.registration-settings-actions,.attachment-settings-actions,.community-limit-actions){justify-content:flex-end;gap:10px;margin-top:20px;display:flex}@media (width>=850px){.operator-panel.operator-settings-view .operator-content{grid-row:2/4}}@media (width<=500px){.operator-panel :is(.registration-settings-actions,.attachment-settings-actions,.community-limit-actions)>button{overflow-wrap:normal;flex:none;width:100%}}.community-create-backdrop.modal-backdrop{inset:var(--desktop-chrome-height,0px) 0 0;box-sizing:border-box;background:var(--theme-backdrop,#0009);place-items:center;padding:16px;display:grid;position:fixed}.modal.community-create-dialog{width:min(560px,100vw - 16px);max-height:calc(100dvh - var(--desktop-chrome-height,0px) - 32px);scrollbar-gutter:auto;flex-direction:column;padding:0;display:flex;overflow:hidden}.community-create-dialog .community-create-heading{flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 20px;display:flex}.community-create-dialog .community-create-heading h2{margin:0 0 7px;font-size:24px}.community-create-dialog .community-create-heading p{color:var(--settings-muted,var(--theme-text-muted,#a6a6b2));margin:0;font-size:13px}.community-create-dialog .community-create-heading>button{width:32px;height:32px;min-height:32px;color:var(--settings-muted,var(--theme-text-muted,#a6a6b2));background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.community-create-dialog>form{flex-direction:column;flex:1;gap:0;min-height:0;display:flex}.community-create-dialog .community-create-body{overscroll-behavior:contain;scrollbar-gutter:stable;gap:18px;min-height:0;padding:16px 24px 22px;display:grid;overflow:auto}.community-create-dialog .community-create-body>label{font-size:13px}.community-create-preview{border:1px solid var(--settings-border,var(--theme-border,#393b42));background:var(--theme-surface-raised,#292b31);border-radius:10px;min-width:0;overflow:hidden}.community-create-banner{background:linear-gradient(140deg,#383240,#25272f);height:94px}.community-create-banner img,.community-create-avatar img{object-fit:cover;width:100%;height:100%;display:block}.community-create-preview-name{align-items:center;gap:14px;min-height:48px;padding:0 16px 16px;display:flex}.community-create-preview-name>b{overflow-wrap:anywhere;min-width:0;padding-top:9px;font-size:16px}.community-create-avatar{border:4px solid var(--theme-surface,#292b31);color:#241c0c;background:#f6ab26;border-radius:17px;flex:none;place-items:center;width:58px;height:58px;margin-top:-19px;font-size:25px;font-weight:700;display:grid;overflow:hidden}.community-create-dialog .community-create-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.community-create-media-field{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.community-create-dialog .community-create-media-pick{justify-content:center;align-items:center;gap:7px;width:100%;min-height:40px;padding:9px 10px;font-size:13px;display:inline-flex}.community-create-media-field small{text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--settings-muted,var(--theme-text-muted,#a6a6b2));font-size:11px;line-height:1.5;display:block;overflow:hidden}.community-create-dialog .community-create-media-clear{min-height:24px;color:var(--settings-muted,var(--theme-text-muted,#a6a6b2));background:0 0;border:0;padding:1px 0;font-size:11px;text-decoration:underline}.community-create-media-field .error{margin:0;font-size:12px}.community-create-dialog label.community-create-offline{justify-content:space-between;align-items:center;gap:14px;display:flex}.community-create-offline>span{gap:5px;min-width:0;display:grid}.community-create-offline b{font-size:13px;font-weight:600}.community-create-offline small{color:var(--settings-muted,var(--theme-text-muted,#a6a6b2));font-size:12px;font-weight:400}.community-create-dialog .community-create-offline input[type=checkbox]{flex:none;width:18px;height:18px;min-height:18px;padding:0}.modal.community-create-dialog .community-creation-quota{background:0 0;border:0;border-radius:0;padding:0}.community-create-quota-line{color:var(--settings-muted,var(--theme-text-muted,#a6a6b2));justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.community-create-quota-line>span{min-width:0;line-height:1.6}.community-create-quota-line b{color:var(--text,var(--theme-text-primary,#eeeef3));font-weight:600}.community-create-quota-separator{margin:0 8px}.community-create-dialog .community-create-quota-line>button{background:0 0;border:0;flex:none;place-items:center;width:30px;height:30px;min-height:30px;padding:0;display:grid}.community-create-dialog .community-creation-quota .community-limit-help{margin:2px 0 0;font-size:11px}.community-create-dialog .community-create-actions{border-top:1px solid var(--settings-border,var(--theme-border,#393b42));background:var(--theme-button,#202126);flex-flow:row;flex:none;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px;display:flex}.community-create-dialog .community-create-actions>button{white-space:nowrap;flex:0 auto;min-width:0;height:44px;min-height:44px;padding:9px 17px;font-size:13px}.community-create-dialog .community-create-actions>button.primary{flex-basis:155px}@media (width<=450px){.community-create-backdrop.modal-backdrop{padding:8px}.modal.community-create-dialog{max-height:calc(100dvh - var(--desktop-chrome-height,0px) - 16px)}.community-create-dialog .community-create-heading{padding:20px 16px 16px}.community-create-dialog .community-create-heading h2{font-size:22px}.community-create-dialog .community-create-body{gap:16px;padding:14px 16px 18px}.community-create-dialog .community-create-actions{padding:14px 16px}.community-create-dialog .community-create-actions>button{flex:1 1 0;padding:9px 8px;font-size:12px}.community-create-dialog .community-create-media{gap:9px}.community-create-dialog .community-create-media-pick{gap:5px;padding:9px 7px;font-size:12px}.community-create-banner{height:80px}}@media (prefers-reduced-motion:reduce){.community-create-dialog,.community-create-dialog *{transition:none!important;animation:none!important}}:root{color:var(--theme-text-primary,#eef1f8);background:var(--theme-page,#11131a);--accent:var(--theme-accent,#f3a63b);--panel:var(--theme-panel,#191c25);--muted:var(--theme-text-muted,#9299aa);font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}.splash{height:100vh;color:var(--theme-on-accent,#111);background:var(--accent);place-items:center;font-size:64px;font-weight:900;display:grid}.app{grid-template-columns:72px 240px 1fr 240px;height:100vh;display:grid}.rail{background:var(--theme-rail,#101219);flex-direction:column;align-items:center;gap:10px;padding:12px 10px;display:flex}.rail button,.brand{background:var(--theme-button,#252a36);width:48px;height:48px;color:var(--theme-text-primary,#d7dbe6);cursor:pointer;border:0;border-radius:50%;font-size:17px;font-weight:800;transition:all .16s}.brand{color:#111;background:var(--accent);place-items:center;display:grid}.rail button:hover,.rail button.active{background:var(--accent);color:var(--theme-on-accent,#15171e);border-radius:16px}.rail button.active:before{content:"";background:var(--theme-text-primary,white);border-radius:0 4px 4px 0;width:4px;height:36px;position:absolute;left:0}.channels{background:var(--panel);grid-template-rows:50px 1fr 54px;display:grid}header{border-bottom:1px solid var(--theme-border,#0f1117);box-shadow:0 1px 2px var(--theme-shadow,#0005);align-items:center;gap:12px;padding:0 16px;display:flex}.channels header{justify-content:space-between}.channels header button{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0}.channels section{padding:12px 8px}.section-title{justify-content:space-between;align-items:center;display:flex}.section-title button,.channels footer button{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0}.channels h4,.members h4{color:var(--muted);margin:16px 8px 8px;font-size:11px}.channels section>div:not(.section-title){color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;border-radius:6px;padding:8px 10px}.channels section>div:hover,.channels .selected{background:var(--theme-selected,#292e3a);color:var(--theme-text-primary,#fff)}.empty-action{background:var(--accent);cursor:pointer;border:0;border-radius:6px;margin:16px 8px;padding:9px}.channels footer{background:var(--theme-panel,#151820);align-items:center;gap:9px;padding:7px;display:flex}.channels footer button{margin-left:auto}.avatar{color:#fff;background:#31435c;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-weight:700;display:grid}small{color:var(--muted);font-size:11px;display:block}.chat{background:var(--theme-surface,#20242e);grid-template-rows:50px 1fr 70px;min-width:0;display:grid}.chat header span{color:var(--muted);border-left:1px solid var(--theme-border,#414653);padding-left:12px;font-size:13px}.connection{color:var(--theme-warning,#e5a84f);margin-left:auto;font-size:11px;font-style:normal}.connection.online{color:var(--theme-success,#62cf8e)}.connection.offline{color:var(--theme-offline,#d27878)}.messages{padding:18px 20px;overflow:auto}.welcome>div{background:var(--theme-surface,#39404e);border-radius:50%;place-items:center;width:68px;height:68px;font-size:36px;display:grid}.welcome h1{margin-bottom:4px}.welcome p{color:var(--muted);margin-top:0}article{gap:12px;padding:10px 0;display:flex}article:hover{background:var(--theme-hover,#1c2029);margin:0 -20px;padding:10px 20px}article time{color:var(--muted);margin-left:8px;font-size:11px}article p{white-space:pre-wrap;margin:4px 0;line-height:1.45}.composer{background:var(--theme-control,#353a47);color:var(--theme-text-secondary,#c5cad5);border-radius:8px;align-items:center;gap:12px;margin:10px 20px 18px;padding:0 14px;display:flex}.composer input{color:var(--theme-text-primary,white);background:0 0;border:0;outline:0;flex:1;padding:14px 0}.composer button{color:var(--accent);cursor:pointer;background:0 0;border:0}.members{background:var(--panel);padding:12px 8px}.members>div{align-items:center;gap:9px;padding:7px 8px;display:flex}.toast{border-radius:8px;max-width:280px;position:absolute;bottom:20px;right:20px;background:var(--theme-danger-solid,#ad3640)!important}.auth{background:radial-gradient(circle at 50% 0,var(--theme-surface,#2b3040),var(--theme-surface,#11131a) 65%);place-items:center;height:100vh;display:grid}.auth form{background:var(--theme-surface,#20242e);border:1px solid var(--theme-border,#343a49);width:min(420px,100vw - 32px);box-shadow:0 24px 80px var(--theme-shadow-strong,#0009);border-radius:16px;padding:30px}.auth .logo{background:var(--accent);color:#111;border-radius:18px;place-items:center;width:56px;height:56px;margin:auto;font-size:28px;font-weight:900;display:grid}.auth h1{text-align:center;margin:18px 0 4px}.auth>form>p{text-align:center;color:var(--muted);margin-top:0}.auth label{color:var(--theme-text-secondary,#b8becc);margin:16px 0;font-size:12px;font-weight:700;display:block}.auth input{border:1px solid var(--theme-border-strong,#39404d);background:var(--theme-control,#141720);width:100%;color:var(--theme-text-primary,#fff);border-radius:7px;outline:0;margin-top:7px;padding:12px;display:block}.auth input:focus{border-color:var(--accent)}.primary{background:var(--accent);width:100%;color:var(--theme-on-accent,#17191f);cursor:pointer;border:0;border-radius:7px;padding:12px;font-weight:800}.link{width:100%;color:var(--theme-link,#9db8e7);cursor:pointer;background:0 0;border:0;padding:14px}.error{background:var(--theme-danger-bg,#4a2329);color:var(--theme-danger,#ffb4bc);border-radius:6px;margin:12px 0;padding:10px}@media (width<=900px){.app{grid-template-columns:64px 210px 1fr}.members{display:none}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.desktop-download{text-align:center;border-top:1px solid var(--theme-border,#39404d);color:var(--accent);padding-top:15px;font-size:13px;text-decoration:none;display:block}.desktop-download:hover{text-decoration:underline}.desktop-download:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.chat header .audio-header-button{border:1px solid var(--theme-border,#39404d);background:var(--theme-button,#292e3a);width:34px;height:34px;color:var(--theme-text-primary,#d7dbe6);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;display:grid}.chat header .audio-header-button:hover{border-color:var(--accent);color:var(--accent)}.chat header .audio-header-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.message-body{flex:1;min-width:0}.channel-posting-badge{border:1px solid var(--theme-border,#454d67);color:var(--theme-text-primary,#c8d4fb);border-radius:5px;padding:2px 5px;font-size:11px}.channel-private-badge{flex:none;font-size:12px}.channel-posting-note{color:var(--theme-text-muted,#adb8d0);overflow-wrap:anywhere;margin:5px 18px 8px;font-size:12px;line-height:1.4}.composer textarea:disabled{opacity:.7}.messages article{position:relative}.message-actions{background:var(--theme-button,#171a22);border:1px solid var(--theme-border,#353a47);border-radius:6px;display:none;position:absolute;top:-8px;right:12px;overflow:hidden}.messages article:hover .message-actions{display:flex}.message-actions button{color:var(--theme-text-secondary,#c7ccd7);cursor:pointer;background:0 0;border:0;padding:5px 9px}.reaction-picker{z-index:4;border:1px solid var(--theme-border,#3a404d);background:var(--theme-surface,#171a22);box-shadow:0 8px 24px var(--theme-shadow-strong,#0007);border-radius:8px;padding:5px;display:flex;position:absolute;top:28px;right:12px}.reaction-picker button{cursor:pointer;background:0 0;border:0;border-radius:5px;padding:5px 7px;font-size:18px}.reaction-picker button:hover{background:var(--theme-hover,#343947)}.reactions{flex-wrap:wrap;gap:5px;margin-top:7px;display:flex}.reactions button{border:1px solid var(--theme-border,#3a404d);background:var(--theme-button,#292e3a);color:var(--theme-text-primary,#cdd2de);cursor:pointer;border-radius:7px;padding:3px 8px}.reactions button.mine{border-color:var(--accent);background:var(--theme-accent-soft,#493a25);color:var(--theme-text-primary,#fff)}.reactions button span{margin-left:3px;font-size:12px}.reply-preview{color:var(--theme-text-secondary,#aeb5c5);border-left:2px solid var(--accent);white-space:nowrap;text-overflow:ellipsis;margin-bottom:5px;padding-left:8px;font-size:12px;overflow:hidden}.reply-preview b{color:var(--theme-text-primary,#d9deea)}.edited{margin-left:6px;display:inline}.deleted p{color:var(--theme-text-secondary,#777f90);font-style:italic}.composer-wrap{align-self:end;position:relative}.typing-indicator{color:var(--theme-text-secondary,#9da5b5);white-space:nowrap;font-size:11px;position:absolute;bottom:2px;left:28px}.typing-indicator b{color:var(--theme-text-primary,#d8dce5)}.typing-indicator span{min-width:12px;animation:1s ease-in-out infinite typing-pulse;display:inline-block}@keyframes typing-pulse{50%{opacity:.35}}.replying{background:var(--theme-surface,#292e3a);color:var(--theme-text-secondary,#aeb5c5);border-radius:8px 8px 0 0;align-items:center;gap:6px;margin:0 20px -10px;padding:8px 12px;font-size:12px;display:flex}.replying span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.replying button{color:var(--theme-text-primary,#d7dbe6);cursor:pointer;background:0 0;border:0;margin-left:auto}.members .member{gap:8px}.member-avatar{flex:none;position:relative}.member-avatar>i{border:2px solid var(--theme-avatar-outline,#20232d);background:var(--theme-surface,#697181);border-radius:50%;width:10px;height:10px;position:absolute;bottom:1px;right:-1px}.member-avatar>i.online{background:var(--theme-success-solid,#48c78e)}.members select{background:var(--theme-control,#292e3a);max-width:34px;color:var(--theme-text-primary,#cbd0dc);cursor:pointer;border:0;border-radius:5px;padding:4px}.members select:focus{max-width:130px}.members .kick{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0;font-size:18px}.members .kick:hover{color:var(--theme-danger,#f07b84)}.attach-button{color:var(--theme-text-secondary,#c5cad5);cursor:pointer;font-size:20px;line-height:1}.attach-button:hover{color:var(--accent)}.attach-button input{display:none}.attachment{border:1px solid var(--theme-border,#39404d);background:var(--theme-surface,#191d26);width:min(440px,100%);color:var(--theme-text-primary,#e8ebf2);border-radius:8px;align-items:center;gap:10px;margin-top:8px;padding:10px;text-decoration:none;display:flex}.attachment:hover{border-color:var(--theme-border,#596275)}.attachment.image{background:0 0;border:0;padding:0;display:block;overflow:hidden}.attachment.image img{object-fit:contain;background:var(--theme-surface,#13161d);border-radius:8px;max-width:100%;max-height:360px;display:block}.file-icon{background:var(--theme-surface,#303746);width:38px;height:38px;color:var(--accent);border-radius:8px;flex:none;place-items:center;font-size:22px;display:grid}.chat{grid-template-columns:minmax(0,1fr);height:100vh;min-height:0;overflow:hidden}.chat>.messages{scrollbar-gutter:stable;min-height:0;overflow:hidden auto}.composer-wrap{min-width:0;min-height:0}.channels section>div.unread{color:var(--theme-text-primary,#fff);align-items:center;font-weight:700;display:flex}.channels section>div.unread>span{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.unread-badge{box-sizing:border-box;background:var(--theme-badge,#596275);min-width:20px;height:20px;color:var(--theme-on-accent,#fff);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;flex:none;align-self:center;place-items:center;margin:0;padding:0 6px;font-size:11px;font-weight:650;line-height:1;display:grid}.mention-badge{background:var(--theme-danger-solid,#d24e59)}.mention{background:var(--theme-warning-bg,#705522);color:var(--theme-text-primary,#ffd890);border-radius:3px;padding:0 2px}.mention.own{background:var(--theme-warning-bg,#8a5b20);color:var(--theme-text-primary,#fff0c2)}.toast.notice{bottom:74px;background:var(--theme-success-solid,#2f6f50)!important}.chat{position:relative}.search-box{background:var(--theme-control,#141720);border:1px solid var(--theme-border,#343a49);border-radius:6px;align-items:center;width:min(260px,32vw);margin-left:auto;padding:0 7px;display:flex}.search-box input{width:100%;min-width:0;color:var(--theme-text-primary,#eef1f8);background:0 0;border:0;outline:0;padding:7px 2px;font-size:12px}.search-box button{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0}.chat header .connection{white-space:nowrap;margin-left:0}.pins-button{color:var(--theme-text-secondary,#b7bdca);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:6px 8px}.pins-button:hover{background:var(--theme-hover,#303542);color:var(--theme-text-primary,#fff)}.pins-panel{z-index:21;border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface,#171a22);width:min(420px,100% - 24px);max-height:min(560px,100vh - 80px);box-shadow:0 16px 50px var(--theme-shadow-strong,#000a);border-radius:10px;padding:8px;position:absolute;top:46px;right:12px;overflow-y:auto}.pins-title{justify-content:space-between;align-items:center;padding:8px 10px 12px;display:flex}.pins-title button{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0;font-size:20px}.pin-item{width:100%;color:var(--theme-text-primary,#e9edf5);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;gap:4px;padding:10px;display:grid}.pin-item:hover{background:var(--theme-hover,#292e3a)}.pin-item span{color:var(--theme-text-secondary,#c5cad5);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pin-item time,.pins-panel>p{color:var(--theme-text-muted,#9299aa);font-size:11px}.pinned-mark{opacity:.8;margin-left:7px;font-size:11px}.app.dm-mode{grid-template-columns:72px 240px minmax(0,1fr)}.dm-row{align-items:center;gap:9px;display:flex}.dm-row>span:nth-child(2){flex:1;min-width:0}.dm-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dm-hint{color:var(--theme-text-muted,#9299aa);padding:8px 14px;font-size:12px;line-height:1.5}.members .dm-open{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0}.members .dm-open:hover{color:var(--accent)}.dm-chat>.composer{align-self:center;width:calc(100% - 40px);margin:10px 20px 18px}.dm-error{z-index:30}.dm-chat,.channel-chat{grid-template-rows:50px minmax(0,1fr) auto}.rail .dm-home{position:relative}.dm-total{background:var(--theme-danger-solid,#d24e59);color:var(--theme-on-accent,white);border:2px solid var(--theme-rail,#101219);border-radius:10px;min-width:20px;padding:2px 5px;font-size:11px;position:absolute;bottom:-4px;right:-4px}.dm-chat header>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dm-chat textarea,.channel-chat textarea{resize:vertical;min-width:0;max-height:180px;color:var(--theme-text-primary,white);font:inherit;background:0 0;border:0;outline:0;flex:1;padding:12px 0}.dm-input-hint,.channel-input-hint{color:var(--muted);margin:-12px 20px 6px;font-size:10px}.dm-latest,.channel-latest{border:1px solid var(--theme-border,#596275);background:var(--theme-surface,#303746);color:var(--theme-text-primary,white);cursor:pointer;border-radius:15px;margin:5px auto;padding:6px 14px;display:block}.dm-context-note,.channel-context-note{color:var(--muted);text-align:center;font-size:12px}.dm-reply-link,.channel-reply-link{text-align:left;cursor:pointer;background:0 0;border-top:0;border-bottom:0;border-right:0;max-width:100%;display:block}.dm-chat .messages,.channel-chat .messages{overflow-anchor:none}.dm-close{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0;padding:4px}.dm-close:hover{color:var(--theme-text-primary,#fff)}.message-actions:focus-within,article:focus-within .message-actions{display:flex}@media (hover:none){.chat .message-actions{width:fit-content;margin-top:6px;display:flex;position:static}}@media (width<=700px){.app.dm-mode{grid-template-columns:56px minmax(0,1fr)}}.search-results{z-index:20;background:var(--theme-control,#171a22);border:1px solid var(--theme-border,#3b4251);width:min(460px,100% - 24px);max-height:min(520px,100vh - 80px);box-shadow:0 16px 50px var(--theme-shadow-strong,#000a);border-radius:10px;padding:8px;position:absolute;top:46px;right:12px;overflow-y:auto}.search-summary,.search-empty{color:var(--theme-text-muted,#9299aa);padding:9px 10px;font-size:12px}.search-results>button{width:100%;color:var(--theme-text-primary,#e9edf5);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:10px;display:block}.search-results>button:hover{background:var(--theme-hover,#292e3a)}.search-results>button span{color:var(--theme-text-secondary,#aeb5c5);font-size:12px}.search-results>button p{text-overflow:ellipsis;white-space:nowrap;margin:4px 0;overflow:hidden}.search-results>button time{color:var(--theme-text-muted,#7f8798);font-size:10px}.messages article.search-target{animation:1.8s search-flash}@keyframes search-flash{0%,to{background:0 0}25%,70%{background:var(--theme-warning-bg,#4a3c22)}}.header-actions,.channel-actions{align-items:center;gap:2px;display:flex}.channel-actions{border-left:0!important;padding-left:0!important}.channel-actions button,.mobile-nav-button{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0}.mobile-nav-button{padding:0;font-size:18px;display:none}.avatar-image{object-fit:cover}.member-status{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.load-older{border:1px solid var(--theme-border,#3d4555);background:var(--theme-surface,#252a35);color:var(--theme-text-primary,#cbd0dc);cursor:pointer;border-radius:16px;margin:0 auto 14px;padding:6px 14px;display:block}.modal-backdrop{z-index:100;background:var(--theme-backdrop,#07090dbb);place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--theme-surface,#20242e);border:1px solid var(--theme-border,#3b4251);width:min(430px,100%);box-shadow:0 24px 80px var(--theme-shadow-strong,#000b);border-radius:14px;padding:22px}.modal h2{margin:0 0 18px}.modal>input,.modal>label>input{border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#141720);width:100%;color:var(--theme-text-primary,#fff);border-radius:7px;outline:0;margin-top:7px;padding:11px;display:block}.modal>label{color:var(--theme-text-secondary,#b8becc);margin:14px 0;font-size:12px;display:block}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.modal-actions button{cursor:pointer;border:0;border-radius:7px;width:auto;padding:9px 14px}.modal-actions button:not(.primary){background:var(--theme-button,#303644);color:var(--theme-text-primary,#d9deea)}.avatar-picker{cursor:pointer;align-items:center;gap:12px;display:flex!important}.avatar-picker .avatar{width:54px;height:54px}.avatar-picker input{display:none!important}.invite-manager{width:min(620px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.invite-heading{align-items:start;gap:12px;display:flex}.invite-heading h2{overflow-wrap:anywhere;flex:1;min-width:0}.invite-heading>button{color:var(--theme-text-secondary,#c5cad5);cursor:pointer;background:0 0;border:0;font-size:22px}.invite-create{flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:18px;display:flex}.invite-create label{min-width:140px;color:var(--theme-text-secondary,#b8becc);flex:1;gap:6px;font-size:12px;display:grid}.invite-create select,.invite-create input,.invite-item>input{border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#141720);width:100%;color:var(--theme-text-primary,#eef1f8);border-radius:6px;padding:9px}.invite-create>button{cursor:pointer;border:0;border-radius:6px;padding:10px}.invite-list{gap:10px;min-width:0;display:grid}.invite-item{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface-raised,#191d26);border-radius:8px;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;padding:12px;display:grid}.invite-item:hover{background:var(--theme-hover,#191d26);margin:0;padding:12px}.invite-item>input{min-width:0}.invite-item>small,.invite-details{color:var(--theme-text-muted,#aeb5c5);font-size:12px;line-height:1.5}.invite-status{background:var(--theme-surface,#353a47);width:fit-content;color:var(--theme-text-muted,#c5cad5);border-radius:9px;padding:3px 7px;font-size:11px}.invite-status.active{color:var(--theme-success,#9ce0bc);background:var(--theme-success-bg,#254734)}.invite-item-actions{flex-wrap:wrap;gap:8px;display:flex}.invite-item-actions button{border:1px solid var(--theme-border,#3b4251);background:var(--theme-button,#303644);color:var(--theme-text-primary,#d9deea);cursor:pointer;border-radius:6px;padding:6px 9px}.invite-preview>p{line-height:1.5}.invite-preview h2{overflow-wrap:anywhere}.invite-manager button:disabled,.invite-preview button:disabled{cursor:default;opacity:.5}.rail .notifications-home{position:relative}.notification-total{box-sizing:border-box;border:2px solid var(--theme-rail,#1e1f22);background:var(--theme-danger-solid,#d24e59);width:20px;min-width:20px;height:20px;min-height:20px;color:var(--theme-on-accent,#fff);border-radius:50%;margin:0;padding:0;font-size:0;line-height:0;display:block;position:absolute;bottom:-4px;right:-4px}.notification-total:after{content:"";background:currentColor;border-radius:50%;width:4px;height:4px;margin:auto;position:absolute;inset:0}.notifications-panel{flex-direction:column;width:min(680px,100%);min-height:0;max-height:calc(100vh - 32px);display:flex}.notifications-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.notifications-filters{gap:6px;display:flex}.notifications-toolbar button{border:1px solid var(--theme-border,#3b4251);background:var(--theme-button,#303644);color:var(--theme-text-primary,#d9deea);cursor:pointer;border-radius:6px;padding:7px 9px}.notifications-filters button[aria-pressed=true]{background:var(--theme-selected,#493a25);border-color:var(--accent);color:var(--theme-text-primary,#fff)}.notifications-filters span{color:var(--theme-text-secondary,#aeb5c5);margin-left:5px}.notifications-hint{color:var(--theme-text-muted,#9299aa);font-size:11px;line-height:1.5}.notifications-list{overflow-anchor:none;scrollbar-gutter:stable;gap:8px;min-height:0;display:grid;overflow-y:auto}.notification-item{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface-raised,#191d26);border-radius:8px;align-items:start;gap:10px;min-width:0;padding:12px;display:flex}.notification-item.mention-notification{border-left:3px solid var(--accent)}.notification-item .avatar{flex:none;width:34px;height:34px;font-size:15px}.notification-jump{min-width:0;color:var(--theme-text-primary,#e9edf5);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;gap:5px;display:grid}.notification-jump small{color:var(--theme-text-muted,#aeb5c5);overflow-wrap:anywhere;font-size:11px}.notification-jump p{overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.notification-jump time{color:var(--theme-text-muted,#9299aa);font-size:10px}.notification-read{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface,#303644);color:var(--theme-text-secondary,#c5cad5);cursor:pointer;border-radius:6px;flex:none;padding:5px 8px}.notifications-empty{color:var(--theme-text-muted,#aeb5c5);text-align:center;padding:20px 5px}.notifications-older{margin:8px auto}.notifications-panel button:disabled{opacity:.5;cursor:default}.account-security-panel{width:min(640px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.account-security-panel h3{margin:18px 0 8px;font-size:16px}.security-hint{color:var(--theme-text-muted,#aeb5c5);font-size:12px;line-height:1.5}.security-status,.auth-notice{color:var(--theme-success,#9ce0bc);font-size:13px;line-height:1.5}.session-list{gap:8px;display:grid}.session-item{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface-raised,#191d26);border-radius:8px;gap:7px;min-width:0;padding:12px;display:grid}.session-current{border-color:var(--theme-success-border,#446d57)}.session-item p{color:var(--theme-text-secondary,#c5cad5);overflow-wrap:anywhere;margin:0;font-size:12px}.session-item small{color:var(--theme-text-muted,#9299aa);font-size:11px;line-height:1.5}.session-item button,.sessions-revoke-others,.profile-security-button{border:1px solid var(--theme-danger-border,#3b4251);background:var(--theme-danger-bg,#303644);color:var(--theme-danger,#d9deea);cursor:pointer;border-radius:6px;width:fit-content;padding:7px 10px}.sessions-revoke-others{margin-top:10px}.password-change{gap:12px;display:grid}.password-change label{color:var(--theme-text-secondary,#b8becc);gap:6px;font-size:12px;display:grid}.password-change input{border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#141720);width:100%;min-width:0;color:var(--theme-text-primary,#fff);border-radius:7px;padding:10px}.password-change button{cursor:pointer;border:0;border-radius:7px;padding:10px}.account-security-panel button:disabled{opacity:.5;cursor:default}.moderation-open{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface,#252a35);width:100%;color:var(--theme-text-primary,#cbd0dc);text-align:left;cursor:pointer;border-radius:6px;margin-bottom:12px;padding:8px;display:block}.moderation-panel{flex-direction:column;width:min(680px,100%);min-height:0;max-height:calc(100vh - 32px);display:flex}.moderation-tabs{flex-wrap:wrap;gap:8px;display:flex}.moderation-tabs button,.moderation-actions button,.moderation-actions select,.unban-member{border:1px solid var(--theme-danger-border,#3b4251);background:var(--theme-danger-bg,#303644);color:var(--theme-danger,#d9deea);cursor:pointer;border-radius:6px;padding:7px 9px}.moderation-tabs button[aria-pressed=true]{background:var(--theme-selected,#493a25);border-color:var(--accent);color:var(--theme-text-primary,#fff)}.moderation-tabs span{color:var(--theme-text-secondary,#aeb5c5);margin-left:5px}.moderation-hint{color:var(--theme-text-muted,#aeb5c5);font-size:12px;line-height:1.5}.moderation-list{scrollbar-gutter:stable;gap:8px;min-height:0;display:grid;overflow-y:auto}.moderation-panel article,.moderation-panel article:hover{border:1px solid var(--theme-border,#3b4251);background:var(--theme-hover,#191d26);border-radius:8px;flex-wrap:wrap;align-items:start;gap:10px;min-width:0;margin:0;padding:12px;display:flex}.moderation-person{overflow-wrap:anywhere;flex:1;min-width:0}.moderation-person small{font-size:11px;line-height:1.5}.moderation-actions{flex-wrap:wrap;align-items:start;gap:6px;display:flex}.moderation-person .ban-reason{white-space:pre-wrap;margin:8px 0;font-size:13px;line-height:1.5}.moderation-panel button:disabled,.moderation-panel select:disabled,.ban-confirm button:disabled{opacity:.5;cursor:default}.danger-action{color:var(--theme-danger,#ffb4bc)!important;background:var(--theme-danger-bg,#4a2329)!important;border:1px solid var(--theme-danger-border,#75383f)!important}.members .ban-member{color:var(--theme-danger,#d59b9f);cursor:pointer;background:0 0;border:0;padding:0;font-size:17px}.ban-confirm{width:min(500px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.ban-target-name{overflow-wrap:anywhere;font-weight:700}.ban-confirm label{color:var(--theme-text-secondary,#b8becc);gap:6px;font-size:12px;display:grid}.ban-confirm textarea{resize:vertical;border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#141720);width:100%;min-height:80px;color:var(--theme-text-primary,#fff);border-radius:7px;padding:10px}.ban-confirm form>small{text-align:right;margin-top:4px}.channel-layout-open{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface,#252a35);width:100%;color:var(--theme-text-primary,#cbd0dc);text-align:left;cursor:pointer;border-radius:6px;margin-bottom:12px;padding:8px;display:block}.channel-layout-open:disabled{opacity:.5;cursor:default}.channels{min-height:0}.channels section{min-height:0;overflow-y:auto}.channels section>.channel-group,.channels section>.channel-group:hover{cursor:default;background:0 0;padding:0}.category-toggle{width:100%;color:var(--theme-text-muted,#9299aa);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:8px 4px;font-size:11px;display:flex}.category-toggle>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.category-toggle:hover,.category-toggle.selected-group{color:var(--theme-text-muted,#fff)}.category-toggle.selected-group{background:var(--theme-selected,#292e3a);border-radius:6px}.channel-row{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;border-radius:6px;align-items:center;gap:6px;padding:8px 10px;display:flex}.channel-row:hover,.channel-row.selected{background:var(--theme-selected,#292e3a);color:var(--theme-text-primary,#fff)}.channel-row.unread{color:var(--theme-text-primary,#fff);font-weight:700}.channel-row>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.channel-topic-open{color:var(--theme-text-secondary,#aeb4c2);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:6px;padding:3px;display:flex}.channel-topic-open>span{display:none}.channel-chat header>b{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:180px;overflow:hidden}.channel-layout-panel{flex-direction:column;width:min(760px,100%);min-height:0;max-height:calc(100vh - 32px);display:flex}.layout-hint{color:var(--theme-text-muted,#aeb5c5);font-size:12px;line-height:1.5}.layout-list{scrollbar-gutter:stable;gap:10px;min-height:0;display:grid;overflow-y:auto}.layout-list h3,.layout-list h4{overflow-wrap:anywhere;margin:10px 0 0}.layout-list h3{font-size:16px}.layout-list h4{color:var(--theme-text-muted,#aeb5c5);font-size:13px}.channel-layout-panel label{color:var(--theme-text-secondary,#b8becc);gap:6px;min-width:0;font-size:12px;display:grid}.channel-layout-panel input,.channel-layout-panel textarea,.channel-layout-panel select{border:1px solid var(--theme-border-strong,#3b4251);background:var(--theme-control,#141720);width:100%;min-width:0;color:var(--theme-text-primary,#fff);border-radius:6px;padding:9px}.channel-layout-panel textarea{resize:vertical;min-height:60px}.channel-visibility-fields{gap:10px;min-width:0;display:grid}.channel-visibility-fields>.layout-hint{margin:0}.channel-visibility-fields fieldset{border:1px solid var(--theme-border,#3b4251);border-radius:6px;gap:8px;min-width:0;margin:0;padding:10px;display:grid}.channel-visibility-fields legend{color:var(--theme-text-secondary,#b8becc);padding:0 4px;font-size:12px}.channel-layout-panel .channel-acl-option{cursor:pointer;align-items:flex-start;gap:8px;min-height:28px;padding-block:4px;display:flex}.channel-layout-panel .channel-acl-option input{flex:none;width:auto;margin:1px 0 0}.channel-acl-option>span{overflow-wrap:anywhere;min-width:0;line-height:1.5}.channel-acl-members{scrollbar-gutter:stable;min-width:0;max-height:180px;overflow-y:auto}.channel-layout-panel button{border:1px solid var(--theme-border,#3b4251);background:var(--theme-button,#303644);color:var(--theme-text-primary,#d9deea);cursor:pointer;border-radius:6px;width:fit-content;min-height:36px;padding:7px 9px}.channel-layout-panel button:disabled,.channel-layout-panel input:disabled,.channel-layout-panel textarea:disabled,.channel-layout-panel select:disabled{opacity:.5;cursor:default}.channel-layout-panel .invite-heading>button{background:0 0;border:0;min-height:24px;padding:0}.layout-create-category{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.layout-create-category label{flex:1;min-width:140px}.layout-create-channel{border:1px solid var(--theme-border,#3b4251);background:var(--theme-surface,#191d26);border-radius:8px;padding:10px}.layout-create-channel summary{cursor:pointer;color:var(--theme-text-primary,#cbd0dc);font-size:13px}.layout-create-channel form{gap:10px;margin-top:10px;display:grid}.channel-layout-panel article,.channel-layout-panel article:hover{border:1px solid var(--theme-border,#3b4251);background:var(--theme-hover,#191d26);border-radius:8px;gap:10px;min-width:0;margin:0;padding:12px;display:grid}.layout-category form{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.layout-category form label{flex:1;min-width:130px}.layout-channel form,.layout-channel-group{gap:10px;display:grid}.layout-channel>b{overflow-wrap:anywhere}.layout-channel form>small{text-align:right}.layout-row-actions{flex-wrap:wrap;gap:6px;display:flex}.layout-row-actions button[title$=вверх],.layout-row-actions button[title$=вниз]{min-width:36px}.channel-topic-dialog{width:min(560px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.channel-topic-dialog>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.confirmation-modal{max-height:calc(100vh - 32px);overflow-y:auto}.confirmation-copy{overflow-wrap:anywhere;line-height:1.5}@media (width>=1600px){.channel-topic-open{flex:1;min-width:0;max-width:150px}.channel-topic-open>span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}}@media (width<=700px){.channel-chat header{gap:6px;padding-inline:10px}.channel-chat header>b{flex:1;max-width:none}.channel-chat header .search-box{width:min(120px,28vw)}.channel-chat header .pins-button{padding-inline:3px}.moderation-actions{flex-basis:100%}.moderation-actions button,.unban-member{min-height:36px}}@media (width<=380px){.channel-chat header{gap:3px;padding-inline:6px}.channel-chat header:has(.channel-private-badge){gap:1px;padding-inline:4px}}@media (width<=700px){.channel-chat header>b{min-width:32px}.channel-chat header .search-box{flex:0 100px;min-width:55px}.channel-posting-badge{flex:none;font-size:0}.channel-posting-badge:before{content:"📢";font-size:12px}.app{grid-template-columns:56px minmax(0,1fr)}.rail{padding-inline:4px}.rail button,.brand{width:44px;height:44px}.channels{z-index:40;width:min(250px,100vw - 56px);box-shadow:12px 0 30px var(--theme-shadow-strong,#0009);transition:transform .18s;position:fixed;top:0;bottom:0;left:56px;transform:translate(calc(-100% - 56px))}.channels.mobile-open{transform:translate(0)}.mobile-nav-button{display:block}.chat header>span:not(.channel-actions){display:none}.search-box{width:min(180px,42vw)}.connection{display:none}.messages{padding-inline:12px}.composer,.replying{margin-inline:10px}}:root{color:var(--theme-text-primary,#f2f3f5);background:var(--theme-page,#1e1f22);--accent:var(--theme-accent,#9b8aff);--accent-hover:var(--theme-accent-hover,#ad9dff);--panel:var(--theme-panel,#2b2d31);--muted:var(--theme-text-muted,#a6aab1);--surface:var(--theme-surface,#313338);--surface-raised:var(--theme-surface-raised,#383a40);--stroke:var(--theme-border,#43454c);--success:var(--theme-success,#57c78a);--danger:var(--theme-danger,#f27780);--community-icon-radius:17px;font-family:Segoe UI,Inter,system-ui,sans-serif}body{font-size:14px}button,input,textarea,select{font-family:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button .ui-icon{pointer-events:none}.ui-icon{vertical-align:middle;flex:none;display:inline-block}[hidden]{display:none!important}*{scrollbar-width:thin;scrollbar-color:var(--theme-scrollbar,#1e1f22) transparent}.app{grid-template-rows:32px minmax(0,1fr);grid-template-columns:72px 240px minmax(0,1fr) 240px;height:100dvh}.app>.rail{grid-area:2/1}.app>.channels{grid-area:2/2}.app>.chat{grid-area:2/3;height:100%;min-height:0}.app>.members{grid-area:2/4}.app>.app-topbar{background:var(--theme-surface,#1e1f22);border-bottom:1px solid var(--theme-border,#27282c);min-width:0;height:32px;box-shadow:none;grid-area:1/1/auto/-1;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;display:flex}.app-history{flex:none;gap:4px;display:flex}.app-history button,.app-notifications{width:28px;height:26px;color:var(--theme-text-secondary,#aeb3be);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.app-history button{font-size:20px;line-height:1}.app-history button:hover,.app-notifications:hover{background:var(--theme-hover,#35373d);color:var(--theme-text-primary,#f2f3f5)}.app-section-title{min-width:0;color:var(--theme-text-secondary,#c4c9d4);justify-content:center;align-items:center;gap:7px;margin-left:auto;margin-right:auto;font-size:12px;display:flex}.app-section-title>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-notifications{flex:none;position:relative}.app-notifications .unread-badge{min-width:12px;height:12px;padding:0 3px;font-size:8px;line-height:1;position:absolute;top:0;right:-5px}.rail{background:var(--theme-rail,#1e1f22);gap:10px;padding:12px 10px;overflow:hidden auto}.rail button,.brand{width:48px;height:48px;color:var(--theme-text-primary,#dbdee1);background:var(--theme-button,#313338);border-radius:var(--community-icon-radius);flex:none;place-items:center;transition:background-color .16s,color .16s;display:grid}.brand{color:#242125;background:#f3a63b;margin-bottom:3px;font-size:22px;position:relative}.brand:after{content:"";background:var(--theme-border,#3d3f45);width:32px;height:1px;position:absolute;bottom:-8px}.rail button:hover,.rail button.active{border-radius:var(--community-icon-radius);background:var(--accent);color:var(--theme-on-accent,#191725)}.rail button{position:relative}.rail button.active:before{height:32px;left:-10px}.rail button:not(.active):hover:before{content:"";background:var(--theme-text-secondary,#dbdee1);border-radius:0 3px 3px 0;width:4px;height:18px;position:absolute;left:-10px}.rail .add,.rail .join{color:var(--success)}.rail .add:hover,.rail .join:hover{color:var(--theme-text-primary,#fff);background:var(--theme-success-solid,#248a5d)}.channels{background:var(--theme-panel,#2b2d31);grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0}.app>.channels{grid-template-rows:minmax(0,1fr) auto}.channels>.community-sidebar-content{scrollbar-width:none;scrollbar-gutter:auto;overscroll-behavior:contain;min-height:0;padding:0 8px 20px;scroll-padding-top:58px;overflow:hidden auto}.channels>.community-sidebar-content::-webkit-scrollbar{display:none}.community-sidebar-content>.community-heading{border-bottom:1px solid var(--theme-border,#222327);width:calc(100% + 16px);height:50px;min-height:50px;box-shadow:0 1px 4px var(--theme-shadow,#0003);z-index:12;background:var(--theme-panel,#2b2d31);gap:0;margin:0 -8px;padding:0;transition:background-color .16s,box-shadow .16s;position:sticky;top:0}.community-sidebar-content>.community-heading>b{white-space:nowrap;text-overflow:ellipsis;padding:0 16px;overflow:hidden}.community-sidebar-content>.community-heading>.community-navigation-menu{flex:1;width:auto;min-width:0}.community-sidebar-content>.community-heading .community-menu-trigger{gap:5px;padding-inline:12px}.community-heading .community-menu-trigger>b{flex:1;align-items:center;gap:7px;min-width:0;display:flex}.community-heading .community-menu-trigger>b>span:not(.verified-community-badge){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.community-heading .community-menu-trigger>.ui-icon{margin-left:0}.channels .community-heading .community-header-invite{width:32px;height:32px;color:var(--theme-text-primary,#f2f3f5);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin-right:8px;padding:0;display:grid}.channels .community-heading .community-header-invite:hover{background:var(--theme-hover,#ffffff1a)}.channels.has-community-banner .community-heading[data-banner-scrolled=false]{box-shadow:none;background:0 0;border-color:#0000}.channels.has-community-banner .community-heading[data-banner-scrolled=false]:before{content:"";z-index:-1;pointer-events:none;opacity:0;background:linear-gradient(#11131bdd 0%,#11131b80 65%,#11131b00 100%);transition:opacity .16s;position:absolute;inset:0}.channels.has-community-banner .community-heading[data-banner-scrolled=false]:hover:before{opacity:1}.channels.has-community-banner .community-heading[data-banner-scrolled=false]:has(:focus-visible):before{opacity:1}.channels.has-community-banner .community-heading[data-banner-scrolled=false]:has(.community-menu-trigger[aria-expanded=true]):before{opacity:1}.channels.has-community-banner .community-heading[data-banner-scrolled=false] .community-menu-trigger:hover,.channels.has-community-banner .community-heading[data-banner-scrolled=false] .community-menu-trigger[aria-expanded=true]{background:0 0}.channels.has-community-banner .community-heading[data-banner-scrolled=false] .community-menu-trigger{text-shadow:0 1px 3px #000b}.app>.channels>section>.channel-group,.app>.channels>section>.channel-group:hover{cursor:default;background:0 0;margin-bottom:12px;padding:0}.category-heading{align-items:center;height:30px;display:flex}.category-heading .category-toggle{background:0 0;border:0;align-items:center;gap:5px;width:calc(100% - 26px);min-width:0;height:30px;margin:0;padding:0 2px;display:flex}.category-toggle>span{text-align:left;flex:1}.category-toggle .ui-icon.collapsed{transform:rotate(-90deg)}.category-more,.channel-row-more{width:26px;height:30px;color:var(--theme-text-secondary,#a6aab1);opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid}.category-heading:hover .category-more,.category-heading:focus-within .category-more,.channel-row-wrap:hover .channel-row-more,.channel-row-wrap:focus-within .channel-row-more{opacity:1}.channel-row-wrap{border-radius:5px;align-items:center;width:100%;height:37px;margin:1px 0;display:flex}.channels .channel-row-wrap>.channel-row,.channels .channel-row-wrap>.channel-row:hover{width:calc(100% - 26px);min-width:0;height:35px;min-height:35px;margin:0;padding:6px 7px}.channel-row-wrap>.channel-row>span{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.channel-row-wrap>.navigation-menu{width:26px}.channel-row-wrap:has(.channel-row.selected){background:var(--theme-selected,#404249)}.channel-row-wrap:hover{background:var(--theme-hover,#35373c)}.category-more:hover,.channel-row-more:hover{background:var(--theme-hover,#484a52);color:var(--theme-text-primary,#fff)}.context-menu-root{display:contents}.home-search{background:var(--theme-control,#1e1f22);width:calc(100% - 16px);color:var(--theme-text-secondary,#9ba0aa);border-radius:5px;align-items:center;gap:6px;margin:8px;padding:0 8px;display:flex}.home-search input{width:100%;min-width:0;color:var(--theme-text-primary,#dbdee1);background:0 0;border:0;padding:9px 0;font-size:11px}.home-navigation{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}.home-navigation button{width:100%;min-height:39px;color:var(--theme-text-secondary,#aeb4c1);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:10px;padding:8px 9px;font-weight:500;display:flex}.home-navigation button>span{flex:1;min-width:0}.home-navigation button:hover{background:var(--theme-hover,#36383f);color:var(--theme-text-primary,#f2f3f5)}.home-navigation button.selected{background:var(--theme-selected,#404249);color:var(--theme-text-primary,#fff)}.home-search-person{width:100%;color:var(--theme-text-primary,#f2f3f5);text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;padding:9px;display:flex}.home-search-person:hover{background:var(--theme-hover,#3b3d43)}.home-search-person>span:not(.avatar){text-overflow:ellipsis;min-width:0;overflow:hidden}.channels h4,.members h4{color:var(--theme-text-muted,#a6aab1);letter-spacing:.035em;margin:15px 8px 8px;font-size:11px;font-weight:700}.channels .section-title{padding:0 2px}.channels .section-title button{border-radius:4px;place-items:center;width:26px;height:26px;display:grid}.channels .section-title button:hover{background:var(--theme-hover,#3f4147);color:var(--theme-text-primary,#fff)}.category-toggle{min-height:28px;color:var(--theme-text-muted,#a6aab1);text-transform:uppercase;letter-spacing:.02em;font-size:11px;font-weight:650}.category-toggle>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.channels .channel-row{text-align:left;width:100%;color:var(--theme-text-secondary,#b1b5bc);background:0 0;border:0;border-radius:5px;gap:8px;min-height:35px;margin-block:2px;padding:6px 9px;font-size:14px;font-weight:500;display:flex}.channel-row>.ui-icon{color:var(--theme-text-secondary,#969ba5)}.channels .channel-row:hover{background:var(--theme-hover,#35373c);color:var(--theme-text-primary,#dbdee1)}.channels .channel-row.selected{background:var(--theme-selected,#404249);color:var(--theme-text-primary,#fff)}.channels .channel-row.unread{color:var(--theme-text-primary,#f2f3f5);font-weight:650}.channels .channel-row.selected>.ui-icon{color:var(--theme-text-primary,#dbdee1)}.friends-navigation{color:var(--theme-text-secondary,#b1b5bc);text-align:left;background:0 0;border-color:#0000;border-radius:6px;width:100%;padding:11px}.friends-navigation:hover{color:var(--theme-text-primary,#fff);background:var(--theme-hover,#393b41)}.dm-row{min-height:50px}.dm-row .avatar{width:32px;height:32px}.dm-row small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dm-close{opacity:0}.dm-row:hover .dm-close,.dm-row:focus-within .dm-close{opacity:1}.channels>.account-bar{background:var(--theme-account-surface,#232428);padding:0 6px}.app .account-bar{z-index:44;background:var(--theme-account-surface,#302b39);border:1px solid var(--theme-accent,#423a50);width:calc(100% + 60px);box-shadow:0 3px 10px var(--theme-shadow,#0002);border-radius:9px;flex-direction:column;align-items:stretch;gap:0;margin:0 6px 6px -66px;padding:0;display:flex;position:relative}.account-profile-row{align-items:center;gap:4px;min-height:60px;padding:6px;display:flex}.account-profile-row button,.voice-sidebar-panel button{cursor:pointer;margin-left:0}.profile-trigger{min-width:0;color:var(--theme-text-primary,#f2f3f5);text-align:left;background:0 0;border:0;border-radius:5px;flex:1;align-items:center;gap:7px;padding:4px;display:flex}.profile-trigger:hover{background:var(--theme-accent-soft,#4a415a)}.profile-trigger>span:last-child{flex:1;min-width:0}.profile-trigger b,.profile-trigger small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.profile-trigger b{font-size:12px}.profile-trigger small{color:var(--theme-text-muted,#b4aabc);margin-top:2px;font-size:10px}.profile-avatar{flex:none;position:relative}.profile-avatar .avatar{width:32px;height:32px}.profile-avatar>i{background:var(--theme-success-solid,#57c78a);border:2px solid var(--theme-avatar-outline,#302b39);border-radius:50%;width:10px;height:10px;position:absolute;bottom:-1px;right:-1px}.account-voice-controls{flex:none;gap:3px;display:flex}.account-control-pair{border-radius:5px;display:flex}.account-control-pair:hover{background:var(--theme-accent-soft,#4a415a)}.account-bar .account-control-pair button{width:29px;height:32px;color:var(--theme-text-muted,#dfd7e9);background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid}.account-control-pair .account-device-arrow{width:12px}.account-bar .account-control-pair button[aria-pressed=true]{color:var(--theme-danger,#f29aa6)}.account-bar .account-control-pair button:hover{color:var(--theme-text-muted,#fff);background:var(--theme-accent-soft,#554c66)}.account-profile-row>.account-navigation-menu{width:30px}.app .account-profile-row .account-menu-trigger{width:30px;min-width:30px;height:34px;color:var(--theme-text-muted,#dfd7e9);background:0 0;border:0;place-items:center;gap:0;margin:0;padding:0;display:grid}.app .account-profile-row .account-menu-trigger:hover{background:var(--theme-hover,#51485f)}.voice-sidebar-panel{border-bottom:1px solid var(--theme-border,#494052);background:var(--theme-panel,#27262e);border-radius:9px 9px 0 0;flex-wrap:wrap;align-items:center;gap:5px;padding:10px 8px;display:flex}.voice-sidebar-room{min-width:0;color:var(--theme-success,#70cb9c);text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:2px;display:flex}.voice-sidebar-room>span{flex:1;min-width:0}.voice-sidebar-room b,.voice-sidebar-room small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.voice-sidebar-room b{font-size:12px;font-weight:650}.voice-sidebar-room small{color:var(--theme-success,#b2acbd);margin-top:3px;font-size:10px}.voice-sidebar-disconnect{width:30px;height:32px;color:var(--theme-text-secondary,#d3ccd8);background:0 0;border:0;border-radius:5px;flex:none;place-items:center;padding:0;display:grid}.voice-sidebar-disconnect:hover{background:var(--theme-danger-hover,#443544);color:var(--theme-danger,#f29aa6)}.voice-sidebar-media{flex-basis:100%;gap:8px;margin-top:7px;display:flex}.account-bar .voice-sidebar-media button{background:var(--theme-button,#39363f);height:34px;color:var(--theme-text-muted,#e5e0ea);border:0;border-radius:7px;flex:1;place-items:center;padding:0;display:grid}.account-bar .voice-sidebar-media button:hover,.account-bar .voice-sidebar-media button[aria-pressed=true]{background:var(--theme-selected,#635477)}.voice-sidebar-error{max-height:64px;color:var(--theme-danger,#f3a8b2);flex-basis:100%;margin:4px 0;font-size:11px;line-height:1.4;overflow-y:auto}.voice-sidebar-retry{border:1px solid var(--theme-border,#62576f);background:var(--theme-panel,#433949);color:var(--theme-text-primary,#efdeff);border-radius:5px;flex-basis:100%;padding:6px;font-size:11px}.app .rail{padding-bottom:calc(var(--account-footer-height,70px) + 10px)}.account-navigation-menu{width:100%}.channels footer .account-menu-trigger{width:100%;height:52px;color:var(--theme-text-muted,#f2f3f5);text-align:left;border:0;border-radius:6px;align-items:center;gap:9px;margin:0;padding:5px 6px;display:flex}.account-menu-trigger>span:not(.avatar){flex:1;min-width:0}.account-menu-trigger b,.account-menu-trigger small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.account-menu-trigger b{font-size:13px}.account-menu-trigger small{color:var(--theme-text-muted,#a6aab1);margin-top:2px;font-size:11px}.account-menu-trigger>.ui-icon{color:var(--theme-text-muted,#b5bac1)}.account-menu-trigger:hover{background:var(--theme-hover,#35373c)}.avatar{background:#555084;width:36px;height:36px}.navigation-menu{flex:none;position:relative}.community-navigation-menu{width:100%;height:100%}.community-menu-trigger{text-align:left;border:0;justify-content:space-between;align-items:center;width:100%;height:100%;padding:0 16px;display:flex;color:var(--theme-text-primary,#f2f3f5)!important}.community-menu-trigger b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;overflow:hidden}.community-menu-trigger:hover,.community-menu-trigger[aria-expanded=true]{background:var(--theme-hover,#35373c)}.community-menu-trigger .ui-icon{margin-left:12px;transition:transform .18s}.community-menu-trigger[aria-expanded=true] .ui-icon{transform:rotate(180deg)}.navigation-menu-panel{z-index:80;background:var(--theme-surface,#18191c);max-height:calc(100dvh - 24px);color:var(--theme-text-primary,#dbdee1);border:1px solid var(--theme-border,#3b3d44);box-shadow:0 12px 36px var(--theme-shadow,#0006);transform-origin:0 0;border-radius:8px;padding:6px;animation:.16s ease-out popover-in;position:fixed;overflow-y:auto}.navigation-menu-panel.above{transform-origin:0 100%}.navigation-menu-group{color:var(--theme-text-secondary,#969ba5);letter-spacing:.055em;text-transform:uppercase;padding:10px 9px 5px;font-size:10px;font-weight:700}.navigation-menu-group:not(:first-child){border-top:1px solid var(--theme-border,#303237);margin-top:5px}.navigation-menu-item{text-align:left;width:100%;min-height:36px;color:var(--theme-text-primary,#dbdee1);cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:10px;padding:9px;font-size:13px;display:flex}.navigation-menu-item span{overflow-wrap:anywhere;min-width:0}.navigation-menu-item .ui-icon{opacity:.85}.navigation-menu-item:hover,.navigation-menu-item:focus-visible{background:var(--theme-accent-hover,#7662db);color:var(--theme-on-accent,#fff);outline:none}.navigation-menu-item.danger{color:var(--theme-danger,#f27780)}.navigation-menu-item.danger:hover,.navigation-menu-item.danger:focus-visible{background:var(--theme-danger-solid,#a73540);color:var(--theme-on-accent,#fff)}.chat{background:var(--theme-surface,#313338)}.chat>header{background:var(--theme-surface,#313338);border-bottom:1px solid var(--theme-border,#25262a);box-shadow:0 1px 4px var(--theme-shadow,#0002);gap:10px;min-width:0;padding:0 18px}.chat>header>b{white-space:nowrap;text-overflow:ellipsis;flex:none;max-width:min(26vw,260px);font-size:15px;overflow:hidden}.channel-title{align-items:center;gap:8px;display:flex}.channel-title>.ui-icon{color:var(--theme-text-secondary,#969ba5)}.channel-title>span{text-overflow:ellipsis;overflow:hidden}.chat header .channel-title>span{color:var(--theme-text-primary,#f2f3f5);border:0;padding:0;font-size:15px}.chat>header .channel-topic-open{color:var(--theme-text-secondary,#a6aab1);border:0;border-left:1px solid var(--theme-border,#45474e);text-overflow:ellipsis;white-space:nowrap;background:0 0;border-radius:0;flex:1;min-width:0;padding:0 6px 0 12px;font-size:12px;overflow:hidden}.channel-topic-open>span{border:0!important;padding:0!important}.channel-menu-trigger,.chat header .audio-header-button,.pins-button,.members-toggle,.mobile-nav-button,.dm-contact-menu-toggle,.direct-call-start{min-width:30px;min-height:32px;color:var(--theme-text-secondary,#b5bac1);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:5px;display:grid}.channel-menu-trigger:hover,.chat header .audio-header-button:hover,.pins-button:hover,.members-toggle:hover,.mobile-nav-button:hover,.dm-contact-menu-toggle:hover,.direct-call-start:hover{color:var(--theme-text-primary,#fff);background:var(--theme-hover,#41434a)}.pins-button{gap:3px;display:flex}.pins-button small{font-size:10px}.members-toggle,.mobile-nav-button{display:none}.chat header>.search-box{background:var(--theme-control,#1e1f22);border:0;border-radius:4px;flex:none;width:min(210px,21vw);min-width:90px;height:29px}.search-box input{height:29px;padding:4px 9px;font-size:12px}.connection{background:var(--theme-warning,#dfb765);border-radius:50%;width:8px;min-width:8px;height:8px;margin-left:0;font-size:0}.connection.online{background:var(--theme-success-solid,#57c78a)}.connection.offline{background:var(--theme-danger-solid,#f27780)}.messages{scroll-behavior:auto;padding:20px 24px}.messages article{border-radius:0;gap:14px;margin:0 -24px;padding:8px 24px;transition:background-color .15s;position:relative}.messages article:hover,.messages article:focus-within{background:var(--theme-hover,#2e3035);margin:0 -24px;padding:8px 24px}.messages article>.avatar{width:40px;height:40px;margin-top:2px}.message-body>b{color:var(--theme-text-primary,#f2f3f5);font-size:14px;font-weight:650}.messages article time{color:var(--theme-text-muted,#a6aab1);margin-left:8px;font-size:10px}.messages article p{color:var(--theme-text-primary,#dbdee1);overflow-wrap:anywhere;margin:4px 0 2px;font-size:14px;line-height:1.5}.message-actions{z-index:6;opacity:0;pointer-events:auto;border:1px solid var(--theme-border,#242529);box-shadow:0 2px 8px var(--theme-shadow,#0003);background:var(--theme-button,#313338);border-radius:6px;align-items:center;padding:2px;transition:opacity .15s,transform .15s;display:flex;position:absolute;top:-13px;right:18px;transform:translateY(3px)}.messages article:hover .message-actions,.messages article:focus-within .message-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.message-actions button{min-width:29px;min-height:28px;color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:3px;place-items:center;padding:4px;display:grid}.message-actions button:hover{background:var(--theme-hover,#42444b);color:var(--theme-text-primary,#fff)}.reaction-picker{z-index:15;background:var(--theme-surface,#232428);border-color:var(--theme-border,#43454c);position:relative}.reactions button{background:var(--theme-button,#292a2e);border-color:var(--theme-border,#44434c);color:var(--theme-text-primary,#dbdee1)}.reactions .mine{background:var(--theme-accent-soft,#45405e);border-color:var(--theme-accent,#9b8aff)}.composer{background:var(--theme-control,#383a40);border-radius:8px;min-height:54px;margin:9px 16px 10px}.composer.attachment-composer{display:block}.composer-input-row{align-items:center;gap:12px;width:100%;min-width:0;display:flex}.composer-input-row>textarea,.composer-input-row>.channel-message-input{flex:1;min-width:0}.composer-input-row>button{width:32px;height:32px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;display:grid}.composer-input-row>button:hover:not(:disabled){background:var(--theme-hover,#484653)}.composer textarea{color:var(--theme-text-primary,#dbdee1);min-height:46px;padding-block:13px;font-size:14px;line-height:1.45}.composer textarea::placeholder{color:var(--theme-placeholder,#969ba5)}.composer>button{width:34px;height:34px;color:var(--accent);border-radius:5px;place-items:center;display:grid}.composer>button:hover:not(:disabled){background:var(--theme-hover,#484653)}.attach-button{color:var(--theme-text-secondary,#b5bac1);place-items:center;width:30px;height:30px;padding:0;display:grid}.channel-input-hint,.typing-indicator,.dm-input-hint{color:var(--theme-text-muted,#a6aab1);margin-inline:18px;margin-bottom:6px;font-size:10px;line-height:1.4}.replying{background:var(--theme-surface,#292b30);border-color:var(--theme-border,#43454c);border-radius:7px 7px 0 0;margin:0 16px}.welcome{margin-top:max(20px,12vh)}.welcome>div{color:var(--theme-text-primary,#dbdee1);background:var(--theme-surface,#41434a);font-size:30px}.welcome h1{letter-spacing:-.025em;font-size:27px}.welcome p{font-size:13px}.members{background:var(--theme-panel,#2b2d31);min-width:0;min-height:0;padding:8px;overflow:hidden auto}.members>.members-heading{justify-content:space-between;padding:4px 0 3px;display:flex}.members-heading h4{margin:12px 8px 10px}.members-drawer-close{color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;display:none}.members>.member{border-radius:6px;gap:9px;min-height:56px;padding:7px 8px;position:relative}.members>.member:hover{background:var(--theme-hover,#35373c)}.member-name{flex:1;min-width:0}.member-name>b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.member-name small{margin-top:2px;font-size:10px}.member-menu-trigger{color:var(--theme-text-secondary,#a6aab1);cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;width:24px;height:28px;padding:2px;display:grid}.member:hover .member-menu-trigger,.member:focus-within .member-menu-trigger,.member-menu-trigger[aria-expanded=true]{opacity:1}.member-menu-trigger:hover{color:var(--theme-text-primary,#fff);background:var(--theme-hover,#44464e)}.toast{z-index:110;max-width:min(380px,100vw - 32px);color:var(--theme-on-accent,#fff);box-shadow:0 8px 28px var(--theme-shadow,#0005);border:1px solid var(--theme-danger-border,#bd5360);padding:13px 16px;font-size:13px;animation:.18s ease-out toast-in;position:fixed;top:64px;bottom:auto;right:20px;background:var(--theme-danger-solid,#9b3643)!important}.toast.notice{border-color:var(--theme-success-border,#446c57);background:var(--theme-success-solid,#293d34)!important}.toast-stack{z-index:110;gap:8px;width:min(380px,100vw - 32px);display:grid;position:fixed;top:64px;right:20px}.toast-stack>.toast{align-items:flex-start;gap:12px;width:100%;max-width:100%;display:flex;position:relative;top:auto;bottom:auto;right:auto}.toast>span{overflow-wrap:anywhere;flex:1;min-width:0}.toast>button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.modal-backdrop{background:var(--theme-backdrop,#08090bcc);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:.18s backdrop-in}.modal{background:var(--theme-surface,#313338);border-color:var(--theme-border,#45474e);border-radius:12px;animation:.19s ease-out dialog-in}.modal h2{letter-spacing:-.015em;font-size:20px}.modal input,.modal select,.modal textarea{background:var(--theme-control,#232428);color:var(--theme-text-primary,#dbdee1);border-color:var(--theme-border-strong,#45474e)}.modal>label{color:var(--theme-text-secondary,#b5bac1)}.primary{background:var(--theme-accent,#9b8aff);color:var(--theme-on-accent,#181523)}.primary:hover:not(:disabled){background:var(--theme-accent-hover,#ad9dff)}.modal-actions button{font-size:13px}.profile-security-button{display:none}.auth{background:radial-gradient(ellipse at 30% 0, var(--theme-accent-soft,#49415f) 0, var(--theme-surface,#25262c) 42%, var(--theme-surface,#1e1f22) 100%)}.auth form{background:var(--theme-surface,#313338);border:1px solid var(--theme-border,#44444f);border-radius:12px}.auth .logo{background:#f3a63b}.auth input{background:var(--theme-control,#232428);border-color:var(--theme-border-strong,#43454c)}.server-settings-panel{grid-template-rows:auto minmax(0,1fr);grid-template-columns:220px minmax(0,1fr);gap:0;width:min(1060px,100%);height:min(820px,100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;display:grid}.server-settings-heading{border-bottom:1px solid var(--theme-border,#45474e);grid-column:1/-1;margin:0;padding:20px 24px}.server-settings-heading h2{margin:0;font-size:19px}.server-settings-tabs{background:var(--theme-surface,#2b2d31);border-bottom:0;border-right:1px solid var(--theme-border,#45474e);flex-direction:column;align-items:stretch;gap:3px;padding:20px 12px;display:flex;overflow-y:auto}.server-settings-tabs button{text-align:left;color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:5px;min-height:36px;padding:9px 12px;font-size:13px}.server-settings-tabs button:hover{background:var(--theme-hover,#35373c);color:var(--theme-text-primary,#fff)}.server-settings-tabs button[aria-selected=true]{background:var(--theme-selected,#41434b);color:var(--theme-text-primary,#fff)}.server-settings-content{background:var(--theme-surface,#313338);padding:24px;overflow-y:auto}.server-settings-general section{background:var(--theme-surface,#2b2d31);border-color:var(--theme-border,#45474e)}.server-settings-general button{background:var(--theme-button,#41434b);border-color:var(--theme-border,#55555e)}.server-settings-general .danger-action{background:var(--theme-danger-bg,#4f2b31);border-color:var(--theme-danger-border,#78404b)}.voice-channel-panel{color:var(--theme-text-primary,#dbdee1)}.voice-controls button{background:var(--theme-control,#383a40);border-color:var(--theme-border,#4b4d56)}.voice-participant{background:var(--theme-surface-raised,#2b2d31);border-color:var(--theme-border,#43454c)}.voice-chat .channel-conversation{border-color:var(--theme-border,#45474e)}.voice-chat-heading{background:var(--theme-surface,#2b2d31);border-color:var(--theme-border,#45474e)}.voice-media-viewer,.camera-settings-panel,.audio-settings-panel,.account-security-panel{background:var(--theme-surface,#313338)}.audio-settings-heading small,.camera-settings-heading small,.audio-volume output{color:var(--accent)}.audio-setting select,.camera-setting select{background:var(--theme-control,#232428);border-color:var(--theme-border-strong,#45474e)}.audio-monitor-option input,.audio-volume input,.audio-processing input{accent-color:var(--accent)}.device-settings-tabs button{background:var(--theme-button,#2b2d31);border-color:var(--theme-border,#45474e)}.device-settings-tabs button[aria-current=page]{color:var(--accent);border-color:var(--accent)}.audio-settings-heading>button,.camera-settings-heading>button{background:var(--theme-button,#383a40);border:0}.camera-preview{border-color:var(--theme-border,#45474e);background:var(--theme-surface-raised,#232428)}.camera-preview>div>span{color:var(--accent)}.channel-layout-panel .layout-category,.channel-layout-panel .layout-channel,.layout-create-channel>summary,.moderation-member{background:var(--theme-surface,#2b2d31);border-color:var(--theme-border,#45474e)}.channel-layout-panel button,.moderation-panel button,.community-roles button{background:var(--theme-button,#383a40);border-color:var(--theme-border,#4b4d55)}.channel-layout-panel .danger-action,.moderation-panel .danger-action{background:var(--theme-danger-bg,#4f2b31);border-color:var(--theme-danger-border,#78404b)}.voice-media-tile{background:var(--theme-surface,#232428);border-color:var(--theme-border,#43454c);border-radius:12px}.voice-channel-dock,.direct-call-dock{background:var(--theme-surface,#252e2a);border-color:var(--theme-border,#526c5e)}.voice-channel-dock{top:62px;left:328px}.mobile-drawer-scrim{z-index:39;background:var(--theme-surface,#08090ba6);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border:0;padding:0;display:none;position:fixed;inset:0}@keyframes popover-in{0%{opacity:0;transform:translateY(-5px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-in{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (width<=1200px){.chat header .channel-topic-open{display:none}.chat header>.search-box{width:min(180px,21vw);margin-left:auto}.chat>header>b{max-width:180px}}@media (width<=900px){.app{grid-template-columns:64px 220px minmax(0,1fr)}.rail{padding-inline:8px}.rail button.active:before,.rail button:not(.active):hover:before{left:-8px}.members{z-index:42;width:min(280px,100vw - 56px);box-shadow:-12px 0 32px var(--theme-shadow,#0005);transition:transform .19s;display:block;position:fixed;top:0;bottom:0;right:0;transform:translate(100%)}.members.members-open{transform:translate(0)}.members-toggle{display:grid}.members-drawer-close{place-items:center;display:grid}.mobile-drawer-scrim{display:block}.member-menu-trigger{opacity:1}.server-settings-panel{grid-template-columns:190px minmax(0,1fr)}.server-settings-content{padding:18px}.voice-channel-dock{left:298px}.app .account-bar{width:calc(100% + 52px);margin-left:-58px}}@media (width<=700px){.app{grid-template-columns:56px minmax(0,1fr)}.rail{gap:10px;padding:10px 6px}.rail button,.brand{width:42px;height:42px}.rail button.active:before,.rail button:not(.active):hover:before{left:-6px}.channels{z-index:41;width:min(270px,100vw - 56px);transition:transform .19s;left:56px}.app>.chat{padding-bottom:calc(var(--account-footer-height,70px) + 12px);grid-area:2/2}.app .mobile-account-footer{width:calc(100vw - 12px);max-height:calc(100dvh - 160px);margin:0;position:fixed;bottom:6px;left:6px;overflow-y:auto}.channels{height:auto;top:32px;bottom:calc(var(--account-footer-height,70px) + 12px)}.app>.channels{grid-template-rows:minmax(0,1fr)}.category-more,.channel-row-more{opacity:1}.app>.app-topbar{padding-inline:6px}.chat>header{gap:4px;padding:0 9px}.chat>header>b{flex:1;max-width:none;font-size:14px}.chat header .channel-title>span{font-size:14px}.channel-title{gap:5px}.channel-title>.ui-icon{width:18px;height:18px}.mobile-nav-button{display:grid}.channel-menu-trigger{min-width:26px}.chat header>.search-box{width:100px;min-width:74px;max-width:24vw}.chat header .audio-header-button,.pins-button,.pins-button small,.chat>header .channel-posting-badge{display:none}.messages{scroll-behavior:auto;padding:16px 14px}.messages article,.messages article:hover,.messages article:focus-within{gap:9px;margin-inline:-14px;padding:8px 14px}.messages article>.avatar{width:32px;height:32px}.message-body>b,.messages article p{font-size:13px}.message-actions{opacity:1;pointer-events:auto;width:fit-content;box-shadow:none;background:0 0;border:0;margin-top:7px;padding:0;position:static;transform:none}.message-actions button{min-width:30px;min-height:30px}.composer{gap:7px;margin-inline:9px;padding-inline:10px}.channel-input-hint,.typing-indicator,.dm-input-hint{margin-inline:12px}.channel-input-hint{display:none}.server-settings-panel{gap:0;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:0;display:flex}.server-settings-heading{padding:16px}.server-settings-heading h2{font-size:17px}.server-settings-tabs{border-right:0;border-bottom:1px solid var(--theme-border,#45474e);flex-flow:row;padding:10px;overflow:auto hidden}.server-settings-tabs button{white-space:nowrap;flex:none;font-size:12px}.server-settings-content{padding:16px}.toast{top:60px;bottom:auto;right:12px}.toast-stack{top:60px;right:12px}.voice-channel-dock{top:60px;left:68px;right:10px}.profile-security-button{display:none}}@media (hover:none){.member-menu-trigger,.dm-close{opacity:1}.message-actions{opacity:1;pointer-events:auto;transform:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.app .account-bar button{margin-left:0}.app .account-bar .voice-sidebar-room,.app .account-bar .account-control-pair>.account-voice-listening{color:var(--theme-success,#67d3a6)}.app .account-bar .account-control-pair>.account-voice-muted{color:var(--theme-danger,#f27780)}.channel-row-wrap>.channel-row>.channel-capacity-slot{flex:0 0 66px;justify-content:flex-end;width:66px;min-width:0;margin-left:5px;display:flex}.channel-capacity-badge{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--theme-text-secondary,#b5bac1);background:var(--theme-surface,#1e1f22);font-variant-numeric:tabular-nums;border-radius:4px;padding:1px 5px;font-size:11px;font-weight:500;line-height:16px;overflow:hidden}.voice-channel-row{position:relative}.channels .voice-channel-row>.channel-row,.channels .voice-channel-row>.channel-row:hover{width:100%}.voice-channel-row.voice-connected>.channel-row>.ui-icon{color:var(--theme-success,#67d3a6)}.voice-channel-row>.channel-row>.voice-channel-action-slot{flex:0 0 66px;width:66px;min-width:0;margin-left:5px}.voice-channel-actions{pointer-events:none;grid-template-columns:repeat(3,22px);width:66px;height:30px;display:grid;position:absolute;right:0}.voice-channel-actions>button{width:22px;height:30px;color:var(--theme-text-secondary,#a6aab1);opacity:0;pointer-events:none;background:0 0;border:0;border-radius:4px;place-items:center;margin:0;padding:0;display:grid}.voice-channel-row:hover .voice-channel-actions>button,.voice-channel-row:focus-within .voice-channel-actions>button{opacity:1;pointer-events:auto}.voice-channel-row:hover .channel-capacity-badge,.voice-channel-row:focus-within .channel-capacity-badge{opacity:0}.voice-channel-actions>button:hover{background:var(--theme-hover,#484a52);color:var(--theme-text-primary,#fff)}.voice-sidebar-participants{margin:2px 0 8px 28px;padding:0;list-style:none}.voice-sidebar-participant,.voice-sidebar-participant:hover{background:0 0;border-radius:5px;align-items:center;min-width:0;height:34px;margin:0;padding:0;display:flex}.voice-sidebar-participant:hover,.voice-sidebar-participant:focus-within{background:var(--theme-hover,#35373c)}.voice-sidebar-person,.voice-sidebar-person:hover{min-width:0;height:34px;min-height:34px;color:var(--theme-text-primary,#aeb4c1);text-align:left;background:0 0;border:0;border-radius:5px;flex:1;align-items:center;gap:7px;margin:0;padding:3px 4px;font-size:12px;font-weight:500;display:flex}.voice-sidebar-person:hover{color:var(--theme-text-primary,#f2f3f5)}.voice-sidebar-person>.avatar{flex:none;width:26px;height:26px;font-size:12px}.voice-sidebar-person>span:not(.avatar):not(.voice-sidebar-states){white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.voice-sidebar-person>.voice-sidebar-states{color:var(--theme-text-secondary,#9298a1);flex:none;align-items:center;gap:3px;display:flex}.voice-sidebar-states>span{place-items:center;display:grid}.voice-sidebar-states>.voice-sidebar-local-muted{color:var(--theme-accent,#b5a5f0)}.voice-sidebar-participant>.navigation-menu{flex:0 0 20px;width:20px}.voice-sidebar-person-menu{width:20px;height:30px;min-height:30px;color:var(--theme-text-secondary,#a6aab1);opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;margin:0;padding:0;display:grid}.voice-sidebar-participant:hover .voice-sidebar-person-menu,.voice-sidebar-participant:focus-within .voice-sidebar-person-menu{opacity:1}.voice-sidebar-person-menu:hover{color:var(--theme-text-primary,#fff);background:var(--theme-hover,#484a52)}@media (width<=780px),(hover:none){.voice-sidebar-person-menu{opacity:1}}.navigation-menu-range{color:var(--theme-text-secondary,#b5bac1);padding:8px 10px}.navigation-menu-range>label{align-items:center;gap:10px;font-size:12px;display:flex}.navigation-menu-range>label>span{flex:1}.navigation-menu-range output{color:var(--theme-text-primary,#f2f3f5);font-variant-numeric:tabular-nums;font-size:11px}.navigation-menu-range input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer;margin:9px 0 1px;padding:0;display:block}.channels [data-sidebar-drop=before]{box-shadow:inset 0 2px 0 var(--accent)}.channels [data-sidebar-drop=after]{box-shadow:inset 0 -2px 0 var(--accent)}.channels [data-sidebar-drop=into]{outline:2px solid var(--accent);outline-offset:-2px;background-color:var(--theme-panel,#373940)}:root{--composer-base-height:60px;--composer-bottom-gap:6px}.app .account-profile-row{min-height:calc(var(--composer-base-height) - 2px)}.composer-wrap{padding-bottom:var(--composer-bottom-gap)}.composer.composer{min-height:var(--composer-base-height);border:1px solid var(--theme-border,#3c3e46);background:var(--theme-control,#282a30);border-radius:12px;margin:8px 16px 0;padding:0 12px}.composer-input-row{min-height:calc(var(--composer-base-height) - 2px);align-items:flex-end;gap:10px}.composer .composer-input-row textarea{box-sizing:border-box;width:100%;min-height:calc(var(--composer-base-height) - 2px);resize:none;max-height:min(180px,30dvh);color:var(--theme-text-primary,#e5e7eb);padding:19px 0;font-size:14px;line-height:20px;display:block}.composer .composer-input-row textarea::placeholder{color:var(--theme-placeholder,#969ba5);opacity:1;white-space:nowrap}.composer-input-row>button,.composer .attach-button{border-radius:6px;flex:none;width:30px;height:34px;margin-block:12px;padding:0}.composer-input-row>.composer-emoji-trigger{color:var(--theme-text-secondary,#b5bac1)}.composer-input-row>button:hover:not(:disabled){color:var(--theme-text-primary,#f2f3f5);background:var(--theme-hover,#393b43)}.composer .attach-button:has(input:not(:disabled)):hover{color:var(--theme-text-primary,#f2f3f5);background:var(--theme-hover,#393b43)}.composer:focus-within{border-color:var(--theme-border,#5b536e)}.composer .composer-input-row textarea:focus-visible{outline:none}.composer:has(textarea:focus-visible){border-color:var(--accent)}.composer:has(textarea:disabled){opacity:.7}.composer-wrap>.channel-input-hint,.composer-wrap>.dm-input-hint,.composer-wrap>.typing-indicator{min-height:14px;margin:5px 18px 0;font-size:10px;line-height:14px;position:static}.composer-emoji-picker{z-index:85;overscroll-behavior:contain;border:1px solid var(--theme-border,#454750);background:var(--theme-control,#232428);max-height:calc(100dvh - 24px);color:var(--theme-text-primary,#dbdee1);box-shadow:0 12px 32px var(--theme-shadow-strong,#0007);border-radius:12px;padding:10px;animation:.16s ease-out popover-in;position:fixed;overflow-y:auto}.composer-emoji-heading{padding:2px 4px 9px;font-size:12px;font-weight:650}.composer-emoji-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;display:grid}.composer-emoji-grid button{cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;min-width:0;height:32px;padding:0;font-size:22px;line-height:1;display:grid}.composer-emoji-grid button:hover,.composer-emoji-grid button:focus-visible{background:var(--theme-hover,#454050);outline:2px solid var(--accent);outline-offset:-2px}.composer-emoji-grid button:disabled{opacity:.35;cursor:not-allowed}.composer-emoji-limit{color:var(--theme-text-secondary,#b5bac1);margin:8px 4px 2px;font-size:11px;line-height:1.4}@media (width<=700px){.composer.composer{margin-inline:9px;padding-inline:10px}.composer-input-row{gap:5px}.composer-input-row>button,.composer .attach-button{width:26px}.composer-wrap>.channel-input-hint{display:none}.composer-wrap>.dm-input-hint,.composer-wrap>.typing-indicator{margin-inline:12px}}.desktop-overlay{--desktop-chrome-height:env(titlebar-area-height,var(--desktop-titlebar-height,32px))}.desktop-overlay .app{grid-template-rows:var(--desktop-chrome-height) minmax(0, 1fr)}.desktop-overlay .app>.app-topbar{height:var(--desktop-chrome-height);-webkit-app-region:drag;app-region:drag;-webkit-user-select:none;user-select:none;padding-left:max(12px, env(titlebar-area-x,var(--desktop-titlebar-x,0px)));padding-right:max(12px, calc(100vw - env(titlebar-area-x,var(--desktop-titlebar-x,0px)) - env(titlebar-area-width,var(--desktop-titlebar-width,100vw)) + 12px))}.desktop-overlay :is(.modal-backdrop,.operator-restriction-backdrop,.community-limit-dialog-backdrop){top:var(--desktop-chrome-height)}.desktop-overlay:has(.modal-backdrop,.operator-restriction-backdrop,.community-limit-dialog-backdrop) .app-topbar :is(button,a,input,select){pointer-events:none}.desktop-overlay .app-topbar :is(button,a,input,select){-webkit-app-region:no-drag;app-region:no-drag}.desktop-overlay :is(.auth,.splash):before{content:"Маяк";top:0;left:env(titlebar-area-x,var(--desktop-titlebar-x,0px));width:env(titlebar-area-width,var(--desktop-titlebar-width,100%));height:env(titlebar-area-height,var(--desktop-titlebar-height,32px));color:#b5bac1;-webkit-user-select:none;user-select:none;-webkit-app-region:drag;app-region:drag;z-index:1;background:#1e1f22;align-items:center;padding:0 12px;font:600 12px system-ui,sans-serif;display:flex;position:fixed}.native-theme-sync[data-theme=light].desktop-overlay :is(.auth,.splash):before{color:#4e5563;background:#fff}:root{--settings-surface:var(--theme-surface,#232428);--settings-sidebar:var(--theme-panel,#1b1c20);--settings-control:var(--theme-control,#1b1c20);--settings-button:var(--theme-button,#33343b);--settings-hover:var(--theme-hover,#3d3f47);--settings-selected:var(--theme-selected,#33343b);--settings-border:var(--theme-border,#393a42);--settings-text:var(--theme-text-primary,#f2f3f5);--settings-muted:var(--theme-text-muted,#a6aab1);--settings-radius:9px}::selection{background:var(--accent);color:var(--theme-on-accent,#191725)}button,[role=tab],[role=menuitem],.app-topbar,.rail,.channels>header,.channels :is(.category-heading,.channel-row-wrap),.home-navigation,:is(.device-settings-sidebar,.server-settings-sidebar,.operator-sidebar),.modal :is(.invite-heading,.wizard-heading,.audio-settings-heading,.camera-settings-heading,.operator-heading,.server-settings-heading,.bot-panel-heading,.user-settings-heading),.navigation-menu-panel,.dm-contact-menu{-webkit-user-select:none;user-select:none}input,textarea,[contenteditable]:not([contenteditable=false]){-webkit-user-select:text;user-select:text}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog){background:var(--settings-surface);border-color:var(--settings-border);color:var(--settings-text);overscroll-behavior:contain;--muted:var(--settings-muted);--border:var(--settings-border);--input-bg:var(--settings-control);--surface-2:var(--settings-sidebar);border-radius:14px;min-width:0;max-width:calc(100vw - 32px)}.modal:where(:not(.server-settings-panel):not(.operator-panel):not(.user-settings-panel):not(.audio-settings-panel):not(.camera-settings-panel):not(.channel-creation-wizard):not(.bot-portal):not(.bot-consent-panel)){padding:28px}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) h2{letter-spacing:-.015em;font-size:24px;font-weight:600;line-height:1.3}.modal h3{font-weight:600}.modal :is(p,label,legend,dd,dt,small){overflow-wrap:anywhere}.modal p{line-height:1.55}.modal :is(.security-hint,.layout-hint,.moderation-hint,.audio-settings-hint,.camera-settings-hint,.community-limit-help){color:var(--settings-muted);font-size:13px}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){background:var(--settings-control);min-width:0;max-width:100%;min-height:44px;color:var(--settings-text);border:1px solid var(--settings-border);border-radius:var(--settings-radius);font:inherit;padding:11px 12px;font-size:14px;font-weight:400;line-height:1.45}.modal :is(input,textarea)::placeholder{color:var(--theme-placeholder,#878b96);opacity:1}.modal :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--accent)}.modal :is(input[type=checkbox],input[type=radio]){flex-shrink:0}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) button{background:var(--settings-button);max-width:100%;min-height:40px;color:var(--settings-text);font:inherit;white-space:normal;overflow-wrap:anywhere;cursor:pointer;border:1px solid #0000;border-radius:8px;padding:10px 14px;font-size:14px;font-weight:500;line-height:1.35}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) button:hover:not(:disabled){background:var(--settings-hover)}.modal .primary,.modal button.primary,.modal .audio-microphone-check>button,.modal .camera-check,.modal .invite-item-actions>button:first-child,.modal .layout-create-category>button{background:var(--accent);width:auto;min-height:44px;color:var(--theme-on-accent,#191725);border-color:#0000;font-weight:600}.modal .primary:hover:not(:disabled),.modal button.primary:hover:not(:disabled),.modal .audio-microphone-check>button:hover:not(:disabled),.modal .camera-check:hover:not(:disabled),.modal .invite-item-actions>button:first-child:hover:not(:disabled),.modal .layout-create-category>button:hover:not(:disabled){background:var(--accent-hover)}.modal :is(.registration-settings-actions,.attachment-settings-actions)>button[type=submit],.modal .community-role-create>button,.modal .community-role-editor-actions>button:not([type=button]){background:var(--accent);min-height:44px;color:var(--theme-on-accent,#191725);border-color:#0000;font-weight:600}.modal :is(.registration-settings-actions,.attachment-settings-actions)>button[type=submit]:hover:not(:disabled),.modal .community-role-create>button:hover:not(:disabled),.modal .community-role-editor-actions>button:not([type=button]):hover:not(:disabled){background:var(--accent-hover)}:is(.modal,.operator-restriction-dialog,.community-limit-dialog) :is(.danger-action,.operator-danger,.session-revoke,.session-logout,.sessions-revoke-others){color:var(--theme-danger,#ff929b);border-color:var(--theme-danger-border,#5e363f);background:var(--theme-danger-bg,#38282f)}:is(.modal,.operator-restriction-dialog,.community-limit-dialog) :is(.danger-action,.operator-danger,.session-revoke,.session-logout,.sessions-revoke-others):hover:not(:disabled){background:var(--theme-danger-hover,#4c2d36);color:var(--theme-danger,#ffb4bc)}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) button:disabled{opacity:.45;cursor:not-allowed}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) :is(button,input,textarea,select,summary,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.modal :is(.invite-heading,.wizard-heading,.audio-settings-heading,.camera-settings-heading,.operator-heading,.bot-panel-heading,.user-settings-heading)>button{width:36px;min-width:36px;height:36px;min-height:36px;color:var(--settings-muted);background:0 0;border:0;border-radius:50%;flex:none;align-self:start;place-items:center;padding:0;font-size:28px;line-height:1;display:grid}.modal :is(.invite-heading,.wizard-heading,.audio-settings-heading,.camera-settings-heading,.operator-heading,.bot-panel-heading,.user-settings-heading)>button:hover{color:var(--theme-text-primary,#fff);background:var(--settings-hover)}.modal :is(.modal-actions,.audio-settings-footer,.camera-settings-footer,.community-limit-actions,.registration-settings-actions,.operator-restriction-actions){gap:10px}.modal-actions{border-top:1px solid var(--settings-border);margin-top:20px;padding-top:20px}.modal-actions button{min-height:44px}.desktop-overlay :is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog){max-height:calc(100dvh - var(--desktop-chrome-height) - 32px);overflow-y:auto}.modal:is(.user-settings-panel,.audio-settings-panel,.camera-settings-panel,.server-settings-panel,.operator-panel){width:min(1280px,100vw - 32px);height:min(900px, calc(100dvh - var(--desktop-chrome-height,0px) - 48px));max-height:calc(100dvh - var(--desktop-chrome-height,0px) - 48px);background:var(--settings-surface);padding:0;overflow:hidden}.device-settings-layout{grid-template-columns:220px minmax(0,1fr)}.modal.server-settings-panel{grid-template-rows:auto minmax(0,1fr);grid-template-columns:220px minmax(0,1fr);gap:0;display:grid}.modal.operator-panel{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:220px minmax(0,1fr);gap:0;display:grid}.modal.operator-panel:not(:has(.operator-sidebar)){display:flex}:is(.device-settings-sidebar,.server-settings-sidebar,.operator-sidebar){background:var(--settings-sidebar);border-right:1px solid var(--theme-border,#2e2f35);min-width:0;min-height:0;padding:28px 16px;overflow:auto}.operator-sidebar,.server-settings-sidebar{grid-area:1/1/-1}.operator-sidebar>strong,.device-settings-sidebar>strong{overflow-wrap:anywhere;margin:0 12px 28px;font-size:20px;display:block}.operator-sidebar>small,.device-settings-sidebar>small{color:var(--theme-text-muted,#92959d);margin:0 12px 10px;font-size:11px;font-weight:700;line-height:1.45}.server-settings-sidebar>strong{color:var(--theme-text-secondary,#92959d);margin:0 12px 20px}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs){background:0 0;border:0;flex-flow:column;align-items:stretch;gap:4px;margin:0;padding:0;display:flex;overflow:visible}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs)>button{text-align:left;width:100%;min-height:44px;color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:7px;flex:none;align-items:center;gap:10px;padding:11px 12px;font-size:14px;font-weight:500;display:flex}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs)>button>span{min-width:0}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs)>button:hover:not(:disabled){background:var(--theme-hover,#28292e);color:var(--theme-text-primary,#fff)}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs)>button:is([aria-current=page],[aria-selected=true]){background:var(--settings-selected);color:var(--theme-text-primary,#fff)}.user-settings-tabs>.user-settings-group{border-top:1px solid var(--settings-border);color:var(--theme-text-secondary,#92959d);margin:20px 12px 6px;padding-top:20px;font-size:11px;font-weight:700;line-height:1.4}.user-settings-tabs>.user-settings-group:first-child{border-top:0;margin-top:0;padding-top:0}.modal .server-settings-heading{grid-area:1/2;margin:0}.modal .operator-heading{grid-area:1/2}.modal :is(.server-settings-heading,.operator-heading,.user-settings-heading){border-bottom:1px solid var(--settings-border);padding:26px 32px 20px}.modal :is(.server-settings-heading,.operator-heading,.user-settings-heading) h2{margin:0;font-size:22px}.modal .user-settings-heading{box-shadow:none;justify-content:space-between;align-items:center;gap:16px;display:flex}.user-settings-heading>h2{overflow-wrap:anywhere;flex:1;min-width:0}.operator-heading p{color:var(--settings-muted);margin:7px 0 0;font-size:12px}.modal .operator-toolbar{grid-area:2/2;padding:20px 32px 0}.operator-refresh{flex:240px;gap:7px;min-width:0;display:grid}.operator-refresh>button{justify-self:start}.modal :is(.operator-refresh-help,.registration-refresh-help){color:var(--settings-muted);margin:0;font-size:12px;line-height:1.5}.operator-refresh-help{max-width:650px}.operator-registration-settings .registration-refresh-help{margin:12px 0}.modal .operator-content{grid-area:3/2;padding:24px 32px 32px}.modal .server-settings-content{background:0 0;grid-area:2/2;padding:28px 32px 32px}.device-settings-body{padding:28px 32px 32px}.user-settings-content{grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid}.user-settings-body{min-width:0;min-height:0}.user-settings-panel .settings-embedded{width:100%;max-width:100%;height:auto;min-height:0;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;animation:none;overflow:visible}.user-settings-panel .settings-embedded>.device-settings-body{padding:0;overflow:visible}.user-settings-panel .settings-embedded .device-settings-layout{display:block}.user-settings-panel .profile-modal.settings-embedded>label{color:var(--theme-text-secondary,#b5bac1);gap:8px;margin:0 0 22px;font-size:14px;font-weight:600;display:grid}.user-settings-panel .profile-modal.settings-embedded>label>input:not([type=file]){width:100%;margin:0;display:block}.user-settings-panel .profile-modal.settings-embedded .avatar-picker{border-bottom:1px solid var(--settings-border);padding-bottom:22px}.user-settings-panel .profile-modal.settings-embedded .avatar-picker small{margin-top:5px;font-size:12px;font-weight:400}.user-settings-panel .settings-embedded.bot-portal{grid-template-columns:200px minmax(0,1fr);gap:24px;display:grid}.user-settings-panel .settings-embedded.bot-portal .bot-portal-sidebar{border-right:1px solid var(--settings-border);background:0 0;padding:0 16px 0 0}.user-settings-panel .settings-embedded.bot-portal .bot-portal-body{padding:0;overflow:visible}.modal :is(.session-item,.operator-content section,.operator-metric,.layout-category,.layout-channel,.moderation-member,.community-role-card,.community-role-member,.community-role-assignment,.invite-create,.community-creation-quota,.community-limit-preview){background:var(--settings-sidebar);border-color:var(--settings-border);border-radius:var(--settings-radius)}.modal .community-role-palette>button{width:40px;min-width:40px;height:40px;min-height:40px;padding:5px}.modal .community-role-palette>button[aria-pressed=true]{border-color:var(--accent)}.modal .session-item{margin:0;padding:16px}.modal .session-item:hover{background:var(--settings-sidebar);margin:0;padding:16px}.modal .session-current{border-color:var(--theme-success-border,#446d57)}.modal .server-settings-general section{border:0;border-bottom:1px solid var(--settings-border);background:0 0;border-radius:0;padding:8px 0 26px}.modal .server-settings-general section:last-child{border-bottom:0}.modal .operator-metrics{gap:12px}.modal .invite-manager{background:0 0}.modal.invite-manager{background:var(--settings-surface)}.modal .invite-item{border-color:var(--settings-border)}.modal .layout-create-category{background:var(--settings-sidebar);border:1px solid var(--settings-border);border-radius:10px;padding:20px}.modal .layout-create-category label{font-size:14px}.modal .wizard-actions{border-color:var(--settings-border);background:0 0}.modal .wizard-steps{border-color:var(--settings-border)}.modal .channel-type-choices label{background:0 0;border:0}.modal .channel-type-choices label:hover{background:var(--theme-hover,#2c2d33)}.modal .channel-type-choices label.selected{background:0 0;border:0}.modal .channel-type-choices input[type=radio]{min-height:0;padding:0}:is(.navigation-menu-panel,.dm-contact-menu,.composer-emoji-picker,.reaction-picker){background:var(--settings-sidebar);border-color:var(--settings-border);color:var(--settings-text);border-radius:9px}.navigation-menu-panel{padding:6px}.navigation-menu-panel .navigation-menu-item{border-radius:6px}.navigation-menu-panel .navigation-menu-item:hover:not(:disabled),.navigation-menu-panel .navigation-menu-item:focus-visible{background:var(--settings-selected);color:var(--theme-text-primary,#fff)}.navigation-menu-panel .navigation-menu-item.danger:hover:not(:disabled),.navigation-menu-panel .navigation-menu-item.danger:focus-visible{background:var(--theme-danger-hover,#4c2d36);color:var(--theme-danger,#ffb4bc)}.navigation-menu-panel .navigation-menu-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.dm-contact-menu button:hover:not(:disabled),.dm-contact-menu button:focus-visible,.composer-emoji-grid button:hover:not(:disabled),.composer-emoji-grid button:focus-visible{background:var(--settings-selected);color:var(--theme-text-primary,#fff)}.dm-contact-menu button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media (width<=700px){.modal-backdrop{padding:8px}:is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog){max-width:calc(100vw - 16px)}.modal:is(.user-settings-panel,.audio-settings-panel,.camera-settings-panel,.server-settings-panel,.operator-panel){width:calc(100vw - 16px);height:calc(100dvh - var(--desktop-chrome-height,0px) - 32px);max-height:calc(100dvh - var(--desktop-chrome-height,0px) - 32px)}.device-settings-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.modal.server-settings-panel{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.modal.operator-panel{grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}:is(.device-settings-sidebar,.server-settings-sidebar,.operator-sidebar){border-right:0;border-bottom:1px solid var(--settings-border);padding:10px 12px;overflow:hidden}.operator-sidebar,.server-settings-sidebar{grid-area:2/1}:is(.device-settings-sidebar,.server-settings-sidebar,.operator-sidebar)>:is(strong,small),.server-settings-tabs>small,.user-settings-tabs>.user-settings-group{display:none}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs){flex-direction:row;padding:3px;scroll-padding-inline:3px;overflow:auto hidden}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs)>button{white-space:nowrap;flex:none;width:auto;min-height:40px;padding:10px;font-size:13px}.modal :is(.device-settings-tabs,.user-settings-tabs,.server-settings-tabs,.operator-tabs)>button>span{white-space:nowrap}.modal :is(.server-settings-heading,.operator-heading,.user-settings-heading){grid-area:1/1;padding:18px 16px}.modal :is(.server-settings-heading,.operator-heading,.user-settings-heading) h2{font-size:20px}.modal .operator-toolbar{grid-area:3/1;padding:16px 16px 0}.modal .operator-toolbar form{flex-basis:100%}.modal .operator-content{grid-area:4/1;padding:18px 16px}.modal .server-settings-content{grid-area:3/1;padding:20px 16px}.device-settings-body{padding:20px 16px}.user-settings-panel .settings-embedded.bot-portal{grid-template-columns:minmax(0,1fr);gap:20px}.user-settings-panel .settings-embedded.bot-portal .bot-portal-sidebar{border-right:0;border-bottom:1px solid var(--settings-border);padding:0 0 16px}.modal .operator-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=450px){.modal:where(:not(.server-settings-panel):not(.operator-panel):not(.user-settings-panel):not(.audio-settings-panel):not(.camera-settings-panel):not(.channel-creation-wizard):not(.bot-portal):not(.bot-consent-panel)){padding:20px 16px}.modal h2{font-size:22px}.modal-actions{flex-wrap:wrap}.modal-actions button{flex:110px}.modal .registration-settings-actions{flex-direction:column;align-items:stretch}.modal .registration-settings-actions>button{overflow-wrap:normal;flex:none;width:100%}.modal .operator-content dl{grid-template-columns:minmax(0,1fr);gap:5px}.modal .operator-content dd{margin-bottom:10px}.modal .operator-access-sections{display:none}.modal .layout-create-category{padding:16px}.modal .layout-create-category>button{width:100%}}@media (prefers-reduced-motion:reduce){:is(.modal,.navigation-menu-panel,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog),:is(.modal,.navigation-menu-panel,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.modal.server-settings-panel{box-sizing:border-box}.modal.server-settings-panel .server-settings-content{scrollbar-gutter:stable;min-width:0;overflow-x:hidden}.modal.server-settings-panel .server-settings-tab-content{width:100%;min-width:0}.modal.server-settings-panel .server-settings-tab-content :is(form,fieldset,label,section,article){box-sizing:border-box;min-width:0}.modal.server-settings-panel .server-settings-tab-content :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=number],input[type=datetime-local],select,textarea){box-sizing:border-box;width:100%;min-width:0;max-width:100%}.modal.server-settings-panel .server-settings-tab-content :is(input,select,textarea){transform:none}.modal.server-settings-panel .server-settings-embedded>section{width:100%;box-shadow:none;background:0 0;border:0;flex-direction:column;gap:16px;margin:0;padding:0;display:flex;overflow:visible}.modal.server-settings-panel .server-settings-embedded .invite-heading{flex:none;align-items:center;min-width:0;margin:0;padding:0 0 8px}.modal.server-settings-panel .server-settings-embedded .invite-heading h2{margin:0;font-size:20px;line-height:1.35}.modal.server-settings-panel .server-settings-general{gap:24px}.modal.server-settings-panel .server-profile-grid{grid-template-columns:minmax(0,1fr) 260px;gap:28px}.modal.server-settings-panel .server-profile-form .server-profile-toggle{align-items:center;gap:16px;display:flex}.modal.server-settings-panel .server-profile-form .server-profile-toggle input{flex:none;margin:0}.modal.server-settings-panel .server-profile-save{flex-wrap:nowrap;justify-content:flex-end;gap:10px;display:flex}.modal.server-settings-panel .server-profile-save>button{flex:0 auto;min-width:0}.modal.server-settings-panel .community-role-create{grid-template-columns:minmax(0,1fr) minmax(0,160px) auto}.modal.server-settings-panel .community-role-editor label{min-width:0}.modal.server-settings-panel .invite-form{flex-wrap:wrap}.modal.server-settings-panel .invite-item-actions,.modal.server-settings-panel .moderation-actions{flex-wrap:wrap;gap:8px}@media (width<=1100px){.modal.server-settings-panel .server-profile-grid{grid-template-columns:minmax(0,1fr)}.modal.server-settings-panel .server-profile-preview{display:none}.modal.server-settings-panel .community-role-create{grid-template-columns:minmax(0,1fr)}}@media (width<=700px){.modal.server-settings-panel .server-settings-content{padding:18px 14px}.modal.server-settings-panel .server-settings-embedded .invite-heading h2{font-size:18px}.modal.server-settings-panel .server-profile-save>button{flex:1 1 0}.modal.server-settings-panel .server-profile-media-edit{align-items:flex-start}.modal.server-settings-panel .server-profile-actions{flex-direction:column;align-items:stretch}.modal.server-settings-panel .server-profile-actions>button{width:100%}}.channel-chat-body.content-blocked{justify-content:center;align-items:center;padding:24px;display:flex}.channel-content-warning{text-align:center;overflow-wrap:anywhere;max-width:520px}.channel-content-warning>.ui-icon{color:var(--accent)}.channel-content-warning p{color:var(--muted);line-height:1.55}.channel-content-warning .primary{width:auto;max-width:100%}.channel-welcome-settings{color:inherit;background:var(--panel);cursor:pointer;border:0;border-radius:8px;align-items:center;gap:8px;padding:9px 12px;display:inline-flex}.voice-chat-heading{background:var(--panel);align-items:center;gap:10px;min-height:50px;padding:10px 16px;display:flex}.voice-chat-heading b{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.voice-chat-heading button{color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:4px;display:grid}.voice-chat .voice-chat-toggle{font-size:inherit;background:0 0;border:0;padding:6px}.voice-chat .voice-chat-toggle .ui-icon{color:var(--muted)}.voice-chat .channel-conversation{background:var(--panel)}.voice-chat .channel-chat-body{grid-template-columns:minmax(0,1fr) minmax(300px,36%)}.voice-chat .welcome{margin-top:clamp(24px,30vh,260px)}.voice-chat .welcome>div{background:var(--theme-surface,#ffffff08)}.voice-chat .welcome h1{font-size:clamp(22px,2.2vw,32px);line-height:1.2}@media (width>=901px){.app.voice-room-layout{grid-template-columns:72px 240px minmax(0,1fr)}.voice-room-layout>.members{display:none}.voice-room-layout>.members.members-open{z-index:45;width:260px;box-shadow:-8px 0 24px var(--theme-shadow,#0004);display:block;position:fixed;top:82px;bottom:0;right:0;overflow-y:auto}}@media (width<=1050px){.voice-chat .channel-chat-body{grid-template-rows:minmax(160px,45%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.voice-chat .channel-conversation{border-left:0;border-top:1px solid var(--theme-border,#ffffff0c)}.voice-chat .welcome{margin-top:20px}}@media (width<=700px){.voice-chat-heading{min-height:40px;padding:8px 12px}.voice-chat .channel-chat-body{grid-template-rows:minmax(145px,38%) minmax(0,1fr)}.voice-chat.voice-chat-hidden .channel-chat-body{grid-template-rows:minmax(0,1fr)}}.app.discovery-mode{grid-template-columns:72px minmax(0,1fr)}.app.discovery-mode>.rail{min-width:0;min-height:0}.app.discovery-mode>.discovery-page{overscroll-behavior:contain;height:100%;min-height:0;padding-bottom:calc(var(--account-footer-height,80px) + 28px);grid-area:2/2;overflow:auto}.app.discovery-mode>.discovery-account{z-index:44;width:min(306px,100vw - 12px);min-width:0;position:fixed;inset:auto auto 6px 6px}.app .discovery-account>.account-bar{border-radius:9px;width:100%;min-width:0;max-height:calc(100dvh - 160px);margin:0;position:relative;inset:auto;overflow-y:auto}.app>.rail .discovery-toggle{color:var(--success);background:var(--theme-surface,#313338)}.discovery-page .discovery-avatar{border-radius:var(--community-icon-radius,17px)}.app>.rail .discovery-toggle:hover,.app>.rail .discovery-toggle[aria-pressed=true]{color:var(--theme-text-primary,#fff);background:var(--theme-success-solid,#248a5d)}@media (width<=900px){.app.discovery-mode{grid-template-columns:64px minmax(0,1fr)}}@media (width<=700px){.app.discovery-mode{grid-template-columns:56px minmax(0,1fr)}.app.discovery-mode>.discovery-account{width:calc(100vw - 12px)}}.community-menu-trigger>b{align-items:center;gap:7px;min-width:0;display:flex}.community-menu-trigger>b>span:not(.verified-community-badge){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chat>.channel-header{gap:10px}.channel-header .channel-identity{flex:1;align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.channel-header .channel-identity>.channel-title{white-space:nowrap;flex:0 auto;min-width:0;max-width:100%;margin:0;font-size:15px}.channel-header .channel-identity.has-topic>.channel-title{max-width:55%}.channel-header .channel-title>span{min-width:0}.chat .channel-header .channel-topic-separator{color:var(--theme-text-muted,#a6aab1);border:0;flex:none;padding:0;font-size:16px;line-height:1}.chat>.channel-header .channel-topic-open{min-width:0;max-width:none;min-height:32px;color:var(--theme-text-secondary,#a6aab1);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:1 1 0;align-items:center;padding:0;display:flex}.channel-header .channel-topic-open>span{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;display:block;overflow:hidden}.channel-header .channel-topic-open:hover{color:var(--theme-text-primary,#f2f3f5)}.channel-header-actions{flex:none;align-items:center;gap:4px;display:flex}.channel-header .channel-header-actions .channel-menu-trigger,.channel-header .channel-header-actions .pins-button,.channel-header .channel-header-actions .members-toggle,.channel-header .channel-header-actions .voice-chat-toggle,.channel-header .mobile-nav-button{width:32px;min-width:32px;height:32px;min-height:32px;color:var(--theme-text-secondary,#b5bac1);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;margin:0;padding:0;line-height:1;display:grid}.channel-header .mobile-nav-button{display:none}.channel-header-actions button>.ui-icon,.channel-header .mobile-nav-button>.ui-icon{margin:0;display:block}.channel-header-actions .pins-button{position:relative}.channel-header-actions .pins-button>small{background:var(--theme-button,#292e3a);min-width:13px;height:13px;color:var(--theme-text-primary,#f2f3f5);font-variant-numeric:tabular-nums;border-radius:7px;place-items:center;padding:0 2px;font-size:9px;line-height:1;display:grid;position:absolute;top:0;right:-2px}.channel-header-actions button[aria-pressed=true]{background:var(--theme-selected,#292e3a);color:var(--theme-text-primary,#f2f3f5)}.channel-header-actions .connection{flex:none;margin-left:4px}.channel-workspace>.channel-search-tools{z-index:25;background:var(--theme-panel,#2b2d31);border-bottom:1px solid var(--theme-border,#25262a);grid-area:2/4;align-self:start;align-items:center;min-width:0;height:50px;padding:8px;display:flex;position:relative}.channel-search-tools>.search-box{border:1px solid var(--theme-border-strong,#45474e);background:var(--theme-control,#1e1f22);width:100%;min-width:0;height:34px;color:var(--theme-text-secondary,#b5bac1);border-radius:6px;align-items:center;gap:5px;margin:0;padding:0 4px 0 9px;display:flex}.channel-search-tools>.search-box:focus-within{border-color:var(--accent)}.channel-search-tools .search-box>input{flex:1;width:100%;min-width:0;height:32px;margin:0;padding:0 2px;font-size:12px;line-height:normal}.channel-search-tools .search-box>.channel-search-clear{border:0;border-radius:4px;flex:none;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:0;line-height:1;display:grid}.channel-search-clear>.ui-icon{display:block}.channel-search-clear:hover{color:var(--theme-text-primary,#f2f3f5);background:var(--theme-hover,#41434a)}.channel-search-tools>.search-results{width:min(460px,100vw - 32px);max-height:min(520px,100dvh - 140px);top:50px;right:8px;overflow-x:hidden}.channel-search-tools .search-results button{overflow-wrap:anywhere}.channel-search-tools .search-results p{white-space:pre-wrap}.app button.dm-close.icon-control,.app .replying>button.icon-control{background:0 0;border-radius:5px;flex-basis:24px;width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px;padding:0}.app .search-box>button.dm-search-clear.icon-control{background:0 0;border-radius:4px;flex-basis:24px;width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px;padding:0}.app button.dm-close.icon-control:hover,.app .replying>button.icon-control:hover,.app .search-box>button.dm-search-clear.icon-control:hover{background:var(--theme-hover,#41434a)}@media (width>=901px){.app.channel-workspace{grid-template-columns:72px 240px minmax(0,1fr) 240px}.channel-workspace>.members,.channel-workspace.voice-room-layout>.members.members-open{z-index:auto;width:auto;box-shadow:none;padding-top:58px;display:block;position:static;transform:none}.channel-workspace.members-collapsed>.members{display:none}.channel-workspace.members-collapsed>.channel-chat{grid-column:3/-1}.channel-workspace.members-collapsed .channel-chat>.channel-header{margin-right:240px}}@media (width<=900px){.app.channel-workspace{grid-template-rows:32px 50px 46px minmax(0,1fr)}.channel-workspace>.rail,.channel-workspace>.channels{grid-row:2/-1}.channel-workspace>.channel-chat{grid-row:2/-1;grid-template-rows:50px 46px minmax(0,1fr)}.channel-workspace .channel-chat>.channel-header{grid-row:1;margin-right:0}.channel-workspace .channel-chat>.channel-chat-body{grid-row:3}.channel-workspace>.channel-search-tools{background:var(--theme-surface,#313338);grid-area:3/3;height:46px;padding:6px 10px}.channel-search-tools>.search-results{width:calc(100% - 20px);top:46px;right:10px}}@media (width<=700px){.chat>.channel-header{gap:4px;padding-inline:9px}.channel-header .channel-identity{gap:5px}.channel-header .channel-identity>.channel-title{gap:5px;font-size:14px}.channel-header .mobile-nav-button{display:grid}.channel-header-actions{gap:2px}.channel-workspace>.channel-search-tools{grid-column:2}.channel-header-actions .channel-posting-badge{display:none}}:root[data-theme=light]{--theme-page:#f4f5f8;--theme-rail:#e7e9ee;--theme-panel:#f0f1f5;--theme-surface:#fff;--theme-surface-raised:#f7f8fb;--theme-control:#f0f1f5;--theme-button:#e9edf4;--theme-hover:#e7eaf0;--theme-selected:#dde2eb;--theme-border:#cdd2dc;--theme-border-strong:#7e899c;--theme-text-primary:#242731;--theme-text-secondary:#4e5563;--theme-text-muted:#59616f;--theme-placeholder:#59616f;--theme-accent:#6f4dde;--theme-accent-hover:#6040bd;--theme-accent-soft:#eee9fc;--theme-on-accent:#fff;--theme-link:#435bc1;--theme-success:#18794e;--theme-success-bg:#e5f5ed;--theme-success-border:#6a9e82;--theme-success-solid:#18794e;--theme-danger:#b42339;--theme-danger-bg:#fcebed;--theme-danger-hover:#f8dae0;--theme-danger-border:#bd6477;--theme-danger-solid:#b42339;--theme-warning:#815009;--theme-warning-bg:#fff4dc;--theme-warning-border:#a87a24;--theme-info-bg:#eaf0ff;--theme-info-border:#8496c8;--theme-badge:#586174;--theme-offline:#687282;--theme-account-surface:#eeeaf6;--theme-avatar-outline:#fff;--theme-scrollbar:#929bad;--theme-backdrop:#20263366;--theme-shadow:#20263326;--theme-shadow-strong:#2026333d;--theme-inset-highlight:#ffffffb3;--theme-focus:#6f4dde;--text:var(--theme-text-primary);--border:var(--theme-border);--line:var(--theme-border);--input-bg:var(--theme-control);--bg-secondary:var(--theme-panel);--surface-2:var(--theme-panel);--hover:var(--theme-hover);--green:var(--theme-success);--accent-soft:var(--theme-accent-soft)}:root[data-theme=light] .members{--theme-avatar-outline:var(--theme-panel)}:root[data-theme=light] .account-bar{--theme-avatar-outline:var(--theme-account-surface)}:root[data-theme=light] .member-profile-card{--theme-avatar-outline:var(--theme-surface)}:root[data-theme=light].desktop-overlay:not(.native-theme-sync) .app>.app-topbar{--theme-text-primary:#f2f3f5;--theme-text-secondary:#c4c9d4;--theme-text-muted:#a6aab1;--theme-hover:#35373d;color:#f2f3f5;background:#1e1f22;border-color:#27282c}:root[data-theme=light] .channels.has-community-banner .community-heading[data-banner-scrolled=false] :is(.community-menu-trigger,.community-header-invite){color:#f2f3f5!important}:root[data-theme=light] .channels.has-community-banner .community-heading[data-banner-scrolled=false] .community-header-invite:hover{background:#ffffff1a}:root[data-theme=light] .voice-avatar-initial{color:#fff}:root[data-theme=light] :is(.media-participant-tile,.media-view-error){color:#e1e7f2}:root[data-theme=light] .rail :is(.add,.join,.discovery-toggle):is(:hover,[aria-pressed=true]){color:#fff}:root[data-theme=light] :is(.modal,.operator-restriction-dialog,.community-limit-dialog,.community-create-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){border-color:var(--theme-border-strong)}:root[data-theme=light] .media-stage-overlay{--theme-text-primary:#e1e7f2;--theme-text-secondary:#b9c3d4;--theme-text-muted:#aeb5c5;--theme-placeholder:#aeb5c5;--theme-surface:#0d121c;--theme-surface-raised:#202024;--theme-panel:#232429;--theme-control:#161b25;--theme-button:#303745;--theme-hover:#3b4352;--theme-selected:#394454;--theme-border:#414958;--theme-border-strong:#596275;--theme-success-bg:#254234;--theme-success-border:#82c99e;--theme-danger-bg:#542c34;--theme-danger-border:#7f414c;--theme-danger:#ffadb7;--text:#e1e7f2;--muted:#aeb5c5}:root[data-theme=light] .image-crop-viewport{--settings-muted:#b5bac1;--theme-text-muted:#b5bac1}:root[data-theme=light] .registration-captcha{--altcha-color-base:var(--theme-surface);--altcha-color-text:var(--theme-text-primary);--altcha-color-border:var(--theme-border-strong);--altcha-color-border-focus:var(--theme-accent);--altcha-color-active:var(--theme-accent);--altcha-color-error-text:var(--theme-danger)}
