/* Dream Lands — bids widget (detail sheet + reels panels) */

.bids-mount { margin: 0 0 1.25rem; }

.bids-box {
  background: var(--card-bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.bids-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .6rem;
}

.bids-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
}

.bids-count-pill {
  font-size: .72rem;
  font-weight: 700;
  color: var(--green-light);
  background: rgba(76, 175, 80, .12);
  border: 1px solid rgba(76, 175, 80, .25);
  border-radius: 999px;
  padding: .2rem .55rem;
  white-space: nowrap;
}

.bids-range-hint {
  font-size: .75rem;
  color: var(--muted);
  margin: .4rem 0 .75rem;
  line-height: 1.4;
}

/* ── stats (logged in) ── */
.bids-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: .25rem;
}

.bid-stat {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .55rem .4rem;
  text-align: center;
}

.bid-stat label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  margin-bottom: .2rem;
}

.bid-stat span {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}

.bids-empty {
  font-size: .82rem;
  color: var(--muted);
  margin: 0 0 .25rem;
}

.bids-yours {
  font-size: .8rem;
  color: var(--muted);
  margin: .6rem 0 0;
}
.bids-yours b { color: var(--green-light); }

/* ── bid form ── */
.bids-form { margin-top: .75rem; }

.bids-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bids-input-prefix {
  position: absolute;
  left: .7rem;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}

.bids-input {
  width: 100%;
  padding: .6rem .7rem .6rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
}
.bids-input:focus {
  outline: none;
  border-color: var(--green-light);
}

.bids-err {
  font-size: .75rem;
  color: #ff6b6b;
  margin: .4rem 0 0;
  min-height: 0;
}
.bids-err:empty { margin: 0; }

/* ── buttons ── */
.bids-cta,
.bids-submit {
  display: block;
  width: 100%;
  margin-top: .75rem;
  padding: .7rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.bids-cta:hover,
.bids-submit:hover { background: var(--green-light); }
.bids-submit:disabled { opacity: .6; cursor: default; }

/* ── loading skeleton ── */
.bids-skel {
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--card-bg) 25%, rgba(255,255,255,.05) 50%, var(--card-bg) 75%);
  background-size: 200% 100%;
  animation: bids-shimmer 1.2s infinite;
}
@keyframes bids-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── toast ── */
.dl-bid-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(1rem);
  background: var(--green);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 10000;
}
.dl-bid-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
