/* Foroshga auctions — scoped design system (all classes prefixed .auc-) */
.auc {
    --auc-brand: #a62626;
    --auc-brand-600: #8c1f1f;
    --auc-brand-50: #fdf2f2;
    --auc-brand-100: #fbe3e3;
    --auc-live: #e41e3f;
    --auc-amber: #d97706;
    --auc-amber-50: #fffbeb;
    --auc-green: #059669;
    --auc-green-50: #ecfdf5;
    --auc-blue: #2563eb;
    --auc-blue-50: #eff6ff;
    --auc-ink: #17131a;
    --auc-text: #334155;
    --auc-muted: #64748b;
    --auc-line: #e7e3e0;
    --auc-surface: #ffffff;
    --auc-surface-2: #f6f3f1;
    --auc-shadow: 0 1px 2px rgba(23, 19, 26, .04), 0 8px 24px -12px rgba(23, 19, 26, .18);
    --auc-shadow-lg: 0 24px 48px -24px rgba(23, 19, 26, .35);
    --auc-radius: 18px;
    color: var(--auc-text);
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}
.dark .auc {
    --auc-brand-50: rgba(166, 38, 38, .14);
    --auc-brand-100: rgba(166, 38, 38, .24);
    --auc-amber-50: rgba(217, 119, 6, .14);
    --auc-green-50: rgba(5, 150, 105, .14);
    --auc-blue-50: rgba(37, 99, 235, .14);
    --auc-ink: #f8f5f7;
    --auc-text: #d6d0d6;
    --auc-muted: #9b929c;
    --auc-line: rgba(255, 255, 255, .09);
    --auc-surface: #1c1622;
    --auc-surface-2: #241d2b;
    --auc-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
}
.auc *, .auc *::before, .auc *::after { box-sizing: border-box; }
.auc a { color: inherit; text-decoration: none; }
.auc img { display: block; max-width: 100%; }
.auc h1, .auc h2, .auc h3, .auc h4 { color: var(--auc-ink); margin: 0; line-height: 1.25; }
.auc p { margin: 0; }
.auc-muted { color: var(--auc-muted); }
.auc-num { font-variant-numeric: tabular-nums; }
[dir="ltr"] .auc .fa-chevron-left, [dir="ltr"] .auc .fa-chevron-right { transform: scaleX(-1); }
[x-cloak] { display: none !important; }
.auc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.auc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
    font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
    font-family: inherit;
}
.auc-btn:active { transform: translateY(1px); }
.auc-btn:disabled, .auc-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.auc-btn:focus-visible { outline: 3px solid var(--auc-brand-100); outline-offset: 2px; }
.auc-btn--primary { background: var(--auc-brand); color: #fff !important; box-shadow: 0 8px 18px -10px rgba(166, 38, 38, .8); }
.auc-btn--primary:hover:not(:disabled) { background: var(--auc-brand-600); }
.auc-btn--live { background: var(--auc-live); color: #fff !important; }
.auc-btn--dark { background: var(--auc-ink); color: var(--auc-surface) !important; }
.auc-btn--ghost { background: var(--auc-surface); border-color: var(--auc-line); color: var(--auc-ink) !important; }
.auc-btn--ghost:hover:not(:disabled) { border-color: var(--auc-brand); color: var(--auc-brand) !important; }
.auc-btn--soft { background: var(--auc-brand-50); color: var(--auc-brand) !important; }
.auc-btn--soft:hover:not(:disabled) { background: var(--auc-brand-100); }
.auc-btn--block { width: 100%; }
.auc-btn--lg { min-height: 52px; font-size: 16px; border-radius: 14px; }
.auc-btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.auc-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 999px; border: 1px solid var(--auc-line); background: var(--auc-surface);
    color: var(--auc-ink); cursor: pointer; transition: all .15s;
}
.auc-icon-btn:hover { border-color: var(--auc-brand); color: var(--auc-brand); }
.auc-icon-btn.is-active { background: var(--auc-brand); border-color: var(--auc-brand); color: #fff; }

/* ---------- Badges & chips ---------- */
.auc-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1; white-space: nowrap;
}
.auc-badge--live { background: var(--auc-live); color: #fff; }
.auc-badge--upcoming { background: var(--auc-blue); color: #fff; }
.auc-badge--ended { background: #475569; color: #fff; }
.auc-badge--sold { background: var(--auc-green); color: #fff; }
.auc-badge--warn { background: var(--auc-amber); color: #fff; }
.auc-badge--demo { background: #fef3c7; color: #92400e; }
.auc-badge--soft { background: var(--auc-surface-2); color: var(--auc-ink); }
.auc-badge--glass { background: rgba(15, 12, 18, .62); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auc-dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; display: inline-block; }
.auc-badge--live .auc-dot { background: #fff; animation: auc-pulse 1.4s ease-in-out infinite; }
@keyframes auc-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* ---------- Alerts ---------- */
.auc-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; border: 1px solid transparent; }
.auc-alert--success { background: var(--auc-green-50); color: var(--auc-green); border-color: rgba(5, 150, 105, .25); }
.auc-alert--error { background: var(--auc-brand-50); color: var(--auc-brand); border-color: rgba(166, 38, 38, .25); }
.auc-alert--warn { background: var(--auc-amber-50); color: #92400e; border-color: rgba(217, 119, 6, .3); }
.dark .auc-alert--warn { color: #fbbf24; }
.auc-alert--info { background: var(--auc-blue-50); color: var(--auc-blue); border-color: rgba(37, 99, 235, .25); }
.auc-alert ul { margin: 4px 0 0; padding-inline-start: 18px; font-weight: 500; }

/* ---------- Hero ---------- */
.auc-hero {
    position: relative; overflow: hidden; border-radius: 24px; padding: 28px 24px;
    background: radial-gradient(1200px 400px at 100% -20%, rgba(255, 255, 255, .14), transparent 60%),
                linear-gradient(135deg, #7d1717 0%, #a62626 45%, #c2410c 100%);
    color: #fff; box-shadow: var(--auc-shadow-lg); margin-bottom: 20px;
}
.auc-hero h1 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; letter-spacing: -.01em; }
.auc-hero p { color: rgba(255, 255, 255, .85); margin-top: 8px; max-width: 560px; font-size: 15px; line-height: 1.6; }
.auc-hero__row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.auc-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.auc-hero .auc-btn--ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff !important; }
.auc-hero .auc-btn--ghost:hover { background: rgba(255, 255, 255, .24); }
.auc-hero .auc-btn--white { background: #fff; color: var(--auc-brand) !important; }
.auc-hero__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.auc-hero__stat { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 10px 14px; min-width: 110px; }
.auc-hero__stat strong { display: block; font-size: 22px; font-weight: 900; }
.auc-hero__stat span { font-size: 12px; color: rgba(255, 255, 255, .8); font-weight: 600; }

/* ---------- Steps strip ---------- */
.auc-steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 20px; }
.auc-step { display: flex; gap: 12px; align-items: flex-start; background: var(--auc-surface); border: 1px solid var(--auc-line); border-radius: 16px; padding: 14px; }
.auc-step__n { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--auc-brand-50); color: var(--auc-brand); display: grid; place-items: center; font-weight: 900; }
.auc-step strong { display: block; color: var(--auc-ink); font-size: 14px; }
.auc-step span { font-size: 13px; color: var(--auc-muted); }

/* ---------- Toolbar / tabs ---------- */
.auc-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.auc-search { position: relative; flex: 1 1 260px; }
.auc-search i { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--auc-muted); }
.auc-input, .auc-select, .auc-textarea {
    width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--auc-line);
    background: var(--auc-surface); color: var(--auc-ink); padding: 10px 14px; font-size: 14px;
    font-family: inherit; transition: border-color .15s, box-shadow .15s; outline: none;
}
.auc-search .auc-input { padding-inline-start: 40px; }
.auc-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.auc-input:focus, .auc-select:focus, .auc-textarea:focus { border-color: var(--auc-brand); box-shadow: 0 0 0 4px var(--auc-brand-50); }
.auc-input.is-invalid, .auc-select.is-invalid, .auc-textarea.is-invalid { border-color: var(--auc-live); }
.auc-select { appearance: auto; }
.auc-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.auc-tabs::-webkit-scrollbar { display: none; }
.auc-tab {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
    background: var(--auc-surface); border: 1px solid var(--auc-line); color: var(--auc-ink);
    font-weight: 700; font-size: 13px; white-space: nowrap; transition: all .15s;
}
.auc-tab:hover { border-color: var(--auc-brand); }
.auc-tab.is-active { background: var(--auc-ink); border-color: var(--auc-ink); color: var(--auc-surface); }
.auc-tab__count { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--auc-surface-2); color: var(--auc-muted); font-size: 11px; text-align: center; }
.auc-tab.is-active .auc-tab__count { background: rgba(255, 255, 255, .18); color: inherit; }

/* ---------- Grid & cards ---------- */
.auc-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.auc-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--auc-radius);
    background: var(--auc-surface); border: 1px solid var(--auc-line); box-shadow: var(--auc-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.auc-card:hover { transform: translateY(-3px); box-shadow: var(--auc-shadow-lg); }
.auc-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--auc-surface-2); overflow: hidden; }
.auc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.auc-card:hover .auc-card__media img { transform: scale(1.04); }
.auc-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(10, 8, 12, .7), transparent); pointer-events: none; }
.auc-card__top { position: absolute; inset: 12px 12px auto 12px; padding-inline-end: 48px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; z-index: 2; }
.auc-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.auc-card__bottom { position: absolute; inset: auto 12px 12px 12px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #fff; font-size: 12px; font-weight: 700; }
.auc-card__watch {
    width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center;
    background: rgba(255, 255, 255, .92); color: #1c1e21; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); transition: transform .15s;
}
.auc-card__watch:hover { transform: scale(1.08); }
.auc-card__watch.is-active { background: var(--auc-brand); color: #fff; }
.auc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; flex: 1; }
.auc-card__title { font-size: 16px; font-weight: 800; color: var(--auc-ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.auc-card__price-label { font-size: 12px; font-weight: 700; color: var(--auc-muted); }
.auc-card__price { font-size: 22px; font-weight: 900; color: var(--auc-ink); letter-spacing: -.01em; }
.auc-card__price small { font-size: 13px; font-weight: 700; color: var(--auc-muted); margin-inline-start: 4px; }
.auc-card__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--auc-muted); font-weight: 600; }
.auc-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.auc-card__foot { margin-top: auto; display: flex; gap: 8px; }
.auc-card__foot .auc-btn { flex: 1; }
.auc-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--auc-muted); font-size: 34px; }

