/* /plugins/auction/assets/css/views/auction.css */
/* RTL helpers */
[dir="rtl"] .rtl-text { text-align: right; }
[dir="rtl"] .rtl-flex-row-reverse { flex-direction: row-reverse; }
[dir="rtl"] .rtl-ml-1  { margin-left: 0; margin-right: .25rem; }
[dir="rtl"] .rtl-mr-2  { margin-right: 0; margin-left: .5rem; }
[dir="rtl"] .rtl-flip-icon { transform: scaleX(-1); }

/* ── Lot sheet: the main editorial plate ── */
.ed-lot-sheet {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: relative;
}
html.dark .ed-lot-sheet { background: var(--paper-2); }
.ed-lot-sheet::before {
  content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 2px;
  background: var(--ink); border-radius: 0 0 2px 2px;
}
html.dark .ed-lot-sheet::before { background: var(--bz-primary); }

/* Hairline panel used across the page */
.ed-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
}
html.dark .ed-panel { background: var(--paper-2); }

/* Editorial chip (hairline pill) */
.ed-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
}

/* Similar lots — compact index card */
.ed-sim-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.ed-sim-card:hover { border-color: var(--ink); transform: translateY(-3px); }
html.dark .ed-sim-card { background: var(--paper-2); }

/* ── Skeleton shimmer (paper-toned) ── */
.sk {
  position: relative; overflow: hidden;
  background: var(--paper-2);
  border-radius: 3px;
}
html.dark .sk { background: rgba(244,239,226,0.05); }
.sk::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--rule-soft), transparent);
  animation: sk-sweep 1.4s ease-in-out infinite;
}
@keyframes sk-sweep { 100% { transform: translateX(100%); } }
#page-skeleton { transition: opacity 0.25s ease; }
#page-content  { transition: opacity 0.25s ease; }

/* Looping motion stops for visitors who ask for less of it. */
@media (prefers-reduced-motion: reduce) {
  .sk::after { animation: none; }
}

/* /plugins/auction/assets/css/components/auction/gallery.css */
.ed-thumb {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper-2);
  transition: border-color 0.18s ease, opacity 0.18s ease;
  opacity: 0.65;
}
.ed-thumb:hover { border-color: var(--ink-soft); opacity: 1; }
.ed-thumb.thumb-active { border-color: var(--ink); opacity: 1; box-shadow: 0 0 0 1px var(--ink); }
html.dark .ed-thumb.thumb-active { border-color: var(--theme-500); box-shadow: 0 0 0 1px var(--theme-500); }

