/* Keep the official store action on the first phone-guide screen. */
.guide-mode .iphone-setup-guide{margin-top:0}
.guide-mode .iphone-setup-guide>h3{display:none}
.guide-mode #dialog-title{font-size:23px;margin:12px 0;line-height:1.25}
.guide-change-phone{border:0;background:transparent;padding:6px 0;color:inherit;font-size:15px;font-weight:700}
.guide-sticky-progress{position:sticky;top:64px;z-index:1;background:#f7fbf8;padding:10px 12px;border:1px solid #c8d7ce;border-radius:12px}
.guide-sticky-progress .guide-progress-steps{display:flex;margin:8px 0 0;padding:6px 0!important;overflow:visible}
.guide-sticky-progress .guide-progress-steps li{min-width:0}
.guide-sticky-progress .guide-progress-steps button{min-height:40px;padding:0 1px;gap:0}
.guide-sticky-progress .guide-progress-steps button>span:last-child:not(.guide-step-circle){display:none}
.guide-sticky-progress .guide-step-circle{width:30px;height:30px;font-size:13px;border-width:2px}
.guide-sticky-progress .guide-progress-steps li:not(:last-child):after{display:block;top:15px}
.guide-mode .guide-tracker{margin:10px 0;padding:10px}
.guide-mode .guide-download-box{padding:10px;gap:10px}
.guide-mode .guide-download-link{padding:13px 8px}
.guide-mode .guide-progress-top{font-size:14px;gap:6px}
.guide-mode .guide-download-box>strong{font-size:15px;line-height:1.3}
.guide-mode .guide-current-page{scroll-margin-top:185px}
.guide-mode figure{scroll-margin-top:185px}

.guide-mode .setup-back-apps{display:none}

.setup-app-buttons{display:grid;gap:12px}
.setup-app-buttons button{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;padding:12px 16px;border:1px solid #0877cc;border-radius:10px;background:#0877cc;color:#fff;text-align:left;font-size:18px;font-weight:700}
.setup-app-buttons img{width:44px;height:44px;object-fit:contain;border-radius:10px;flex:none;background:#fff}
.setup-app-buttons small{display:block;margin-top:4px;font-size:13px;font-weight:400}
.setup-app-buttons button:disabled{cursor:default;background:#edf1f5;color:#576579;border-color:#cad2dc}

.setup-app-buttons button[aria-pressed="false"]{background:#edf1f5;color:#576579;border-color:#cad2dc}
.setup-app-buttons button[aria-pressed="true"]{background:#0877cc;color:#fff;border-color:#0877cc}

/* Onboarding is an isolated modal; background homepage controls are not shown. */
#detail-dialog.setup-modal{background:#fff}
#detail-dialog.setup-modal::backdrop{background:#edf2f8;backdrop-filter:none;-webkit-backdrop-filter:none}
#detail-dialog.setup-modal #guide-image-zoom::backdrop{background:#edf2f8}

/* Approved Gemini-only recommendation screen. */
.gemini-recommendation .dialog-top{display:none}
.gemini-recommendation .dialog-content{padding-top:72px}
.gemini-recommendation .setup-app-buttons{margin-top:64px}
.gemini-recommendation [data-action="gemini-back"]{position:absolute;right:16px;top:12px;display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:88px;gap:6px;padding:8px;font-size:16px;}
.gemini-recommendation [data-action="gemini-back"] svg{width:20px;height:20px;margin:0!important;}

/* Simplified iPhone guide; Android tracker and all original illustrations retained. */
.simple-iphone-guide .simple-iphone-download{margin:8px 0 20px}
.simple-iphone-guide h4{font-size:18px;line-height:1.3;margin:18px 0 12px}
.simple-iphone-guide .guide-download-link{display:flex;align-items:center;justify-content:center;gap:10px;background:#16633b;color:white;text-decoration:none;border-radius:10px;padding:15px 10px;font-weight:bold}
.simple-iphone-guide .guide-download-link svg{flex:none}
.simple-iphone-guide .simple-shortcut{font-size:clamp(11px,3.35vw,14px);white-space:nowrap;margin:8px 0 22px;line-height:1.4}
.simple-iphone-guide .simple-home-context{font-size:14px;margin:0 0 16px}
.simple-iphone-guide figure{scroll-margin-top:20px}
.simple-iphone-after{margin:24px 0}
.simple-iphone-after>h4,.simple-iphone-after .simple-return{background:#e8f3ff;padding:14px;border-left:4px solid #0875e1;font-weight:bold}
.simple-open-chatgpt{display:flex;gap:14px;align-items:center;padding:14px;border:1px solid #bacbdf;border-radius:10px;color:#17345b;font-size:18px;font-weight:bold;text-decoration:none}
.simple-open-chatgpt img{flex:none;width:52px;height:52px}
