/*
Theme Name: WS-RADIOS
Theme URI: https://wsaico.com
Author: WSAICO
Author URI: https://wsaico.com
Description: Theme WordPress premium para radios online con diseño moderno estilo Spotify. Incluye reproductor avanzado, sistema de favoritos, subida desde frontend, categorización por ubicación geográfica, modo oscuro y totalmente optimizado para SEO y AdSense.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ws-radios
Tags: radio, streaming, music, spotify-style, dark-mode, responsive, seo-optimized

WS-RADIOS - Theme Premium para Radios Online
Copyright (C) 2024 WSAICO.COM
*/

/* ==========================================================================
   VARIABLES CSS - SISTEMA DE DISEÑO
   ========================================================================== */

:root {
    /* Colores principales - Púrpura moderno */
    --ws-primary: #8B5CF6;
    --ws-primary-light: #A78BFA;
    --ws-primary-dark: #7C3AED;
    --ws-primary-gradient: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);

    /* Colores secundarios */
    --ws-secondary: #EC4899;
    --ws-secondary-light: #F472B6;
    --ws-secondary-dark: #DB2777;

    /* Colores de acento */
    --ws-accent: #06B6D4;
    --ws-success: #10B981;
    --ws-warning: #F59E0B;
    --ws-error: #EF4444;
    --ws-info: #3B82F6;

    /* Colores de fondo - Modo claro */
    --ws-bg-primary: #FFFFFF;
    --ws-bg-secondary: #F8FAFC;
    --ws-bg-tertiary: #F1F5F9;
    --ws-bg-card: #FFFFFF;
    --ws-bg-hover: #F1F5F9;
    --ws-bg-overlay: rgba(0, 0, 0, 0.5);

    /* Colores de texto - Modo claro */
    --ws-text-primary: #1E293B;
    --ws-text-secondary: #64748B;
    --ws-text-tertiary: #94A3B8;
    --ws-text-inverse: #FFFFFF;

    /* Bordes */
    --ws-border-light: #E2E8F0;
    --ws-border-medium: #CBD5E1;
    --ws-border-dark: #94A3B8;

    /* Sombras */
    --ws-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --ws-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ws-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --ws-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --ws-shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);

    /* Bordes redondeados */
    --ws-radius-sm: 8px;
    --ws-radius-md: 12px;
    --ws-radius-lg: 16px;
    --ws-radius-xl: 24px;
    --ws-radius-full: 9999px;

    /* Espaciado */
    --ws-spacing-xs: 4px;
    --ws-spacing-sm: 8px;
    --ws-spacing-md: 16px;
    --ws-spacing-lg: 24px;
    --ws-spacing-xl: 32px;
    --ws-spacing-2xl: 48px;
    --ws-spacing-3xl: 64px;

    /* Tipografía */
    --ws-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ws-font-secondary: 'Poppins', sans-serif;

    --ws-font-size-xs: 0.75rem;
    --ws-font-size-sm: 0.875rem;
    --ws-font-size-base: 1rem;
    --ws-font-size-lg: 1.125rem;
    --ws-font-size-xl: 1.25rem;
    --ws-font-size-2xl: 1.5rem;
    --ws-font-size-3xl: 1.875rem;
    --ws-font-size-4xl: 2.25rem;

    /* Transiciones */
    --ws-transition-fast: 150ms ease;
    --ws-transition-base: 250ms ease;
    --ws-transition-slow: 350ms ease;

    /* Z-index */
    --ws-z-dropdown: 100;
    --ws-z-sticky: 200;
    --ws-z-fixed: 300;
    --ws-z-modal-backdrop: 400;
    --ws-z-modal: 500;
    --ws-z-popover: 600;
    --ws-z-tooltip: 700;

    /* Dimensiones fijas */
    --ws-header-height: 70px;
    --ws-sidebar-width: 280px;
    --ws-sidebar-collapsed: 80px;
    --ws-player-height: 90px;
    --ws-player-height-mobile: 70px;
}

/* Modo oscuro */
[data-theme="dark"] {
    --ws-bg-primary: #0F172A;
    --ws-bg-secondary: #1E293B;
    --ws-bg-tertiary: #334155;
    --ws-bg-card: #1E293B;
    --ws-bg-hover: #334155;

    --ws-text-primary: #F8FAFC;
    --ws-text-secondary: #CBD5E1;
    --ws-text-tertiary: #94A3B8;

    --ws-border-light: #334155;
    --ws-border-medium: #475569;
    --ws-border-dark: #64748B;

    --ws-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --ws-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --ws-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   RESET Y BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ws-font-primary);
    font-size: var(--ws-font-size-base);
    line-height: 1.6;
    color: var(--ws-text-primary);
    background-color: var(--ws-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.ws-sidebar-open {
    overflow: hidden;
}

/* El reproductor flotante no requiere padding en el body */
body.ws-player-active {
    padding-bottom: 0;
}

a {
    color: var(--ws-primary);
    text-decoration: none;
    transition: color var(--ws-transition-fast);
}

a:hover {
    color: var(--ws-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */

.ws-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--ws-spacing-md);
}

.ws-flex {
    display: flex;
}

.ws-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ws-grid {
    display: grid;
}

.ws-hidden {
    display: none !important;
}

.ws-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-sm) var(--ws-spacing-lg);
    font-size: var(--ws-font-size-sm);
    font-weight: 600;
    border-radius: var(--ws-radius-full);
    transition: all var(--ws-transition-base);
    white-space: nowrap;
}

.ws-btn-primary {
    background: var(--ws-primary-gradient);
    color: var(--ws-text-inverse);
    box-shadow: var(--ws-shadow-md);
}

.ws-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--ws-shadow-glow);
}

.ws-btn-secondary {
    background: var(--ws-bg-secondary);
    color: var(--ws-text-primary);
    border: 2px solid var(--ws-border);
    text-decoration: none;
}

.ws-btn-secondary:hover {
    background: var(--ws-primary);
    color: var(--ws-text-inverse);
    border-color: var(--ws-primary);
    text-decoration: none;
}

.ws-btn-outline {
    background: transparent;
    color: var(--ws-primary);
    border: 2px solid var(--ws-primary);
}

.ws-btn-outline:hover {
    background: var(--ws-primary);
    color: var(--ws-text-inverse);
}

.ws-btn-ghost {
    background: transparent;
    color: var(--ws-text-secondary);
}

.ws-btn-ghost:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

.ws-btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--ws-radius-full);
}

.ws-btn-icon.ws-btn-sm {
    width: 32px;
    height: 32px;
}

.ws-btn-icon.ws-btn-lg {
    width: 48px;
    height: 48px;
}

.ws-btn-play {
    width: 56px;
    height: 56px;
    background: var(--ws-primary-gradient);
    color: var(--ws-text-inverse);
    border-radius: var(--ws-radius-full);
    box-shadow: var(--ws-shadow-lg);
}

.ws-btn-play:hover {
    transform: scale(1.05);
    box-shadow: var(--ws-shadow-glow);
}

/* ==========================================================================
   LAYOUT PRINCIPAL
   ========================================================================== */

.ws-app {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.ws-main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: var(--ws-sidebar-width);
    width: calc(100% - var(--ws-sidebar-width));
    max-width: calc(100% - var(--ws-sidebar-width));
    min-width: 0;
    transition: margin-left var(--ws-transition-base), width var(--ws-transition-base);
    overflow-x: hidden;
}

.ws-sidebar-collapsed .ws-main-wrapper {
    margin-left: var(--ws-sidebar-collapsed);
    width: calc(100% - var(--ws-sidebar-collapsed));
    max-width: calc(100% - var(--ws-sidebar-collapsed));
}

@media (max-width: 1024px) {
    .ws-main-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.ws-main-content {
    flex: 1;
    padding: var(--ws-spacing-lg);
    padding-top: calc(var(--ws-header-height) + var(--ws-spacing-lg));
}

@media (max-width: 768px) {
    .ws-main-content {
        padding: var(--ws-spacing-md);
        padding-top: calc(var(--ws-header-height) + var(--ws-spacing-md));
    }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.ws-header {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--ws-sidebar-width);
    height: var(--ws-header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ws-border-light);
    z-index: var(--ws-z-sticky);
    transition: left var(--ws-transition-base);
}

[data-theme="dark"] .ws-header {
    background: rgba(15, 23, 42, 0.8);
}

.ws-sidebar-collapsed .ws-header {
    left: var(--ws-sidebar-collapsed);
    right: 0;
}

@media (max-width: 1024px) {
    .ws-header {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
}

.ws-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--ws-spacing-lg);
    position: relative;
}

.ws-header__left {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    z-index: 2;
}

/* Logo central - Solo visible en móvil */
.ws-header__center {
    display: none;
}

@media (max-width: 1024px) {
    .ws-header__center {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }

    .ws-header__logo {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ws-primary);
    }

    .ws-header__logo svg {
        color: var(--ws-primary);
        stroke: var(--ws-primary);
    }

    .ws-header__logo-image {
        height: 32px;
        width: auto;
        max-width: 120px;
        object-fit: contain;
    }
}

.ws-header__right {
    z-index: 2;
}

.ws-header__menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    transition: background var(--ws-transition-fast);
    cursor: pointer;
}

.ws-header__menu-toggle:hover {
    background: var(--ws-bg-hover);
}

@media (max-width: 1024px) {
    .ws-header__menu-toggle {
        display: flex;
    }
}

/* Botón expandir sidebar */
.ws-header__sidebar-expand {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-header__sidebar-expand:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-primary);
}

.ws-sidebar-collapsed .ws-header__sidebar-expand {
    display: flex;
}

@media (max-width: 1024px) {
    .ws-header__sidebar-expand {
        display: none !important;
    }
}

.ws-header__search-trigger {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    min-width: 280px;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-tertiary);
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-header__search-trigger:hover {
    border-color: var(--ws-primary);
    box-shadow: var(--ws-shadow-sm);
}

.ws-header__search-trigger svg {
    width: 20px;
    height: 20px;
}

.ws-header__search-shortcut {
    margin-left: auto;
    padding: 2px 8px;
    background: var(--ws-bg-tertiary);
    border-radius: var(--ws-radius-sm);
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
}

@media (max-width: 768px) {
    .ws-header__search-trigger {
        min-width: auto;
        padding: var(--ws-spacing-sm);
    }

    .ws-header__search-trigger span,
    .ws-header__search-shortcut {
        display: none;
    }
}

.ws-header__right {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
}

.ws-header__upload-btn {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    background: var(--ws-primary) !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none !important;
    transition: all var(--ws-transition-fast);
}

.ws-header__upload-btn span {
    text-decoration: none !important;
    color: #ffffff !important;
}

.ws-header__upload-btn svg {
    flex-shrink: 0;
    stroke: #ffffff !important;
}

.ws-header__upload-btn:hover {
    background: var(--ws-primary-dark) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--ws-shadow-md);
}

.ws-header__upload-btn:hover span,
.ws-header__upload-btn:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    /* Reducir gaps en header para que quepa todo */
    .ws-header__right {
        gap: var(--ws-spacing-xs) !important;
    }

    .ws-header__left {
        gap: var(--ws-spacing-xs) !important;
    }

    /* Botón subir - solo icono */
    .ws-header__upload-btn span {
        display: none !important;
    }

    .ws-header__upload-btn {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        min-width: 40px !important;
        justify-content: center !important;
        background: var(--ws-primary) !important;
        border-radius: var(--ws-radius-full) !important;
    }

    .ws-header__upload-btn svg {
        margin: 0 !important;
        stroke: #ffffff !important;
    }

    /* Botón iniciar sesión - convertir a icono */
    .ws-header .ws-btn-secondary {
        min-width: 40px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: var(--ws-radius-full) !important;
        font-size: 0 !important;
        background: var(--ws-border-light) !important;
        position: relative;
        overflow: visible !important;
    }

    .ws-header .ws-btn-secondary::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.ws-header__user {
    position: relative;
}

.ws-header__user-btn {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-xs);
    border-radius: var(--ws-radius-full);
    transition: background var(--ws-transition-fast);
}

.ws-header__user-btn:hover {
    background: var(--ws-bg-hover);
}

.ws-header__user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--ws-radius-full);
    object-fit: cover;
    border: 2px solid var(--ws-border-light);
}

.ws-header__user-info {
    text-align: left;
}

@media (max-width: 768px) {
    .ws-header__user-info {
        display: none;
    }
}

.ws-header__user-name {
    font-size: var(--ws-font-size-sm);
    font-weight: 600;
    color: var(--ws-text-primary);
}

.ws-header__user-role {
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
}

/* Dropdown del usuario */
.ws-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--ws-bg-card);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    box-shadow: var(--ws-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--ws-transition-fast);
}

.ws-user-dropdown.ws-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ws-user-dropdown__item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    width: 100%;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    color: var(--ws-text-primary);
    font-size: var(--ws-font-size-sm);
    transition: background var(--ws-transition-fast);
}

.ws-user-dropdown__item:hover {
    background: var(--ws-bg-hover);
}

.ws-user-dropdown__item svg {
    width: 18px;
    height: 18px;
    color: var(--ws-text-secondary);
}

.ws-user-dropdown__divider {
    height: 1px;
    background: var(--ws-border-light);
    margin: var(--ws-spacing-xs) 0;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.ws-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--ws-sidebar-width);
    height: 100vh;
    background: var(--ws-bg-card);
    border-right: 1px solid var(--ws-border-light);
    z-index: var(--ws-z-fixed);
    transition: all var(--ws-transition-base);
    overflow-y: auto;
    overflow-x: hidden;
}

.ws-sidebar::-webkit-scrollbar {
    width: 6px;
}

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

.ws-sidebar::-webkit-scrollbar-thumb {
    background: var(--ws-border-medium);
    border-radius: var(--ws-radius-full);
}

.ws-sidebar-collapsed .ws-sidebar {
    width: var(--ws-sidebar-collapsed);
}

@media (max-width: 1024px) {
    .ws-sidebar {
        width: 280px !important;
        max-width: 85vw !important;
        transform: translateX(-100%) !important;
        z-index: 1000 !important;
        transition: transform 0.3s ease-in-out !important;
    }

    .ws-sidebar.ws-active {
        transform: translateX(0) !important;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5) !important;
    }

    /* En móvil, SIEMPRE mostrar texto (nunca colapsar) */
    .ws-sidebar-collapsed .ws-sidebar__nav-item span,
    .ws-sidebar-collapsed .ws-sidebar__logo-text,
    .ws-sidebar-collapsed .ws-sidebar__logo-image,
    .ws-sidebar-collapsed .ws-sidebar__nav-title {
        display: block !important;
    }

    .ws-sidebar-collapsed .ws-sidebar {
        width: 280px !important;
    }
}

@media (max-width: 480px) {
    .ws-sidebar {
        width: 100%;
        max-width: 320px;
    }
}

.ws-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ws-spacing-md) var(--ws-spacing-lg);
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-sidebar__logo {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

.ws-sidebar__logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.ws-sidebar__logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-primary-gradient);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-inverse);
    flex-shrink: 0;
}

.ws-sidebar__logo-text {
    font-family: var(--ws-font-secondary);
    font-size: var(--ws-font-size-xl);
    font-weight: 700;
    color: var(--ws-text-primary);
}

.ws-sidebar-collapsed .ws-sidebar__logo-text,
.ws-sidebar-collapsed .ws-sidebar__logo-image {
    display: none;
}

.ws-sidebar__toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-sm);
    color: var(--ws-text-secondary);
    transition: all var(--ws-transition-fast);
}

.ws-sidebar__toggle:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

@media (max-width: 1024px) {
    .ws-sidebar__toggle {
        display: none;
    }
}

.ws-sidebar__close {
    display: none;
}

@media (max-width: 1024px) {
    .ws-sidebar__close {
        display: flex;
    }
}

.ws-sidebar__nav {
    padding: var(--ws-spacing-md);
}

.ws-sidebar__nav-title {
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    font-size: var(--ws-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ws-text-tertiary);
}

.ws-sidebar-collapsed .ws-sidebar__nav-title {
    display: none;
}

