/* map.css — the map application at /map/ (2026-11-25, rollback/2026-11-25-map-own-page.md).
   These rules were the first 700 lines of homepage.css while the map sat on the homepage;
   moved here unchanged, with the page head, the stage and its gate at the foot. /map/ loads
   homepage.css first (base reset, .hp-wrap, .hp-btn) and then this file. */

        /* Respect reduced-motion: stop ambient/looping animation, keep instant state changes */
        @media (prefers-reduced-motion: reduce) {
            #infoDrawerToggle, #activityPulse::before, .urgency-badge.score-1::before { animation: none !important; }
            #topViewedWidget .tv-get-featured { animation: none !important; }
            #tagCloudTicker .tag-strip { animation: none !important; }
            .shimmer-line { animation: none !important; }
            .result-item { animation: none !important; opacity: 1; }
            #auctionModal { transition: none !important; }
            * { scroll-behavior: auto !important; }
        }

        /* ===============================
           Map
        ================================= */
        #globeMap { height: 100%; width: 100%; }
        /* Hide Google Maps default UI */
        .gm-fullscreen-control, .gm-svpc, .gmnoprint[title="Toggle fullscreen view"] {
            display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none;
        }

        /* ===============================
           Detail Panel (slide-in from right)
        ================================= */
        #auctionModal {
            position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 90vw;
            background: #fff; padding: 0; box-shadow: -4px 0 20px rgba(0,0,0,0.15);
            z-index: 2001; overflow-y: auto; transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        #auctionModal.open { transform: translateX(0); }
        #auctionModal .panel-header {
            position: sticky; top: 0; background: #fff; padding: 14px 20px; border-bottom: 1px solid #eee;
            display: flex; justify-content: space-between; align-items: center; z-index: 1;
        }
        #auctionModal .panel-header h4 { margin: 0; font-size: 14px; color: #888; font-weight: 500; }
        #auctionModal .panel-close {
            background: none; border: none; font-size: 22px; cursor: pointer; color: #999;
            width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
            border-radius: 6px; transition: background 0.15s;
        }
        #auctionModal .panel-close:hover { background: #f1f4f9; color: #333; }
        #modalContent { padding: 20px; }
        #modalContent div { margin-bottom: 15px; }
        #modalNav { display: flex; justify-content: space-between; padding: 0 20px 20px; gap: 10px; }
        #modalNav button { flex: 1; padding: 10px; border: 1px solid #ddd; background: #f8f9fa; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background 0.15s; }
        #modalNav button:hover:not(:disabled) { background: #e8f2ff; border-color: #2563eb; }
        #modalNav button:disabled { opacity: 0.4; cursor: default; }
        #modalOverlay {
            display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.2); z-index: 2000;
            transition: opacity 0.3s;
        }
        .modal-socials { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 8px 0 12px; }
        .modal-socials a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f1f4f9; color: #64748b; transition: all .2s; }
        .modal-socials a svg { width: 16px; height: 16px; }
        .modal-socials a.twitter:hover { background: #000; color: #fff; }
        .modal-socials a.facebook:hover { background: #1877F2; color: #fff; }
        .modal-socials a.instagram:hover { background: #E4405F; color: #fff; }
        .modal-socials a.linkedin:hover { background: #0a66c2; color: #fff; }
        .modal-socials a.youtube:hover { background: #FF0000; color: #fff; }
        .modal-socials a.website:hover { background: #64748b; color: #fff; }
        .sidebar-socials { display: inline-flex; gap: 5px; margin-left: 6px; vertical-align: middle; }
        .sidebar-socials a { display: inline-flex; color: #94a3b8; transition: color .2s; }
        .sidebar-socials a svg { width: 14px; height: 14px; }
        .sidebar-socials a.twitter:hover { color: #000; }
        .sidebar-socials a.facebook:hover { color: #1877F2; }
        .sidebar-socials a.instagram:hover { color: #E4405F; }
        .sidebar-socials a.linkedin:hover { color: #0a66c2; }
        .sidebar-socials a.youtube:hover { color: #FF0000; }

        /* ===============================
           UI Controls (Buttons, Drawers)
        ================================= */
        #infoDrawerToggle {
            position: absolute; bottom: 55px; left: 20px; z-index: 1001;
            background: #fff; border: none; border-radius: 22px; height: 44px; padding: 4px 16px 4px 10px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; gap: 6px;
            cursor: pointer; user-select: none; font-family: inherit; font-size: 14px; font-weight: 600; color: #333;
            transition: box-shadow 0.15s;
        }
        #infoDrawerToggle:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
        #infoDrawerToggle:focus-visible { border-radius: 22px; }
        #infoDrawerToggle img { width: 22px; height: 22px; display: block; }

        #soonButton {
            position: absolute; bottom: 125px; left: 20px; z-index: 1001;
            background: #fff; border-radius: 50%; width: 44px; height: 44px; padding: 4px; 
            box-shadow: 0 2px 6px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;
            cursor: pointer; text-decoration: none; transition: transform 0.2s;
        }
        #soonButton:hover { transform: scale(1.1); }

/* Find this section in your CSS */
#infoDrawer {
    position: absolute; 
    bottom: 190px; 
    left: 20px; 
    background: #fff; 
    padding: 12px 16px;
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.2); 
    display: none;
    flex-direction: column; 
    gap: 10px; 
    
    /* --- NEW / MODIFIED LINES BELOW --- */
    
    /* 1. Ensure it sits ABOVE the search bar (which is z-index 1001) */
    z-index: 1002; 
    
    /* 2. Limit height so it stops before hitting the top of the screen */
    /* 100vh is total screen height. We subtract 210px to account for the 
       190px bottom offset + some breathing room at the top */
    max-height: calc(100vh - 220px);
    
    /* 3. Add a scrollbar if the menu content is taller than the max-height */
    overflow-y: auto;

    /* 4. Never wider than the viewport (the drawer previously sized to its
       widest child, which could overflow small screens) */
    width: max-content;
    max-width: min(320px, calc(100vw - 40px));
}
        #infoDrawer a { font-size: 14px; color: #333; text-decoration: none; font-weight: 500; display: block; padding: 4px 0; }
        #infoDrawer a:hover { text-decoration: underline; }

        /* --- SPECIAL CTA HIGHLIGHT FOR 'GET LISTED' --- */
        #infoDrawer a[href="/get-listed"] {
            background-color: #2563eb;
            color: #fff !important;
            padding: 10px 14px;
            border-radius: 6px;
            text-align: center;
            font-weight: 700;
            margin: 6px 0;
            box-shadow: 0 4px 10px rgba(36, 126, 205, 0.3);
            transition: all 0.2s ease-in-out;
            text-decoration: none !important;
        }
        #infoDrawer a[href="/get-listed"]:hover {
            background-color: #1d4ed8;
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 6px 14px rgba(36, 126, 205, 0.4);
        }

        /* ===============================
           Ads
        ================================= */
        #getListedAd {
            position: absolute; bottom: 80px; left: 20px; width: 260px;
            background: #fff; border-radius: 10px; padding: 16px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 1000; font-size: 14px; color: #333;
        }
        #mobileGetListedAd {
            display: none; position: fixed; bottom: 70px; left: 10px; right: 10px;
            background: #eef6ff; border-radius: 10px; padding: 14px; font-size: 14px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 1002;
        }
        #mobileGetListedAd h4 { margin: 0 0 8px; font-size: 16px; font-weight: bold; color: #2563eb; }
        #mobileGetListedAd p { margin: 0 0 10px; font-size: 14px; color: #333; }
        #mobileGetListedAd a {
            display: inline-block; padding: 10px 14px; font-weight: 600; background-color: #2563eb;
            color: #fff; border-radius: 6px; text-decoration: none; font-size: 14px; text-align: center;
            width: 100%; box-sizing: border-box; transition: background 0.2s ease-in-out;
        }
        #mobileGetListedAd a:hover { background-color: #1d4ed8; }
        #closeMobileAd {
            position: absolute; top: 6px; right: 10px; font-size: 20px; background: none;
            border: none; color: #444; font-weight: bold; cursor: pointer; z-index: 10; line-height: 1;
        }

        /* ===============================
           Top Banner & Search
        ================================= */
        .btn-auth {
            padding: 8px 14px; background: #fff; border: 1px solid #ccc; border-radius: 8px;
            font-size: 14px; color: #333; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            transition: all 0.2s ease-in-out; font-weight: 500; display: inline-flex;
            align-items: center; justify-content: center; height: 36px;
        }
        .btn-auth:hover { background-color: #f0f0f0; }
        .btn-auth.btn-primary {
            background-color: #2563eb; color: #fff; border: none; font-weight: 600;
            font-size: 15px; padding: 10px 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .btn-auth.btn-primary:hover { background-color: #1d4ed8; transform: scale(1.02); }

        #keywordFilter {
            position: absolute; top: 20px; left: 20px; z-index: 1001;
            background: #fff; border-radius: 28px; padding: 6px 6px 6px 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.12); display: flex; align-items: center;
            width: 360px; max-width: calc(100% - 40px); transition: box-shadow 0.2s;
        }
        #keywordFilter:focus-within { box-shadow: 0 2px 16px rgba(36,126,205,0.25); }

        .search-close {
            position: absolute; top: -6px; right: -6px; width: 22px; height: 22px;
            border: none; border-radius: 50%; background: #e0e0e0; color: #555; font-size: 14px;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            transition: background 0.15s; line-height: 1;
        }
        .search-close:hover { background: #ccc; }

        #keywordInputWrapper { width: 100%; display: flex; align-items: center; }
        #keywordInputWrapper .search-icon { width: 18px; height: 18px; color: #999; flex-shrink: 0; margin-right: 8px; }
        #keywordInput {
            flex: 1; min-width: 0; box-sizing: border-box; padding: 8px 0; border: none;
            font-size: 15px; background: transparent; outline: none;
        }
        #resultsBadge {
            display: none; font-size: 12px; font-weight: 700; color: #2563eb; background: #e8f2ff;
            padding: 2px 7px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; margin: 0 4px;
        }
        #clearKeywordBtn {
            flex-shrink: 0; border: none; background: transparent; font-size: 18px; color: #888;
            cursor: pointer; display: none; padding: 0 8px; line-height: 1;
        }
        #clearKeywordBtn:hover { color: #333; }

        #activityPulse {
            position: absolute; top: 20px; right: 20px; z-index: 1001;
            background: #fff; color: #333; padding: 6px 14px; border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.12); font-size: 14px; font-weight: 600;
            display: flex; align-items: center; gap: 6px;
        }
        #activityPulse::before {
            content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
            animation: pulseDot 2s ease infinite;
        }
        @keyframes pulseDot {
            0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
            50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
        }
        @media (max-width: 600px) { #activityPulse { top: auto; bottom: 130px; right: 10px; font-size: 12px; } }
        #newSinceBadge {
            display: none; position: absolute; top: 52px; right: 20px; z-index: 1001;
            background: #fffbeb; color: #92400e; padding: 6px 14px; border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1); font-size: 14px; font-weight: 600;
            border: 1px solid #fde68a; cursor: pointer; transition: background 0.15s;
        }
        #newSinceBadge:hover { background: #fef3c7; }
        @media (max-width: 600px) { #newSinceBadge { top: auto; bottom: 95px; right: 10px; font-size: 12px; } }

        #geoNudge {
            position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
            background: #fff; color: #333; padding: 10px 20px; border-radius: 24px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.15); font-size: 14px; font-weight: 600;
            cursor: pointer; z-index: 1001; white-space: nowrap; transition: all 0.2s;
            display: flex; align-items: center;
        }
        #geoNudge:hover { background: #2563eb; color: #fff; box-shadow: 0 4px 16px rgba(36,126,205,0.3); }
        #geoNudge:hover svg { stroke: #fff; }

