/* ==========================================================================
   LUDOSPORT PORTAL ATLETA - MAPA TÁCTICO EUROPEO
   Estilos de interfaz cibernética / HUD para navegación continental
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-map-dark: #050204;
    --hud-bg: rgba(10, 6, 12, 0.85);
    --hud-border: rgba(255, 255, 255, 0.12);
    --hud-border-glow: rgba(234, 115, 25, 0.35);
    --color-accent-gold: #FFD700;
    --color-sierpe-red: #B30410;
    --color-alba-orange: #EA7319;
    --color-alpha-blue: #4E58B8;
    --color-alpha-ruby: #E30613;
    --text-primary: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.65);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-map-dark);
    font-family: var(--font-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* --- CONTENEDOR PRINCIPAL DEL MAPA --- */
#mapa_container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #050204;
}

#mapa_leaflet {
    width: 100%;
    height: 100%;
    background: #050204;
    z-index: 1;
}

/* Modificadores para azulejos oscuros Leaflet */
.leaflet-container {
    background-color: #050204 !important;
}

.leaflet-tile {
    filter: brightness(0.85) contrast(1.15) saturate(0.6);
}

/* Eliminar controles por defecto feos de Leaflet */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 25px !important;
    margin-right: 25px !important;
}

.leaflet-control-zoom a {
    background: rgba(14, 8, 18, 0.85) !important;
    color: #FFD700 !important;
    border: 1px solid rgba(255, 215, 0, 0.25) !important;
    backdrop-filter: blur(8px);
    font-size: 1.1rem !important;
    transition: all 0.2s ease;
}

.leaflet-control-zoom a:hover {
    background: rgba(234, 115, 25, 0.3) !important;
    color: #fff !important;
    border-color: #EA7319 !important;
}

.leaflet-control-attribution {
    background: rgba(5, 2, 4, 0.8) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.65rem !important;
    padding: 2px 8px !important;
    border-top-left-radius: 6px;
}
.leaflet-control-attribution a {
    color: rgba(255, 215, 0, 0.6) !important;
}

/* --- EFECTO DE SCANLINES Y VIÑETA TÁCTICA --- */
.tactical-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 45%, rgba(5,2,4,0.7) 85%, rgba(5,2,4,0.95) 100%),
                repeating-linear-gradient(0deg, rgba(0,0,0,0.06), rgba(0,0,0,0.06) 2px, transparent 2px, transparent 4px);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85);
}

/* --- CONTENEDOR HUD SUPERIOR UNIFICADO --- */
.mapa-top-hud {
    position: absolute;
    top: 16px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* --- BARRA SUPERIOR DE NAVEGACIÓN (HUD) --- */
.mapa-hud-header {
    pointer-events: auto;
    position: relative;
    width: 100%;
    height: 58px;
    background: rgba(12, 7, 16, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--hud-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 1px var(--color-alba-orange);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.mapa-hud-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.mapa-brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 115, 0, 0.45));
}

.mapa-brand-text h1 {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mapa-brand-badge {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-sierpe-red), var(--color-alba-orange));
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.mapa-brand-text p {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.2;
}

