/* POSH Auctions — retro cream theme, mobile-first. */

:root {
  --bg: #faf5ec;        /* warm cream */
  --bg2: #f1e8d5;       /* deeper cream */
  --card: #fffdf8;      /* near-white card */
  --line: #e3d3b8;      /* tan border */
  --text: #2b2118;      /* espresso */
  --muted: #8a755c;     /* warm taupe */
  --accent: #e91e8c;    /* hot pink */
  --accent2: #ff9e00;   /* marigold */
  --good: #2e7d4f;
  --warn: #b97f0f;
  --bad: #c0392b;
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
/* Bebas Neue for headings and brand accents (matches nav) */
h1, h2, h3, .brand, .price, .stat strong,
.btn, .artist-tab, button {
  font-family: "Bebas Neue", "Fredoka", system-ui, sans-serif;
  letter-spacing: 0.06em;
  font-weight: 400;
}
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  background: var(--card);
  border-bottom: 3px solid var(--accent);
  position: sticky; top: 0; z-index: 10;
}
.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand em { color: var(--accent); font-style: normal; font-weight: 400; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 0.8rem; font-weight: 800; margin-right: 0.4rem;
}
.topbar nav { margin-left: auto; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.topbar nav a:not(.nl) { color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: var(--text); }
/* Featured/sponsored listings strip — bold retro pop, inspired by posh-marketplace.com */
.featured-strip {
  background: #79b9a3;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1.5rem 0 1.75rem;
  margin-bottom: 1.75rem;
  border-top: 4px solid #2b2118;
  border-bottom: 4px solid #2b2118;
}
.featured-head {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  color: #fffdf8;
  text-align: center;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #2b2118;
}
.featured-star { color: #fab005; }
/* Netflix-style category rows */
.cat-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1.5rem 0 1.75rem;
  margin-bottom: 0.5rem;
}
.cat-section.cat-solid {
  border-top: 4px solid #2b2118;
  border-bottom: 4px solid #2b2118;
}
.cat-section-head {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: #2b2118;
  padding: 0 1.25rem;
  margin: 0 0 0.75rem;
  text-align: center;
}
.cat-section.cat-solid .cat-section-head {
  color: #fffdf8;
  text-shadow: 2px 2px 0 #2b2118;
}
.cat-section .featured-scroll-wrap {
  /* Full-bleed like Featured/Heartthrobs (Nik, Oct 11 2026) — no centered max-width. */
}
.featured-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
}
.featured-arrow {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 3px solid #2b2118;
  background: #fffdf8;
  color: #2b2118;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 #2b2118;
  line-height: 1;
}
.featured-arrow:hover { background: #fab005; }
.featured-arrow:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #2b2118; }
.featured-scroller {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.featured-scroller::-webkit-scrollbar { display: none; }
.cat-jewelry .featured-scroller, .cat-stash-busting .featured-scroller { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
  grid-auto-columns: 140px; gap: 0.8rem; overflow-x: auto; align-items: start; padding-bottom: 0.5rem; }
.cat-jewelry .featured-scroller .lot-card, .cat-stash-busting .featured-scroller .lot-card { flex: none; }
.cat-jewelry .featured-scroller .lot-card .lot-thumb, .cat-stash-busting .featured-scroller .lot-card .lot-thumb { aspect-ratio: 1/1; }
.cat-jewelry .lot-thumb img, .cat-stash-busting .lot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-jewelry .lot-overlay-info, .cat-stash-busting .lot-overlay-info { opacity: 0; transition: opacity 0.3s ease; }
.cat-jewelry .lot-card:hover .lot-overlay-info, .cat-stash-busting .lot-card:hover .lot-overlay-info { opacity: 1; }
@media (hover: none) { .cat-jewelry .lot-card:active .lot-overlay-info, .cat-stash-busting .lot-card:active .lot-overlay-info { opacity: 1; } }
.featured-scroller .lot-card {
  flex: 0 0 390px;
  scroll-snap-align: start;
  background: #fffdf8;
  border: 3px solid #2b2118;
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(43,33,24,0.85);
}
.featured-badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--accent2); color: #2b2118;
  font-family: Fredoka, system-ui, sans-serif; font-weight: 700; font-size: 0.75rem;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.featured-badge.badge-loved { background: #D00000; }
.lot-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg2); }
/* Uniform card images (Nik, Oct 11 2026): every listing photo renders at the
 * same 4/3 size, cropped with object-fit — no more stretched/uneven cards. */
