#cs-app {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif !important;
    color: #e5e7eb;
    box-sizing: border-box !important;
}

/* CS Stats Card Shortcode */
.cs-stats-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    flex-wrap: wrap !important;
    background: linear-gradient(135deg, #111827 0%, #0b0f15 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin: 20px 0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    color: #e5e7eb !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cs-stats-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent) !important;
}

.cs-stats-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    transition: transform 0.3s ease !important;
    padding: 10px !important;
}

.cs-stats-item:hover {
    transform: translateY(-2px) !important;
}

.cs-stats-icon {
    width: 48px !important;
    height: 48px !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1) !important;
}

.cs-stats-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

.cs-stats-value {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1 !important;
    letter-spacing: -0.5px !important;
}

.cs-stats-label {
    font-size: 14px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    white-space: nowrap !important;
}

.cs-stats-divider {
    width: 1px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    margin: 0 10px !important;
}

@media (max-width: 640px) {
    .cs-stats-card {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 20px !important;
        align-items: stretch !important;
    }

    .cs-stats-divider {
        width: 100% !important;
        height: 1px !important;
        margin: 10px 0 !important;
    }

    .cs-stats-item {
        justify-content: flex-start !important;
        padding-left: 10px !important;
    }
}

/* CS Latest Comments Shortcode */
.cs-latest-comments {
    background: #0b0f15 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 20px 0 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    color: #e5e7eb !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
}

.cs-lc-header {
    background: #0f1720 !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #1f2937 !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #fff !important;
}

.cs-lc-header i {
    color: #60a5fa !important;
}

.cs-lc-list {
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.cs-lc-item {
    display: flex !important;
    gap: 12px !important;
    padding: 12px !important;
    background: #0f1624 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

.cs-lc-item:hover {
    border-color: #374151 !important;
    background: #111827 !important;
    transform: translateX(4px) !important;
}

.cs-lc-avatar {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1px solid #374151 !important;
    background: #111827 !important;
}

.cs-lc-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.cs-lc-body {
    flex: 1 !important;
    min-width: 0 !important;
}

.cs-lc-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
}

.cs-lc-user {
    font-weight: 600 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.cs-lc-user:hover {
    color: #60a5fa !important;
}

.cs-lc-date {
    font-size: 12px !important;
    color: #9ca3af !important;
}

.cs-lc-content {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #d1d5db !important;
    word-break: break-word !important;
    margin-bottom: 8px !important;
}

.cs-lc-footer {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #6b7280 !important;
}

.cs-lc-footer a {
    color: #4b5563 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.cs-lc-footer a:hover {
    color: #60a5fa !important;
}

.cs-lc-empty {
    padding: 30px !important;
    text-align: center !important;
    color: #9ca3af !important;
    font-style: italic !important;
}

@media (max-width: 640px) {
    .cs-lc-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
}

#cs-app *,
#cs-app *::before,
#cs-app *::after {
    box-sizing: border-box !important;
}

#cs-app button,
#cs-app input,
#cs-app textarea,
#cs-app select,
#cs-app option,
#cs-app label,
#cs-app a,
#cs-app p,
#cs-app span,
#cs-app div,
#cs-app ul,
#cs-app ol,
#cs-app li,
#cs-app h1,
#cs-app h2,
#cs-app h3,
#cs-app h4,
#cs-app h5,
#cs-app h6 {
    font-family: inherit !important;
}

#cs-app *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]) {
    font-family: inherit !important;
}

#cs-app .cs-header {
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    padding: 25px 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center
}

#cs-app .cs-app-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2))
}

#cs-app .cs-app-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #8b5cf6);
    margin: 8px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5)
}

#cs-app .cs-wrapper {
    background: #0b0f15;
    border: 1px solid #1f2937;
    border-radius: 12px;
    overflow: hidden
}

#cs-app .cs-tabs {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #0f1720;
    border-bottom: 1px solid #1f2937
}

#cs-app .cs-tab {
    appearance: none;
    background: #111827;
    color: #d1d5db;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: .2s;
    text-transform: capitalize;
    line-height: 1.3
}

#cs-app .cs-tab:hover {
    background: #0b1220
}

#cs-app .cs-tab.active {
    background: #1f2937;
    color: #fff;
    border-color: #4b5563
}

#cs-app .cs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px
}

