/* 大表哥的网络帝国：本地品牌层，仅视觉，不改变计费与鉴权。 */
:root{--bg:#08111b;--panel:#101e2bee;--border:#c8d8e51a;--line:#c8d8e51a;--text:#e9eef3;--muted:#a0b1c1;--accent:#e6c489;--gold:#e6c489;--blue:#a8c5dd;--red:#f4a2a4;--empire-deep:#0b1722;--empire-gold-soft:#eedcba;--empire-shadow:0 20px 60px #00000024}
body{background:radial-gradient(ellipse at 12% 2%,#18344860,transparent 43%),radial-gradient(ellipse at 92% 48%,#8f673215,transparent 48%),var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
body:before,body:after{display:none}main{max-width:1240px;padding:28px 32px 56px}nav{padding:0 0 25px;margin-bottom:36px;border-bottom:1px solid var(--border);gap:18px;flex-wrap:wrap}.empire-brand{display:inline-flex;gap:13px;align-items:center;text-decoration:none;color:var(--text);min-width:0}.empire-brand img{width:48px;height:48px;flex-shrink:0;box-shadow:0 8px 25px #00000026;border-radius:14px}.empire-wordmark{display:flex;flex-direction:column;min-width:0}.empire-wordmark strong{font-size:21px;letter-spacing:1px;line-height:1.4;color:#f0e8d9;font-weight:650}.empire-wordmark>span{font-size:11px;letter-spacing:3px;color:#a0b1c1;margin-top:3px}.empire-nav{gap:10px}.empire-nav>a,.navlinks a{font-size:13px}.navlinks a{min-height:44px;display:flex;align-items:center;border-radius:10px;background:#ffffff03}.navlinks a.active{background:#e6c4890b;border-color:#e6c48938;color:#eedcba}#navuser{gap:10px}#username{max-width:220px;overflow-wrap:anywhere;font-size:13px}
h1{font-weight:650;letter-spacing:-1px;background:linear-gradient(120deg,#f3e8d2 10%,#e5c793 75%,#ba975b);background-clip:text;color:transparent}h2{font-weight:600;letter-spacing:.2px}p{color:var(--muted)}.card{background:linear-gradient(145deg,#132333f0,#0e1a26f5);border:1px solid var(--border);border-radius:20px;box-shadow:var(--empire-shadow);backdrop-filter:none}.card h2{font-size:20px}.pill{font-size:11px;border-color:#e6c48926;padding:4px 11px;color:var(--empire-gold-soft);background:#e6c48907}.pill.ok{color:#9fcab9;border-color:#9fcab92b;background:#9fcab907}.pill.warn{color:var(--accent)}.tag{color:#b1becb;letter-spacing:2px}.small{line-height:1.8}.muted{color:var(--muted)}.row{row-gap:10px}label{font-size:12px;color:#b8c5d1;margin:15px 0 7px}
button,.btn{min-height:44px;font-size:14px;font-weight:600;border-radius:10px;line-height:1.5;padding:11px 18px;background:linear-gradient(120deg,#ecd3a4,#d9b476);color:#17212b;box-shadow:0 4px 12px #00000016;transition:background .15s,box-shadow .15s,transform .15s;touch-action:manipulation}button:hover,.btn:hover{box-shadow:0 6px 20px #00000030;filter:brightness(1.06)}button.secondary,.btn.secondary{background:#ffffff04;border-color:#b5c9dc22;box-shadow:none;color:#d9e3ec}button.small,.btn.small{min-height:40px;padding:9px 13px;font-size:12px}button:disabled{cursor:not-allowed;filter:none}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,textarea,select{background:#07111b99;border:1px solid #bbcfdf24;border-radius:9px;min-height:44px;padding:12px;color:var(--text);box-shadow:inset 0 1px 2px #00000014}input:focus,textarea:focus{border-color:#dfc28a80;box-shadow:0 0 0 3px #dfc28a09}input::placeholder,textarea::placeholder{color:#8094a7}input[type=checkbox]{min-height:initial}.tabs{padding:4px;background:#07121dcc;border:1px solid #ffffff0b;border-radius:12px;gap:4px;margin:0 0 24px}.tabs button{border:0;border-radius:8px;font-size:13px;min-height:42px;box-shadow:none}.tabs button.secondary{background:transparent;color:#aabccd}.tabs button.active{background:#e3c797;color:#182532;box-shadow:0 4px 12px #0003}
.auth{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.85fr);gap:80px;align-items:center;max-width:1060px;margin:66px auto 54px}.auth .auth-intro{text-align:left;position:relative;padding:10px 0}.auth-emblem{width:110px;height:110px;margin:0 0 25px;filter:drop-shadow(0 18px 28px #0005)}.auth-eyebrow{font-size:12px;letter-spacing:4px;color:#cfb98f;display:flex;align-items:center;gap:12px;margin-bottom:18px}.auth-eyebrow:before{content:"";height:1px;width:30px;background:#cfb98f80}.auth .auth-intro h1{font-size:clamp(38px,4.5vw,58px);font-weight:650;line-height:1.25;letter-spacing:0;margin:0 0 22px;font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif}.auth-intro h1>span{display:block}.auth-intro .auth-copy{font-size:15px;line-height:2.1;max-width:400px;color:#aebfce;margin-bottom:28px}.auth-signature{display:flex;align-items:center;gap:12px;color:#d8c5a4;font-size:12px;letter-spacing:1px}.auth-signature i{width:5px;height:5px;border-radius:50%;background:#d9bd8c;box-shadow:0 0 9px #d9bd8c40}.auth .auth-card{padding:32px;border-color:#d9c59e24;box-shadow:0 26px 70px #0004;position:relative;margin-bottom:0}.auth-card:before{content:"";position:absolute;top:-1px;left:30px;right:30px;height:1px;background:linear-gradient(90deg,transparent,#d8bd8b90,transparent)}.auth-card-head{margin-bottom:25px}.auth-card-head h2{margin:0 0 5px;font-size:22px}.auth-card-head p{font-size:12px;margin:0;color:#8fa3b6}.auth-card .full{margin-top:24px}.auth-card .error{margin-top:12px}.auth-card .login-footnote{font-size:11px;line-height:1.7;color:#8da2b5;margin:15px 0 0;text-align:center}
#dashboard>.row.between{margin:22px 0 26px}#dashboard h1{font-size:36px;line-height:1.3;margin:8px 0 14px}#dashboard>.row p{font-size:13px;margin-bottom:0}.stats{gap:16px}.stats .card{padding:23px 25px;margin-bottom:12px;position:relative;overflow:hidden}.stat>span{font-size:12px;color:#a4b4c4}.stat strong{font-variant-numeric:tabular-nums;font-size:35px;font-weight:550;letter-spacing:-1px;margin:9px 0 2px;color:#f1eee7}.stat:after{content:"";width:70px;height:70px;border:1px solid #e1c68f10;border-radius:50%;position:absolute;right:-27px;top:-27px}#quotabreakdown{font-size:11px}.bar{height:5px;margin:20px 0;background:#ffffff08}.bar i{background:linear-gradient(90deg,#6e9ea6,#dfc08b)}.link{gap:10px}.link input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.link button{flex-shrink:0}.subscription-qr{margin-top:20px;margin-bottom:26px}.subscription-qr img{box-shadow:0 7px 22px #0002}.list{gap:12px}.node{background:#ffffff02;border-color:#cfdfed13;min-height:70px;padding:16px 18px;transition:border-color .15s}.node:hover{border-color:#d2b6813f}.node .muted{font-size:11px}.node>div:first-child{font-size:14px}.note{background:#e1c68f05;border:1px solid #d4bb8922;border-radius:12px;padding:15px}.admin{margin-top:52px;padding-top:14px;border-top:1px solid var(--border)}.admin>.row h1{font-size:30px}.admin .card{padding:26px}#userlist>details{padding:19px 0}#userlist>details:first-child{border-top:none}summary{padding:7px 0;line-height:1.8;color:#c3d1de}.admin-user-note{color:#d5bc91;font-size:12px;margin:7px 0 0 18px}.userfields{gap:15px}.checklist{gap:11px 17px}.checklist label{display:flex;align-items:flex-start;gap:7px;font-size:12px}.node-edit{padding:17px 0;gap:12px;min-width:760px;grid-template-columns:minmax(260px,1fr) 85px 80px 76px 64px}.node-edit input{padding:10px}.node-edit .nodename{font-size:14px}.node-edit .small{font-size:11px}.node-user-usage{background:#ffffff02;padding:18px;border-color:#cfdfed14}.node-user-usage .small{line-height:2}.user-detail-body .link{margin-bottom:18px}#toast{background:#1b3041f5;color:#e5edf4;box-shadow:0 12px 36px #0005;max-width:min(92%,600px);border-color:#e0c79930;pointer-events:none}.empire-footer{text-align:center;margin:38px 0 0;padding:28px 0 0;border-top:1px solid var(--border);font-size:11px;line-height:2;color:#8d9fad}.empire-footer strong{font-weight:550;font-size:12px;letter-spacing:2px;color:#c3b493}.empire-footer span{display:block;margin-top:3px}
.clients-page .hero{margin:45px auto 42px;max-width:760px}.clients-page .hero h1{font-size:42px;line-height:1.35;font-weight:600;margin:15px 0 20px}.clients-page .hero p{font-size:14px;line-height:1.9}.clients-page .platform{color:#cdb88e;font-size:11px;letter-spacing:3px}.clients-page .grid{gap:18px}.clients-page .card{padding:26px}.clients-page .card h2{font-size:26px;color:#f1eee7}.clients-page .tight{font-size:13px;line-height:1.9;min-height:76px}.clients-page .meta{padding:12px 0;border-top:1px solid #ffffff0b;border-bottom:1px solid #ffffff0b;line-height:1.9;font-size:12px}.clients-page .btn{min-height:46px}.clients-page .note{font-size:12px;line-height:1.9}.clients-page .steps b{font-size:13px;color:#dec69c}.clients-page .hash{color:#9db5c8}.clients-page details{padding-top:14px}.clients-page .source a{font-size:12px}
@media(min-width:1450px){.auth{gap:105px;margin-top:84px;margin-bottom:70px}}
@media(max-width:900px){.auth{gap:35px;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr)}.auth .auth-intro h1{font-size:42px}.clients-page .grid{grid-template-columns:1fr}.clients-page .tight{min-height:0}.empire-wordmark strong{font-size:19px}}
@media(max-width:700px){main{padding:20px 16px 38px}nav{padding-bottom:19px;margin-bottom:23px;gap:16px}.empire-brand{gap:10px}.empire-brand img{width:42px;height:42px}.empire-wordmark strong{font-size:18px;letter-spacing:.5px}.empire-wordmark>span{font-size:10px;letter-spacing:2px}.empire-nav{width:100%;justify-content:flex-end}.empire-nav>a{margin-right:auto}#navuser{gap:7px}#username{max-width:105px}button.small,.btn.small{min-height:44px;padding:10px 12px}.auth{display:block;margin:28px auto 30px;max-width:440px}.auth .auth-intro{text-align:center;padding:0}.auth-emblem{width:80px;height:80px;margin-bottom:19px}.auth-eyebrow{justify-content:center;font-size:10px;letter-spacing:3px;margin-bottom:14px}.auth-eyebrow:after{content:"";width:25px;height:1px;background:#cfb98f60}.auth-eyebrow:before{width:25px}.auth .auth-intro h1{font-size:39px;margin-bottom:15px;line-height:1.3}.auth-intro .auth-copy{font-size:13px;line-height:1.95;margin:0 auto 18px;max-width:310px}.auth-signature{justify-content:center;font-size:11px;margin-bottom:28px}.auth .auth-card{padding:25px 22px}.auth-card-head{margin-bottom:22px}.auth-card-head h2{font-size:21px}.card{padding:22px 20px;border-radius:17px}.stats{gap:8px}.stats .card{padding:16px 12px}.stat strong{font-size:24px;letter-spacing:-.8px}.stat>span{font-size:11px}.stats .stat>span{min-height:34px;display:block}#quotabreakdown{font-size:10px}.stats .stat:after{display:none}#dashboard h1{font-size:31px}.list{grid-template-columns:1fr}.node{padding:14px 15px;min-height:66px}.link{gap:9px}.link input{flex-basis:100%;font-size:11px}.link button{width:100%}.admin .card{padding:21px 18px}.userfields{grid-template-columns:1fr 1fr;gap:10px}.checklist{grid-template-columns:1fr 1fr;gap:11px}.userfields label{font-size:11px}.node-user-usage{padding:15px}.node-user-usage strong{font-size:13px}.empire-footer{margin-top:30px;padding-top:23px}.clients-page .hero{margin:33px 0 27px}.clients-page .hero h1{font-size:32px}.clients-page .hero p{font-size:13px}.clients-page .card{padding:24px 21px}.clients-page .navlinks{width:100%;justify-content:flex-end}.clients-page nav{gap:16px}.clients-page .steps{display:block}.clients-page .tight{min-height:0}.clients-page .card h2{font-size:25px}}
@media(max-width:370px){.empire-wordmark strong{font-size:17px}.stats .card{padding:14px 9px}.stat strong{font-size:21px}.auth .auth-intro h1{font-size:35px}.auth .auth-card{padding:23px 18px}.userfields{grid-template-columns:1fr}.checklist{grid-template-columns:1fr}}

.region-heading{grid-column:1/-1;display:flex;align-items:center;gap:14px;margin:12px 0 2px;color:#dec89f;font-size:12px;letter-spacing:2px;font-weight:550;min-height:28px}.region-heading:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,#d4bb8928,transparent)}.checklist .region-heading{margin:10px 0 0;font-size:11px;letter-spacing:1px}.list>.region-heading:first-child{margin-top:0}#adminnodes>.region-heading{margin-top:20px;margin-bottom:2px;max-width:100%}
/* 收尾：缩短移动首屏路径、保持页脚落点及平台卡片节奏。 */
main{min-height:100vh;display:flex;flex-direction:column}main>nav{width:100%;flex-shrink:0}.auth{width:100%}.empire-footer{margin-top:auto;padding-top:25px}.auth .auth-intro{align-self:center}.tabs button.secondary{color:#b9c8d6}.clients-page .grid{align-items:stretch;margin-bottom:24px}.clients-page .grid>.card{margin-bottom:0}.clients-page .hero{flex-shrink:0}.clients-page .empire-footer{margin-top:10px}
@media(max-width:700px){.auth{margin:22px auto 28px}.auth-emblem{display:none}.auth-eyebrow{margin-bottom:11px}.auth .auth-intro h1{font-size:31px;margin-bottom:13px;letter-spacing:0}.auth-intro h1>span{display:inline}.auth-intro .auth-copy{font-size:12px;line-height:1.9;max-width:320px;margin-bottom:15px}.auth-signature{margin-bottom:23px;font-size:10px}.auth .auth-card{padding:24px 21px}.auth-card-head{margin-bottom:20px}.auth-card-head h2{font-size:20px}.empire-footer{padding-top:20px}.clients-page .grid>.card{margin-bottom:0}.clients-page .empire-footer{margin-top:20px}}
@media(max-width:370px){.auth .auth-intro h1{font-size:28px}}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
