/* Enhanced official server view; all colours use the shared Nexo token palette. */
@media(min-width:1001px){html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active{grid-template-columns:var(--v2-nav-width) 240px minmax(0,1fr)!important}html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.sidebar{grid-area:2/2!important;display:flex!important}html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.chat{grid-area:2/3!important}}
@media(min-width:701px) and (max-width:1000px){html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active{grid-template-columns:76px 210px minmax(0,1fr)!important}html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.sidebar{grid-area:2/2!important;display:flex!important}html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.chat{grid-area:2/3!important}}
html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active :is(.members-panel,.chat-header){display:none!important}
html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.sidebar>:not(#community-hub-nav){display:none!important}
html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.chat{display:flex!important;flex-direction:column!important;min-width:0!important;padding:0!important;background:var(--nav)!important}
#community-hub-page[hidden],#community-hub-nav[hidden]{display:none!important}
#community-hub-page{width:100%;height:100%;flex:1;min-width:0;min-height:0;overflow:auto;box-sizing:border-box;padding:14px;color:var(--text);background:var(--nav);scrollbar-width:thin;overflow-anchor:none}
#community-hub-nav{display:flex;flex-direction:column;gap:5px;height:100%;overflow:auto;padding:16px 10px;box-sizing:border-box;background:var(--sidebar);color:var(--text);scrollbar-width:thin}
#community-hub-nav .ch-server-identity{display:flex;align-items:center;gap:10px;margin:0 0 12px;min-height:52px}#community-hub-nav .ch-server-identity img{width:44px;height:44px;border-radius:12px;object-fit:contain;flex:none}#community-hub-nav .ch-server-identity strong{display:block;font-size:16px;line-height:1.25}#community-hub-nav .ch-server-identity small{display:block;color:var(--muted);font-size:10px;margin-top:5px}
#community-hub-nav .ch-nav-search{min-height:32px;margin:0 0 7px;border-radius:10px;padding:7px 10px;font-size:11px}
#community-hub-nav button.ch-section{display:flex;align-items:center;gap:12px;min-height:43px;flex:none;padding:9px 11px;margin:0;border:1px solid transparent;background:transparent;border-radius:12px;text-align:left;font-size:13px;color:var(--text);line-height:1.3;box-shadow:none}
#community-hub-nav button.ch-section.selected{background:linear-gradient(110deg,#9333ea,#6b21a8);border-color:#c084fc;box-shadow:inset 0 0 12px #c084fc55,0 0 12px #9333ea55}
#community-hub-nav button.ch-section:hover{background-color:#9333ea22}#community-hub-nav svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
#community-hub-page :is(button,a.primary){font-family:inherit;min-height:34px;padding:7px 12px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(120deg,#9333ea1f,transparent),var(--panel);color:var(--text);font-size:12px;line-height:1.3;margin:0;box-sizing:border-box}
#community-hub-page button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
#community-hub-page button.primary{background:linear-gradient(110deg,#a855f7,#7e22ce);border-color:#c084fc;box-shadow:inset 0 0 10px #c084fc45;color:#fff}
#community-hub-page .ch-content{min-width:0}#community-hub-page .ch-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}
.ch-main{min-width:0;display:flex;flex-direction:column;gap:13px}.ch-right{min-width:0;display:flex;flex-direction:column;gap:16px}
#community-hub-page .ch-hero{position:relative;overflow:hidden;min-height:282px;box-sizing:border-box;border:1px solid #69309a;border-radius:20px;padding:20px 22px 18px;background:radial-gradient(ellipse at 90% 20%,#7512be88,transparent 60%),linear-gradient(130deg,#170c34,#391061 70%,#1d0c3b);display:flex;flex-direction:column;justify-content:center}
.ch-hero:before{content:'';position:absolute;width:130%;height:150px;border:18px solid #a855f755;border-radius:50%;left:-10%;bottom:-96px;transform:rotate(-8deg);box-shadow:0 -8px 30px #9333ea66;pointer-events:none}
.ch-hero-brand{display:flex;align-items:center;gap:10px;position:relative;width:fit-content}.ch-hero-brand img{width:146px;height:52px;object-fit:contain}.ch-hero-brand>span{padding:4px 10px;font-size:18px;font-weight:850;background:linear-gradient(100deg,#9333ea,#af22f0);border-radius:12px;color:#fff}
#community-hub-page .ch-hero h1{font-size:clamp(30px,2.75vw,48px);font-weight:900;line-height:1.08;margin:7px 0 2px;max-width:75%;position:relative;color:#fff}
#community-hub-page .ch-hero h2{font-size:25px;line-height:1.25;margin:0 0 6px;position:relative;color:#fff}
#community-hub-page .ch-hero p{font-size:14px;line-height:1.45;max-width:64%;position:relative;margin:0 0 16px;color:#f8fafc}
.ch-hero footer{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;margin-top:auto;flex-wrap:wrap}.ch-member-count{padding:9px 13px;border:1px solid #9c4ac7;border-radius:24px;background:#190c3899;font-size:12px;color:#fff}
#community-hub-page .ch-hero footer button{border-radius:24px;display:flex;align-items:center;gap:8px;box-shadow:0 0 15px #a855f766}
.ch-hero-art{position:absolute;right:0;top:4px;width:310px;height:216px;background-image:url('/assets/illustrations/community-approved-reference.png');background-size:1672px 941px;background-position:-957px -89px;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 15%,#000 100%)}
.ch-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#community-hub-page button.ch-shortcut{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 7px;min-height:133px;background:linear-gradient(150deg,#9333ea25,transparent),var(--sidebar);border-radius:16px}
#community-hub-page .ch-shortcut svg{width:34px;height:34px;color:#e3adff;filter:drop-shadow(0 0 6px #a855f7)}.ch-shortcut strong{font-size:13px;line-height:1.2}.ch-shortcut small{font-size:10px;line-height:1.4;color:var(--muted);text-align:center}
#community-hub-page .ch-card{padding:16px;border:1px solid var(--line);border-radius:18px;background:radial-gradient(at 100% 0,#9333ea0c,transparent 65%),var(--sidebar);min-width:0;box-sizing:border-box}
#community-hub-page .ch-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}#community-hub-page .ch-card h2{font-size:20px;line-height:1.3;margin:0;color:var(--text)}#community-hub-page .ch-card p,#community-hub-page .ch-card li{font-size:13px;line-height:1.5;margin:7px 0;color:var(--text)}.ch-card ul{list-style:none;margin:12px 0 0;padding:0}.ch-card li:before{content:'✓';display:inline-grid;place-items:center;background:#9333ea77;width:19px;height:19px;border-radius:50%;margin-right:8px;color:#fff;font-size:11px}
#community-hub-page .ch-right .ch-card:last-child>button{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px;min-height:42px;font-size:13px}
#community-hub-page button.ch-link{padding:0;border:0;background:none;min-height:24px;color:#c084fc;font-size:11px}
#community-hub-page .ch-latest-title{font-size:22px;margin:0;line-height:1.3;color:var(--text)}
#community-hub-page .ch-post{display:grid;grid-template-columns:215px minmax(0,1fr) 28px;gap:18px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(120deg,#9333ea0a,transparent),var(--sidebar);min-width:0}
.ch-post>div{min-width:0}#community-hub-page .ch-post h3{font-size:20px;line-height:1.2;margin:7px 0;color:var(--text);overflow-wrap:anywhere}#community-hub-page .ch-post p{font-size:13px;margin:5px 0;line-height:1.4;color:var(--text)}
.ch-news-art{position:relative;min-height:156px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:1px solid #8a3cb4;border-radius:14px;background:radial-gradient(at 90% 15%,#a855f7aa,transparent 65%),linear-gradient(140deg,#230c48,#64009d 55%,#1c0b3b)}.ch-news-art:before{content:'';position:absolute;width:140%;height:70%;border:8px solid #c084fc66;border-radius:50%;transform:rotate(-18deg) translateY(75%)}.ch-news-art>img{position:relative;object-fit:contain;width:135px;height:54px}.ch-news-art:has(img:only-child)>img{width:100%;height:160px;object-fit:cover}.ch-news-art>svg{width:35px;height:35px;color:#e9c2ff;stroke:currentColor;fill:none;filter:drop-shadow(0 0 8px #fff);position:relative}.ch-news-art strong{position:relative;font-size:23px;line-height:1;color:#fff}.ch-tag{display:inline-flex;padding:4px 8px;background:#9333ea66;color:#f8fafc;font-size:10px;font-weight:800;border-radius:14px;text-transform:capitalize;line-height:1.3}.ch-release{font-size:10px;color:#c084fc;display:block;margin-top:8px}
#community-hub-page .ch-meta{font-size:11px!important;line-height:1.4;color:var(--muted)!important}.ch-empty{font-size:13px;line-height:1.6;color:var(--muted);margin:10px 0}#community-hub-page button.ch-chevron{padding:0;width:28px;min-width:28px;border:0;background:transparent;font-size:20px}.ch-chevron span{font-size:0}.ch-chevron span:after{content:'›';font-size:28px}
#community-hub-page .ch-event{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ch-event>svg{width:30px;height:30px;stroke:#c084fc;fill:none;flex:none}.ch-event>div{flex:1;min-width:0}.ch-event h3{font-size:14px;margin:0;color:var(--text)}#community-hub-page .ch-event-compact{margin-top:14px}.ch-event-compact .ch-meta{font-size:10px!important}
#community-hub-page .ch-overview-details{font-size:11px;color:var(--muted)}.ch-overview-details summary{cursor:pointer;padding:5px 0}.ch-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0}#community-hub-page .ch-overview-item{font-size:11px;text-align:left}
.ch-page-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;margin:0 0 18px}#community-hub-page h1{font-size:28px;margin:4px 0 18px;line-height:1.25;color:var(--text)}.ch-page-heading h1{flex:1;margin:0!important}.ch-news-list,.ch-records{display:flex;flex-direction:column;gap:12px;margin-top:14px}.ch-post-detail .ch-news-art{max-width:500px;margin:15px 0}.ch-post-detail>button{margin:12px 8px 0 0!important}
#community-hub-page .ch-field,.ch-dialog .ch-field{display:flex;flex-direction:column;gap:6px;margin:12px 0;min-width:0;color:var(--text);font-size:12px;font-weight:700}#community-hub-page .ch-field input,#community-hub-page .ch-field select,.ch-dialog .ch-field :is(input,select,textarea){border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--text);font-size:13px;min-height:37px;padding:8px 11px;width:100%;box-sizing:border-box;max-width:100%;font-family:inherit}.ch-dialog .ch-field textarea{min-height:100px;resize:vertical}.ch-dialog .ch-field input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#a855f7;padding:0}.ch-form{display:flex;flex-direction:column;gap:2px}.ch-form button.primary{align-self:flex-end;min-width:140px}
.ch-dialog{width:min(620px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 36px);padding:26px;border:1px solid #8051ab;border-radius:20px;color:var(--text);background:var(--sidebar);overflow:auto;box-sizing:border-box}.ch-dialog::backdrop{background:#080d20b8;backdrop-filter:blur(5px)}.ch-dialog h2{font-size:24px;margin:0 50px 15px 0}.ch-dialog>button.ch-close{position:absolute;top:16px;right:16px;min-width:38px;min-height:32px;font-size:11px}.ch-dialog button{border-radius:10px;padding:9px 13px;border:1px solid var(--line);background:var(--panel);color:var(--text);font-family:inherit}.ch-dialog button.primary{background:linear-gradient(115deg,#a855f7,#7e22ce);border-color:#c084fc;color:#fff}
.ch-record{padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--sidebar);min-width:0}#community-hub-page button.ch-record-title{font-size:17px;text-align:left;border:0;background:none;padding:0;color:var(--text);font-weight:800;min-height:28px}.ch-record p{font-size:13px;line-height:1.5;color:var(--muted)}.ch-long-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6!important}.ch-response{padding:12px;border:1px solid var(--line);border-radius:12px;margin-top:12px}.ch-response strong{font-size:13px}.ch-response small{font-size:10px;color:var(--muted)}.ch-file{display:block;margin:10px 0;font-size:12px;color:#c084fc}
.ch-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}.ch-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}#community-hub-page button.ch-member{display:flex;align-items:center;gap:12px;min-height:62px;padding:9px 12px;min-width:0;text-align:left;background:var(--sidebar);border-radius:12px}.ch-member>.avatar{width:36px;height:36px;flex:none;overflow:visible}.ch-member-copy{min-width:0}.ch-member-copy strong{display:flex;align-items:center;gap:5px;font-size:13px;overflow-wrap:anywhere}.ch-member-copy small{display:block;font-size:10px;color:var(--muted);margin-top:4px}
#community-hub-page .verified-mark{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;flex:none}.ch-policy-link{display:inline-flex;margin:15px 0!important}.ch-history{margin:15px 0}.ch-history button{display:block;margin-top:8px!important}.ch-management-actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.ch-mobile-head{display:none}
#workspace.community-hub-active.community-hub-active .v2-main-nav button[data-destination=community]{background:linear-gradient(100deg,#9333ea,#6b21a8)!important;border-color:#c084fc!important;color:#fff!important;box-shadow:inset 0 0 12px #a855f766,0 0 12px #9333ea66}
#community-hub-page :focus-visible,#community-hub-nav :focus-visible,.ch-dialog :focus-visible{outline:2px solid #c084fc;outline-offset:3px}
@media(max-width:1440px){#community-hub-page .ch-home-grid{grid-template-columns:minmax(0,1fr) 280px;gap:12px}#community-hub-page .ch-hero{padding:18px;min-height:262px}#community-hub-page .ch-hero h1{font-size:36px}#community-hub-page .ch-hero h2{font-size:21px}.ch-hero-art{right:-60px;opacity:.8}#community-hub-page .ch-post{grid-template-columns:160px minmax(0,1fr) 20px;gap:12px}.ch-shortcuts{gap:7px}.ch-shortcut small{font-size:9px}.ch-shortcut strong{font-size:11px}}
@media(max-width:1200px){#community-hub-page .ch-home-grid{grid-template-columns:1fr}.ch-right{display:grid;grid-template-columns:1fr 1fr}.ch-right>:last-child{grid-column:1/-1}.ch-members{grid-template-columns:repeat(2,minmax(0,1fr))}.ch-filters{grid-template-columns:1fr 1fr}.ch-filters>:first-child{grid-column:1/-1}}
@media(max-width:700px){html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.chat{height:100%!important;overflow:hidden!important}.community-hub-active>.sidebar{display:none!important}#community-hub-page{padding:12px 12px calc(20px + env(safe-area-inset-bottom));height:100%;overflow:auto}#community-hub-page .ch-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}#community-hub-page .ch-mobile-head h1{font-size:19px;margin:0;max-width:45%}.ch-mobile-head .ch-field{margin:0!important;max-width:53%}.ch-mobile-head .ch-field>span{font-size:0}#community-hub-page .ch-mobile-head select{font-size:12px;min-height:34px;padding:6px 8px}#community-hub-page .ch-hero{padding:16px;min-height:276px;border-radius:16px}.ch-hero-brand img{width:111px;height:43px}.ch-hero-brand>span{font-size:14px}#community-hub-page .ch-hero h1{font-size:31px;max-width:90%;margin-top:8px}#community-hub-page .ch-hero h2{font-size:20px;max-width:75%}#community-hub-page .ch-hero p{font-size:12px;max-width:78%;margin:8px 0 12px}.ch-hero-art{right:-95px;top:20px;opacity:.42;transform:scale(.82);transform-origin:right top}.ch-hero footer{gap:8px}.ch-member-count{font-size:10px;padding:8px 10px}#community-hub-page .ch-hero footer button{font-size:11px;padding:8px 10px}.ch-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#community-hub-page button.ch-shortcut{min-height:111px;padding:12px 6px;gap:7px}.ch-shortcut strong{font-size:11px}.ch-shortcut small{font-size:9px}.ch-right{display:flex}.ch-overview{grid-template-columns:1fr 1fr}#community-hub-page .ch-post{grid-template-columns:93px minmax(0,1fr) 15px;gap:10px;padding:10px;border-radius:14px}.ch-news-art{min-height:113px}.ch-news-art>img{width:77px;height:34px}.ch-news-art>svg{width:23px;height:23px}.ch-news-art strong{font-size:14px;text-align:center}#community-hub-page .ch-post h3{font-size:15px;margin:5px 0}#community-hub-page .ch-post p{font-size:11px}.ch-tag{font-size:8px;padding:3px 6px}.ch-post p.ch-meta{font-size:9px!important}.ch-release{font-size:9px}.ch-members{grid-template-columns:1fr}.ch-filters{grid-template-columns:1fr}.ch-filters>:first-child{grid-column:auto}.ch-dialog{padding:22px 18px;max-height:calc(100dvh - 24px)}.ch-dialog .ch-field textarea{min-height:90px}#community-hub-page .ch-event>button{min-height:38px}.ch-page-heading h1{font-size:23px!important}.ch-card{border-radius:15px!important}}
@media(prefers-reduced-motion:reduce){#community-hub-page *,#community-hub-nav *,.ch-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(min-width:1001px){html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.sidebar{margin:0!important;border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important}html.nexo-reference.nexo-ux.nexo-identity.nexo-orbit.nexo-v2 body #workspace.community-hub-active.community-hub-active>.chat{margin:0!important;border:0!important;border-radius:0!important}}
#workspace.community-hub-active .v2-main-nav button:not(.ch-global):is(.active,.selected,[data-active]){background:transparent!important;box-shadow:none!important;border-color:transparent!important}#workspace.community-hub-active .v2-main-nav button.ch-global.ch-global{background:linear-gradient(110deg,#9333ea,#6b21a8)!important;border-color:#c084fc!important;box-shadow:0 0 12px #9333ea66!important}
#community-hub-page .ch-event:not(.ch-event-compact)>div{flex:1 1 calc(100% - 48px);min-width:0}#community-hub-page .ch-event:not(.ch-event-compact)>button{flex:0 1 auto}#community-hub-page .ch-event h3,#community-hub-page .ch-event p{overflow-wrap:anywhere}
@media(max-width:1000px){#community-hub-page .ch-right{display:flex;flex-direction:column}#community-hub-page .ch-event-compact>div{flex:1 1 calc(100% - 48px)}}
