/* VEO Cofrade Chat 1.9.1 */
.vcu-root .vcu-chat-wrap{max-width:1050px;margin:auto}.vcu-root #vcu-chat{border-radius:18px;background:#231131;border:1px solid #a98266;color:#fff;padding:clamp(12px,2.5vw,25px)}
.vcu-root #vcu-chat [hidden]{display:none!important}.vcu-root #vcu-chat button{cursor:pointer}.vcu-root .vcu-chat-join{max-width:520px;margin:20px auto;padding:18px;background:#392147;border-radius:14px;display:grid;gap:12px}
.vcu-root .vcu-chat-join h2{margin:0;color:#e9c48b;font:700 27px Georgia,serif}.vcu-root .vcu-chat-join input,.vcu-root .vcu-chat-compose input{border:1px solid #a680b2;padding:12px;background:#fcf9ff;color:#23122b;border-radius:8px;width:100%;font-size:16px}
.vcu-root .vcu-chat-join>button,.vcu-root .vcu-chat-compose button{border:0;border-radius:8px;background:#e9c48b;color:#25132e;font-weight:700;padding:12px 18px;min-height:45px}.vcu-root .vcu-chat-join p{font-size:13px;color:#e2d5e8;line-height:1.6}
.vcu-root .vcu-chat-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;padding:5px 0 16px;color:#e9c48b;font-size:14px}.vcu-root .vcu-chat-toolbar button{background:transparent;border:1px solid #b996c1;color:#fff;border-radius:8px;padding:7px 12px}
.vcu-root .vcu-chat-rooms{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.vcu-root .vcu-chat-rooms button{border:1px solid #a886ad;background:#39214b;color:#fff;border-radius:9px;padding:10px;font-size:13px}.vcu-root .vcu-chat-rooms button.active{background:#e9c48b;border-color:#e9c48b;color:#25132e;font-weight:700}
.vcu-root #vcu-chat-room-name{font:700 clamp(20px,3vw,27px)/1.25 Georgia,serif;color:#efd09c;margin:10px 0}.vcu-root .vcu-chat-feed{height:min(55vh,510px);min-height:270px;overflow:auto;border-radius:12px;padding:15px;background:#190c24;border:1px solid #60446a;display:flex;flex-direction:column;gap:12px}
.vcu-root .vcu-chat-message{padding:10px 13px;background:#352142;border-radius:12px;overflow-wrap:anywhere}.vcu-root .vcu-chat-msg-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:#eecb98}.vcu-root .vcu-chat-msg-meta time{margin-left:auto;color:#d0bad4}.vcu-root .vcu-chat-message p{font-size:15px;line-height:1.55;margin:7px 0 0;white-space:pre-wrap}.vcu-root .vcu-chat-delete{background:transparent;border:0;color:#ffbbba;font-size:11px;text-decoration:underline}
.vcu-root .vcu-chat-role{color:#f2c58d;font-size:12px}.vcu-root .vcu-chat-compose{display:flex;gap:9px;margin-top:12px}.vcu-root .vcu-chat-compose input{flex:1;min-width:0}.vcu-root .vcu-chat-status{min-height:18px;color:#ffd9a1;font-size:13px}.vcu-root .vcu-chat-staff{border-top:1px solid #7d5e7d;margin-top:25px;padding-top:16px}.vcu-root .vcu-chat-staff h3{color:#e9c48b}.vcu-root .vcu-chat-staff>p{font-size:13px;color:#dfd2e3}
.vcu-root .vcu-chat-member-list{display:grid;gap:8px;max-height:570px;overflow:auto}.vcu-root .vcu-chat-member{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:12px;background:#362145;border-radius:9px;padding:12px}.vcu-root .vcu-chat-member small{font-size:12px;color:#ddd}.vcu-root .vcu-chat-member .vcu-chat-mark{color:#f3ba89}.vcu-root .vcu-chat-member-actions{display:flex;gap:6px;flex-wrap:wrap}
.vcu-root .vcu-chat-member-actions button{background:#532f64;border:1px solid #a585b5;color:#fff;border-radius:6px;padding:7px 9px;font-size:12px}.vcu-root .vcu-chat-member-actions button:hover{background:#704486}.vcu-root .vcu-chat-privacy{color:#d8c9dd;font-size:12px;line-height:1.6}
@media(max-width:600px){.vcu-root .vcu-chat-feed{min-height:350px;height:50vh}.vcu-root .vcu-chat-rooms button{font-size:12px;padding:9px}.vcu-root .vcu-chat-compose button{padding:12px}.vcu-root .vcu-chat-member-actions button{flex:1 1 auto}}

/* 1.9.2: gestión de salas por moderadores y administradores */
.vcu-root .vcu-chat-room-admin{padding:18px;margin:0 0 22px;border:1px solid #98718f;border-radius:12px;background:#2c183a}
.vcu-root .vcu-chat-room-admin h3{margin:0 0 7px;color:#e9c48b}
.vcu-root .vcu-chat-room-admin p,.vcu-root .vcu-chat-room-admin small{color:#e5d6e9;line-height:1.55}
.vcu-root #vcu-chat-room-admin-list{display:grid;gap:9px;margin:12px 0}
.vcu-root .vcu-chat-room-editor{display:flex;gap:9px;flex-wrap:wrap;align-items:center;padding:10px;background:#3b244a;border-radius:8px}
.vcu-root .vcu-chat-room-editor strong{flex:1 1 190px}
.vcu-root .vcu-chat-room-editor button,.vcu-root #vcu-chat-room-create button{border:1px solid #c6a16e;border-radius:7px;padding:8px 12px;background:#56346a;color:#fff;font-weight:700}
.vcu-root .vcu-chat-room-editor .vcu-chat-room-remove{background:#7e334b;border-color:#cb8492}
.vcu-root #vcu-chat-room-create{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:15px 0 6px}
.vcu-root #vcu-chat-room-create label{width:100%;color:#fff;font-weight:700}
.vcu-root #vcu-chat-new-room{flex:1 1 190px;width:100%;min-width:0;border-radius:8px;border:1px solid #b49abb;padding:10px;background:#fff;color:#26122e}
.vcu-root #vcu-chat-room-create button{background:#e9c48b;color:#26122e}
.vcu-root #vcu-chat-room-create button:disabled{opacity:.45;cursor:not-allowed}

/* v1.9.3: panel de control visible para moderadores y administradores */
.vcu-root .vcu-chat-toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.vcu-root .vcu-chat-toolbar-actions #vcu-chat-users-toggle{background:#eac78c;color:#281431;border-color:#f2d59e;font-weight:700}
.vcu-root .vcu-chat-toolbar-actions #vcu-chat-users-toggle:hover{background:#ffe2aa}
.vcu-root .vcu-chat-users-admin{padding:18px;border:1px solid #98718f;border-radius:12px;background:#2c183a;margin-bottom:24px}
.vcu-root .vcu-chat-user-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:14px 0}
.vcu-root .vcu-chat-user-filters label{display:flex;flex:1 1 190px;flex-direction:column;gap:5px;color:#fff;font-size:14px;font-weight:700}
.vcu-root .vcu-chat-user-filters input,.vcu-root .vcu-chat-user-filters select{width:100%;min-height:43px;padding:9px;border-radius:8px;background:#fff;color:#2b1531;border:1px solid #b39ab9}
.vcu-root .vcu-chat-user-filters button{min-height:43px;padding:9px 12px;border-radius:8px;background:#eac78c;border:0;color:#27132e;font-weight:700}
.vcu-root .vcu-chat-results{font-size:13px;color:#e8d6ed}
.vcu-root #vcu-chat-staff[hidden],.vcu-root #vcu-chat-room-admin[hidden],.vcu-root #vcu-chat-users-admin[hidden],.vcu-root #vcu-chat-users-toggle[hidden],.vcu-root #vcu-chat-rooms-toggle[hidden]{display:none!important}
@media(max-width:600px){.vcu-root .vcu-chat-toolbar-actions{width:100%}.vcu-root .vcu-chat-toolbar-actions button{flex:1 1 auto}.vcu-root .vcu-chat-user-filters{align-items:stretch}.vcu-root .vcu-chat-user-filters button{flex:1 1 100%}}

/* v1.9.4: historial exclusivo para administradores del chat */
.vcu-root #vcu-chat-history-admin[hidden]{display:none!important}
.vcu-root .vcu-chat-history-admin{margin:18px 0;padding:16px;border:1px solid #b87e90;background:#382038;border-radius:10px}
.vcu-root .vcu-chat-history-admin h4{font-size:17px;color:#f4c7ce;margin:0 0 7px}
.vcu-root .vcu-chat-history-admin p{font-size:13px;line-height:1.6;color:#f3e5ed}
.vcu-root .vcu-chat-history-admin label{font-weight:700;font-size:13px;display:block;margin:10px 0 5px}
.vcu-root .vcu-chat-history-admin select{display:block;width:min(100%,400px);padding:10px;background:#fff;color:#22162c;border-radius:7px;border:1px solid #a49}
.vcu-root .vcu-chat-history-admin button{display:inline-block;background:#9d3147;color:#fff;border:1px solid #dc8c9d;border-radius:8px;font-weight:700;padding:10px 15px;margin-top:12px}
.vcu-root .vcu-chat-history-admin button:hover{background:#b63c54}
.vcu-root .vcu-chat-history-admin button:disabled{opacity:.55;cursor:wait}

/* v1.9.5 - sanciones visibles y cuenta atrás */
.vcu-root .vcu-chat-sanction[hidden]{display:none!important}
.vcu-root .vcu-chat-sanction{margin:14px 0 4px;padding:13px 15px;background:#5c2336;border:1px solid #e2a7ad;border-radius:10px;color:#fff0ee;font-size:15px;font-weight:700;line-height:1.5;text-align:center;font-variant-numeric:tabular-nums}
