    @font-face {
        font-family: 'Pirulen';
        src: url('../fonts/pirulen.ttf');
    }

    @font-face {
        font-family: 'Coco Gothic';
        src: url('../fonts/coco-gothic.ttf');
    }

    @font-face {
        font-family: 'CocoNumberMix';
        src: local('Arial');
        unicode-range: U+30-39;
    }

    @font-face {
        font-family: 'CocoNumberMix';
        src: url('../fonts/coco-gothic.ttf');
        unicode-range: U+0000-002F, U+003A-FFFF;
    }

    .city-counts {
        background: red;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    }

    .custom-cluster {
        background-color: transparent;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        font-weight: bold;
        color: white;
    }



    .custom-cluster-icon {
        background: red;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        display: inline-block;
        line-height: 40px;
        text-align: center;
    }

    .team-icon-wrapper {
        background: transparent;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .team-icon-wrapper img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 50%;
        object-fit: contain;
    }

    /* Nav Overlay */
    .nav-overlay {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: 90vw;
        z-index: 1000;
        pointer-events: none;
        display: flex;
        justify-content: center;
    }

    .controls-container {
        pointer-events: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        /* Prevent too wide on ultrawide */
    }

    .nav-buttons {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        direction: ltr;
    }

    .btn {
        font-family: "Pirulen", sans-serif;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        /* Restored size */
        padding: 0.7rem 1.2rem;
        /* Restored padding */
        border-radius: 2rem;
        transition: all 0.3s ease;
        background: rgba(0, 0, 0, 0.4);
        /* Restored opacity */
        text-align: center;
        white-space: nowrap;
        justify-self: center;
        /* Restored alignment */
        width: fit-content;
        /* Restored width behavior */
    }

    .btn:hover {
        background: #59D3FF;
    }


    #teamDetails {
        position: absolute;
        top: 20px;
        left: 20px;
        /* Restored left */
        right: auto;
        width: 350px;
        max-width: 90vw;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        z-index: 2000;
        padding: 20px;
        display: none;
        /* Hidden by default */
        transition: opacity 0.3s ease;
        font-family: 'Coco Gothic', sans-serif;
    }

    #teamDetails.visible {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #teamDetails .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        color: #888;
        cursor: pointer;
        transition: color 0.2s;
        line-height: 1;
    }

    #teamDetails .close-btn:hover {
        color: #333;
    }

    .team-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .team-logo-large {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        background: white;
    }

    .team-title-group h2 {
        margin: 0;
        font-size: 1.2rem;
        color: #333;
        text-transform: uppercase;
        font-family: 'Pirulen', sans-serif;
        line-height: normal;
    }

    .team-title-group h3 {
        margin: 5px 0 0 0;
        font-size: 0.9rem;
        color: #666;
        font-weight: normal;
    }

    .team-info-row {
        margin-bottom: 8px;
        font-size: 0.9rem;
        color: #555;
        line-height: 1.4;
    }

    .team-info-row strong {
        color: #888;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.8rem;
        margin-right: 5px;
    }

    .team-info-row a {
        color: #e67e22;
        text-decoration: none;
    }

    .team-info-row a:hover {
        text-decoration: underline;
    }

    body {
        margin: 0;
        padding: 0;
        display: flex;
        height: 100vh;
    }

    #map {
        flex: 1;
        height: 100%;
    }

    .team-overlay {
        width: 350px;
        background: white;
        padding: 20px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: relative;
        z-index: 1000;
    }

    .team-overlay.visible {
        transform: translateX(0);
    }

    .close-btn {
        position: absolute;
        right: 15px;
        top: 15px;
        cursor: pointer;
        font-size: 1.5em;
        color: #666;
    }

    /* Team Details Styling */
    .team-overlay h2 {
        color: #2c3e50;
        font-size: 1.8rem;
        margin: 0 0 1.5rem 0;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding-right: 25px;
    }

    .team-icon {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        display: block;
        margin: 0 auto 2rem;
        border: 3px solid #ecf0f1;
        object-fit: cover;
    }

    .info-section {
        padding: 0 1rem;
    }

    .info-row {
        display: grid;
        grid-template-columns: 120px 1fr;
        align-items: center;
        margin-bottom: 1rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid #ecf0f1;
    }

    .label {
        font-weight: 600;
        color: #7f8c8d;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .value {
        color: #2c3e50;
        font-size: 0.9rem;
        word-break: break-word;
    }

    .link {
        color: #3498db;
        text-decoration: none;
    }

    .link:hover {
        text-decoration: underline;
    }

    .modern-num {
        font-family: "Arial", sans-serif;
        font-weight: bold;
    }

    /* Controls Container - override previous if any */
    /* .controls-container handled above */

    .search-bar-row {
        display: flex;
        gap: 10px;
        width: 100%;
        /* max-width removed for full width */
    }

    /* Search Input & Results - Ported from Search Page */
    .search-input {
        width: 100%;
        padding: 15px 20px;
        border-radius: 30px;
        border: 2px solid white;
        background: rgba(255, 255, 255, 0.95);
        font-size: 1.1rem;
        outline: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        font-family: 'CocoNumberMix', sans-serif;
        transition: all 0.3s ease;
        color: #000;
    }

    .search-input:focus {
        border-color: #007bff;
        background: white;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .search-results {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        max-height: 400px;
        overflow-y: auto;
        z-index: 2001;
        margin-top: 10px;
        display: none;
        padding: 0;
        /* Reset */
    }

    .search-results.visible {
        display: block;
    }

    .search-result-item {
        display: flex;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        transition: background 0.2s;
        font-family: 'CocoNumberMix', sans-serif;
    }

    .search-result-item:last-child {
        border-bottom: none;
    }

    .search-result-item:hover {
        background-color: #f9f9f9;
        padding-left: 20px;
        /* Slide effect */
    }

    .search-result-icon {
        width: 40px;
        height: 40px;
        object-fit: contain;
        margin-right: 15px;
        border-radius: 5px;
    }

    .search-result-text {
        display: flex;
        flex-direction: column;
    }

    .search-result-name {
        font-weight: bold;
        color: #000;
        font-size: 1rem;
    }

    .search-result-sub {
        color: #333;
        font-size: 0.85rem;
    }

    /* Filter Button - Round Style */
    .filter-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #41dccc;
        color: white;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background-color 0.3s ease;
        flex-shrink: 0;
    }

    .filter-btn:hover {
        background: #3ac0b2;
    }

    /* Filter Panel */
    .filter-panel {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        display: none;
        /* Hidden by default */
        flex-direction: column;
        gap: 10px;
        animation: fadeIn 0.2s ease-out;
    }

    .filter-panel.visible {
        display: flex;
    }

    .filter-select {
        width: 100%;
        padding: 8px;
        border-radius: 5px;
        border: 1px solid #ddd;
        font-family: 'Coco Gothic', sans-serif;
        background: white;
    }

    .filter-checkbox {
        margin-right: 8px;
    }

    .checkbox-row {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        color: #333;
        font-family: 'Coco Gothic', sans-serif;
    }

    .small-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        background: #e74c3c;
    }

    .small-btn:hover {
        background: #c0392b;
    }

    /* Adjust nav buttons handled in main block */