.ws-sidebar__nav-item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-secondary);
    font-weight: 500;
    transition: all var(--ws-transition-fast);
}

.ws-sidebar__nav-item:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

.ws-sidebar__nav-item.ws-active {
    background: var(--ws-primary);
    background: var(--ws-primary-gradient);
    color: var(--ws-text-inverse);
}

.ws-sidebar__nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.ws-sidebar__nav-item span {
    white-space: nowrap;
}

.ws-sidebar-collapsed .ws-sidebar__nav-item span {
    display: none;
}

.ws-sidebar__nav-badge {
    margin-left: auto;
    padding: 2px 8px;
    background: var(--ws-secondary);
    border-radius: var(--ws-radius-full);
    font-size: var(--ws-font-size-xs);
    font-weight: 600;
    color: var(--ws-text-inverse);
}

.ws-sidebar-collapsed .ws-sidebar__nav-badge {
    display: none;
}

.ws-sidebar__footer {
    padding: var(--ws-spacing-md);
    border-top: 1px solid var(--ws-border-light);
    margin-top: auto;
}

/* Toggle modo oscuro */
.ws-dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    border-radius: var(--ws-radius-md);
    background: var(--ws-bg-secondary);
}

.ws-dark-mode-toggle__label {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
}

.ws-dark-mode-toggle__label svg {
    width: 20px;
    height: 20px;
}

.ws-sidebar-collapsed .ws-dark-mode-toggle__label span {
    display: none;
}

.ws-toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--ws-border-medium);
    border-radius: var(--ws-radius-full);
    cursor: pointer;
    transition: background var(--ws-transition-fast);
}

.ws-toggle-switch.ws-active {
    background: var(--ws-primary);
}

.ws-toggle-switch__slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--ws-text-inverse);
    border-radius: var(--ws-radius-full);
    box-shadow: var(--ws-shadow-sm);
    transition: transform var(--ws-transition-fast);
}

.ws-toggle-switch.ws-active .ws-toggle-switch__slider {
    transform: translateX(22px);
}

/* Overlay para móvil */
.ws-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: var(--ws-bg-overlay);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ws-transition-base);
}

.ws-sidebar-overlay.ws-active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   MODAL DE BÚSQUEDA
   ========================================================================== */

.ws-search-modal {
    position: fixed;
    inset: 0;
    z-index: var(--ws-z-modal);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh var(--ws-spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ws-transition-base);
}

.ws-search-modal.ws-active {
    opacity: 1;
    visibility: visible;
}

.ws-search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: var(--ws-bg-overlay);
    backdrop-filter: blur(4px);
}

.ws-search-modal__content {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-xl);
    transform: translateY(-20px) scale(0.95);
    transition: transform var(--ws-transition-base);
}

.ws-search-modal.ws-active .ws-search-modal__content {
    transform: translateY(0) scale(1);
}

.ws-search-modal__header {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-md);
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-search-modal__header svg {
    width: 24px;
    height: 24px;
    color: var(--ws-text-tertiary);
}

.ws-search-modal__input {
    flex: 1;
    border: none;
    background: none;
    font-size: var(--ws-font-size-lg);
    color: var(--ws-text-primary);
    outline: none;
}

.ws-search-modal__input::placeholder {
    color: var(--ws-text-tertiary);
}

.ws-search-modal__close {
    padding: var(--ws-spacing-xs) var(--ws-spacing-sm);
    background: var(--ws-bg-tertiary);
    border-radius: var(--ws-radius-sm);
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
}

.ws-search-modal__body {
    max-height: 400px;
    overflow-y: auto;
}

.ws-search-modal__section {
    padding: var(--ws-spacing-md);
}

.ws-search-modal__section-title {
    font-size: var(--ws-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ws-text-tertiary);
    margin-bottom: var(--ws-spacing-sm);
}

.ws-search-modal__item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-sm);
    border-radius: var(--ws-radius-md);
    cursor: pointer;
    transition: background var(--ws-transition-fast);
}

.ws-search-modal__item:hover,
.ws-search-modal__item.ws-focused {
    background: var(--ws-bg-hover);
}

.ws-search-modal__item-image {
    width: 48px;
    height: 48px;
    border-radius: var(--ws-radius-sm);
    object-fit: cover;
}

.ws-search-modal__item-info {
    flex: 1;
    min-width: 0;
}

.ws-search-modal__item-title {
    font-weight: 600;
    color: var(--ws-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-search-modal__item-meta {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
}

.ws-search-modal__item-action {
    color: var(--ws-text-tertiary);
}

.ws-search-modal__empty {
    padding: var(--ws-spacing-2xl);
    text-align: center;
    color: var(--ws-text-tertiary);
}

.ws-search-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    border-top: 1px solid var(--ws-border-light);
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
}

.ws-search-modal__shortcuts {
    display: flex;
    gap: var(--ws-spacing-md);
}

.ws-search-modal__shortcut {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
}

.ws-search-modal__shortcut kbd {
    padding: 2px 6px;
    background: var(--ws-bg-tertiary);
    border-radius: var(--ws-radius-sm);
    font-family: inherit;
}

/* ==========================================================================
   TARJETAS DE RADIO (ESTILO SPOTIFY/INSTAGRAM)
   ========================================================================== */

.ws-radio-grid,
.ws-radios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--ws-spacing-lg);
}

@media (min-width: 1200px) {

    .ws-radio-grid,
    .ws-radios-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .ws-radio-grid,
    .ws-radios-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .ws-radio-grid,
    .ws-radios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--ws-spacing-md);
    }
}

@media (max-width: 767px) {

    .ws-radio-grid,
    .ws-radios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ws-spacing-md);
    }
}

@media (max-width: 400px) {

    .ws-radio-grid,
    .ws-radios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ws-spacing-sm);
    }
}

.ws-radio-card {
    position: relative;
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-md);
    transition: all var(--ws-transition-base);
    border: 1px solid transparent;
}

.ws-radio-card:hover {
    background: var(--ws-bg-hover);
    transform: translateY(-6px);
    box-shadow: var(--ws-shadow-xl);
    border-color: var(--ws-border-light);
}

.ws-radio-card__image-wrapper {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: var(--ws-spacing-md);
    border-radius: var(--ws-radius-lg);
    overflow: visible;
    box-shadow: var(--ws-shadow-lg);
}

.ws-radio-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--ws-radius-lg);
    transition: transform var(--ws-transition-slow);
}

.ws-radio-card:hover .ws-radio-card__image {
    transform: scale(1.08);
}

/* Botón Play centrado estilo Spotify */
.ws-radio-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-primary-dark) 100%);
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-inverse);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    opacity: 0;
    transition: all var(--ws-transition-base);
    cursor: pointer;
    border: none;
}

.ws-radio-card:hover .ws-radio-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ws-radio-card__play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, var(--ws-primary-light) 0%, var(--ws-primary) 100%);
}

.ws-radio-card__play:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.ws-radio-card__play svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

/* Estado loading del botón play */
.ws-radio-card__play.ws-loading {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ws-radio-card__play.ws-loading svg {
    display: none;
}

.ws-radio-card__play.ws-loading::after {
    content: '';
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ws-spin 0.8s linear infinite;
}

/* Estado playing del botón play */
.ws-radio-card__play.ws-playing {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: linear-gradient(135deg, var(--ws-success) 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.ws-radio-card__play.ws-playing svg polygon {
    display: none;
}

.ws-radio-card__play.ws-playing::before {
    content: '';
    display: flex;
    gap: 4px;
}

.ws-radio-card__play.ws-playing svg {
    display: none;
}

.ws-radio-card__play.ws-playing::after {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Crect x='6' y='4' width='4' height='16'/%3E%3Crect x='14' y='4' width='4' height='16'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Badge EN VIVO compacto */
.ws-radio-card__live {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    background: #E91E63;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.ws-radio-card__live::before {
    content: '';
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    animation: ws-pulse 1.5s infinite;
}

@keyframes ws-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.ws-radio-card__content {
    min-height: 56px;
}

.ws-radio-card__title {
    font-weight: 600;
    font-size: var(--ws-font-size-base);
    color: var(--ws-text-primary);
    margin-bottom: var(--ws-spacing-xs);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.ws-radio-card__title a {
    color: inherit;
    transition: color var(--ws-transition-fast);
}

.ws-radio-card__title a:hover {
    color: var(--ws-primary);
}

.ws-radio-card__meta {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.ws-radio-card__actions {
    display: none;
}

/* Botón de Like en menú */
.ws-radio-card__menu-item.ws-like-btn.ws-active {
    color: var(--ws-secondary);
}

.ws-radio-card__menu-item.ws-like-btn.ws-active svg {
    fill: currentColor;
}

.ws-radio-card__menu-item.ws-like-btn:hover {
    color: var(--ws-secondary);
    background: rgba(236, 72, 153, 0.1);
}

@keyframes ws-like-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Botón de Guardar en menú */
.ws-radio-card__menu-item.ws-save-btn.ws-active {
    color: var(--ws-primary);
}

.ws-radio-card__menu-item.ws-save-btn.ws-active svg {
    fill: currentColor;
}

.ws-radio-card__menu-item.ws-save-btn:hover {
    color: var(--ws-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Badge verificado estilo Twitter/X */
.ws-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 4px;
    flex-shrink: 0;
}

.ws-verified-badge::before,
.ws-verified-badge::after {
    content: none !important;
    display: none !important;
}

.ws-verified-badge svg {
    width: 16px;
    height: 16px;
}

/* Tamaños específicos para contextos */
.ws-radio-card__title .ws-verified-badge svg,
.ws-radio-list-item__title .ws-verified-badge svg,
.ws-verified-badge--sm svg {
    width: 14px;
    height: 14px;
}

/* Menú 3 puntos reposicionado en la imagen */
.ws-radio-card__menu-wrapper {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 30;
    opacity: 0;
    transform: translateY(4px);
    transition: all var(--ws-transition-base);
}

.ws-radio-card:hover .ws-radio-card__menu-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.ws-radio-card__menu-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--ws-radius-full);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    transition: all var(--ws-transition-fast);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ws-radio-card__menu-trigger:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.ws-radio-card__menu-trigger svg {
    width: 18px;
    height: 18px;
}

.ws-radio-card__menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: var(--ws-spacing-xs);
    background: var(--ws-bg-card);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--ws-transition-fast);
    z-index: 1000;
    pointer-events: none;
}

.ws-radio-card__menu-wrapper.ws-active .ws-radio-card__menu-dropdown,
.ws-radio-card__menu-trigger:focus+.ws-radio-card__menu-dropdown,
.ws-radio-card__menu-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ws-radio-card__menu-divider {
    height: 1px;
    background: var(--ws-border-light);
    margin: var(--ws-spacing-xs) 0;
}

.ws-radio-card__menu-item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    width: 100%;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    border: none;
    border-radius: var(--ws-radius-md);
    background: transparent;
    color: var(--ws-text-secondary);
    font-size: var(--ws-font-size-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-radio-card__menu-item:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

.ws-radio-card__menu-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Estilo peligro para reportar */
.ws-radio-card__menu-item.ws-report-trigger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--ws-error);
}

/* Tarjeta horizontal (para listas) */
.ws-radio-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ws-spacing-xs);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-sm);
    border: 1px solid var(--ws-border-light);
}

/* Dos columnas en desktop para mejor aprovechamiento del espacio */
@media (min-width: 1024px) {
    .ws-radio-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ws-spacing-sm);
        padding: var(--ws-spacing-md);
    }
}

/* En tablets, mantener una columna */
@media (min-width: 768px) and (max-width: 1023px) {
    .ws-radio-list {
        grid-template-columns: 1fr;
    }
}

/* En móviles, una columna con menos padding */
@media (max-width: 767px) {
    .ws-radio-list {
        grid-template-columns: 1fr;
        padding: var(--ws-spacing-xs);
        gap: 2px;
    }
}

.ws-radio-list-item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-md);
    border-radius: var(--ws-radius-md);
    transition: all var(--ws-transition-fast);
    position: relative;
}

.ws-radio-list-item:hover {
    background: var(--ws-bg-hover);
}

.ws-radio-list-item__number {
    width: 32px;
    font-size: var(--ws-font-size-lg);
    font-weight: 700;
    color: var(--ws-text-tertiary);
    text-align: center;
    flex-shrink: 0;
}

.ws-radio-list-item:hover .ws-radio-list-item__number {
    opacity: 0;
}

/* Botón play para lista */
.ws-radio-list-item__play-btn {
    position: absolute;
    left: var(--ws-spacing-md);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-primary);
    border: none;
    border-radius: 10px;
    color: var(--ws-text-inverse);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--ws-transition-fast);
    z-index: 1;
}

.ws-radio-list-item:hover .ws-radio-list-item__play-btn {
    opacity: 1;
    transform: scale(1);
}

.ws-radio-list-item__play-btn:hover {
    background: var(--ws-primary-light);
    transform: scale(1.1);
}

.ws-radio-list-item__play-btn svg {
    margin-left: 2px;
}

/* Imagen con indicador en vivo */
.ws-radio-list-item__image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.ws-radio-list-item__image {
    width: 56px;
    height: 56px;
    border-radius: var(--ws-radius-md);
    object-fit: cover;
    box-shadow: var(--ws-shadow-sm);
}

.ws-radio-list-item__live-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: var(--ws-error);
    border: 2px solid var(--ws-bg-card);
    border-radius: var(--ws-radius-full);
    animation: ws-pulse 1.5s infinite;
}

/* Info */
.ws-radio-list-item__info {
    flex: 1;
    min-width: 0;
}

.ws-radio-list-item__title {
    font-weight: 600;
    font-size: var(--ws-font-size-base);
    color: var(--ws-text-primary);
    margin-bottom: 2px;
}

.ws-radio-list-item__title a {
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.ws-radio-list-item__title a:hover {
    color: var(--ws-primary);
}

.ws-radio-list-item__meta {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
}

.ws-radio-list-item__separator {
    color: var(--ws-text-tertiary);
}

.ws-radio-list-item__country {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ws-radio-list-item__country svg {
    opacity: 0.7;
}

/* Stats */
.ws-radio-list-item__stats {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    flex-shrink: 0;
}

.ws-radio-list-item__stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
}

.ws-radio-list-item__stat svg {
    opacity: 0.7;
}

/* Acciones */
.ws-radio-list-item__actions {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--ws-transition-fast);
}

.ws-radio-list-item:hover .ws-radio-list-item__actions {
    opacity: 1;
}

.ws-radio-list-item__like,
.ws-radio-list-item__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-tertiary);
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-radio-list-item__like:hover {
    color: var(--ws-secondary);
    background: rgba(236, 72, 153, 0.1);
}

.ws-radio-list-item__like.ws-active {
    color: var(--ws-secondary);
}

.ws-radio-list-item__more:hover {
    color: var(--ws-text-primary);
    background: var(--ws-bg-tertiary);
}

/* Dropdown más opciones */
.ws-radio-list-item__more-wrapper {
    position: relative;
}

.ws-radio-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 200px;
    background: var(--ws-bg-card);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    box-shadow: var(--ws-shadow-lg);
    padding: var(--ws-spacing-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--ws-transition-fast);
    z-index: 1000;
}

.ws-radio-dropdown.ws-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ws-radio-dropdown__item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    width: 100%;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: transparent;
    border: none;
    border-radius: var(--ws-radius-sm);
    color: var(--ws-text-primary);
    font-size: var(--ws-font-size-sm);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-radio-dropdown__item:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-primary);
}

.ws-radio-dropdown__item svg {
    flex-shrink: 0;
    color: var(--ws-text-tertiary);
    transition: color var(--ws-transition-fast);
}

.ws-radio-dropdown__item:hover svg {
    color: var(--ws-primary);
}

.ws-radio-dropdown__item--danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--ws-error);
}

.ws-radio-dropdown__item--danger:hover svg {
    color: var(--ws-error);
}

