#captains-map {
    height: 600px;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 1;
    /* Keep below sticky header */
    background: #f0f0f0;
    /* Loading placeholder */
}

/* Custom Popup Style */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 15px;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.4;
    font-size: 0.95rem;
}

.leaflet-popup-content b {
    color: var(--accent);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.leaflet-popup-content a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    border-bottom: 1px dotted var(--gold);
}

.leaflet-popup-tip {
    background: white;
}

/* Branded Token Marker */
.brand-marker-token {
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    /* Ensure transparent parts of logo show white bg */
    transition: transform 0.2s;
}

.brand-marker-token:hover {
    transform: scale(1.1);
    z-index: 1000 !important;
}