﻿html:root .content-reactions { display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:4px 0;color:var(--text-secondary);font-size:.8rem; }
html:root .content-reactions[hidden] { display:none; }
html:root .content-reactions-compact { flex:0 1 auto;gap:2px 4px;margin:0 auto 0 0; }
html:root .content-reactions-compact .reaction-actions { gap:0; }
html:root .content-reactions-compact .reaction-action { width:36px;min-width:36px;min-height:36px;padding:0;border-radius:7px; }
html:root .content-reactions-compact .reaction-action .reaction-icon { width:16px;height:16px;background:transparent;color:inherit; }
html:root .content-reactions-compact .reaction-action .reaction-icon svg { width:16px;height:16px; }
html:root .content-reactions-compact .reaction-action:is(:hover,:focus-visible),html:root .content-reactions-compact .reaction-action[aria-pressed="true"] { background:var(--theme-soft);color:var(--accent); }
html:root .content-reactions-compact .reaction-badge { margin-left:0; }
.reaction-actions { display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px; }
html:root .content-reactions button,html:root button.reaction-total { display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-height:30px;margin:0;padding:3px 0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:var(--text-secondary);font-size:inherit;font-weight:400; }
html:root .content-reactions button[hidden],html:root button.reaction-total[hidden] { display:none; }
html:root .content-reactions button:is(:hover,:focus-visible),html:root .reaction-action[aria-pressed="true"] { color:var(--accent);background:transparent; }
html:root .content-reactions button:focus-visible,html:root button.reaction-total:focus-visible,html:root .reaction-popup button:focus-visible { outline:2px solid var(--accent);outline-offset:2px; }
html:root .reaction-action { touch-action:manipulation;user-select:none;-webkit-user-select:none; }
html:root .content-reactions-post { margin:0 0 8px;gap:2px; }
html:root .content-reactions-post .reaction-actions { flex-basis:100%; }
html:root .content-reactions-post.content-reactions-compact .reaction-actions { column-gap:14px; row-gap:4px; }
html:root .content-reactions .reaction-summary { justify-content:flex-start;text-align:left;color:var(--accent);font-size:.82rem; }
.reaction-total-text { min-width:0;overflow-wrap:anywhere; }
.reaction-total-icons { display:inline-flex;align-items:center;flex:none; }
.reaction-icon { display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;font-size:20px;line-height:1;text-shadow:none; }
.reaction-icon-like { background:#579ff4;color:#fff; }
.reaction-icon-like svg { width:18px;height:18px;fill:currentColor; }
.reaction-total-icons>.reaction-icon+.reaction-icon { margin-left:-5px; }
html:root .reaction-message-heading { display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px; }
html:root #task-activity .reaction-message-heading,html:root #chat-messages .reaction-message-heading { display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px; }
html:root button.reaction-badge { flex:none;gap:5px;min-height:26px;margin-left:auto;padding:1px 2px;font-size:.75rem;color:var(--text-secondary);white-space:nowrap; }
.reaction-badge .reaction-icon { width:19px;height:19px;font-size:18px; }
.reaction-badge .reaction-icon svg { width:16px;height:16px; }
html:root .news-comment-bubble { width:fit-content;max-width:100%;padding:8px 12px;border-radius:17px;background:var(--surface-hover); }
html:root .news-comment-bubble .news-comment-text { margin-bottom:0; }
html:root .news-comment-content>.content-reactions-message { margin:2px 0 0 10px; }
html:root .news-comment-content .reaction-actions .news-comment-buttons { margin:0;gap:0; }
html:root .news-comment-content .reaction-actions button.news-icon-action { width:36px;min-width:36px;height:36px;min-height:36px; }
html:root .news-post .news-comments:has(.content-reactions-post) { margin-top:12px;padding-top:6px; }
html:root .news-comments .reaction-actions button.news-comments-toggle { min-height:36px;padding:3px 0;font-size:.8rem;font-weight:400; }
.reaction-feedback { flex-basis:100%;font-size:.75rem;color:var(--theme-danger); }
.reaction-feedback:empty { display:none; }
html:root .reaction-popup { position:fixed;inset:auto;box-sizing:border-box;margin:0;padding:8px;border:1px solid var(--border);border-radius:28px;background:var(--surface);color:var(--text-primary);box-shadow:var(--shadow-dropdown);overflow:auto;font-size:.85rem; }
html:root .reaction-popup:not(:popover-open) { display:none; }
html:root .reaction-popup.reaction-popup-choose { --reaction-choice-size:36px;display:grid;grid-template-columns:repeat(7,var(--reaction-choice-size));gap:2px;padding:6px;border-radius:24px; }
html:root .reaction-popup .reaction-option { display:grid;place-items:center;width:var(--reaction-choice-size);height:var(--reaction-choice-size);min-height:var(--reaction-choice-size);margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;line-height:1;transition:transform var(--motion-reveal) var(--motion-ease),background-color var(--motion-reveal) var(--motion-ease); }
.reaction-option .reaction-icon { width:28px;height:28px;font-size:26px; }
.reaction-option .reaction-icon svg { width:22px;height:22px; }
html:root .reaction-popup .reaction-option:is(:hover,:focus-visible),html:root .reaction-option[aria-pressed="true"] { background:var(--surface-hover);transform:translateY(-2px) scale(1.06); }
html:root .reaction-popup-people { width:360px;border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:8px; }
.reaction-popup-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none; }
html:root .reaction-popup .reaction-popup-close { width:36px;height:36px;min-height:36px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:var(--text-secondary);font-size:24px; }
.reaction-people { min-height:0;max-height:320px;overflow:auto;overscroll-behavior:contain; }
.reaction-person { display:flex;align-items:center;gap:10px;padding:7px 0;min-width:0;overflow-wrap:anywhere; }
.reaction-person-name { min-width:0;flex:1; }
.reaction-person .person-avatar { width:32px;height:32px;flex:0 0 32px;font-size:.8rem; }
.reaction-person-emoji { width:1.6em;height:1.6em;margin-left:auto; }
.reaction-status { margin:0;font-size:.8rem;color:var(--text-secondary); }
@media(max-width:360px) { html:root .reaction-popup.reaction-popup-choose { grid-template-columns:repeat(4,var(--reaction-choice-size));border-radius:20px; } }
@media(max-width:700px),(pointer:coarse) { html:root .reaction-popup.reaction-popup-choose { --reaction-choice-size:44px; } html:root .content-reactions button,html:root .reaction-popup .reaction-popup-close { min-height:44px; } html:root button.reaction-badge { min-height:32px; } }
@media(max-width:700px),(pointer:coarse) { html:root .content-reactions-compact .reaction-action { width:44px;min-width:44px;min-height:44px; } }
@media(max-width:700px),(pointer:coarse) { html:root .news-comment-content .reaction-actions button.news-icon-action { width:44px;min-width:44px;height:44px;min-height:44px; } }
@media(max-width:700px) { .news-comment-heading time { order:2;flex-basis:100%; } .news-comment-heading .reaction-badge { order:1; } html:root .news-comment-content .news-comment-buttons button.news-icon-action { min-height:44px; } }
@media(prefers-reduced-motion:reduce) { html:root .reaction-popup .reaction-option { transition:none;transform:none; } }
