:root {
  --black: #030303;
  --obsidian: #070707;
  --deep-black: #0c0905;
  --gold: #ffd56a;
  --gold-bright: #fff0a6;
  --gold-dark: #9b681c;
  --cyan: #66f4ff;
  --cyan-soft: rgba(102, 244, 255, 0.58);
  --magenta-soft: rgba(255, 72, 229, 0.24);
  --glass: rgba(13, 10, 5, 0.66);
  --artwork-ratio: 941 / 1672;
  --frame-width: min(100vw, 430px, calc(100svh * 941 / 1672));
  --frame-radius: 30px;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fuzzy-cycle: 4.44s;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--black);
  overflow-x: hidden;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--gold-bright);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 213, 106, 0.16), transparent 25rem),
    radial-gradient(circle at 50% 64%, rgba(102, 244, 255, 0.13), transparent 24rem),
    linear-gradient(180deg, #010101 0%, #0a0703 52%, #020202 100%);
}

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

.auction-stage {
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(0px, 1.8vh, 18px);
  isolation: isolate;
}

.auction-terminal {
  position: relative;
  width: var(--frame-width);
  aspect-ratio: var(--artwork-ratio);
  max-height: 100svh;
  overflow: hidden;
  border-radius: var(--frame-radius);
  border: 1px solid rgba(255, 213, 106, 0.72);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 224, 130, 0.16), transparent 12rem),
    radial-gradient(circle at 10% 33%, rgba(102, 244, 255, 0.13), transparent 12rem),
    radial-gradient(circle at 90% 70%, rgba(255, 72, 229, 0.12), transparent 11rem),
    linear-gradient(180deg, #100a03 0%, #060606 38%, #0c0804 100%);
  box-shadow:
    0 0 0 1px rgba(255, 240, 166, 0.16) inset,
    0 0 24px rgba(255, 213, 106, 0.44),
    0 0 46px rgba(102, 244, 255, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.82);
  animation: auctionFramePulse var(--fuzzy-cycle) ease-in-out infinite;
}

.auction-terminal::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--frame-radius) - 8px);
  border: 1px solid rgba(102, 244, 255, 0.18);
  box-shadow: 0 0 18px rgba(102, 244, 255, 0.18) inset;
  pointer-events: none;
  z-index: 20;
}

.auction-frame-effects {
  position: absolute;
  inset: 0;
  z-index: 21;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.auction-frame-effects::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 130, 0.72),
    inset 0 0 22px rgba(255, 224, 130, 0.14),
    0 0 18px rgba(255, 224, 130, 0.28),
    0 0 34px rgba(255, 77, 227, 0.12),
    0 0 42px rgba(102, 244, 255, 0.12);
  opacity: 0.82;
  animation: auctionFrameGlow var(--fuzzy-cycle) ease-in-out infinite;
}

.auction-frame-spark {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  border-radius: 999px;
  filter:
    drop-shadow(0 0 3px rgba(255, 244, 185, 0.58))
    drop-shadow(0 0 7px rgba(255, 213, 106, 0.28));
}

.auction-frame-spark--top,
.auction-frame-spark--bottom {
  width: 22%;
  height: 2px;
}

.auction-frame-spark--right,
.auction-frame-spark--left {
  width: 2px;
  height: 22%;
}

.auction-frame-spark--top {
  top: 0;
  left: 12%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 235, 0.56), rgba(255, 204, 80, 0.38), transparent);
  animation: sparkTop var(--fuzzy-cycle) linear infinite;
}

.auction-frame-spark--right {
  top: 12%;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 235, 0.56), rgba(255, 204, 80, 0.38), transparent);
  animation: sparkRight var(--fuzzy-cycle) linear infinite;
}

.auction-frame-spark--bottom {
  right: 12%;
  bottom: 0;
  background: linear-gradient(270deg, transparent, rgba(255, 255, 235, 0.56), rgba(255, 204, 80, 0.38), transparent);
  animation: sparkBottom var(--fuzzy-cycle) linear infinite;
}

.auction-frame-spark--left {
  bottom: 12%;
  left: 0;
  background: linear-gradient(0deg, transparent, rgba(255, 255, 235, 0.56), rgba(255, 204, 80, 0.38), transparent);
  animation: sparkLeft var(--fuzzy-cycle) linear infinite;
}

.auction-header {
  position: relative;
  z-index: 3;
  padding: 1rem 1rem 0.75rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18) 75%, transparent),
    radial-gradient(circle at 50% 0%, rgba(255, 213, 106, 0.18), transparent 12rem);
}

.return-shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.36rem 0.72rem;
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 999px;
  color: rgba(255, 236, 170, 0.95);
  background: rgba(0, 0, 0, 0.46);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 190, 0.18),
    0 0 13px rgba(255, 220, 115, 0.14);
}

.return-shop-link:active { transform: translateY(1px) scale(0.99); }

.auction-kicker,
.section-kicker {
  margin: 0;
  color: rgba(102, 244, 255, 0.88);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.24);
}

.auction-kicker { margin-top: 0.72rem; }

.auction-header h1 {
  margin: 0.08rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 11vw, 3.15rem);
  line-height: 0.94;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow:
    0 2px 0 rgba(82, 41, 0, 0.9),
    0 0 18px rgba(255, 213, 106, 0.40),
    0 0 26px rgba(102, 244, 255, 0.18);
}

.auction-subtitle {
  max-width: 22rem;
  margin: 0.44rem auto 0;
  color: rgba(255, 248, 223, 0.84);
  font-size: clamp(0.78rem, 2.7vw, 0.93rem);
  line-height: 1.25;
}

.auction-scroll-panel {
  position: relative;
  z-index: 2;
  height: calc(100% - 8.4rem);
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0.86rem 1rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.auction-scroll-panel::-webkit-scrollbar { width: 0.38rem; }
.auction-scroll-panel::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.22); }
.auction-scroll-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 220, 115, 0.58), rgba(102, 244, 255, 0.32));
  border-radius: 999px;
}

