.topic-reactions{float:right;width:auto;max-width:100%;margin:0 0 12px 18px;padding:0}
.topic-reactions-actions{display:grid;grid-template-columns:minmax(70px,auto);position:relative;gap:0}.topic-reactions-actions::after{content:"";position:absolute;left:38px;right:8px;top:50%;height:1px;background:color-mix(in srgb,currentColor 18%,transparent);pointer-events:none}.topic-reactions-actions button{position:relative;display:grid;grid-template-columns:30px minmax(2ch,auto);align-items:center;justify-content:start;gap:6px;min-width:76px;min-height:44px;padding:5px 8px;border:0;border-radius:11px;background:transparent;color:inherit;cursor:pointer;font:inherit;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;overflow:visible}
.topic-reactions-actions button::after{content:"";position:absolute;right:15px;top:50%;width:5px;height:5px;border-radius:50%;opacity:0;pointer-events:none}.topic-reactions-actions svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.topic-reactions-actions [data-reaction=hot],.topic-reactions-actions [data-reaction=hot] svg{color:#d34b14}.topic-reactions-actions [data-reaction=hot] svg{fill:#ffb67c}.topic-reactions-actions [data-reaction=cold],.topic-reactions-actions [data-reaction=cold] svg{color:#247eae}
.topic-reactions-actions [data-reaction=hot][aria-pressed=true]{background:#f67e1818}.topic-reactions-actions [data-reaction=cold][aria-pressed=true]{background:#48b9ef18}.topic-reactions-actions button:hover{background:color-mix(in srgb,currentColor 9%,transparent)}.topic-reactions-actions button:active{transform:scale(.96)}
.topic-reactions-actions [data-reaction=hot].is-reacting svg{animation:topic-reaction-fire .42s ease-out}.topic-reactions-actions [data-reaction=hot].is-reacting::after{background:#f67e18;box-shadow:-8px 5px #f67e18,7px 4px #ffb24a;animation:topic-reaction-sparks .42s ease-out}.topic-reactions-actions [data-reaction=cold].is-reacting svg{animation:topic-reaction-ice .42s ease-out}.topic-reactions-actions [data-reaction=cold].is-reacting::after{background:#82d3ff;box-shadow:-8px 4px #82d3ff,8px 3px #247eae;animation:topic-reaction-sparks .42s ease-out}
@keyframes topic-reaction-fire{35%{transform:translateY(-2px) scale(1.18) rotate(-5deg)}70%{transform:scale(.96) rotate(3deg)}}@keyframes topic-reaction-ice{45%{transform:scale(1.15) rotate(18deg)}75%{transform:scale(.98) rotate(-3deg)}}@keyframes topic-reaction-sparks{0%{opacity:0;transform:translate(18px,12px) scale(.4)}35%{opacity:1}100%{opacity:0;transform:translate(18px,-8px) scale(1)}}
.topic-reactions button:focus-visible,.topic-reactions select:focus-visible,.topic-reactions textarea:focus-visible{outline:3px solid #6888ec;outline-offset:3px}.topic-reactions button:disabled{opacity:.6;cursor:wait}.topic-reactions .topic-reactions-status{font-size:14px;line-height:1.5}.topic-reactions-status:empty{display:none}
.topic-reactions-dialog{color:inherit;background:var(--surface,#f4f7f0);border:1px solid var(--border,#64715f);border-radius:18px;padding:24px;width:min(520px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box}.topic-reactions-dialog::backdrop{background:#0009}.topic-reactions-dialog-head{display:flex;align-items:start;gap:16px;justify-content:space-between}.topic-reactions-dialog h2{font-size:25px}.topic-reactions-dialog p{font-size:15px;line-height:1.6}.topic-reactions-dialog label{display:block;margin:18px 0 8px;font-size:15px;font-weight:600}.topic-reactions-dialog label span{font-weight:400}.topic-reactions-dialog select,.topic-reactions-dialog textarea{box-sizing:border-box;display:block;width:100%;font:inherit;font-size:16px;color:inherit;background:transparent;border:1px solid var(--border,#64715f);border-radius:10px;padding:12px}.topic-reactions-dialog select option{color:#172017;background:#f4f7f0}.topic-reactions-dialog textarea{resize:vertical}.topic-reactions-dialog button{border:1px solid var(--border,#64715f);border-radius:12px;padding:11px 16px;min-height:44px;font:inherit;color:inherit;background:transparent;cursor:pointer}.topic-reactions-dialog-head button{padding:2px 12px;font-size:26px;flex:none}.topic-reactions-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}.topic-reactions-dialog [type=submit]{background:#206285;color:#fff;border-color:#206285}.topic-reactions-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
[data-theme=dark] .topic-reactions-dialog{background:#182019;color:#eef1e8}[data-theme=dark] .topic-reactions-actions [data-reaction=hot],[data-theme=dark] .topic-reactions-actions [data-reaction=hot] svg{color:#ffad7d}[data-theme=dark] .topic-reactions-actions [data-reaction=cold],[data-theme=dark] .topic-reactions-actions [data-reaction=cold] svg{color:#82d3ff}
@media(max-width:420px){.topic-reactions-dialog{padding:20px}}


.topic-reactions-score{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:620px){.topic-reactions{float:none;display:flex;justify-content:center;margin:0 0 6px}}
@media(prefers-reduced-motion:reduce){.topic-reactions-actions button{transition:none}.topic-reactions-actions button:active{transform:none}.topic-reactions-actions .is-reacting,.topic-reactions-actions .is-reacting::after,.topic-reactions-actions .is-reacting svg{animation:none!important}}

