/* Rellawings v8: small standalone extension, no editor-wide style changes. */
.v8-emoji-form .v8-emoji-controls {position:relative;display:inline-flex;align-items:center;margin: .45rem .65rem .55rem 0;vertical-align:middle}
.v8-emoji-open {cursor:pointer;min-width:4.25rem}
.v8-emoji-gallery {position:absolute;z-index:40;inset:auto auto auto 0;top:calc(100% + 5px);display:grid;grid-template-columns:repeat(9, minmax(0,1fr));gap:4px;width:min(365px,calc(100vw - 36px));max-height:240px;overflow:auto;padding:10px;background:#222936;color:#f5f1ef;border:1px solid #444c5c;border-radius:12px;box-shadow:0 12px 32px #0009}
.v8-emoji-gallery[hidden] {display:none!important}
.v8-emoji-gallery button {border:1px solid transparent;border-radius:6px;display:grid;place-items:center;width:34px;height:34px;cursor:pointer;background:transparent;padding:3px}
.v8-emoji-gallery button:hover,.v8-emoji-gallery button:focus-visible {border-color:#d6acec;background:#42495a}
.v8-emoji-gallery img {object-fit:contain;max-height:28px;max-width:28px}
.v8-emoji-form button[type="submit"] {vertical-align:middle}
.v8-thread-replies {margin-top:1rem;margin-left:1.15rem;padding-left:1rem;border-left:2px solid #536078}
.v8-thread-replies .profile-entry {margin-bottom:.65rem;padding-top:.7rem}
.v8-profile-reply[open] {margin:.55rem 0}
.v8-profile-reply textarea {display:block;width:100%;max-width:100%;margin:.45rem 0}
@media (max-width:600px) {.v8-thread-replies {margin-left:.35rem;padding-left:.6rem}.v8-emoji-gallery {grid-template-columns:repeat(7,minmax(0,1fr));width:min(300px,calc(100vw - 38px))}}