/* Responsive lista */
@media (max-width: 768px) {
    .ws-radio-list-item {
        padding: var(--ws-spacing-sm);
        gap: var(--ws-spacing-sm);
    }

    .ws-radio-list-item__number {
        width: 24px;
        font-size: var(--ws-font-size-base);
    }

    .ws-radio-list-item__image {
        width: 48px;
        height: 48px;
    }

    .ws-radio-list-item__stats {
        display: none;
    }

    .ws-radio-list-item__actions {
        opacity: 1;
    }

    .ws-radio-list-item__more {
        display: none;
    }
}

/* ==========================================================================
   TOP LIST - RANKING NUMERADO
   ========================================================================== */

.ws-top-list {
    display: flex;
    flex-direction: column;
    gap: var(--ws-spacing-sm);
}

.ws-top-item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    border: 1px solid var(--ws-border-light);
    transition: all var(--ws-transition-fast);
}

.ws-top-item:hover {
    background: var(--ws-bg-hover);
    border-color: var(--ws-border-medium);
    transform: translateX(4px);
}

/* Número de posición */
.ws-top-item__position {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-family: var(--ws-font-secondary);
    font-size: var(--ws-font-size-xl);
    font-weight: 700;
    color: var(--ws-text-tertiary);
}

.ws-top-item__position--top3 {
    background: linear-gradient(135deg, var(--ws-primary) 0%, var(--ws-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--ws-font-size-2xl);
}

/* Imagen con botón play */
.ws-top-item__image {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--ws-radius-md);
    overflow: hidden;
}

.ws-top-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-top-item__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--ws-transition-fast);
}

.ws-top-item:hover .ws-top-item__play,
.ws-top-item__play.ws-playing {
    opacity: 1;
}

.ws-top-item__play.ws-playing {
    background: rgba(29, 185, 84, 0.9);
}

.ws-top-item__play .ws-icon-pause {
    display: none;
}

.ws-top-item__play.ws-playing .ws-icon-play {
    display: none;
}

.ws-top-item__play.ws-playing .ws-icon-pause {
    display: block;
}

/* Info */
.ws-top-item__info {
    flex: 1;
    min-width: 0;
}

.ws-top-item__title {
    display: block;
    font-weight: 600;
    font-size: var(--ws-font-size-base);
    color: var(--ws-text-primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.ws-top-item__title:hover {
    color: var(--ws-primary);
    text-decoration: underline;
}

.ws-top-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
}

.ws-top-item__meta .ws-separator {
    color: var(--ws-text-tertiary);
}

/* Stats */
.ws-top-item__stats {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    flex-shrink: 0;
}

.ws-top-item__plays,
.ws-top-item__likes {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
}

.ws-top-item__plays svg {
    color: var(--ws-success);
}

.ws-top-item__likes svg {
    color: var(--ws-secondary);
}

/* Botón like */
.ws-top-item__like {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-tertiary);
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-top-item__like:hover {
    color: var(--ws-secondary);
    background: rgba(236, 72, 153, 0.1);
}

.ws-top-item__like.ws-active {
    color: var(--ws-secondary);
}

.ws-top-item__like.ws-active svg {
    fill: currentColor;
}

/* Botón guardar/bookmark */
.ws-top-item__save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-tertiary);
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-top-item__save:hover {
    color: var(--ws-primary);
    background: rgba(139, 92, 246, 0.1);
}

.ws-top-item__save.ws-active {
    color: var(--ws-primary);
}

.ws-top-item__save.ws-active svg {
    fill: currentColor;
}

/* Responsive Top List */
@media (max-width: 768px) {
    .ws-top-item {
        padding: var(--ws-spacing-sm);
        gap: var(--ws-spacing-sm);
    }

    .ws-top-item__position {
        min-width: 32px;
        font-size: var(--ws-font-size-lg);
    }

    .ws-top-item__image {
        width: 48px;
        height: 48px;
    }

    .ws-top-item__stats {
        display: none;
    }

    .ws-top-item__save {
        display: none;
    }
}

/* ==========================================================================
   SECCIONES DE LA PÁGINA PRINCIPAL
   ========================================================================== */

.ws-section {
    margin-bottom: var(--ws-spacing-2xl);
}

.ws-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--ws-spacing-lg);
}

.ws-section__title {
    font-family: var(--ws-font-secondary);
    font-size: var(--ws-font-size-2xl);
    font-weight: 700;
    color: var(--ws-text-primary);
}

.ws-section__link {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    font-size: var(--ws-font-size-sm);
    font-weight: 600;
    color: var(--ws-text-secondary);
    transition: color var(--ws-transition-fast);
}

.ws-section__link:hover {
    color: var(--ws-text-primary);
}

/* Hero Banner */
.ws-hero {
    position: relative;
    padding: var(--ws-spacing-2xl);
    background: var(--ws-primary-gradient);
    border-radius: var(--ws-radius-xl);
    overflow: hidden;
    margin-bottom: var(--ws-spacing-2xl);
}

.ws-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.ws-hero__content {
    position: relative;
    max-width: 500px;
    z-index: 1;
}

.ws-hero__title {
    font-family: var(--ws-font-secondary);
    font-size: var(--ws-font-size-4xl);
    font-weight: 700;
    color: var(--ws-text-inverse);
    margin-bottom: var(--ws-spacing-md);
    line-height: 1.2;
}

.ws-hero__text {
    font-size: var(--ws-font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--ws-spacing-lg);
}

.ws-hero__actions {
    display: flex;
    gap: var(--ws-spacing-md);
}

.ws-hero__btn {
    padding: var(--ws-spacing-md) var(--ws-spacing-xl);
}

.ws-hero__btn-primary {
    background: var(--ws-text-inverse) !important;
    color: var(--ws-primary) !important;
    text-decoration: none !important;
    border: none !important;
}

.ws-hero__btn-primary:hover {
    background: #f0f0f0 !important;
    color: var(--ws-primary) !important;
    text-decoration: none !important;
}

.ws-hero__btn-secondary {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
    font-weight: 600;
}

.ws-hero__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 768px) {
    .ws-hero {
        padding: var(--ws-spacing-lg) var(--ws-spacing-md);
    }

    .ws-hero__content {
        max-width: 100%;
    }

    .ws-hero__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .ws-hero__text {
        font-size: var(--ws-font-size-base);
        margin-bottom: var(--ws-spacing-md);
    }

    .ws-hero__actions {
        flex-direction: row;
        gap: var(--ws-spacing-sm);
        width: 100%;
    }

    .ws-hero__btn {
        flex: 1;
        padding: 12px 16px !important;
        font-size: 0.875rem !important;
        white-space: nowrap;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ws-hero__btn svg {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }
}

@media (max-width: 480px) {
    .ws-hero__btn {
        padding: 10px 12px !important;
        font-size: 0.8125rem !important;
    }

    .ws-hero__btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Utility: Hidden on Mobile */
@media (max-width: 1024px) {
    .ws-hidden-mobile {
        display: none !important;
    }
}

/* Categorías / Filtros */
.ws-categories {
    display: flex;
    gap: var(--ws-spacing-sm);
    overflow-x: auto;
    padding-bottom: var(--ws-spacing-sm);
    margin-bottom: var(--ws-spacing-lg);
    scrollbar-width: none;
}

.ws-categories::-webkit-scrollbar {
    display: none;
}

.ws-category-chip {
    flex-shrink: 0;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-full);
    font-size: var(--ws-font-size-sm);
    font-weight: 500;
    color: var(--ws-text-secondary);
    transition: all var(--ws-transition-fast);
    white-space: nowrap;
}

.ws-category-chip:hover {
    border-color: var(--ws-primary);
    color: var(--ws-primary);
}

.ws-category-chip.ws-active {
    background: var(--ws-primary);
    border-color: var(--ws-primary);
    color: var(--ws-text-inverse);
}

/* Slider horizontal */
.ws-slider {
    position: relative;
}

.ws-slider__container {
    display: flex;
    gap: var(--ws-spacing-md);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: var(--ws-spacing-sm) 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.ws-slider__container::-webkit-scrollbar {
    display: none;
    height: 0;
}

.ws-slider__item {
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    width: 180px;
}

@media (max-width: 576px) {
    .ws-slider__item {
        width: 150px;
    }
}

.ws-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-bg-card);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-primary);
    box-shadow: var(--ws-shadow-md);
    z-index: 10;
    transition: all var(--ws-transition-fast);
}

.ws-slider__nav:hover {
    background: var(--ws-primary);
    border-color: var(--ws-primary);
    color: var(--ws-text-inverse);
}

.ws-slider__nav--prev {
    left: -20px;
}

.ws-slider__nav--next {
    right: -20px;
}

@media (max-width: 768px) {
    .ws-slider__nav {
        display: none;
    }
}

/* ==========================================================================
   MINI PLAYER FLOTANTE ESTILO SPOTIFY
   ========================================================================== */

.ws-mini-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    background: var(--ws-bg-card);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(150%) scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    border: 1px solid var(--ws-border-light);
    padding-bottom: 8px;
    /* Space for footer/time */
}

[data-theme="dark"] .ws-mini-player {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.ws-mini-player.ws-active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ws-mini-player.ws-hidden {
    transform: translateY(150%) scale(0.9);
    opacity: 0;
    pointer-events: none;
}

/* Botón cerrar */
.ws-mini-player__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--ws-text-secondary);
    z-index: 100;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.2s ease;
}

.ws-mini-player__close:hover {
    background: rgba(0, 0, 0, 0.4);
    color: var(--ws-text-primary);
}

.ws-mini-player__close svg {
    width: 14px;
    height: 14px;
}

/* Handle para arrastrar */
.ws-mini-player__handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ws-text-tertiary);
    cursor: grab;
    z-index: 15;
    opacity: 0.4;
    transition: opacity var(--ws-transition-fast);
}

.ws-mini-player:hover .ws-mini-player__handle {
    opacity: 0.7;
}

.ws-mini-player__handle:active {
    cursor: grabbing;
    opacity: 1;
}

.ws-mini-player__handle svg {
    width: 16px;
    height: 16px;
}

/* Fondo con imagen */
.ws-mini-player__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(30px);
    opacity: 0.3;
    transform: scale(1.2);
    z-index: 0;
}

/* Overlay gradiente */
.ws-mini-player__overlay {
    position: absolute;
    inset: 0;
    background: var(--ws-bg-card);
    opacity: 0.85;
    z-index: 0;
}

/* Cover imagen */
.ws-mini-player__cover {
    position: relative;
    z-index: 1;
    grid-row: 1 / span 3;
    grid-column: 1;
    margin: 12px;
    width: 80px;
    height: 80px;
    align-self: center;
    cursor: grab;
}

.ws-mini-player__cover:active {
    cursor: grabbing;
}

.ws-mini-player__image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ws-mini-player__live {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 6px;
    background: #E91E63;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    max-width: 90%;
    /* Prevent overflowing the image too much */
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 5;
}

/* Info */
.ws-mini-player__info {
    position: relative;
    z-index: 1;
    grid-column: 2;
    text-align: left;
    padding: 16px 32px 0 0;
    /* Right padding for close btn */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: grab;
}

.ws-mini-player__info:active {
    cursor: grabbing;
}

.ws-mini-player__title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--ws-text-primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    cursor: pointer;
}

.ws-mini-player__title:hover {
    text-decoration: underline;
}

.ws-mini-player__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ws-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-mini-player__meta svg {
    width: 12px;
    height: 12px;
    color: var(--ws-primary);
}

/* Barra de progreso */
.ws-mini-player__progress {
    position: relative;
    z-index: 1;
    grid-column: 2;
    height: 4px;
    background: var(--ws-border-light);
    margin: 8px 16px 8px 0;
    border-radius: 2px;
    cursor: pointer;
    align-self: center;
}

.ws-mini-player__progress-bar {
    height: 100%;
    background: var(--ws-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.ws-mini-player__progress:hover .ws-mini-player__progress-bar {
    filter: brightness(1.1);
}

/* Controles */
.ws-mini-player__controls {
    position: relative;
    z-index: 10;
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 16px 4px 0;
    align-self: start;
}

.ws-mini-player__btn {
    position: relative;
    z-index: 20;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--ws-text-secondary);
    cursor: pointer !important;
    transition: all 0.15s ease;
    pointer-events: auto !important;
}

.ws-mini-player__btn:hover {
    color: var(--ws-text-primary);
    background: var(--ws-bg-hover);
    transform: scale(1.1);
}

.ws-mini-player__btn svg {
    width: 14px;
    height: 14px;
}

.ws-mini-player__btn--action {
    color: var(--ws-text-tertiary);
}

.ws-mini-player__btn--action:hover {
    color: var(--ws-text-primary);
}

.ws-mini-player__btn--action.ws-active {
    color: var(--ws-primary);
}

.ws-mini-player__btn--action.ws-active svg {
    fill: currentColor;
}

/* Botón play principal */
.ws-mini-player__btn--play {
    width: 32px;
    height: 32px;
    background: var(--ws-text-primary);
    color: var(--ws-bg-primary);
    margin: 0 4px;
}

.ws-mini-player__btn--play:hover {
    transform: scale(1.08);
    background: var(--ws-text-primary);
}

.ws-mini-player__btn--play svg {
    width: 14px;
    height: 14px;
}

.ws-mini-player__btn--play .ws-icon-play {
    margin-left: 2px;
}

.ws-mini-player__btn--play .ws-icon-pause {
    display: none;
}

.ws-mini-player.ws-playing .ws-mini-player__btn--play .ws-icon-play {
    display: none;
}

.ws-mini-player.ws-playing .ws-mini-player__btn--play .ws-icon-pause {
    display: block;
}

/* Spinner */
.ws-mini-player__spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: ws-spin 0.8s linear infinite;
    display: none;
}

.ws-mini-player.ws-loading .ws-mini-player__btn--play svg {
    display: none;
}

.ws-mini-player.ws-loading .ws-mini-player__spinner {
    display: block;
}

/* Footer */
.ws-mini-player__footer {
    position: absolute;
    bottom: 8px;
    right: 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 10px;
    color: var(--ws-text-tertiary);
}

.ws-mini-player__status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ws-mini-player__status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--ws-success);
    border-radius: 50%;
    animation: ws-pulse 1.5s infinite;
}

/* Botón mostrar reproductor */
.ws-show-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--ws-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--ws-shadow-glow);
    z-index: 9998;
    transition: all 0.3s ease;
}

.ws-show-player:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px var(--ws-shadow-glow);
}

.ws-show-player svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.ws-show-player.ws-visible {
    display: flex;
}

/* Dropdown compartir global */
.ws-share-dropdown-global {
    position: fixed;
    bottom: 200px;
    right: 24px;
    min-width: 200px;
    background: var(--ws-bg-card);
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    padding: 8px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border: 1px solid var(--ws-border-light);
}

.ws-share-dropdown-global.ws-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
    .ws-mini-player {
        width: calc(100% - 32px);
        right: 16px;
        bottom: 16px;
    }

    .ws-mini-player__image {
        width: 100px;
        height: 100px;
    }

    .ws-mini-player__cover {
        margin-top: 40px;
    }

    .ws-show-player {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }

    .ws-share-dropdown-global {
        right: 16px;
        bottom: 180px;
    }
}

/* Legacy player float - ocultar */
.ws-player-float {
    display: none !important;
}

.ws-player-float__inner {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    padding: 12px 16px;
}

/* Info de la radio */
.ws-player-float__info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.ws-player-float__cover {
    position: relative;
    flex-shrink: 0;
}

.ws-player-float__image {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ws-player-float__live {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    border-radius: 6px;
    font-size: 8px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    animation: ws-live-pulse 2s infinite;
}

@keyframes ws-live-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.ws-player-float__details {
    min-width: 0;
    flex: 1;
}

.ws-player-float__title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: color var(--ws-transition-fast);
}

.ws-player-float__title:hover {
    color: var(--ws-primary-light);
}