#cs-app .cs-card {
    display: flex;
    gap: 12px;
    background: #0f1624;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 12px;
    align-items: flex-start
}

#cs-app .cs-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 44px;
    border: 1px solid #374151;
    background: #111827
}

#cs-app .cs-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

#cs-app .cs-card-body {
    flex: 1 1 auto;
    min-width: 0
}

#cs-app .cs-card-head {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px
}

#cs-app .cs-user {
    font-weight: 600;
    color: #fff
}

#cs-app .cs-date {
    font-size: 12px;
    color: #9ca3af
}

#cs-app .cs-rating {
    color: #fbbf24;
    margin-bottom: 6px
}

#cs-app .cs-content {
    color: #e5e7eb;
    line-height: 1.5
}

#cs-app .cs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    width: 100%
}

#cs-app .cs-actions button {
    font-size: 16px;
    text-transform: capitalize;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px 8px
}

#cs-app .cs-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #1f2937;
    background: #0f1720;
    position: relative
}

#cs-app .cs-toolbar button {
    font-size: 16px;
    text-transform: capitalize;
    line-height: 1.3
}

@media (max-width: 768px) {
    #cs-app .cs-tabs {
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px;
    }

    #cs-app .cs-tab {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 13px;
        padding: 6px 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #cs-app .cs-toolbar {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }

    #cs-app .cs-toolbar button,
    #cs-app .cs-actions button {
        font-size: 13px;
        padding: 4px 6px;
    }

    #cs-app .cs-toolbar button {
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #cs-app .cs-actions {
        gap: 4px;
    }

    #cs-app .cs-actions button {
        font-size: 12px;
        padding: 4px 6px;
    }
}

#cs-app .cs-compose {
    padding: 12px 14px;
    border-bottom: 1px solid #1f2937;
    background: #0b0f15
}

#cs-app .cs-auth-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

#cs-app .cs-auth {
    padding: 10px 0;
}

#cs-app .cs-auth-login .cs-btn,
#cs-app .cs-auth-register .cs-btn {
    margin-bottom: 16px;
    width: 100%;
}

#cs-app .cs-inp {
    width: 100%;
    box-sizing: border-box;
    background: #0f1624;
    color: #e5e7eb;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px
}

#cs-app .cs-inp:focus {
    outline: none;
    border-color: #4b5563;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .2)
}

#cs-app .cs-btn {
    appearance: none;
    background: #111827;
    color: #d1d5db;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: .2s;
    text-transform: none;
}

#cs-app .cs-btn:hover {
    background: #0b1220
}

#cs-app .cs-btn.cs-submit {
    background: #2563eb;
    border-color: #1d4ed8;
    color: #fff
}

#cs-app .cs-btn.cs-submit:hover {
    background: #1d4ed8
}

#cs-app .cs-link {
    background: transparent;
    border: none;
    color: #60a5fa;
    cursor: pointer;
    padding: 0
}

#cs-app .cs-empty {
    color: #9ca3af;
    background: #0f1624;
    border: 1px dashed #374151;
    border-radius: 12px;
    padding: 16px;
    text-align: center
}

/* ========== ESTILOS PARA PERFIL PÚBLICO ========== */
.cs-profile-container {
    max-width: 900px;
    margin: 24px auto;
    padding: 16px;
    border: 1px solid #1f2937;
    border-radius: 12px;
    background: #0f1624;
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .cs-profile-container {
        margin: 12px;
        border-left: 1px solid #1f2937;
        border-right: 1px solid #1f2937;
    }

    body {
        padding: 0 8px;
    }
}

/* Estilos para comentarios anidados */
#cs-app .cs-card {
    transition: all 0.2s ease;
}

#cs-app .cs-nested {
    border-left: 3px solid #374151;
    border-radius: 4px;
    margin-left: 12px !important;
    padding-left: 12px;
    background-color: rgba(31, 41, 55, 0.2);
}

#cs-app .cs-nested .cs-nested {
    margin-left: 24px !important;
    background-color: rgba(31, 41, 55, 0.1);
}

#cs-app .cs-reply-to {
    font-size: 0.85em;
    color: #9ca3af;
    margin: 4px 0 6px 0;
    display: flex;
    align-items: center;
}

#cs-app .cs-reply-to:before {
    content: "↳";
    margin-right: 6px;
    opacity: 0.6;
}