/* ===============================
   Featured Auctions Box - FIXED
================================= */
#featuredAuctionsBox {
    position: absolute;
    bottom: 50px;
    right: 20px;
    width: 290px;
    max-height: calc(100% - 310px); 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.25); 
    z-index: 1001;
    font-family: 'Inter', sans-serif;
    display: none; 
    flex-direction: column; 
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
#featuredAuctionsBox.is-visible { display: flex !important; }

/* 1. Header */
#featuredAuctionsBox::before {
    content: "\1F525 Featured Auction"; 
    display: block; 
    background: #fff8e1; 
    color: #b71c1c; 
    font-weight: 800; 
    padding: 10px 16px; 
    border-bottom: 1px solid #f0f0f0; 
    font-size: 14px;
    text-transform: uppercase;
}
#closeFeaturedBox {
    position: absolute; top: 8px; right: 10px; width: 24px; height: 24px; 
    border: none; border-radius: 50%; background: rgba(255,255,255,0.8); 
    color: #555; font-size: 18px; line-height: 24px; cursor: pointer; 
    z-index: 10; padding: 0; display: flex; align-items: center; justify-content: center;
}
#closeFeaturedBox:hover { background: #fff; color: #000; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* 2. Viewport - CRITICAL: Must match JS scroll amount (280px) */
#featuredAuctionsBox .featured-viewport { 
    position: relative; 
    height: 280px !important; /* Forces match with your JS */
    width: 100%; 
    overflow: hidden; 
    background: #fff; 
}

