/* Familiar chat-app density, with DenDenMooshi's own identity. */
:root{--bg:#313338;--rail:#1e1f22;--side:#2b2d31;--panel:#232428;--line:#26272b;--text:#f2f3f5;--muted:#949ba4;--mint:#949cff;--peach:#c5c9ff;font-family:'Segoe UI',sans-serif}
.app{grid-template-columns:72px 240px minmax(0,1fr) 240px}
.rail{padding:12px 0;gap:10px;border:0}.rail-logo{display:grid;place-items:center;width:48px;height:48px;font-size:34px;background:#313338;border-radius:50%;color:#dbdee1}.community{width:48px;height:48px;border-radius:16px;background:#5865f2;color:white;font-size:14px}.community:before{left:-12px;top:6px;height:36px;width:4px;background:white}.rail-line{margin:2px 0;width:32px;background:#35363c;height:2px}.rail-add{border:0;background:#313338;color:#23a55a;width:48px;height:48px;transition:border-radius .15s,background .15s}.rail-add:hover{background:#23a55a;color:white;border-radius:16px}.rail-bottom{color:#80848e;font-size:20px}
.community-header{height:49px;padding:0 16px;box-shadow:0 1px 3px #1116;flex-shrink:0}.community-header h1{font-size:15px;letter-spacing:0;margin:0}.community-header div>span{display:none}.community-header .small-shell{font-size:19px;color:#b5bac1}.invite-button{margin:16px 12px 22px;background:#404249;border:0;border-radius:4px;color:#dbdee1;padding:9px 12px;font-size:12px}.invite-button:hover{background:#4e5058}.channel-scroll{padding:0 8px}.section-label{font-size:11px;letter-spacing:.4px;padding:0 8px 3px;color:#949ba4}.section-label button{font-size:20px}.channel{padding:5px 8px;margin:2px 0;min-height:34px;border-radius:4px;gap:8px;font-size:15px;color:#949ba4}.channel:hover{background:#35373c;color:#dbdee1}.channel.selected{background:#404249;color:#f2f3f5}.channel .hash,.channel.selected .hash{font-size:24px;color:#80848e;width:23px}.channel .count{background:#1e1f22;color:#b5bac1}.voice-label{margin-top:22px}.sidebar-note{display:none}
.user-footer{height:56px;min-height:56px;background:#232428;border:0;padding:8px;gap:8px}.user-footer .avatar{width:32px;height:32px;font-size:12px}.avatar,.message .avatar,.member .avatar{border-radius:50%}.self-label strong{font-size:12px}.self-label span{color:#b5bac1;font-size:10px}.user-footer button{padding:4px;border-radius:4px;font-size:16px;color:#b5bac1;min-width:27px;height:30px}.user-footer button:hover{background:#3f4147}.user-footer button[aria-pressed=true]{color:#f23f43}.dock-controls{display:flex;gap:0}.dock-controls svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dock-controls button:disabled{cursor:default;opacity:.3}
.topbar{height:49px;gap:16px;padding:0 16px;box-shadow:0 1px 3px #1114;border:0}.channel-heading{gap:8px}.channel-heading>span{color:#80848e;font-size:25px}.channel-heading h2{font-size:15px}.topbar p{font-size:12px;color:#b5bac1}.topbar-divider{background:#4e5058}.members-toggle{font-size:19px;color:#b5bac1;margin-left:0}.search-wrap{margin-left:auto}.search-wrap input{margin:0;background:#1e1f22;border:0;border-radius:4px;font-size:11px;padding:5px 8px;width:160px;height:26px}.search-wrap input::placeholder{color:#949ba4}
.messages{padding:16px 16px 0;scroll-behavior:auto}.channel-welcome{padding:24px 0 18px;border:0;margin:0 0 12px}.welcome-symbol{width:68px;height:68px;background:#41434a;border-radius:50%;color:#f2f3f5;font-size:48px}.channel-welcome h2{font-size:30px;margin:14px 0 6px;letter-spacing:-.7px}.channel-welcome p{font-size:14px;color:#b5bac1}.message{gap:16px;margin:0 -16px;padding:8px 16px}.message:hover{background:#2e3035}.message .avatar{width:40px;height:40px;font-size:15px}.message-meta{margin-bottom:2px;gap:9px}.message-meta strong{font-size:14px;font-weight:600}.message-meta time{font-size:10px;color:#949ba4}.message-text{font-size:14px;line-height:1.5;color:#dbdee1}.typing{height:23px;margin:0 16px;font-size:11px;color:#b5bac1}.composer{margin:0 16px;background:#383a40;border:0;border-radius:8px;padding:10px 14px;gap:14px}.composer-plus{font-size:24px;color:#b5bac1}.composer textarea{font-size:14px;line-height:25px;min-height:25px}.composer textarea::placeholder{color:#949ba4}.composer button{border-radius:5px;background:#5865f2;color:white}.composer button:hover{background:#4752c4}.composer-foot{height:27px;padding:5px 17px 8px;color:#949ba4;font-size:9px}
.members-panel{border:0;background:#2b2d31;padding:23px 12px}.members-header{margin:0 4px 14px}.members-header h2{font-size:11px;letter-spacing:.4px;color:#949ba4}.members-header span{font-size:10px;color:#949ba4}.member{padding:5px 8px;margin:0;gap:12px;border-radius:4px}.member:hover{background:#35373c}.member .avatar{width:32px;height:32px;font-size:12px}.member .avatar:after{background:#23a55a;border-color:#2b2d31;width:8px;height:8px;right:-2px}.member-info strong{font-size:13px;color:#dbdee1;font-weight:500}.member-info span{font-size:10px;color:#949ba4;margin-top:2px}.members-footer{display:none}
.voice-status{background:#232428;color:#23a55a;padding:10px 12px;border-bottom:1px solid #383a40;border-top:0}.voice-status>span{color:#b5bac1}.live-dot{background:#23a55a}.voice-view{background:#232428;padding:28px 24px 22px}.eyebrow{color:#b5bac1;letter-spacing:1px}.voice-room-header h2{font-size:25px;margin:8px 0}.voice-room-header p,.voice-empty p{color:#949ba4;font-size:13px}.voice-cards{max-width:850px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin:24px 0}.voice-card{background:#35373c;border:1px solid #44464d;min-height:185px;border-radius:8px}.voice-card .avatar{border-radius:50%;width:76px;height:76px}.voice-card h3{font-size:14px}.voice-card p{color:#b5bac1}.empty-shell{color:#5865f2}.voice-empty{margin:auto 0}.voice-empty h3{font-size:24px}.voice-controls{padding:14px;background:#1e1f22;border-radius:12px;margin-top:24px}.primary{background:#5865f2;color:white;border-radius:4px}.primary:hover{background:#4752c4}.control-button{background:#383a40;border:0;border-radius:5px;color:#dbdee1}.control-button[aria-pressed=true]{background:#b52c31;color:white}.danger-button{background:#da373c;color:white;border-radius:5px}.voice-hint{color:#949ba4}
.welcome-art{background:linear-gradient(145deg,#4752c4,#25265d)}.art-caption p,.art-foot{color:#c5c9ed}.shell{background:#b8bdff;color:#5865b0}.snail-body,.antenna,.antenna:after{background:#e0e3ff}.eye{background:#30345e}.join-panel .eyebrow{color:#949cff}.join-panel input,dialog input{background:#1e1f22;border-color:#1e1f22;border-radius:3px;font-size:14px}.join-panel label{color:#b5bac1;font-size:11px}.join-panel>p{color:#b5bac1}.join-panel h2{font-size:29px}.toast{background:#5865f2;color:white;border-radius:5px}dialog{border:0;border-radius:8px;background:#313338}dialog::backdrop{background:#000b;backdrop-filter:none}.error{color:#fa777c!important}.small-note{color:#949ba4!important}.banner{background:#4c3825}
.settings-row{margin:20px 0}.settings-row input[type=range]{padding:0;background:none;width:100%;accent-color:#5865f2}.settings-row p{font-size:12px;color:#b5bac1;line-height:1.6}.settings-actions{display:flex;gap:8px;flex-wrap:wrap}.search-note{padding:12px;color:#949ba4;font-size:13px}.channel-participant{display:flex;align-items:center;gap:8px;padding:4px 8px 4px 36px;font-size:12px;color:#b5bac1}.channel-participant .avatar{width:22px;height:22px;font-size:9px}
@media(min-width:1500px){.app{grid-template-columns:72px 240px minmax(0,1fr) 240px}.messages{padding-left:16px;padding-right:16px}.composer{margin-left:16px;margin-right:16px}}
@media(max-width:1100px){.app{grid-template-columns:72px 240px minmax(0,1fr)}.members-panel.open{top:49px}.search-wrap input{width:130px}}
@media(max-width:700px){.app{grid-template-columns:1fr}.sidebar.open{top:49px;width:260px}.topbar{padding:0 12px;gap:10px}.search-wrap input{width:100px}.channel-heading h2{max-width:110px}.members-panel.open{top:49px}.messages{padding:14px 16px 0}.channel-welcome h2{font-size:24px}.composer{margin:0 12px}.voice-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.voice-view{padding:24px 16px}.voice-controls{padding:10px}.welcome-art{min-height:230px}.member-info strong{font-size:12px}}

.call-video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px;background:#111;display:block}.call-video.mirror{transform:scaleX(-1)}.voice-card:has(video){padding:10px}.voice-card:has(video) h3{margin:10px 0 4px}
