/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #22313F;
    min-height: 100vh;
}

/* ===== HEADER ===== */
header {
    background-color: #2C3E50;
    padding: 8px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    /* Mantener el menú de categorías por encima de las acciones de moderación de las tarjetas. */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-text {
    font-weight: bold;
    font-size: 32px;
    color: white;
}

.logo-slogan {
    font-size: 9px;
    font-style: italic;
    color: #ff6b6b;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 8px;
}

.header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ===== CATEGORÍAS DROPDOWN ===== */
.categories-dropdown {
    position: relative;
    display: inline-block;
    z-index: 2001;
}

.categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.categories-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.categories-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1E2C38;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 2002;
    border: 1px solid #2a3a4a;
    margin-top: 4px;
    padding: 4px 0;
}

.categories-content a {
    display: block;
    padding: 10px 16px;
    color: #ddd !important;
    text-decoration: none;
    border-bottom: 1px solid #2a3a4a;
    transition: background 0.2s;
    font-size: 14px;
}

.categories-content a:hover {
    background: #2C3E50;
    color: white !important;
}

.categories-dropdown:hover .categories-content {
    display: block;
}

.categories-content::-webkit-scrollbar {
    width: 6px;
}

.categories-content::-webkit-scrollbar-track {
    background: #0f172a;
    border-radius: 3px;
}

.categories-content::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}

/* ===== NOTIFICACIONES ===== */
.notification-icon {
    position: relative;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.notification-icon:hover {
    color: #3498db;
}

.notification-icon:hover svg {
    fill: #3498db;
}

#notification-badge {
    display: none;
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4500;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    text-align: center;
    line-height: 18px;
}

/* ===== HAMBURGUESA ===== */
.hamburger-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.hamburger-menu:hover {
    color: #3498db;
    transform: scale(1.1);
}

/* ===== BOTÓN VOX ===== */
.vox-button {
    background: #1b6fb3;
    color: white;
    border: none;
    border-radius: 4px;
padding: 9px 12px;
    font-weight: bold;
    cursor: pointer;
font-size: 18px;
    transition: all 0.3s ease;
f}

.vox-button:hover {
    background: #3a8db5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 101, 135, 0.4);
}

.vox-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    top: 0;
    right: -290px;
    width: 250px;
    height: 100%;
    background-color: #34495e;
    padding: 70px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar a:hover {
    background-color: #3d566e;
    padding-left: 20px;
}

/* ===== MAIN ===== */
main {
    margin-top: 50px;
    padding: 0;
    min-height: 80vh;
    color: white;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ============================================
   POSTS GRID - ESTILO IMAGEBOARD
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    padding: 0;
}

.feed-skeleton-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #202d3a;
    isolation: isolate;
}

.feed-skeleton-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transform: translateX(-100%);
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.07) 45%, transparent 70%);
    animation: feed-skeleton-shimmer 1.5s ease-in-out infinite;
}

.feed-skeleton-top,
.feed-skeleton-bottom {
    position: absolute;
    right: 8px;
    left: 8px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.feed-skeleton-top { top: 8px; }
.feed-skeleton-bottom { bottom: 12px; align-items: flex-start; flex-direction: column; }
.feed-skeleton-top span,
.feed-skeleton-bottom span {
    display: block;
    height: 18px;
    border-radius: 4px;
    background: #354353;
}
.feed-skeleton-top span:first-child { width: 28%; }
.feed-skeleton-top span:last-child { width: 38%; }
.feed-skeleton-bottom span:first-child { width: 100%; height: 16px; }
.feed-skeleton-bottom span:last-child { width: 78%; height: 16px; }

@keyframes feed-skeleton-shimmer {
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .feed-skeleton-card::after { animation: none; }
}

/* ===== POST CARD ===== */
.post-card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, z-index 0.2s ease;
    background-color: #1a2632;
    position: relative;
   /*  border: 1px solid #2a3a4a; */
}

.post-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.post-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.post-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    transition: background 0.3s ease;
}

