.download-guide-open{font:inherit;color:#008970;background:transparent;border:0;padding:10px 0;min-height:44px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.install-guide{width:min(680px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #d4e5df;border-radius:18px;background:#fff;color:#233e49;box-shadow:0 16px 60px #183d3c30;font-size:calc(16px * var(--font-scale,1));overflow:auto;overscroll-behavior:contain}
.install-guide::backdrop{background:#172d3a80}.install-guide-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#fff;border-bottom:1px solid #e6ebee}.install-guide-header h2{font-size:1.15em;line-height:1.5;margin:0}.install-guide-close{display:flex;align-items:center;justify-content:center;padding:0;width:44px;height:44px;flex:none;border:0;border-radius:10px;background:#edf7f2;color:#087f62;font:inherit;cursor:pointer}
.install-guide-content{padding:20px}.install-guide-intro{margin:0 0 24px;color:#667c86;font-size:.875em;line-height:1.8}.install-guide ol{margin:0;padding:0;list-style:none}.install-guide li{margin-bottom:28px}.install-guide h3{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:1em}.install-guide h3 span{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#eaf7f1;color:#00836c}.install-guide li p{margin:0 0 14px;line-height:1.8;font-size:.875em;color:#667c86}.install-guide img{display:block;width:min(100%,360px);height:auto;margin:auto;border:1px solid #e1e9e4;border-radius:12px;background:#f3f8f5}.install-guide-done{display:block;width:100%;min-height:48px;padding:12px;border:0;border-radius:10px;background:#078d70;color:white;font:inherit;cursor:pointer}.install-guide button:focus-visible,.download-guide-open:focus-visible{outline:3px solid #20bc98;outline-offset:3px}
@media(max-width:400px){.install-guide-header{padding:12px}.install-guide-content{padding:16px}.install-guide-header h2{font-size:1em}}

.install-guide-figure{position:relative;width:min(100%,360px);margin:auto}.install-guide-figure img{width:100%;margin:0}.install-guide-figure svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

.download-guide-actions{display:flex;flex-wrap:wrap;gap:6px 22px}.download-video-open{font:inherit;color:#008970;background:transparent;border:0;padding:10px 0;min-height:44px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.download-video-open:focus-visible{outline:3px solid #20bc98;outline-offset:3px}.install-video-guide{width:min(450px,calc(100% - 28px))}.install-video-frame{width:min(100%,330px);margin:auto;aspect-ratio:9/16;max-height:calc(100dvh - 210px);background:#182735;border-radius:12px;overflow:hidden}.install-video-frame iframe{width:100%;height:100%;display:block;border:0}.install-video-fallback{margin:16px 0 0}.install-video-fallback a{color:#008970}

.apk-guide-step-image{width:min(100%,480px);margin:auto;overflow:hidden;border:1px solid #e1e9e4;border-radius:12px;background:#fff}.install-guide .apk-guide-step-image img{display:block;width:100%;max-width:none;height:auto;margin:0;border:0;border-radius:0}

/* Conditional Play Protect instructions within the install step. */
.apk-protect-heading{font-size:.875em;line-height:1.6;margin:20px 0 8px;color:#233e49}
.apk-protect-illustration{max-width:480px;margin:16px auto 12px;padding:16px;background:#f6faf8;border:1px solid #dce9e2;border-radius:10px;font-size:.875em}
.apk-protect-caption{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#24534a}
.apk-protect-caption>span{margin-left:auto;color:#779088;font-size:.8em}
.apk-protect-detail{display:flex;align-items:center;justify-content:space-between;margin:18px 0 14px;padding:10px 0;border-bottom:1px solid #dce9e2;color:#526d65}
.apk-protect-action{width:fit-content;max-width:100%;margin-left:auto;padding:8px 12px;border:2px solid #e33b38;border-radius:8px;color:#078368;font-weight:700;background:white;line-height:1.6}
.install-guide li .apk-protect-note{font-size:.75em;margin:12px 0 0;line-height:1.8;color:#72847e}
@media(max-width:400px){.apk-protect-illustration{padding:12px}.apk-protect-caption{gap:6px}}

/* Flat APK illustrations: solid fills, scalable text. */
.apk-flat-picture{max-width:480px;margin:16px auto 0;border:1px solid #dce9e2;border-radius:10px;background:#fff;color:#233e49;font-size:.875em;overflow:hidden}
.apk-flat-heading{padding:12px 16px;background:#edf7f2;font-weight:700;line-height:1.6}
.apk-flat-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid #e1e9e4;line-height:1.6}
.apk-flat-file{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px}.apk-flat-file>svg{flex:none}.apk-flat-file>strong{font-size:1.05em;overflow-wrap:anywhere;flex:1;min-width:110px}.apk-flat-file>.apk-flat-target{margin-left:auto}
.apk-flat-target{display:inline-flex;padding:5px;border:2px solid #e33b38;border-radius:8px;flex:none}
.apk-flat-button{padding:8px 18px;line-height:1.5;border-radius:6px;background:#078d70;color:#fff;font-weight:700}
.apk-flat-toggle{display:flex;align-items:center;justify-content:flex-end;width:46px;height:28px;padding:3px;border-radius:20px;background:#078d70;box-sizing:border-box}.apk-flat-toggle>span{width:22px;height:22px;border-radius:50%;background:#fff}
.apk-flat-installer{padding:20px 16px 14px;text-align:center}.apk-flat-app-title{font-size:1.25em}.install-guide li .apk-flat-installer p{margin:12px 0 16px;color:#233e49;font-size:1em}
.apk-flat-actions{display:flex;align-items:center;justify-content:flex-end;gap:24px;color:#078d70;font-weight:700}
@media(max-width:400px){.apk-flat-file{padding:12px;gap:8px}.apk-flat-row,.apk-flat-heading{padding:10px 12px}.apk-flat-button{padding:7px 12px}.apk-flat-actions{gap:18px}}

.install-guide-close svg{display:block;width:20px;height:20px;flex:none;pointer-events:none}
