/* =========================================================
   Surgente Comunidad - Estilos coherentes con Circuito Sur
   ========================================================= */

:root {
    --surgente-bg: #0a0a0a;
    --surgente-accent: #e0e0e0;
    --surgente-border: rgba(255,255,255,.14);
    --surgente-text: #f2f2f2;
    --surgente-text-muted: rgba(255,255,255,0.7);
    --surgente-bg-card: rgba(255,255,255,.06);
    --surgente-bg-hover: rgba(255,255,255,.08);
    --surgente-green: #4CAF50;
    --surgente-green-light: rgba(76,175,80,0.1);
    --surgente-green-border: rgba(76,175,80,0.3);
    --surgente-badge-bg: rgba(76,175,80,0.15);
    --surgente-badge-border: rgba(76,175,80,0.4);
    --surgente-badge-color: #81C784;
    --surgente-danger: #ef4444;
    --surgente-danger-light: rgba(239,68,68,0.1);
    --surgente-danger-border: rgba(239,68,68,0.3);
    --surgente-warning: #f59e0b;
    --surgente-warning-light: rgba(245,158,11,0.1);
    --surgente-warning-border: rgba(245,158,11,0.3);
    --surgente-info: #3b82f6;
    --surgente-info-light: rgba(59,130,246,0.1);
    --surgente-info-border: rgba(59,130,246,0.3);
    --surgente-radius: 12px;
    --surgente-radius-sm: 8px;
    --surgente-radius-lg: 16px;
}

* { box-sizing: border-box; }

/* =========================================================
   NAVEGACIÓN GLOBAL
   ========================================================= */

.surgente-nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surgente-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 1.5rem;
}

.surgente-nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60px;
}

.surgente-nav-brand {
    flex-shrink: 0;
}

.surgente-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--surgente-text);
    font-weight: 800;
    font-size: 1.2rem;
}

.surgente-nav-logo:hover {
    color: var(--surgente-green);
}

.surgente-logo-icon {
    font-size: 1.5rem;
}

.surgente-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.surgente-nav-item {
    position: relative;
}

.surgente-nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    color: var(--surgente-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--surgente-radius-sm);
    transition: all 0.2s ease;
}

.surgente-nav-link:hover {
    color: var(--surgente-text);
    background: var(--surgente-bg-hover);
}

.surgente-nav-item.active .surgente-nav-link {
    color: var(--surgente-green);
    background: var(--surgente-green-light);
}

.surgente-nav-icon {
    font-size: 1.1rem;
}

.surgente-btn-nav {
    background: var(--surgente-green);
    color: white !important;
    padding: 0.5rem 1rem !important;
}

.surgente-btn-nav:hover {
    background: #45a049;
}

/* Hamburger Menu */
.surgente-nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.surgente-hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--surgente-text);
    position: relative;
    transition: all 0.3s ease;
}

.surgente-hamburger::before,
.surgente-hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--surgente-text);
    transition: all 0.3s ease;
}

.surgente-hamburger::before { top: -7px; }
.surgente-hamburger::after { bottom: -7px; }

/* Mobile Navigation */
@media (max-width: 768px) {
    .surgente-nav-toggle {
        display: block;
    }
    
    .surgente-nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--surgente-border);
        display: none;
    }
    
    .surgente-nav-menu.active {
        display: flex;
    }
    
    .surgente-nav-item {
        width: 100%;
    }
    
    .surgente-nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        justify-content: flex-start;
    }
    
    .surgente-nav-login {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--surgente-border);
    }
}

/* =========================================================
   FILTROS DE ARTISTAS
   ========================================================= */

.surgente-page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.surgente-page-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--surgente-green);
}

.surgente-page-subtitle {
    margin: 0;
    color: var(--surgente-text-muted);
    font-size: 0.95rem;
}

.surgente-filters-section {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.surgente-filters-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.surgente-filter-search {
    display: flex;
    gap: 0.5rem;
}

.surgente-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--surgente-bg-hover);
    color: var(--surgente-text);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-sm);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.surgente-search-input:focus {
    outline: none;
    border-color: var(--surgente-green-border);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

.surgente-search-btn {
    padding: 0.75rem 1rem;
    background: var(--surgente-green);
    color: white;
    border: none;
    border-radius: var(--surgente-radius-sm);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.surgente-search-btn:hover {
    background: #45a049;
}

.surgente-filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.surgente-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.surgente-filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--surgente-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.surgente-filter-select {
    padding: 0.65rem 0.75rem;
    background: var(--surgente-bg-hover);
    color: var(--surgente-text);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.surgente-filter-select:focus {
    outline: none;
    border-color: var(--surgente-green-border);
}

.surgente-filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: end;
}

.surgente-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--surgente-green-light);
    border: 1px solid var(--surgente-green-border);
    border-radius: var(--surgente-radius-sm);
}

.surgente-active-filters-label {
    font-size: 0.85rem;
    color: var(--surgente-text-muted);
    margin-right: 0.5rem;
}

.surgente-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--surgente-text);
}

.surgente-filter-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--surgente-danger-light);
    border-radius: 50%;
    color: #f87171;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.surgente-filter-remove:hover {
    background: var(--surgente-danger);
    color: white;
}

.surgente-results-count {
    font-size: 0.9rem;
    color: var(--surgente-text-muted);
    margin-bottom: 1rem;
}

/* Tarjeta de artista con estado de pausa */
.surgente-artist-card-mini.is-paused {
    opacity: 0.7;
}

.surgente-artist-card-mini.is-paused .surgente-card-image img {
    filter: grayscale(50%);
}

.surgente-paused-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: var(--surgente-warning-light);
    border: 1px solid var(--surgente-warning-border);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    z-index: 2;
}


/* Tarjeta de artista baneada */
.surgente-artist-card-mini.is-banned {
    opacity: 0.65;
}

.surgente-artist-card-mini.is-banned .surgente-card-image img {
    filter: grayscale(70%);
}

.surgente-banned-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: var(--surgente-danger-light);
    border: 1px solid var(--surgente-danger-border);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f87171;
    text-transform: uppercase;
    z-index: 2;
}

.surgente-artist-card-mini {
    position: relative;
}

/* Links a plataformas en tarjetas */
.surgente-card-platforms {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--surgente-border);
}

.surgente-platform-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--surgente-bg-hover);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-sm);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.surgente-platform-mini:hover {
    background: var(--surgente-green-light);
    border-color: var(--surgente-green-border);
    transform: translateY(-2px);
}

/* CONTENEDORES */
.surgente-feed,
.surgente-about,
.surgente-artists-list,
.surgente-artist-form-container,
.surgente-user-profile,
.surgente-artist-profile,
.surgente-starred-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
    color: var(--surgente-text);
}

/* BOTONES */
.surgente-btn {
    padding: 0.55rem 1rem;
    border-radius: var(--surgente-radius-sm);
    border: 1px solid var(--surgente-border);
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #111;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    line-height: 1.3;
    min-height: 40px;
    white-space: nowrap;
}

.surgente-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: #111;
}

.surgente-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.surgente-btn-primary {
    background: var(--surgente-green);
    color: white;
    border-color: var(--surgente-green);
}

.surgente-btn-primary:hover {
    background: #45a049;
    color: white;
    box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.surgente-btn-secondary {
    background: var(--surgente-bg-card);
    color: var(--surgente-text);
    border-color: var(--surgente-border);
}

.surgente-btn-secondary:hover {
    background: var(--surgente-bg-hover);
    color: var(--surgente-text);
    border-color: var(--surgente-green-border);
}

.surgente-btn-danger {
    background: var(--surgente-danger-light);
    color: #f87171;
    border-color: var(--surgente-danger-border);
}

.surgente-btn-danger:hover {
    background: var(--surgente-danger);
    color: white;
    box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}

.surgente-btn-spotify {
    background: #1DB954;
    color: white;
    border-color: #1DB954;
}

.surgente-btn-spotify:hover {
    background: #1ed760;
    color: white;
    box-shadow: 0 4px 12px rgba(29,185,84,0.3);
}

.surgente-btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
}

/* MENSAJES */
.surgente-message {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.surgente-message h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.surgente-message p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

.surgente-message-info {
    background: var(--surgente-info-light);
    border-color: var(--surgente-info-border);
}

.surgente-message-info h3 { color: #60a5fa; }

.surgente-message-success {
    background: var(--surgente-green-light);
    border-color: var(--surgente-green-border);
}

.surgente-message-success h3 { color: var(--surgente-green); }

.surgente-message-warning {
    background: var(--surgente-warning-light);
    border-color: var(--surgente-warning-border);
}

.surgente-message-warning h3 { color: #fbbf24; }

.surgente-waiting-verification-note {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--surgente-text);
    opacity: 0.9;
}

.surgente-message-error {
    background: var(--surgente-danger-light);
    border-color: var(--surgente-danger-border);
}

.surgente-message-error h3 { color: #f87171; }

/* FEED */
.surgente-feed {
    animation: surgente-fadeIn 0.3s ease-in-out;
}

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

.surgente-welcome {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-lg);
}

.surgente-welcome h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--surgente-green);
}

.surgente-welcome p {
    margin: 1rem 0;
    opacity: 0.9;
    line-height: 1.6;
}

.surgente-welcome p a {
    color: var(--surgente-badge-color);
    text-decoration: none;
}

.surgente-welcome p a:hover { text-decoration: underline; }

.surgente-manifesto {
    background: var(--surgente-green-light);
    border: 1px solid var(--surgente-green-border);
    border-radius: var(--surgente-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.surgente-manifesto p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--surgente-badge-color);
}

.surgente-manifesto p strong {
    color: var(--surgente-green);
    font-weight: 800;
}

.surgente-paused {
    text-align: center;
    padding: 2rem;
}

.surgente-no-task {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-lg);
}

.surgente-no-task h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.surgente-no-task p {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

/* TAREA */
.surgente-task {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-lg);
    padding: 1.5rem;
}

.surgente-task-actions-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.surgente-task-header {
    margin-bottom: 1.5rem;
}

.surgente-task-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

/* TARJETA ARTISTA */
.surgente-artist-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.surgente-artist-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--surgente-green-border);
}

.surgente-artist-image { flex-shrink: 0; }

.surgente-artist-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--surgente-radius);
    border: 1px solid var(--surgente-border);
}

.surgente-artist-info {
    flex: 1;
    min-width: 0;
}

.surgente-artist-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--surgente-text);
}

.surgente-artist-location {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    color: var(--surgente-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.surgente-artist-location::before { content: "📍"; }

.surgente-artist-bio {
    margin: 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.surgente-artist-bio p { margin: 0; }

.surgente-artist-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.surgente-genre-tag {
    background: var(--surgente-badge-bg);
    border: 1px solid var(--surgente-badge-border);
    color: var(--surgente-badge-color);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}
.surgente-artist-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.surgente-artist-actions .surgente-btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .surgente-artist-actions {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
        justify-content: flex-start;
    }
}


/* PLATAFORMAS */
.surgente-task-platforms { margin-top: 1.5rem; }

.surgente-task-platforms h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.surgente-platforms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.surgente-platform-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-sm);
    padding: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.surgente-platform-item.pending {
    border-left: 3px solid var(--surgente-warning);
}

.surgente-platform-item.pending:hover {
    background: var(--surgente-warning-light);
    border-color: var(--surgente-warning-border);
    border-left: 3px solid var(--surgente-warning);
}

.surgente-platform-item.completed {
    cursor: default;
    border-left: 3px solid var(--surgente-green);
}

.surgente-platform-item:hover {
    background: rgba(255,255,255,0.05);
}

.surgente-platform-item.completed {
    background: var(--surgente-green-light);
    border-color: var(--surgente-green-border);
    border-left: 3px solid var(--surgente-green);
}

.surgente-platform-item.completed:hover {
    background: var(--surgente-green-light);
}

.surgente-platform-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--surgente-text);
    text-decoration: none;
    flex: 1;
}

.surgente-platform-link:hover { color: var(--surgente-green); }

.surgente-platform-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surgente-bg-hover);
    border-radius: var(--surgente-radius-sm);
}

.surgente-platform-name {
    font-weight: 700;
    font-size: 1rem;
}

.surgente-platform-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.surgente-platform-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--surgente-text-muted);
}

.surgente-platform-status {
    font-size: 1.3rem;
    margin-left: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.surgente-platform-item.completed .surgente-platform-status {
    animation: checkmark-pop 0.4s ease;
}

@keyframes checkmark-pop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

/* FORMULARIOS */
.surgente-form-wrapper {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-lg);
    padding: 2rem;
}

.surgente-form { max-width: 100%; }

.surgente-form-group { margin-bottom: 1.5rem; }

.surgente-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--surgente-text);
}

.surgente-form-group label .required { color: var(--surgente-danger); }

.surgente-form input[type="text"],
.surgente-form input[type="url"],
.surgente-form input[type="email"],
.surgente-form input[type="file"],
.surgente-form textarea,
.surgente-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surgente-bg-hover);
    color: var(--surgente-text);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-sm);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.surgente-form input:focus,
.surgente-form textarea:focus,
.surgente-form select:focus {
    outline: none;
    border-color: var(--surgente-green-border);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

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

.surgente-form select { cursor: pointer; }

.surgente-form select option {
    background: #1a1a1a;
    color: var(--surgente-text);
}

.surgente-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.surgente-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--surgente-text-muted);
}

.surgente-error-message {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #f87171;
}

.surgente-current-image { margin-bottom: 1rem; }

.surgente-current-image img {
    max-width: 200px;
    border-radius: var(--surgente-radius);
    border: 1px solid var(--surgente-border);
}

.surgente-form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--surgente-border);
}

#surgente-form-messages { margin-top: 1rem; }

.surgente-create-prompt {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-lg);
}

.surgente-create-content h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--surgente-green);
}

.surgente-create-content p {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

/* ABOUT */
.surgente-about-hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.surgente-about-hero h1 {
    margin: 0 0 0.75rem 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--surgente-green);
}

.surgente-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.surgente-about-manifesto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.surgente-manifesto-item {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    padding: 1.5rem;
    border-radius: var(--surgente-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.surgente-manifesto-item:hover {
    background: var(--surgente-bg-hover);
    transform: translateY(-2px);
    border-color: var(--surgente-green-border);
}

.surgente-manifesto-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.surgente-manifesto-item h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--surgente-badge-color);
}

.surgente-about-section { margin: 2.5rem 0; }

.surgente-about-section h2 {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--surgente-green);
}

.surgente-steps {
    padding-left: 0;
    list-style: none;
    counter-reset: step-counter;
}

.surgente-steps li {
    counter-increment: step-counter;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    position: relative;
    padding-left: 4rem;
}

.surgente-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--surgente-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.surgente-steps li strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--surgente-text);
}

.surgente-steps li p {
    margin: 0;
    color: var(--surgente-text-muted);
    font-size: 0.95rem;
}

/* FAQ */
.surgente-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.surgente-faq-item {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    overflow: hidden;
}

.surgente-faq-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--surgente-text);
    transition: all 0.2s ease;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.surgente-faq-item summary::-webkit-details-marker { display: none; }

.surgente-faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--surgente-green);
    transition: transform 0.2s ease;
}

.surgente-faq-item[open] summary::after { transform: rotate(45deg); }

.surgente-faq-item summary:hover { background: var(--surgente-bg-hover); }

.surgente-faq-item p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    color: var(--surgente-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.surgente-about-cta {
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--surgente-border);
}

/* LISTA ARTISTAS */
.surgente-artists-list h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--surgente-green);
}

.surgente-artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.surgente-artist-card-mini {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.surgente-artist-card-mini:hover {
    background: var(--surgente-bg-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-color: var(--surgente-green-border);
}

.surgente-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.surgente-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.surgente-artist-card-mini:hover .surgente-card-image img { transform: scale(1.05); }

.surgente-card-image.surgente-placeholder {
    background: linear-gradient(135deg, var(--surgente-green-light), rgba(76,175,80,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.surgente-card-image.surgente-placeholder span {
    font-size: 3rem;
    opacity: 0.5;
}

.surgente-card-content { padding: 1rem; }

.surgente-card-name {
    margin: 0 0 0.4rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.surgente-card-name a {
    color: var(--surgente-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.surgente-card-name a:hover { color: var(--surgente-green); }

.surgente-card-location {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    color: var(--surgente-text-muted);
}

.surgente-card-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.surgente-genre-tag-small {
    background: var(--surgente-badge-bg);
    border: 1px solid var(--surgente-badge-border);
    color: var(--surgente-badge-color);
    padding: 0.15rem 0.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
}

.surgente-genre-more {
    color: var(--surgente-text-muted);
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
}

/* PERFIL USUARIO */
.surgente-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--surgente-border);
}

.surgente-user-avatar img {
    border-radius: 50%;
    border: 3px solid var(--surgente-green-border);
}

.surgente-user-info h1 {
    margin: 0 0 0.3rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.surgente-user-email {
    color: var(--surgente-text-muted);
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

.surgente-user-status {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.surgente-status-new {
    background: var(--surgente-warning-light);
    color: #fbbf24;
    border: 1px solid var(--surgente-warning-border);
}

.surgente-status-active {
    background: var(--surgente-green-light);
    color: var(--surgente-badge-color);
    border: 1px solid var(--surgente-green-border);
}

.surgente-status-banned {
    background: var(--surgente-danger-light);
    color: #f87171;
    border: 1px solid var(--surgente-danger-border);
}

.surgente-user-paused {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.surgente-profile-section { margin-bottom: 2rem; }

.surgente-profile-section h2 {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--surgente-green);
}

.surgente-my-artist {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    padding: 1.25rem;
    border-radius: var(--surgente-radius);
    gap: 1rem;
}

.surgente-my-artist-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.surgente-my-artist-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--surgente-radius-sm);
    border: 1px solid var(--surgente-border);
}

.surgente-my-artist-info h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.surgente-my-artist-info p {
    margin: 0;
    color: var(--surgente-text-muted);
    font-size: 0.9rem;
}

/* ESTADISTICAS */
.surgente-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.surgente-stat-card {
    background: linear-gradient(135deg, var(--surgente-green-light), rgba(76,175,80,0.05));
    border: 1px solid var(--surgente-green-border);
    padding: 1.25rem;
    border-radius: var(--surgente-radius);
    text-align: center;
    transition: all 0.2s ease;
}

.surgente-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(76,175,80,0.15);
}

.surgente-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--surgente-green);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.surgente-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--surgente-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.surgente-quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.surgente-no-artist,
.surgente-no-results {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    padding: 2rem;
    border-radius: var(--surgente-radius);
    text-align: center;
}

.surgente-no-artist p,
.surgente-no-results p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.surgente-login-required {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-lg);
}

/* PERFIL ARTISTA */
.surgente-artist-profile { max-width: 800px; }

.surgente-artist-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--surgente-border);
}

.surgente-profile-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--surgente-radius);
    border: 2px solid var(--surgente-green-border);
}

.surgente-profile-details h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 800;
}

.surgente-profile-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--surgente-text-muted);
    margin-bottom: 1rem;
}

.surgente-profile-location::before { content: "📍"; }

.surgente-profile-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.surgente-profile-bio { margin-bottom: 2rem; }

.surgente-profile-bio h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--surgente-green);
}

.surgente-bio-content {
    line-height: 1.7;
    opacity: 0.9;
}

.surgente-bio-content p { margin: 0 0 1rem 0; }

.surgente-profile-links h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--surgente-green);
}

.surgente-social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.surgente-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-sm);
    color: var(--surgente-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.surgente-social-link:hover {
    background: var(--surgente-bg-hover);
    border-color: var(--surgente-green-border);
    color: var(--surgente-green);
    transform: translateY(-2px);
}

/* DESTACADOS */
.surgente-starred-list h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--surgente-green);
}

.surgente-starred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.surgente-starred-card {
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.surgente-starred-card:hover {
    background: var(--surgente-bg-hover);
    border-color: var(--surgente-green-border);
    transform: translateX(4px);
}

.surgente-starred-image {
    width: 60px;
    height: 60px;
    border-radius: var(--surgente-radius-sm);
    object-fit: cover;
    border: 1px solid var(--surgente-border);
}

.surgente-starred-info h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.surgente-starred-info h3 a {
    color: var(--surgente-text);
    text-decoration: none;
}

.surgente-starred-info h3 a:hover { color: var(--surgente-green); }

.surgente-starred-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--surgente-text-muted);
}

