.liveShell {
  max-width: var(--container);
  margin: 28px auto;
  padding: 16px var(--gutter);
}
.liveTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.liveBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--danger-soft);
  color: var(--btn-danger-text);
  border-radius: var(--radius-pill);
  padding: 7px 10px;
  font-weight: 900;
  font-size: var(--fs-sm);
}
.liveBadge.standard {
  background: var(--line);
  color: var(--ink);
}
.liveBadge.standard .liveDot {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(174, 136, 76, 0.12);
}
.liveDot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--live);
  box-shadow: 0 0 0 5px rgba(184, 50, 55, 0.12);
}
.arenaGrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.arenaGrid[hidden] {
  display: none;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-modal);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(74, 53, 25, 0.06);
}
.auctionTitle {
  font-size: var(--fs-2xl);
  margin: 0 0 5px;
}
.meta {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.priceBox {
  margin: 16px 0;
  background: var(--am-gradient-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  text-align: center;
}
.priceBox small {
  display: block;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.priceBox strong {
  display: block;
  font-size: 42px;
  color: var(--gold-dk);
  margin: 7px 0;
  font-weight: 900;
}
.priceBox span {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.timer div {
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-btn);
  padding: 12px;
  text-align: center;
}
.timer b {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 900;
}
.timer small {
  font-size: var(--fs-xs);
  color: var(--line-strong);
}
.bidOptions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.bidBtn {
  border: 1px solid var(--border-gold-soft);
  background: var(--surface-soft);
  color: var(--gold-dk);
  border-radius: var(--radius-card);
  padding: 15px;
  font-weight: 900;
  font-size: var(--fs-xl);
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.bidBtn:hover {
  background: var(--gold);
  color: var(--surface);
}
.confirm {
  margin-top: 12px;
  background: var(--badge-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  padding: 12px;
  font-size: var(--fs-sm);
  color: var(--gold-dk);
}
.bidHistory {
  display: grid;
  gap: 8px;
  max-height: 370px;
  overflow: auto;
}
.bidRow {
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.bidRow b {
  font-size: var(--fs-md);
}
.bidRow small {
  color: var(--muted);
}
.loginGate {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 22, 0.58);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.loginGate.open {
  display: flex;
}
.loginCard {
  max-width: 440px;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-modal);
  padding: 22px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-modal);
  margin: auto;
}
.loginCard h2 {
  margin: 0 0 8px;
}
.loginCard p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}
.loginCard a {
  display: block;
  margin-top: 12px;
  background: var(--gold);
  color: var(--surface);
  border-radius: var(--radius-btn);
  padding: 12px;
  text-decoration: none;
  font-weight: 900;
  transition: background 0.18s ease;
}
.loginCard a:hover {
  background: var(--gold-dk);
}
.auctionModeNote {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--gold-dk);
  background: var(--badge-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  padding: 8px 10px;
}
.liveListHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.liveListHead h1 {
  font-size: var(--fs-2xl);
  margin: 0 0 4px;
}
.liveListHead .meta {
  margin: 0;
}
.liveListRefresh {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--gold-dk);
  border-radius: var(--radius-btn);
  padding: 9px 16px;
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.liveListRefresh:hover {
  background: var(--surface-soft);
  border-color: var(--gold);
}
.liveGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.liveCard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.liveCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(74, 53, 25, 0.1);
}
.liveCardMedia {
  position: relative;
  height: 130px;
  background: var(--line);
}
.liveCardMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.liveCardIcon {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 30px;
  color: var(--surface);
}
.liveCardBadge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(184, 50, 55, 0.92);
  color: var(--surface);
  border-radius: var(--radius-pill);
  padding: 4px 9px;
  font-size: var(--fs-xs);
  font-weight: 900;
}
.liveCardBadge .liveDot {
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
}
.liveCardBody {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.liveCardBody h3 {
  font-size: var(--fs-md);
  margin: 0;
  font-weight: 800;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.liveCardLoc {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
}
.liveCardFoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.liveCardFoot b {
  font-size: var(--fs-lg);
  color: var(--gold-dk);
}
.liveCardFoot span {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1100px) {
  .liveGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .arenaGrid {
    grid-template-columns: 1fr;
  }
  .bidOptions {
    grid-template-columns: 1fr 1fr;
  }
  .timer {
    grid-template-columns: repeat(4, 1fr);
  }
  .liveGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .liveGrid {
    grid-template-columns: 1fr;
  }
}
.liveDot.paused {
  background: var(--gold-dk);
}
.bidBtn[aria-pressed="true"] {
  background: var(--btn-fill);
  border-color: var(--btn-fill);
  color: var(--btn-on-fill);
}
.bidEligibility {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px dashed var(--border-gold-soft);
  border-radius: var(--radius-btn);
  background: var(--badge-bg);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.8;
  color: var(--ink);
}
.bidEligibility a {
  color: var(--btn-fill-hover);
  text-decoration: underline;
}
.bidEligibility[hidden],
.bidFeedback[hidden] {
  display: none;
}
.bidCustom {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.bidCustom label {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink);
}
.bidCustomRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bidCustomRow input {
  flex: 1 1 160px;
  min-width: 0;
  direction: ltr;
  text-align: start;
}
.bidCustomRow button {
  flex: 1 1 200px;
}
.bidMin {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.bidFeedback {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--btn-danger-text);
  border-radius: var(--radius-btn);
  background: var(--danger-soft);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--btn-danger-text);
}
.bidFeedback-ok {
  border-color: var(--success);
  background: var(--success-soft);
  color: var(--ink);
}