#featuredAuctionsBox .featured-track { 
    display: flex; 
    flex-direction: column; 
    will-change: transform; 
}

/* 3. The Card - Matches Viewport Height */
#featuredAuctionsBox .featured-card {
    height: 280px !important; /* Forces match with your JS */
    width: 100%; 
    box-sizing: border-box; 
    background: #fff; 
    margin: 0; 
    padding: 0;
    display: flex; 
    flex-direction: column;
    flex-shrink: 0; /* Prevents squashing */
}

/* Image Wrapper (Keep this as is) */
#featuredAuctionsBox .featured-card .img-wrapper {
    height: 135px; 
    width: 100%; 
    flex-shrink: 0; 
    overflow: hidden;
    background: #ffffff; /* I changed this to white so transparent images look better! */
    display: flex; 
    align-items: center; 
    justify-content: center;
}

/* NEW: Force the link to fill the wrapper and center the image */
#featuredAuctionsBox .featured-card .img-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* REPLACED: Bulletproof the image to ensure it contains */
#featuredAuctionsBox .featured-card img { 
    width: 100% !important; 
    height: 100% !important; 
    max-height: 135px !important;
    object-fit: contain !important; 
    display: block !important; 
}

/* Text Content */
#featuredAuctionsBox .featured-card .text-content { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    padding: 10px 14px; 
    overflow: hidden;
}