.post-card:hover .post-card-overlay {
    /* background: rgba(0, 0, 0, 0.5); */
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
}

.post-admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid rgba(246, 211, 101, 0.6);
    border-radius: 4px;
    background: rgba(76, 57, 12, 0.82);
    color: #ffe08a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.post-category {
    background: #256587;
    color: #fff;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-category-link { text-decoration: none; }
.post-category-link:focus-visible { outline: 2px solid #70B7FF; outline-offset: 2px; }

.post-category i {
    margin-right: 4px;
    font-size: 9px;
    color: #3498db;
}

.comment-admin-badge {
    display: inline-flex;
    align-items: center;
    background: #8b1e1e;
    color: #fff;
    border: 1px solid #f6d365;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.post-comments {
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 15px;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.post-comments i {
    margin-right: 3px;
    color: white;
    font-size: 17px;
}

.post-card-footer {
    padding: 2px 0;
}

.post-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* ================================================================
   🎯 MARCO INTERIOR NEGRO TRASLÚCIDO (SIEMPRE VISIBLE)
   ================================================================ */
.post-card .marco-interior {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    pointer-events: none;
    z-index: 5;
}





.post-card.comentado .marco-interior {
    border: 4px solid rgba(255, 215, 0, 0.7);
    animation: parpadeoMarco 4s ease-in-out infinite;
}

@keyframes parpadeoMarco {
    0%, 100% {
        border: 4px solid rgba(255, 215, 0, 0.7);
    }
    33% {
        border: 4px solid rgba(255, 215, 0, 0.25);
    }
    66% {
        border: 4px solid rgba(255, 215, 0, 0);
    }
}







/* ===== LOADING SPINNER ===== */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 4px solid #2C3E50;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== NO POSTS / ERROR ===== */
.no-posts, .error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-posts p, .error-message p {
    margin: 10px 0;
}

/* ============================================
   NOTIFICACIONES - BADGE Y DROPDOWN
   ============================================ */

/* === BADGE (punto rojo con número) === */
.notification-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

#notification-badge {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 18px;
    padding: 0 4px;
    box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
    border: 2px solid #2C3E50;
    animation: badgePulse 2s ease-in-out infinite;
    font-family: 'Arial', sans-serif;
    z-index: 10;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

#notification-badge.many {
    min-width: 22px;
    font-size: 9px;
    padding: 0 5px;
}

.notification-icon:hover #notification-badge {
    animation: badgePulse 0.5s ease-in-out infinite;
}

/* === DROPDOWN DE NOTIFICACIONES === */
#notification-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: #1E2C38;
    border-radius: 10px;
    min-width: 340px;
    max-width: 400px;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    z-index: 1002;
    border: 1px solid #2a3a4a;
}

#notification-dropdown::-webkit-scrollbar {
    width: 4px;
}

#notification-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

#notification-dropdown::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 2px;
}

#notification-dropdown::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

@keyframes notificationSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#notification-dropdown.show {
    display: block;
    animation: notificationSlideDown 0.25s ease-out;
}

/* === TOAST NOTIFICACIONES === */
.notification-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 10001;
    font-size: 14px;
    animation: fadeInOut 2.5s ease;
    white-space: nowrap;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    85% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ============================================
   HEADER RESPONSIVE - MÓVIL
   ============================================ */

/* Ocultar el texto "Categorías" en móviles */
@media (max-width: 768px) {
    .categories-btn span {
        display: none;
    }
    
    .categories-btn {
        padding: 8px 10px;
    }
    
    header {
        padding: 8px 10px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .header-right {
        gap: 6px;
    }
    
    .vox-button {
padding: 9px 12px;
font-size: 18px;
    }
    
    .notification-icon svg {
        height: 18px;
        width: 18px;
    }
    
    .hamburger-menu {
        font-size: 20px;
        padding: 4px 6px;
    }
    
    #notification-dropdown {
        min-width: 280px;
        max-width: 320px;
        right: -50px;
    }
}