/* Métricas en vivo en la cabecera */
.mapa-live-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.live-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.live-stat-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-accent-gold);
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.live-stat-lbl {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Botones de acción derecha */
.mapa-hud-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-hud {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 14px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-hud:hover {
    background: rgba(255, 115, 0, 0.15);
    border-color: var(--color-alba-orange);
    color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(234, 115, 25, 0.35);
    transform: translateY(-1px);
}

.btn-hud-primary {
    background: linear-gradient(135deg, rgba(179, 4, 16, 0.6) 0%, rgba(234, 115, 25, 0.6) 100%);
    border-color: rgba(255, 115, 0, 0.4);
}

/* --- FILTROS DE PAÍS FLOTANTES --- */
.country-filter-chips {
    pointer-events: auto;
    position: relative;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 2px 2px 6px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.country-filter-chips::-webkit-scrollbar { display: none; }

.country-chip {
    background: rgba(12, 7, 16, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.country-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.country-chip.active {
    background: linear-gradient(135deg, rgba(179, 4, 16, 0.8), rgba(234, 115, 25, 0.8));
    color: #fff;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 12px rgba(234, 115, 25, 0.4);
}

.country-chip-count {
    font-size: 0.62rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1px 6px;
    border-radius: 10px;
    color: var(--color-accent-gold);
}

/* --- PANEL LATERAL DESPLEGABLE (DRAWER / HUD LIST) --- */
.mapa-sidebar {
    position: absolute;
    top: 136px;
    left: 20px;
    bottom: 24px;
    width: 360px;
    max-width: calc(100vw - 40px);
    background: rgba(10, 6, 14, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--hud-border);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s ease;
}

.mapa-sidebar.collapsed {
    transform: translateX(calc(-100% - 30px));
    pointer-events: none;
    opacity: 0;
}

.sidebar-toggle-btn {
    position: absolute;
    top: 136px;
    left: 20px;
    z-index: 999;
    background: rgba(14, 8, 18, 0.88);
    border: 1px solid var(--color-alba-orange);
    color: var(--color-accent-gold);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}
.sidebar-toggle-btn.visible {
    display: flex;
}

.sidebar-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header-title {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}
.sidebar-close-btn:hover {
    color: #fff;
}

.sidebar-search-box {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 9px 12px;
    color: #fff;
    font-size: 0.8rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}
.sidebar-search-input:focus {
    border-color: var(--color-alba-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(234, 115, 25, 0.25);
}

/* Lista de academias / ciudades */
.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.academy-card-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.academy-card-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--card-primario, var(--color-alba-orange));
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.academy-card-item.selected {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.academy-card-logo-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1.5px solid var(--card-primario, rgba(255, 255, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--card-primario, transparent);
}

.academy-card-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.academy-card-info {
    flex: 1;
    min-width: 0;
}

.academy-card-city {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.academy-card-badge {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-accent-gold);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 1px 7px;
    border-radius: 12px;
    white-space: nowrap;
}

.academy-card-name {
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.academy-card-region {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

/* --- DETALLE DE ACADEMIA SELECCIONADA Y ATLETAS --- */
.academy-detail-view {
    display: none;
    flex-direction: column;
    height: 100%;
}
.academy-detail-view.active {
    display: flex;
}

.detail-banner {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 14px;
    align-items: center;
}

.detail-banner-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(5,2,4,0.7);
    border: 2px solid var(--detail-primario, #fff);
    padding: 6px;
    object-fit: contain;
    box-shadow: 0 0 20px var(--detail-primario, transparent);
}

.detail-banner-text h2 {
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.detail-banner-text p {
    font-size: 0.72rem;
    color: var(--color-accent-gold);
    font-weight: 600;
    margin-top: 2px;
}

.detail-banner-addr {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.25;
}

.detail-actions-bar {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-roster-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #fff;
    text-transform: uppercase;
}

.btn-back-overview {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-back-overview:hover {
    border-color: var(--color-alba-orange);
    color: #fff;
}

/* Cuadrícula de atletas de la academia */
.roster-grid {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
}

.athlete-roster-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.athlete-roster-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-alba-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.athlete-avatar-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.athlete-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.athlete-roster-info {
    flex: 1;
    min-width: 0;
}

.athlete-roster-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.athlete-roster-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.athlete-code-badge {
    font-size: 0.62rem;
    font-family: monospace;
    font-weight: 700;
    color: var(--color-accent-gold);
    background: rgba(255, 215, 0, 0.12);
    padding: 1px 5px;
    border-radius: 4px;
}

.athlete-rank-badge {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.athlete-link-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
.athlete-roster-card:hover .athlete-link-arrow {
    color: var(--color-accent-gold);
    transform: translateX(3px);
}

/* --- MARCADORES PERSONALIZADOS TÁCTICOS EN EL MAPA (L.divIcon) --- */
.tactical-marker-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.tactical-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--marker-color, var(--color-alba-orange));
    opacity: 0.8;
    animation: marker-pulse-anim 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    pointer-events: none;
}

.tactical-pulse-ring-2 {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px dashed var(--marker-color, var(--color-alba-orange));
    opacity: 0.4;
    animation: marker-pulse-anim 3.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 0.6s;
    pointer-events: none;
}

.tactical-marker-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(10, 6, 12, 0.85);
    backdrop-filter: blur(6px);
    border: 2px solid var(--marker-color, #fff);
    box-shadow: 0 0 18px var(--marker-color, rgba(255, 255, 255, 0.5)), inset 0 0 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.tactical-marker-wrap:hover .tactical-marker-core,
.tactical-marker-wrap.active .tactical-marker-core {
    transform: scale(1.18);
    box-shadow: 0 0 28px var(--marker-color, #fff), inset 0 0 12px rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.tactical-marker-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}

/* Badge con nombre de ciudad y conteo de atletas */
.tactical-marker-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 7, 16, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--marker-color, rgba(255, 255, 255, 0.2));
    box-shadow: 0 4px 15px rgba(0,0,0,0.8);
    border-radius: 12px;
    padding: 2px 8px;
    white-space: nowrap;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
}

.marker-label-city {
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.marker-label-count {
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--color-accent-gold);
    background: rgba(255, 215, 0, 0.15);
    padding: 0 4px;
    border-radius: 6px;
}

@keyframes marker-pulse-anim {
    0% {
        transform: scale(0.85);
        opacity: 0.9;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Líneas tácticas vectoriales Leaflet */
.leaflet-pane svg path.tactical-route-line {
    stroke-dasharray: 6, 8;
    animation: tactical-route-anim 30s linear infinite;
}

@keyframes tactical-route-anim {
    to {
        stroke-dashoffset: -280;
    }
}

/* --- RESPONSIVIDAD (MÓVILES Y PANTALLAS PEQUEÑAS) --- */
@media (max-width: 768px) {
    .mapa-top-hud {
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 8px;
    }

    .mapa-hud-header {
        height: 46px;
        padding: 0 10px;
        border-radius: 10px;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .mapa-hud-brand {
        gap: 8px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .mapa-brand-logo {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }

    .mapa-brand-text {
        min-width: 0;
    }

    .mapa-brand-text h1 {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
        white-space: nowrap;
        gap: 5px;
    }

    .mapa-brand-badge {
        font-size: 0.5rem;
        padding: 1px 4px;
        letter-spacing: 0.5px;
    }

    .mapa-brand-sub {
        display: none !important;
    }

    .mapa-live-stats {
        display: none;
    }

    .mapa-hud-actions {
        flex-shrink: 0;
    }

    .btn-hud {
        padding: 5px 9px;
        font-size: 0.68rem;
        gap: 4px;
        white-space: nowrap;
        border-radius: 6px;
    }

    .country-filter-chips {
        padding: 0 2px 4px 2px;
    }

    .country-chip {
        padding: 4px 10px;
        font-size: 0.66rem;
        border-radius: 16px;
        gap: 5px;
    }

    .country-chip-count {
        font-size: 0.58rem;
        padding: 1px 5px;
    }

    /* Marcadores proporcionales y estilizados para evitar amontonamiento en España/Italia */
    .tactical-marker-wrap {
        width: 36px;
        height: 36px;
    }

    .tactical-marker-core {
        width: 30px;
        height: 30px;
    }

    .tactical-marker-logo {
        width: 18px;
        height: 18px;
    }

    .tactical-pulse-ring, .tactical-pulse-ring-2 {
        width: 34px;
        height: 34px;
    }

    .tactical-marker-label {
        top: 36px;
        padding: 1px 6px;
        gap: 3px;
        border-radius: 8px;
    }

    .marker-label-city {
        font-size: 0.58rem;
        letter-spacing: 0.4px;
    }

    .marker-label-count {
        font-size: 0.52rem;
        padding: 0 3px;
    }

    .mapa-sidebar {
        top: auto;
        bottom: 12px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        height: 50vh;
        border-radius: 16px;
    }

    .sidebar-toggle-btn {
        top: auto;
        bottom: 14px;
        left: 14px;
        padding: 8px 14px;
        font-size: 0.72rem;
    }
}

@media (max-width: 380px) {
    .btn-hud-label {
        display: none;
    }
    .mapa-brand-text h1 {
        font-size: 0.75rem;
    }
}


/* --- ENLACE A POLÍTICA DE PRIVACIDAD EN MAPA --- */
.mapa-privacy-pill {
    position: absolute;
    bottom: 10px;
    right: 14px;
    z-index: 999;
    background: rgba(10, 6, 14, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 4px 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.65rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.mapa-privacy-pill:hover {
    background: rgba(234, 115, 25, 0.3);
    border-color: var(--color-alba-orange);
    color: #fff;
    transform: translateY(-1px);
}