.auction-section {
  margin-top: 0.78rem;
  padding: 0.72rem;
  border: 1px solid rgba(255, 220, 115, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(16, 12, 8, 0.78), rgba(4, 5, 9, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 15px rgba(255, 220, 115, 0.10),
    0 0 18px rgba(102, 244, 255, 0.06);
  backdrop-filter: blur(6px);
}

.section-heading-row {
  display: grid;
  gap: 0.12rem;
  margin-bottom: 0.58rem;
}

.section-heading-row h2 {
  margin: 0;
  color: rgba(255, 240, 166, 0.98);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 5.3vw, 1.62rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 220, 115, 0.28);
}

.auction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.56rem;
}

.auction-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 220, 115, 0.36);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 224, 130, 0.11), transparent 5rem),
    linear-gradient(180deg, rgba(11, 9, 7, 0.92), rgba(2, 3, 6, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 12px rgba(255, 220, 115, 0.12);
  padding: 0.54rem;
}

.auction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 36%, rgba(255, 244, 185, 0.14) 46%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 222, 108, 0.12) 56%, transparent 66%, transparent 100%);
  transform: translateX(-135%);
  opacity: 0;
  animation: auctionCardShimmer 5.89s ease-in-out infinite;
}

.auction-image-placeholder {
  aspect-ratio: 5 / 7;
  width: min(68%, 82px);
  margin: 0 auto 0.42rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 220, 115, 0.36);
  background:
    linear-gradient(180deg, rgba(24, 18, 9, 0.82), rgba(3, 4, 9, 0.92));
  display: grid;
  place-items: center;
  color: rgba(255, 220, 115, 0.72);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.05;
  box-shadow: inset 0 0 16px rgba(102, 244, 255, 0.06);
}

.auction-title {
  margin: 0;
  color: rgba(255, 248, 223, 0.95);
  font-size: clamp(0.68rem, 2.7vw, 0.8rem);
  line-height: 1.02;
  font-weight: 900;
  text-align: center;
}

.auction-meta {
  margin: 0.18rem 0 0.42rem;
  color: rgba(255, 236, 170, 0.70);
  font-size: clamp(0.54rem, 2.1vw, 0.65rem);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-weight: 800;
}

.bid-pedestal {
  margin: 0.44rem 0;
  padding: 0.46rem 0.32rem;
  border: 1px solid rgba(255, 220, 115, 0.42);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 224, 130, 0.25), transparent 3.6rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.65));
  box-shadow:
    0 0 14px rgba(255, 220, 115, 0.18),
    0 0 17px rgba(102, 244, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  text-align: center;
}

.bid-label {
  margin: 0;
  color: rgba(102, 244, 255, 0.88);
  font-size: 0.50rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bid-value {
  display: block;
  margin-top: 0.06rem;
  color: rgba(255, 240, 166, 0.98);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 5.5vw, 1.52rem);
  line-height: 0.96;
  letter-spacing: 0.035em;
  text-shadow:
    0 0 14px rgba(255, 220, 115, 0.42),
    0 0 18px rgba(102, 244, 255, 0.12);
}

.bid-leader {
  margin: 0.1rem 0 0;
  color: rgba(255, 248, 223, 0.74);
  font-size: 0.54rem;
  line-height: 1.05;
  font-weight: 800;
}

.auction-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  margin: 0.08rem auto 0.44rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  color: rgba(8, 5, 2, 0.96);
  background: linear-gradient(180deg, rgba(255, 240, 166, 0.96), rgba(189, 126, 25, 0.96));
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 220, 115, 0.26);
}

.auction-status-row { text-align: center; }

.view-auction-button {
  width: 100%;
  min-height: 2rem;
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 999px;
  color: rgba(255, 236, 170, 0.96);
  background:
    linear-gradient(180deg, rgba(35, 28, 15, 0.94), rgba(5, 5, 8, 0.98));
  font-family: var(--font-display);
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 190, 0.22),
    inset 0 -6px 10px rgba(0, 0, 0, 0.46),
    0 0 10px rgba(255, 220, 115, 0.13);
}

.view-auction-button:active { transform: translateY(2px) scale(0.98); }
.view-auction-button:disabled {
  cursor: not-allowed;
  opacity: 0.76;
}

.staged-card .bid-pedestal {
  border-color: rgba(102, 244, 255, 0.30);
}

.stage-label {
  margin: 0.32rem 0 0.45rem;
  color: rgba(102, 244, 255, 0.90);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.auction-placeholder-panel {
  border: 1px solid rgba(255, 220, 115, 0.26);
  border-radius: 17px;
  padding: 0.84rem;
  background: rgba(0, 0, 0, 0.34);
  color: rgba(255, 248, 223, 0.84);
  text-align: center;
}

.auction-placeholder-panel p {
  margin: 0;
  font-weight: 850;
  line-height: 1.25;
}

.auction-placeholder-panel small {
  display: block;
  margin-top: 0.38rem;
  color: rgba(102, 244, 255, 0.78);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.auction-placeholder-panel-muted { opacity: 0.78; }

@keyframes auctionFramePulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 240, 166, 0.16) inset,
      0 0 20px rgba(255, 213, 106, 0.38),
      0 0 38px rgba(102, 244, 255, 0.16),
      0 30px 80px rgba(0, 0, 0, 0.82);
  }
  44% {
    box-shadow:
      0 0 0 1px rgba(255, 245, 190, 0.28) inset,
      0 0 32px rgba(255, 224, 130, 0.62),
      0 0 58px rgba(102, 244, 255, 0.25),
      0 30px 80px rgba(0, 0, 0, 0.82);
  }
}

@keyframes auctionFrameGlow {
  0%, 100% { opacity: 0.66; }
  44% { opacity: 1; }
}

@keyframes sparkTop {
  0% { opacity: 0; transform: translateX(-140%); }
  4% { opacity: 0.38; }
  18% { opacity: 0.38; transform: translateX(420%); }
  22%, 100% { opacity: 0; transform: translateX(420%); }
}

