.reaction-control{z-index:6;isolation:isolate;font-family:system-ui,sans-serif}
.reaction-arena{position:absolute;right:6px;top:7px;display:none}
body.running:not(.preview) .reaction-arena{display:block}
body:has(#route:not([hidden])) .reaction-arena{visibility:hidden}
.reaction-room{position:relative;margin-left:auto}
.family-list-heading:has(.reaction-room){justify-content:flex-start}
body .reaction-control button{cursor:pointer;-webkit-tap-highlight-color:transparent;margin:0;min-width:0}
.reaction-control .reaction-trigger,#familyPanel .reaction-control .reaction-trigger{display:grid;place-items:center;min-height:40px;min-width:40px;padding:0;border:2px solid #70442d;border-radius:50%;background:#fff0ce;color:#55311f;box-shadow:0 2px 0 #79462b;font:700 26px/1 system-ui}
.reaction-control .reaction-trigger[aria-expanded=true]{background:#ffd486}
.reaction-menu{position:absolute;right:0;top:calc(100% + 6px);display:grid;grid-template-columns:repeat(4,44px);padding:5px;gap:2px;background:#fff4d8;border:2px solid #71442c;border-radius:14px;box-shadow:0 4px 10px #49261c30}
.reaction-menu[hidden]{display:none}
.reaction-menu button,#familyPanel .reaction-menu button{width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;border-radius:8px;font:24px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.reaction-menu button:hover,.reaction-menu button:focus-visible{background:#ffdb95}
.reaction-menu .reaction-sound,#familyPanel .reaction-menu .reaction-sound{border-top:1px solid #debf92;border-radius:0;width:auto;grid-column:1/-1;height:32px;min-height:32px;color:#593923;font:700 13px system-ui}
.reaction-feed{position:absolute;top:2px;right:calc(100% + 5px);display:grid;justify-items:end;gap:3px;pointer-events:none}
.reaction-feed span{width:max-content;max-width:min(172px,46vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #956e4f;border-radius:10px;padding:4px 8px;background:#fff5deed;color:#4c2b20;font:700 13px/1.3 system-ui}
@media(pointer:coarse){.reaction-control .reaction-trigger,#familyPanel .reaction-control .reaction-trigger{min-height:44px;min-width:44px}}
/* Keep the arena announcement available to assistive technology. The kernel carries the visual bubble. */
.reaction-arena .reaction-feed{width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
