/* Shared release refinements for all three language editions. */
html .nav-user-center{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;padding:8px 15px;font-size:14px;font-weight:600;color:#215ce8;background:#eef4ff;border:1px solid #cdddf8;border-radius:8px;white-space:nowrap}
html .nav-user-center:hover{background:#e3edff;border-color:#7fa5ee}
html .site-header .nav-user-center[hidden]{display:none}
html .android-install-guide{margin:30px 0;padding:25px 28px;background:#f4f7fd;border:1px solid #dfe7f4;border-radius:14px}
html .android-install-guide h3{font-size:21px;margin:0 0 17px}
html .android-install-guide ol{margin:0;padding-left:24px;display:grid;gap:13px;font-size:16px;line-height:1.85}
html .android-install-guide>p{margin-top:16px;margin-bottom:0}
html .download-android-spec{min-width:0}
html .download-android-spec .android-install-guide{height:100%;margin:0;background:#fff;padding:30px;border-color:#dce5f5}
html .download-android-spec .android-install-guide h3{font-size:23px;margin:0 0 23px}
html .download-android-spec .android-install-guide ol{gap:20px;color:#31425e}
html .native-connection-note{padding:14px 17px;border-radius:9px;background:#eaf1ff;color:#254f93!important;font-size:14px!important}
@media(max-width:700px){html .download-android-spec .android-install-guide{padding:23px 20px}html .download-android-spec .android-install-guide h3{font-size:21px}}
html .subscription-client-help{padding:22px 26px;margin:22px 0;border-radius:12px;background:#f3f7ff;border:1px solid #dfe8f7;font-size:16px;line-height:1.9}
html .subscription-client-help p{margin:0 0 8px}
html .account-device-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
html .account-device{padding:31px 27px;border-radius:22px}
html .account-device .panel-label{font-size:13px;letter-spacing:1.4px}
html .account-device h3{font-size:29px;margin-top:28px;margin-bottom:8px}
html .account-device .device-support{font-size:16px;margin-bottom:25px;line-height:1.7}
html .account-device>p:not(.device-support){font-size:16px;line-height:1.8;margin-bottom:27px;min-height:57px}
html .device-methods,html .account-device[data-account-device="ios"] .device-methods{grid-template-columns:1fr;gap:15px}
html .device-method{min-height:92px;gap:14px;padding:16px 18px;border:1px solid #dfe6f1;border-radius:14px;font-size:16px;line-height:1.55;color:#152541;background:#fff}
html .device-method.recommended{background:linear-gradient(115deg,#eef4ff,#f5f8ff);border-color:#5889ff;color:#102957}
html .device-method:hover{border-color:#7b9fea;box-shadow:0 6px 18px #16479209}
html .device-method .method-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:50%;background:#f0f5fd;color:#1b2e4e}
html .device-method .method-icon-primary{border-radius:14px;color:#fff;background:#215cf4}
html .method-svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html .method-svg.apple,html .method-svg.windows{fill:currentColor;stroke:none}
html .device-method .method-body{min-width:0;flex:1;display:flex;align-items:center;flex-wrap:wrap;gap:7px 11px}
html .device-method .method-badge{display:inline-flex;align-items:center;flex-shrink:0;padding:3px 9px;color:#fff;background:#215cf4;border-radius:8px;font-size:13px;font-weight:600;line-height:1.7}
html .method-label{min-width:0;font-weight:550;overflow-wrap:anywhere}
html .device-method .method-arrow{flex:0 0 20px;font-size:25px;line-height:1;color:#152541}
html .device-method.recommended .method-arrow{color:#2160ef}
@media(max-width:1300px){html .nav-wrap{gap:14px}html .desktop-nav{gap:14px}html .nav-actions{gap:10px}html .account-device{padding:27px 22px}html .device-method{padding:14px 12px;gap:10px}html .device-method .method-icon{width:44px;height:44px;flex-basis:44px}}
@media(max-width:1000px){html .account-device-grid{grid-template-columns:1fr}html .account-device>p:not(.device-support){min-height:0}html .account-device{padding:28px}html .device-method{padding:16px 19px}}
@media(max-width:620px){html .brand-vpn{display:none}html .nav-wrap{gap:7px}html .nav-actions{gap:6px}html .nav-user-center{min-height:44px;padding:8px 10px;font-size:14px}html .language-switch select{width:94px;font-size:13px;padding-left:7px}html .account-device{padding:25px 20px}html .account-device h3{margin-top:19px;font-size:27px}html .account-device .device-support{font-size:15px;margin-bottom:20px}html .account-device>p:not(.device-support){font-size:15px;margin-bottom:22px}html .device-method{min-height:84px;padding:14px 12px;gap:10px;font-size:16px}html .method-label{font-size:15px}html .android-install-guide{padding:22px 19px}html .subscription-client-help{padding:20px}}
@media(max-width:380px){html .nav-wrap{gap:4px}html .brand{font-size:20px;gap:4px}html .brand-mark{width:25px;height:28px;font-size:22px}html .nav-actions{gap:4px}html .language-switch select{width:86px;font-size:12px;padding:8px 12px 8px 5px}html .nav-user-center{padding:8px;font-size:13px}html .device-method .method-icon{width:40px;height:40px;flex-basis:40px}html .device-method{gap:8px}html .device-method .method-arrow{flex-basis:16px;font-size:22px}html .device-method .method-body{gap:6px}}

html .compact-plan-daily{display:block;font-size:15px;line-height:1.6;color:#36639a;margin:8px 0 0}

html .purchase-panel-simple{max-width:none;margin-top:25px;padding:25px 30px}
html .purchase-panel-simple .purchase-summary{gap:25px}
html .purchase-panel-simple h3{margin:7px 0;font-size:23px}
html .purchase-panel-simple .small-note{margin:0}
html .purchase-action{display:flex;align-items:center;gap:28px;flex-shrink:0}
html .purchase-total-label{font-size:14px;line-height:1.7;color:#64748b}
html .purchase-total-label strong{display:block;line-height:1.3;font-size:33px;color:#098548}
html .purchase-action>.button{min-height:52px;min-width:160px;justify-content:center}
html .purchase-terms{font-size:14px;line-height:1.9;color:#788499;margin:20px 0 0}
html .purchase-terms a{color:#43628f;text-decoration:underline;text-underline-offset:3px}
html .plan-daily-note{margin:17px 0 0}
html .mobile-selected-plan{display:none}
html .payment-dialog{max-width:500px;max-height:calc(100dvh - 32px);overflow-y:auto}
html .payment-state{display:inline-flex;padding:5px 12px;border-radius:7px;background:#eef4ff;color:#215ce8;font-size:14px;line-height:1.8;margin:8px 0 15px}
html .payment-state.paid{color:#087b42;background:#e4f8ec}
html #payment-plan{font-size:21px;margin:0 0 10px}
html .payment-amount{display:block;font-size:42px;line-height:1.35;color:#098548;font-weight:650}
html .payment-details{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;font-size:14px;line-height:1.9;padding:20px 0;margin:20px 0;border-top:1px solid #e5eaf1;border-bottom:1px solid #e5eaf1}
html .payment-details dt{color:#728098}
html .payment-details dd{margin:0;overflow-wrap:anywhere}
html .payment-dialog .payment-note{font-size:15px;line-height:1.9;margin:0 0 22px}
html .payment-actions{display:grid;gap:12px}
@media(max-width:850px){html .purchase-panel-simple .purchase-summary{align-items:flex-start;flex-direction:column}html .purchase-action{justify-content:space-between;width:100%}}
@media(max-width:620px){html body[data-page="packages.html"]{padding-bottom:112px}html .purchase-panel-simple{padding:22px}html .purchase-action{position:fixed;left:0;right:0;bottom:0;z-index:25;width:100%;padding:13px 20px calc(13px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e1e8f4;box-shadow:0 -6px 25px #1233650a;gap:15px}html .purchase-total-label{font-size:12px;line-height:1.5}html .purchase-total-label strong{display:inline;margin-left:8px;font-size:27px}html .mobile-selected-plan{display:block;font-size:14px;color:#263b5b;margin-bottom:2px}html .purchase-action>.button{min-width:133px;min-height:48px;padding:12px 16px;font-size:16px}html .payment-dialog .dialog-body{padding:25px 23px}html .purchase-panel-simple #purchase-status:not(:empty){position:fixed;bottom:100px;left:20px;right:20px;padding:10px 15px;background:#fff;border:1px solid #e0e8f5;border-radius:9px;z-index:26}}

.nav-account-short{display:none}
@media(max-width:620px){html[lang="en"] .nav-user-center .nav-account-full{display:none}html[lang="en"] .nav-user-center .nav-account-short{display:inline}html .purchase-total-label{min-width:0;flex:1}html .purchase-action>.button{flex:0 0 auto;max-width:50%}html[lang="en"] .purchase-action>.button{font-size:14px;min-width:124px;padding:12px}html[lang="en"] .mobile-selected-plan{font-size:13px}html[lang="en"] body[data-page="packages.html"]{padding-bottom:140px}}

/* 站内信沿用账户页卡片、间距和键盘焦点样式。 */
.message-card{display:block;text-align:left;width:100%;padding:22px;margin:14px 0;background:#fff;border:1px solid #dfe6f2;border-radius:16px;color:#142039}.message-card.unread{border-left:4px solid #215ce8}.message-card strong{display:block;font-size:18px;overflow-wrap:anywhere}.message-card>span{display:block;font-size:13px;color:#657087;margin-top:8px}.message-card p{margin:12px 0 0;overflow-wrap:anywhere}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}#message-dialog{max-width:680px;width:calc(100% - 28px);max-height:calc(100dvh - 28px);overflow:auto}#message-title{overflow-wrap:anywhere}#message-dialog .dialog-heading{align-items:flex-start}#message-dialog [data-close-dialog]{flex-shrink:0;min-width:44px;min-height:44px}
@media(max-width:380px){html[lang="en"] .nav-user-center{font-size:11px;padding:8px 5px}html[lang="en"] .language-switch select{width:72px}}

/* 登录后的消息铃铛：数字仅表示服务端未读总数。 */
html .site-header .nav-user-center.notification-link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:10px;border:0;background:transparent;color:#142039;border-radius:10px}
html .notification-link>svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html .notification-link:hover{background:#edf4ff}
html .notification-count{position:absolute;right:-3px;top:0;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:12px;background:#ed354e;color:#fff;font-size:10px;font-weight:700;line-height:15px}
html .notification-count[hidden]{display:none}
html .account-menu .account-chevron{width:15px;height:15px;margin-left:6px}
html .notification-link:focus-visible,html .account-quick-link:focus-visible{outline:3px solid #215cf4;outline-offset:3px}

/* 用户中心布局与其他内页隔离，保留原有功能入口和弹窗。 */
body[data-page="account.html"]{background:#fff}
body[data-page="account.html"] main{background:linear-gradient(120deg,#f5faff,#f9fcff 55%,#f1f8ff)}
body[data-page="account.html"] .site-footer{background:#fff}
html body[data-page="account.html"] .nav-wrap{height:70px}
html body[data-page="account.html"] .page-heading{padding-top:24px;padding-bottom:16px}
html body[data-page="account.html"] .page-heading h1{font-size:30px;font-weight:700;line-height:1.3;margin:0 0 7px;letter-spacing:0}
html body[data-page="account.html"] .page-heading>p{display:block;font-size:14px;line-height:1.7;max-width:none}
html body[data-page="account.html"] .page-body{padding-bottom:44px}
html .account-card{position:relative;isolation:isolate;overflow:hidden;padding:20px 36px 25px;border-radius:16px;background:linear-gradient(115deg,#0561ed 0%,#2985fa 57%,#65b0fa 100%);box-shadow:0 12px 30px #186bc015}
html .account-card:after{content:"";position:absolute;z-index:-1;pointer-events:none;width:650px;height:360px;right:-190px;bottom:-240px;transform:rotate(-20deg);border-radius:45%;background:#e2f4ff18;box-shadow:-230px -30px 0 #044ddc0d}
html .account-crown{position:absolute;z-index:-1;pointer-events:none;width:190px;height:180px;right:28%;top:36px;color:#d5eeff;opacity:.25;transform:rotate(-15deg)}
html .account-card-top{margin-bottom:8px;min-height:25px;font-size:13px}
html .account-state{display:inline-flex;gap:6px;align-items:center}
html .account-state i{width:9px;height:9px;background:#f9d77c;border-radius:50%;margin-right:4px}
html .account-card[data-status="1"] .account-state i{background:#52e6ad}
html .account-card[data-status="3"] .account-state i{background:#ff9da9}
html .account-card .text-button{font-size:12px;color:#ecf6ff;padding:6px 0}
html .account-card-body{grid-template-columns:minmax(0,1fr) 205px;gap:32px}
html .account-card h2.account-greeting{display:flex;flex-wrap:wrap;gap:0 5px;font-size:25px;font-weight:650;line-height:1.5}
html .account-greeting #account-email{min-width:0;overflow-wrap:anywhere}
html .account-member{display:flex;gap:9px;align-items:center;margin:4px 0;font-size:16px}
html .account-member svg{width:23px;height:23px;fill:#ffdf65;flex-shrink:0}
html .account-tagline{font-size:13px;color:#e0f0ff;margin:6px 0 14px;line-height:1.7}
html .account-usage{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(225px,1.2fr);gap:26px;max-width:620px}
html .account-usage>div+div{border-left:1px solid #c4e3ff70;padding-left:32px}
html .account-usage span,html .account-usage small{font-size:13px;line-height:1.6;color:#e0efff}
html .account-usage strong{font-size:21px;line-height:1.5;margin:2px 0;font-variant-numeric:tabular-nums}
html .account-card-actions{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}
html .account-card-actions .button{min-height:46px;padding:10px 14px;gap:10px;font-size:14px;border-radius:9px;justify-content:center}
html .account-card-actions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
html .account-card-actions .button:first-child>span:first-child{font-size:24px;line-height:1}
html .account-devices{margin:25px 0 14px;padding:0}
html .account-devices .section-heading,html .account-quick .section-heading{display:flex;align-items:baseline;justify-content:flex-start;gap:18px;margin:0 0 12px}
html .account-devices .section-heading h2{font-size:24px;line-height:1.4;margin:0;letter-spacing:0;font-weight:650}
html .account-devices .section-heading p,html .account-quick .section-heading p{font-size:13px;color:#65738b;line-height:1.6;margin:0}
html .account-device-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html .account-device{padding:17px 16px 16px;border-radius:12px;border:1px solid #e7eef6;box-shadow:0 4px 15px #173e681f;background:#fff}
html .account-device .panel-label{font-size:10px;letter-spacing:.35px;color:#0860c9}
html .device-platform{display:flex;gap:12px;align-items:center;margin:14px 0}
html .device-platform>div{min-width:0}
html .platform-icon{width:42px;height:44px;flex:0 0 42px;border-radius:9px;display:grid;place-items:center;background:#f3f6fa;color:#374151}
html .platform-icon.android{color:#69a721;background:#f4faed}
html .platform-icon.windows{color:#059ada;background:#eefaff}
html .platform-icon.telegram{color:#008dca;background:#eff9fc}
html .platform-icon .method-svg{width:30px;height:30px}
html .account-device h3{font-size:17px;line-height:1.4;margin:0 0 4px;letter-spacing:0}
html .account-device .device-support{font-size:12px;margin:0;line-height:1.5;color:#65738b}
html .account-device>p:not(.device-support){font-size:12px;line-height:1.6;margin:0 0 12px;min-height:38px;color:#65738b}
html .device-methods,html .account-device[data-account-device="ios"] .device-methods{gap:7px}
html .device-method{min-height:42px;padding:5px 8px;gap:8px;border-radius:8px;font-size:12px;line-height:1.5}
html .device-method.recommended{border-color:#c8dbf7;background:linear-gradient(115deg,#f0f6ff,#f7fbff)}
html .device-method .method-icon{width:29px;height:29px;flex-basis:29px;border-radius:6px;background:transparent}
html .device-method .method-icon-primary{background:#0872f5;color:#fff}
html .device-method .method-svg{width:21px;height:21px}
html .device-method .method-body{gap:4px 6px;flex-wrap:wrap}
html .device-method .method-badge{font-size:10px;padding:1px 6px;border-radius:10px;line-height:1.7}
html .device-method .method-label{font-size:12px}
html .device-method .method-arrow{flex-basis:13px;font-size:19px}
html .account-quick{padding:15px 16px;border:1px solid #e7eef6;background:#ffffffd9;border-radius:12px;margin-top:14px}
html .account-quick .section-heading{margin-bottom:10px}
html .account-quick h2{font-size:21px;line-height:1.4;margin:0}
html .account-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html .account-quick-link{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #e7ebf3;border-radius:9px;background:#fff;color:#152541;min-width:0}
html .account-quick-link:hover{border-color:#9bbdf0;background:#f8fbff}
html .account-quick-link>span:nth-child(2){min-width:0;flex:1}
html .account-quick-link strong,html .account-quick-link small{display:block}
html .account-quick-link strong{font-size:14px;line-height:1.5}
html .account-quick-link small{font-size:11px;line-height:1.6;color:#718097;margin-top:2px}
html .quick-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;background:linear-gradient(130deg,#4392ff,#0760e9);color:#fff;border-radius:10px}
html .quick-icon.download{background:linear-gradient(130deg,#46c58d,#20a16f)}
html .quick-icon.link{background:linear-gradient(130deg,#b788ee,#8051cb)}
html .quick-icon.help{background:linear-gradient(130deg,#ffb760,#f09537)}
html .quick-icon svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.7}
html .account-support{display:flex;flex-direction:row;align-items:center;margin-top:12px;padding:17px 26px;gap:24px;background:radial-gradient(ellipse at 65% 170%,#d9eaff 35%,transparent 36%),linear-gradient(110deg,#f4f9ff,#eaf4ff 60%,#f8fbff);border:1px solid #e1ebf6;border-radius:12px}
html .support-icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;background:linear-gradient(135deg,#3c98ff,#0061ec);color:#fff;border-radius:50%;box-shadow:0 6px 16px #0875ec24}
html .support-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7}
html .account-support>div{flex:1}
html .account-support strong{font-size:20px;font-weight:650;line-height:1.5}
html .account-support p{margin:3px 0 0;font-size:14px}
html .account-support .button{min-height:46px;padding:10px 26px;gap:24px;border-radius:9px;background:linear-gradient(120deg,#147ffc,#0661f3)}
@media(min-width:901px){html body[data-page="account.html"] .brand{font-size:22px}html body[data-page="account.html"] .brand-mark{width:29px;height:32px}html body[data-page="account.html"] .desktop-nav{font-size:13px}html body[data-page="account.html"] .language-switch select{min-height:40px;font-size:12px;width:106px}html body[data-page="account.html"] .account-menu summary{font-size:13px;min-height:40px}}
@media(max-width:1100px){html .account-device-grid,html .account-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html .account-device>p:not(.device-support){min-height:0}html .account-crown{right:24%;width:155px}html .account-card{padding-inline:25px}}
@media(max-width:700px){html .account-card-body{grid-template-columns:1fr;gap:20px}html .account-card-actions{grid-template-columns:1fr 1fr}html .account-crown{right:-10px;top:60px;width:145px;opacity:.12}html .account-usage{grid-template-columns:1fr 1.3fr;gap:14px}html .account-usage>div+div{padding-left:16px}html .account-usage strong{font-size:18px}html .account-devices .section-heading,html .account-quick .section-heading{display:block}html .account-devices .section-heading p,html .account-quick .section-heading p{margin-top:5px}html .account-support{flex-wrap:wrap;gap:14px;padding:20px}html .account-support strong{font-size:17px}html .account-support .button{margin-left:72px}html .account-support p{font-size:12px}}
@media(max-width:480px){html body[data-page="account.html"] .page-heading h1{font-size:26px}html body[data-page="account.html"] .page-heading>p{font-size:13px}html .account-device-grid,html .account-quick-grid{grid-template-columns:1fr}html .account-card{padding:18px;border-radius:13px}html .account-card h2.account-greeting{font-size:20px}html .account-usage{grid-template-columns:1fr;gap:10px}html .account-usage>div+div{padding:10px 0 0;border-left:0;border-top:1px solid #c4e3ff50}html .account-usage strong{font-size:20px}html .account-card-actions{gap:8px}html .account-card-actions .button{font-size:12px;gap:5px;padding:10px 7px}html .account-card-actions svg{width:16px;height:16px;flex-shrink:0}html .account-card-actions .button:first-child>span:first-child{display:none}html .account-device{padding:18px}html .device-method{min-height:46px}html .account-device h3{font-size:19px}html .device-method .method-label{font-size:14px}html .account-device>p:not(.device-support),html .account-device .device-support{font-size:13px}html .account-quick-link strong{font-size:15px}html .account-quick-link small{font-size:12px}html .account-support .button{width:100%;margin:0}html .account-menu .account-chevron{display:none}html .account-support>div{min-width:0}}

/* 登录导航使用统一菜单，公开页面仍保留手机主导航入口。 */
html .site-header.session-signed .nav-actions>.login-link,html .site-header.session-signed .nav-actions>[data-track="nav-trial"],html .site-header.session-signed .mobile-login,html .site-header.session-signed .mobile-trial{display:none}
html .site-header .account-menu[hidden]{display:none}
html .account-menu-error{margin:6px 10px;padding:6px 0;font-size:13px;line-height:1.6;color:#b42318;max-width:240px}

/* 公共页脚：沿用页面内容边界，统一列距、行距与移动端分组。 */
html .site-footer-band{background:#f8fafc;border-top:1px solid #e2e9f3}
html .site-footer.container{padding-top:38px;padding-bottom:22px;border-top:0;background:transparent}
html .site-footer .footer-main{grid-template-columns:minmax(0,1.45fr) repeat(3,minmax(0,1fr));align-items:start;gap:32px;padding-bottom:26px}
html .site-footer .footer-brand{grid-column:auto;display:block;min-width:0}
html .site-footer .footer-brand .brand{display:inline-flex;font-size:26px;gap:8px;line-height:1.2}
html .site-footer .brand-mark{width:31px;height:35px;font-size:29px}
html .site-footer .brand-vpn{display:inline;font-size:10px;margin-left:5px}
html .site-footer .footer-brand p{max-width:30ch;margin:14px 0 0;font-size:13px;line-height:1.9;color:#596b83}
html .site-footer .footer-main h3{font-size:15px;line-height:24px;font-weight:650;margin:5px 0 10px;color:#182942}
html .site-footer .footer-main>div:not(.footer-brand)>a{display:block;min-height:0;padding:5px 0;font-size:14px;line-height:22px;color:#596b83;overflow-wrap:anywhere}
html .site-footer .footer-main>div:not(.footer-brand)>a:hover{color:#215ce8}
html .site-footer .footer-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;padding-top:16px;font-size:12px;line-height:1.7;color:#596b83}
html .site-footer .footer-bottom>span{margin:0}
html .site-footer a:focus-visible{outline:2px solid #215ce8;outline-offset:4px;border-radius:3px}
@media(max-width:900px){html .site-footer .footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 24px}html .site-footer .footer-brand{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-start;gap:28px}html .site-footer .footer-brand p{max-width:none;margin:0}html .site-footer .footer-main h3{margin-top:0}}
@media(max-width:620px){html .site-footer.container{padding-top:26px;padding-bottom:24px}html .site-footer .footer-main{gap:24px 12px;padding-bottom:22px}html .site-footer .footer-brand{display:block}html .site-footer .footer-brand p{margin-top:12px;font-size:12px}html .site-footer .footer-main h3{font-size:13px;line-height:20px;min-height:40px;margin:0 0 4px}html .site-footer .footer-main>div:not(.footer-brand)>a{display:flex;align-items:center;min-height:44px;padding:8px 0;font-size:13px;line-height:20px}html[lang="en"] .site-footer .footer-main>div:not(.footer-brand)>a{min-height:56px}html .site-footer .footer-bottom{flex-direction:column;gap:4px;padding-top:16px;font-size:11px}html body:not(.inner-page) .site-footer{padding-bottom:135px}}

html .native-auth-address{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:.18em;white-space:nowrap}
/* Session refresh feedback: keep the guest prompt hidden until authentication is resolved. */
html.session-checking .site-header .login-link,html.session-checking .site-header .nav-user-center,html.session-checking .site-header [data-track="nav-trial"],html.session-checking .ad-login{visibility:hidden}
html.session-checking [data-auth-gate]{display:none!important}
html [data-auth-gate][hidden],html [data-session-loading][hidden],html [data-session-cache-note][hidden],html [data-session-skip][hidden],html [data-session-cache-help][hidden],html [data-session-reload][hidden]{display:none!important}
.session-wait{display:flex;align-items:flex-start;gap:24px;padding:36px;border:1px solid #dce6fa;border-radius:20px;background:linear-gradient(120deg,#f2f6ff,#fff);min-height:240px;box-shadow:0 8px 24px #244b8110}
.session-wait h2{font-size:26px;margin:12px 0;line-height:1.4}.session-wait p{color:#63738e;font-size:15px;line-height:1.8;margin:0 0 16px}
.session-wait-copy{min-width:0}.session-spinner{flex:0 0 38px;height:38px;margin-top:12px;border:3px solid #dbe6ff;border-top-color:#245bee;border-radius:50%;animation:session-turn 1s linear infinite}
.session-wait[aria-busy="false"] .session-spinner{animation:none;border-top-color:#8c9dbb}
.session-wait-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.session-elapsed{color:#536887;background:#eaf0fd;border-radius:20px;padding:6px 12px;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.session-cache-skip{min-height:44px;padding:8px 14px;border:1px solid #cfddf8;border-radius:8px;color:#2455bc;background:#fff;font:inherit;font-size:14px;cursor:pointer}.session-cache-skip:hover{background:#eaf1ff}
.session-cache-skip:focus-visible{outline:2px solid #245bee;outline-offset:3px}
.session-wait .session-cache-help{font-size:13px;margin-top:10px;margin-bottom:0}.session-cache-note{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin-bottom:20px;background:#eef4ff;border:1px solid #dce6fa;border-radius:12px;font-size:14px;color:#455c82}.session-cache-note .text-button{min-height:44px;flex-shrink:0}
@keyframes session-turn{to{transform:rotate(360deg)}}
@media(max-width:700px){.session-wait{padding:24px 20px;gap:16px;min-height:230px}.session-wait h2{font-size:22px}.session-spinner{flex-basis:28px;height:28px}.session-cache-note{align-items:flex-start;flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){.session-spinner{animation:none}}

/* 订单弹窗独立于通用表单弹窗；操作固定可见，只有订单列表滚动。 */
html .orders-dialog{width:calc(100% - 48px);max-width:1120px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:hidden}
html .orders-dialog[open]{display:flex;flex-direction:column}
html .orders-dialog .dialog-body{display:flex;flex-direction:column;min-height:0;padding:24px;overflow:hidden}
html .orders-dialog .dialog-heading{flex-shrink:0;margin-bottom:10px}
html .orders-dialog #refresh-orders{align-self:flex-start;flex-shrink:0;min-height:44px}
html .orders-dialog .table-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin-top:8px}
html .orders-dialog .table-scroll:focus-visible{outline:2px solid #245bee;outline-offset:2px}
html .orders-dialog table{min-width:0;width:100%;table-layout:fixed}
html .orders-dialog th,html .orders-dialog td{white-space:normal;overflow-wrap:anywhere;word-break:normal;padding:14px 12px;line-height:1.6;vertical-align:top}
html .orders-dialog th{position:sticky;top:0;z-index:1}
html .orders-dialog th:nth-child(1){width:22%}
html .orders-dialog th:nth-child(2){width:19%}
html .orders-dialog th:nth-child(3){width:14%}
html .orders-dialog th:nth-child(4){width:10%}
html .orders-dialog th:nth-child(5){width:22%}
html .orders-dialog th:nth-child(6){width:13%}
html .orders-dialog td:nth-child(3){font-variant-numeric:tabular-nums}
html .orders-dialog td .text-link{display:inline-flex;align-items:center;min-height:44px}
html .orders-dialog .pagination{flex-shrink:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
html .orders-dialog #orders-page{text-align:center;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html .orders-dialog .quiet-button{min-height:44px}
@media(max-width:900px){
 html .orders-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
 html .orders-dialog .dialog-body{padding:18px}
 html .orders-dialog .table-scroll{border:0;border-radius:0;background:#f5f8fc}
 html .orders-dialog table,html .orders-dialog tbody{display:block;width:100%}
 html .orders-dialog thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
 html .orders-dialog tbody{display:grid;gap:12px}
 html .orders-dialog tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px}
 html .orders-dialog td{display:block;min-width:0;border:0;padding:0;font-size:14px}
 html .orders-dialog td::before{content:attr(data-label);display:block;color:#63738b;font-size:12px;margin-bottom:4px;font-weight:400}
 html .orders-dialog td:nth-child(1),html .orders-dialog td:nth-child(2),html .orders-dialog td:nth-child(5),html .orders-dialog td:nth-child(6){grid-column:1/-1}
 html .orders-dialog td:nth-child(2){font-weight:600;color:#182942}
 html .orders-dialog td:nth-child(6){border-top:1px solid var(--line);padding-top:10px}
 html .orders-dialog td .text-link{padding:0 12px;border:1px solid #cad9f8;border-radius:8px;background:#f5f8ff}
 html .orders-dialog .pagination{gap:8px}
 html .orders-dialog #orders-page{font-size:12px}
}
@media(max-width:480px){
 html .orders-dialog .dialog-body{padding:16px 12px}
 html .orders-dialog .dialog-heading h2{font-size:22px}
 html .orders-dialog .pagination{grid-template-columns:1fr 1fr}
 html .orders-dialog #orders-page{grid-column:1/-1;grid-row:2}
 html .orders-dialog #orders-next{grid-column:2;grid-row:1}
}
@media(max-height:480px){
 html .orders-dialog{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
 html .orders-dialog .dialog-body{padding:10px 14px}
 html .orders-dialog .dialog-heading{margin-bottom:0}
 html .orders-dialog .pagination{margin-top:8px;padding-top:8px}
}
