/* ==========================================================================
   Live room  ·  /live
   Reuses the lot page's gallery and bid panel (css/pages/lot.css); this file
   adds the navy status strip, the queue rows and the empty state.
   ========================================================================== */
.live-strip{background:var(--navy);color:#cee1d8;font-size:13.5px}
.live-strip__in{display:flex;align-items:center;gap:6px 20px;min-height:44px;flex-wrap:wrap}
.live-strip__live{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#fff}
.live-strip__live i{width:8px;height:8px;border-radius:50%;background:var(--live)}
.live-strip__sp{margin-left:auto}
.live-strip a{color:#fff;font-weight:600}
.live-strip a:hover{text-decoration:underline;text-underline-offset:3px}
.live-page .lot-head{margin-top:20px}
.live-head .lot-head__meta{margin:0 0 6px}

.live-q{margin-top:44px}
.live-q h2{font-size:22px}
.live-q__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin-top:14px}
.live-q__item{display:flex;align-items:center;gap:12px;padding:10px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);color:inherit;transition:border-color .12s,box-shadow .12s}
.live-q__item:hover{border-color:var(--ink);color:inherit;box-shadow:var(--sh-1)}
.live-q__item.is-current{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.live-q__thumb{flex:none;width:92px;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:var(--line)}
.live-q__thumb img{width:100%;height:100%;object-fit:cover}
.live-q__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.live-q__body strong{color:var(--ink);font-size:14.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.live-q__meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;font-size:13px;color:var(--muted)}
.live-q__meta b{color:var(--ink);font-variant-numeric:tabular-nums}
.live-q__here{align-self:flex-start}
.live-q__time{white-space:nowrap;display:inline-flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums}

.live-empty-wrap{padding-top:48px}
.live-empty{max-width:720px;margin:0 auto;padding:48px 28px;text-align:center}
.live-empty__icon{display:inline-grid;place-content:center;width:64px;height:64px;border-radius:18px;background:var(--brand-wash);color:var(--brand);margin-bottom:16px}
.live-empty h1{font-size:clamp(26px,calc(3.4 * var(--vw,1vw)),36px);margin-bottom:12px}
.live-empty .lede{margin:0 auto 22px}
.live-empty__cta{justify-content:center}
.live-empty .help{margin-top:18px}
@media (max-width:560px){.live-q__thumb{width:76px}}

@media (max-width:1020px){.live-layout .lot-layout__sections{margin-top:24px}}

/* ==========================================================================
   The room  ·  a dark stage with one clock, one bid box and the bids.
   The light site variables are re-pointed inside .room, so the shared lot
   components (gallery, bid panel, bid history, queue rows) restyle themselves
   and nothing in lot.css has to know about the dark theme.
   ========================================================================== */
.room{
  --ink:#f4f7ff;--text:#daeae2;--muted:#adccbc;--faint:#8bad9c;
  --surface:#164a30;--soft:#103d27;--line:rgba(255,255,255,.12);--line-2:rgba(255,255,255,.22);
  --brand-wash:rgba(139,211,175,.16);--brand-tint:rgba(139,211,175,.38);--brand-2:#b8e4ce;
  --ok:#5ee09a;--ok-wash:rgba(94,224,154,.13);--ok-line:rgba(94,224,154,.4);
  --warn:#fbbf4d;--warn-wash:rgba(251,191,77,.13);--warn-line:rgba(251,191,77,.4);
  --danger:#ff9a90;--danger-wash:rgba(255,138,128,.14);--danger-line:rgba(255,138,128,.42);
  --live-wash:rgba(229,55,43,.2);
  background:linear-gradient(180deg,#0e3f26 0,#0f2b1d 100%);color:var(--text);padding-bottom:64px;margin-bottom:-72px;   /* the footer's own top margin would show as a pale band */
}
.room .live-strip{background:rgba(255,255,255,.04);border-bottom:1px solid var(--line)}
.room .live-strip__live i{box-shadow:0 0 0 0 rgba(229,55,43,.6);animation:room-pulse 1.8s infinite}
@keyframes room-pulse{70%{box-shadow:0 0 0 7px rgba(229,55,43,0)}100%{box-shadow:0 0 0 0 rgba(229,55,43,0)}}
@media (prefers-reduced-motion:reduce){.room .live-strip__live i{animation:none}}

.room .btn--primary:hover{background:#1b8350;color:#fff}
.room .btn--secondary{background:rgba(255,255,255,.06);border-color:var(--line-2);color:#fff}
.room .btn--secondary:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4);color:#fff}
.room .lot-watch[aria-pressed=true]{background:var(--warn-wash);border-color:var(--warn-line)}
.room .link,.room .lot-layout__sections a:not(.btn){color:#c1e7d4}
.room .callout{background:var(--warn-wash);border-color:var(--warn-line);color:var(--text)}

.room .lot-gallery__nav{color:#111518}
.room .lot-gallery__main{background:#0c1510;border:1px solid var(--line)}
.room .lot-gallery__thumbs button.is-active{border-color:#95d7b6}

/* ---- the console (bid panel) ---- */
.room .lot-bid{background:linear-gradient(180deg,#1f6140 0,#174a31 100%);border-color:rgba(255,255,255,.18);box-shadow:0 18px 50px rgba(9,17,13,.45)}
.room .lot-bid .bidpanel__top{border-bottom:1px solid var(--line);padding:18px 22px 20px}
.room .lot-bid__figures{align-items:center;gap:16px}
.room .lot-bid__figures .price--lg .price__value{font-size:44px;color:#fff}
.room .lot-bid__figures .price__label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.room .lot-bid__count{font-size:13px;color:var(--muted)}
.room .badge{background:rgba(255,255,255,.08);border-color:var(--line)}
.room .badge--live{background:var(--live-wash);color:#ff8f86;border-color:rgba(255,120,110,.4)}
.room .badge--ok{background:var(--ok-wash);border-color:var(--ok-line)}
.room .badge--warn{background:var(--warn-wash);border-color:var(--warn-line)}
.room .lot-bid__rule{background:rgba(255,255,255,.06);color:var(--muted);margin-top:16px}
.room .lot-bid__rule strong{color:#fff}
.room .lot-bid__rule .svg-icon{color:#aee0c7}

/* the round timer */
.room .lot-bid__clock--ring{align-items:center;gap:6px;flex:none}
.ring{position:relative;display:inline-grid;place-items:center;width:124px;height:124px;flex:none}
.ring__svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.ring__bg{fill:rgba(255,255,255,.03);stroke:rgba(255,255,255,.14);stroke-width:7}
.ring__fg{fill:none;stroke:#95d7b6;stroke-width:7;stroke-linecap:round;transition:stroke-dashoffset .3s linear,stroke .3s;
  filter:drop-shadow(0 0 6px rgba(128,207,168,.55))}
.ring.is-urgent .ring__fg{stroke:#ff5a4d;filter:drop-shadow(0 0 7px rgba(255,80,64,.7))}
.ring.is-ended .ring__fg{stroke:transparent;filter:none}
.ring__label{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;line-height:1;text-align:center}
.ring__label b{font:800 24px/1 var(--font-display);color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}
.ring[data-long="1"] .ring__label b{font-size:15px}
.ring.is-urgent .ring__label b{color:#ffd6d1}
.ring__label small{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700}
.ring.is-urgent .ring__label small{color:#ff9a90}
.ring.is-urgent{animation:ring-beat 1s ease-in-out infinite}
@keyframes ring-beat{50%{transform:scale(1.035)}}
@media (prefers-reduced-motion:reduce){.ring.is-urgent{animation:none}.ring__fg{transition:none}}
.room .lot-bid__ends{font-size:12px;color:var(--faint)}

/* position, bid box, steppers */
.room .lot-bid .bidpanel__body{padding:18px 22px 20px}
.room .input{background:#113724;border-color:var(--line-2);color:#fff}
.room .input:focus{border-color:#95d7b6;box-shadow:0 0 0 3px rgba(149,215,182,.28)}
.room .input::placeholder{color:var(--faint)}
.room .bidstep button{background:rgba(255,255,255,.07);border-color:var(--line-2);color:#fff}
.room .bidstep button:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.5)}
.room .lot-bidform .input-affix>span{color:#fff}
.room .lot-bidform .help,.room .lot-help p{color:var(--muted)}
.room .lot-help summary{color:#c1e7d4}
.room .lot-bid__msg.is-error{color:var(--danger)}
.room .lot-gate{background:rgba(255,255,255,.05);border-color:var(--line)}
.room .lot-result{background:rgba(255,255,255,.05);border-color:var(--line)}

/* bid history: always open and the star of the page */
.room .lot-hist{border-top:1px solid var(--line)}
.room .lot-hist summary{padding:16px 22px 10px;font-size:12px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--muted);pointer-events:none}
.room .lot-hist summary::after{display:none}
.room .lot-hist__count{background:rgba(255,255,255,.08);border-color:var(--line);color:#fff}
.room .lot-hist__list{max-height:216px}
.room .lot-hist__foot{display:none}
.room .bid-history li{border-bottom-color:rgba(255,255,255,.08)}
.room .lot-hist .bid-history b{color:#fff;font-size:15px}
.room .lot-hist .bid-history li.is-top b{color:var(--ok)}
.room .lot-hist .bid-history li.is-top{background:linear-gradient(90deg,rgba(94,224,154,.1),transparent);margin:0 -22px;padding-left:22px;padding-right:22px}
.room .lot-hist .bid-history li.is-new{background:rgba(139,211,175,.2)}
.room .lot-hist__who em{background:rgba(139,211,175,.3);color:#e2f4eb}
.room .lot-hist__empty{color:var(--muted)}

/* one quiet help line instead of the specialist card + estimator */
.room-help{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center;margin:0;padding:14px 22px 16px;border-top:1px solid var(--line);font-size:13.5px;background:rgba(0,0,0,.14)}
.room-help a,.room-help button{display:inline-flex;align-items:center;gap:6px;color:#c1e7d4;font-weight:600;background:none;border:0;padding:0;font:inherit;font-weight:600;cursor:pointer}
.room-help a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.room-help a:last-child{margin-left:auto;color:var(--muted)}

/* page furniture */
.room .lot-facts dd{color:#fff}
.room .live-q__item{background:rgba(255,255,255,.05);border-color:var(--line)}
.room .live-q__item:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.4)}
.room .live-q__item.is-current{border-color:#95d7b6;box-shadow:inset 0 0 0 1px #95d7b6}
.room .live-q__body strong,.room .live-q__meta b{color:#fff}
.room .live-q__thumb{background:#113724}
.room .live-q h2{color:#fff}

@media (min-width:1021px){.room-layout{grid-template-rows:auto 1fr}}
@media (max-width:1020px){
  /* On a phone the clock and the bid box come first; the photos are right below. */
  .room .lot-layout{grid-template-areas:"side" "gallery" "sections"}
  .room .lot-layout__side{margin-top:0;margin-bottom:20px}
  .ring{width:108px;height:108px}
  .room .lot-bid__figures .price--lg .price__value{font-size:36px}
}
@media (max-width:420px){
  .ring{width:96px;height:96px}
  .ring__label b{font-size:20px}
  .room .lot-bid__figures .price--lg .price__value{font-size:32px}
  .room .lot-bid .bidpanel__top,.room .lot-bid .bidpanel__body{padding-left:16px;padding-right:16px}
  .room-help,.room .lot-hist summary{padding-left:16px;padding-right:16px}
  .room .lot-hist__list{padding:0 16px}
}
.room .lot-gate__alt a{color:#c1e7d4;text-decoration:underline;text-underline-offset:3px}
@media (max-width:1020px){
  .ring__label small{font-size:8.5px;letter-spacing:.05em}
  .ring__label{gap:5px}
}

/* the room keeps Buy Now, but as a quiet second choice under the bid box */
.room .lot-max{background:rgba(255,255,255,.04);border-color:var(--line-2)}
.room .lot-max summary{color:#ebf8f2}
.room .lot-buynow--room{margin-top:2px}
.room .lot-buynow--room .help{display:none}
.room .lot-buynow--room .lot-buynow__btn{min-height:44px;font-size:14.5px;background:rgba(255,255,255,.06);color:#fff;border:1px solid var(--line-2)}
.room .lot-buynow--room .lot-buynow__btn:hover{background:rgba(255,255,255,.12)}