.ws-player-float__meta {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controles centrales */
.ws-player-float__controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ws-player-float__btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-player-float__btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.ws-player-float__btn svg {
    width: 18px;
    height: 18px;
}

.ws-player-float__btn--play {
    width: 48px;
    height: 48px;
    background: #1DB954;
    color: #000;
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.ws-player-float__btn--play:hover {
    transform: scale(1.08);
    background: #1ed760;
    box-shadow: 0 6px 24px rgba(29, 185, 84, 0.6);
}

.ws-player-float__btn--play svg {
    width: 22px;
    height: 22px;
    color: #000;
}

.ws-player-float__btn--play .ws-icon-play {
    margin-left: 2px;
}

/* Spinner loading */
.ws-player-float__spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ws-spin 0.8s linear infinite;
}

/* Controles secundarios */
.ws-player-float__secondary {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ws-player-float__btn--like.ws-active {
    color: var(--ws-secondary);
}

.ws-player-float__btn--like.ws-active svg {
    fill: currentColor;
}

/* Control de volumen */
.ws-player-float__volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ws-player-float__volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.ws-player-float__volume-bar {
    height: 100%;
    background: var(--ws-primary);
    border-radius: 2px;
    position: relative;
}

.ws-player-float__volume-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--ws-transition-fast);
}

.ws-player-float__volume:hover .ws-player-float__volume-bar::after {
    opacity: 1;
}

/* Visualizador de audio */
.ws-player-float__visualizer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 0 30%;
    opacity: 0;
    transition: opacity var(--ws-transition-fast);
}

.ws-player-float.ws-playing .ws-player-float__visualizer {
    opacity: 1;
}

.ws-visualizer-bar {
    flex: 1;
    max-width: 40px;
    background: linear-gradient(90deg, var(--ws-primary) 0%, var(--ws-secondary) 100%);
    border-radius: 0 0 2px 2px;
    transform-origin: top;
    animation: ws-visualizer 0.5s ease infinite alternate;
}

.ws-visualizer-bar:nth-child(1) {
    animation-delay: 0s;
}

.ws-visualizer-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.ws-visualizer-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.ws-visualizer-bar:nth-child(4) {
    animation-delay: 0.1s;
}

.ws-visualizer-bar:nth-child(5) {
    animation-delay: 0s;
}

@keyframes ws-visualizer {
    0% {
        transform: scaleY(0.3);
    }

    100% {
        transform: scaleY(1);
    }
}

.ws-player-float.ws-paused .ws-visualizer-bar {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .ws-player-float {
        bottom: 10px;
        width: calc(100% - 20px);
        border-radius: 16px;
    }

    .ws-player-float__inner {
        padding: 10px 12px;
        gap: 10px;
    }

    .ws-player-float__image {
        width: 44px;
        height: 44px;
    }

    .ws-player-float__title {
        font-size: 13px;
    }

    .ws-player-float__btn--prev,
    .ws-player-float__btn--next {
        display: none;
    }

    .ws-player-float__volume {
        display: none;
    }

    .ws-player-float__btn--share {
        display: none;
    }

    .ws-player-float__btn--play {
        width: 42px;
        height: 42px;
    }

    .ws-player-float__btn--play svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .ws-player-float__details {
        max-width: 120px;
    }
}

/* Compatibilidad con clases antiguas para JS */
.ws-player-float .ws-player__image {
    display: none;
}

.ws-player-float .ws-player__title {
    display: none;
}

.ws-player-float .ws-player__meta {
    display: none;
}

/* Tema claro */
[data-theme="light"] .ws-player-float {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.99) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ws-player-float__title {
    color: var(--ws-text-primary);
}

[data-theme="light"] .ws-player-float__meta {
    color: var(--ws-text-secondary);
}

[data-theme="light"] .ws-player-float__btn {
    color: var(--ws-text-secondary);
}

[data-theme="light"] .ws-player-float__btn:hover {
    color: var(--ws-text-primary);
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ws-player-float__volume-slider {
    background: rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   REPRODUCTOR DE RADIO ANTIGUO (COMPATIBILIDAD)
   ========================================================================== */

.ws-player {
    display: none;
}

.ws-player__title {
    font-weight: 600;
    color: var(--ws-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-player__title a {
    color: inherit;
}

.ws-player__title a:hover {
    text-decoration: underline;
}

.ws-player__meta {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-player__like {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-tertiary);
    transition: all var(--ws-transition-fast);
}

.ws-player__like:hover {
    color: var(--ws-secondary);
}

.ws-player__like.ws-active {
    color: var(--ws-secondary);
}

.ws-player__like.ws-active svg {
    fill: currentColor;
}

/* Controles principales */
.ws-player__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

@media (max-width: 768px) {
    .ws-player__controls {
        flex-direction: row;
    }
}

.ws-player__buttons {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
}

.ws-player__btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-secondary);
    transition: all var(--ws-transition-fast);
}

.ws-player__btn:hover {
    color: var(--ws-text-primary);
}

.ws-player__btn svg {
    width: 20px;
    height: 20px;
}

.ws-player__btn--play {
    width: 40px;
    height: 40px;
    background: var(--ws-text-primary);
    color: var(--ws-bg-primary);
}

[data-theme="dark"] .ws-player__btn--play {
    background: var(--ws-text-inverse);
    color: var(--ws-bg-primary);
}

.ws-player__btn--play:hover {
    transform: scale(1.05);
}

.ws-player__btn--play svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {

    .ws-player__btn--shuffle,
    .ws-player__btn--repeat {
        display: none;
    }
}

/* Barra de estado/tiempo */
.ws-player__status {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    width: 100%;
    max-width: 600px;
}

@media (max-width: 768px) {
    .ws-player__status {
        display: none;
    }
}

.ws-player__time {
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
    min-width: 40px;
}

.ws-player__progress {
    flex: 1;
    height: 4px;
    background: var(--ws-border-medium);
    border-radius: var(--ws-radius-full);
    cursor: pointer;
    position: relative;
}

.ws-player__progress-bar {
    height: 100%;
    background: var(--ws-primary);
    border-radius: var(--ws-radius-full);
    width: 0%;
    position: relative;
}

.ws-player__progress:hover .ws-player__progress-bar {
    background: var(--ws-primary-light);
}

.ws-player__progress-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--ws-text-primary);
    border-radius: var(--ws-radius-full);
    opacity: 0;
    transition: opacity var(--ws-transition-fast);
}

.ws-player__progress:hover .ws-player__progress-handle {
    opacity: 1;
}

.ws-player__live-indicator {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    padding: 4px 12px;
    background: var(--ws-error);
    border-radius: var(--ws-radius-full);
    font-size: var(--ws-font-size-xs);
    font-weight: 600;
    color: var(--ws-text-inverse);
}

.ws-player__live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: var(--ws-radius-full);
    animation: ws-pulse 1.5s infinite;
}

/* Controles secundarios */
.ws-player__secondary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--ws-spacing-md);
}

@media (max-width: 768px) {
    .ws-player__secondary {
        display: none;
    }
}

.ws-player__volume {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

.ws-player__volume-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ws-text-secondary);
    transition: color var(--ws-transition-fast);
}

.ws-player__volume-btn:hover {
    color: var(--ws-text-primary);
}

.ws-player__volume-slider {
    width: 100px;
    height: 4px;
    background: var(--ws-border-medium);
    border-radius: var(--ws-radius-full);
    cursor: pointer;
    position: relative;
}

.ws-player__volume-bar {
    height: 100%;
    background: var(--ws-text-primary);
    border-radius: var(--ws-radius-full);
    width: 70%;
}

.ws-player__expand {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ws-text-secondary);
    transition: color var(--ws-transition-fast);
}

.ws-player__expand:hover {
    color: var(--ws-text-primary);
}

/* Visualizador de audio */
.ws-player__visualizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
}

.ws-player__visualizer-bar {
    width: 3px;
    background: var(--ws-primary);
    border-radius: 1px;
    animation: ws-visualizer 0.5s ease-in-out infinite alternate;
}

.ws-player__visualizer-bar:nth-child(1) {
    animation-delay: 0s;
    height: 40%;
}

.ws-player__visualizer-bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 70%;
}

.ws-player__visualizer-bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 50%;
}

.ws-player__visualizer-bar:nth-child(4) {
    animation-delay: 0.3s;
    height: 80%;
}

.ws-player__visualizer-bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 60%;
}

@keyframes ws-visualizer {
    to {
        height: 100%;
    }
}

.ws-player.ws-paused .ws-player__visualizer-bar {
    animation-play-state: paused;
}

/* ==========================================================================
   SINGLE POST - PÁGINA DE RADIO (NUEVO DISEÑO)
   ========================================================================== */

.ws-single {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.ws-single-hero {
    position: relative;
    padding: var(--ws-spacing-2xl) var(--ws-spacing-xl);
    margin-bottom: var(--ws-spacing-xl);
    border-radius: var(--ws-radius-xl);
    overflow: visible;
    min-height: 320px;
}

.ws-single-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.95) 0%, rgba(88, 28, 135, 0.9) 60%, var(--ws-bg-primary) 100%);
    z-index: 0;
    transition: background 0.6s ease;
    border-radius: var(--ws-radius-xl);
}

.ws-single-hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--ws-spacing-xl);
    align-items: flex-end;
}

/* Cover Image */
.ws-single-hero__image {
    width: 100%;
    height: 100%;
    border-radius: var(--ws-radius-lg);
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Info Section */
.ws-single-hero__info {
    flex: 1;
    min-width: 0;
    color: #fff;
}

.ws-single-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--ws-spacing-sm);
}

.ws-single-hero__badge svg {
    color: var(--ws-success);
}

.ws-single-hero__title {
    font-family: var(--ws-font-secondary);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--ws-spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
    word-wrap: break-word;
}

.ws-single-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: var(--ws-font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--ws-spacing-md);
}

.ws-single-hero__separator {
    opacity: 0.5;
}

/* Author */
.ws-single-hero__author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--ws-font-size-sm);
    opacity: 0.85;
    margin-bottom: var(--ws-spacing-lg);
}

.ws-single-hero__author-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Actions Buttons */
.ws-single-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Play Button - Vinyl Style */
.ws-single-hero__cover {
    position: relative;
    overflow: hidden;
    border-radius: var(--ws-radius-lg);
    transition: all 0.5s ease;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

/* Shadow Effect when Playing */
.ws-single-hero__cover:has(.ws-playing) {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Elegant shadow overlay when playing */
.ws-single-hero__cover:has(.ws-playing)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 15%, rgba(139, 92, 246, 0.25) 45%, rgba(0, 0, 0, 0.7) 100%);
    border-radius: var(--ws-radius-lg);
    z-index: 1;
    pointer-events: none;
    animation: ws-shadow-pulse 3s ease-in-out infinite;
}

@keyframes ws-shadow-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.9;
    }
}

.ws-play-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Signal Wave Effect (When not playing) */
.ws-play-container:not(:has(.ws-playing))::before,
.ws-play-container:not(:has(.ws-playing))::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--ws-primary);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    animation: ws-signal-wave 2s infinite;
}

.ws-play-container:not(:has(.ws-playing))::after {
    animation-delay: 0.6s;
}

@keyframes ws-signal-wave {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
        border-width: 4px;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
        border-width: 0px;
    }
}

/* Expand container when playing */
.ws-single-hero__cover:has(.ws-playing) .ws-play-container {
    width: 90%;
    height: 90%;
}

.ws-single-hero__play {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    overflow: hidden;
    position: relative;
    /* Relative to container */
}

/* Audio Wave Visualizer State */
.ws-single-hero__play.ws-playing,
.ws-single-hero__play.ws-playing:hover,
.ws-single-hero__play.ws-playing:focus,
.ws-single-hero__play.ws-playing:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    border-radius: var(--ws-radius-lg);
}

/* Audio Visualizer Container */
.ws-audio-visualizer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ws-single-hero__play.ws-playing .ws-audio-visualizer {
    opacity: 1;
}

/* Audio Bars */
.ws-audio-bar {
    position: absolute;
    width: 3px;
    height: 20px;
    background: linear-gradient(to top, var(--ws-primary), var(--ws-primary-light, #a78bfa));
    border-radius: 2px;
    transform-origin: center;
    top: 50%;
    left: 50%;
    transform:
        translate(-50%, -50%) rotate(calc(var(--bar-index) * 9deg)) translateY(-80px);
    animation: ws-audio-wave 0.8s ease-in-out infinite alternate;
    animation-delay: calc(var(--bar-index) * 0.02s);
}

/* Central Play Button */
.ws-play-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-primary);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    z-index: 10;
}

.ws-single-hero__play.ws-playing .ws-play-center {
    width: 70px;
    height: 70px;
    background: rgba(139, 92, 246, 0.95);
    backdrop-filter: blur(10px);
}

/* Icons Container */
.ws-play-icons {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Icons */
.ws-single-hero__play svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.ws-single-hero__play .ws-icon-play {
    margin-left: 4px;
}

.ws-single-hero__play .ws-icon-pause {
    display: none;
}

.ws-single-hero__play.ws-playing .ws-icon-play {
    display: none;
}

.ws-single-hero__play.ws-playing .ws-icon-pause {
    display: block;
}

/* Spinner */
.ws-single-hero__play .ws-single-hero__spinner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ws-spin 0.8s linear infinite;
    z-index: 1000;
    pointer-events: none;
}

.ws-single-hero__play.ws-loading .ws-play-center {
    width: 80px;
    height: 80px;
    background: var(--ws-primary);
    animation: ws-pulse 1.5s ease-in-out infinite;
}

.ws-single-hero__play.ws-loading svg {
    display: none !important;
}

.ws-single-hero__play.ws-loading .ws-single-hero__spinner {
    display: block !important;
}

@keyframes ws-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Audio Wave Animation */
@keyframes ws-audio-wave {
    0% {
        height: 20px;
        opacity: 0.6;
    }

    100% {
        height: 60px;
        opacity: 1;
    }
}

/* Pulse Animation for Loading */
@keyframes ws-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .ws-play-container {
        width: 56px;
        height: 56px;
    }

    /* Expand to 80% on mobile when playing */
    .ws-single-hero__cover:has(.ws-playing) .ws-play-container {
        width: 80%;
        height: 80%;
    }

    /* Central button smaller on mobile */
    .ws-play-center {
        width: 60px;
        height: 60px;
    }

    .ws-single-hero__play.ws-playing .ws-play-center {
        width: 50px;
        height: 50px;
    }

    /* Hide every other bar on mobile (24 bars instead of 40) */
    .ws-audio-bar:nth-child(2n) {
        display: none;
    }

    /* Adjust bar positioning for mobile */
    .ws-audio-bar {
        width: 2.5px;
        height: 16px;
        transform:
            translate(-50%, -50%) rotate(calc(var(--bar-index) * 9deg)) translateY(-55px);
    }

    /* Mobile wave animation - smaller max height */
    @keyframes ws-audio-wave {
        0% {
            height: 16px;
            opacity: 0.6;
        }

        100% {
            height: 40px;
            opacity: 1;
        }
    }

    /* Ensure signal wave scales correctly on mobile */
    @keyframes ws-signal-wave {
        0% {
            transform: scale(0.8);
            opacity: 0.6;
            border-width: 3px;
        }

        100% {
            transform: scale(2.0);
            opacity: 0;
            border-width: 0px;
        }
    }

    /* Smaller icons on mobile */
    .ws-single-hero__play svg {
        width: 24px;
        height: 24px;
    }

    /* Loading state on mobile - ensure centered */
    .ws-single-hero__play.ws-loading .ws-play-center {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ws-single-hero__play.ws-loading .ws-single-hero__spinner {
        width: 24px;
        height: 24px;
        border-width: 3px;
        margin: auto;
    }

    /* Ensure play-center is always centered */
    .ws-play-center {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .ws-play-center {
        width: 50px;
        height: 50px;
    }

    .ws-single-hero__play.ws-playing .ws-play-center {
        width: 42px;
        height: 42px;
    }

    .ws-single-hero__play.ws-loading .ws-play-center {
        width: 50px;
        height: 50px;
    }

    .ws-single-hero__play.ws-loading .ws-single-hero__spinner {
        width: 18px;
        height: 18px;
    }

    .ws-audio-bar {
        width: 2px;
        transform:
            translate(-50%, -50%) rotate(calc(var(--bar-index) * 9deg)) translateY(-45px);
    }

    .ws-single-hero__play svg {
        width: 20px;
        height: 20px;
    }
}

/* Action Buttons - Con fondo para contraste */
.ws-single-hero__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: var(--ws-font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-single-hero__btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.ws-single-hero__btn svg {
    width: 20px;
    height: 20px;
}

.ws-single-hero__btn.ws-active {
    background: var(--ws-secondary);
    border-color: var(--ws-secondary);
}

.ws-single-hero__btn.ws-active svg {
    fill: currentColor;
}

/* Share Wrapper & Dropdown */
.ws-share-wrapper {
    position: relative;
}

.ws-share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 9999;
    border: 1px solid var(--ws-border-light);
}

.ws-share-dropdown.ws-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.ws-share-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-size: var(--ws-font-size-sm);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ws-share-dropdown__item:hover {
    background: var(--ws-bg-hover);
}

.ws-share-dropdown__item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Social Colors */
.ws-share-dropdown__item:nth-child(1) svg {
    color: #1877F2;
}

.ws-share-dropdown__item:nth-child(2) svg {
    color: #25D366;
}

.ws-share-dropdown__item:nth-child(3) svg {
    color: #1DA1F2;
}

.ws-share-dropdown__item:nth-child(4) svg {
    color: var(--ws-text-secondary);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .ws-single-hero {
        padding: var(--ws-spacing-lg);
        min-height: auto;
    }

    .ws-single-hero__container {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }

    .ws-single-hero__cover {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .ws-single-hero__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ws-single-hero__info {
        align-items: center;
    }

    .ws-single-hero__meta {
        justify-content: center;
    }

    .ws-single-hero__author {
        justify-content: center;
    }

    .ws-single-hero__actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ws-single-hero__btn span {
        display: none;
    }

    .ws-single-hero__btn {
        padding: 10px;
        border-radius: 50%;
    }
}

/* Content Wrapper */
.ws-single__content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--ws-spacing-xl);
}

