/* Auctions — index (.page-auctions) and lot page (.page-auction). Scoped, logical properties, both themes */
.page-auctions,.page-auction{
  --au-ok-bg:#E1EEE5;--au-ok:#2A6446;--au-warn-bg:#FBEFD6;--au-warn:#7A4E0C;--au-hot:#B3263F;--au-hot-bg:#F8E1E5;
  --au-glass:rgba(255,255,255,.07);--au-glass-b:rgba(230,200,134,.22);
}
[data-theme=dark] .page-auctions,[data-theme=dark] .page-auction{
  --au-ok-bg:#1E3326;--au-ok:#8FD3A8;--au-warn-bg:#3A2A10;--au-warn:#F0C27A;--au-hot:#F58B9C;--au-hot-bg:#3B1A22;
}
.page-auctions svg,.page-auction svg{flex:none}
.page-auctions .live-dot,.page-auction .live-dot{margin-inline-end:0}

/* ---------- head + counters ---------- */
.au-head-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px 40px}
.au-head-row>div:first-child{flex:1 1 380px;min-width:0}
.au-stats{display:flex;margin:0;padding:6px 4px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}
.au-stats>div{display:flex;flex-direction:column-reverse;align-items:center;padding:8px clamp(14px,2.4vw,26px);min-width:84px;text-align:center}
.au-stats>div+div{border-inline-start:1px solid var(--line)}
.au-stats dt{font-size:12.5px;color:var(--muted);line-height:1.3}
.au-stats dd{margin:0;font-family:var(--display);font-weight:700;font-size:clamp(28px,3.4vw,38px);line-height:1.1;color:var(--gold-d);font-variant-numeric:tabular-nums}
.lang-fa .au-stats dd,.lang-ar .au-stats dd{font-family:var(--font);font-weight:900;font-size:clamp(24px,3vw,32px)}
@media (max-width:560px){.au-stats{width:100%}.au-stats>div{flex:1;min-width:0;padding-inline:6px}}