#featuredAuctionsBox .featured-card h4 {
    font-size: 15px; 
    margin: 0 0 4px; 
    font-weight: 700; 
    color: #222; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

#featuredAuctionsBox .featured-card p {
    margin: 0 0 8px; 
    font-size: 12px; 
    color: #666; 
    line-height: 1.35;
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
}

/* Button - Compact styling */
#featuredAuctionsBox .featured-card a.view-btn {
    margin-top: auto;
    display: block; 
    width: 100%; 
    text-align: center; 
    padding: 8px 0;
    background-color: #f0f7ff; 
    color: #2563eb; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 14px; 
    border: 1px solid rgba(36, 126, 205, 0.1);
}
#featuredAuctionsBox .featured-card a.view-btn:hover { background-color: #e0efff; }

/* 4. Sticky Ad Bottom */
#featuredAuctionsBox .sticky-ad {
    background: linear-gradient(135deg, #eef6ff 0%, #f0f4ff 100%);
    border-top: 2px solid #2563eb;
    padding: 12px 16px;
    text-align: center;
    flex-shrink: 0;
    z-index: 5;
    cursor: pointer;
    transition: background 0.2s;
}
#featuredAuctionsBox .sticky-ad:hover { background: linear-gradient(135deg, #e0efff 0%, #e8eeff 100%); }
#featuredAuctionsBox .sticky-ad h4 { margin: 0 0 3px; font-size: 14px; color: #2563eb; font-weight: 700; }
#featuredAuctionsBox .sticky-ad p { margin: 0 0 8px; font-size: 12px; color: #555; }
#featuredAuctionsBox .sticky-ad a {
    display: block; background: #2563eb; color: #fff; text-decoration: none; padding: 8px;
    border-radius: 6px; font-weight: 600; font-size: 14px; transition: background 0.2s;
}
#featuredAuctionsBox .sticky-ad a:hover { background: #1d4ed8; }