@media (max-width: 1024px) {
    .ws-single__content-wrapper {
        grid-template-columns: 1fr;
    }
}

.ws-single__main {
    min-width: 0;
}

.ws-single__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ws-spacing-lg);
}

/* Tags */
.ws-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--ws-spacing-lg);
}

.ws-tag {
    padding: 6px 14px;
    background: var(--ws-bg-secondary);
    border-radius: 20px;
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    transition: all 0.15s ease;
}

.ws-tag:hover {
    background: var(--ws-primary);
    color: #fff;
}

/* Card Component */
.ws-card {
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-lg);
    margin-bottom: var(--ws-spacing-lg);
    border: 1px solid var(--ws-border-light);
}

.ws-card__title {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-md);
    padding-bottom: var(--ws-spacing-sm);
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-card__content {
    color: var(--ws-text-secondary);
    line-height: 1.7;
}

.ws-card__content p {
    margin-bottom: var(--ws-spacing-md);
}

/* Info List */
.ws-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ws-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-info-list li:last-child {
    border-bottom: none;
}

.ws-info-list svg {
    width: 18px;
    height: 18px;
    color: var(--ws-text-tertiary);
    flex-shrink: 0;
}

.ws-info-list a {
    color: var(--ws-text-primary);
}

.ws-info-list a:hover {
    color: var(--ws-primary);
}

/* Social Buttons */
.ws-social-buttons {
    display: flex;
    gap: 8px;
    margin-top: var(--ws-spacing-md);
    padding-top: var(--ws-spacing-md);
    border-top: 1px solid var(--ws-border-light);
}

.ws-social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-md);
    color: #fff;
    transition: transform 0.15s ease;
}

.ws-social-btn:hover {
    transform: scale(1.1);
}

.ws-social-btn svg {
    width: 18px;
    height: 18px;
}

.ws-social-btn--facebook {
    background: #1877F2;
}

.ws-social-btn--twitter {
    background: #1DA1F2;
}

.ws-social-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ==========================================================================
   COMENTARIOS MODERNOS
   ========================================================================== */

.ws-comments-section {
    margin-top: var(--ws-spacing-2xl);
}

/* Form de comentarios */
#respond {
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-lg);
    margin-bottom: var(--ws-spacing-xl);
    border: 1px solid var(--ws-border-light);
}

#respond .comment-reply-title {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-md);
}

#respond .comment-form-comment label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--ws-text-primary);
}

#respond textarea {
    width: 100%;
    min-height: 120px;
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-family: inherit;
    font-size: var(--ws-font-size-base);
    resize: vertical;
    transition: border-color 0.2s ease;
}

#respond textarea:focus {
    outline: none;
    border-color: var(--ws-primary);
}

#respond .form-submit {
    margin-top: var(--ws-spacing-md);
}

#respond .submit {
    padding: 12px 24px;
    background: var(--ws-primary);
    border: none;
    border-radius: var(--ws-radius-md);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#respond .submit:hover {
    background: var(--ws-primary-dark);
}

/* Lista de comentarios */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: var(--ws-spacing-lg);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    margin-bottom: var(--ws-spacing-md);
    border: 1px solid var(--ws-border-light);
}

.comment .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--ws-spacing-sm);
}

.comment .comment-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.comment .comment-author .fn {
    font-weight: 600;
    color: var(--ws-text-primary);
}

.comment .comment-metadata {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
    margin-bottom: var(--ws-spacing-md);
}

.comment .comment-metadata a {
    color: inherit;
}

.comment .comment-content {
    color: var(--ws-text-secondary);
    line-height: 1.7;
}

.comment .comment-content p {
    margin: 0 0 var(--ws-spacing-sm);
}

.comment .reply {
    margin-top: var(--ws-spacing-md);
}

.comment .reply a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-sm);
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    transition: all 0.15s ease;
}

.comment .reply a:hover {
    background: var(--ws-primary);
    color: #fff;
}

/* Comentarios anidados */
.comment .children {
    list-style: none;
    padding-left: var(--ws-spacing-xl);
    margin-top: var(--ws-spacing-md);
}

.comment .children .comment {
    background: var(--ws-bg-secondary);
}

/* No comments */
.no-comments {
    text-align: center;
    padding: var(--ws-spacing-xl);
    color: var(--ws-text-tertiary);
}

/* Campos del formulario de comentarios */
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url {
    margin-bottom: var(--ws-spacing-md);
}

#respond .comment-form-author label,
#respond .comment-form-email label,
#respond .comment-form-url label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
}

#respond .comment-form-author input,
#respond .comment-form-email input,
#respond .comment-form-url input {
    width: 100%;
    padding: 12px var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-family: inherit;
    font-size: var(--ws-font-size-base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#respond .comment-form-author input:focus,
#respond .comment-form-email input:focus,
#respond .comment-form-url input:focus,
#respond textarea:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* Cancel reply link */
#respond .comment-reply-title small {
    display: block;
    margin-top: 8px;
}

#respond .comment-reply-title small a {
    color: var(--ws-text-tertiary);
    font-size: var(--ws-font-size-sm);
    font-weight: 400;
}

#respond .comment-reply-title small a:hover {
    color: var(--ws-primary);
}

/* Comment logged in as */
#respond .logged-in-as {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    margin-bottom: var(--ws-spacing-md);
}

#respond .logged-in-as a {
    color: var(--ws-primary);
}

/* Comment notes */
#respond .comment-notes {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
    margin-bottom: var(--ws-spacing-md);
}

/* Required asterisk */
#respond .required {
    color: var(--ws-secondary);
}

/* Pingback/trackback styles */
.pingback,
.trackback {
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-md);
    margin-bottom: var(--ws-spacing-sm);
    font-size: var(--ws-font-size-sm);
}

/* Comments navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: var(--ws-spacing-lg);
    padding-top: var(--ws-spacing-md);
    border-top: 1px solid var(--ws-border-light);
}

.comment-navigation a {
    color: var(--ws-primary);
    font-size: var(--ws-font-size-sm);
}

/* Responsive comments */
@media (max-width: 768px) {
    .comment {
        padding: var(--ws-spacing-md);
    }

    .comment .comment-author .avatar {
        width: 36px;
        height: 36px;
    }

    .comment .children {
        padding-left: var(--ws-spacing-md);
    }

    #respond {
        padding: var(--ws-spacing-md);
    }
}

/* ==========================================================================
   WS-RADIOS CUSTOM COMMENTS STYLES
   ========================================================================== */

.ws-comments {
    margin-top: var(--ws-spacing-xl);
}

.ws-comments__titulo {
    font-size: var(--ws-font-size-xl);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-lg);
    color: var(--ws-text-primary);
}

.ws-comments__lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ws-comments__cerrado {
    text-align: center;
    padding: var(--ws-spacing-lg);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    color: var(--ws-text-tertiary);
    border: 1px solid var(--ws-border-light);
}

/* Comentario individual */
.ws-comment {
    margin-bottom: var(--ws-spacing-md);
}

.ws-comment__body {
    padding: var(--ws-spacing-lg);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    border: 1px solid var(--ws-border-light);
}

.ws-comment__header {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    margin-bottom: var(--ws-spacing-md);
}

.ws-comment__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.ws-comment__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ws-comment__autor {
    font-weight: 600;
    color: var(--ws-text-primary);
}

.ws-comment__autor a {
    color: inherit;
}

.ws-comment__autor a:hover {
    color: var(--ws-primary);
}

.ws-comment__fecha {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
}

.ws-comment__contenido {
    color: var(--ws-text-secondary);
    line-height: 1.7;
}

.ws-comment__contenido p {
    margin: 0 0 var(--ws-spacing-sm);
}

.ws-comment__contenido p:last-child {
    margin-bottom: 0;
}

.ws-comment__pendiente {
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--ws-radius-sm);
    color: var(--ws-warning);
    font-size: var(--ws-font-size-sm);
    margin-bottom: var(--ws-spacing-sm);
}

.ws-comment__footer {
    display: flex;
    gap: var(--ws-spacing-md);
    margin-top: var(--ws-spacing-md);
    padding-top: var(--ws-spacing-md);
    border-top: 1px solid var(--ws-border-light);
}

.ws-comment__responder a,
.ws-comment__editar a {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
    transition: color 0.15s ease;
}

.ws-comment__responder a:hover,
.ws-comment__editar a:hover {
    color: var(--ws-primary);
}

/* Comentarios anidados */
.ws-comment .children {
    list-style: none;
    margin-top: var(--ws-spacing-md);
    padding-left: var(--ws-spacing-xl);
}

.ws-comment .children .ws-comment__body {
    background: var(--ws-bg-secondary);
}

/* Formulario de comentarios */
.ws-comment-form {
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-lg);
    border: 1px solid var(--ws-border-light);
    margin-top: var(--ws-spacing-xl);
}

.ws-comment-form .comment-reply-title {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-md);
    color: var(--ws-text-primary);
}

.ws-comment-form .comment-reply-title small {
    display: block;
    margin-top: 8px;
}

.ws-comment-form .comment-reply-title small a {
    color: var(--ws-text-tertiary);
    font-size: var(--ws-font-size-sm);
    font-weight: 400;
}

.ws-comment-form .comment-reply-title small a:hover {
    color: var(--ws-secondary);
}

.ws-form-group {
    margin-bottom: var(--ws-spacing-md);
}

.ws-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
}

.ws-form-group .required {
    color: var(--ws-secondary);
}

.ws-input,
.ws-textarea {
    width: 100%;
    padding: 12px var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-family: inherit;
    font-size: var(--ws-font-size-base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ws-input:focus,
.ws-textarea:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.ws-textarea {
    min-height: 120px;
    resize: vertical;
}

.ws-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ws-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--ws-primary);
    cursor: pointer;
}

.ws-form-checkbox label {
    display: inline;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--ws-radius-md);
    font-family: inherit;
    font-size: var(--ws-font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-btn-primary {
    background: var(--ws-primary);
    color: #fff;
}

.ws-btn-primary:hover {
    background: var(--ws-primary-dark);
    transform: translateY(-1px);
}

/* Comments pagination */
.comments-pagination {
    display: flex;
    justify-content: center;
    gap: var(--ws-spacing-sm);
    margin-top: var(--ws-spacing-lg);
    padding-top: var(--ws-spacing-lg);
    border-top: 1px solid var(--ws-border-light);
}

.comments-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-secondary);
    font-size: var(--ws-font-size-sm);
    transition: all 0.15s ease;
}

.comments-pagination .page-numbers:hover {
    background: var(--ws-primary);
    color: #fff;
}

.comments-pagination .page-numbers.current {
    background: var(--ws-primary);
    color: #fff;
}

/* Responsive comments custom */
@media (max-width: 768px) {
    .ws-comment__body {
        padding: var(--ws-spacing-md);
    }

    .ws-comment__avatar img {
        width: 40px;
        height: 40px;
    }

    .ws-comment .children {
        padding-left: var(--ws-spacing-md);
    }

    .ws-comment-form {
        padding: var(--ws-spacing-md);
    }

    .ws-form-checkbox {
        align-items: flex-start;
    }
}

/* Legacy single styles - reset removed */

.ws-single__meta {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    flex-wrap: wrap;
    font-size: var(--ws-font-size-sm);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .ws-single__meta {
        justify-content: center;
    }
}

.ws-single__author {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

.ws-single__author-avatar {
    width: 24px;
    height: 24px;
    border-radius: var(--ws-radius-full);
}

.ws-single__actions {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    margin-bottom: var(--ws-spacing-xl);
}

@media (max-width: 768px) {
    .ws-single__actions {
        justify-content: center;
    }
}

.ws-single__play-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-success);
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-inverse);
    box-shadow: var(--ws-shadow-lg);
    transition: all var(--ws-transition-base);
}

.ws-single__play-btn:hover {
    transform: scale(1.05);
    background: #0EA572;
}

.ws-single__play-btn svg {
    width: 28px;
    height: 28px;
}

.ws-single__play-btn .ws-icon-pause {
    display: none;
}

.ws-single__play-btn.ws-playing .ws-icon-play {
    display: none;
}

.ws-single__play-btn.ws-playing .ws-icon-pause {
    display: block;
}

.ws-single__play-btn.ws-loading .ws-loading-spinner {
    display: block;
}

.ws-single__play-btn.ws-loading .ws-icon-play,
.ws-single__play-btn.ws-loading .ws-icon-pause {
    display: none;
}

/* Loading Spinner */
.ws-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ws-spin 0.8s linear infinite;
    display: none;
}

@keyframes ws-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Clase ocultar */
.ws-hidden {
    display: none !important;
}

.ws-single__like-btn,
.ws-single__share-btn,
.ws-single__report-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-full);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--ws-transition-fast);
}

.ws-single__like-btn:hover,
.ws-single__share-btn:hover {
    color: var(--ws-text-inverse);
}

.ws-single__like-btn.ws-active {
    color: var(--ws-secondary);
}

.ws-single__like-btn.ws-active svg {
    fill: currentColor;
}

.ws-single__report-btn:hover {
    color: var(--ws-warning);
}

.ws-single__report-btn:hover {
    color: var(--ws-warning);
}

/* Hero Menu */
.ws-single-hero__menu {
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible !important;
}

.ws-single-hero__menu .ws-radio-card__menu-trigger {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    position: relative;
    top: auto;
    right: auto;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    color: #fff !important;
    border: none;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-full);
    transition: background-color var(--ws-transition-fast);
    z-index: 10;
    pointer-events: auto;
}

.ws-single-hero__menu .ws-radio-card__menu-trigger svg {
    width: 24px !important;
    height: 24px !important;
    fill: currentColor;
    display: block !important;
}

.ws-single-hero__menu .ws-radio-card__menu-trigger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.ws-single-hero__menu .ws-radio-card__menu-dropdown {
    top: 100%;
    right: 0;
    margin-top: 10px;
    transform-origin: top right;
    width: 200px;
    z-index: 100;
}

/* Contenido principal con sidebar */
.ws-single__content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--ws-spacing-xl);
}

@media (max-width: 1024px) {
    .ws-single__content-wrapper {
        grid-template-columns: 1fr;
    }
}

.ws-single__main {
    min-width: 0;
}

.ws-single__description {
    padding: var(--ws-spacing-lg);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    margin-bottom: var(--ws-spacing-xl);
}

.ws-single__description h3 {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-md);
}

