/* ============================================================================
   Live Auctions add-on — styles.
   Every colour comes from the marketplace theme tokens, so the add-on follows
   all 19 themes (dark, OLED, Halloween, high contrast…). No fixed page colours.
   ========================================================================== */

.auc-wrap { max-width: none; }

/* ---------- headings ---------- */
.auc-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.auc-title h1 { font-size: 27px; letter-spacing: -0.02em; }
.auc-sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 4px; max-width: 720px; }
.auc-sub b { color: var(--text); font-weight: 700; }
.auc-tz { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.auc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 10px; flex-wrap: wrap; }
.auc-section-head h2 { font-size: 17px; letter-spacing: -0.01em; }
.auc-muted { color: var(--muted); }
.auc-small { font-size: 12.5px; line-height: 1.5; }
.auc-empty { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

/* ---------- day strip ---------- */
.auc-daystrip { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 20px; }
.auc-day { width: 96px; padding: 8px 6px 7px; text-align: center; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  display: flex; flex-direction: column; gap: 1px; }
.auc-day b { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.auc-day span { font-size: 19px; font-weight: 800; line-height: 1.1; }
.auc-day small { font-size: 10.5px; font-weight: 600; color: var(--muted); min-height: 13px; }
.auc-day:hover { border-color: var(--primary); }
.auc-day.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.auc-day.on small { color: rgba(255,255,255,.85); }
.auc-day.off { opacity: .78; }
    .auc-day.off small { color: #33455c; }
.auc-daystrip-sm .auc-day { width: 82px; }

/* ---------- live hero ---------- */
.auc-hero { display: grid; grid-template-columns: 330px minmax(0,1fr); background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.auc-hero-media { position: relative; background: rgba(0,0,0,.35); min-height: 250px; }
.auc-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auc-hero-noimg { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 200px;
  font-size: 54px; background: rgba(127,127,127,.12); }
.auc-hero-live { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .09em;
  padding: 5px 10px; border-radius: 999px; }
.auc-hero-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.auc-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auc-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.auc-watch { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.auc-hero-body h2 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.auc-seller { font-size: 13px; color: var(--muted); }
.auc-seller b { color: var(--text); }
.auc-hero-stats { display: flex; gap: 34px; margin: 10px 0 4px; flex-wrap: wrap; }
.auc-hero-stats > div { display: flex; flex-direction: column; gap: 1px; }
.auc-stat-label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.auc-stat-big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.auc-stat-mid { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.25; }
.auc-count { color: var(--primary); }
.auc-hero-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.auc-note { font-size: 12.5px; color: var(--muted); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

/* ---------- schedule list ---------- */
.auc-list { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.auc-row { display: grid; grid-template-columns: 150px 96px minmax(0,1fr) 190px 150px; align-items: center;
  gap: 14px; padding: 11px 16px; border-top: 1px solid var(--border); }
.auc-row:first-child { border-top: 0; }
.auc-row.is-live { background: rgba(242,101,34,.07); box-shadow: inset 3px 0 0 var(--primary); }
.auc-time { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.auc-time small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.auc-item b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.auc-item span { font-size: 12.5px; color: var(--muted); }
.auc-open-txt { font-size: 13px; font-style: italic; }
.auc-money { text-align: right; }
.auc-price { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.auc-muted.auc-price { font-weight: 600; }
.auc-extra { font-size: 11.5px; color: var(--muted); }
.auc-act { text-align: right; }
.auc-link { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; background: none; border: 0; cursor: pointer; }
.auc-link:hover { text-decoration: underline; }
.auc-link.muted { color: var(--muted); font-weight: 600; }
.auc-link.danger { color: var(--red); }
.auc-btnlink { padding: 0; font-family: inherit; }
.auc-you { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.chip-live { background: var(--red); color: #fff; }
.chip-next { background: rgba(242,101,34,.14); color: var(--primary); }
.chip-ended { background: rgba(127,127,127,.20); color: var(--text); opacity: .8; }
.chip-ext { background: rgba(242,101,34,.16); color: var(--primary); }
.chip-free { background: #1b8749; color: #fff; }
.chip-soon { background: rgba(49,162,76,.13); color: var(--green); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block;
  animation: aucpulse 1.5s ease-in-out infinite; }
@keyframes aucpulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- create band ---------- */
.auc-cta { display: flex; align-items: center; gap: 18px; margin: 22px 0 10px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: inset 3px 0 0 var(--primary); flex-wrap: wrap; }
.auc-cta-ico { font-size: 30px; line-height: 1; }
.auc-cta-txt { flex: 1; min-width: 220px; }
.auc-cta-txt h3 { font-size: 17px; margin-bottom: 3px; }
.auc-cta-txt p { font-size: 13.5px; color: var(--muted); line-height: 1.5; max-width: 720px; }

/* ---------- room ---------- */
.auc-crumb { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.auc-crumb a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.auc-crumb a:hover { text-decoration-thickness: 2px; }
.auc-crumb span { margin: 0 6px; opacity: .6; }
.auc-room-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; }
.auc-photo { position: relative; background: rgba(0,0,0,.35); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); }
.auc-photo img { width: 100%; max-height: 430px; object-fit: cover; display: block; }
.auc-photo .auc-hero-noimg { min-height: 300px; }
.auc-photo-tag { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; }
.auc-room-title { font-size: 25px; letter-spacing: -0.02em; margin: 16px 0 8px; line-height: 1.25; }
.auc-room-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12.5px;
  font-weight: 600; color: var(--muted); }
.auc-block { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-top: 16px; }
.auc-block h3 { font-size: 15px; margin-bottom: 8px; }
.auc-block p { font-size: 14px; line-height: 1.6; color: var(--text); }
.auc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 14px; }
.auc-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.auc-facts dd { font-size: 13.5px; font-weight: 600; }
.auc-seller-card { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.auc-seller-card b { display: block; font-size: 14.5px; }
.auc-seller-card span { font-size: 12.5px; color: var(--muted); }
.auc-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: 0 0 auto; }
.auc-how ul { margin: 6px 0 0 18px; }
.auc-how li { font-size: 13.5px; line-height: 1.6; color: var(--text); margin-bottom: 5px; }

/* ---------- bid card ---------- */
.auc-room-side { position: sticky; top: 16px; }
.bid-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 18px 16px; box-shadow: var(--shadow); }
.bid-head { display: flex; align-items: center; justify-content: space-between; }
.bid-clock-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bid-clock { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  color: var(--primary); line-height: 1.1; margin-top: 4px; }
.bid-bar { height: 5px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; margin: 8px 0 16px; }
.bid-bar span { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--red)); }
.bid-now { padding: 12px 0 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bid-now .auc-muted { font-size: 12.5px; }
.bid-amt { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 1px 0 2px; }
.bid-form { padding-top: 14px; }
.bid-form label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.bid-input { display: flex; align-items: center; gap: 8px; }
.bid-cur { font-weight: 800; color: var(--muted); }
.bid-input input { flex: 1; min-width: 0; padding: 10px 12px; font-size: 17px; font-weight: 700;
  border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: var(--text);
  font-variant-numeric: tabular-nums; }
.bid-input input:focus { outline: none; border-color: var(--primary); }
.bid-input .btn { padding: 11px 16px; }
.bid-fine { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-top: 8px; }
.bid-fine.is-good { color: var(--green); font-weight: 700; }
.bid-fine.is-bad { color: var(--red); font-weight: 700; }
.bid-quick { display: flex; gap: 6px; margin-top: 10px; }
.bid-quick button { flex: 1; padding: 7px 0; font-size: 12.5px; font-weight: 700; cursor: pointer;
  background: transparent; color: var(--primary); border: 1px solid var(--border); border-radius: 8px; }
.bid-quick button:hover { border-color: var(--primary); background: rgba(242,101,34,.07); }
.bid-history { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 12px; }
.bid-history-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.bid-row { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 6px 0;
  border-top: 1px dashed rgba(127,127,127,.25); font-size: 13px; }
.bid-row:first-of-type { border-top: 0; }
.bid-row b { font-variant-numeric: tabular-nums; }
.bid-row small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }

/* ---------- create page ---------- */
.auc-steps { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.auc-step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px 7px 7px; }
.auc-step span { width: 22px; height: 22px; border-radius: 50%; background: rgba(127,127,127,.18);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.auc-step.on { color: var(--text); border-color: var(--primary); }
.auc-step.on span { background: var(--primary); color: #fff; }
.auc-create-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; align-items: start; margin-top: 6px; }
.auc-create-h { font-size: 24px; letter-spacing: -0.02em; }
.slot-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px 18px; }
.slot-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }
.slot-head b { font-size: 15px; }
.slot-head span { font-size: 12.5px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.slot { border: 1px solid var(--border); background: var(--bg); border-radius: 10px; padding: 11px 12px;
  display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--text); }
.slot b { font-size: 13.5px; font-weight: 700; }
.slot span { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.slot span.slot-note { display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.slot-note.ok { background: #1b8749; color: #fff; }
.slot-note.late { background: #b02a37; color: #fff; }
.slot-note.booked { background: rgba(127,127,127,.18); color: var(--muted); }
.slot-note.live { background: #b02a37; color: #fff; }
.slot.open:hover { border-color: var(--primary); background: rgba(242,101,34,.06); }
/* no opacity on the tile: it would wash the status pill's red/green out */
.slot.taken b, .slot.live b { color: var(--muted); }
.slot.taken { background: var(--bg); }
.slot.live { border-style: dashed; }
.auc-hint { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
/* field labels are uppercase/bold; the hint under them is normal prose */
.auc-field .auc-hint { text-transform: none; letter-spacing: normal; font-weight: 400; margin-top: 2px; }
.auc-rules { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.auc-rules h2 { font-size: 15px; margin-bottom: 8px; }
.auc-rules ul { margin: 0 0 0 16px; }
.auc-rules li { font-size: 13px; line-height: 1.55; color: var(--muted); margin-bottom: 8px; }
.auc-rules li b { color: var(--text); }
.auc-rules-note { background: rgba(242,101,34,.08); border-radius: 8px; padding: 10px 12px;
  font-size: 12px; line-height: 1.5; color: var(--text); }
.auc-rules-note a { color: var(--text); font-weight: 700; text-decoration: underline; }
.auc-rules-note a:hover { color: var(--primary, #1e3a5f); text-decoration: none; }

/* Seller guidance beside the price field: the starting price is the floor. */
.auc-callout { background: rgba(242,101,34,.08); border-left: 3px solid var(--primary, #f26522);
  border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.55; color: var(--text); }
.auc-callout b { display: block; margin-bottom: 3px; }

/* ---------- forms ---------- */
.auc-form { background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.auc-field { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.auc-field input, .auc-field textarea, .auc-field select { padding: 10px 12px; font-size: 14px; font-weight: 500;
  color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
  font-family: inherit; text-transform: none; letter-spacing: 0; }
.auc-field textarea { resize: vertical; min-height: 110px; }
.auc-field input:focus, .auc-field textarea:focus, .auc-field select:focus { outline: none; border-color: var(--primary); }
.auc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auc-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.auc-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auc-btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--muted); text-decoration: none;
  border-radius: 10px; padding: 10px 16px; font-size: 13.5px; font-weight: 700; display: inline-block; }
.auc-btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- admin ---------- */
.auc-admin { max-width: none; }
.auc-addon-tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text); background: rgba(127,127,127,.14); border-radius: 999px; padding: 4px 9px; vertical-align: 4px; }
.auc-admin .adm-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 18px 0; }
.adm-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 1px; }
.adm-stat span { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.adm-stat b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.adm-stat b em { font-style: normal; font-size: 15px; color: var(--muted); font-weight: 700; }
.adm-stat small { font-size: 11.5px; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.adm-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 16px; overflow: hidden; }
.adm-card-head { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 18px;
  border-bottom: 1px solid var(--border); gap: 12px; }
.adm-card-head h2 { font-size: 15px; }
.adm-daypick input { padding: 6px 9px; font-size: 13px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text); }
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th { text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 9px 18px; background: rgba(127,127,127,.06); }
.adm-table td { padding: 10px 18px; font-size: 13px; border-top: 1px solid var(--border); vertical-align: middle; }
.adm-table tr.is-live td { background: rgba(242,101,34,.06); }
.adm-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.adm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-form { padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adm-form label, .adm-field { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.adm-form input, .adm-form select, .adm-field input { padding: 9px 10px; font-size: 13.5px; font-weight: 600;
  color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; font-family: inherit; }
.adm-form .btn { grid-column: 1 / -1; }
.adm-form .auc-hint { grid-column: 1 / -1; margin-top: 0; }
.adm-set { padding: 0 18px; }
.adm-set > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0;
  border-top: 1px solid var(--border); font-size: 13px; }
.adm-set > div:first-child { border-top: 0; }
.adm-set span { color: var(--muted); }
.adm-set b { font-weight: 700; }
.adm-set-form { padding: 6px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.adm-check { flex-direction: row; align-items: center; text-transform: none; letter-spacing: 0; font-size: 13px; }
.adm-set-form .btn { align-self: flex-start; }

/* ---------- site-wide popup ---------- */
.auc-pop { position: fixed; z-index: 320; right: 24px; bottom: 24px; width: 400px;
  max-width: calc(100vw - 32px); background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.42); }
.auc-pop[hidden] { display: none; }
.auc-pop-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 0 16px; }
.auc-pop-x { background: none; border: 0; font-size: 15px; color: var(--muted); cursor: pointer;
  padding: 4px 6px; border-radius: 6px; line-height: 1; }
.auc-pop-x:hover { background: rgba(127,127,127,.14); }
.auc-pop-body { display: flex; gap: 13px; padding: 12px 16px 14px; }
.auc-pop-img { width: 86px; height: 86px; border-radius: 10px; flex: 0 0 auto;
  background-size: cover; background-position: center; background-color: rgba(127,127,127,.15); }
.auc-pop-img[hidden] { display: none; }
.auc-pop-txt { min-width: 0; }
.auc-pop h3 { font-size: 16px; line-height: 1.25; margin-bottom: 2px; }
.auc-pop-body p { font-size: 12px; line-height: 1.45; color: var(--text); }
.auc-pop-stat { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; margin-top: 6px; }
.auc-pop-stat span { color: var(--muted); }
.auc-pop-stat b { font-variant-numeric: tabular-nums; }
.auc-pop-stat[hidden] { display: none; }
.auc-pop-foot { display: flex; gap: 8px; padding: 0 16px 16px; }
.auc-pop-foot .btn { flex: 1; text-align: center; }
.auc-pop-ghost { flex: 1; background: transparent; border: 1px solid var(--border); color: var(--muted);
  border-radius: 10px; padding: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; }
.auc-pop-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .auc-room-grid, .auc-create-grid { grid-template-columns: minmax(0,1fr); }
  .auc-room-side { position: static; }
  .auc-row { grid-template-columns: 120px 90px minmax(0,1fr) 120px; }
  .auc-act { display: none; }
}
/* Phones: the schedule row becomes two lines — hour + status, then the item
   and its money — instead of four columns squeezed into 334px. */
@media (max-width: 640px) {
  .auc-row { grid-template-columns: 1fr auto; grid-template-areas: "time chip" "item money";
    row-gap: 4px; column-gap: 10px; padding: 12px 14px; }
  .auc-row > .auc-time { grid-area: time; }
  .auc-row > div:nth-child(2) { grid-area: chip; justify-self: end; align-self: center; }
  .auc-item { grid-area: item; }
  .auc-money { grid-area: money; align-self: center; }
  .auc-item b { font-size: 14px; }
  .auc-title h1 { font-size: 23px; }
  .auc-hero-body h2 { font-size: 19px; }
  .auc-hero-stats { gap: 22px; }
  .auc-stat-big { font-size: 26px; }
  .auc-day { width: 74px; }
  .auc-daystrip-sm .auc-day { width: 64px; }
  .slot-grid { grid-template-columns: 1fr; }
  .auc-photo img { max-height: 300px; }
  .auc-room-title { font-size: 20px; }
  .bid-card { padding: 16px 14px; }
  .bid-input { flex-wrap: wrap; }
  .bid-input input { flex: 1 1 100%; }
  .bid-input .btn { flex: 1 1 100%; text-align: center; }
  .auc-facts { grid-template-columns: 1fr; }
  .adm-table th, .adm-table td { padding: 8px 10px; font-size: 12px; }
  .adm-form { grid-template-columns: 1fr; }
  .auc-admin .adm-stats { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .auc-hero { grid-template-columns: 1fr; }
  .auc-hero-media { min-height: 200px; max-height: 220px; }
  .auc-admin .adm-stats { grid-template-columns: 1fr 1fr; }
  .adm-two { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: 1fr 1fr; }
  .auc-two { grid-template-columns: 1fr; }
  .auc-room-title { font-size: 21px; }
  .bid-amt { font-size: 32px; }
  .auc-pop { right: 12px; left: 12px; bottom: 12px; width: auto; }
}

/* ---------- wide screens: use the whole width the page gives us ---------- */
@media (min-width: 1200px) {
  .auc-hero { grid-template-columns: minmax(300px, 24%) minmax(0,1fr); }
  .auc-hero-body { padding: 22px 26px 24px; gap: 9px; }
  .auc-hero-body h2 { font-size: 26px; }
  .auc-hero-stats { gap: 44px; }
  .auc-stat-big { font-size: 34px; }
  .auc-room-grid { grid-template-columns: minmax(0,1fr) minmax(340px, 400px); gap: 28px; }
  .auc-photo img { max-height: 560px; }
  .auc-create-grid { grid-template-columns: minmax(0,1fr) 360px; gap: 28px; }
  .auc-admin .adm-stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
  /* a single 1200px-wide text input is unreadable; split the form into two
     field columns on big screens instead of stretching each one */
  .adm-form { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .adm-field input { max-width: 260px; }
}

@media (min-width: 1400px) {
  .auc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .auc-field-wide { grid-column: 1 / -1; }
  .auc-form .auc-two { display: contents; }   /* let the field pairs join the form grid */
  .auc-form .auc-callout,
  .auc-form .auc-check,
  .auc-form .auc-form-actions { grid-column: 1 / -1; }
}

/* 12 one-hour rows in a single 1600px ribbon reads as empty; two across keeps
   the same anatomy per row and fills the width. */
@media (min-width: 1560px) {
  .auc-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px;
    background: none; border: 0; border-radius: 0; overflow: visible; }
  .auc-row { background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    grid-template-columns: 138px 82px minmax(0,1fr) 124px 128px; padding: 12px 16px; }
  .auc-row:first-child { border-top: 1px solid var(--border); }
  .auc-row.is-live { box-shadow: inset 3px 0 0 var(--primary); }
}

/* ---- closed auction handoff (winner <-> seller) ---- */
.auc-handoff { margin: 10px 0 8px; padding: 11px 13px; font-size: 12.5px; line-height: 1.5;
  background: rgba(242,101,34,.08); border-left: 3px solid var(--primary); border-radius: 8px; color: var(--text); }
.auc-handoff b { display: block; font-size: 13px; margin-bottom: 2px; }
.auc-msg-btn { display: block; text-align: center; padding: 11px 14px; font-size: 14px; border-radius: 10px; }

/* ---------- welcome / front door (welcome.php) ---------- */
.auc-welcome-head { margin-bottom: 18px; text-align: center; }
.auc-welcome-head h1 { font-size: 29px; letter-spacing: -.02em; }
.auc-welcome-head p { margin: 12px auto 0; color: var(--text); font-weight: 700; font-size: 14.5px;
  line-height: 1.55; max-width: 900px;
  /* light tan box, same tint as the "last five minutes" note */
  background: rgba(200, 168, 118, .20); border-radius: 12px; padding: 13px 20px; }


.auc-live-card { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--border); border-left: 4px solid var(--red);
  border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.auc-live-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; color: var(--red); margin-bottom: 8px; }
.auc-live-body { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.auc-live-item { flex: 1 1 320px; min-width: 0; }
.auc-live-item b { display: block; font-size: 16px; }
.auc-live-item span { font-size: 12.5px; color: var(--muted); }
.auc-live-thumb { flex: 0 0 132px; width: 132px; height: 132px; border-radius: 10px; overflow: hidden;
  background: rgba(127,127,127,.10); display: block; }
.auc-live-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auc-live-desc { margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: var(--text); }
.auc-live-money { text-align: right; }
.auc-live-money .auc-price { font-size: 19px; font-weight: 800; }
.auc-live-money .auc-extra { font-size: 12px; color: var(--muted); }

.auc-week { display: flex; flex-direction: column; gap: 14px; }
.auc-wday { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.auc-wday-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 14px;
  background: rgba(127,127,127,.07); border-bottom: 1px solid var(--border); }
.auc-wday-head b { font-size: 13.5px; }
.auc-up { display: grid; grid-template-columns: 122px minmax(0,1fr) 190px; gap: 16px; align-items: center;
  padding: 11px 14px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--border); }
.auc-up:last-child { border-bottom: 0; }
.auc-up:hover { background: rgba(127,127,127,.07); }
.auc-up-time b { display: block; font-size: 14px; font-weight: 800; }
.auc-up-time small { display: block; font-size: 11.5px; color: var(--muted); }
.auc-up-item b { display: block; font-size: 14.5px; }
.auc-up-item .auc-small, .auc-up-money .auc-small { color: var(--muted); }
.auc-up-money { text-align: right; }
.auc-up-money b { display: block; font-size: 14px; }
.auc-up-money .chip { margin-top: 5px; }
@media (max-width: 760px) {
  .auc-up { grid-template-columns: 1fr auto; grid-template-areas: "time money" "item item"; gap: 6px 12px; }
  .auc-up-time { grid-area: time; }
  .auc-up-item { grid-area: item; } .auc-up-money { grid-area: money; text-align: right; }
}
.auc-week-note { margin-top: 8px; }

.auc-empty-card { margin: 6px 0 8px; padding: 28px 22px; text-align: center; border: 1px dashed var(--border);
  border-radius: 14px; background: var(--surface); }
.auc-empty-icon { font-size: 34px; line-height: 1; }
.auc-empty-card h3 { font-size: 18px; margin: 10px 0 6px; }
.auc-empty-card p { color: var(--muted); font-size: 13.5px; line-height: 1.55; max-width: 620px; margin: 0 auto 14px; }
.auc-empty-acts { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }

.auc-guide { margin-top: 34px; padding: 24px 26px 22px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 16px; }
.auc-guide.is-flash { outline: 3px solid var(--primary); outline-offset: 6px; border-radius: 16px;
  animation: auc-flash 1.8s ease-out 1; }
@keyframes auc-flash {
  0%   { outline-color: var(--primary); background: rgba(127,127,127,.10); }
  100% { outline-color: transparent;      background: transparent; }
}
.auc-guide h2 { font-size: 21px; letter-spacing: -.01em; }
.auc-guide-lead { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 5px 0 22px; }

.auc-guide-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; position: relative; }
.auc-guide-steps::before { content: ""; position: absolute; left: 15px; right: 15px; top: 14px; height: 2px;
  background: var(--border); }
@media (max-width: 1100px) { .auc-guide-steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 26px; }
  .auc-guide-steps::before { display: none; } }
@media (max-width: 620px) { .auc-guide-steps { grid-template-columns: 1fr; row-gap: 22px; } }
.auc-guide-step { position: relative; z-index: 1; }
.auc-guide-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 0 0 5px var(--surface); }
.auc-guide-step h3 { font-size: 15px; letter-spacing: -.01em; margin: 13px 0 6px; }
.auc-guide-step p { font-size: 13px; line-height: 1.6; color: var(--muted); }

.auc-guide-notes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .auc-guide-notes { grid-template-columns: 1fr; gap: 14px; } }
.auc-guide-notes h4 { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px; }
.auc-guide-notes p { font-size: 13px; line-height: 1.6; }



/* ---------- my auctions ---------- */
.auc-title-cta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bid-rule { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.bid-rule b { color: var(--text); font-weight: 700; }
.auc-mine { display: grid; gap: 16px; margin-top: 16px; }
.auc-mine-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.auc-mine-card h2 { font-size: 15px; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.auc-mine-count { font-size: 11px; font-weight: 800; color: var(--muted); background: rgba(127,127,127,.16);
  border-radius: 999px; padding: 1px 8px; }
.auc-mine-row { display: grid; grid-template-columns: 118px minmax(0,1fr) auto; gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--border); }
.auc-mine-row:first-of-type { border-top: 0; }
.auc-mine-row .t { font-weight: 800; font-size: 13.5px; }
.auc-mine-row .t small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.auc-mine-title { font-weight: 700; color: var(--text); text-decoration: none; }
.auc-mine-title:hover { color: var(--primary); }
.auc-mine-row .m { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
  color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.auc-mine-actions { display: flex; gap: 8px; align-items: center; }
.auc-mine-actions form { margin: 0; }
.auc-cancel { background: transparent; border-color: rgba(192,57,43,.45); color: var(--red); }
.auc-cancel:hover { background: rgba(192,57,43,.10); }
.auc-note.ok, .auc-note.bad { border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-top: 12px; }
.auc-note.ok { background: rgba(49,162,76,.12); color: var(--text); border-left: 3px solid var(--green); }
.auc-note.bad { background: rgba(192,57,43,.12); color: var(--text); border-left: 3px solid var(--red); }
.auc-mine-cta { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .auc-mine-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- admin approval queue ---------- */
.adm-pending { border: 1px solid rgba(242,101,34,.35); }
.adm-count { font-size: 11px; font-weight: 800; color: #fff; background: #f26522; border-radius: 999px;
  padding: 1px 8px; margin-left: 6px; vertical-align: 1px; }
.adm-pending-row { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: 14px; align-items: center;
  padding: 12px 18px; border-top: 1px solid var(--border); }
.adm-pending-row:first-of-type { border-top: 0; }
.adm-pending-when b { display: block; font-size: 13px; }
.adm-pending-when span { font-size: 12px; color: var(--muted); }
.adm-pending-item b { font-size: 14px; }
.adm-pending-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.adm-pending-desc { color: var(--muted); }
.adm-pending-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.adm-pending-act form { margin: 0; }
.adm-pending-act input[type=text] { width: 170px; padding: 7px 9px; font-size: 12.5px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
@media (max-width: 760px) { .adm-pending-row { grid-template-columns: 1fr; } }

/* ---------- terms ---------- */
.auc-terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.auc-terms-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.auc-terms-card h2 { font-size: 14.5px; margin: 0 0 8px; }
.auc-terms-card p, .auc-terms-card li { font-size: 13.5px; line-height: 1.6; color: var(--text); }
.auc-terms-card p { margin: 0; }
.auc-terms-card ul { margin: 0; padding-left: 18px; }
.auc-terms-card li { margin-bottom: 6px; }
@media (max-width: 860px) { .auc-terms-grid { grid-template-columns: 1fr; } }

/* ---------- the "last five minutes" note, highlighted ---------- */
.auc-guide-notes .note-tan { background: rgba(200,168,118,.20); border-radius: 12px; padding: 12px 14px;
  margin: -4px -6px 0; }
.auc-guide-notes .note-tan h4 { color: var(--text); }
.auc-guide-notes .note-tan p { font-weight: 700; color: var(--text); }

@media (max-width: 700px) {
  .auc-live-thumb { flex: 0 0 100%; width: 100%; height: 190px; }
  .auc-live-money { text-align: left; }
}


/* ---------- home live strip: an auction taking bids right now ---------- */
.auc-strip { display: flex; align-items: center; gap: 16px; margin: 2px 0 16px; padding: 13px 16px;
  border: 1px solid #2b4c74; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(100deg, #1e3a5f, #18314f 55%, #24466c);
  box-shadow: 0 10px 26px rgba(30,58,95,.20); color: #fff; text-decoration: none; }
.auc-strip:hover { text-decoration: none; color: #fff; box-shadow: 0 14px 32px rgba(30,58,95,.28); }
.auc-strip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #f26522, #c9a84c); }
.auc-strip img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.auc-strip-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.auc-strip-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #ffd7a3; }
.auc-strip-dot { width: 8px; height: 8px; border-radius: 50%; background: #f26522;
  box-shadow: 0 0 0 0 rgba(242,101,34,.65); animation: aucStripPulse 1.8s infinite; }
@keyframes aucStripPulse {
  0% { box-shadow: 0 0 0 0 rgba(242,101,34,.65); }
  70% { box-shadow: 0 0 0 10px rgba(242,101,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,101,34,0); }
}
.auc-strip-name { font-size: 18px; font-weight: 800; color: #fff; margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auc-strip-meta { font-size: 12.5px; color: #b9c8db; margin-top: 2px; }
.auc-strip-meta b { color: #fff; }
.auc-strip-cta { flex: 0 0 auto; background: linear-gradient(135deg, #c9a84c, #b8933c); color: #1a1206;
  font-weight: 800; font-size: 13.5px; padding: 11px 18px; border-radius: 10px; text-align: center;
  box-shadow: 0 6px 16px rgba(201,168,76,.35); }
@media (max-width: 560px) {
  .auc-strip { flex-wrap: wrap; gap: 11px; padding: 12px 13px; }
  .auc-strip img { width: 54px; height: 54px; }
  .auc-strip-txt { flex: 1 1 60%; }
  .auc-strip-name { font-size: 15.5px; white-space: normal; line-height: 1.25; }
  .auc-strip-meta { font-size: 12px; }
  .auc-strip-cta { flex: 1 1 100%; padding: 10px 12px; }
}