/* Mobile Hide */
@media (max-width: 600px) {
    #featuredAuctionsBox, #featuredAuctionsBox.is-visible { display: none !important; }
}
        /* ===============================
           Cookie Wall
        ================================= */
        #cookie-wall {
            position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: 720px; width: calc(100% - 32px);
            background-color: #ffffff; color: #333; padding: 8px 16px; z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); border-radius: 10px;
            display: flex; align-items: center; justify-content: space-between; gap: 14px;
            font-size: 12px; line-height: 1.3; box-sizing: border-box;
        }
        @media (min-width: 576px) { #cookie-wall { width: auto; } }
        #cookie-wall button { padding: 8px 14px; border: none; cursor: pointer; font-size: 12px; border-radius: 6px; white-space: nowrap; }
        #cookie-wall .accept-button { background-color: #2563eb; color: #ffffff; }
        #cookie-wall .decline-button { background-color: #f1f1f1; color: #333; border: 1px solid #ddd; }

        /* ===============================
           Ticker
        ================================= */
        #tagCloudTicker {
            position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; background: #fff;
            border-top: 1px solid #ddd; z-index: 1003; font-size: 14px; white-space: nowrap; padding: 6px 0;
        }
        #tagCloudTicker .tag-strip { display: inline-block; white-space: nowrap; animation: scrollLeft 540s linear infinite; will-change: transform; }
        #tagCloudTicker a {
            display: inline-block; margin: 0 10px; color: #2563eb; text-decoration: none;
            font-weight: 500; background: #eef6ff; padding: 4px 8px; border-radius: 6px; transition: background 0.3s;
        }
        #tagCloudTicker a:hover { background: #d9ecff; }
        #tagCloudTicker:hover .tag-strip { animation-play-state: paused; }

        /* ===============================
           Search Results Panel
        ================================= */
        #searchResultsPanel.collapsed { height: 42px; overflow: hidden; padding-bottom: 6px; }
        #searchResultsPanel.collapsed #searchNotice,
        #searchResultsPanel.collapsed #searchResultsList { display: none; }
        .digest-match strong { background: #fffc55; padding: 0 2px; border-radius: 3px; }
        .summary-block strong { font-weight: 700 !important; color: #000; background: #fffc55; padding: 0 3px; border-radius: 3px; }
        
        .result-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin: 8px 0 4px; font-weight: 700; border-bottom: 1px solid #eee; padding-bottom: 2px; }
        .result-item { padding: 8px; border-radius: 6px; margin-bottom: 6px !important; transition: background 0.15s, border-color 0.15s; border-left: 3px solid transparent; }
        .result-item:hover { background: #f0f7ff; border-left-color: #2563eb; }
        .result-item.highlighted { background: #e8f2ff; border-left-color: #2563eb; }
        .urgency-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
        .urgency-badge.score-1 { background: #dcfce7; color: #16a34a; }
        .urgency-badge.score-1::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: pulseDot 1.5s ease infinite; }
        .urgency-badge.score-2 { background: #fef3c7; color: #d97706; }
        .urgency-badge-panel { display: block; text-align: center; padding: 8px; margin-bottom: 12px; border-radius: 6px; font-size: 14px; font-weight: 600; }
        .urgency-badge-panel.score-1 { background: #dcfce7; color: #16a34a; }
        .urgency-badge-panel.score-2 { background: #fef3c7; color: #d97706; }
        @keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }
        .shimmer-line { height: 14px; border-radius: 4px; margin-bottom: 10px; background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 400px 100%; animation: shimmer 1.2s ease infinite; }
        .shimmer-block { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
        .shimmer-block .shimmer-title { width: 70%; height: 16px; margin-bottom: 8px; }
        .shimmer-block .shimmer-text { width: 90%; }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
        .result-item { opacity: 0; animation: fadeInUp 0.3s ease forwards; }

        /* ===============================
           Animations & Responsive
        ================================= */
        @keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-100%); } }
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(36,126,205,0.4); }
            70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(36,126,205,0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(36,126,205,0); }
        }
        @media (max-width: 600px) {
            #featuredAuctionsBox { display: none !important; }
            #mobileGetListedAd { display: block; }
        }
        @media (max-width: 500px) {
            #keywordFilter { left: 10px; right: 10px; top: 10px; width: auto; max-width: none; }
            #keywordInput { font-size: 16px; }
            #auctionModal { width: 100%; max-width: 100%; }
        }
/* --- AUCTIFY CTA --- */
        .auctify-mega-btn {
            background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%) !important;
            color: #fff !important;
            border: none !important;
            font-weight: 700 !important;
            letter-spacing: 0.3px;
            box-shadow: 0 2px 8px rgba(255, 65, 108, 0.25) !important;
        }

        .auctify-mega-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(255, 65, 108, 0.4) !important;
            background: linear-gradient(135deg, #e6395e 0%, #e64326 100%) !important;
        }

        /* Quick Filters */
        #quickFilters {
            position: absolute; top: 72px; left: 20px; display: flex; gap: 6px; z-index: 1001;
        }
        .qf-chip {
            padding: 6px 14px; border-radius: 18px; border: 1px solid #e0e0e0; background: #fff;
            font-size: 12px; font-weight: 600; color: #555; cursor: pointer; white-space: nowrap;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1); transition: all 0.15s;
        }
        .qf-chip:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
        .qf-chip.active { background: #2563eb; color: #fff; border-color: #2563eb; }
        @media (max-width: 500px) { #quickFilters { top: 56px; left: 10px; } }

        /* Add to Calendar */
        .cal-btn {
            display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 18px;
            border: 1px solid #e0e0e0; background: #fff; color: #555; font-size: 12px; font-weight: 600;
            cursor: pointer; transition: all 0.15s; margin-right: 6px;
        }
        .cal-btn:hover { background: #f0f7ff; border-color: #2563eb; color: #2563eb; }
        .cal-btn svg { width: 14px; height: 14px; }

        /* Exploration Progress */
        #explorationBar {
            padding: 8px 0; font-size: 12px; color: #888;
        }
        #explorationBar .exp-track { height: 4px; background: #e5e7eb; border-radius: 2px; margin-top: 4px; overflow: hidden; }
        #explorationBar .exp-fill { height: 100%; background: #2563eb; border-radius: 2px; transition: width 0.4s ease; }

        /* Most Viewed Leaderboard */
        #topViewedWidget {
            display: none; position: absolute; top: 80px; right: 20px; z-index: 1002;
            background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.12);
            padding: 12px 14px; width: 220px; font-size: 14px;
        }
        #topViewedWidget .tv-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #999; font-weight: 700; margin-bottom: 8px; }
        #topViewedWidget .tv-item {
            display: flex; justify-content: space-between; align-items: center; padding: 5px 0;
            border-bottom: 1px solid #f3f3f3; cursor: pointer; transition: color 0.15s;
        }
        #topViewedWidget .tv-item:last-child { border-bottom: none; }
        #topViewedWidget .tv-item:hover { color: #2563eb; }
        #topViewedWidget .tv-rank { color: #999; font-weight: 700; margin-right: 8px; font-size: 12px; }
        #topViewedWidget .tv-name { flex: 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        #topViewedWidget .tv-views { font-size: 12px; color: #999; white-space: nowrap; margin-left: 8px; }
        #topViewedWidget .tv-close { position: absolute; top: 6px; right: 10px; background: none; border: none; font-size: 16px; color: #999; cursor: pointer; }
        #topViewedWidget .tv-item.tv-featured { background: #fffbeb; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 6px; }
        #topViewedWidget .tv-feat-badge { font-size: 9px; text-transform: uppercase; letter-spacing: 0.4px; font-weight: 700; color: #b45309; background: #fef3c7; border-radius: 4px; padding: 1px 5px; margin-left: 8px; white-space: nowrap; }
        #topViewedWidget .tv-get-featured {
            display: block; margin-top: 10px; padding: 10px 12px;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #fff; font-size: 14px; font-weight: 700; text-align: center; line-height: 1.35;
            border-radius: 8px; text-decoration: none;
            box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
            animation: tvFeatGlow 2.4s ease-in-out infinite;
            transition: transform 0.15s, box-shadow 0.15s;
        }
        #topViewedWidget .tv-get-featured:hover {
            text-decoration: none; transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(217, 119, 6, 0.55);
            animation: none;
        }
        @keyframes tvFeatGlow {
            0%, 100% { box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4); }
            50% { box-shadow: 0 3px 18px rgba(245, 158, 11, 0.8); }
        }
        @media (max-width: 600px) { #topViewedWidget { display: none !important; } }

        /* Nearby Suggestions */
        .nearby-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: #999; font-weight: 700; margin-bottom: 6px; }
        .nearby-item {
            display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 4px;
            background: #f8f9fa; border-radius: 6px; cursor: pointer; transition: background 0.15s;
        }
        .nearby-item:hover { background: #e8f2ff; }
        .nearby-item .ni-name { font-size: 14px; font-weight: 600; color: #333; }
        .nearby-item .ni-dist { font-size: 12px; color: #999; }

        /* Share Button */
        .share-btn {
            display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 18px;
            border: 1px solid #e0e0e0; background: #fff; color: #555; font-size: 12px; font-weight: 600;
            cursor: pointer; transition: all 0.15s;
        }
        .share-btn:hover { background: #f0f7ff; border-color: #2563eb; color: #2563eb; }
        .share-btn svg { width: 14px; height: 14px; }
        .share-btn.copied { background: #dcfce7; border-color: #86efac; color: #16a34a; }

        /* Trending Suggestions Dropdown */
        #locationSuggestion {
            display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 6px;
            background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.12);
            padding: 10px 12px; z-index: 1003; cursor: pointer; transition: all 0.15s;
            border-left: 3px solid #2563eb;
        }
        #locationSuggestion:hover { background: #f0f7ff; }
        #locationSuggestion .loc-icon { display: inline-block; margin-right: 6px; font-size: 15px; vertical-align: middle; }
        #locationSuggestion .loc-text { font-size: 14px; color: #333; line-height: 1.4; }
        #locationSuggestion .loc-text strong { color: #2563eb; }
        #locationSuggestion .loc-dismiss {
            position: absolute; top: 6px; right: 8px; background: none; border: none;
            color: #aaa; font-size: 14px; cursor: pointer; padding: 2px 4px; line-height: 1;
        }
        #locationSuggestion .loc-dismiss:hover { color: #666; }

        #trendingSuggestions {
            display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 46px;
            background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.12);
            padding: 10px; z-index: 1002;
        }
        #trendingSuggestions .ts-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #999; font-weight: 700; margin-bottom: 6px; padding: 0 4px; }
        #trendingSuggestions .ts-item {
            display: inline-block; padding: 5px 12px; margin: 3px; border-radius: 16px;
            background: #f1f4f9; color: #333; font-size: 14px; font-weight: 500; cursor: pointer;
            transition: all 0.15s;
        }
        #trendingSuggestions .ts-item:hover { background: #2563eb; color: #fff; }