/* Estilos para el mensaje de respuesta */
#cs-app .cs-replying-to {
    background: #1a2233;
    border-left: 3px solid #3b82f6;
    padding: 8px 12px;
    margin: 8px 0 12px 0;
    border-radius: 4px;
    font-size: 0.9em;
    color: #9ca3af;
    position: relative;
}

#cs-app .cs-replying-to-close {
    position: absolute;
    right: 8px;
    top: 8px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 5px;
    font-size: 14px;
    line-height: 1;
}

#cs-app .cs-replying-to-close:hover {
    color: #e5e7eb;
}

/* Modern Notification System */
.cs-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
    max-width: 400px;
    width: 100%;
}

.cs-notification {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: all;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cs-notification.cs-notification-show {
    transform: translateX(0);
    opacity: 1;
}

.cs-notification.cs-notification-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    border-color: rgba(16, 185, 129, 0.3);
}

.cs-notification.cs-notification-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
    border-color: rgba(239, 68, 68, 0.3);
}

.cs-notification-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.cs-notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-notification-icon svg {
    width: 100%;
    height: 100%;
}

.cs-notification-text {
    flex: 1;
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

.cs-notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.1);
}

.cs-notification-close svg {
    width: 16px;
    height: 16px;
}

.cs-notification-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cs-notification-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    border-radius: 3px;
    animation: cs-notification-progress linear;
    animation-fill-mode: forwards;
}

@keyframes cs-notification-progress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cs-notifications-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .cs-notification {
        margin-bottom: 8px;
        border-radius: 8px;
    }

    .cs-notification-content {
        padding: 12px 16px;
        gap: 10px;
    }

    .cs-notification-icon {
        width: 20px;
        height: 20px;
    }

    .cs-notification-text {
        font-size: 13px;
    }

    .cs-notification-close svg {
        width: 14px;
        height: 14px;
    }
}

/* Stacking multiple notifications */
.cs-notification:nth-child(1) {
    z-index: 10000;
}

.cs-notification:nth-child(2) {
    z-index: 9999;
}

.cs-notification:nth-child(3) {
    z-index: 9998;
}

.cs-notification:nth-child(4) {
    z-index: 9997;
}

.cs-notification:nth-child(5) {
    z-index: 9996;
}

/* Old message styles (keeping for compatibility) */
.cs-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    max-width: 90%;
    width: auto;
    min-width: 300px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    backdrop-filter: blur(5px);
}

.cs-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cs-message.success {
    background: rgba(39, 174, 96, 0.95);
    color: white;
    border-left: 4px solid #27ae60;
}

.cs-message.error {
    background: rgba(231, 76, 60, 0.95);
    color: white;
    border-left: 4px solid #e74c3c;
}

.cs-message-icon {
    margin-right: 12px;
    font-size: 18px;
}

.cs-message-close {
    margin-left: 15px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.8;
    padding: 0 0 0 15px;
    transition: opacity 0.2s;
}

.cs-message-close:hover {
    opacity: 1;
}

/* Error message fallback */
#cs-app .cs-error {
    color: #fecaca;
    background: #2a0f14;
    border: 1px solid #7f1d1d;
    border-radius: 12px;
    padding: 12px
}

/* ========== FAVORITOS - DISEÑO MODERNO E IMPRESIONANTE ========== */
#cs-app .cs-fav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 20px 0;
}

#cs-app .cs-fav-card {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    transition: all .2s ease-out;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    padding: 0 !important;
    margin: 0 !important;
}

#cs-app .cs-fav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    opacity: 1;
    pointer-events: none;
}

#cs-app .cs-fav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    border-color: #0066cc;
}

#cs-app .cs-fav-card:hover::before {
    opacity: 1;
}

#cs-app .cs-fav-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    flex: 1;
    padding: 0;
    height: 100%;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

#cs-app .cs-fav-link:hover {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 100%);
}

#cs-app .cs-fav-thumb {
    width: 100% !important;
    height: 180px !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-weight: 600 !important;
    color: #fff !important;
    background-color: #e9ecef !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: all .2s ease-out !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}

#cs-app .cs-fav-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#cs-app .cs-fav-card:hover .cs-fav-thumb {
    box-shadow: inset 0 0 0 1px rgba(0, 102, 204, .2);
}

#cs-app .cs-fav-card:hover .cs-fav-thumb::after {
    opacity: 1;
}