/* /plugins/auction/assets/css/components/auction/gallery-badge.css */
@keyframes popBadge {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.animate-badge { animation: popBadge 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
.lightbox-overlay { animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* /plugins/auction/assets/css/components/auction/gallery-lightbox.css */
/* The auction picture viewer (js/components/auction/gallery-lightbox.js).
   The veil is a neutral near-black that a theme may tint through its own
   .lightbox-overlay rule (gallery-badge.css); controls stay white on it and
   take the theme accent on hover and focus. */
.pxa-lb {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 12, .95);
  color: #fff;
  opacity: 0; transition: opacity .2s ease-out;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: contain;
}
.pxa-lb.is-open { opacity: 1; }

.pxa-lb__stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: calc(64px + env(safe-area-inset-top, 0px)) 12px calc(84px + env(safe-area-inset-bottom, 0px));
  touch-action: pan-y pinch-zoom;
}
.pxa-lb__img {
  display: block; max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  /* Product cut-outs are often dark on transparent; a light mat keeps them visible on the veil. */
  background: #fff; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  opacity: 0; transition: opacity .2s ease-out;
  user-select: none; -webkit-user-drag: none;
}
.pxa-lb__img.is-ready { opacity: 1; }

.pxa-lb__bar {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 12px;
  pointer-events: none;
}
.pxa-lb__bar > * { pointer-events: auto; }
.pxa-lb__count {
  margin: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; line-height: 1.3;
}
.pxa-lb__count[hidden] { display: none; }
.pxa-lb__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pxa-lb__close { margin-inline-start: auto; }

.pxa-lb__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff;
  cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.pxa-lb__btn svg { width: 22px; height: 22px; }
.pxa-lb__btn:hover {
  background: var(--theme-600, #4f46e5); color: var(--theme-600-ink, #fff);
  border-color: transparent;
}
.pxa-lb__btn:focus { outline: none; }
.pxa-lb__btn:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--theme-500, #6366f1);
}
.pxa-lb__btn:not(.pxa-lb__nav):active { transform: scale(.94); }

/* Phones: previous / next sit under the picture, within thumb reach. */
.pxa-lb__nav {
  position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}
.pxa-lb__prev { left: 50%; transform: translateX(calc(-100% - 10px)); }
.pxa-lb__next { left: 50%; transform: translateX(10px); }

@media (min-width: 640px) {
  .pxa-lb__stage { padding: calc(72px + env(safe-area-inset-top, 0px)) 84px calc(40px + env(safe-area-inset-bottom, 0px)); }
  .pxa-lb__bar { padding: 16px 20px; }
  .pxa-lb__btn { width: 48px; height: 48px; }
  .pxa-lb__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .pxa-lb__prev { left: 20px; }
  .pxa-lb__next { left: auto; right: 20px; }
}

/* Right-to-left: previous is on the right and the arrows point outward. */
[dir="rtl"] .pxa-lb__nav svg { transform: scaleX(-1); }
@media (min-width: 640px) {
  [dir="rtl"] .pxa-lb__prev { left: auto; right: 20px; }
  [dir="rtl"] .pxa-lb__next { right: auto; left: 20px; }
}
@media (max-width: 639.98px) {
  [dir="rtl"] .pxa-lb__prev { transform: translateX(10px); }
  [dir="rtl"] .pxa-lb__next { transform: translateX(calc(-100% - 10px)); }
}

@media (prefers-reduced-motion: reduce) {
  .pxa-lb, .pxa-lb__img, .pxa-lb__btn { transition: none; }
}

/* The magnifier on the main picture is a real button; keyboard focus shows it. */
.pxa-zoom-btn { cursor: zoom-in; padding: 0; }
[data-auction-gallery]:focus-within .pxa-zoom-btn,
.pxa-zoom-btn:focus-visible { opacity: 1; }
[data-auction-zoom][role="button"]:focus-visible { outline: 2px solid var(--theme-500, currentColor); outline-offset: -4px; }

/* The folio, status and picture count sit on the plate, over whatever frame
   or photo a theme puts there; a wash of the theme's paper keeps them legible.
   :where() leaves any theme rule that styles them in charge. */
:where(.pxa-plate-tag) {
  background: color-mix(in srgb, var(--paper, #fff) 88%, transparent);
  padding: .15rem .55rem; border-radius: 999px;
}
/* The theme's muted status ink is a shade light for 11px text on that wash. */
.pxa-plate-tag.ed-status { color: var(--ink-2); }

/* /plugins/auction/assets/css/components/auction/bidding-console.css */
/* Editorial underline bid input */
.ed-bid-group {
  display: flex; align-items: stretch; gap: 0.75rem;
}
.ed-bid-field {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  padding: 0 0.9rem;
}
.ed-bid-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,0.08); }
html.dark .ed-bid-field:focus-within { box-shadow: 0 0 0 3px rgba(96,165,250,0.18); }
.ed-bid-field input {
  width: 100%; min-width: 0;
  background: transparent; border: none; outline: none;
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  font-variation-settings: "opsz" 144;
  font-size: 1.35rem; font-weight: 600;
  color: var(--ink);
  padding: 0.65rem 0;
}
.ed-bid-field input::placeholder { color: var(--ink-soft); opacity: 0.75; font-size: 1rem; font-weight: 400; }
.ed-bid-currency {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  font-size: 1.05rem; color: var(--ink-soft);
  user-select: none; flex-shrink: 0;
}

/* Editorial toggle switch */
.ed-switch-track {
  width: 2.25rem; height: 1.25rem;
  background: var(--rule);
  border-radius: 999px; position: relative;
  transition: background 0.2s ease;
}
.ed-switch-track::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 1rem; height: 1rem; border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.ed-switch input:checked + .ed-switch-track { background: var(--ink); }
html.dark .ed-switch input:checked + .ed-switch-track { background: var(--theme-500); }
.ed-switch input:checked + .ed-switch-track::after { transform: translateX(1rem); }

/* /assets/css/components/guest-wall.min.css */
.px-gw{position:relative;display:grid;isolation:isolate;}.px-gw > *{grid-area:1 / 1;min-width:0;}.px-gw__body{pointer-events:none;user-select:none;-webkit-user-select:none;}.px-gw__body [hidden]{display:none !important;}.px-gw__body :is(button,[role="button"],input[type="submit"],input[type="button"]){visibility:hidden !important;}.px-gw__card{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;padding:1.25rem 1rem;text-align:center;color:var(--ink);background:var(--paper-2);border:1px solid var(--rule);border-radius:12px;box-shadow:0 10px 30px -18px rgba(0,0,0,0.45);}@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and (background: color-mix(in srgb, red 50%, transparent)){.px-gw__card{background:color-mix(in srgb, var(--paper) 80%, transparent);-webkit-backdrop-filter:blur(10px) saturate(1.15);backdrop-filter:blur(10px) saturate(1.15);}}@media (prefers-reduced-transparency: reduce){.px-gw__card{background:var(--paper-2);-webkit-backdrop-filter:none;backdrop-filter:none;}}.px-gw__badge{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:999px;color:var(--ink);background:var(--paper);border:1px solid var(--rule);}.px-gw__badge svg{display:block;}.px-gw__title{margin:0.25rem 0 0;font-size:1.125rem;font-weight:600;line-height:1.3;color:var(--ink);overflow-wrap:anywhere;}.px-gw__line{margin:0;max-width:34rem;font-size:0.875rem;line-height:1.5;color:var(--ink);overflow-wrap:anywhere;}.px-gw .px-gw__card .px-gw__actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0.5rem;width:100%;max-width:24rem;margin-top:0.5rem;}.px-gw .px-gw__card .px-gw__actions > .px-gw__btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:2.75rem;margin:0;padding-inline:1rem;text-align:center;white-space:nowrap;}@media (max-width: 480px){.px-gw .px-gw__card .px-gw__actions > .px-gw__btn{padding-inline:0.375rem;font-size:clamp(0.6875rem,3.1vw,0.875rem);letter-spacing:0;}}.px-gw__return{margin:0.125rem 0 0;font-size:0.8125rem;line-height:1.4;color:var(--ink);}.px-gw__social{display:flex;flex-direction:column;align-items:center;gap:0.5rem;width:100%;margin-top:0.5rem;padding-top:0.75rem;border-top:1px solid var(--rule);}.px-gw__social-label{margin:0;font-size:0.75rem;color:var(--ink);}.px-gw__social-row{display:flex;flex-wrap:wrap;justify-content:center;gap:0.5rem;}.px-gw__social-row .social-btn{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:0.625rem;border:1px solid var(--rule);background:var(--paper);}.px-gw__social-row .social-btn img{width:1.25rem;height:1.25rem;}.px-gw a:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}.px-gw-notice[hidden]{display:none !important;}.px-gw-notice{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(0,0,0,0.6);}.px-gw-notice__box{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:28rem;max-height:calc(100vh - 2rem);overflow-y:auto;padding:1.5rem;text-align:center;color:var(--ink);background:var(--paper-2);border:1px solid var(--rule);border-radius:16px;box-shadow:0 25px 50px -12px rgba(0,0,0,0.45);transform:scale(0.95);opacity:0;transition:transform 0.2s ease-out,opacity 0.2s ease-out;}.px-gw-notice.is-open .px-gw-notice__box{transform:none;opacity:1;}@media (prefers-reduced-motion: reduce){.px-gw-notice__box{transition:none;}}@media (min-width: 640px){.px-gw-notice__box{padding:2rem;}}.px-gw-notice__icon{display:inline-flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;border-radius:999px;color:#eab308;background:rgba(234,179,8,0.12);}.px-gw-notice__icon svg{display:block;}.px-gw-notice__title{margin:0;font-size:1.25rem;font-weight:700;line-height:1.3;color:var(--ink);overflow-wrap:anywhere;}.px-gw-notice__line{margin:0;font-size:0.875rem;line-height:1.5;color:var(--ink-soft, var(--ink));overflow-wrap:anywhere;}.px-gw-notice__btn{min-height:2.75rem;margin-top:0.5rem;padding:0.625rem 1.5rem;}
/* /plugins/auction/assets/css/components/auction/mobile-panel.css */
/* The phone bid bar on the narrowest screens. With a long amount the Place
   bid button is left too narrow for its longest word and arrow, and since
   its width is set by the row, padding alone gives the content no room: so
   its label loses its letter-spacing and steps down a size, and the gap and
   padding tighten. The arrow keeps its size; the amount is left alone. */
@media (max-width: 339.98px) {
  [data-auction-mobile-bar] > div > .ed-btn-primary { padding-inline: .5rem !important; gap: .125rem !important; letter-spacing: 0 !important; font-size: min(1em, .8125rem) !important; }
}

/* /plugins/auction/assets/css/components/auction/status-badges.css */
/* Chips wrap onto a new row instead of shrinking until label/value text
   breaks mid-word. */
.ed-status-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.ed-status-chips > .ed-chip { flex: 0 1 auto; min-width: 0; justify-content: center; }
.ed-status-chips > .ed-chip > span { white-space: nowrap; }

/* A value reads a step stronger than its label. The first chip is the one a
   theme fills with its own colour, so its label and value take the chip's
   colour rather than ink meant for the page behind it. */
.ed-status-chips .ed-chip-value { color: var(--ink); }
.ed-status-chips > .ed-chip:first-child .ed-chip-value,
.ed-status-chips > .ed-chip:first-child .ed-eyebrow { color: inherit; }

/* /plugins/auction/assets/css/components/auction/bid-desk.css */
/* Bid desk (components/auction/bid-desk.php): live feed | price story.
   Colours come from the theme tokens the rest of the auction page uses. */
.ad-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .ad-desk { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem; margin-top: 2rem; }
}

