/* One palette and a persistent header for the directory, support and withdrawals. */
.community-panel,.support-panel,dialog.withdrawal-chat{border:1px solid #55503b!important;border-radius:18px!important;background:#1b1c22!important;color:#f1f1f5!important;box-shadow:0 22px 70px #0008!important;font-family:Inter,system-ui,sans-serif}
.community-panel[hidden],.support-panel[hidden]{display:none!important}
.community-panel>header,.support-panel>header,.withdrawal-chat>header{flex-shrink:0;box-sizing:border-box;min-height:76px;padding:16px!important;background:linear-gradient(115deg,#302d20,#24252b 75%)!important;border-bottom:1px solid #514a30!important;gap:12px;z-index:2}
.community-panel>header{order:0}.community-panel.is-directory>header:not([hidden]){display:flex!important}
.community-panel.is-directory>:not(.community-directory):not(header){display:none!important}
.community-panel.is-directory>.community-directory{display:flex!important;order:1}
.community-panel .community-directory-close{display:none!important}
.community-panel .community-list-back[hidden]{display:none!important}
.community-panel .community-heading{min-width:0}.community-panel .community-heading>b{font-size:15px;color:#f5f3e8}.community-panel .community-heading>span{display:block;font-size:10px;color:#b9b6a7;line-height:1.5;margin-top:4px}
.community-panel .community-heading-avatar{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;background:#ffdb000b;border:1px solid #ffdb0021;border-radius:11px;overflow:hidden}.community-panel .community-heading-avatar>img{display:block;width:32px;height:32px;object-fit:contain}
.community-panel .community-directory,.community-panel .community-messages,.support-panel .support-content,.withdrawal-chat .chat-messages{background:#1b1c22!important;color:#e1e1e8;min-height:0}
.community-panel .community-directory{flex:1}.community-panel .community-channel-list{overflow:auto;min-height:0;overscroll-behavior:contain}
.community-panel .community-directory-top{flex-shrink:0;padding:14px 14px 8px!important;background:#1b1c22!important}.community-panel .community-search{width:100%;background:#121319!important;border-color:#42434c!important;color:#c2c4cf!important}.community-panel .community-search input{color:#f2f2f5!important}
.community-panel .community-tabs{background:#1b1c22!important;padding:6px 14px 13px!important;border-color:#373841!important}.community-panel .community-tabs button{background:#292a31!important;border:1px solid #41424b!important;border-radius:8px;color:#bfc0cb!important;min-height:36px}.community-panel .community-tabs button[aria-pressed="true"]{color:#ffe172!important;background:#ffdb0010!important;border-color:#8e7c32!important}
.community-panel .community-channel-row{border-color:#35363e!important;background:#24252b!important;color:#f0f0f4!important}.community-panel .community-channel-row:hover{background:#2d2e34!important}.community-panel .community-directory-note{color:#979ba9!important;background:#202127!important;border-color:#383943!important;font-size:10px}
.community-panel .community-close,.support-panel [data-close],.withdrawal-chat>header>button{box-sizing:border-box;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;min-height:34px;padding:0!important;border:1px solid #53535d!important;border-radius:9px;background:#303138!important;color:#e6e4d9!important;font:22px/1 system-ui,sans-serif;cursor:pointer}
.support-panel header small{color:#ffdf69!important}.support-panel h2,.withdrawal-chat h2{font-size:18px;color:#f3f1e9}.withdrawal-chat header small{color:#b9b7a9}
.support-panel>nav{flex-shrink:0;background:#202127;border-bottom:1px solid #383943}.support-panel button:not(.support-primary):not([data-close]){background:#2b2c33;color:#e5e5ec;border-color:#4a4b54}.support-panel .support-primary,.withdrawal-chat #chatSend{background:#ffdb00!important;border-color:#ffdb00!important;color:#28220b!important;font-weight:700}
.support-panel .support-message,.withdrawal-chat .chat-message{background:#292a31;border-color:#45464f}.support-panel .support-message.is-staff,.withdrawal-chat .chat-message.staff-message{background:#ffdb0008;border-color:#74672b}.support-panel textarea,.support-panel select,.withdrawal-chat textarea{background:#13141a;border-color:#494a54;color:#f2f2f6}.support-panel .support-list>button{background:#292a31!important;border-color:#45464f!important}.support-panel .support-topic{flex-shrink:0}.support-panel .support-compose{flex-shrink:0}.support-panel .support-content:has(.support-messages){overflow:hidden}.support-panel .support-messages{overscroll-behavior:contain}
.withdrawal-chat form{flex-shrink:0;border-color:#41424a;background:#202127}.community-panel .community-compose{flex-shrink:0;background:#202127!important;border-color:#41424a!important}.community-panel .community-compose textarea{color:#f2f2f6!important;background:#13141a!important;border-color:#494a54!important}.community-panel .community-compose button[type="submit"]{background:#ffdb00!important;color:#28220b!important;border-color:#ffdb00!important}
.community-panel :focus-visible,.support-panel :focus-visible,.withdrawal-chat :focus-visible{outline:2px solid #ffe169;outline-offset:2px}
@media(max-width:540px){.community-panel>header,.support-panel>header,.withdrawal-chat>header{min-height:68px;padding:12px!important}.community-panel,.support-panel{max-height:calc(100dvh - 100px)}.community-panel .community-heading>b{font-size:14px}.community-panel .community-heading>span{font-size:9px}}
@media(prefers-reduced-motion:no-preference){.community-panel:not([hidden]),.support-panel:not([hidden]){animation:chat-appear .2s ease both}@keyframes chat-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
