
        :root {
            --primary: #1a1a2e;
            --primary-dark: #0f0f1a;
            --accent: #cc0000;
            --accent-hover: #990000;
            --text: #1a1a2e;
            --text-light: #6b7280;
            --bg: #ffffff;
            --bg-alt: #f8f9fa;
            --border: #e5e7eb;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        .skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 4px; z-index: 10000; font-weight: 600; text-decoration: none; }
        .skip-link:focus { top: 8px; }
        :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
        body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: #0d1117; overflow: hidden; }
        a { color: var(--accent); text-decoration: none; }
        a:hover { text-decoration: underline; }

        /* Navigation */
        .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
        .nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; justify-content: space-between; align-items: center; }
        .logo { font-weight: 800; font-size: 24px; color: var(--primary); text-decoration: none; }
        .nav-links { display: flex; align-items: center; gap: 20px; }
        .nav-links a { color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; }
        .nav-links a:hover { color: var(--accent); text-decoration: none; }
        .nav-cta { background: var(--accent); color: white !important; padding: 10px 20px; border-radius: 6px; font-weight: 600; }
        .nav-cta:hover { background: var(--accent-hover); text-decoration: none; }
        .lang-selector { position: relative; margin-left: 8px; }
        .lang-selector-toggle { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: transparent; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text); transition: all 0.2s; }
        .lang-selector-toggle:hover { border-color: var(--accent); color: var(--accent); }
        .lang-selector-toggle::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; transition: transform 0.2s; }
        .lang-selector:hover .lang-selector-toggle::after { transform: rotate(180deg); }
        .lang-selector-menu { display: none; position: absolute; top: 100%; right: 0; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); min-width: 140px; padding: 8px 0; z-index: 1001; margin-top: 8px; }
        .lang-selector-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
        .lang-selector:hover .lang-selector-menu { display: block; }
        .lang-selector-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; color: var(--text); text-decoration: none; transition: background 0.15s, color 0.15s; }
        .lang-selector-menu a:hover { background: var(--bg-alt); color: var(--accent); }
        .lang-selector-menu a.active { color: var(--accent); font-weight: 600; }
        .nav-dropdown { position: relative; }
        .nav-dropdown > .nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
        .nav-dropdown > .nav-dropdown-toggle::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; display: inline-block; margin-top: 2px; transition: transform 0.2s; }
        .nav-dropdown:hover > .nav-dropdown-toggle::after { transform: rotate(180deg); }
        .nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); min-width: 200px; padding: 8px 0; z-index: 1001; margin-top: 12px; }
        .nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
        .nav-dropdown:hover > .nav-dropdown-menu { display: block; }
        .nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text); white-space: nowrap; transition: background 0.15s, color 0.15s; }
        .nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--accent); }

        .hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 10px; z-index: 1001; background: none; border: none; }
        .hamburger span { width: 25px; height: 3px; background: var(--primary); border-radius: 3px; transition: all 0.3s; }
        .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
        .mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.95); z-index: 999; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 32px 0; overflow-y: auto; }
        .mobile-menu.active { display: flex; }
        .mobile-menu a { color: white; font-size: 24px; font-weight: 600; text-decoration: none; padding: 12px 24px; transition: color 0.2s; }
        .mobile-menu a:hover { color: var(--accent); text-decoration: none; }
        .mobile-menu .nav-cta { margin-top: 20px; }
        .mobile-section { width: 100%; text-align: center; }
        .mobile-section-header { color: white; font-size: 24px; font-weight: 600; padding: 12px 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: color 0.2s; text-decoration: none; }
        .mobile-section-header:hover { color: var(--accent); }
        .mobile-section-header::after { content: '+'; font-size: 20px; font-weight: 400; transition: transform 0.3s; display: inline-block; }
        .mobile-section.active .mobile-section-header::after { content: '-'; }
        .mobile-section-links { display: none; flex-direction: column; gap: 4px; padding: 4px 0 16px; }
        .mobile-section.active .mobile-section-links { display: flex; }
        .mobile-section-links a { color: rgba(255,255,255,0.7); font-size: 17px; font-weight: 400; padding: 8px 24px; text-decoration: none; transition: color 0.2s; }
        .mobile-section-links a:hover { color: var(--accent); }

        /* Map Container */
        .map-wrapper {
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }

        #map {
            width: 100%;
            height: 100%;
        }
        .leaflet-top.leaflet-right {
            top: 42px;
            right: 10px;
        }

        /* Back Bar overlay */
        .back-bar {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(13, 17, 23, 0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-bottom: 1px solid rgba(204, 0, 0, 0.3);
            padding: 8px 20px;
            display: flex;
            align-items: center;
            z-index: 500;
        }
        .back-bar a {
            color: #8b949e;
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .back-bar a:hover { color: #cc0000; text-decoration: none; }

        /* Sidebar */
        .sidebar {
            position: absolute;
            top: 37px;
            left: 0;
            bottom: 0;
            width: 380px;
            background: rgba(13, 17, 23, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-right: 1px solid rgba(204, 0, 0, 0.2);
            z-index: 400;
            display: flex;
            flex-direction: column;
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
        .sidebar.collapsed {
            transform: translateX(-380px);
        }

        .sidebar-toggle {
            position: absolute;
            top: 50%;
            right: -36px;
            transform: translateY(-50%);
            width: 36px;
            height: 72px;
            background: rgba(13, 17, 23, 0.92);
            border: 1px solid rgba(204, 0, 0, 0.3);
            border-left: none;
            border-radius: 0 8px 8px 0;
            color: #e6edf3;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: background 0.2s, color 0.2s;
        }
        .sidebar-toggle:hover {
            background: rgba(204, 0, 0, 0.3);
            color: #fff;
        }
        .sidebar.collapsed .sidebar-toggle {
            right: -36px;
        }

        .sidebar-header {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(204, 0, 0, 0.15);
            flex-shrink: 0;
        }
        .sidebar-header h2 {
            color: #e6edf3;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-header h2 .accent { color: #cc0000; }
        .sidebar-header p {
            color: #8b949e;
            font-size: 12px;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            padding: 12px 20px;
            border-bottom: 1px solid rgba(204, 0, 0, 0.15);
            flex-shrink: 0;
        }
        .stat-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 10px;
            text-align: center;
        }
        .stat-card .stat-value {
            color: #e6edf3;
            font-size: 22px;
            font-weight: 800;
            line-height: 1.2;
        }
        .stat-card .stat-label {
            color: #8b949e;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .stat-card.kml .stat-value { color: #f0883e; }
        .stat-card.vessel .stat-value { color: #58a6ff; }
        .stat-card.aircraft .stat-value { color: #bc8cff; }

        /* Legend */
        .legend-section {
            padding: 12px 20px;
            border-bottom: 1px solid rgba(204, 0, 0, 0.15);
            flex-shrink: 0;
        }
        .legend-title {
            color: #8b949e;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 8px;
        }
        .legend-items {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #c9d1d9;
            background: rgba(255, 255, 255, 0.04);
            padding: 4px 10px;
            border-radius: 4px;
        }
        .legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .dot-kml { background: #f0883e; }
        .dot-sanctioned { background: #f85149; }
        .dot-darkfleet { background: #484f58; border: 1px solid #8b949e; }
        .dot-chevron { background: #58a6ff; }
        .dot-venezuela { background: #e3b341; }
        .dot-kml-line { background: transparent; border: 2px solid #fbc02d; width: 16px; height: 3px; border-radius: 2px; }

        /* Search */
        .search-box {
            padding: 10px 20px;
            border-bottom: 1px solid rgba(204, 0, 0, 0.15);
            flex-shrink: 0;
        }
        .search-input {
            width: 100%;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            color: #e6edf3;
            font-size: 13px;
            font-family: 'Inter', sans-serif;
            outline: none;
            transition: border-color 0.2s;
        }
        .search-input::placeholder { color: #484f58; }
        .search-input:focus { border-color: rgba(204, 0, 0, 0.5); }

        /* Tabs */
        .sidebar-tabs {
            display: flex;
            border-bottom: 1px solid rgba(204, 0, 0, 0.15);
            flex-shrink: 0;
        }
        .sidebar-tab {
            flex: 1;
            padding: 10px;
            text-align: center;
            font-size: 12px;
            font-weight: 600;
            color: #8b949e;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            background: none;
            border-top: none;
            border-left: none;
            border-right: none;
            font-family: 'Inter', sans-serif;
        }
        .sidebar-tab:hover { color: #c9d1d9; }
        .sidebar-tab.active {
            color: #cc0000;
            border-bottom-color: #cc0000;
        }

        /* Scrollable List */
        .sidebar-list {
            flex: 1;
            overflow-y: auto;
            padding: 0;
        }
        .sidebar-list::-webkit-scrollbar { width: 6px; }
        .sidebar-list::-webkit-scrollbar-track { background: transparent; }
        .sidebar-list::-webkit-scrollbar-thumb { background: rgba(204, 0, 0, 0.3); border-radius: 3px; }
        .sidebar-list::-webkit-scrollbar-thumb:hover { background: rgba(204, 0, 0, 0.5); }

        .list-item {
            padding: 10px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            cursor: pointer;
            transition: background 0.15s;
        }
        .list-item:hover {
            background: rgba(204, 0, 0, 0.08);
        }
        .list-item-name {
            color: #e6edf3;
            font-size: 13px;
            font-weight: 600;
        }
        .list-item-meta {
            color: #8b949e;
            font-size: 11px;
            margin-top: 2px;
        }
        .list-item-badge {
            display: inline-block;
            padding: 1px 6px;
            border-radius: 3px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-right: 4px;
        }
        .badge-sanctioned { background: rgba(248, 81, 73, 0.2); color: #f85149; }
        .badge-darkfleet { background: rgba(139, 148, 158, 0.2); color: #8b949e; }
        .badge-chevron { background: rgba(88, 166, 255, 0.2); color: #58a6ff; }
        .badge-venezuela { background: rgba(227, 179, 65, 0.2); color: #e3b341; }
        .badge-aircraft { background: rgba(188, 140, 255, 0.2); color: #bc8cff; }

        .list-empty {
            padding: 30px 20px;
            text-align: center;
            color: #484f58;
            font-size: 13px;
        }

        .list-count {
            padding: 6px 20px;
            color: #484f58;
            font-size: 11px;
            font-weight: 600;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            flex-shrink: 0;
        }

        /* Footer */
        .footer { display: none; }

        /* Leaflet overrides for dark theme */
        .leaflet-control-zoom a {
            background: rgba(13, 17, 23, 0.9) !important;
            color: #e6edf3 !important;
            border-color: rgba(204, 0, 0, 0.3) !important;
        }
        .leaflet-control-zoom a:hover {
            background: rgba(204, 0, 0, 0.4) !important;
        }
        .leaflet-control-layers {
            background: rgba(13, 17, 23, 0.92) !important;
            border: 1px solid rgba(204, 0, 0, 0.3) !important;
            border-radius: 8px !important;
            color: #e6edf3 !important;
            backdrop-filter: blur(8px);
        }
        .leaflet-control-layers-expanded {
            padding: 12px 14px !important;
        }
        .leaflet-control-layers label {
            color: #c9d1d9 !important;
            font-size: 12px;
        }
        .leaflet-control-layers-separator {
            border-top-color: rgba(204, 0, 0, 0.2) !important;
        }
        .leaflet-popup-content-wrapper {
            background: rgba(13, 17, 23, 0.95) !important;
            color: #e6edf3 !important;
            border: 1px solid rgba(204, 0, 0, 0.3) !important;
            border-radius: 8px !important;
            box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
        }
        .leaflet-popup-tip {
            background: rgba(13, 17, 23, 0.95) !important;
            border: 1px solid rgba(204, 0, 0, 0.3) !important;
            box-shadow: none !important;
        }
        .leaflet-popup-content {
            margin: 12px 16px !important;
            font-family: 'Inter', sans-serif !important;
            font-size: 13px !important;
            line-height: 1.5 !important;
        }
        .leaflet-popup-content .popup-title {
            font-weight: 700;
            font-size: 14px;
            color: #e6edf3;
            margin-bottom: 6px;
            border-bottom: 1px solid rgba(204, 0, 0, 0.2);
            padding-bottom: 6px;
        }
        .leaflet-popup-content .popup-field {
            font-size: 12px;
            color: #8b949e;
            margin-bottom: 3px;
        }
        .leaflet-popup-content .popup-field strong {
            color: #c9d1d9;
        }
        .leaflet-popup-content .popup-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-top: 4px;
        }
        .leaflet-popup-content a {
            color: #58a6ff;
        }
        .leaflet-container a.leaflet-popup-close-button {
            color: #8b949e !important;
        }
        .leaflet-container a.leaflet-popup-close-button:hover {
            color: #cc0000 !important;
        }
        .leaflet-control-attribution {
            background: rgba(13, 17, 23, 0.7) !important;
            color: #484f58 !important;
        }
        .leaflet-control-attribution a {
            color: #8b949e !important;
        }

        /* Loading overlay */
        .loading-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(13, 17, 23, 0.9);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 600;
            transition: opacity 0.5s;
        }
        .loading-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }
        .loading-spinner {
            width: 48px;
            height: 48px;
            border: 3px solid rgba(204, 0, 0, 0.2);
            border-top-color: #cc0000;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .loading-text {
            color: #8b949e;
            font-size: 13px;
            margin-top: 16px;
            font-weight: 500;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .nav-links { display: none; }
            .hamburger { display: flex; }

            .sidebar {
                top: auto;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                height: 45vh;
                border-right: none;
                border-top: 1px solid rgba(204, 0, 0, 0.3);
                transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .sidebar.collapsed {
                transform: translateY(calc(45vh - 0px));
            }
            .sidebar-toggle {
                top: -36px;
                right: auto;
                left: 50%;
                transform: translateX(-50%);
                width: 72px;
                height: 36px;
                border-radius: 8px 8px 0 0;
                border: 1px solid rgba(204, 0, 0, 0.3);
                border-bottom: none;
            }
        }

        @media (max-width: 600px) {
            .stats-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
                padding: 8px 12px;
            }
            .stat-card { padding: 6px; }
            .stat-card .stat-value { font-size: 18px; }
            .sidebar { height: 50vh; }
            .sidebar.collapsed { transform: translateY(50vh); }
        }

        @media (max-width: 480px) {
            .nav-inner { padding: 0 16px; height: 60px; }
            .logo { font-size: 20px; }
            .mobile-menu { top: 60px; }
            .sidebar-header h2 { font-size: 14px; }
            .stat-card .stat-value { font-size: 16px; }
            .stat-card .stat-label { font-size: 9px; }
        }
    .tile-dark { filter: invert(1) grayscale(1) brightness(0.85) contrast(0.9); }
    

@media(max-width:480px){#floatingDonate{padding:8px 14px !important;font-size:13px !important;bottom:14px !important;right:14px !important;gap:6px !important;}}
@media(max-width:480px){#floatingDonate svg{width:14px !important;height:14px !important;}}

html,body{margin:0!important;padding:0!important;overflow:hidden!important}main,.map-wrapper{margin:0!important;padding:0!important;height:100vh!important}.map-wrapper{top:0!important}#map{height:100vh!important}.leaflet-top.leaflet-right{top:12px!important}.back-bar,#floatingDonate{display:none!important}.sidebar{top:12px!important;bottom:12px!important;max-height:calc(100vh - 24px)!important;overflow:visible!important}.sidebar-list{min-height:0}*{border-radius:0!important;box-shadow:none!important}@media(max-width:900px){.sidebar{top:auto!important;bottom:0!important}}

.map-marker-dot{border:2px solid;box-sizing:border-box}.list-item[role=button]:focus-visible{outline:2px solid white;outline-offset:-2px}
.map-inline-0{color:#f0883e;}
.map-inline-1{color:#fbc02d;}
.map-inline-2{color:#f85149;}
.map-inline-3{color:#484f58;}
.map-inline-4{color:#58a6ff;}
.map-inline-5{color:#e3b341;}