.public-account{position:relative}.public-account>summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;font-size:14px;color:#25344c}.public-account>summary::-webkit-details-marker{display:none}.account-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.account-avatar{display:grid;place-items:center;width:34px;height:34px;background:#eef2ff;color:#7258e8;border-radius:50%;flex:none}.public-account-panel{position:absolute;right:0;top:calc(100% + 16px);width:280px;padding:12px;border:1px solid #e6ebf2;border-radius:12px;background:white;box-shadow:0 12px 40px #25344c24;z-index:100}.public-account-info{display:flex;gap:12px;align-items:center;padding:12px 8px 18px;border-bottom:1px solid #e6ebf2;margin-bottom:8px}.public-account-info>div{min-width:0}.public-account-info strong{display:block;overflow:hidden;text-overflow:ellipsis;max-width:190px;font-size:14px}.public-account-info small{display:block;color:#7c8ba2;margin-top:4px}.product-header .public-account-panel nav{display:flex!important;flex-direction:column;align-items:stretch;gap:3px}.public-account-panel nav>a,.public-account-panel nav>button{display:flex;align-items:center;gap:12px;padding:11px 12px;border:0;background:transparent;border-radius:7px;font-size:14px;color:#25344c;text-align:left}.public-account-panel nav>a:hover,.public-account-panel nav>button:hover{background:#f2f6fc}.public-account-panel nav>button{color:#dc5252;border-top:1px solid #e6ebf2;margin-top:7px}.public-account summary:focus-visible{outline:1px solid #1a73e8;outline-offset:-1px}.preview-bar{display:none!important}@media(max-width:600px){.public-account-panel{position:fixed;top:66px;right:12px;width:min(280px,calc(100vw - 24px))}}.product-header .nav-actions>a{display:inline-flex!important;align-items:center}.product-header .public-account-panel nav{position:static;transform:none;width:100%;height:auto;box-shadow:none;border:0;background:transparent;padding:0}.product-header .nav-actions{display:flex!important}.public-account .account-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;aspect-ratio:1;padding:0;box-sizing:border-box;flex-shrink:0;border:1px solid #dce6f5;border-radius:50%;background:#eef4fc;color:#6484b3;line-height:1;overflow:hidden}.public-account .account-avatar .avatar-glyph{display:block;width:22px;height:22px;flex:none;fill:currentColor;stroke:none}/* Shared header actions: publish,notifications,applications and account. */
.product-header .nav-actions{gap:24px;align-items:center}.product-header .nav-actions .header-notification{position:relative;display:inline-flex;align-items:center;justify-content:center;width:30px;height:36px;color:#465361;padding:0}.product-header .nav-actions .header-notification svg{width:23px;height:23px}.product-header .nav-actions .notification-dot{position:absolute;right:1px;top:2px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#ed5353}.public-account .account-avatar{width:36px;height:36px;min-width:36px;border:0;background:#c7cbd0;color:#fff;box-shadow:none}.public-account .account-avatar .avatar-glyph{width:34px;height:34px;fill:currentColor;stroke:none;transform:translateY(4px)}
@media(max-width:760px){.product-header .nav-actions{gap:12px}.product-header .nav-actions .header-notification{width:24px}.public-account .account-avatar{width:32px;height:32px;min-width:32px}.public-account .account-avatar .avatar-glyph{width:30px;height:30px}}.wechat-live-qr{width:232px;height:232px;padding:10px;margin:20px auto 14px;border:1px solid #e5ebf3;border-radius:12px;background:#fff;display:grid;place-items:center;box-sizing:border-box}.wechat-live-qr img{width:210px;height:210px;object-fit:contain}.wechat-live-qr [hidden]{display:none!important}.wechat-live-qr span{font-size:14px;color:#6b778a}.wechat-live-status{min-height:25px;font-size:14px!important;line-height:1.6}.wechat-live-terms{font-size:12px!important;line-height:1.7!important;max-width:340px;margin:18px auto 0!important}.wechat-live-terms a{color:#1a73e8}.wechat-side-content [data-wechat-refresh]{font-size:13px;padding:8px 16px;min-height:36px;margin-top:8px}.auth-code-notice{padding:12px 14px;margin:14px 0 8px;border:1px solid #c8dcfa;border-radius:10px;background:#f0f6ff;color:#34445c;font-size:13px;line-height:1.7}.auth-code-notice a{color:#1a73e8;font-weight:600}footer .brand .brand-name{display:flex;flex-direction:column;gap:2px}footer .brand .brand-name strong{margin:0;line-height:1.25}footer .brand .brand-name small{margin:0;line-height:1.2}/* Compact code-login agreement; one checkbox and one explanatory block. */
.auth-card .auth-consent.auth-code-notice{display:flex;align-items:flex-start;gap:8px;margin:14px 0 12px;font-size:13px;line-height:1.7}.auth-code-notice input[type=checkbox]{width:15px;height:15px;flex:0 0 15px;margin:4px 0 0;accent-color:#1a73e8}.auth-code-notice span{min-width:0}.auth-code-notice a{display:inline;white-space:nowrap;margin:0 2px}
@media(max-width:760px){.auth-card .auth-consent.auth-code-notice{padding:11px 12px;margin:12px 0;font-size:12px;line-height:1.75;border-radius:8px;text-align:left}.auth-card .auth-consent{font-size:12px;gap:7px;margin:12px 0;line-height:1.7}.auth-consent a{white-space:nowrap}.auth-card .auth-submit{margin-top:4px;min-height:46px;font-size:15px}.auth-card .code-field{gap:8px;min-width:0}.auth-card .code-field input{width:0;min-width:0;flex:1}.auth-card .code-field button{flex:none;padding:0 10px;font-size:12px}.auth-card .auth-helper{margin:10px 0;font-size:12px}.auth-feedback:empty{display:none}
}

/* Mobile footer: separate brand, contacts and legal information. */
@media(max-width:760px){.product-header .nav-actions>a[href*="page=login"],.product-header .nav-actions>a[href*="page=register"]{display:none!important}.product-header .nav-actions:not(:has(.public-account)){display:none!important}
}
@media(max-width:760px){.market-footer{padding-top:24px}.market-footer .wrap{width:auto;margin:0 20px;padding:0}.market-footer-grid{column-gap:14px;row-gap:20px;padding-bottom:20px}.market-footer-grid h4{font-size:13px;margin-bottom:12px}.market-footer-grid>div>a:not(.brand){font-size:12px;line-height:1.6;margin:9px 0}.market-footer .market-footer-contact{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:14px;row-gap:5px;padding-top:12px;text-align:center}.market-footer-contact .brand{flex-basis:100%;justify-content:center;margin:0 0 3px;gap:8px}.market-footer-contact .brand img{width:36px;height:36px;flex:none}.market-footer-contact .brand-name{text-align:left;gap:2px}.market-footer-contact .brand-name strong{font-size:15px;line-height:20px}.market-footer-contact .brand-name small{font-size:11px;line-height:14px}.market-footer .market-footer-contact p{display:block;margin:0;font-size:13px;line-height:20px;overflow-wrap:anywhere}.market-footer-grid>.market-footer-contact>a:not(.brand){flex-basis:100%;margin:0;font-size:12px;color:#1a73e8;line-height:18px}.market-footer-grid:has(.market-footer-contact){padding-bottom:12px}.market-footer .market-copyright{display:flex;flex-direction:column!important;white-space:normal!important;flex-wrap:wrap!important;align-items:center;justify-content:center;gap:2px;padding:10px 0 12px;margin:0;border-top:1px solid #e7ebf1;text-align:center;font-size:11px!important;line-height:1.6}.market-copyright>span,.market-copyright>a{display:block;margin:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;font-size:inherit;line-height:inherit}
}

@media(max-width:760px){.product-header .nav-actions{display:none!important}}

@media(max-width:760px){.market-footer .market-footer-contact{display:none!important}}

/* Consistent file pickers without the browser's beveled button. */
input[type="file"]{max-width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #dce6f4;border-radius:10px;background:#fff;color:#64748b;font-size:13px;font-weight:400;line-height:24px;cursor:pointer}
input[type="file"]::file-selector-button{appearance:none;border:0;border-radius:7px;background:#1a73e8;color:#fff;padding:9px 16px;margin:0 14px 0 0;font:inherit;font-weight:500;line-height:20px;cursor:pointer;transition:background .15s}
input[type="file"]::file-selector-button:hover{background:#1765cc}
input[type="file"]:focus-visible{outline:1px solid #1a73e8;outline-offset:-1px}
@media(max-width:760px){input[type="file"]{font-size:12px;padding:8px}input[type="file"]::file-selector-button{padding:8px 12px;margin-right:10px}}

/* Public navigation stays above page content and follows its centered width. */
.product-header.reference-header{z-index:100;overflow:visible}
.product-header.reference-header .nav-wrap{box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px;gap:24px;overflow:visible}
.product-header.reference-header .brand-name strong{font-size:19px;font-weight:500;letter-spacing:0;line-height:1.3}
.product-header.reference-header #main-nav{justify-content:flex-start;gap:20px;margin-left:0;margin-right:auto}
.product-header .public-account-panel{z-index:110;max-height:calc(100dvh - 100px);overflow-y:auto}

@media(max-width:760px){.product-header.reference-header .nav-wrap{padding-left:16px;padding-right:16px;gap:12px}.product-header.reference-header .brand-name strong{font-size:18px}}

.account-menu .avatar,.public-account .account-avatar{background:#1a73e8;color:#fff;border:0}

.public-account-line{display:flex;align-items:center;gap:7px}.public-account-v{display:inline-flex;width:17px;height:17px;flex:0 0 17px;line-height:1}.public-account-v svg{display:block;width:17px;height:17px}.public-account-v.is-verified{color:#16a078}.public-account-v.is-unverified{color:#a1a8b3}

.product-header .nav-actions .public-console-link{display:inline-flex;align-items:center;white-space:nowrap;font-size:14px;font-weight:500;color:#25344c;padding:6px 0}.product-header .nav-actions .public-console-link:hover{color:#1a73e8}@media(max-width:760px){.product-header .nav-actions .public-console-link{font-size:12px}}

footer.market-footer .market-copyright{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:8px;white-space:nowrap}footer.market-footer .market-copyright>*{flex:none;white-space:nowrap;margin:0}.workspace>.footnote{white-space:nowrap}@media(max-width:760px){footer.market-footer .market-copyright{gap:5px;font-size:clamp(8px,2.3vw,11px)}footer.market-footer .market-copyright a,footer.market-footer .market-copyright span{font-size:inherit}.workspace>.footnote{font-size:clamp(8px,2.3vw,11px);letter-spacing:0}}

footer.market-footer .market-copyright{display:flex;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;gap:8px;white-space:nowrap!important}footer.market-footer .market-copyright>*{flex:none;white-space:nowrap!important;margin:0}.workspace>.footnote{white-space:nowrap!important}@media(max-width:760px){footer.market-footer .market-copyright{gap:5px;font-size:clamp(8px,2.3vw,11px)!important}footer.market-footer .market-copyright a,footer.market-footer .market-copyright span{font-size:inherit}.workspace>.footnote{font-size:clamp(8px,2.3vw,11px)!important;letter-spacing:0}}

/* Keep the shared navigation stable on short and long public pages. */
html{overflow-y:scroll}

.auth-error-dialog{box-sizing:border-box;width:min(400px,calc(100vw - 40px));max-height:calc(100dvh - 40px);margin:auto;padding:30px;border:1px solid #e4eaf2;border-radius:20px;background:#fff;color:#172b45;box-shadow:0 24px 80px #142e4f30;text-align:center;font-family:inherit}
.auth-error-dialog::backdrop{background:rgba(23,43,69,.36);backdrop-filter:blur(3px)}
.auth-error-dialog .auth-error-symbol{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 16px;border-radius:16px;color:#1a73e8;background:#eef5ff}
.auth-error-dialog svg{width:28px;height:28px}.auth-error-dialog h2{margin:0 0 12px;font-size:21px;line-height:1.4}.auth-error-dialog p{margin:0 0 24px;color:#64748b;line-height:1.7;overflow-wrap:anywhere;font-size:15px}.auth-error-dialog .button{width:100%;min-height:44px;justify-content:center;border-radius:10px}.auth-error-dialog .button:focus-visible{outline:1px solid #1a73e8;outline-offset:-1px}

@media(max-width:760px){html body .product-header .nav-actions>.header-notification,html body .product-header .nav-actions>.public-console-link,html body .product-header .nav-actions>.public-account{display:none!important}}

/* Compact, aligned signed-in desktop navigation actions. */
@media(min-width:761px){
html body .product-header .nav-actions:has(.public-account){gap:10px;align-items:center;flex-shrink:0}
html body .product-header .nav-actions:has(.public-account) .niaoce-language>summary,
html body .product-header .nav-actions:has(.public-account) .header-notification{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;box-sizing:border-box;border-radius:8px}
html body .product-header .nav-actions:has(.public-account) .public-console-link{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border:1px solid #e4ebf5;border-radius:8px;box-sizing:border-box;line-height:1;white-space:nowrap;background:#f7f9fc}
html body .product-header .nav-actions:has(.public-account) .public-console-link:hover{background:#edf4ff;border-color:#c8ddff}
html body .product-header .nav-actions:has(.public-account) .public-account>summary{height:36px;display:flex;align-items:center;padding:0}
html body .product-header .nav-actions:has(.public-account) .header-notification:hover{background:#f2f6fc}
}
