        /* Selector de fecha/hora reutilizable (_selector_fecha.html) */
        .fecha-grid { display:grid; grid-template-columns:1fr 1.5fr 1fr; gap:10px; margin-bottom:10px; }
        .hora-grid { display:flex; align-items:center; gap:8px; }
        .hora-grid select { width:auto; min-width:74px; }
        .hora-sep { font-weight:800; color:var(--texto-2); }
        :root {
            /* ── Paleta principal ── */
            --purpura:     #324376;   /* french-blue — color primario */
            --purpura-2:   #586ba4;   /* smart-blue — secundario / hover */
            --coral:       #f76c5e;   /* vibrant-coral — CTAs */
            --tangerine:   #f68e5f;   /* tangerine-dream — acento naranja */
            --amarillo:    #f5dd90;   /* light-gold — acento cálido */
            --verde:       #3BCEAC;   /* verde turquesa */

            /* ── Acentos fluo ── */
            --fluo:        #ccff00;   /* verde/amarillo fluo */
            --rosa:        #F762AF;   /* rosa fluo */

            /* ── Neutros ── */
            --blanco:      #FFFFFF;
            --crema:       #FAF7F2;
            --borde:       #EBEBF0;
            --texto:       #1F2240;
            --texto-2:     #6B7280;
            --dark:        #1F2240;   /* alias legacy de --texto */
            --bg:          #F8F7FB;

            /* ── Transparencias ── */
            --purpura-10:  rgba(50,67,118,.10);
            --purpura-06:  rgba(50,67,118,.06);
            --coral-10:    rgba(247,108,94,.10);
            --coral-20:    rgba(247,108,94,.20);
            --verde-10:    rgba(59,206,172,.10);
            --amarillo-12: rgba(245,221,144,.12);

            /* ── Sombras y radio ── */
            --sombra-sm:   0 1px 12px rgba(50,67,118,.07);
            --sombra:      0 6px 32px rgba(50,67,118,.10);
            --sombra-lg:   0 16px 56px rgba(50,67,118,.14);
            --radio:       14px;
            --radio-btn:   6px;
        }
        /* ── Cursor huella (desactivado temporalmente) ── */
        /*
        body, a, button, [role="button"], label[for], select, input[type="submit"] {
            cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='36' viewBox='0 0 100 110'%3E%3Cellipse cx='18' cy='38' rx='10' ry='13' transform='rotate(-20 18 38)' fill='%23324376'/%3E%3Cellipse cx='38' cy='24' rx='11' ry='14' transform='rotate(-8 38 24)' fill='%23324376'/%3E%3Cellipse cx='62' cy='24' rx='11' ry='14' transform='rotate(8 62 24)' fill='%23324376'/%3E%3Cellipse cx='82' cy='38' rx='10' ry='13' transform='rotate(20 82 38)' fill='%23324376'/%3E%3Cpath d='M50 95 C28 95 18 78 20 64 C22 52 32 46 50 46 C68 46 78 52 80 64 C82 78 72 95 50 95 Z' fill='%23324376'/%3E%3C/svg%3E") 4 4, auto;
        }
        a:hover, button:hover, [role="button"]:hover {
            cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='36' viewBox='0 0 100 110'%3E%3Cellipse cx='18' cy='38' rx='10' ry='13' transform='rotate(-20 18 38)' fill='%23f76c5e'/%3E%3Cellipse cx='38' cy='24' rx='11' ry='14' transform='rotate(-8 38 24)' fill='%23f76c5e'/%3E%3Cellipse cx='62' cy='24' rx='11' ry='14' transform='rotate(8 62 24)' fill='%23f76c5e'/%3E%3Cellipse cx='82' cy='38' rx='10' ry='13' transform='rotate(20 82 38)' fill='%23f76c5e'/%3E%3Cpath d='M50 95 C28 95 18 78 20 64 C22 52 32 46 50 46 C68 46 78 52 80 64 C82 78 72 95 50 95 Z' fill='%23f76c5e'/%3E%3C/svg%3E") 4 4, pointer;
        }
        */

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; font-size: 18px; scrollbar-width: none; -ms-overflow-style: none; overflow-x: hidden; }
        html::-webkit-scrollbar { display: none; }
        body { font-size: 1rem; overflow-x: hidden; }
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--blanco);
            color: var(--texto);
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        a { text-decoration: none; }
        button { font-family: inherit; cursor: pointer; border: none; background: none; }
        h1, h2 { font-family: 'Inter', system-ui, sans-serif; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
        img { display: block; max-width: 100%; }
        .leaflet-tile { -webkit-transform: translate3d(0,0,0); }

        /* Franja memorial: velo sobrio + texto centrado para un animal
           desaparecido que se encontró sin vida. Se coloca dentro de un
           contenedor position:relative que envuelve la foto. */
        .velo-memoria {
            position: absolute; inset: 0; z-index: 3; pointer-events: none;
            display: flex; align-items: center; justify-content: center;
            text-align: center; padding: 12px; border-radius: inherit;
            background: linear-gradient(rgba(50,67,118,.55), rgba(22,22,43,.74));
        }
        .velo-memoria span {
            color: #fff; font-weight: 800; letter-spacing: .04em;
            line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,.45);
        }
        img.foto-memoria { filter: grayscale(1) brightness(.92); }

        /* Foco visible para navegación por teclado */
        :focus-visible {
            outline: 3px solid var(--purpura);
            outline-offset: 2px;
            border-radius: 4px;
        }
        /* Saltar al contenido principal (oculto hasta foco) */
        .skip-link {
            position: absolute;
            top: -100px;
            left: 16px;
            z-index: 9999;
            background: var(--purpura);
            color: white;
            padding: 10px 18px;
            border-radius: 0 0 8px 8px;
            font-size: .85rem;
            font-weight: 600;
            text-decoration: none;
            transition: top .15s;
        }
        .skip-link:focus { top: 0; }

        /* ── HEADER ── */
        .header {
            position: sticky;
            top: 0;
            z-index: 500;
            background: rgba(255,255,255,.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--borde);
            height: 64px;
            display: flex;
            align-items: center;
            padding: 0 48px;
            justify-content: space-between;
        }
        .header-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; color: #000; text-decoration: none; }
        .header-logo-mark { height: 30px; width: auto; display: block; }
        .header-logo-text { font-family: 'Shantell Sans', 'Inter', system-ui, sans-serif; font-size: 1.6rem; font-weight: 400; letter-spacing: 0; line-height: 1; color: var(--texto); margin-left: -2px; }
        .header-nav { display: flex; align-items: center; gap: 22px; }
        .header-nav a {
            color: var(--texto-2);
            font-size: .95rem;
            font-weight: 500;
            white-space: nowrap;
            transition: color .15s;
        }
        .header-nav a:hover { color: var(--purpura); }
        /* Dropdown alertas en el header */
        .nav-dropdown { position: relative; }
        .nav-dropdown-btn {
            background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
            color: var(--texto-2); font-size: .95rem; font-weight: 500;
            white-space: nowrap;
            display: flex; align-items: center; gap: 4px; transition: color .15s;
        }
        .nav-dropdown-btn:hover { color: var(--purpura); }
        .nav-dropdown-btn svg { width: 11px; height: 11px; transition: transform .18s; }
        .nav-dropdown-btn.open { color: var(--purpura); }
        .nav-dropdown-btn.open svg { transform: rotate(180deg); }
        .nav-dropdown-menu {
            display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
            background: white; border: 1.5px solid var(--borde); border-radius: 14px;
            box-shadow: 0 8px 32px rgba(22,22,43,.13); z-index: 600;
            min-width: 230px; padding: 6px;
        }
        .nav-dropdown-menu.open { display: block; }
        .nav-dropdown-item {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 12px; border-radius: 9px; min-height: 44px;
            font-size: .82rem; font-weight: 500; color: var(--dark);
            text-decoration: none; transition: background .12s;
            white-space: nowrap;
        }
        .nav-dropdown-item:hover { background: var(--bg); color: var(--purpura); }
        .nav-dropdown-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
        .header-actions { display: flex; align-items: center; gap: 10px; }
        .btn-ghost-sm {
            color: var(--texto);
            font-size: .82rem;
            font-weight: 600;
            padding: 6px 14px;
            white-space: nowrap;
            border-radius: var(--radio-btn);
            border: 1.5px solid var(--borde);
            transition: background .15s, border-color .15s, color .15s;
        }
        .btn-ghost-sm:hover { background: var(--texto); color: var(--blanco); border-color: var(--texto); }
        .btn-link-sm {
            color: var(--texto);
            font-size: .82rem;
            font-weight: 600;
            padding: 6px 10px;
            transition: color .15s;
        }
        .btn-link-sm:hover { color: var(--coral); }
        .btn-primary-sm {
            background: var(--coral);
            color: var(--blanco);
            font-size: .82rem;
            font-weight: 700;
            padding: 6px 16px;
            white-space: nowrap;
            border-radius: var(--radio-btn);
            box-shadow: 0 3px 14px var(--coral-20);
            transition: background .15s, transform .12s, box-shadow .15s;
        }
        .btn-primary-sm:hover {
            background: #e05a4d;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(247,108,94,.30);
        }
        .btn-primary-big {
            background: var(--page-accent, var(--coral)); color: white;
            padding: 16px 32px; border-radius: 6px;
            font-weight: 700; font-size: 1.05rem;
            display: inline-flex; align-items: center; gap: 10px;
            transition: transform .15s, background .15s, box-shadow .15s;
            box-shadow: 0 8px 24px var(--page-accent-20, rgba(247,108,94,.3));
            text-decoration: none;
        }
        .btn-primary-big:hover { background: var(--page-accent, var(--coral)); filter: brightness(.88); transform: translateY(-2px); }
        .btn-secondary-big {
            background: transparent; color: var(--texto);
            padding: 15px 32px; border-radius: 6px;
            font-weight: 700; font-size: 1.05rem;
            border: 2px solid var(--texto);
            display: inline-flex; align-items: center; gap: 10px;
            transition: background .15s, color .15s;
            text-decoration: none;
        }
        .btn-secondary-big:hover { background: var(--texto); color: var(--crema); }
        .live-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: .82rem;
            font-weight: 600;
            color: var(--verde);
            background: var(--verde-10);
            padding: 5px 12px;
            border-radius: 50px;
        }
        .live-dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            background: var(--amarillo);
            flex-shrink: 0;
            animation: blink 2.4s ease-in-out infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: .35; transform: scale(.65); }
        }

        /* ── TICKER ── */
        .ticker {
            background: #324376;
            height: 48px;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        .ticker-label {
            flex-shrink: 0;
            padding: 0 20px 0 24px;
            font-size: .78rem;
            font-weight: 900;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #ccff00;
            border-right: 1px solid rgba(255,255,255,.15);
            height: 100%;
            display: flex;
            align-items: center;
            white-space: nowrap;
            gap: 8px;
        }
        .ticker-label::before {
            content: '';
            display: inline-block;
            width: 7px; height: 7px;
            border-radius: 50%;
            background: #f76c5e;
            animation: ticker-pulse 1.2s ease-in-out infinite;
            flex-shrink: 0;
        }
        .ticker-track {
            display: flex;
            animation: ticker-scroll 40s linear infinite;
            will-change: transform;
        }
        .ticker:hover .ticker-track { animation-play-state: paused; }
        @keyframes ticker-scroll {
            from { transform: translateX(0); }
            to   { transform: translateX(-50%); }
        }
        @keyframes ticker-pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: .4; transform: scale(.6); }
        }
        .ticker-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0 36px;
            font-size: .92rem;
            font-weight: 500;
            color: rgba(255,255,255,.75);
            white-space: nowrap;
            border-right: 1px solid rgba(255,255,255,.08);
            letter-spacing: .01em;
        }
        .ticker-item b { color: white; font-weight: 800; font-size: .95rem; }
        .ticker-item.urgente { color: #ccff00; }
        .ticker-item.urgente b { color: #ccff00; }
        .ticker-dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            flex-shrink: 0;
            animation: ticker-pulse 1.8s ease-in-out infinite;
        }
        .ticker-dot:nth-child(odd) { animation-delay: .4s; }

        /* ── FOOTER ── */
        .footer {
            background-color: #EDE8DF;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
            padding: 64px 48px 0;
        }
        .footer-top {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 72px;
            padding-bottom: 56px;
            border-bottom: 1px solid rgba(50,67,118,.12);
        }
        .footer-logo { display: block; margin-bottom: 16px; }
        .footer-tagline { font-size: 1.05rem; color: rgba(50,67,118,.6); line-height: 1.55; margin-bottom: 22px; }
        .footer-live { display: flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 600; color: #F762AF; }
        .footer-live .live-dot { background: #F762AF; }
        .footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
        .footer-col h3 { font-size: .85rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(50,67,118,.7); margin-bottom: 18px; }
        .footer-col a { display: block; font-size: 1.05rem; color: rgba(50,67,118,.75); margin-bottom: 11px; transition: color .15s; }
        .footer-col a:hover { color: #324376; }
        .footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; font-size: .9rem; color: rgba(50,67,118,.45); }
        .footer-social-link { color: rgba(50,67,118,.6); transition: color .15s; }
        .footer-social-link:hover, .footer-social-link:focus { color: #324376; }

        /* ── PILL FLOTANTE DONAR (scroll-aware) ── */
        .btn-donar-float {
            position: fixed;
            bottom: 28px;
            right: 28px;
            transition: opacity .35s ease, transform .35s ease, background .15s, box-shadow .15s, bottom .25s ease;
            z-index: 900;
            display: inline-flex;
            align-items: center;
            gap: 9px;
            padding: 13px 22px 13px 18px;
            background: #ccff00;
            color: #0D0D18;
            border-radius: 50px;
            font-family: inherit;
            font-size: .95rem;
            font-weight: 800;
            text-decoration: none;
            letter-spacing: .01em;
            box-shadow: 0 6px 24px rgba(204,255,0,.4);
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
            transition: opacity .35s ease, transform .35s ease, background .15s, box-shadow .15s;
        }
        .btn-donar-float.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        .btn-donar-float:hover {
            background: #b8e600;
            box-shadow: 0 10px 32px rgba(204,255,0,.55);
            transform: translateY(-2px);
        }
        .btn-donar-float svg { width: 16px; height: 16px; flex-shrink: 0; }
        @media (max-width: 600px) {
            .btn-donar-float { bottom: 18px; right: 18px; padding: 11px 18px 11px 14px; font-size: .88rem; }
        }

        /* ── MENÚ HAMBURGUESA ── */
        .btn-menu {
            display: none;
            width: 44px; height: 44px;
            align-items: center; justify-content: center;
            border-radius: 10px;
            border: 1.5px solid var(--borde);
            background: transparent;
            cursor: pointer;
            flex-shrink: 0;
            -webkit-tap-highlight-color: transparent;
        }
        .btn-menu svg { width: 20px; height: 20px; }

        .mobile-menu-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(13,13,24,.32);
            z-index: 498;
            -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
        }
        .mobile-menu-overlay.abierto { display: block; }

        .mobile-menu {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0; right: 0; bottom: 0;
            width: 50%;
            min-width: 220px;
            max-width: 320px;
            background: rgba(255,255,255,.99);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            border-left: 1px solid var(--borde);
            z-index: 499;
            padding: 72px 24px 32px;
            gap: 0;
            box-shadow: -8px 0 32px rgba(13,13,24,.10);
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform .28s cubic-bezier(.4,0,.2,1);
        }
        .mobile-menu.abierto { transform: translateX(0); }
        .mobile-menu-cta {
            display: block;
            background: #324376;
            color: white !important;
            text-align: center;
            font-size: 1rem;
            font-weight: 800;
            padding: 14px 20px;
            border-radius: var(--radio-btn);
            letter-spacing: .03em;
            margin-bottom: 8px;
            -webkit-tap-highlight-color: transparent;
            transition: background .15s;
        }
        .mobile-menu-cta:hover { background: #253260 !important; }
        .mobile-menu-cta-outline {
            display: block; text-align: center; font-size: 1rem; font-weight: 800;
            padding: 14px 20px; border-radius: var(--radio-btn); letter-spacing: .03em;
            margin-bottom: 8px; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s;
            background: #f76c5e; color: white !important;
            border: none;
        }
        .mobile-menu-cta-outline:hover { background: #e05a4d; }
        .mobile-menu-cta-encontrado {
            display: block; text-align: center; font-size: 1rem; font-weight: 800;
            padding: 14px 20px; border-radius: var(--radio-btn); letter-spacing: .03em;
            margin-bottom: 8px; -webkit-tap-highlight-color: transparent; transition: background .15s;
            background: #586ba4; color: white !important; border: none;
        }
        .mobile-menu-cta-encontrado:hover { background: #4a5c96; }
        .mobile-menu-cta-ayudar {
            display: block; text-align: center; font-size: 1rem; font-weight: 800;
            padding: 14px 20px; border-radius: var(--radio-btn); letter-spacing: .03em;
            margin-bottom: 8px; -webkit-tap-highlight-color: transparent; transition: background .15s;
            background: #F762AF; color: white !important; border: none;
        }
        .mobile-menu-cta-ayudar:hover { background: #db5099; }
        .mobile-menu-cta-donar {
            display: block; text-align: center; font-size: 1rem; font-weight: 800;
            padding: 14px 20px; border-radius: var(--radio-btn); letter-spacing: .03em;
            margin-bottom: 28px; -webkit-tap-highlight-color: transparent; transition: background .15s;
            background: #ccff00; color: #0D0D18 !important; border: none;
        }
        .mobile-menu-cta-donar:hover { background: #b8e600; }
        .mobile-menu-section {
            font-size: .72rem;
            font-weight: 800;
            letter-spacing: 1.8px;
            text-transform: uppercase;
            color: var(--texto-2);
            opacity: .8;
            padding: 24px 0 8px;
            border-top: 1px solid var(--borde);
            margin-top: 8px;
        }
        .mobile-menu > a:not(.mobile-menu-cta) {
            color: var(--texto);
            font-size: 1.05rem;
            font-weight: 600;
            padding: 13px 0;
            border-bottom: 1px solid var(--borde);
            display: block;
            -webkit-tap-highlight-color: transparent;
        }
        .mobile-menu > a:not(.mobile-menu-cta):hover { color: var(--coral); }
        .mobile-menu-divider {
            border: none;
            border-top: 1px solid var(--borde);
            margin: 20px 0 0;
        }
        .mobile-menu-account {
            display: flex;
            flex-direction: column;
            padding-top: 4px;
        }
        .mobile-menu-account a {
            color: var(--texto-2);
            font-size: .95rem;
            font-weight: 500;
            padding: 12px 0;
            border-bottom: 1px solid var(--borde);
            display: block;
            -webkit-tap-highlight-color: transparent;
            transition: color .12s;
        }
        .mobile-menu-account a:last-child { border-bottom: none; }
        .mobile-menu-account a:hover { color: var(--coral); }
        .mobile-menu-account .mobile-logout {
            color: var(--texto-2);
            opacity: .6;
        }
        .mobile-menu-account .mobile-logout:hover { opacity: 1; color: var(--coral); }
        .mobile-menu-donar {
            display: block;
            margin-top: 20px;
            text-align: center;
            font-size: .9rem;
            font-weight: 700;
            color: var(--texto-2) !important;
            border: 1.5px solid var(--borde) !important;
            border-radius: var(--radio-btn);
            padding: 12px 0;
            transition: border-color .15s, color .15s;
        }
        .mobile-menu-donar:hover { color: var(--purpura) !important; border-color: var(--purpura) !important; }

        /* ── SELECTOR IDIOMA ── */
        .lang-switcher { display: flex; align-items: center; gap: 2px; }
        .lang-btn {
            display: flex; align-items: center; gap: 5px;
            background: transparent; border: none; cursor: pointer;
            font-family: inherit; font-size: .75rem; font-weight: 700;
            color: var(--texto-2); padding: 4px 7px; border-radius: 6px;
            letter-spacing: .04em; transition: background .15s, color .15s;
            position: relative;
        }
        .lang-btn:hover { background: var(--crema); color: var(--texto); }
        .lang-btn.active { color: var(--texto); background: var(--crema); }
        .lang-btn svg { width: 16px; height: 12px; border-radius: 2px; flex-shrink: 0; }
        .lang-btn[disabled] { opacity: .45; cursor: default; }
        .lang-btn[disabled]:hover { background: transparent; color: var(--texto-2); }
        .lang-tooltip {
            display: none; position: absolute; top: calc(100% + 6px); left: 50%;
            transform: translateX(-50%); background: var(--texto); color: white;
            font-size: .7rem; font-weight: 600; white-space: nowrap;
            padding: 4px 8px; border-radius: 4px; pointer-events: none; z-index: 100;
        }
        .lang-btn[disabled]:hover .lang-tooltip { display: block; }

        /* ── LANG DROPDOWN ── */
        .lang-dropdown-btn {
            background: none; border: none; padding: 4px 7px; cursor: pointer;
            font-family: inherit; font-size: .78rem; font-weight: 700;
            color: var(--texto-2); letter-spacing: .04em;
            display: flex; align-items: center; gap: 5px; border-radius: 6px;
            transition: background .15s, color .15s;
        }
        .lang-dropdown-btn:hover { background: var(--crema); color: var(--texto); }
        .lang-dropdown-btn.open { background: var(--crema); color: var(--texto); }
        .lang-dropdown-btn svg:first-child { width: 18px; height: 14px; border-radius: 2px; flex-shrink: 0; }
        .lang-dropdown-btn svg:last-child { width: 10px; height: 10px; transition: transform .18s; }
        .lang-dropdown-btn.open svg:last-child { transform: rotate(180deg); }
        .lang-dropdown-menu { min-width: 160px; right: 0; left: auto; transform: none; }
        .lang-item {
            display: flex; align-items: center; gap: 8px;
            background: none; border: none; width: 100%; text-align: left;
            font-family: inherit; cursor: pointer;
        }
        .lang-item svg { width: 18px; height: 14px; border-radius: 2px; flex-shrink: 0; }
        .lang-item[disabled] { opacity: .45; cursor: default; pointer-events: none; }
        .lang-active { font-weight: 700; color: var(--purpura) !important; }
        .lang-mobile-btn {
            display: flex; align-items: center; gap: 5px;
            padding: 7px 12px; border: 1.5px solid var(--borde); border-radius: 6px;
            background: white; font-family: inherit; font-size: .82rem; font-weight: 600;
            color: var(--texto); cursor: pointer; transition: border-color .15s;
        }
        .lang-mobile-btn:hover { border-color: var(--texto); }
        .lang-mobile-active { border-color: var(--texto) !important; font-weight: 700; }
        .lang-mobile-disabled { opacity: .45; cursor: default; }

        /* ── RESPONSIVE ── */
        @media (max-width: 1180px) {
            .header-nav { display: none; }
            .header-actions { display: none; }
            .live-badge { display: none; }
            .btn-menu { display: flex; }
            .ticker { display: none; }
        }
        @media (max-width: 768px) {
            .header { padding: 0 16px; height: 56px; }
            .mobile-menu { padding-top: 64px; }
            .footer { padding: 40px 20px 0; }
            .footer-top { grid-template-columns: 1fr; gap: 24px; }
            .footer-links { grid-template-columns: repeat(2,1fr); }
            .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
            .franja-onboarding { padding-left: 20px !important; padding-right: 20px !important; }
            .footer-col a { min-height: 44px; display: flex; align-items: center; margin-bottom: 4px; padding: 6px 0; }
        }
        @media (max-width: 480px) {
            .footer-links { grid-template-columns: 1fr; }
        }
        /* Evitar zoom en inputs en iOS Safari */
        @media (max-width: 768px) {
            input, select, textarea { font-size: 16px !important; }
        }

        /* Línea fluo izquierda en todas las cards */
        .card, .card-animal, .match-card, .reporte-card, .recurso-card,
        .consejo-card, .form-card, .sidebar-card, .paypal-card {
            border-left: 3px solid #ccff00 !important;
        }

        /* Filtro por especie (pills) — compartido por los listados. Lo pinta
           /static/filtro-especie.js a partir de las cards .js-filtro-card. */
        .especie-filtro { display: flex; flex-wrap: wrap; gap: 12px; }
        .especie-pill { display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 50px; border: 1.5px solid var(--borde); background: #fff; font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--texto); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
        .especie-pill:hover { border-color: var(--page-accent, #586ba4); color: var(--page-accent, #586ba4); }
        .especie-pill.activa { background: var(--page-accent-20, rgba(88,107,164,.2)); border-color: var(--page-accent, #586ba4); color: var(--page-accent, #586ba4); }
        .filtro-oculto { display: none !important; }

/* ── Banner de emergencia (keyframe) ── */
@keyframes banner-entra { to { transform: translateY(-50%) translateX(0); } }

/* ── Banner de cookies (responsive) ── */
@media (max-width: 600px) {
    #cookie-banner { padding: 12px 14px !important; gap: 10px !important; flex-direction: column !important; align-items: stretch !important; }
    #cookie-banner > div:first-child { display: flex; flex-direction: column; gap: 4px; }
    #cookie-banner .cookie-btns { flex-direction: row; gap: 8px !important; }
    #cookie-banner .cookie-btns button { flex: 1; padding: 10px 8px !important; font-size: .82rem !important; }
    #cookie-desc { display: inline !important; font-size: .78rem !important; }
    #cookie-title { display: block; }
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   F2 — clases extraídas de los style="" inline de base.html
   ══════════════════════════════════════════════════════════════ */
#banner-emergencia {
    position: fixed; right: 0; top: 50%;
    transform: translateY(-50%) translateX(100%);
    z-index: 9999; background: #ccff00; color: #0D0D18;
    font-family: 'Inter', sans-serif;
    box-shadow: -4px 0 16px rgba(0,0,0,.22);
    border-radius: 8px 0 0 8px;
    animation: banner-entra .6s .3s cubic-bezier(.22,1,.36,1) forwards;
    display: flex; flex-direction: column; align-items: center;
}
#banner-cerrar {
    background: none; border: none; cursor: pointer;
    font-size: 1rem; font-weight: 700; color: #0D0D18;
    opacity: .5; padding: 1rem; line-height: 1;
}
.banner-link { color: inherit; text-decoration: none; display: flex; }
.banner-texto {
    display: block; writing-mode: vertical-rl; direction: rtl;
    font-size: 1.6rem; font-weight: 900; letter-spacing: .08em;
    text-transform: uppercase; padding: 2rem 1.4rem; line-height: 1;
}
.ticker-mask { overflow: hidden; flex: 1; display: flex; }
.franja-ayudar-wrap { background: #F762AF; width: 100%; }
.franja-onboarding {
    max-width: 1400px; margin: 0 auto; padding: 14px 48px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.franja-ayudar-info { display: flex; align-items: center; gap: 12px; }
.franja-ayudar-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #CEFF05; opacity: .8; }
.franja-ayudar-texto { font-size: .95rem; font-weight: 800; color: #CEFF05; }
.franja-ayudar-btn { flex-shrink: 0; background: #CEFF05; color: #F762AF; padding: 10px 22px; border-radius: 6px; font-size: .88rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
#main-content { flex: 1; }
#separador-footer {
    overflow: hidden; line-height: 1; font-size: 1rem; font-weight: 700;
    letter-spacing: 2px; color: rgba(50,67,118,.2); white-space: nowrap;
    background: linear-gradient(to bottom, var(--bg) 50%, #EDE8DF 50%);
    padding: 0; user-select: none;
}
#cookie-banner {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 8000; background: #0D0D18; box-shadow: 0 -4px 24px rgba(0,0,0,.3);
    padding: 16px 24px; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-info { flex: 1; min-width: 200px; }
#cookie-title { font-weight: 700; font-size: .88rem; color: #f8f6f2; }
#cookie-desc { font-size: .82rem; color: rgba(248,246,242,.65); margin-left: 8px; }
#cookie-desc a { color: #ccff00; text-decoration: underline; }
.cookie-btns { display: flex; gap: .6rem; flex-shrink: 0; }
#btn-rechazar-cookies { background: none; border: 1px solid rgba(248,246,242,.3); color: #f8f6f2; font-family: inherit; font-size: .84rem; font-weight: 600; padding: 9px 20px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
#btn-aceptar-cookies { background: #ccff00; border: none; color: #0D0D18; font-family: inherit; font-size: .84rem; font-weight: 700; padding: 9px 20px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.ticker-dot[data-dot] { /* color de fondo lo fija base.js desde data-dot */ }

/* ── F2: utilidades compartidas (usadas por varias plantillas) ── */
.is-hidden { display: none; }
.flex-shrink-0 { flex-shrink: 0; }
.svg-icon-12 { width: 12px; height: 12px; flex-shrink: 0; }
.svg-icon-14 { width: 14px; height: 14px; flex-shrink: 0; }

/* ── F2: utilidades genéricas (compartidas por varias plantillas) ── */
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.no-underline { text-decoration: none; }
.d-inline { display: inline; }
.clickable { cursor: pointer; }
.cursor-default { cursor: default; }
.text-mut { color: var(--texto-2); }
.op-2 { opacity: .2; }

/* ── F2: clases de páginas-listado (section-tabs, filtros) compartidas ── */
.divisor-h { border-top:1px solid var(--borde); margin:16px 0 18px; }
.hr-sep { border:none; border-top:1px solid var(--borde); margin:24px 0; }
.tab-c-azul { --tab-color:#324376; }
.tab-c-azul2 { --tab-color:#586ba4; }
.tab-c-coral { --tab-color:#f76c5e; }
.tab-c-naranja { --tab-color:#f68e5f; }
.tab-c-amarillo { --tab-color:#f5dd90; }
.tab-c-rosa { --tab-color:#F762AF; }
.filtros-row { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:24px; }
.pos-relative { position:relative; }

/* ── F2: utilidades genéricas adicionales (lote plantillas pequeñas) ── */
.flex-col-12 { display:flex; flex-direction:column; gap:12px; }
.flex-1 { flex:1; }
.flex-center-wrap { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.label-opcional { font-weight:400; color:var(--texto-2); }
.mb-20 { margin-bottom:20px; }
.mb-1rem { margin-bottom:1rem; }
.mt-1-2rem { margin-top:1.2rem; }
.fs-1 { font-size:1rem; }
.bg-purpura { background:var(--purpura); }
.bg-purpura-2 { background:var(--purpura-2); }
.link-volver { color:var(--purpura-2); font-weight:600; text-decoration:none; }
.chat-form-fixed { left:0; right:0; margin:0 auto; width:100%; max-width:680px; box-sizing:border-box; }
.msg-box { border-radius:var(--radio); padding:14px 18px; margin-bottom:24px; font-size:.88rem; }
.msg-box-error { background:var(--rojo-10); border:1px solid var(--rojo); }
.msg-box-ok { background:var(--verde-10); border:1px solid var(--verde); }
.select-full { width:100%; border:1px solid var(--borde); border-radius:10px; padding:10px 14px; font-size:1rem; font-family:inherit; color:var(--dark); background:white; box-sizing:border-box; }
.chat-empty { padding:30px 16px; text-align:center; font-size:.85rem; color:var(--texto-2); }
.pill-provincia { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; background:var(--purpura-06); color:var(--purpura); border-radius:999px; font-size:.9rem; font-weight:600; }

/* ── F2: clases de _header.html y _footer.html (en todas las páginas) ── */
.ndd-azul { background:#324376; }
.ndd-azul2 { background:#586ba4; }
.ndd-coral { background:#f76c5e; }
.ndd-naranja { background:#f68e5f; }
.ndd-amarillo { background:#f5dd90; }
.ndd-rosa { background:#F762AF; }
.ndd-coral-var { background:var(--coral); }
.nav-dd-label { font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--texto-2); }
.nav-dd-label-top { padding:8px 16px 4px; }
.nav-dd-label-mid { padding:4px 16px; }
.nav-dd-sep { border-top:1px solid var(--borde); margin:6px 0; }
.nav-badge { position:absolute; top:-4px; right:-4px; background:var(--coral); color:white; font-size:.7rem; font-weight:800; border-radius:50%; width:16px; height:16px; display:flex; align-items:center; justify-content:center; }
.nav-badge-inline { margin-left:6px; background:var(--coral); color:white; font-size:.7rem; font-weight:800; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; vertical-align:middle; }
.badge-proximamente { font-size:.7rem; color:var(--texto-2); }
.mobile-menu-section-first { border-top:none; padding-top:4px; }
.flex-gap-6-wrap { display:flex; gap:6px; flex-wrap:wrap; }
.footer-social { display:flex; gap:14px; margin-top:18px; }
.footer-link { color:var(--texto-2); text-decoration:none; }
.footer-link-sm { color:var(--texto-2); text-decoration:none; font-size:.88rem; }

/* ── F2: index.html (mapa homepage, leyenda, popups) ── */
.map-marker { border-radius:50%; box-shadow:0 2px 6px rgba(50,67,118,.4); display:flex; align-items:center; justify-content:center; }
.marker-huella { width:34px; height:34px; background:#324376; border:2px solid white; }
.marker-resuelta { width:28px; height:28px; background:#3BCEAC; border:2px solid white; }
.marker-encontrado { width:28px; height:28px; background:white; border:2px solid #586ba4; }
.marker-avistamiento { width:28px; height:28px; background:#f76c5e; border:2px solid white; }
.marker-rrss { width:28px; height:28px; background:white; border:2px solid #f68e5f; }
.popup-avist { font-family:Inter,sans-serif; min-width:160px; }
.popup-avist-titulo { font-weight:800; font-size:.92rem; color:#f76c5e; margin-bottom:4px; }
.popup-avist-comentario { font-size:.85rem; color:#6B7280; line-height:1.4; }
.popup-avist-fecha { font-size:.82rem; color:#9CA3AF; margin-top:6px; }
.flex-gap-6 { display:flex; gap:6px; }
.panel-count-purpura { background:var(--purpura-06); color:var(--purpura); }
.panel-vacio { padding:24px; font-size:.95rem; color:var(--texto-2); text-align:center; }
.leyenda-box { padding:12px 16px; border-top:1px solid var(--borde); }
.leyenda-titulo { font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px; color:var(--texto); font-size:.82rem; }
.ley-dot-perdido { background:#324376; border:2px solid white; box-shadow:0 1px 3px rgba(50,67,118,.4); }
.ley-dot-resuelto { background:#3BCEAC; border:2px solid white; box-shadow:0 1px 3px rgba(59,206,172,.4); }
.ley-dot-encontrado { background:white; border:2px solid #586ba4; box-shadow:0 1px 3px rgba(88,107,164,.3); }
.ley-dot-avistamiento { background:#f76c5e; border:2px solid white; box-shadow:0 1px 3px rgba(247,108,94,.4); }
.ley-dot-rrss { background:white; border:2px solid #f68e5f; box-shadow:0 1px 3px rgba(246,142,95,.3); }
.mini-foto-cover { width:100%; height:100%; object-fit:cover; }
.animal-location-head { font-weight:700; color:var(--texto); margin-bottom:4px; }
.svg-icon-13-coral { width:13px; height:13px; flex-shrink:0; color:var(--coral); }

/* ── F2: clases de formularios/avistamiento (compartidas) ── */
.aviso-coral { background:#fff1f0; border:1.5px solid var(--coral); border-radius:10px; padding:14px 18px; margin-bottom:16px; color:var(--coral); font-weight:600; font-size:1rem; }
.campo-obligatorio-nota { font-size:.85rem; color:var(--texto-2); margin:0 0 12px; }
.caja-info { padding:14px 16px; background:rgba(50,67,118,.05); border-radius:10px; border:1px solid rgba(50,67,118,.15); }
.caja-info.mb16 { margin-bottom:16px; }
#buscador-error { font-size:1rem; color:var(--coral); margin-bottom:8px; }
.ml-auto { margin-left:auto; }
.bg-crema { background:var(--crema); }
.mb-14 { margin-bottom:14px; }
.link-underline { color:var(--texto); text-decoration:underline; }
.aviso-amarillo { background:rgba(245,221,144,.15); border:1px solid rgba(245,221,144,.4); border-radius:12px; padding:14px 18px; margin-bottom:18px; display:flex; align-items:center; gap:14px; }
.thumb-52 { width:52px; height:52px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.reportando-label-caps { font-size:.95rem; font-weight:700; text-transform:uppercase; letter-spacing:.8px; color:var(--texto); margin-bottom:3px; }
.reportando-nombre-b { font-weight:800; font-size:1rem; color:var(--texto); }
.reportando-sub { font-size:1rem; color:var(--texto); margin-top:2px; }
.reportando-como-2 { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.reportando-avatar-texto { width:42px; height:42px; border-radius:50%; background:var(--texto); color:white; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.05rem; flex-shrink:0; }
.reportando-nombre-2 { font-size:1.1rem; font-weight:700; color:var(--texto); }
.reportando-tel { font-size:1rem; color:var(--texto-2); margin-top:2px; }
.badge-voluntario { display:inline-block; white-space:nowrap; font-size:.95rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--coral); background:white; padding:4px 10px; border-radius:50px; border:1px solid rgba(247,108,94,.2); }
.label-fecha { font-size:1.05rem; color:var(--texto-2); margin-bottom:6px; display:block; }
.label-hora { font-size:1.05rem; color:var(--texto-2); margin:0 0 6px; display:block; }
.check-label-av { display:flex; align-items:flex-start; gap:10px; cursor:pointer; font-size:1.05rem; color:var(--texto-2); line-height:1.5; }
.check-input-texto { margin-top:3px; flex-shrink:0; accent-color:var(--texto); }
.mk-avist-nuevo { background:#f76c5e; width:20px; height:20px; border-radius:50%; border:3px solid white; box-shadow:0 2px 8px rgba(247,108,94,0.5); }
.mk-avist-otro { background:#1F2240; width:16px; height:16px; border-radius:50%; border:3px solid white; box-shadow:0 2px 8px rgba(88,107,164,0.5); opacity:.7; }
.svg-icon-13 { width:13px; height:13px; flex-shrink:0; }

/* ── F2: dashboard dinámicos (barras de progreso, toggle tablón, toast) ── */
.w-0 { width:0; } .w-33 { width:33%; } .w-66 { width:66%; } .w-100 { width:100%; }
.tablon-toggle { position:relative; width:48px; height:26px; border-radius:13px; transition:background .2s; flex-shrink:0; }
.tgl-on { background:var(--amarillo); } .tgl-off { background:var(--borde); }
.tablon-knob { position:absolute; top:3px; width:20px; height:20px; border-radius:50%; background:white; transition:left .2s; box-shadow:0 1px 3px rgba(0,0,0,.2); }
.knob-on { left:25px; } .knob-off { left:3px; }
.radio-toast { font-size:1rem; font-weight:600; padding:8px 12px; border-radius:8px; margin-bottom:10px; }
.radio-toast-error { background:rgba(247,108,94,.10); color:#f76c5e; }
.radio-toast-ok { background:var(--verde-10); color:#3BCEAC; }

/* ── F2: mensajes flash con color condicional + foto con transición ── */
.msg-flash { padding:12px 16px; border-radius:10px; margin-bottom:16px; font-size:.88rem; font-weight:600; }
.msg-flash-error { background:rgba(247,108,94,.08); border:1px solid rgba(247,108,94,.25); color:#f76c5e; }
.msg-flash-ok { background:rgba(59,206,172,.08); border:1px solid rgba(59,206,172,.25); color:#3BCEAC; }
.mini-foto-cover-t { width:100%; height:100%; object-fit:cover; transition:object-position .1s; }

/* ── F2: alertas_provincia / alertas_ccaa / busca_familia_detalle ── */
.mt-14 { margin-top:14px; }
.mt-18 { margin-top:18px; }
.fila-ciudades { margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.label-por-ciudad { font-size:.85rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--texto-2); }
.pill-ciudad { display:inline-flex; align-items:center; padding:6px 14px; background:white; border:1.5px solid var(--borde); color:var(--texto); border-radius:999px; font-size:.9rem; font-weight:600; text-decoration:none; }
.pill-telegram { display:inline-flex; align-items:center; gap:8px; padding:8px 16px; background:var(--purpura); color:white; border-radius:999px; font-size:.9rem; font-weight:700; text-decoration:none; }
.label-por-provincia { font-size:.85rem; font-weight:700; color:var(--texto-2); text-transform:uppercase; letter-spacing:.04em; }
.flex-wrap-gap8-mt10 { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.pill-count { opacity:.6; font-weight:500; }
.bf-btn-full { width:100%; border:none; cursor:pointer; font-family:inherit; }
.bg-dark { background:var(--dark); }

/* ── F2: estilos generados por JS (razas-corrector, etc.) ── */
.raza-hint-txt { color:var(--texto-2,#5d6072); }
.raza-hint-btn { background:none; border:none; padding:0; font:inherit; color:var(--coral,#f76c5e); font-weight:700; cursor:pointer; text-decoration:underline; }

/* ── F2: modales/popup generados por dashboard.js ── */
.mt-20 { margin-top:20px; } .mt-0 { margin-top:0; }
.tg-modal-card { background:white; border-radius:24px; padding:40px 36px 32px; max-width:380px; width:100%; text-align:center; box-shadow:0 24px 64px rgba(31,34,64,.18); border:1px solid var(--borde); }
.tg-modal-icon { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; background:var(--crema); border:1px solid var(--borde); border-radius:14px; margin-bottom:20px; }
.tg-modal-label { font-size:.82rem; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; color:var(--texto-2); margin-bottom:10px; }
.tg-modal-desc { font-size:1rem; color:var(--texto-2); line-height:1.6; margin-bottom:28px; }
.tg-pin-row { display:flex; gap:8px; justify-content:center; margin-bottom:10px; }
.tg-pin-digit { width:44px; height:56px; background:var(--crema); border:1.5px solid var(--borde); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.75rem; font-weight:900; color:var(--texto); font-variant-numeric:tabular-nums; }
.tg-modal-hint { font-size:.82rem; color:var(--texto-2); margin-bottom:28px; }
.tg-modal-btn { display:flex; align-items:center; justify-content:center; gap:8px; background:var(--purpura); color:white; border-radius:6px; padding:14px 24px; font-weight:700; font-size:.95rem; text-decoration:none; margin-bottom:12px; transition:opacity .15s; }
.tg-modal-close { background:none; border:none; color:var(--texto-2); font-size:.9rem; cursor:pointer; font-family:inherit; padding:8px 16px; border-radius:6px; transition:background .15s; }
.rrss-modal-card { background:white; border-radius:16px; padding:28px; max-width:380px; width:100%; box-shadow:0 8px 40px rgba(31,34,64,.18); }
.rrss-modal-h3 { font-size:1rem; font-weight:800; margin:0 0 10px; }
.rrss-modal-p { font-size:.9rem; color:var(--texto-2); margin:0 0 20px; line-height:1.5; }
.rrss-modal-btns { display:flex; gap:10px; justify-content:flex-end; }
.rrss-modal-cancel { background:none; border:1px solid var(--borde); border-radius:8px; padding:8px 16px; font-size:.88rem; cursor:pointer; font-family:inherit; }
.rrss-modal-delete { background:#f76c5e; color:white; border:none; border-radius:8px; padding:8px 16px; font-size:.88rem; font-weight:700; cursor:pointer; font-family:inherit; }

/* ── F2: marcadores y ficha generados por mapa.js ── */
.mk-map-huella { width:34px; height:34px; border-radius:50%; background:#324376; border:2px solid white; box-shadow:0 2px 6px rgba(50,67,118,.5); display:flex; align-items:center; justify-content:center; }
.mk-map-wrap { position:relative; width:34px; height:34px; }
.mk-map-pulse { position:absolute; top:-6px; left:-6px; width:46px; height:46px; background:rgba(50,67,118,.25); border-radius:50%; animation:pulso 1.2s ease-out infinite; }
.mk-map-huella-res { width:34px; height:34px; border-radius:50%; background:#324376; border:2px solid white; box-shadow:0 2px 8px rgba(50,67,118,.7); display:flex; align-items:center; justify-content:center; position:relative; }
.mk-map-encontrado { width:34px; height:34px; border-radius:50%; background:white; border:2px solid #586ba4; box-shadow:0 2px 6px rgba(88,107,164,.35); display:flex; align-items:center; justify-content:center; }
.mk-map-cluster { width:40px; height:40px; border-radius:50%; background:#1F2240; border:3px solid white; box-shadow:0 2px 8px rgba(50,67,118,.5); display:flex; align-items:center; justify-content:center; color:white; font-weight:800; font-size:1rem; }
.mk-map-avist { width:28px; height:28px; border-radius:50%; background:#f76c5e; border:2px solid white; box-shadow:0 2px 6px rgba(247,108,94,.4); display:flex; align-items:center; justify-content:center; }
.mk-map-rrss { width:34px; height:34px; border-radius:50%; background:white; border:2px solid #f68e5f; box-shadow:0 2px 6px rgba(246,142,95,.4); display:flex; align-items:center; justify-content:center; }
.mk-prot { width:32px; height:32px; border-radius:50%; background:#3BCEAC; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:bold; font-size:14px; border:2px solid rgba(0,0,0,0.2); box-shadow:0 2px 4px rgba(0,0,0,0.3); }
.cluster-item-row { padding:10px 0; border-bottom:1px solid var(--borde); cursor:pointer; display:flex; align-items:center; gap:10px; }
.cluster-thumb { width:40px; height:40px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.cluster-noimg { width:40px; height:40px; border-radius:8px; background:var(--bg); flex-shrink:0; }
.cluster-nombre { font-size:.95rem; }
.cluster-meta { font-size:.82rem; color:var(--texto-2); }
.update-icono-avistamiento { background:rgba(88,107,164,.08); }
.update-icono-busqueda { background:rgba(245,221,144,.15); }
.update-icono-encontrado { background:rgba(59,206,172,.10); }
.update-icono-info { background:rgba(107,114,128,.08); }

/* ── F2: widget de nivel (tag_nivel) + estilos generados por template tags ── */
.svg-block { display:block; }
.nivel-wrap { display:flex; flex-direction:column; align-items:flex-start; gap:8px; width:100%; }
.nivel-inner { width:100%; display:flex; flex-direction:column; gap:0; }
.nivel-barra { width:100%; height:8px; background:#e8e8e8; border-radius:4px; overflow:hidden; }
.nivel-barra-fill { height:100%; border-radius:4px; transition:width .4s ease; }
.nivel-iconos { display:flex; justify-content:space-between; width:100%; margin-top:6px; }
.nivel-icono-item { display:flex; flex-direction:column; align-items:center; gap:3px; }
.nivel-label { font-family:Helvetica,Arial,sans-serif; font-size:.6rem; letter-spacing:.2px; }
.nivel-pill { background:#f5dd90; color:#1a1000; font-family:Helvetica,Arial,sans-serif; font-size:.72rem; font-weight:700; padding:3px 10px; border-radius:50px; letter-spacing:.3px; white-space:nowrap; }
/* badge de mensajes no leídos (base.js) */
.msg-badge-global { position:absolute; top:-4px; right:-4px; background:var(--coral); color:white; font-size:.7rem; font-weight:800; border-radius:50%; width:16px; height:16px; display:flex; align-items:center; justify-content:center; }
/* toast push (dashboard.js) */
#push-toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); padding:12px 24px; border-radius:12px; font-size:1.05rem; font-weight:600; z-index:9999; transition:opacity .4s; box-shadow:0 4px 20px rgba(0,0,0,.15); }
/* overlay de modales (dashboard.js) */
.modal-overlay { position:fixed; inset:0; background:rgba(31,34,64,.55); z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(2px); }
/* caja de sugerencia de raza (razas-corrector.js) */
.huelllla-raza-sug { display:none; margin-top:6px; font-size:.95rem; color:var(--texto-2,#5d6072); line-height:1.4; }
/* textarea offscreen para copiar (mapa.js) */
.clipboard-offscreen { position:fixed; opacity:0; pointer-events:none; }

/* ── F2: inputs de forms.py ── */
.input-full { width:100%; box-sizing:border-box; }
