/* Shared Lusters menu and dialog surfaces. */
body .global-menu-button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#388bff!important}
body .global-menu-button svg{display:block!important;width:24px!important;height:24px!important;flex:none!important}
body.account-menu-open #lusters-account-menu:not([hidden]){position:fixed!important;display:flex!important;flex-direction:column!important;top:calc(12px + env(safe-area-inset-top,0px))!important;right:12px!important;left:auto!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;width:min(340px,calc(100vw - 24px))!important;height:auto!important;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;margin:0!important;padding:0 18px 8px!important;overflow:auto!important;overscroll-behavior:contain!important;border:1px solid #2a3952!important;border-radius:20px!important;background:#101722!important;color:#edf3ff!important;box-shadow:0 18px 60px #0008!important;transform:none!important;z-index:2300!important;font-family:system-ui!important}
body #lusters-account-menu[hidden]{display:none!important}
body.account-menu-open .global-menu-backdrop:not([hidden]){position:fixed!important;display:block!important;inset:0!important;z-index:2200!important;background:#0009!important;backdrop-filter:blur(3px)!important}
body #lusters-account-menu .simple-menu-title{position:sticky!important;top:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important;min-height:66px!important;padding:10px 0!important;background:#101722!important;border-bottom:1px solid #28354a!important;z-index:1!important}
body #lusters-account-menu .simple-menu-title strong{font:650 19px/1.3 system-ui!important;color:#f0f5ff!important}
body #lusters-account-menu .simple-menu-close{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;padding:0!important;border:0!important;background:none!important;border-radius:8px!important;color:#95a9c9!important;font-size:26px!important;flex:none!important}
body #lusters-account-menu>a:not(.menu-membership),body #lusters-account-menu .menu-more>a,body #lusters-account-menu .menu-more>button,body #lusters-account-menu>.menu-logout,body #lusters-account-menu summary{display:flex!important;align-items:center!important;gap:12px!important;min-height:48px!important;box-sizing:border-box!important;padding:12px 2px!important;margin:0!important;border:0!important;border-bottom:1px solid #202d41!important;border-radius:0!important;background:none!important;color:#dce7fa!important;text-align:left!important;font:450 14px/1.4 system-ui!important;text-decoration:none!important;box-shadow:none!important}
body #lusters-account-menu [hidden]{display:none!important}
body #lusters-account-menu .account-menu-icon{width:19px!important;height:19px!important;flex:none!important;color:#6ca7ff!important}
body #lusters-account-menu>a>span:last-child,body #lusters-account-menu summary>span:last-child{margin-left:auto!important;color:#8297ba!important}
body #lusters-account-menu .menu-membership{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 12px!important;margin:14px 0 4px!important;min-height:66px!important;border:1px solid #2c4771!important;border-radius:13px!important;background:#13223a!important;color:#e6efff!important}
body #lusters-account-menu .menu-membership-copy{display:block!important;flex:1!important}
body #lusters-account-menu .menu-membership-copy strong{font:600 14px system-ui!important}
body #lusters-account-menu .menu-membership-copy small{display:block!important;font:400 11px system-ui!important;color:#9eb4d8!important;margin-top:4px!important}
body #lusters-account-menu>.menu-logout{color:#b0c2df!important;border:0!important}
body #lusters-account-menu>hr{border:0!important;border-top:1px solid #28354a!important;margin:12px 0 0!important}
body #lusters-account-menu .menu-socials a{border:1px solid #2a3952!important;border-radius:10px!important;background:#152034!important;box-shadow:none!important}
body #lusters-account-menu a:hover,body #lusters-account-menu button:hover{filter:brightness(1.12)}
/* All full overlays sit above page headers, chat and navigation. */
body .lusters-dialog-overlay,body .spark-sheet:not([hidden]),body #attachment-sheet:not([hidden]){position:fixed!important;inset:0!important;z-index:4000!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;padding:20px!important;background:#000a!important;backdrop-filter:blur(4px)!important;overflow-y:auto!important;overscroll-behavior:contain!important}
body .spark-sheet[hidden],body #attachment-sheet[hidden]{display:none!important}
body .lusters-dialog-overlay .lusters-dialog,body .spark-sheet .spark-panel,body #attachment-sheet .attachment-panel{position:relative!important;inset:auto!important;transform:none!important;width:min(440px,100%)!important;max-height:calc(100dvh - 40px)!important;overflow-y:auto!important;box-sizing:border-box!important;margin:auto!important;padding:24px!important;border:1px solid #2a3952!important;border-radius:20px!important;background:#101722!important;color:#edf3ff!important;box-shadow:0 18px 60px #0007!important}
body #community-publish,body #community-edit,body #reply-upgrade{width:calc(100% - 40px)!important;max-width:440px!important;max-height:calc(100dvh - 40px)!important;overflow-y:auto!important;box-sizing:border-box!important;padding:24px!important;border:1px solid #2a3952!important;border-radius:20px!important;background:#101722!important;color:#edf3ff!important;box-shadow:0 18px 60px #0007!important}
body #community-publish::backdrop,body #community-edit::backdrop,body #reply-upgrade::backdrop{background:#000a;backdrop-filter:blur(4px)}
body .lusters-dialog h2,body .spark-panel h2,body #attachment-sheet h2,body #community-publish h2,body #community-edit h2,body #reply-upgrade h2{margin:0 30px 12px 0!important;color:#f1f5ff!important;font:650 22px/1.3 system-ui!important;letter-spacing:-.4px!important}
body .lusters-dialog p,body .spark-panel>p,body #community-publish>.community-anon-note,body #community-edit>p{color:#9fb1cd!important;font:400 13px/1.6 system-ui!important}
body .lusters-dialog-mark{display:none!important}
body .lusters-dialog-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:22px!important}
body .lusters-dialog-actions button{box-sizing:border-box!important;min-height:44px!important;padding:12px!important;border:1px solid #31425d!important;border-radius:11px!important;background:#18243a!important;color:#dae7ff!important;font:500 14px system-ui!important;box-shadow:none!important}
body .lusters-dialog-actions [data-dialog-confirm]{background:#146cff!important;border-color:#146cff!important;color:#fff!important}
body .lusters-dialog-actions [data-dialog-confirm].danger{background:#a6334a!important;border-color:#a6334a!important}
body .spark-panel .spark-close,body .spark-panel [data-close-report],body #attachment-sheet .attachment-close,body .community-close,body .reply-upgrade-close{position:absolute!important;top:12px!important;right:12px!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;padding:0!important;background:none!important;border:0!important;border-radius:8px!important;color:#99adcb!important;font-size:26px!important;box-shadow:none!important}
body .spark-panel .spark-choice-list{display:grid!important;gap:10px!important;margin:20px 0 12px!important}
body .spark-panel .spark-choice{display:flex!important;align-items:center!important;gap:12px!important;min-height:52px!important;padding:13px!important;border:1px solid #2b3c56!important;border-radius:12px!important;background:#142035!important;color:#e5eeff!important;text-align:left!important;box-shadow:none!important}
body .spark-panel .spark-choice strong{font:500 14px/1.4 system-ui!important}
body .spark-panel .spark-choice i{display:grid;place-items:center;flex:0 0 26px;font-size:18px!important;background:none!important}
body .spark-panel .spark-choice-note{font:400 11px/1.5 system-ui!important;color:#8198ba!important}
body .lusters-dialog textarea,body .spark-panel textarea,body .spark-panel select{box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:12px!important;border:1px solid #31425d!important;border-radius:10px!important;background:#0c1420!important;color:#edf3ff!important;font:400 16px/1.5 system-ui!important}
@media(max-width:350px){body .lusters-dialog-overlay,body .spark-sheet:not([hidden]),body #attachment-sheet:not([hidden]){padding:12px!important}body .lusters-dialog-overlay .lusters-dialog,body .spark-sheet .spark-panel,body #attachment-sheet .attachment-panel{padding:20px!important;max-height:calc(100dvh - 24px)!important}body #community-publish,body #community-edit,body #reply-upgrade{width:calc(100% - 24px)!important;padding:20px!important}body .lusters-dialog h2,body .spark-panel h2{font-size:20px!important}}
body.account-menu-open #lusters-account-menu:not([hidden]){bottom:auto!important;height:max-content!important}
body .spark-panel .spark-choice i{width:24px!important;height:24px!important;border:0!important;border-radius:0!important;padding:0!important;color:#83b3ff!important}
body .spark-panel .spark-choice i svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
