/* "加入主畫面" guide for the iPhone web version. Uses the app's colour tokens from shared/styles.css. */
html.gate-open, html.gate-open body { overflow: hidden; }
html.gate-open .app-shell, html.gate-open #toast { display: none; }
#install-gate { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--bg); color: var(--ink); -webkit-overflow-scrolling: touch; }
.gate-inner { max-width: 520px; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom)); }
.gate-icon { display: block; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 22px #9c735626; }
#install-gate h1 { font-size: 28px; margin: 16px 0 4px; letter-spacing: .04em; }
.gate-lead { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
#install-gate h2 { font-size: 18px; margin: 22px 0 12px; }
.gate-notice { background: #fff4e8; border: 1px solid #e2b48f; border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.gate-notice strong { color: #9a4f2c; }
.gate-notice p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; }
.gate-steps { list-style: none; margin: 0; padding: 0; }
.gate-steps li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.gate-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; }
.gate-step-title { display: flex; gap: 6px; align-items: center; margin: 3px 0 2px; font-size: 16px; font-weight: 600; }
.gate-step-title svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gate-step-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.gate-limits { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; margin-top: 18px; }
.gate-limits p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 10px 0; }
.gate-try { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--green); font-size: 15px; font-weight: 600; padding: 12px 16px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