.lot-thumb img, .lot-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.listings-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.listings-head h1 { margin: 0; }
.listings-head .cat-toggle { margin: 0; flex-shrink: 0; }
.all-listings-head {
  font-size: 1.3rem; margin: 0 0 1rem;
}
/* Discover categories dropdown */
.nav-dropdown { position: relative; }
.drop-btn {
  background: none; border: none; cursor: pointer;
  font: inherit; color: var(--muted); padding: 0;
}
.drop-btn:hover { color: var(--text); }
.drop-menu {
  display: none;
  position: absolute; top: 100%; left: 0; min-width: 12rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18); z-index: 70;
  padding: 0.35rem; margin-top: 0.35rem;
}
.drop-menu a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 8px;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.drop-menu a:hover { background: var(--bg2); color: var(--text); }
.nav-dropdown.open .drop-menu { display: block; }
@media (hover: hover) {
  .nav-dropdown:hover .drop-menu { display: block; }
}
.nav-user { color: var(--muted); font-size: 0.9rem; font-family: "Bebas Neue", "Fredoka", system-ui, sans-serif; letter-spacing: 0.06em; }

/* ---------- layout ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 2rem 1rem; border-top: 1px solid var(--line); }
h1 { font-size: 1.6rem; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; border-bottom: 1px solid var(--line); padding-bottom: 0.4rem; }

/* ---------- buttons / forms ---------- */
.btn, .btn-small {
  display: inline-block; background: linear-gradient(135deg, #d6157f, var(--accent));
  color: #fff; border: none; border-radius: var(--radius);
  box-shadow: 0 2px 0 rgba(0,0,0,0.12);
  padding: 0.7rem 1.4rem; font-size: 1rem; cursor: pointer; text-decoration: none;
}
.btn:hover, .btn-small:hover { filter: brightness(1.1); }
.btn-big { font-size: 1.15rem; padding: 0.9rem 2rem; width: 100%; }
.btn-small { padding: 0.35rem 0.7rem; font-size: 0.85rem; border-radius: 7px; }
.btn-small:disabled { opacity: 0.4; cursor: default; }
.btn-danger { background: var(--bad); }
.btn-ghost {
  background: transparent; color: #c2147a; border: 1px solid var(--accent);
  border-radius: 7px; padding: 0.3rem 0.7rem; cursor: pointer; font-size: 0.85rem;
}
.inline-form { display: inline; }

.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; max-width: 560px; display: grid; gap: 0.9rem;
}
.form-card label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.form-card label.radio { display: block; font-weight: 400; padding: 0.6rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.form-card label.radio input { margin-right: 0.5rem; }
input, select, textarea {
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.6rem 0.75rem; font-size: 1rem; width: 100%;
}
input[type="radio"], input[type="checkbox"] { width: auto; }
input[type="file"] { padding: 0.4rem 0; border: none; background: none; }
.form-row { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.alert { padding: 0.75rem 1rem; border-radius: 8px; margin: 0 0 1rem; }
.alert-error { background: #fdecea; border: 1px solid var(--bad); color: #8f2b20; }
.alert-ok { background: #e6f4ec; border: 1px solid var(--good); color: #1e5c37; }

/* ---------- lot cards ---------- */
.lot-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lot-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--text); display: block;
}
.lot-card:hover { border-color: var(--accent); }
.lot-card.lot-overlay .lot-thumb { position: relative; }
.lot-card.lot-overlay .lot-thumb img, .lot-card.lot-overlay .lot-thumb video { transition: transform 0.35s ease; }
.lot-card.lot-overlay:hover .lot-thumb img, .lot-card.lot-overlay:hover .lot-thumb video { transform: scale(1.08); }
.lot-overlay-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.8rem 0.7rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 20%, rgba(0,0,0,0.3) 60%, transparent); color: #fff;
  pointer-events: none; }