@keyframes sparkRight {
  0%, 18% { opacity: 0; transform: translateY(-140%); }
  22% { opacity: 0.38; }
  38% { opacity: 0.38; transform: translateY(420%); }
  42%, 100% { opacity: 0; transform: translateY(420%); }
}

@keyframes sparkBottom {
  0%, 38% { opacity: 0; transform: translateX(140%); }
  42% { opacity: 0.38; }
  58% { opacity: 0.38; transform: translateX(-420%); }
  62%, 100% { opacity: 0; transform: translateX(-420%); }
}

@keyframes sparkLeft {
  0%, 58% { opacity: 0; transform: translateY(140%); }
  62% { opacity: 0.38; }
  78% { opacity: 0.38; transform: translateY(-420%); }
  82%, 100% { opacity: 0; transform: translateY(-420%); }
}

@keyframes auctionCardShimmer {
  0% { opacity: 0; transform: translateX(-135%); }
  12% { opacity: 0.65; }
  34% { opacity: 0.18; transform: translateX(135%); }
  100% { opacity: 0; transform: translateX(135%); }
}

@media (max-height: 720px) {
  .auction-header { padding-top: 0.75rem; }
  .auction-header h1 { font-size: clamp(1.9rem, 9.8vw, 2.62rem); }
  .auction-subtitle { font-size: 0.74rem; }
  .auction-scroll-panel { height: calc(100% - 7.55rem); }
  .auction-section { padding: 0.58rem; margin-top: 0.58rem; }
  .auction-grid { gap: 0.44rem; }
  .auction-card { padding: 0.42rem; }
  .auction-image-placeholder { width: min(60%, 64px); margin-bottom: 0.32rem; }
  .bid-pedestal { padding: 0.36rem 0.26rem; margin: 0.34rem 0; }
  .view-auction-button { min-height: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .auction-terminal,
  .auction-frame-effects::before,
  .auction-frame-spark,
  .auction-card::before {
    animation: none !important;
  }
}


/* V2.1.4-C — Auction detail modal / bid leaderboard shell */
.auction-detail-layer {
  position: absolute;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 0.86rem;
  pointer-events: auto;
}

.auction-detail-layer[aria-hidden="true"] {
  display: none;
}

.auction-detail-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 220, 115, 0.16), transparent 14rem),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.auction-detail-modal {
  position: relative;
  z-index: 2;
  width: min(100%, 382px);
  max-height: min(82svh, 700px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 115, 0.64);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 115, 0.20), transparent 10rem),
    radial-gradient(circle at 16% 40%, rgba(102, 244, 255, 0.10), transparent 9rem),
    linear-gradient(180deg, rgba(18, 12, 6, 0.95), rgba(3, 4, 8, 0.96));
  box-shadow:
    0 0 26px rgba(255, 220, 115, 0.28),
    0 0 34px rgba(102, 244, 255, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 1rem 0.92rem 0.92rem;
}

.auction-detail-close {
  position: absolute;
  top: 0.62rem;
  right: 0.62rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 220, 115, 0.56);
  border-radius: 50%;
  color: rgba(255, 240, 166, 0.96);
  background: rgba(0, 0, 0, 0.58);
  font-size: 1.42rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 12px rgba(255, 220, 115, 0.16);
}

.auction-detail-close:active {
  transform: translateY(1px) scale(0.96);
}

.auction-detail-kicker {
  padding-right: 2.2rem;
  text-align: center;
}

.auction-detail-title {
  margin: 0.16rem 2.2rem 0.2rem;
  color: rgba(255, 240, 166, 0.98);
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 6vw, 2.1rem);
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  text-shadow:
    0 0 16px rgba(255, 220, 115, 0.34),
    0 0 22px rgba(102, 244, 255, 0.14);
}

.auction-detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.4rem 0.18rem 0.1rem;
}

.auction-detail-scroll::-webkit-scrollbar { width: 0.34rem; }
.auction-detail-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.24); }
.auction-detail-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 220, 115, 0.58), rgba(102, 244, 255, 0.30));
  border-radius: 999px;
}

.auction-detail-image-placeholder {
  aspect-ratio: 5 / 7;
  width: min(48%, 170px);
  margin: 0.1rem auto 0.58rem;
  border: 1px solid rgba(255, 220, 115, 0.48);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(24, 18, 9, 0.88), rgba(3, 4, 9, 0.95));
  color: rgba(255, 220, 115, 0.78);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  line-height: 1.08;
  box-shadow:
    inset 0 0 18px rgba(102, 244, 255, 0.08),
    0 0 18px rgba(255, 220, 115, 0.14);
}

