:root{
  --bg:#111214;
  --rail:#1e1f22;
  --rail-hover:#35373c;
  --servers:#1e1f22;
  --sidebar:#2b2d31;
  --sidebar-dark:#232428;
  --content:#313338;
  --content-2:#2b2d31;
  --content-3:#1e1f22;
  --hover:#35373c;
  --selected:#404249;
  --input:#1e1f22;
  --line:rgba(255,255,255,.055);
  --line-strong:rgba(255,255,255,.09);
  --text:#f2f3f5;
  --text-2:#dbdee1;
  --muted:#b5bac1;
  --muted-2:#949ba4;
  --brand:#5865f2;
  --brand-hover:#4752c4;
  --green:#23a55a;
  --red:#da373c;
  --yellow:#f0b232;
  --shadow:0 14px 36px rgba(0,0,0,.32);
  --radius:8px;
  --ease:cubic-bezier(.2,.72,.2,1)
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{font-family:Inter,gg sans,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);overflow:hidden;font-size:14px}
button,input,textarea,select{font:inherit}
button{color:inherit}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
[hidden]{display:none!important}

.app-shell{height:100vh;min-height:620px;display:grid;grid-template-columns:72px 72px 300px minmax(620px,1fr);background:var(--content)}
.profile-rail,.server-rail{min-height:0;display:flex;flex-direction:column;align-items:center;overflow:hidden;border-right:1px solid rgba(0,0,0,.12)}
.profile-rail{background:var(--rail);padding:10px 8px;position:relative;z-index:5}
.server-rail{background:#191a1d;padding:10px 10px;z-index:4}
.profile-stack,.server-stack{width:100%;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;align-items:center;gap:8px;scrollbar-width:none}
.profile-stack::-webkit-scrollbar,.server-stack::-webkit-scrollbar{display:none}
.profile-stack{flex:1;padding-top:2px}
.server-stack{flex:1}

.profile-item,.rail-action,.server-circle{border:0;position:relative;display:grid;place-items:center;cursor:pointer;flex:0 0 auto;transition:background .15s var(--ease),border-radius .16s var(--ease),transform .15s var(--ease),box-shadow .15s var(--ease)}
.profile-item,.server-circle{width:48px;height:48px;border-radius:50%;background:#313338;overflow:visible}
.profile-item>img,.server-circle>img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.profile-item:hover,.server-circle:hover,.profile-item.active,.server-circle.active{border-radius:16px;background:var(--brand)}
.profile-item:hover,.server-circle:hover{transform:translateY(-1px)}
.profile-item.active::before,.server-circle.active::before{content:"";position:absolute;left:-12px;width:4px;height:40px;border-radius:0 4px 4px 0;background:#fff}
.profile-item:not(.active):hover::before,.server-circle:not(.active):hover::before{content:"";position:absolute;left:-12px;width:4px;height:20px;border-radius:0 4px 4px 0;background:#fff}
.profile-fallback,.server-fallback{width:100%;height:100%;display:grid;place-items:center;border-radius:inherit;font-weight:800;background:#35373c;color:#f2f3f5}
.profile-status{position:absolute;right:-1px;bottom:-1px;width:16px;height:16px;border-radius:50%;border:4px solid var(--rail);background:#80848e}
.profile-status.online{background:var(--green)}
.profile-status.connecting{background:var(--yellow)}
.profile-status.error{background:var(--red)}

/* Discord-style profile folders: collapsed is a 2x2 cover, expanded is a visible vertical container. */
.profile-folder{width:56px;border-radius:18px;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;transition:background .18s var(--ease),padding .18s var(--ease),box-shadow .18s var(--ease)}
.profile-folder.collapsed{padding:0;background:transparent}
.profile-folder.expanded{padding:5px 4px 7px;background:#2b2d31;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.045),0 8px 18px rgba(0,0,0,.12)}
.profile-folder.drag-over{background:rgba(88,101,242,.25);box-shadow:0 0 0 2px var(--brand)}
.folder-cover{width:48px;height:48px;border:0;border-radius:16px;background:#313338;cursor:pointer;transition:.16s var(--ease);position:relative;padding:5px;color:var(--brand);display:grid;place-items:center}
.profile-folder.collapsed .folder-cover{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px}
.profile-folder.expanded .folder-cover{background:var(--brand);border-radius:14px;color:#fff;box-shadow:0 0 0 2px rgba(88,101,242,.18)}
.folder-cover:hover{background:var(--brand);color:#fff;border-radius:14px}
.folder-cover img,.folder-mini-fallback{width:100%;height:100%;border-radius:7px;object-fit:cover;background:#1e1f22;display:grid;place-items:center;font-size:7px;font-weight:800}
.folder-open-glyph{display:none;width:25px;height:25px;stroke-width:2.15}
.profile-folder.expanded .folder-cover>.folder-cover-tile{display:none}
.profile-folder.expanded .folder-open-glyph{display:block;transform:translateY(1px)}
.folder-members{display:flex;flex-direction:column;align-items:center;gap:7px}
.profile-folder.collapsed .folder-members{display:none}

.profile-folder.expanded .folder-members{position:relative;padding-top:1px}
.profile-folder.expanded .folder-members::before{content:"";position:absolute;top:-3px;bottom:2px;left:50%;width:1px;background:rgba(255,255,255,.055);transform:translateX(-50%);z-index:0}
.profile-folder.expanded .folder-members .profile-item{z-index:1;box-shadow:0 0 0 3px #2b2d31}
.profile-folder.expanded:has(.profile-item.active){box-shadow:inset 0 0 0 1px rgba(88,101,242,.28),0 8px 18px rgba(0,0,0,.16)}
.profile-rail-actions{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.055)}
.rail-action{width:48px;height:48px;border-radius:50%;background:#313338;color:#23a55a}
.rail-action:hover{border-radius:16px;background:var(--green);color:#fff}
.folder-create{color:#b5bac1}.folder-create:hover{background:var(--brand)}

.server-top,.server-bottom{width:100%;display:flex;flex-direction:column;align-items:center}
.server-bottom{margin-top:auto;padding-top:8px}
.server-separator{width:32px;height:2px;background:#35363c;border-radius:2px;margin:8px auto}
.server-circle svg{width:23px;height:23px}
.home-server{background:#313338;color:#dbdee1}
.join-server{color:var(--green)}
.join-server:hover{background:var(--green)}
.rail-loader{height:48px;display:grid;place-items:center}

.channel-sidebar{min-width:0;min-height:0;background:var(--sidebar);display:flex;flex-direction:column;border-right:1px solid rgba(0,0,0,.16);z-index:3}
.guild-header{height:48px;min-height:48px;border-bottom:1px solid rgba(0,0,0,.22);box-shadow:0 1px 0 rgba(255,255,255,.02),0 2px 5px rgba(0,0,0,.15);display:flex;align-items:center;padding:0 8px 0 12px;gap:5px}
.guild-heading-button{min-width:0;flex:1;height:40px;border:0;border-radius:4px;background:transparent;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:0 6px;cursor:pointer;color:var(--text)}
.guild-heading-button:hover{background:rgba(255,255,255,.045)}
.guild-heading-copy{min-width:0}
.guild-heading-copy strong{font-size:15px;font-weight:700;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:18px}
.guild-kicker{display:block;font-size:9px;letter-spacing:.06em;font-weight:800;color:var(--muted-2);margin-bottom:1px}
.guild-menu-chevron{width:18px;height:18px;flex:0 0 auto;transition:transform .16s var(--ease)}
.guild-heading-button[aria-expanded="true"] .guild-menu-chevron{transform:rotate(180deg)}
.icon-button{width:32px;height:32px;border:0;border-radius:4px;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--muted)}
.icon-button:hover{background:rgba(255,255,255,.055);color:#fff}
.icon-button svg{width:17px;height:17px}.icon-button:disabled{opacity:.35;cursor:not-allowed}
.disconnect{color:var(--muted)}.disconnect:not(:disabled):hover{background:rgba(218,55,60,.16);color:#fff}

.channel-scroll{min-height:0;flex:1;overflow-y:auto;padding:12px 8px 10px;scrollbar-width:thin;scrollbar-color:#1a1b1e transparent}
.channel-scroll::-webkit-scrollbar{width:8px}.channel-scroll::-webkit-scrollbar-thumb{background:#1a1b1e;border-radius:8px}
.sidebar-empty{padding:16px 10px;color:var(--muted-2);font-size:12px;line-height:1.55}
.channel-category{display:flex;align-items:center;gap:5px;padding:8px 6px 5px;color:var(--muted-2);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.channel-category svg{width:12px;height:12px}.channel-category .plus{margin-left:auto;font-size:20px;color:var(--muted-2);font-weight:400}
.voice-channel{border-radius:4px;margin:1px 0;padding:6px 7px;color:var(--muted);cursor:pointer;transition:background .1s,color .1s;background:transparent}
.voice-channel:hover{background:var(--hover);color:var(--text-2)}.voice-channel.active{background:var(--selected);color:#fff}.voice-channel.joining{background:rgba(88,101,242,.16)}
.voice-channel-row{display:flex;align-items:center;gap:7px;min-width:0;height:24px}.voice-channel-row svg{width:19px;height:19px;flex:0 0 auto}
.voice-channel-name{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.voice-pill{font-size:10px;line-height:17px;padding:0 6px;border-radius:10px;background:#1e1f22;color:#b5bac1;font-weight:700}
.channel-connected-mark{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(35,165,90,.12)}
.voice-members{padding:2px 0 1px 24px;display:flex;flex-direction:column;gap:1px}
.voice-member{min-height:32px;display:flex;align-items:center;gap:8px;padding:2px 6px;border-radius:4px;color:var(--muted);font-size:12px;min-width:0}
.voice-member:hover{background:rgba(255,255,255,.035);color:var(--text-2)}
.voice-member img{width:24px;height:24px;border-radius:50%;object-fit:cover}.voice-member .voice-member-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.voice-member.is-self{color:#f2f3f5}
.member-state-icons{margin-left:auto;display:flex;align-items:center;gap:4px;color:var(--muted-2)}.member-state-icons .state-icon{width:16px;height:16px;display:grid;place-items:center}.member-state-icons svg{width:14px;height:14px}
.member-state-icons .danger{color:#f23f42}.member-state-icons .live{color:var(--green)}
.dm-row{height:42px;border-radius:4px;display:flex;align-items:center;gap:9px;padding:4px 7px;color:var(--muted);cursor:pointer}.dm-row:hover{background:var(--hover);color:var(--text-2)}.dm-row img{width:30px;height:30px;border-radius:50%;object-fit:cover}.dm-row-copy{min-width:0}.dm-row-copy strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dm-row-copy span{display:block;font-size:9px;color:var(--muted-2);margin-top:1px}

.voice-dock{background:#232428;border-top:1px solid rgba(0,0,0,.16);padding:10px 8px 8px}.voice-dock-head{display:flex;align-items:center;gap:8px}.voice-status-icon{width:29px;height:29px;border-radius:7px;color:var(--green);display:grid;place-items:center}.voice-status-icon svg{width:18px;height:18px}.voice-copy{min-width:0;flex:1}.voice-copy strong{display:block;color:var(--green);font-size:12px;font-weight:700}.voice-copy span{display:block;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.voice-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.quick-action{height:34px;border:0;border-radius:5px;background:#1e1f22;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:700;cursor:pointer;transition:.12s}.quick-action:hover{background:#35373c;color:#fff}.quick-action.active{background:rgba(35,165,90,.16);color:#4fd486;box-shadow:inset 0 0 0 1px rgba(35,165,90,.22)}.quick-action.active.screen-live,.quick-action.active.camera-live{animation:livePulse 1.8s ease-in-out infinite}.quick-action svg{width:16px;height:16px}@keyframes livePulse{50%{box-shadow:inset 0 0 0 1px rgba(35,165,90,.3),0 0 16px rgba(35,165,90,.08)}}

.user-dock{min-height:54px;background:#232428;padding:7px 7px;display:flex;align-items:center;gap:5px}.user-identity{min-width:0;flex:1;height:40px;border:0;border-radius:4px;background:transparent;padding:3px 4px;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer}.user-identity:hover{background:rgba(255,255,255,.055)}
.dock-avatar{width:32px;height:32px;border-radius:50%;background:#35373c;display:grid;place-items:center;overflow:visible;position:relative;flex:0 0 auto}.dock-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.dock-avatar::after{content:"";position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border:3px solid #232428;border-radius:50%;background:#80848e}.dock-avatar.online::after{background:var(--green)}.dock-avatar.connecting::after{background:var(--yellow)}.dock-avatar.error::after{background:var(--red)}
.dock-user-copy{min-width:0}.dock-user-copy strong{display:flex;align-items:center;gap:5px;font-size:12px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dock-user-copy span{display:block;color:var(--muted);font-size:10px;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dock-custom-status{color:#b5bac1!important}
.user-controls{display:flex;align-items:center;gap:1px}.control-button{width:31px;height:31px;border:0;border-radius:4px;background:transparent;color:var(--text-2);display:grid;place-items:center;cursor:pointer}.control-button:hover{background:rgba(255,255,255,.06)}.control-button:disabled{opacity:.3;cursor:not-allowed}.control-button svg{width:17px;height:17px}.control-button.active-danger{color:#f23f42;background:rgba(242,63,66,.10);position:relative}.control-button.active-danger::after{content:"";position:absolute;width:21px;height:2px;background:currentColor;transform:rotate(-45deg);border-radius:2px}

.chat-shell{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--content)}
.chat-header{height:48px;min-height:48px;background:var(--content);border-bottom:1px solid rgba(0,0,0,.18);box-shadow:0 1px 0 rgba(255,255,255,.015);display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 17px;gap:18px;z-index:2}.chat-title-wrap{display:flex;align-items:center;gap:9px;min-width:0}.chat-hash{font-size:22px;font-weight:700;color:var(--muted-2)}.chat-title-wrap strong{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-title-wrap div span{display:block;font-size:10px;color:var(--muted-2);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-header-presence{font-size:10px;color:var(--muted-2);white-space:nowrap}.chat-header-presence.live{color:var(--green)}
.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 270px}.content-stage{min-width:0;min-height:0;overflow:auto;position:relative;background:var(--content)}
.welcome-panel{height:100%;min-height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px}.welcome-orb{width:72px;height:72px;border-radius:24px;background:#2b2d31;display:grid;place-items:center;box-shadow:var(--shadow)}.welcome-orb span{width:28px;height:28px;border-radius:50%;background:var(--brand);box-shadow:0 0 26px rgba(88,101,242,.34)}.welcome-kicker{font-size:9px;letter-spacing:.16em;color:var(--muted-2);font-weight:800;margin:18px 0 7px}.welcome-panel h1{font-size:clamp(22px,3vw,36px);max-width:670px;margin:0;letter-spacing:-.035em}.welcome-panel>p:last-child{max-width:620px;color:var(--muted);line-height:1.65;font-size:12px;margin-top:10px}
.media-stage{height:100%;min-height:480px;display:flex;flex-direction:column;padding:18px}.media-stage-header{height:38px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.media-stage-grid{flex:1;min-height:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));align-content:center}.media-tile{aspect-ratio:16/9;background:#000;border-radius:8px;border:1px solid rgba(255,255,255,.055);box-shadow:0 14px 36px rgba(0,0,0,.34);position:relative;overflow:hidden;display:grid;place-items:center}.media-tile.live{box-shadow:0 14px 36px rgba(0,0,0,.38),0 0 0 2px rgba(35,165,90,.18)}.media-tile::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.025),transparent 48%)}.media-tile-label{position:absolute;left:12px;bottom:10px;color:#dbdee1;font-size:10px;background:rgba(30,31,34,.82);backdrop-filter:blur(8px);padding:5px 8px;border-radius:4px;z-index:1}.media-live-chip{position:absolute;top:10px;left:10px;z-index:2;background:var(--red);color:#fff;font-weight:800;font-size:9px;letter-spacing:.04em;padding:4px 6px;border-radius:4px}.media-elapsed{position:absolute;top:10px;right:10px;z-index:2;background:rgba(30,31,34,.85);color:#dbdee1;font-variant-numeric:tabular-nums;font-size:9px;padding:4px 6px;border-radius:4px}.media-empty-icon{color:#3f4147}.media-empty-icon svg{width:38px;height:38px}.chat-empty{height:100%;min-height:480px;display:flex;align-items:flex-end;padding:22px}.chat-input-shell{width:100%;height:44px;border-radius:8px;background:#383a40;color:#949ba4;display:flex;align-items:center;padding:0 14px;font-size:12px}.chat-input-shell span{margin-left:auto;color:#7d828b}

.activity-sidebar{min-width:0;background:#2b2d31;border-left:1px solid rgba(0,0,0,.16);display:flex;flex-direction:column;overflow:hidden}.activity-head{height:48px;min-height:48px;border-bottom:1px solid rgba(0,0,0,.16);display:flex;align-items:center;justify-content:space-between;padding:0 12px}.activity-head div{min-width:0}.activity-head span{display:block;font-size:9px;font-weight:800;letter-spacing:.08em;color:var(--muted-2)}.activity-head strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.log-refresh{width:30px;height:30px;border:0;border-radius:4px;background:transparent;color:var(--muted);cursor:pointer;font-size:18px}.log-refresh:hover{background:var(--hover);color:#fff}.activity-list{flex:1;min-height:0;overflow:auto;padding:10px 8px 14px;scrollbar-width:thin;scrollbar-color:#1e1f22 transparent}.activity-empty{padding:14px 10px;color:var(--muted-2);font-size:11px;line-height:1.55}.log-entry{display:grid;grid-template-columns:8px minmax(0,1fr);gap:9px;padding:9px 8px;border-radius:5px;margin-bottom:2px}.log-entry:hover{background:rgba(255,255,255,.035)}.log-dot{width:7px;height:7px;border-radius:50%;background:#949ba4;margin-top:5px}.log-entry.success .log-dot{background:var(--green)}.log-entry.error .log-dot{background:var(--red)}.log-entry.warning .log-dot{background:var(--yellow)}.log-entry.voice .log-dot{background:var(--brand)}.log-entry.profile .log-dot{background:#eb459e}.log-copy{min-width:0}.log-message{font-size:11px;color:#dbdee1;line-height:1.4;word-break:break-word}.log-time{font-size:9px;color:#6d6f78;margin-top:3px;font-variant-numeric:tabular-nums}

.rail-tooltip{position:fixed;z-index:1700;pointer-events:none;background:#111214;color:#f2f3f5;font-size:12px;font-weight:700;line-height:18px;padding:7px 10px;border-radius:5px;box-shadow:0 8px 24px rgba(0,0,0,.48);opacity:0;visibility:hidden;transform:translateX(-4px);transition:opacity .1s,transform .1s;white-space:nowrap;max-width:250px;overflow:hidden;text-overflow:ellipsis}.rail-tooltip.show{opacity:1;visibility:visible;transform:translateX(0)}.rail-tooltip::before{content:"";position:absolute;left:-4px;top:50%;width:8px;height:8px;background:#111214;transform:translateY(-50%) rotate(45deg)}

.context-menu{position:fixed;z-index:1600;width:232px;background:#111214;border:1px solid rgba(255,255,255,.06);border-radius:6px;padding:6px;box-shadow:0 18px 46px rgba(0,0,0,.5);opacity:0;visibility:hidden;transform:scale(.98);transform-origin:top left;transition:.08s}.context-menu.open{opacity:1;visibility:visible;transform:scale(1)}.context-head{padding:8px 9px 6px;color:#949ba4;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-item{width:100%;min-height:32px;border:0;background:transparent;border-radius:3px;padding:0 9px;color:#dbdee1;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:11px;font-weight:600;cursor:pointer;gap:10px}.context-item:hover{background:var(--brand);color:#fff}.context-item.danger{color:#f23f42}.context-item.danger:hover{background:var(--red);color:#fff}.context-item.active-setting{color:#4fd486}.context-separator{height:1px;background:rgba(255,255,255,.07);margin:5px 4px}.context-arrow{color:#949ba4}.drag-origin{opacity:.45}.root-drop-zone{width:48px;min-height:22px;border-radius:6px;border:1px dashed transparent;color:#6d6f78;font-size:8px;display:grid;place-items:center;text-align:center;line-height:1.2;margin:1px 0}.root-drop-zone.visible{min-height:34px;border-color:rgba(88,101,242,.4);background:rgba(88,101,242,.08);color:#b5bac1}.root-drop-zone.drag-over{border-color:var(--brand);background:rgba(88,101,242,.18);color:#fff}

.toast-stack{position:fixed;right:18px;bottom:18px;display:flex;flex-direction:column;gap:8px;z-index:1800;pointer-events:none}.toast{min-width:240px;max-width:370px;background:#111214;border:1px solid rgba(255,255,255,.07);border-left:3px solid var(--brand);border-radius:6px;padding:10px 12px;color:#dbdee1;font-size:11px;box-shadow:0 14px 38px rgba(0,0,0,.4);animation:toastIn .16s var(--ease)}.toast.success{border-left-color:var(--green)}.toast.error{border-left-color:var(--red)}@keyframes toastIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(4px);z-index:1500;display:grid;place-items:center;padding:20px;opacity:0;visibility:hidden;transition:.14s}.modal-backdrop.open{opacity:1;visibility:visible}.modal-card{width:min(94vw,520px);max-height:88vh;overflow:auto;background:#313338;border:1px solid rgba(255,255,255,.06);border-radius:8px;box-shadow:0 28px 80px rgba(0,0,0,.58);position:relative;padding:24px}.modal-card.profile-modal-card{width:min(94vw,620px)}.modal-close{position:absolute;right:10px;top:9px;width:30px;height:30px;border:0;border-radius:4px;background:transparent;color:#949ba4;font-size:21px;cursor:pointer}.modal-close:hover{background:#3f4147;color:#fff}.modal-icon{width:46px;height:46px;border-radius:14px;background:rgba(88,101,242,.15);color:#aeb4ff;display:grid;place-items:center;margin-bottom:14px}.modal-icon svg{width:22px;height:22px}.modal-title{font-size:20px;margin:0 0 6px;letter-spacing:-.02em}.modal-desc{font-size:11px;line-height:1.55;color:var(--muted);margin:0 0 17px}.field-label{display:block;font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.input,.select,.textarea{width:100%;border:1px solid transparent;border-radius:4px;background:#1e1f22;color:#f2f3f5;padding:0 11px;font-size:12px;outline:0}.input,.select{height:42px}.textarea{min-height:84px;padding-top:10px;padding-bottom:10px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:var(--brand)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.btn{height:36px;border:0;border-radius:4px;padding:0 14px;font-size:11px;font-weight:700;cursor:pointer;transition:.12s}.btn:hover{filter:brightness(1.08)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--brand);color:#fff}.btn-ghost{background:#4e5058;color:#fff}.btn-danger{background:var(--red);color:#fff}.form-error{min-height:16px;color:#f23f42;font-size:10px;margin-top:8px}
.invite-card{border:1px solid rgba(255,255,255,.06);background:#2b2d31;border-radius:6px;padding:12px;margin-top:13px}.invite-head{display:flex;align-items:center;gap:10px}.invite-avatar{width:42px;height:42px;border-radius:12px;background:#3f4147;overflow:hidden;display:grid;place-items:center;font-weight:800}.invite-avatar img{width:100%;height:100%;object-fit:cover}.invite-copy{min-width:0}.invite-copy strong{display:block;font-size:12px}.invite-copy span{font-size:10px;color:var(--muted-2);display:block;margin-top:2px}.invite-stats{display:flex;gap:14px;margin-top:11px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);font-size:9px;color:var(--muted)}.invite-stats strong{color:#dbdee1}
.profile-editor-hero{margin:-24px -24px 18px;position:relative;background:#1e1f22;min-height:155px}.profile-banner{height:92px;background:#5865f2 center/cover no-repeat}.profile-editor-avatar{position:absolute;left:22px;top:55px;width:78px;height:78px;border-radius:50%;background:#313338;border:6px solid #313338;overflow:hidden;display:grid;place-items:center;font-size:25px;font-weight:800}.profile-editor-avatar img{width:100%;height:100%;object-fit:cover}.profile-editor-name{padding:45px 22px 15px 112px;min-height:63px}.profile-editor-name strong{font-size:17px;display:block}.profile-editor-name span{font-size:10px;color:var(--muted);display:block;margin-top:2px}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-form-grid .full{grid-column:1/-1}.file-pick{height:42px;border:1px dashed #4e5058;border-radius:4px;display:flex;align-items:center;padding:0 10px;color:var(--muted);background:#2b2d31;font-size:11px;cursor:pointer}.file-pick:hover{border-color:var(--brand);color:#fff}.file-pick input{display:none}.profile-note{font-size:10px;color:var(--muted-2);line-height:1.45;margin-top:8px}.status-preview{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.status-preview-dot{width:9px;height:9px;border-radius:50%;background:var(--green)}.status-preview-dot.idle{background:var(--yellow)}.status-preview-dot.dnd{background:var(--red)}.status-preview-dot.invisible{background:#80848e}
.mini-spinner{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.12);border-top-color:#fff;display:inline-block;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

@media(max-width:1260px){.app-shell{grid-template-columns:68px 68px 286px minmax(480px,1fr)}.workspace{grid-template-columns:minmax(0,1fr) 235px}}
@media(max-width:1040px){.workspace{grid-template-columns:minmax(0,1fr)}.activity-sidebar{display:none}.app-shell{grid-template-columns:66px 66px 276px minmax(420px,1fr)}}
@media(max-width:820px){.app-shell{grid-template-columns:62px 62px 255px minmax(360px,1fr)}.profile-item,.server-circle,.rail-action,.folder-cover{width:44px;height:44px}.profile-folder{width:52px}.profile-form-grid{grid-template-columns:1fr}.profile-form-grid .full{grid-column:auto}.media-stage-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* ========================================================================== */
/* V2.3 · DCSV-inspired interaction layer                                    */
/* ========================================================================== */
:root{
  --bg:#060818;
  --rail:#090b1f;
  --rail-hover:#171a3c;
  --servers:#0b0e24;
  --sidebar:#0d1029;
  --sidebar-dark:#080a1d;
  --content:#0a0d22;
  --content-2:#10142f;
  --content-3:#090c20;
  --hover:#161a3b;
  --selected:#1b2150;
  --input:#090c20;
  --line:rgba(132,116,255,.12);
  --line-strong:rgba(132,116,255,.24);
  --text:#f7f7ff;
  --text-2:#e8e9f8;
  --muted:#a5a8c7;
  --muted-2:#73789d;
  --brand:#7a6cff;
  --brand-hover:#8b7cff;
  --brand-soft:rgba(122,108,255,.14);
  --brand-glow:rgba(122,108,255,.32);
  --green:#41e2a1;
  --red:#ff5578;
  --yellow:#ffca67;
  --cyan:#55d9ff;
  --shadow:0 24px 70px rgba(0,0,0,.5);
  --shadow-soft:0 12px 32px rgba(0,0,0,.26);
  --radius:12px;
  --ease:cubic-bezier(.2,.78,.18,1)
}
body{
  background:
    radial-gradient(900px 520px at 72% -12%,rgba(122,108,255,.16),transparent 68%),
    radial-gradient(620px 420px at 100% 100%,rgba(65,226,161,.06),transparent 72%),
    var(--bg);
}
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.01) 1px,transparent 1px);
  background-size:38px 38px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.48),transparent 70%)
}
.app-shell{position:relative;z-index:1;background:transparent;grid-template-columns:76px 76px 308px minmax(620px,1fr)}
.profile-rail,.server-rail,.channel-sidebar,.activity-sidebar,.chat-shell{backdrop-filter:saturate(1.15) blur(18px)}
.profile-rail{background:linear-gradient(180deg,rgba(10,12,34,.98),rgba(6,8,24,.98));border-right:1px solid rgba(122,108,255,.12);box-shadow:8px 0 28px rgba(0,0,0,.16)}
.server-rail{background:linear-gradient(180deg,rgba(10,13,35,.96),rgba(7,9,26,.98));border-right:1px solid rgba(122,108,255,.1)}
.channel-sidebar{background:linear-gradient(180deg,rgba(14,17,43,.96),rgba(10,13,32,.98));border-right:1px solid rgba(122,108,255,.13)}
.chat-shell{background:linear-gradient(180deg,rgba(10,13,34,.97),rgba(7,10,27,.99))}
.activity-sidebar{background:linear-gradient(180deg,rgba(14,17,43,.96),rgba(9,12,30,.99));border-left:1px solid rgba(122,108,255,.13)}

/* tactile base */
button,.profile-item,.server-circle,.voice-channel,.dm-row,.log-entry,.file-pick,.invite-card,.user-identity{
  -webkit-tap-highlight-color:transparent
}
button:not(:disabled),.profile-item,.server-circle,.voice-channel,.dm-row,.file-pick,.user-identity{
  transition:transform .14s var(--ease),background .16s var(--ease),border-color .16s var(--ease),box-shadow .16s var(--ease),color .16s var(--ease),filter .16s var(--ease)
}
button:not(:disabled):active,.profile-item:active,.server-circle:active,.voice-channel:active,.dm-row:active,.file-pick:active,.user-identity:active{
  transform:translateY(1px) scale(.975)!important;filter:brightness(.96)
}

/* profile + server rails */
.profile-item,.server-circle{
  width:50px;height:50px;background:linear-gradient(145deg,#171a40,#0f122d);border:1px solid rgba(255,255,255,.055);
  box-shadow:0 5px 16px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035)
}
.profile-item:hover,.server-circle:hover{
  transform:translateY(-2px);border-radius:16px;border-color:rgba(122,108,255,.52);background:linear-gradient(145deg,#25295f,#161b48);box-shadow:0 8px 24px rgba(0,0,0,.34),0 0 0 3px rgba(122,108,255,.08),0 0 24px rgba(122,108,255,.16)
}
.profile-item.active,.server-circle.active{
  border-radius:16px;background:linear-gradient(145deg,#7a6cff,#5449d9);border-color:rgba(255,255,255,.18);box-shadow:0 8px 28px rgba(0,0,0,.36),0 0 0 3px rgba(122,108,255,.16),0 0 30px rgba(122,108,255,.28)
}
.profile-item.active::before,.server-circle.active::before{left:-14px;width:5px;height:34px;background:linear-gradient(180deg,#fff,#b8b0ff);box-shadow:0 0 12px rgba(255,255,255,.55)}
.profile-item:not(.active):hover::before,.server-circle:not(.active):hover::before{left:-14px;width:4px;height:18px;background:#b9b4ff}
.profile-status{width:15px;height:15px;border:3px solid #090b1f;box-shadow:0 0 0 1px rgba(0,0,0,.35)}
.profile-status.online{box-shadow:0 0 12px rgba(65,226,161,.4),0 0 0 3px #090b1f}
.profile-status.connecting{box-shadow:0 0 12px rgba(255,202,103,.32),0 0 0 3px #090b1f}
.profile-status.error{box-shadow:0 0 12px rgba(255,85,120,.34),0 0 0 3px #090b1f}
.profile-rail-actions{border-top-color:rgba(122,108,255,.12)}
.rail-action{background:linear-gradient(145deg,#151936,#0f122b);border:1px solid rgba(255,255,255,.055);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.rail-action:hover{background:linear-gradient(145deg,#48dfa6,#22bd81);box-shadow:0 0 25px rgba(65,226,161,.2)}
.folder-create:hover{background:linear-gradient(145deg,#8174ff,#5e52e6);box-shadow:0 0 25px rgba(122,108,255,.28)}

/* folders */
.profile-folder{border:1px solid transparent}
.profile-folder.expanded{background:linear-gradient(180deg,rgba(122,108,255,.14),rgba(22,25,58,.82));border-color:rgba(122,108,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 9px 24px rgba(0,0,0,.24),0 0 22px rgba(122,108,255,.08)}
.folder-cover{background:linear-gradient(145deg,#181c40,#10132f);border:1px solid rgba(255,255,255,.05);box-shadow:0 4px 14px rgba(0,0,0,.22)}
.folder-cover:hover{background:linear-gradient(145deg,#8174ff,#5d51dd);box-shadow:0 0 24px rgba(122,108,255,.24)}
.profile-folder.expanded .folder-cover{background:linear-gradient(145deg,#8174ff,#5e52e6);box-shadow:0 7px 20px rgba(0,0,0,.26),0 0 22px rgba(122,108,255,.22)}
.profile-folder.expanded .folder-members .profile-item{box-shadow:0 5px 16px rgba(0,0,0,.28),0 0 0 3px rgba(12,15,36,.98)}
.rail-tooltip{background:#151932;border:1px solid rgba(122,108,255,.2);box-shadow:0 12px 34px rgba(0,0,0,.5),0 0 20px rgba(122,108,255,.12);border-radius:9px;padding:8px 12px}
.rail-tooltip::before{background:#151932;border-left:1px solid rgba(122,108,255,.18);border-bottom:1px solid rgba(122,108,255,.18)}

/* guild header */
.guild-header,.chat-header,.activity-head{height:54px;min-height:54px;border-color:rgba(122,108,255,.12);background:rgba(8,11,29,.5);box-shadow:0 10px 25px rgba(0,0,0,.12)}
.guild-heading-button{height:42px;border-radius:10px;padding:0 10px;border:1px solid transparent}
.guild-heading-button:hover{background:rgba(122,108,255,.09);border-color:rgba(122,108,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.guild-heading-button[aria-expanded="true"]{background:rgba(122,108,255,.14);border-color:rgba(122,108,255,.24);box-shadow:0 0 18px rgba(122,108,255,.08)}
.guild-kicker{color:#7f86b2;letter-spacing:.11em}
.guild-heading-copy strong{font-size:14px;letter-spacing:-.01em}
.icon-button,.log-refresh,.control-button{border-radius:10px;border:1px solid transparent}
.icon-button:hover,.log-refresh:hover,.control-button:hover{background:rgba(122,108,255,.1);border-color:rgba(122,108,255,.13);box-shadow:0 0 18px rgba(122,108,255,.08)}

/* channels */
.channel-scroll{padding:13px 9px 11px;scrollbar-color:#262b59 transparent}
.channel-category{font-size:10px;letter-spacing:.085em;color:#747aa4;margin-top:5px}
.voice-channel{border-radius:10px;margin:3px 0;padding:6px 8px;border:1px solid transparent;position:relative;overflow:hidden}
.voice-channel::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;border-radius:2px;background:transparent;transition:.16s var(--ease)}
.voice-channel:hover{background:linear-gradient(90deg,rgba(122,108,255,.11),rgba(122,108,255,.035));border-color:rgba(122,108,255,.1);color:#f2f3ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
.voice-channel:hover::before{background:rgba(122,108,255,.55)}
.voice-channel.active{background:linear-gradient(90deg,rgba(122,108,255,.24),rgba(122,108,255,.08));border-color:rgba(122,108,255,.25);box-shadow:0 8px 18px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.025)}
.voice-channel.active::before{background:#8f84ff;box-shadow:0 0 10px rgba(122,108,255,.55)}
.voice-channel.joining{background:linear-gradient(90deg,rgba(85,217,255,.17),rgba(122,108,255,.06));border-color:rgba(85,217,255,.22)}
.voice-channel-name{font-weight:650}
.voice-pill{background:rgba(5,8,24,.68);border:1px solid rgba(122,108,255,.14);color:#b6baf0}
.voice-members{padding-left:26px;gap:2px}
.voice-member{border-radius:8px;min-height:34px;padding:3px 7px}
.voice-member:hover{background:rgba(122,108,255,.07)}
.voice-member.is-self{background:rgba(65,226,161,.045)}
.state-icon.danger{color:#ff6685}.state-icon.live{color:#5fe2aa}

/* voice/user dock */
.voice-dock{margin:8px;border:1px solid rgba(65,226,161,.18);border-radius:14px;background:linear-gradient(145deg,rgba(18,36,43,.92),rgba(10,18,35,.96));padding:11px;box-shadow:0 12px 28px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.025)}
.voice-copy strong{color:#63e8b2;text-shadow:0 0 14px rgba(65,226,161,.14)}
.voice-quick-actions{gap:7px;margin-top:10px}
.quick-action{border-radius:10px!important;background:rgba(5,8,24,.52)!important;border:1px solid rgba(255,255,255,.045)!important;min-height:38px}
.quick-action:hover{background:rgba(122,108,255,.1)!important;border-color:rgba(122,108,255,.16)!important;box-shadow:0 0 18px rgba(122,108,255,.07)}
.quick-action.active{background:linear-gradient(145deg,rgba(65,226,161,.2),rgba(65,226,161,.08))!important;border-color:rgba(65,226,161,.33)!important;color:#70efbb!important;box-shadow:0 0 22px rgba(65,226,161,.11),inset 0 1px 0 rgba(255,255,255,.03)}
.user-dock{min-height:62px;background:linear-gradient(180deg,rgba(8,10,27,.72),rgba(6,8,22,.94));border-top:1px solid rgba(122,108,255,.11);padding:7px 8px}
.user-identity{height:47px;border-radius:11px;padding:4px 7px;border:1px solid transparent}
.user-identity:hover{background:rgba(122,108,255,.08);border-color:rgba(122,108,255,.11);box-shadow:0 6px 18px rgba(0,0,0,.16)}
.dock-user-copy strong{display:flex!important;align-items:center;gap:6px;min-width:0}
.dock-user-copy strong>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dock-guild-tag{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:6px;background:linear-gradient(145deg,#8a7cff,#5d51e2);border:1px solid rgba(255,255,255,.13);font-size:8px;font-weight:900;letter-spacing:.05em;color:#fff;box-shadow:0 0 14px rgba(122,108,255,.18);flex:0 0 auto}
.control-button.active-danger{background:rgba(255,85,120,.12)!important;border-color:rgba(255,85,120,.2)!important;color:#ff6c89!important;box-shadow:0 0 18px rgba(255,85,120,.08)}

/* center canvas */
.content-stage{background:
  radial-gradient(780px 520px at 50% 6%,rgba(122,108,255,.08),transparent 68%),
  linear-gradient(180deg,rgba(9,12,31,.92),rgba(6,9,24,.98))}
.welcome-panel{border:1px solid rgba(122,108,255,.14)!important;background:linear-gradient(145deg,rgba(18,22,51,.84),rgba(9,12,31,.72))!important;box-shadow:0 26px 80px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.025)!important;border-radius:20px!important}
.welcome-orb{box-shadow:0 0 0 1px rgba(122,108,255,.2),0 0 40px rgba(122,108,255,.16)!important}
.chat-input-shell{background:rgba(15,18,44,.86);border:1px solid rgba(122,108,255,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}

/* activity */
.activity-list{padding:12px 10px 16px}
.log-entry{position:relative;grid-template-columns:10px minmax(0,1fr);gap:10px;padding:10px 10px;margin-bottom:7px;border:1px solid rgba(255,255,255,.035);border-radius:11px;background:linear-gradient(145deg,rgba(18,21,48,.62),rgba(10,13,31,.48));box-shadow:inset 0 1px 0 rgba(255,255,255,.018);transition:.16s var(--ease)}
.log-entry:hover{transform:translateY(-1px);background:linear-gradient(145deg,rgba(26,30,67,.72),rgba(13,16,39,.56));border-color:rgba(122,108,255,.11);box-shadow:0 7px 18px rgba(0,0,0,.13)}
.log-dot{width:8px;height:8px;box-shadow:0 0 11px currentColor}
.log-entry.success .log-dot{background:var(--green);color:var(--green)}
.log-entry.error .log-dot{background:var(--red);color:var(--red)}
.log-entry.warning .log-dot{background:var(--yellow);color:var(--yellow)}
.log-entry.voice .log-dot{background:var(--cyan);color:var(--cyan)}
.log-entry.profile .log-dot{background:#e96cff;color:#e96cff}
.log-message{font-size:11px;line-height:1.48;color:#e2e4f7}
.log-time{color:#696f9a;font-size:9px}

/* context + modal */
.context-menu{width:244px;background:linear-gradient(180deg,#10142f,#090c20);border:1px solid rgba(122,108,255,.18);border-radius:13px;padding:7px;box-shadow:0 26px 70px rgba(0,0,0,.56),0 0 30px rgba(122,108,255,.08)}
.context-item{min-height:36px;border-radius:8px;padding:0 10px}
.context-item:hover{background:linear-gradient(90deg,#7a6cff,#6256e7);box-shadow:0 5px 18px rgba(122,108,255,.18)}
.context-item.active-setting{color:#68eab7;background:rgba(65,226,161,.06)}
.modal-backdrop{background:rgba(2,4,15,.76);backdrop-filter:blur(10px) saturate(1.1)}
.modal-card{background:linear-gradient(160deg,rgba(20,24,56,.98),rgba(9,12,31,.99));border:1px solid rgba(122,108,255,.2);border-radius:18px;box-shadow:0 38px 100px rgba(0,0,0,.65),0 0 44px rgba(122,108,255,.08);padding:26px}
.modal-card.profile-modal-card{width:min(94vw,680px)}
.modal-icon{background:linear-gradient(145deg,rgba(122,108,255,.22),rgba(122,108,255,.08));border:1px solid rgba(122,108,255,.2);color:#b6afff;box-shadow:0 0 22px rgba(122,108,255,.1)}
.modal-icon.verification{color:#ffd47a;background:linear-gradient(145deg,rgba(255,202,103,.18),rgba(122,108,255,.08));border-color:rgba(255,202,103,.2);font-weight:900;font-size:20px}
.input,.select,.textarea{background:rgba(5,8,24,.8);border:1px solid rgba(122,108,255,.09);border-radius:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.015)}
.input:hover,.select:hover,.textarea:hover{border-color:rgba(122,108,255,.18)}
.input:focus,.select:focus,.textarea:focus{border-color:rgba(122,108,255,.7);box-shadow:0 0 0 3px rgba(122,108,255,.1),0 0 18px rgba(122,108,255,.08)}
.btn{height:40px;border-radius:10px;padding:0 17px;box-shadow:inset 0 1px 0 rgba(255,255,255,.045)}
.btn-primary{background:linear-gradient(145deg,#8174ff,#6256e8);box-shadow:0 8px 22px rgba(122,108,255,.18),inset 0 1px 0 rgba(255,255,255,.08)}
.btn-primary:hover{filter:brightness(1.08);box-shadow:0 10px 28px rgba(122,108,255,.27)}
.btn-ghost{background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.05)}
.file-pick{border:1px dashed rgba(122,108,255,.26);background:rgba(9,12,31,.7);border-radius:10px}
.file-pick:hover{background:rgba(122,108,255,.07);box-shadow:0 0 18px rgba(122,108,255,.06)}
.profile-editor-hero{margin:-26px -26px 20px;background:#080b20;min-height:168px;border-radius:18px 18px 0 0;overflow:hidden;border-bottom:1px solid rgba(122,108,255,.14)}
.profile-banner{height:100px;background-color:#6b5cff;background-image:linear-gradient(120deg,rgba(122,108,255,.9),rgba(44,35,119,.72))}
.profile-editor-avatar{top:61px;left:24px;width:82px;height:82px;border:6px solid #10142f;background:#0b0e25;box-shadow:0 8px 24px rgba(0,0,0,.32)}
.profile-editor-name{padding:48px 24px 16px 118px}
.profile-editor-name strong{font-size:18px}.profile-editor-name span{color:#8c91b6}
.profile-note{padding:10px 12px;border:1px solid rgba(122,108,255,.1);border-radius:10px;background:rgba(122,108,255,.045);color:#8e94bb}
.verification-card{display:flex;flex-direction:column;gap:6px;padding:13px 14px;margin-top:12px;border-radius:12px;background:linear-gradient(145deg,rgba(255,202,103,.09),rgba(122,108,255,.05));border:1px solid rgba(255,202,103,.16);color:#b9bdd8;line-height:1.5;font-size:11px}
.verification-card strong{color:#ffe0a2;font-size:12px}

/* toast */
.toast-stack{right:20px;bottom:20px;gap:9px}
.toast{opacity:0;transform:translateY(10px) scale(.98);min-width:270px;background:linear-gradient(145deg,#151934,#0a0d22);border:1px solid rgba(122,108,255,.16);border-left:0;border-radius:12px;padding:12px 14px;color:#eef0ff;box-shadow:0 20px 48px rgba(0,0,0,.46),0 0 24px rgba(122,108,255,.08);transition:.18s var(--ease)}
.toast::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:var(--brand);box-shadow:0 0 12px var(--brand-glow)}
.toast{position:relative}.toast.show{opacity:1;transform:none}.toast.success::before{background:var(--green);box-shadow:0 0 12px rgba(65,226,161,.3)}.toast.error::before{background:var(--red);box-shadow:0 0 12px rgba(255,85,120,.3)}.toast.warning::before{background:var(--yellow);box-shadow:0 0 12px rgba(255,202,103,.3)}.toast.info::before{background:var(--cyan);box-shadow:0 0 12px rgba(85,217,255,.3)}

@media(max-width:1260px){.app-shell{grid-template-columns:72px 72px 294px minmax(480px,1fr)}}
@media(max-width:1040px){.app-shell{grid-template-columns:68px 68px 282px minmax(420px,1fr)}}
.header-account{display:flex;align-items:center;gap:10px}.member-menu{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#f2f3f5;border-radius:5px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}.member-menu:hover{background:rgba(255,255,255,.1)}.auth-screen{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top,#2b2d66 0,#111214 48%,#08090b 100%)}.auth-screen[hidden]{display:none}.auth-card{width:min(100%,380px);padding:30px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(30,31,34,.96);box-shadow:0 24px 80px rgba(0,0,0,.45)}.auth-card h1{font-size:24px;margin:0 0 8px}.auth-card p{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 22px}.auth-kicker{font-size:10px!important;font-weight:800;letter-spacing:.11em;color:#aeb4ff!important}.auth-password-label{margin-top:14px}.auth-submit{width:100%;margin-top:12px}
