/* Editor de comentarios Gremory */
.commentx .gc-rich-editor{position:relative;margin:10px 0;border:1px solid #48313d;border-radius:9px;background:#221b1e;overflow:hidden}
.commentx .gc-rich-editor:focus-within{border-color:#9a4d6c;box-shadow:0 0 0 2px #e0285914}
.commentx .gc-editor-area{min-height:100px;max-height:420px;overflow-y:auto;padding:14px;color:#eee0e7;line-height:1.7;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}
.commentx .gc-editor-area:empty::before{content:attr(data-placeholder);color:#9c8290;pointer-events:none}
.commentx .gc-editor-area strong{font-weight:750}.commentx .gc-editor-area em{font-style:italic}.commentx .gc-editor-area s{text-decoration:line-through}
.commentx .gc-editor-toolbar{display:flex;align-items:center;gap:3px;padding:7px 9px;border-top:1px solid #48313d;background:#2b2026;flex-wrap:wrap}
.commentx .gc-editor-toolbar button,.commentx .gc-editor-emojis button{display:inline-grid;place-items:center;min-width:34px;min-height:34px;margin:0;padding:5px 8px;border:0;border-radius:5px;background:transparent;color:#c6aebb;font:inherit;font-size:14px;cursor:pointer}
.commentx .gc-editor-toolbar button:hover,.commentx .gc-editor-emojis button:hover{background:#573745;color:#fff}
.commentx .gc-editor-toolbar button[data-format=b]{font-weight:800}.commentx .gc-editor-toolbar button[data-format=i]{font-style:italic}.commentx .gc-editor-toolbar button[data-format=s]{text-decoration:line-through}
.commentx .gc-editor-toolbar button[aria-expanded=true]{background:#573745;color:#fff}
.commentx .gc-editor-count{margin-left:auto;color:#a9919e;font-size:11px;font-variant-numeric:tabular-nums}
.commentx .gc-editor-status{padding:0 12px;color:#d7b7c6;font-size:12px;line-height:1.6}
.commentx .gc-editor-status:not(:empty){padding:10px 12px;border-top:1px solid #48313d}
.commentx .gc-editor-preview{padding:14px;border-top:1px solid #48313d;background:#1c1116;white-space:pre-wrap;overflow-wrap:anywhere}
.commentx .gc-editor-preview::before{content:'Vista previa';display:block;margin-bottom:10px;color:#a9919e;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.commentx .gc-editor-emojis{padding:8px;border-top:1px solid #48313d}
.commentx .gc-editor-emojis button{font-size:20px}
.commentx .gc-rich-editor [hidden]{display:none!important}
.commentx .gc-editor-image{position:relative;display:inline-block;margin:8px 6px 8px 0;vertical-align:middle;line-height:0}
.commentx .gc-editor-image img,.commentx .gc-comment-media img,.commentx .gc-comment-image{display:inline-block;max-width:min(100%,360px);max-height:320px;width:auto;height:auto;object-fit:contain;border-radius:7px;vertical-align:middle}
.commentx .gc-editor-image .gc-remove-image{position:absolute;top:4px;right:4px;width:28px;height:28px;padding:0;margin:0;border:0;border-radius:50%;background:#1c1116e8;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.commentx .gc-editor-spoiler{background:#573745;color:#f7d5e3;border-radius:3px;padding:1px 3px;box-decoration-break:clone}
.commentx .gc-rich-content{font-size:13px;line-height:1.75;overflow-wrap:anywhere;color:#e6dce1}
.commentx .gc-rich-content strong{font-weight:750}.commentx .gc-rich-content em{font-style:italic}.commentx .gc-rich-content s{text-decoration:line-through}
.commentx .gc-spoiler{display:inline-block;max-width:100%;padding:0 4px;border-radius:4px;background:#573745;cursor:pointer;vertical-align:baseline;line-height:inherit}
.commentx .gc-spoiler>.gc-spoiler-content{visibility:hidden}
.commentx .gc-spoiler.gc-revealed>.gc-spoiler-content{visibility:visible}
.commentx .gc-spoiler.gc-revealed{background:#57374566}
.commentx .gc-spoiler:focus-visible{outline:2px solid #f75583;outline-offset:2px}
@media(hover:hover){.commentx .gc-spoiler:hover>.gc-spoiler-content{visibility:visible}.commentx .gc-spoiler:hover{background:#57374566}}
.commentx .gc-editor-toolbar button:focus-visible,.commentx .gc-remove-image:focus-visible,.commentx .gc-editor-emojis button:focus-visible{outline:2px solid #f75583;outline-offset:-2px}
@media(max-width:600px){.commentx .gc-editor-area{font-size:16px;padding:12px;min-height:90px}.commentx .gc-editor-toolbar{padding:5px}.commentx .gc-editor-toolbar button{min-width:36px;min-height:36px}.commentx .gc-editor-image img,.commentx .gc-comment-media img,.commentx .gc-comment-image{max-width:100%;max-height:260px}}

.commentx textarea[hidden]{display:none!important}
.commentx .gc-editor-image .gc-image-spoiler{position:absolute;top:4px;left:4px;width:28px;height:28px;padding:0;margin:0;border:0;border-radius:50%;background:#1c1116e8;color:#fff;font-size:18px;line-height:1;cursor:pointer}
.commentx .gc-editor-spoiler .gc-editor-image{outline:2px dashed #f75583;outline-offset:2px;border-radius:7px}