/* LOADING */
.surgente-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: surgente-spin 0.8s linear infinite;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .surgente-artist-card { flex-direction: column; }
    .surgente-artist-image img { width: 100%; height: auto; max-height: 200px; }
    .surgente-form-row { grid-template-columns: 1fr; }
    .surgente-artist-header { flex-direction: column; text-align: center; }
    .surgente-profile-image img { width: 150px; height: 150px; }
    .surgente-about-manifesto { grid-template-columns: 1fr; }
    .surgente-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .surgente-profile-header { flex-direction: column; text-align: center; }
    .surgente-my-artist { flex-direction: column; text-align: center; }
    .surgente-my-artist-info { flex-direction: column; }
    .surgente-form-actions { flex-direction: column; }
    .surgente-form-actions .surgente-btn { width: 100%; }
    .surgente-quick-actions { flex-direction: column; }
    .surgente-quick-actions .surgente-btn { width: 100%; }
    .surgente-social-links { flex-direction: column; }
    .surgente-social-link { justify-content: center; }
    .surgente-profile-location { justify-content: center; }
    .surgente-profile-genres { justify-content: center; }
    
    /* Filtros responsive */
    .surgente-filters-row {
        grid-template-columns: 1fr;
    }
    
    .surgente-filter-actions {
        flex-direction: column;
    }
    
    .surgente-filter-actions .surgente-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .surgente-feed,
    .surgente-about,
    .surgente-artists-list,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-artist-profile,
    .surgente-starred-list { padding: 1rem; }
    .surgente-welcome,
    .surgente-no-task,
    .surgente-create-prompt { padding: 2rem 1.25rem; }
    .surgente-welcome h2 { font-size: 1.5rem; }
    .surgente-about-hero h1 { font-size: 1.75rem; }
    .surgente-stats-grid { grid-template-columns: 1fr; }
    .surgente-artists-grid { grid-template-columns: 1fr; }
    .surgente-starred-grid { grid-template-columns: 1fr; }
    
    .surgente-page-header h1 { font-size: 1.5rem; }
    .surgente-active-filters { flex-direction: column; align-items: flex-start; }
}

/* Animación del hamburger */
.surgente-hamburger.open {
    background: transparent;
}

.surgente-hamburger.open::before {
    top: 0;
    transform: rotate(45deg);
}

.surgente-hamburger.open::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.surgente-filter-select, .surgente-search-input, select { color:#000 !important; }


/* --- SPOTIFY GLASS NAVIGATION --- */
.surgente-nav-container{
    width:100%;
    max-width:900px;
    background:rgba(20,20,20,0.75);
    backdrop-filter:blur(12px);
    border-radius:12px;
    margin:20px auto 30px auto;
    padding:12px 1.5rem;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:10px;
    box-shadow:0 4px 18px rgba(0,0,0,0.45);
    height: auto;
    min-height: 60px;
}
.surgente-brand{
    font-size:20px;
    font-weight:600;
    color:white;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:6px;
}
.surgente-nav-items{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}
.surgente-nav-item{
    color:#ddd;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    padding:6px 12px;
    border-radius:8px;
    transition:0.2s ease;
}
.surgente-nav-item:hover{
    color:white;
    background:rgba(255,255,255,0.08);
}
.surgente-active{
    background:#1db954 !important;
    color:black !important;
}

/* --- MOBILE FIX: menú compacto, visible y sin solaparse --- */
@media (max-width: 640px) {
    .surgente-nav-container{
        width: 100%;
        margin: 14px auto 18px auto;
        padding: 10px 1.5rem;
        gap: 10px;
        height: auto;
        min-height: unset;
        flex-direction: column;
        align-items: flex-start;
    }

    .surgente-brand{
        font-size: 18px;
    }

    .surgente-nav-items{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }

    .surgente-nav-item{
        display: inline-flex;
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255,255,255,0.05);
    }
}

/* ranking table */
.surgente-stats-wrapper{
    background:rgba(30,30,30,0.6);
    padding:30px;
    border-radius:14px;
    backdrop-filter:blur(10px);
    max-width:1200px;
    margin:0 auto;
}
.surgente-table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}
.surgente-table th{
    text-align:left;
    padding:10px 0;
    color:#1db954;
}
.surgente-table td{
    padding:8px 0;
    border-bottom:1px solid rgba(255,255,255,0.1);
    color:white;
}


.surgente-stats-description{
    margin-top:10px;
    color:rgba(255,255,255,0.85);
    max-width:800px;
    font-size:0.95rem;
}

.surgente-stats-columns{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    margin-top:24px;
}

.surgente-stats-column{
    flex:1 1 0;
    min-width:280px;
}

.surgente-stats-column h2{
    font-size:1.05rem;
    margin-bottom:4px;
}

.surgente-stats-subtitle{
    font-size:0.9rem;
    color:rgba(255,255,255,0.7);
    margin-bottom:8px;
}



/* =========================================================
   PERFIL ARTISTA v2 (más lindo + panel de usuario dueño)
   ========================================================= */
.surgente-artist-profile-v2 { max-width: 900px; }

.surgente-artist-hero {
    position: relative;
    margin-bottom: 1.2rem;
}

.surgente-artist-hero:before {
    content: "";
    position: absolute;
    inset: -24px -12px auto -12px;
    height: 200px;
    border-radius: var(--surgente-radius-lg);
    background: radial-gradient(600px 200px at 20% 20%, rgba(76,175,80,.18), transparent 60%),
                radial-gradient(500px 220px at 80% 30%, rgba(255,255,255,.10), transparent 60%);
    pointer-events: none;
}

.surgente-artist-hero .surgente-card {
    position: relative;
}

.surgente-profile-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.surgente-profile-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid var(--surgente-border);
    color: var(--surgente-text);
    font-weight: 800;
    font-size: 2rem;
}

.surgente-owner-card { margin-top: 1.2rem; }

.surgente-owner-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.surgente-owner-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--surgente-border);
    background: rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.surgente-owner-avatar img { width: 100%; height: 100%; object-fit: cover; }

.surgente-owner-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.surgente-owner-title h3 {
    margin: 0;
    font-size: 1.05rem;
}

.surgente-owner-sub {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    color: var(--surgente-text-muted);
    font-size: .9rem;
    margin-top: .25rem;
}

.surgente-owner-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.surgente-stat {
    padding: .9rem;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius-sm);
}

.surgente-stat-label {
    color: var(--surgente-text-muted);
    font-size: .82rem;
    margin-bottom: .35rem;
}

.surgente-stat-value {
    font-weight: 800;
    font-size: 1.05rem;
}

.surgente-stat--wide { grid-column: span 2; }

.surgente-commitment-badge {
    display: inline-flex;
    align-items: center;
    padding: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid var(--surgente-border);
    background: rgba(255,255,255,.06);
    font-size: .85rem;
    font-weight: 700;
}

.surgente-commitment-hot    { background: rgba(76,175,80,.18); border-color: rgba(76,175,80,.45); }
.surgente-commitment-active { background: rgba(76,175,80,.12); border-color: rgba(76,175,80,.30); }
.surgente-commitment-warm   { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.surgente-commitment-cold   { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); opacity: .92; }
.surgente-commitment-new    { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.surgente-commitment-paused { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); opacity: .85; }
.surgente-commitment-banned { background: rgba(255,80,80,.16); border-color: rgba(255,80,80,.35); }
.surgente-commitment-inactive { background: rgba(76,175,80,.12); border-color: rgba(76,175,80,.34); }

@media (max-width: 720px) {
    .surgente-owner-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .surgente-stat--wide { grid-column: span 2; }
}

/* Embeds de plataformas en la daily task */
.surgente-task-embeds {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--surgente-bg-card);
    border: 1px solid var(--surgente-border);
    border-radius: var(--surgente-radius);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.surgente-task-embeds h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--surgente-text);
}

.surgente-embed-block {
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem;
}

/* Asegurar que los iframes sean responsivos */
.surgente-embed-block iframe {
    width: 100% !important;
    max-width: 100%;
}

/* Ajustes para embeds de Instagram */
.surgente-embed-instagram {
    min-height: 200px;
}

@media (max-width: 768px) {
    .surgente-task-embeds {
        padding: 1rem;
    }
}


/* Task warning box above platforms */
.surgente-task-warning {
    background: #3b2f07;
    border-left: 4px solid #f5c842;
    color: #ffe8a3;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.surgente-task-warning strong {
    margin-right: 4px;
}


/* STRONGER TASK WARNING */
.surgente-task-warning {
    background: linear-gradient(135deg, #f8e38a, #f5c842);
    color: #1c1c1c !important;
    border: 2px solid #ffd84b;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 221, 87, 0.55);
}

.surgente-task-warning strong {
    color: #000 !important;
}


@media (max-width: 768px) {
    .surgente-task-warning {
        font-size: 0.95rem;
        padding: 16px 14px;
        text-align: center;
        margin: 12px 4px 16px 4px;
    }
}


/* ABSOLUTE ENFORCED WARNING STYLE */
.surgente-task-platforms .surgente-task-warning {
    background: linear-gradient(135deg, #f8e38a, #f5c842) !important;
    color: #111 !important;
    border: 3px solid #ffd84b !important;
    border-radius: 12px !important;
    padding: 18px 16px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 14px rgba(255, 221, 87, 0.7) !important;
    display: block !important;
    margin: 18px 0 18px 0 !important;
}

.surgente-task-platforms .surgente-task-warning strong {
    color: #000 !important;
}

@media (max-width: 768px) {
    .surgente-task-platforms .surgente-task-warning {
        text-align: center !important;
        font-size: 1rem !important;
        margin-left: 6px !important;
        margin-right: 6px !important;
    }
}


:root{
  --surgente-icon-pin: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjAiIHgyPSIwIiB5MT0iMCIgeTI9IjEiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmZjVhN2EiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjM2I4MmY2Ii8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8cGF0aCBkPSJNMTIgMjJzNy02LjIgNy0xMmE3IDcgMCAwIDAtMTQgMGMwIDUuOCA3IDEyIDcgMTJ6IiBmaWxsPSJ1cmwoI2cpIi8+CiAgPGNpcmNsZSBjeD0iMTIiIGN5PSIxMCIgcj0iMy4xIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LC45KSIvPgogIDxjaXJjbGUgY3g9IjExLjIiIGN5PSI5LjIiIHI9IjEuMSIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwuNTUpIi8+Cjwvc3ZnPg==');
  --surgente-icon-spotify: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjAiIHgyPSIxIiB5MT0iMCIgeTI9IjEiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiMyMmM1NWUiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMTZhMzRhIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgZmlsbD0idXJsKCNnKSIvPgogIDxwYXRoIGQ9Ik03LjUgMTAuMmMzLjctMS4xIDcuOS0uOCAxMSAuOSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMCwwLC42NSkiIHN0cm9rZS13aWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KICA8cGF0aCBkPSJNOC4zIDEzYzMuMC0uOCA2LjMtLjUgOC44LjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNjUpIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CiAgPHBhdGggZD0iTTkuMSAxNS41YzIuMi0uNSA0LjYtLjMgNi41LjYiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNjUpIiBzdHJva2Utd2lkdGg9IjEuNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CiAgPGNpcmNsZSBjeD0iOS41IiBjeT0iOC41IiByPSIxLjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsLjQpIi8+Cjwvc3ZnPg==');
  --surgente-icon-instagram: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjAiIHgyPSIxIiB5MT0iMSIgeTI9IjAiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmNTllMGIiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIuNSIgc3RvcC1jb2xvcj0iI2VjNDg5OSIvPgogICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM4YjVjZjYiLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgogIDxyZWN0IHg9IjQiIHk9IjQiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgcng9IjQuNSIgZmlsbD0idXJsKCNnKSIvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjQiIGZpbGw9InJnYmEoMCwwLDAsLjIyKSIvPgogIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjIuNyIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwuODUpIi8+CiAgPGNpcmNsZSBjeD0iMTcuMiIgY3k9IjYuOCIgcj0iMS4xIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LC43NSkiLz4KPC9zdmc+');
  --surgente-icon-youtube: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjAiIHgyPSIwIiB5MT0iMCIgeTI9IjEiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNlZjQ0NDQiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjYjkxYzFjIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8cmVjdCB4PSI0IiB5PSI3IiB3aWR0aD0iMTYiIGhlaWdodD0iMTAiIHJ4PSIzIiBmaWxsPSJ1cmwoI2cpIi8+CiAgPHBhdGggZD0iTTExIDEwLjJ2My42bDMuNS0xLjh6IiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LC45KSIvPgogIDxjaXJjbGUgY3g9IjgiIGN5PSI4LjUiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsLjM1KSIvPgo8L3N2Zz4=');
  --surgente-icon-tiktok: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjAiIHgyPSIxIiB5MT0iMCIgeTI9IjEiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiMyMmQzZWUiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmI3MTg1Ii8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwuMDgpIi8+CiAgPHBhdGggZD0iTTE0IDZjLjYgMS41IDEuNyAyLjUgMyAyLjl2MmMtMS4zLS4xLTIuNS0uNi0zLjUtMS41djUuMmMwIDIuMy0xLjkgNC4xLTQuMiA0LjEtMiAwLTMuOC0xLjQtNC4xLTMuNC0uNC0yLjggMS44LTUuMSA0LjYtNC43djIuM2MtMS0uNC0yLjEuMy0yLjMgMS40LS4xLjkuNiAxLjcgMS41IDEuOSAxLjEuMiAyLS42IDItMS43VjZoM3oiIGZpbGw9InVybCgjZykiLz4KPC9zdmc+');
}


/* =========================================================
   COSMIC GLASS THEME (v2.0.26)
   Inspirado en UI: fondo negro + cielo estrellado + glass + glow azul
   ========================================================= */

:root{
    --surgente-accent-blue: #3b82f6;
    --surgente-accent-blue-2: #1d4ed8;
    --surgente-glow: rgba(59,130,246,.55);
    --surgente-glow-soft: rgba(59,130,246,.22);
    --surgente-bg-deep: #050611;
    --surgente-glass: rgba(255,255,255,.06);
    --surgente-glass-2: rgba(255,255,255,.09);
    --surgente-border-blue: rgba(80,140,255,.22);
    --surgente-radius-xl: 22px;
    --surgente-blur: 16px;
}

/* Tipografía */
.surgente-feed,
.surgente-artists-list,
.surgente-artist-profile,
.surgente-artist-form-container,
.surgente-user-profile,
.surgente-stats-wrapper,
.surgente-starred-list,
.surgente-about,
.surgente-nav-container {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    letter-spacing: .2px;
}

/* Contenedor "universo" */
.surgente-feed,
.surgente-artists-list,
.surgente-artist-profile,
.surgente-artist-form-container,
.surgente-user-profile,
.surgente-stats-wrapper,
.surgente-starred-list,
.surgente-about {
    position: relative;
    background: linear-gradient(180deg, rgba(6,8,22,.92), rgba(0,0,0,.92));
    border: 1px solid var(--surgente-border-blue);
    border-radius: var(--surgente-radius-xl);
    overflow: hidden;
    padding: clamp(14px, 2.5vw, 22px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.06) inset,
        0 18px 70px rgba(0,0,0,.65),
        0 0 40px rgba(59,130,246,.08);
}

/* Cielo estrellado (sin imágenes externas) */
.surgente-feed::before,
.surgente-artists-list::before,
.surgente-artist-profile::before,
.surgente-artist-form-container::before,
.surgente-user-profile::before,
.surgente-stats-wrapper::before,
.surgente-starred-list::before,
.surgente-about::before {
    content:"";
    position:absolute;
    inset:-2px;
    background:
        radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.75), transparent 60%),
        radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,.55), transparent 60%),
        radial-gradient(1px 1px at 46% 34%, rgba(255,255,255,.62), transparent 60%),
        radial-gradient(1px 1px at 68% 22%, rgba(255,255,255,.58), transparent 60%),
        radial-gradient(1px 1px at 82% 71%, rgba(255,255,255,.50), transparent 60%),
        radial-gradient(2px 2px at 18% 78%, rgba(59,130,246,.28), transparent 70%),
        radial-gradient(2px 2px at 74% 48%, rgba(59,130,246,.22), transparent 70%),
        radial-gradient(3px 3px at 88% 14%, rgba(125,211,252,.16), transparent 75%),
        radial-gradient(420px 280px at 20% 15%, rgba(59,130,246,.10), transparent 60%),
        radial-gradient(520px 340px at 85% 80%, rgba(37,99,235,.08), transparent 60%);
    opacity: .9;
    pointer-events:none;
    transform: translateZ(0);
    animation: surgente-stars-drift 18s linear infinite;
}

@keyframes surgente-stars-drift {
    0% { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-22px, 14px, 0); }
}

/* Borde con glow sutil */
.surgente-feed::after,
.surgente-artists-list::after,
.surgente-artist-profile::after,
.surgente-artist-form-container::after,
.surgente-user-profile::after,
.surgente-stats-wrapper::after,
.surgente-starred-list::after,
.surgente-about::after {
    content:"";
    position:absolute;
    inset:0;
    border-radius: inherit;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.06) inset,
        0 0 0 1px rgba(59,130,246,.10),
        0 0 36px rgba(59,130,246,.15);
    pointer-events:none;
}

/* Glass cards */
.surgente-card,
.surgente-task-card,
.surgente-artist-card,
.surgente-profile-card,
.surgente-stats-card,
.surgente-message,
.surgente-filter-box {
    background: var(--surgente-glass) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255,255,255,.06) inset,
        0 12px 40px rgba(0,0,0,.45);
    backdrop-filter: blur(var(--surgente-blur)) saturate(135%);
    -webkit-backdrop-filter: blur(var(--surgente-blur)) saturate(135%);
}

/* Imágenes enmarcadas como "tarjeta" */
.surgente-card img,
.surgente-task-card img,
.surgente-artist-card img,
.surgente-profile-card img {
    border-radius: 16px;
}

/* Títulos */
.surgente-feed h1, .surgente-feed h2, .surgente-feed h3,
.surgente-artists-list h1, .surgente-artists-list h2, .surgente-artists-list h3,
.surgente-artist-profile h1, .surgente-artist-profile h2, .surgente-artist-profile h3 {
    letter-spacing: .4px;
}

/* Botones - glow + animación sutil */
.surgente-btn,
.surgente-btn-primary,
.surgente-btn-secondary {
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px) saturate(135%);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.surgente-btn-primary {
    background: linear-gradient(180deg, rgba(59,130,246,.85), rgba(29,78,216,.75)) !important;
    border-color: rgba(125,211,252,.25) !important;
    box-shadow:
        0 10px 30px rgba(29,78,216,.25),
        0 0 0 1px rgba(255,255,255,.06) inset,
        0 0 18px rgba(59,130,246,.18);
}

.surgente-btn-primary:hover,
.surgente-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 42px rgba(29,78,216,.28),
        0 0 0 1px rgba(255,255,255,.08) inset,
        0 0 26px rgba(59,130,246,.22);
    border-color: rgba(125,211,252,.35) !important;
}

.surgente-btn-primary:active,
.surgente-btn:active {
    transform: translateY(0);
}

.surgente-btn-primary {
    position: relative;
    overflow: hidden;
}
.surgente-btn-primary::before {
    content:"";
    position:absolute;
    inset:-40% -60%;
    background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent 60%);
    transform: translateX(-30%) rotate(10deg);
    opacity:.0;
    transition: opacity .25s ease;
    pointer-events:none;
}
.surgente-btn-primary:hover::before { opacity:.9; }

