
        :root { --bg: #0a0b0e; --card: #15171e; --border: #242832; --green: #00ffad; --dark-green: #00994d; --blue: #00d4ff; --red: #ff3d00; --orange: #ff9100; --purple: #d946ef; --yellow: #ffc107; }
        * { box-sizing: border-box; }
        body { background: var(--bg); color: #e0e0e0; font-family: 'Inter', sans-serif; margin:0; padding:0; overflow-x: hidden; }
        .navbar { background: rgba(10, 11, 14, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 20px 0; text-align: center; position: sticky; top: 0; z-index: 1000; }
        .logo { font-family: 'Orbitron'; font-size: 1.5rem; letter-spacing: 2px; color: #fff; text-decoration: none; font-weight: 900; }
        

        .container { max-width: 1400px; margin: 0 auto; padding: 30px 20px; }
        .section-title { font-family: 'Orbitron'; color: #fff; font-size: 1.1rem; margin: 30px 0 20px; border-bottom: 1px solid var(--border); padding-bottom: 10px; display:flex; align-items:center; gap:10px; }
        
        .chart-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 20px; margin-bottom: 40px; }
        .chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 15px; }
        .chart-title { font-family: 'Orbitron'; font-size: 1rem; color: #fff; }
        .chart-toggles { display: flex; gap: 10px; background: #000; padding: 5px; border-radius: 30px; border: 1px solid var(--border); }
        .toggle-btn { background: transparent; border: none; color: #666; padding: 6px 15px; font-family: 'Orbitron'; font-size: 0.7rem; cursor: pointer; border-radius: 20px; transition: 0.3s; }
        .toggle-btn.active { background: var(--blue); color: #000; box-shadow: 0 0 15px rgba(0, 212, 255, 0.4); }
        .toggle-btn.active.diesel { background: var(--green); box-shadow: 0 0 15px rgba(0, 255, 173, 0.4); }

        .apexcharts-treemap-rect { transition: filter 0.2s ease, stroke 0.2s ease; stroke: #15171e; }

        /* EU Price History + War Comparison */
        .eu-history-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 30px; overflow: visible; }
        .eu-history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 10px; }
        .eu-history-title { font-family: 'Orbitron'; color: #fff; display: flex; align-items: center; gap: 8px; font-size: 1rem; }
        .eu-chart-legend { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 10px; padding: 0 2px; }
        .eu-chart-legend-items { display: flex; gap: 20px; align-items: center; }
        .eu-chart-legend-item { display: flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; font-size: 0.78rem; color: #999; transition: opacity 0.2s; }
        .eu-chart-legend-item:hover { color: #ccc; }
        .eu-chart-legend-item.dimmed { opacity: 0.3; }
        .eu-chart-legend-swatch { width: 14px; height: 3px; border-radius: 2px; flex-shrink: 0; }
        .eu-chart-legend-val { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 0.8rem; }
        .eu-chart-legend-yoy { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; }
        .eu-chart-source { font-size: 0.65rem; color: #444; font-family: 'JetBrains Mono', monospace; }
        .eu-chart-extras { display: flex; gap: 12px; align-items: center; }
        .eu-chart-pct-badge { font-size: 0.65rem; padding: 2px 8px; border-radius: 10px; font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
        .eu-chart-ma-toggle { display: flex; align-items: center; gap: 4px; font-size: 0.65rem; cursor: pointer; user-select: none; color: #666; font-family: 'JetBrains Mono', monospace; }
        .eu-chart-ma-toggle input { width: 13px; height: 13px; accent-color: #555; cursor: pointer; }
        @keyframes euBeaconPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }
        .eu-beacon { position: absolute; width: 12px; height: 12px; border-radius: 50%; pointer-events: none; z-index: 5; }
        .eu-beacon::before, .eu-beacon::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; animation: euBeaconPulse 2s ease-out infinite; }
        .eu-beacon::after { animation-delay: 1s; }
        .eu-beacon-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; top: 2px; left: 2px; border: 2px solid #0a0e1a; }
        body.gf-mode-dsl #euBeacon95, body.fuel-mode-dsl #euBeacon95 { display: none !important; }
        body.gf-mode-e95 #euBeaconDsl, body.fuel-mode-e95 #euBeaconDsl { display: none !important; }
        .eu-time-btns { display: flex; gap: 6px; }
        .eu-time-btns button { background: transparent; border: 1px solid var(--border); color: #888; padding: 5px 14px; border-radius: 20px; cursor: pointer; font-family: 'Orbitron'; font-size: 0.65rem; text-transform: uppercase; transition: all 0.2s ease; letter-spacing: 0.5px; }
        .eu-time-btns button:hover { border-color: #00d4ff; color: #00d4ff; background: rgba(0, 212, 255, 0.05); }
        .eu-time-btns button.active { border-color: #00d4ff; color: #00d4ff; background: rgba(0, 212, 255, 0.1); }

        .eu-war-section { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 30px; }
        .eu-war-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
        .eu-war-title { font-family: 'Orbitron'; color: #fff; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
        .eu-war-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .eu-war-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; padding: 15px; }
        .eu-war-card-title { font-family: 'Orbitron'; font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
        .eu-war-card-sub { font-size: 0.7rem; color: #555; margin-bottom: 10px; }
        /* Hide custom HTML legend items in war cards when single fuel mode (gf-mode from fuel-filter.js) */
        body.gf-mode-dsl .eu-war-card .eu-war-leg-e95 { display: none !important; }
        body.gf-mode-e95 .eu-war-card .eu-war-leg-dsl { display: none !important; }
        body.fuel-mode-dsl .eu-war-card .eu-war-leg-e95 { display: none !important; }
        body.fuel-mode-e95 .eu-war-card .eu-war-leg-dsl { display: none !important; }
        @media(max-width: 768px) { .eu-war-grid { grid-template-columns: 1fr; } .eu-time-btns { flex-wrap: wrap; justify-content: center; } }

        /* Divergence Tracker */
        .div-section { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 30px; }
        .div-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; flex-wrap: wrap; gap: 10px; }
        .div-title { font-family: 'Orbitron'; color: #fff; display: flex; align-items: center; gap: 8px; font-size: 1rem; }
        .div-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .div-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; padding: 15px; }
        .div-card-title { font-family: 'Orbitron'; font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
        .div-stats { display: flex; justify-content: space-between; padding: 8px 0 0; font-size: 0.68rem; color: #666; }
        @media(max-width: 768px) { .div-grid { grid-template-columns: 1fr; } }

        /* ========== TOLL MAP STYLES (v2.59) ========== */
        .toll-map-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 20px;
            margin-bottom: 40px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .toll-map-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--orange), var(--purple), var(--green), var(--blue));
        }
        .toll-map-card:hover {
            border-color: var(--blue);
            box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
            transform: translateY(-2px);
        }
        .toll-map-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 15px;
        }
        .toll-map-title {
            font-family: 'Orbitron';
            font-size: 1rem;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .toll-map-title .material-icons-outlined { font-size: 22px; color: var(--orange); }
        .toll-updated-badge {
            font-family: 'Inter', sans-serif;
            font-size: 0.6rem;
            color: #888;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            padding: 2px 10px;
            letter-spacing: 0.3px;
            white-space: nowrap;
        }
        .toll-map-subtitle { font-size: 0.75rem; color: #888; margin-top: 5px; }
        .toll-stats-row { display: flex; gap: 12px; flex-wrap: wrap; }
        .toll-stat {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: rgba(0,0,0,0.3);
            border-radius: 20px;
            font-size: 0.7rem;
            font-family: 'Orbitron';
        }
        .toll-stat-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); }
        .toll-stat-dot.gate { background: #ff9100; }
        .toll-stat-dot.tunnel { background: #ae00ff; }
        .toll-stat-dot.bridge { background: #00ffad; }
        .toll-stat-dot.entry { background: #00d4ff; }
        .toll-stat-dot.vignette { background: #ffcc00; }
        .toll-stat-value { color: #fff; font-weight: 700; }
        .toll-stat-label { color: #888; }
        #tollMap { height: 400px; border-radius: 15px; overflow: hidden; border: 1px solid var(--border); pointer-events: none; }
        .toll-map-card { cursor: pointer; }
        .toll-map-overlay {
            position: absolute;
            top: 70px; left: 0; right: 0; bottom: 0;
            background: transparent;
            z-index: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
            pointer-events: none;
        }
        .toll-map-card:hover .toll-map-overlay { opacity: 1; background: rgba(0,0,0,0.5); }
        .toll-map-cta {
            background: var(--blue);
            color: #000;
            padding: 15px 30px;
            border-radius: 50px;
            font-family: 'Orbitron';
            font-size: 0.9rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        .toll-map-card:hover .toll-map-cta { transform: translateY(0); }
        .toll-map-cta .material-icons-outlined { font-size: 20px; }
        .map-toll-marker {
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.6);
            opacity: 0.8;
            cursor: pointer;
            transition: all 0.2s;
        }
        .map-toll-marker:hover { opacity: 1; transform: scale(1.5); }
        .map-toll-marker.type-gate { background: #ff9100; box-shadow: 0 0 6px rgba(255,145,0,0.5); }
        .map-toll-marker.type-tunnel { background: #ae00ff; box-shadow: 0 0 6px rgba(174,0,255,0.5); }
        .map-toll-marker.type-bridge { background: #00ffad; box-shadow: 0 0 6px rgba(0,255,173,0.5); }
        .map-toll-marker.type-vignette { background: #ffcc00; box-shadow: 0 0 6px rgba(255,204,0,0.5); }
        .map-toll-marker.type-ticket_barrier { background: #00d4ff; box-shadow: 0 0 6px rgba(0,212,255,0.5); }
        .vignette-country-label {
            background: rgba(255, 204, 0, 0.95);
            color: #000;
            padding: 4px 8px;
            border-radius: 6px;
            font-family: 'Orbitron', monospace;
            font-size: 0.6rem;
            font-weight: 700;
            white-space: nowrap;
            border: 2px solid #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.5);
            text-align: center;
        }
        .vignette-country-label .flag { font-size: 0.9rem; margin-right: 3px; }
        .toll-map-legend {
            display: flex;
            gap: 20px;
            margin-top: 15px;
            padding: 12px 15px;
            background: rgba(0,0,0,0.3);
            border-radius: 10px;
            flex-wrap: wrap;
        }
        .toll-legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: #aaa; }
        .toll-legend-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); }
        .leaflet-popup-content-wrapper { background: #15171e !important; border: 1px solid #333 !important; border-radius: 10px !important; }
        .leaflet-popup-content { margin: 10px 12px !important; }
        .leaflet-popup-tip { background: #15171e !important; }
        @media (max-width: 768px) {
            #tollMap { height: 300px; }
            .toll-map-cta { padding: 12px 20px; font-size: 0.8rem; }
            .toll-stats-row { gap: 8px; }
            .toll-stat { padding: 5px 10px; font-size: 0.65rem; }
            .vignette-country-label { font-size: 0.5rem; padding: 3px 5px; }
        }
        /* ========== END TOLL MAP STYLES ========== */

        /* HIGHWAY PREMIUM STYLES */
        .premium-card { 
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 145, 0, 0.1) 100%);
            border: 1px solid var(--orange); 
            border-radius: 20px; 
            padding: 20px 25px; 
            margin-bottom: 25px;
            position: relative;
            overflow: hidden;
        }
        .premium-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--orange), var(--yellow), var(--orange));
        }
        .premium-header { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            margin-bottom: 15px; 
            flex-wrap: wrap;
            gap: 15px;
        }
        .premium-title { 
            font-family: 'Orbitron'; 
            font-size: 0.85rem; 
            color: var(--orange); 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }
        .premium-title span { font-size: 20px; }
        .premium-subtitle { 
            font-size: 0.75rem; 
            color: #888; 
            margin-top: 5px;
            font-family: 'Inter';
        }
        .premium-toggles { 
            display: flex; 
            gap: 8px; 
            flex-wrap: wrap;
        }
        .premium-btn { 
            background: rgba(0,0,0,0.5); 
            border: 1px solid #333; 
            color: #888; 
            padding: 8px 18px; 
            font-family: 'Orbitron'; 
            font-size: 0.75rem; 
            cursor: pointer; 
            border-radius: 25px; 
            transition: all 0.3s ease; 
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .premium-btn:hover { 
            border-color: var(--orange); 
            color: var(--orange);
            background: rgba(255, 145, 0, 0.1);
        }
        .premium-btn.active { 
            background: var(--orange); 
            color: #000; 
            border-color: var(--orange);
            box-shadow: 0 0 20px rgba(255, 145, 0, 0.4); 
            font-weight: 700;
        }
        .premium-btn.dynamic {
            border-color: var(--purple);
            color: var(--purple);
        }
        .premium-btn.dynamic:hover {
            background: rgba(217, 70, 239, 0.1);
            border-color: var(--purple);
            color: var(--purple);
        }
        .premium-btn.dynamic.active {
            background: linear-gradient(135deg, var(--purple) 0%, #a855f7 100%);
            color: #fff;
            border-color: var(--purple);
            box-shadow: 0 0 20px rgba(217, 70, 239, 0.5);
        }
        .premium-btn .icon { font-size: 14px; }
        .premium-info {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            background: rgba(0,0,0,0.3);
            border-radius: 10px;
            font-size: 0.7rem;
            color: #aaa;
            margin-top: 12px;
        }
        .premium-info span { font-size: 16px; color: var(--blue); }
        .premium-active-indicator {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 8px 15px;
            background: rgba(255, 145, 0, 0.15);
            border: 1px solid rgba(255, 145, 0, 0.3);
            border-radius: 8px;
            font-size: 0.75rem;
            color: var(--orange);
            font-family: 'Orbitron';
            margin-top: 12px;
        }
        .premium-active-indicator.show { display: inline-flex; }
        .premium-active-indicator span { font-size: 16px; }

        /* Expandable Premium Details Styles */
        .premium-info-container { margin-top: 12px; }
        .premium-info {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            background: rgba(0,0,0,0.3);
            border-radius: 10px;
            font-size: 0.7rem;
            color: #aaa;
            transition: all 0.3s ease;
        }
        .premium-info:hover { background: rgba(0,0,0,0.4); }
        .premium-info > span:first-child { font-size: 16px; color: var(--blue); flex-shrink: 0; }
        .show-more-btn {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-left: auto;
            color: var(--blue);
            font-weight: 600;
            white-space: nowrap;
            transition: all 0.3s ease;
        }
        .show-more-btn:hover { color: var(--green); }
        .show-more-btn .material-icons-outlined { transition: transform 0.3s ease; }
        .show-more-btn.expanded .material-icons-outlined { transform: rotate(180deg); }
        
        .premium-details {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, padding 0.3s ease;
            background: rgba(0,0,0,0.2);
            border-radius: 0 0 10px 10px;
            margin-top: -5px;
        }
        .premium-details.show {
            max-height: 3000px;
            padding: 20px;
            border: 1px solid rgba(255,145,0,0.2);
            border-top: none;
            overflow-y: auto;
        }
        .premium-details-content h4 {
            font-family: 'Orbitron';
            font-size: 0.8rem;
            color: var(--orange);
            margin: 0 0 12px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .premium-details-content h4 span { font-size: 18px; }
        .premium-details-content p {
            font-size: 0.75rem;
            color: #aaa;
            line-height: 1.6;
            margin: 0 0 15px 0;
        }
        
        .premium-factors {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
            margin-bottom: 20px;
        }
        .factor-item {
            display: flex;
            gap: 10px;
            padding: 12px;
            background: rgba(0,0,0,0.3);
            border-radius: 8px;
            border-left: 3px solid var(--blue);
        }
        .factor-item > span { font-size: 20px; color: var(--blue); flex-shrink: 0; }
        .factor-item strong { font-size: 0.7rem; color: #fff; display: block; margin-bottom: 4px; }
        .factor-item p { font-size: 0.65rem; color: #888; margin: 0; line-height: 1.4; }
        
        .country-highlight {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 12px;
            margin: 15px 0 20px 0;
        }
        .highlight-card {
            display: flex;
            gap: 12px;
            padding: 15px;
            border-radius: 10px;
            background: rgba(0,0,0,0.3);
        }
        .highlight-card.italy { border: 1px solid rgba(0, 140, 69, 0.4); background: linear-gradient(135deg, rgba(0,140,69,0.1) 0%, rgba(206,43,55,0.1) 100%); }
        .highlight-card.greece { border: 1px solid rgba(13, 94, 175, 0.4); background: linear-gradient(135deg, rgba(13,94,175,0.1) 0%, rgba(255,255,255,0.05) 100%); }
        .highlight-flag { font-size: 2rem; flex-shrink: 0; }
        .highlight-card strong { font-size: 0.75rem; color: #fff; display: block; margin-bottom: 5px; }
        .highlight-card p { font-size: 0.7rem; color: #aaa; margin: 0; line-height: 1.5; }
        .highlight-card p strong { display: inline; color: var(--orange); }
        
        .premium-tip {
            display: flex;
            gap: 12px;
            padding: 15px;
            background: linear-gradient(135deg, rgba(0,255,173,0.1) 0%, rgba(0,212,255,0.1) 100%);
            border: 1px solid rgba(0,255,173,0.3);
            border-radius: 10px;
            margin-bottom: 15px;
        }
        .premium-tip > span { font-size: 24px; color: var(--green); flex-shrink: 0; }
        .premium-tip strong { font-size: 0.75rem; color: var(--green); display: block; margin-bottom: 4px; }
        .premium-tip div { font-size: 0.7rem; color: #aaa; line-height: 1.5; }
        
        .premium-source {
            font-size: 0.6rem !important;
            color: #555 !important;
            font-style: italic;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 10px;
            margin-bottom: 0 !important;
        }

        /* Dynamic Pricing Grid */
        .dynamic-pricing-grid {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 15px 0;
        }
        .dynamic-tier {
            padding: 12px 15px;
            border-radius: 8px;
            background: rgba(0,0,0,0.3);
        }
        .dynamic-tier.high {
            border-left: 4px solid #ff3d00;
            background: linear-gradient(90deg, rgba(255,61,0,0.1) 0%, transparent 100%);
        }
        .dynamic-tier.medium {
            border-left: 4px solid var(--orange);
            background: linear-gradient(90deg, rgba(255,145,0,0.1) 0%, transparent 100%);
        }
        .dynamic-tier.low {
            border-left: 4px solid var(--green);
            background: linear-gradient(90deg, rgba(0,255,173,0.1) 0%, transparent 100%);
        }
        .dynamic-tier.excluded {
            border-left: 4px solid #666;
            background: linear-gradient(90deg, rgba(100,100,100,0.1) 0%, transparent 100%);
        }
        .tier-header {
            font-family: 'Orbitron';
            font-size: 0.7rem;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .dynamic-tier.high .tier-header { color: #ff3d00; }
        .dynamic-tier.medium .tier-header { color: var(--orange); }
        .dynamic-tier.low .tier-header { color: var(--green); }
        .dynamic-tier.excluded .tier-header { color: #888; }
        .tier-countries {
            font-size: 0.65rem;
            color: #aaa;
            line-height: 1.8;
        }

        /* Mobile Responsive Styles for Premium Details */
        @media (max-width: 768px) {
            .premium-info {
                flex-wrap: wrap;
                gap: 10px;
            }
            .premium-info > span:nth-child(2) {
                flex: 1 1 calc(100% - 40px);
                font-size: 0.65rem;
            }
            .show-more-btn {
                width: 100%;
                justify-content: center;
                padding-top: 8px;
                border-top: 1px solid rgba(255,255,255,0.1);
                margin-left: 0;
            }
            .premium-details.show {
                padding: 15px;
            }
            .premium-factors {
                grid-template-columns: 1fr;
            }
            .factor-item {
                padding: 10px;
            }
            .country-highlight {
                grid-template-columns: 1fr;
            }
            .highlight-card {
                flex-direction: column;
                text-align: center;
                padding: 12px;
            }
            .highlight-flag {
                font-size: 2.5rem;
            }
            .premium-tip {
                flex-direction: column;
                text-align: center;
                padding: 12px;
            }
            .premium-tip > span {
                font-size: 28px;
            }
            .premium-details-content h4 {
                font-size: 0.75rem;
            }
            .premium-details-content p {
                font-size: 0.7rem;
            }
        }

        /* Extra small screens */
        @media (max-width: 480px) {
            .premium-card {
                padding: 15px;
            }
            .premium-title {
                font-size: 0.75rem;
            }
            .premium-subtitle {
                font-size: 0.65rem;
            }
            .premium-info > span:nth-child(2) {
                font-size: 0.6rem;
            }
            .factor-item strong {
                font-size: 0.65rem;
            }
            .factor-item p {
                font-size: 0.6rem;
            }
            .highlight-card strong {
                font-size: 0.7rem;
            }
            .highlight-card p {
                font-size: 0.65rem;
            }
            .premium-tip strong {
                font-size: 0.7rem;
            }
            .premium-tip div {
                font-size: 0.65rem;
            }
        }

        /* Price adjustment indicator */
        .price-adjusted { 
            position: relative;
        }
        .price-adjusted::after {
            content: 'HWY';
            position: absolute;
            top: -8px;
            right: -30px;
            font-size: 0.55rem;
            background: var(--orange);
            color: #000;
            padding: 2px 5px;
            border-radius: 4px;
            font-weight: 700;
            font-family: 'Orbitron';
        }

        /* ===== NL QUERY BAR ===== */
        .nl-search-wrap { margin-top: 30px; margin-bottom: 20px; }
        .nl-search-bar { display: flex; align-items: center; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
        .nl-search-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,212,255,0.08); }
        .nl-search-icon { padding: 0 14px; color: var(--blue); font-size: 20px; flex-shrink: 0; }
        .nl-search-input { flex: 1; background: transparent; border: none; outline: none; color: #e0e0e0; font-family: 'Inter', sans-serif; font-size: 0.92rem; padding: 14px 0; }
        .nl-search-input::placeholder { color: #444; }
        .nl-search-btn { background: linear-gradient(135deg, rgba(0,212,255,0.2) 0%, rgba(217,70,239,0.2) 100%); border: none; border-left: 1px solid var(--border); color: #fff; font-family: 'Orbitron'; font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; padding: 0 22px; height: 100%; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
        .nl-search-btn:hover { background: linear-gradient(135deg, rgba(0,212,255,0.35) 0%, rgba(217,70,239,0.35) 100%); box-shadow: inset 0 0 20px rgba(0,212,255,0.1); }
        .nl-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
        .nl-chip { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 0.68rem; color: #666; cursor: pointer; transition: 0.2s; white-space: nowrap; }
        .nl-chip:hover { border-color: var(--blue); color: var(--blue); background: rgba(0,212,255,0.05); }
        .nl-result-banner { display: none; align-items: center; gap: 10px; background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.2); border-radius: 8px; padding: 10px 16px; margin-top: 10px; font-size: 0.8rem; color: #aaa; }
        .nl-result-banner.show { display: flex; }
        .nl-result-banner .material-icons-outlined { color: var(--blue); font-size: 18px; }
        .nl-result-banner a { color: var(--blue); text-decoration: none; font-weight: 600; }
        .nl-result-banner a:hover { text-decoration: underline; }
        .nl-result-banner .nl-dismiss { margin-left: auto; cursor: pointer; color: #555; font-size: 16px; transition: color 0.2s; }
        .nl-result-banner .nl-dismiss:hover { color: #aaa; }
        .nl-loading { display: none; align-items: center; gap: 8px; font-size: 0.75rem; color: #555; margin-top: 8px; }
        .nl-loading.show { display: flex; }
        @keyframes nl-spin { to { transform: rotate(360deg); } }
        .nl-spinner { width: 14px; height: 14px; border: 2px solid #333; border-top-color: var(--blue); border-radius: 50%; animation: nl-spin 0.7s linear infinite; }

        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
        .stat-card { background: var(--card); border: 1px solid var(--border); padding: 25px; border-radius: 20px; transition: transform 0.2s; position: relative; }
        .stat-card:hover { transform: translateY(-5px); border-color: #333; }
        .card-top-blue { border-top: 3px solid var(--blue); }
        .card-top-green { border-top: 3px solid var(--green); }
        .card-top-red { border-top: 3px solid var(--red); }
        .card-top-us { border-top: 3px solid #b91c1c; background: linear-gradient(180deg, rgba(185,28,28,0.06) 0%, var(--card) 40%); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; }
        .card-top-us:hover { border-color: #dc2626; box-shadow: 0 0 24px rgba(185,28,28,0.15), inset 0 0 0 1px rgba(185,28,28,0.12); transform: translateY(-2px); }
        .us-card-link { display: block; text-decoration: none; color: inherit; }
        .us-compare-link { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; padding: 7px 0 2px; border-top: 1px solid rgba(185,28,28,0.12); font-family: 'Orbitron', sans-serif; font-size: 0.58rem; color: rgba(185,28,28,0.6); letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.2s; }
        .us-compare-link .material-icons-outlined { font-size: 13px; transition: transform 0.2s; }
        .card-top-us:hover .us-compare-link { color: #ef4444; }
        .card-top-us:hover .us-compare-link .material-icons-outlined { transform: translateX(3px); }
        .us-card-meta { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.04); }
        .us-card-date { font-size: 0.62rem; color: #666; font-family: 'Share Tech Mono', monospace; }
        .us-card-note { font-size: 0.58rem; color: #555; font-style: italic; }
        .card-top-orange { border-top: 3px solid var(--orange); }
        .stat-header { display: flex; justify-content: space-between; margin-bottom: 20px; font-family: 'Orbitron'; font-size: 0.75rem; color: #888; text-transform: uppercase; }
        .country-pill { background: #000; padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; border: 1px solid #333; color: #fff; font-family: 'Inter'; font-weight: 700; display: inline-flex; align-items: center; gap:5px; }
        .stat-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; }
        .stat-label { font-size: 0.8rem; color: #666; font-weight: 600; }
        .stat-val-sub { font-family: 'Orbitron'; font-size: 1.1rem; color: #ccc; transition: all 0.3s ease; }
        .txt-green { color: var(--green) !important; } .txt-red { color: var(--red) !important; } .txt-orange { color: var(--orange) !important; }
        
        .original-price { 
            font-size: 0.7rem; 
            color: #666; 
            text-decoration: line-through; 
            margin-right: 8px;
            display: none;
        }
        .original-price.show { display: inline; }
        
        .controls-bar { background: var(--card); border: 1px solid var(--border); padding: 20px; border-radius: 20px 20px 0 0; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 50px; }
        .control-group { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; color: #888; text-transform: uppercase; font-family: 'Orbitron'; }
        select, input { background: #000; color: #fff; border: 1px solid #333; padding: 12px 20px; border-radius: 50px; font-family: 'Orbitron'; font-size: 0.8rem; outline: none; transition: 0.3s; min-width: 180px; }
        .date-expand-trigger { color: #00ffad; font-style: italic; }
        .date-expand-sep, .date-year-sep { color: #555; font-size: 0.7rem; text-align: center; }
        .search-wrapper { flex-grow: 1; display: flex; justify-content: flex-end; }
        .table-container { background: var(--card); border: 1px solid var(--border); border-top: none; border-radius: 0 0 20px 20px; overflow-x: auto; margin-bottom: 60px; }
        table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 900px; }
        th { background: rgba(0,0,0,0.3); color: #666; font-size: 0.7rem; text-transform: uppercase; padding: 20px; text-align: left; cursor: pointer; border-bottom: 1px solid var(--border); font-family: 'Inter'; font-weight: 900; }
        th:first-child, td:first-child { width: 1%; white-space: nowrap; padding-left: 15px; padding-right: 10px; }
        td { padding: 15px 20px; border-bottom: 1px solid var(--border); color: #ccc; font-size: 0.9rem; transition: 0.2s; vertical-align: middle; }
        .country-name { font-family: 'Orbitron'; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; }
        .country-name:hover { color: var(--green); border-bottom-color: var(--green); }
        .price-main { font-weight: 700; color: #fff; font-family: 'Orbitron'; transition: all 0.3s ease; }
        
        .trend-badge { padding: 3px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 900; font-family: 'Orbitron'; }
        .trend-badge.up { color: var(--red); background: rgba(255, 61, 0, 0.1); border: 1px solid rgba(255, 61, 0, 0.3); }
        .trend-badge.down { color: var(--green); background: rgba(0, 255, 173, 0.1); border: 1px solid rgba(0, 255, 173, 0.3); }
        .trend-badge.stable { color: #888; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); }

        tbody tr:hover { background: #222630; }
        .download-bar { display: flex; gap: 15px; margin-top: 20px; margin-bottom: 40px; justify-content: flex-end; }
        .btn-dl { background: var(--card); border: 1px solid var(--border); color: #fff; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-family: 'Orbitron'; font-size: 0.75rem; text-transform: uppercase; transition: 0.2s; display: flex; align-items: center; gap: 8px; }
        .btn-dl:hover { border-color: var(--green); color: var(--green); background: rgba(0,255,173,0.05); }

        /* ========== SORT BY CHANGE % PILLS (v2.60) ========== */
        .sort-change-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: var(--card);
            border: 1px solid var(--border);
            border-top: none;
            flex-wrap: wrap;
        }
        .sort-change-label {
            font-family: 'Orbitron';
            font-size: 0.65rem;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }
        .sort-change-label .material-icons-outlined { font-size: 15px; color: #555; }
        .sort-pill {
            background: rgba(0,0,0,0.4);
            border: 1px solid #333;
            color: #666;
            padding: 5px 14px;
            font-family: 'Orbitron';
            font-size: 0.65rem;
            cursor: pointer;
            border-radius: 20px;
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
        }
        .sort-pill:hover { border-color: var(--blue); color: var(--blue); background: rgba(0,212,255,0.05); }
        .sort-pill.active { background: var(--blue); color: #000; border-color: var(--blue); box-shadow: 0 0 12px rgba(0,212,255,0.3); font-weight: 700; }
        .sort-pill.active.green-active { background: var(--green); border-color: var(--green); box-shadow: 0 0 12px rgba(0,255,173,0.3); }
        .sort-pill.active.red-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 12px rgba(255,61,0,0.3); }
        .sort-pill .pill-icon { font-size: 13px; }
        .sort-change-divider { width: 1px; height: 20px; background: #333; margin: 0 4px; }
        @media (max-width: 768px) {
            .sort-change-bar { padding: 8px 12px; gap: 6px; }
            .sort-pill { padding: 4px 10px; font-size: 0.6rem; }
            .sort-change-label { font-size: 0.6rem; }
            .sort-change-divider { display: none; }
        }
        /* ========== END SORT BY CHANGE % PILLS ========== */

        /* Date badge pulse animation */
        @keyframes dateBadgePulse {
            0%, 100% { box-shadow: 0 0 15px rgba(0,255,173,0.1); }
            50% { box-shadow: 0 0 20px rgba(0,255,173,0.25); }
        }

        /* ========== SORT CONTEXT BANNER (v2.63) ========== */
        .sort-context-banner {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: rgba(0,212,255,0.04);
            border: 1px solid var(--border);
            border-top: none;
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            color: #888;
            transition: all 0.3s ease;
        }
        .sort-context-banner.show { display: flex; }
        .sort-context-banner .material-icons-outlined { font-size: 15px; color: var(--blue); flex-shrink: 0; }
        .sort-context-banner .sort-context-text { flex: 1; }
        .sort-context-banner .sort-context-highlight { color: #fff; font-weight: 600; }
        .sort-context-banner .sort-context-dismiss {
            cursor: pointer; color: #444; font-size: 14px; transition: color 0.2s;
        }
        .sort-context-banner .sort-context-dismiss:hover { color: #aaa; }

        /* ========== RANK BADGES (v2.63) ========== */
        .rank-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            font-family: 'Orbitron';
            font-size: 0.55rem;
            font-weight: 700;
            margin-right: 6px;
            flex-shrink: 0;
            line-height: 1;
        }
        .rank-badge.gold { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #000; box-shadow: 0 0 10px rgba(255,215,0,0.4); }
        .rank-badge.silver { background: linear-gradient(135deg, #c0c0c0, #9a9a9a); color: #000; box-shadow: 0 0 8px rgba(192,192,192,0.3); }
        .rank-badge.bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; box-shadow: 0 0 8px rgba(205,127,50,0.3); }

        /* ========== YOUR COUNTRY HIGHLIGHT (v2.63) ========== */
        #tableData tr.my-country-row {
            background: rgba(0,212,255,0.04) !important;
            border-left: 3px solid var(--blue);
        }
        #tableData tr.my-country-row td:first-child {
            border-left: 3px solid var(--blue);
        }
        .my-country-badge {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            font-family: 'Orbitron';
            font-size: 0.5rem;
            color: var(--blue);
            background: rgba(0,212,255,0.1);
            border: 1px solid rgba(0,212,255,0.25);
            padding: 2px 7px;
            border-radius: 10px;
            margin-left: 6px;
            letter-spacing: 0.5px;
        }
        /* ========== END v2.63 FEATURES ========== */

        /* ========== ROW COMPARISON MODE (v2.64) ========== */
        #tableData tr.compare-selected {
            background: rgba(217,70,239,0.06) !important;
            outline: 1px solid rgba(217,70,239,0.3);
            outline-offset: -1px;
        }
        #tableData tr.compare-selected td:first-child {
            border-left: 3px solid var(--purple);
        }
        .compare-hint {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: rgba(217,70,239,0.06);
            border: 1px solid rgba(217,70,239,0.2);
            border-top: none;
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            color: var(--purple);
        }
        .compare-hint.show { display: flex; }
        .compare-hint .material-icons-outlined { font-size: 15px; }
        .compare-popup-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(4px);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .compare-popup-overlay.show { display: flex; }
        .compare-popup {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 20px;
            max-width: 520px;
            width: 100%;
            overflow: hidden;
            position: relative;
            animation: compareSlideIn 0.3s ease;
        }
        @keyframes compareSlideIn {
            from { opacity: 0; transform: translateY(20px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .compare-popup-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            background: rgba(217,70,239,0.04);
        }
        .compare-popup-header h3 {
            font-family: 'Orbitron';
            font-size: 0.8rem;
            color: var(--purple);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .compare-popup-close {
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            font-size: 20px;
            transition: color 0.2s;
            padding: 0;
        }
        .compare-popup-close:hover { color: #fff; }
        .compare-popup-body { padding: 20px; }
        .compare-countries {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 12px;
            align-items: center;
            margin-bottom: 20px;
        }
        .compare-country-card {
            text-align: center;
            padding: 14px;
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
        .compare-country-flag { font-size: 28px; margin-bottom: 6px; }
        .compare-country-name { font-family: 'Orbitron'; font-size: 0.75rem; color: #fff; font-weight: 700; }
        .compare-vs { font-family: 'Orbitron'; font-size: 0.7rem; color: #555; }
        .compare-fuel-rows { display: flex; flex-direction: column; gap: 12px; }
        .compare-fuel-row {
            display: grid;
            grid-template-columns: 80px 1fr 1fr auto;
            gap: 10px;
            align-items: center;
            padding: 12px;
            background: rgba(255,255,255,0.02);
            border-radius: 10px;
            border: 1px solid var(--border);
        }
        .compare-fuel-label { font-family: 'Orbitron'; font-size: 0.65rem; text-transform: uppercase; }
        .compare-fuel-label.e95 { color: var(--blue); }
        .compare-fuel-label.diesel { color: var(--orange); }
        .compare-fuel-price { font-family: 'Orbitron'; font-size: 0.85rem; font-weight: 700; color: #fff; text-align: center; }
        .compare-fuel-diff {
            font-family: 'Orbitron';
            font-size: 0.7rem;
            font-weight: 700;
            text-align: center;
            padding: 4px 10px;
            border-radius: 6px;
        }
        .compare-fuel-diff.cheaper { color: var(--green); background: rgba(0,255,173,0.1); }
        .compare-fuel-diff.pricier { color: var(--red); background: rgba(255,61,0,0.1); }
        .compare-fuel-diff.same { color: #888; background: rgba(255,255,255,0.05); }
        .compare-tank-saving {
            margin-top: 16px;
            padding: 14px;
            background: rgba(0,255,173,0.04);
            border: 1px solid rgba(0,255,173,0.15);
            border-radius: 10px;
            text-align: center;
        }
        .compare-tank-saving .tank-label { font-size: 0.7rem; color: #888; margin-bottom: 4px; }
        .compare-tank-saving .tank-value { font-family: 'Orbitron'; font-size: 1.1rem; font-weight: 700; }
        .compare-tank-saving .tank-value.save { color: var(--green); }
        .compare-tank-saving .tank-value.lose { color: var(--red); }
        @media (max-width: 520px) {
            .compare-fuel-row { grid-template-columns: 1fr 1fr; gap: 8px; }
            .compare-fuel-label { grid-column: 1 / -1; }
        }
        /* ========== END ROW COMPARISON MODE ========== */

        /* ========== SPARKLINES (v2.64) ========== */
        .spark-cell {
            display: inline-block;
            vertical-align: middle;
            margin-left: 8px;
        }
        .spark-cell canvas {
            display: block;
            border-radius: 2px;
        }
        @media (max-width: 1024px) {
            .spark-cell { display: none; }
        }
        /* ========== END SPARKLINES ========== */

        /* ========== ANIMATED EU COUNTER (v2.65) ========== */
        .eu-counter-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            padding: 18px 24px;
            margin-top: 15px;
            background: linear-gradient(135deg, rgba(0,212,255,0.04) 0%, rgba(217,70,239,0.04) 100%);
            border: 1px solid var(--border);
            border-radius: 14px;
            flex-wrap: wrap;
        }
        .eu-counter-item {
            display: flex;
            align-items: baseline;
            gap: 8px;
        }
        .eu-counter-label {
            font-family: 'Orbitron';
            font-size: 0.6rem;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .eu-counter-value {
            font-family: 'Orbitron';
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            transition: color 0.3s;
        }
        .eu-counter-value.e95 { color: var(--blue); text-shadow: 0 0 20px rgba(0,212,255,0.3); }
        .eu-counter-value.diesel { color: var(--orange); text-shadow: 0 0 20px rgba(255,145,0,0.3); }
        .eu-counter-diff {
            font-family: 'Orbitron';
            font-size: 0.6rem;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 4px;
        }
        .eu-counter-diff.up { color: var(--red); background: rgba(255,61,0,0.1); }
        .eu-counter-diff.down { color: var(--green); background: rgba(0,255,173,0.1); }
        .eu-counter-diff.stable { color: #888; background: rgba(255,255,255,0.05); }
        .eu-counter-divider { width: 1px; height: 30px; background: var(--border); }
        @media (max-width: 520px) {
            .eu-counter-bar { gap: 15px; padding: 14px 16px; }
            .eu-counter-value { font-size: 1.1rem; }
            .eu-counter-divider { display: none; }
        }

        /* ========== WEEKLY BRIEFING (v2.65) ========== */
        .weekly-briefing {
            margin-top: 12px;
            padding: 14px 20px;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 12px;
            font-size: 0.8rem;
            color: #999;
            line-height: 1.6;
            position: relative;
            overflow: hidden;
        }
        .weekly-briefing::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--blue), var(--purple), var(--green));
            opacity: 0.5;
        }
        .weekly-briefing-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            font-family: 'Orbitron';
            font-size: 0.65rem;
            color: var(--blue);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .weekly-briefing-header .material-icons-outlined { font-size: 16px; }
        .weekly-briefing-text { color: #aaa; }
        .weekly-briefing-text strong { color: #e0e0e0; font-weight: 600; }
        .weekly-briefing-text .wb-up { color: var(--red); font-weight: 600; }
        .weekly-briefing-text .wb-down { color: var(--green); font-weight: 600; }
        .weekly-briefing-text .wb-highlight { color: var(--blue); font-weight: 600; }
        .weekly-briefing-toggle {
            position: absolute;
            top: 12px; right: 16px;
            background: none;
            border: none;
            color: #555;
            cursor: pointer;
            font-size: 18px;
            transition: color 0.2s;
            padding: 0;
        }
        .weekly-briefing-toggle:hover { color: #aaa; }

        /* ========== FUEL MODE TOGGLE (v2.65) ========== */
        .fuel-mode-toggle {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-left: auto;
            background: rgba(0,0,0,0.4);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 2px;
        }
        .fuel-mode-btn {
            background: transparent;
            border: none;
            color: #666;
            font-family: 'Orbitron';
            font-size: 0.6rem;
            padding: 5px 12px;
            border-radius: 18px;
            cursor: pointer;
            transition: all 0.25s ease;
            white-space: nowrap;
        }
        .fuel-mode-btn:hover { color: #aaa; }
        .fuel-mode-btn.active-e95 { background: var(--blue); color: #000; font-weight: 700; box-shadow: 0 0 10px rgba(0,212,255,0.3); }
        .fuel-mode-btn.active-dsl { background: var(--orange); color: #000; font-weight: 700; box-shadow: 0 0 10px rgba(255,145,0,0.3); }
        .fuel-mode-btn.active-both { background: rgba(255,255,255,0.1); color: #fff; font-weight: 700; }

        /* Fuel mode: hide non-primary column */
        #priceTable.fuel-mode-e95 td:nth-child(4),
        #priceTable.fuel-mode-e95 th:nth-child(4),
        #priceTable.fuel-mode-e95 td:nth-child(6),
        #priceTable.fuel-mode-e95 th:nth-child(6) { display: none; }
        #priceTable.fuel-mode-dsl td:nth-child(3),
        #priceTable.fuel-mode-dsl th:nth-child(3),
        #priceTable.fuel-mode-dsl td:nth-child(5),
        #priceTable.fuel-mode-dsl th:nth-child(5) { display: none; }
        /* Single fuel mode: keep columns balanced */
        #priceTable.fuel-mode-e95,
        #priceTable.fuel-mode-dsl { min-width: 0; }
        /* Country column: don't let it hog all the space */
        #priceTable.fuel-mode-e95 td:nth-child(2),
        #priceTable.fuel-mode-e95 th:nth-child(2),
        #priceTable.fuel-mode-dsl td:nth-child(2),
        #priceTable.fuel-mode-dsl th:nth-child(2) { width: 30%; }
        /* Price column: give it room */
        #priceTable.fuel-mode-e95 td:nth-child(3),
        #priceTable.fuel-mode-e95 th:nth-child(3),
        #priceTable.fuel-mode-dsl td:nth-child(4),
        #priceTable.fuel-mode-dsl th:nth-child(4) { width: 35%; }
        /* Local price column: take the rest */
        #priceTable.fuel-mode-e95 td:nth-child(5),
        #priceTable.fuel-mode-e95 th:nth-child(5),
        #priceTable.fuel-mode-dsl td:nth-child(6),
        #priceTable.fuel-mode-dsl th:nth-child(6) { width: 20%; }
        /* Single fuel mode on mobile: hide local price column */
        @media (max-width: 768px) {
            #priceTable.fuel-mode-e95 td:nth-child(2),
            #priceTable.fuel-mode-e95 th:nth-child(2),
            #priceTable.fuel-mode-dsl td:nth-child(2),
            #priceTable.fuel-mode-dsl th:nth-child(2) { width: auto; }
            #priceTable.fuel-mode-e95 td:nth-child(3),
            #priceTable.fuel-mode-e95 th:nth-child(3),
            #priceTable.fuel-mode-dsl td:nth-child(4),
            #priceTable.fuel-mode-dsl th:nth-child(4) { width: 1%; white-space: nowrap; }
            #priceTable.fuel-mode-e95 td:nth-child(5),
            #priceTable.fuel-mode-e95 th:nth-child(5),
            #priceTable.fuel-mode-dsl td:nth-child(6),
            #priceTable.fuel-mode-dsl th:nth-child(6) { display: none; }
        }
        @media (max-width: 768px) {
            .fuel-mode-toggle { margin-left: 0; }
        }

        /* ========== FUEL GRADE TOOLTIP (v2.67) ========== */
        .e95-info-wrap {
            position: relative;
            display: inline-block;
        }
        .e95-info-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            border: 1px solid #444;
            font-size: 9px;
            color: #666;
            cursor: help;
            margin-left: 4px;
            vertical-align: middle;
            transition: all 0.2s;
            font-style: normal;
        }
        .e95-info-icon:hover {
            border-color: var(--blue);
            color: var(--blue);
            background: rgba(0,212,255,0.08);
        }
        .e95-tooltip {
            display: none;
            position: absolute;
            top: calc(100% + 10px);
            left: 50%;
            transform: translateX(-50%);
            width: 320px;
            background: #111827;
            border: 1px solid #1e293b;
            border-radius: 8px;
            padding: 14px 16px;
            z-index: 9999;
            box-shadow: 0 12px 40px rgba(0,0,0,0.7);
            pointer-events: auto;
            text-align: left;
            line-height: 1.6;
        }
        .e95-tooltip::before {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 7px solid transparent;
            border-bottom-color: #1e293b;
        }
        .e95-tooltip::after {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-bottom-color: #111827;
        }
        .e95-info-wrap:hover .e95-tooltip,
        .e95-info-wrap.tt-open .e95-tooltip {
            display: block;
        }
        .e95-tooltip .tt-head {
            font-family: 'Orbitron', sans-serif;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--blue);
            margin-bottom: 8px;
        }
        .e95-tooltip p {
            font-size: 12px;
            color: #94a3b8;
            margin: 0 0 6px;
        }
        .e95-tooltip p:last-of-type { margin-bottom: 0; }
        .e95-tooltip strong { color: #e2e8f0; }
        .e95-tooltip .tt-link {
            display: inline-block;
            margin-top: 8px;
            font-family: 'Share Tech Mono', monospace;
            font-size: 10px;
            color: var(--blue);
            text-decoration: none;
            letter-spacing: 0.5px;
        }
        .e95-tooltip .tt-link:hover { text-decoration: underline; }

        /* Table header tooltip: position right to avoid overflow */
        th .e95-tooltip {
            left: auto;
            right: 0;
            transform: none;
        }
        th .e95-tooltip::before,
        th .e95-tooltip::after {
            left: auto;
            right: 16px;
            transform: none;
        }
        @media (max-width: 640px) {
            .e95-tooltip {
                width: 260px;
                left: auto;
                right: -10px;
                transform: none;
            }
            .e95-tooltip::before,
            .e95-tooltip::after {
                left: auto;
                right: 20px;
                transform: none;
            }
        }

        /* ========== UNIT TOGGLE — USD/GAL (v2.66) ========== */
        .unit-toggle {
            display: flex;
            align-items: center;
            gap: 4px;
            background: rgba(0,0,0,0.4);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 2px;
        }
        .unit-toggle-btn {
            background: transparent;
            border: none;
            color: #666;
            font-family: 'Orbitron';
            font-size: 0.6rem;
            padding: 5px 12px;
            border-radius: 18px;
            cursor: pointer;
            transition: all 0.25s ease;
            white-space: nowrap;
        }
        .unit-toggle-btn:hover { color: #aaa; }
        .unit-toggle-btn.active-unit { background: rgba(0,255,173,0.15); color: var(--green); font-weight: 700; box-shadow: 0 0 10px rgba(0,255,173,0.15); }
        .unit-toggle-btn.active-unit-usd { background: rgba(76,175,80,0.2); color: #66bb6a; font-weight: 700; box-shadow: 0 0 10px rgba(76,175,80,0.2); }
        .unit-rate-info {
            font-family: 'Inter';
            font-size: 0.6rem;
            color: #555;
            margin-left: 4px;
            display: none;
        }
        .unit-rate-info.show { display: inline; }

        /* USD/gal mode: hide local price columns in table */
        body.unit-usd-gal #priceTable th:nth-child(5),
        body.unit-usd-gal #priceTable td:nth-child(5),
        body.unit-usd-gal #priceTable th:nth-child(6),
        body.unit-usd-gal #priceTable td:nth-child(6) { display: none; }

        @media (max-width: 768px) {
            .unit-toggle { margin-left: 0; }
        }
        /* ========== END v2.66 FEATURES ========== */

        /* ========== LIVE STATION PRICES PANEL (v2.68) ========== */
        .live-panel {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 28px 32px;
            margin: 30px 0;
        }
        .live-panel-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
            flex-wrap: wrap;
        }
        .live-panel-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.85rem;
            color: #fff;
            letter-spacing: 2px;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #00ffad;
            animation: livePulse 2s infinite;
            flex-shrink: 0;
        }
        @keyframes livePulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 6px #00ffad; }
            50% { opacity: 0.35; box-shadow: none; }
        }
        .live-panel-sub {
            font-size: 0.75rem;
            color: #555;
            margin-bottom: 20px;
        }
        .live-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 16px;
        }
        @media (max-width: 860px) {
            .live-cards-grid { grid-template-columns: 1fr; }
        }
        @media (min-width: 601px) and (max-width: 1100px) {
            .live-cards-grid { grid-template-columns: repeat(2, 1fr); }
        }
        .live-country-card {
            background: rgba(255,255,255,0.025);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
            position: relative;
            overflow: hidden;
            transition: border-color 0.2s, background 0.2s;
        }
        .live-country-card:hover {
            border-color: rgba(255,255,255,0.12);
            background: rgba(255,255,255,0.04);
        }
        /* Make the whole card clickable (link = the country-name anchor) */
        .live-country-card { cursor: pointer; }
        .live-card-link::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 2;
        }
        .live-country-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
        }

        .live-card-fr::before { background: linear-gradient(90deg, #002395 33%, #ffffff 33%, #ffffff 66%, #ED2939 66%); }
        .live-card-gb::before { background: linear-gradient(90deg, #012169 28%, #ffffff 28%, #ffffff 36%, #C8102E 36%, #C8102E 64%, #ffffff 64%, #ffffff 72%, #012169 72%); }
        .live-card-es::before { background: linear-gradient(90deg, #c60b1e 25%, #FFC400 25%, #FFC400 75%, #c60b1e 75%); }
        .live-card-it::before { background: linear-gradient(90deg, #009246 33%, #ffffff 33%, #ffffff 66%, #CE2B37 66%); }
        .live-card-ro::before { background: linear-gradient(90deg, #002B7F 33%, #FCD116 33%, #FCD116 66%, #CE1126 66%); }

        /* ===== RO LIVE BANNER (RO visitors only) ===== */
        #roLiveBanner {
            display: none;
            align-items: center;
            gap: 14px;
            max-width: 1200px;
            width: calc(100% - 32px); /* gutter 16px/parte, aliniat cu .hud-wrapper padding:16px */
            margin: 14px auto 0;
            padding: 11px 18px;
            border-radius: 12px;
            text-decoration: none;
            color: #e8e8e8;
            background: linear-gradient(90deg, rgba(0,43,127,0.18), rgba(206,17,38,0.14));
            border: 1px solid rgba(252,209,22,0.30);
            box-shadow: 0 0 22px rgba(0,43,127,0.18);
            font-size: 0.9rem;
            transition: border-color .2s, box-shadow .2s, transform .2s;
        }
        #roLiveBanner.ro-visible { display: flex; }
        #roLiveBanner:hover {
            border-color: rgba(252,209,22,0.55);
            box-shadow: 0 0 30px rgba(0,43,127,0.30);
            transform: translateY(-1px);
        }
        #roLiveBanner .ro-live-flag { font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
        #roLiveBanner .ro-live-dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: #00ffad; flex-shrink: 0;
            animation: livePulse 2s infinite;
        }
        #roLiveBanner .ro-live-txt { display: flex; flex-direction: column; line-height: 1.25; }
        #roLiveBanner .ro-live-txt strong { color: #fff; font-weight: 700; }
        #roLiveBanner .ro-live-meta { font-size: 0.7rem; color: #9aa; }
        #roLiveBanner .ro-live-prices {
            margin-left: auto;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.8rem;
            color: #cfe;
            letter-spacing: 0.3px;
            white-space: nowrap;
        }
        #roLiveBanner .ro-live-prices b { color: #fff; }
        #roLiveBanner .ro-live-cta {
            flex-shrink: 0;
            font-size: 0.78rem;
            font-weight: 700;
            color: #FCD116;
            white-space: nowrap;
        }
        @media (max-width: 680px) {
            #roLiveBanner { flex-wrap: wrap; gap: 8px 12px; }
            #roLiveBanner .ro-live-prices { margin-left: 0; width: 100%; order: 3; }
            #roLiveBanner .ro-live-cta { margin-left: auto; }
        }
        @media (max-width: 520px) {
            #roLiveBanner { width: calc(100% - 24px); } /* gutter 12px/parte, aliniat cu .hud-wrapper mobil */
        }

        .live-card-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
        }
        .live-card-country {
            display: flex;
            align-items: center;
            gap: 9px;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.68rem;
            color: #ccc;
            letter-spacing: 1.5px;
        }
        .live-card-flag { font-size: 22px; line-height: 1; }
        .live-badge {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.52rem;
            color: #00ffad;
            background: rgba(0,255,173,0.1);
            border: 1px solid rgba(0,255,173,0.25);
            border-radius: 10px;
            padding: 3px 9px;
            letter-spacing: 1px;
        }
        .live-fuel-rows {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-bottom: 14px;
        }
        .live-fuel-row { display: flex; flex-direction: column; gap: 4px; }
        .live-fuel-label {
            font-size: 0.62rem;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .fuel-dot {
            width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
        }
        .fuel-dot-sp95 { background: #00d4ff; }
        .fuel-dot-dsl  { background: #d946ef; }
        .live-fuel-price {
            display: flex;
            align-items: baseline;
            gap: 6px;
            flex-wrap: wrap;
        }
        .live-price-main {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.5px;
        }
        .live-price-unit { font-size: 0.62rem; color: #555; }
        .live-price-range { font-size: 0.62rem; color: #444; margin-top: 1px; }
        .live-delta {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            font-size: 0.6rem;
            padding: 2px 7px;
            border-radius: 8px;
            font-weight: 600;
        }
        .live-delta-up      { color: #ff5252; background: rgba(255,82,82,0.1); }
        .live-delta-down    { color: #00ffad; background: rgba(0,255,173,0.1); }
        .live-delta-neutral { color: #666;    background: rgba(255,255,255,0.05); }
        .live-card-footer {
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 4px;
        }
        .live-stations { font-size: 0.63rem; color: #555; }
        .live-stations strong { color: #888; }
        .live-updated { font-size: 0.6rem; color: #444; }
        .live-refresh-btn {
            background: none;
            border: none;
            color: #444;
            cursor: pointer;
            font-size: 12px;
            padding: 0;
            transition: color 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .live-refresh-btn:hover { color: #888; }
        .live-header-actions {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            margin-left: auto;
            flex-wrap: wrap;
            justify-content: flex-end;
        }
        .live-last-refresh-top {
            font-size: 0.6rem;
            color: #555;
            font-family: 'JetBrains Mono', monospace;
            letter-spacing: 0.3px;
            white-space: nowrap;
        }
        @media (max-width: 600px) {
            .live-header-actions { gap: 8px; }
            .live-last-refresh-top { font-size: 0.58rem; }
        }
        /* Stale warning when last_fetched > 24h */
        .live-updated-stale {
            color: #f59e0b !important;
            font-weight: 600;
        }
        .live-panel-footer {
            margin-top: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 8px;
        }
        .live-source-note { font-size: 0.63rem; color: #444; }
        .live-source-note a { color: #555; text-decoration: none; }
        .live-source-note a:hover { color: #888; text-decoration: underline; }
        .live-last-refresh { font-size: 0.58rem; color: #333; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* Live badge in main weekly table */
        .live-table-badge {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.48rem;
            letter-spacing: 0.8px;
            color: #00ffad;
            background: rgba(0,255,173,0.08);
            border: 1px solid rgba(0,255,173,0.2);
            border-radius: 6px;
            padding: 2px 5px;
            margin-left: 6px;
            text-decoration: none;
            vertical-align: middle;
            transition: background 0.2s, border-color 0.2s;
            white-space: nowrap;
        }
        .live-table-badge:hover {
            background: rgba(0,255,173,0.18);
            border-color: rgba(0,255,173,0.45);
        }
        .live-table-dot {
            width: 5px; height: 5px;
            border-radius: 50%;
            background: #00ffad;
            animation: livePulse 2s infinite;
            flex-shrink: 0;
        }
        /* ========== END LIVE STATION PRICES PANEL ========== */

        /* ========== END v2.65 FEATURES ========== */

        /* ==================== HOMEPAGE TIME TRAVEL BANNER ==================== */
        .hp-tt-banner { background: linear-gradient(135deg, rgba(255,204,0,0.1), rgba(255,145,0,0.06)); border: 1px solid rgba(255,204,0,0.25); border-radius: 12px; padding: 16px 24px; margin: 0 0 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .hp-tt-banner .tt-icon { font-size: 28px; color: #ffcc00; }
        .hp-tt-banner .tt-text { flex: 1; min-width: 200px; }
        .hp-tt-banner .tt-label { font-family: 'Orbitron'; font-size: 0.6rem; color: #ffcc00; letter-spacing: 2px; }
        .hp-tt-banner .tt-date { font-size: 0.9rem; color: #fff; font-weight: 600; margin-top: 2px; }
        .hp-tt-banner .tt-compare { font-size: 0.78rem; color: #aaa; margin-top: 4px; }
        .hp-tt-banner .tt-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(0,255,173,0.1); border: 1px solid rgba(0,255,173,0.3); border-radius: 6px; color: var(--green); text-decoration: none; font-size: 0.78rem; font-weight: 600; transition: all 0.2s; white-space: nowrap; }
        .hp-tt-banner .tt-back:hover { background: rgba(0,255,173,0.2); }
        .hp-tt-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
        .hp-tt-nav a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 6px; color: #ccc; text-decoration: none; font-size: 0.75rem; transition: all 0.2s; }
        .hp-tt-nav a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #fff; }
        @media (max-width: 600px) { .hp-tt-banner { padding: 14px 16px; gap: 12px; } .hp-tt-nav { gap: 6px; } }

        /* ==================== HOMEPAGE TIME MACHINE SECTION ==================== */
        .hp-tm { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px 32px; margin: 30px 0; }
        .hp-tm-head { font-family: 'Orbitron'; font-size: 0.75rem; color: #fff; letter-spacing: 2px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
        .hp-tm-sub { font-size: 0.78rem; color: #888; margin-bottom: 20px; }
        /* Decade groups */
        .hp-tm-decade { margin-bottom: 16px; }
        .hp-tm-decade:last-child { margin-bottom: 0; }
        .hp-tm-decade-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0 2px; }
        .hp-tm-decade-label { font-family: 'Orbitron', monospace; font-size: 0.7rem; font-weight: 600; color: #888; letter-spacing: 1px; white-space: nowrap; }
        .hp-tm-decade-line { flex: 1; height: 1px; background: var(--border); }
        .hp-tm-decade-count { font-family: 'Inter', sans-serif; font-size: 0.68rem; color: #555; white-space: nowrap; }
        /* Year card grid */
        .hp-tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
        /* Year card */
        .hp-tm-ycard {
            background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px;
            padding: 12px 14px 10px; cursor: pointer; transition: all 0.2s; user-select: none;
            position: relative; overflow: hidden;
        }
        .hp-tm-ycard:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); }
        .hp-tm-ycard.current { border-color: rgba(0,255,173,0.35); background: rgba(0,255,173,0.03); }
        .hp-tm-ycard.expanded { grid-column: 1 / -1; border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.03); }
        .hp-tm-ycard-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
        .hp-tm-ycard-year { font-family: 'Orbitron', monospace; font-size: 0.9rem; font-weight: 700; color: #fff; }
        .hp-tm-ycard-weeks { font-family: 'Inter', sans-serif; font-size: 0.65rem; color: #555; }
        .hp-tm-ycard-badge { font-family: 'Orbitron', monospace; font-size: 0.5rem; color: #00ffad; border: 1px solid rgba(0,255,173,0.3); padding: 1px 6px; border-radius: 8px; letter-spacing: 0.8px; }
        .hp-tm-ycard-mid { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
        .hp-tm-ycard-avg { font-family: 'Orbitron', monospace; font-size: 0.82rem; font-weight: 600; color: #ccc; }
        .hp-tm-ycard-chg { font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 600; }
        .hp-tm-ycard-chg.up { color: var(--red); }
        .hp-tm-ycard-chg.down { color: var(--green); }
        .hp-tm-ycard-chg.flat { color: #666; }
        .hp-tm-ycard-range { font-family: 'Inter', sans-serif; font-size: 0.62rem; color: #555; margin-bottom: 6px; }
        .hp-tm-ycard-spark { height: 26px; width: 100%; opacity: 0.8; }
        .hp-tm-ycard-spark svg { width: 100%; height: 100%; display: block; }
        .hp-tm-ycard:hover .hp-tm-ycard-spark { opacity: 1; }
        /* Expanded week chips inside year card */
        .hp-tm-ycard-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
        .hp-tm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 6px; text-decoration: none; color: #aaa; font-size: 0.7rem; transition: all 0.15s; white-space: nowrap; }
        .hp-tm-chip:hover { background: rgba(0,212,255,0.08); border-color: var(--blue); color: #fff; }
        .hp-tm-chip .chip-avg { color: var(--blue); font-weight: 600; font-size: 0.66rem; }
        .hp-tm-chip.latest { border-color: rgba(0,255,173,0.4); background: rgba(0,255,173,0.05); }
        .hp-tm-chip.latest .chip-avg { color: var(--green); }
        .hp-tm-chip.active { border-color: var(--amber, #ffcc00); background: rgba(255,204,0,0.1); color: #ffcc00; }
        .hp-tm-chip.active .chip-avg { color: #ffcc00; }
        @media (max-width: 600px) {
            .hp-tm { padding: 20px 16px; }
            .hp-tm-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
            .hp-tm-ycard { padding: 10px 12px 8px; }
            .hp-tm-ycard-year { font-size: 0.82rem; }
            .hp-tm-ycard-avg { font-size: 0.75rem; }
            .hp-tm-chip { padding: 4px 7px; font-size: 0.63rem; }
            .hp-tm-ycard-chips { gap: 4px; }
        }

        .footer { border-top: 1px solid var(--border); margin-top: 50px; padding: 40px 0; text-align: center; color: #555; font-size: 0.8rem; }
        .footer-links { margin-top: 15px; display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
        .footer-links a { color: #888; text-decoration: none; transition: 0.2s; font-family: 'Orbitron'; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 1px; }
        .footer-links a:hover { color: var(--green); }

        /* Responsive adjustments for premium card */
        @media (max-width: 768px) {
            .premium-header { flex-direction: column; align-items: flex-start; }
            .premium-toggles { width: 100%; justify-content: flex-start; }
            .premium-btn { padding: 8px 14px; font-size: 0.7rem; }
        }

        /* ========== PRICE COLOR CODING CSS - v2.58 ========== */
        #tableData tr {
            transition: background 0.4s ease;
        }

        #tableData tr:hover {
            background: rgba(255, 255, 255, 0.1) !important;
        }

        .price-main {
            font-weight: 800;
            letter-spacing: 0.5px;
            transition: all 0.4s ease;
            position: relative;
        }

        /* Subtle left border color indicator */
        #priceTable td:nth-child(3),
        #priceTable td:nth-child(4) {
            position: relative;
            border-left: 3px solid transparent;
            transition: border-color 0.4s ease, background 0.4s ease;
        }

        /* Local currency column styling */
        #priceTable td:nth-child(5),
        #priceTable td:nth-child(6) {
            font-family: 'Orbitron', monospace;
            font-weight: 600;
            font-size: 0.85rem;
            transition: color 0.4s ease, text-shadow 0.4s ease;
        }

        /* Price glow animation on hover */
        #tableData tr:hover .price-main {
            filter: brightness(1.2);
        }

        /* Column header color scale indicator */
        #priceTable th:nth-child(3)::after,
        #priceTable th:nth-child(4)::after {
            content: ' ▼▲';
            font-size: 0.6rem;
            opacity: 0.5;
            letter-spacing: -2px;
        }

        /* Row gradient background based on price */
        #tableData tr {
            background: transparent;
        }
        /* ========== END PRICE COLOR CODING CSS ========== */
        /* === BACK TO TOP BUTTON === */
        .back-to-top {
            position: fixed; bottom: 30px; right: 30px; z-index: 9999;
            width: 44px; height: 44px; border-radius: 50%;
            background: var(--green); color: #000; border: none; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            font-size: 22px; box-shadow: 0 4px 20px rgba(0,255,173,0.3);
            opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
            transform: translateY(10px);
        }
        .back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
        .back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 28px rgba(0,255,173,0.5); }

        /* === POWER TOOLS: COLLAPSE ON MOBILE === */
        .power-tools-toggle {
            display: none; /* Hidden on desktop */
            width: calc(100% - 40px); margin: -10px 20px 20px 20px;
            padding: 12px; border: 1px dashed rgba(0,255,173,0.3); border-radius: 12px;
            background: rgba(0,255,173,0.03); color: var(--green);
            font-family: 'Orbitron'; font-size: 0.7rem; font-weight: 700;
            cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
            transition: 0.3s; text-align: center;
        }
        .power-tools-toggle:hover { background: rgba(0,255,173,0.08); border-color: var(--green); }
        .power-tools-toggle.expanded .material-icons-outlined { transform: rotate(180deg); }

        @media (max-width: 768px) {
            .power-tools-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; }
            #powerToolsWrap.collapsed .fp-promo-v6-grid .fp-v6-card:nth-child(n+5) { display: none !important; }
            .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 20px; }
        }
    