/* V333 — même fenêtre de consultation pour la partie, le Salon et les tournois. */
.chat-reactions-dialog{width:min(400px,calc(100vw - 28px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:0;margin:auto;border:1px solid #aec8c1;border-radius:22px;background:#fffdf8;color:#243d35;box-shadow:0 20px 60px #152d3540;overflow:auto;overscroll-behavior:contain;}
.chat-reactions-dialog::backdrop{background:#14263075;}
.chat-reactions-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dbe8e2;background:#edf6f1;position:sticky;top:0;z-index:1;}
.chat-reactions-head h2{font-size:19px;margin:0;line-height:1.3;}
.chat-reactions-dialog button{min-height:44px;cursor:pointer;font:inherit;}
.chat-reactions-close{flex:0 0 44px;width:44px;padding:0;border-radius:50%;border:1px solid #aec8c1;background:#fffdf8;color:#243d35;font-size:28px!important;box-shadow:none;}
.chat-reactions-count{font-size:13px;color:#50675f;padding:12px 18px 4px;margin:0;}
.chat-reactions-people{list-style:none;padding:0 14px;margin:0;}
.chat-reactions-person{display:flex;align-items:center;gap:12px;padding:11px 4px;min-height:46px;border-bottom:1px solid #e3ece6;}
.chat-reactions-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#d9eee5;color:#215840;font-weight:800;flex-shrink:0;}
.chat-reactions-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:15px;}
.chat-reactions-mark{flex-shrink:0;font-size:14px;color:#315e4b;}
.chat-reactions-note{margin:12px 18px;color:#50675f;font-size:12px;line-height:1.45;}
.chat-reactions-toggle{display:block;width:calc(100% - 32px);margin:14px 16px;border-radius:13px;border:1px solid #205e43;background:#24734f;color:white;font-weight:700!important;padding:10px;box-shadow:none;}
.chat-reactions-error:empty{display:none;}.chat-reactions-error{padding:0 18px 12px;color:#a52725;font-size:13px;}
.chat-reactions-dialog button:focus-visible,.chat-reaction-chip:focus-visible{outline:3px solid #1968aa;outline-offset:2px;}
body:has(> #chat-reactions-dialog[open]){overflow:hidden;}
@media(forced-colors:active){.chat-reactions-dialog,.chat-reactions-dialog button{background:Canvas;color:CanvasText;border:1px solid CanvasText;}.chat-reactions-avatar{background:Canvas;color:CanvasText;}}