/* ===============================
   "Live auctions near you" — Auctify lots with verified closing times
   (replaces the removed #featuredAuctionsBox carousel, 2026-09-16;
   rendered by renderLiveLotsRail() in homepage.js)
================================= */
#liveLotsRail {
    position: absolute; bottom: 50px; right: 20px; width: 300px; max-height: calc(100% - 310px);
    overflow-y: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18); z-index: 1001; padding: 12px 12px 10px;
    font-family: 'Inter', system-ui, sans-serif; color: #1e293b;
}
#liveLotsRail .ll-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding-right: 24px; position: relative; }
#liveLotsRail .ll-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; flex-shrink: 0; }
#liveLotsRail .ll-close { position: absolute; right: -4px; top: -4px; width: 28px; height: 28px; border: 0; background: none; font-size: 20px; line-height: 1; color: #64748b; cursor: pointer; border-radius: 50%; }
#liveLotsRail .ll-close:hover { background: #f1f5f9; color: #1e293b; }
#liveLotsRail .ll-sub { font-size: 12px; color: #256029; margin: 2px 0 8px; }
#liveLotsRail .ll-card { display: flex; gap: 10px; align-items: center; padding: 8px; margin: 0 -4px; border-radius: 8px; text-decoration: none; color: inherit; }
#liveLotsRail .ll-card:hover { background: #f8fafc; }
#liveLotsRail .ll-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #eef2f7; flex-shrink: 0; }
#liveLotsRail .ll-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#liveLotsRail .ll-title { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#liveLotsRail .ll-meta { font-size: 12px; color: #64748b; }
#liveLotsRail .ll-all { display: block; text-align: center; margin-top: 6px; padding: 8px; border-radius: 8px; background: #eff6ff; color: #2563eb; font-weight: 600; font-size: 14px; text-decoration: none; }
#liveLotsRail .ll-all:hover { background: #dbeafe; color: #1d4ed8; }
/* The sister sites, under the panel (2026-09-30): the map homepage has no footer of its own. */
#liveLotsRail .ll-family { margin: 8px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: #64748b; }
#liveLotsRail .ll-family a { color: #2563eb; text-decoration: none; }
#liveLotsRail .ll-family a:hover { text-decoration: underline; }
@media (max-width: 600px) { #liveLotsRail { display: none !important; } }

/* ===============================
   Search results: live lots first (2026-09-16, rollback/2026-09-16-search-live-lots-first.md)
================================= */
#searchResultsList .sr-count { margin: 0 0 2px; }
#searchResultsList .sr-order-note { margin: 0 0 8px; font-size: 12px; color: #64748b; }
#searchResultsList .sr-order-note a { color: #2563eb; }
#searchResultsList .sr-src { margin: -2px 0 4px; font-size: 12px; font-weight: 600; color: #166534; }
#searchResultsList .sr-maybe { margin: -2px 0 4px; font-size: 12px; color: #64748b; }
#searchResultsList .sr-lot { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; cursor: default; }
#searchResultsList .sr-lot-img { display: block; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #eef2f7; }
#searchResultsList .sr-lot-img img { width: 64px; height: 64px; object-fit: cover; display: block; }
#searchResultsList .sr-lot-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#searchResultsList .sr-lot-title { color: #1e293b; font-weight: 600; font-size: 14px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
#searchResultsList .sr-lot-title:hover { color: #2563eb; }
#searchResultsList .sr-lot-title strong { background: #fef08a; padding: 0 1px; border-radius: 2px; }
#searchResultsList .sr-lot-meta { font-size: 12px; color: #64748b; font-variant-numeric: tabular-nums; }
#searchResultsList .sr-lot-meta strong { color: #1e293b; }
#searchResultsList .sr-lot-seller { font-size: 12px; color: #475569; }
#searchResultsList .sr-verified { font-size: 11px; font-weight: 600; color: #166534; background: #dcfce7; border: 1px solid #a7d7b5; border-radius: 999px; padding: 0 7px; white-space: nowrap; }
#searchResultsList .sr-lot-actions { display: flex; gap: 12px; margin-top: 2px; }
#searchResultsList .sr-lot-actions a { font-size: 12px; font-weight: 600; color: #2563eb; text-decoration: none; }
#searchResultsList .sr-lot-actions a:hover { text-decoration: underline; }
#searchResultsList .sr-more { display: block; font-size: 12px; font-weight: 600; color: #2563eb; text-decoration: none; padding: 2px 0 8px 74px; }
#searchResultsList .sr-ad { margin-top: 12px; padding-top: 9px; border-top: 1px dashed #e2e8f0; font-size: 12px; color: #475569; line-height: 1.45; }
#searchResultsList .sr-ad-label { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #64748b; }
#searchResultsList .sr-ad a { color: #2563eb; font-weight: 600; }

/* Lot-count badge on grouped Auctify photo pins (homepage.js refreshMarkersAndList, 2026-09-17) */
.lot-pin-count { background: #2563eb; border: 2px solid #fff; border-radius: 999px; min-width: 20px; padding: 1px 5px; line-height: 16px; text-align: center; box-shadow: 0 1px 3px rgba(15,23,42,.35); }

/* The page: a short head, then the stage. */
.mp-head { padding-block: 18px 12px; }
.mp-crumb { font-size: 14px; color: #64748b; margin: 0 0 6px; }
.mp-crumb a { color: #2563eb; text-decoration: none; }
.mp-head h1 { font-size: 24px; line-height: 1.25; font-weight: 700; margin: 0 0 4px; color: #1e293b; }
.mp-head p { margin: 0; color: #475569; font-size: 15px; line-height: 1.5; max-width: 760px; }
.mp-head p a { color: #2563eb; }
.mp-stagewrap { padding-bottom: 28px; }
#mapStage { position: relative; height: min(80vh, 860px); min-height: 480px; overflow: hidden; border-radius: 10px; border: 1px solid #e2e8f0; background: #e8eef5; scroll-margin-top: 12px; }
/* The gate: Google Maps is fetched on the visitor's first movement, touch or key, or on the button. */
#mapGate { position: absolute; inset: 0; z-index: 1500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: #e8eef5; }
#mapGate[hidden] { display: none; }
#mapGate img { width: 44px; height: 44px; border-radius: 10px; }
#mapGate p { margin: 0; color: #475569; font-size: 14px; line-height: 1.5; max-width: 420px; }
.mp-foot { text-align: center; padding: 12px 16px 18px; background: #f8fafc; font-family: 'Inter', system-ui, sans-serif; }
.mp-foot > a { color: #64748b; font-size: 14px; }
@media (max-width: 640px) {
    .mp-head h1 { font-size: 21px; }
    #mapStage { height: 76vh; min-height: 420px; }
}
