.fm-chat-share {margin-top:14px;padding:14px;background:#151515;border:1px solid #333;border-radius:14px;color:#eee;}
.fm-chat-share label {display:block;font-size:12px;font-weight:700;margin-bottom:8px;}
.fm-chat-share-row {display:flex;gap:8px;align-items:center;min-width:0;}
.fm-chat-share input {min-width:0;flex:1;width:100%;padding:9px 10px;background:#080808;border:1px solid #444;border-radius:8px;color:#ddd;font-size:12px;}
.fm-chat-share button,.fm-chat-share a {flex-shrink:0;border:1px solid #555;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:700;background:#ec4899;color:#fff;text-decoration:none;cursor:pointer;}
.fm-chat-share a {background:#222;}
.fm-copy-status {display:block;font-size:11px;color:#a3a3a3;min-height:16px;margin-top:6px;}
.fm-shortcut-button {border:1px solid #444;border-radius:999px;background:#191919;color:#fff;padding:7px 10px;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer;}
.fm-shortcuts-dialog {position:fixed;inset:0;z-index:1000;background:#141414;color:#fff;border:1px solid #444;border-radius:22px;padding:22px;width:calc(100% - 28px);max-width:460px;max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;margin:auto;}
.fm-shortcuts-dialog::backdrop {background:#000b;}
.fm-shortcuts-dialog[open] {display:block;}
.fm-shortcuts-dialog:not([open]) {display:none;}
.fm-shortcuts-head {display:flex;justify-content:space-between;align-items:center;gap:12px;}
.fm-shortcuts-head h2 {margin:0;font-size:20px;font-weight:800;}
.fm-shortcuts-head button {border:1px solid #555;background:#222;color:#fff;border-radius:8px;padding:7px 10px;cursor:pointer;}
.fm-shortcuts-dialog p {font-size:13px;line-height:1.7;color:#bbb;margin:14px 0;}
.fm-shortcuts-actions {display:grid;gap:10px;margin:18px 0;}
.fm-shortcuts-actions a,.fm-shortcuts-actions button {display:block;width:100%;border:1px solid #454545;border-radius:12px;padding:12px;background:#222;color:#fff;text-align:center;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer;box-sizing:border-box;}
.fm-shortcuts-actions .fm-shortcut-primary {background:#ec4899;border-color:#ec4899;}
.fm-shortcut-url {width:100%;box-sizing:border-box;min-width:0;background:#090909;border:1px solid #444;color:#ddd;border-radius:10px;padding:10px;font-size:12px;}
.fm-install-help {border:1px solid #444;background:#0b0b0b;border-radius:12px;padding:12px;font-size:12px;line-height:1.8;color:#ddd;margin-top:12px;}
.fm-install-help[hidden] {display:none;}
#shortcutStatus {min-height:36px;color:#f9a8d4;}
@media(max-width:480px) {.fm-chat-share-row{flex-wrap:wrap;}.fm-chat-share input{flex-basis:100%;}.fm-chat-share a,.fm-chat-share button{flex:1;text-align:center;}}
button:focus-visible,a:focus-visible,input:focus-visible {outline:2px solid #f472b6;outline-offset:2px;}
.fm-install-dialog {position:fixed;inset:0;margin:auto;padding:24px;width:calc(100% - 28px);max-width:440px;max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;border:1px solid #555;border-radius:24px;background:#15151b;color:#fff;z-index:1100;font-family:inherit;}
.fm-install-dialog::backdrop {background:#000c;}
.fm-install-dialog:not([open]) {display:none;}
.fm-install-top {display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;}
.fm-install-app-icon {display:grid;place-items:center;background:#ec4899;font-size:32px;width:54px;height:54px;border-radius:15px;}
.fm-install-top button {background:#282832;border:1px solid #555;color:#fff;padding:8px 12px;border-radius:10px;cursor:pointer;}
.fm-install-dialog h2 {font-size:23px;font-weight:800;line-height:1.4;margin:0 0 10px;}
.fm-install-dialog p {font-size:14px;line-height:1.7;color:#bcbcc8;margin:8px 0 20px;}
.fm-install-guide {display:grid;gap:12px;}
.fm-install-step {display:flex;align-items:center;gap:12px;min-height:92px;padding:15px 13px;border:1px solid #49404e;background:#24202b;border-radius:16px;}
.fm-install-number {display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#ec4899;color:#fff;font-size:16px;font-weight:800;}
.fm-install-step b {font-size:32px;font-weight:600;flex:none;}
.fm-install-step strong {font-size:17px;line-height:1.5;word-break:keep-all;}
.fm-install-primary {display:block;background:#ec4899;border-radius:12px;padding:14px;text-align:center;color:#fff;font-weight:800;text-decoration:none;margin-top:16px;}
.fm-install-dialog [hidden] {display:none!important;}
#chatInstallCopyBlock {margin-top:16px;}
#chatInstallCopyUrl {box-sizing:border-box;width:100%;padding:10px;background:#080808;border:1px solid #555;border-radius:8px;color:#ddd;font-size:12px;}
#chatInstallCopy {padding:10px 14px;border:1px solid #555;background:#282832;color:#fff;border-radius:9px;margin-top:8px;cursor:pointer;}
.fm-install-dialog .fm-install-foot {font-size:12px;margin:18px 0 0;color:#a3a3b5;}
#chatInstallStatus {font-size:13px;line-height:1.7;color:#f9a8d4;}