.auction-detail-meta {
  margin: 0 0 0.58rem;
  color: rgba(255, 236, 170, 0.80);
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.detail-bid-pedestal {
  position: relative;
  margin: 0.2rem 0 0.78rem;
  padding: 0.78rem 0.6rem;
  border: 1px solid rgba(255, 220, 115, 0.66);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 240, 166, 0.35), transparent 5.8rem),
    radial-gradient(circle at 50% 88%, rgba(102, 244, 255, 0.14), transparent 5.2rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.72));
  box-shadow:
    0 0 22px rgba(255, 220, 115, 0.28),
    0 0 26px rgba(102, 244, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -8px 16px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.detail-bid-value {
  display: block;
  color: rgba(255, 244, 185, 1);
  font-family: var(--font-display);
  font-size: clamp(2rem, 10vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.035em;
  text-shadow:
    0 2px 0 rgba(83, 45, 0, 0.72),
    0 0 18px rgba(255, 220, 115, 0.56),
    0 0 24px rgba(102, 244, 255, 0.16);
}

.detail-bid-leader {
  margin: 0.22rem 0 0;
  color: rgba(255, 248, 223, 0.85);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.auction-detail-facts {
  display: grid;
  gap: 0.46rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.78rem;
}

.auction-detail-fact {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(255, 220, 115, 0.26);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auction-detail-fact-wide {
  grid-column: 1 / -1;
}

.auction-detail-fact span {
  display: block;
  color: rgba(102, 244, 255, 0.74);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.auction-detail-fact strong {
  display: block;
  margin-top: 0.12rem;
  color: rgba(255, 248, 223, 0.94);
  font-size: 0.75rem;
  line-height: 1.12;
}

.bid-history-panel {
  border: 1px solid rgba(255, 220, 115, 0.30);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 11, 7, 0.76), rgba(0, 0, 0, 0.36));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 13px rgba(255, 220, 115, 0.10);
  padding: 0.64rem;
  margin-bottom: 0.72rem;
}

.bid-history-panel h3 {
  margin: 0 0 0.46rem;
  color: rgba(255, 240, 166, 0.98);
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bid-history-list {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bid-rank;
}

.bid-history-item {
  counter-increment: bid-rank;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.42rem;
  align-items: center;
  padding: 0.44rem 0.52rem;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 248, 223, 0.90);
  font-size: 0.74rem;
  font-weight: 900;
}

.bid-history-item::before {
  content: counter(bid-rank) ".";
  color: rgba(255, 220, 115, 0.90);
  font-family: var(--font-display);
}

.bid-history-amount {
  color: rgba(102, 244, 255, 0.94);
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.16);
}

.bid-history-empty {
  list-style: none;
  padding: 0.62rem;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.34);
  color: rgba(255, 248, 223, 0.78);
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 850;
}

.bid-action-placeholder {
  display: grid;
  gap: 0.18rem;
  padding: 0.7rem;
  border: 1px solid rgba(102, 244, 255, 0.25);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(102, 244, 255, 0.09), transparent 5rem),
    rgba(0, 0, 0, 0.42);
  text-align: center;
}

.bid-action-placeholder strong {
  color: rgba(255, 240, 166, 0.98);
  font-family: var(--font-display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bid-action-placeholder span {
  color: rgba(255, 248, 223, 0.74);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 750;
}

@media (max-height: 720px) {
  .auction-detail-modal {
    max-height: min(86svh, 640px);
    padding: 0.82rem 0.72rem 0.72rem;
  }

  .auction-detail-image-placeholder {
    width: min(40%, 124px);
  }

  .detail-bid-pedestal {
    padding: 0.58rem 0.48rem;
  }

  .auction-detail-facts {
    gap: 0.36rem;
  }
}

/* V2.1.4-E — Auction Admin Panel Shell */
.admin-heading-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.62rem;
}

.admin-toggle-button {
  min-width: 4.4rem;
  min-height: 2rem;
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 999px;
  color: rgba(255, 236, 170, 0.96);
  background:
    linear-gradient(180deg, rgba(34, 26, 14, 0.94), rgba(5, 5, 8, 0.98));
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 190, 0.22),
    inset 0 -6px 10px rgba(0, 0, 0, 0.46),
    0 0 10px rgba(255, 220, 115, 0.13);
}

.admin-toggle-button[aria-expanded="true"] {
  border-color: rgba(102, 244, 255, 0.52);
  color: rgba(102, 244, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 190, 0.18),
    inset 0 -6px 10px rgba(0, 0, 0, 0.46),
    0 0 12px rgba(102, 244, 255, 0.18),
    0 0 12px rgba(255, 220, 115, 0.12);
}

.admin-toggle-button:active {
  transform: translateY(2px) scale(0.98);
}

.admin-panel-shell {
  display: grid;
  gap: 0.64rem;
  margin-top: 0.62rem;
  padding: 0.66rem;
  border: 1px solid rgba(255, 220, 115, 0.26);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 115, 0.10), transparent 8rem),
    linear-gradient(180deg, rgba(8, 8, 10, 0.84), rgba(0, 0, 0, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 14px rgba(255, 220, 115, 0.08),
    0 0 16px rgba(102, 244, 255, 0.05);
}

.admin-panel-shell[aria-hidden="true"] {
  display: none;
}

.admin-panel-note {
  margin: 0;
  color: rgba(255, 248, 223, 0.76);
  font-size: 0.72rem;
  line-height: 1.24;
  font-weight: 800;
  text-align: center;
}

.admin-control-block {
  display: grid;
  gap: 0.46rem;
  padding: 0.56rem;
  border: 1px solid rgba(255, 220, 115, 0.20);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(15, 11, 7, 0.62), rgba(0, 0, 0, 0.34));
}

