/* Comment composer only; leaves KVS form and AJAX classes intact. */
.block-comments .xnv-comment-name-control{position:relative}
.block-comments .xnv-comment-name-control .textfield{padding-inline-end:54px}
.block-comments .xnv-comment-name-generate{position:absolute;inset-block:2px;inset-inline-end:2px;display:grid;place-items:center;width:44px;border:0;border-radius:8px;background:transparent;color:#d4d5d9;cursor:pointer;touch-action:manipulation}
.block-comments .xnv-comment-name-generate svg{width:21px;height:21px;pointer-events:none}
.block-comments .xnv-comment-name-generate:hover{background:#42434a;color:#fff}
.block-comments .xnv-comment-name-generate:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.block-comments .xnv-comment-name-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.block-comments .xnv-emoji-picker,.popup-edit-comment .xnv-emoji-picker{margin:0 0 8px;padding:1px 4px;border:1px solid #34353c;border-radius:8px;background:#1c1d22}
.block-comments .xnv-emoji-toolbar,.popup-edit-comment .xnv-emoji-toolbar{display:flex;align-items:center;gap:2px;min-width:0}
.block-comments .xnv-emoji-quick,.popup-edit-comment .xnv-emoji-quick{display:flex;align-items:center;gap:0;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.block-comments .xnv-emoji-picker[data-xnv-emoji-ready] .xnv-emoji-quick,.popup-edit-comment .xnv-emoji-picker[data-xnv-emoji-ready] .xnv-emoji-quick{overflow:hidden}
.block-comments .xnv-emoji-quick::-webkit-scrollbar,.popup-edit-comment .xnv-emoji-quick::-webkit-scrollbar{display:none}
.block-comments .xnv-emoji-button,.popup-edit-comment .xnv-emoji-button,.block-comments .xnv-emoji-more,.popup-edit-comment .xnv-emoji-more{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:7px;background:transparent;color:#fff;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:19px;line-height:1;cursor:pointer;touch-action:manipulation}
.block-comments .xnv-emoji-more,.popup-edit-comment .xnv-emoji-more{flex:0 0 32px;width:32px;margin-inline-start:auto;background:#303139;color:#d5d6db;font-family:inherit;font-size:18px;font-weight:500}
.block-comments .xnv-emoji-more[hidden],.popup-edit-comment .xnv-emoji-more[hidden]{display:none}
.block-comments .xnv-emoji-button.xnv-emoji-heart-fire-button,.popup-edit-comment .xnv-emoji-button.xnv-emoji-heart-fire-button{flex-basis:54px;width:54px;overflow:hidden}
.block-comments .xnv-emoji-heart-fire,.popup-edit-comment .xnv-emoji-heart-fire{display:flex;align-items:center;justify-content:center;gap:3px;width:50px;height:26px;white-space:nowrap}
.block-comments .xnv-emoji-heart,.popup-edit-comment .xnv-emoji-heart,.block-comments .xnv-emoji-fire,.popup-edit-comment .xnv-emoji-fire{position:static;display:inline-block;font-size:18px;line-height:1}
.block-comments .xnv-emoji-more-panel .xnv-emoji-heart-fire-button,.popup-edit-comment .xnv-emoji-more-panel .xnv-emoji-heart-fire-button{grid-column:span 2}
.block-comments .xnv-emoji-button:hover,.popup-edit-comment .xnv-emoji-button:hover,.block-comments .xnv-emoji-more:hover,.popup-edit-comment .xnv-emoji-more:hover{background:#3a3b43}
.block-comments .xnv-emoji-button:focus-visible,.popup-edit-comment .xnv-emoji-button:focus-visible,.block-comments .xnv-emoji-more:focus-visible,.popup-edit-comment .xnv-emoji-more:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.block-comments .xnv-emoji-more[aria-expanded="true"],.popup-edit-comment .xnv-emoji-more[aria-expanded="true"]{background:#e80000;color:#fff}
.block-comments .xnv-emoji-more-panel,.popup-edit-comment .xnv-emoji-more-panel{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:2px;max-height:144px;margin-top:5px;padding-top:5px;overflow-y:auto;border-top:1px solid #34353c}
.block-comments .xnv-emoji-more-panel[hidden],.popup-edit-comment .xnv-emoji-more-panel[hidden]{display:none}
.block-comments .smileys-support .textarea,.popup-edit-comment .smileys-support .textarea{min-height:120px;border-radius:10px;line-height:1.5}
.block-comments .xnv-comment-emoji,.popup-edit-comment .xnv-comment-emoji{display:inline;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.15em;line-height:1;vertical-align:-.08em}
@media (max-width:600px){.block-comments .xnv-emoji-picker,.popup-edit-comment .xnv-emoji-picker{padding:1px 3px}.block-comments .xnv-emoji-button,.popup-edit-comment .xnv-emoji-button{flex-basis:34px;width:34px;height:34px;font-size:19px}.block-comments .xnv-emoji-more,.popup-edit-comment .xnv-emoji-more{flex-basis:34px;width:34px;height:34px}}
