:root {
    --ao-live-yellow: #FDC500;
    --ao-live-gold: #B7860B;
    --ao-live-ink: #111827;
    --ao-live-muted: #6B7280;
    --ao-live-border: #E5E7EB;
    --ao-live-page: #F4F5F7;
    --ao-live-success: #059669;
    --ao-live-danger: #DC2626;
    --ao-live-rose: #E11D48;
    --ao-live-blue: #2563EB;
}

* { box-sizing: border-box; }

.ao-live-page {
    margin: 0;
    background: var(--ao-live-page);
    color: var(--ao-live-ink);
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}

.ao-live-page button,
.ao-live-page input { font: inherit; }

.ao-live-control-bar {
    position: sticky;
    z-index: 60;
    top: 0;
    border-bottom: 1px solid var(--ao-live-border);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 5px 18px rgba(17, 24, 39, .06);
    backdrop-filter: blur(12px);
}

.ao-live-control-bar::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #EF4444 32%, var(--ao-live-yellow) 56%, transparent);
    background-size: 220% 100%;
    content: '';
    animation: aoLiveShimmer 3.2s linear infinite;
}

.ao-live-control-bar__inner {
    width: min(1240px, 100%);
    min-height: 58px;
    margin: 0 auto;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ao-live-control-bar__left,
.ao-live-control-bar__right,
.ao-live-badge,
.ao-live-progress,
.ao-live-lot-heading,
.ao-live-card-heading,
.ao-live-feed-heading,
.ao-live-activity__meta,
.ao-live-up-next__row,
.ao-live-max-card,
.ao-live-result-actions {
    display: flex;
    align-items: center;
}

.ao-live-control-bar__left { min-width: 0; gap: 12px; }
.ao-live-control-bar__right { flex: 0 0 auto; }

.ao-live-back {
    color: var(--ao-live-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ao-live-divider { width: 1px; height: 22px; background: #D1D5DB; }

.ao-live-badge {
    gap: 8px;
    padding: 6px 11px;
    border-radius: 999px;
    background: linear-gradient(100deg, #DC2626, #F0402F);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(220, 38, 38, .2);
}

.ao-live-eq { display: inline-flex; height: 13px; align-items: flex-end; gap: 2px; }
.ao-live-eq i { width: 3px; border-radius: 3px; background: #fff; animation: aoLiveEq .82s ease-in-out infinite alternate; }
.ao-live-eq i:nth-child(1) { height: 7px; }
.ao-live-eq i:nth-child(2) { height: 12px; animation-delay: .16s; }
.ao-live-eq i:nth-child(3) { height: 9px; animation-delay: .32s; }
.ao-live-eq i:nth-child(4) { height: 5px; animation-delay: .48s; }

.ao-live-auction-name {
    min-width: 0;
    overflow: hidden;
    color: var(--ao-live-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ao-live-progress { gap: 10px; }
.ao-live-progress__pips { display: flex; align-items: center; gap: 5px; }
.ao-live-progress__pip { width: 7px; height: 7px; border-radius: 999px; background: #E5E7EB; transition: all .3s ease; }
.ao-live-progress__pip.is-past { background: #9CA3AF; }
.ao-live-progress__pip.is-current { width: 22px; background: var(--ao-live-yellow); }
.ao-live-progress__label { font-size: 12px; font-weight: 750; white-space: nowrap; }

.ao-live-main {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 20px 20px 44px;
}

/* Returning from the stand-by interstitial, the stage arrives all at once and
   reads as a page jump. Replaying the entrance makes the unlock look like the
   auctioneer opening the next lot, which is what it is. */
.ao-live-main.is-entering { animation: aoLiveStageIn .42s cubic-bezier(.2,.8,.25,1) both; }

.ao-live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
    gap: 24px;
    align-items: start;
}

.ao-live-stage,
.ao-live-console { min-width: 0; }
.ao-live-stage { display: flex; flex-direction: column; gap: 16px; }
.ao-live-console { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 16px; }

.ao-live-lot-heading { min-width: 0; align-items: flex-start; gap: 11px; }
.ao-live-lot-pill {
    flex: 0 0 auto;
    margin-top: 2px;
    padding: 5px 8px;
    border-radius: 7px;
    background: var(--ao-live-yellow);
    color: #111;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.ao-live-lot-heading__copy { min-width: 0; }
.ao-live-lot-heading h1 { margin: 0; overflow: hidden; font-size: 22px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.ao-live-lot-meta { min-height: 19px; margin: 3px 0 0; color: var(--ao-live-muted); font-size: 13px; }

.ao-live-gallery,
.ao-live-info-card,
.ao-live-bid-console,
.ao-live-feed-card,
.ao-live-up-next,
.ao-live-interstitial__card,
.ao-live-ended__card {
    border: 1px solid var(--ao-live-border);
    border-radius: 18px;
    background: #fff;
}

.ao-live-gallery { position: relative; overflow: hidden; box-shadow: 0 15px 32px -28px rgba(17, 24, 39, .5); }
.ao-live-gallery::before {
    position: absolute;
    z-index: 0;
    top: -35px;
    left: 50%;
    width: 75%;
    height: 90px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(253, 197, 0, .14);
    filter: blur(24px);
    content: '';
    animation: aoLiveGlow 4s ease-in-out infinite;
}

.ao-live-gallery__frame { position: relative; z-index: 1; aspect-ratio: 16 / 10; overflow: hidden; background: #E5E7EB; }
.ao-live-gallery__frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,8,10,.12), transparent 34%, transparent 68%, rgba(8,8,10,.3));
    content: '';
    pointer-events: none;
}
.ao-live-gallery__main { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ao-live-gallery__main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ao-live-gallery__lightbox-links { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.ao-live-gallery__nav,
.ao-live-gallery__expand,
.ao-live-gallery__count,
.ao-live-call-overlay,
.ao-live-sold-stamp { position: absolute; z-index: 3; }
.ao-live-gallery__nav {
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(8, 8, 10, .56);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    backdrop-filter: blur(5px);
    cursor: pointer;
}
.ao-live-gallery__nav--prev { left: 12px; }
.ao-live-gallery__nav--next { right: 12px; }
.ao-live-gallery__expand,
.ao-live-gallery__count {
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(8, 8, 10, .67);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    backdrop-filter: blur(5px);
}
.ao-live-gallery__count { left: 12px; }
.ao-live-gallery__expand { right: 12px; cursor: pointer; }
.ao-live-gallery__expand svg,
.ao-live-gallery__count svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.ao-live-gallery__thumbs { position: relative; z-index: 1; display: flex; gap: 9px; padding: 11px; overflow-x: auto; background: #F9FAFB; scrollbar-width: thin; scrollbar-color: #D1D5DB transparent; }
.ao-live-gallery__thumb { flex: 0 0 70px; width: 70px; height: 50px; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #E5E7EB; opacity: .66; cursor: pointer; }
.ao-live-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ao-live-gallery__thumb.is-active { outline: 2.5px solid var(--ao-live-yellow); outline-offset: 1px; opacity: 1; }

.ao-live-call-overlay { --ao-call-ring: rgba(245,158,11,.46); --ao-call-glow: rgba(245,158,11,.82); top: 13px; left: 50%; transform: translateX(-50%); display: none; padding: 8px 13px; border: 2px solid currentColor; border-radius: 999px; background: rgba(8,8,10,.9); color: #FDE047; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-shadow: 0 0 10px currentColor; backdrop-filter: blur(8px); }
.ao-live-call-overlay.is-visible { display: inline-flex; align-items: center; gap: 7px; animation: aoLiveOverlayIn .3s ease both, aoLiveCallPillGlow 1.05s .3s ease-in-out infinite; }
.ao-live-call-overlay[data-call="last_call"] { --ao-call-ring: rgba(225,29,72,.48); --ao-call-glow: rgba(225,29,72,.86); color: #FB7185; }
.ao-live-call-overlay i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: aoLivePulse 1.2s ease-in-out infinite; }
/* Follows the lot detail page's outcome palette: gold is the public "sold"
   result, success green is the winner's own, and a lot that did not sell is
   stated plainly in slate rather than dressed up in alarm red. */
.ao-live-sold-stamp {
    top: 50%;
    left: 50%;
    display: none;
    max-width: calc(100% - 32px);
    transform: translate(-50%, -50%) rotate(-14deg);
    padding: 9px 17px;
    border: 4px solid var(--ao-live-gold);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    color: var(--ao-live-gold);
    font-size: clamp(22px, 4.4vw, 34px);
    font-weight: 900;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    backdrop-filter: blur(2px);
}
.ao-live-sold-stamp.is-visible { display: block; animation: aoLiveStamp .45s cubic-bezier(.2,.8,.25,1.2) both; }
.ao-live-sold-stamp[data-outcome="won"] { border-color: var(--ao-live-success); color: var(--ao-live-success); }
.ao-live-sold-stamp[data-outcome="passed"] { border-color: #64748B; color: #475569; }

.ao-live-info-card { overflow: hidden; }
.ao-live-tabs { display: flex; gap: 24px; padding: 0 20px; border-bottom: 1px solid var(--ao-live-border); }
.ao-live-tab { position: relative; padding: 15px 0 13px; border: 0; background: transparent; color: #9CA3AF; font-size: 13px; font-weight: 750; cursor: pointer; }
.ao-live-tab.is-active { color: var(--ao-live-ink); }
.ao-live-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--ao-live-yellow); content: ''; }
.ao-live-tab-panel { padding: 19px 20px 21px; }
.ao-live-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; margin: 0; }
.ao-live-spec dt,
.ao-live-auction-info dt { color: var(--ao-live-muted); font-size: 11px; font-weight: 650; }
.ao-live-spec dd,
.ao-live-auction-info dd { margin: 4px 0 0; color: var(--ao-live-ink); font-size: 13px; font-weight: 750; }
.ao-live-spec dd.is-vin { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ao-live-colour-swatch { display: inline-block; width: 13px; height: 13px; margin-right: 5px; border: 1px solid rgba(17,24,39,.18); border-radius: 50%; vertical-align: -2px; }
.ao-live-condition-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; padding-top: 16px; border-top: 1px solid #F3F4F6; }
.ao-live-condition-chip { padding: 5px 10px; border: 1px solid #E5E7EB; border-radius: 999px; background: #F3F4F6; color: #374151; font-size: 11px; font-weight: 750; white-space: nowrap; }
.ao-live-condition-chip.is-warning { border-color: #FDE68A; background: #FFFBEB; color: #B45309; }
.ao-live-listing-notes { margin: 15px 0 0; color: #4B5563; font-size: 12px; line-height: 1.55; }
.ao-live-raw-details { display: grid; gap: 11px; margin-top: 17px; padding-top: 16px; border-top: 1px solid #F3F4F6; }
.ao-live-raw-detail span { display: block; color: var(--ao-live-muted); font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.ao-live-raw-detail strong { display: block; margin-top: 2px; color: #374151; font-size: 12px; font-weight: 650; line-height: 1.5; }
.ao-live-empty-copy { margin: 0; color: var(--ao-live-muted); font-size: 12px; }
.ao-live-auction-info { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px 24px; margin: 0; }

.ao-live-bid-console { overflow: hidden; border-radius: 20px; box-shadow: 0 16px 40px -24px rgba(17,17,17,.28); transition: border-color .2s, box-shadow .2s; }
.ao-live-bid-console[data-bid-state="winning"] { border-color: rgba(16,185,129,.48); box-shadow: 0 16px 40px -24px rgba(5,150,105,.48); }
.ao-live-bid-console[data-call-state="fair_warning"] { --ao-call-ring: rgba(245,158,11,.42); --ao-call-glow: rgba(245,158,11,.72); border-color: #F59E0B; animation: aoLiveCallConsoleGlow 1.15s ease-in-out infinite; }
.ao-live-bid-console[data-call-state="last_call"] { --ao-call-ring: rgba(225,29,72,.46); --ao-call-glow: rgba(225,29,72,.78); border-color: var(--ao-live-rose); animation: aoLiveCallConsoleGlow 1.05s ease-in-out infinite; }
.ao-live-current-bid { position: relative; padding: 21px 22px 18px; }
.ao-live-card-heading { justify-content: space-between; gap: 12px; }
.ao-live-eyebrow { margin: 0; color: var(--ao-live-muted); font-size: 10.5px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.ao-live-holder { display: none; max-width: 58%; overflow: hidden; padding: 5px 9px; border-radius: 999px; background: #F3F4F6; color: #4B5563; font-size: 10.5px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.ao-live-holder:not(:empty) { display: inline-block; }
.ao-live-holder.is-mine { background: var(--ao-live-success); color: #fff; }
.ao-live-amount-wrap { position: relative; display: inline-block; max-width: 100%; margin-top: 6px; }
.ao-live-current-amount { display: block; overflow-wrap: anywhere; color: var(--ao-live-ink); font-size: clamp(38px, 4vw, 52px); font-weight: 850; letter-spacing: -.035em; line-height: 1.06; font-variant-numeric: tabular-nums; }
/* Whose money is on the table, said in colour: green while you hold the lot,
   rose the moment you don't. Matching the lot detail page's current-bid tone. */
.ao-live-current-amount.is-winning,
[data-mobile-current-bid].is-winning { color: var(--ao-live-success); }
.ao-live-current-amount.is-not-winning,
[data-mobile-current-bid].is-not-winning { color: var(--ao-live-rose); }
.ao-live-current-amount.is-empty { color: #9CA3AF; font-size: 31px; letter-spacing: -.02em; }
.ao-live-current-amount.is-animating { animation: aoLivePop .65s ease-out; }
.ao-live-current-amount.is-flashing::before { position: absolute; z-index: -1; inset: -4px -8px; border-radius: 10px; background: rgba(253,197,0,.3); content: ''; animation: aoLiveFlash 1s ease-out both; }
/* A price that moves BACKWARDS never happens in normal bidding, so a cancelled
   bid drops rather than pops, and flashes rose instead of gold. */
.ao-live-current-amount.is-animating.is-falling { animation: aoLiveDrop .65s ease-out; }
.ao-live-current-amount.is-flashing.is-falling::before { background: rgba(225,29,72,.22); }
.ao-live-bid-delta { position: absolute; left: 50%; bottom: calc(100% + 4px); display: none; transform: translateX(-50%); padding: 3px 7px; border-radius: 999px; background: #D1FAE5; color: #047857; font-size: 10px; font-weight: 800; white-space: nowrap; }
.ao-live-bid-delta.is-visible { display: block; animation: aoLiveFloat 1.2s ease-out both; }
.ao-live-bid-delta.is-down { top: calc(100% + 4px); bottom: auto; background: #FFE4E6; color: #9F1239; }
.ao-live-bid-delta.is-down.is-visible { animation: aoLiveSink 1.2s ease-out both; }

.ao-live-call-banner { --ao-call-ring: rgba(245,158,11,.4); --ao-call-glow: rgba(245,158,11,.7); display: none; margin: 0 22px 18px; padding: 12px 13px; border: 2px solid #F59E0B; border-radius: 12px; background: #FFF3BF; color: #78350F; }
.ao-live-call-banner.is-visible { display: block; animation: aoLiveCallBannerGlow 1.15s ease-in-out infinite; }
.ao-live-call-banner[data-call="last_call"] { --ao-call-ring: rgba(225,29,72,.44); --ao-call-glow: rgba(225,29,72,.76); border-color: var(--ao-live-rose); background: #FFE4E6; color: #9F1239; }
.ao-live-call-banner__label { display: block; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.ao-live-call-banner__copy { display: block; margin-top: 2px; font-size: 11px; }
.ao-live-hammer-timer { display: none; height: 4px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: rgba(185,28,28,.15); }
.ao-live-call-banner[data-call="last_call"] .ao-live-hammer-timer { display: block; }
.ao-live-hammer-timer i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #EF4444; transform-origin: left; animation: aoLiveSweep 6s linear forwards; }

.ao-live-cancel-notice,
.ao-live-bid-error { margin: 0 22px 16px; padding: 11px 12px; border: 1px solid #FECACA; border-radius: 11px; background: #FEF2F2; color: #991B1B; font-size: 11px; line-height: 1.45; }
.ao-live-cancel-notice strong,
.ao-live-bid-error strong { display: block; font-size: 12px; }

.ao-live-bid-actions { padding: 0 22px 21px; }

/* Mirrors the lot detail page's .ao-max-bid__summary (34px icon · copy · value)
   so a bidder's max reads identically wherever they meet it. The live room's
   copy is read-only — the max itself is managed on the lot page. */
.ao-live-max-card { display: block; margin-bottom: 12px; }
.ao-live-max-card__summary {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid #FCE8A6;
    border-radius: 13px;
    background: #FFF8E1;
}
.ao-live-max-card__icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #FCE8A6;
    border-radius: 9px;
    background: #fff;
    color: var(--ao-live-gold);
    font-size: 15px;
}
.ao-live-max-card__copy { min-width: 0; }
.ao-live-max-card__copy > span { display: block; color: var(--ao-live-gold); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ao-live-max-card__copy > strong { display: block; margin-top: 2px; color: var(--ao-live-ink); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ao-live-max-card__copy > small { display: block; margin-top: 2px; color: #7C5F16; font-size: 11.5px; line-height: 1.4; }

/* A max that has been overtaken is spent. It gets one clearly-marked moment on
   screen and then burns away, instead of advertising a ceiling that is no
   longer protecting anyone for the rest of the lot. */
.ao-live-max-card.is-exhausted { animation: aoLiveMaxBurn .45s ease-in both; }
.ao-live-max-card.is-exhausted .ao-live-max-card__summary { border-color: #E5E7EB; background: #F9FAFB; }
.ao-live-max-card.is-exhausted .ao-live-max-card__icon { border-color: #E5E7EB; color: var(--ao-live-muted); }
.ao-live-max-card.is-exhausted .ao-live-max-card__copy > span { color: var(--ao-live-muted); }
.ao-live-max-card.is-exhausted .ao-live-max-card__copy > strong { color: var(--ao-live-muted); text-decoration: line-through; }
.ao-live-max-card.is-exhausted .ao-live-max-card__copy > small { color: var(--ao-live-muted); }

.ao-live-bid-button {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 13px 15px 14px;
    border: 0;
    border-radius: 14px;
    background: var(--ao-live-yellow);
    color: #111;
    cursor: pointer;
    box-shadow: 0 7px 18px -10px rgba(183,134,11,.9);
    animation: aoLiveBidPulse 2.2s ease-in-out infinite;
}
.ao-live-bid-button::after { position: absolute; top: 0; bottom: 0; left: -45%; width: 28%; transform: skewX(-22deg); background: rgba(255,255,255,.5); content: ''; animation: aoLiveShine 3.8s ease-in-out infinite; }
.ao-live-bid-button span:not(.sr-only) { position: relative; z-index: 1; display: block; font-size: 10px; font-weight: 750; }
.ao-live-bid-button strong { position: relative; z-index: 1; display: block; margin-top: 1px; font-size: 20px; font-weight: 850; line-height: 1.2; }
.ao-live-bid-button.is-armed { background: #111827; color: #fff; animation: aoLiveConfirmIn .2s ease-out both; }
.ao-live-bid-button.is-expiring { background: #EF4444; color: #fff; animation: aoLiveExpire .7s ease-in-out infinite; }
.ao-live-bid-button.is-pending,
.ao-live-bid-button:disabled { background: #E5E7EB; color: #6B7280; cursor: not-allowed; box-shadow: none; animation: none; }
.ao-live-bid-button.is-winning { border: 1px solid #A7F3D0; background: #ECFDF5; color: #047857; }
.ao-live-bid-button.is-auto { border: 1px solid #A7F3D0; background: #ECFDF5; color: #047857; }
.ao-live-confirm-help { margin: 8px 2px 0; color: var(--ao-live-muted); font-size: 10.5px; line-height: 1.4; text-align: center; }
.ao-live-access-card { padding: 15px; border: 1px solid #E5E7EB; border-radius: 12px; background: #F9FAFB; }
.ao-live-access-card h3 { margin: 0; font-size: 14px; font-weight: 800; }
.ao-live-access-card p { margin: 4px 0 12px; color: var(--ao-live-muted); font-size: 11px; line-height: 1.5; }
.ao-live-access-actions { display: flex; gap: 8px; }
.ao-live-access-actions a { flex: 1; padding: 9px 10px; border-radius: 9px; background: #111827; color: #fff; font-size: 11px; font-weight: 750; text-align: center; text-decoration: none; }
.ao-live-access-actions a:last-child { background: var(--ao-live-yellow); color: #111; }
.ao-live-increment { padding: 11px 22px; border-top: 1px solid var(--ao-live-border); background: #F9FAFB; color: var(--ao-live-muted); font-size: 10.5px; font-weight: 750; }

.ao-live-feed-card,
.ao-live-up-next { padding: 16px 17px; }
.ao-live-feed-heading { justify-content: space-between; gap: 12px; }
.ao-live-feed-heading h2,
.ao-live-up-next h2 { margin: 0; color: var(--ao-live-ink); font-size: 13px; font-weight: 800; }
.ao-live-feed-title { display: flex; align-items: center; gap: 7px; }
.ao-live-feed-title i { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; animation: aoLivePulse 1.3s ease-in-out infinite; }
.ao-live-feed-count { color: var(--ao-live-muted); font-size: 10px; font-weight: 700; }
.ao-live-feed-scroll { max-height: 300px; margin-top: 12px; overflow-y: auto; }
.broadcast-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ao-live-activity { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 9px; padding: 7px 0; animation: aoLiveIn .28s ease-out both; }
.ao-live-activity__icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #F3F4F6; color: #4B5563; font-size: 11px; font-weight: 850; }
.ao-live-activity[data-type="bid"] .ao-live-activity__icon { background: #EFF6FF; color: var(--ao-live-blue); }
.ao-live-activity.is-mine .ao-live-activity__icon { background: #ECFDF5; color: #047857; }
.ao-live-activity[data-type="broadcast"] .ao-live-activity__icon { background: #FFFBEB; color: #B45309; }
.ao-live-activity.is-cancelled .ao-live-activity__icon { background: #FEF2F2; color: #B91C1C; }
.ao-live-activity__meta { justify-content: space-between; gap: 10px; }
.ao-live-activity__who { color: var(--ao-live-ink); font-size: 11px; font-weight: 800; }
.ao-live-activity.is-mine .ao-live-activity__who { color: #047857; }
.ao-live-activity time { color: #9CA3AF; font-size: 9.5px; font-variant-numeric: tabular-nums; }
.ao-live-activity__message { margin: 2px 0 0; color: var(--ao-live-muted); font-size: 10.5px; line-height: 1.4; }
.ao-live-activity.is-cancelled .ao-live-activity__message { text-decoration: line-through; }
.ao-live-feed-empty { margin: 14px 0 3px; color: #9CA3AF; font-size: 11px; text-align: center; }

.ao-live-up-next h2 { margin-bottom: 11px; }
.next-lots { display: flex; flex-direction: column; gap: 8px; }
.ao-live-up-next__row { position: relative; width: 100%; gap: 10px; padding: 8px; border: 0; border-radius: 11px; background: #F9FAFB; color: inherit; text-align: left; }
.ao-live-up-next__row.is-next { background: #FFF8E1; }
.ao-live-up-next__image { position: relative; flex: 0 0 66px; width: 66px; height: 48px; overflow: hidden; border-radius: 8px; background: #E5E7EB; }
.ao-live-up-next__image img { width: 100%; height: 100%; object-fit: cover; }
.ao-live-up-next__image span { position: absolute; top: 4px; left: 4px; padding: 2px 4px; border-radius: 4px; background: rgba(8,8,10,.68); color: #fff; font-size: 8px; font-weight: 800; }
.ao-live-up-next__copy { min-width: 0; flex: 1; }
.ao-live-up-next__copy strong { display: block; overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ao-live-up-next__copy small { display: block; margin-top: 2px; color: var(--ao-live-muted); font-size: 9px; }
.ao-live-up-next__tag { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; background: #E5E7EB; color: #4B5563; font-size: 8.5px; font-weight: 800; }
.ao-live-up-next__row.is-next .ao-live-up-next__tag { background: var(--ao-live-yellow); color: #111; }

.ao-live-interstitial,
.ao-live-ended { width: min(680px, calc(100% - 28px)); margin: 28px auto 50px; }
.ao-live-interstitial__card,
.ao-live-ended__card { padding: clamp(24px, 5vw, 42px); text-align: center; box-shadow: 0 18px 42px -34px rgba(17,24,39,.45); }
.ao-live-interstitial__spinner { width: 68px; height: 68px; margin: 0 auto 20px; border: 6px solid #E5E7EB; border-top-color: var(--ao-live-yellow); border-radius: 50%; animation: aoLiveSpin .9s linear infinite; }
.ao-live-interstitial__kicker,
.ao-live-ended__kicker { margin: 0; color: var(--ao-live-gold); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.ao-live-interstitial h2,
.ao-live-ended h2 { margin: 7px 0 0; color: var(--ao-live-ink); font-size: clamp(27px, 5vw, 40px); font-weight: 850; letter-spacing: -.03em; }
.ao-live-interstitial__copy,
.ao-live-ended__copy { max-width: 510px; margin: 9px auto 0; color: var(--ao-live-muted); font-size: 12px; line-height: 1.6; }
.ao-live-interstitial__actions,
.ao-live-result-actions { justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.ao-live-interstitial__actions a,
.ao-live-result-actions a { padding: 10px 16px; border: 1px solid #D1D5DB; border-radius: 10px; background: #fff; color: #111827; font-size: 11px; font-weight: 800; text-decoration: none; }
.ao-live-interstitial__actions a:first-child,
.ao-live-result-actions a:first-child { border-color: var(--ao-live-yellow); background: var(--ao-live-yellow); color: #111; }
.ao-live-stc-reminder { margin-top: 20px; padding: 10px 12px; border: 1px solid #FCE8A6; border-radius: 11px; background: #FFF8E1; color: #6B5200; font-size: 10.5px; line-height: 1.45; }
.ao-live-stc-reminder strong { display: inline-block; margin-right: 5px; padding: 2px 5px; border-radius: 5px; background: var(--ao-live-yellow); color: #111; font-size: 9px; }
/* The result of the lot that just closed. This is the whole reason the bidder
   is looking at a stand-by screen, so it leads the interstitial and the
   sold-for amount is the largest thing on it — the modal it replaced said less,
   in a smaller box, and had to be dismissed before the room could be seen. */
.ao-live-recap {
    margin-bottom: 22px;
    padding: 16px 17px 17px;
    border: 1px solid var(--ao-live-border);
    border-radius: 14px;
    background: #F9FAFB;
    text-align: left;
    animation: aoLiveRecapIn .4s cubic-bezier(.2,.8,.25,1) both;
}
.ao-live-recap__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ao-live-recap__kicker { color: var(--ao-live-muted); font-size: 9.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ao-live-recap__stamp {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ao-live-yellow);
    color: #111;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}
.ao-live-recap__title { margin-top: 8px; color: var(--ao-live-ink); font-size: 13.5px; font-weight: 800; }
.ao-live-recap__headline {
    margin: 5px 0 0;
    color: var(--ao-live-gold);
    font-size: clamp(24px, 4.6vw, 33px);
    font-weight: 850;
    letter-spacing: -.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.ao-live-recap__result { margin: 7px 0 0; color: #4B5563; font-size: 12px; line-height: 1.5; }
.ao-live-recap__terms { margin: 9px 0 0; padding-top: 9px; border-top: 1px solid #E5E7EB; color: var(--ao-live-muted); font-size: 10.5px; line-height: 1.45; }

.ao-live-recap.is-sold,
.ao-live-recap.is-subject-to { border-color: #FCE8A6; background: linear-gradient(180deg, #FFF8E1, #FFFDF4); }
.ao-live-recap.is-won { border-color: #A7F3D0; background: linear-gradient(180deg, #ECFDF5, #F8FEFB); }
.ao-live-recap.is-won .ao-live-recap__stamp { background: var(--ao-live-success); color: #fff; }
.ao-live-recap.is-won .ao-live-recap__headline { color: #047857; }
.ao-live-recap.is-passed { border-color: #E2E8F0; background: #F8FAFC; }
.ao-live-recap.is-passed .ao-live-recap__stamp { background: #64748B; color: #fff; }
.ao-live-recap.is-passed .ao-live-recap__headline { color: #475569; }

.ao-live-mobile-bar { display: none; }
.ao-live-connection-loader { position: fixed; z-index: 75; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #111827; color: #fff; box-shadow: 0 10px 24px rgba(17,24,39,.2); font-size: 11px; font-weight: 700; }
.ao-live-connection-loader.bg-green-500 { background: var(--ao-live-success); }
.ao-live-connection-loader.bg-red-500 { background: var(--ao-live-danger); }
.ao-live-connection-loader__spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.32); border-top-color: #fff; border-radius: 50%; animation: aoLiveSpin .8s linear infinite; }
.ao-live-connection-loader p { margin: 0; }

@keyframes aoLiveEq { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes aoLiveShimmer { to { background-position: -220% 0; } }
@keyframes aoLiveGlow { 0%,100% { opacity: .5; transform: translateX(-50%) scale(.9); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
@keyframes aoLivePulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes aoLivePop { 0% { transform: scale(1); } 36% { transform: scale(1.055); } 100% { transform: scale(1); } }
@keyframes aoLiveDrop { 0% { transform: translateY(0) scale(1); } 38% { transform: translateY(4px) scale(.955); } 100% { transform: translateY(0) scale(1); } }
@keyframes aoLiveFlash { from { opacity: 1; } to { opacity: 0; } }
@keyframes aoLiveFloat { 0% { opacity: 0; transform: translate(-50%,5px); } 15%,70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,-22px); } }
@keyframes aoLiveSink { 0% { opacity: 0; transform: translate(-50%,-5px); } 15%,70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,22px); } }
@keyframes aoLiveMaxBurn { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px) scale(.97); } }
@keyframes aoLiveRecapIn { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes aoLiveStageIn { from { opacity: 0; transform: translateY(10px) scale(.994); } to { opacity: 1; transform: none; } }
@keyframes aoLiveOverlayIn { from { opacity: 0; transform: translate(-50%,-8px) scale(.94); } to { opacity: 1; transform: translate(-50%,0) scale(1); } }
@keyframes aoLiveCallConsoleGlow { 0%,100% { box-shadow: 0 0 0 2px var(--ao-call-ring), 0 0 18px -5px var(--ao-call-glow), 0 16px 40px -24px var(--ao-call-glow); } 50% { box-shadow: 0 0 0 4px var(--ao-call-ring), 0 0 38px 3px var(--ao-call-glow), 0 20px 48px -18px var(--ao-call-glow); } }
@keyframes aoLiveCallBannerGlow { 0%,100% { box-shadow: 0 0 0 1px var(--ao-call-ring), 0 0 14px -4px var(--ao-call-glow); transform: scale(1); } 50% { box-shadow: 0 0 0 3px var(--ao-call-ring), 0 0 28px 2px var(--ao-call-glow); transform: scale(1.012); } }
@keyframes aoLiveCallPillGlow { 0%,100% { box-shadow: 0 0 0 2px var(--ao-call-ring), 0 0 12px var(--ao-call-glow); } 50% { box-shadow: 0 0 0 4px var(--ao-call-ring), 0 0 26px 4px var(--ao-call-glow); } }
@keyframes aoLiveStamp { from { opacity: 0; transform: translate(-50%,-50%) rotate(-14deg) scale(1.8); } to { opacity: 1; transform: translate(-50%,-50%) rotate(-14deg) scale(1); } }
@keyframes aoLiveSweep { to { transform: scaleX(0); } }
@keyframes aoLiveBidPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(253,197,0,.2); } 50% { box-shadow: 0 0 0 6px rgba(253,197,0,0); } }
@keyframes aoLiveShine { 0%,62% { left: -45%; } 82%,100% { left: 125%; } }
@keyframes aoLiveConfirmIn { from { transform: translateY(4px); opacity: .85; } to { transform: none; opacity: 1; } }
@keyframes aoLiveExpire { 0%,100% { transform: scale(1); } 50% { transform: scale(.985); } }
@keyframes aoLiveIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes aoLiveSpin { to { transform: rotate(360deg); } }

@media (max-width: 859px) {
    .ao-live-control-bar__inner { min-height: 53px; padding: 8px 14px; }
    .ao-live-back span:last-child,
    .ao-live-auction-name,
    .ao-live-divider { display: none; }
    .ao-live-control-bar__left { gap: 9px; }
    .ao-live-progress__pips { display: none; }
    .ao-live-main { width: min(640px, 100%); padding: 14px 14px 98px; }
    .ao-live-grid { display: flex; flex-direction: column; gap: 16px; }
    .ao-live-console { position: static; order: 1; width: 100%; }
    .ao-live-stage { order: 2; width: 100%; }
    .ao-live-lot-heading h1 { font-size: 19px; white-space: normal; }
    .ao-live-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ao-live-current-bid { padding: 18px 17px 15px; }
    .ao-live-call-banner,
    .ao-live-cancel-notice,
    .ao-live-bid-error { margin-right: 17px; margin-left: 17px; }
    .ao-live-bid-actions { padding: 0 17px 18px; }
    .ao-live-increment { padding: 10px 17px; }
    .ao-live-up-next { display: none; }
    .ao-live-mobile-bar {
        position: fixed;
        z-index: 65;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--ao-live-border);
        background: rgba(255,255,255,.96);
        box-shadow: 0 -8px 24px rgba(17,24,39,.1);
        backdrop-filter: blur(10px);
    }
    .ao-live-mobile-bar[hidden] { display: none; }
    .ao-live-mobile-bar__amount { min-width: 0; }
    .ao-live-mobile-bar__amount span { display: block; color: var(--ao-live-muted); font-size: 8.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .ao-live-mobile-bar__amount strong { display: block; max-width: 39vw; overflow: hidden; font-size: 17px; font-weight: 850; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
    .ao-live-mobile-bar__amount small { display: block; color: var(--ao-live-muted); font-size: 9px; font-weight: 700; }
    .ao-live-mobile-bid { flex: 0 0 auto; min-width: 142px; padding: 10px 12px; border: 0; border-radius: 11px; background: var(--ao-live-yellow); color: #111; font-size: 11px; font-weight: 850; text-align: center; }
    .ao-live-mobile-bid.is-armed { background: #111827; color: #fff; }
    .ao-live-mobile-bid.is-expiring { background: #EF4444; color: #fff; }
    .ao-live-mobile-bid:disabled { background: #E5E7EB; color: #6B7280; }
    .ao-live-connection-loader { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); }
}

@media (max-width: 440px) {
    .ao-live-badge { padding: 6px 9px; }
    .ao-live-progress__label { font-size: 10.5px; }
    .ao-live-gallery__expand { width: 38px; height: 34px; justify-content: center; font-size: 0; }
    .ao-live-auction-info { grid-template-columns: 1fr; }
    .ao-live-mobile-bid { min-width: 124px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
