: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-sidebar-heading i { color: var(--voxed-accent, #0084D1); font-size: 14px; }
.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 i { display: block; margin: 0 auto 4px; font-size: 14px; line-height: 1; }
.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-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: #858585; }
html[data-voxed-theme="light"] #comment-preview-container .preview-author { color: #858585; }
html[data-voxed-theme="light"] .comment .avatarColor:not(.multicolor) { text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.comment .avatarColor.yellow { color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .55) !important; }
.comment .avatarColor.multicolor::after { font: inherit; }

/* 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: 0; }
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: #858585 !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;
    }
}

/* Keep feed-card captions readable over their media in the light theme. */
html[data-voxed-theme="light"] .post-card .post-title {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 4px rgba(0, 0, 0, .65) !important;
}

/* Keep the category control readable against the white sidebar in light mode. */
html[data-voxed-theme="light"] .sidebar .sidebar-categories-toggle,
html[data-voxed-theme="light"] .sidebar .sidebar-categories-toggle > span,
html[data-voxed-theme="light"] .sidebar .sidebar-categories-toggle .categories-arrow {
    color: var(--voxed-link, #286B8D) !important;
}
html[data-voxed-theme="light"] .sidebar .sidebar-categories-toggle > span:first-child i {
    color: var(--voxed-accent, #286B8D) !important;
}

/* Devox-style translucent frames; zero grid gap keeps the cards grouped. */
.posts-grid > .post-card {
    box-sizing: border-box;
    border: 0;
    outline: 0;
}

/* Voxed's old cards touch; their soft edge is drawn inside each image. */
.posts-grid { gap: 0 !important; }
.posts-grid > .post-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, .18);
    pointer-events: none;
}
html.x-files-october .posts-grid > .post-card::after {
    border-color: rgba(112, 230, 136, .28);
}

/* The thin frame is painted over the image, never as a layout gutter. */
@media (hover: hover) and (pointer: fine) {
    .posts-grid > .post-card:hover::after,
    .posts-grid > .post-card:focus-visible::after {
        border-color: rgba(74, 174, 224, .55);
    }
    html.x-files-october .posts-grid > .post-card:hover::after,
    html.x-files-october .posts-grid > .post-card:focus-visible::after {
        border-color: rgba(112, 230, 136, .62);
    }
}

@media (hover: hover) and (pointer: fine) {
    .posts-grid > .post-card:hover,
    .posts-grid > .post-card:focus-visible {
        z-index: 10;
        transform: scale(1.01);
        filter: brightness(1.04);
        box-shadow: none;
    }

    html.x-files-october .posts-grid > .post-card:hover,
    html.x-files-october .posts-grid > .post-card:focus-visible {
        box-shadow: none;
    }
}

/* Keep the card boxes flush and place the translucent edge over the image. */
.posts-grid > .post-card {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

/* Devox navigation: compact workspace panel, with appearance and account tools up front. */
.devox-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 6998;
    background: rgba(4, 14, 22, .48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}
.devox-menu-backdrop.active { opacity: 1; visibility: visible; }
body.devox-menu-open { overflow: hidden; }
.sidebar.devox-menu-drawer {
    position: fixed !important;
    z-index: 6999 !important;
    inset: 12px 12px 12px auto !important;
    display: flex;
    flex-direction: column;
    width: min(408px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: hidden !important;
    padding: 0 !important;
    border: 1px solid var(--voxed-border, #344B58) !important;
    border-radius: 18px;
    background: var(--voxed-sidebar-bg, #0E2B39) !important;
    color: var(--voxed-text, #F2F5F7) !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(calc(100% + 20px), 0, 0);
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.sidebar.devox-menu-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}
.devox-menu-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 0 20px;
    border-bottom: 1px solid var(--voxed-border, #344B58);
    background: var(--voxed-header-bg, #293D4E);
    color: var(--voxed-header-text, #F5F7FA);
}
.devox-menu-brand { display: flex; align-items: baseline; gap: 12px; }
.devox-menu-wordmark {
    color: var(--voxed-header-text, #F5F7FA);
    font: 800 25px/1 Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
}
.devox-menu-header-label { color: var(--voxed-muted, #9AABB6); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.devox-menu-close {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--voxed-text, #fff) 14%, transparent);
    border-radius: 11px;
    background: color-mix(in srgb, var(--voxed-text, #fff) 6%, transparent);
    color: var(--voxed-header-text, #fff);
    cursor: pointer;
    font: 400 24px/1 Arial, sans-serif;
}
.devox-menu-close:hover { background: color-mix(in srgb, var(--voxed-accent, #2879A9) 20%, transparent); }
.devox-menu-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 16px 16px; }
.devox-menu-scroll::-webkit-scrollbar { width: 8px; }
.devox-menu-scroll::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 10px; background: color-mix(in srgb, var(--voxed-muted, #9AABB6) 35%, transparent); background-clip: padding-box; }
.devox-menu-theme-slot { padding-top: 14px; }
.sidebar.devox-menu-drawer .vts-sidebar-section { margin: 0; padding: 0 0 13px; border: 0; border-bottom: 1px solid var(--voxed-border, #344B58); color: var(--voxed-text, #F2F5F7); }
.sidebar.devox-menu-drawer .vts-sidebar-heading { padding: 0 2px 9px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.sidebar.devox-menu-drawer .vts-mode-switch { gap: 5px; padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--voxed-text, #fff) 4%, transparent); }
.sidebar.devox-menu-drawer .vts-mode-switch button { padding: 8px 4px; border-radius: 9px; color: var(--voxed-muted, #9AABB6); font-size: 12px; }
.sidebar.devox-menu-drawer .vts-mode-switch button.active { background: var(--voxed-accent, #2879A9); color: #fff; }
.sidebar.devox-menu-drawer .vts-mode-switch button span { padding-top: 3px; font-size: 11px; }
.sidebar.devox-menu-drawer .vts-mode-help { margin: 6px 3px 0; font-size: 10px; }
.devox-menu-account { padding: 17px 2px 15px; border-bottom: 1px solid var(--voxed-border, #344B58); }
.devox-menu-eyebrow, .devox-menu-section-title { margin: 0 0 9px; color: var(--voxed-muted, #9AABB6); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.devox-menu-greeting { margin: 0 0 12px; color: var(--voxed-text, #F2F5F7); font-size: 15px; font-weight: 600; }
.devox-menu-greeting strong { color: var(--voxed-link, #70B7D8); }
.devox-menu-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sidebar.devox-menu-drawer .devox-menu-shortcut,
.sidebar.devox-menu-drawer .devox-menu-tile {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--voxed-border, #344B58);
    border-radius: 11px;
    background: color-mix(in srgb, var(--voxed-text, #fff) 3%, transparent);
    color: var(--voxed-text, #F2F5F7) !important;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.sidebar.devox-menu-drawer .devox-menu-shortcut { min-height: 42px; padding: 0 11px; font-size: 12px; font-weight: 600; }
.sidebar.devox-menu-drawer .devox-menu-shortcut i,
.sidebar.devox-menu-drawer .devox-menu-tile i { flex: 0 0 18px; color: var(--voxed-accent, #2879A9); text-align: center; }
.devox-menu-section { padding: 16px 2px; border-bottom: 1px solid var(--voxed-border, #344B58); }
.devox-menu-section-title { margin-bottom: 9px; }
.devox-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sidebar.devox-menu-drawer .devox-menu-tile { min-height: 58px; padding: 0 11px; font-size: 12px; font-weight: 600; }
.sidebar.devox-menu-drawer .devox-menu-shortcut:hover,
.sidebar.devox-menu-drawer .devox-menu-tile:hover,
.sidebar.devox-menu-drawer .devox-menu-footer-link:hover {
    border-color: color-mix(in srgb, var(--voxed-accent, #2879A9) 60%, var(--voxed-border, #344B58));
    background: color-mix(in srgb, var(--voxed-accent, #2879A9) 12%, transparent);
    transform: translateY(-1px);
}
.sidebar.devox-menu-drawer .devox-menu-explore { padding: 14px 2px; }
.sidebar.devox-menu-drawer .sidebar-categories-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 11px;
    padding: 10px 11px;
    border: 1px solid var(--voxed-border, #344B58);
    border-radius: 12px;
    background: color-mix(in srgb, var(--voxed-text, #fff) 3%, transparent);
    color: var(--voxed-text, #F2F5F7);
    text-align: left;
    cursor: pointer;
}
.devox-menu-explore-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--voxed-accent, #2879A9) 15%, transparent); color: var(--voxed-accent, #2879A9); }
.devox-menu-explore-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.devox-menu-explore-copy strong { font-size: 13px; }
.devox-menu-explore-copy small { color: var(--voxed-muted, #9AABB6); font-size: 10px; }
.sidebar.devox-menu-drawer .categories-arrow { color: var(--voxed-muted, #9AABB6); font-size: 18px; }
.sidebar.devox-menu-drawer .sidebar-categories-list { display: none; max-height: min(42vh, 360px); margin-top: 8px; overflow: auto; padding: 8px; border: 1px solid var(--voxed-border, #344B58); border-radius: 12px; background: color-mix(in srgb, var(--voxed-text, #fff) 3%, transparent); }
.sidebar.devox-menu-drawer .sidebar-categories-list.open { display: block; }
.category-filter-actions { display: flex; justify-content: flex-end; padding: 2px 2px 8px; }
.category-filter-actions button { border: 0; background: none; color: var(--voxed-link, #70B7D8); cursor: pointer; font: 600 11px Arial, sans-serif; }
.category-filter-item { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px; border-bottom: 1px solid color-mix(in srgb, var(--voxed-border, #344B58) 72%, transparent); color: var(--voxed-text, #F2F5F7); font-size: 12px; }
.category-filter-item:last-child { border-bottom: 0; }
.category-filter-item .category-name { min-width: 0; }
.sidebar.devox-menu-drawer .category-checkbox { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; padding: 0; border: 1.5px solid var(--voxed-muted, #9AABB6); border-radius: 7px; background: transparent; color: #fff; cursor: pointer; font: 700 13px Arial, sans-serif; }
.sidebar.devox-menu-drawer .category-checkbox.checked { border-color: var(--voxed-accent, #2879A9); background: var(--voxed-accent, #2879A9); }
.sidebar.devox-menu-drawer .devox-menu-footer { display: flex; flex-wrap: wrap; gap: 8px; padding: 3px 2px 2px; }
.sidebar.devox-menu-drawer .devox-menu-footer-link { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--voxed-border, #344B58); border-radius: 10px; color: var(--voxed-muted, #9AABB6) !important; font-size: 11px; text-decoration: none; }
.sidebar.devox-menu-drawer .devox-menu-footer-link.is-danger { color: var(--voxed-danger, #DB554D) !important; }
.sidebar.devox-menu-drawer :focus-visible { outline: 2px solid var(--voxed-accent, #2879A9); outline-offset: 2px; }
html[data-voxed-theme="light"] .sidebar.devox-menu-drawer { border-color: #D1E3EC !important; box-shadow: 0 22px 70px rgba(28, 69, 91, .22); }
html[data-voxed-theme="light"] .sidebar.devox-menu-drawer .devox-menu-header { border-bottom-color: #D1E3EC; }
html[data-voxed-theme="light"] .sidebar.devox-menu-drawer .devox-menu-wordmark { color: #286B8D; }
html[data-voxed-theme="light"] .sidebar.devox-menu-drawer .vts-mode-switch button.active { color: #fff; }
@media (max-width: 480px) {
    .sidebar.devox-menu-drawer { inset: 8px !important; width: auto !important; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
    .devox-menu-scroll { padding-right: 13px; padding-left: 13px; }
    .devox-menu-header { min-height: 58px; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .devox-menu-backdrop, .sidebar.devox-menu-drawer, .sidebar.devox-menu-drawer * { transition-duration: .01ms !important; }
}

/* Compact notification dropdown: thumbnail, short message, and a quiet read action. */
#notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: -8px;
    z-index: 12000;
    box-sizing: border-box;
    width: min(272px, calc(100vw - 20px));
    max-height: min(450px, calc(100dvh - 72px));
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
    color: var(--voxed-text, #F2F5F7);
    background: var(--voxed-panels-bg, #213642);
    border: 1px solid var(--voxed-border, #344B58);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    text-align: left;
    overscroll-behavior: contain;
}
#notification-dropdown .devox-notification-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
#notification-dropdown .devox-notification-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 4px 6px;
    color: var(--voxed-text, #F2F5F7);
    background: transparent;
    border: 0;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color .12s ease;
}
#notification-dropdown .devox-notification-row:hover,
#notification-dropdown .devox-notification-row:focus-visible {
    color: var(--voxed-text, #F2F5F7);
    background: color-mix(in srgb, var(--voxed-accent, #2879A9) 14%, transparent);
    outline: none;
}
#notification-dropdown .devox-notification-row.is-unread {
    background: color-mix(in srgb, var(--voxed-accent, #2879A9) 9%, transparent);
}
#notification-dropdown .devox-notification-thumb-wrap,
#notification-dropdown .devox-notification-thumb {
    display: block;
    flex: 0 0 29px;
    width: 29px;
    height: 40px;
    overflow: hidden;
    object-fit: cover;
    background: color-mix(in srgb, var(--voxed-text, #fff) 8%, var(--voxed-panels-bg, #213642));
    border-radius: 2px;
}
#notification-dropdown .devox-notification-thumb-wrap { position: relative; }
#notification-dropdown .devox-notification-thumb-wrap > .devox-notification-thumb {
    position: absolute;
    inset: 0;
}
#notification-dropdown .devox-notification-icon-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--voxed-accent, #2879A9);
    font-size: 15px;
}
#notification-dropdown .devox-notification-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 2px;
}
#notification-dropdown .devox-notification-message {
    display: -webkit-box;
    overflow: hidden;
    color: var(--voxed-text, #F2F5F7);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
#notification-dropdown .devox-notification-message strong { font-weight: 700; }
#notification-dropdown .devox-notification-meta {
    color: var(--voxed-muted, #9AABB6);
    font-size: 10px;
    line-height: 1.2;
}
#notification-dropdown .devox-notification-unread {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-left: 2px;
    background: var(--voxed-accent, #2879A9);
    border-radius: 50%;
}
#notification-dropdown .devox-notification-footer {
    display: flex;
    justify-content: center;
    min-height: 28px;
    padding: 2px 0;
}
#notification-dropdown .devox-notification-footer button {
    padding: 3px 10px;
    color: var(--voxed-text, #F2F5F7);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}
#notification-dropdown .devox-notification-footer button:hover { color: var(--voxed-link, #70B7D8); }
#notification-dropdown .devox-notification-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 8px;
    color: var(--voxed-muted, #9AABB6);
    font-size: 12px;
}
@media (max-width: 600px) {
    #notification-dropdown {
        position: fixed;
        top: var(--notification-dropdown-top, 58px);
        right: 8px;
        width: min(320px, calc(100vw - 16px));
        max-height: calc(100dvh - var(--notification-dropdown-top, 58px) - 12px);
    }
}


/* Devox side navigation: compact category browsing inspired by Rozed's layout. */
.sidebar.devox-menu-drawer {
    position: fixed !important;
    z-index: 6999 !important;
    inset: 0 auto 0 0 !important;
    display: flex;
    flex-direction: column;
    width: min(292px, calc(100vw - 40px)) !important;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1px solid var(--voxed-border, #344B58) !important;
    border-radius: 0 !important;
    background: var(--voxed-sidebar-bg, #0E2B39) !important;
    color: var(--voxed-text, #F2F5F7) !important;
    box-shadow: 12px 0 42px rgba(0, 0, 0, .32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-102%, 0, 0);
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}

.sidebar.devox-menu-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.devox-menu-header {
    flex: 0 0 auto;
    min-height: 62px;
    padding: 0 17px;
    border-bottom: 1px solid var(--voxed-border, #344B58);
    background: var(--voxed-sidebar-bg, #0E2B39);
}

.devox-menu-wordmark {
    color: var(--voxed-accent, #39A9D6);
    font-size: 27px;
    letter-spacing: -1.1px;
}

.devox-menu-header-label { display: none; }

.devox-menu-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--voxed-muted, #9AABB6);
    font-size: 23px;
}

.devox-menu-close:hover {
    background: color-mix(in srgb, var(--voxed-accent, #39A9D6) 14%, transparent);
    color: var(--voxed-text, #F2F5F7);
}

.devox-menu-scroll {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 7px 11px 14px;
}

.devox-menu-scroll::-webkit-scrollbar { width: 7px; }
.devox-menu-scroll::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    background: color-mix(in srgb, var(--voxed-muted, #9AABB6) 36%, transparent);
    background-clip: padding-box;
}

.sidebar.devox-menu-drawer .devox-menu-account {
    order: 0;
    padding: 5px 4px 10px;
}

.sidebar.devox-menu-drawer .devox-menu-eyebrow,
.sidebar.devox-menu-drawer .devox-menu-section-title {
    margin: 0 0 5px;
    color: var(--voxed-muted, #9AABB6);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
}

.sidebar.devox-menu-drawer .devox-menu-shortcuts {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sidebar.devox-menu-drawer .devox-menu-shortcut,
.sidebar.devox-menu-drawer .devox-menu-tile {
    display: flex;
    min-width: 0;
    min-height: 41px;
    align-items: center;
    gap: 11px;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--voxed-text, #F2F5F7) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .14s ease, color .14s ease;
}

.sidebar.devox-menu-drawer .devox-menu-shortcut i,
.sidebar.devox-menu-drawer .devox-menu-tile i {
    flex: 0 0 19px;
    color: var(--voxed-accent, #39A9D6);
    text-align: center;
}

.sidebar.devox-menu-drawer .devox-menu-shortcut:hover,
.sidebar.devox-menu-drawer .devox-menu-tile:hover,
.sidebar.devox-menu-drawer .devox-menu-footer-link:hover {
    background: color-mix(in srgb, var(--voxed-accent, #39A9D6) 13%, transparent);
    color: var(--voxed-text, #F2F5F7) !important;
    transform: none;
}

.sidebar.devox-menu-drawer .devox-menu-explore {
    order: 1;
    margin: 0;
    padding: 5px 0 7px;
    border-top: 1px solid var(--voxed-border, #344B58);
    border-bottom: 1px solid var(--voxed-border, #344B58);
}

.sidebar.devox-menu-drawer .sidebar-categories-toggle {
    display: flex;
    width: 100%;
    min-height: 43px;
    align-items: center;
    gap: 10px;
    padding: 5px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--voxed-text, #F2F5F7);
    text-align: left;
    cursor: pointer;
}

.sidebar.devox-menu-drawer .sidebar-categories-toggle:hover,
.sidebar.devox-menu-drawer .sidebar-categories-toggle.active {
    background: color-mix(in srgb, var(--voxed-accent, #39A9D6) 11%, transparent);
}

.devox-menu-explore-icon {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 7px;
    background: color-mix(in srgb, var(--voxed-accent, #39A9D6) 13%, transparent);
    color: var(--voxed-accent, #39A9D6);
}

.devox-menu-explore-copy { flex: 1; min-width: 0; }
.devox-menu-explore-copy strong { font-size: 13px; font-weight: 600; }
.devox-menu-explore-copy small { display: none; }
.sidebar.devox-menu-drawer .categories-arrow { color: var(--voxed-muted, #9AABB6); font-size: 17px; }

.sidebar.devox-menu-drawer .sidebar-categories-list {
    display: none;
    max-height: min(47vh, 420px);
    margin: 1px 0 0;
    overflow: auto;
    padding: 2px 1px 4px 9px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.sidebar.devox-menu-drawer .sidebar-categories-list.open { display: block; }
.sidebar.devox-menu-drawer .category-filter-actions { padding: 1px 7px 5px; }

.sidebar.devox-menu-drawer .category-filter-item {
    min-height: 36px;
    gap: 8px;
    padding: 3px 5px 3px 8px;
    border-bottom: 1px solid color-mix(in srgb, var(--voxed-border, #344B58) 75%, transparent);
    font-size: 12px;
}

.sidebar.devox-menu-drawer .category-name.category-filter-link {
    flex: 1 1 auto;
    padding: 5px 0;
    color: var(--voxed-text, #F2F5F7);
    text-decoration: none;
}

.sidebar.devox-menu-drawer .category-name.category-filter-link:hover {
    color: var(--voxed-link, #70B7D8);
    text-decoration: underline;
}

.sidebar.devox-menu-drawer .category-checkbox {
    flex-basis: 19px;
    width: 19px;
    height: 19px;
    border-width: 1px;
    border-radius: 5px;
}

.sidebar.devox-menu-drawer .devox-menu-theme-slot {
    order: 2;
    padding: 10px 4px 8px;
}

.sidebar.devox-menu-drawer .vts-sidebar-section {
    margin: 0;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid var(--voxed-border, #344B58);
    color: var(--voxed-text, #F2F5F7);
}

.sidebar.devox-menu-drawer .vts-sidebar-heading {
    padding: 0 3px 7px;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: none;
}

.sidebar.devox-menu-drawer .vts-mode-switch {
    gap: 3px;
    padding: 3px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--voxed-text, #fff) 4%, transparent);
}

.sidebar.devox-menu-drawer .vts-mode-switch button { padding: 6px 3px; border-radius: 7px; font-size: 11px; }
.sidebar.devox-menu-drawer .vts-mode-switch button span { padding-top: 2px; font-size: 10px; }
.sidebar.devox-menu-drawer .vts-mode-help { margin: 5px 3px 0; font-size: 10px; }

.sidebar.devox-menu-drawer .devox-menu-section:not(.devox-menu-explore) {
    order: 3;
    padding: 10px 4px;
    border-bottom: 1px solid var(--voxed-border, #344B58);
}

.sidebar.devox-menu-drawer .devox-menu-grid { display: flex; flex-direction: column; gap: 1px; }
.sidebar.devox-menu-drawer .devox-menu-footer {
    order: 4;
    margin-top: auto;
    padding: 9px 4px 1px;
    border-top: 1px solid var(--voxed-border, #344B58);
}

.sidebar.devox-menu-drawer .devox-menu-footer-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    color: var(--voxed-text, #F2F5F7) !important;
    font-size: 13px;
    text-decoration: none;
}

.sidebar.devox-menu-drawer .devox-menu-footer-link i { color: var(--voxed-accent, #39A9D6); }
.sidebar.devox-menu-drawer :focus-visible { outline: 2px solid var(--voxed-accent, #39A9D6); outline-offset: 2px; }

html[data-voxed-theme="light"] .sidebar.devox-menu-drawer {
    border-right-color: #D1E3EC !important;
    box-shadow: 12px 0 36px rgba(28, 69, 91, .18);
}

@media (max-width: 480px) {
    .sidebar.devox-menu-drawer {
        inset: 0 auto 0 0 !important;
        width: min(300px, calc(100vw - 38px)) !important;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0 !important;
    }
    .devox-menu-header { min-height: 58px; padding: 0 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .devox-menu-backdrop,
    .sidebar.devox-menu-drawer,
    .sidebar.devox-menu-drawer * { transition-duration: .01ms !important; }
}

/* Selector compacto de categorías, con estilo Devox y abierto también al tacto. */
.categories-dropdown { position: relative; }
.categories-dropdown:not(.is-open) .categories-content { display: none !important; }
.categories-dropdown.is-open .categories-content {
    position: fixed;
    top: 56px;
    right: 16px;
    left: auto;
    z-index: 3000;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: min(460px, calc(100vw - 24px));
    max-height: min(70vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--voxed-border, #344B58);
    border-radius: 14px;
    background: var(--voxed-panels-bg, #213642);
    color: var(--voxed-text, #F2F5F7);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .30);
}
.categories-panel-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 3px 7px;
    color: var(--voxed-text, #F2F5F7);
}
.categories-panel-head strong { font-size: 14px; }
.categories-panel-head span { color: var(--voxed-muted, #9AABB6); font-size: 12px; }
.categories-dropdown .categories-content a {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid color-mix(in srgb, var(--voxed-border, #344B58) 78%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--voxed-page-bg, #192C38) 42%, transparent);
    color: var(--voxed-text, #F2F5F7);
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .14s ease, border-color .14s ease, transform .14s ease;
}
.categories-dropdown .categories-content a:hover,
.categories-dropdown .categories-content a:focus-visible {
    border-color: var(--voxed-accent, #2879A9);
    background: color-mix(in srgb, var(--voxed-accent, #2879A9) 18%, var(--voxed-page-bg, #192C38));
    color: var(--voxed-text, #F2F5F7);
    transform: translateY(-1px);
    outline: none;
}
.categories-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--voxed-accent, #2879A9) 18%, transparent); }
.categories-dropdown :focus-visible { outline: 2px solid var(--voxed-accent, #2879A9); outline-offset: 2px; }

/* Cuadraditos de portada de categoría en las tarjetas y en el encabezado del Vox. */
.feed-category-cover,
.post-category-image {
    display: inline-block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 4px;
    vertical-align: middle;
}
.post-category-image { width: 36px; height: 36px; }
html[data-voxed-theme="light"] .feed-category-cover,
html[data-voxed-theme="light"] .post-category-image { border-color: rgba(22, 53, 70, .22); }

@media (max-width: 480px) {
    .categories-dropdown.is-open .categories-content { top: 50px; right: 8px; width: calc(100vw - 16px); gap: 6px; padding: 10px; }
    .categories-dropdown .categories-content a { min-height: 36px; padding: 6px 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .categories-dropdown .categories-content a { transition: none; }
}

/* Comentarios fijados: una tarjeta destacada y una señal permanente en la lista. */
#comments-list .comment.pinned-comment:not(.pinned-copy),
#comments-list .comment.pinned-comment:not(.pinned-copy):hover {
    background: rgba(61, 154, 170, .08) !important;
    border-left: 3px solid #45a5b5 !important;
    border-radius: 0 9px 9px 0 !important;
}
#comments-list .comment.pinned-copy,
#comments-list .comment.pinned-copy:hover {
    margin: 15px 0 14px !important;
    padding: 15px 16px !important;
    border: 1px solid rgba(91, 187, 199, .42) !important;
    border-left: 4px solid #56bdc8 !important;
    border-radius: 12px !important;
    background: linear-gradient(112deg, rgba(45, 126, 144, .25), rgba(25, 47, 59, .98)) !important;
    box-shadow: 0 8px 22px rgba(3, 18, 25, .22), inset 0 1px 0 rgba(214, 247, 249, .06) !important;
}
#comments-list .comment-pinned-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border: 1px solid rgba(94, 199, 209, .4);
    border-radius: 999px;
    background: rgba(50, 147, 163, .18);
    color: #9ce2e6;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
html[data-voxed-theme="light"] #comments-list .comment.pinned-comment:not(.pinned-copy),
html[data-voxed-theme="light"] #comments-list .comment.pinned-comment:not(.pinned-copy):hover {
    background: #eef8fa !important;
    border-left-color: #34899b !important;
}
html[data-voxed-theme="light"] #comments-list .comment.pinned-copy,
html[data-voxed-theme="light"] #comments-list .comment.pinned-copy:hover {
    border-color: #add6dd !important;
    border-left-color: #34899b !important;
    background: linear-gradient(112deg, #e4f4f6, #f6fbfc) !important;
    box-shadow: 0 8px 22px rgba(28, 84, 98, .12), inset 0 1px 0 #fff !important;
}
html[data-voxed-theme="light"] #comments-list .comment-pinned-badge {
    border-color: #b5dce1;
    background: #dff1f4;
    color: #236979;
}

