
/* One full-height conversation and a compact application dock. */
#discord-hub{--hub-dock:124px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) var(--hub-dock);isolation:isolate}
#discord-hub>main{display:flex;flex-direction:column;grid-column:1;grid-row:1;height:100%;min-height:0;overflow:hidden;background:#0b1723}
#discord-hub .conversation-header{display:flex;height:36px;min-height:36px;padding:0 14px;gap:8px;flex-wrap:nowrap;background:#0b1c2a;border-bottom:1px solid #294051;flex-shrink:0}
#discord-hub .conversation-header>div{display:block!important;min-width:0}
#discord-hub .conversation-header h1{font-size:13px;line-height:1.2;color:#d9eef7}
#discord-hub .conversation-header p,#discord-hub .conversation-header>.hash,#discord-hub #menu-toggle,#discord-hub #online-toggle{display:none!important}
#discord-hub .conversation-content{display:flex;flex:1;min-height:0;overflow:hidden}
#discord-hub .chat-pane{display:flex;flex-direction:column;grid-column:auto;grid-row:auto;flex:1;min-height:0;overflow:hidden}
#discord-hub #chat-status{font-size:11px!important;line-height:1.3;padding:5px 14px;flex-shrink:0;background:#0b1723;color:#9db9c9}
#discord-hub #messages{background-color:#0c1925;background-image:radial-gradient(circle,rgba(123,181,195,.075) .8px,transparent 1px);background-size:22px 22px;min-height:0;padding:10px 18px 14px;flex:1;overflow-y:auto}
#discord-hub .composer{padding:5px 12px 6px;background:#0b1c2a;border-top:1px solid #243b4b}
#discord-hub #send label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#discord-hub #send>div{margin:0;gap:8px}
#discord-hub #send textarea{min-height:40px;height:40px;max-height:100px;padding:10px 12px;resize:vertical}
#discord-hub #send button{min-height:40px;padding:8px 16px}
#discord-hub #readonly{margin:2px 0;font-size:11px;line-height:1.4}
#discord-hub #player{grid-column:1;grid-row:2;display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:68px 52px;gap:0 12px;min-height:0;height:var(--hub-dock);width:100%;padding:2px 14px;background:#081723;border-top:1px solid #345164;border-bottom:0;z-index:40;overflow:visible;align-items:center}
#discord-hub #player>#radio-logo{grid-column:1;grid-row:1;width:44px;height:44px;padding:2px;border-radius:9px}
#discord-hub #player>.station{grid-column:2;grid-row:1;gap:1px;grid-template-rows:18px 17px 24px;align-content:center;max-height:64px}
#discord-hub #player .player-station-heading{min-height:18px;grid-template-columns:minmax(0,1fr) auto;gap:7px}
#discord-hub #player .player-station-heading>strong{font-size:12px;line-height:18px}
#discord-hub #player .hub-listeners{font-size:10px;height:18px;line-height:18px}
#discord-hub #player .player-status-row{height:17px;gap:6px}
#discord-hub #player #audio-status{font-size:10px;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto;min-width:0}
#discord-hub #player .player-status-row>.player-waves{height:14px;min-height:14px;width:64px;max-width:64px;flex:0 0 64px;gap:2px}
#discord-hub #player .player-waves i{height:11px;width:2px;flex-basis:2px}
#discord-hub #player .hub-song-row{height:24px;gap:6px;margin:0}
#discord-hub #player .hub-song-row>img{width:22px;height:22px;flex-basis:22px;border-radius:5px}
#discord-hub #player .hub-current-song{font-size:10px;line-height:1.3}
#discord-hub #player .player-transport{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:7px;padding:0;margin:0}
#discord-hub #player #play,#discord-hub #player #player-stop{min-width:58px;height:36px;min-height:36px;padding:7px 9px;font-size:11px;border-radius:9px}
#discord-hub #player .player-transport>.volume{display:flex!important;gap:5px;margin:0;height:36px}
#discord-hub #player .volume input{width:68px;margin:0}
#discord-hub #player #player-mute{height:32px;min-width:28px;padding:4px;font-size:15px}
#discord-hub #player .volume-value{display:inline;font-size:10px;min-width:30px}
#discord-hub #player .player-transport>.hub-reactions{height:32px;gap:4px;border-left:1px solid #345164;padding-left:7px;margin:0}
#discord-hub #player .player-transport>.hub-reactions button{height:30px;min-height:30px;width:35px;font-size:12px;border-radius:8px}
#discord-hub #player>.community-topbar{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:normal;gap:6px;width:100%;min-width:0;min-height:52px;height:52px;padding:3px 0;margin:0;border-top:1px solid #284456;overflow-x:auto;overflow-y:visible;white-space:nowrap;background:transparent;scrollbar-width:thin}
#discord-hub #player .community-topbar :is(a,button,.channel,.hub-follow,.hub-share,.hub-privacy,.community-home,summary){display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:0 0 auto;min-width:72px;max-width:150px;height:44px!important;min-height:44px!important;padding:4px 9px!important;font-size:10px!important;font-weight:600;line-height:1.1!important;color:#bad9e8;background:#102938;border:1px solid #294b60;border-radius:10px;text-decoration:none;text-transform:none;letter-spacing:0;white-space:nowrap;margin:0;box-shadow:none;transform:none}
#discord-hub #player .community-topbar :is(a,button,summary)::before{content:attr(data-app-icon);display:block;font-size:17px;line-height:17px;color:#6be0f4}
#discord-hub #player .community-topbar :is(a,button,summary)::after{display:none}
#discord-hub #player .community-topbar :is(a,button,summary):hover{background:#16394c;border-color:#4e96b2;transform:none}
#discord-hub #player .community-topbar [aria-expanded=true]{background:#16465c;border-color:#65dff4;color:#fff}
#discord-hub #player .community-topbar .channel>span{display:none}
#discord-hub #player .community-topbar .community-portal{display:inline-flex}
#discord-hub #player #hub-follow-form{display:inline-flex;flex:0 0 auto;margin:0}
#discord-hub #player #hub-follow-form[hidden]{display:none!important}
#discord-hub #channels,#discord-hub #online-members{display:none;position:fixed;grid-column:auto;grid-row:auto;top:36px;bottom:var(--hub-dock);height:auto;max-height:none;width:min(300px,88vw);z-index:35;background:#0b1e2ff7;border:1px solid #325365;box-shadow:0 8px 30px #0008;padding:12px}
#discord-hub #channels{left:0;right:auto}
#discord-hub #online-members{right:0;left:auto}
body.channels-open #discord-hub #channels,body.online-open #discord-hub #online-members{display:flex}
#discord-hub #channels .brand img{height:48px}
#discord-hub #channels .search{margin-top:6px}
#discord-hub #channels .radios-heading{margin-top:6px!important}
#discord-hub .hub-more{position:static;flex:none}
#discord-hub .hub-more>summary{cursor:pointer;list-style:none}
#discord-hub .hub-more>summary::-webkit-details-marker{display:none}
#discord-hub .hub-more-panel{position:fixed;bottom:calc(var(--hub-dock) - 66px);right:12px;max-width:min(420px,94vw);padding:14px;background:#0c2333;border:1px solid #49788f;border-radius:12px;box-shadow:0 10px 35px #0009;white-space:normal;z-index:60}
#discord-hub .hub-more:not([open])>.hub-more-panel{display:none}
#discord-hub #player .hub-more-panel :is(a,button){min-width:140px;height:auto!important;min-height:40px!important;font-size:12px!important;flex-direction:row;white-space:normal}
#discord-hub .hub-more .listening-presence-controls{display:flex!important;max-height:none!important;overflow:visible!important;padding:4px!important;gap:8px}
@media(max-width:900px){#discord-hub{--hub-dock:164px}#discord-hub #player{grid-template-columns:38px minmax(0,1fr);grid-template-rows:62px 46px 52px;padding:2px 9px;gap:0 8px}#discord-hub #player>#radio-logo{width:36px;height:36px}#discord-hub #player>.station{max-height:60px;grid-template-rows:18px 16px 22px}#discord-hub #player .player-transport{grid-column:1/-1;grid-row:2;justify-content:center;gap:8px}#discord-hub #player>.community-topbar{grid-row:3;justify-content:flex-start}#discord-hub #player .volume input{width:58px}#discord-hub #player .volume-value{display:none}#discord-hub #player .player-transport>.hub-reactions{padding-left:6px;gap:3px}#discord-hub #player .player-transport>.hub-reactions button{width:31px}#discord-hub #messages{padding:7px 10px 12px}#discord-hub #player .community-topbar :is(a,button,summary){min-width:66px;padding-inline:7px!important}#discord-hub #player .player-status-row>.player-waves{flex-basis:52px;max-width:52px}}
@media(max-width:380px){#discord-hub #player .player-transport{gap:4px}#discord-hub #player #play,#discord-hub #player #player-stop{min-width:48px;padding-inline:5px}#discord-hub #player .volume input{width:42px}#discord-hub #player .player-transport>.hub-reactions button{width:29px}}
@supports(padding:env(safe-area-inset-bottom)){#discord-hub{--hub-safe:env(safe-area-inset-bottom,0px);grid-template-rows:minmax(0,1fr) calc(var(--hub-dock) + var(--hub-safe))}#discord-hub #player{height:calc(var(--hub-dock) + var(--hub-safe));padding-bottom:calc(2px + var(--hub-safe))}#discord-hub #channels,#discord-hub #online-members{bottom:calc(var(--hub-dock) + var(--hub-safe))}}

/* Reference layout: radios left, conversation centered, members right. */
#discord-hub{--hub-dock:112px;grid-template-columns:220px minmax(0,1fr);grid-template-rows:var(--hub-dock) minmax(0,1fr)}
#discord-hub>main{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-height:0;height:100%}
#discord-hub #player{grid-column:2;grid-row:1;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:72px 36px;height:var(--hub-dock);min-height:0;padding:2px 10px;gap:0 9px;border-top:0;border-bottom:1px solid #345164}
#discord-hub #player>#radio-logo{width:46px;height:46px}
#discord-hub #player>.community-topbar{grid-row:2;height:36px;min-height:36px;gap:4px;padding:2px 0;justify-content:center}
#discord-hub #player .community-topbar :is(a,button,.channel,.hub-follow,.hub-share,.hub-privacy,.community-home,summary){height:30px!important;min-height:30px!important;min-width:0;flex-direction:row;gap:5px;padding:4px 8px!important;font-size:10px!important;border-radius:7px}
#discord-hub #player .community-topbar :is(a,button,summary)::before{font-size:13px;line-height:13px}
#discord-hub .conversation-header{height:26px;min-height:26px;padding:0 10px;background:#0b1c2a}
#discord-hub .conversation-header h1{font-size:11px;color:#a7c8d8}
#discord-hub #messages{padding:6px 10px 8px;gap:4px}
#discord-hub .composer{padding:4px 8px 5px}
#discord-hub #chat-status{padding:3px 4px;font-size:10px!important;line-height:1.25}
#discord-hub #send textarea{height:40px;min-height:40px;padding:9px 10px}
#discord-hub #channels{display:flex;position:relative;grid-column:1;grid-row:1/-1;inset:auto;top:auto;bottom:auto;width:100%;height:100%;min-height:0;padding:10px 9px;box-shadow:none;border:0;border-right:1px solid #284456;background:#091c2c}
#discord-hub #channels .brand img{height:62px}
#discord-hub #channels .search{margin-top:8px;padding:0 3px}
#discord-hub #channels .radio-list .channel{min-height:62px;margin:2px 0;padding:5px 6px;gap:8px}
#discord-hub #channels .radio-channel-art,#discord-hub #channels .radio-channel-art img{width:46px;height:46px;flex-basis:46px;border-radius:8px}
#discord-hub #channels .radio-channel-name{font-size:11px;line-height:1.3}
#discord-hub #hub-app-radios{display:none!important}
#discord-hub #online-members{top:26px;bottom:0}
#discord-hub .hub-more-panel{top:calc(var(--hub-dock) - 3px);bottom:auto;right:12px;padding:10px}
#discord-hub #player .player-transport{gap:5px}
#discord-hub #player .volume input{width:54px}
#discord-hub #player .volume-value{display:none}
@media(min-width:1200px){
 #discord-hub{grid-template-columns:220px minmax(0,1fr) 230px}
 #discord-hub #online-members{display:flex;position:relative;grid-column:3;grid-row:1/-1;inset:auto;top:auto;bottom:auto;width:100%;height:100%;min-height:0;padding:12px 9px;box-shadow:none;border:0;border-left:1px solid #284456;background:#091c2c}
 #discord-hub #hub-app-online{display:none!important}
 #discord-hub .hub-more-panel{right:242px}
}
@media(min-width:761px) and (max-width:1050px){
 #discord-hub{--hub-dock:152px;grid-template-columns:190px minmax(0,1fr)}
 #discord-hub #player{grid-template-columns:38px minmax(0,1fr);grid-template-rows:64px 48px 36px}
 #discord-hub #player>.community-topbar{grid-row:3;justify-content:flex-start}
 #discord-hub #player .player-transport{grid-column:1/-1;grid-row:2;justify-content:center}
 #discord-hub #player>#radio-logo{width:36px;height:36px}
}
@media(max-width:760px){
 #discord-hub{--hub-dock:152px;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--hub-dock) minmax(0,1fr)}
 #discord-hub>main{grid-column:1;grid-row:2}
 #discord-hub #player{grid-column:1;grid-row:1;grid-template-columns:38px minmax(0,1fr);grid-template-rows:64px 48px 36px;padding:2px 8px}
 #discord-hub #player>#radio-logo{width:36px;height:36px}
 #discord-hub #player>.community-topbar{grid-row:3;justify-content:flex-start}
 #discord-hub #player .player-transport{grid-column:1/-1;grid-row:2;justify-content:center;gap:6px}
 #discord-hub #hub-app-radios{display:inline-flex!important}
 #discord-hub #channels,#discord-hub #online-members{display:none;position:fixed;grid-column:auto;grid-row:auto;top:var(--hub-dock);bottom:0;width:min(280px,88vw);height:auto;padding:10px;z-index:45;box-shadow:0 8px 30px #0009;border:1px solid #345164}
 #discord-hub #channels{left:0;right:auto}
 #discord-hub #online-members{right:0;left:auto}
 body.channels-open #discord-hub #channels,body.online-open #discord-hub #online-members{display:flex}
 #discord-hub #messages{padding:5px 7px 7px}
 #discord-hub .composer{padding-bottom:max(5px,env(safe-area-inset-bottom))}
}

@media(min-width:1200px){#discord-hub #online-members{position:fixed;left:auto;right:0;top:0;bottom:0;width:230px;height:100%;grid-column:auto;grid-row:auto}}
#discord-hub .chat-pane{min-width:0;width:100%}

/* Expandable navigation under the logo and primary chat actions. */
#discord-hub{--hub-dock:76px}
#discord-hub #player{grid-template-rows:72px}
#discord-hub .hub-main-menu{position:relative;margin:8px 3px;flex-shrink:0;z-index:65}
#discord-hub .hub-main-menu>summary{display:flex;align-items:center;justify-content:center;cursor:pointer;list-style:none;padding:9px 14px;border:1px solid #355567;border-radius:8px;background:#102838;color:#c6dce6;font-size:13px;font-weight:600}
#discord-hub .hub-main-menu>summary::-webkit-details-marker{display:none}
#discord-hub .hub-main-menu>summary::after{content:'⌄';margin-left:auto;transition:transform .2s}
#discord-hub .hub-main-menu[open]>summary::after{transform:rotate(180deg)}
#discord-hub .hub-main-menu>.community-topbar{display:none;position:absolute;top:calc(100% + 5px);left:0;right:0;max-height:65vh;overflow-y:auto;padding:7px;background:#0c2232;border:1px solid #355567;border-radius:9px;box-shadow:0 12px 24px #0008;white-space:normal}
#discord-hub .hub-main-menu[open]>.community-topbar{display:flex;flex-direction:column;align-items:stretch;gap:3px;animation:hub-menu-down .22s ease-out both;transform-origin:top}
@keyframes hub-menu-down{from{opacity:0;transform:translateY(-9px) scaleY(.94)}to{opacity:1;transform:translateY(0) scaleY(1)}}
#discord-hub .hub-main-menu .community-topbar :is(a,button,summary){display:flex!important;align-items:center;justify-content:flex-start;flex-direction:row!important;width:100%;height:auto!important;min-height:34px!important;padding:7px 9px!important;font-size:12px!important;font-weight:400!important;color:#bed0dc!important;background:transparent!important;border:0!important;border-radius:5px;text-decoration:none;box-shadow:none}
#discord-hub .hub-main-menu .community-topbar :is(a,button,summary):hover{background:#1a3a4e!important}
#discord-hub .hub-main-menu .community-topbar form{width:100%;margin:0}
#discord-hub .hub-main-menu .community-topbar [hidden]{display:none!important}
#discord-hub .hub-main-menu .hub-more-panel{position:static;margin-top:4px;padding:5px;box-shadow:none;max-width:100%}
#discord-hub .conversation-header{height:44px;min-height:44px;justify-content:space-between;align-items:center}
#discord-hub .hub-chat-actions{display:flex!important;gap:8px;align-items:center;margin-left:auto}
#discord-hub .hub-chat-actions :is(a,button){display:inline-flex!important;align-items:center;justify-content:center;min-height:32px;padding:7px 15px;border:1px solid #49d8ee;border-radius:7px;background:#20c9e7;color:#041b27;font-size:11px;font-weight:800;text-decoration:none;letter-spacing:.3px;box-shadow:0 0 12px #20c9e720;white-space:nowrap;cursor:pointer}
#discord-hub .hub-chat-actions .og-chat-link{background:#9165e8;border-color:#bc9aff;color:#fff}
#discord-hub .hub-chat-actions :is(a,button)::before{display:none}
@media(min-width:1200px){#discord-hub{grid-template-columns:220px minmax(0,1fr) 270px}#discord-hub #online-members{width:270px}#discord-hub .hub-more-panel{right:auto}}
@media(min-width:761px) and (max-width:1050px){#discord-hub{--hub-dock:116px}#discord-hub #player{grid-template-rows:64px 48px}}
@media(max-width:760px){#discord-hub{--hub-dock:152px}#discord-hub #player{grid-template-rows:64px 48px 36px}#discord-hub #player>.hub-main-menu{grid-column:1/-1;grid-row:3;justify-self:start;width:150px;margin:0}#discord-hub .hub-main-menu>summary{padding:6px 10px}#discord-hub .hub-main-menu>.community-topbar{width:230px;right:auto}#discord-hub .hub-chat-actions{gap:6px}#discord-hub .hub-chat-actions :is(a,button){padding:7px 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){#discord-hub .hub-main-menu[open]>.community-topbar{animation:none}}

#discord-hub .conversation-header>.hub-chat-actions{display:flex!important;flex-direction:row;flex-wrap:nowrap;width:auto;max-width:none;gap:8px;align-items:center;flex-shrink:0;height:36px;overflow:visible}
#discord-hub .conversation-header>.hub-chat-actions :is(a,button){width:auto!important;margin:0!important;position:static!important;flex:0 0 auto;line-height:1!important;height:32px!important;min-height:32px!important}
#discord-hub #player .hub-main-menu{z-index:80}
#discord-hub .hub-main-menu>.community-topbar{z-index:90}

#discord-hub .composer>.hub-guest-enter{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:5px 0 0;padding:12px 20px;border:1px solid #60e7ff;border-radius:9px;background:#20c9e7;color:#041b27;font-size:15px;font-weight:800;letter-spacing:.5px;cursor:pointer;box-shadow:0 0 16px #20c9e725}
#discord-hub[data-user-logged="0"] .composer #readonly{margin:3px 0;text-align:center}