.lot-overlay-title { font-weight: 700; font-size: 0.95rem; line-height: 1.25; margin-bottom: 0.25rem; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.lot-overlay-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.lot-overlay-meta .price { color: #fff; }
.lot-overlay-timer { opacity: 0.9; }
/* Mobile: overlay cards show title/price/timer below the image instead of
 * overlaid on it (Nik, Oct 11 2026) — no more black gradient + big timer. */
.lot-mobile-body { display: none; }
@media (max-width: 760px) {
  .lot-card.lot-overlay .lot-overlay-info { display: none; }
  .lot-card.lot-overlay .lot-mobile-body { display: block; }
}
.lot-thumb { position: relative; aspect-ratio: 4/3; background: var(--bg2); overflow: hidden; }
/* Timer overlay (mobile only — hidden on desktop). */
.timer-overlay { display: none; }
.lot-thumb img, .lot-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot-thumb .badge { position: absolute; top: 0.5rem; left: 0.5rem; }
.no-photo { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); }
.lot-card-body { padding: 0.8rem 1rem; }
.lot-card-body h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.lot-meta { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 0.3rem; }
.price { font-weight: 700; color: var(--accent); font-size: 1.1rem; }

.badge { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; padding: 0.2rem 0.55rem; border-radius: 20px; }
.badge-live { background: var(--good); color: #0e1a12; }
.badge-sched { background: var(--warn); color: #241a08; }
.badge-ended { background: #555; color: #ddd; }
.reserve-flag { color: var(--warn); font-size: 0.85rem; }
.reserve-ok { color: var(--good); font-size: 0.85rem; }

/* ---------- lot detail ---------- */
.lot-detail { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lot-detail { grid-template-columns: 1fr 1fr; } }
.lot-photo { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; background: var(--bg2); max-height: 480px; }
.lot-video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16/9; background: #000; }
.msrp { margin-top: 4px; }
.thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.lot-thumb-sm { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; }
.lot-head { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.lot-info h1 { margin-top: 0.5rem; }
.countdown { font-size: 1.1rem; margin: 0.5rem 0; }
.countdown strong { color: var(--accent); }
.current-bid { font-size: 1.25rem; margin: 0.5rem 0; }
.lot-desc { white-space: normal; color: var(--text); }
.bid-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: grid; gap: 0.7rem; margin-top: 1rem; max-width: 480px; }
.leader-tag { background: var(--good); color: #0e1a12; font-size: 0.7rem; font-weight: 700; border-radius: 10px; padding: 0.1rem 0.45rem; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -0.75rem; padding: 0 0.75rem; }
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) {
  .table-scroll .table { min-width: 520px; }
  .table th, .table td { padding: 0.5rem 0.6rem; font-size: 0.9rem; }
}
.table th, .table td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table tr:last-child td { border-bottom: none; }
.table .actions { white-space: nowrap; }
.table .actions .btn-small { margin: 0.1rem; }
.win { color: var(--good); font-weight: 700; }
.lose { color: var(--bad); font-weight: 700; }
.status-pill { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 0.15rem 0.6rem; font-size: 0.85rem; }

/* ---------- invoice ---------- */
.invoice-done { background: var(--card); border: 1px solid var(--good); border-radius: var(--radius); padding: 1.25rem; max-width: 560px; }

/* ---------- admin ---------- */
.admin-nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.admin-nav a { text-decoration: none; font-weight: 600; }
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-align: center; display: grid; gap: 0.25rem; }
.stat strong { font-size: 1.8rem; color: var(--accent); }
.stat span { color: var(--muted); font-size: 0.9rem; }

.ship-note { color: var(--accent, #b48be0); font-weight: 600; margin: 0.5rem 0; }
.ship-note-card { color: var(--muted); font-size: 0.85rem; }
.ship-box { border: 1px solid var(--border, #333); border-radius: 8px; padding: 0.75rem 1rem; margin: 1rem 0; }
.ship-box ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.lot-thumb-sm.active { outline: 2px solid var(--accent, #b48be0); outline-offset: 1px; }
.lot-thumb-sm.vid-thumb { position: relative; display: inline-block; padding: 0; overflow: hidden; }
.lot-thumb-sm.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot-thumb-sm.vid-thumb::after { content: '▶'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.brand-logo { height: 2.6rem; border-radius: 8px; display: block; background: transparent; padding: 2px 8px; }
.gate-logo { max-width: 320px; width: 100%; border-radius: 12px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
.cat-chip { display: inline-block; padding: 0.35rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.cat-chip:hover { color: var(--text); border-color: var(--accent); }
.cat-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-chip.small { font-size: 0.8rem; padding: 0.2rem 0.7rem; }
.note-form { margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); }
.note-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.note-form textarea { width: 100%; margin-top: 0.4rem; padding: 0.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); font: inherit; }
.track-box { margin: 1rem 0; padding: 0.9rem 1.1rem; border: 1px solid var(--accent); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 1.05rem; }
.note-flag { color: var(--accent); }
img { max-width: 100%; }
.thumbs { flex-wrap: wrap; }
.topbar nav a.btn-small { color: #fff; }
.how-steps { display: grid; gap: 1rem; margin: 1.5rem 0; }
.how-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.how-step h2 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.how-step p { margin: 0; color: var(--text); }
.gate-terms { display: flex; align-items: flex-start; gap: 0.5rem; margin: 1rem auto; max-width: 26rem; font-size: 0.9rem; text-align: left; cursor: pointer; }
.gate-terms input { margin-top: 0.2rem; accent-color: var(--accent); }
.gate-terms a { color: var(--accent); }
.gate-error { color: #e5484d; font-size: 0.9rem; margin: 0.5rem 0; }
.badge-pend { background: #7c5c1e; color: #ffd97a; }
.lots-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.lots-head h1 { margin: 0; }

/* ---------- mobile menu ---------- */
.menu-btn {
  display: none;
  background: #fffdf8;
  border: 3px solid #2b2118;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  color: #2b2118;
  box-shadow: 3px 3px 0 #2b2118;
}
@media (max-width: 760px) {
  .topbar { flex-wrap: nowrap; }
  .menu-btn { display: inline-block; flex: 0 0 auto; margin-left: auto; order: 5; }
  .topbar .nav-cta { flex: 0 0 auto; order: 4; }
  .topbar nav.main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin-left: 0;
    background: #fffdf8;
    border: 3px solid #2b2118;
    border-radius: 14px;
    box-shadow: 4px 4px 0 rgba(43,33,24,.85);
    padding: 0.5rem;
    min-width: 200px;
    z-index: 1001;
  }
  .topbar nav.main-nav.open { display: flex; }
  .topbar nav.main-nav .nl {
    padding: 0.65rem 0.9rem;
    text-align: left;
    border-radius: 8px;
  }
  .topbar nav.main-nav .nl:hover { background: #f5efe4; }
  /* Hide the LIVE pill on Discover card thumbnails (mobile only). */
  .lot-thumb .badge-live { display: none; }
  /* Show just the countdown number on mobile, not "Ends in". */
  .timer-label { display: none; }
}
/* Mobile: Netflix-style compact cards in the horizontal scrollers.
 * Desktop card sizes are untouched. */
@media (max-width: 760px) {
  /* No arrow buttons on mobile — swipe only, with a peek of the next card. */
  .featured-arrow { display: none; }
  .featured-scroll-wrap { padding: 0 0 0 0.75rem; gap: 0; }
  .cat-scroller,
  .featured-scroller {
    gap: 0.6rem;
    padding-right: 0.75rem;
    scroll-snap-type: none;
  }
  .cat-scroller .lot-card,
  .featured-scroller .lot-card {
    /* ~3.5 cards visible on a 360–400px phone so the row reads as scrollable. */
    flex: 0 0 calc((100vw - 3.2rem) / 3.5);
    border-radius: 10px;
    scroll-snap-align: none;
  }
  .cat-scroller .lot-thumb,
  .featured-scroller .lot-thumb {
    aspect-ratio: 3/4;
  }
  .cat-scroller .lot-card-body,
  .featured-scroller .lot-card-body {
    padding: 0.4rem 0.5rem;
  }
  .cat-scroller .lot-card-body h3,
  .featured-scroller .lot-card-body h3 {
    font-size: 0.65rem;
    /* Two-line title (Nik, Oct 11 2026) instead of single-line truncation. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    line-height: 1.25;
    min-height: 1.625em;
    margin-bottom: 0.15rem;
  }
  .cat-scroller .lot-meta,
  .featured-scroller .lot-meta {
    font-size: 0.65rem;
    margin-top: 0.15rem;
  }
  .cat-scroller .price,
  .featured-scroller .price {
    font-size: 0.7rem;
  }
  .cat-scroller .ship-note-card,
  .featured-scroller .ship-note-card {
    display: none;
  }
  /* Timer overlays the image on mobile; hide the inline bids/timer line. */
  .cat-scroller .lot-bids-line,
  .featured-scroller .lot-bids-line {
    display: none;
  }
  .cat-scroller .timer-overlay,
  .featured-scroller .timer-overlay {
    display: block;
    position: absolute;
    bottom: 0.3rem;
    left: 0.3rem;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.42rem;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    white-space: nowrap;
    max-width: calc(100% - 0.6rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cat-section-head {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Hide the Featured pill on mobile — it covers too much of the small cards. */
  .featured-badge { display: none; }
}
@media (max-width: 760px) {
  .post-item-btn { display: none; }
}

/* ---------- how-it-works columns ---------- */
.how-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; align-items: start; }
.how-hero-img { width: 100%; max-width: 900px; height: auto; border-radius: 12px; display: block; margin: 0 auto 1.5rem; }
.how-col-title { margin: 0 0 1rem; font-size: 1.4rem; }
.how-step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
@media (max-width: 760px) {
  .how-cols { grid-template-columns: 1fr; }
}

/* Lightbox: click a lot photo to view it full-size */
#mainMedia .lot-photo { cursor: zoom-in; }
#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; z-index: 9999; cursor: zoom-out; padding: 2vh 2vw; }
#lightbox[hidden] { display: none; }
#lightbox img { max-width: 96vw; max-height: 96vh; object-fit: contain; border-radius: var(--radius); }
#lightboxClose { position: absolute; top: 10px; right: 22px; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }

/* Collapsible category menu */
.cat-toggle { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg2); color: var(--text); font-size: 0.95rem; cursor: pointer; margin: 0 0 0.75rem; }
.cat-toggle:hover { border-color: var(--accent); }
.cat-toggle .arrow { transition: transform 0.2s; font-size: 0.8em; }
.cat-toggle.open .arrow { transform: rotate(180deg); }
.cat-chips.collapsible { display: none; }
.cat-chips.collapsible.open { display: flex; }

/* PWA install banner */
#installBanner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1rem; background: var(--card);
  border-top: 1px solid var(--line);
}
#installBanner[hidden] { display: none; }
#installBanner span { flex: 1; font-size: 0.9rem; }
#installDismiss {
  background: none; border: none; color: var(--muted);
  font-size: 1.1rem; cursor: pointer; padding: 0.25rem 0.5rem;
}

/* Buyer/seller dashboard toggle */
.view-toggle { display: flex; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.toggle-tab {
  padding: 0.6rem 1.4rem; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--accent, #d6336c); color: var(--accent, #d6336c);
  font-weight: 600; font-size: 1rem;
}
.toggle-tab.active { background: var(--accent, #d6336c); color: #fff; }
@media (max-width: 760px) {
  .view-toggle { gap: 0.35rem; flex-wrap: wrap; }
  .toggle-tab { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
}

/* Discover banner */
.discover-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 0 1.25rem;
}

/* Brand tagline next to logo */
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent, #d6336c);
  line-height: 1.2;
  max-width: 260px;
}
@media (max-width: 700px) {
  .brand-tagline { display: none; }
}

/* (old orphaned menu-dropdown CSS removed Oct 11 2026 — replaced by .menu-btn + nav.main-nav.open) */

/* My Feed masonry */
.feed-masonry { columns: 4; column-gap: 1rem; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 0 1rem; }
@media (max-width: 1100px) { .feed-masonry { columns: 3; } }
.sponsored-badge { position: absolute; top: 0.6rem; left: 0.6rem; background: #F59E0B; color: #1A1A1A;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem; border-radius: 999px; border: 2px solid #1A1A1A; z-index: 2; }
.feed-item { display: block; position: relative; background: #f0ebe1; min-height: 120px; break-inside: avoid; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; }
.feed-item img { width: 100%; display: block; transition: transform 0.35s ease; }
.feed-item:hover img { transform: scale(1.06); }
@media (hover: none) { .feed-item:active img { transform: scale(1.04); } }
.feed-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.8rem 0.7rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 20%, rgba(0,0,0,0.25) 60%, transparent); color: #fff;
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.feed-item:hover .feed-overlay { opacity: 1; }
@media (hover: none) { .feed-item:active .feed-overlay { opacity: 1; } }
.feed-title { font-weight: 700; font-size: 0.95rem; line-height: 1.25; margin-bottom: 0.25rem; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.feed-meta { text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.feed-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; }
.feed-bid { font-weight: 800; }
.feed-meta .countdown { opacity: 0.9; }
@media (max-width: 640px) { .feed-masonry { columns: 2; column-gap: 0.6rem; } .feed-item { margin-bottom: 0.6rem; } }
.feed-top p { margin: 0 0 0.5rem; }
.feed-top { margin-bottom: 0.25rem; }

/* Equipped Sparkle Shop effects on artist pages (Nik, Oct 11 2026). */
.fx-avatar-stack { position: relative; display: inline-block; }
.fx-crown { position: absolute; top: -24px; left: 50%; transform: translateX(-50%) rotate(-8deg); z-index: 5; pointer-events: none; }
.fx-crown-svg { width: 56px; height: auto; display: block; filter: drop-shadow(2px 2px 2px #0007); }
.artist-avatar-wrap.fx-avatar-fire .artist-avatar, .artist-avatar-wrap.fx-avatar-fire .artist-avatar-img {
  animation: fxFirePulse 1.2s ease-in-out infinite; box-shadow: 0 0 0 3px #ff6b35, 0 0 18px 6px #ff6b35aa; }
@keyframes fxFirePulse { 0%,100% { box-shadow: 0 0 0 3px #ff6b35, 0 0 14px 4px #ff6b35aa; }
  50% { box-shadow: 0 0 0 4px #ffa726, 0 0 26px 10px #ff6b3588; } }
.artist-avatar-wrap.fx-avatar-rainbow .artist-avatar, .artist-avatar-wrap.fx-avatar-rainbow .artist-avatar-img {
  border: 4px solid transparent !important;
  background: linear-gradient(#fffdf8, #fffdf8) padding-box,
    conic-gradient(from var(--fx-angle, 0deg), #ff0000, #ff9900, #ffee00, #33cc33, #00ccff, #9933ff, #ff0000) border-box;
  animation: fxRainbowSpin 3s linear infinite; }
@property --fx-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes fxRainbowSpin { to { --fx-angle: 360deg; } }
.artist-head .fx-name-shimmer {
  background: linear-gradient(100deg, #2b2118 30%, #d4a017 45%, #fff3c4 50%, #d4a017 55%, #2b2118 70%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: fxShimmer 2.5s linear infinite; }
@keyframes fxShimmer { to { background-position: -250% 0; } }
.artist-head.fx-profile-neon { background: #1a1a2e; animation: fxNeonPulse 2s ease-in-out infinite; border-radius: 12px; }
.artist-head.fx-profile-neon h1 { color: #fff; text-shadow: 0 0 8px #ff6ec4; }
.artist-head.fx-profile-neon .muted { color: #c9b8d4; }
@keyframes fxNeonPulse { 0%,100% { box-shadow: 0 0 12px #ff6ec455; } 50% { box-shadow: 0 0 28px #ff6ec4aa; } }
.artist-head.fx-profile-starfield { background: #1a1430; position: relative; overflow: hidden; border-radius: 12px; }
.artist-head.fx-profile-starfield::before { content: '✨ ⭐ ✨ 🌟 ✨ ⭐ ✨'; position: absolute; top: 8px; left: 0; right: 0;
  text-align: center; font-size: 0.9rem; opacity: 0.9; animation: fxTwinkle 2s ease-in-out infinite; pointer-events: none; }
.artist-head.fx-profile-starfield h1, .artist-head.fx-profile-starfield .muted { color: #fff3c4; position: relative; }
@keyframes fxTwinkle { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* Sparkle Shop page-customization effects (Nik, Oct 11 2026). */
/* Profile themes — applied to the artist page wrapper. */
.fx-theme-craft { background: #f5efe0 url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%23d4c5a3'/%3E%3Ccircle cx='28' cy='24' r='1.5' fill='%23d4c5a3'/%3E%3C/svg%3E"); }
.fx-theme-midnight { background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%); }
.fx-theme-midnight .artist-head h1, .fx-theme-midnight .muted { color: #e8e0f0; }
.fx-theme-candy { background: linear-gradient(160deg, #ffe3f1 0%, #ffd1e8 40%, #ffc4dd 100%); }
.fx-theme-forest { background: linear-gradient(160deg, #1e3a24 0%, #2d5a34 50%, #1a2e1f 100%); }
.fx-theme-forest .artist-head h1, .fx-theme-forest .muted { color: #e8f5e9; }
/* Listing card frames. */
.fx-frame-gold { border: 3px solid #d4a017 !important; box-shadow: 0 0 12px #d4a01788, 3px 3px 0 #2b2118; }
.fx-frame-glitter { border: 3px solid transparent !important;
  background: linear-gradient(#fffdf8, #fffdf8) padding-box,
    linear-gradient(135deg, #ffd166, #ff6ec4, #6a8dff, #ffd166) border-box;
  box-shadow: 0 0 14px #ff6ec488; animation: fxFrameShimmer 3s linear infinite; background-size: auto, 300% 300%; }
@keyframes fxFrameShimmer { to { background-position: 0 0, 300% 0; } }
.fx-frame-rainbow { border: 4px solid transparent !important;
  background: linear-gradient(#fffdf8, #fffdf8) padding-box,
    conic-gradient(from var(--fx-angle, 0deg), #ff0000, #ff9900, #ffee00, #33cc33, #00ccff, #9933ff, #ff0000) border-box;
  animation: fxRainbowSpin 4s linear infinite; }
/* Name flair. */
.fx-flair-gradient {
  background: linear-gradient(100deg, #d6336c, #6a8dff, #d4a017, #d6336c);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: fxShimmer 3s linear infinite; }
.fx-flair-topseller { color: #b8860b !important; text-shadow: 0 1px 0 #fff3c4, 0 0 12px #ffd16688; }
/* Shop preview mocks. */
.fx-preview-theme { min-height: 90px; display: flex; align-items: center; justify-content: center; }
.fx-theme-mock { background: #fffdf888; border-radius: 8px; padding: 0.6rem 0.8rem; width: 80%; }
.fx-theme-dot { width: 28px; height: 28px; border-radius: 50%; background: #2b2118; margin-bottom: 0.4rem; }
.fx-theme-line { height: 8px; border-radius: 4px; background: #2b211855; margin-bottom: 0.3rem; }
.fx-theme-line.short { width: 60%; }
.fx-preview-frame { display: flex; align-items: center; justify-content: center; }
.fx-frame-mock { background: #fffdf8; border-radius: 10px; padding: 0.5rem; width: 75%; text-align: center; }
.fx-frame-img { font-size: 2rem; }
.fx-frame-line { height: 8px; border-radius: 4px; background: #2b211822; margin-top: 0.4rem; }
.fx-preview-flair { display: flex; align-items: center; justify-content: center; min-height: 70px; }
.fx-preview-cursor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; }
.fx-cursor-demo { font-size: 0.75rem; color: #8a7a63; }
/* Profile banner. */
.artist-banner { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; border: 2px solid #2b2118; margin-bottom: 1rem; display: block; }
