
html:has(#home-entry-download-guide[open]){overflow:hidden}
body dialog#home-entry-download-guide{box-sizing:border-box!important;width:420px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#f5f5f5!important;overflow:visible!important;font-family:var(--font-ui,sans-serif)}
body dialog#home-entry-download-guide:not([open]){display:none!important}
body dialog#home-entry-download-guide[open]{display:flex!important;flex-direction:column;align-items:center;gap:16px}
body dialog#home-entry-download-guide::backdrop{background:#000b;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#home-entry-download-guide .hed-card{box-sizing:border-box;width:100%;max-height:calc(100dvh - 104px);min-height:0;flex:0 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:24px;border:1px solid #ffffff1c;border-radius:16px;background:var(--modal-surface,linear-gradient(135deg,#202326,#17191b));box-shadow:0 6px 40px #0006;text-align:center}
#home-entry-download-guide .hed-art{position:relative;width:276px;max-width:100%;height:168px;margin:0 auto 16px;isolation:isolate;pointer-events:none}
#home-entry-download-guide .hed-poster{position:absolute;top:8px;left:50%;display:block;width:88px;height:126px;max-width:none;object-fit:cover;border:1px solid #ffffff24;border-radius:8px;background:#25282a;box-shadow:0 6px 14px #0004}
#home-entry-download-guide .hed-poster:nth-child(1){transform:translateX(calc(-50% - 76px)) rotate(-13deg);z-index:1}
#home-entry-download-guide .hed-poster:nth-child(2){transform:translateX(-50%);z-index:2}
#home-entry-download-guide .hed-poster:nth-child(3){transform:translateX(calc(-50% + 76px)) rotate(13deg);z-index:1}
#home-entry-download-guide .hed-app-icon{box-sizing:border-box;position:absolute;z-index:3;bottom:0;left:50%;display:block;width:64px;height:64px;padding:0;object-fit:contain;border:1px solid #ffffff30;border-radius:14px;transform:translateX(-50%);background:#161819;box-shadow:0 5px 16px #0005}
#home-entry-download-guide .hed-title{margin:0;padding:0;color:#f7f7f7;font-size:24px;line-height:32px;font-weight:700;letter-spacing:0}
#home-entry-download-guide .hed-description{margin:6px 0 0;padding:0;color:#b9bdc1;font-size:14px;line-height:22px}
#home-entry-download-guide .hed-benefits{display:flex;align-items:center;justify-content:center;gap:16px;margin:16px 0 0;padding:0;list-style:none}
#home-entry-download-guide .hed-benefits>li{display:inline-flex;align-items:center;gap:5px;margin:0;padding:0;color:#d2d5d7;font-size:12px;line-height:20px;white-space:nowrap}
#home-entry-download-guide .hed-benefits svg{width:14px;height:14px;flex:none;fill:none;stroke:var(--hed-accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#home-entry-download-guide .hed-qr{box-sizing:border-box;display:block;width:178px;height:178px;margin:18px auto;padding:8px;border:1px solid #e0e0e0;border-radius:8px;background:#fff}
#home-entry-download-guide .hed-qr>img{display:block;width:160px;height:160px;margin:0;object-fit:contain;background:#fff}
#home-entry-download-guide .hed-qr[hidden]{display:none!important}
#home-entry-download-guide .hed-download{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin:20px 0 0;padding:10px 16px;border:1px solid var(--hed-accent);border-radius:8px;background:linear-gradient(105deg,var(--hed-accent-start),var(--hed-accent));color:#101214!important;-webkit-text-fill-color:#101214!important;font-size:16px;line-height:24px;font-weight:650;text-decoration:none;white-space:nowrap;cursor:pointer}
#home-entry-download-guide .hed-download[aria-disabled=true]{opacity:.55;cursor:default}
#home-entry-download-guide .hed-download svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#home-entry-download-guide .hed-platforms{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0 0;padding:0;color:#979ea3;font-size:12px;line-height:20px}
#home-entry-download-guide .hed-platforms>i{color:#636c73;font-style:normal}
#home-entry-download-guide .hed-copy{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin:0;padding:4px 6px;border:0;border-radius:4px;background:transparent;color:#d2d5d7;font:inherit;cursor:pointer}
#home-entry-download-guide .hed-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;font-size:12px}
body #home-entry-download-guide .hed-close{box-sizing:border-box;display:grid;place-items:center;flex:0 0 36px;color:#fff;}
#home-entry-download-guide .hed-close>svg{display:block;width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#home-entry-download-guide :is(a,button):focus-visible{outline:2px solid var(--hed-accent);outline-offset:3px}
@media(hover:hover){#home-entry-download-guide .hed-download:hover{filter:brightness(1.06)}#home-entry-download-guide .hed-copy:hover{color:#fff}#home-entry-download-guide .hed-close:hover{background:#ffffff0c}}
@media(max-width:760px){#home-entry-download-guide .hed-card{padding:22px 20px}#home-entry-download-guide .hed-art{height:152px;margin-bottom:14px}#home-entry-download-guide .hed-poster{width:82px;height:118px}#home-entry-download-guide .hed-app-icon{width:60px;height:60px;border-radius:13px}#home-entry-download-guide .hed-title{font-size:22px;line-height:30px}#home-entry-download-guide .hed-description{font-size:13px;line-height:22px}#home-entry-download-guide .hed-benefits{gap:12px;margin-top:14px}#home-entry-download-guide .hed-qr{display:none!important}#home-entry-download-guide .hed-download{margin-top:20px}}
@media(max-width:359px){#home-entry-download-guide .hed-card{padding:20px 16px}#home-entry-download-guide .hed-benefits{gap:8px}#home-entry-download-guide .hed-poster:nth-child(1){transform:translateX(calc(-50% - 68px)) rotate(-13deg)}#home-entry-download-guide .hed-poster:nth-child(3){transform:translateX(calc(-50% + 68px)) rotate(13deg)}}



.mdp-toast{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#f5f5f5}
.mdp-toast *{box-sizing:border-box}.mdp-toast[hidden]{display:none!important}
.mdp-toast{isolation:isolate;position:fixed;z-index:1200;right:24px;bottom:24px;width:350px;min-height:126px;padding:15px 15px 15px 104px;overflow:hidden;border:1px solid color-mix(in srgb,var(--mdp-accent) 35%,transparent);border-radius:12px;background:linear-gradient(105deg,#181819,#222);box-shadow:0 12px 34px #0009}
.mdp-toast-player{position:absolute;z-index:18;right:16px;bottom:76px;width:min(300px,calc(100% - 32px));min-height:0;padding:14px;border-color:#ffffff35}
.mdp-art{position:absolute;z-index:-1;inset:0 auto 0 0;width:108px;height:100%;object-fit:cover;object-position:center top;mask-image:linear-gradient(90deg,#000 70%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 70%,transparent)}
.mdp-toast-player .mdp-art{display:none}.mdp-copy{min-width:0}.mdp-heading{display:flex;align-items:center;gap:10px;margin:0 22px 10px 0;min-width:0}.mdp-heading>div{min-width:0}.mdp-heading strong{display:block;font-size:14px;line-height:20px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mdp-heading p{margin:1px 0 0;color:#aaa;font-size:12px;line-height:18px;white-space:nowrap}.mdp-app-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;overflow:hidden;border-radius:9px;background:#111}.mdp-app-icon img{display:block;width:100%;height:100%;object-fit:contain}.mdp-close{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:50%;background:#111b;color:#ddd;cursor:pointer}.mdp-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.mdp-cta{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;padding:7px 10px;border:0;border-radius:7px;background:var(--mdp-accent);color:var(--mdp-button-ink,#17130a);font-size:13px;line-height:20px;font-weight:700;text-decoration:none}.mdp-cta svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.mdp-toast-dwell{right:12px;bottom:calc(82px + env(safe-area-inset-bottom,0px));width:min(350px,calc(100vw - 24px));padding:14px 14px 14px 98px}.mdp-toast-player{right:10px;bottom:64px;width:min(278px,calc(100% - 20px));padding:9px 10px}.mdp-toast-player .mdp-heading{margin-bottom:6px}.mdp-toast-player .mdp-app-icon{width:40px;height:40px;flex-basis:40px}}
@media(prefers-reduced-motion:reduce){.mdp-toast{animation:none!important;transition:none!important}}


/* Match the preceding startup dialogs: close below the card, centered. */
body dialog#home-entry-download-guide[open]{gap:0!important;}
/* Keep the complete content row centered inside the near-end prompt. */
[data-play-player]>.mdp-toast-player{display:flex;align-items:center;right:12px;bottom:76px;width:min(340px,calc(100% - 24px));padding:12px 26px 12px 12px;min-height:76px;}
[data-play-page] .mdp-toast-player .mdp-copy{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;}
[data-play-page] .mdp-toast-player .mdp-heading{gap:8px;margin:0;}
[data-play-page] .mdp-toast-player .mdp-app-icon{flex:0 0 36px;width:36px;height:36px;}
[data-play-page] .mdp-toast-player .mdp-heading strong{font-size:12px;line-height:18px;}
[data-play-page] .mdp-toast-player .mdp-heading p{font-size:11px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
[data-play-page] .mdp-toast-player .mdp-cta{width:auto;min-width:70px;min-height:36px;padding:7px 10px;gap:0;font-size:12px;white-space:nowrap;}
[data-play-page] .mdp-toast-player .mdp-cta>svg{display:none;}
.mdp-toast .mdp-cta[aria-disabled=true]{opacity:.55;cursor:default;}
@media(max-width:760px){
 .mdp-toast .mdp-close{width:44px;height:44px;min-height:44px;top:0;right:0;background:transparent;}
 .mdp-toast-dwell .mdp-heading{margin-right:30px;}
 .mdp-toast-dwell .mdp-cta{min-height:44px;}
 [data-play-player]>.mdp-toast-player{right:10px;bottom:64px;width:min(320px,calc(100% - 20px));min-height:68px;padding:10px 46px 10px 10px;}
 [data-play-page] .mdp-toast-player .mdp-copy{gap:8px;}
 [data-play-page] .mdp-toast-player .mdp-app-icon{flex-basis:32px;width:32px;height:32px;}
 [data-play-page] .mdp-toast-player .mdp-cta{min-width:64px;min-height:44px;padding:7px 8px;}
}


/* Use the brand's existing primary-button foreground on all three download prompts. */
#home-entry-download-guide,.mdp-toast{--popup-button-ink:#101214;}
body #home-entry-download-guide .hed-download,
body #home-entry-download-guide .hed-download :is(span,svg,path),
body .mdp-toast .mdp-cta,
body .mdp-toast .mdp-cta :is(span,svg,path){color:var(--popup-button-ink)!important;-webkit-text-fill-color:var(--popup-button-ink)!important;}
body #home-entry-download-guide .hed-download svg,
body .mdp-toast .mdp-cta svg{stroke:currentColor!important;}


#home-entry-download-guide .hed-close{position:static;width:36px;height:36px;margin:24px auto 0;padding:0;border:0;border-radius:50%;background:#ffffff0c;cursor:pointer}
#home-entry-download-guide .hed-qr canvas{display:block;width:102px;height:102px}
[data-play-player]>.mdp-toast-player{box-sizing:border-box}
.mdp-toast *{box-sizing:border-box}

/* Initial dialog focus belongs to the primary download action. */
#home-entry-download-guide .hed-download:focus{outline:2px solid var(--hed-accent);outline-offset:3px}
