   :root {
            --gold: #C0A062;
            --duck-yellow: #F7E300;
            --bg-dark: #050505;
            --card-bg: #111;
            --border: rgba(192, 160, 98, 0.2);
            --green-active: #4CAF50;
            --danger: #ff4d4d;
        }

        body {
            background: var(--bg-dark);
            color: #fff;
            font-family: 'Roboto', sans-serif;
            margin: 0;
            padding-bottom: 40px;
        }

        .container {
            max-width: 550px;
            margin: 0 auto;
            padding: 15px;
        }

        header {
            text-align: center;
            padding: 20px 0;
        }


        .radar-label {
            font-size: 0.6rem;
            letter-spacing: 3px;
            color: var(--gold);
            opacity: 0.5;
            text-transform: uppercase;
        }

        /* --- STILE CARD AZIENDA --- */
        .venue-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 25px;
            margin-bottom: 20px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: border-color 0.3s;
        }

        /* Stato Hot/Vicino */
        .venue-card.is-near {
            border-color: var(--duck-yellow);
            box-shadow: 0 0 15px rgba(247, 227, 0, 0.2);
        }

        .card-header {
            display: flex;
            padding: 15px;
            gap: 15px;
            align-items: center;
        }

        /* Barra Vibe Verticale con Stella */
        .heat-bar-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 35px;
            flex-shrink: 0;
        }

        .heat-bar-vertical {
            width: 18px;
            height: 90px;
            background: #1a1a1a;
            border-radius: 50px;
            position: relative;
            border: 1.5px solid #000;
        }

        .heat-bar-fill-vertical {
            background: var(--duck-yellow);
            width: 100%;
            position: absolute;
            bottom: 0;
            border-radius: 50px;
            transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .star-indicator {
            position: absolute;
            left: 50%;
            transform: translate(-50%, 50%);
            color: var(--duck-yellow);
            font-size: 1.8rem;
            z-index: 10;
            filter: drop-shadow(0 0 1px #000);
            -webkit-text-stroke: 1.2px #000;
            transition: bottom 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .vibe-number {
            margin-top: 6px;
            font-size: 0.7rem;
            font-weight: 900;
            color: var(--duck-yellow);
            font-family: 'League Spartan', sans-serif;
            letter-spacing: 0.5px;
        }

        .venue-thumb {
            width: 90px;
            height: 110px;
            border-radius: 18px;
            object-fit: cover;
            border: 1px solid var(--border);
        }

        .venue-info {
            flex: 1;
            min-width: 0;
        }

        .venue-type-zone {
            font-size: 0.6rem;
            font-weight: 900;
            color: var(--gold);
            text-transform: uppercase;
            margin-bottom: 2px;
        }

        .venue-title {
            font-family: 'League Spartan';
            font-size: 1.3rem;
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
            display: block;
        }

        .venue-desc {
            font-size: 0.75rem;
            color: #888;
            line-height: 1.3;
            margin: 5px 0;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        /* Intel News Feed */
        .intel-section {
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid var(--border);
            padding: 12px 15px;
        }

        .intel-label {
            font-size: 0.6rem;
            font-weight: 800;
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }

        .intel-msg {
            font-size: 0.8rem;
            color: #eee;
            font-style: italic;
            border-left: 2px solid var(--gold);
            padding-left: 10px;
        }

        /* Trend */
        .trend-badge {
            font-size: 0.8rem;
            margin-top: 4px;
            text-align: center;
        }

        .trend-up {
            color: var(--green-active);
        }

        .trend-down {
            color: var(--danger);
        }

        .trend-stable {
            color: #444;
        }

        /* Pannello Azioni */
        .action-unlock-panel {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: rgba(192, 160, 98, 0.05);
            border-top: 1px solid var(--border);
        }

        .action-btn {
            padding: 14px;
            border: none;
            background: transparent;
            font-family: 'League Spartan';
            font-weight: 800;
            font-size: 0.75rem;
            color: #fff;
            cursor: pointer;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .vibe-btn {
            color: var(--green-active);
            border-right: 1px solid var(--border);
        }

        .like-btn {
            color: var(--gold);
        }

        .action-btn:disabled {
            opacity: 0.2;
            cursor: not-allowed;
            filter: grayscale(1);
        }

        /* UI Helpers */
        .rank-tag {
            position: absolute;
            top: 0;
            left: 0;
            background: var(--gold);
            color: #000;
            font-family: 'League Spartan';
            font-weight: 900;
            padding: 5px 12px;
            border-bottom-right-radius: 15px;
            z-index: 10;
        }

        .dist-tag {
            font-size: 0.6rem;
            background: rgba(0, 0, 0, 0.5);
            padding: 2px 6px;
            border-radius: 4px;
            position: absolute;
            top: 10px;
            right: 10px;
            color: var(--gold);
            border: 1px solid var(--border);
        }

        .in-queue {
            filter: grayscale(1) opacity(0.4);
        }

        .queue-header {
            text-align: center;
            padding: 40px 0;
            font-family: 'League Spartan';
            color: #444;
            letter-spacing: 5px;
        }

        #vibe-player-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .loader-briefing h2 {
            font-family: 'League Spartan';
            color: var(--gold);
            margin-bottom: 15px;
            letter-spacing: 2px;
        }

        h1 {
            font-family: 'League Spartan';
            font-size: 1rem;
            letter-spacing: 4px;
            color: var(--gold);
            text-transform: uppercase;
            margin: 0;
            background: rgba(0, 0, 0, 0.6);
            padding: 8px 16px;
            border-radius: 50px;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(192, 160, 98, 0.3);
            pointer-events: auto;
            white-space: nowrap;
        }

        a {
            text-decoration: none;
        }

        /* Personalizzazione GLightbox per tema Dark/Gold */
        .gslide-desc {
            font-family: 'League Spartan', sans-serif !important;
            color: #fff !important;
        }
        .gslide-title {
            color: var(--duck-yellow) !important;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .goverlay {
            background: rgba(0, 0, 0, 0.95) !important; /* Sfondo nero profondo */
        }
        .gbtn {
            background-color: transparent !important;
        }
        .gbtn svg {
            fill: var(--duck-yellow) !important; /* Icone gialle */
        }

        .glightbox-clean .gslide-description{ background-color: #000 !important;}
        /* --- INFO ICON --- */
.info-icon {
    font-size: 0.7em;
    color: var(--gold);
    margin-left: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    vertical-align: middle;
}
.info-icon:hover {
    opacity: 1;
    text-shadow: 0 0 10px var(--gold);
}

/* --- MODALE TATTICO --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 10005; /* Sopra la lista ma sotto il loading */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tactical-panel {
    background: #0a0a0a;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(192, 160, 98, 0.15);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.panel-header {
    border-bottom: 1px solid rgba(192, 160, 98, 0.3);
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--duck-yellow);
    font-family: 'League Spartan';
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-text {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.algo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.algo-list li {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.algo-list .icon {
    font-size: 1.2rem;
    color: var(--gold);
    width: 40px;
    text-align: center;
}

.algo-list .detail {
    display: flex;
    flex-direction: column;
}

.algo-list .detail strong {
    color: #eee;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.algo-list .detail span {
    color: #888;
    font-size: 0.7rem;
    margin-top: 2px;
}

.live-sync-box {
    display: flex;
    gap: 10px;
    font-size: 0.7rem;
    color: var(--green-active);
    background: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-radius: 6px;
    line-height: 1.4;
    align-items: flex-start;
}

.sync-dot {
    width: 8px;
    height: 8px;
    background: var(--green-active);
    border-radius: 50%;
    margin-top: 4px;
    box-shadow: 0 0 5px var(--green-active);
    animation: blink 2s infinite;
}

.btn-close-modal {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: transparent;
    border: 1px solid var(--border);
    color: #fff;
    font-family: 'League Spartan';
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-close-modal:hover {
    background: var(--gold);
    color: #000;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }