/* 一号站蓝紫星空试版，替代黑金样式。 */
.astral-page{--bg:#0d1528;--ink:#eff5ff;--muted:#b0bcd3;--line:#495975;--accent:#78c9f8;--accent-soft:#26385b;--white:#202d46;--green:#078675;color-scheme:dark;background:#0d1528;min-height:100vh;isolation:isolate}
.astral-page:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:url('/static/blue-stars.svg?v=20'),radial-gradient(ellipse at 20% 70%,#365fa053,transparent 45%),radial-gradient(ellipse at 90% 85%,#6a45a85c,transparent 49%),radial-gradient(ellipse at 50% 3%,#25466a70,transparent 47%),linear-gradient(145deg,#0b1222,#121e38 60%,#171b37);background-size:1200px 800px,100% 100%,100% 100%,100% 100%,100% 100%}
.astral-page .topbar{height:72px;gap:32px;position:relative;padding:0 max(28px,calc((100vw - 1224px)/2));border-bottom:1px solid #789bc02e;background:linear-gradient(105deg,#1c283cf5,#26364df5 58%,#1c263bf5);box-shadow:0 5px 18px #0003}
.astral-page .brand{color:#f8faff;font-size:24px;gap:10px;letter-spacing:.6px}.astral-page .brand-light{font-weight:700}.astral-page .brand img{width:36px;height:36px}.astral-page .brand small{font-size:8px;letter-spacing:1.4px;color:#c3d0e3}
.astral-page .topbar nav{gap:20px}.astral-page .nav-active{height:100%;color:#68d3c8;font-weight:750;font-size:14px}.astral-page .nav-active:after{display:none}
.astral-page .top-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.astral-page .overview-return,.astral-page .header-reset{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:32px;padding:0 14px;border:1px solid #a5b8d0;border-radius:18px;background:#121c2d55;color:#e9f1ff;font-size:12px;font-weight:500;white-space:nowrap}
.astral-page .overview-return:hover,.astral-page .header-reset:hover{background:#344863;border-color:#d3eeff;color:white}.astral-page .service-status{display:none}
.astral-page .wrap{max-width:1280px;padding:0 28px}.astral-page .filters{margin-top:20px;border:0;padding:0;background:none;box-shadow:none}.astral-page .filter-top{display:none}
.astral-page #search-form{padding:13px 17px;background:linear-gradient(120deg,#fbfcff,#e8edf6);border:1px solid #e7f1ff;border-radius:9px;box-shadow:inset 0 0 0 2px #fff8,0 3px 16px #0002;color:#25334a}
.astral-page .search-fields{grid-template-columns:235px minmax(0,1fr) 145px;gap:20px;align-items:center}
.astral-page .search-fields label{flex-direction:row;align-items:center;gap:10px;white-space:nowrap;color:#304158;font-size:13px;font-weight:600}.astral-page .search-fields select,.astral-page .search-fields input{height:39px}
.astral-page input,.astral-page select{border-color:#bdc7d8;border-radius:5px;background:#f8faff;color:#25354c;color-scheme:light}.astral-page input::placeholder{color:#74839b;opacity:1}.astral-page input:focus,.astral-page select:focus{outline:2px solid #7ec6ff44;border-color:#719dcc}
.astral-page .input-action{min-width:0;flex:1;border:1px solid #bdc7d8;border-radius:5px;box-shadow:inset 0 1px 4px #71809b0c}.astral-page .input-action input{background:#f5f8fd}.astral-page .input-action select{background:#ecf2fa;color:#425675;border-left:1px solid #cad2df;width:80px}
.astral-page .primary{border:1px solid #7aa9ec;border-radius:24px;background:linear-gradient(#173c79,#3267ac);color:#fff;font-weight:700;box-shadow:inset 0 0 0 2px #8ac3ff30,0 1px 7px #255f9840}.astral-page .primary:hover{background:linear-gradient(#235693,#427fc4)}.astral-page .search-button{height:39px;padding:6px 12px}.astral-page .search-button span{font-size:18px}
.astral-page .role-section{margin-top:18px;padding:0;border:0}.astral-page .role-heading{padding:0 2px 11px;gap:12px;margin-bottom:12px;border-bottom:1px solid #60769750}.astral-page .role-heading h3{font-size:16px;color:#f0f5ff;letter-spacing:.4px}.astral-page .role-heading p{color:#a6b6d1;font-size:10px}.astral-page .pill{border:1px solid #758bad66;background:#273b58;color:#d8e7ff;font-size:10px}
.astral-page .sort-buttons{padding:3px;border:1px solid #617ba1;border-radius:6px;background:#1b2a43}.astral-page .sort-buttons button{padding:7px 10px;border-radius:4px;font-size:11px;color:#c2d4ee}.astral-page .sort-buttons button:hover{background:#334b70;color:#fff}.astral-page .sort-buttons button.active{background:linear-gradient(#3c70a7,#2a5487);color:#f5fbff;box-shadow:inset 0 0 0 1px #a7dfff70,0 0 8px #63adff2b}
.astral-page .role-tools .hero-search{background:#1b2a43;border:1px solid #617ba1;height:35px;color:#e9f1fd;color-scheme:dark}.astral-page .role-tools .hero-search::placeholder{color:#b5c6e0}
.astral-page #expand-heroes{padding:8px 12px;font-size:12px;border:1px solid #b79ce7;border-radius:6px;background:linear-gradient(115deg,#4a4888,#76559d);color:#faf3ff;box-shadow:inset 0 0 0 2px #c3bcff1b,0 0 8px #987de02e}
.astral-page .hero-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px 24px;padding:3px 12px 6px;max-height:none;overflow:visible}
.astral-page .hero-tile{min-width:0;align-self:start;padding:3px;border:1px solid #aa8cda;border-radius:7px;background:linear-gradient(145deg,#665795a6,#41345fdd);box-shadow:inset 0 0 0 2px #b5a3e03d,0 0 6px #b77de128,0 3px 7px #0004;transition:transform .15s,box-shadow .15s,border-color .15s}
.astral-page .hero-image{border:1px solid #b6ace3b0;border-radius:4px;background:#38455f;aspect-ratio:1;overflow:hidden}.astral-page .hero-image img{filter:saturate(1.02)}
.astral-page .hero-name{height:30px;margin:0;padding:4px 1px 0;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.35;font-size:11px;color:#f3efff;text-shadow:0 1px 3px #0008}
.astral-page .hero-tile.active{background:linear-gradient(140deg,#446e96,#28446d);border-color:#b2eaff;box-shadow:inset 0 0 0 2px #b5eaff65,0 0 0 1px #69caff70,0 0 15px #6dcbff80}
.astral-page .hero-tile.active .hero-image{border-color:#b9f2ff;box-shadow:inset 0 0 7px #8ce3ff80}.astral-page .hero-tile.active .hero-name{color:white}
.astral-page .hero-selected-qty{background:linear-gradient(#4d88be,#24527d);border:1px solid #b3e9ff;border-bottom:0;border-right:0;color:#fff;border-radius:4px 0 0 0;font-size:11px;min-width:23px;padding:0 5px}
.astral-page .selection-tray{display:flex;align-items:center;gap:17px;margin-top:13px;padding:11px 15px;border:1px solid #7c86aa77;border-radius:9px;background:linear-gradient(115deg,#28364bda,#303448d9);box-shadow:inset 0 0 0 2px #bcc8ec08,0 4px 15px #0002}
.astral-page .selection-heading{flex:none;color:#edf3ff;font-weight:700;font-size:13px}.astral-page .selected-heroes{padding:0;min-height:33px;gap:9px;flex:1}.astral-page .selection-hint{font-size:11px;color:#b7c7e0}
.astral-page .selection-tag{border:1px solid #7eacd8;background:linear-gradient(130deg,#3d5f87,#243b60);padding:4px 24px 4px 4px;border-radius:6px;box-shadow:inset 0 0 0 2px #8fc6ff21,0 0 8px #7cc9ff28;gap:7px;color:#e9f5ff}
.astral-page .selection-name{color:#e9f3ff;font-size:11px}.astral-page .selected-portrait,.astral-page .selected-portrait img,.astral-page .selection-tag .selected-add{width:36px}.astral-page .selected-portrait img,.astral-page .selection-tag .selected-add{height:36px;border-radius:3px}.astral-page .selected-portrait img{border:1px solid #a1d7ed}
.astral-page .selection-controls{gap:6px}.astral-page .selection-controls button{color:#f0f9ff;background:#385882;height:19px;width:21px;font-size:14px}.astral-page .selection-controls b{color:#d7eeff}.astral-page .selection-tag .selection-remove{background:#3f5a7f;color:#eef9ff;top:3px;right:3px;font-size:14px}
.astral-page .selection-tag .selected-qty{border-color:#b9ecff;background:#28628f;color:#fff;font-size:10px;height:18px;line-height:16px;min-width:21px;right:-3px;bottom:-3px}
.astral-page .results{padding-top:20px}.astral-page .results-heading{padding:0 2px 10px;margin-bottom:15px;border-bottom:1px solid #6c83a657}.astral-page h2{font-size:17px;color:#f1f6ff}.astral-page .section-index{display:none}.astral-page .muted{color:#bfcee4}
.astral-page #results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}
.astral-page .account-card{margin:0;min-width:0;padding:14px 16px;display:flex;flex-direction:column;border:1px solid #ccdcf6;border-radius:9px;background:linear-gradient(120deg,#fff,#eaf0fa);color:#263850;box-shadow:inset 0 0 0 3px #fff8,0 0 0 2px #8bc7ff29,0 0 17px #75b5e647,0 7px 15px #0003;contain-intrinsic-size:auto 270px}
.astral-page .account-card:nth-child(even){border-color:#d5c6f0;box-shadow:inset 0 0 0 3px #fff8,0 0 0 2px #bc9aec30,0 0 17px #b58cf34d,0 7px 15px #0003}
.astral-page .account-top{order:0;gap:6px;margin-bottom:7px}.astral-page .account-code{width:100%;font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:15px;font-weight:800;line-height:1.5;letter-spacing:.2px;color:#202c43;overflow-wrap:anywhere}
.astral-page .region-badge{border:1px solid #b5a2ce;border-radius:3px;padding:1px 7px;background:linear-gradient(100deg,#eee4fa,#e4eefb);font-size:10px;color:#513677;font-weight:600;line-height:1.5}
.astral-page .account-meta{font-size:11px;color:#087f78;font-weight:600;white-space:normal;margin-left:2px}
.astral-page .account-bottom{order:1;border:0;margin:0 0 11px;padding:0;font-size:10px;color:#5b687d;gap:8px;align-items:center}.astral-page .account-bottom>span{line-height:1.5}
.astral-page .copy-btn{border:1px solid #5a76c6;border-radius:20px;padding:6px 16px;background:linear-gradient(#1a3873,#3863ad);color:white;font-size:11px;font-weight:650;box-shadow:inset 0 0 0 2px #b7d7ff99,0 0 7px #8ba0dc55;white-space:nowrap}
.astral-page .account-heroes{order:2;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px 7px;padding-top:11px;border-top:1px solid #cad7e4}
.astral-page .mini-hero{width:auto;min-width:0;padding:4px;border:1px solid #a2a7d0;border-radius:5px;background:linear-gradient(130deg,#eef6ff,#dde2f5);align-self:start}.astral-page .mini-hero img{width:100%;height:auto;aspect-ratio:1;border:0;border-radius:3px;box-shadow:0 0 0 1px #9eb5d2}
.astral-page .mini-hero span{font-size:9px;height:26px;line-height:1.35;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#3a4b67;margin:3px 0 0}.astral-page .mini-hero small{z-index:1;border:1px solid #c0e4fa;background:#38658d;color:#fff;font-size:9px;right:-3px;top:-4px;font-weight:700}
.astral-page .account-heroes>.muted{color:#61718b}.astral-page .secondary{border:1px solid #a6c7ec;background:linear-gradient(#294d7b,#173558);border-radius:20px;color:#edf7ff;padding:9px 20px}.astral-page .secondary:hover{background:#3a6293;color:white;border-color:#d7efff}
.astral-page .empty-state{grid-column:1/-1;border:1px solid #afb9d1;border-radius:9px;background:linear-gradient(120deg,#f5f8ff,#e5ecf7);color:#354963;box-shadow:0 0 14px #91aee02b}.astral-page .empty-art{background:#dbe5f5;border:1px solid #a8bddc;color:#426da3;border-radius:10px}.astral-page .empty-state h3{color:#30486d}.astral-page .empty-state p{color:#647790}
.astral-page .error-box{background:#fff1f0;color:#9b3838;border-color:#dca9ad}.astral-page .loading{background:linear-gradient(90deg,#dbe4f2,#f6f8fd,#dbe4f2);background-size:200% 100%;border:1px solid #b5c6e0}
.astral-page footer{border-color:#7991b340;color:#9baec9;margin-top:27px}.astral-page .footer-brand{color:#c1d5ef}.astral-page .toast{background:#253c5e;border:1px solid #abd7f8;color:#f4faff;box-shadow:0 6px 18px #0005}
.astral-page button:focus-visible,.astral-page a:focus-visible{outline:2px solid #a8e6ff;outline-offset:3px}
@media(hover:hover){.astral-page .hero-tile:hover{transform:translateY(-2px);border-color:#c5eaff;box-shadow:inset 0 0 0 2px #a9dbff66,0 0 17px #86c8ff80}.astral-page .hero-tile:hover .hero-image{border-color:#c2edff}.astral-page .account-card:hover{border-color:#75b3e4}.astral-page .copy-btn:hover{background:linear-gradient(#245195,#4884c7)}}
@media(min-width:701px){.astral-page .role-section:has(#expand-heroes[aria-expanded="false"]):has(#hero-search:placeholder-shown) .hero-tile:nth-child(n+17){display:none}}
@media(min-width:701px) and (max-width:1100px){.astral-page .wrap{padding:0 20px}.astral-page .topbar{gap:20px;padding:0 20px}.astral-page .brand{font-size:21px}.astral-page .brand small{font-size:7px}.astral-page .search-fields{grid-template-columns:175px minmax(0,1fr) 115px;gap:10px}.astral-page .search-fields label{font-size:11px;gap:6px}.astral-page #search-form{padding:12px}.astral-page .role-heading{flex-wrap:wrap}.astral-page .role-heading>div:first-child{width:100%}.astral-page .role-tools{margin-left:0;margin-right:auto}.astral-page .hero-grid{gap:12px;padding:3px 4px 6px}.astral-page .hero-name{font-size:10px}.astral-page .account-heroes{grid-template-columns:repeat(6,minmax(0,1fr))}.astral-page .selection-tray{gap:12px}.astral-page .selection-heading{font-size:12px}.astral-page .top-actions{gap:7px}.astral-page .overview-return,.astral-page .header-reset{font-size:11px;padding:0 9px}}
@media(max-width:700px){
 .astral-page.customer-page{background:#101a2d;padding-bottom:calc(var(--mobile-dock-height,66px + env(safe-area-inset-bottom)) + 12px)}.astral-page:before{background-size:750px 600px,100% 100%,100% 100%,100% 100%,100% 100%}
 .astral-page .topbar{height:46px;padding:0 10px;gap:7px}.astral-page .brand{font-size:16px;gap:6px;letter-spacing:0}.astral-page .brand img{width:26px;height:26px}.astral-page .topbar nav{display:none}.astral-page .top-actions{gap:6px}
 .astral-page .overview-return,.astral-page .header-reset{height:28px;font-size:10px;padding:0 7px;gap:3px}.astral-page .overview-return span{display:none}
 .astral-page .wrap{padding:0 10px}.astral-page .filters{margin-top:12px;padding:0;background:transparent;border:0;box-shadow:none}.astral-page #search-form{padding:6px;border-radius:7px}.astral-page .search-fields{display:block}.astral-page .search-fields .keyword-label{font-size:0;display:block}.astral-page .input-action{width:100%;border-color:#bcc9dc}.astral-page .input-action input{height:37px;font-size:13px}.astral-page .input-action select{height:37px;font-size:11px;width:70px}
 .astral-page .role-section{margin-top:11px;padding-top:0}.astral-page .role-heading{border:0;padding:0;margin-bottom:11px;gap:7px}.astral-page .role-tools{gap:7px}.astral-page .role-tools .hero-search{height:34px;font-size:10px;padding:5px 7px}.astral-page .role-tools .sort-buttons{padding:2px;gap:0}.astral-page .role-tools .sort-buttons button{min-height:28px;padding:5px 3px;font-size:11px}.astral-page #expand-heroes{min-height:36px;padding:7px 10px;font-size:12px}
 .astral-page .hero-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 7px;padding:1px}.astral-page .hero-tile{padding:3px;border-radius:5px}.astral-page .hero-image{border-radius:3px}.astral-page .hero-name{height:29px;padding:3px 1px 0;font-size:10px;line-height:1.3}.astral-page .hero-selected-qty{font-size:10px;min-width:20px;padding:0 4px;line-height:1.4}
 .astral-page .selection-tray{display:none}
 .astral-page .mobile-searchbar{background:linear-gradient(115deg,#1b2e48fa,#303650fc);border-top:1px solid #8bacd4;box-shadow:0 -3px 17px #0005;padding-top:8px}.astral-page .mobile-searchbar select{height:44px;padding:7px;background:#eff4fc;color:#334967;border:1px solid #b6c7df;font-size:11px;border-radius:6px}.astral-page .mobile-searchbar .search-button{height:44px;padding:0 10px;font-size:13px;border-radius:22px}
 .astral-page .mobile-searchbar #mobile-selected{color:#dcf0ff;font-size:11px}.astral-page .mobile-selection-summary .text-button{color:#b6d7ed}.astral-page .mobile-selection-panel .selected-heroes{gap:6px;padding:3px 0 2px}.astral-page .mobile-selection-panel .selection-tag{padding:0;border:0;background:none;box-shadow:none;border-radius:0}.astral-page .mobile-selection-panel .selected-portrait,.astral-page .mobile-selection-panel .selected-portrait img,.astral-page .mobile-selection-panel .selected-add{width:42px}.astral-page .mobile-selection-panel .selected-portrait img,.astral-page .mobile-selection-panel .selected-add{height:42px}.astral-page .mobile-selection-panel .selection-name{color:#e0eeff;font-size:9px;height:12px;line-height:12px}.astral-page .mobile-selection-panel .selection-remove{background:#42688e;border-color:#c4eaff;color:#fff}.astral-page .mobile-selection-panel .selected-qty{background:#27668e;border-color:#b7eaff;color:white}
 .astral-page .results{padding-top:21px}.astral-page .results-heading{padding:0 0 8px;margin-bottom:13px}.astral-page .results h2{font-size:15px}.astral-page .results-heading .muted{font-size:10px;padding-left:0;color:#b8cbe4}.astral-page #results{grid-template-columns:minmax(0,1fr);gap:14px}
 .astral-page .account-card{padding:12px;border-radius:7px}.astral-page .account-code{font-size:14px;line-height:1.5}.astral-page .account-meta{font-size:10px}.astral-page .region-badge{font-size:9px}.astral-page .account-bottom{font-size:9px;gap:5px;margin-bottom:10px}.astral-page .copy-btn{font-size:10px;padding:6px 12px}
 .astral-page .account-heroes{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 7px;margin:0 -12px;padding-top:10px;border-top-color:#bdcce044}.astral-page .mini-hero{padding:4px;border-radius:4px}.astral-page .mini-hero span{height:29px;margin:0;padding:3px 1px 0;line-height:1.3;font-size:10px}
 .astral-page footer{padding:18px 0;margin-top:22px;font-size:10px}
}
@media(max-width:340px){.astral-page .hero-grid,.astral-page .account-heroes{grid-template-columns:repeat(5,minmax(0,1fr))}.astral-page .overview-return,.astral-page .header-reset{font-size:9px;padding:0 6px}.astral-page .account-card{padding:12px}}
@media(prefers-reduced-motion:reduce){.astral-page .hero-tile{transition:none}.astral-page .hero-tile:hover{transform:none}}
