        .liveag-lot-detail,
        .liveag-lot-detail * { font-family: 'Poppins', sans-serif !important; }
        .liveag-lot-detail { max-width: 1080px; margin: 0 auto; transition: opacity 0.2s ease; }
        .liveag-lot-header { display: flex; align-items: stretch; margin-bottom: 16px; border: 2px solid #4a7436; }
        .liveag-lot-id { background: #4a7436; color: #fff; font-weight: 700; font-size: 24px; padding: 10px 20px; margin: 0; display: flex; align-items: center; justify-content: center; min-width: 160px; white-space: nowrap; }
        .liveag-lot-seller { background: #f5f0e8; color: #4a7436; font-weight: 700; font-size: 24px; padding: 10px 24px; margin: 0; flex: 1; display: flex; align-items: center; justify-content: center; font-variant: small-caps; letter-spacing: 0.5px; }

        /* =============================================
           LOT DETAIL — BODY
           Desktop: CSS Grid — title top-left, fields bottom-left, video right column
           Mobile: flex column — title, video, fields
           ============================================= */
        .liveag-lot-body {
            display: grid;
            grid-template-columns: 1fr 1fr;   /* equal halves — info left, video right */
            grid-template-rows: auto 1fr;      /* title row auto, fields row fills */
            column-gap: 24px;
        }

        /* -- Title section: top-left -- */
        .liveag-lot-title-section {
            grid-column: 1;
            grid-row: 1;
        }

        /* -- Fields section: bottom-left -- */
        .liveag-lot-fields-section {
            grid-column: 1;
            grid-row: 2;
        }

        /* -- Video column: right, spans both rows -- */
        .liveag-lot-video {
            grid-column: 2;
            grid-row: 1 / 3;         /* span title row + fields row */
            flex: 1;
            min-width: 0;
            position: relative;
        }

        .liveag-video-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
        .liveag-video-wrap::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 2px solid #000; z-index: 3; pointer-events: none; }
        .liveag-video-wrap iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }

        .liveag-video-inner {
            position: relative;
            width: 100%;
            height: 100%;
        }

        /* Fullscreen: CSS fixed-position overlay — works on iOS where Fullscreen API is unavailable.
           Class added by fsBtn click handler immediately; native requestFullscreen() called in parallel
           where available (desktop). position: fixed !important overrides normal flow layout. */
        .liveag-video-wrap.liveag-is-fullscreen {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100% !important;
            height: 100% !important;
            z-index: 99999;
            background: #000;
            display: flex !important;
            align-items: center;
            justify-content: center;
            overflow: hidden !important;
            aspect-ratio: unset !important;
        }
        .liveag-video-wrap.liveag-is-fullscreen .liveag-video-inner {
            width: 100vw;
            max-height: 100vh;
            aspect-ratio: 16 / 9;
            position: relative;
            flex-shrink: 0;
            height: auto;
        }

        /* =============================================
           VIDEO CONTROLS — Compact overlay pill
           Bottom-right of .liveag-video-wrap, always visible.
           Z-index 4 sits above the ::after border overlay (z-index 3).
           ============================================= */
        .liveag-ctrl-pill {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 4;
            background: rgba(0, 0, 0, 0.62);
            border-radius: 6px;
            padding: 6px 10px;
            box-sizing: border-box;
            user-select: none;
            font-family: 'Poppins', sans-serif;
            transition: opacity 0.4s ease;
        }

        /* -- Standalone progress bar: full-width at absolute bottom edge -- */
        .liveag-ctrl-bar-track {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 10px;
            background: #000;
            z-index: 4;
            padding: 2px 0;
            box-sizing: border-box;
            transition: opacity 0.4s ease;
        }
        .liveag-ctrl-bar-fill {
            height: 100%;
            width: 0;
            background: #9BBF7C;
            transition: width 0.25s linear;
        }

        /* -- Touch capture: transparent overlay above iframe, below controls --
           Catches touchstart events that the Vimeo iframe (cross-origin) cannot propagate -- */
        .liveag-touch-capture {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 6px;
            z-index: 1;
        }

        .liveag-video-wrap.liveag-controls-hidden .liveag-ctrl-pill {
            opacity: 0;
            pointer-events: none;
        }

        /* -- Controls row: play | quality | fullscreen -- */
        .liveag-ctrl-buttons {
            display: flex;
            align-items: center;
            gap: 3px;
        }
        .liveag-ctrl-play,
        .liveag-ctrl-fs {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            min-width: 28px;
            border-radius: 3px;
            flex-shrink: 0;
        }
        .liveag-ctrl-play:hover,
        .liveag-ctrl-fs:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        /* -- Quality picker -- */
        .liveag-ctrl-quality {
            position: relative;
            flex: 1;
            display: flex;
            justify-content: center;
        }
        .liveag-ctrl-quality-btn {
            background: none;
            border: 1px solid rgba(255, 255, 255, 0.4);
            color: #fff;
            font-size: 10px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 3px;
            cursor: pointer;
            white-space: nowrap;
            font-family: 'Poppins', sans-serif;
            line-height: 1.4;
        }
        .liveag-ctrl-quality-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }
        .liveag-ctrl-quality-menu {
            display: none;
            position: absolute;
            bottom: calc(100% + 6px);
            left: 50%;
            transform: translateX(-50%);
            background: rgba(18, 18, 18, 0.96);
            border-radius: 4px;
            padding: 4px 0;
            list-style: none;
            margin: 0;
            min-width: 72px;
            z-index: 5;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
        }
        .liveag-ctrl-quality-menu li {
            padding: 6px 14px;
            font-size: 11px;
            font-family: 'Poppins', sans-serif;
            color: #ddd;
            cursor: pointer;
            white-space: nowrap;
            text-align: center;
        }
        .liveag-ctrl-quality-menu li:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        .liveag-ctrl-quality-menu li.liveag-quality-active {
            color: #9BBF7C;
            font-weight: 700;
        }

        .liveag-lot-title { font-size: 20px; font-weight: 700; color: #2b2b2b; margin: 0 0 8px; line-height: 1.4; font-variant: small-caps; }
        .liveag-lot-title a { color: inherit; text-decoration: none; }
        .liveag-lot-title a:hover { text-decoration: underline; }

        /* -- Sold for / No Sale line — matches .liveag-lot-title in size and weight; gold color -- */
        .liveag-sold-for { font-size: 20px; font-weight: 700; color: #D05045; margin: 0 0 8px; line-height: 1.4; font-variant: small-caps; }

        /* -- Option lot (green text, flush left, no band) -- */
        .liveag-option-lot-banner {
            color: #4a7436;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 1px 0 3px;
            padding: 0;
        }

        .liveag-lot-weighing { margin-top: 12px; font-size: 14px; color: #444; line-height: 1.5; }
        .liveag-lot-weighing strong { display: block; margin-bottom: 4px; font-size: 15px; color: #2b2b2b; }
        .liveag-lot-catalog { font-size: 16px; color: #4a7436; font-weight: 600; margin: 0 0 10px; }

        /* =============================================
           TOP NAV BAR — catalog name left, compact nav right
           Hidden on mobile (display: none base); shown tablet+ via @media (min-width: 768px).
           ============================================= */
        .liveag-detail-topbar {
            display: none;
            align-items: center;
            justify-content: space-between;
            margin: 0 0 10px;
        }

        .liveag-detail-topbar .liveag-lot-catalog {
            margin: 0;
        }

        .liveag-detail-topnav {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .liveag-topnav-arrows {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .liveag-topnav-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 26px;
            background: #4a7436;
            color: #fff;
            text-decoration: none;
            border-radius: 3px;
            cursor: pointer;
            transition: background 0.2s;
            position: relative;
        }
        .liveag-topnav-btn:hover {
            background: #3a5c2b;
            color: #fff;
        }

        /* Left-pointing triangle (prev) */
        .liveag-topnav-prev::before {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-top: 4px solid transparent;
            border-bottom: 4px solid transparent;
            border-right: 5px solid #fff;
        }

        /* Right-pointing triangle (next) */
        .liveag-topnav-next::before {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-top: 4px solid transparent;
            border-bottom: 4px solid transparent;
            border-left: 5px solid #fff;
        }

        .liveag-topnav-return {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            background: #4a7436;
            color: #fff;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            border-radius: 3px;
            white-space: nowrap;
            height: 26px;
            box-sizing: border-box;
            line-height: normal;
            transition: background 0.2s;
        }
        .liveag-topnav-return:hover {
            background: #3a5c2b;
            color: #fff;
        }

        .liveag-detail-topbar .liveag-nav-disabled {
            opacity: 0.4;
            pointer-events: none;
            cursor: default;
        }

        .liveag-lot-no-video { background: #f0f0f0; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: #999; font-size: 14px; border: 2px solid #4a7436; box-sizing: border-box; }
        .liveag-lot-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid #e0e0e0; }
        .liveag-lot-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; background: #4a7436; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; transition: background 0.2s; cursor: pointer; }
        .liveag-lot-nav a:hover { background: #3a5c2b; }

        /* -- Nav disabled state: used for filtered end-of-results -- */
        .liveag-lot-nav .liveag-nav-disabled {
            opacity: 0.4;
            pointer-events: none;
            cursor: default;
        }

        @media (max-width: 767px) {
            .liveag-lot-header { flex-direction: column; }

            /* Switch to flex column: title → video → fields */
            .liveag-lot-body {
                display: flex;
                flex-direction: column;
            }
            .liveag-lot-title-section { order: 1; }
            .liveag-lot-video         { order: 2; }
            .liveag-lot-fields-section { order: 3; }

            .liveag-lot-id { font-size: 20px; }
            .liveag-lot-seller { font-size: 20px; }
            .liveag-lot-nav { flex-wrap: wrap; gap: 8px; justify-content: center; }
            .liveag-nav-arrows { justify-content: center; width: 100%; }
            .liveag-nav-catalog { width: 100%; text-align: center; justify-content: center; }
        }

        /* -- Video poster overlay: hides black gap before first frame --
           Fades out on play event; removed from DOM after transition -- */
        .liveag-video-poster {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2;
            transition: opacity 0.3s ease;
        }

        .liveag-video-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .liveag-video-poster.liveag-poster-fade {
            opacity: 0;
            pointer-events: none;
        }

        /* -- Mobile: quality menu fixed overlay above browser chrome -- */
        @media (max-width: 767px) {
            .liveag-video-wrap {
                overflow: visible;
            }
            .liveag-ctrl-quality-menu {
                position: fixed;
                bottom: 70px;
                left: 50%;
                transform: translateX(-50%);
                z-index: 9999;
                max-height: 200px;
                overflow-y: auto;
                min-width: 120px;
            }
        }

        /* =============================================
           LOT DETAIL — v1.2 NEW FIELD STYLES
           ============================================= */

        /* -- Detail data table -- */
        .liveag-lot-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
        .liveag-lot-table th { text-align: left; font-weight: 700; color: #2b2b2b; padding: 5px 12px 5px 6px; width: 35%; vertical-align: top; font-size: 14px; }
        .liveag-lot-table td { color: #444; padding: 5px 0; font-size: 14px; vertical-align: top; }
        .liveag-lot-table tr:nth-child(odd) td,
        .liveag-lot-table tr:nth-child(odd) th { background: #f9f7f3; }

        /* -- Badge images in detail view -- */
        .liveag-detail-badges { display: flex; flex-wrap: wrap; align-items: center; margin: 8px 0; row-gap: 8px; }
        .liveag-detail-badges img { height: 45px; width: auto; margin: 0 8px 0 0; vertical-align: middle; }

        /* -- Right column extras (weighing, vaccinations, comments) — desktop only -- */
        .liveag-detail-right-extras { margin-top: 12px; }
        @media (max-width: 767px) {
            .liveag-detail-right-extras { display: none; }
        }

        /* -- Hide right-column fields from left table on desktop -- */
        @media (min-width: 768px) {
            .liveag-row-right { display: none; }
            .liveag-detail-topbar { display: flex; }
        }

        /* -- Nav: Return to Catalog + arrows group -- */
        .liveag-nav-arrows { display: flex; gap: 8px; align-items: center; }

        /* -- Equal-width prev/next buttons — wide enough for "Previous Result" -- */
        .liveag-lot-nav .liveag-nav-prev,
        .liveag-lot-nav .liveag-nav-next {
            min-width: 160px;
            text-align: center;
            justify-content: center;
        }

        /* =============================================
           FILTERED NAV WRAPPER + LABEL
           Wraps .liveag-lot-nav when $is_filtered_nav is true.
           Desktop: nav first (order 1), label below (order 2).
           Mobile:  label above (order 1), nav below (order 2).
           ============================================= */
        .liveag-filtered-nav-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            gap: 0;
        }

        /* Desktop: nav first */
        .liveag-filtered-nav-wrapper .liveag-lot-nav {
            order: 1;
            width: 100%;
        }

        /* "---- Filtered Results ----" rule-line label */
        .liveag-filtered-results-label {
            order: 2;
            width: 100%;
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: Poppins, sans-serif;
            font-size: 11px;
            font-weight: 500;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            white-space: nowrap;
        }
        .liveag-filtered-results-label::before,
        .liveag-filtered-results-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #ccc;
            min-width: 20px;
        }

        /* Mobile: label above nav */
        @media (max-width: 767px) {
            .liveag-filtered-nav-wrapper .liveag-lot-nav {
                order: 2;
            }
            .liveag-filtered-results-label {
                order: 1;
                margin-top: 0;
                margin-bottom: 10px;
            }
        }
