.auctions-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px 64px; }
.auctions-head h1 { font-size: 28px; font-weight: 800; color: #1F1A17; margin-bottom: 4px; }
.auctions-head p { color: #6B5E55; margin-bottom: 24px; }
.auction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.auction-tile { background: #fff; border: 1px solid #ECE3DA; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: box-shadow .15s ease, transform .15s ease; display: flex; flex-direction: column; }
.auction-tile:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.auction-tile a.tile-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.auction-tile .thumb { aspect-ratio: 1 / 1; background: #F4ECE2 center/cover no-repeat; background-image: var(--img, none); }
.auction-tile .body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.auction-tile .title { font-weight: 700; font-size: 15px; color: #1F1A17; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.auction-tile .price { font-size: 18px; font-weight: 800; color: #9A5309; }
.auction-tile .meta { font-size: 13px; color: #6B5E55; }
.auction-tile .seller { font-size: 12px; color: #8A7C72; }
.auction-countdown { font-size: 13px; font-weight: 700; color: #1B4F86; background: #EAF2FB; border-radius: 8px; padding: 4px 8px; display: inline-block; }
.auction-countdown.ending-soon { color: #B42318; background: #FEF3F2; }
.auction-countdown.ended { color: #6B5E55; background: #EDE7E3; }
.auctions-empty { text-align: center; padding: 64px 16px; color: #6B5E55; }
.auctions-pager { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }

/* Dark mode: route the hardcoded light palette through the dark-aware tokens.
   Light mode is untouched (this block only applies under data-theme="dark"). */
[data-theme="dark"] .auctions-head h1 { color: var(--ink-900); }
[data-theme="dark"] .auctions-head p { color: var(--ink-500); }
[data-theme="dark"] .auction-tile { background: var(--paper); border-color: var(--ink-200); }
[data-theme="dark"] .auction-tile .thumb { background-color: var(--ink-100); }
[data-theme="dark"] .auction-tile .title { color: var(--ink-900); }
[data-theme="dark"] .auction-tile .price { color: var(--brand-orange-700); }
[data-theme="dark"] .auction-tile .meta { color: var(--ink-500); }
[data-theme="dark"] .auction-tile .seller { color: var(--ink-500); }
[data-theme="dark"] .auction-countdown { color: var(--status-dispatched-fg); background: var(--info-100); }
[data-theme="dark"] .auction-countdown.ending-soon { color: var(--status-disputed-fg); background: var(--danger-100); }
[data-theme="dark"] .auction-countdown.ended { color: var(--ink-500); background: var(--ink-100); }
[data-theme="dark"] .auctions-empty { color: var(--ink-500); }