.ad-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.1rem;
  min-width: 0;
  color: var(--ink);
}
html.dark .ad-card { background: var(--paper-2); }
@media (min-width: 640px) { .ad-card { padding: 1.5rem; } }

.ad-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ad-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.ad-title { font-size: 1.35rem; font-weight: 600; line-height: 1.15; margin-top: .25rem; color: var(--ink); }
.ad-pulse { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--px-good, #15803d); }
.ad-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit;
  animation: ad-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ad-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

/* Feed stats */
.ad-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin-bottom: 1rem;
}
.ad-stats > div { padding: .65rem .8rem; min-width: 0; }
.ad-stats > div + div { border-left: 1px solid var(--rule); }
[dir="rtl"] .ad-stats > div + div { border-left: 0; border-right: 1px solid var(--rule); }
.ad-stats dt { font-size: 11px; color: var(--ink-soft); }
.ad-stats dd { font-size: 1.05rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
/* A third of a phone is too narrow for the last bid's date and time ("12:51 AM"
   keeps a no-break space before AM), so it takes its own row there. */
@media (max-width: 479.98px) {
  .ad-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-stats > div:nth-child(3),
  [dir="rtl"] .ad-stats > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-right: 0; border-top: 1px solid var(--rule); }
}

.ad-note, .ad-small { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.ad-note { margin-bottom: .75rem; }
.ad-small { margin-top: .4rem; }

/* Feed rows */
.ad-list { display: flex; flex-direction: column; gap: .35rem; }
.ad-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .7rem;
  padding: .55rem .65rem; border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}
