/* Auction */
.au-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.au-host {
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) {
  .au-host {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }
}
body.tl-big .au-host {
  grid-template-columns: 1fr;
}
.au-join {
  text-align: center;
  display: grid;
  gap: 8px;
}
.au-code {
  font-size: 52px;
  line-height: 1;
  color: var(--sg-blue);
}
.au-qr {
  max-width: 220px;
  margin: 0 auto;
  width: 100%;
}
.au-players {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.au-players li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.au-pl-money {
  margin-left: auto;
  font-size: 13px;
  color: var(--sk-muted);
  white-space: nowrap;
}
.au-kick {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--sk-muted);
  font-size: 12px;
  padding: 2px 4px;
}
.au-kick:hover {
  color: #d33;
}

/* items */
.au-form {
  border: 2px dashed var(--sg-ink);
  border-radius: 14px;
  padding: 14px;
  background: #fffdf6;
}
.au-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 560px) {
  .au-grid3 {
    grid-template-columns: 1fr 1fr;
  }
}
.au-grid3 .tl-label {
  font-size: 14px;
}
.au-imgrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.au-imgpick {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.au-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--sg-ink);
  background: #fff;
  flex: 0 0 auto;
}
.au-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: #f4efe4;
}
.au-thumb.sm {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 14px;
  border-width: 1.5px;
}
.au-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.au-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 2px solid var(--sg-ink);
  border-radius: 12px;
  background: #fff;
}
.au-item.done {
  background: #f4efe4;
}
.au-item-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.au-item-body b {
  overflow-wrap: anywhere;
}
.au-item-body small {
  color: var(--sk-muted);
  font-size: 13px;
}
.au-item-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.au-items.small .au-thumb {
  width: 44px;
  height: 44px;
}
.au-tag {
  font-size: 13px;
  font-weight: 600;
}
.au-tag.sold {
  color: var(--sk-green-dark, #2a8a3e);
}
.au-tag.none {
  color: var(--sk-muted);
}

/* the lot on the block */
.au-stage {
  display: grid;
  gap: 14px;
}
.au-lot {
  display: grid;
  gap: 14px;
}
.au-lot.big {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .au-lot.big {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}
.au-lot-img {
  aspect-ratio: 4 / 3;
  border: 3px solid var(--sg-ink);
  border-radius: 16px;
  background: #f4efe4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.au-lot-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.au-lot-img span {
  font-size: 72px;
}
.au-lot:not(.big) .au-lot-img {
  max-height: 34vh;
  aspect-ratio: auto;
  min-height: 140px;
}
.au-lot-body {
  display: grid;
  gap: 8px;
  text-align: center;
}
.au-lot-name {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.au-price {
  font-size: 44px;
  line-height: 1.1;
  color: var(--sg-blue);
}
.au-price.muted {
  color: var(--sk-muted);
}
.au-leader {
  font-size: 17px;
}
.au-timer {
  display: grid;
  gap: 6px;
  justify-items: center;
}
.au-secs {
  font-size: 54px;
  line-height: 1;
  color: var(--sg-ink);
}
.au-timer.hot .au-secs {
  color: #e2412e;
  animation: au-pulse 0.5s ease-in-out infinite alternate;
}
@keyframes au-pulse {
  to {
    transform: scale(1.15);
  }
}
.au-bar {
  width: 100%;
  height: 12px;
  border: 2px solid var(--sg-ink);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.au-bar i {
  display: block;
  height: 100%;
  background: var(--sg-yellow);
  transition: width 0.2s linear;
}
.au-timer.hot .au-bar i {
  background: #e2412e;
}
.au-wait {
  font-size: 15px;
  color: var(--sk-muted);
  padding: 8px;
  border: 2px dashed #c9c3b8;
  border-radius: 12px;
}
.au-sold {
  font-size: 22px;
  padding: 14px;
  border: 3px solid var(--sg-ink);
  border-radius: 14px;
  background: var(--sg-yellow);
  animation: au-pop 0.35s ease-out;
  overflow-wrap: anywhere;
}
.au-sold.me {
  background: #bdeccb;
}
.au-sold.none {
  background: #f4efe4;
  font-size: 18px;
}
@keyframes au-pop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
}
.au-stage-btns {
  justify-content: center;
}

/* big screen */
body.tl-big .au-lot-name {
  font-size: clamp(32px, 4vw, 56px);
}
body.tl-big .au-price {
  font-size: clamp(60px, 8vw, 120px);
}
body.tl-big .au-secs {
  font-size: clamp(70px, 9vw, 140px);
}
body.tl-big .au-leader,
body.tl-big .au-sold {
  font-size: clamp(22px, 2.6vw, 36px);
}
body.tl-big .au-lot-img {
  max-height: 72vh;
}
.au-exitbig {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 50;
}

/* player */
.au-me {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 15px;
}
.au-wallet {
  padding: 6px 14px;
  border: 2px solid var(--sg-ink);
  border-radius: 999px;
  background: var(--sg-yellow);
  font-size: 16px;
}
.au-bigwait {
  font-size: 20px;
  text-align: center;
  margin: 8px 0 0;
}
.au-controls {
  gap: 10px;
}
.au-bidbig {
  font-size: 22px !important;
  min-height: 64px;
}
.au-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}
.au-custom {
  display: flex;
  gap: 8px;
}
.au-custom .sg-input {
  flex: 1;
  min-width: 0;
}
.au-note {
  text-align: center;
  font-size: 17px;
  margin: 0;
  padding: 10px;
  border-radius: 12px;
}
.au-note.good {
  background: #e3f7e8;
}
.au-note.bad {
  background: #fde8e4;
}

/* summary */
.au-sum-title {
  margin: 0;
  font-size: 26px;
  text-align: center;
}
.au-sum {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.au-sum-row {
  border: 2px solid var(--sg-ink);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.au-sum-row.me {
  background: #fff7d1;
}
.au-sum-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 18px;
}
.au-sum-left {
  margin-left: auto;
  font-size: 15px;
}
.au-sum-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.au-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 3px;
  border: 1.5px solid var(--sg-ink);
  border-radius: 999px;
  background: #fffdf6;
  font-size: 14px;
}
body.tl-big .au-sum-head {
  font-size: 26px;
}
body.tl-big .au-chip {
  font-size: 20px;
}
body.au-playing .tl-hero {
  display: none;
}
.au-lot-img.noimg {
  aspect-ratio: auto;
  min-height: 0 !important;
  height: 90px;
}
.au-lot-img.noimg span {
  font-size: 48px;
}
body.tl-big .au-lot-img.noimg {
  height: 200px;
}
body.tl-big .au-lot-img.noimg span {
  font-size: 110px;
}
