.post-reactions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:relative;z-index:3;max-width:100%}
.post-reactions[hidden],.post-reactions [hidden]{display:none!important}
.post-reaction-controls{display:inline-flex;align-items:center;gap:2px;padding:0;border:0;border-radius:999px;background:#f8f9f6;max-width:100%;box-shadow:inset 0 0 0 1px #e2e6df,0 1px 2px #223c2910}
.post-reactions form{margin:0;padding:0;display:inline-flex}
.post-reactions .post-reaction-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:var(--elm-post-action-gap,7px);padding:var(--elm-post-action-padding,7px 11px);min-height:var(--elm-post-action-height,36px);border:1px solid transparent;border-radius:var(--elm-post-action-radius,999px);background:transparent;color:#58665d;font:600 var(--elm-post-action-font-size,13px)/1.2 system-ui,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:none;transition:background .16s,color .16s,border-color .16s,box-shadow .16s}
.post-reactions .post-reaction-button svg{width:var(--elm-post-action-icon,18px);height:var(--elm-post-action-icon,18px);flex:none;stroke-width:1.8;transition:fill .16s}
.post-reactions .post-reaction-button:hover{background:#edf1e9;color:#294f3a}
.post-reactions .post-reaction-button[data-reaction-kind=dislike]:hover{background:#f2ece8;color:#785246}
.post-reactions .post-reaction-button[aria-pressed=true]{background:#e4efe3;border-color:#ccddca;color:#275638;box-shadow:0 1px 2px #2756380d}
.post-reactions .post-reaction-button[aria-pressed=true] svg{fill:#27563820}
.post-reactions .post-reaction-button[data-reaction-kind=dislike][aria-pressed=true]{background:#f2e7e1;border-color:#e4cec2;color:#754b3c}
.post-reactions .post-reaction-button[data-reaction-kind=dislike][aria-pressed=true] svg{fill:#754b3c20}
.post-reactions .post-reaction-button:focus-visible{outline:2px solid #5c896b;outline-offset:2px}
.post-reactions .post-reaction-button:disabled{opacity:.65;cursor:wait}
.post-reaction-picker{position:static}
.post-reaction-picker>summary{list-style:none;min-width:32px;padding:7px 6px!important;cursor:pointer}
.post-reaction-picker>summary::-webkit-details-marker{display:none}
.post-reaction-picker:not([open])>.post-reaction-options{display:none}
.post-reaction-options{position:fixed;z-index:10040;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;width:min(380px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:10px;box-sizing:border-box;border:1px solid #dce4dc;border-radius:16px;background:#fff;box-shadow:0 8px 32px #263c2d26}
.post-reaction-options form{min-width:0;display:block}
.post-reaction-options[popover]{margin:0;inset:auto;color:#26352b}
.elm-post-options{display:inline-block;position:relative}.elm-post-options>summary{list-style:none;cursor:pointer}.elm-post-options>summary::-webkit-details-marker{display:none}.elm-post-options>a{position:absolute;right:0;top:100%;z-index:10;background:var(--site-card-bg,#fff);white-space:nowrap;box-shadow:0 6px 24px #263c2d26}
.elm-post-options>a[popover]{margin:0;inset:auto;border:1px solid #dce4dc;color:#26352b;padding:10px 14px}.elm-post-options:not([open])>a{display:none}
.site-body .post-reaction-options .post-reaction-choice,.post-reaction-options .post-reaction-choice{width:100%;min-height:68px!important;padding:6px 2px!important;display:flex;flex-direction:column;gap:4px;font-size:11px!important;border-radius:10px;line-height:1.1}
.post-reaction-options .post-reaction-choice svg{width:25px;height:25px}
.post-reaction-options [data-reaction-count]{font-size:10px;color:#68756d}
.post-reaction-options [data-reaction-count]:empty{display:none}
.post-reaction-button[data-reaction-kind=love]{color:#a54158}
.post-reaction-button[data-reaction-kind=fire],.post-reaction-button[data-reaction-kind=angry]{color:#a35b37}
.post-reaction-button[data-reaction-kind=star],.post-reaction-button[data-reaction-kind=celebrate]{color:#8d7237}
@media(max-width:400px){.post-reaction-options{grid-template-columns:repeat(4,minmax(0,1fr));width:min(300px,calc(100vw - 24px))}}
.post-reactions .post-reaction-count{font-variant-numeric:tabular-nums;min-width:1.5em;padding:2px 5px;border-radius:999px;background:#263c2d09;color:inherit;font-size:inherit;font-weight:600;line-height:1.2;text-align:center}
/* Profile card buttons otherwise inherit older per-page typography. */
.site-body .post-reactions .post-reaction-button{font:600 var(--elm-post-action-font-size,13px)/1.2 system-ui,sans-serif;min-height:var(--elm-post-action-height,36px);padding:var(--elm-post-action-padding,7px 11px)}
.post-reactions .post-reaction-button[aria-pressed=true] .post-reaction-count{background:#ffffff70}
.post-reaction-status{flex-basis:100%;font-size:.78rem;color:#9a3e3e;line-height:1.45;padding:3px 6px;overflow-wrap:anywhere}
.post-reaction-login{font-size:.8rem;color:#365f49}
.post-reaction-notice{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:10050;box-sizing:border-box;width:max-content;max-width:min(440px,calc(100vw - 32px));display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #e3c6c3;border-radius:12px;background:#fff;color:#873d37;box-shadow:0 6px 28px #263c2d26;font:500 13px/1.45 system-ui,sans-serif}
.post-reaction-notice[hidden],.post-reaction-notice [hidden]{display:none!important}
.post-reaction-notice span{min-width:0;overflow-wrap:anywhere}
.post-reaction-notice a,.post-reaction-notice button{flex:none;color:#365f49;font:600 13px/1.2 system-ui,sans-serif}
.post-reaction-notice button{border:1px solid #dce4dc;border-radius:8px;background:#f5f7f3;padding:7px 10px;cursor:pointer}
@media(max-width:760px){.post-reaction-notice{bottom:calc(76px + env(safe-area-inset-bottom));gap:8px;padding:10px 12px}}
.profile-post-copy footer .post-reactions{flex-basis:auto}
@media(prefers-reduced-motion:reduce){.post-reactions .post-reaction-button,.post-reactions .post-reaction-button svg{transition:none}}
@media(forced-colors:active){.post-reaction-controls{border-color:ButtonText}.post-reactions .post-reaction-button[aria-pressed=true]{border-color:Highlight;outline:1px solid Highlight;outline-offset:-2px}}