.ws-single__description p {
    color: var(--ws-text-secondary);
    line-height: 1.8;
}

/* Espacio para AdSense */
.ws-adsense {
    margin: var(--ws-spacing-xl) 0;
    padding: var(--ws-spacing-lg);
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-lg);
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-adsense--horizontal {
    min-height: 90px;
}

.ws-adsense--sidebar {
    min-height: 600px;
}

/* Sidebar */
.ws-single__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ws-spacing-lg);
    position: sticky;
    top: calc(var(--ws-header-height) + var(--ws-spacing-xl));
    height: fit-content;
}

.ws-sidebar-widget {
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-lg);
}

.ws-sidebar-widget__title {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-md);
    padding-bottom: var(--ws-spacing-sm);
    border-bottom: 1px solid var(--ws-border-light);
}

/* Sidebar Recommendations */
.ws-sidebar-recommendations {
    display: flex;
    flex-direction: column;
    gap: var(--ws-spacing-md);
}

.ws-sidebar-radio-item {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-sm);
    border-radius: var(--ws-radius-md);
    transition: background-color var(--ws-transition-fast);
}

.ws-sidebar-radio-item:hover {
    background-color: var(--ws-bg-hover);
}

.ws-sidebar-radio-img {
    width: 48px;
    height: 48px;
    border-radius: var(--ws-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.ws-sidebar-radio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-sidebar-radio-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    flex: 1;
    /* flex: 1 ensures the container takes available space */
    /* min-width: 0 allows flexbox to shrink below content size */
}

.ws-sidebar-radio-info h4 {
    font-size: var(--ws-font-size-sm);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ws-text-primary);
}

.ws-sidebar-radio-info span {
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive: Sidebar Recommendations */
@media (max-width: 768px) {
    .ws-sidebar-radio-item {
        padding: var(--ws-spacing-xs);
    }

    .ws-sidebar-radio-img {
        width: 40px;
        height: 40px;
    }

    .ws-sidebar-radio-info h4 {
        font-size: 0.8125rem;
        line-height: 1.3;
    }

    .ws-sidebar-radio-info span {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .ws-sidebar-recommendations {
        gap: var(--ws-spacing-xs);
    }

    .ws-sidebar-radio-img {
        width: 36px;
        height: 36px;
    }

    .ws-sidebar-radio-info h4 {
        font-size: 0.75rem;
    }

    .ws-sidebar-radio-info span {
        font-size: 0.625rem;
    }
}

/* Sección relacionados */
.ws-related {
    margin-top: var(--ws-spacing-xl);
}

.ws-related__title {
    font-size: var(--ws-font-size-xl);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-lg);
}

/* ==========================================================================
   COMENTARIOS MODERNOS
   ========================================================================== */

.ws-comments {
    margin-top: var(--ws-spacing-2xl);
}

.ws-comments__title {
    font-size: var(--ws-font-size-xl);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-lg);
}

.ws-comments__form {
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-lg);
    margin-bottom: var(--ws-spacing-xl);
}

.ws-comments__form-header {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    margin-bottom: var(--ws-spacing-md);
}

.ws-comments__form-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--ws-radius-full);
}

.ws-comments__form-textarea {
    width: 100%;
    min-height: 100px;
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    resize: vertical;
    color: var(--ws-text-primary);
    transition: border-color var(--ws-transition-fast);
}

.ws-comments__form-textarea:focus {
    outline: none;
    border-color: var(--ws-primary);
}

.ws-comments__form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--ws-spacing-md);
}

.ws-comment {
    display: flex;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-lg) 0;
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-comment:last-child {
    border-bottom: none;
}

.ws-comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--ws-radius-full);
    flex-shrink: 0;
}

.ws-comment__content {
    flex: 1;
    min-width: 0;
}

.ws-comment__header {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    margin-bottom: var(--ws-spacing-xs);
}

.ws-comment__author {
    font-weight: 600;
    color: var(--ws-text-primary);
}

.ws-comment__date {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
}

.ws-comment__text {
    color: var(--ws-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--ws-spacing-sm);
}

.ws-comment__actions {
    display: flex;
    gap: var(--ws-spacing-md);
}

.ws-comment__action {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
    transition: color var(--ws-transition-fast);
}

.ws-comment__action:hover {
    color: var(--ws-primary);
}

/* Respuestas */
.ws-comment__replies {
    margin-top: var(--ws-spacing-md);
    padding-left: var(--ws-spacing-lg);
    border-left: 2px solid var(--ws-border-light);
}

/* ==========================================================================
   MODALES
   ========================================================================== */

.ws-modal {
    position: fixed;
    inset: 0;
    z-index: var(--ws-z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ws-spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ws-transition-base);
}

.ws-modal.ws-active {
    opacity: 1;
    visibility: visible;
}

.ws-modal__backdrop {
    position: absolute;
    inset: 0;
    background: var(--ws-bg-overlay);
    backdrop-filter: blur(4px);
}

.ws-modal__container {
    position: relative;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-xl);
    box-shadow: var(--ws-shadow-2xl);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--ws-transition-base);
    border: 1px solid var(--ws-border-light);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .ws-modal__container {
    background: #1e293b;
    /* Dark slate for better contrast */
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.ws-modal.ws-active .ws-modal__container {
    transform: scale(1) translateY(0);
}

.ws-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ws-spacing-lg);
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-modal__title {
    font-size: var(--ws-font-size-xl);
    font-weight: 700;
    color: var(--ws-text-primary);
    line-height: 1.3;
}

[data-theme="dark"] .ws-modal__title {
    color: #f8fafc;
}

.ws-modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-tertiary);
    transition: all var(--ws-transition-fast);
}

.ws-modal__close:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

.ws-modal__body {
    padding: var(--ws-spacing-lg);
    overflow-y: auto;
    color: var(--ws-text-secondary);
}

[data-theme="dark"] .ws-modal__body {
    color: #cbd5e1;
}

.ws-modal__description {
    font-size: var(--ws-font-size-base);
    line-height: 1.6;
    margin-bottom: var(--ws-spacing-lg);
}

.ws-modal__section-title {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    color: var(--ws-text-primary);
    margin-bottom: var(--ws-spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
}

[data-theme="dark"] .ws-modal__section-title {
    color: #f1f5f9;
}

.ws-modal__section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: var(--ws-primary);
    border-radius: 2px;
}

.ws-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-lg);
    border-top: 1px solid var(--ws-border-light);
}

/* Modal pequeño */
.ws-modal__content--sm {
    max-width: 340px;
}

/* Modal de Compartir */
.ws-modal--share .ws-modal__title {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

.ws-modal--share .ws-modal__body {
    padding: var(--ws-spacing-md);
}

.ws-share-radio-name {
    margin: 0 0 var(--ws-spacing-md) 0;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-md);
    font-size: var(--ws-font-size-sm);
    font-weight: 600;
    color: var(--ws-text-primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ws-share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ws-spacing-sm);
}

.ws-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ws-spacing-xs);
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-lg);
    color: var(--ws-text-primary);
    text-decoration: none;
    transition: all var(--ws-transition-fast);
    cursor: pointer;
}

.ws-share-option:hover {
    background: var(--ws-bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--ws-shadow-md);
}

.ws-share-option svg {
    width: 28px;
    height: 28px;
}

.ws-share-option span {
    font-size: var(--ws-font-size-sm);
    font-weight: 500;
}

/* Colores de redes sociales al hover */
.ws-share-option[data-share="facebook"]:hover {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.ws-share-option[data-share="twitter"]:hover {
    border-color: var(--ws-text-primary);
    background: var(--ws-bg-hover);
}

.ws-share-option[data-share="whatsapp"]:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.ws-share-option[data-share="copy"]:hover {
    border-color: var(--ws-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* ============================================
   MODAL DE BÚSQUEDA
   ============================================ */
.ws-search-modal__input {
    width: 100%;
    padding: 16px 24px;
    font-size: var(--ws-font-size-lg);
    background: var(--ws-bg-tertiary);
    border: 2px solid transparent;
    border-radius: 50px;
    /* Rounded corners */
    color: var(--ws-text-primary);
    outline: none;
    transition: all var(--ws-transition-fast);
}

.ws-search-modal__input:focus {
    background: var(--ws-bg-card);
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 4px rgba(var(--ws-primary-rgb), 0.1);
}

.ws-search-modal__input::placeholder {
    color: var(--ws-text-tertiary);
}

/* ============================================
   MODAL DE AUTENTICACIÓN - SLIDING DESIGN
   ============================================ */

.ws-auth-modal__wrapper {
    background: var(--ws-bg-card);
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ws-auth-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
}

.ws-form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.ws-sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.ws-auth-container.ws-right-panel-active .ws-sign-in-container {
    transform: translateX(100%);
}

.ws-sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.ws-auth-container.ws-right-panel-active .ws-sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.ws-overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.ws-auth-container.ws-right-panel-active .ws-overlay-container {
    transform: translateX(-100%);
}

.ws-overlay {
    background: var(--ws-primary);
    background: var(--ws-primary-gradient);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.ws-auth-container.ws-right-panel-active .ws-overlay {
    transform: translateX(50%);
}

.ws-overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.ws-overlay-left {
    transform: translateX(-20%);
}

.ws-auth-container.ws-right-panel-active .ws-overlay-left {
    transform: translateX(0);
}

.ws-overlay-right {
    right: 0;
    transform: translateX(0);
}

.ws-auth-container.ws-right-panel-active .ws-overlay-right {
    transform: translateX(20%);
}

.ws-social-container {
    margin: 20px 0;
}

.ws-social-container a {
    border: 1px solid var(--ws-border-light);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
    color: var(--ws-text-primary);
    transition: all var(--ws-transition-fast);
}

.ws-social-container a:hover {
    border-color: var(--ws-primary);
    color: var(--ws-primary);
    background: var(--ws-bg-hover);
}

/* Typography & Elements */
.ws-auth-title {
    font-weight: bold;
    margin: 0;
    font-size: 24px;
    color: var(--ws-text-primary);
}

.ws-text-white {
    color: #fff !important;
}

.ws-auth-p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
    color: var(--ws-text-secondary);
}

.ws-auth-span {
    font-size: 12px;
    margin-bottom: 15px;
    color: var(--ws-text-secondary);
}

.ws-auth-form {
    background-color: var(--ws-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

.ws-input-group {
    position: relative;
    width: 100%;
    margin: 8px 0;
}

.ws-input-group input {
    background-color: var(--ws-bg-tertiary);
    border: 1px solid transparent;
    padding: 12px 15px 12px 40px;
    /* Space for icon */
    width: 100%;
    border-radius: 8px;
    outline: none;
    color: var(--ws-text-primary);
    transition: all var(--ws-transition-fast);
}

.ws-input-group input:focus {
    border-color: var(--ws-primary);
    background-color: var(--ws-bg-card);
}

.ws-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ws-text-tertiary);
    pointer-events: none;
}

.ws-btn-grad {
    border-radius: 20px;
    border: 1px solid var(--ws-primary);
    background-color: var(--ws-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--ws-transition-base);
    margin-top: 20px;
    cursor: pointer;
}

.ws-btn-grad:hover {
    background-color: var(--ws-primary-dark);
    border-color: var(--ws-primary-dark);
    transform: scale(1.05);
    box-shadow: var(--ws-shadow-md);
}

.ws-btn-grad:active {
    transform: scale(0.95);
}

.ws-btn-grad:focus {
    outline: none;
}

.ws-btn-ghost-white {
    background-color: transparent;
    border-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--ws-transition-base);
    cursor: pointer;
}

.ws-btn-ghost-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.ws-btn-ghost-white:active {
    transform: scale(0.95);
}

.ws-link-forgot {
    color: var(--ws-text-secondary);
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
    transition: color var(--ws-transition-fast);
}

.ws-link-forgot:hover {
    color: var(--ws-primary);
    text-decoration: underline;
}

/* Password Recovery Panel (Overlay on top of everything) */
.ws-recovery-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .ws-recovery-panel {
    background: rgba(15, 23, 42, 0.95);
}

.ws-recovery-content {
    background: var(--ws-bg-card);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.ws-recovery-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ws-text-secondary);
}

.ws-recovery-close:hover {
    color: var(--ws-text-primary);
}

/* Close Button Fix for Auth Modal */
.ws-auth-modal .ws-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 150;
    background: transparent;
    color: var(--ws-text-secondary);
    width: 30px;
    height: 30px;
}

.ws-auth-modal .ws-modal__close:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .ws-auth-modal__wrapper {
        min-height: 600px;
        width: 95%;
    }

    .ws-auth-container {
        min-height: 600px;
    }

    .ws-form-container {
        width: 100%;
        height: 65%;
        /* Top part */
        top: 0;
    }

    .ws-sign-in-container {
        z-index: 2;
    }

    .ws-sign-up-container {
        opacity: 0;
        z-index: 1;
    }

    .ws-auth-container.ws-right-panel-active .ws-sign-in-container {
        transform: translateY(-100%);
        /* Move up out of view */
    }

    .ws-auth-container.ws-right-panel-active .ws-sign-up-container {
        transform: translateY(0);
        opacity: 1;
        z-index: 5;
        animation: none;
    }

    .ws-overlay-container {
        width: 100%;
        height: 35%;
        /* Bottom part */
        top: 65%;
        left: 0;
    }

    .ws-auth-container.ws-right-panel-active .ws-overlay-container {
        transform: translateY(0);
        /* Don't move overlay container on mobile, just switch content */
    }

    .ws-overlay {
        width: 100%;
        height: 100%;
        left: 0;
        transform: none;
    }

    .ws-overlay-panel {
        width: 100%;
        height: 100%;
        padding: 20px;
    }

    .ws-overlay-left {
        display: none;
        /* Simplify mobile: just show one toggle button based on state */
    }

    .ws-overlay-right {
        display: flex;
    }

    /* Custom Mobile Logic: We might need JS to swap text/buttons on mobile if we want a true single-button toggle, 
       but for now let's try to keep the sliding logic or simplify it. 
       Actually, the sliding logic is hard to adapt perfectly to vertical without complex CSS.
       Let's use a simpler approach for mobile: Stacked, and use JS to toggle visibility.
    */
}

/* Mobile Override for simplicity */
@media (max-width: 768px) {
    .ws-auth-modal__wrapper {
        overflow-y: auto;
    }

    .ws-auth-container {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .ws-form-container {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1;
        transform: none !important;
        display: none;
        /* Hidden by default, toggled by JS class */
    }

    .ws-auth-container .ws-sign-in-container {
        display: block;
    }

    .ws-auth-container.ws-right-panel-active .ws-sign-in-container {
        display: none;
    }

    .ws-auth-container.ws-right-panel-active .ws-sign-up-container {
        display: block;
        opacity: 1;
        z-index: 5;
    }

    .ws-overlay-container {
        display: none;
        /* Hide sliding overlay on mobile */
    }

    /* Add a mobile toggle link */
    .ws-mobile-toggle {
        display: block;
        text-align: center;
        margin-top: 20px;
        cursor: pointer;
    }

    .ws-trigger-auth {
        color: #512da8;
        font-weight: bold;
        text-decoration: underline;
    }
}

/* Scrollable content area */
.ws-auth-modal__scroll {
    overflow-y: auto;
    padding: var(--ws-spacing-xl);
    scrollbar-width: thin;
}

/* Modal de Reportar - Compacto */
.ws-modal--report .ws-modal__title {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    color: var(--ws-error);
}

.ws-modal--report .ws-modal__body {
    padding: var(--ws-spacing-md);
}

.ws-report-radio-info {
    margin-bottom: var(--ws-spacing-md);
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-md);
    border-left: 3px solid var(--ws-primary);
}

.ws-report-radio-name {
    font-size: var(--ws-font-size-sm);
    font-weight: 600;
    color: var(--ws-text-primary);
}

.ws-form-label-hint {
    font-weight: 400;
    color: var(--ws-text-tertiary);
}

/* Botón danger */
.ws-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    background: var(--ws-error);
    color: #fff;
}

.ws-btn-danger:hover {
    background: #dc2626;
}

/* Botón ghost */
.ws-btn-ghost {
    background: transparent;
    color: var(--ws-text-secondary);
}

