:root{color-scheme:light}.site-account[data-account-ui="ready"]{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;min-width:0!important;max-width:none!important;grid-template-columns:none!important;gap:8px!important}.site-account[data-account-ui="ready"] .register-btn[hidden]{display:none!important}.site-account[data-account-ui="ready"] .account-menu-trigger{display:flex!important;align-items:center!important;width:auto!important;min-width:112px!important;max-width:170px!important;height:42px!important;padding:4px 10px 4px 5px!important;gap:8px!important;overflow:visible!important;line-height:normal!important;text-align:left!important}.account-trigger-avatar,.account-menu-avatar{display:grid;place-items:center;overflow:hidden;flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:linear-gradient(145deg,#dff7fb,#a9dce6);color:#176f82}.account-trigger-avatar img,.account-menu-avatar img{width:100%;height:100%;object-fit:cover}.account-trigger-avatar i,.account-menu-avatar i{font-style:normal;font-weight:800}.account-trigger-copy{display:block;min-width:0;flex:1}.account-trigger-copy b,.account-trigger-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-trigger-copy b{color:var(--text);font-size:11px;line-height:15px}.account-trigger-copy small{color:var(--muted);font-size:8px;line-height:11px}.account-menu-trigger>em{color:var(--muted);font-style:normal;transition:.18s}.account-menu-trigger[aria-expanded="true"]>em{transform:rotate(180deg)}.theme-quick-toggle{display:grid!important;place-items:center!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;padding:0!important;font-size:15px!important}.account-popover{display:none;position:absolute;z-index:3100;right:0;top:52px;width:320px;overflow:hidden;border:1px solid var(--line);border-radius:19px;background:rgba(255,255,255,.97);box-shadow:0 26px 75px rgba(34,62,82,.22);backdrop-filter:blur(22px)}.account-popover.open{display:block;animation:account-pop .16s ease-out}@keyframes account-pop{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:none}}.account-popover>header{display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.account-menu-avatar{width:44px;height:44px}.account-popover header b,.account-popover header small{display:block}.account-popover header b{color:var(--text);font-size:14px}.account-popover header small{max-width:220px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.account-popover>nav{padding:7px}.account-popover nav a,.account-popover nav button{display:grid!important;grid-template-columns:34px 1fr auto!important;align-items:center!important;width:100%!important;max-width:none!important;height:auto!important;min-height:55px!important;padding:8px 10px!important;gap:10px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--text)!important;text-align:left!important;line-height:normal!important}.account-popover nav a:hover,.account-popover nav button:hover{background:#f0f7f9!important}.account-popover nav i{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:#e7f5f8;color:#26788a;font-style:normal;font-size:10px}.account-popover nav span b,.account-popover nav span small{display:block}.account-popover nav span b{font-size:11px}.account-popover nav span small{margin-top:3px;color:var(--muted);font-size:8px}.account-popover nav em{color:#77a1ad;font-style:normal}.account-popover>section{padding:14px 16px;border-top:1px solid var(--line)}.account-popover>section>small{display:block;margin-bottom:9px;color:var(--muted);font-size:9px}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.theme-options button{display:grid!important;width:100%!important;max-width:none!important;height:56px!important;padding:6px!important;place-items:center!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#f7fafc!important;color:#60798b!important;line-height:normal!important}.theme-options button i{font-style:normal;font-size:15px}.theme-options button span{font-size:8px}.theme-options button.active{border-color:#78c4d2!important;background:#e6f7fa!important;color:#176e81!important;box-shadow:inset 0 0 0 1px rgba(89,184,201,.15)}.account-popover>footer{padding:8px;border-top:1px solid var(--line)}.account-popover>footer button{display:flex!important;justify-content:space-between!important;width:100%!important;max-width:none!important;height:40px!important;padding:0 11px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#bc4f59!important}.account-popover>footer button:hover{background:#fff2f3!important}
html[data-theme="dark"]{color-scheme:dark;--bg:#08131c;--surface:rgba(15,29,39,.88);--line:rgba(151,190,204,.15);--text:#edf5f7;--muted:#8ea5b5;--blue:#68a5ff;--cyan:#153440;--green:#42c98b;--red:#f16e78;--shadow:0 20px 60px rgba(0,0,0,.26);--ph-bg:#08131c;--ph-surface:#0f1d27;--ph-soft:#12232f;--ph-line:rgba(151,190,204,.15);--ph-text:#edf5f7;--ph-copy:#b9cbd3;--ph-muted:#8ea5b5;--ph-accent:#65bfd0}html[data-theme="dark"] body{background:radial-gradient(circle at 88% 0,rgba(30,94,111,.25),transparent 31rem),#08131c;color:var(--text)}html[data-theme="dark"] .site-header{background:rgba(8,19,28,.92)!important;border-color:var(--line)!important;box-shadow:0 4px 20px rgba(0,0,0,.16)!important}html[data-theme="dark"] .site-nav a,html[data-theme="dark"] .site-search{color:#91a8b8!important}html[data-theme="dark"] .site-nav a:hover,html[data-theme="dark"] .site-nav a.active{color:#f2f8fa!important}html[data-theme="dark"] .site-search,html[data-theme="dark"] .site-account button,html[data-theme="dark"] .language-toggle{border-color:var(--line)!important;background:rgba(16,31,42,.85)!important;color:#a9beca!important}html[data-theme="dark"] .language-toggle b{background:#173642;color:#83d5e2}html[data-theme="dark"] .glass,html[data-theme="dark"] .card,html[data-theme="dark"] .mining-tool-card{background:var(--surface)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border-color:var(--line)!important;background:#0b1821!important;color:#e8f2f5!important}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#657e8e}html[data-theme="dark"] .data-table th,html[data-theme="dark"] .data-table td,html[data-theme="dark"] .forum-topic,html[data-theme="dark"] .account-list>a,html[data-theme="dark"] .account-recent>a{border-color:var(--line)!important}html[data-theme="dark"] .data-table tr:hover,html[data-theme="dark"] .forum-topic:hover{background:#12232f!important}html[data-theme="dark"] .forum-table-head,html[data-theme="dark"] .forum-replies,html[data-theme="dark"] .tool-spec-grid div,html[data-theme="dark"] .avatar-setting,html[data-theme="dark"] .forum-guideline,html[data-theme="dark"] .coin-detail-kpis article{background:#101f2a!important}html[data-theme="dark"] .account-hero,html[data-theme="dark"] .community-overview,html[data-theme="dark"] .tools-hero{background:linear-gradient(120deg,rgba(15,29,39,.94),rgba(19,48,59,.78))!important}html[data-theme="dark"] .post-body,html[data-theme="dark"] .tool-detail-copy{color:#bfd0d8!important}html[data-theme="dark"] .account-menu button.active,html[data-theme="dark"] .tool-tabs button.active{background:#153642!important;color:#83d4e0!important}html[data-theme="dark"] .tool-tags span,html[data-theme="dark"] .tool-platform,html[data-theme="dark"] .tool-card-controls button{background:#12232f!important;border-color:var(--line)!important;color:#9ab0be!important}html[data-theme="dark"] .tool-download-actions button,html[data-theme="dark"] .tool-download-actions a,html[data-theme="dark"] .detail-actions a,html[data-theme="dark"] .tool-detail-side>button,html[data-theme="dark"] .account-hero-actions button{background:#11232e!important;border-color:var(--line)!important;color:#9fd9e2!important}html[data-theme="dark"] .tool-security-note{background:#221f17!important}html[data-theme="dark"] .notification-popover,html[data-theme="dark"] .account-popover{background:rgba(12,25,34,.98)!important;border-color:var(--line)!important;box-shadow:0 28px 80px rgba(0,0,0,.42)!important}html[data-theme="dark"] .account-popover nav a:hover,html[data-theme="dark"] .account-popover nav button:hover,html[data-theme="dark"] .notification-item:hover{background:#142732!important}html[data-theme="dark"] .account-popover nav i,html[data-theme="dark"] .notification-item>i{background:#173642!important;color:#72cad8!important}html[data-theme="dark"] .theme-options button{background:#101f2a!important;border-color:var(--line)!important;color:#91a8b8!important}html[data-theme="dark"] .theme-options button.active{background:#173a46!important;color:#8cd9e4!important}html[data-theme="dark"] .notification-popover header h3,html[data-theme="dark"] .notification-item,html[data-theme="dark"] .notification-empty b{color:var(--text)!important}html[data-theme="dark"] .notification-item.is-unread{background:#12303a!important}html[data-theme="dark"] .notification-popover>header,html[data-theme="dark"] .notification-popover>footer{border-color:var(--line)!important}html[data-theme="dark"] .monitor-coin-detail{background:rgba(2,9,14,.76)!important}html[data-theme="dark"] .monitor-detail-shell{background:#0d1b24!important}html[data-theme="dark"] .cg-shell,html[data-theme="dark"] .home-coin-modal-card{background:#0d1b24!important;color:var(--text)!important}html[data-theme="dark"] .site-footer{background:#0b1821!important;border-color:var(--line)!important}
@media(max-width:900px){.site-account[data-account-ui="ready"] .theme-quick-toggle{display:none!important}.site-account[data-account-ui="ready"] .account-menu-trigger{min-width:44px!important;width:44px!important;padding:4px!important}.account-trigger-copy,.account-menu-trigger>em{display:none}.account-popover{position:fixed;right:12px;top:64px;width:min(320px,calc(100vw - 24px))}}@media(max-width:560px){.site-account[data-account-ui="ready"] .login-btn{display:flex!important}}

/* Account shell lock: keep the authenticated header the same width on every route. */
.header-inner:has(.site-account[data-account-ui="ready"]){grid-template-columns:160px minmax(0,1fr) 190px 58px 190px!important;gap:10px!important}
.site-account[data-account-ui="ready"] .notification-bell{display:none!important}
.account-trigger-avatar{position:relative!important;overflow:visible!important}
.account-trigger-avatar img,.account-menu-avatar img{border-radius:50%}
.account-trigger-avatar #account-unread-count{position:absolute;right:-4px;top:-5px;display:grid;min-width:16px;height:16px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:10px;background:#db5964;color:#fff;font-size:7px;font-weight:800;line-height:1}
.account-trigger-avatar #account-unread-count[hidden]{display:none!important}
html[data-theme="dark"] .account-trigger-avatar #account-unread-count{border-color:#0b1821}
@media(max-width:1120px){.header-inner:has(.site-account[data-account-ui="ready"]){grid-template-columns:145px minmax(0,1fr) 150px 48px 52px!important}.site-account[data-account-ui="ready"] .account-menu-trigger{min-width:44px!important;width:44px!important;padding:4px!important}.account-trigger-copy,.account-menu-trigger>em{display:none}}