.admin-control-block h3 {
  margin: 0;
  color: rgba(255, 240, 166, 0.96);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 220, 115, 0.20);
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.admin-field,
.admin-field-full {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.admin-field-full { grid-column: 1 / -1; }

.admin-field span {
  color: rgba(102, 244, 255, 0.76);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.admin-field input,
.admin-field select,
.admin-select {
  width: 100%;
  min-height: 2.12rem;
  border: 1px solid rgba(255, 220, 115, 0.32);
  border-radius: 12px;
  color: rgba(255, 248, 223, 0.92);
  background: rgba(0, 0, 0, 0.46);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0.42rem 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-field input::placeholder { color: rgba(255, 248, 223, 0.42); }

.admin-field input:disabled,
.admin-field select:disabled,
.admin-select:disabled,
.admin-control-button:disabled {
  opacity: 0.74;
  cursor: not-allowed;
}

.admin-control-button {
  width: 100%;
  min-height: 2.04rem;
  border: 1px solid rgba(255, 220, 115, 0.34);
  border-radius: 999px;
  color: rgba(255, 236, 170, 0.88);
  background:
    linear-gradient(180deg, rgba(28, 22, 12, 0.82), rgba(2, 3, 6, 0.86));
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 10px rgba(255, 220, 115, 0.08);
}

.admin-coming-panel {
  padding: 0.62rem;
  border: 1px dashed rgba(102, 244, 255, 0.26);
  border-radius: 13px;
  color: rgba(255, 248, 223, 0.74);
  background: rgba(0, 0, 0, 0.30);
  font-size: 0.73rem;
  font-weight: 850;
  text-align: center;
}

.admin-state-grid {
  display: grid;
  gap: 0.42rem;
}

@media (max-height: 720px) {
  .admin-panel-shell {
    padding: 0.54rem;
    gap: 0.5rem;
  }

  .admin-control-block {
    padding: 0.48rem;
    gap: 0.38rem;
  }

  .admin-field input,
  .admin-field select,
  .admin-select,
  .admin-control-button {
    min-height: 1.86rem;
  }
}

/* V2.1.4-F — Admin local state simulation */
.admin-update-button {
  border-color: rgba(102, 244, 255, 0.48);
  color: rgba(8, 10, 12, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 244, 185, 0.96), rgba(201, 137, 34, 0.96) 58%, rgba(94, 51, 8, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -6px 10px rgba(0, 0, 0, 0.22),
    0 0 12px rgba(255, 220, 115, 0.18),
    0 0 14px rgba(102, 244, 255, 0.08);
  cursor: pointer;
}

.admin-update-button:active {
  transform: translateY(2px) scale(0.985);
  filter: brightness(0.92);
}

.admin-field input:focus,
.admin-field select:focus,
.admin-select:focus {
  outline: 2px solid rgba(102, 244, 255, 0.52);
  outline-offset: 2px;
  border-color: rgba(102, 244, 255, 0.50);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 12px rgba(102, 244, 255, 0.13);
}

.admin-field select option,
.admin-select option {
  background: #070708;
  color: #fff3c4;
}

.admin-status-message {
  min-height: 1rem;
  margin: 0.1rem 0 0;
  color: rgba(255, 248, 223, 0.78);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.admin-status-message[data-status-type="success"] {
  color: rgba(102, 244, 255, 0.92);
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.20);
}

.admin-status-message[data-status-type="error"] {
  color: rgba(255, 160, 104, 0.94);
  text-shadow: 0 0 10px rgba(255, 118, 80, 0.18);
}

/* V2.1.4-G — Admin manual bid and bid history management */
.admin-manual-bid-button {
  border-color: rgba(102, 244, 255, 0.46);
  color: rgba(255, 240, 166, 0.96);
  background:
    linear-gradient(180deg, rgba(34, 27, 14, 0.94), rgba(3, 4, 8, 0.96));
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 0 12px rgba(102, 244, 255, 0.10),
    0 0 10px rgba(255, 220, 115, 0.10);
}

.admin-manual-bid-button:active {
  transform: translateY(2px) scale(0.985);
  filter: brightness(0.92);
}

.admin-bid-list {
  display: grid;
  gap: 0.4rem;
}

.admin-bid-empty {
  margin: 0;
  padding: 0.58rem;
  border: 1px dashed rgba(102, 244, 255, 0.25);
  border-radius: 13px;
  color: rgba(255, 248, 223, 0.72);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
}

.admin-bid-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.42rem;
  align-items: center;
  padding: 0.46rem;
  border: 1px solid rgba(255, 220, 115, 0.22);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.72), rgba(0, 0, 0, 0.38));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-bid-summary {
  min-width: 0;
  display: grid;
  gap: 0.06rem;
}

.admin-bid-handle {
  overflow: hidden;
  color: rgba(255, 248, 223, 0.88);
  font-size: 0.72rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-bid-amount {
  color: rgba(102, 244, 255, 0.94);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.16);
}

.admin-bid-actions {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
}

.admin-mini-button {
  min-height: 1.58rem;
  border: 1px solid rgba(255, 220, 115, 0.30);
  border-radius: 999px;
  color: rgba(255, 236, 170, 0.88);
  background: rgba(0, 0, 0, 0.46);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-mini-button:active {
  transform: translateY(1px) scale(0.97);
}

.admin-mini-button-danger {
  border-color: rgba(255, 137, 104, 0.38);
  color: rgba(255, 178, 142, 0.94);
  box-shadow: 0 0 9px rgba(255, 112, 88, 0.08);
}

.bid-history-rank {
  color: rgba(255, 220, 115, 0.82);
  font-weight: 900;
}

/* V2.1.4-H — Local admin auction state controls */
.auction-empty-state {
  grid-column: 1 / -1;
  padding: 0.78rem;
  border: 1px dashed rgba(102, 244, 255, 0.26);
  border-radius: 16px;
  color: rgba(255, 248, 223, 0.78);
  background: rgba(0, 0, 0, 0.30);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.closed-auction-board {
  display: grid;
  gap: 0.52rem;
}

.closed-auction-card {
  min-width: 0;
  padding: 0.66rem;
  border: 1px solid rgba(255, 220, 115, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 115, 0.10), transparent 6rem),
    linear-gradient(180deg, rgba(10, 9, 8, 0.82), rgba(0, 0, 0, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 12px rgba(255, 220, 115, 0.10),
    0 0 14px rgba(102, 244, 255, 0.05);
}

.closed-auction-card h3 {
  margin: 0;
  color: rgba(255, 248, 223, 0.94);
  font-size: 0.86rem;
  line-height: 1.05;
  font-weight: 950;
}

.closed-auction-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.5rem;
}

.closed-auction-result {
  min-width: 0;
  padding: 0.42rem;
  border: 1px solid rgba(102, 244, 255, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
}

.closed-auction-result span {
  display: block;
  color: rgba(102, 244, 255, 0.76);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closed-auction-result strong {
  display: block;
  margin-top: 0.08rem;
  overflow: hidden;
  color: rgba(255, 240, 166, 0.96);
  font-size: 0.76rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.closed-auction-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  min-height: 1.32rem;
  padding: 0.16rem 0.54rem;
  border-radius: 999px;
  color: rgba(8, 5, 2, 0.96);
  background: linear-gradient(180deg, rgba(255, 240, 166, 0.94), rgba(167, 104, 18, 0.94));
  font-size: 0.54rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 220, 115, 0.18);
}

.admin-state-button {
  cursor: pointer;
}

.admin-state-button:active {
  transform: translateY(2px) scale(0.985);
  filter: brightness(0.92);
}

.admin-state-button-warning {
  border-color: rgba(255, 170, 104, 0.40);
  color: rgba(255, 226, 190, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 11px rgba(255, 144, 88, 0.08);
}

.admin-state-button-launch {
  border-color: rgba(102, 244, 255, 0.44);
  color: rgba(102, 244, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 12px rgba(102, 244, 255, 0.10),
    0 0 10px rgba(255, 220, 115, 0.08);
}

/* V2.1.4-I — Public bid form MVP local state */
.public-bid-panel {
  display: grid;
  gap: 0.56rem;
  padding: 0.72rem;
  border: 1px solid rgba(102, 244, 255, 0.30);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(102, 244, 255, 0.11), transparent 5.5rem),
    linear-gradient(180deg, rgba(12, 10, 7, 0.74), rgba(0, 0, 0, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 16px rgba(102, 244, 255, 0.10),
    0 0 14px rgba(255, 220, 115, 0.08);
}

.public-bid-heading {
  display: grid;
  gap: 0.18rem;
  text-align: center;
}

.public-bid-heading strong {
  color: rgba(255, 240, 166, 0.98);
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 220, 115, 0.24);
}

.public-bid-heading span {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.66rem;
  line-height: 1.18;
  font-weight: 750;
}

.public-bid-form {
  display: grid;
  gap: 0.5rem;
}

.public-bid-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.public-bid-field {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.public-bid-field span {
  color: rgba(255, 220, 115, 0.86);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.public-bid-field input,
.public-bid-field select {
  width: 100%;
  min-height: 2.2rem;
  border: 1px solid rgba(255, 220, 115, 0.32);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.48);
  color: rgba(255, 248, 223, 0.94);
  padding: 0.46rem 0.54rem;
  font-size: 0.78rem;
  font-weight: 850;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.public-bid-field input::placeholder {
  color: rgba(255, 248, 223, 0.40);
}

.public-bid-field input:focus,
.public-bid-field select:focus {
  border-color: rgba(102, 244, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 2px rgba(102, 244, 255, 0.12),
    0 0 14px rgba(102, 244, 255, 0.12);
}

.public-bid-trust-note,
.public-bid-closed-note {
  margin: 0;
  color: rgba(255, 248, 223, 0.74);
  font-size: 0.68rem;
  line-height: 1.22;
  font-weight: 760;
  text-align: center;
}

.public-submit-bid-button {
  width: 100%;
  min-height: 2.35rem;
  border: 1px solid rgba(255, 220, 115, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 239, 166, 0.94), rgba(196, 126, 24, 0.96) 56%, rgba(84, 42, 0, 0.98));
  color: rgba(15, 8, 3, 0.96);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -7px 11px rgba(39, 17, 0, 0.34),
    0 0 16px rgba(255, 220, 115, 0.22),
    0 0 18px rgba(102, 244, 255, 0.08);
}

.public-submit-bid-button:active {
  transform: translateY(2px) scale(0.985);
  filter: brightness(0.92);
}

.public-submit-bid-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.18);
}

.public-bid-status {
  min-height: 0.92rem;
  margin: 0;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 850;
  text-align: center;
}

.public-bid-status[data-status-type="success"] {
  color: rgba(102, 244, 255, 0.96);
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.18);
}

.public-bid-status[data-status-type="error"] {
  color: rgba(255, 150, 120, 0.96);
}

.public-bid-panel.is-disabled {
  border-color: rgba(255, 220, 115, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 115, 0.07), transparent 5rem),
    rgba(0, 0, 0, 0.42);
}

@media (max-height: 720px) {
  .public-bid-panel { padding: 0.58rem; gap: 0.44rem; }
  .public-bid-field input,
.public-bid-field select { min-height: 2rem; }
  .public-submit-bid-button { min-height: 2.12rem; }
}

/* V2.1.4-J — Contact method support */
.public-bid-field select,
.admin-field select {
  appearance: none;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.94), rgba(0, 0, 0, 0.78));
}

.public-bid-field select option,
.admin-field select option {
  background: #070708;
  color: #fff3c4;
}

.admin-bid-method {
  color: rgba(102, 244, 255, 0.74);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

@media (max-width: 380px) {
  .public-bid-field-grid {
    grid-template-columns: 1fr;
  }
}


/* V2.1.4-K — Optional public bid share on X */
.auction-share-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auction-share-layer[aria-hidden="true"] {
  display: none;
}

.auction-share-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(102, 244, 255, 0.10), transparent 42%),
    rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.auction-share-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 21rem);
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 24px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(18, 14, 9, 0.96), rgba(4, 5, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 0 24px rgba(255, 220, 115, 0.22),
    0 0 34px rgba(102, 244, 255, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.72);
  text-align: center;
  display: grid;
  gap: 0.65rem;
}

.auction-share-close {
  position: absolute;
  top: 0.58rem;
  right: 0.68rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 220, 115, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 238, 170, 0.96);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 220, 115, 0.18);
}

