/* GoLive V7.5.2: message actions, pinned notice, and theme-safe lobby controls. */
#roomPinnedMessage[hidden]{display:none!important}
.room-pinned-message{position:sticky;top:0;z-index:12;display:flex;align-items:center;gap:10px;padding:11px 13px;margin:0 0 9px;border-radius:12px;background:#222b46;color:#fff;border:1px solid #6a71a0;box-shadow:0 3px 12px #0002;font-size:13px;line-height:1.4}
.room-pinned-message #roomPinnedBody{flex:1;min-width:0;overflow-wrap:anywhere}
.room-pinned-message #roomPinnedClear{flex:none;border:0;background:transparent;color:inherit;font-size:22px;cursor:pointer;min-width:28px;min-height:32px}
.chat-msg .v7-msg-reply,.chat-msg .gl-msg-react,.chat-msg .gl-msg-pin{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:8px!important;min-width:30px;min-height:30px;padding:3px 5px!important;color:inherit!important;font-size:14px!important;line-height:1!important;opacity:.78;vertical-align:middle;cursor:pointer}
.chat-msg .gl-msg-react.is-reacted{color:#d92d69!important;opacity:1}
.chat-msg .gl-msg-react:hover,.chat-msg .gl-msg-pin:hover,.chat-msg .v7-msg-reply:hover{background:rgba(127,127,127,.13)!important;opacity:1}
/* Make all labels readable within deeply colored collapsible cards in dark mode. */
:root[data-theme="dark"] body.golive-spaces #lobby .earnings-card,
:root[data-theme="dark"] body.golive-spaces #lobby .create-house{color:#f0f4ff!important;background:#141c2f!important;border-color:#2b3b57!important}
:root[data-theme="dark"] body.golive-spaces #lobby .earnings-card strong,
:root[data-theme="dark"] body.golive-spaces #lobby .create-house strong,
:root[data-theme="dark"] body.golive-spaces #lobby .earnings-card .collapse-head,
:root[data-theme="dark"] body.golive-spaces #lobby .create-house .collapse-head{color:#f5f7ff!important;opacity:1!important}
:root[data-theme="dark"] body.golive-spaces #lobby .earnings-card .hint,
:root[data-theme="dark"] body.golive-spaces #lobby .create-house .collapse-hint{color:#bbc8df!important;opacity:1!important}
:root[data-theme="dark"] body.golive-spaces #lobby .earnings-card .collapse-body,
:root[data-theme="dark"] body.golive-spaces #lobby .create-house .collapse-body{color:#e9eefa!important}
:root[data-theme="light"] body.golive-spaces #lobby .earnings-card,
:root[data-theme="light"] body.golive-spaces #lobby .create-house{color:#152238!important;background:#f7f8fd!important;border-color:#d6deeb!important}
:root[data-theme="light"] body.golive-spaces #lobby .earnings-card strong,
:root[data-theme="light"] body.golive-spaces #lobby .create-house strong,
:root[data-theme="light"] body.golive-spaces #lobby .earnings-card .collapse-head,
:root[data-theme="light"] body.golive-spaces #lobby .create-house .collapse-head{color:#152238!important;opacity:1!important}
:root[data-theme="light"] body.golive-spaces #lobby .create-house .collapse-hint{color:#52627d!important;opacity:1!important}
@media(max-width:600px){.chat-msg .v7-msg-reply,.chat-msg .gl-msg-react,.chat-msg .gl-msg-pin{min-width:30px;min-height:32px}.room-pinned-message{font-size:12px}}

/* V7.5.3 — contextual message controls, inspired by supplied reference screenshots. */
.chat-msg{position:relative!important;min-width:0;overflow:visible!important;cursor:pointer;border-radius:14px!important;}
.chat-msg .del,.chat-msg .v7-msg-reply,.chat-msg .gl-msg-react,.chat-msg .gl-msg-pin{display:none!important}
.chat-msg.gl-selected{isolation:isolate;background:rgba(85,113,170,.12)!important}
.chat-msg .gl-context-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px}
.chat-msg .gl-context-actions[hidden],.chat-msg .gl-message-emoji[hidden],.chat-msg .gl-message-react-summary[hidden]{display:none!important}
.chat-msg .gl-action{font-family:inherit!important;font-weight:600!important;font-size:12px!important;line-height:1.2!important;padding:8px 12px!important;min-height:34px;border:0!important;border-radius:100px!important;background:#292b33!important;color:#e7e9f0!important;box-shadow:none!important;cursor:pointer}
.chat-msg .gl-action-pin{background:#2563eb!important;color:white!important}
.chat-msg .gl-action-delete{color:#ff9b9b!important}
.chat-msg .gl-message-emoji{display:flex;max-width:max-content;gap:2px;margin:8px 0 4px;padding:4px 6px;border-radius:100px;background:#1f293b;color:#fff;box-shadow:0 4px 12px #0002}
.chat-msg .gl-message-emoji button{font-size:20px!important;min-width:32px;min-height:34px;padding:3px;border:0!important;background:transparent!important;cursor:pointer;border-radius:100px}
.chat-msg .gl-message-emoji button:hover,.chat-msg .gl-message-emoji button:focus-visible{background:#ffffff20!important}
.chat-msg .gl-message-react-summary{display:inline-flex;margin-left:8px;padding:3px 9px;border-radius:100px;background:#29354b;color:#fff;font-size:12px}
:root[data-theme="light"] .chat-msg .gl-action:not(.gl-action-pin){background:#ecedf3!important;color:#334155!important}
:root[data-theme="light"] .chat-msg .gl-action-delete{color:#b42332!important}
:root[data-theme="light"] .chat-msg .gl-message-react-summary{background:#e8edff;color:#24335a}
@media(max-width:600px){.chat-msg .gl-message-emoji button{min-width:31px;font-size:19px!important}.chat-msg .gl-context-actions{gap:5px}}
