.store-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:28px;border:1px solid #d4dce8;border-radius:16px;background:#f3f4f2;color:#17263b;box-shadow:0 22px 80px #0004;font-family:Inter,Arial,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.6;box-sizing:border-box}
.store-dialog::backdrop{background:#080d16a6;backdrop-filter:blur(5px)}
.store-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.store-dialog h2{font-size:25px;font-weight:650;line-height:1.3;letter-spacing:0;margin:0}.store-dialog button{font:inherit;cursor:pointer}.store-dialog button:focus-visible,.store-dialog a:focus-visible,.store-help>summary:focus-visible{outline:2px solid #3469f6;outline-offset:4px}
.store-close{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:8px;border:0;border-radius:8px;background:transparent;color:#65758b}.store-close:hover{background:#e4e8ef}.store-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.store-desktop-note,.store-mobile-note{font-size:14px;color:#68798f;margin:10px 0 22px}.store-qr-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.store-card{min-width:0;text-align:center}.store-card h3{font-size:16px;font-weight:600;line-height:1.4;margin:0 0 14px;color:#253750}.store-qr{box-sizing:border-box;width:208px;height:208px;max-width:100%;padding:24px;background:#fff;border-radius:9px;margin:0 auto;display:grid;place-items:center}.qr-art{display:block;position:relative;overflow:hidden;width:160px;height:160px;max-width:100%;background:#fff}.qr-art img{display:block;width:100%;height:auto;max-width:100%;border-radius:0;user-select:none}.qr-art.jd img{position:absolute;left:-16px;top:-16px;width:calc(100% + 32px);max-width:none;height:auto}.store-card>p{font-size:12px;color:#6c7b8f;margin:9px 0 14px}.store-card-tools{display:flex;justify-content:center;gap:12px;align-items:center}.store-card-tools a{font:inherit;font-size:12px;line-height:1.5;border:0;background:transparent;color:#4969a6;padding:2px 0;text-decoration:none}.store-card-tools a:hover{color:#244ad0}
.store-mobile{display:none}.store-direct{display:grid;gap:12px}.store-direct-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;min-height:56px;border-radius:9px;border:1px solid #c8d3e5;background:#fff;color:#253750;font-size:17px;font-weight:600;line-height:1.4;text-decoration:none;box-sizing:border-box}.store-direct-link:hover{background:#eaf0ff}.store-direct-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.store-direct-link.tmall{border-color:#e0b9c1}.store-direct-link.tmall>span{color:#c7264b}.store-direct-link.jd>span{color:#c02e36}.store-webview-note{display:none;font-size:12px;color:#63758b;margin:15px 0}.store-help{margin-top:23px;padding-top:16px;border-top:1px solid #d4deeb}.store-help>summary{font-size:13px;color:#536d98;cursor:pointer}.store-help>p{font-size:12px;color:#6c7b8f;margin:12px 0}.store-qr-toggle{margin-top:10px;border:0;background:transparent;padding:4px 0;font-size:12px!important;color:#3b63b4}.store-mobile-codes{margin-top:18px}.store-dialog [hidden]{display:none!important}
.store-dialog[data-mobile=true] .store-desktop,.store-dialog[data-mobile=true] .store-desktop-note{display:none}.store-dialog[data-mobile=true] .store-mobile{display:block}.store-dialog[data-mobile=true][data-inapp=true] .store-webview-note{display:block}
@media(max-width:650px){.store-dialog{padding:24px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:14px}.store-dialog h2{font-size:23px}.store-desktop,.store-desktop-note{display:none}.store-mobile{display:block}.store-dialog[data-inapp=true] .store-webview-note{display:block}.store-mobile-codes{grid-template-columns:1fr}.store-card+.store-card{margin-top:15px}.store-card-tools{gap:16px}}

/* Native details retain the store QR codes when enhancement is unavailable. */
.n52-purchase-links.store-native-qr{width:500px;max-width:calc(100vw - 40px);padding:22px;border:1px solid #d4deeb;background:#f4f5f6;color:#1b2d46;max-height:70vh;overflow:auto}.store-native-qr .store-legacy-links[hidden]{display:none!important}.store-fallback-note{margin:0 0 18px;font-size:13px;line-height:1.5;color:#68798f}.store-native-qr .store-card h3{font-size:15px;color:#253750}.store-native-qr .store-card-tools a{display:inline-block;min-height:0;padding:2px 0;border:0;color:#4969a6;background:transparent;font-size:12px;line-height:1.5}.store-native-qr .store-card-tools a:hover{color:#244ad0;background:transparent}.store-native-qr .store-card>p{color:#6c7b8f}.store-fallback-mobile{display:none}@media(max-width:650px){.n52-purchase-links.store-native-qr{width:min(300px,calc(100vw - 64px));padding:16px}.store-fallback-desktop,.store-fallback-note{display:none}.store-fallback-mobile{display:grid;gap:9px}.store-native-qr .store-fallback-mobile a{min-height:48px;padding:12px;background:#fff;border:1px solid #d3deeb;color:#253750;font-size:15px;gap:16px}.store-native-qr .store-fallback-mobile a+a{border-top:1px solid #d3deeb}}

.store-native-qr [hidden]{display:none!important}.store-unavailable{font-size:14px;color:#68798f;margin:14px 0 0}