.auc-countdown {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px;
    background: rgba(15, 12, 18, .66); color: #fff; font-weight: 800; font-size: 12px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-variant-numeric: tabular-nums;
}
.auc-countdown.is-urgent { background: var(--auc-live); }

/* ---------- Empty ---------- */
.auc-empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--auc-line); border-radius: 22px; background: var(--auc-surface); }
.auc-empty__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; background: var(--auc-brand-50); color: var(--auc-brand); font-size: 26px; }
.auc-empty h3 { font-size: 18px; margin-bottom: 6px; }
.auc-empty p { color: var(--auc-muted); margin-bottom: 16px; }

/* ---------- Panels / layout ---------- */
.auc-panel { background: var(--auc-surface); border: 1px solid var(--auc-line); border-radius: 20px; box-shadow: var(--auc-shadow); }
.auc-panel__pad { padding: 20px; }
.auc-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--auc-line); }
.auc-panel__head h2, .auc-panel__head h3 { font-size: 16px; font-weight: 800; }
.auc-split { display: grid; gap: 20px; }
@media (min-width: 1024px) {
    .auc-split { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
    .auc-sticky { position: sticky; top: 88px; }
}
.auc-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--auc-muted); margin-bottom: 14px; font-weight: 600; }
.auc-breadcrumb a:hover { color: var(--auc-brand); }

