/* CLC LIVE AUCTION v2 — Columbus Luxury Cars palette: slate #505D6F,
   electric gold #FCD53F, bronze #B67E34 — bold, futuristic, casino energy */
:root {
  --bg: #0b0e14;
  --bg2: #10141d;
  --panel: #141a24;
  --panel2: #1a2130;
  --line: #26303f;
  --slate: #505D6F;
  --gold: #FCD53F;
  --gold-deep: #B67E34;
  --gold-soft: #ffe37a;
  --red: #ff4655;
  --green: #2ee66b;
  --text: #f4f3ee;
  --muted: #93a0b4;
  --shadow: 0 12px 34px rgba(0,0,0,.5);
  --radius: 16px;
  --glow: 0 0 18px rgba(252,213,63,.35), 0 0 46px rgba(252,213,63,.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(80,93,111,.35), transparent 60%),
    radial-gradient(700px 420px at 0% 0%, rgba(182,126,52,.18), transparent 55%),
    linear-gradient(180deg, #0d1119 0%, var(--bg) 40%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}
a { color: var(--gold-soft); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea {
  font: inherit; color: var(--text);
  background: var(--panel2); border: 1px solid var(--line);
  border-radius: 9px; padding: 10px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 18px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,14,20,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-inner { display: flex; align-items: center; gap: 16px; padding: 8px 0; }
.logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.logo img { height: 52px; width: auto; filter: drop-shadow(0 0 8px rgba(182,126,52,.5)); }
.logo .word { line-height: 1.05; }
.logo .word b {
  display: block; font-size: 17px; letter-spacing: 1.5px;
  background: linear-gradient(100deg, #fff 10%, var(--gold) 45%, var(--gold-deep) 70%, var(--gold) 90%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: sheen 5s linear infinite;
}
@keyframes sheen { to { background-position: 200% center; } }
.logo .live-tag {
  color: #fff; background: var(--red); font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 99px; letter-spacing: 1.5px;
  box-shadow: 0 0 12px rgba(255,70,85,.6); animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .5 } }
nav.main { display: flex; gap: 16px; margin-left: 6px; font-size: 14px; }
nav.main a { color: var(--muted); font-weight: 600; }
nav.main a:hover { color: var(--gold); }
.spacer { flex: 1; }
.phone-cta { font-size: 14px; color: var(--gold-soft); white-space: nowrap; font-weight: 700; }

.btn {
  display: inline-block; text-align: center;
  border: 1px solid var(--line); background: var(--panel2); color: var(--text);
  padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14px;
  transition: transform .12s, box-shadow .2s, border-color .2s;
}
.btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  border-color: var(--gold-deep); color: #191204;
}
.btn-gold:hover { box-shadow: var(--glow); }
.btn-gold::after {  /* casino sheen sweep */
  content: ''; position: absolute; top: -60%; bottom: -60%; left: -30%; width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg); animation: sweep 3.2s ease-in-out infinite;
}
@keyframes sweep { 0%, 55% { left: -40% } 85%, 100% { left: 130% } }
.btn-red { background: linear-gradient(135deg, #ff6d78, var(--red)); border-color: #b3202c; color: #fff; }
.btn-red:hover { box-shadow: 0 0 18px rgba(255,70,85,.4); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-lg { display: block; padding: 14px 22px; font-size: 16px; border-radius: 12px; width: 100%; box-sizing: border-box; }

/* ---------- live ticker ---------- */
.ticker {
  background: linear-gradient(90deg, rgba(182,126,52,.16), rgba(252,213,63,.1), rgba(182,126,52,.16));
  border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap;
  font-size: 13px; padding: 6px 0; position: relative;
}
.ticker .tape { display: inline-block; padding-left: 100%; animation: tape 45s linear infinite; }
.ticker .tape span { margin-right: 44px; color: var(--muted); }
.ticker .tape b { color: var(--gold); }
.ticker .tape .dot { color: var(--gold-deep); }
@keyframes tape { to { transform: translateX(-100%); } }

/* ---------- hero ---------- */
.hero { padding: 46px 0 26px; text-align: center; position: relative; overflow: hidden; }
.hero h1 {
  font-size: clamp(30px, 5vw, 54px); margin: 0 0 10px; letter-spacing: .5px; font-weight: 900;
}
.hero h1 .shine {
  background: linear-gradient(100deg, var(--gold-soft) 20%, #fff 40%, var(--gold) 60%, var(--gold-deep) 80%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: sheen 4s linear infinite;
}
.hero p.sub { color: var(--muted); margin: 0 auto 22px; max-width: 660px; font-size: 16.5px; }
.stats { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.stat {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 26px; min-width: 150px; position: relative; overflow: hidden;
}
.stat::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.stat b { display: block; font-size: 28px; color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(252,213,63,.4); }
.stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ---------- toolbar / day chips ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; margin: 20px 0 8px; flex-wrap: wrap; }
.toolbar input[type=search] { max-width: 320px; }
.toolbar select { width: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip {
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  padding: 7px 15px; border-radius: 99px; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: all .15s;
}
.chip:hover { color: var(--text); border-color: var(--slate); }
.chip.on { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #191204; border-color: var(--gold-deep); box-shadow: var(--glow); }

/* ---------- grid / cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; padding-bottom: 60px; }
.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s, border-color .18s, box-shadow .25s;
  position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold-deep); box-shadow: var(--shadow), var(--glow); }
.card .imgbox { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #05070b; display: block; }
.card .imgbox img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .imgbox img { transform: scale(1.05); }
.card .imgbox::after { /* shimmer sweep on hover */
  content: ''; position: absolute; top: -60%; bottom: -60%; left: -45%; width: 32%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-22deg); transition: left .55s ease;
  pointer-events: none;
}
.card:hover .imgbox::after { left: 135%; }
.badge {
  position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 900;
  letter-spacing: 1.2px; padding: 4px 10px; border-radius: 99px; color: #fff; z-index: 2;
}
.badge.live { background: var(--red); box-shadow: 0 0 14px rgba(255,70,85,.65); animation: pulse 1.6s infinite; }
.badge.ending { background: linear-gradient(135deg, #ff9a3d, #ff5722); animation: pulse .8s infinite; box-shadow: 0 0 16px rgba(255,120,40,.6); }
.badge.done { background: #3c4656; }
.badge.sold { background: var(--green); color: #06250f; box-shadow: 0 0 14px rgba(46,230,107,.5); }
.badge.hot {
  left: auto; right: 10px; background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #191204; box-shadow: var(--glow);
}
.card .timer-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.35));
  padding: 7px 12px; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.card .timer-strip .t { color: var(--gold-soft); text-shadow: 0 0 10px rgba(252,213,63,.5); }
.card .timer-strip .t.urgent { color: var(--red); text-shadow: 0 0 10px rgba(255,70,85,.7); animation: pulse .9s infinite; }
.card .body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 15.5px; line-height: 1.3; min-height: 2.6em; font-weight: 700; }
.card .meta { color: var(--muted); font-size: 12.5px; }
.card .prices { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.card .cur b { display: block; font-size: 23px; color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(252,213,63,.35); }
.card .cur span, .card .bn span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.card .bn { text-align: right; }
.card .bn b { display: block; font-size: 15px; }
.card .actions { display: flex; gap: 8px; }
.card .actions .btn { flex: 1; text-align: center; }
.bidcount { font-size: 12px; color: var(--muted); }
.amt-pop { animation: amtpop .5s ease; }
@keyframes amtpop { 30% { transform: scale(1.28); color: #fff; } }

/* ---------- detail page ---------- */
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; padding: 26px 0 60px; }
.detail > * { min-width: 0; } /* stops the thumb strip from blowing out the grid */
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.gallery .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: #05070b; box-shadow: var(--shadow); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.thumbs img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; opacity: .6; border: 2px solid transparent; transition: all .15s; }
.thumbs img.sel, .thumbs img:hover { opacity: 1; border-color: var(--gold); }
.panel {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.panel + .panel { margin-top: 16px; }
.panel.goldline { border-color: var(--gold-deep); box-shadow: 0 0 24px rgba(182,126,52,.15); }
.vtitle { font-size: 25px; margin: 0 0 4px; font-weight: 800; }
.vmeta { color: var(--muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.bigtimer { text-align: center; margin: 16px 0; }
.bigtimer .t {
  font-size: 44px; font-weight: 900; color: var(--gold-soft);
  font-variant-numeric: tabular-nums; letter-spacing: 1px;
  text-shadow: 0 0 24px rgba(252,213,63,.45);
}
.bigtimer .t.urgent { color: var(--red); text-shadow: 0 0 24px rgba(255,70,85,.6); animation: pulse .9s infinite; }
.bigtimer .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--muted); }
.curbid { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 14px; }
.curbid .amt { font-size: 34px; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(252,213,63,.4); }
.reserve-chip { font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.reserve-chip.met { background: rgba(46,230,107,.14); color: var(--green); box-shadow: 0 0 12px rgba(46,230,107,.25); }
.reserve-chip.not { background: rgba(255,70,85,.12); color: var(--red); }
.quickbids { display: flex; gap: 8px; margin: 10px 0; }
.quickbids .btn { flex: 1; }
.bidrow { display: flex; gap: 8px; }
.maxbid-note {
  background: rgba(252,213,63,.07); border: 1px dashed var(--gold-deep);
  border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--muted); margin-top: 10px;
}
.maxbid-note b { color: var(--gold); }
.yourmax {
  background: rgba(46,230,107,.08); border: 1px solid rgba(46,230,107,.35);
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px; color: var(--green); margin-top: 10px; font-weight: 600;
}
.history { margin-top: 10px; max-height: 260px; overflow-y: auto; }
.history .row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.history .row b { font-variant-numeric: tabular-nums; color: var(--gold-soft); }
.history .row .auto { color: var(--muted); font-size: 11.5px; }
.notice { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.winbar {
  background: linear-gradient(90deg, rgba(46,230,107,.2), transparent); border: 1px solid var(--green);
  color: var(--green); border-radius: 12px; padding: 13px 16px; margin: 14px 0; font-weight: 700;
  box-shadow: 0 0 20px rgba(46,230,107,.15);
}
.outbidbar {
  background: linear-gradient(90deg, rgba(255,70,85,.18), transparent); border: 1px solid var(--red);
  color: #ff8d96; border-radius: 12px; padding: 13px 16px; margin: 14px 0; font-weight: 700;
}

/* specs grid */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.spec { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.spec .k { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.spec .v { font-size: 14.5px; font-weight: 700; margin-top: 2px; }

/* calculator */
.calc .row { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 4px; font-size: 13.5px; color: var(--muted); }
.calc .row b { color: var(--text); font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--gold); padding: 0; border: 0; background: transparent; }
.calc .monthly { text-align: center; margin: 16px 0 8px; }
.calc .monthly .m { font-size: 40px; font-weight: 900; color: var(--gold); text-shadow: 0 0 22px rgba(252,213,63,.45); font-variant-numeric: tabular-nums; }
.calc .monthly .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.calc select { margin-top: 4px; }

/* accordion */
details.acc { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-top: 12px; background: var(--bg2); }
details.acc summary { cursor: pointer; font-weight: 700; color: var(--gold-soft); font-size: 14px; }
details.acc p { color: var(--muted); font-size: 13px; white-space: pre-line; }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(4,6,10,.75); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(4px); }
.modal-back.open { display: flex; }
.modal {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--gold-deep); border-radius: var(--radius);
  width: 100%; max-width: 430px; padding: 28px; box-shadow: var(--shadow), 0 0 40px rgba(182,126,52,.2);
  animation: modalin .25s ease;
}
@keyframes modalin { from { transform: translateY(16px) scale(.97); opacity: 0 } }
.modal h2 { margin: 0 0 4px; }
.modal p.sub { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.switch-auth { text-align: center; font-size: 14px; margin-top: 14px; color: var(--muted); }
.err { color: var(--red); font-size: 14px; margin: 8px 0 0; min-height: 1.2em; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: auto; margin-top: 3px; }

/* toast */
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--panel2); border: 1px solid var(--gold); color: var(--text);
  padding: 13px 24px; border-radius: 99px; font-weight: 700; z-index: 200;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1); max-width: 90vw; box-shadow: var(--glow); }
#toast.show { transform: translateX(-50%) translateY(0); }

/* confetti canvas */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 10px 0 40px; }
.how .step {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden;
}
.how .step::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); }
.how .step b { color: var(--gold); display: block; margin-bottom: 6px; font-size: 15px; }
.how .step p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* forms page */
.formcard { max-width: 560px; margin: 30px auto 60px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 26px 0 90px; color: var(--muted); font-size: 13px; background: rgba(0,0,0,.25); }
footer.site .cols { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; }

/* admin */
table.adm { width: 100%; border-collapse: collapse; font-size: 13px; }
table.adm th, table.adm td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
table.adm th { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }
.pill { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.pill.live { background: rgba(255,70,85,.15); color: var(--red); }
.pill.won_pending, .pill.buy_now_pending { background: rgba(252,213,63,.14); color: var(--gold); }
.pill.sold { background: rgba(46,230,107,.14); color: var(--green); }
.mini { padding: 4px 9px; font-size: 12px; border-radius: 7px; }

/* legal */
.legal { max-width: 820px; margin: 30px auto 70px; }
.legal h2 { color: var(--gold-soft); margin-top: 28px; }
.legal p, .legal li { color: #c9cdd6; font-size: 15px; }

/* ================= v3 — NEON CASINO LAYER ================= */
:root { --neon: #3ee9ff; --neon2: #ff3ec8; }

/* rotating LED ring — wraps HOT cards & the bid box */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.led-ring { position: relative; z-index: 0; border-color: transparent !important; }
.led-ring::before {
  content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from var(--a),
    var(--gold) 0 8%, transparent 12% 22%, var(--neon) 26% 32%, transparent 36% 48%,
    var(--gold) 52% 60%, transparent 64% 74%, var(--gold-deep) 78% 84%, transparent 88% 100%);
  animation: ledspin 3.5s linear infinite;
  filter: blur(.5px);
}
.led-ring::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
}
@keyframes ledspin { to { --a: 360deg; } }
@supports not (background: conic-gradient(from var(--a), red, blue)) {
  .led-ring::before { animation: none; }
}

/* marquee chase lights strip (used above the bid panel) */
.chase {
  height: 6px; border-radius: 99px; margin: 2px 0 14px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 10px, rgba(252,213,63,.15) 10px 20px,
    var(--neon) 20px 30px, rgba(62,233,255,.12) 30px 40px);
  background-size: 40px 100%;
  animation: chase 1.1s linear infinite;
  box-shadow: 0 0 12px rgba(252,213,63,.35);
}
@keyframes chase { to { background-position: 40px 0; } }

/* locked (register-to-unlock) price */
.lockchip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(62,233,255,.08); border: 1px dashed rgba(62,233,255,.45);
  color: var(--neon); font-size: 12px; font-weight: 800; letter-spacing: .5px;
  padding: 5px 11px; border-radius: 99px; cursor: pointer;
  animation: lockpulse 2.2s ease-in-out infinite;
}
@keyframes lockpulse { 0%,100% { box-shadow: 0 0 0 rgba(62,233,255,0) } 50% { box-shadow: 0 0 14px rgba(62,233,255,.45) } }
.lockchip:hover { background: rgba(62,233,255,.16); }

/* savings meter — retail vs your bid */
.savings { margin: 12px 0 4px; }
.savings .lbls { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.savings .lbls .retail s { color: var(--muted); }
.savings .lbls .save { color: var(--green); font-weight: 800; text-shadow: 0 0 10px rgba(46,230,107,.4); }
.savings .bar { height: 12px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; position: relative; }
.savings .bar .fill {
  height: 100%; border-radius: 99px; width: 0%;
  background: linear-gradient(90deg, var(--green), #7dffab, var(--green));
  background-size: 200% 100%;
  animation: savefill 1s ease-out forwards, saveshine 2.4s linear infinite;
  box-shadow: 0 0 14px rgba(46,230,107,.5);
}
@keyframes savefill { from { width: 0 } }
@keyframes saveshine { to { background-position: 200% 0 } }

/* jackpot flash when reserve met */
.reserve-chip.met { animation: jackpot 2s ease-in-out infinite; }
@keyframes jackpot {
  0%,100% { box-shadow: 0 0 8px rgba(46,230,107,.3); }
  50% { box-shadow: 0 0 22px rgba(46,230,107,.75), 0 0 40px rgba(46,230,107,.25); }
}

/* star sparkles (JS spawns .spark elements) */
.spark {
  position: fixed; pointer-events: none; z-index: 290; font-size: 18px;
  animation: sparkfly 1s ease-out forwards;
}
@keyframes sparkfly {
  0% { transform: translate(0, 0) scale(.4) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.3) rotate(180deg); opacity: 0; }
}

/* day-of-week chip on card timers */
.endday {
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #0b0e14; background: var(--gold-soft); border-radius: 99px; padding: 2px 8px;
}
.endday.tonight { background: var(--red); color: #fff; animation: pulse 1.2s infinite; }

/* Blackstone inspection panel */
.bsc-panel { border-color: #7e2b2b !important; background:
  linear-gradient(180deg, rgba(140,30,30,.14), var(--panel)) !important; }
.bsc-panel h3 { color: #ff9d9d; }
.bsc-badge {
  display: inline-block; background: linear-gradient(135deg, #e33, #901616); color: #fff;
  font-weight: 900; font-size: 12px; letter-spacing: 1px; padding: 4px 12px; border-radius: 99px;
  box-shadow: 0 0 14px rgba(230,50,50,.4);
}

/* contact dock (bottom-left; Maya's widget owns bottom-right) */
#contact-dock {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
}
.dock-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel2); border: 1px solid var(--line); color: var(--text);
  padding: 9px 13px; border-radius: 99px; font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow); cursor: pointer; text-decoration: none;
  transition: transform .12s, border-color .15s;
}
.dock-btn span { font-size: 12.5px; }
.dock-btn:hover { transform: translateX(3px); border-color: var(--gold); }
.dock-btn.gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep)); color: #191204; border-color: var(--gold-deep); animation: lockpulse 3s infinite; }

/* concierge chat */
#concierge {
  position: fixed; left: 16px; bottom: 16px; z-index: 95; width: 340px; max-width: calc(100vw - 32px);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--gold-deep); border-radius: 16px; box-shadow: var(--shadow), 0 0 34px rgba(182,126,52,.25);
  display: none; flex-direction: column; overflow: hidden;
}
#concierge.open { display: flex; animation: modalin .22s ease; }
.cg-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-weight: 800; border-bottom: 1px solid var(--line); background: rgba(252,213,63,.06); }
.cg-body { padding: 12px; overflow-y: auto; max-height: 320px; display: flex; flex-direction: column; gap: 8px; }
.cg-msg { padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; max-width: 88%; }
.cg-msg.bot { background: var(--bg2); border: 1px solid var(--line); align-self: flex-start; }
.cg-msg.user { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #191204; align-self: flex-end; font-weight: 600; }
.cg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.cg-chip { background: var(--bg2); border: 1px solid var(--line); color: var(--gold-soft); border-radius: 99px; padding: 5px 11px; font-size: 12px; cursor: pointer; }
.cg-chip:hover { border-color: var(--gold); }
.cg-input { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }
.cg-input .btn { min-width: 44px; }

/* trust + guarantee badges */
.guarantees { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px; }
.gbadge {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font-size: 12.5px; color: var(--muted);
}
.gbadge b { color: var(--text); display: block; font-size: 13px; }
.gbadge .ico { font-size: 22px; filter: drop-shadow(0 0 8px rgba(252,213,63,.4)); }

/* ================= MOBILE POLISH ================= */
@media (max-width: 700px) {
  /* compact two-row header */
  .site-inner { flex-wrap: wrap; gap: 8px 10px; padding: 8px 0; justify-content: center; }
  .logo img { height: 34px; }
  .logo .word b { font-size: 13px; letter-spacing: 1px; }
  .logo .live-tag { font-size: 9px; padding: 2px 6px; }
  nav.main { gap: 12px; font-size: 12.5px; margin-left: 0; order: 3; width: 100%; justify-content: center; }
  .spacer { display: none; }
  .phone-cta { font-size: 12.5px; }
  #auth-slot .btn { padding: 7px 11px; font-size: 12.5px; }
  .ticker { font-size: 11.5px; padding: 4px 0; }

  /* hero + stats */
  .hero { padding: 26px 0 16px; }
  .hero p.sub { font-size: 14px; }
  .stats { gap: 8px; }
  .stat { min-width: calc(50% - 12px); padding: 10px 8px; }
  .stat b { font-size: 20px; }
  .guarantees { gap: 8px; }
  .gbadge { min-width: 100%; }

  /* grid + cards */
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card h3 { font-size: 13px; min-height: 2.8em; }
  .card .body { padding: 9px 10px 10px; gap: 6px; }
  .card .cur b { font-size: 17px; }
  .card .bn b { font-size: 12.5px; }
  .card .meta { font-size: 11px; }
  .card .timer-strip { font-size: 12px; padding: 4px 8px; }
  .card .actions .btn { padding: 8px 6px; font-size: 12.5px; }
  .badge { font-size: 9.5px; padding: 3px 7px; }
  .endday { font-size: 8.5px; padding: 2px 6px; }
  .toolbar input[type=search] { max-width: none; flex: 1; }

  /* vehicle detail */
  .detail { padding: 14px 0 40px; gap: 16px; }
  .vtitle { font-size: 19px; }
  .bigtimer .t { font-size: 32px; }
  .curbid .amt { font-size: 25px; }
  .panel { padding: 15px; }
  .thumbs { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .thumbs img { flex: 0 0 76px; width: 76px; }
  .quickbids .btn { padding: 9px 4px; font-size: 12.5px; }
  .calc .monthly .m { font-size: 32px; }

  /* contact dock — compact icon bar, out of the way */
  #contact-dock { flex-direction: row; left: 10px; bottom: 10px; gap: 6px; }
  .dock-btn { padding: 9px 11px; font-size: 16px; }
  .dock-btn span { display: none; }
  .dock-btn.gold span { display: inline; font-size: 12px; }
  #concierge { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; }
  .cg-body { max-height: 46vh; }

  /* admin tables scroll instead of breaking layout */
  table.adm { display: block; overflow-x: auto; white-space: nowrap; }

  /* footer above the dock */
  footer.site { padding-bottom: 80px; font-size: 12px; }
  .modal { padding: 20px 16px; }
}

/* Carvana-style wizard */
.wizsteps { display: flex; gap: 6px; margin: 14px 0 18px; }
.wizsteps .ws { flex: 1; height: 5px; border-radius: 99px; background: var(--line); transition: background .3s; }
.wizsteps .ws.on { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); box-shadow: 0 0 10px rgba(252,213,63,.5); }
.wizpage { display: none; }
.wizpage.on { display: block; animation: modalin .25s ease; }
.wiznav { display: flex; gap: 10px; margin-top: 16px; }
.wiznav .btn { flex: 1; }
.modal.wide { max-width: 520px; }

