/* Compact community skin — deliberately loaded last. */
:root:not([data-theme="light"]){--x-bg:#181b2a;--x-header:#1c1f2e;--x-panel:#2b2f45;--x-panel2:#30354d;--x-row:#292d41;--x-line:#414760;--x-text:#f5f5fb;--x-muted:#aeb4d0;--x-link:#b8c2ef;--x-amber:#bd7300;--mf-bg:var(--x-bg);--mf-bg-2:#202334;--mf-surface:var(--x-row);--mf-surface-solid:var(--x-panel);--mf-surface-2:var(--x-panel2);--mf-border:rgba(158,166,206,.22);--mf-border-strong:rgba(180,188,226,.34);--mf-text:var(--x-text);--mf-muted:var(--x-muted);--mf-accent:#777da8}
:root:not([data-theme="light"]) body{background:var(--x-bg)!important;color:var(--x-text)!important;font-size:15px}.container{max-width:1900px!important;width:calc(100% - 26px)!important}
.site-header{min-height:74px!important;background:var(--x-header)!important;border-top:7px solid #3e403f!important;border-bottom:1px solid #0e101a!important;backdrop-filter:none!important}.header-inner{min-height:66px!important;gap:14px!important}.logo{flex:0 0 auto;min-width:170px;font-size:1.45rem!important;font-weight:900!important}.site-logo-img{max-height:48px!important;max-width:180px!important}.header-hamburger-btn{order:-1;width:34px!important;height:34px!important;border:0!important;background:transparent!important;font-size:0!important}.header-hamburger-btn:before{content:"⌂";font-size:1.35rem;color:#9299b5}
.primary-nav{display:flex;align-items:center;gap:4px;min-width:0;flex:1}.primary-nav a{display:flex;align-items:center;gap:6px;height:48px;padding:0 16px;border-radius:6px;color:var(--x-link);text-decoration:none;white-space:nowrap}.primary-nav a:hover,.primary-nav a.is-active{background:#25293c;color:#fff}.primary-nav a.is-active{font-weight:800}.auth-nav{flex:0 0 auto;gap:2px!important;padding:6px;background:#25293b;border-radius:6px}.auth-nav>button,.auth-nav>a,#im-bubble-btn,.notif-bell-btn,.login-streak-trigger,.header-profile-btn{min-width:38px!important;height:38px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#aab0c9!important;box-shadow:none!important}.header-profile-btn{width:auto!important;padding:0 7px!important}.header-profile-btn:after{content:attr(data-username);margin-left:7px;font-size:.92rem;color:#c6cae1}
.quick-nav{position:relative!important;background:#222638!important;border:1px solid var(--x-line)!important;margin:20px 13px 14px!important;border-radius:7px!important;overflow:visible!important}.quick-nav>.header-search--in-nav{position:absolute;right:8px;top:-66px;width:46px!important;height:44px;overflow:hidden;margin:0!important;padding:0!important;border:0!important;background:#292d41!important;z-index:4}.quick-nav>.header-search--in-nav input{width:0!important;padding:0!important}.quick-nav>.header-search--in-nav .voice-search-btn{display:none!important}.quick-nav>.header-search--in-nav .advanced-search-link{display:grid!important;place-items:center;width:46px;height:44px;font-size:0}.quick-nav>.header-search--in-nav .advanced-search-link:before{content:"⌕";font-size:1.55rem}.quick-nav-track{min-height:50px;gap:0!important;padding:0!important}.quick-nav .pill{display:flex!important;align-items:center;min-height:50px;padding:0 17px!important;border:0!important;border-right:1px solid var(--x-line)!important;border-radius:0!important;background:transparent!important;color:#fff!important;font-weight:650!important}.quick-nav .pill:hover{background:#30354d!important}.quick-topic-cta{margin-left:auto}.quick-topic-cta>.pill{background:var(--x-amber)!important}
main.container{padding-top:0!important}.main-layout{grid-template-columns:minmax(0,1fr) 360px!important;gap:12px!important}.widget,.category,.activity-widget,.featured-topics-section,.news-feed-section,.welcome-block,.profile-header,.profile-tabs-widget,.reply-form,.wall-post{background:var(--x-panel)!important;border:1px solid var(--x-line)!important;border-radius:7px!important;box-shadow:none!important}.widget{padding:0!important;overflow:hidden}.widget>h3,.widget>.widget-tabs{min-height:52px;margin:0!important;padding:0 16px!important;display:flex;align-items:center;border-bottom:1px solid var(--x-line);background:#30344b}
.category{margin-bottom:22px!important;overflow:hidden}.category>h2,.category-header{min-height:64px!important;margin:0!important;padding:0 18px!important;display:flex!important;align-items:center!important;background:#2d3148!important;border-bottom:1px solid var(--x-line)!important}.forum-item--grid{position:relative!important;grid-template-columns:minmax(0,1fr) minmax(320px,38%)!important;min-height:126px!important;border-bottom:1px solid var(--x-line)!important;background:var(--x-row)!important}.forum-item--grid:last-child{border-bottom:3px solid #ff7614!important}.forum-item-stripe{position:absolute!important;inset:auto 0 0!important;width:auto!important;height:3px!important;background:linear-gradient(90deg,#ff9e00,#ff285a)!important}.forum-item-grid-body{padding:20px 18px!important}.forum-item-main{gap:18px!important}.forum-item-icon-box{width:58px!important;height:58px!important;border-radius:7px!important;background:#41465f!important}.forum-item-textblock>a strong{font-size:1.16rem!important;color:var(--x-link)!important}.forum-item-textblock p{font-size:.86rem!important;color:#d3d6e7!important}.forum-item-lastpost-col{padding:13px 15px!important;border-left:1px solid var(--x-line)!important;background:#2c3046!important}.forum-item-topiclist-title{color:var(--x-link)!important;font-weight:700}.forum-item--grid:has(.forum-item-lastpost-col.is-empty){grid-template-columns:minmax(0,1fr) 230px!important}.forum-item--grid:has(.forum-item-lastpost-col.is-empty) .forum-item-lastpost-col{grid-column:auto!important;display:flex;align-items:center;justify-content:center;border-left:1px solid var(--x-line)!important;background:#2c3046!important}
.rank-widget ol{list-style:none;margin:0;padding:0}.rank-widget li{display:grid;grid-template-columns:30px 36px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:62px;padding:7px 14px;border-bottom:1px solid var(--x-line)}.rank-widget li>span a,.rank-widget li>span small,.rank-widget li>strong,.rank-widget li>strong small{display:block}.rank-widget li>span a{color:#71adff;font-weight:700}.rank-widget li>span small{font-size:.68rem;color:var(--x-muted)}.rank-widget li>strong{text-align:right;color:#c3c7da}.rank-widget h3 small{margin-left:auto;color:var(--x-muted);font-size:.72rem}.btn-primary,.tw-btn-primary{background:var(--x-amber)!important;border-color:#d08a10!important;color:#fff!important;border-radius:5px!important;box-shadow:none!important}.btn-secondary{background:#3a3f59!important;border:1px solid #555b79!important;color:#fff!important;border-radius:5px!important}
.login-streak-card{padding:0!important;border-radius:4px!important;background:#2d3148!important}.login-streak-title{padding:18px;border-bottom:1px solid var(--x-line)}.login-streak-stats{margin:0!important;padding:18px;grid-template-columns:1fr!important}.login-streak-stats>div{display:flex;justify-content:space-between;padding:5px 0!important;border:0!important;background:transparent!important}.login-streak-month-head{display:grid;grid-template-columns:1fr auto 1fr;padding:0 16px 12px}.login-streak-month-head span:last-child{text-align:right}.login-streak-weekdays,.login-streak-calendar--month{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:0 16px}.login-streak-weekdays b{text-align:center;font-size:.68rem;color:var(--x-muted)}.login-streak-calendar--month{padding-top:8px;padding-bottom:18px}.login-streak-calendar--month span{min-height:42px!important;border:0!important;background:transparent!important}.login-streak-calendar--month span.is-visited{border-radius:50%!important;background:#35c64a!important}.login-streak-calendar--month span.is-today:not(.is-visited){border:2px solid #858ab3!important;border-radius:50%!important}.login-streak-calendar--month span.is-blank{visibility:hidden}
.user-menu-dropdown>.apps-dropdown-menu{width:420px!important;padding:0!important;background:#2b2f45!important;border:1px solid #4b506b!important}.account-menu-summary{display:grid;grid-template-columns:70px 1fr;gap:13px;padding:14px 16px;border-bottom:1px solid var(--x-line)}.account-menu-summary>div>*{display:block}.account-menu-summary small,.account-menu-summary span{color:#bdc2d9}.account-menu-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--x-line)}.account-menu-tabs span{padding:12px 16px}.account-menu-tabs span:first-child{border-bottom:3px solid #9da3d0}.user-menu-dropdown>.apps-dropdown-menu>a,.user-menu-dropdown>.apps-dropdown-menu form button{display:inline-flex!important;width:50%!important;min-height:40px!important}.user-menu-logout-btn{width:100%!important}
.devtools-layout{display:grid;grid-template-columns:350px minmax(0,1fr);gap:18px;align-items:start}.devtools-sidebar{position:sticky;top:82px;border:1px solid var(--x-line);border-radius:7px;background:var(--x-panel);overflow:hidden}.devtools-sidebar h2{margin:0;padding:16px;border-bottom:1px solid var(--x-line)}.devtools-nav{position:static!important;display:grid!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.devtools-nav button{min-height:51px;padding:0 16px!important;border:0!important;border-bottom:1px solid rgba(158,166,206,.12)!important;border-radius:0!important;background:transparent!important;text-align:left}.devtools-nav button.active{background:#353a54!important;border-left:4px solid #9ca1cc!important}.devtools-warning{margin-bottom:18px;padding:13px 16px;border:1px solid #97600b;border-radius:6px;background:#704407;color:#ffe4a8}.devtools-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.devtool-card{background:var(--x-panel)!important;border-color:var(--x-line)!important;border-radius:5px!important}.devtool-card h2{color:#c2c8ef}.devtool-card textarea,.devtool-card input:not([type=range]):not([type=color]),.devtool-card select{background:#222638!important;border-color:#4a506c!important;color:#fff!important}
.profile-cover{height:48px!important;opacity:.25}.profile-header{display:grid!important;grid-template-columns:220px minmax(0,1fr) auto!important;gap:24px!important;padding:16px!important}.profile-avatar-wrap .avatar{width:220px!important;height:220px!important;border-radius:4px!important}.profile-stat-line{display:grid!important;grid-template-columns:repeat(4,minmax(100px,1fr));gap:0!important;margin-top:28px!important;border-block:1px solid var(--x-line)}.profile-stat-line>*{justify-content:center!important;padding:14px!important;border-right:1px solid var(--x-line);border-radius:0!important;background:transparent!important}.profile-tabs-widget>.widget-tabs{overflow-x:auto;background:#565b84!important}.profile-tabs-widget .tab-btn{min-height:52px;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:#d1d5ed!important}.profile-tabs-widget .tab-btn.active{border-bottom-color:#fff!important;color:#fff!important}.profile-tabs-widget>.tab-panel{padding:18px!important}
.legal-notice-panel{display:grid;grid-template-columns:82px 1fr;gap:18px;align-items:center;margin-bottom:24px;padding:16px;border:1px solid var(--x-line);border-radius:7px;background:var(--x-panel);color:#c5cae3!important;text-decoration:none!important}.legal-notice-icon{display:grid;place-items:center;width:74px;height:74px;border-radius:7px;background:#0e111d;font-size:2rem;transition:.3s}.legal-notice-panel:hover .legal-notice-icon{transform:rotate(10deg) scale(1.04)}.legal-notice-panel strong,.legal-notice-panel small{display:block}.legal-notice-panel strong{margin-bottom:7px;color:#fff}.legal-notice-panel small{line-height:1.6}.site-footer{background:#2d3148!important;border-top:12px solid #1d2030!important}.footer-pulse{border:1px solid var(--x-line)!important;background:#30344b!important}
@media(max-width:1250px){.primary-nav a{padding-inline:9px}.primary-nav a:nth-last-child(-n+2){display:none}.main-layout{grid-template-columns:minmax(0,1fr) 310px!important}.devtools-layout{grid-template-columns:280px minmax(0,1fr)}.devtools-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){.primary-nav{display:none}.main-layout{grid-template-columns:1fr!important}.forum-item--grid{grid-template-columns:1fr!important}.profile-header{grid-template-columns:130px minmax(0,1fr)!important}.profile-avatar-wrap .avatar{width:130px!important;height:130px!important}.profile-stat-line{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.container{width:calc(100% - 14px)!important}.logo{min-width:0}.site-logo-img{max-width:125px!important}.header-profile-btn:after{display:none}.quick-nav{margin:8px 7px 10px!important}.quick-nav>.header-search--in-nav{display:none!important}.devtools-layout{grid-template-columns:1fr}.devtools-sidebar{position:static}.devtools-nav{display:flex!important;overflow:auto}.devtools-nav button{flex:0 0 auto}.devtools-grid{grid-template-columns:1fr!important}.user-menu-dropdown>.apps-dropdown-menu{width:min(420px,calc(100vw - 16px))!important}.profile-header{grid-template-columns:82px 1fr!important}.profile-avatar-wrap .avatar{width:82px!important;height:82px!important}.profile-stat-line{grid-column:1/-1!important}.legal-notice-panel{grid-template-columns:52px 1fr}.legal-notice-icon{width:50px;height:50px}.footer-columns{grid-template-columns:1fr!important}}

/* Urgent UI fixes */
.site-page-progress{position:fixed;inset:0 auto auto 0;width:0;height:4px;z-index:5000;pointer-events:none;background:linear-gradient(90deg,#258cff 0%,#58c7ff 42%,#e6f66a 72%,#ffd447 100%);box-shadow:0 0 12px rgba(66,174,255,.55);transition:width .08s linear}
.header-inner{padding-right:58px!important}.quick-nav>.header-search--in-nav{position:fixed!important;top:18px!important;right:14px!important;left:auto!important;z-index:950!important}.legal-notice-icon{transition:transform .7s ease!important}.legal-notice-panel:hover .legal-notice-icon{transform:rotate(365deg)!important}
.today-visitors-widget h3 small{margin-left:auto;color:var(--x-muted);font-size:.72rem}.today-visitor-list{display:flex;flex-wrap:wrap;gap:9px;padding:14px}.today-visitor-list a{display:flex;align-items:center;gap:5px;color:#8db4ff;font-size:.72rem}.today-visitor-list .avatar{width:30px!important;height:30px!important}.peak-activity-note{margin:0 12px 12px;padding:11px;border:1px dashed #d88700;border-radius:5px;background:#5f3800;color:#ffe0a3;font-size:.78rem}.today-records{display:grid;gap:5px;margin:0 12px 12px;padding:12px;border:1px solid var(--x-line);border-radius:5px;background:#30344b}.today-records strong{margin-bottom:4px}.today-records span{color:#bfc4d9;font-size:.72rem}.today-records b{color:#fff}
.daily-word-reward{margin:.55rem 0;padding:.55rem .65rem;border:1px dashed #5b6079;border-radius:6px;background:#272b40;color:#d9ddf2;font-size:.82rem}.daily-word-reward strong{color:#ffd447}
.quick-menu-box{margin:0 auto!important;padding:0!important}.quick-menu-box>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 16px;cursor:pointer;list-style:none;color:#fff;font-weight:700}.quick-menu-box>summary::-webkit-details-marker{display:none}.quick-menu-box>summary span{color:#9fa6c4;font-size:.76rem;font-weight:400}.quick-menu-box[open]>summary{border-bottom:1px solid var(--x-line)}.quick-menu-box>.quick-nav-track{display:flex;flex-wrap:wrap;overflow:visible!important;padding:8px!important}.quick-menu-box:not([open])>.quick-nav-track{display:none!important}.stories-bar{margin:0 0 12px!important;border-radius:7px 7px 0 0!important;border-top:4px solid #62bfff!important;max-width:none!important}.stories-bar-inner{padding:.6rem .8rem!important}.tce-trigger,.tce-backdrop,.tce-drawer{display:none!important}
.account-menu-link-grid{display:grid;grid-template-columns:1fr 1fr;padding:8px;border-bottom:1px solid var(--x-line)}.user-menu-dropdown>.apps-dropdown-menu .account-menu-link-grid>a{display:flex!important;width:auto!important;min-height:38px!important;padding:8px!important;align-items:center}.account-menu-status-form{padding:10px 14px}.account-menu-status-form input{width:100%;padding:11px;border:1px solid #4b506b;border-radius:5px;background:#25293d;color:#fff}.account-menu-tabs a{padding:12px 16px;color:#fff;text-decoration:none}.account-menu-summary{grid-template-columns:70px 1fr}.account-menu-summary>div span{font-size:.76rem;line-height:1.45}
.widget>h3>a{color:inherit;text-decoration:none}.widget>h3>a:hover{color:#fff}.member-visit-time{display:block;color:#aeb5d3;font-size:.76rem}
.devtool-card.is-openable-tool h2{cursor:pointer}.devtool-card.is-openable-tool h2:hover{color:#fff}.devtools-back-link{display:inline-flex;margin-bottom:14px;padding:11px 18px;border-radius:5px;background:var(--x-amber);color:#fff;text-decoration:none}.devtools-sidebar[hidden]{display:none!important}.devtools-layout:has(.devtools-sidebar[hidden]){grid-template-columns:1fr}.topic-create-shell{width:100%;padding:14px 0 28px}.topic-create-header{display:flex;align-items:center;gap:13px;margin-bottom:14px;padding:17px;border:1px solid var(--x-line);border-radius:7px;background:var(--x-panel)}.topic-create-header>span{display:grid;place-items:center;width:50px;height:50px;border-radius:6px;background:#44495f}.topic-create-header h1,.topic-create-header p{margin:0}.topic-create-shell form>div{border-radius:6px!important;background:#2d3148!important;border-color:#484e69!important}.topic-create-shell .tox-tinymce{min-height:430px;border-color:#4b506b!important;border-radius:6px!important}.topic-create-shell #topic-title-input{min-height:64px;font-size:1.35rem}.topic-create-shell button[type=submit]{min-width:180px;border-radius:5px!important;background:#777da8!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.quick-nav{overflow:hidden!important}.quick-menu-box{width:min(1400px,calc(100% - 26px))!important;box-sizing:border-box!important}.quick-menu-box>.quick-nav-track{box-sizing:border-box!important;max-width:100%!important}.quick-menu-box .pill{box-sizing:border-box!important}.login-streak-dialog{position:fixed!important;inset:74px 14px auto auto!important;width:min(430px,calc(100vw - 28px))!important;max-height:calc(100vh - 90px)!important;margin:0!important}.login-streak-card{width:100%!important;box-sizing:border-box!important}.account-menu-link-grid>a{gap:8px!important;min-width:0!important;line-height:1.25!important}.footer-stat-card-v2,.footer-pulse-item{align-items:center!important}.footer-stat-card-v2-row{min-height:62px!important;align-items:center!important}
:root[data-theme="light"] body,:root[data-theme="light"] .main-content,:root[data-theme="light"] .sidebar{color:#172033!important}:root[data-theme="light"] .category,:root[data-theme="light"] .widget,:root[data-theme="light"] .quick-nav,:root[data-theme="light"] .welcome-block,:root[data-theme="light"] .activity-widget,:root[data-theme="light"] .post-card,:root[data-theme="light"] .topic-title-card{background:#fff!important;color:#172033!important}:root[data-theme="light"] h1,:root[data-theme="light"] h2,:root[data-theme="light"] h3,:root[data-theme="light"] strong,:root[data-theme="light"] .pill{color:#172033!important}:root[data-theme="light"] .muted{color:#596579!important}
@media(max-width:900px){.page-layout,.main-layout{grid-template-columns:1fr!important}.primary-nav{display:none!important}.quick-menu-box{width:calc(100% - 14px)!important}.quick-menu-box>.quick-nav-track{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.quick-menu-box .pill{width:100%!important;min-height:44px!important;border:1px solid var(--x-line)!important}.quick-menu-box .apps-dropdown,.quick-menu-box form{min-width:0!important}.user-menu-dropdown>.apps-dropdown-menu{right:8px!important;left:auto!important;max-height:calc(100vh - 80px)!important;overflow:auto!important}.account-menu-link-grid{grid-template-columns:1fr!important}.topic-create-shell{padding-inline:0!important}.topic-create-shell .rounded-2xl{padding:12px!important}.topic-create-shell #topic-title-input{font-size:1rem;min-height:52px}.topic-create-shell .tox-tinymce{min-height:360px}.footer-pulse,.footer-stats-v2{grid-template-columns:1fr 1fr!important}}
@media(max-width:520px){.quick-menu-box>.quick-nav-track{grid-template-columns:1fr}.header-inner{gap:6px!important}.auth-nav{gap:3px!important}.login-streak-trigger,.notif-bell-btn,#im-bubble-btn{width:34px!important}.user-menu-dropdown>.apps-dropdown-menu{position:fixed!important;inset:64px 7px auto 7px!important;width:auto!important}.login-streak-dialog{inset:64px 7px auto 7px!important;width:auto!important}.login-streak-calendar--month{grid-template-columns:repeat(7,1fr)!important}.footer-pulse,.footer-stats-v2{grid-template-columns:1fr!important}}
@media(max-width:700px){.header-inner{padding-right:8px!important}.quick-nav>.header-search--in-nav{display:none!important}.site-page-progress{height:3px}}
/* Topic prefix selector */
.topic-prefix-field small{font-weight:400;opacity:.65}.topic-prefix-picker{display:flex;flex-wrap:wrap;gap:9px;padding:12px;border:1px solid var(--border,#334155);border-radius:12px;background:rgba(15,23,42,.35)}.topic-prefix-choice{position:relative;cursor:pointer}.topic-prefix-choice input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.topic-prefix-choice span{display:inline-flex;align-items:center;min-height:34px;padding:6px 14px;border:1px solid color-mix(in srgb,var(--prefix-color,#7c6cff) 72%,transparent);border-radius:8px;background:color-mix(in srgb,var(--prefix-color,#7c6cff) 18%,transparent);color:var(--prefix-color,#a99fff);font-weight:700;transition:.16s ease}.topic-prefix-choice span:before{content:"";width:8px;height:8px;margin-right:8px;border-radius:50%;background:currentColor}.topic-prefix-choice input:checked+span{background:var(--prefix-color,#7c6cff);border-color:var(--prefix-color,#7c6cff);color:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--prefix-color,#7c6cff) 25%,transparent)}.topic-prefix-choice--none span{--prefix-color:#64748b}.topic-prefix-choice input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}@media(max-width:520px){.topic-prefix-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.topic-prefix-choice span{width:100%;justify-content:center;padding-inline:8px}}