#cs-app .cs-fav-thumb.cs-no-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cs-app .cs-fav-thumb.cs-no-thumb::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

#cs-app .cs-fav-content {
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

#cs-app .cs-fav-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    text-align: center;
    margin: 12px 8px 8px;
    padding: 0 4px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    transition: color .2s ease;
}

#cs-app .cs-fav-card:hover .cs-fav-title {
    color: #0066cc;
}

/* Ocultar URL del enlace */
#cs-app .cs-fav-url {
    display: none;
}

@media (max-width: 768px) {
    #cs-app .cs-fav-grid {
        grid-template-columns: 1fr;
    }
}

#cs-app .cs-invite {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 560px;
    background: #0f1624;
    border: 1px solid #1f2937;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .40);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity .18s ease;
}

#cs-app .cs-invite.show {
    display: block;
    opacity: 1;
}

#cs-app .cs-invite-inner {
    position: relative;
    padding: 12px 44px 12px 14px;
    text-align: center;
    color: #e5e7eb;
    cursor: pointer;
}

#cs-app .cs-invite-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

#cs-app .cs-invite-sub {
    font-size: 13px;
    color: #9ca3af;
}

#cs-app .cs-invite-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #111827;
    color: #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cs-app .cs-invite-close:hover {
    background: #0b1220;
}

#cs-app .cs-fav-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #dc3545;
    border: 1px solid #dc3545;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: background-color .2s ease, border-color .2s ease;
    padding: 0;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(220, 53, 69, .2);
}

#cs-app .cs-fav-remove::before {
    content: '';
    display: none;
    /* No necesitamos este efecto */
}

#cs-app .cs-fav-remove:hover {
    background: #c82333;
    border-color: #c82333;
}

#cs-app .cs-fav-remove:hover::before {
    width: 100%;
    height: 100%;
}

#cs-app .cs-fav-remove:active {
    transform: scale(0.95) rotate(90deg);
}

/* Efecto de brillo al hacer hover */
#cs-app .cs-fav-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

#cs-app .cs-fav-card:hover::after {
    opacity: 1;
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #cs-app .cs-fav-grid {
        grid-template-columns: 1fr;
    }

    #cs-app .cs-fav-card {
        max-width: 100%;
    }
}

/* Notifications Dropdown */
.cs-notifs {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-width: 320px;
    max-width: 380px;
    max-height: 480px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
}

/* Custom scrollbar for notifications */
.cs-notifs::-webkit-scrollbar {
    width: 6px;
}

.cs-notifs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.cs-notifs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.cs-notifs::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cs-notif-item {
    position: relative;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.cs-notif-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.cs-notif-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(2px);
}

.cs-notif-item:hover::before {
    transform: scaleY(1);
}

.cs-notif-item.read {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.02);
}

.cs-notif-item.read::before {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.cs-notif-text {
    color: #f1f5f9;
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.5;
    font-weight: 400;
}

.cs-notif-text strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.cs-notif-item .cs-notif-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #60a5fa;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(96, 165, 250, 0.1);
}

.cs-notif-item .cs-notif-link:hover {
    color: #93c5fd;
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-1px);
}

.cs-notif-item .cs-notif-delete {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.9);
}

.cs-notif-item:hover .cs-notif-delete {
    opacity: 1;
    transform: scale(1);
}

.cs-notif-item .cs-notif-delete:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    color: #f87171;
    transform: scale(1.05);
}

.cs-notif-mark-all {
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(31, 41, 55, 0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
}

.cs-notif-mark-all button {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.cs-notif-mark-all button:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.cs-notif-more {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-notif-more:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #d1d5db;
}

/* Empty state */
.cs-notifs:empty::before {
    content: "No hay notificaciones";
    display: block;
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cs-notifs {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        min-width: 0;
        max-width: none;
        border-radius: 12px;
        max-height: 70vh;
    }

    .cs-notif-item {
        padding: 12px 14px;
    }

    .cs-notif-text {
        font-size: 12px;
    }

    .cs-notif-item .cs-notif-delete {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .cs-notifs {
        left: 4px;
        right: 4px;
        border-radius: 8px;
    }

    .cs-notif-item {
        padding: 10px 12px;
    }

    .cs-notif-text {
        font-size: 11px;
    }
}

/* Responsive adjustments */


/* Favorites */
#cs-app .cs-fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 14px
}

#cs-app .cs-fav-card {
    display: flex;
    flex-direction: column;
    background: #0f1624;
    border: 1px solid #1f2937;
    border-radius: 12px;
    overflow: hidden;
    color: #e5e7eb;
    text-decoration: none;
    position: relative;
    transition: all .2s ease
}

/* Highlight target comment */
.cs-card.cs-highlight {
    box-shadow: 0 0 0 2px #2563eb inset, 0 0 12px rgba(37, 99, 235, 0.5);
    transition: box-shadow .3s ease;
}

#cs-app .cs-fav-card:hover {
    border-color: #4b5563;
    background: #101a2a
}