/* Navegación más "glass" y alineada */
.surgente-nav-container{
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Texto */
.surgente-text-muted,
.surgente-muted,
.surgente-small {
    color: rgba(255,255,255,.72) !important;
}

/* Iconos "realistas" (SVG) */
.surgente-icon{
    display:inline-block;
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 8px;
    background-size: 18px 18px;
    background-repeat:no-repeat;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}

.surgente-icon-pin{
    background-image: var(--surgente-icon-pin);
}
.surgente-icon-spotify{ background-image: var(--surgente-icon-spotify); }
.surgente-icon-instagram{ background-image: var(--surgente-icon-instagram); }
.surgente-icon-youtube{ background-image: var(--surgente-icon-youtube); }
.surgente-icon-tiktok{ background-image: var(--surgente-icon-tiktok); }



/* =========================================================
   2.0.28 – Comunidad visual refresh / CORE minimal
   Menos marcos, menos cajas internas, lectura más editorial.
   ========================================================= */

.surgente-feed{
    padding: clamp(18px, 2.8vw, 28px) !important;
    border-radius: 24px !important;
}

.surgente-task.surgente-task--core-minimal{
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.surgente-task.surgente-task--core-minimal > .surgente-message,
.surgente-task.surgente-task--core-minimal > .surgente-task-header,
.surgente-task.surgente-task--core-minimal > .surgente-artist-card,
.surgente-task.surgente-task--core-minimal > .surgente-task-map-block,
.surgente-task.surgente-task--core-minimal > .surgente-task-platforms{
    position: relative;
    z-index: 1;
}

.surgente-task.surgente-task--core-minimal > .surgente-message,
.surgente-task.surgente-task--core-minimal > .surgente-task-header,
.surgente-task.surgente-task--core-minimal > .surgente-artist-card,
.surgente-task.surgente-task--core-minimal > .surgente-task-map-block,
.surgente-task.surgente-task--core-minimal > .surgente-task-platforms,
.surgente-task.surgente-task--core-minimal > .surgente-message-waiting-verification{
    margin: 0 !important;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.surgente-task.surgente-task--core-minimal > *:last-child{
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.surgente-task-actions-top{
    justify-content: flex-end;
    margin: 0 0 2px 0;
}

.surgente-task-header{
    margin: 0 !important;
    padding: 0 0 2px 0 !important;
}

.surgente-task-header h2{
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35;
    font-weight: 800 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72) !important;
}

.surgente-task.surgente-task--core-minimal > .surgente-message{
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 18px 0 !important;
}

.surgente-task.surgente-task--core-minimal > .surgente-message h3{
    margin: 0 0 8px 0;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .02em;
}

.surgente-task.surgente-task--core-minimal > .surgente-message p{
    max-width: 62ch;
    color: rgba(255,255,255,.82);
}

.surgente-task.surgente-task--core-minimal > .surgente-message-warning h3,
.surgente-task.surgente-task--core-minimal > .surgente-message-error h3,
.surgente-task.surgente-task--core-minimal > .surgente-message-info h3{
    color: rgba(255,255,255,.96) !important;
}

.surgente-artist-card{
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: flex-start;
}

.surgente-artist-image img{
    width: 112px;
    height: 112px;
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.surgente-artist-name{
    margin: 0 0 8px 0 !important;
    font-size: clamp(28px, 4vw, 34px) !important;
    line-height: 1.02;
    font-weight: 900 !important;
    letter-spacing: .01em;
}

.surgente-artist-name-link{
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}

.surgente-artist-name-link:hover,
.surgente-artist-name-link:focus-visible{
    color: rgba(255,255,255,.96) !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 5px !important;
}

.surgente-artist-name-link:focus-visible{
    outline: 2px solid rgba(105,255,145,.55);
    outline-offset: 4px;
    border-radius: 6px;
}

.surgente-artist-location{
    margin: 0 0 14px 0 !important;
    font-size: 14px;
    color: rgba(255,255,255,.70) !important;
}

.surgente-artist-location::before{
    content: '';
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,108,143,.95), rgba(88,158,255,.95));
    box-shadow: 0 0 14px rgba(88,158,255,.35);
}

.surgente-artist-bio{
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.68;
    color: rgba(255,255,255,.84);
}

.surgente-artist-genres{
    margin-top: 14px !important;
    gap: 8px !important;
}

.surgente-genre-tag{
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: rgba(255,255,255,.82) !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.surgente-artist-actions{
    align-self: center;
    margin-left: auto;
    padding-left: 12px;
}

.surgente-task-map-block{
    display: grid;
    gap: 10px;
}

.surgente-task-map-head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.surgente-task-map-head > div{
    min-width: 0;
}

.surgente-task-map-kicker{
    display: block;
    margin: 0 0 4px 0;
    color: rgba(105,255,145,.84);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.surgente-task-map-head strong{
    display: block;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    line-height: 1.35;
}

.surgente-task-map-link{
    flex: 0 0 auto;
    color: rgba(105,255,145,.86) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.surgente-task-map-link:hover,
.surgente-task-map-link:focus-visible{
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.surgente-task-artist-map{
    width: 100%;
    min-height: 180px;
    border-radius: 16px !important;
    border: 1px solid rgba(105,255,145,.22) !important;
    overflow: hidden;
    background: rgba(0,0,0,.28);
}

.surgente-task-artist-map .leaflet-control-zoom{
    margin: 9px !important;
}

.surgente-task-platforms{
    margin-top: 0 !important;
}

.surgente-task-warning.surgente-task-warning--core,
.surgente-task-platforms .surgente-task-warning.surgente-task-warning--core{
    background: transparent !important;
    color: rgba(255,255,255,.74) !important;
    border: 0 !important;
    border-left: 3px solid rgba(255,215,90,.72) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 2px 0 2px 14px !important;
    margin: 0 0 16px 0 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

.surgente-task-warning.surgente-task-warning--core strong,
.surgente-task-platforms .surgente-task-warning.surgente-task-warning--core strong{
    color: rgba(255,255,255,.92) !important;
    display: block;
    margin: 0 0 4px 0;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 11px;
}

.surgente-platforms-list{
    gap: 0 !important;
}

.surgente-platform-item{
    background: transparent !important;
    border: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    min-height: 72px;
    border-top: 1px solid rgba(255,255,255,.08) !important;
}

.surgente-platforms-list .surgente-platform-item:first-child{
    border-top: 0 !important;
    padding-top: 0 !important;
}

.surgente-platform-item.pending,
.surgente-platform-item.completed{
    border-left: 0 !important;
}

.surgente-platform-item:hover,
.surgente-platform-item.pending:hover,
.surgente-platform-item.completed:hover{
    background: transparent !important;
    border-color: rgba(255,255,255,.08) !important;
}

.surgente-platform-link{
    gap: 14px;
    min-width: 0;
}

.surgente-platform-icon{
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    font-size: 18px;
}

.surgente-platform-info{
    min-width: 0;
}

.surgente-platform-name{
    font-size: 18px !important;
    font-weight: 800 !important;
    color: rgba(255,255,255,.96) !important;
}

.surgente-platform-hint{
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.64) !important;
    font-size: 13px !important;
    line-height: 1.45;
}

.surgente-platform-status{
    min-width: 60px;
    text-align: right;
    font-size: 20px;
    opacity: .96;
}

.surgente-platform-item.completed .surgente-platform-status{
    filter: drop-shadow(0 0 10px rgba(76,175,80,.18));
}

.surgente-paused,
.surgente-no-task,
.surgente-welcome{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.surgente-paused{
    text-align: left;
}

.surgente-no-task,
.surgente-welcome{
    max-width: 720px;
    margin: 0 auto;
}

.surgente-no-task h2,
.surgente-welcome h2{
    font-size: clamp(30px, 4.4vw, 42px) !important;
    line-height: 1.05;
    margin-bottom: 14px !important;
    color: rgba(255,255,255,.96) !important;
}

.surgente-welcome .surgente-manifesto{
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 18px 0 !important;
}

@media (max-width: 860px){
    .surgente-feed{
        padding: 18px 16px !important;
    }

    .surgente-task.surgente-task--core-minimal{
        gap: 16px;
    }

    .surgente-artist-card{
        flex-direction: column !important;
        gap: 16px !important;
    }

    .surgente-artist-actions{
        width: 100%;
        padding-left: 0;
        margin-left: 0;
        justify-content: flex-start;
    }

    .surgente-artist-image img{
        width: 92px;
        height: 92px;
    }

    .surgente-artist-name{
        font-size: 30px !important;
    }

    .surgente-task-map-head{
        align-items: flex-start;
        flex-direction: column;
    }

    .surgente-task-artist-map{
        min-height: 170px;
    }

    .surgente-platform-item{
        min-height: 0;
        align-items: flex-start;
    }

    .surgente-platform-status{
        min-width: 42px;
        padding-top: 8px;
    }
}

@media (max-width: 560px){
    .surgente-task-header h2{
        font-size: 12px !important;
        letter-spacing: .11em;
    }

    .surgente-task.surgente-task--core-minimal > .surgente-message h3{
        font-size: 21px;
    }

    .surgente-platform-name{
        font-size: 16px !important;
    }

    .surgente-platform-hint{
        font-size: 12px !important;
    }
}


/* =========================================================
   2.0.29 – navegación desktop más integrada al módulo
   En móvil se conserva el comportamiento actual.
   ========================================================= */
@media (min-width: 861px){
    .surgente-nav-container{
        width: 100%;
        max-width: 1200px !important;
        margin: 0 auto 10px auto !important;
        padding: 0 4px 10px !important;
        min-height: auto !important;
        height: auto !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .surgente-nav-items{
        width: 100%;
        gap: 10px;
        padding: 0;
        align-items: center;
    }

    .surgente-nav-item{
        padding: 10px 14px !important;
        border-radius: 12px !important;
        border: 1px solid transparent;
        background: rgba(255,255,255,.02);
        color: rgba(255,255,255,.78) !important;
    }

    .surgente-nav-item:hover{
        background: rgba(255,255,255,.05) !important;
        border-color: rgba(255,255,255,.08);
        color: #fff !important;
    }

    .surgente-active{
        background: linear-gradient(180deg, #27d768 0%, #18b85a 100%) !important;
        color: #06130c !important;
        border-color: rgba(255,255,255,.16) !important;
        box-shadow: 0 10px 24px rgba(29,185,84,.26);
    }

    .surgente-feed,
    .surgente-artists-list,
    .surgente-artist-profile,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-stats-wrapper,
    .surgente-starred-list,
    .surgente-about{
        margin-top: 0 !important;
    }
}


/* =========================================================
   2.0.30 – navegación desktop integrada al borde superior del módulo
   Tabs premium, más sobrios, centrados y con ancho coherente al feed.
   Móvil: sin cambios.
   ========================================================= */
@media (min-width: 861px){
    .surgente-nav-container{
        width: 100%;
        max-width: 900px !important;
        margin: 0 auto -14px auto !important;
        padding: 0 22px !important;
        min-height: 0 !important;
        height: auto !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        position: relative;
        z-index: 9;
        justify-content: flex-start !important;
    }

    .surgente-nav-items{
        display: inline-flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 7px !important;
        width: auto !important;
        max-width: 100%;
        padding: 10px !important;
        border-radius: 18px 18px 14px 14px;
        background: linear-gradient(180deg, rgba(15,18,38,.94), rgba(8,10,22,.92));
        border: 1px solid rgba(80,140,255,.18);
        box-shadow:
            0 14px 34px rgba(0,0,0,.34),
            inset 0 1px 0 rgba(255,255,255,.05);
        backdrop-filter: blur(12px) saturate(125%);
        -webkit-backdrop-filter: blur(12px) saturate(125%);
    }

    .surgente-nav-item{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 14px !important;
        border-radius: 11px !important;
        border: 1px solid transparent !important;
        background: transparent !important;
        color: rgba(255,255,255,.76) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: .01em;
        box-shadow: none !important;
    }

    .surgente-nav-item:hover{
        background: rgba(255,255,255,.05) !important;
        border-color: rgba(255,255,255,.08) !important;
        color: #ffffff !important;
        transform: translateY(0) !important;
    }

    .surgente-active{
        background: linear-gradient(180deg, #2bdd73 0%, #1cc766 100%) !important;
        color: #07150d !important;
        border-color: rgba(255,255,255,.18) !important;
        box-shadow:
            0 10px 24px rgba(29,185,84,.24),
            inset 0 1px 0 rgba(255,255,255,.28) !important;
    }

    .surgente-feed,
    .surgente-artists-list,
    .surgente-artist-profile,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-stats-wrapper,
    .surgente-starred-list,
    .surgente-about{
        margin-top: 0 !important;
    }
}


/* =========================================================
   2.0.31 – navegación desktop en texto, integrada dentro del módulo
   Sin botones: links sobrios, clickeables, tipo barra editorial.
   Móvil: sin cambios.
   ========================================================= */
@media (min-width: 861px){
    .surgente-nav-container{
        width: 100%;
        max-width: 900px !important;
        margin: 0 auto -54px auto !important;
        padding: 18px 28px 18px !important;
        min-height: 0 !important;
        height: auto !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        position: relative;
        z-index: 12;
        display: flex !important;
        justify-content: center !important;
    }

    .surgente-nav-container::after{
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: min(100%, 420px);
        height: 1px;
        background: linear-gradient(90deg,
            rgba(255,255,255,0),
            rgba(255,255,255,.10) 12%,
            rgba(122,164,255,.18) 50%,
            rgba(255,255,255,.10) 88%,
            rgba(255,255,255,0)
        );
        opacity: .95;
        pointer-events: none;
    }

    .surgente-nav-items{
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center !important;
        gap: 18px !important;
        width: fit-content !important;
        max-width: 100%;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .surgente-nav-item{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: rgba(255,255,255,.72) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        letter-spacing: .01em;
        box-shadow: none !important;
        position: relative;
    }

    .surgente-nav-item:hover{
        background: transparent !important;
        border: 0 !important;
        color: #ffffff !important;
        transform: none !important;
        opacity: 1;
    }

    .surgente-nav-item::after{
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 2px;
        border-radius: 999px;
        background: transparent;
        opacity: 0;
        transition: opacity .18s ease, background .18s ease;
    }

    .surgente-nav-item:hover::after{
        background: rgba(255,255,255,.16);
        opacity: 1;
    }

    .surgente-active{
        background: transparent !important;
        color: #ffffff !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .surgente-active::after{
        background: linear-gradient(90deg, rgba(43,221,115,.95), rgba(133,255,190,.72));
        opacity: 1;
    }

    .surgente-feed,
    .surgente-artists-list,
    .surgente-artist-profile,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-stats-wrapper,
    .surgente-starred-list,
    .surgente-about{
        margin-top: 0 !important;
        padding-top: 58px !important;
    }
}


/* =========================================================
   VISUAL POLISH v2.0.38 — Comunidad / Perfil artista / Buscador
   ========================================================= */

/* Buscador y filtros: corregir texto negro sobre fondo oscuro */
.surgente-artists-list .surgente-filter-search{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:.65rem;
    align-items:stretch;
}

.surgente-artists-list .surgente-search-input,
.surgente-artists-list .surgente-filter-select,
.surgente-artists-list select,
.surgente-artists-list option{
    color:rgba(255,255,255,.94) !important;
}

.surgente-artists-list .surgente-search-input,
.surgente-artists-list .surgente-filter-select,
.surgente-artists-list select{
    background:rgba(7,10,18,.88) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    box-shadow:0 1px 0 rgba(255,255,255,.04) inset;
}

.surgente-artists-list .surgente-search-input::placeholder{
    color:rgba(255,255,255,.46) !important;
}

.surgente-artists-list .surgente-search-input:focus,
.surgente-artists-list .surgente-filter-select:focus,
.surgente-artists-list select:focus{
    border-color:rgba(95,255,169,.42) !important;
    box-shadow:0 0 0 3px rgba(95,255,169,.08) !important;
}

.surgente-artists-list .surgente-search-btn{
    min-width:48px;
    padding:.75rem .95rem;
    background:rgba(255,255,255,.06) !important;
    border:1px solid rgba(255,255,255,.12) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.22);
}

.surgente-artists-list .surgente-search-btn:hover{
    background:rgba(59,130,246,.22) !important;
    border-color:rgba(125,211,252,.24) !important;
}

.surgente-artists-list .surgente-filter-group label{
    color:rgba(255,255,255,.74);
    letter-spacing:.07em;
}

/* Perfil artista: menos cajas dentro de cajas, mejor jerarquía */
.surgente-artist-profile-v2{
    max-width:980px;
}

.surgente-artist-profile-v2 .surgente-artist-header.surgente-card{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:1.15rem;
    padding:1rem 1.05rem;
    align-items:center;
}

.surgente-artist-profile-v2 .surgente-profile-image,
.surgente-artist-profile-v2 .surgente-profile-image--placeholder{
    width:150px;
    height:150px;
    flex:0 0 150px;
    border-radius:18px;
    overflow:hidden;
}

.surgente-artist-profile-v2 .surgente-profile-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border:0;
    border-radius:18px;
}

.surgente-artist-profile-v2 .surgente-profile-info{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:.8rem;
}

.surgente-artist-profile-v2 .surgente-profile-title-row{
    align-items:flex-start;
    gap:.9rem;
}

.surgente-artist-profile-v2 .surgente-profile-name{
    margin:0;
    font-size:clamp(2.1rem,5vw,3.15rem);
    line-height:.96;
    letter-spacing:-.04em;
    text-wrap:balance;
}

.surgente-artist-profile-v2 .surgente-profile-location{
    margin:0;
    font-size:1rem;
    line-height:1.4;
}

.surgente-artist-profile-v2 .surgente-profile-genres{
    gap:.45rem;
}

.surgente-artist-profile-v2 .surgente-genre-tag{
    padding:.28rem .62rem;
    border-radius:999px;
    font-size:.75rem;
    letter-spacing:.04em;
}

.surgente-artist-profile-v2 .surgente-profile-links,
.surgente-artist-profile-v2 .surgente-profile-links h2{
    margin:0;
}

.surgente-artist-profile-v2 .surgente-social-links{
    gap:.6rem;
}

.surgente-artist-profile-v2 .surgente-social-link{
    min-height:40px;
    padding:.62rem .88rem;
    border-radius:12px;
    background:rgba(255,255,255,.04);
}

/* Embeds: quitar la caja contenedora grande y dejar bloques respirando */
.surgente-artist-profile-v2 .surgente-task-embeds{
    margin-top:1rem;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    gap:1rem;
}

.surgente-artist-profile-v2 .surgente-embed-block{
    overflow:hidden;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.03);
    box-shadow:0 12px 34px rgba(0,0,0,.28);
}

.surgente-artist-profile-v2 .surgente-profile-bio{
    margin-bottom:1.1rem;
    padding:1.15rem 1.2rem;
}

.surgente-artist-profile-v2 .surgente-profile-bio h3{
    margin:0 0 .8rem;
    font-size:1.65rem;
    line-height:1;
}

.surgente-artist-profile-v2 .surgente-profile-bio p{
    margin:0;
    color:rgba(255,255,255,.84);
    line-height:1.7;
}

/* Card del dueño: simplificar stats y usar separadores en vez de mini-cajitas */
.surgente-artist-profile-v2 .surgente-owner-card{
    margin-top:1rem;
    padding:1rem 1.05rem;
}

.surgente-artist-profile-v2 .surgente-owner-header{
    margin-bottom:1rem;
    padding-bottom:.95rem;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.surgente-artist-profile-v2 .surgente-owner-avatar{
    width:52px;
    height:52px;
    border-radius:14px;
}

.surgente-artist-profile-v2 .surgente-owner-title h3{
    font-size:1rem;
}

.surgente-artist-profile-v2 .surgente-owner-stats{
    gap:0;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    overflow:hidden;
    background:rgba(255,255,255,.025);
}

.surgente-artist-profile-v2 .surgente-stat{
    min-height:86px;
    padding:.95rem 1rem;
    background:transparent;
    border:0;
    border-right:1px solid rgba(255,255,255,.07);
    border-bottom:1px solid rgba(255,255,255,.07);
    border-radius:0;
}

.surgente-artist-profile-v2 .surgente-owner-stats .surgente-stat:nth-child(4n){
    border-right:0;
}

.surgente-artist-profile-v2 .surgente-owner-stats .surgente-stat:nth-last-child(-n+2){
    border-bottom:0;
}

.surgente-artist-profile-v2 .surgente-stat-label{
    font-size:.77rem;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.surgente-artist-profile-v2 .surgente-stat-value{
    font-size:1.15rem;
    line-height:1.2;
}

/* Pequeño ajuste para la card mini de artistas */
.surgente-artist-card-mini{
    border-radius:16px;
}

.surgente-card-content{
    padding:1rem 1rem 1.05rem;
}

@media (max-width: 720px) {
    .surgente-artist-profile-v2 .surgente-artist-header.surgente-card{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
        padding:1rem;
    }

    .surgente-artist-profile-v2 .surgente-profile-info{
        width:100%;
        align-items:center;
    }

    .surgente-artist-profile-v2 .surgente-profile-title-row{
        width:100%;
        justify-content:center;
    }

    .surgente-artist-profile-v2 .surgente-social-links{
        width:100%;
        flex-direction:column;
    }

    .surgente-artist-profile-v2 .surgente-social-link{
        justify-content:center;
        width:100%;
    }

    .surgente-artist-profile-v2 .surgente-owner-stats{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }

    .surgente-artist-profile-v2 .surgente-owner-stats .surgente-stat{
        border-right:1px solid rgba(255,255,255,.07);
        border-bottom:1px solid rgba(255,255,255,.07);
    }

    .surgente-artist-profile-v2 .surgente-owner-stats .surgente-stat:nth-child(2n){
        border-right:0;
    }

    .surgente-artist-profile-v2 .surgente-owner-stats .surgente-stat:nth-last-child(-n+2){
        border-bottom:0;
    }
}


/* =========================================================
   MOBILE MENU POLISH v2.0.39 — Comunidad
   ========================================================= */
.surgente-module-nav-toggle{
    display:none;
}

@media (max-width: 860px){
    .surgente-module-nav{
        width:100%;
        max-width:none;
        margin:14px 0 18px !important;
        padding:12px 14px !important;
        border-radius:22px;
        border:1px solid rgba(255,255,255,.08);
        background:linear-gradient(180deg, rgba(13,16,28,.94), rgba(8,10,16,.97));
        box-shadow:0 18px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
        gap:0;
        align-items:stretch;
    }

    .surgente-module-nav-toggle{
        appearance:none;
        display:flex;
        width:100%;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        min-height:48px;
        padding:0 16px;
        border-radius:16px;
        border:1px solid rgba(255,255,255,.10);
        background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
        color:rgba(255,255,255,.94);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
        cursor:pointer;
    }

    .surgente-module-nav-toggle-label{
        font-size:13px;
        font-weight:800;
        letter-spacing:.08em;
        text-transform:uppercase;
    }

    .surgente-module-nav-toggle-icon{
        display:inline-flex;
        flex-direction:column;
        gap:4px;
    }

    .surgente-module-nav-toggle-icon span{
        display:block;
        width:14px;
        height:1.5px;
        border-radius:999px;
        background:rgba(255,255,255,.92);
        transition:transform .18s ease, opacity .18s ease;
    }

    .surgente-module-nav.is-open .surgente-module-nav-toggle-icon span:first-child{
        transform:translateY(2.75px) rotate(45deg);
    }

    .surgente-module-nav.is-open .surgente-module-nav-toggle-icon span:last-child{
        transform:translateY(-2.75px) rotate(-45deg);
    }

    .surgente-module-nav-panel{
        display:none !important;
        width:100%;
        margin-top:12px !important;
        padding-top:12px;
        border-top:1px solid rgba(255,255,255,.06);
    }

    .surgente-module-nav.is-open .surgente-module-nav-panel{
        display:grid !important;
        grid-template-columns:1fr;
        gap:8px;
    }

    .surgente-module-nav .surgente-nav-item{
        width:100%;
        min-height:46px;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        padding:0 16px;
        border-radius:16px;
        border:1px solid rgba(255,255,255,.06);
        background:rgba(255,255,255,.035);
        color:rgba(255,255,255,.82) !important;
        font-size:14px;
        font-weight:700;
        line-height:1.15;
        text-decoration:none;
        box-shadow:none;
    }

    .surgente-module-nav .surgente-nav-item:hover{
        background:rgba(255,255,255,.06) !important;
        color:#fff !important;
        border-color:rgba(255,255,255,.10) !important;
    }

    .surgente-module-nav .surgente-active{
        background:linear-gradient(180deg, rgba(96,122,255,.22), rgba(65,86,173,.12)) !important;
        color:#f7f9ff !important;
        border-color:rgba(132,157,255,.30) !important;
        box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 10px 20px rgba(20,32,78,.18) !important;
    }

    .surgente-module-nav .surgente-active::after,
    .surgente-module-nav .surgente-nav-item::after{
        display:none !important;
    }
}

@media (min-width: 861px){
    .surgente-module-nav-toggle{
        display:none !important;
    }
}


/* =========================================================
   MOBILE MENU POLISH v2.0.40 — final mobile refinements
   ========================================================= */
@media (max-width: 860px){
    .surgente-feed > .surgente-module-nav,
    .surgente-artists-list > .surgente-module-nav,
    .surgente-artist-profile > .surgente-module-nav,
    .surgente-artist-form-container > .surgente-module-nav,
    .surgente-user-profile > .surgente-module-nav,
    .surgente-stats-wrapper > .surgente-module-nav,
    .surgente-starred-list > .surgente-module-nav,
    .surgente-about > .surgente-module-nav{
        width:100%;
        max-width:none;
        margin:0 0 14px !important;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        border-radius:0 !important;
    }

    .surgente-feed > .surgente-module-nav .surgente-module-nav-toggle,
    .surgente-artists-list > .surgente-module-nav .surgente-module-nav-toggle,
    .surgente-artist-profile > .surgente-module-nav .surgente-module-nav-toggle,
    .surgente-artist-form-container > .surgente-module-nav .surgente-module-nav-toggle,
    .surgente-user-profile > .surgente-module-nav .surgente-module-nav-toggle,
    .surgente-stats-wrapper > .surgente-module-nav .surgente-module-nav-toggle,
    .surgente-starred-list > .surgente-module-nav .surgente-module-nav-toggle,
    .surgente-about > .surgente-module-nav .surgente-module-nav-toggle{
        min-height:50px;
        border-radius:18px;
        border-color:rgba(255,255,255,.08);
        background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    }

    .surgente-feed > .surgente-module-nav .surgente-module-nav-panel,
    .surgente-artists-list > .surgente-module-nav .surgente-module-nav-panel,
    .surgente-artist-profile > .surgente-module-nav .surgente-module-nav-panel,
    .surgente-artist-form-container > .surgente-module-nav .surgente-module-nav-panel,
    .surgente-user-profile > .surgente-module-nav .surgente-module-nav-panel,
    .surgente-stats-wrapper > .surgente-module-nav .surgente-module-nav-panel,
    .surgente-starred-list > .surgente-module-nav .surgente-module-nav-panel,
    .surgente-about > .surgente-module-nav .surgente-module-nav-panel{
        margin-top:10px !important;
        padding-top:10px;
        border-top:1px solid rgba(255,255,255,.06);
    }
}


/* =========================================================
   MOBILE MENU CLEANUP v2.0.41 — Comunidad sin cajitas
   ========================================================= */
@media (max-width: 860px){
    /* Contenedor totalmente integrado al módulo */
    .surgente-feed > .surgente-module-nav,
    .surgente-artists-list > .surgente-module-nav,
    .surgente-artist-profile > .surgente-module-nav,
    .surgente-artist-form-container > .surgente-module-nav,
    .surgente-user-profile > .surgente-module-nav,
    .surgente-stats-wrapper > .surgente-module-nav,
    .surgente-starred-list > .surgente-module-nav,
    .surgente-about > .surgente-module-nav{
        margin:0 0 12px !important;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        border-radius:0 !important;
    }

    /* Header del menú: ya no se siente una tarjeta aparte */
    .surgente-module-nav .surgente-module-nav-toggle{
        min-height:0 !important;
        padding:0 0 12px !important;
        border:0 !important;
        border-bottom:1px solid rgba(255,255,255,.08) !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
    }

    .surgente-module-nav .surgente-module-nav-toggle-label{
        font-size:12px;
        font-weight:800;
        letter-spacing:.12em;
        text-transform:uppercase;
        color:rgba(255,255,255,.86);
    }

    .surgente-module-nav .surgente-module-nav-toggle-icon{
        gap:5px;
    }

    .surgente-module-nav .surgente-module-nav-toggle-icon span{
        width:16px;
        height:1.5px;
        background:rgba(255,255,255,.82);
    }

    /* Panel liviano, sin borde extra arriba */
    .surgente-module-nav .surgente-module-nav-panel{
        margin-top:6px !important;
        padding-top:0 !important;
        border-top:0 !important;
    }

    .surgente-module-nav.is-open .surgente-module-nav-panel{
        gap:0 !important;
    }

    /* Items tipo lista editorial, no botones */
    .surgente-module-nav .surgente-nav-item{
        position:relative;
        min-height:0 !important;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        padding:11px 2px 11px 16px !important;
        border:0 !important;
        border-bottom:1px solid rgba(255,255,255,.07) !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        font-size:15px !important;
        font-weight:700;
        color:rgba(255,255,255,.88) !important;
        text-decoration:none;
    }

    .surgente-module-nav .surgente-nav-item:last-child{
        border-bottom:0 !important;
        padding-bottom:6px !important;
    }

    .surgente-module-nav .surgente-nav-item:hover{
        background:transparent !important;
        border-color:rgba(255,255,255,.12) !important;
        color:#ffffff !important;
        transform:none !important;
    }

    /* Activo con acento lateral sutil en vez de cajita completa */
    .surgente-module-nav .surgente-active{
        padding-left:18px !important;
        color:#ffffff !important;
        background:transparent !important;
        border:0 !important;
        border-bottom:1px solid rgba(255,255,255,.08) !important;
        box-shadow:none !important;
    }

    .surgente-module-nav .surgente-active::before{
        content:'';
        position:absolute;
        left:0;
        top:50%;
        transform:translateY(-50%);
        width:3px;
        height:16px;
        border-radius:999px;
        background:linear-gradient(180deg, rgba(115,138,255,.92), rgba(115,138,255,.45));
        box-shadow:0 0 10px rgba(115,138,255,.28);
    }

    .surgente-module-nav .surgente-active::after,
    .surgente-module-nav .surgente-nav-item::after{
        display:none !important;
    }
}


/* =========================================================
   2.0.43 – desktop feed spacing refinement
   Give the pause-action row a little more breathing room under the
   integrated desktop nav so nothing queda apenas montado.
   ========================================================= */
@media (min-width: 861px){
    .surgente-feed > .surgente-module-nav{
        margin: 0 auto -10px auto !important;
    }

    .surgente-feed .surgente-task.surgente-task--core-minimal{
        padding-top: 10px !important;
    }
}


/* Estado de última tarea */
.surgente-last-task-status{
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(7, 12, 28, .72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.surgente-last-task-status-label{
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(226,232,240,.62);
}

.surgente-last-task-status p{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #eef4ff;
}

.surgente-last-task-status-secondary{
    margin-top: 6px !important;
    color: rgba(214, 226, 255, .82) !important;
}

.surgente-last-task-status--today{
    border-color: rgba(72, 231, 181, .18);
}

.surgente-last-task-status--past{
    border-color: rgba(93, 150, 255, .16);
}

.surgente-last-task-status--started{
    border-color: rgba(255,255,255,.12);
}

.surgente-last-task-status--waiting{
    border-color: rgba(255, 196, 92, .24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 10px 30px rgba(0,0,0,.12);
}

.surgente-last-task-status--none{
    border-color: rgba(255,255,255,.06);
}

@media (max-width: 768px){
    .surgente-last-task-status{
        margin-bottom: 14px;
        padding: 11px 13px;
        border-radius: 14px;
    }

    .surgente-last-task-status p{
        font-size: 13px;
    }
}


/* =========================================================
   2.1.2 – desktop section alignment fix
   Empuja el contenido inicial de módulos internos para que
   no se monte con la navegación integrada en escritorio.
   ========================================================= */
@media (min-width: 861px){
    .surgente-artists-list,
    .surgente-artist-profile,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-stats-wrapper,
    .surgente-starred-list,
    .surgente-about{
        padding-top: 92px !important;
    }

    .surgente-artists-list .surgente-page-header,
    .surgente-artist-profile > *:not(.surgente-module-nav):first-child,
    .surgente-artist-form-container > *:not(.surgente-module-nav):first-child,
    .surgente-user-profile .surgente-profile-header,
    .surgente-stats-wrapper > *:not(.surgente-module-nav):first-child,
    .surgente-starred-list > h2,
    .surgente-about .surgente-about-hero{
        position: relative;
        z-index: 1;
    }
}


/* =========================================================
   2.1.3 – desktop nav/content separation repair
   Las secciones internas no deben superponerse con la nav.
   ========================================================= */
@media (min-width: 861px){
    .surgente-artists-list,
    .surgente-artist-profile,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-stats-wrapper,
    .surgente-starred-list,
    .surgente-about{
        padding-top: 34px !important;
    }

    .surgente-artists-list > .surgente-module-nav,
    .surgente-artist-profile > .surgente-module-nav,
    .surgente-artist-form-container > .surgente-module-nav,
    .surgente-user-profile > .surgente-module-nav,
    .surgente-stats-wrapper > .surgente-module-nav,
    .surgente-starred-list > .surgente-module-nav,
    .surgente-about > .surgente-module-nav{
        margin: 0 auto 22px auto !important;
        padding-bottom: 0 !important;
    }

    .surgente-artists-list .surgente-page-header,
    .surgente-user-profile .surgente-profile-header,
    .surgente-starred-list > h2,
    .surgente-about .surgente-about-hero,
    .surgente-stats-wrapper > h1,
    .surgente-artist-form-container > *:not(.surgente-module-nav):first-child,
    .surgente-artist-profile > *:not(.surgente-module-nav):first-child{
        margin-top: 0 !important;
    }
}

/* =========================================================
   Surgente Comunidad - Mapa de artistas
   ========================================================= */
.surgente-map-picker-block,
.surgente-map-shell {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 214, 64, 0.22);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.surgente-map-picker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.surgente-map-picker-title {
    display: block;
    margin: 0 0 6px;
    color: #ffd640;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.surgente-map-picker-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.45;
}

.surgente-switch-line {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.surgente-switch-line input {
    width: 18px;
    height: 18px;
    accent-color: #ffd640;
}

.surgente-location-picker,
.surgente-artists-map {
    width: 100%;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: #050505;
    border: 1px solid rgba(255, 214, 64, 0.18);
    filter: saturate(0.88) contrast(1.02);
}

.surgente-location-picker {
    height: 380px;
}

.surgente-map-picker-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.surgente-btn-small {
    min-height: auto;
    padding: 9px 13px;
    font-size: 0.78rem;
}

.surgente-location-status {
    color: rgba(255, 214, 64, 0.86);
    font-size: 0.82rem;
    font-weight: 700;
}

.surgente-artists-map-page {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
}

.surgente-map-header {
    text-align: center;
    margin: 24px auto 22px;
}

.surgente-map-header .surgente-eyebrow {
    margin: 0 0 10px;
    color: #ffd640;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.surgente-map-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 0.96;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.surgente-map-header p:not(.surgente-eyebrow) {
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.62);
    max-width: 620px;
}

.surgente-map-shell {
    position: relative;
    padding: 12px;
}

.surgente-map-meta {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 400;
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 214, 64, 0.22);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    backdrop-filter: blur(10px);
}

.surgente-map-meta strong {
    color: #ffd640;
    font-size: 1.1rem;
}

.surgente-map-pin-wrap {
    background: transparent;
    border: 0;
}

.surgente-map-pin {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffd640;
    box-shadow: 0 0 0 5px rgba(255, 214, 64, 0.18), 0 10px 22px rgba(0, 0, 0, 0.42);
    border: 2px solid #070707;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #070707;
    color: #fff;
    border: 1px solid rgba(255, 214, 64, 0.22);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.leaflet-popup-content {
    margin: 10px;
}

.surgente-map-popup {
    display: flex;
    gap: 10px;
    min-width: 220px;
    max-width: 290px;
}

.surgente-map-popup-img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 auto;
}

.surgente-map-popup-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.surgente-map-popup-body strong {
    color: #ffd640;
    font-weight: 900;
    line-height: 1.12;
}

.surgente-map-popup-body span,
.surgente-map-popup-body small {
    color: rgba(255, 255, 255, 0.68);
}

.surgente-map-popup-body a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(255, 214, 64, 0.55);
    text-underline-offset: 3px;
}

.surgente-map-empty {
    border: 1px solid rgba(255, 214, 64, 0.18);
    background: rgba(0,0,0,0.36);
}

@media (max-width: 760px) {
    .surgente-map-picker-head {
        flex-direction: column;
    }

    .surgente-switch-line {
        white-space: normal;
    }

    .surgente-location-picker,
    .surgente-artists-map {
        min-height: 360px;
    }

    .surgente-map-meta {
        position: static;
        display: inline-flex;
        margin-top: 10px;
    }
}

/* =========================================================
   2.1.5 – Mapa de artistas integrado a Comunidad
   - corrige superposición con menú
   - cambia acentos amarillos por verdes Comunidad
   - mapa más sobrio / sin dominante amarilla
   ========================================================= */
.surgente-artists-map-page{
    --surgente-map-accent: var(--surgente-green, #4CAF50);
    --surgente-map-accent-soft: rgba(76,175,80,.18);
    --surgente-map-accent-border: rgba(76,175,80,.32);
}

@media (min-width: 861px){
    .surgente-artists-map-page{
        padding-top: 34px !important;
    }

    .surgente-artists-map-page > .surgente-module-nav{
        margin: 0 auto 28px auto !important;
        padding-bottom: 0 !important;
    }

    .surgente-artists-map-page .surgente-map-header{
        margin-top: 0 !important;
    }
}

.surgente-artists-map-page .surgente-map-header .surgente-eyebrow,
.surgente-artists-map-page .surgente-map-picker-title,
.surgente-map-picker-title{
    color: var(--surgente-map-accent) !important;
}

.surgente-artists-map-page .surgente-map-shell,
.surgente-map-picker-block,
.surgente-map-shell{
    border-color: var(--surgente-map-accent-border) !important;
}

.surgente-artists-map-page .surgente-map-meta{
    border-color: var(--surgente-map-accent-border) !important;
}

.surgente-artists-map-page .surgente-map-meta strong,
.surgente-location-status{
    color: var(--surgente-map-accent) !important;
}

.surgente-location-picker,
.surgente-artists-map{
    border-color: var(--surgente-map-accent-border) !important;
    filter: none !important;
}

/* Deja el mapa con una lectura oscura/verde, no amarilla, sin afectar pines ni popups. */
.surgente-location-picker .leaflet-tile-pane,
.surgente-artists-map .leaflet-tile-pane{
    filter: grayscale(1) brightness(.72) contrast(1.1) sepia(.08) hue-rotate(70deg) saturate(.72);
}

.surgente-map-pin{
    background: var(--surgente-map-accent) !important;
    box-shadow: 0 0 0 5px var(--surgente-map-accent-soft), 0 10px 22px rgba(0,0,0,.42) !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip{
    border-color: var(--surgente-map-accent-border) !important;
}

.surgente-map-popup-body strong{
    color: #ffffff !important;
}

.surgente-map-popup-body a{
    color: var(--surgente-map-accent) !important;
    text-decoration-color: rgba(76,175,80,.55) !important;
}

.surgente-map-empty{
    border-color: var(--surgente-map-accent-border) !important;
}

.surgente-switch-line input{
    accent-color: var(--surgente-map-accent) !important;
}

@media (max-width: 860px){
    .surgente-artists-map-page{
        padding-top: 10px !important;
    }

    .surgente-artists-map-page > .surgente-module-nav{
        margin: 0 0 18px !important;
    }
}


/* =========================================================
   2.2.0 – Mapa territorial para artistas migrados
   ========================================================= */
.surgente-map-onboarding-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 auto 22px;padding:18px 20px;border:1px solid rgba(76,175,80,.32);border-radius:22px;background:linear-gradient(135deg,rgba(76,175,80,.14),rgba(0,0,0,.44));box-shadow:0 18px 45px rgba(0,0,0,.22)}
.surgente-map-onboarding-kicker{display:block;margin-bottom:5px;color:var(--surgente-green,#4CAF50);font-size:.72rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.surgente-map-onboarding-banner h3{margin:0 0 6px;color:#fff;font-size:1.05rem;line-height:1.18}
.surgente-map-onboarding-banner p{margin:0;color:rgba(255,255,255,.68);font-size:.9rem;line-height:1.45;max-width:720px}
.surgente-map-onboarding-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.surgente-map-geocode-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;margin:0 0 12px}
.surgente-map-geocode-row input{width:100%;min-height:40px;border-radius:12px;border:1px solid rgba(76,175,80,.28);background:rgba(0,0,0,.42);color:#fff;padding:9px 12px;outline:none}
.surgente-map-geocode-row input:focus{border-color:rgba(76,175,80,.72);box-shadow:0 0 0 3px rgba(76,175,80,.14)}
@media (max-width:860px){.surgente-map-onboarding-banner{flex-direction:column;align-items:flex-start}.surgente-map-onboarding-actions{width:100%;justify-content:flex-start}.surgente-map-geocode-row{grid-template-columns:1fr}}

/* =========================================================
   2.2.1 – Comunidad System Theme
   Misma lógica visual que Últimos Movimientos / Hub System:
   fondo negro, texto plano, líneas finas, acento verde comunidad.
   ========================================================= */
:root{
    --surgente-system-bg:#050505;
    --surgente-system-line:rgba(76,175,80,.20);
    --surgente-system-line-soft:rgba(255,255,255,.075);
    --surgente-system-text:#f4fff7;
    --surgente-system-muted:rgba(255,255,255,.58);
    --surgente-system-dim:rgba(255,255,255,.40);
    --surgente-system-accent:#4CAF50;
    --surgente-system-accent-soft:rgba(76,175,80,.10);
    --surgente-system-accent-strong:#9af0ad;
}

.surgente-feed,
.surgente-artists-list,
.surgente-artist-profile,
.surgente-artist-form-container,
.surgente-user-profile,
.surgente-stats-wrapper,
.surgente-starred-list,
.surgente-about,
.surgente-artists-map-page{
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(20px,2.6vw,28px) !important;
    background: var(--surgente-system-bg) !important;
    border: 1px solid var(--surgente-system-line) !important;
    border-radius: 16px !important;
    box-shadow: inset 0 0 0 1px rgba(76,175,80,.035), 0 18px 40px rgba(0,0,0,.18) !important;
    color: var(--surgente-system-text) !important;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
    letter-spacing: 0 !important;
    overflow: hidden;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.surgente-feed::before,
.surgente-feed::after,
.surgente-artists-list::before,
.surgente-artists-list::after,
.surgente-artist-profile::before,
.surgente-artist-profile::after,
.surgente-artist-form-container::before,
.surgente-artist-form-container::after,
.surgente-user-profile::before,
.surgente-user-profile::after,
.surgente-stats-wrapper::before,
.surgente-stats-wrapper::after,
.surgente-starred-list::before,
.surgente-starred-list::after,
.surgente-about::before,
.surgente-about::after{
    display:none !important;
}

/* navegación editorial: texto, línea fina y acento verde */
@media (min-width:861px){
    .surgente-module-nav,
    .surgente-nav-container{
        max-width: 980px !important;
        margin: 0 auto 18px !important;
        padding: 0 0 14px !important;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 1px solid var(--surgente-system-line) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        justify-content: center !important;
        position: relative;
        z-index: 2;
    }

    .surgente-module-nav::after,
    .surgente-nav-container::after{
        display:none !important;
    }

    .surgente-module-nav-panel,
    .surgente-nav-items{
        display:flex !important;
        flex-wrap:wrap;
        align-items:center;
        justify-content:center !important;
        gap:18px !important;
        width:auto !important;
        max-width:100%;
        padding:0 !important;
        margin:0 auto !important;
        background:transparent !important;
        border:0 !important;
        box-shadow:none !important;
    }

    .surgente-nav-item,
    .surgente-module-nav .surgente-nav-item{
        padding:0 !important;
        min-height:0 !important;
        border:0 !important;
        background:transparent !important;
        color:rgba(255,255,255,.72) !important;
        border-radius:0 !important;
        box-shadow:none !important;
        font-size:13px !important;
        line-height:1.2 !important;
        font-weight:800 !important;
        letter-spacing:.02em;
        text-decoration:none !important;
        position:relative;
    }

    .surgente-nav-item:hover,
    .surgente-module-nav .surgente-nav-item:hover{
        color:#ffffff !important;
        background:transparent !important;
        transform:none !important;
    }

    .surgente-nav-item::after,
    .surgente-module-nav .surgente-nav-item::after{
        content:'';
        position:absolute;
        left:0;
        right:0;
        bottom:-8px;
        height:2px;
        border-radius:999px;
        opacity:0;
        background:rgba(255,255,255,.16);
        transition:opacity .16s ease, background .16s ease;
    }

    .surgente-nav-item:hover::after,
    .surgente-module-nav .surgente-nav-item:hover::after{
        opacity:1;
    }

    .surgente-active,
    .surgente-module-nav .surgente-active{
        color:#ffffff !important;
        background:transparent !important;
        border:0 !important;
        box-shadow:none !important;
    }

    .surgente-active::after,
    .surgente-module-nav .surgente-active::after{
        display:block !important;
        opacity:1;
        background:linear-gradient(90deg, rgba(76,175,80,.95), rgba(154,240,173,.72));
    }

    .surgente-feed,
    .surgente-artists-list,
    .surgente-artist-profile,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-stats-wrapper,
    .surgente-starred-list,
    .surgente-about{
        padding-top: 24px !important;
    }
}

/* Titulares */
.surgente-page-header,
.surgente-about-hero,
.surgente-map-header{
    text-align:center;
    margin: 0 0 22px !important;
    padding: 0 0 16px;
    border-bottom:1px solid var(--surgente-system-line);
}

.surgente-page-header h1,
.surgente-about-hero h1,
.surgente-map-header h2,
.surgente-welcome h2,
.surgente-no-task h2,
.surgente-artists-list h2,
.surgente-starred-list h2,
.surgente-profile-section h2,
.surgente-profile-bio h2,
.surgente-profile-links h2,
.surgente-about-section h2,
.surgente-stats-wrapper h1{
    color: var(--surgente-system-accent) !important;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
    font-size: clamp(22px, 2.6vw, 34px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    margin: 0 0 12px !important;
}

.surgente-page-header h1::after,
.surgente-about-hero h1::after,
.surgente-map-header h2::after,
.surgente-welcome h2::after,
.surgente-no-task h2::after,
.surgente-artists-list h2::after,
.surgente-starred-list h2::after{
    content:'';
    display:block;
    width:58px;
    height:1px;
    margin:12px auto 0;
    background:linear-gradient(90deg, transparent, rgba(76,175,80,.85), transparent);
}

.surgente-page-subtitle,
.surgente-tagline,
.surgente-map-header p:not(.surgente-eyebrow),
.surgente-stats-description,
.surgente-hint,
.surgente-platform-hint,
.surgente-card-location,
.surgente-user-email,
.surgente-profile-location,
.surgente-artist-location,
.surgente-owner-sub,
.surgente-starred-info p,
.surgente-profile-section p,
.surgente-about-section p,
.surgente-no-task p,
.surgente-welcome p{
    color: var(--surgente-system-muted) !important;
}

/* Cajas grandes: pasan a paneles negros de sistema */
.surgente-task,
.surgente-form-wrapper,
.surgente-create-prompt,
.surgente-no-task,
.surgente-welcome,
.surgente-paused,
.surgente-message,
.surgente-filters-section,
.surgente-artist-card,
.surgente-artist-card-mini,
.surgente-starred-card,
.surgente-my-artist,
.surgente-no-artist,
.surgente-no-results,
.surgente-login-required,
.surgente-manifesto-item,
.surgente-faq-item,
.surgente-profile-bio,
.surgente-owner-card,
.surgente-artist-profile-v2 .surgente-artist-header.surgente-card,
.surgente-task-embeds,
.surgente-embed-block,
.surgente-map-picker-block,
.surgente-map-shell,
.surgente-map-onboarding-banner,
.surgente-last-task-status{
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Separadores finos entre bloques */
.surgente-message,
.surgente-task-header,
.surgente-artist-card,
.surgente-task-platforms,
.surgente-form-group,
.surgente-profile-header,
.surgente-profile-section,
.surgente-about-section,
.surgente-filters-section,
.surgente-stats-columns,
.surgente-map-picker-block,
.surgente-map-shell,
.surgente-map-onboarding-banner,
.surgente-last-task-status,
.surgente-owner-header,
.surgente-profile-bio,
.surgente-profile-links{
    padding: 16px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--surgente-system-line-soft) !important;
}

.surgente-form-group:last-child,
.surgente-profile-section:last-child,
.surgente-about-section:last-child,
.surgente-task > *:last-child,
.surgente-owner-card > *:last-child{
    border-bottom:0 !important;
}

/* Feed principal */
.surgente-task.surgente-task--core-minimal{
    gap:0 !important;
}

.surgente-task-actions-top{
    margin:0 0 12px !important;
    padding-bottom:14px;
    border-bottom:1px solid var(--surgente-system-line-soft);
}

.surgente-task-header h2,
.surgente-map-onboarding-kicker,
.surgente-map-picker-title,
.surgente-filter-group label,
.surgente-last-task-status-label,
.surgente-stats-column h2,
.surgente-card-platforms strong,
.surgente-task-platforms h4{
    color: var(--surgente-system-accent) !important;
    font-size: 12px !important;
    line-height:1.2;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

.surgente-artist-card{
    display:grid !important;
    grid-template-columns:112px minmax(0,1fr) auto;
    gap:18px !important;
    align-items:start !important;
}

.surgente-artist-image img,
.surgente-profile-image img,
.surgente-current-image img,
.surgente-card-image img,
.surgente-starred-image,
.surgente-my-artist-image,
.surgente-map-popup-img{
    border:1px solid rgba(76,175,80,.20) !important;
    border-radius:14px !important;
    box-shadow:none !important;
}

.surgente-artist-image img{
    width:112px !important;
    height:112px !important;
}

.surgente-artist-name,
.surgente-profile-name,
.surgente-profile-details h1,
.surgente-user-info h1,
.surgente-card-name,
.surgente-starred-info h3,
.surgente-owner-title h3,
.surgente-my-artist-info h3{
    color:#ffffff !important;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
    font-weight:900 !important;
    letter-spacing:-.02em !important;
    text-shadow:none !important;
}

.surgente-artist-name,
.surgente-profile-name{
    font-size: clamp(28px,4vw,42px) !important;
    line-height:.98 !important;
}

.surgente-artist-bio,
.surgente-bio-content,
.surgente-map-picker-copy,
.surgente-map-onboarding-banner p{
    color:rgba(255,255,255,.74) !important;
    font-size:14px;
    line-height:1.6;
}

/* Tags / estados */
.surgente-genre-tag,
.surgente-genre-tag-small,
.surgente-user-status,
.surgente-commitment-badge,
.surgente-paused-badge,
.surgente-banned-badge,
.surgente-platform-status{
    background:transparent !important;
    border:1px solid rgba(76,175,80,.24) !important;
    color:var(--surgente-system-accent-strong) !important;
    border-radius:999px !important;
    box-shadow:none !important;
    font-size:11px !important;
    font-weight:850 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}

/* Plataformas como feed textual */
.surgente-platforms-list{
    gap:0 !important;
}

.surgente-platform-item,
.surgente-social-link,
.surgente-preview-row,
.surgente-card-platforms,
.surgente-faq-item summary,
.surgente-steps li,
.surgente-table td,
.surgente-table th{
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid var(--surgente-system-line-soft) !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

.surgente-platform-item{
    padding:13px 0 !important;
    min-height:0 !important;
}

.surgente-platform-item:hover,
.surgente-social-link:hover,
.surgente-faq-item summary:hover{
    background:transparent !important;
    color:#ffffff !important;
    border-bottom-color:rgba(76,175,80,.35) !important;
    transform:none !important;
}

.surgente-platform-icon{
    width:34px !important;
    height:34px !important;
    border:1px solid rgba(76,175,80,.18) !important;
    border-radius:10px !important;
    background:rgba(76,175,80,.06) !important;
    box-shadow:none !important;
}

.surgente-platform-name{
    color:#ffffff !important;
    font-size:15px !important;
    font-weight:850 !important;
}

.surgente-task-warning.surgente-task-warning--core,
.surgente-task-platforms .surgente-task-warning.surgente-task-warning--core{
    color:rgba(255,255,255,.62) !important;
    border-left:2px solid rgba(76,175,80,.50) !important;
    padding:0 0 0 12px !important;
    margin:0 0 14px !important;
    background:transparent !important;
    box-shadow:none !important;
}

.surgente-task-warning.surgente-task-warning--core strong,
.surgente-task-platforms .surgente-task-warning.surgente-task-warning--core strong{
    color:var(--surgente-system-accent) !important;
}

/* Formularios */
.surgente-form-wrapper{
    padding:0 !important;
}

.surgente-form input[type="text"],
.surgente-form input[type="url"],
.surgente-form input[type="email"],
.surgente-form input[type="file"],
.surgente-form textarea,
.surgente-form select,
.surgente-search-input,
.surgente-filter-select,
.surgente-map-geocode-row input{
    background:#050505 !important;
    border:1px solid rgba(76,175,80,.22) !important;
    border-radius:10px !important;
    color:#f4fff7 !important;
    box-shadow:none !important;
}

.surgente-form input:focus,
.surgente-form textarea:focus,
.surgente-form select:focus,
.surgente-search-input:focus,
.surgente-filter-select:focus,
.surgente-map-geocode-row input:focus{
    border-color:rgba(76,175,80,.56) !important;
    box-shadow:0 0 0 3px rgba(76,175,80,.08) !important;
    outline:none !important;
}

.surgente-form select option,
.surgente-filter-select option{
    background:#050505 !important;
    color:#f4fff7 !important;
}

.surgente-form-actions,
.surgente-filter-actions,
.surgente-map-picker-actions,
.surgente-map-onboarding-actions{
    padding-top:16px !important;
    margin-top:0 !important;
    border-top:1px solid var(--surgente-system-line-soft) !important;
}

/* Botones sobrios */
.surgente-btn,
.surgente-btn-primary,
.surgente-btn-secondary,
.surgente-btn-danger,
.surgente-btn-spotify,
.surgente-search-btn{
    background:transparent !important;
    border:1px solid rgba(76,175,80,.30) !important;
    color:var(--surgente-system-accent-strong) !important;
    border-radius:12px !important;
    box-shadow:none !important;
    text-shadow:none !important;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
    font-size:12px !important;
    font-weight:900 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
}

.surgente-btn:hover,
.surgente-btn-primary:hover,
.surgente-btn-secondary:hover,
.surgente-btn-danger:hover,
.surgente-btn-spotify:hover,
.surgente-search-btn:hover{
    background:rgba(76,175,80,.06) !important;
    border-color:rgba(76,175,80,.55) !important;
    color:#ffffff !important;
    transform:none !important;
    filter:none !important;
}

.surgente-btn-danger{
    border-color:rgba(239,68,68,.34) !important;
    color:#fca5a5 !important;
}

.surgente-btn-danger:hover{
    background:rgba(239,68,68,.08) !important;
    border-color:rgba(239,68,68,.55) !important;
}

/* Listas y grillas */
.surgente-artists-grid,
.surgente-starred-grid,
.surgente-about-manifesto,
.surgente-stats-grid{
    gap:0 !important;
}

.surgente-artist-card-mini,
.surgente-starred-card,
.surgente-manifesto-item,
.surgente-stat-card,
.surgente-my-artist,
.surgente-no-artist,
.surgente-no-results{
    padding:16px 0 !important;
    border-bottom:1px solid var(--surgente-system-line-soft) !important;
    transition:color .16s ease, border-color .16s ease !important;
}

.surgente-artist-card-mini:hover,
.surgente-starred-card:hover,
.surgente-manifesto-item:hover,
.surgente-stat-card:hover{
    border-bottom-color:rgba(76,175,80,.35) !important;
    transform:none !important;
}

.surgente-card-image{
    border-radius:14px !important;
    border:1px solid rgba(76,175,80,.16);
    background:#050505 !important;
}

.surgente-card-image.surgente-placeholder{
    background:rgba(76,175,80,.06) !important;
}

.surgente-stat-card{
    text-align:left !important;
}

.surgente-stat-value{
    color:var(--surgente-system-accent) !important;
}

.surgente-stat-label,
.surgente-mini-title,
.surgente-filter-group label{
    color:rgba(255,255,255,.45) !important;
}

/* Perfil artista */
.surgente-artist-profile-v2 .surgente-artist-header.surgente-card{
    display:grid !important;
    grid-template-columns:150px minmax(0,1fr) !important;
    gap:20px !important;
    padding: 0 0 18px !important;
    border-bottom:1px solid var(--surgente-system-line-soft) !important;
}

.surgente-artist-hero:before{
    display:none !important;
}

.surgente-owner-stats,
.surgente-artist-profile-v2 .surgente-owner-stats{
    border:1px solid var(--surgente-system-line-soft) !important;
    border-radius:12px !important;
    background:transparent !important;
}

.surgente-stat,
.surgente-artist-profile-v2 .surgente-stat{
    background:transparent !important;
    border:0 !important;
    border-right:1px solid var(--surgente-system-line-soft) !important;
    border-bottom:1px solid var(--surgente-system-line-soft) !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

/* Mapa Comunidad */
.surgente-artists-map-page{
    width:min(1120px, calc(100% - 28px));
}

.surgente-map-shell,
.surgente-map-picker-block{
    padding:16px 0 !important;
}

.surgente-location-picker,
.surgente-artists-map{
    border:1px solid rgba(76,175,80,.24) !important;
    border-radius:14px !important;
    background:#050505 !important;
}

.surgente-map-header .surgente-eyebrow{
    color:var(--surgente-system-accent) !important;
}

.surgente-map-pin{
    background:var(--surgente-system-accent) !important;
    box-shadow:0 0 0 5px rgba(76,175,80,.18),0 10px 22px rgba(0,0,0,.42) !important;
}

.surgente-map-meta,
.leaflet-popup-content-wrapper,
.leaflet-popup-tip{
    background:#050505 !important;
    border-color:rgba(76,175,80,.24) !important;
    color:rgba(255,255,255,.72) !important;
}

.surgente-map-meta strong,
.surgente-location-status,
.surgente-map-popup-body a{
    color:var(--surgente-system-accent) !important;
}

/* Mensajes */
.surgente-message h3,
.surgente-map-onboarding-banner h3{
    color:#ffffff !important;
    font-size:16px !important;
    line-height:1.2 !important;
    font-weight:900 !important;
    margin:0 0 6px !important;
}

.surgente-message p{
    color:rgba(255,255,255,.66) !important;
}

.surgente-message-success,
.surgente-message-info,
.surgente-message-warning,
.surgente-message-error{
    border-left:2px solid rgba(76,175,80,.50) !important;
    padding-left:12px !important;
}

.surgente-message-error{
    border-left-color:rgba(239,68,68,.55) !important;
}

.surgente-message-warning{
    border-left-color:rgba(245,158,11,.55) !important;
}

/* Mobile */
@media (max-width:860px){
    .surgente-feed,
    .surgente-artists-list,
    .surgente-artist-profile,
    .surgente-artist-form-container,
    .surgente-user-profile,
    .surgente-stats-wrapper,
    .surgente-starred-list,
    .surgente-about,
    .surgente-artists-map-page{
        width:calc(100% - 18px);
        padding:18px 14px !important;
        border-radius:14px !important;
    }

    .surgente-feed > .surgente-module-nav,
    .surgente-artists-list > .surgente-module-nav,
    .surgente-artist-profile > .surgente-module-nav,
    .surgente-artist-form-container > .surgente-module-nav,
    .surgente-user-profile > .surgente-module-nav,
    .surgente-stats-wrapper > .surgente-module-nav,
    .surgente-starred-list > .surgente-module-nav,
    .surgente-about > .surgente-module-nav,
    .surgente-artists-map-page > .surgente-module-nav{
        margin:0 0 16px !important;
        padding:0 0 12px !important;
        border-bottom:1px solid var(--surgente-system-line) !important;
    }

    .surgente-module-nav .surgente-module-nav-toggle{
        border:0 !important;
        border-radius:0 !important;
        padding:0 !important;
        background:transparent !important;
    }

    .surgente-module-nav .surgente-module-nav-toggle-label{
        color:var(--surgente-system-accent) !important;
    }

    .surgente-module-nav .surgente-nav-item{
        padding:11px 0 !important;
        color:rgba(255,255,255,.82) !important;
        border-bottom:1px solid var(--surgente-system-line-soft) !important;
        background:transparent !important;
    }

    .surgente-module-nav .surgente-active::before{
        background:var(--surgente-system-accent) !important;
        box-shadow:0 0 10px rgba(76,175,80,.28) !important;
    }

    .surgente-artist-card{
        display:flex !important;
        flex-direction:column !important;
        gap:14px !important;
    }

    .surgente-artist-image img{
        width:92px !important;
        height:92px !important;
    }

    .surgente-artist-actions{
        width:100%;
        padding-left:0;
    }

    .surgente-artist-profile-v2 .surgente-artist-header.surgente-card{
        grid-template-columns:1fr !important;
        text-align:center;
        justify-items:center;
    }

    .surgente-form-row,
    .surgente-stats-grid,
    .surgente-owner-stats,
    .surgente-artist-profile-v2 .surgente-owner-stats{
        grid-template-columns:1fr !important;
    }

    .surgente-form-actions .surgente-btn,
    .surgente-quick-actions .surgente-btn,
    .surgente-filter-actions .surgente-btn{
        width:100%;
    }

    .surgente-page-header h1,
    .surgente-about-hero h1,
    .surgente-map-header h2,
    .surgente-welcome h2,
    .surgente-no-task h2{
        font-size:22px !important;
        letter-spacing:.11em !important;
    }
}

/* =========================================================
   Ajuste fino 2.2.2 — Comunidad system theme
   - Estados sin tildes emoji
   - Perfil / Mi Artista más sobrio
   - Menú reordenado desde template
   ========================================================= */

/* Estados de plataformas: reemplaza emoji por texto sobrio */
.surgente-platform-status{
    min-width:64px !important;
    height:auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:5px 9px !important;
    font-size:10px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    border-radius:999px !important;
    border:1px solid rgba(76,175,80,.24) !important;
    background:transparent !important;
    box-shadow:none !important;
    filter:none !important;
}

.surgente-platform-item.completed .surgente-platform-status{
    color:#8ef29c !important;
    border-color:rgba(76,175,80,.38) !important;
    background:rgba(76,175,80,.055) !important;
}

.surgente-platform-item.pending .surgente-platform-status{
    color:rgba(255,255,255,.48) !important;
    border-color:rgba(255,255,255,.16) !important;
    background:transparent !important;
}

/* Perfil: menos cartel, más ficha de sistema */
.surgente-user-profile .surgente-profile-header{
    display:flex !important;
    align-items:center !important;
    gap:18px !important;
    padding:0 0 18px !important;
    margin:0 0 20px !important;
    border-bottom:1px solid var(--surgente-system-line-soft) !important;
}

.surgente-user-profile .surgente-user-avatar img,
.surgente-user-avatar img{
    width:76px !important;
    height:76px !important;
    border-radius:16px !important;
    border:1px solid rgba(76,175,80,.22) !important;
    box-shadow:none !important;
}

.surgente-user-profile .surgente-user-info h1{
    font-size:clamp(24px,3vw,34px) !important;
    line-height:1 !important;
    letter-spacing:-.03em !important;
    text-transform:none !important;
    color:#ffffff !important;
    margin:0 0 6px !important;
}

.surgente-user-profile .surgente-profile-section{
    padding:18px 0 !important;
    margin:0 !important;
    border-bottom:1px solid var(--surgente-system-line-soft) !important;
}

.surgente-user-profile .surgente-profile-section h2,
.surgente-profile-section h2{
    color:var(--surgente-system-accent) !important;
    font-size:14px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    letter-spacing:.16em !important;
    text-transform:uppercase !important;
    margin:0 0 14px !important;
}

.surgente-user-profile .surgente-profile-section h2::after,
.surgente-profile-section h2::after{
    display:none !important;
    content:none !important;
}

.surgente-my-artist{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:18px !important;
    padding:0 !important;
    border-bottom:0 !important;
}

.surgente-my-artist-info{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    min-width:0 !important;
}

.surgente-my-artist-image{
    width:58px !important;
    height:58px !important;
    flex:0 0 58px !important;
    object-fit:cover !important;
    border-radius:14px !important;
}

.surgente-my-artist-info h3{
    font-size:16px !important;
    line-height:1.1 !important;
    margin:0 0 4px !important;
    color:#fff !important;
    letter-spacing:0 !important;
}

.surgente-my-artist-info p{
    margin:0 !important;
    font-size:13px !important;
    color:rgba(255,255,255,.52) !important;
}

/* Estadísticas en perfil: números más legibles, sin cajas verdes pesadas */
.surgente-user-profile .surgente-stats-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:0 !important;
    border:1px solid var(--surgente-system-line-soft) !important;
    border-radius:12px !important;
    overflow:hidden !important;
}

.surgente-user-profile .surgente-stat-card{
    padding:14px 14px !important;
    border:0 !important;
    border-right:1px solid var(--surgente-system-line-soft) !important;
    background:transparent !important;
    min-height:74px !important;
}

.surgente-user-profile .surgente-stat-card:last-child{
    border-right:0 !important;
}

.surgente-user-profile .surgente-stat-value{
    display:block !important;
    font-size:18px !important;
    line-height:1 !important;
    margin:0 0 7px !important;
    color:var(--surgente-system-accent) !important;
}

.surgente-user-profile .surgente-stat-label{
    display:block !important;
    font-size:11px !important;
    line-height:1.25 !important;
    color:rgba(255,255,255,.48) !important;
}

/* Perfil público de artista: evita encabezados gigantes raros */
.surgente-artist-profile-v2 .surgente-profile-name,
.surgente-artist-profile-v2 .surgente-profile-details h1{
    font-size:clamp(28px,4vw,46px) !important;
    line-height:.98 !important;
    letter-spacing:-.04em !important;
    color:#fff !important;
}

.surgente-artist-profile-v2 .surgente-owner-card{
    padding:18px 0 !important;
    border-top:1px solid var(--surgente-system-line-soft) !important;
}

/* Navegación: compacta y sin superposición */
.surgente-module-nav .surgente-nav-items{
    gap:18px !important;
    row-gap:8px !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:center !important;
}

.surgente-module-nav .surgente-nav-item{
    white-space:nowrap !important;
}

@media (max-width:860px){
    .surgente-user-profile .surgente-profile-header{
        align-items:flex-start !important;
        text-align:left !important;
    }

    .surgente-my-artist{
        flex-direction:column !important;
        align-items:flex-start !important;
    }

    .surgente-user-profile .surgente-stats-grid{
        grid-template-columns:1fr 1fr !important;
    }

    .surgente-user-profile .surgente-stat-card:nth-child(2n){
        border-right:0 !important;
    }

    .surgente-platform-status{
        min-width:58px !important;
        font-size:9px !important;
        padding:5px 7px !important;
    }
}

/* Ajuste fino 2.2.3 — Estado visible más claro */
.surgente-platform-status{
    min-width:108px !important;
}

/* 2.3.0 — Capa de escucha / feedback cualitativo */
.surgente-task-feedback{
    margin-top:22px !important;
    padding:22px !important;
    border:1px solid rgba(84, 220, 116, .32) !important;
    border-radius:18px !important;
    background:#030403 !important;
    box-shadow:none !important;
}
.surgente-feedback-head{
    border-bottom:1px solid rgba(84,220,116,.18) !important;
    padding-bottom:14px !important;
    margin-bottom:16px !important;
}
.surgente-feedback-kicker{
    display:block !important;
    color:#54dc74 !important;
    font-size:10px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    letter-spacing:.16em !important;
    margin-bottom:6px !important;
}
.surgente-task-feedback h3{
    margin:0 0 8px !important;
    color:#fff !important;
    font-size:22px !important;
    letter-spacing:.04em !important;
    text-transform:uppercase !important;
}
.surgente-task-feedback p{
    margin:0 !important;
    color:rgba(255,255,255,.62) !important;
    line-height:1.55 !important;
}
.surgente-task-feedback-form label{
    display:block !important;
    color:#54dc74 !important;
    font-size:11px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    letter-spacing:.12em !important;
    margin-bottom:8px !important;
}
.surgente-task-feedback textarea,
.surgente-task-feedback input[type="number"]{
    width:100% !important;
    color:#fff !important;
    background:#000 !important;
    border:1px solid rgba(84,220,116,.28) !important;
    border-radius:14px !important;
    padding:14px !important;
    outline:none !important;
}
.surgente-task-feedback textarea:focus,
.surgente-task-feedback input[type="number"]:focus{
    border-color:rgba(84,220,116,.72) !important;
}
.surgente-feedback-scores{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:12px !important;
    margin-top:14px !important;
}
.surgente-feedback-actions{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    flex-wrap:wrap !important;
    margin-top:16px !important;
}
.surgente-feedback-state{
    color:rgba(255,255,255,.58) !important;
    font-size:12px !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
    letter-spacing:.08em !important;
}
.surgente-feedback-state.is-saved{color:#54dc74 !important;}
.surgente-feedback-state.is-error{color:#ff7373 !important; text-transform:none !important; letter-spacing:0 !important;}

.surgente-feedback-received{
    margin-top:28px !important;
    padding-top:22px !important;
    border-top:1px solid rgba(84,220,116,.18) !important;
}
.surgente-feedback-received h3{
    color:#54dc74 !important;
    font-size:22px !important;
    text-transform:uppercase !important;
    letter-spacing:.14em !important;
    margin:0 0 12px !important;
}
.surgente-feedback-item{
    padding:16px 0 !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-item-text{
    color:#fff !important;
    line-height:1.55 !important;
    margin:0 0 10px !important;
}
.surgente-feedback-item-meta{
    display:flex !important;
    gap:10px !important;
    flex-wrap:wrap !important;
    color:rgba(255,255,255,.52) !important;
    font-size:12px !important;
}
.surgente-feedback-rating-actions{
    display:flex !important;
    gap:8px !important;
    flex-wrap:wrap !important;
    margin-top:12px !important;
}
.surgente-feedback-rate-btn{
    border:1px solid rgba(84,220,116,.26) !important;
    background:#000 !important;
    color:#fff !important;
    border-radius:999px !important;
    padding:8px 11px !important;
    font-size:11px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    cursor:pointer !important;
}
.surgente-feedback-rate-btn:hover,
.surgente-feedback-rate-btn.is-active{
    border-color:#54dc74 !important;
    color:#54dc74 !important;
}
@media (max-width:760px){
    .surgente-feedback-scores{grid-template-columns:1fr !important;}
    .surgente-task-feedback{padding:18px !important;}
}

/* 2.3.4 — Devoluciones públicas + panel de valoración */
.surgente-feedback-panel{
    max-width:1120px !important;
    margin:0 auto !important;
}
.surgente-feedback-panel-hero,
.surgente-feedback-empty{
    margin-top:22px !important;
    padding:28px !important;
    border:1px solid rgba(84,220,116,.22) !important;
    background:#030403 !important;
    border-radius:22px !important;
}
.surgente-feedback-panel-hero h1,
.surgente-feedback-empty h3{
    margin:0 0 10px !important;
    color:#fff !important;
    font-size:clamp(28px, 4vw, 46px) !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
}
.surgente-feedback-panel-hero p,
.surgente-feedback-empty p,
.surgente-feedback-public-intro{
    color:rgba(255,255,255,.64) !important;
    line-height:1.6 !important;
    max-width:780px !important;
}
.surgente-feedback-tabs{
    display:flex !important;
    gap:10px !important;
    flex-wrap:wrap !important;
    margin:18px 0 !important;
}
.surgente-feedback-tabs a{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    border:1px solid rgba(255,255,255,.13) !important;
    color:rgba(255,255,255,.72) !important;
    background:#050505 !important;
    border-radius:999px !important;
    padding:10px 14px !important;
    text-decoration:none !important;
    text-transform:uppercase !important;
    letter-spacing:.08em !important;
    font-size:11px !important;
    font-weight:900 !important;
}
.surgente-feedback-tabs a span{
    display:inline-flex !important;
    min-width:22px !important;
    height:22px !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.08) !important;
    color:#fff !important;
}
.surgente-feedback-tabs a.is-active,
.surgente-feedback-tabs a:hover{
    border-color:rgba(84,220,116,.62) !important;
    color:#54dc74 !important;
}
.surgente-feedback-list{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
}
.surgente-feedback-card{
    padding:20px !important;
    border-radius:20px !important;
    border:1px solid rgba(255,255,255,.12) !important;
    background:#030303 !important;
}
.surgente-feedback-card-head,
.surgente-feedback-history-item{
    display:flex !important;
    gap:13px !important;
    align-items:flex-start !important;
}
.surgente-feedback-card-head{
    margin-bottom:14px !important;
}
.surgente-feedback-card-head h3{
    margin:0 !important;
    color:#fff !important;
    font-size:16px !important;
    letter-spacing:.02em !important;
}
.surgente-feedback-card-head p,
.surgente-feedback-history-meta{
    display:flex !important;
    gap:8px !important;
    flex-wrap:wrap !important;
    margin:4px 0 0 !important;
    color:rgba(255,255,255,.52) !important;
    font-size:12px !important;
}
.surgente-feedback-reviewer-avatar{
    width:42px !important;
    height:42px !important;
    border-radius:14px !important;
    overflow:hidden !important;
    flex:0 0 auto !important;
    border:1px solid rgba(84,220,116,.24) !important;
    background:linear-gradient(135deg, rgba(84,220,116,.16), rgba(255,255,255,.05)) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#54dc74 !important;
    font-weight:900 !important;
}
.surgente-feedback-reviewer-avatar img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
}
.surgente-feedback-scoreline span,
.surgente-feedback-public-rating{
    border:1px solid rgba(84,220,116,.18) !important;
    color:rgba(255,255,255,.70) !important;
    border-radius:999px !important;
    padding:5px 8px !important;
    background:rgba(84,220,116,.05) !important;
}
.surgente-feedback-public-history{
    margin-top:22px !important;
    padding:22px !important;
    border:1px solid rgba(84,220,116,.20) !important;
    border-radius:20px !important;
    background:#030403 !important;
}
.surgente-feedback-history-list{
    display:grid !important;
    gap:14px !important;
}
.surgente-feedback-history-item{
    padding:14px 0 !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-history-item:last-child{
    border-bottom:0 !important;
}
.surgente-feedback-history-body{
    min-width:0 !important;
}
.surgente-feedback-history-meta strong{
    color:#fff !important;
}
.surgente-feedback-history-body p{
    margin:8px 0 0 !important;
    color:rgba(255,255,255,.82) !important;
    line-height:1.55 !important;
}
.surgente-feedback-history-empty{
    color:rgba(255,255,255,.58) !important;
    border:1px dashed rgba(255,255,255,.16) !important;
    border-radius:16px !important;
    padding:16px !important;
}
.surgente-feedback-received .surgente-feedback-public-intro{
    margin:0 0 14px !important;
}
@media (max-width:760px){
    .surgente-feedback-panel-hero,
    .surgente-feedback-empty,
    .surgente-feedback-card,
    .surgente-feedback-public-history{
        padding:18px !important;
    }
    .surgente-feedback-tabs{
        gap:8px !important;
    }
    .surgente-feedback-tabs a{
        width:100% !important;
        justify-content:space-between !important;
    }
}

/* 2.3.5 — Devoluciones opcionales + estética más cercana a tarjetas CORE */
.surgente-feedback-panel-hero{
    border-color:rgba(84,220,116,.30) !important;
    background:radial-gradient(circle at 50% 0%, rgba(84,220,116,.10), transparent 38%), #030403 !important;
}
.surgente-feedback-panel-hero h1,
.surgente-feedback-empty h3{
    color:#54dc74 !important;
    text-shadow:none !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
}
.surgente-feedback-panel-hero h1::after{
    content:'' !important;
    display:block !important;
    width:58px !important;
    height:1px !important;
    margin:14px 0 0 !important;
    background:linear-gradient(90deg, rgba(84,220,116,.75), transparent) !important;
}
.surgente-feedback-panel-hero .surgente-feedback-kicker{
    display:none !important;
}
.surgente-feedback-empty h3{
    font-size:clamp(24px, 3.2vw, 38px) !important;
}
.surgente-task-feedback{
    border-color:rgba(84,220,116,.24) !important;
    background:radial-gradient(circle at 18% 0%, rgba(84,220,116,.08), transparent 38%), #030403 !important;
}
.surgente-task-feedback h3,
.surgente-feedback-public-history h3,
.surgente-feedback-received h3{
    color:#54dc74 !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
}
.surgente-task-feedback .surgente-feedback-kicker{
    display:inline-flex !important;
    width:auto !important;
    color:#030403 !important;
    background:#54dc74 !important;
    border-radius:999px !important;
    padding:5px 9px !important;
    letter-spacing:.10em !important;
    margin-bottom:10px !important;
}
.surgente-feedback-state.is-saved{
    color:#54dc74 !important;
}
.surgente-feedback-card{
    background:linear-gradient(180deg, rgba(84,220,116,.045), rgba(0,0,0,.0)), #030303 !important;
}


/* v2.3.7 — evita que el GIF/logo institucional de la tarea Surgente se vea cortado */
.surgente-artist-card--surgente .surgente-artist-image {
    width: 112px !important;
    height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #050505 !important;
    border: 1px solid rgba(76,175,80,.20) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

.surgente-artist-card--surgente .surgente-artist-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 6px !important;
    background: #050505 !important;
    border: 0 !important;
    border-radius: 12px !important;
}

/* v2.4.5 — Onboarding guiado para crear artista y completar primera tarea */
.surgente-onboarding-kicker{
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    margin:0 0 8px !important;
    color:var(--surgente-system-accent, #4CAF50) !important;
    font-size:11px !important;
    line-height:1.2 !important;
    font-weight:900 !important;
    letter-spacing:.16em !important;
    text-transform:uppercase !important;
}

.surgente-create-prompt .surgente-onboarding-steps,
.surgente-form-guide-steps,
.surgente-first-task-steps{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:0 !important;
    margin:18px 0 18px !important;
    border-top:1px solid var(--surgente-system-line-soft, rgba(255,255,255,.075)) !important;
    border-bottom:1px solid var(--surgente-system-line-soft, rgba(255,255,255,.075)) !important;
}

.surgente-create-prompt .surgente-onboarding-steps{
    max-width:840px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:left !important;
}

.surgente-onboarding-step,
.surgente-form-guide-step,
.surgente-first-task-step{
    position:relative !important;
    padding:14px 16px !important;
    border-right:1px solid var(--surgente-system-line-soft, rgba(255,255,255,.075)) !important;
    background:transparent !important;
    box-shadow:none !important;
}

.surgente-onboarding-step:last-child,
.surgente-form-guide-step:last-child,
.surgente-first-task-step:last-child{
    border-right:0 !important;
}

.surgente-onboarding-step > span,
.surgente-first-task-step > span{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:22px !important;
    height:22px !important;
    margin:0 0 8px !important;
    border:1px solid rgba(76,175,80,.38) !important;
    border-radius:999px !important;
    color:var(--surgente-system-accent-strong, #9af0ad) !important;
    font-size:11px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.surgente-onboarding-step strong,
.surgente-form-guide-step strong,
.surgente-first-task-step strong{
    display:block !important;
    margin:0 0 5px !important;
    color:#ffffff !important;
    font-size:13px !important;
    line-height:1.25 !important;
    font-weight:900 !important;
    letter-spacing:.02em !important;
}

.surgente-onboarding-step p,
.surgente-first-task-step p,
.surgente-form-guide-step span{
    display:block !important;
    margin:0 !important;
    color:rgba(255,255,255,.62) !important;
    font-size:12.5px !important;
    line-height:1.48 !important;
}

.surgente-form-guide,
.surgente-first-task-guide{
    margin:0 !important;
    padding:18px 0 !important;
    border-bottom:1px solid var(--surgente-system-line-soft, rgba(255,255,255,.075)) !important;
    background:transparent !important;
    box-shadow:none !important;
}

.surgente-form-guide h3,
.surgente-first-task-guide h3{
    margin:0 0 8px !important;
    color:#ffffff !important;
    font-size:clamp(18px, 2.4vw, 26px) !important;
    line-height:1.05 !important;
    font-weight:900 !important;
    letter-spacing:-.02em !important;
    text-transform:none !important;
}

.surgente-form-guide > p,
.surgente-first-task-guide > p{
    max-width:760px !important;
    margin:0 !important;
    color:rgba(255,255,255,.66) !important;
    font-size:14px !important;
    line-height:1.55 !important;
}

.surgente-field-help{
    display:block !important;
    margin-top:7px !important;
    color:rgba(255,255,255,.54) !important;
    font-size:12.5px !important;
    line-height:1.45 !important;
}

.surgente-field-help code,
.surgente-hint code{
    padding:2px 5px !important;
    border:1px solid rgba(76,175,80,.20) !important;
    border-radius:6px !important;
    background:#050505 !important;
    color:var(--surgente-system-accent-strong, #9af0ad) !important;
}

.surgente-post-create-message .surgente-btn,
.surgente-first-task-guide .surgente-btn{
    margin-top:16px !important;
}

.surgente-post-create-message h3{
    margin-bottom:8px !important;
}

.surgente-post-create-message p{
    margin-bottom:14px !important;
}

html{
    scroll-behavior:smooth;
}

@media (max-width:760px){
    .surgente-create-prompt .surgente-onboarding-steps,
    .surgente-form-guide-steps,
    .surgente-first-task-steps{
        grid-template-columns:1fr !important;
    }

    .surgente-onboarding-step,
    .surgente-form-guide-step,
    .surgente-first-task-step{
        border-right:0 !important;
        border-bottom:1px solid var(--surgente-system-line-soft, rgba(255,255,255,.075)) !important;
        padding:13px 0 !important;
    }

    .surgente-onboarding-step:last-child,
    .surgente-form-guide-step:last-child,
    .surgente-first-task-step:last-child{
        border-bottom:0 !important;
    }
}


/* =========================================================
   2.4.6 – Fix robusto de Leaflet
   Evita mapas negros/rotos cuando el tema o el navegador pisan imágenes,
   filtros o tamaño inicial del contenedor.
   ========================================================= */
.surgente-location-picker,
.surgente-artists-map{
    position: relative !important;
    z-index: 1 !important;
    background: #07100b !important;
    min-height: 360px !important;
    isolation: isolate !important;
}

.surgente-location-picker .leaflet-tile-pane,
.surgente-artists-map .leaflet-tile-pane{
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.surgente-location-picker.leaflet-container img,
.surgente-artists-map.leaflet-container img,
.surgente-location-picker .leaflet-tile,
.surgente-artists-map .leaflet-tile,
.surgente-location-picker .leaflet-marker-icon,
.surgente-artists-map .leaflet-marker-icon{
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.surgente-location-picker .leaflet-tile,
.surgente-artists-map .leaflet-tile{
    display: block !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.surgente-location-picker .leaflet-control-container,
.surgente-artists-map .leaflet-control-container{
    position: relative !important;
    z-index: 500 !important;
}


/* =========================================================
   2.4.7 – Leaflet blindado + tiles vía proxy propio
   Corrige mapas negros por CSP, caché, temas que pisan Leaflet o tiles externos bloqueados.
   ========================================================= */
.surgente-location-picker.leaflet-container,
.surgente-artists-map.leaflet-container{
    overflow: hidden !important;
    font-family: inherit !important;
}

.surgente-location-picker .leaflet-map-pane,
.surgente-artists-map .leaflet-map-pane,
.surgente-location-picker .leaflet-tile-pane,
.surgente-artists-map .leaflet-tile-pane,
.surgente-location-picker .leaflet-overlay-pane,
.surgente-artists-map .leaflet-overlay-pane,
.surgente-location-picker .leaflet-shadow-pane,
.surgente-artists-map .leaflet-shadow-pane,
.surgente-location-picker .leaflet-marker-pane,
.surgente-artists-map .leaflet-marker-pane,
.surgente-location-picker .leaflet-tooltip-pane,
.surgente-artists-map .leaflet-tooltip-pane,
.surgente-location-picker .leaflet-popup-pane,
.surgente-artists-map .leaflet-popup-pane{
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

.surgente-location-picker .leaflet-map-pane,
.surgente-artists-map .leaflet-map-pane{
    z-index: 1 !important;
}

.surgente-location-picker .leaflet-tile-pane,
.surgente-artists-map .leaflet-tile-pane{
    z-index: 200 !important;
}

.surgente-location-picker .leaflet-overlay-pane,
.surgente-artists-map .leaflet-overlay-pane{
    z-index: 400 !important;
}

.surgente-location-picker .leaflet-shadow-pane,
.surgente-artists-map .leaflet-shadow-pane{
    z-index: 500 !important;
}

.surgente-location-picker .leaflet-marker-pane,
.surgente-artists-map .leaflet-marker-pane{
    z-index: 600 !important;
}

.surgente-location-picker .leaflet-tooltip-pane,
.surgente-artists-map .leaflet-tooltip-pane{
    z-index: 650 !important;
}

.surgente-location-picker .leaflet-popup-pane,
.surgente-artists-map .leaflet-popup-pane{
    z-index: 700 !important;
}

.surgente-location-picker .leaflet-tile-container,
.surgente-artists-map .leaflet-tile-container,
.surgente-location-picker .leaflet-marker-pane,
.surgente-artists-map .leaflet-marker-pane{
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

.surgente-location-picker .leaflet-tile,
.surgente-artists-map .leaflet-tile{
    position: absolute !important;
    width: 256px !important;
    height: 256px !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: fill !important;
    transform-origin: 0 0 !important;
    pointer-events: none !important;
}

.surgente-location-picker .leaflet-control-container,
.surgente-artists-map .leaflet-control-container{
    position: static !important;
    z-index: auto !important;
}

.surgente-location-picker .leaflet-top,
.surgente-location-picker .leaflet-bottom,
.surgente-artists-map .leaflet-top,
.surgente-artists-map .leaflet-bottom{
    position: absolute !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}

.surgente-location-picker .leaflet-control,
.surgente-artists-map .leaflet-control{
    pointer-events: auto !important;
}


/* v2.5.0 — feedback de tarea sin tarjeta interna: solo líneas divisorias sutiles */
.surgente-task-feedback{
    position:relative !important;
    margin:28px 0 22px !important;
    padding:24px 0 22px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.surgente-task-feedback::before,
.surgente-task-feedback::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    height:1px !important;
    pointer-events:none !important;
    background:linear-gradient(90deg, rgba(84,220,116,.28), rgba(84,220,116,.12) 55%, transparent) !important;
}
.surgente-task-feedback::before{
    top:0 !important;
}
.surgente-task-feedback::after{
    bottom:0 !important;
}
.surgente-task-feedback .surgente-feedback-head{
    border-bottom:1px solid rgba(84,220,116,.14) !important;
    padding-bottom:14px !important;
    margin-bottom:16px !important;
}
@media (max-width:680px){
    .surgente-task-feedback{
        padding:22px 0 20px !important;
    }
}


/* v2.5.3 — etiquetas públicas Inactivo en perfil y paneles */
.surgente-artist-card-mini{
    position:relative !important;
}

.surgente-artist-state-badge,
.surgente-paused-badge,
.surgente-banned-badge{
    position:absolute !important;
    top:10px !important;
    left:10px !important;
    right:auto !important;
    z-index:9 !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    min-height:26px !important;
    padding:5px 10px 5px 9px !important;
    border-radius:999px !important;
    background:rgba(3, 8, 6, .88) !important;
    color:#f7fff8 !important;
    border:1px solid rgba(255,255,255,.28) !important;
    box-shadow:0 8px 18px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter:blur(7px) saturate(120%) !important;
    -webkit-backdrop-filter:blur(7px) saturate(120%) !important;
    font-size:11px !important;
    font-weight:900 !important;
    line-height:1 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    text-shadow:0 1px 2px rgba(0,0,0,.75) !important;
    white-space:nowrap !important;
}

.surgente-artist-state-badge::before,
.surgente-paused-badge::before,
.surgente-banned-badge::before{
    content:"" !important;
    width:7px !important;
    height:7px !important;
    border-radius:999px !important;
    flex:0 0 auto !important;
    background:#54dc74 !important;
    box-shadow:0 0 0 3px rgba(84,220,116,.16), 0 0 10px rgba(84,220,116,.55) !important;
}

.surgente-artist-state-badge--active{
    border-color:rgba(84,220,116,.68) !important;
}

.surgente-artist-state-badge--inactive,
.surgente-banned-badge{
    border-color:rgba(190,199,190,.62) !important;
    color:#eef6ee !important;
}

.surgente-artist-state-badge--inactive::before,
.surgente-banned-badge::before{
    background:#b8c0b8 !important;
    box-shadow:0 0 0 3px rgba(184,192,184,.16), 0 0 10px rgba(184,192,184,.42) !important;
}

.surgente-artist-state-badge--paused,
.surgente-paused-badge{
    border-color:rgba(251,191,36,.68) !important;
    color:#fff8e6 !important;
}

.surgente-artist-state-badge--paused::before,
.surgente-paused-badge::before{
    background:#fbbf24 !important;
    box-shadow:0 0 0 3px rgba(251,191,36,.16), 0 0 10px rgba(251,191,36,.48) !important;
}

.surgente-artist-card-mini.is-banned{
    opacity:.82 !important;
}

.surgente-artist-card-mini.is-paused{
    opacity:.86 !important;
}

.surgente-artist-card-mini.is-banned .surgente-card-image img,
.surgente-artist-card-mini.is-paused .surgente-card-image img{
    filter:grayscale(72%) brightness(.72) contrast(1.08) !important;
}

@media (max-width:680px){
    .surgente-artist-state-badge,
    .surgente-paused-badge,
    .surgente-banned-badge{
        top:8px !important;
        left:8px !important;
        min-height:24px !important;
        padding:5px 9px !important;
        font-size:10px !important;
    }
}

/* Botón de chat en perfil público de artista */
.surgente-owner-message-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.38rem;
    min-height:28px;
    padding:.38rem .72rem;
    border-radius:999px;
    border:1px solid rgba(72,235,120,.42);
    background:rgba(72,235,120,.10);
    color:#b9ffc9 !important;
    font-size:.76rem;
    line-height:1;
    font-weight:800;
    letter-spacing:.03em;
    text-transform:uppercase;
    text-decoration:none !important;
    white-space:nowrap;
}

.surgente-owner-message-action:hover,
.surgente-owner-message-action:focus{
    border-color:rgba(72,235,120,.72);
    background:rgba(72,235,120,.16);
    color:#fff !important;
}

.surgente-owner-message-action--native{
    padding:0;
    border:0;
    background:transparent;
}

.surgente-owner-message-action--native a,
.surgente-owner-message-action--native button,
.surgente-owner-message-action--native .um-message-btn,
.surgente-owner-message-action--native .um-button,
.surgente-owner-message-action--native .better-messages-button{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:28px !important;
    padding:.38rem .72rem !important;
    border-radius:999px !important;
    border:1px solid rgba(72,235,120,.42) !important;
    background:rgba(72,235,120,.10) !important;
    color:#b9ffc9 !important;
    font-size:.76rem !important;
    line-height:1 !important;
    font-weight:800 !important;
    letter-spacing:.03em !important;
    text-transform:uppercase !important;
    text-decoration:none !important;
    box-shadow:none !important;
}

.surgente-owner-message-action--native a:hover,
.surgente-owner-message-action--native button:hover,
.surgente-owner-message-action--native .um-message-btn:hover,
.surgente-owner-message-action--native .um-button:hover,
.surgente-owner-message-action--native .better-messages-button:hover{
    border-color:rgba(72,235,120,.72) !important;
    background:rgba(72,235,120,.16) !important;
    color:#fff !important;
}

@media (max-width: 640px){
    .surgente-owner-title{
        align-items:flex-start;
    }

    .surgente-owner-message-action{
        width:auto;
    }
}


/* =========================================================
   Perfil: privacidad y eliminación de cuenta
   ========================================================= */
.surgente-privacy-zone{
    margin-top:8px !important;
}

.surgente-privacy-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
}

.surgente-privacy-card{
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:14px !important;
    padding:16px !important;
    background:rgba(255,255,255,.025) !important;
}

.surgente-privacy-card-danger{
    border-color:rgba(239,68,68,.28) !important;
    background:rgba(239,68,68,.045) !important;
}

.surgente-privacy-card h3{
    margin:0 0 8px !important;
    font-size:16px !important;
    line-height:1.2 !important;
    color:#fff !important;
}

.surgente-privacy-card p{
    margin:0 0 14px !important;
    color:rgba(255,255,255,.62) !important;
    font-size:13px !important;
    line-height:1.45 !important;
}

.surgente-privacy-form{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
}

.surgente-privacy-confirm-label{
    color:rgba(255,255,255,.72) !important;
    font-size:12px !important;
    line-height:1.35 !important;
}

.surgente-privacy-confirm-label strong{
    color:#fff !important;
    letter-spacing:.04em !important;
}

.surgente-privacy-confirm-input{
    width:100% !important;
    min-height:40px !important;
    border-radius:10px !important;
    border:1px solid rgba(255,255,255,.14) !important;
    background:rgba(0,0,0,.32) !important;
    color:#fff !important;
    padding:10px 12px !important;
    outline:none !important;
}

.surgente-privacy-confirm-input:focus{
    border-color:rgba(239,68,68,.48) !important;
    box-shadow:0 0 0 3px rgba(239,68,68,.10) !important;
}

.surgente-privacy-notice{
    margin:0 0 18px !important;
    padding:12px 14px !important;
    border-radius:12px !important;
    font-size:14px !important;
    line-height:1.4 !important;
}

.surgente-privacy-notice-success{
    color:#86efac !important;
    border:1px solid rgba(74,222,128,.28) !important;
    background:rgba(74,222,128,.08) !important;
}

.surgente-privacy-notice-error{
    color:#fca5a5 !important;
    border:1px solid rgba(239,68,68,.28) !important;
    background:rgba(239,68,68,.08) !important;
}

@media (max-width: 760px){
    .surgente-privacy-grid{
        grid-template-columns:1fr !important;
    }
}


/* Comunidad: ocultar footer global del tema en páginas del módulo */
body.surgente-hide-theme-footer footer,
body.surgente-hide-theme-footer #footer,
body.surgente-hide-theme-footer #colophon,
body.surgente-hide-theme-footer .site-footer,
body.surgente-hide-theme-footer .theme-footer,
body.surgente-hide-theme-footer .footer,
body.surgente-hide-theme-footer .footer-wrap,
body.surgente-hide-theme-footer .footer-area,
body.surgente-hide-theme-footer .footer-main,
body.surgente-hide-theme-footer .footer-bottom,
body.surgente-hide-theme-footer .footer-menu,
body.surgente-hide-theme-footer .footer-navigation,
body.surgente-hide-theme-footer .footer-widget-area,
body.surgente-hide-theme-footer .main-footer,
body.surgente-hide-theme-footer .elementor-location-footer,
body.surgente-hide-theme-footer .wp-site-blocks > footer,
body.surgente-hide-theme-footer .wp-site-blocks > .wp-block-template-part:last-child {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Fallback moderno por contenido, por si el tema no imprimiera body_class(). */
body:has(.surgente-feed) footer,
body:has(.surgente-user-profile) footer,
body:has(.surgente-artist-form) footer,
body:has(.surgente-artist-profile) footer,
body:has(.surgente-artists-list) footer,
body:has(.surgente-map-wrapper) footer,
body:has(.surgente-feedback-panel) footer,
body:has(.surgente-feed) #colophon,
body:has(.surgente-user-profile) #colophon,
body:has(.surgente-artist-form) #colophon,
body:has(.surgente-artist-profile) #colophon,
body:has(.surgente-artists-list) #colophon,
body:has(.surgente-map-wrapper) #colophon,
body:has(.surgente-feedback-panel) #colophon,
body:has(.surgente-feed) .site-footer,
body:has(.surgente-user-profile) .site-footer,
body:has(.surgente-artist-form) .site-footer,
body:has(.surgente-artist-profile) .site-footer,
body:has(.surgente-artists-list) .site-footer,
body:has(.surgente-map-wrapper) .site-footer,
body:has(.surgente-feedback-panel) .site-footer {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Ranking beta: muestra el período computado sin alterar la lógica visual general */
.surgente-ranking-period{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:4px 0 16px;
    padding:7px 12px;
    border:1px solid rgba(76,175,80,.35);
    border-radius:999px;
    color:var(--surgente-system-accent, #4caf50);
    background:rgba(76,175,80,.08);
    font-size:12px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* =========================================================
   2.6.3 – Mapa: artistas compartiendo la misma ubicación
   Si dos o más artistas tienen las mismas coordenadas, se muestra un pin numerado
   para que no parezca que faltan artistas detrás de un marcador superpuesto.
   ========================================================= */
.surgente-map-pin b{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#020402;
    font-size:.68rem;
    line-height:1;
    font-weight:900;
    letter-spacing:-.04em;
}

.surgente-map-popup-group .surgente-map-popup-body{
    min-width:220px;
}

.surgente-map-popup-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:11px;
}

.surgente-map-popup-row{
    display:flex;
    align-items:center;
    gap:9px;
    padding-top:9px;
    border-top:1px solid rgba(76,175,80,.18);
}

.surgente-map-popup-row-img{
    width:34px !important;
    height:34px !important;
    flex:0 0 34px;
    object-fit:cover;
    border-radius:9px;
    border:1px solid rgba(76,175,80,.25);
}

.surgente-map-popup-row-body{
    display:flex;
    min-width:0;
    flex-direction:column;
    gap:2px;
}

.surgente-map-popup-row-body strong{
    color:#fff !important;
    font-size:.86rem;
    line-height:1.15;
}

.surgente-map-popup-row-body small{
    color:rgba(255,255,255,.58) !important;
    font-size:.72rem;
    line-height:1.2;
}

.surgente-map-popup-row-body a{
    color:var(--surgente-map-accent,#4CAF50) !important;
    font-size:.72rem;
    font-weight:800;
    text-decoration:none;
}

/* =========================================================
   2.6.4 – Mapa móvil más cómodo
   El escritorio queda igual. En celular compacta el popup de Leaflet,
   fuerza miniaturas reales y evita que las fotos rompan la tarjeta.
   ========================================================= */
.surgente-artists-map .leaflet-popup-content-wrapper,
.surgente-artists-map .leaflet-popup-tip{
    box-sizing:border-box !important;
}

.surgente-artists-map .leaflet-popup-content{
    box-sizing:border-box !important;
}

.surgente-artists-map .surgente-map-popup-img{
    width:54px !important;
    height:54px !important;
    max-width:54px !important;
    max-height:54px !important;
    min-width:54px !important;
    min-height:54px !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    display:block !important;
}

.surgente-artists-map .surgente-map-popup-row-img{
    width:34px !important;
    height:34px !important;
    max-width:34px !important;
    max-height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    display:block !important;
}

@media (max-width:760px){
    .surgente-artists-map-page{
        width:calc(100% - 12px) !important;
        padding-left:8px !important;
        padding-right:8px !important;
    }

    .surgente-artists-map-page .surgente-map-header{
        margin-top:16px !important;
        margin-bottom:18px !important;
    }

    .surgente-artists-map-page .surgente-map-header h2{
        font-size:30px !important;
        line-height:1.02 !important;
        letter-spacing:.08em !important;
    }

    .surgente-map-shell{
        padding:8px !important;
        border-radius:18px !important;
    }

    .surgente-artists-map{
        height:64vh !important;
        min-height:420px !important;
        max-height:560px !important;
        border-radius:16px !important;
    }

    .surgente-artists-map .leaflet-control-zoom{
        margin-top:10px !important;
        margin-left:10px !important;
        border:1px solid rgba(76,175,80,.22) !important;
        border-radius:12px !important;
        overflow:hidden !important;
    }

    .surgente-artists-map .leaflet-control-zoom a{
        width:38px !important;
        height:38px !important;
        line-height:38px !important;
        font-size:20px !important;
        background:#050505 !important;
        color:#ffffff !important;
        border-color:rgba(76,175,80,.18) !important;
    }

    .surgente-artists-map .leaflet-popup{
        max-width:calc(100vw - 42px) !important;
    }

    .surgente-artists-map .leaflet-popup-content-wrapper{
        max-width:calc(100vw - 42px) !important;
        border-radius:18px !important;
    }

    .surgente-artists-map .leaflet-popup-content{
        width:auto !important;
        min-width:0 !important;
        max-width:calc(100vw - 68px) !important;
        margin:9px !important;
    }

    .surgente-artists-map .surgente-map-popup{
        width:100% !important;
        min-width:0 !important;
        max-width:calc(100vw - 76px) !important;
        gap:10px !important;
        align-items:flex-start !important;
    }

    .surgente-artists-map .surgente-map-popup-img{
        width:48px !important;
        height:48px !important;
        max-width:48px !important;
        max-height:48px !important;
        min-width:48px !important;
        min-height:48px !important;
        border-radius:12px !important;
    }

    .surgente-artists-map .surgente-map-popup-body,
    .surgente-artists-map .surgente-map-popup-row-body{
        min-width:0 !important;
        max-width:100% !important;
    }

    .surgente-artists-map .surgente-map-popup-body strong,
    .surgente-artists-map .surgente-map-popup-row-body strong{
        display:block !important;
        white-space:normal !important;
        overflow-wrap:anywhere !important;
        line-height:1.16 !important;
    }

    .surgente-artists-map .surgente-map-popup-body span,
    .surgente-artists-map .surgente-map-popup-body small,
    .surgente-artists-map .surgente-map-popup-row-body small,
    .surgente-artists-map .surgente-map-popup-row-body a{
        display:block !important;
        white-space:normal !important;
        overflow-wrap:anywhere !important;
    }

    .surgente-artists-map .surgente-map-popup-group{
        display:block !important;
    }

    .surgente-artists-map .surgente-map-popup-group .surgente-map-popup-body{
        width:100% !important;
        min-width:0 !important;
    }

    .surgente-artists-map .surgente-map-popup-list{
        gap:8px !important;
        margin-top:9px !important;
        max-height:235px !important;
        overflow:auto !important;
        padding-right:2px !important;
    }

    .surgente-artists-map .surgente-map-popup-row{
        display:grid !important;
        grid-template-columns:38px minmax(0,1fr) !important;
        align-items:center !important;
        gap:9px !important;
        padding-top:8px !important;
    }

    .surgente-artists-map .surgente-map-popup-row-img{
        width:38px !important;
        height:38px !important;
        max-width:38px !important;
        max-height:38px !important;
        min-width:38px !important;
        min-height:38px !important;
        border-radius:10px !important;
        grid-column:1 !important;
    }

    .surgente-artists-map .surgente-map-popup-row-body{
        grid-column:2 !important;
    }

    .surgente-map-meta{
        margin-top:8px !important;
        max-width:100% !important;
        white-space:normal !important;
    }
}



/* =========================================================
   2.6.5 – Mapa móvil: popup mínimo y clickeable
   En celular se muestra solo foto + nombre + acceso. Sin ciudad,
   géneros ni textos largos para evitar tarjetas angostas/incómodas.
   El escritorio conserva el popup completo.
   ========================================================= */
@media (max-width:760px){
    .surgente-artists-map .leaflet-popup{
        max-width:260px !important;
    }

    .surgente-artists-map .leaflet-popup-content-wrapper{
        width:auto !important;
        min-width:0 !important;
        max-width:260px !important;
        border-radius:18px !important;
    }

    .surgente-artists-map .leaflet-popup-content{
        width:auto !important;
        min-width:0 !important;
        max-width:240px !important;
        margin:8px !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile{
        display:block !important;
        width:auto !important;
        min-width:0 !important;
        max-width:236px !important;
        padding:0 !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-card{
        display:flex !important;
        align-items:center !important;
        gap:10px !important;
        width:214px !important;
        max-width:214px !important;
        min-height:54px !important;
        padding:4px !important;
        color:#fff !important;
        text-decoration:none !important;
        border-radius:14px !important;
        box-sizing:border-box !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-card:active{
        background:rgba(76,175,80,.08) !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-img{
        width:46px !important;
        height:46px !important;
        min-width:46px !important;
        max-width:46px !important;
        min-height:46px !important;
        max-height:46px !important;
        border-radius:12px !important;
        object-fit:cover !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        flex:0 0 46px !important;
        border:1px solid rgba(76,175,80,.28) !important;
        background:rgba(76,175,80,.14) !important;
        color:var(--surgente-map-accent,#4CAF50) !important;
        font-size:10px !important;
        font-weight:900 !important;
        letter-spacing:.08em !important;
        line-height:1 !important;
        box-sizing:border-box !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-copy{
        display:flex !important;
        min-width:0 !important;
        flex-direction:column !important;
        gap:3px !important;
        flex:1 1 auto !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-name{
        display:-webkit-box !important;
        -webkit-line-clamp:2 !important;
        -webkit-box-orient:vertical !important;
        max-width:148px !important;
        overflow:hidden !important;
        color:#fff !important;
        font-size:.88rem !important;
        line-height:1.12 !important;
        font-weight:900 !important;
        overflow-wrap:normal !important;
        word-break:normal !important;
        white-space:normal !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-action{
        display:block !important;
        color:var(--surgente-map-accent,#4CAF50) !important;
        font-size:.72rem !important;
        line-height:1 !important;
        font-style:normal !important;
        font-weight:900 !important;
        text-decoration:underline !important;
        text-underline-offset:3px !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-title{
        margin:0 0 6px !important;
        padding:0 4px 6px !important;
        border-bottom:1px solid rgba(76,175,80,.18) !important;
        color:rgba(255,255,255,.74) !important;
        font-size:.72rem !important;
        line-height:1 !important;
        font-weight:900 !important;
        letter-spacing:.08em !important;
        text-transform:uppercase !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-list{
        display:flex !important;
        flex-direction:column !important;
        gap:2px !important;
        max-height:236px !important;
        overflow:auto !important;
        padding-right:2px !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-row{
        border-top:0 !important;
        border-bottom:1px solid rgba(76,175,80,.12) !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-row:last-child{
        border-bottom:0 !important;
    }
}

/* 2.6.7 — Respuesta breve del artista a devoluciones */
.surgente-feedback-reply-form{
    margin-top:14px !important;
    padding:14px !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:16px !important;
    background:rgba(255,255,255,.035) !important;
}
.surgente-feedback-reply-form label{
    display:block !important;
    margin:0 0 8px !important;
    color:rgba(255,255,255,.70) !important;
    font-size:11px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    letter-spacing:.10em !important;
}
.surgente-feedback-reply-form textarea{
    width:100% !important;
    min-height:74px !important;
    resize:vertical !important;
    border:1px solid rgba(84,220,116,.22) !important;
    border-radius:14px !important;
    background:#000 !important;
    color:#fff !important;
    padding:11px 12px !important;
    line-height:1.45 !important;
    font-size:14px !important;
    box-sizing:border-box !important;
}
.surgente-feedback-reply-form textarea:focus{
    outline:none !important;
    border-color:rgba(84,220,116,.70) !important;
    box-shadow:0 0 0 3px rgba(84,220,116,.08) !important;
}
.surgente-feedback-reply-actions{
    display:flex !important;
    gap:10px !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    margin-top:10px !important;
}
.surgente-feedback-reply-submit{
    min-height:36px !important;
    padding:8px 13px !important;
    font-size:11px !important;
}
.surgente-feedback-owner-reply{
    margin-top:12px !important;
    padding:12px 14px !important;
    border-left:2px solid rgba(84,220,116,.72) !important;
    border-radius:0 14px 14px 0 !important;
    background:rgba(84,220,116,.07) !important;
}
.surgente-feedback-owner-reply strong{
    display:block !important;
    color:#54dc74 !important;
    font-size:11px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    letter-spacing:.10em !important;
    margin-bottom:6px !important;
}
.surgente-feedback-owner-reply p{
    margin:0 !important;
    color:rgba(255,255,255,.86) !important;
    line-height:1.5 !important;
}
@media (max-width:760px){
    .surgente-feedback-reply-actions{
        align-items:flex-start !important;
        flex-direction:column !important;
    }
    .surgente-feedback-reply-submit{
        width:100% !important;
    }
}

/* =========================================================
   2.6.9 – Mapa: popup cómodo para ciudades con muchos artistas
   Mantiene el pin agrupado, pero convierte la lista en un panel
   compacto con scroll interno para no tapar todo el mapa.
   ========================================================= */
.surgente-artists-map .surgente-map-popup-group{
    display:block !important;
    width:292px !important;
    min-width:292px !important;
    max-width:292px !important;
}

.surgente-artists-map .surgente-map-popup-group .surgente-map-popup-body{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    gap:4px !important;
}

.surgente-artists-map .surgente-map-popup-group .surgente-map-popup-body > strong{
    display:block !important;
    color:#ffffff !important;
    font-size:.86rem !important;
    line-height:1.12 !important;
    letter-spacing:-.01em !important;
}

.surgente-artists-map .surgente-map-popup-location{
    display:block !important;
    color:rgba(255,255,255,.72) !important;
    font-size:.76rem !important;
    line-height:1.2 !important;
}

.surgente-artists-map .surgente-map-popup-scroll-hint{
    display:block !important;
    margin-top:2px !important;
    color:rgba(255,255,255,.42) !important;
    font-size:.68rem !important;
    line-height:1.1 !important;
    font-weight:700 !important;
}

.surgente-artists-map .surgente-map-popup-list{
    margin-top:9px !important;
    max-height:318px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain !important;
    padding-right:5px !important;
    scrollbar-width:thin !important;
    scrollbar-color:rgba(76,175,80,.55) rgba(255,255,255,.06) !important;
}

.surgente-artists-map .surgente-map-popup-list::-webkit-scrollbar{
    width:6px !important;
}

.surgente-artists-map .surgente-map-popup-list::-webkit-scrollbar-track{
    background:rgba(255,255,255,.06) !important;
    border-radius:999px !important;
}

.surgente-artists-map .surgente-map-popup-list::-webkit-scrollbar-thumb{
    background:rgba(76,175,80,.55) !important;
    border-radius:999px !important;
}

.surgente-artists-map .surgente-map-popup-row{
    min-height:45px !important;
    padding:8px 0 !important;
    gap:10px !important;
}

.surgente-artists-map .surgente-map-popup-row:first-child{
    border-top:0 !important;
    padding-top:0 !important;
}

.surgente-artists-map .surgente-map-popup-row-img-empty{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:var(--surgente-map-accent,#4CAF50) !important;
    background:rgba(76,175,80,.14) !important;
    font-size:9px !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
}

.surgente-artists-map .surgente-map-popup-row-body strong{
    display:block !important;
    max-width:206px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.surgente-artists-map .surgente-map-popup-row-body small{
    display:block !important;
    max-width:206px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.surgente-artists-map .surgente-map-popup-mobile-title{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
}

.surgente-artists-map .surgente-map-popup-mobile-title span{
    color:rgba(255,255,255,.42) !important;
    font-size:.62rem !important;
    letter-spacing:.06em !important;
}

@media (max-width:760px){
    .surgente-artists-map .surgente-map-popup-group{
        width:auto !important;
        min-width:0 !important;
        max-width:236px !important;
    }

    .surgente-artists-map .surgente-map-popup-mobile-list{
        max-height:258px !important;
        overflow-y:auto !important;
        overscroll-behavior:contain !important;
    }
}

/* 2.8.1 - Devoluciones: menos cajas anidadas, historial vivo y edición clara */
.surgente-feedback-panel-hero{
    margin-top:22px !important;
    padding:26px 0 24px !important;
    border:0 !important;
    border-top:1px solid rgba(84,220,116,.22) !important;
    border-bottom:1px solid rgba(84,220,116,.22) !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.surgente-feedback-panel-hero h1{
    max-width:980px !important;
}
.surgente-feedback-list{
    gap:0 !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-card{
    padding:18px 0 !important;
    border:0 !important;
    border-radius:0 !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    background:transparent !important;
    box-shadow:none !important;
}
.surgente-feedback-card-head{
    margin-bottom:12px !important;
}
.surgente-feedback-reply-form{
    margin-top:14px !important;
    padding:14px 0 0 !important;
    border:0 !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
    border-radius:0 !important;
    background:transparent !important;
}
.surgente-feedback-reply-form textarea,
.surgente-task-feedback textarea,
.surgente-task-feedback input[type="number"]{
    border-radius:10px !important;
    background:rgba(0,0,0,.66) !important;
}
.surgente-feedback-public-history{
    margin-top:22px !important;
    padding:24px 0 0 !important;
    border:0 !important;
    border-top:1px solid rgba(84,220,116,.20) !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.surgente-feedback-public-history--preview{
    margin-top:22px !important;
    padding-top:20px !important;
}
.surgente-feedback-public-history--preview .surgente-feedback-head{
    margin-bottom:8px !important;
}
.surgente-feedback-public-history--preview .surgente-feedback-head p{
    display:none !important;
}
.surgente-feedback-public-history--preview .surgente-feedback-head h3{
    max-width:720px !important;
    font-size:clamp(22px, 3.4vw, 34px) !important;
    line-height:1.02 !important;
}
.surgente-feedback-preview-summary{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    margin:0 0 12px !important;
    padding:0 0 12px !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-preview-summary span{
    color:rgba(255,255,255,.62) !important;
    font-size:12px !important;
    line-height:1.35 !important;
}
.surgente-feedback-preview-summary a{
    flex:0 0 auto !important;
    color:#54dc74 !important;
    font-size:12px !important;
    font-weight:900 !important;
    line-height:1 !important;
    text-decoration:none !important;
    text-transform:uppercase !important;
}
.surgente-feedback-public-history--preview .surgente-feedback-history-list{
    border-top:0 !important;
}
.surgente-feedback-public-history--preview .surgente-feedback-history-item{
    padding:12px 0 !important;
}
.surgente-feedback-public-history--preview .surgente-feedback-history-body p{
    font-size:14px !important;
    line-height:1.45 !important;
}
.surgente-feedback-memory{
    scroll-margin-top:110px !important;
}
.surgente-feedback-memory > .surgente-feedback-public-intro{
    display:none !important;
}
.surgente-feedback-memory-head{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:18px !important;
    margin-bottom:16px !important;
}
.surgente-feedback-memory-kicker{
    display:block !important;
    margin-bottom:7px !important;
    color:#54dc74 !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.11em !important;
    text-transform:uppercase !important;
}
.surgente-feedback-memory-head h3{
    margin:0 0 6px !important;
}
.surgente-feedback-memory-stats{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(74px, 1fr)) !important;
    gap:8px !important;
    min-width:260px !important;
}
.surgente-feedback-memory-stats span{
    padding:10px 12px !important;
    border:1px solid rgba(84,220,116,.18) !important;
    border-radius:12px !important;
    background:rgba(84,220,116,.055) !important;
    color:rgba(255,255,255,.68) !important;
    font-size:11px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
}
.surgente-feedback-memory-stats strong{
    display:block !important;
    margin-bottom:3px !important;
    color:#fff !important;
    font-size:22px !important;
    line-height:1 !important;
}
.surgente-feedback-memory-tabs{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    margin:0 0 16px !important;
    padding-bottom:14px !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-memory-tabs a{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    min-height:34px !important;
    padding:8px 12px !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:999px !important;
    color:rgba(255,255,255,.78) !important;
    background:rgba(255,255,255,.035) !important;
    font-size:12px !important;
    font-weight:900 !important;
    line-height:1 !important;
    text-decoration:none !important;
    text-transform:uppercase !important;
}
.surgente-feedback-memory-tabs a.is-active,
.surgente-feedback-memory-tabs a:hover{
    border-color:rgba(84,220,116,.55) !important;
    color:#54dc74 !important;
    background:rgba(84,220,116,.08) !important;
}
.surgente-feedback-memory-tabs span{
    color:inherit !important;
    opacity:.72 !important;
}
.surgente-feedback-memory-item{
    padding:18px 0 !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-memory-empty{
    padding:18px 0 !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-memory-empty strong{
    display:block !important;
    margin-bottom:6px !important;
    color:#fff !important;
}
.surgente-feedback-memory-empty p{
    margin:0 !important;
    color:rgba(255,255,255,.62) !important;
}
.surgente-feedback-history-list{
    gap:0 !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
}
.surgente-feedback-history-list[hidden],
.surgente-feedback-history-empty[hidden]{
    display:none !important;
}
.surgente-feedback-history-item{
    position:relative !important;
    padding:16px 0 !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    transition:background-color .25s ease, border-color .25s ease !important;
}
.surgente-feedback-history-item[data-surgente-own-feedback="1"]{
    border-bottom-color:rgba(84,220,116,.24) !important;
}
.surgente-feedback-history-item.is-fresh{
    background:linear-gradient(90deg, rgba(84,220,116,.10), transparent 70%) !important;
}
.surgente-feedback-edit-inline{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:32px !important;
    margin-top:12px !important;
    padding:7px 11px !important;
    border:1px solid rgba(84,220,116,.32) !important;
    border-radius:999px !important;
    color:#f7fff8 !important;
    background:rgba(84,220,116,.06) !important;
    font-size:11px !important;
    font-weight:900 !important;
    line-height:1 !important;
    text-transform:uppercase !important;
    letter-spacing:.06em !important;
    cursor:pointer !important;
}
.surgente-feedback-edit-inline:hover,
.surgente-feedback-edit-inline:focus-visible{
    border-color:rgba(84,220,116,.72) !important;
    color:#54dc74 !important;
    outline:none !important;
}
@media (max-width:760px){
    .surgente-feedback-panel-hero{
        padding:22px 0 20px !important;
    }
    .surgente-feedback-memory-head{
        flex-direction:column !important;
    }
    .surgente-feedback-memory-stats{
        width:100% !important;
        min-width:0 !important;
    }
    .surgente-feedback-preview-summary{
        align-items:flex-start !important;
        flex-direction:column !important;
    }
    .surgente-feedback-card,
    .surgente-feedback-history-item{
        padding:16px 0 !important;
    }
}

/* 2.8.2 - Devolucion enviada: el formulario inicial se guarda y la edicion vive en modal */
.surgente-task-feedback[hidden],
.surgente-feedback-sent[hidden],
.surgente-feedback-modal[hidden]{
    display:none !important;
}
.surgente-feedback-sent{
    margin-top:20px !important;
    padding:14px 0 !important;
    border-top:1px solid rgba(84,220,116,.22) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    background:transparent !important;
}
.surgente-feedback-sent span{
    display:block !important;
    margin-bottom:4px !important;
    color:#54dc74 !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
    text-transform:uppercase !important;
}
.surgente-feedback-sent p{
    margin:0 !important;
    color:rgba(255,255,255,.68) !important;
    font-size:13px !important;
    line-height:1.5 !important;
}
body.surgente-feedback-modal-open{
    overflow:hidden !important;
}
.surgente-feedback-modal{
    position:fixed !important;
    inset:0 !important;
    z-index:999999 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:18px !important;
}
.surgente-feedback-modal__backdrop{
    position:absolute !important;
    inset:0 !important;
    background:rgba(0,0,0,.76) !important;
    backdrop-filter:blur(10px) !important;
}
.surgente-feedback-modal__panel{
    position:relative !important;
    width:min(720px, 100%) !important;
    max-height:min(82vh, 760px) !important;
    overflow:auto !important;
    padding:24px !important;
    border:1px solid rgba(84,220,116,.34) !important;
    border-radius:16px !important;
    background:linear-gradient(180deg, rgba(5,12,7,.98), rgba(0,0,0,.98)) !important;
    box-shadow:0 24px 90px rgba(0,0,0,.66), inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.surgente-feedback-modal__close{
    position:absolute !important;
    top:14px !important;
    right:14px !important;
    width:34px !important;
    height:34px !important;
    border:1px solid rgba(255,255,255,.14) !important;
    border-radius:999px !important;
    color:#fff !important;
    background:rgba(255,255,255,.06) !important;
    font-size:20px !important;
    line-height:1 !important;
    cursor:pointer !important;
}
.surgente-feedback-modal__close:hover,
.surgente-feedback-modal__close:focus-visible{
    border-color:rgba(84,220,116,.7) !important;
    color:#54dc74 !important;
    outline:none !important;
}
.surgente-feedback-modal__head{
    padding-right:42px !important;
    padding-bottom:14px !important;
    margin-bottom:16px !important;
    border-bottom:1px solid rgba(84,220,116,.18) !important;
}
.surgente-feedback-modal__head h3{
    margin:0 0 8px !important;
    color:#fff !important;
    font-size:24px !important;
    letter-spacing:.04em !important;
    text-transform:uppercase !important;
}
.surgente-feedback-modal__head p{
    margin:0 !important;
    color:rgba(255,255,255,.66) !important;
    line-height:1.5 !important;
}
.surgente-task-feedback-form--modal label{
    display:block !important;
    margin-bottom:8px !important;
    color:#54dc74 !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
    text-transform:uppercase !important;
}
.surgente-task-feedback-form--modal textarea,
.surgente-task-feedback-form--modal input[type="number"]{
    width:100% !important;
    color:#fff !important;
    background:rgba(0,0,0,.72) !important;
    border:1px solid rgba(84,220,116,.30) !important;
    border-radius:12px !important;
    padding:14px !important;
    outline:none !important;
}
.surgente-task-feedback-form--modal textarea:focus,
.surgente-task-feedback-form--modal input[type="number"]:focus{
    border-color:rgba(84,220,116,.78) !important;
}
.surgente-task-feedback-form--modal .surgente-btn-secondary{
    border-color:rgba(255,255,255,.18) !important;
    color:rgba(255,255,255,.82) !important;
    background:rgba(255,255,255,.04) !important;
}
@media (max-width:760px){
    .surgente-feedback-modal{
        align-items:flex-end !important;
        padding:10px !important;
    }
    .surgente-feedback-modal__panel{
        width:100% !important;
        max-height:88vh !important;
        padding:20px !important;
        border-radius:16px 16px 10px 10px !important;
    }
    .surgente-feedback-modal__head h3{
        font-size:20px !important;
    }
}

/* Tarea diaria: mini mapa territorial compacto. Debe ganarle a las reglas del mapa general. */
.surgente-task-artist-map{
    height:190px !important;
    min-height:180px !important;
    max-height:220px !important;
}

@media (max-width: 760px){
    .surgente-task-artist-map{
        height:170px !important;
        min-height:170px !important;
        max-height:210px !important;
    }
}

/* Comunidad como hub del artista asignado. */
.surgente-community-hub-mvp{
    margin:26px 0 0 !important;
    padding:24px 0 22px !important;
    border:0 !important;
    border-top:1px solid rgba(84,220,116,.20) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#fff !important;
}
.surgente-community-hub-head{
    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:18px !important;
    margin-bottom:18px !important;
    padding-bottom:16px !important;
    border-bottom:1px solid rgba(84,220,116,.16) !important;
}
.surgente-community-hub-kicker,
.surgente-community-hub-card-label{
    display:block !important;
    margin-bottom:7px !important;
    color:#54dc74 !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.11em !important;
    text-transform:uppercase !important;
}
.surgente-community-hub-head h3{
    margin:0 !important;
    color:#fff !important;
    font-size:22px !important;
    line-height:1.15 !important;
}
.surgente-community-hub-profile,
.surgente-community-hub-card > a{
    color:#54dc74 !important;
    font-size:12px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
    text-decoration:none !important;
}
.surgente-community-hub-profile:hover,
.surgente-community-hub-card > a:hover{
    color:#fff !important;
}
.surgente-community-hub-grid{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:12px !important;
}
.surgente-community-hub-card{
    min-height:180px !important;
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    padding:16px !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:14px !important;
    background:rgba(255,255,255,.035) !important;
}
.surgente-community-hub-card strong{
    display:block !important;
    color:#fff !important;
    font-size:26px !important;
    line-height:1 !important;
}
.surgente-community-hub-card p{
    margin:0 !important;
    color:rgba(255,255,255,.68) !important;
    font-size:13px !important;
    line-height:1.45 !important;
}
.surgente-community-hub-meta{
    display:flex !important;
    flex-direction:column !important;
    gap:5px !important;
    color:rgba(255,255,255,.64) !important;
    font-size:12px !important;
    line-height:1.35 !important;
}
.surgente-community-hub-feedback-stats{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
}
.surgente-community-hub-feedback-stats span{
    padding:5px 8px !important;
    border:1px solid rgba(84,220,116,.18) !important;
    border-radius:999px !important;
    color:rgba(255,255,255,.74) !important;
    background:rgba(84,220,116,.055) !important;
    font-size:11px !important;
    font-weight:800 !important;
    line-height:1 !important;
}
.surgente-community-hub-feedback-quote{
    margin-top:2px !important;
    padding-top:10px !important;
    border-top:1px solid rgba(255,255,255,.08) !important;
}
.surgente-community-hub-list{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
}
.surgente-community-hub-list a{
    display:block !important;
    padding-bottom:8px !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    color:#fff !important;
    text-decoration:none !important;
}
.surgente-community-hub-list a:hover span{
    color:#54dc74 !important;
}
.surgente-community-hub-list span{
    display:block !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:800 !important;
    line-height:1.3 !important;
}
.surgente-community-hub-list em{
    display:block !important;
    margin-top:3px !important;
    color:rgba(255,255,255,.58) !important;
    font-size:12px !important;
    font-style:normal !important;
    line-height:1.35 !important;
}
.surgente-community-hub-card > a{
    margin-top:auto !important;
}

@media (max-width: 980px){
    .surgente-community-hub-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px){
    .surgente-community-hub-mvp{
        padding:20px 0 !important;
        border-radius:0 !important;
    }
    .surgente-community-hub-head{
        align-items:flex-start !important;
        flex-direction:column !important;
        gap:10px !important;
    }
    .surgente-community-hub-grid{
        grid-template-columns:1fr !important;
    }
    .surgente-community-hub-card{
        min-height:0 !important;
    }
}