/* Para móviles muy pequeños */
@media (max-width: 480px) {
    .logo-text {
        font-size: 28px;
    }
    
    .vox-button {
padding: 9px 12px;
font-size: 18px;
    }
    
    .categories-btn {
        padding: 6px 8px;
    }
    
    .categories-btn svg {
        height: 18px;
        width: 18px;
    }
    
    .header-right {
        gap: 4px;
    }
    
    #notification-dropdown {
        min-width: 220px;
        max-width: 260px;
        right: -60px;
    }
}

/* ============================================
   SCROLL UNIFICADO CON HEADER - MÓVIL
   ============================================ */

/* En móvil, el header se vuelve parte del scroll */
@media (max-width: 768px) {
    /* Header ya no es fijo en móvil */
    header {
        position: relative;
        top: 0;
        height: auto;
        min-height: 48px;
        padding: 8px 10px;
    }
    
    /* El main ya no necesita margen superior */
    main {
        margin-top: 0;
        padding: 0;
    }
    
    /* El body permite scroll normal */
    body {
        overflow-y: auto;
        padding-top: 0;
    }
    
    /* El contenedor principal ocupa todo el ancho */
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Ajustar el grid para que no tenga gap */
    .posts-grid {
        gap: 0;
    }
}

/* Para móviles muy pequeños */
@media (max-width: 480px) {
    header {
        min-height: 42px;
        padding: 6px 8px;
    }
    
    .logo-text {
        font-size: 28px;
        
    }
}

/* ===== RESPONSIVE POSTS GRID ===== */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .post-title {
        font-size: 11px;
    }
    
    .post-category, .post-comments {
        font-size: 12px;
        padding: 2px 8px;
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-card-overlay {
        padding: 6px;
    }
    
    .post-title {
        font-size: 12px;
    }
    
    .post-category, .post-comments {
        font-size: 12px;
        padding: 2px 6px;
    }
    
    .post-category i, .post-comments i {
        font-size: 18px;
    }
}

/* ============================================
   GREENTEXT CON CSS PURO
   ============================================ */
article .greentext {
    color: var(--voxed-greentext, #8CE06A) !important;
}

/* O si quieres que se aplique automáticamente a cualquier > */
article {
    color: #ddd;
}

article .greentext-line {
    color: var(--voxed-greentext, #8CE06A) !important;
}

/* ================================================================
   MOSTRAR INNER CUANDO TENGA LA CLASE 'loaded'
   ================================================================ */
.post-card-inner.loaded {
    opacity: 1;
}

/* ================================================================
   INNER OCULTO POR DEFECTO (para evitar título duplicado)
   ================================================================ */
.post-card-inner {
    opacity: 1;
    transition: opacity 0.3s ease;
}






























/* ============================================================
   📂 FILTRO DE CATEGORÍAS CON BOTONES MOSTRAR/OCULTAR
   ============================================================ */

.sidebar-categories-container {
    margin: 5px 0;
}

.sidebar-categories-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #ecf0f1;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    margin: 5px 0;
    font-size: 14px;
}

.sidebar-categories-toggle:hover {
    background-color: #3d566e;
}

.sidebar-categories-toggle.active {
    background-color: #256587;
}

.sidebar-categories-toggle .categories-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #8899aa;
}

.sidebar-categories-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.sidebar-categories-list.open {
    max-height: 500px;
    opacity: 1;
    overflow-y: auto;
}

.sidebar-categories-list::-webkit-scrollbar {
    width: 4px;
}

.sidebar-categories-list::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-categories-list::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 2px;
}

/* Items de categoría */
.category-filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px 6px 25px;
    color: #bbb;
    border-bottom: 1px solid #1a2733;
    font-size: 13px;
}

.category-filter-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.category-name {
    color: #ddd;
    font-size: 13px;
}