.auction-share-kicker {
  margin-top: 0.35rem;
  padding-right: 2rem;
}

.auction-share-title {
  margin: 0;
  color: rgba(255, 225, 116, 0.98);
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 6vw, 1.78rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 220, 115, 0.34),
    0 0 18px rgba(102, 244, 255, 0.12);
}

.auction-share-confirmation {
  margin: 0;
  color: rgba(255, 248, 223, 0.92);
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 850;
}

.auction-share-question {
  margin: 0;
  color: rgba(102, 244, 255, 0.92);
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 850;
}

.public-share-x-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 14rem);
  min-height: 2.25rem;
  justify-self: center;
  padding: 0.52rem 0.86rem;
  border: 1px solid rgba(102, 244, 255, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(10, 15, 18, 0.94), rgba(0, 0, 0, 0.80));
  color: rgba(102, 244, 255, 0.96);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 12px rgba(102, 244, 255, 0.18),
    0 0 12px rgba(255, 220, 115, 0.08);
}

.public-share-x-button:link,
.public-share-x-button:visited,
.public-share-x-button:hover,
.public-share-x-button:active {
  color: rgba(102, 244, 255, 0.96);
  text-decoration: none;
}

.public-share-x-button:active,
.auction-share-close:active {
  transform: translateY(2px) scale(0.985);
  filter: brightness(0.92);
}

