.fmInstallEntry{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--accent,#7a1d5e);font-family:var(--fm-font,system-ui);font-size:12px;font-weight:600;cursor:pointer}
.fmInstallEntry svg,#fmInstallDialog svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fmInstallEntry[hidden],#fmInstallDialog [hidden]{display:none!important}
.fmInstallEntry:focus-visible,#fmInstallDialog button:focus-visible{outline:2px solid #a7598f;outline-offset:3px}
#modal[data-auth-screen="welcome"] .fmInstallWelcome{display:flex;width:100%;padding:10px 12px;min-height:42px;margin:5px 0 0;border:1px solid #ead8e5;border-radius:14px;background:#faf4f8;color:#7a1d5e;line-height:1.3;font-size:12px}
.fmPremium.liveMode .pageHeading .fmInstallInbox{margin-left:auto;flex:none;min-height:36px;padding:7px 11px;border:1px solid var(--line);background:var(--panel,#fff);border-radius:20px;font-size:11px}
.fmInstallInbox svg{width:16px;height:16px}
.fmActions .fmInstallEntry{width:100%}
#fmInstallDialog{box-sizing:border-box;width:440px;max-width:calc(100vw - 24px);max-height:calc(var(--visible-height,100dvh) - 24px);padding:26px;border:1px solid var(--line,#ecdfea);border-radius:28px;background:var(--panel,#fff);color:var(--ink,#30212c);box-shadow:0 28px 90px #2914243d;overflow-y:auto;overscroll-behavior:contain;font-family:var(--fm-font,system-ui);text-align:left}
#fmInstallDialog *{box-sizing:border-box}
#fmInstallDialog::backdrop{background:#23151f77;backdrop-filter:blur(8px)}
#fmInstallDialog .fmInstallClose{display:grid;place-items:center;position:absolute;top:14px;right:14px;width:36px;height:36px;min-height:36px;border:0;border-radius:50%;padding:0;background:var(--bg,#faf6f9);color:var(--muted,#786b75)}
.fmInstallHero{padding-right:18px;margin-bottom:24px}
.fmInstallHero img{display:block;width:62px;height:62px;border-radius:17px;margin:0 0 18px;box-shadow:0 5px 16px #7a1d5e17}
#fmInstallDialog .fmInstallEyebrow{display:block;font-size:10px;letter-spacing:1.5px;font-weight:600;color:var(--accent,#7a1d5e);margin-bottom:8px}
#fmInstallDialog h2{font-size:29px;line-height:1.12;font-weight:650;letter-spacing:-1.2px;margin:0 0 12px;outline:none}
#fmInstallDialog h2,#fmInstallDialog h3{font-family:inherit}
#fmInstallDialog p{font-size:13px;line-height:1.55;margin:0;color:var(--muted,#786b75)}
.fmInstallSteps{display:grid;gap:17px}
.fmInstallSteps>div{display:flex;align-items:flex-start;gap:12px}
.fmInstallNumber{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:9px;background:var(--accentSoft,#fbeaf6);color:var(--accent,#7a1d5e);font-size:12px;font-weight:700;margin-top:1px}
#fmInstallDialog h3{font-size:14px;font-weight:600;line-height:1.4;margin:0 0 4px}
#fmInstallDialog .fmInstallSteps p{font-size:12px}
#fmInstallDialog .fmInstallSteps svg{display:inline-block;width:15px;height:15px;vertical-align:-3px;color:var(--accent,#7a1d5e)}
.fmInstallFooter{margin-top:24px;padding-top:18px;border-top:1px solid var(--line,#ecdfea)}
#fmInstallDialog .fmInstallFooter button{display:block;width:100%;min-height:46px;border-radius:15px;margin:0 0 9px;padding:11px 14px;font-size:13px;font-family:inherit;font-weight:600}
#fmInstallNative{background:linear-gradient(120deg,#8d286e,#67154e);color:#fff;border:0}
#fmInstallCopy{border:1px solid var(--line,#ecdfea);background:var(--bg,#faf6f9);color:var(--accent,#7a1d5e)}
#fmInstallDialog .fmInstallFooter small{display:block;font-size:11px;text-align:center;color:var(--muted,#786b75);line-height:1.5}
#fmInstallDialog #fmInstallStatus{font-size:12px;margin:9px 0;overflow-wrap:anywhere}
#fmInstallDialog #fmInstallStatus:empty{display:none}
@media(max-width:359px){#fmInstallDialog{padding:23px 20px}.fmInstallHero{margin-bottom:20px}#fmInstallDialog h2{font-size:26px}.fmInstallSteps{gap:14px}.fmInstallHero img{width:54px;height:54px;margin-bottom:14px}}
@media(display-mode:standalone){.fmInstallEntry{display:none!important}}
