/* Original wide Yushukeji layout, shared by kachong, iOS and Google. */
body{padding-left:0!important;padding-bottom:0!important;background:linear-gradient(135deg,#effcf9 0%,#f7fbfc 48%,#edf8ff 100%)!important}.shell{width:min(1224px,calc(100% - 16px))!important;margin:10px auto 0!important;padding:0 0 24px!important}.header-card,.panel,.result,.footer-card{border-color:rgba(0,201,183,.2)!important;background:rgba(255,255,255,.94)!important;box-shadow:0 22px 55px rgba(2,95,117,.1)!important}.header-card{width:100%!important;border-radius:28px 28px 0 0!important;border-bottom-color:rgba(0,201,183,.12)!important;box-shadow:none!important}.header-card:after{display:none!important}.topbar{display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(520px,650px) minmax(150px,1fr)!important;align-items:center!important;gap:20px!important;min-height:126px!important;padding:24px 42px!important;border-bottom:1px solid rgba(0,201,183,.12)!important}.brand{gap:15px!important}.logo{width:55px!important;height:55px!important;padding:2px!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important}.logo img{display:block;width:100%;height:100%;object-fit:contain}.brand strong{font-size:24px!important;line-height:1.15}.brand small{margin-top:5px!important;font-size:15px!important}.payment-cluster{width:100%;display:grid;grid-template-columns:126px minmax(300px,1fr) 126px;align-items:center;justify-content:center;gap:28px}.payment-mark{height:68px;border:0;background-color:transparent;background-image:url('/visa-mastercard-logos.png');background-repeat:no-repeat;mix-blend-mode:multiply;pointer-events:none}.visa-mark{width:126px;background-size:252px 96px;background-position:-13px -17px}.mastercard-mark{width:126px;background-size:218px 84px;background-position:-119px -9px}.service-switch{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:300px;padding:6px;border:1px solid var(--line);border-radius:15px;background:rgba(247,255,252,.94)}.service-switch a{flex:1;padding:14px 13px;border-radius:10px;color:var(--muted);font-size:18px;font-weight:700;text-align:center;text-decoration:none;white-space:nowrap}.service-switch a.active{color:#fff;background:linear-gradient(110deg,var(--green),var(--teal) 52%,var(--blue));box-shadow:0 8px 18px rgba(0,173,169,.19)}.topbar .queue,.topbar .inventory-badge{justify-self:end!important;padding:11px 17px!important;font-size:15px!important;white-space:nowrap}.header-card>.tabs{position:relative;z-index:2;margin:26px auto 20px!important;padding:6px!important;border-radius:15px!important;background:rgba(247,255,252,.94)!important}.header-card>.tabs button{padding:13px 28px!important;font-size:17px!important}.header-card .progress-steps{margin:0 35px 28px!important;padding:26px 32px!important;border-radius:20px!important}.progress-item{grid-template-columns:44px auto!important;min-width:185px!important;column-gap:12px!important}.progress-item>span{width:44px!important;height:44px!important;font-size:18px!important}.progress-item b{font-size:17px!important}.progress-item small{font-size:13px!important}.progress-line{margin:0 18px!important}.header-card~.tab-panel,.header-card~.tab-panel.active{width:100%!important;max-width:none!important;min-height:410px;margin:-1px auto 0!important;padding:72px 52px 46px!important;border-radius:0 0 28px 28px!important;border-top-color:transparent!important}.notice{width:100%!important;max-width:none!important}.step{gap:20px!important;margin-bottom:34px!important}.step>span{flex:0 0 52px!important;height:52px!important;font-size:20px!important}.step h2,.panel h2{font-size:28px!important}.step p{font-size:17px!important}.second{margin-top:34px!important}form{gap:21px!important}label{font-size:17px!important}input,textarea{border-radius:14px!important;padding:18px 20px!important;font-size:17px!important}input{min-height:64px}.primary{min-height:64px;border-radius:14px!important;padding:17px!important;font-size:19px!important}.success{padding:16px 19px!important;border-radius:14px!important;font-size:17px}.footer-card{width:100%!important;max-width:none!important;margin:24px auto 0!important;padding:21px!important;border-radius:28px!important;font-size:14px!important}.result{width:100%!important;max-width:none!important;padding:36px 52px!important}.google-header:before{height:5px}.google-brand-mark{display:grid;place-items:center;width:72px;height:72px;font:800 52px/1 Arial,sans-serif;color:#4285f4;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.google-pay-mark{display:flex;align-items:center;justify-content:center;gap:5px;width:126px;font:700 30px/1 Arial,sans-serif;color:#4b5563}.google-pay-mark b{font-size:42px;color:#4285f4}.google-pay-mark span{letter-spacing:-.04em}.ios-payment-mark{height:78px;background-image:url('/apple-appstore-marks.png');background-repeat:no-repeat;background-color:transparent;pointer-events:none}.ios-cluster .apple-mark{width:126px;background-size:228px 78px;background-position:-12px 0}.ios-cluster .appstore-mark{width:126px;background-size:228px 78px;background-position:-119px 0}.progress-item.completed{color:#009f9c}.progress-item.completed>span{border-color:var(--teal)!important;color:transparent!important;background:var(--soft)!important;position:relative}.progress-item.completed>span:after{content:'✓';position:absolute;color:#009f9c;font-size:22px;font-weight:900}
@media(max-width:1050px){.topbar{grid-template-columns:1fr auto!important}.payment-cluster{grid-column:1/-1;grid-row:2;width:min(680px,100%);justify-self:center}.payment-mark,.google-brand-mark,.google-pay-mark,.ios-payment-mark{display:none}.payment-cluster{grid-template-columns:1fr}.topbar .queue,.topbar .inventory-badge{grid-column:2;grid-row:1}.brand strong{font-size:20px!important}.service-switch{min-width:0}.header-card~.tab-panel,.header-card~.tab-panel.active{padding:52px 36px 38px!important}}
@media(max-width:650px){.shell{width:min(100% - 12px,1224px)!important;margin-top:6px!important}.header-card{border-radius:20px 20px 0 0!important}.topbar{display:flex!important;flex-wrap:wrap;min-height:0!important;padding:15px!important;gap:12px!important}.brand{flex:1;min-width:210px}.brand strong{font-size:17px!important}.brand small{display:block!important;font-size:11px!important}.logo{width:45px!important;height:45px!important}.topbar .queue,.topbar .inventory-badge{margin-left:auto!important;padding:8px 10px!important;font-size:11px!important}.payment-cluster{order:3;width:100%;display:block}.service-switch{width:100%;padding:5px}.service-switch a{padding:10px 5px;font-size:14px}.header-card>.tabs{width:calc(100% - 20px)!important;margin:15px auto 12px!important}.header-card>.tabs button{flex:1;padding:10px 4px!important;font-size:13px!important}.header-card .progress-steps{margin:0 8px 14px!important;padding:14px 7px!important;border-radius:14px!important}.progress-item{display:flex!important;flex-direction:column;align-items:center;min-width:0!important;text-align:center;gap:4px}.progress-item>span{width:34px!important;height:34px!important;font-size:14px!important}.progress-item b{font-size:12px!important}.progress-item small{display:none}.progress-line{margin:0 5px!important}.header-card~.tab-panel,.header-card~.tab-panel.active{min-height:360px;padding:34px 18px 28px!important;border-radius:0 0 20px 20px!important}.step{gap:13px!important;margin-bottom:24px!important}.step>span{flex-basis:42px!important;height:42px!important;font-size:16px!important}.step h2,.panel h2{font-size:22px!important}.step p{font-size:13px!important}label{font-size:14px!important}input,textarea{padding:14px 15px!important;font-size:15px!important}input{min-height:52px}.primary{min-height:52px;font-size:16px!important}.result{padding:24px 18px!important}.footer-card{border-radius:20px!important}.footer-card span{display:block!important}}

/* Keep the original header proportions at common 1366–1600px viewports. */
@media(min-width:1051px){.topbar{grid-template-columns:320px minmax(540px,1fr) 170px!important;padding-left:32px!important;padding-right:32px!important;gap:16px!important}.brand{white-space:nowrap}.brand strong{font-size:22px!important}.brand small{font-size:14px!important}.payment-cluster{grid-template-columns:110px minmax(300px,1fr) 110px;gap:20px}.payment-mark{height:68px}.visa-mark{width:110px;background-size:220px 84px;background-position:-11px -15px}.mastercard-mark{width:110px;background-size:190px 73px;background-position:-104px -8px}.google-brand-mark{width:60px;height:68px;font-size:48px}.google-pay-mark{width:110px;font-size:27px}.google-pay-mark b{font-size:38px}.ios-cluster .apple-mark,.ios-cluster .appstore-mark{width:110px}.ios-cluster .apple-mark{background-size:210px 72px;background-position:-12px 0}.ios-cluster .appstore-mark{background-size:210px 72px;background-position:-109px 0}}

.google-play-wordmark{display:flex;align-items:center;justify-content:center;gap:5px;width:126px;white-space:nowrap;font:700 18px/1.05 "Segoe UI",Arial,sans-serif;letter-spacing:-.04em}.google-play-wordmark i{font-style:normal}.google-word i:nth-child(1),.google-word i:nth-child(4),.play-word i:nth-child(4){color:#4285f4}.google-word i:nth-child(2),.google-word i:nth-child(6),.play-word i:nth-child(2){color:#ea4335}.google-word i:nth-child(3),.play-word i:nth-child(3){color:#fbbc05}.google-word i:nth-child(5),.play-word i:nth-child(1){color:#34a853}.google-play-logo{display:grid;place-items:center;width:126px;height:72px}.google-play-logo svg{display:block;width:72px;height:72px;filter:drop-shadow(0 5px 8px rgba(60,64,67,.16))}.play-blue{fill:#00a0ff}.play-green{fill:#00d780}.play-yellow{fill:#ffcb05}.play-red{fill:#f63b50}@media(min-width:1051px){.google-play-wordmark{width:110px;font-size:16px}.google-play-logo{width:110px;height:68px}.google-play-logo svg{width:66px;height:66px}}@media(max-width:1050px){.google-play-wordmark,.google-play-logo{display:none}}

/* Give the account-review dialog room for two-column details while staying fluid on small screens. */
#accountModal>.modal-card,#iosAccountModal>.modal-card,#googleAccountModal>.modal-card{width:852px;max-width:calc(100vw - 40px)}
#errorModal>.modal-card{width:520px;max-width:calc(100vw - 40px)}
#errorModalTitle{color:#c43850}
.error-modal-message{margin:14px 0 22px;color:#6e4650;font-size:17px;line-height:1.7;overflow-wrap:anywhere}
#closeErrorModalBtn{width:100%}
.modal-confirm-row{margin:0}.modal-confirm-row.hidden{display:none!important}.modal-confirm-row input[type=checkbox]{width:18px!important;height:18px;min-height:0;margin:2px 0 0!important;box-shadow:none!important;accent-color:var(--teal)}
#iosAccountModal .account-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;overflow:visible;border:0;background:transparent}
#iosAccountModal .account-preview>div{display:grid;grid-template-columns:1fr;gap:4px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#f8fcfc;text-align:left}
#iosAccountModal .account-preview span{font-size:12px;color:var(--muted)}
#iosAccountModal .account-warning{grid-column:1/-1}
@media(max-width:620px){#iosAccountModal .account-preview{grid-template-columns:1fr}}
.session-guide{margin:0 0 20px;padding:14px 16px;border:1px solid rgba(0,201,183,.24);border-radius:12px;color:#466f7d;background:linear-gradient(135deg,#f3fffb,#f5fbff);font-size:14px;line-height:1.7}.session-guide a{color:#008fa2;font-weight:700;text-decoration:none;overflow-wrap:anywhere}.session-guide a:hover{text-decoration:underline}

/* One completion layout for card, iOS and Google. Only the channel data changes. */
.completion-view .security-strip{display:none}
.completion-panel.terminal{padding:12px!important;text-align:center}
.completion-panel.terminal .waiting-spinner{display:none}
.completion-panel.terminal h2{margin:14px 0 8px!important;color:var(--ink)!important;font-size:28px!important}
.completion-panel.terminal>p{max-width:600px;margin:0 auto 20px!important;color:var(--muted);line-height:1.7}
.completion-panel.terminal .waiting-task-info{width:min(960px,100%);max-width:960px;margin:18px auto 6px}
.completion-panel.terminal .waiting-task-info>div{display:grid;gap:4px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#f8fcfc;text-align:left}
.completion-panel.terminal .waiting-task-info span{font-size:12px;color:var(--muted)}
.completion-panel.terminal .completion-restart{display:block;width:min(1002px,100%);margin:20px auto 0}
.completion-panel.terminal #manualRefreshBtn,.completion-panel.terminal #googleQueryNowBtn{display:none}

/* Tighten the first content row after the progress bar on the credential step. */
@media(min-width:651px){#credentialStage>#credentialGuide{margin-top:-18px}}
@media(min-width:651px){#accountStage>.session-guide{margin-top:-18px}}
@media(min-width:651px){#googleAccountStage>.session-guide{margin-top:-18px}}

/* Match the original kachong verification card: compact, centered and action-led. */
#challengePanel{max-width:650px;margin:22px auto 0;padding:20px;border:1px solid rgba(0,139,214,.28);border-radius:14px;background:linear-gradient(135deg,#f7fffc,#f3f8ff);text-align:left}
#challengePanel h3{margin:0 0 6px;color:#087e9a}
#challengePanel p{margin:0;color:var(--muted);line-height:1.7}
#challengePanel .primary{display:block;width:100%;margin:16px auto 0}