.ws-btn-ghost:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */

.ws-form-group {
    margin-bottom: var(--ws-spacing-md);
}

.ws-form-label {
    display: block;
    font-size: var(--ws-font-size-sm);
    font-weight: 600;
    color: var(--ws-text-primary);
    margin-bottom: var(--ws-spacing-xs);
}

.ws-form-input {
    width: 100%;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    transition: all var(--ws-transition-fast);
}

.ws-form-input:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.ws-form-input::placeholder {
    color: var(--ws-text-tertiary);
}

.ws-form-select {
    width: 100%;
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.ws-form-textarea {
    width: 100%;
    min-height: 120px;
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    resize: vertical;
    transition: all var(--ws-transition-fast);
}

.ws-form-textarea:focus {
    outline: none;
    border-color: var(--ws-primary);
}

.ws-form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    cursor: pointer;
}

.ws-form-checkbox input {
    accent-color: var(--ws-primary);
}

.ws-form-help {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
    margin-top: var(--ws-spacing-xs);
}

.ws-form-error {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-error);
    margin-top: var(--ws-spacing-xs);
}

/* Upload de imagen */
.ws-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--ws-spacing-2xl);
    background: var(--ws-bg-secondary);
    border: 2px dashed var(--ws-border-medium);
    border-radius: var(--ws-radius-lg);
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-upload-area:hover {
    border-color: var(--ws-primary);
    background: rgba(139, 92, 246, 0.05);
}

.ws-upload-area__icon {
    width: 48px;
    height: 48px;
    color: var(--ws-text-tertiary);
    margin-bottom: var(--ws-spacing-md);
}

.ws-upload-area__text {
    text-align: center;
    color: var(--ws-text-secondary);
}

.ws-upload-area__text strong {
    color: var(--ws-primary);
}

/* ==========================================================================
   PÁGINA DE SUBIR RADIO (FRONTEND)
   ========================================================================== */

.ws-submit-radio {
    max-width: 800px;
    margin: 0 auto;
}

.ws-submit-radio__header {
    text-align: center;
    margin-bottom: var(--ws-spacing-2xl);
}

.ws-submit-radio__title {
    font-family: var(--ws-font-secondary);
    font-size: var(--ws-font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--ws-spacing-sm);
}

.ws-submit-radio__subtitle {
    color: var(--ws-text-secondary);
}

.ws-submit-radio__form {
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-xl);
    padding: var(--ws-spacing-xl);
    box-shadow: var(--ws-shadow-lg);
}

.ws-submit-radio__section {
    margin-bottom: var(--ws-spacing-xl);
    padding-bottom: var(--ws-spacing-xl);
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-submit-radio__section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ws-submit-radio__section-title {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--ws-spacing-md);
}

/* Selector de ubicación jerárquico */
.ws-location-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ws-spacing-md);
}

@media (max-width: 768px) {
    .ws-location-selector {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NOTIFICACIONES / TOASTS
   ========================================================================== */

.ws-toast-container {
    position: fixed;
    bottom: calc(var(--ws-player-height) + var(--ws-spacing-md));
    right: var(--ws-spacing-md);
    z-index: var(--ws-z-tooltip);
    display: flex;
    flex-direction: column;
    gap: var(--ws-spacing-sm);
}

.ws-toast {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    min-width: 300px;
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-md);
    box-shadow: var(--ws-shadow-xl);
    transform: translateX(120%);
    transition: transform var(--ws-transition-base);
}

.ws-toast.ws-active {
    transform: translateX(0);
}

.ws-toast__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.ws-toast--success .ws-toast__icon {
    color: var(--ws-success);
}

.ws-toast--error .ws-toast__icon {
    color: var(--ws-error);
}

.ws-toast--warning .ws-toast__icon {
    color: var(--ws-warning);
}

.ws-toast--info .ws-toast__icon {
    color: var(--ws-info);
}

.ws-toast__content {
    flex: 1;
}

.ws-toast__title {
    font-weight: 600;
    margin-bottom: 2px;
}

.ws-toast__message {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
}

.ws-toast__close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ws-text-tertiary);
    border-radius: var(--ws-radius-sm);
    transition: all var(--ws-transition-fast);
}

.ws-toast__close:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

/* ==========================================================================
   PÁGINA DE ARCHIVO / CATEGORÍAS
   ========================================================================== */

.ws-main {
    padding: var(--ws-spacing-lg);
    padding-top: calc(var(--ws-header-height) + var(--ws-spacing-lg));
}

.ws-archive__header,
.ws-archive-header {
    margin-bottom: var(--ws-spacing-xl);
}

.ws-archive__title,
.ws-archive-title {
    font-family: var(--ws-font-secondary);
    font-size: var(--ws-font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--ws-spacing-md);
    color: var(--ws-text-primary);
}

.ws-archive__description,
.ws-archive-description {
    color: var(--ws-text-secondary);
    margin-bottom: var(--ws-spacing-lg);
    font-size: var(--ws-font-size-lg);
}

.ws-archive__filters,
.ws-archive-filtros {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    margin-bottom: var(--ws-spacing-xl);
    border: 1px solid var(--ws-border-light);
}

.ws-filtros-header {
    width: 100%;
    margin-bottom: var(--ws-spacing-sm);
}

.ws-filtros-title {
    font-size: var(--ws-font-size-lg);
    font-weight: 600;
    color: var(--ws-text-primary);
    margin: 0;
}

.ws-filtros-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-spacing-md);
    width: 100%;
}

.ws-filtros-grupo {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

.ws-filtros-grupo label {
    font-size: var(--ws-font-size-sm);
    font-weight: 500;
    color: var(--ws-text-secondary);
    white-space: nowrap;
}

.ws-select {
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    padding-right: var(--ws-spacing-xl);
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-size: var(--ws-font-size-sm);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: all var(--ws-transition-fast);
}

.ws-select:hover {
    border-color: var(--ws-primary);
}

.ws-select:focus {
    outline: none;
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.ws-filtros-vista {
    display: flex;
    gap: var(--ws-spacing-xs);
    margin-left: auto;
    padding: 4px;
    background: var(--ws-bg-secondary);
    border-radius: var(--ws-radius-md);
}

.ws-vista-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--ws-radius-sm);
    color: var(--ws-text-tertiary);
    background: transparent;
    transition: all var(--ws-transition-fast);
    cursor: pointer;
    border: none;
}

.ws-vista-btn:hover {
    color: var(--ws-text-primary);
    background: var(--ws-bg-hover);
}

.ws-vista-btn.ws-active {
    color: var(--ws-primary);
    background: var(--ws-bg-card);
    box-shadow: var(--ws-shadow-sm);
}

/* Contador de resultados */
.ws-archive-resultados {
    margin-bottom: var(--ws-spacing-lg);
}

.ws-resultados-count {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .ws-archive-filtros {
        flex-direction: column;
        align-items: stretch;
    }

    .ws-filtros-grupo {
        width: 100%;
        justify-content: space-between;
    }

    .ws-filtros-grupo label {
        min-width: 80px;
    }

    .ws-select {
        flex: 1;
    }

    .ws-filtros-vista {
        margin-left: 0;
        justify-content: center;
    }
}

/* ==========================================================================
   FILTROS MODERNOS (DROPDOWNS)
   ========================================================================== */

.ws-archive-header__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ws-spacing-lg);
    margin-bottom: var(--ws-spacing-lg);
}

.ws-archive-header__info {
    flex: 1;
}

.ws-archive-stats {
    flex-shrink: 0;
}

.ws-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-sm) var(--ws-spacing-md);
    background: var(--ws-primary-gradient);
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-inverse);
    font-size: var(--ws-font-size-sm);
}

.ws-stats-badge svg {
    opacity: 0.9;
}

.ws-stats-badge strong {
    font-weight: 700;
}

/* Barra de filtros */
.ws-filtros-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-md);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    border: 1px solid var(--ws-border-light);
    margin-bottom: var(--ws-spacing-md);
}

.ws-filtros-spacer {
    flex: 1;
}

/* Dropdown de filtro */
.ws-filtro-dropdown {
    position: relative;
}

.ws-filtro-trigger {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    padding: 10px 14px;
    background: var(--ws-bg-secondary);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-size: var(--ws-font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--ws-transition-fast);
    white-space: nowrap;
}

.ws-filtro-trigger:hover {
    border-color: var(--ws-primary);
    background: var(--ws-bg-hover);
}

.ws-filtro-dropdown.ws-open .ws-filtro-trigger {
    border-color: var(--ws-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.ws-filtro-trigger svg:first-child {
    color: var(--ws-primary);
}

.ws-filtro-label {
    color: var(--ws-text-secondary);
}

.ws-filtro-value {
    color: var(--ws-text-primary);
    font-weight: 600;
}

.ws-filtro-arrow {
    color: var(--ws-text-tertiary);
    transition: transform var(--ws-transition-fast);
}

.ws-filtro-dropdown.ws-open .ws-filtro-arrow {
    transform: rotate(180deg);
}

/* Menu dropdown */
.ws-filtro-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--ws-bg-card);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-xl);
    z-index: var(--ws-z-dropdown);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--ws-transition-fast);
    padding: var(--ws-spacing-xs);
}

.ws-filtro-dropdown.ws-open .ws-filtro-menu,
.ws-filtro-menu.ws-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ws-filtro-menu--scroll {
    max-height: 320px;
    overflow-y: auto;
}

.ws-filtro-menu--scroll::-webkit-scrollbar {
    width: 6px;
}

.ws-filtro-menu--scroll::-webkit-scrollbar-track {
    background: transparent;
}

.ws-filtro-menu--scroll::-webkit-scrollbar-thumb {
    background: var(--ws-border-medium);
    border-radius: var(--ws-radius-full);
}

/* Opción del filtro */
.ws-filtro-option {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-size: var(--ws-font-size-sm);
    text-align: left;
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-filtro-option:hover {
    background: var(--ws-bg-hover);
}

.ws-filtro-option.ws-active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--ws-primary);
}

.ws-filtro-option svg:first-child {
    color: var(--ws-text-tertiary);
    flex-shrink: 0;
}

.ws-filtro-option.ws-active svg:first-child {
    color: var(--ws-primary);
}

.ws-filtro-option span {
    flex: 1;
}

.ws-filtro-count {
    padding: 2px 8px;
    background: var(--ws-bg-tertiary);
    border-radius: var(--ws-radius-full);
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
}

.ws-filtro-option.ws-active .ws-filtro-count {
    background: rgba(139, 92, 246, 0.2);
    color: var(--ws-primary);
}

.ws-check {
    color: var(--ws-primary);
    flex-shrink: 0;
    margin-left: auto;
}

/* Botón limpiar filtros */
.ws-filtro-limpiar {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid transparent;
    border-radius: var(--ws-radius-md);
    color: var(--ws-error);
    font-size: var(--ws-font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--ws-transition-fast);
}

.ws-filtro-limpiar:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--ws-error);
}

/* Filtros activos (badges) */
.ws-filtros-activos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ws-spacing-sm);
    margin-bottom: var(--ws-spacing-lg);
}

.ws-filtro-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
    padding: 6px 12px;
    background: var(--ws-primary-gradient);
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-inverse);
    font-size: var(--ws-font-size-sm);
    font-weight: 500;
}

.ws-filtro-badge svg {
    opacity: 0.8;
}

.ws-filtro-badge__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--ws-radius-full);
    color: var(--ws-text-inverse);
    cursor: pointer;
    margin-left: 4px;
    transition: background var(--ws-transition-fast);
}

.ws-filtro-badge__remove:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* No results */
.ws-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--ws-spacing-3xl);
    text-align: center;
}

/* ==========================================================================
   ADSENSE & SINGLE PAGE ENHANCEMENTS
   ========================================================================== */

/* AdSense Header (Single Radio) */
.ws-single-hero__adsense {
    width: 300px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-adsense-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--ws-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--ws-font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .ws-hidden-mobile {
        display: none !important;
    }
}

/* Sticky Sidebar (Solo Desktop) */
@media (min-width: 1025px) {
    .ws-single__sidebar {
        position: sticky;
        top: calc(var(--ws-header-height) + var(--ws-spacing-lg));
        height: fit-content;
    }
}

/* Modern Sidebar Card */
.ws-single__sidebar .ws-card {
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    padding: var(--ws-spacing-lg);
    box-shadow: var(--ws-shadow-md);
    border: 1px solid var(--ws-border-light);
    margin-bottom: var(--ws-spacing-lg);
    transition: transform var(--ws-transition-base), box-shadow var(--ws-transition-base);
}

.ws-single__sidebar .ws-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ws-shadow-lg);
}

.ws-single__sidebar .ws-card__title {
    font-size: var(--ws-font-size-lg);
    font-weight: 700;
    margin-bottom: var(--ws-spacing-md);
    padding-bottom: var(--ws-spacing-sm);
    border-bottom: 2px solid var(--ws-primary-light);
    display: inline-block;
}

/* Info List Enhancements */
.ws-info-list li {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-sm) 0;
    color: var(--ws-text-secondary);
    border-bottom: 1px solid var(--ws-border-light);
}

.ws-info-list li:last-child {
    border-bottom: none;
}

.ws-info-list li svg {
    color: var(--ws-primary);
    width: 18px;
    height: 18px;
}

.ws-info-list li a {
    color: var(--ws-text-primary);
    font-weight: 500;
}

.ws-info-list li a:hover {
    color: var(--ws-primary);
}

/* Comments Enhancements */
.ws-comments-section {
    margin-top: var(--ws-spacing-2xl);
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-xl);
    padding: var(--ws-spacing-xl);
    box-shadow: var(--ws-shadow-sm);
}

.ws-comment {
    margin-bottom: var(--ws-spacing-lg);
}

.ws-comment__body {
    background: var(--ws-bg-secondary);
    padding: var(--ws-spacing-md);
    border-radius: var(--ws-radius-lg);
    border: 1px solid var(--ws-border-light);
}

.ws-comment__header {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-md);
    margin-bottom: var(--ws-spacing-sm);
}

.ws-comment__avatar img {
    border-radius: var(--ws-radius-full);
    border: 2px solid var(--ws-border-light);
}

.ws-comment__meta {
    display: flex;
    flex-direction: column;
}

.ws-comment__autor {
    font-weight: 700;
    color: var(--ws-text-primary);
}

.ws-comment__fecha {
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
}

.ws-comment__contenido {
    color: var(--ws-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--ws-spacing-sm);
}

.ws-comment__footer {
    display: flex;
    gap: var(--ws-spacing-md);
    font-size: var(--ws-font-size-sm);
}

.ws-comment__responder a,
.ws-comment__editar a {
    color: var(--ws-primary);
    font-weight: 600;
}

/* Nested Comments */
.ws-comments__lista .children {
    margin-left: var(--ws-spacing-xl);
    margin-top: var(--ws-spacing-md);
    border-left: 2px solid var(--ws-border-light);
    padding-left: var(--ws-spacing-md);
}

@media (max-width: 768px) {
    .ws-comments__lista .children {
        margin-left: var(--ws-spacing-md);
        padding-left: var(--ws-spacing-sm);
    }
}

.ws-no-results__icon {
    color: var(--ws-text-tertiary);
    margin-bottom: var(--ws-spacing-lg);
}

.ws-no-results__title {
    font-size: var(--ws-font-size-xl);
    font-weight: 600;
    color: var(--ws-text-primary);
    margin-bottom: var(--ws-spacing-sm);
}

.ws-no-results__text {
    color: var(--ws-text-secondary);
    margin-bottom: var(--ws-spacing-lg);
}

/* Responsive para filtros */
@media (max-width: 768px) {
    .ws-archive-header__top {
        flex-direction: column;
        align-items: stretch;
    }

    .ws-stats-badge {
        align-self: flex-start;
    }

    .ws-filtros-bar {
        gap: var(--ws-spacing-xs);
    }

    .ws-filtro-trigger {
        padding: 8px 10px;
        font-size: var(--ws-font-size-xs);
    }

    .ws-filtro-label {
        display: none;
    }

    .ws-filtro-limpiar span {
        display: none;
    }

    .ws-filtros-spacer {
        display: none;
    }

    .ws-filtro-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        min-width: 100%;
        border-radius: var(--ws-radius-xl) var(--ws-radius-xl) 0 0;
        max-height: 60vh;
        transform: translateY(100%);
    }

    .ws-filtro-dropdown.ws-open .ws-filtro-menu {
        transform: translateY(0);
    }
}

