/* WebBrand 共用的帮助与品牌入口。 */
.model-header .model-header-inner:has(> .model-help-link) { position: relative; box-sizing: border-box; padding-inline-end: 54px; }
.model-header .model-help-link { position: absolute; inset-inline-end: 0; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce3ec; border-radius: 6px; background: #f3f6fa; color: #526c88; text-decoration: none; transform: translateY(-50%); }
.model-help-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.model-header .model-help-link:hover { border-color: #93a9c2; background: #e6edf5; color: #214c77; }
.model-help-link:focus-visible, .site-footer-about:focus-visible { outline: 2px solid #76a4d1; outline-offset: 3px; }
:is(.sweep-page, .smart-picks-page, .single-pick-page) .model-header .model-help-link { border-color: #52688166; background: #1e2e45; color: #c5d8ef; }
:is(.sweep-page, .smart-picks-page, .single-pick-page) .model-header .model-help-link:hover { border-color: #8ba8c9; background: #2b425f; color: #fff; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .model-header .model-help-link { border-color: #bda26d66; background: #26364d; color: #ead4a6; }
.site-footer { border-top: 1px solid #e5e7eb; background: #fff; }
.brand-filing { display: inline-flex; max-width: 100%; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 12px; line-height: 1.5; }
.login-footer .brand-filing, .account-icp-footer .brand-filing { justify-content: center; text-align: center; }
.brand-icp { display: inline-flex; align-items: center; gap: 5px; color: inherit; font-size: 12px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.brand-icp:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand-icp:focus-visible { outline: 2px solid #477da9; outline-offset: 3px; }
.account-icp-footer { padding: 12px 16px 24px; color: #64768b; text-align: center; }
.site-footer .site-footer-inner { box-sizing: border-box; width: min(1080px, calc(100% - 20px)); margin: 0 auto; display: flex; flex-wrap: wrap; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px 18px; padding: 18px 0; color: #6b7280; font-size: 13px; line-height: 1.5; }
.site-footer-support, .site-footer .technical-support-link { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .technical-support-link { color: #244c73; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-footer .technical-support-logo { width: 20px; height: 20px; flex: none; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.site-footer-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-inline-start: auto; }
.site-footer .app-download-entry { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin: 0; padding: 9px 12px; border: 1px solid #d8b875; border-radius: 6px; background: linear-gradient(135deg, #fff1ce, #f2d28f); box-shadow: 0 4px 12px #724e1c1f; color: #654819; font-size: 13px; font-weight: 700; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.site-footer .app-download-entry svg { width: 18px; height: 18px; flex: none; }
.site-footer .app-download-entry:hover { border-color: #b68f48; background: #f4dcaa; color: #4e370f; }
.site-footer-actions .site-footer-about { margin-inline-start: 0; }
.site-footer-about { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-height: 44px; margin-inline-start: auto; padding: 9px 12px; border: 1px solid #3d5674; border-radius: 6px; background: linear-gradient(125deg, #29435f, #172a42); box-shadow: 0 4px 12px #12243b1a, inset 0 1px 0 #ffffff14; color: #f5e6c5; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: .4px; text-decoration: none; white-space: nowrap; }
.site-footer-about-mark { width: 22px; height: 22px; flex: none; color: #e4c48a; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.site-footer-about-arrow { width: 16px; height: 16px; flex: none; color: #b7c9dd; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-footer-about:hover { border-color: #b49b6e; background: linear-gradient(125deg, #345574, #223d5c); box-shadow: 0 5px 14px #12243b24, inset 0 1px 0 #ffffff1a; color: #fff4db; text-decoration: none; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer-about { border-color: #d7ba80; background: linear-gradient(125deg, #f1e0b8, #d7b97c); box-shadow: 0 4px 12px #00000024, inset 0 1px 0 #ffffff66; color: #26364b; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer-about-mark { color: #65502b; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer-about-arrow { color: #6f5a34; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer-about:hover { border-color: #f1d599; background: linear-gradient(125deg, #f7e8c8, #e5c98c); color: #15263b; }
.site-footer-contact { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 12px; border: 1px solid #cbd6e2; border-radius: 6px; background: #f3f6fa; color: #29435f; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; white-space: nowrap; }
.site-footer-contact svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-footer-contact:hover { border-color: #809ab7; background: #e7eef6; }
.site-footer :is(a, button):focus-visible { outline: 2px solid #76a4d1; outline-offset: 3px; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer { background: #101722; border-color: #334257; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer-inner { color: #c6cfdb; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer .technical-support-link { color: #e7ce98; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer .app-download-entry { border-color: #e7ce98; background: #e7ce98; box-shadow: none; color: #26364b; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer-contact { border-color: #52647c; background: #1d2b3e; color: #e7d7b6; }
:is(.sweep-advanced, .smart-advanced, .single-advanced) .site-footer-contact:hover { border-color: #d7ba80; background: #2a3b52; }

html.brand-contact-open, html.brand-contact-open body { overflow: hidden; overscroll-behavior: none; }
.brand-contact-modal[hidden], .brand-contact-qr[hidden] { display: none !important; }
.brand-contact-modal { position: fixed; inset: 0; z-index: 40000; box-sizing: border-box; display: grid; place-items: center; overflow-y: auto; padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: #081321b8; font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.brand-contact-card { position: relative; box-sizing: border-box; width: min(100%, 360px); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 30px 28px 24px; border: 1px solid #d9c6a5; border-radius: 6px; background: #fffdf8; box-shadow: 0 24px 80px #00000040; color: #24364b; text-align: center; line-height: 1.5; }
.brand-contact-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #6b7785; cursor: pointer; }
.brand-contact-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.brand-contact-close:hover { border-color: #d5dce5; background: #edf1f6; color: #24364b; }
.brand-contact-kicker { margin: 0 0 8px; color: #8f7040; font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.brand-contact-card h2 { margin: 0; color: #21354f; font-size: 25px; font-weight: 700; line-height: 1.4; }
.brand-contact-hint { margin: 8px 0 20px; color: #687584; font-size: 14px; }
.brand-contact-qr { width: min(100%, 290px); box-sizing: border-box; margin: 0 auto 18px; padding: 8px; border: 1px solid #e5ddce; border-radius: 6px; background: #fff; }
.brand-contact-qr img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.brand-contact-account { margin: 0 0 16px; color: #647284; font-size: 13px; }
.brand-contact-account strong { display: block; margin-top: 4px; color: #21354f; font-size: 18px; font-weight: 600; letter-spacing: .3px; user-select: text; }
.brand-contact-copy { width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid #29435f; border-radius: 6px; background: #21354f; color: #fff1d4; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.brand-contact-copy:hover { background: #2c4868; }
.brand-contact-copy:disabled { cursor: wait; opacity: .7; }
.brand-contact-card button:focus-visible { outline: 2px solid #477da9; outline-offset: 3px; }
.brand-contact-status { min-height: 18px; margin: 10px 0 0; color: #536a58; font-size: 12px; }
.brand-contact-status.is-error { color: #a33127; }
@media (max-width: 600px) {
    .model-header:has(.model-help-link) .league-switch-tab { padding-inline: 2px; font-size: 13px; white-space: nowrap; }
    .site-footer .site-footer-support { flex-basis: 100%; }
    .site-footer-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 0; }
    .site-footer-actions :is(.app-download-entry, .site-footer-about, .site-footer-contact) { box-sizing: border-box; min-width: 0; min-height: 44px; padding: 8px 6px; gap: 5px; font-size: 12px; letter-spacing: 0; }
    .site-footer-actions :is(.site-footer-about-mark, .site-footer-contact svg) { width: 18px; height: 18px; }
    .site-footer-actions .site-footer-about-arrow { display: none; }
    .brand-contact-card { padding: 28px 24px 20px; }
}
