.install-layer{position:fixed;top:0;right:0;bottom:0;left:0;inset:0;z-index:30;color:#000;pointer-events:none}.install-layer.open{pointer-events:auto}.install-shade{position:absolute;top:0;right:0;bottom:0;left:0;inset:0;background:rgba(17,23,62,.25);opacity:0;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0);transition:.28s}.install-layer.open .install-shade{opacity:1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.install-drawer{box-sizing:border-box;position:absolute;left:0;right:0;bottom:0;width:100%;max-width:640px;height:90vh;max-height:800px;height:min(90dvh,800px);margin:0 auto;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-radius:34px 34px 0 0;background:linear-gradient(180deg,#fbfcff,#eff3ff);box-shadow:0 -24px 64px rgba(47,55,123,.24);transform:translateY(104%);transition:transform .35s cubic-bezier(.22,.8,.26,1);overflow:hidden}.install-layer.open .install-drawer{transform:translateY(0)}
.drawer-handle{width:39px;height:5px;margin:0 auto 7px;border-radius:99px;background:#cbd1e5}.install-header{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.install-brand{display:flex;align-items:center;gap:9px}.install-brand img{width:37px;height:37px;border-radius:11px;box-shadow:0 6px 16px rgba(66,74,142,.2)}.install-brand small,.install-brand strong{display:block}.install-brand small{color:#777f9d;font-size:10px;font-weight:800;letter-spacing:.06em}.install-brand strong{margin-top:2px;color:#232943;font-size:20px;line-height:1.1}.install-header .close{width:40px;height:40px;border:0;border-radius:50%;background:#eef1fb;color:#5d6683;font-size:31px;line-height:1}.install-lead{margin:7px 7px 8px;color:#66718e;font-size:13px;line-height:1.35}
.tutorial-host{display:flex;align-items:center;justify-content:center;width:100%;height:calc(100% - 91px);border-radius:23px;color:#000;background:#e9eef9;box-shadow:0 12px 34px rgba(64,73,139,.16);overflow:hidden;overflow:clip}
.browser-gate-layer{position:fixed;inset:0;z-index:40;pointer-events:none}.browser-gate-layer.open{pointer-events:auto}.browser-gate-shade{position:absolute;inset:0;background:rgba(18,25,64,.3);opacity:0;backdrop-filter:blur(0);transition:.28s}.browser-gate-layer.open .browser-gate-shade{opacity:1;backdrop-filter:blur(7px)}
.browser-gate-card{position:absolute;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:520px;margin:auto;padding:11px 14px 16px;border:1px solid rgba(255,255,255,.8);border-radius:30px;background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(235,240,255,.98));box-shadow:0 28px 80px rgba(46,53,116,.32);transform:translateY(calc(100% + 28px));transition:transform .36s cubic-bezier(.22,.8,.26,1);overflow:hidden}.browser-gate-layer.open .browser-gate-card{transform:translateY(0)}.browser-gate-card::before{content:"";position:absolute;left:-70px;top:-90px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(120,143,245,.23),transparent 68%);pointer-events:none}
.gate-handle{width:40px;height:5px;margin:0 auto 7px;border-radius:99px;background:#cbd2e7}.gate-close{position:absolute;right:13px;top:14px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;color:#5c6683;background:#edf1fb;font-size:28px;line-height:1}.gate-head{position:relative;display:grid;justify-items:center;text-align:center;padding:13px 34px 4px}.gate-safari{width:72px;height:72px;border:7px solid rgba(255,255,255,.96);border-radius:19px;object-fit:cover;box-shadow:0 14px 32px rgba(66,94,191,.2),0 0 0 1px rgba(102,120,205,.08)}.gate-eyebrow{margin-top:13px;color:#6677dc;font-size:11px;font-weight:900;letter-spacing:.16em}.gate-head h2{margin:6px 0 0;color:#202641;font-size:27px;line-height:1.15;letter-spacing:-.03em}.gate-head p{max-width:340px;margin:10px 0 0;color:#68728f;font-size:14px;line-height:1.55}.gate-steps{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:15px 0 12px}.gate-step{min-width:0;padding:10px 6px 9px;border:1px solid rgba(115,126,190,.12);border-radius:17px;background:rgba(255,255,255,.72);text-align:center;box-shadow:0 8px 22px rgba(71,80,145,.07)}.gate-step b{display:grid;place-items:center;width:25px;height:25px;margin:0 auto 6px;border-radius:9px;color:#fff;font-size:12px;background:linear-gradient(135deg,#6f7ce8,#aa66de)}.gate-step strong{display:block;color:#303751;font-size:12px;line-height:1.25;white-space:nowrap}.gate-copy{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:58px;border:0;border-radius:18px;color:#fff;font-size:17px;font-weight:900;background:linear-gradient(110deg,#6579eb,#9965df 58%,#c25ccb);box-shadow:0 14px 30px rgba(112,86,211,.28);transition:transform .15s,filter .15s}.gate-copy:active{transform:scale(.985);filter:brightness(.98)}.gate-copy-icon{position:relative;width:19px;height:19px;border:2px solid currentColor;border-radius:5px}.gate-copy-icon::before{content:"";position:absolute;left:4px;top:-6px;width:13px;height:13px;border:2px solid currentColor;border-radius:5px;background:#8b6bdd}.gate-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:11px 0 0;color:#7a829d;font-size:12px;line-height:1.35;text-align:center}.gate-note::before{content:"✓";display:grid;place-items:center;width:17px;height:17px;border-radius:50%;color:#4eaf8d;background:#e1f6ee;font-size:11px;font-weight:900}.browser-gate-card.copied .gate-copy{background:linear-gradient(110deg,#5867d8,#7d63d7)}.browser-gate-card.copied .gate-note{color:#5f69a2;font-weight:700}
@media(max-height:700px){.install-drawer{height:93vh;height:93dvh;padding-top:6px}.install-lead{margin:5px 7px}.install-brand strong{font-size:18px}.tutorial-host{height:calc(100% - 84px)}}
@media(max-height:650px){.browser-gate-card{padding-top:7px;padding-bottom:11px;border-radius:26px}.gate-head{padding-top:7px}.gate-safari{width:58px;height:58px;border-width:5px;border-radius:16px}.gate-eyebrow{margin-top:8px}.gate-head h2{font-size:24px}.gate-head p{margin-top:6px;font-size:13px}.gate-steps{margin:10px 0 9px}.gate-step{padding:8px 4px 7px}.gate-copy{height:52px}}
@media(max-height:590px){.install-lead{display:none}.tutorial-host{height:calc(100% - 56px)}}
