:root {
    --voxed-greentext: #8CE06A;
    --voxed-page-bg: #22313F;
    --voxed-panels-bg: #1E2C38;
    --voxed-vox-bg: #0B1120;
    --voxed-text: #FFFFFF;
    --voxed-accent: #0084D1;
    --voxed-danger: #E7000B;
    --voxed-muted: #A9B5BF;
    --voxed-border: #304255;
    --voxed-link: #70B7FF;
    --voxed-success: #16A34A;
    --voxed-input-bg: #111B25;
    --voxed-header-bg: #2C3E50;
    --voxed-header-text: #FFFFFF;
    --voxed-avatar: #0084D1;
    --voxed-sidebar-bg: #34495E;
}

html[data-voxed-theme="light"] { --voxed-greentext: #267341; }
html.x-files-october { --voxed-greentext: #8CE06A; }

/* Oscurecimiento leve y breve efecto de apagado, sólo durante el modo nocturno de octubre. */
html.x-files-october::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(0, 0, 0, .05);
    pointer-events: none;
}
html.x-files-october .logo-text {
    animation: x-files-logo-flicker 15s linear infinite;
    transform-origin: center;
}
@keyframes x-files-logo-flicker {
    0%, 3.33%, 6.67%, 10%, 13.33%, 16.67%, 20%, 23.33%, 26.67%, 30%, 33.33%, 100% {
        opacity: 1;
        filter: brightness(1);
        text-shadow: none;
    }
    1.67%, 8.33%, 15%, 21.67%, 28.33% {
        opacity: .28;
        filter: brightness(.45);
        text-shadow: 0 0 8px rgba(181, 18, 27, .7);
    }
    5%, 11.67%, 18.33%, 25%, 31.67% {
        opacity: .72;
        filter: brightness(1.2);
        text-shadow: 0 0 7px rgba(245, 236, 236, .65);
    }
}
@media (prefers-reduced-motion: reduce) {
    html.x-files-october .logo-text { animation: none; }
}

body { background-color: var(--voxed-page-bg); color: var(--voxed-text); }
body > header, #app > header { background: var(--voxed-header-bg); color: var(--voxed-header-text); }
body > header a, #app > header a { color: var(--voxed-header-text); }
.sidebar { background-color: var(--voxed-sidebar-bg); }
.sidebar a { color: var(--voxed-text); }
.sidebar a:hover { background-color: color-mix(in srgb, var(--voxed-panels-bg), var(--voxed-text) 10%); }
main { color: var(--voxed-text); }
input, textarea, select { background-color: var(--voxed-input-bg); color: var(--voxed-text); border-color: var(--voxed-border); }
.post-card, .post-card-inner, .comment-card, .comment-item, .comment-container, .profile-header-card, .profile-section, .admin-panel, .admin-card {
    background-color: var(--voxed-panels-bg);
    color: var(--voxed-text);
    border-color: var(--voxed-border);
}
.post-card-inner { background-color: var(--voxed-vox-bg); }
.post-title, .post-card h2, .post-card h3, .comment-text, .comment-content, .comment-body, .profile-header-card h1, .profile-header-card h2 { color: var(--voxed-text); }
.category-title-link { color: var(--voxed-link); text-decoration: none; font-weight: 700; }
.category-title-link:hover { text-decoration: underline; }
a { --theme-link-color: var(--voxed-link); }
.post-category, .post-link, .comment-link { color: var(--voxed-link); }
button.vox-button, .vts-save { background-color: var(--voxed-accent); }
.notification-icon { position: relative; }
#notification-badge {
    display: none;
    position: absolute;
    top: -3px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    box-sizing: border-box;
    border: 2px solid var(--voxed-header-bg, #2C3E50);
    border-radius: 999px;
    background: #E53935;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    z-index: 10;
}
#notification-badge:not(:empty) { display: flex; }
#notification-badge.many { min-width: 22px; font-size: 9px; }

html[data-voxed-theme="light"] body { background-color: var(--voxed-page-bg); color: var(--voxed-text); }
html[data-voxed-theme="light"] main,
html[data-voxed-theme="light"] .post-title,
html[data-voxed-theme="light"] .post-card h2,
html[data-voxed-theme="light"] .post-card h3,
html[data-voxed-theme="light"] .comment-text,
html[data-voxed-theme="light"] .comment-content,
html[data-voxed-theme="light"] .comment-body { color: var(--voxed-text); }
html[data-voxed-theme="light"] .comment {
    background-color: var(--voxed-panels-bg, #E3F1F8) !important;
    color: var(--voxed-text, #17242D) !important;
    border-bottom-color: var(--voxed-border, #D1E3EC) !important;
}
html[data-voxed-theme="light"] .comment:hover { background-color: #D7EAF4 !important; }
html[data-voxed-theme="light"] .comment .comment-body,
html[data-voxed-theme="light"] .comment .comment-text,
html[data-voxed-theme="light"] .comment .comment-content { color: var(--voxed-text, #17242D) !important; }
html[data-voxed-theme="light"] .comment .comment-date,
html[data-voxed-theme="light"] .comment .country-flag,
html[data-voxed-theme="light"] .comment .comment-menu-btn { color: #536B7B !important; }
html[data-voxed-theme="light"] .comment .comment-menu-dropdown { background: #FFFFFF; border-color: #D1E3EC; box-shadow: 0 4px 12px rgba(28, 69, 91, .18); }
html[data-voxed-theme="light"] .comment .menu-option { color: #243946; }
html[data-voxed-theme="light"] .comment .menu-option:hover { background: #E3F1F8; color: #17242D; }
html[data-voxed-theme="light"] .comment .menu-option i { color: #536B7B; }
/* Los estilos de varias páginas definen fondos oscuros inline; forzar aquí
   la superficie y el texto de comentarios cuando el tema activo es claro. */
html[data-voxed-theme="light"] .comment,
html[data-voxed-theme="light"] .comment-item,
html[data-voxed-theme="light"] .comment-card,
html[data-voxed-theme="light"] .comment-container {
    background-color: var(--voxed-panels-bg, #E3F1F8) !important;
    color: var(--voxed-text, #17242D) !important;
    border-color: var(--voxed-border, #D1E3EC) !important;
}
html[data-voxed-theme="light"] .comment:hover,
html[data-voxed-theme="light"] .comment-item:hover {
    background-color: #D7EAF4 !important;
}
html[data-voxed-theme="light"] .comment .comment-body,
html[data-voxed-theme="light"] .comment .comment-text,
html[data-voxed-theme="light"] .comment-item .comment-text,
html[data-voxed-theme="light"] .comment-item .comment-meta,
html[data-voxed-theme="light"] .comment-item .comment-date,
html[data-voxed-theme="light"] .comment-card,
html[data-voxed-theme="light"] .comment-container {
    color: var(--voxed-text, #17242D) !important;
}
html[data-voxed-theme="light"] .comment-item .post-link { color: var(--voxed-link, #286B8D) !important; }
html[data-voxed-theme="light"] .comment-item .comment-text .greentext,
html[data-voxed-theme="light"] .comment .comment-text .greentext { color: var(--voxed-greentext, #267341) !important; }
html[data-voxed-theme="light"] .comment-item .comment-date,
html[data-voxed-theme="light"] .comment .comment-date,
html[data-voxed-theme="light"] .comment .country-flag,
html[data-voxed-theme="light"] .comment .comment-menu-btn { color: var(--voxed-muted, #536B7B) !important; }
html[data-voxed-theme="light"] .sidebar { background-color: var(--voxed-sidebar-bg); border-left: 1px solid var(--voxed-border); }
html[data-voxed-theme="light"] .sidebar a { color: var(--voxed-text); }
html[data-voxed-theme="light"] .post-card,
html[data-voxed-theme="light"] .comment-card,
html[data-voxed-theme="light"] .comment-item,
html[data-voxed-theme="light"] .comment-container,
html[data-voxed-theme="light"] .profile-header-card,
html[data-voxed-theme="light"] .profile-section { background-color: var(--voxed-panels-bg); color: var(--voxed-text); border-color: var(--voxed-border); }
html[data-voxed-theme="light"] .post-card-inner { background-color: var(--voxed-vox-bg); }
html[data-voxed-theme="light"] input,
html[data-voxed-theme="light"] textarea,
html[data-voxed-theme="light"] select { background-color: var(--voxed-input-bg); color: var(--voxed-text); }
html[data-voxed-theme="light"] #app,
html[data-voxed-theme="light"] .profile-main,
html[data-voxed-theme="light"] .profile-content { color: var(--voxed-text); }
html[data-voxed-theme-mode="custom"] .comment .avatarColor:not(.multicolor) { background-color: var(--voxed-avatar); }

.vts-sidebar-section { border-top: 1px solid var(--voxed-border, #304255); margin-top: 12px; padding: 14px 0 2px; color: var(--voxed-text, #fff); }
.vts-sidebar-heading { display: flex; align-items: center; gap: 9px; padding: 0 7px 10px; font-size: 15px; font-weight: 700; }
.vts-mode-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 4px; border: 1px solid var(--voxed-border, #304255); border-radius: 10px; }
.vts-mode-switch button { min-width: 0; border: 0; border-radius: 7px; background: transparent; color: var(--voxed-muted, #A9B5BF); cursor: pointer; font-size: 15px; line-height: 1.1; padding: 6px 2px; }
.vts-mode-switch button span { display: block; padding-top: 4px; font-size: 12px; font-weight: 600; }
.vts-mode-switch button.active { background: color-mix(in srgb, var(--voxed-accent), transparent 82%); color: var(--voxed-text, #fff); }
.vts-mode-help { margin: 7px 5px 0; color: var(--voxed-muted, #A9B5BF); font-size: 11px; line-height: 1.35; }
.vts-themes-title { padding: 14px 6px 7px; font-size: 13px; font-weight: 700; }
.vts-create-theme { width: 100%; border: 0; background: transparent; color: var(--voxed-muted, #A9B5BF); text-align: left; cursor: pointer; padding: 9px 7px; font-weight: 600; }
.vts-create-theme:hover { color: var(--voxed-text, #fff); }
.vts-saved-theme { display: flex; align-items: center; gap: 3px; }
.vts-theme-name, .vts-theme-edit, .vts-theme-delete { border: 0; background: transparent; color: var(--voxed-text, #fff); cursor: pointer; }
.vts-theme-name { flex: 1; min-width: 0; border-radius: 6px; padding: 8px 7px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vts-theme-name.active { background: color-mix(in srgb, var(--voxed-accent), transparent 80%); }
.vts-theme-edit, .vts-theme-delete { padding: 5px; color: var(--voxed-muted, #A9B5BF); }

.vts-backdrop { position: fixed; inset: 0; z-index: 6000; display: flex; justify-content: flex-end; background: rgba(0, 0, 0, .34); }
.vts-backdrop[hidden] { display: none !important; }
.vts-editor { display: flex; flex-direction: column; width: min(410px, 100vw); height: 100%; background: #0F172B; color: #F8FAFC; box-shadow: -12px 0 35px rgba(0, 0, 0, .32); font-family: Arial, sans-serif; }
.vts-editor-header { position: static; inset: auto; z-index: auto; display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; height: auto; min-height: 0; padding: 18px 18px 14px; border-bottom: 1px solid #263246; background: #0F172B; box-shadow: none; }
.vts-editor-header h2 { margin: 0 0 7px; font-size: 17px; }
.vts-editor-header p { margin: 0; max-width: 335px; color: #9BA6B5; font-size: 12px; line-height: 1.4; }
.vts-close { border: 0; background: transparent; color: #9BA6B5; cursor: pointer; font-size: 23px; line-height: 1; }
.vts-editor-content { flex: 1; overflow-y: auto; padding: 18px 18px 22px; }
.vts-field-label { display: block; margin-bottom: 22px; color: #E7EBF0; font-size: 14px; font-weight: 700; }
.vts-field-label > input { display: block; width: 100%; height: 38px; margin-top: 8px; border: 1px solid #343F51; border-radius: 9px; background: #030817; color: #F8FAFC; padding: 0 12px; font-size: 14px; }
.vts-base-switch, .vts-header-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 10px; }
.vts-base-switch button, .vts-header-modes button, .vts-colors-heading button { border: 1px solid #343F51; border-radius: 9px; background: transparent; color: #C3CBD5; cursor: pointer; min-height: 36px; font-weight: 600; }
.vts-base-switch button.active, .vts-header-modes button.active, .vts-colors-heading button.active { background: #0789CE; border-color: #0789CE; color: #fff; }
.vts-import-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: -5px 0 24px; }
.vts-import-actions button { border: 1px solid #39465B; border-radius: 8px; background: #192337; color: #E8EDF3; cursor: pointer; min-height: 34px; padding: 6px; font-weight: 600; font-size: 12px; }
.vts-colors-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; font-size: 14px; }
.vts-colors-heading div { display: flex; gap: 4px; }
.vts-colors-heading button { min-height: 30px; padding: 0 10px; border: 0; font-size: 11px; }
.vts-help { margin: 0 0 12px; color: #8D98A8; font-size: 11px; line-height: 1.35; }
.vts-color-fields { display: grid; gap: 9px; margin-bottom: 23px; }
.vts-color-row { display: grid; grid-template-columns: 33px minmax(0, 1fr) 104px 22px; align-items: center; gap: 8px; color: #E6EAF0; font-size: 12px; }
.vts-color-row input[type="color"] { width: 32px; height: 32px; border: 1px solid #3B4658; border-radius: 8px; background: #030817; padding: 0; cursor: pointer; }
.vts-color-row input[type="text"] { width: 100%; min-width: 0; height: 32px; border: 1px solid #303B4F; border-radius: 8px; background: #030817; color: #E9EDF3; padding: 0 8px; font: 12px monospace; }
.vts-eyedropper { border: 0; background: transparent; color: #9BA6B5; cursor: pointer; }
.vts-header-colors { margin-bottom: 0; }
.vts-header-modes { grid-template-columns: repeat(3, 1fr); }
.vts-header-pickers { display: flex; gap: 10px; padding-top: 10px; }
.vts-header-pickers input[type="color"] { width: 100%; height: 40px; border: 1px solid #343F51; border-radius: 9px; background: #030817; }
.vts-editor-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 14px; border-top: 1px solid #263246; background: #0F172B; }
.vts-editor-footer button { min-height: 36px; border: 1px solid #39465B; border-radius: 8px; background: transparent; color: #F3F6FA; cursor: pointer; padding: 0 13px; font-weight: 700; }
.vts-editor-footer .vts-save { border-color: #0789CE; background: #0789CE; }
body.vts-editor-open { overflow: hidden; }

.vts-mode-switch button:focus:not(:focus-visible) { outline: none; }
.vts-mode-switch button:focus-visible { outline: 2px solid var(--voxed-accent); outline-offset: 2px; }
html[data-voxed-theme="light"] .comment-author { color: #267341; }
html[data-voxed-theme="light"] #comment-preview-container .preview-author { color: #267341; }
html[data-voxed-theme="light"] .comment .avatarColor:not(.multicolor) { text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
html[data-voxed-theme="light"] .comment .avatarColor.yellow { color: #19232D; text-shadow: none; }

/* Tema claro inspirado en la interfaz clásica de Voxed (2016). */
html[data-voxed-theme="light"] body > header,
html[data-voxed-theme="light"] #app > header {
    border-bottom: 1px solid #D5E2E9;
    box-shadow: 0 1px 3px rgba(28, 69, 91, .12);
}
html[data-voxed-theme="light"] .logo-text,
html[data-voxed-theme="light"] .categories-btn,
html[data-voxed-theme="light"] .search-btn,
html[data-voxed-theme="light"] .hamburger-menu,
html[data-voxed-theme="light"] .notification-icon { color: var(--voxed-header-text); }
html[data-voxed-theme="light"] .categories-btn svg { color: var(--voxed-header-text) !important; }
html[data-voxed-theme="light"] .notification-icon > svg { color: var(--voxed-header-text); fill: var(--voxed-header-text) !important; }
html[data-voxed-theme="light"] .categories-content {
    background: #FFFFFF;
    border-color: #D1E3EC;
}
html[data-voxed-theme="light"] .categories-content a {
    color: #286B8D !important;
    border-bottom-color: #E1EBF0;
}
html[data-voxed-theme="light"] .categories-content a:hover { background: #E3F1F8; color: #174D69 !important; }
html[data-voxed-theme="light"] .sidebar { border-left: 1px solid #D1E3EC; }

/* Octubre: paleta negra y roja, limitada a la categoría X Files/paranormal. */
html.x-files-october body { background: var(--voxed-page-bg); color: var(--voxed-text); }
html.x-files-october body > header,
html.x-files-october #app > header { border-bottom: 1px solid var(--voxed-border); }
html.x-files-october .categories-content { background: #110C0D; border-color: var(--voxed-border); }
html.x-files-october .categories-content a { color: #F5ECEC !important; border-bottom-color: #2D1518; }
html.x-files-october .categories-content a:hover { background: #321014; color: #FFFFFF !important; }
html.x-files-october .categories-btn:hover,
html.x-files-october .search-btn:hover,
html.x-files-october .hamburger-menu:hover { background: rgba(181, 18, 27, .22); }
html.x-files-october .category-filter-title {
    color: var(--voxed-text) !important;
    border-bottom-color: var(--voxed-border) !important;
}
html.x-files-october .category-filter-title strong,
html.x-files-october .category-filter-title a { color: var(--voxed-link) !important; }
html.x-files-october .post-card { border: 1px solid #4A1419; }
html.x-files-october .post-card-inner { background-color: #10090A !important; }
html.x-files-october .post-category { background: #A50F18 !important; color: #FFFFFF !important; }
html.x-files-october .feed-skeleton-card { background: #160D0F; }
html.x-files-october .feed-skeleton-top span,
html.x-files-october .feed-skeleton-bottom span { background: #4A171D; }
html.x-files-october .sidebar { background: var(--voxed-sidebar-bg); border-left: 1px solid var(--voxed-border); }
html.x-files-october .sidebar a { color: var(--voxed-text); }
html.x-files-october .sidebar a:hover { background: #321014; }

/* Mantener la paleta de X Files también dentro del detalle del Vox. */
html.x-files-october #post-content,
html.x-files-october .post-main-wrapper,
html.x-files-october .post-column,
html.x-files-october .comments-column {
    background: var(--voxed-page-bg) !important;
    color: var(--voxed-text) !important;
}
html.x-files-october .post-column { border-right-color: var(--voxed-border) !important; }
html.x-files-october .category-container,
html.x-files-october .action-container,
html.x-files-october .comment-form-wrapper,
html.x-files-october .comments-counter-wrapper {
    background: var(--voxed-panels-bg) !important;
    color: var(--voxed-text) !important;
    border-color: var(--voxed-border) !important;
    box-shadow: none !important;
}
html.x-files-october .category-label,
html.x-files-october .post-date,
html.x-files-october .comment-date { color: var(--voxed-muted) !important; }
html.x-files-october .category-title-link,
html.x-files-october .category-container .post-category,
html.x-files-october .action-container .action-btn { color: var(--voxed-link) !important; }
html.x-files-october #post-column .post-container h1,
html.x-files-october #post-column .post-container article,
html.x-files-october .comments-counter-wrapper h3,
html.x-files-october .comments-counter-wrapper h3 span,
html.x-files-october #comments-list .comment .comment-body,
html.x-files-october #comments-list .comment .comment-text { color: var(--voxed-text) !important; }
html.x-files-october #post-column .post-container article .greentext,
html.x-files-october #comments-list .comment .comment-text .greentext { color: var(--voxed-greentext) !important; }
html.x-files-october #comments-list .comment {
    background: transparent !important;
    border-bottom-color: rgba(245, 236, 236, .12) !important;
}
html.x-files-october #comments-list .comment:hover,
html.x-files-october #comments-list .comment.op-comment { background: #1B1113 !important; }
html.x-files-october .comment-form-wrapper #comment-text,
html.x-files-october #youtube-url {
    background: var(--voxed-input-bg) !important;
    color: var(--voxed-text) !important;
    border-color: var(--voxed-border) !important;
}
html.x-files-october .comment-form-wrapper .comment-action-btn {
    background: var(--voxed-vox-bg) !important;
    color: var(--voxed-link) !important;
    border-color: var(--voxed-border) !important;
}
html.x-files-october .comment-form-wrapper button[type="submit"] {
    background: var(--voxed-accent) !important;
    color: #FFFFFF !important;
}
html.x-files-october .comments-load-more {
    background: var(--voxed-panels-bg) !important;
    color: var(--voxed-text) !important;
    border-color: var(--voxed-border) !important;
}

/* Vista clara clásica de 2016 para la página de un vox. */
html[data-voxed-theme="light"]:not(.x-files-october) body {
    background: var(--voxed-page-bg, #EFF7FB) !important;
    color: var(--voxed-text, #17242D) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #post-content,
html[data-voxed-theme="light"]:not(.x-files-october) .post-main-wrapper {
    background: var(--voxed-page-bg, #EFF7FB) !important;
    color: var(--voxed-text, #17242D) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .post-column {
    background: var(--voxed-page-bg, #EFF7FB) !important;
    color: var(--voxed-text, #17242D) !important;
    border-right-color: var(--voxed-border, #D1E3EC) !important;
    border-bottom-color: var(--voxed-border, #D1E3EC) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .comments-column {
    background: var(--voxed-vox-bg, #FFFFFF) !important;
    color: var(--voxed-text, #17242D) !important;
}
@media (min-width: 1025px) {
    html[data-voxed-theme="light"]:not(.x-files-october) .post-column { flex-basis: 54.5% !important; max-width: 54.5% !important; }
    html[data-voxed-theme="light"]:not(.x-files-october) .comments-column { flex-basis: 45.5% !important; max-width: 45.5% !important; }
}
html[data-voxed-theme="light"]:not(.x-files-october) .category-container,
html[data-voxed-theme="light"]:not(.x-files-october) .action-container {
    background: var(--voxed-panels-bg, #E3F1F8) !important;
    border-color: var(--voxed-border, #D1E3EC) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .category-container .post-category {
    color: var(--voxed-link, #286B8D) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .action-container .action-btn {
    color: var(--voxed-link, #286B8D) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .action-container .action-btn svg {
    color: currentColor !important;
    stroke: currentColor !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .action-container .action-btn:hover {
    color: #174D69 !important;
    background: rgba(40, 107, 141, .08) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .action-container .post-date {
    color: var(--voxed-muted, #536B7B) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #post-column .post-container h1,
html[data-voxed-theme="light"]:not(.x-files-october) #post-column .post-container article {
    color: var(--voxed-text, #17242D) !important;
    text-shadow: none !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #post-column .post-container article .greentext {
    color: var(--voxed-greentext, #267341) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #post-column .post-image {
    border: 7px solid var(--voxed-vox-bg, #FFFFFF) !important;
    border-radius: 3px !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .comment-form-wrapper {
    background: var(--voxed-panels-bg, #E3F1F8) !important;
    border: 1px solid var(--voxed-border, #D1E3EC) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .comment-form-wrapper #comment-text,
html[data-voxed-theme="light"]:not(.x-files-october) #youtube-url {
    background: #F1F1F1 !important;
    color: var(--voxed-text, #17242D) !important;
    border: 1px solid #D2D2D2 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #comment-text::placeholder,
html[data-voxed-theme="light"]:not(.x-files-october) #youtube-url::placeholder { color: #687985 !important; }
html[data-voxed-theme="light"]:not(.x-files-october) #comment-text:focus,
html[data-voxed-theme="light"]:not(.x-files-october) #youtube-url:focus { border-color: var(--voxed-accent, #286B8D) !important; }
html[data-voxed-theme="light"]:not(.x-files-october) #admin-badge-option { color: #8A6500 !important; }
html[data-voxed-theme="light"]:not(.x-files-october) #mention-preview,
html[data-voxed-theme="light"]:not(.x-files-october) #image-preview-container {
    background: #FFFFFF !important;
    color: var(--voxed-text, #17242D) !important;
    border-color: var(--voxed-border, #D1E3EC) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .comment-form-wrapper .comment-action-btn {
    background: #F4F7F8 !important;
    color: var(--voxed-link, #286B8D) !important;
    border: 1px solid #C7D8E0 !important;
    border-radius: 3px !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .comment-form-wrapper .comment-action-btn svg { stroke: currentColor !important; }
html[data-voxed-theme="light"]:not(.x-files-october) .comment-actions button[type="submit"] {
    background: #286B8D !important;
    color: #FFFFFF !important;
    border-radius: 3px !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .comments-counter-wrapper {
    background: #CDE4F0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) .comments-counter-wrapper h3,
html[data-voxed-theme="light"]:not(.x-files-october) .comments-counter-wrapper h3 span {
    color: #286B8D !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment {
    background: #FFFFFF !important;
    border: 0 !important;
    border-bottom: 1px solid #D7E4EA !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--voxed-text, #17242D) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment.op-comment,
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment:hover {
    background: #E3F1F8 !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment .comment-body,
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment .comment-text {
    color: var(--voxed-text, #17242D) !important;
}
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment .comment-author { color: #267341 !important; }
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment .comment-date,
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment .comment-menu-btn { color: #536B7B !important; }
html[data-voxed-theme="light"]:not(.x-files-october) #comments-list .comment .comment-text .greentext { color: var(--voxed-greentext, #267341) !important; }

@media (max-width: 420px) {
    .vts-editor { width: 100vw; }
    .vts-editor-content { padding-right: 14px; padding-left: 14px; }
}

/* Aviso compacto: solo aparece si el navegador exige un gesto para el audio. */
.x-files-audio-activation {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9997;
    padding: 9px 13px;
    color: #F5ECEC;
    background: #A50F18;
    border: 1px solid #5A171D;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .45);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.x-files-audio-activation[hidden] { display: none !important; }
.x-files-audio-activation:hover { background: #C31B25; }
@media (max-width: 420px) {
    .x-files-audio-activation {
        right: 10px;
        bottom: 10px;
        font-size: 12px;
    }
}
/* ============================================================
   INDICADOR DE CONECTADOS
   ============================================================ */
.online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-left: 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--voxed-header-text, #FFFFFF);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    user-select: none;
    white-space: nowrap;
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.8);
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.online-count {
    color: #2ecc71;
    font-weight: 700;
}

/* Cuando el número es 0, apagar el pulso */
.online-indicator[data-online="0"] .online-dot {
    background: #888;
    box-shadow: none;
    animation: none;
}

.online-indicator[data-online="0"] .online-count {
    color: #888;
}

@media (max-width: 768px) {
    .online-indicator {
        padding: 3px 8px;
        font-size: 11px;
        margin-left: 6px;
    }
    .online-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .online-indicator {
        display: none;
    }
}
                      