.ad-row-you { background: color-mix(in srgb, var(--theme-500, #6366f1) 10%, transparent); }
.ad-row-new { animation: ad-in .6s ease-out; }
@keyframes ad-in { from { transform: translateY(-6px); background: color-mix(in srgb, var(--px-good, #15803d) 22%, transparent); } }
.ad-avatar {
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--paper);
  background: var(--theme-600, var(--ink));
}
.ad-who { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; min-width: 0; }
.ad-name { font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ad-tag {
  font-size: 10.5px; font-weight: 700; padding: .1rem .45rem; border-radius: 999px;
  border: 1px solid var(--rule); color: var(--ink-soft);
}
.ad-tag-lead { border-color: transparent; background: var(--px-good, #15803d); color: var(--px-good-ink, #fff); }
.ad-amt { font-size: 14px; font-weight: 700; color: var(--ink); }
.ad-ago { font-size: 12px; color: var(--ink-soft); min-width: 3.2rem; text-align: right; }
[dir="rtl"] .ad-ago { text-align: left; }
.ad-empty { font-size: 14px; color: var(--ink-soft); text-align: center; padding: 1.5rem .5rem; }
.ad-empty[hidden] { display: none; }

/* Price story */
.ad-path { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.ad-path-end { display: flex; flex-direction: column; min-width: 0; }
.ad-path-now { flex: 1; }
.ad-path-line { color: var(--ink-soft); flex: none; }
.ad-path-line svg { width: 22px; height: 22px; }
.ad-k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.ad-v { font-size: 1.15rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.ad-path-now .ad-v { font-size: 1.6rem; line-height: 1.15; }
/* "Now" sits on the highlighted face, where the muted ink falls short at 11px. */
.ad-path-now .ad-k { color: var(--ink-2); }
.ad-move { align-self: flex-start; margin-top: .2rem; font-size: 12px; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; }
.ad-up { background: color-mix(in srgb, var(--px-good, #15803d) 14%, var(--paper)); color: color-mix(in srgb, var(--px-good, #15803d) 78%, var(--ink)); }
.ad-down { background: color-mix(in srgb, #0ea5e9 15%, transparent); color: #0369a1; }
html.dark .ad-down { color: #7dd3fc; }

.ad-reserve { margin-bottom: 1.1rem; }
.ad-reserve-row { display: flex; justify-content: space-between; gap: .75rem; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.ad-bar { display: block; height: 8px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.ad-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, var(--px-good, #15803d)); transition: width .4s ease; }
.ad-met { color: color-mix(in srgb, var(--px-good, #15803d) 78%, var(--ink)); }

.ad-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.ad-facts > div { border: 1px solid var(--rule); border-radius: 10px; padding: .55rem .7rem; min-width: 0; }
.ad-facts .ad-wide { grid-column: 1 / -1; }
.ad-facts dt { font-size: 11px; color: var(--ink-soft); }
.ad-facts dd { display: flex; align-items: center; gap: .3rem; font-size: 14px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.ad-coin { width: 16px; height: 16px; }

.ad-pos {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: 13.5px; font-weight: 600; line-height: 1.45;
  padding: .7rem .8rem; border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink);
}
.ad-pos-dot { flex: none; width: 9px; height: 9px; border-radius: 999px; margin-top: .35rem; background: var(--ink-soft); }
.ad-pos-lead { background: color-mix(in srgb, var(--px-good, #15803d) 12%, transparent); }
.ad-pos-lead .ad-pos-dot { background: var(--px-good, #15803d); }
.ad-pos-out { background: color-mix(in srgb, #dc2626 10%, transparent); }
.ad-pos-out .ad-pos-dot { background: #dc2626; }
.ad-pos-in .ad-pos-dot { background: var(--theme-500, #6366f1); }

@media (max-width: 420px) {
  .ad-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ad-ago { grid-column: 2 / -1; text-align: left; min-width: 0; margin-top: -.35rem; }
  [dir="rtl"] .ad-ago { text-align: right; }
}

/* Looping motion stops for visitors who ask for less of it. */
@media (prefers-reduced-motion: reduce) {
  .ad-pulse::after { animation: none; opacity: 0; }
}

/* /plugins/auction/assets/css/components/auction/bid-desk-fit.css */
/* The bid desk's price story on a narrow screen. Each theme keeps its own
   copy of bid-desk.css (which replaces the plugin's), and most stop an
   amount from breaking, so a long "Now" figure could push the page
   sideways. Here, loaded for every theme: the "Now" column never shrinks
   below its figure, and when it can't fit beside "Started at" it moves to
   the next line. */
.ad-path { flex-wrap: wrap; row-gap: .5rem; }
.ad-path-now { min-width: min-content; }

/* /plugins/auction/assets/css/components/auction/info-tabs.css */
/* Editorial underline tabs */
.ed-tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  flex-shrink: 0; white-space: nowrap;
  padding: 0.7rem 0.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft);
  background: transparent; border: none; cursor: pointer;
  transition: color 0.18s ease;
}
.ed-tab:hover { color: var(--ink); }
.ed-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease;
}
.ed-tab.ed-tab-active { color: var(--ink); }
.ed-tab.ed-tab-active::after { transform: scaleX(1); }
html.dark .ed-tab.ed-tab-active::after { background: var(--theme-500); }

/* Dossier hairline card */
.ed-fact {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1rem 1.15rem;
  transition: border-color 0.2s ease;
}
.ed-fact:hover { border-color: var(--ink-soft); }
/* Only the colour: themes that import this file band their fact cards with
   background images, which the shorthand would wipe after dark. */
html.dark .ed-fact { background-color: var(--paper-2); }

.ed-dossier-title {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
}

/* How-it-works chip row: scrolls horizontally instead of shrinking chips
   until their text wraps mid-word. */
.ed-howitworks-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; }
.ed-howitworks-chips > .ed-chip { flex: 0 0 auto; white-space: nowrap; }

/* Bid-history stat cards: keep all three (or four) the same size
   regardless of value length, so "Latest Bid" wrapping to 2 lines
   doesn't make that card look bigger/smaller than its siblings. */
.bid-stats-grid > .ed-fact { min-width: 0; min-height: 76px; display: flex; flex-direction: column; justify-content: center; }

/* /plugins/auction/assets/css/components/auction/info-tabs-scrollbar.css */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* /plugins/auction/assets/css/components/auction/info-tabs-status.css */
/* "Placed" status chip follows the ink palette */
.ed-status-placed { color: var(--ink-soft); border-color: var(--rule); }

/* /assets/css/components/item-report.css */
/* "Report copyright infringement" under the share row on a listing page.

   Quiet, but not hidden: it is not a call to action for the buyer, and it
   does have to be findable by a rights holder who is looking for it. */
.item-report-copyright {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--rule, #e5e0d8);
  font-size: 0.72rem;
  line-height: 1.5;
}

.item-report-copyright a {
  color: var(--ink-soft, #6b6560);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.item-report-copyright a:hover { color: var(--ink, #1b1b1b); }