#cs-app .cs-fav-thumb {
    width: 100% !important;
    height: 180px !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    flex-shrink: 0 !important
}

#cs-app .cs-fav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

#cs-app .cs-fav-title {
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    margin: 12px 8px 8px;
    padding: 0 4px
}

/* Profile */
#cs-app .cs-profile {
    padding: 10px 14px;
    border-top: 1px solid #1f2937;
    background: #0b0f15
}

#cs-app .cs-profile-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px
}

#cs-app .cs-label {
    color: #9ca3af
}

@media (max-width:640px) {
    #cs-app .cs-card {
        padding: 10px
    }

    #cs-app .cs-card-avatar {
        width: 38px;
        height: 38px
    }
}

/* Estilos para redes sociales en perfil */
.cs-profile-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.cs-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2d3748;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cs-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cs-social-link.twitter {
    background: #1DA1F2;
}

.cs-social-link.facebook {
    background: #1877F2;
}

.cs-social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.cs-social-link i {
    font-size: 18px;
}

/* Modern Pagination */
#cs-app .cs-pagination-wrap {
    padding: 20px 14px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cs-app .cs-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#cs-app .cs-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 40px;
    position: relative;
    overflow: hidden;
}

#cs-app .cs-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cs-app .cs-page:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

#cs-app .cs-page:hover:not(:disabled)::before {
    opacity: 1;
}

#cs-app .cs-page:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

#cs-app .cs-page:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

#cs-app .cs-page:disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    transform: none;
    box-shadow: none;
}

#cs-app .cs-page-prev,
#cs-app .cs-page-next {
    padding: 8px 14px;
}

#cs-app .cs-page svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

#cs-app .cs-page:hover:not(:disabled) svg {
    transform: translateX(2px);
}

#cs-app .cs-page-prev:hover:not(:disabled) svg {
    transform: translateX(-2px);
}

#cs-app .cs-page-number {
    min-width: 36px;
    height: 36px;
    padding: 0;
    font-weight: 600;
}

#cs-app .cs-page-active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: rgba(59, 130, 246, 0.5);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

#cs-app .cs-page-active:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

#cs-app .cs-page-ellipsis {
    color: #6b7280;
    padding: 0 4px;
    font-weight: 600;
    user-select: none;
}

#cs-app .cs-page-info {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cs-app .cs-page-current {
    color: #60a5fa;
    font-weight: 700;
    font-size: 13px;
}

#cs-app .cs-page-separator {
    color: #6b7280;
    margin: 0 2px;
}

#cs-app .cs-page-total {
    color: #9ca3af;
}

/* Mobile Responsive Pagination */
@media (max-width: 768px) {
    #cs-app .cs-pagination-wrap {
        padding: 16px 10px 20px;
    }

    #cs-app .cs-pagination {
        gap: 6px;
        padding: 6px;
        border-radius: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #cs-app .cs-page {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 32px;
    }

    #cs-app .cs-page-prev,
    #cs-app .cs-page-next {
        padding: 6px 10px;
    }

    #cs-app .cs-page-prev span,
    #cs-app .cs-page-next span {
        display: none;
    }

    #cs-app .cs-page-number {
        min-width: 32px;
        height: 32px;
    }

    #cs-app .cs-page-info {
        margin-left: 8px;
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    #cs-app .cs-pagination {
        gap: 4px;
    }

    #cs-app .cs-page {
        padding: 5px 8px;
        font-size: 11px;
        min-width: 28px;
    }

    #cs-app .cs-page-number {
        min-width: 28px;
        height: 28px;
        font-size: 11px;
    }

    #cs-app .cs-page-ellipsis {
        font-size: 11px;
    }
}