.auction-share-return-note {
  margin: 0;
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.64rem;
  line-height: 1.18;
  font-weight: 760;
}


/* V2.1.4-L — Current auction card image assets */
.auction-image-placeholder.has-image {
  padding: 0;
  background: rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.auction-card-image,
.auction-detail-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.auction-detail-image-wrap {
  aspect-ratio: 5 / 7;
  width: min(48%, 170px);
  margin: 0.1rem auto 0.4rem;
  border: 1px solid rgba(255, 220, 115, 0.48);
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(24, 18, 9, 0.88), rgba(3, 4, 9, 0.95));
  color: rgba(255, 220, 115, 0.78);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  line-height: 1.08;
  box-shadow:
    inset 0 0 18px rgba(102, 244, 255, 0.08),
    0 0 18px rgba(255, 220, 115, 0.14);
  overflow: hidden;
}

.auction-detail-image-wrap .auction-detail-image-placeholder {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auction-image-toggle {
  display: flex;
  justify-content: center;
  gap: 0.42rem;
  margin: 0 0 0.58rem;
}

.auction-image-toggle-button {
  min-height: 1.7rem;
  padding: 0.28rem 0.72rem;
  border: 1px solid rgba(255, 220, 115, 0.50);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  color: rgba(255, 236, 170, 0.90);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.auction-image-toggle-button.is-active {
  background:
    linear-gradient(180deg, rgba(255, 232, 150, 0.95), rgba(169, 102, 18, 0.94));
  color: rgba(11, 7, 3, 0.96);
  box-shadow:
    0 0 13px rgba(255, 220, 115, 0.25),
    0 0 16px rgba(102, 244, 255, 0.12);
}

.auction-image-toggle-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-height: 720px) {
  .auction-detail-image-wrap {
    width: min(40%, 124px);
  }
}

/* V2.1.4-M — Auction image click trigger + full-size front/back viewer */
.auction-image-trigger {
  display: block;
  width: min(68%, 82px);
  margin: 0 auto 0.42rem;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    transform 140ms ease,
    filter 140ms ease,
    box-shadow 140ms ease;
}

.auction-image-trigger .auction-image-placeholder {
  width: 100%;
  margin: 0;
}

.auction-image-trigger:hover,
.auction-image-trigger:focus-visible {
  filter: brightness(1.08) saturate(1.05);
  outline: none;
}

.auction-image-trigger:focus-visible {
  box-shadow:
    0 0 0 2px rgba(102, 244, 255, 0.68),
    0 0 16px rgba(255, 220, 115, 0.22);
}

.auction-image-trigger:active {
  transform: translateY(2px) scale(0.985);
  filter: brightness(0.94);
}

.auction-detail-image-wrap.has-image {
  cursor: zoom-in;
  transition:
    transform 140ms ease,
    filter 140ms ease,
    box-shadow 140ms ease;
}

.auction-detail-image-wrap.has-image:hover,
.auction-detail-image-wrap.has-image:focus-visible {
  filter: brightness(1.06) saturate(1.04);
  box-shadow:
    inset 0 0 18px rgba(102, 244, 255, 0.10),
    0 0 22px rgba(255, 220, 115, 0.24),
    0 0 20px rgba(102, 244, 255, 0.12);
  outline: none;
}

.auction-detail-image-wrap.has-image:focus-visible {
  border-color: rgba(102, 244, 255, 0.78);
}

.auction-detail-image-wrap.has-image:active {
  transform: translateY(2px) scale(0.992);
}

.auction-image-viewer {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.auction-image-viewer[aria-hidden="true"] {
  display: none;
}

.auction-image-viewer-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 220, 115, 0.12), transparent 14rem),
    rgba(0, 0, 0, 0.32);
}

.auction-image-viewer-panel {
  position: relative;
  z-index: 1;
  width: min(92%, 360px);
  max-height: 92%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.58rem;
  padding: 0.88rem 0.82rem 0.82rem;
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 115, 0.16), transparent 9rem),
    linear-gradient(180deg, rgba(12, 10, 8, 0.94), rgba(2, 3, 7, 0.96));
  box-shadow:
    0 0 28px rgba(255, 220, 115, 0.26),
    0 0 34px rgba(102, 244, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.auction-image-viewer-close {
  position: absolute;
  top: 0.58rem;
  right: 0.62rem;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(255, 220, 115, 0.68);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 234, 155, 0.96), rgba(136, 80, 11, 0.95));
  color: rgba(10, 6, 2, 0.96);
  font-size: 1.28rem;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 12px rgba(255, 220, 115, 0.22);
}

.auction-image-viewer-kicker {
  margin-top: 0.05rem;
  padding-right: 2.2rem;
  text-align: center;
}

.auction-image-viewer-title {
  margin: 0 2.2rem 0;
  color: rgba(255, 240, 166, 0.98);
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 5vw, 1.55rem);
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-shadow:
    0 0 13px rgba(255, 220, 115, 0.30),
    0 0 18px rgba(102, 244, 255, 0.12);
}

.auction-image-viewer-card,
.auction-image-viewer-placeholder {
  aspect-ratio: 5 / 7;
  width: min(82%, 300px);
  max-height: 68svh;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 220, 115, 0.42);
  background: rgba(0, 0, 0, 0.38);
  box-shadow:
    0 0 28px rgba(255, 220, 115, 0.34),
    0 0 34px rgba(102, 244, 255, 0.16);
}