/* ---------- spotlight ---------- */
.au-spot-wrap{padding-block:8px 36px}
.au-spot{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(22px,4vw,56px);align-items:center;padding:clamp(18px,3.4vw,44px);border-radius:26px;overflow:hidden;color:var(--cream);
  background:radial-gradient(90% 120% at 100% 0%,#4A1724 0%,transparent 60%),radial-gradient(70% 90% at 0% 100%,rgba(201,160,90,.16),transparent 60%),linear-gradient(160deg,#241A14,#16120E);
  border:1px solid rgba(201,160,90,.25);box-shadow:0 30px 70px -34px rgba(22,18,14,.7)}
.au-spot::before{content:"";position:absolute;inset:-40% -20% auto auto;width:70%;aspect-ratio:1;border-radius:50%;background:conic-gradient(from 0deg,rgba(230,200,134,.0),rgba(230,200,134,.14),rgba(230,200,134,0));animation:auSpin 40s linear infinite;pointer-events:none}
[dir=rtl] .au-spot::before{inset:-40% auto auto -20%}
@keyframes auSpin{to{transform:rotate(360deg)}}
.au-spot-media{position:relative;display:block;perspective:1000px;justify-self:center;width:min(100%,430px)}
.au-spot-media img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:12px;background:var(--ink-3);
  box-shadow:0 0 0 1px rgba(230,200,134,.5),0 0 0 8px rgba(22,18,14,.55),0 0 0 9px rgba(230,200,134,.35),0 34px 60px -24px rgba(0,0,0,.8);
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .6s var(--ease);transform-style:preserve-3d}
.au-spot-media.is-tilting img{transition:transform .08s linear}
.au-glare{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;background:radial-gradient(circle at var(--gx,50%) var(--gy,50%),rgba(255,240,205,.34),transparent 55%);mix-blend-mode:soft-light}
.is-tilting>.au-glare,.is-tilting .au-glare{opacity:1}
.au-spot-body{position:relative;min-width:0}
.au-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-l)}
.lang-fa .au-eyebrow,.lang-ar .au-eyebrow{letter-spacing:0;font-size:14px}
.au-spot h2{font-family:var(--display);font-size:clamp(34px,4.6vw,60px);line-height:1.02;margin:0 0 8px;color:var(--cream)}
.lang-fa .au-spot h2,.lang-ar .au-spot h2{font-family:var(--font);font-weight:900;font-size:clamp(28px,3.6vw,44px);line-height:1.3}
.au-spot h2 a{text-decoration:none}
.au-spot h2 a:hover{color:var(--gold-l)}
.au-spot-meta{margin:0 0 20px;color:#CDBFA8;font-size:14.5px}
.au-clock{display:flex;gap:clamp(6px,1.2vw,12px);margin-bottom:22px;direction:ltr}
.au-unit{flex:1 1 0;max-width:104px;min-width:0;padding:12px 4px 10px;border-radius:14px;text-align:center;background:var(--au-glass);border:1px solid var(--au-glass-b);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.au-unit b{display:block;font-family:var(--display);font-size:clamp(28px,5.6vw,50px);line-height:1;font-weight:700;color:var(--gold-l);font-variant-numeric:tabular-nums}
.lang-fa .au-unit b,.lang-ar .au-unit b{font-family:var(--font);font-weight:800}
.au-unit small{display:block;margin-top:6px;font-size:11.5px;color:#CDBFA8;letter-spacing:.06em;text-transform:uppercase}
.lang-fa .au-unit small,.lang-ar .au-unit small{letter-spacing:0;text-transform:none;font-size:12.5px}
.au-clock.is-urgent .au-unit b{color:#FF9DAB}
.au-clock.is-urgent [data-u=s]{animation:auBeat 1s ease-in-out infinite}
@keyframes auBeat{50%{transform:scale(1.08)}}
.au-clock.is-done{opacity:.8}
.au-clock.is-done::after{content:attr(data-done);align-self:center;font-weight:800;color:var(--gold-l);padding-inline:6px}
.au-spot-facts{display:flex;flex-wrap:wrap;gap:12px 32px;margin-bottom:24px}
.au-spot-facts small{display:block;font-size:12.5px;color:#CDBFA8}
.au-spot-facts b{font-size:18px;font-weight:800;color:var(--cream)}
.au-spot-facts .au-big{font-family:var(--display);font-size:clamp(30px,3.6vw,44px);line-height:1.1;color:var(--gold-l)}
.lang-fa .au-spot-facts .au-big,.lang-ar .au-spot-facts .au-big{font-family:var(--font);font-weight:900;font-size:clamp(24px,3vw,34px)}
.au-spot-facts .is-ok{color:#8FD3A8}.au-spot-facts .is-warn{color:#F0C27A}
.au-spot .btn-row .btn{min-height:50px;padding-inline:30px}
@media (max-width:820px){
  .au-spot{grid-template-columns:minmax(0,1fr);border-radius:22px}
  .au-spot-media{width:min(70%,320px)}
  .au-spot::before{display:none}
}

/* ---------- list sections ---------- */
.au-main{padding-bottom:clamp(40px,6vw,80px)}
.au-sec{margin-bottom:clamp(30px,5vw,56px)}
.au-h{display:flex;align-items:center;gap:10px;font-size:clamp(22px,2.6vw,30px);margin:6px 0 18px}
.au-n{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 9px;border-radius:999px;background:var(--tint);color:var(--text);font-size:13px;font-weight:800;line-height:1}
.au-quiet{display:flex;align-items:center;gap:16px;padding:18px 20px;margin-bottom:28px;border-radius:var(--radius);border:1px dashed var(--line);background:var(--paper)}
.au-quiet svg{width:34px;height:34px;color:var(--gold-d)}
.au-quiet strong{display:block}
.au-quiet p{margin:2px 0 0;color:var(--muted);font-size:14.5px}
.page-auctions .lot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,28px)}
.page-auctions .lot-grid-sm{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.8vw,22px)}
@media (max-width:1000px){.page-auctions .lot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-auctions .lot-grid-sm{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){.page-auctions .lot-grid-sm{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.page-auctions .lot-grid:not(.lot-grid-sm){grid-template-columns:minmax(0,1fr)}}

/* ---------- lot card ---------- */
.lot-cell{perspective:1000px;min-width:0;height:100%;transition-delay:calc(var(--i,0) * 55ms)}
.au-lot{position:relative;height:100%;border-radius:18px;background:var(--paper);border:1px solid var(--line);color:var(--text);
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .6s var(--ease),box-shadow .35s,border-color .25s;transform-style:preserve-3d}
.au-lot:hover,.au-lot:focus-visible{border-color:var(--gold);box-shadow:var(--shadow)}
.au-lot.is-tilting{transition:transform .08s linear,box-shadow .35s,border-color .25s;box-shadow:0 30px 60px -28px rgba(22,18,14,.55)}
.au-lot .lot-media{overflow:hidden;border-radius:17px 17px 0 0;background:var(--tint)}
.au-lot .lot-media img{transition:transform .9s var(--ease)}
.au-lot:hover .lot-media img{transform:scale(1.05)}
.au-lot .lot-badge{z-index:2}
.au-lot .lot-badge .live-dot{width:8px;height:8px}
.au-lot.is-past{opacity:1}
.au-lot.is-past .lot-media img{filter:saturate(.75)}
.au-urgent{position:absolute;inset-inline:12px;bottom:12px;z-index:2;display:none;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border-radius:999px;background:#B3263F;color:#fff;font-size:12px;font-weight:800;box-shadow:0 8px 20px -8px rgba(179,38,63,.8)}
.au-lot.is-urgent .au-urgent{display:flex}
.au-lot.is-urgent{border-color:var(--au-hot);animation:auHot 2.2s ease-in-out infinite}
@keyframes auHot{50%{box-shadow:0 0 0 4px rgba(179,38,63,.14),0 18px 40px -22px rgba(179,38,63,.55)}}
.au-lot.is-urgent .au-when{color:var(--au-hot)}
.au-lot .lot-body{gap:6px;padding:16px 16px 16px;align-content:start}
.au-title{display:block;font-size:18px;line-height:1.3;-webkit-line-clamp:2!important}
.au-meta{font-size:13px;color:var(--muted);line-height:1.4}
.au-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}
.au-cell{display:grid;gap:2px;min-width:0}
.au-cell-end{text-align:end}
.au-cell small{font-size:12px;color:var(--muted)}
.au-amt{font-size:20px;font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.au-amt.is-none{color:var(--muted)}
.au-when{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.au-foot{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.au-chip{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;border-radius:999px;background:var(--tint);color:var(--muted);font-size:12px;font-weight:700;line-height:1.3}
.au-chip.is-ok{background:var(--au-ok-bg);color:var(--au-ok)}
.au-chip.is-warn{background:var(--au-warn-bg);color:var(--au-warn)}
.au-chip.is-plain{background:transparent;border:1px solid var(--line)}
.lot-grid-sm .au-title{font-size:16px}
.lot-grid-sm .au-amt{font-size:17px}
.lot-grid-sm .lot-body{padding:12px}
@media (max-width:560px){.lot-grid-sm .au-row{grid-template-columns:minmax(0,1fr)}.lot-grid-sm .au-cell-end{text-align:start}}

/* list view (rows) */
.page-auctions [data-view=list] .lot-grid,.page-auctions [data-view=list] .lot-grid-sm{grid-template-columns:minmax(0,1fr);gap:12px}
.page-auctions [data-view=list] .au-lot{display:grid;grid-template-columns:clamp(104px,20vw,200px) minmax(0,1fr);grid-template-rows:none;align-items:stretch}
.page-auctions [data-view=list] .lot-media{aspect-ratio:auto;height:100%;min-height:140px;border-radius:17px 0 0 17px}
[dir=rtl] .page-auctions [data-view=list] .lot-media{border-radius:0 17px 17px 0}
.page-auctions [data-view=list] .lot-body{align-content:center;padding:14px clamp(12px,2.4vw,24px)}
.page-auctions [data-view=list] .au-urgent{inset-inline:6px;bottom:6px;min-height:24px;font-size:11px}
.page-auctions [data-view=list] .au-chip.is-plain{display:none}
@media (max-width:560px){.page-auctions [data-view=list] .au-row{grid-template-columns:minmax(0,1fr)}.page-auctions [data-view=list] .au-cell-end{text-align:start}}

/* skeleton while the list engine loads */
.au-skel{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,28px);animation:auIn .3s .15s both}
.au-skel span{display:block;aspect-ratio:4/6;border-radius:18px;border:1px solid var(--line);background:linear-gradient(100deg,var(--tint) 30%,var(--paper) 50%,var(--tint) 70%) 0 0/250% 100%;animation:auShim 1.3s linear infinite}
@keyframes auShim{to{background-position:-150% 0}}
@keyframes auIn{from{opacity:0}to{opacity:1}}
.au-region[aria-busy=true]{opacity:1}
.au-region[aria-busy=true]>:not(.au-skel){display:none}
.au-region[aria-busy=true] .au-skel{display:grid}
@media (max-width:1000px){.au-skel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.au-skel{grid-template-columns:minmax(0,1fr)}.au-skel span:nth-child(n+2){display:none}}

/* ---------- how it works ---------- */
.au-how{margin-top:clamp(20px,4vw,48px);padding:clamp(22px,4vw,48px);border-radius:24px;background:var(--paper);border:1px solid var(--line)}
.au-how-head{max-width:620px;margin-bottom:26px}
.au-how-head h2{margin-bottom:6px}
.au-how-head p{margin:0;color:var(--muted)}
.au-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;counter-reset:none}
.au-steps li{position:relative;display:flex;flex-direction:column;gap:8px;padding:18px 16px 20px;border-radius:var(--radius);background:var(--tint);border:1px solid transparent;transition:border-color .25s,transform .35s var(--ease)}
.au-steps li:hover{border-color:var(--gold);transform:translateY(-3px)}
.au-step-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--ink);color:var(--gold-l)}
.au-step-ic svg{display:block;width:24px;height:24px}
.au-step-n{position:absolute;inset-block-start:10px;inset-inline-end:14px;font-family:var(--display);font-size:40px;line-height:1;font-weight:700;color:var(--gold-d);opacity:.28}
.lang-fa .au-step-n,.lang-ar .au-step-n{font-family:var(--font);font-weight:900;font-size:32px}
.au-steps h3{margin:6px 0 0;font-size:17px}
.au-steps p{margin:0;font-size:14px;line-height:1.65;color:var(--muted)}
.au-binding{display:flex;align-items:center;gap:10px;margin:22px 0 0;font-weight:700;font-size:14.5px}
.au-binding svg{width:22px;height:22px;color:var(--gold-d)}
@media (max-width:1100px){.au-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){.au-steps{grid-template-columns:minmax(0,1fr)}.au-steps li{display:grid;grid-template-columns:46px 1fr;column-gap:14px;row-gap:2px}.au-step-ic{grid-row:1/3}.au-steps h3{margin:0}}

/* ---------- lot page ---------- */
.page-auction .artwork{align-items:start}
.page-auction .au-figure{position:relative;perspective:1000px;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .6s var(--ease)}
.page-auction .au-figure.is-tilting{transition:transform .08s linear}
.au-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.au-tools .btn{min-height:44px}
.au-cal{position:relative}
.au-cal summary{list-style:none;cursor:pointer}
.au-cal summary::-webkit-details-marker{display:none}
.au-cal[open]{flex:1 1 100%}
.au-cal-menu{display:grid;gap:12px;margin-top:10px;padding:14px;border-radius:var(--radius);background:var(--paper);border:1px solid var(--line)}
.au-cal-item{display:grid;gap:3px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.au-cal-item span{font-size:13px;color:var(--muted)}
.au-cal-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:4px}
.au-cal-links a{font-weight:700;font-size:14px;color:var(--gold-d);min-height:28px;display:inline-flex;align-items:center}
.au-cal-menu small{color:var(--muted);font-size:12.5px}

.au-result{display:grid;gap:2px;padding:14px 18px;margin-bottom:16px;border-radius:var(--radius);background:var(--wine);color:#fff}
.au-result.is-sold{background:var(--ink);color:var(--cream)}
.au-result small{font-size:12.5px;opacity:.85}
.au-result strong{font-family:var(--display);font-size:28px;line-height:1.15;color:var(--gold-l)}
.lang-fa .au-result strong,.lang-ar .au-result strong{font-family:var(--font);font-size:22px}
.au-result:not(.is-sold) strong{color:#fff}
.au-result span{font-size:13px;opacity:.85}

.au-panel{position:relative;overflow:hidden}
.au-panel .bid-clock{align-items:center}
.au-panel .clock{font-size:clamp(30px,5vw,40px);direction:ltr}
.au-closes{margin:-6px 0 0;font-size:13px;color:var(--muted)}
.au-extended{margin:0;padding:8px 14px;border-radius:10px;background:var(--au-warn-bg);color:var(--au-warn);font-weight:800;font-size:14px;animation:auIn .4s both}
.au-panel .bid-stats{grid-template-columns:1.25fr .8fr 1.2fr}
.au-panel .bid-stats dd{font-size:16px}
.au-panel .bid-stats div:first-child dd{font-family:var(--display);font-size:26px;line-height:1.15;color:var(--gold-d);overflow-wrap:anywhere}
.lang-fa .au-panel .bid-stats div:first-child dd,.lang-ar .au-panel .bid-stats div:first-child dd{font-family:var(--font);font-weight:900;font-size:21px}
.au-panel .bid-stats .is-ok{color:var(--au-ok)}.au-panel .bid-stats .is-warn{color:var(--au-warn)}
.au-panel .bid-stats dd[data-a-reserve]{font-size:14px;line-height:1.35}
.au-panel.is-urgent{box-shadow:0 0 0 2px var(--au-hot) inset}
.au-panel.is-urgent .clock{color:var(--au-hot);animation:auBeat 1s ease-in-out infinite}
.au-panel.is-urgent::before{content:"";position:absolute;inset-inline:0;top:0;height:3px;background:linear-gradient(90deg,transparent,var(--au-hot),transparent)}
.au-next{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:12px;background:var(--tint)}
.au-next span{font-weight:700;font-size:14px}
.au-next b{font-family:var(--display);font-size:24px;line-height:1.1;color:var(--gold-d)}
.lang-fa .au-next b,.lang-ar .au-next b{font-family:var(--font);font-weight:900;font-size:19px}
.au-quick{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.au-quick:empty{display:none}
.au-quick button{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--text);font-weight:800;font-size:14px;cursor:pointer;font-variant-numeric:tabular-nums;transition:border-color .2s,background .2s,transform .2s var(--ease)}
.au-quick button:hover{border-color:var(--gold);transform:translateY(-1px)}
.au-quick button[aria-pressed=true]{background:var(--ink);color:var(--gold-l);border-color:var(--ink)}
[data-theme=dark] .au-quick button[aria-pressed=true]{background:var(--gold);color:#16120E;border-color:var(--gold)}
.au-panel .input-group{display:flex}
.au-panel .input-group input{min-height:52px;font-size:19px;font-weight:800;min-width:0}
.au-panel .input-group .btn{min-height:52px;padding-inline:22px}
.au-panel .input-group .addon{min-width:54px}
.au-kbd{display:none}
@media (hover:hover) and (pointer:fine){.au-kbd{display:block}}
@media (max-width:420px){.au-panel .input-group{flex-wrap:wrap}.au-panel .input-group .addon{display:none}.au-panel .input-group input{flex:1 1 100%}.au-panel .input-group .btn{flex:1 1 100%}}
.au-mini{display:flex;gap:10px 24px;flex-wrap:wrap;margin:0;font-size:13px;color:var(--muted)}
.au-mini div{display:flex;gap:6px}
.au-mini dt{font-weight:600}.au-mini dd{margin:0;font-weight:800;color:var(--text)}

.au-chart,.page-auction .artwork-info>.card{margin-bottom:18px}
.au-chart h2,.au-own h2{font-size:20px}
.au-chart-box{position:relative;height:130px;direction:ltr}
.au-chart-box svg{width:100%;height:130px;overflow:visible}
.au-chart svg{stroke-width:1}
.au-chart .ln{fill:none;stroke:var(--gold-d);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.au-chart .ar{stroke:none}
.au-chart .grid{stroke:var(--line);stroke-width:1;stroke-dasharray:3 5}
.au-chart .dot{fill:var(--paper);stroke:var(--gold-d);stroke-width:2}
.au-chart .dot.last{fill:var(--gold-d);stroke:var(--paper);stroke-width:2}
.au-chart .halo{fill:var(--gold-d);opacity:.22;stroke:none;transform-box:fill-box;transform-origin:center;animation:auHalo 2s ease-out infinite}
@keyframes auHalo{from{transform:scale(.6);opacity:.4}to{transform:scale(2.2);opacity:0}}
.au-chart text{fill:var(--muted);stroke:none;font-size:11px;font-family:var(--font);font-weight:600}
.au-chart-empty{margin:0;color:var(--muted);font-size:14px;padding-block:20px;text-align:center}

.page-auction .bid-history li:first-child b{color:var(--gold-d)}
.page-auction .bid-history li:first-child{border-inline-start:3px solid var(--gold);padding-inline-start:10px}
.page-auction .bid-history .muted{display:block;border:0;color:var(--muted)}

.au-checks{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:10px}
.au-checks li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.55}
.au-checks svg{display:block;width:22px;height:22px;margin-top:1px;color:var(--gold-d)}
.au-own h3{font-size:16px;margin:18px 0 10px}
.au-own .provenance{margin:0 0 12px}
.au-own .provenance summary{cursor:pointer;font-weight:700;min-height:32px;display:flex;align-items:center}
.au-own .provenance p{margin:6px 0 0;color:var(--muted);font-size:14px}
.au-own .link-arrow{min-height:36px}

.au-related{padding-block:clamp(24px,4vw,48px) clamp(48px,7vw,96px)}
.page-auction .lot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,28px)}
@media (max-width:900px){.page-auction .lot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.page-auction .lot-grid{grid-template-columns:minmax(0,1fr)}}
.page-auction .specs div{grid-template-columns:minmax(96px,130px) 1fr}

/* ---------- motion preferences ---------- */
html.lite .au-spot::before,html.lite .au-lot.is-urgent,html.lite .au-chart .halo{animation:none}
html.lite .au-spot-media img,html.lite .au-lot,html.lite .au-figure{transform:none!important}
@media (prefers-reduced-motion:reduce){
  .au-spot::before,.au-lot.is-urgent,.au-chart .halo,.au-clock.is-urgent [data-u=s],.au-panel.is-urgent .clock,.au-skel span{animation:none!important}
  .au-spot-media img,.au-lot,.au-figure{transform:none!important}
}

/* outcome of a closed lot */
.au-result-note{display:block;margin-top:4px;font-size:13px;line-height:1.5;opacity:.9}
.au-lot.is-past .au-cell small{font-weight:700}
.au-lot.is-past .au-amt.is-none{font-size:16px}

/* ---------- before you bid: approval, deposit and limit steps (App\Support\AuctionRules) ---------- */
.au-ready{scroll-margin-top:96px;border-color:color-mix(in srgb,var(--gold) 45%,var(--line));outline:none}
.au-ready:focus-visible{box-shadow:0 0 0 3px rgba(201,160,90,.35)}
.au-ready.is-ready{border-color:var(--line)}
.au-ready-h{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.au-ready-h h2{margin:0;font-size:19px}
.au-ready-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#F1D48C,#C9A05A);color:#2a1a0e}
.au-ready.is-ready .au-ready-ic{background:var(--au-ok-bg);color:var(--au-ok)}
.au-ready-ic svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.au-ready-alert{margin:0;padding:12px 14px;border-radius:12px;background:var(--au-hot-bg);color:var(--au-hot);font-weight:700;line-height:1.6}
.au-ready-alert a{color:inherit}
.bp-steps{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.bp-step{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:10px 0}
.bp-step+.bp-step{border-top:1px solid var(--line)}
.bp-step-n{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1.5px solid color-mix(in srgb,var(--gold) 60%,transparent);font-weight:800;font-size:14px;color:var(--gold-d);font-variant-numeric:tabular-nums lining-nums}
.bp-step-n svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.bp-step.is-ok .bp-step-n,.bp-step.is-held .bp-step-n{border-color:transparent;background:var(--au-ok-bg);color:var(--au-ok)}
.bp-step.is-limit .bp-step-n{border-style:dashed}
.bp-step-b{min-width:0}
.bp-step-b h3{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:5px 0 4px;font-size:15.5px}
.bp-step-b p{margin:0 0 8px;font-size:14px;line-height:1.65;color:var(--muted)}
.bp-step-b .hint{font-size:12.5px}
.au-tag{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:99px;background:var(--au-warn-bg);color:var(--au-warn);font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums lining-nums}
.au-tag.is-ok{background:var(--au-ok-bg);color:var(--au-ok)}
.au-ref-sent{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px}
.au-ref-sent code{padding:2px 8px;border-radius:6px;background:var(--tint)}
.au-dep,.au-raise{margin-top:6px}
.au-dep summary,.au-raise summary{display:inline-flex;align-items:center;gap:8px;min-height:40px;cursor:pointer;font-weight:700;font-size:14px;color:var(--gold-d);list-style:none}
.au-dep summary::-webkit-details-marker,.au-raise summary::-webkit-details-marker{display:none}
.au-dep summary::after,.au-raise summary::after{content:"";width:8px;height:8px;border-inline-end:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s var(--ease)}
.au-dep[open] summary::after,.au-raise[open] summary::after{transform:rotate(225deg) translateY(-2px)}
.au-dep-form,.au-apply{display:grid;gap:12px;margin-top:10px;padding:14px;border-radius:14px;background:var(--tint)}
.au-dep-form .bank-details{margin:0}
.au-dep-form .bank-details div{grid-template-columns:minmax(110px,40%) minmax(0,1fr)}
.au-dep-form .bank-details dd{overflow-wrap:anywhere}
.au-dep-key{padding:10px 12px;border-radius:12px;border:1px dashed color-mix(in srgb,var(--gold) 60%,transparent);background:var(--paper)}
.au-dep-key code{font-weight:800;color:var(--gold-d)}
.au-methods{display:flex;flex-wrap:wrap;gap:8px}
.au-method{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border-radius:99px;border:1.5px solid var(--line);background:var(--paper);cursor:pointer;font-weight:700;font-size:14px}
.au-method:has(input:checked){border-color:var(--gold);background:color-mix(in srgb,var(--gold) 10%,var(--paper))}
.au-method input{margin:0;accent-color:var(--gold)}
.au-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.au-field{display:grid;gap:6px;margin:0;font-size:13px;font-weight:700;color:var(--text)}
.au-field.au-wide{grid-column:1/-1}
.au-field input,.au-field select,.au-field textarea{width:100%;min-height:44px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--paper);color:var(--text);font:inherit;font-weight:500;font-size:15px}
.au-field textarea{min-height:64px;resize:vertical}
.au-field input:focus,.au-field select:focus,.au-field textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,160,90,.2)}
.au-field .err,.au-apply>.err{color:var(--au-hot);font-size:12.5px;font-weight:700}
.au-check{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:13px;line-height:1.55;color:var(--muted);cursor:pointer}
.au-check input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--gold)}
.au-check a{color:var(--gold-d);font-weight:700}
.au-bid-terms{margin:4px 0 0}
.au-limit-note{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:2px 0 0;font-size:13px;color:var(--muted)}
.au-limit-note span{font-weight:700;color:var(--text);font-variant-numeric:tabular-nums lining-nums}
.au-limit-note a{color:var(--gold-d);font-weight:700}
.au-to-ready{margin-top:4px}
@media (max-width:560px){
  .au-grid{grid-template-columns:minmax(0,1fr)}
  .au-dep-form,.au-apply{padding:12px}
  .au-dep-form .bank-details div{grid-template-columns:minmax(0,1fr);gap:2px}
  .au-dep-form .btn,.au-apply .btn{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.au-dep summary::after,.au-raise summary::after{transition:none}}
