.grina-reactions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;position:relative;color:inherit}.grina-reaction-counts{display:flex;flex-wrap:wrap;gap:5px}.grina-reactions button,.grina-reaction-menu>summary{border:1px solid var(--chat-line,var(--na-line,#dce1d5));border-radius:18px;background:var(--chat-surface,var(--na-surface,#fff));color:inherit;cursor:pointer;padding:5px 9px;font:inherit;font-size:12px;display:inline-flex;align-items:center;gap:5px;min-height:30px}.grina-reactions button[aria-pressed=true]{border-color:#50b848;box-shadow:inset 0 0 0 1px #50b848}.grina-reactions button:hover,.grina-reactions button:focus-visible,.grina-reaction-menu>summary:hover{border-color:#50b848}.grina-reaction-menu>summary{list-style:none;font-size:12px}.grina-reaction-menu>summary::-webkit-details-marker{display:none}.grina-reaction-options{position:relative;z-index:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px;border:1px solid var(--chat-line,var(--na-line,#dce1d5));border-radius:16px;background:var(--chat-surface,var(--na-surface,#fff));box-shadow:0 5px 18px #0002;margin-top:6px;max-width:340px}.grina-reaction-menu:not([open])>.grina-reaction-options{display:none}.grina-reaction-options button{flex-direction:column;gap:3px;border:0;border-radius:10px;min-height:56px}.grina-reaction-options button>span:first-child{font-size:24px}.grina-reaction-name{font-size:10px;white-space:nowrap}.grina-reaction-status{font-size:12px;color:#d33}.grina-reactions [disabled]{opacity:.5;cursor:wait}html[data-theme=dark] .grina-reactions{--na-surface:#202524;--na-line:#39423d;color:#f4f7f5}.network-choice-actions{display:flex;justify-content:flex-end;margin-bottom:8px}.network-choice-actions button{border:1px solid #50b848;background:transparent;color:inherit;border-radius:16px;padding:5px 12px;cursor:pointer;font:inherit;font-size:12px}

.grina-reaction-menu>.grina-reaction-options{display:none!important}#grina-reaction-popover{position:fixed;z-index:2147480000;margin:0;color:#073d24}#grina-reaction-popover>.grina-reaction-options{display:grid!important;margin:0;background:#fff;min-width:280px;border-color:#dce1d5}#grina-reaction-popover button{background:#fff;color:#073d24}#grina-reaction-popover button:hover{background:#50b84820}.grina-reaction-menu>summary{border:0;background:transparent}.grina-reaction-menu>summary span{display:none}

#grina-reaction-popover{inset:auto;margin:0;border:0;padding:0;background:transparent;width:max-content;max-width:calc(100vw - 16px)}
html[data-theme=dark] #grina-reaction-popover,body[data-discussion-theme=dark] #grina-reaction-popover{color:#e9edef}
html[data-theme=dark] #grina-reaction-popover>.grina-reaction-options,body[data-discussion-theme=dark] #grina-reaction-popover>.grina-reaction-options{background:#24282b;border-color:#ffffff26}
html[data-theme=dark] #grina-reaction-popover button,body[data-discussion-theme=dark] #grina-reaction-popover button{background:#24282b;color:#e9edef}
html[data-theme=dark] #grina-reaction-popover button:hover,body[data-discussion-theme=dark] #grina-reaction-popover button:hover{background:#1f492f}
