body.cx-auth-open{
  overflow:hidden;
}

.cx-auth{
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.cx-auth[hidden]{
  display:none !important;
}

.cx-auth-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(21,26,23,.55);
  cursor:pointer;
}

.cx-auth-panel{
  position:relative;
  z-index:1;
  width:min(440px,100%);
  max-height:min(90vh,720px);
  overflow:auto;
  background:var(--cx-surface,#fff);
  border:1px solid var(--cx-border,#d7e0d9);
  border-radius:16px;
  box-shadow:0 24px 64px rgba(16,32,25,.22);
  padding:22px 22px 24px;
}

.cx-auth-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.cx-auth-head h2{
  margin:6px 0 0;
  font-size:1.35rem;
  letter-spacing:-0.02em;
}

.cx-auth-lead{
  margin:0 0 14px;
  color:var(--cx-muted,#5b6b60);
  font-size:14px;
  line-height:1.45;
}

.cx-auth-close{
  width:32px;
  height:32px;
  border:1px solid var(--cx-border,#d7e0d9);
  border-radius:8px;
  background:transparent;
  font-size:22px;
  line-height:1;
  color:var(--cx-muted,#5b6b60);
  cursor:pointer;
}

.cx-auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:4px;
  margin-bottom:14px;
  border-radius:10px;
  background:var(--cx-surface-2,#f3f6f3);
}

.cx-auth-tab{
  border:0;
  background:transparent;
  border-radius:8px;
  padding:10px 12px;
  font-weight:700;
  color:var(--cx-muted,#5b6b60);
  cursor:pointer;
}

.cx-auth-tab.is-active{
  background:#fff;
  color:var(--cx-text,#152019);
  box-shadow:0 1px 2px rgba(16,32,25,.08);
}

.cx-auth-reassure{
  margin:0 0 14px;
  font-size:13px;
  font-weight:650;
  color:var(--cx-muted,#5b6b60);
}

.cx-auth-message{
  margin:0 0 12px;
  padding:10px 12px;
  border-radius:8px;
  background:#edf7f2;
  color:var(--cx-primary-dark,#0f3d2e);
  font-size:14px;
  font-weight:650;
}

.cx-auth-message.is-error{
  background:#fef3f2;
  color:#b42318;
}

.cx-auth-form{
  display:grid;
  gap:12px;
}

.cx-auth-form label{
  display:grid;
  gap:6px;
  font-size:13px;
  font-weight:700;
}

.cx-auth-form input[type="email"],
.cx-auth-form input[type="password"]{
  width:100%;
  border:1px solid var(--cx-border,#d7e0d9);
  border-radius:10px;
  padding:11px 12px;
  font-weight:500;
}

.cx-auth-check{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  font-weight:500 !important;
  color:var(--cx-muted,#5b6b60);
}

.cx-auth-check input{
  margin-top:3px;
}

.cx-auth-foot{
  margin:0;
  text-align:center;
  font-size:13px;
}

.cx-auth-foot a{
  color:var(--cx-primary,#1f6b4a);
  font-weight:700;
}

.listing-card.is-sample{
  position:relative;
}

.listing-sample-badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  background:#edf7f2;
  color:var(--cx-primary-dark,#0f3d2e);
  font-size:11px;
  font-weight:750;
  letter-spacing:0.02em;
  text-transform:uppercase;
}

.listing-sample-cta{
  display:inline-block;
  margin-top:12px;
  color:var(--cx-primary,#1f6b4a);
  font-weight:800;
  font-size:14px;
}

.marketplace-teaser-note{
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid #b7dcc8;
  border-radius:12px;
  background:#edf7f2;
  color:var(--cx-text,#152019);
  font-size:14px;
  font-weight:650;
  line-height:1.45;
}

.demo-banner{
  border-bottom:1px solid var(--cx-border,#d7e0d9);
  background:#edf7f2;
  padding:12px 0;
}

.demo-banner p{
  margin:0;
  color:var(--cx-text,#152019);
  font-size:14px;
  font-weight:650;
  line-height:1.45;
}

.demo-banner a{
  color:var(--cx-primary,#1f6b4a);
  font-weight:800;
}

.cx-auth-hint{
  font-size:12px;
  font-weight:550;
  color:var(--cx-muted,#5b6b60);
}

.cx-auction-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.cx-auction-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--cx-border,#d7e0d9);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(16,32,25,.06);
}

.cx-auction-media{
  display:block;
  aspect-ratio:1 / 1;
  background:#e8eee9;
  overflow:hidden;
}

.cx-auction-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cx-auction-body{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:16px 16px 18px;
  flex:1;
}

.cx-auction-kicker{
  margin:0;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.cx-auction-body h3{
  margin:0;
  font-size:1.2rem;
  letter-spacing:-0.02em;
}

.cx-auction-meta{
  margin:0;
  color:var(--cx-muted,#5b6b60);
  font-size:13px;
}

.cx-auction-price{
  margin:4px 0 0;
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}

.cx-auction-price span{
  font-size:12px;
  font-weight:700;
  color:var(--cx-muted,#5b6b60);
  text-transform:uppercase;
  letter-spacing:0.04em;
}

.cx-auction-price strong{
  font-size:1.35rem;
  letter-spacing:-0.02em;
}

.cx-auction-price small{
  color:var(--cx-muted,#5b6b60);
  font-weight:650;
}

.cx-auction-facts{
  margin:6px 0 4px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

.cx-auction-facts div{
  margin:0;
}

.cx-auction-facts dt{
  font-size:11px;
  font-weight:700;
  color:var(--cx-muted,#5b6b60);
  text-transform:uppercase;
  letter-spacing:0.03em;
}

.cx-auction-facts dd{
  margin:2px 0 0;
  font-weight:750;
  font-size:14px;
}

.cx-auction-cta{
  margin-top:auto;
  width:100%;
  position:relative;
}

.cx-auction-cta.is-pulse{
  animation:cx-cta-pulse 1.8s ease-out infinite;
  box-shadow:0 0 0 0 rgba(8,119,71,.45);
}

@keyframes cx-cta-pulse{
  0%{box-shadow:0 0 0 0 rgba(8,119,71,.45)}
  70%{box-shadow:0 0 0 14px rgba(8,119,71,0)}
  100%{box-shadow:0 0 0 0 rgba(8,119,71,0)}
}

@media (prefers-reduced-motion: reduce){
  .cx-auction-cta.is-pulse{animation:none}
}

@media (max-width: 980px){
  .cx-auction-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 640px){
  .cx-auction-grid{
    grid-template-columns:1fr;
  }
}