/* ==========================================================================
   PAGINACIÓN
   ========================================================================== */

.ws-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ws-spacing-sm);
    margin-top: var(--ws-spacing-2xl);
}

.ws-pagination__item {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ws-bg-card);
    border: 1px solid var(--ws-border-light);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-primary);
    font-weight: 500;
    transition: all var(--ws-transition-fast);
}

.ws-pagination__item:hover {
    border-color: var(--ws-primary);
    color: var(--ws-primary);
}

.ws-pagination__item.ws-active {
    background: var(--ws-primary);
    border-color: var(--ws-primary);
    color: var(--ws-text-inverse);
}

.ws-pagination__item.ws-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Load More Button */
.ws-load-more-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ws-spacing-md);
    margin-top: var(--ws-spacing-2xl);
    padding: var(--ws-spacing-xl) 0;
}

.ws-load-more-btn {
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-md) var(--ws-spacing-xl);
    transition: all var(--ws-transition-base);
}

.ws-load-more-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.ws-load-more-btn svg {
    flex-shrink: 0;
}

.ws-load-more-text,
.ws-load-more-loading {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

.ws-spinner {
    animation: ws-spin 1s linear infinite;
}

@keyframes ws-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ws-load-more-info {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-tertiary);
    text-align: center;
    margin: 0;
}

/* Show More Button (para secciones de inicio) */
.ws-section-show-more {
    display: flex;
    justify-content: center;
    margin-top: var(--ws-spacing-xl);
}

.ws-show-more-btn {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ws-spacing-sm);
    padding: var(--ws-spacing-md) var(--ws-spacing-lg);
}

.ws-show-more-icon {
    transition: transform var(--ws-transition-base);
}

.ws-top10-item,
.ws-nuevas-item {
    animation: ws-fade-in 0.3s ease-out;
}

@keyframes ws-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SKELETON LOADING
   ========================================================================== */

.ws-skeleton {
    background: linear-gradient(90deg, var(--ws-bg-secondary) 25%, var(--ws-bg-tertiary) 50%, var(--ws-bg-secondary) 75%);
    background-size: 200% 100%;
    animation: ws-skeleton-loading 1.5s infinite;
    border-radius: var(--ws-radius-sm);
}

@keyframes ws-skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.ws-skeleton--circle {
    border-radius: var(--ws-radius-full);
}

.ws-skeleton--text {
    height: 16px;
    margin-bottom: 8px;
}

.ws-skeleton--title {
    height: 24px;
    width: 60%;
}

.ws-skeleton--image {
    aspect-ratio: 1;
}

/* ==========================================================================
   RESPONSIVE ESPECÍFICO MOBILE
   ========================================================================== */

@media (max-width: 576px) {
    .ws-main-content {
        padding: var(--ws-spacing-sm);
        padding-top: calc(var(--ws-header-height) + var(--ws-spacing-sm));
    }

    .ws-section__title {
        font-size: var(--ws-font-size-xl);
    }

    .ws-hero {
        padding: var(--ws-spacing-md);
    }

    .ws-hero__title {
        font-size: var(--ws-font-size-xl);
    }

    .ws-single__hero {
        padding: var(--ws-spacing-md);
    }

    .ws-single__title {
        font-size: var(--ws-font-size-xl);
    }
}

/* ==========================================================================
   UTILIDADES DE ACCESIBILIDAD
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--ws-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {

    .ws-sidebar,
    .ws-header,
    .ws-player,
    .ws-modal,
    .ws-toast-container {
        display: none !important;
    }

    .ws-main-wrapper {
        margin-left: 0 !important;
    }

    .ws-main-content {
        padding-top: 0 !important;
    }
}

/* ============================================
   PÁGINA DE AUTOR
   ============================================ */

.ws-author-header {
    position: relative;
    margin-bottom: var(--ws-spacing-2xl);
    border-radius: var(--ws-radius-lg);
    overflow: hidden;
}

.ws-author-header__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(88, 28, 135, 0.85) 100%);
}

.ws-author-header__content {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: var(--ws-spacing-xl);
    padding: var(--ws-spacing-2xl);
}

.ws-author-header__avatar {
    flex-shrink: 0;
}

.ws-author-header__avatar img {
    width: 150px;
    height: 150px;
    border-radius: var(--ws-radius-full);
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--ws-shadow-lg);
    object-fit: cover;
}

.ws-author-header__info {
    flex: 1;
    min-width: 0;
}

.ws-author-header__badge {
    display: inline-block;
    padding: var(--ws-spacing-xs) var(--ws-spacing-sm);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--ws-radius-full);
    font-size: var(--ws-font-size-xs);
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--ws-spacing-sm);
}

.ws-author-header__name {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--ws-spacing-md);
    line-height: 1.1;
}

.ws-author-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ws-spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--ws-font-size-sm);
    margin-bottom: var(--ws-spacing-md);
}

.ws-author-header__meta span {
    display: inline-flex;
    align-items: center;
    gap: var(--ws-spacing-xs);
}

.ws-author-header__meta svg {
    opacity: 0.7;
}

.ws-author-header__meta .ws-separator {
    color: rgba(255, 255, 255, 0.4);
}

.ws-author-header__bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--ws-font-size-base);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

@media (max-width: 640px) {
    .ws-author-header__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--ws-spacing-xl);
    }

    .ws-author-header__avatar img {
        width: 120px;
        height: 120px;
    }

    .ws-author-header__meta {
        justify-content: center;
    }
}

/* Mensaje de error */
.ws-mensaje-error {
    text-align: center;
    padding: var(--ws-spacing-3xl) var(--ws-spacing-xl);
}

.ws-mensaje-error__icono {
    margin-bottom: var(--ws-spacing-lg);
    color: var(--ws-text-tertiary);
}

.ws-mensaje-error h1 {
    font-size: var(--ws-font-size-xl);
    color: var(--ws-text-primary);
    margin: 0 0 var(--ws-spacing-sm);
}

.ws-mensaje-error p {
    color: var(--ws-text-secondary);
    margin: 0 0 var(--ws-spacing-xl);
}

/* Acceso requerido */
.ws-acceso-requerido {
    text-align: center;
    padding: var(--ws-spacing-3xl) var(--ws-spacing-xl);
}

.ws-acceso-requerido__icono {
    margin-bottom: var(--ws-spacing-lg);
    color: var(--ws-text-tertiary);
}

.ws-acceso-requerido h1 {
    font-size: var(--ws-font-size-xl);
    color: var(--ws-text-primary);
    margin: 0 0 var(--ws-spacing-sm);
}

.ws-acceso-requerido p {
    color: var(--ws-text-secondary);
    margin: 0 0 var(--ws-spacing-xl);
}

/* ============================================
   SINGLE RADIO REFACTORING
   ============================================ */

/* Fix Play Button Color */
.ws-single-hero__play {
    background: var(--ws-primary) !important;
    /* Force global color */
    color: #fff;
    transition: all 0.3s ease;
}

.ws-single-hero__play:hover {
    background: var(--ws-primary-dark) !important;
    transform: scale(1.05);
}

/* Description Toggle */
.ws-description-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ws-description-content.collapsed {
    max-height: 4.5em;
    /* Approx 3 lines */
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.ws-description-toggle {
    display: inline-block;
    margin-top: var(--ws-spacing-sm);
    background: transparent;
    border: none;
    color: var(--ws-primary);
    font-weight: 600;
    font-size: var(--ws-font-size-sm);
    cursor: pointer;
    padding: 0;
}

.ws-description-toggle:hover {
    text-decoration: underline;
}

/* Author Section Order Fix */
.ws-single-hero__author {
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--ws-font-size-base);
}

.ws-single-hero__author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */

.ws-footer {
    background: var(--ws-bg-secondary);
    border-top: 1px solid var(--ws-border-light);
    padding: var(--ws-spacing-3xl) 0 var(--ws-spacing-xl);
    margin-top: var(--ws-spacing-3xl);
}

.ws-footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ws-spacing-2xl);
    margin-bottom: var(--ws-spacing-2xl);
}

.ws-footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--ws-spacing-md);
}

.ws-footer__title {
    font-size: var(--ws-font-size-base);
    font-weight: 700;
    color: var(--ws-text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ws-footer__text {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.ws-footer__social {
    display: flex;
    gap: var(--ws-spacing-sm);
    margin-top: var(--ws-spacing-sm);
}

.ws-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--ws-bg-tertiary);
    border-radius: var(--ws-radius-md);
    color: var(--ws-text-secondary);
    transition: all var(--ws-transition-fast);
}

.ws-footer__social a:hover {
    background: var(--ws-primary);
    color: #fff;
    transform: translateY(-2px);
}

.ws-footer__social svg {
    width: 18px;
    height: 18px;
}

.ws-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ws-spacing-sm);
}

.ws-footer__links li {
    margin: 0;
}

.ws-footer__links a {
    font-size: var(--ws-font-size-sm);
    color: var(--ws-text-secondary);
    text-decoration: none;
    transition: color var(--ws-transition-fast);
    display: inline-block;
}

.ws-footer__links a:hover {
    color: var(--ws-primary);
    padding-left: 4px;
}

.ws-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ws-spacing-sm);
    padding-top: var(--ws-spacing-xl);
    border-top: 1px solid var(--ws-border-light);
    text-align: center;
}

.ws-footer__copyright,
.ws-footer__powered {
    font-size: var(--ws-font-size-xs);
    color: var(--ws-text-tertiary);
    margin: 0;
}

.ws-footer__heart {
    color: #e74c3c;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .ws-footer {
        padding: var(--ws-spacing-2xl) 0 var(--ws-spacing-lg);
    }

    .ws-footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ws-spacing-xl);
    }
}

@media (max-width: 480px) {
    .ws-footer__content {
        grid-template-columns: 1fr;
    }

    .ws-footer__bottom {
        gap: var(--ws-spacing-xs);
    }
}

/* AdSense Placeholders */
.ws-ad-container {
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
}

.ws-ad-placeholder {
    background-color: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin: 20px 0;
}

.ws-ad-placeholder-content {
    text-align: center;
}

.ws-ad-placeholder .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    color: #9ca3af;
}

.ws-ad-placeholder p {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.ws-ad-placeholder small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #9ca3af;
}

/* Specific Ad Slots */
.ws-ad-single_header {
    margin-bottom: 30px;
}

.ws-ad-single_content {
    margin: 30px 0;
}

.ws-ad-single_sidebar {
    margin-bottom: 30px;
}

/* ==========================================================================
   MODAL REPORTAR (FIX)
   ========================================================================== */

.ws-modal--report {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    /* High z-index to ensure it's on top */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ws-transition-base);
}

.ws-modal--report.ws-active {
    opacity: 1;
    visibility: visible;
}

.ws-modal--report .ws-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 0;
    /* Behind content */
}

.ws-modal--report .ws-modal__content {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: var(--ws-bg-card);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-xl);
    z-index: 10;
    /* Above backdrop */
    transform: translateY(20px);
    transition: transform var(--ws-transition-base);
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ws-modal--report.ws-active .ws-modal__content {
    transform: translateY(0);
}

.ws-modal--report .ws-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ws-spacing-md) var(--ws-spacing-lg);
    border-bottom: 1px solid var(--ws-border-light);
    background: var(--ws-bg-card);
    /* Ensure background is set */
    color: var(--ws-text-primary);
    border-top-left-radius: var(--ws-radius-lg);
    border-top-right-radius: var(--ws-radius-lg);
}

.ws-modal--report .ws-modal__title {
    margin: 0;
    font-size: var(--ws-font-size-lg);
    display: flex;
    align-items: center;
    gap: var(--ws-spacing-sm);
}

.ws-modal--report .ws-modal__close {
    padding: var(--ws-spacing-xs);
    border-radius: var(--ws-radius-sm);
    color: var(--ws-text-tertiary);
    transition: all var(--ws-transition-fast);
    background: transparent;
    border: none;
    cursor: pointer;
}

.ws-modal--report .ws-modal__close:hover {
    background: var(--ws-bg-hover);
    color: var(--ws-text-primary);
}

.ws-modal--report .ws-modal__body {
    padding: var(--ws-spacing-lg);
    overflow-y: auto;
}

.ws-modal--report .ws-modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--ws-spacing-md);
    padding: var(--ws-spacing-md) var(--ws-spacing-lg);
    border-top: 1px solid var(--ws-border-light);
    background: var(--ws-bg-secondary);
    border-bottom-left-radius: var(--ws-radius-lg);
    border-bottom-right-radius: var(--ws-radius-lg);
}

/* ==========================================================================
   MOBILE MENU (BOTTOM NAVIGATION)
   ========================================================================== */

.ws-mobile-menu {
    display: none; /* Hidden by default, shown in mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ws-bg-card);
    border-top: 1px solid var(--ws-border-light);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .ws-mobile-menu {
    background: rgba(17, 24, 39, 0.95);
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

/* Show only in mobile */
@media (max-width: 1024px) {
    .ws-mobile-menu {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 4px;
    }

    /* Add padding to main wrapper so content doesn't hide behind mobile menu */
    .ws-main-wrapper {
        padding-bottom: 80px !important;
    }

    /* Also add padding to content area */
    .ws-content {
        padding-bottom: var(--ws-spacing-lg) !important;
    }
}

/* Menu items */
.ws-mobile-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--ws-text-secondary);
    text-decoration: none;
    border-radius: var(--ws-radius-md);
    transition: all var(--ws-transition-fast);
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.ws-mobile-menu__item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: all var(--ws-transition-fast);
}

.ws-mobile-menu__item span {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: all var(--ws-transition-fast);
}

/* Hover state */
.ws-mobile-menu__item:hover {
    color: var(--ws-primary);
    background: var(--ws-bg-hover);
}

.ws-mobile-menu__item:hover svg {
    transform: translateY(-2px);
}

/* Active state */
.ws-mobile-menu__item.ws-active {
    color: var(--ws-primary);
    font-weight: 600;
}

.ws-mobile-menu__item.ws-active svg {
    stroke-width: 2.5;
}

/* Center play button - SPECIAL STYLING */
.ws-mobile-menu__item--center {
    position: relative;
    flex: 0 0 auto;
    min-width: 64px;
    padding: 0;
}

.ws-mobile-menu__item--center svg {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ws-primary), var(--ws-accent));
    border-radius: var(--ws-radius-full);
    padding: 14px;
    box-shadow: 0 4px 16px rgba(var(--ws-primary-rgb, 99, 102, 241), 0.3);
    transition: all var(--ws-transition-fast);
    /* CRITICAL FIX: Ensure icon is always visible with white color */
    color: white !important;
}

.ws-mobile-menu__item--center svg circle {
    /* Circle background of play button */
    fill: transparent;
}

.ws-mobile-menu__item--center svg polygon {
    /* Play icon triangle - ALWAYS WHITE */
    fill: white !important;
}

.ws-mobile-menu__item--center:hover svg {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(var(--ws-primary-rgb, 99, 102, 241), 0.4);
}

.ws-mobile-menu__item--center:active svg {
    transform: scale(0.95);
}

.ws-mobile-menu__item--center span {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--ws-text-tertiary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ws-mobile-menu {
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    }

    .ws-mobile-menu__item {
        padding: 6px 8px;
        gap: 2px;
    }

    .ws-mobile-menu__item svg {
        width: 22px;
        height: 22px;
    }

    .ws-mobile-menu__item span {
        font-size: 10px;
    }

    .ws-mobile-menu__item--center svg {
        width: 52px;
        height: 52px;
        padding: 12px;
    }
}

/* Very small screens - hide text labels except on active */
@media (max-width: 360px) {
    .ws-mobile-menu__item span {
        display: none;
    }

    .ws-mobile-menu__item.ws-active span {
        display: block;
    }
}