/* ---------- Gallery ---------- */
.auc-gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--auc-surface-2); }
.auc-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.auc-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: #111; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.auc-gallery__nav--prev { inset-inline-start: 12px; }
.auc-gallery__nav--next { inset-inline-end: 12px; }
.auc-gallery__count { position: absolute; inset-inline-end: 12px; bottom: 12px; }
.auc-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; }
.auc-gallery__thumb { flex: none; width: 76px; height: 60px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--auc-surface-2); opacity: .7; transition: all .15s; }
.auc-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.auc-gallery__thumb.is-active { border-color: var(--auc-brand); opacity: 1; }

/* ---------- Price box ---------- */
.auc-pricebox { border-radius: 18px; padding: 18px; background: linear-gradient(160deg, #1b1520, #2a1d27); color: #fff; }
.auc-pricebox__label { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .06em; }
.auc-pricebox__value { font-size: clamp(28px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; transition: color .3s; }
.auc-pricebox__value small { font-size: 15px; color: rgba(255, 255, 255, .7); font-weight: 700; margin-inline-start: 6px; }
.auc-pricebox__value.is-flash { color: #4ade80; }
.auc-pricebox__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.auc-pricebox__cell { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px 12px; }
.auc-pricebox__cell span { display: block; font-size: 11px; color: rgba(255, 255, 255, .65); font-weight: 700; }
.auc-pricebox__cell strong { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.auc-timer { display: flex; gap: 8px; margin-top: 14px; }
.auc-timer__unit { flex: 1; text-align: center; background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 8px 4px; }
.auc-timer__unit strong { display: block; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; color: #fbbf24; }
.auc-timer__unit span { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .06em; }
.auc-timer.is-urgent .auc-timer__unit strong { color: #f87171; }

/* ---------- Key/value list ---------- */
.auc-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.auc-kv__item { background: var(--auc-surface-2); border-radius: 14px; padding: 12px 14px; }
.auc-kv__item span { display: block; font-size: 12px; color: var(--auc-muted); font-weight: 700; margin-bottom: 4px; }
.auc-kv__item strong { color: var(--auc-ink); font-size: 14px; font-weight: 800; }
.auc-prose { font-size: 15px; line-height: 1.85; white-space: pre-line; color: var(--auc-text); }

/* ---------- Seller card ---------- */
.auc-seller { display: flex; align-items: center; gap: 12px; }
.auc-avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; background: var(--auc-brand-50); color: var(--auc-brand); display: grid; place-items: center; font-weight: 900; font-size: 18px; flex: none; overflow: hidden; }
.auc-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bid list ---------- */
.auc-bids { list-style: none; margin: 0; padding: 0; }
.auc-bid { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--auc-line); font-size: 14px; }
.auc-bid:last-child { border-bottom: 0; }
.auc-bid__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.auc-bid__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--auc-surface-2); color: var(--auc-muted); font-size: 13px; flex: none; }
.auc-bid.is-top .auc-bid__icon { background: var(--auc-brand); color: #fff; }
.auc-bid__amount { font-weight: 900; color: var(--auc-ink); font-variant-numeric: tabular-nums; }
.auc-bid--enter { animation: auc-enter .5s ease; }
@keyframes auc-enter { from { background: var(--auc-green-50); transform: translateY(-4px); opacity: .3; } to { background: transparent; transform: none; opacity: 1; } }

/* ---------- Room ---------- */
.auc-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0b0910; }
.auc-stage img.auc-stage__cover { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: blur(1px); }
.auc-stage__video { position: absolute; inset: 0; }
.auc-stage__video video { object-fit: cover !important; }
.auc-stage__overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: rgba(255, 255, 255, .85); font-weight: 700; z-index: 3; pointer-events: none; }
.auc-stage__top { position: absolute; inset: 14px 14px auto 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 4; }
.auc-stage__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--auc-ink); color: var(--auc-surface); border-radius: 0 0 20px 20px; margin-top: -20px; padding-top: 30px; }
.dark .auc-stage__bar { background: #0b0910; color: #fff; }
.auc-statstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .auc-statstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auc-stat { background: var(--auc-surface); border: 1px solid var(--auc-line); border-radius: 16px; padding: 12px 14px; }
.auc-stat span { display: block; font-size: 12px; color: var(--auc-muted); font-weight: 700; }
.auc-stat strong { font-size: 18px; color: var(--auc-ink); font-weight: 900; font-variant-numeric: tabular-nums; }
.auc-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.auc-chip { min-height: 44px; border-radius: 12px; border: 1px solid var(--auc-line); background: var(--auc-surface-2); color: var(--auc-ink); font-weight: 800; font-size: 13px; cursor: pointer; transition: all .15s; font-family: inherit; }
.auc-chip:hover:not(:disabled) { border-color: var(--auc-brand); color: var(--auc-brand); }
.auc-chip:disabled { opacity: .45; cursor: not-allowed; }
.auc-inline { display: flex; gap: 8px; }
.auc-inline .auc-input { flex: 1; }
.auc-divider { display: flex; align-items: center; gap: 10px; color: var(--auc-muted); font-size: 12px; font-weight: 700; margin: 16px 0 12px; }
.auc-divider::before, .auc-divider::after { content: ""; flex: 1; height: 1px; background: var(--auc-line); }
.auc-leading { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--auc-green-50); color: var(--auc-green); font-weight: 800; font-size: 13px; }
.auc-leading.is-outbid { background: var(--auc-brand-50); color: var(--auc-brand); }

