.pwa-ios-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(4, 4, 10, 0.62);
}
.pwa-ios-sheet {
    width: 100%;
    max-width: 480px;
    padding: 20px 18px calc(16px + env(safe-area-inset-bottom, 0px));
    border: 1px solid #23232f;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    background: #12121a;
    color: #e5e5ef;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}
.pwa-ios-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pwa-ios-head img { border-radius: 10px; flex: 0 0 auto; }
.pwa-ios-head h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 2px; }
.pwa-ios-head p { margin: 0; font-size: 0.82rem; color: #9ca3af; }
.pwa-ios-steps { margin: 0 0 12px; padding-left: 1.3rem; display: grid; gap: 10px; font-size: 0.93rem; line-height: 1.5; }
.pwa-ios-steps b { color: #fff; font-weight: 600; }
.pwa-ios-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    vertical-align: -6px;
    border-radius: 6px;
    background: #1f2937;
    color: #38bdf8;
}
.pwa-ios-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-ios-note { margin: 0 0 14px; font-size: 0.8rem; color: #9ca3af; }
.pwa-ios-close {
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 10px;
    background: #06b6d4;
    color: #0a0a0f;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
}
.login-install {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid #23323a;
    border-radius: 10px;
    background: transparent;
    color: #22d3ee;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}
.login-install[hidden] { display: none; }
.login-install svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pwa-ios-hint {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(var(--m-tabbar-h, 0px) + env(safe-area-inset-bottom, 0px) + 8px);
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px 8px 10px;
    border: 1px solid #23323a;
    border-radius: 12px;
    background: #12121a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
    color: #e5e5ef;
    font-size: 0.85rem;
}
.pwa-ios-hint img { border-radius: 7px; flex: 0 0 auto; }
.pwa-ios-hint span { flex: 1 1 auto; min-width: 0; }
.pwa-ios-hint button { min-height: 40px; border: none; font: inherit; cursor: pointer; }
.pwa-ios-hint-go { white-space: nowrap; padding: 0 12px; border-radius: 8px; background: #06b6d4; color: #0a0a0f; font-weight: 600; }
.pwa-ios-hint-x { min-width: 40px; background: transparent; color: #9ca3af; font-size: 1.3rem; }
