/* ============================================================================
   featured.css — the Featured Artist 25-slot auction (§212 Phase 3).
   Uses the brand.css :root tokens so it matches the rest of the product.
   ========================================================================== */

/* ---- live market header line (under the section title) ------------------- */
.dc-market {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  margin: 8px 0 0; font-size: .86rem; color: var(--text-dim);
}
.dc-market .dc-live b { color: var(--text); }
.dc-market .dc-dot { opacity: .5; }

/* ---- countdown badge on an occupied card --------------------------------- */
.dc-countdown {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  font-size: .68rem; font-weight: 800; letter-spacing: .02em;
  color: #ffd9c6; background: rgba(255, 107, 53, .16);
  border: 1px solid rgba(255, 107, 53, .45); border-radius: 999px;
  padding: 3px 9px; white-space: nowrap;
}

/* ---- an OPEN (unclaimed) slot -------------------------------------------- */
.dc-open-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; min-height: 232px;
  border-style: dashed; border-color: rgba(255, 107, 53, .38);
  background: linear-gradient(180deg, rgba(255, 107, 53, .05), transparent 60%);
}
.dc-open-slot:hover { border-color: var(--accent); transform: translateY(-3px); }
.dc-open-ico { font-size: 1.6rem; }
.dc-open-title { font-weight: 800; font-size: 1rem; }
.dc-open-sub { margin: 0; font-size: .8rem; max-width: 22ch; }
.dc-open-ask { font-size: .86rem; color: var(--text-dim); }
.dc-open-ask b { color: var(--accent-3); font-size: 1rem; }
.dc-open-slot .btn { margin-top: 10px; width: 100%; }

/* ---- auto-renew toggle on the winner's own slot --------------------------- */
.dc-card .dc-renew { margin-top: 14px; display: block; width: 100%; text-align: center; }

/* ---- bid sheet ------------------------------------------------------------ */
.bid-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.bid-modal.open { display: block; }
body.bid-open { overflow: hidden; }

.bid-backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(3px);
}

.bid-sheet {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 24px 22px 20px;
}

.bid-x {
  position: absolute; right: 12px; top: 10px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: transparent; color: var(--text-dim);
  font-size: 1.05rem; cursor: pointer; line-height: 1;
}
.bid-x:hover { background: var(--panel-2); color: var(--text); }

.bid-head { text-align: center; margin-bottom: 16px; }
.bid-title { margin: 8px 0 4px; font-size: 1.35rem; }
.bid-sub { margin: 0; color: var(--text-dim); font-size: .86rem; line-height: 1.45; }
.bid-sub b { color: var(--accent-3); }

.bid-label {
  display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-dim); margin: 14px 0 6px;
}
.bid-label .dim { text-transform: none; letter-spacing: 0; }

.bid-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bid-chip {
  padding: 12px 6px; border-radius: var(--radius); cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--border); color: var(--text);
  font-weight: 700; font-size: .95rem; transition: .15s ease; font-family: inherit;
}
.bid-chip:hover { border-color: var(--accent); }
.bid-chip.active { background: var(--accent); border-color: var(--accent); color: #1a0d05; }

.bid-custom { display: flex; align-items: center; gap: 8px; }
.bid-prefix { font-weight: 800; color: var(--accent-3); font-size: .9rem; }
.bid-input {
  width: 100%; padding: 11px 12px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  font-size: 1rem; font-family: inherit;
}
.bid-input:focus { outline: none; border-color: var(--accent-2); }
.bid-min { margin-top: 6px; font-size: .8rem; color: var(--text-dim); }
.bid-min b { color: var(--text); }
.bid-balance { margin-top: 4px; font-size: .8rem; color: var(--text-dim); }
.bid-balance b { color: var(--accent-3); }

.bid-toggle {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 0;
  font-size: .86rem; color: var(--text-dim); cursor: pointer;
}
.bid-toggle input { accent-color: var(--accent); width: 16px; height: 16px; }

.bid-preview {
  margin: 16px 0; padding: 12px 14px; border-radius: var(--radius);
  background: var(--panel-2); border: 1px solid var(--border); font-size: .9rem;
}
.bid-split { display: flex; flex-direction: column; gap: 4px; }
.bid-split b { color: var(--accent-3); }
.bid-warn { margin: 10px 0 0; font-size: .82rem; color: var(--danger); font-weight: 600; }

.bid-send { width: 100%; padding: 13px; font-size: 1rem; }
.bid-send:disabled { opacity: .55; cursor: not-allowed; }
.bid-fine { margin: 10px 0 0; font-size: .74rem; text-align: center; line-height: 1.4; }

@media (max-width: 560px) {
  .dc-open-slot { min-height: 200px; }
}