/* ---------- Toast ---------- */
.auc-toasts { position: fixed; z-index: 90; inset-inline: 0; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
@media (min-width: 1024px) { .auc-toasts { bottom: 28px; } }
.auc-toast { pointer-events: auto; max-width: 440px; width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #17131a; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); animation: auc-toast-in .25s ease; }
.auc-toast--success i { color: #4ade80; }
.auc-toast--error i { color: #f87171; }
@keyframes auc-toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Forms / wizard ---------- */
.auc-field { display: flex; flex-direction: column; gap: 6px; }
.auc-label { font-size: 13px; font-weight: 800; color: var(--auc-ink); }
.auc-label .req { color: var(--auc-live); margin-inline-start: 2px; }
.auc-hint { font-size: 12px; color: var(--auc-muted); }
.auc-error { font-size: 12px; color: var(--auc-live); font-weight: 700; }
.auc-form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .auc-form-grid--2 { grid-template-columns: 1fr 1fr; } .auc-span-2 { grid-column: span 2; } }
.auc-input-group { position: relative; }
.auc-input-group .auc-input { padding-inline-end: 56px; }
.auc-input-group__suffix { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 800; color: var(--auc-muted); }
.auc-wizard { display: flex; gap: 6px; margin-bottom: 18px; }
.auc-wizard__step { flex: 1; display: flex; flex-direction: column; gap: 8px; cursor: pointer; background: none; border: 0; padding: 0; text-align: start; font-family: inherit; }
.auc-wizard__bar { height: 6px; border-radius: 999px; background: var(--auc-line); overflow: hidden; }
.auc-wizard__bar i { display: block; height: 100%; width: 0; background: var(--auc-brand); transition: width .3s; }
.auc-wizard__step.is-done .auc-wizard__bar i, .auc-wizard__step.is-active .auc-wizard__bar i { width: 100%; }
.auc-wizard__label { font-size: 12px; font-weight: 800; color: var(--auc-muted); }
.auc-wizard__step.is-active .auc-wizard__label { color: var(--auc-brand); }
@media (max-width: 560px) { .auc-wizard__label { display: none; } }
.auc-segment { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auc-segment label { cursor: pointer; }
.auc-segment input { position: absolute; opacity: 0; pointer-events: none; }
.auc-segment__box { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1.5px solid var(--auc-line); background: var(--auc-surface); transition: all .15s; height: 100%; }
.auc-segment__box i { color: var(--auc-brand); font-size: 18px; margin-top: 2px; }
.auc-segment__box strong { display: block; color: var(--auc-ink); font-size: 14px; }
.auc-segment__box span { font-size: 12px; color: var(--auc-muted); }
.auc-segment input:checked + .auc-segment__box { border-color: var(--auc-brand); background: var(--auc-brand-50); box-shadow: 0 0 0 3px var(--auc-brand-50); }
.auc-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--auc-line); background: var(--auc-surface); cursor: pointer; }
.auc-switch strong { display: block; color: var(--auc-ink); font-size: 14px; }
.auc-switch span { font-size: 12px; color: var(--auc-muted); }
.auc-switch input { width: 44px; height: 24px; appearance: none; -webkit-appearance: none; border-radius: 999px; background: var(--auc-line); position: relative; cursor: pointer; flex: none; transition: background .2s; margin: 0; }
.auc-switch input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: inset-inline-start .2s; }
.auc-switch input:checked { background: var(--auc-brand); }
.auc-switch input:checked::after { inset-inline-start: 23px; }
.auc-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--auc-line); background: var(--auc-surface-2); cursor: pointer; transition: all .15s; }
.auc-drop:hover { border-color: var(--auc-brand); }
.auc-drop.has-file { border-style: solid; border-color: var(--auc-green); background: var(--auc-green-50); }
.auc-drop.is-invalid { border-color: var(--auc-live); }
.auc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.auc-drop__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--auc-surface); color: var(--auc-brand); font-size: 18px; }
.auc-drop.has-file .auc-drop__icon { color: var(--auc-green); }
.auc-drop strong { display: block; color: var(--auc-ink); font-size: 14px; }
.auc-drop span { font-size: 12px; color: var(--auc-muted); word-break: break-all; }
.auc-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.auc-photo { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--auc-surface-2); }
.auc-photo img { width: 100%; height: 100%; object-fit: cover; }
.auc-photo__badge { position: absolute; inset-inline-start: 6px; top: 6px; }
.auc-photo-add { aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed var(--auc-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--auc-brand); font-weight: 800; font-size: 12px; cursor: pointer; position: relative; background: var(--auc-surface); }
.auc-photo-add:hover { border-color: var(--auc-brand); }
.auc-photo-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.auc-form-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--auc-line); }
.auc-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--auc-surface-2); cursor: pointer; font-size: 14px; line-height: 1.6; }
.auc-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--auc-brand); flex: none; }
.auc-review { display: grid; gap: 10px; }
.auc-review__row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--auc-line); font-size: 14px; }
.auc-review__row span { color: var(--auc-muted); font-weight: 600; }
.auc-review__row strong { color: var(--auc-ink); text-align: end; }

