#member-chat-widget{position:fixed;z-index:9980;inset:auto 22px 22px auto;color:#19302c;font:14px/1.4 system-ui,sans-serif}
#member-chat-widget button{font:inherit;cursor:pointer;border:0;border-radius:8px;min-width:36px;min-height:36px}
#member-chat-widget [hidden]{display:none!important}
.mcw-launch{background:#145344;color:#fff;padding:8px 16px;box-shadow:0 3px 16px #10261b55}
.mcw-panel{display:flex;flex-direction:column;width:min(420px,calc(100vw - 32px));height:min(640px,calc(100dvh - 44px));background:#edf5f0;overflow:hidden;border-radius:13px;box-shadow:0 5px 25px #081e1c62}
.mcw-toolbar{display:flex;align-items:center;gap:5px;padding:6px 8px 6px 14px;background:#145344;color:white}
.mcw-toolbar strong{flex:1}
.mcw-toolbar button{background:#e8f5ed;color:#145344}
.mcw-panel iframe{display:block;flex:1;width:100%;border:0;min-height:0;background:#edf5f0}
.mcw-maximized .mcw-panel{width:min(860px,calc(100vw - 44px));height:calc(100dvh - 44px)}
.mcw-unread{display:inline-block;color:#ffcd67;margin-left:5px}
.mcw-alert .mcw-unread,.mcw-alert .mcw-toolbar strong{animation:mcw-pulse .85s ease-in-out 6}
@keyframes mcw-pulse{50%{opacity:.42}}
@media(max-width:650px){
 #member-chat-widget{right:12px;bottom:calc(70px + env(safe-area-inset-bottom))}
 .mcw-panel{width:min(420px,calc(100vw - 24px));height:min(635px,calc(100dvh - 92px - env(safe-area-inset-bottom)))}
 .mcw-maximized .mcw-panel{width:calc(100vw - 24px);height:calc(100dvh - 92px - env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.mcw-alert .mcw-unread,.mcw-alert .mcw-toolbar strong{animation:none}}

.mcw-guest-frame{margin:0;width:100%;height:100dvh;overflow:hidden;background:#edf5f0}
.mcw-guest-frame iframe{display:block;width:100%;height:100%;border:0}