.auction-image-viewer-placeholder {
  place-items: center;
  color: rgba(255, 220, 115, 0.78);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.08;
}

.auction-image-viewer-card[hidden],
.auction-image-viewer-placeholder[hidden] {
  display: none;
}

.auction-image-viewer-toggle {
  display: flex;
  justify-content: center;
  gap: 0.42rem;
  flex: 0 0 auto;
}

.auction-image-viewer-toggle-button {
  min-height: 1.85rem;
  padding: 0.34rem 0.82rem;
  border: 1px solid rgba(255, 220, 115, 0.54);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.50);
  color: rgba(255, 236, 170, 0.92);
  font-family: var(--font-display);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.auction-image-viewer-toggle-button.is-active {
  background:
    linear-gradient(180deg, rgba(255, 232, 150, 0.95), rgba(169, 102, 18, 0.94));
  color: rgba(11, 7, 3, 0.96);
  box-shadow:
    0 0 13px rgba(255, 220, 115, 0.25),
    0 0 16px rgba(102, 244, 255, 0.12);
}

.auction-image-viewer-toggle-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-height: 720px) {
  .auction-image-trigger { width: min(60%, 64px); }
  .auction-image-viewer-panel { max-height: 94%; padding: 0.7rem 0.68rem; }
  .auction-image-viewer-card,
  .auction-image-viewer-placeholder {
    width: min(72%, 230px);
    max-height: 62svh;
  }
}

.auction-image-viewer-placeholder {
  display: grid;
}

/* V2.1.6-E1 Admin unlock / locked control protection */
.admin-panel-shell:not(.is-unlocked) .admin-control-block:not(.admin-unlock-block) {
  display: none;
}

.admin-panel-shell:not(.is-unlocked) [data-admin-reload-server] {
  display: none;
}

.admin-panel-shell.is-unlocked [data-admin-unlock] {
  display: none;
}

.admin-unlock-block {
  border-color: rgba(102, 244, 255, 0.34);
  box-shadow: 0 0 14px rgba(102, 244, 255, 0.08);
}

/* V2.1.7-D — staged bundle gallery and secondary loader control */
.auction-image-gallery-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  width: min(100%, 320px);
  margin: 12px auto 0;
}

.auction-image-gallery-controls[hidden] {
  display: none;
}

.auction-image-gallery-button {
  min-height: 42px;
  border: 1px solid rgba(246, 201, 76, 0.72);
  border-radius: 10px;
  background: rgba(10, 9, 6, 0.9);
  color: #f6c94c;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.auction-image-gallery-counter {
  color: #f7e8b0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.admin-state-button-secondary {
  border-color: rgba(246, 201, 76, 0.46);
  background: rgba(16, 14, 9, 0.78);
}

.auction-detail-description {
  margin: 8px auto 0;
  max-width: 34rem;
  color: rgba(247, 232, 176, 0.82);
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
}


/* V2.1.7-E — paired bid controls remain touch-friendly on narrow screens. */
@media (max-width: 360px) {
  .admin-field-grid {
    grid-template-columns: 1fr;
  }

  .admin-field-full {
    grid-column: auto;
  }
}

.admin-timer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.admin-timer-presets,
.admin-timer-actions {
  margin-top: 0.62rem;
}

.admin-timer-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.admin-timer-readout {
  margin: 0.62rem 0 0;
  color: rgba(102, 244, 255, 0.84);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 430px) {
  .admin-timer-grid,
  .admin-timer-presets {
    grid-template-columns: 1fr;
  }
}

/* V2.1.8-B1 — per-auction countdown timers */
.auction-card-timer {
  margin: 0.48rem 0 0.34rem;
  padding: 0.42rem 0.48rem;
  border: 1px solid rgba(102, 244, 255, 0.22);
  border-radius: 12px;
  background: rgba(5, 9, 10, 0.62);
  text-align: center;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.28);
}

.auction-card-timer span {
  display: block;
  color: rgba(102, 244, 255, 0.78);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auction-card-timer strong {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 232, 150, 0.98);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 5vw, 1.28rem);
  letter-spacing: 0.05em;
  text-shadow: 0 0 12px rgba(246, 201, 76, 0.24);
}

.auction-detail-timer-panel {
  margin: 0.8rem auto 0.65rem;
  width: min(100%, 340px);
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(246, 201, 76, 0.5);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 201, 76, 0.13), transparent 64%),
    rgba(8, 7, 5, 0.78);
  text-align: center;
}

.auction-detail-timer-panel[hidden] {
  display: none;
}

.auction-detail-timer-panel p {
  margin: 0 0 0.26rem;
  color: rgba(102, 244, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auction-detail-timer-panel strong {
  display: block;
  color: rgba(255, 232, 150, 0.98);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 10vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-shadow: 0 0 16px rgba(246, 201, 76, 0.32);
}

.auction-detail-timer-panel small {
  display: block;
  margin-top: 0.38rem;
  color: rgba(247, 232, 176, 0.78);
  font-size: 0.74rem;
  line-height: 1.35;
}

.admin-timer-selected {
  margin: 0 0 0.6rem;
  color: rgba(247, 232, 176, 0.84);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

@media (max-width: 520px) {
  .admin-timer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 350px) {
  .admin-timer-grid {
    grid-template-columns: 1fr;
  }
}


/* V2.1.8-I — public no-active auction fallback */
.auction-empty-state--public-default {
  display: grid;
  gap: .28rem;
  padding: 1rem .85rem;
  border-style: solid;
  line-height: 1.35;
}

.auction-empty-state--public-default p {
  margin: 0;
}

.auction-empty-state--public-default a {
  color: rgba(102, 244, 255, .94);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(102, 244, 255, .35);
}

.auction-empty-state--public-default a:hover,
.auction-empty-state--public-default a:focus-visible {
  color: rgba(255, 236, 160, .98);
  text-decoration: underline;
}
