.ios-guide-page { min-height: 100vh; background: #f7f9fc; }
.ios-account-dialog { width: min(480px, calc(100% - 32px)); max-height: 85vh; margin: auto; padding: 26px; overflow: auto; border: 1px solid #e5e7eb; border-radius: 16px; color: #334155; background: #fff; box-shadow: 0 20px 60px rgba(15,23,42,.2); }
.ios-account-dialog::backdrop { background: rgba(15,23,42,.45); }
.ios-account-dialog h2 { margin: 0 0 14px; font-size: 21px; }
.ios-account-warning { color: #b91c1c; font-size: 14px; line-height: 1.7; }
.ios-account-dialog dt { margin-top: 14px; color: #64748b; font-size: 14px; }
.ios-account-dialog dd { margin: 5px 0 0; padding: 10px 12px; background: #f8fafc; border-radius: 8px; overflow-wrap: anywhere; user-select: text; }
.ios-account-dialog .btn { width: 100%; margin-top: 24px; }
.ios-guide-main { max-width: 860px; padding-top: 54px; padding-bottom: 80px; }
.ios-back { min-height: 40px; padding: 7px 16px; }
.ios-guide-hero { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; padding: 34px; color: #fff; background: linear-gradient(135deg, #111827, #334155); border-radius: 18px; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); }
.ios-guide-icon { flex: 0 0 auto; display: grid; place-items: center; width: 74px; height: 74px; color: #111827; background: #fff; border-radius: 20px; }
.ios-guide-icon svg { width: 45px; height: 45px; }
.ios-guide-kicker { margin: 0 0 4px; color: #cbd5e1; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ios-guide-hero h1 { margin: 0 0 7px; font-size: clamp(27px, 5vw, 40px); line-height: 1.2; }
.ios-guide-hero p:last-child { margin: 0; color: #e2e8f0; }
.ios-prerequisite { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 24px 28px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 14px; }
.ios-prerequisite strong, .ios-prerequisite span { display: block; }
.ios-prerequisite strong { margin-bottom: 4px; color: #1d4ed8; font-size: 17px; }
.ios-prerequisite span { color: #475569; font-size: 14px; }
.ios-prerequisite .btn { flex: 0 0 auto; }
.ios-steps { overflow: hidden; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 12px 34px rgba(15, 23, 42, .05); }
.ios-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 28px 30px; border-bottom: 1px solid #eef2f7; }
.ios-step:last-child { border-bottom: 0; }
.ios-step-number { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: #3b82f6; border-radius: 50%; font-size: 17px; font-weight: 800; }
.ios-step h2 { margin: 2px 0 7px; color: #1e293b; font-size: 19px; }
.ios-step p { margin: 0; color: #64748b; font-size: 15px; line-height: 1.75; }
.ios-step h3 { margin: 22px 0 10px; color: #334155; font-size: 16px; line-height: 1.6; }
.ios-login-list { margin: 10px 0 18px; padding-left: 22px; color: #475569; font-size: 15px; line-height: 1.8; }
.ios-login-list li { margin-bottom: 9px; overflow-wrap: anywhere; }
.ios-login-note { margin: 16px 0; padding: 16px 18px; border: 1px solid; border-left-width: 4px; border-radius: 10px; overflow-wrap: anywhere; }
.ios-login-note strong { display: block; margin-bottom: 6px; font-size: 15px; line-height: 1.6; }
.ios-login-danger { color: #b91c1c; background: #fff1f2; border-color: #fecdd3; border-left-color: #dc2626; }
.ios-login-caution { color: #854d0e; background: #fffbeb; border-color: #fde68a; border-left-color: #f59e0b; }
.ios-login-note p { color: inherit; font-size: 14px; }
.ios-step .ios-login-check { margin-top: 16px; color: #475569; font-size: 14px; }
.ios-service-code { color: #ef2929; font-weight: 800; }
.ios-step-image { display: block; width: min(100%, 400px); height: auto; margin-top: 18px; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 5px 16px rgba(15, 23, 42, .08); }
.ios-store-link { display: inline-block; margin-top: 10px; color: #2563eb; font-weight: 700; }
.ios-store-link:hover { text-decoration: underline; }
.ios-warning { margin-top: 24px; padding: 24px 28px; color: #991b1b; background: #fff1f2; border: 1px solid #fecdd3; border-left: 5px solid #ef4444; border-radius: 12px; }
.ios-warning h2 { margin: 0 0 10px; font-size: 19px; }
.ios-warning p { margin: 7px 0; font-size: 14px; font-weight: 650; line-height: 1.65; }
.ios-guide-page .site-footer { background: #fff; }
.ios-guide-page .footer-inner a { color: #2563eb; font-weight: 700; }
@media (max-width: 620px) {
  .ios-guide-main { padding-top: 28px; padding-bottom: 54px; }
  .ios-guide-hero { align-items: flex-start; padding: 26px 22px; }
  .ios-guide-icon { width: 58px; height: 58px; border-radius: 16px; }
  .ios-guide-icon svg { width: 34px; height: 34px; }
  .ios-prerequisite { align-items: stretch; flex-direction: column; padding: 22px; }
  .ios-prerequisite .btn { width: 100%; }
  .ios-step { grid-template-columns: 36px minmax(0, 1fr); gap: 13px; padding: 23px 20px; }
  .ios-step-number { width: 34px; height: 34px; }
  .ios-warning { padding: 22px 20px; }
}
@media (max-width: 420px) {
  .ios-guide-hero { display: block; }
  .ios-guide-icon { margin-bottom: 18px; }
  .ios-back { padding-inline: 12px; font-size: 13px; }
}