/* ---------- Earnings ---------- */
.auc-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 20px; }
.auc-kpi { border-radius: 20px; padding: 18px; color: #fff; box-shadow: var(--auc-shadow); }
.auc-kpi--sold { background: linear-gradient(135deg, #065f46, #059669); }
.auc-kpi--won { background: linear-gradient(135deg, #7d1717, #a62626); }
.auc-kpi span { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.auc-kpi strong { display: block; font-size: 28px; font-weight: 900; margin-top: 6px; font-variant-numeric: tabular-nums; }
.auc-kpi small { font-size: 12px; color: rgba(255, 255, 255, .8); font-weight: 600; }
.auc-rows { display: flex; flex-direction: column; }
.auc-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--auc-line); }
.auc-row:last-child { border-bottom: 0; }
.auc-row__thumb { width: 64px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--auc-surface-2); flex: none; }
.auc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.auc-row__main { flex: 1; min-width: 0; }
.auc-row__main strong { display: block; color: var(--auc-ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auc-row__main span { font-size: 12px; color: var(--auc-muted); }
.auc-row__amount { font-weight: 900; color: var(--auc-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Pagination wrapper ---------- */
.auc-pager { margin-top: 24px; }

/* ---------- Mobile sticky action ---------- */
.auc-mobile-cta { display: none; }
@media (max-width: 1023px) {
    .auc-mobile-cta { display: flex; gap: 8px; position: fixed; z-index: 40; inset-inline: 0; bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); padding: 10px 16px; background: var(--auc-surface); border-top: 1px solid var(--auc-line); box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .4); }
    .auc-mobile-cta .auc-btn { flex: 1; }
    .auc--has-mobile-cta { padding-bottom: 120px; }
}