.category-toggle-btn {
    border: none;
    color: white;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.category-toggle-btn:hover {
    transform: scale(1.05);
}

.category-toggle-btn:active {
    transform: scale(0.95);
}

.category-toggle-btn.visible {
    background: #2ecc71;
}

.category-toggle-btn.hidden {
    background: #e74c3c;
}

/* Botones de acción */
.apply-filter-btn {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    margin-bottom: 5px;
}

.apply-filter-btn:hover {
    background: #2980b9;
}

.reset-filter-btn {
    width: 100%;
    background: #2C3E50;
    color: white;
    border: 1px solid #2a3a4a;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.reset-filter-btn:hover {
    background: #3d566e;
}

/* Toast para feedback */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    85% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Móviles */
@media (max-width: 768px) {
    .category-filter-item {
        padding: 8px 12px 8px 20px;
        font-size: 14px;
    }
    
    .category-toggle-btn {
        padding: 4px 14px;
        font-size: 12px;
        min-width: 65px;
    }
}

/* ============================================================
   🛡 BOTONES DE MODERACIÓN EN POST CARDS
   Orden: pin admin, eliminar, recategorizar y banear
   ============================================================ */

.mod-actions {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: auto;
    visibility: visible !important;
    opacity: 1 !important;
}

.post-card .mod-actions { z-index: 1000 !important; }

.mod-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.72);
    color: white;
    font-size: 13px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    backdrop-filter: blur(3px);
}

.mod-action-btn:hover {
    transform: scale(1.12);
    border-color: currentColor;
}

/* 1) 🗑 ELIMINAR — rojo */
.mod-action-btn.delete       { color: #ff6b6b; }
.mod-action-btn.delete:hover { background: rgba(231, 76, 60, 0.9); color: #fff; }

/* 2) ✏ RECATEGORIZAR — azul */
.mod-action-btn.recat        { color: #4fc3f7; }
.mod-action-btn.recat:hover  { background: rgba(79, 195, 247, 0.9); color: #fff; }

/* 3) 🚫 BANEAR — naranja */
.mod-action-btn.ban          { color: #f39c12; }
.mod-action-btn.ban:hover    { background: rgba(243, 156, 18, 0.9); color: #fff; }

/* 📌 Sticky: acción disponible solo para administradores */
.mod-action-btn.sticky       { color: #ffd43b; }
.mod-action-btn.sticky:hover,
.mod-action-btn.sticky.active { background: rgba(230, 179, 19, 0.9); color: #111; }

.post-sticky-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6b313;
    color: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
    transform: rotate(-35deg);
}

.post-card.sticky-post {
    outline: 2px solid #e6b313;
    outline-offset: -2px;
    z-index: 1;
}

.mod-action-btn i { font-size: 12px; pointer-events: none; }

.post-card.nsfw-blurred .post-card-inner > img,
.post-card.nsfw-blurred .post-card-inner > video { filter: blur(14px); transform: scale(1.06); }
.post-card.nsfw-revealed .post-card-inner > img,
.post-card.nsfw-revealed .post-card-inner > video { filter: none; transform: none; }
.post-card.nsfw-blurred .marco-interior { pointer-events: none; }
.nsfw-card-reveal {
    position: absolute;
    z-index: 5;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    padding: 10px 14px;
    border: 1px solid #f39c12;
    border-radius: 8px;
    background: rgba(35, 30, 20, .94);
    color: #ffe1a3;
    font-weight: 700;
    cursor: pointer;
}
.mod-action-btn.nsfw { color: #ffe1a3; }
.mod-action-btn.nsfw.active { color: #ffb347; background: rgba(243, 156, 18, .25); }

.mod-action-btn.loading {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 768px) {
    .mod-actions { top: 4px; right: 4px; gap: 3px; }
    .mod-action-btn { width: 22px; height: 22px; }
    .mod-action-btn i { font-size: 10px; }
}
.site-feedback-toast {
    position: fixed;
    z-index: 20000;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    max-width: min(92vw, 520px);
    padding: 11px 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: #243646;
    color: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.36);
    font-size: 14px;
    text-align: center;
    animation: siteToastIn .18s ease-out;
}
.site-feedback-toast.success { border-color: #2ecc71; }
.site-feedback-toast.error { border-color: #e74c3c; }
@keyframes siteToastIn {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

a.post-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}
           
