:root{--theme-card:#fff;--theme-soft:#f4f5fa;--theme-border:#e5e7ee;--brand-orange:#ff851b}html[data-theme=light]{color-scheme:light;--bg:#f8f9fc;--ink:#202632;--mute:#7c8499}html[data-theme=dark]{color-scheme:dark;--bg:#171a20;--ink:#f1f2f5;--mute:#a3a6b1;--line:#383c46;--navy:#11141a;--purple:#ff851b!important;--gold:#ffc178!important;--theme-card:#22262e;--theme-soft:#2b3039;--theme-border:#3c414c}body{transition:background-color .18s,color .18s}.logo-symbol{background:transparent!important;padding:0!important;overflow:hidden;box-shadow:0 5px 15px #ff851b26}.logo-symbol img{width:100%;height:100%;object-fit:cover;border-radius:12px}.portal-brand>span{padding:0;background:transparent;overflow:hidden}.brand-icon-img{width:100%;height:100%;object-fit:cover;border-radius:12px}.portal-login-icon{padding:0;background:transparent;overflow:hidden}.portal-login-icon .brand-icon-img{border-radius:16px}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;border:1px solid #e0ddec;border-radius:10px;background:#fbfaff;color:#615672;font-size:11px;padding:9px 11px;min-height:36px;cursor:pointer}.theme-symbol{font-size:17px;line-height:1}.theme-preferences{margin-bottom:18px}.brand-about{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.brand-about>img{width:135px;height:135px;border-radius:16px;object-fit:contain;background:#181b21}.brand-about h2{margin:0}.theme-choices{display:flex;gap:9px;margin:14px 0}.theme-choice{border:1px solid #dedbe8;border-radius:11px;padding:10px 20px;background:#fff;color:#55526b;font-weight:750}.theme-choice.selected{border-color:var(--purple);background:#fff0e4;color:#a54b08;box-shadow:0 0 0 2px #ff851b1a}.brand-footer-icon{width:38px;height:38px;border-radius:10px;vertical-align:middle;margin-right:8px}.theme-preferences .small{line-height:1.7}
html[data-theme=dark] body,html[data-theme=dark] body.admin-portal{background:#171a20;color:#f1f2f5}html[data-theme=dark] .header,html[data-theme=dark] .portal-sidebar,html[data-theme=dark] .portal-topbar{background:#1d2128;border-color:#383d47}html[data-theme=dark] .portal-topbar{background:#1d2128f5}html[data-theme=dark] .promo-top,html[data-theme=dark] .footer{background:#111419;color:#b7bbc6}html[data-theme=dark] .logo,html[data-theme=dark] .logo strong,html[data-theme=dark] .portal-brand,html[data-theme=dark] .portal-topbar-left b{color:#f4f4f6}html[data-theme=dark] .portal-brand,html[data-theme=dark] .portal-sidebar-bottom,html[data-theme=dark] .navrow{border-color:#343943}html[data-theme=dark] .panel,html[data-theme=dark] .product,html[data-theme=dark] .shop-sidebar,html[data-theme=dark] .shop-toolbar,html[data-theme=dark] .doc-card,html[data-theme=dark] .logistics-card,html[data-theme=dark] .banner-editor-card,html[data-theme=dark] .notification-entry,html[data-theme=dark] .dashboard-kpi,html[data-theme=dark] .stat,html[data-theme=dark] .mini,html[data-theme=dark] .seller-list-row,html[data-theme=dark] .home-bottom-cta,html[data-theme=dark] .prize-chat-inbox,html[data-theme=dark] .prize-chat-thread{background:#22262e!important;color:#eef0f5;border-color:#3b404b}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:inherit}html[data-theme=dark] .muted,html[data-theme=dark] .sectionhead p,html[data-theme=dark] .small.muted,html[data-theme=dark] .sellerline,html[data-theme=dark] .source,html[data-theme=dark] .from,html[data-theme=dark] .meta{color:#adb0bb!important}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] select,html[data-theme=dark] textarea{background:#191d24!important;color:#f1f2f6!important;border-color:#444a58!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#858d9e}html[data-theme=dark] .search,html[data-theme=dark] .avatar-account,html[data-theme=dark] .home-overview{background:#282c35;border-color:#404652;color:#c8c5bd}html[data-theme=dark] .search input{background:transparent!important}html[data-theme=dark] .btn:not(.soft):not(.light),html[data-theme=dark] .search button,html[data-theme=dark] .wallet-plus,html[data-theme=dark] .chat-send,html[data-theme=dark] .chat-launcher{background:#ff851b;color:#20160b}html[data-theme=dark] .btn.soft,html[data-theme=dark] .notification-top-btn,html[data-theme=dark] .wallet-balance,html[data-theme=dark] .smalltag{background:#3a2c21;color:#ffc38e;border-color:#624228}html[data-theme=dark] .btn.light,html[data-theme=dark] .portal-menu-button,html[data-theme=dark] .portal-sidebar-bottom button,html[data-theme=dark] .theme-toggle,html[data-theme=dark] .theme-choice{background:#2a2f39;color:#e5e6ed;border-color:#4a505d}html[data-theme=dark] .theme-choice.selected{background:#482e1a;color:#ffd1a6;border-color:#ff8b26}html[data-theme=dark] .link,html[data-theme=dark] .navbtn.active,html[data-theme=dark] .navbtn:hover,html[data-theme=dark] .product .price,html[data-theme=dark] .dashboard-kpi strong{color:#ffb66d}html[data-theme=dark] .navbtn{color:#c0c4cf}html[data-theme=dark] .navbtn.active:after{background:#ff851b}html[data-theme=dark] .portal-nav button{color:#c3c7d0}html[data-theme=dark] .portal-nav button:hover{background:#34302b;color:#ffd0a4}html[data-theme=dark] .portal-nav button.active{background:#ff851b;color:#21170d;box-shadow:0 5px 20px #ff851b13}html[data-theme=dark] .portal-nav button.active>span{color:#543019}html[data-theme=dark] .portal-role.owner{color:#ff818b}html[data-theme=dark] .portal-role.mod{color:#7eb3ff}html[data-theme=dark] .notice{background:#362b23!important;color:#e6c5a5!important;border-color:#61482e}html[data-theme=dark] .notice.warning{background:#3d3021!important;color:#f0c78f!important}html[data-theme=dark] .badge{background:#36303e;color:#ddd4e8}html[data-theme=dark] .badge.green{background:#183d32;color:#8ee5c3}html[data-theme=dark] .badge.amber{background:#49381e;color:#ffd38c}html[data-theme=dark] .pill{background:#262b34;color:#cbd0da;border-color:#424957}html[data-theme=dark] .pill.active{background:#ff851b;color:#251809;border-color:#ff851b}html[data-theme=dark] .actions button{background:#362b22;color:#ffc18d;border-color:#624328}html[data-theme=dark] .actions button:first-child{background:#ff851b;color:#251809;border-color:#ff851b}html[data-theme=dark] .home-shortcuts button,html[data-theme=dark] .guide-card,html[data-theme=dark] .guide-cta,html[data-theme=dark] .doc-file{background:#262b34;color:#e6e8ef;border-color:#404754}html[data-theme=dark] .guide-card p{color:#b5bbc7}html[data-theme=dark] .product-picture{background:linear-gradient(130deg,#292c37,#303241)}html[data-theme=dark] .picture-label{background:#242833;color:#f2c5a3}html[data-theme=dark] .bb-avatar{background:#37313a;color:#ffb777}html[data-theme=dark] .kv,html[data-theme=dark] .banner-editor-head,html[data-theme=dark] .chat-user-row,html[data-theme=dark] .chat-history-row,html[data-theme=dark] .list-item{border-color:#3b414d!important}html[data-theme=dark] .dropdown,html[data-theme=dark] #notificationPopup{background:#242932;color:#e6e9f1;border-color:#444b58}html[data-theme=dark] .dropdown b{color:#f0e6dc}html[data-theme=dark] .dropdown button:hover{background:#3a3028;color:#ffc695}html[data-theme=dark] .bb-chat,html[data-theme=dark] .chat-bottom{background:#20252d;color:#edf0f6;border-color:#404652}html[data-theme=dark] .bb-chat-head{background:linear-gradient(110deg,#26272b,#53331c);color:#ffe3c8}html[data-theme=dark] .chat-intro{color:#a3aab8;border-color:#373d49}html[data-theme=dark] .chat-text{color:#dde3ed}html[data-theme=dark] .chat-pin{background:#383020;color:#f4d19a}html[data-theme=dark] .chat-official .chat-text{background:#40292e}html[data-theme=dark] .chat-official .chat-meta{color:#ff8b98!important}html[data-theme=dark] .chat-meta[style*="1769d2"]{color:#74b0ff!important}html[data-theme=dark] .prize-thread-head,html[data-theme=dark] .prize-thread-compose,html[data-theme=dark] .prize-inbox-head,html[data-theme=dark] .prize-inbox-total{background:#222831;border-color:#3d4552}html[data-theme=dark] .prize-thread-messages{background:linear-gradient(150deg,#1d222a,#20252e)}html[data-theme=dark] .prize-thread-item{background:#22262e;color:#e6eaf3;border-color:#363d49}html[data-theme=dark] .prize-thread-item.active{background:#3c3027;border-color:#ff851b}html[data-theme=dark] .prize-message-text{background:#343b48;color:#edf0f6}html[data-theme=dark] .prize-message.mine .prize-message-text{background:#ff921f;color:#25180b}html[data-theme=dark] .prize-message-author{color:#afb9cb}html[data-theme=dark] .prize-message.admin .prize-message-author{color:#ff8796}html[data-theme=dark] .confirm-dialog{background:#252a33;color:#eef0f6;border-color:#454c58}html[data-theme=dark] .dialog-summary,html[data-theme=dark] .dialog-close,html[data-theme=dark] .font-guide{background:#1d232c;color:#d5dbe6;border-color:#444c5a}html[data-theme=dark] .confirm-dialog p{color:#c1c8d5}html[data-theme=dark] .banner-empty-art{background:linear-gradient(120deg,#20252d,#71421d)}html[data-theme=dark] .banner-asset-preview{background:#191e26;border-color:#4b5262}html[data-theme=dark] .banner-slide.theme-violet{background:radial-gradient(circle at 84% 25%,#a94f1944,transparent 55%),linear-gradient(120deg,#151920,#2f2825)}html[data-theme=dark] .banner-cta{background:#ff941f;color:#25180b;border-color:#ffac53}html[data-theme=dark] .banner-empty-state{background:#22262e;border-color:#514438;color:#b9b0a7}html[data-theme=dark] .dashboard-table th{background:#2b323e;color:#e8ebf0}html[data-theme=dark] .dashboard-table td,html[data-theme=dark] .dashboard-table th{border-color:#414a58}html[data-theme=dark] .shop-pagination button{background:#252b35;color:#e9d4bf;border-color:#4c514e}html[data-theme=dark] .shop-pagination button.active{background:#ff851b;color:#21160b}
@media(max-width:480px){.theme-toggle{padding:7px 9px;min-width:34px}.theme-toggle .theme-text{display:none}.brand-about>img{width:100px;height:100px}.brand-about{gap:16px}.theme-choice{padding:9px 14px}}@media(prefers-reduced-motion:reduce){body{transition:none}}
html[data-theme=dark] .chat-meta[style*="667085"],html[data-theme=dark] .chat-level-legend span[style*="667085"]{color:#b9c4d3!important}html[data-theme=dark] .chat-meta[style*="995b32"],html[data-theme=dark] .chat-level-legend span[style*="995b32"]{color:#dea679!important}html[data-theme=dark] .chat-meta[style*="526882"],html[data-theme=dark] .chat-level-legend span[style*="526882"]{color:#bbcee5!important}html[data-theme=dark] .chat-meta[style*="946000"],html[data-theme=dark] .chat-level-legend span[style*="946000"]{color:#ffd486!important}html[data-theme=dark] .chat-meta[style*="007a9e"],html[data-theme=dark] .chat-level-legend span[style*="007a9e"]{color:#7cdef7!important}html[data-theme=dark] .chat-meta[style*="8137bd"],html[data-theme=dark] .chat-level-legend span[style*="8137bd"]{color:#d7b0ff!important}html[data-theme=dark] [style*="color:#1769d2"]{color:#78b5ff!important}html[data-theme=dark] .portal-identity[style*="d92d39"]{color:#ff8796!important}

/* V2.1.4: search aligns with the content/banner, navigation stays above it. */
.storefront-search{padding-top:22px}.storefront-search .search{max-width:none;width:100%;min-height:58px;margin:0}.storefront-search .search input{font-size:15px}.header-main{padding-top:12px;padding-bottom:12px}.header-userbox .top-action{min-width:76px;min-height:46px;padding:6px 12px}.header-userbox .top-action .bb-avatar{width:28px;height:28px}.header-userbox .top-action #headerUser{font-size:13px}.header-userbox{width:auto;flex:1}.header-wallet{margin-left:auto}.navrow{min-height:44px}.storefront-search + #content .banner-carousel{margin-top:16px}
html[data-theme=dark] .header-userbox .top-action,html[data-theme=dark] .top-logout{background:#282d36;color:#e5e8ef;border-color:#454c59}html[data-theme=dark] .header-userbox .top-action:hover,html[data-theme=dark] .top-logout:hover{background:#353c48;border-color:#697384}html[data-theme=dark] .header-userbox .top-action:focus-visible,html[data-theme=dark] .top-logout:focus-visible{outline-color:#ff9c43}
body.admin-portal .storefront-search{display:none}
@media(min-width:1200px){body.chat-rail .storefront-search{max-width:1240px;margin-left:auto}}
@media(max-width:780px){.storefront-search{padding-top:15px}.storefront-search .search{min-height:50px;gap:8px;padding-left:12px}.storefront-search .search input{font-size:16px}.storefront-search .search button{padding:10px 13px}.header-main{padding-top:10px;padding-bottom:10px}.header-userbox{justify-content:flex-end}.header-wallet{margin-left:0}.header-main{flex-wrap:wrap}.header-userbox .top-action{min-width:60px}.storefront-search + #content .banner-carousel{margin-top:12px}}

/* Search suggestions: no network query or private user data. */
.storefront-search{position:relative;z-index:21}.search-suggestions{position:absolute;top:100%;left:28px;right:28px;margin-top:7px;max-height:min(420px,55dvh);overflow:auto;border:1px solid #dce1eb;border-radius:14px;background:#fff;box-shadow:0 16px 40px #18233c24;padding:6px}.search-suggestions[hidden]{display:none!important}.search-suggestions button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:transparent;color:#252d3d;border-radius:9px;padding:11px 13px;min-height:58px}.suggestion-copy{display:grid;gap:2px;flex:1;min-width:0}.suggestion-copy b{font-size:14px;overflow-wrap:anywhere}.suggestion-copy small{font-size:11px;color:#606b80}.suggestion-icon{font-size:20px;color:#79501d}.search-suggestions button:hover,.search-suggestions button[aria-selected=true]{background:#fff0df;color:#6b3907;outline:2px solid #e5af74;outline-offset:-2px}
html[data-theme=dark] .search-suggestions{background:#252b35;border-color:#4b5565;box-shadow:0 18px 45px #0006}html[data-theme=dark] .search-suggestions button{color:#f1f3f7}html[data-theme=dark] .suggestion-copy small{color:#b4bece}html[data-theme=dark] .suggestion-icon{color:#ffc187}html[data-theme=dark] .search-suggestions button:hover,html[data-theme=dark] .search-suggestions button[aria-selected=true]{background:#493423;color:#ffdcba;outline-color:#b77b45}
@media(max-width:780px){.search-suggestions{left:15px;right:15px}.suggestion-copy b{font-size:13px}.search-suggestions button{padding:10px;min-height:55px}}
@media(max-width:540px){.search-suggestions{left:14px;right:14px}}
/* V2.1.5: cover legacy light cards, every room state and administration form. */
html[data-theme=dark] :is(.room-stats>div,.room-stage,.room-ticket-list,.room-ticket,.room-audit,.room-history details,.journal-event,.completed-home-card,.completed-home-icon,.design-box,.design-preview,.level-card,.level-score,.level-breakdown span,.handoff-card,.admin-grant,.seller-tab,.seller-tab-count,.seller-mini-photo,.disabled-chip,.doc-card .doc-status,.bb-upload-tile,.bb-upload-tile button,.category,.empty,.stat-icon,.schedule-pill,.wallet-plan button,.shop-mobile-filter,.shop-sidebar-close){background:#29303b!important;background-image:none!important;color:#e8edf5!important;border-color:#465164!important}
html[data-theme=dark] :is(.room-stats b,.room-stage strong,.room-live-count,.level-score,.bb-cost,.seller-dashboard .mini b,.home-overview strong,.detail .price-big,.schedule-pill .countdown,.dashboard-kpi strong){color:#ffc18b!important}
html[data-theme=dark] :is(.room-stats small,.room-ticket small,.journal-date,.design-note,.banner-editor-help,.dashboard-kpi small,.logistics-grid label,.shop-range,.shop-sort span,.category small,.validation-hint,.dialog-foot,.shop-demo-disclaimer){color:#b7c2d4!important}
html[data-theme=dark] :is(.room-stage.active,.seller-tab.active,.wallet-plan button.active){background:#52371f!important;color:#ffe3c4!important;border-color:#ffad68!important}
html[data-theme=dark] :is(.room-stage.active strong,.seller-tab.active .seller-tab-count){color:#ffe3c4!important}
html[data-theme=dark] .room-ticket-list .room-ticket{background:#343d4d!important}html[data-theme=dark] .room-audit{color:#d2dfef!important}
html[data-theme=dark] :is(.notif-popup-item,.notif-popup-item.unread){background:#282e39;color:#f0f3f8;border-color:#424b5b}html[data-theme=dark] .notif-popup-item.unread{background:#383329;border-left:3px solid #ffae66}html[data-theme=dark] .notif-popup-item:hover{background:#41414a}html[data-theme=dark] .notif-popup-item b{color:#f4f6fb}html[data-theme=dark] .notif-popup-item span{color:#c0cadb}html[data-theme=dark] :is(.notif-popup-head,.notif-popup-foot){border-color:#4a5362}
html[data-theme=dark] :is(.feature-banner,.guide-cta){background:#302d29!important;background-image:none!important;border-color:#5b4b3c}html[data-theme=dark] :is(.feature-banner p,.guide-card p,.guide-cta p,.confirm-dialog .dialog-product,.dialog-message){color:#c4cddd!important}html[data-theme=dark] :is(.guide-card h3,.guide-cta h3,.font-guide summary,.shop-filter-group h3){color:#f4cfaa}
html[data-theme=dark] :is(.owned-summary,.flash-success,.detail-join button:disabled,.actions button:disabled){background:#1d3c34!important;color:#9de8c9!important;border-color:#39775e!important;opacity:1}
html[data-theme=dark] :is(.cancelled-session,.warning){background:#44321f!important;color:#ffe0b3!important;border-color:#795830!important}
html[data-theme=dark] .follow-star{background:#29313e;color:#d9caff;border-color:#625878}html[data-theme=dark] .follow-star.active{background:#473c25;color:#ffe0a2;border-color:#8a7449}html[data-theme=dark] .follow-star:hover{background:#424253}
html[data-theme=dark] .detail-join button:not(:disabled){background:#ff921f;color:#21170c}html[data-theme=dark] .product-picture:before{background:#ffffff0b}html[data-theme=dark] :is(.product-picture,.detail-pic,.bb-gallery){background:#29303b}html[data-theme=dark] .product .price small{color:#bec5d3}
html[data-theme=dark] :is(.progress,.level-track,.pass-meter){background:#414956}html[data-theme=dark] .dropdown .dropdown-fast-item{background:#403021;color:#ffd2a4}html[data-theme=dark] .dropdown .dropdown-fast-item:hover{background:#58402a;color:#ffe3c7}html[data-theme=dark] .dropdown-divider{background:#465062}
html[data-theme=dark] .validation-hint.good{color:#90e1b7!important}html[data-theme=dark] :is(.validation-hint.bad,.chat-error,#receiptError){color:#ff9fac!important}html[data-theme=dark] .dialog-summary .negative{color:#ffa2b2}
html[data-theme=dark] :is(.doc-file,.bb-filelinks a){color:#d0bbff}html[data-theme=dark] .admin-tabs button{background:#29303a;color:#d4ddeb;border-color:#4b5668}html[data-theme=dark] .admin-tabs button.active{background:#ff941f;color:#24170a}html[data-theme=dark] table{color:#e4eaf4}html[data-theme=dark] :is(th,td){border-color:#465064}html[data-theme=dark] select option{background:#222a35;color:#edf2fa}
html[data-theme=dark] [style*="background:#eafff5"],html[data-theme=dark] [style*="background:linear-gradient(110deg,#ecfff5"]{background:#1e3b33!important;color:#c2f3df!important}html[data-theme=dark] [style*="color:#6554eb"]{color:#ffc18b!important}html[data-theme=dark] [style*="color:#d92d39"]{color:#ff909d!important}
html[data-theme=dark] .home-shortcuts span{color:#bdc6d6}html[data-theme=dark] .home-shortcuts button:hover{background:#343d4b}html[data-theme=dark] .search input{box-shadow:none;background:transparent!important}html[data-theme=dark] input:-webkit-autofill{-webkit-text-fill-color:#eff3f9;box-shadow:0 0 0 1000px #252b35 inset}

.storefront-search[hidden]{display:none!important}html[data-theme=dark] #headerUser{color:#edf1f7!important}html[data-theme=dark] :is(.private-unread,.chat-unread){background:#b72945;color:#fff}html[data-theme=dark] .search>span{color:#b6c3d7!important}html[data-theme=dark] .chat-status{color:#b7c1d2}

html[data-theme=dark] :is(.prize-thread-item small,.prize-thread-preview,.prize-thread-head p,.prize-message small,.prize-read-note,.prize-inbox-total,.prize-chat-empty){color:#bac5d7!important}html[data-theme=dark] .prize-message-error{color:#ff9fac}
html[data-theme=dark] [style*="color:#667085"]{color:#b9c4d3!important}
html[data-theme=dark] [style*="color:#995b32"]{color:#dea679!important}
html[data-theme=dark] [style*="color:#526882"]{color:#bbcee5!important}
html[data-theme=dark] [style*="color:#946000"]{color:#ffd486!important}
html[data-theme=dark] [style*="color:#007a9e"]{color:#7cdef7!important}
html[data-theme=dark] [style*="color:#8137bd"]{color:#d7b0ff!important}
html[data-theme=dark] [style*="color:#d92d39"]{color:#ff909d!important}
html[data-theme=dark] [style*="color:#1769d2"]{color:#78b5ff!important}

.wallet-users-search{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}.wallet-users-search .field{flex:1;min-width:210px;margin:0}.wallet-users-pages{justify-content:center;margin-top:18px}.wallet-users-table td{vertical-align:middle}.wallet-adjust-panel{margin-top:18px;border:2px solid #d4a065}.wallet-adjust-error{color:#ae263d}html[data-theme=dark] .wallet-adjust-error{color:#ffadbb}html[data-theme=dark] .wallet-adjust-panel{border-color:#bc874e}.wallet-users-table .row{flex-wrap:nowrap}@media(max-width:650px){.wallet-users-search .field{flex-basis:100%}.wallet-users-table{min-width:760px}.wallet-adjust-panel .two{display:block}}

/* Outside header uses the same compact horizontal controls as the admin portal. */
.header-userbox{flex:0 1 auto;flex-wrap:nowrap;gap:10px;margin-left:0}.header-main{justify-content:space-between}.header-userbox .top-action{flex-direction:row;gap:7px;min-width:0;min-height:38px;height:38px;padding:0!important;border:0;background:transparent;border-radius:0;white-space:nowrap}.header-userbox .top-action span:first-child{font-size:12px}.header-userbox .top-action #headerUser{font-size:12px;font-weight:800}.header-userbox .top-action .bb-avatar{width:29px;height:29px}.header-userbox :is(.theme-toggle,.notification-top-btn,.top-logout,.top-account){height:38px;min-height:38px;margin:0;display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border-radius:11px;font-size:12px;line-height:1.2}.header-userbox .notification-top-btn{min-width:42px}.top-account{border:1px solid #dce0e9;background:#fff;color:#354158;white-space:nowrap;font-weight:750;order:3}.top-logout{order:4}.top-account[hidden]{display:none!important}.header-wallet :is(.wallet-balance,.wallet-plus){height:38px;min-height:38px}.header-wallet{gap:6px;margin-left:auto}.header-wallet .wallet-plus{width:32px}.header-userbox .top-action:hover{background:transparent}html[data-theme=dark] .header-userbox .top-action,html[data-theme=dark] .header-userbox .top-action:hover{background:transparent;border-color:transparent}html[data-theme=dark] .top-account{background:#2a2f39;color:#e5e6ed;border-color:#4a505d}html[data-theme=dark] .top-logout{background:#3a2c21;color:#ffc38e;border-color:#624228}html[data-theme=dark] .top-logout:hover{background:#503820}
@media(max-width:780px){.header-main{gap:10px;align-items:center}.header-userbox{flex-basis:100%;justify-content:flex-end;flex-wrap:wrap}.header-userbox .top-action{min-width:0!important;padding:0!important}.header-wallet{margin-left:auto}.header-userbox :is(.theme-toggle,.notification-top-btn,.top-logout,.top-account){height:36px;min-height:36px;font-size:11px;padding:7px 9px}.header-userbox .top-action #headerUser{max-width:115px;overflow:hidden;text-overflow:ellipsis;font-size:11px}}

.header-userbox .top-action.guest-login{padding:8px 12px!important;border:1px solid #dce0e9;border-radius:11px;background:#fff;min-width:88px}.header-userbox .guest-login .bb-avatar{display:none}.header-userbox #topRegister{min-width:88px}.header-userbox .guest-login #headerUser{font-size:12px}.header-userbox .guest-login{order:4}html[data-theme=dark] .header-userbox .top-action.guest-login{background:#2a2f39;border-color:#4a505d;color:#e5e6ed}.header-userbox .guest-login:hover,.header-userbox #topRegister:hover{filter:brightness(1.12)}
.header-userbox .top-action.guest-login,.header-userbox #topRegister{width:96px;min-width:96px}

.chat-command-help{font-size:11px;margin-top:8px;padding:6px 8px;border:1px solid #dedbe8;border-radius:9px;background:#f1eff9;color:#403954}.chat-command-help[hidden]{display:none!important}.chat-command-help summary{font-weight:800;cursor:pointer}.chat-command-help p{margin:7px 0;line-height:1.9}.chat-command-help code{font-family:monospace}html[data-theme=dark] .chat-command-help{background:#2b3340;color:#d5e2f4;border-color:#4d5c70}

.chat-system-notice{display:flex;gap:7px;font-size:11px;line-height:1.7;margin:10px 0;padding:9px 10px;border:1px solid #e4cda7;border-radius:10px;background:#fff4df;color:#694b22;overflow-wrap:anywhere}.chat-system-notice time{display:block;font-size:9px;color:#725b38}.chat-system-notice>div{min-width:0}html[data-theme=dark] .chat-system-notice{background:#3b3022;color:#ffe0af;border-color:#75593a}html[data-theme=dark] .chat-system-notice time{color:#d5bd97}

/* V2.2: navigation stays above search and fixed-position dropdown escapes nav scroll clipping. */
.header{z-index:80}.navrow .dropdown{position:fixed;z-index:90;left:12px;top:130px;width:min(330px,calc(100vw - 25px));overscroll-behavior:contain}.storefront-search{z-index:21}.header-main{gap:12px;flex-wrap:wrap}.header-wallet{flex-wrap:wrap}.bonus-balance{border-color:#78b99d;background:#e9f8ef;color:#226547}.bonus-wallet-card{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;border-radius:18px;padding:24px;background:linear-gradient(120deg,#e8f9ed,#ecf6ff);border:1px solid #acd6bd;margin:18px 0}.bonus-wallet-card>div{display:grid;gap:5px}.bonus-wallet-card strong{font-size:28px;color:#17613d}.bonus-wallet-card small{font-weight:800;letter-spacing:1px}.reward-mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.reward-mission{display:flex;flex-direction:column;padding:20px}.reward-mission h3{margin:12px 0 0}.reward-mission button{margin-top:auto}.reward-admin-tabs{margin-bottom:18px}.reward-editor{border:1px solid var(--line);border-radius:12px;padding:16px;margin:15px 0}.reward-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reward-save-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:20px 0}.reward-admin-tabs .btn{font-size:12px}.dashboard-table input:not([type=color]){width:100%;min-width:95px;border:1px solid #dce1eb;border-radius:8px;padding:8px}.dashboard-table input[type=color]{height:36px;width:55px;padding:3px}.dashboard-table select{max-width:100%}.reward-mission .level-track{margin-bottom:0}html[data-theme=dark] .bonus-wallet-card{background:linear-gradient(120deg,#203c32,#253648);color:#e2f4e9;border-color:#48745c}html[data-theme=dark] .bonus-wallet-card strong{color:#a1edbc}html[data-theme=dark] .bonus-balance{background:#203c32;color:#b6efc8;border-color:#46775a}html[data-theme=dark] .reward-editor{border-color:#465467}html[data-theme=dark] .reward-mission b{color:#c5f0cd}.home-shortcuts{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
@media(max-width:900px){.reward-mission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reward-editor-grid{grid-template-columns:1fr 1fr}.header-main .header-userbox{margin-left:auto}}@media(max-width:600px){.reward-mission-grid,.reward-editor-grid{grid-template-columns:1fr}.bonus-wallet-card{padding:18px}.bonus-wallet-card strong{font-size:24px}.header-wallet .wallet-balance{font-size:11px;padding:7px}.header-userbox{justify-content:flex-start}.home-shortcuts{grid-template-columns:1fr 1fr}.bonus-balance{max-width:160px}}
.navrow .dropdown{overflow-x:hidden}.navrow .dropdown button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.reward-mission button:disabled{opacity:1;background:#edf0f5!important;color:#5a687c!important;border:1px solid #d5dce7}html[data-theme=dark] .reward-mission button:disabled{background:#303844!important;color:#c3cddd!important;border-color:#455369}

/* V2.2.3: right-side bell and anchored, keyboard-accessible notification panel. */
.header-wallet .notification-top-btn{height:38px;min-height:38px;min-width:42px;margin:0;padding:8px 11px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1.2;border-radius:11px;flex-shrink:0}
#notificationPopup{display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;overscroll-behavior:contain}
.notif-popup-head,.notif-popup-foot{flex-shrink:0}.notif-popup-head b{min-width:0}.notif-popup-head button{flex-shrink:0}
.notif-popup-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.notif-popup-item{display:block;width:100%;text-align:left;font-family:inherit;color:inherit;background:transparent;border:0;border-bottom:1px solid #e7e4f0;line-height:1.5}
.notif-popup-item:focus-visible,.notification-top-btn:focus-visible{outline:2px solid #d76b00;outline-offset:-2px}
html[data-theme=dark] .notif-popup-item{border-color:#414957;color:#f0f2f6}
html[data-theme=dark] .notif-popup-item:focus-visible,html[data-theme=dark] .notification-top-btn:focus-visible{outline-color:#ffb66d}
@media(max-width:600px){.header-wallet .notification-top-btn{height:38px;min-height:38px;padding:7px 9px}.notif-popup-foot{flex-wrap:wrap;gap:8px}.notif-popup-foot .btn{flex:1;white-space:nowrap}}
/* V2.2.4 compact navigation and management forms. */
.promo-top{position:relative;padding-left:145px;padding-right:145px}.app-version{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:10px;color:#e9ad70;white-space:nowrap}
body .navrow,body.chat-rail .navrow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;overflow:visible}
.nav-primary{min-width:0;display:flex;align-items:center;gap:22px;overflow-x:auto;scrollbar-width:thin}.nav-primary>.navbtn,.nav-primary>.nav-drop{flex-shrink:0}.nav-account{margin-left:auto;flex-shrink:0;position:relative}.account-nav-menu{display:none;position:fixed;z-index:95;padding:9px;border:1px solid #dddfea;border-radius:15px;background:#fff;box-shadow:0 15px 35px #20284022;overflow:auto}.nav-account.open .account-nav-menu{display:grid;gap:4px}.account-nav-menu button{text-align:left;border:0;border-radius:9px;padding:12px;background:transparent;color:#344157;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.account-nav-menu button:hover,.account-nav-menu button:focus-visible{background:#fff0df;color:#8c4204}.wallet-balance[hidden],.wallet-plus[hidden],.field[hidden]{display:none!important}
html[data-theme=dark] .account-nav-menu{background:#242933;border-color:#454d5b}html[data-theme=dark] .account-nav-menu button{color:#e3e7f0}html[data-theme=dark] .account-nav-menu button:hover,html[data-theme=dark] .account-nav-menu button:focus-visible{background:#3b3027;color:#ffc58f}
.guide-session-types{margin:18px 0 24px}.simulation-actions{flex-wrap:wrap;gap:9px}.simulation-log{padding-left:24px;line-height:1.8}.prize-message.moderator .prize-message-author{color:#1668c7}html[data-theme=dark] .prize-message.moderator .prize-message-author{color:#80bcff}.portal-nav-group .portal-group-items button{line-height:1.5}
@media(max-width:780px){.promo-top{padding-left:12px;padding-right:12px;padding-bottom:20px}.app-version{top:auto;bottom:3px;transform:none;right:12px}.nav-primary{gap:14px}.nav-primary .navbtn,.nav-account>.navbtn{font-size:11px}.navrow{gap:10px!important}.header-wallet{max-width:100%}.wallet-users-search{flex-wrap:wrap}.guide-session-types .btn{font-size:11px}}
