.sale-demo .sale-board { align-items: stretch; }
.sale-live {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, .9fr);
  gap: 12px; margin-top: 14px;
}
.sale-stage {
  display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 14px; align-items: center; min-width: 0;
  padding: 12px; border-radius: 16px; background: #141418;
  border: 1px solid rgba(255,255,255,.08);
}
.sale-stage-pic {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 78%, rgba(225, 6, 0, .22), transparent 58%),
    #0c0c0e;
}
.sale-stage-pic img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  padding: 10px; display: block; animation: saleFloat 3.4s ease-in-out infinite;
}
.sale-stage-pic::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.16) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: saleSheen 3.4s ease-in-out infinite;
}
@keyframes saleFloat { 50% { transform: translateY(-7px); } }
@keyframes saleSheen { 70%, 100% { transform: translateX(130%); } }
.sale-stage-copy { display: grid; align-content: center; gap: 3px; min-width: 0; }
.sale-stage-copy small { color: #a1a1aa; font-size: 12px; }
.sale-stage-copy strong { color: #fff; font-size: 1.45rem; line-height: 1.15; }
.sale-stage-copy span { color: #71717a; font-size: 13px; font-variant-numeric: tabular-nums; }
.sale-stage-copy b { color: #ff6b6b; font-size: 1.55rem; margin: 6px 0 10px; }
.sale-stage-copy button {
  justify-self: start; border: 0; border-radius: 999px; cursor: pointer;
  background: #e10600; color: #fff; min-height: 38px; padding: 0 16px; font-weight: 750;
}
.sale-demo .sale-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sale-demo .sale-grid button {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0;
  padding: 8px; min-height: 0; background: #141418;
  transition: border-color .2s ease, transform .2s ease;
}
.sale-demo .sale-grid button:hover { transform: translateY(-3px); }
.sale-demo .sale-grid button.is-hit { border-color: #e10600; }
.sale-pic {
  position: relative; display: block; aspect-ratio: 1; margin-bottom: 8px; border-radius: 12px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 82%, rgba(225, 6, 0, .16), transparent 56%),
    #0c0c0e;
}
.sale-demo .sale-grid img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  padding: 8px; border-radius: 0; display: block; margin: 0;
}
.sale-badge {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: #e10600; color: #fff; font-style: normal; font-size: 12px; font-weight: 750;
  display: grid; place-items: center;
}
.sale-badge[hidden] { display: none !important; }
.sale-demo .sale-grid button strong { font-size: 14px; }
.sale-demo .sale-grid button span { margin-top: 6px; font-size: 15px; }
.sale-demo .sale-line { animation: saleIn .28s ease; }
.sale-demo .sale-name { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: visible; white-space: normal; }
.sale-demo .sale-name img, .sale-guest-row img {
  width: 42px; height: 42px; border-radius: 8px; object-fit: contain; object-position: center;
  background: #0c0c0e; padding: 2px; flex: none;
}
.sale-demo .sale-name b {
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  white-space: normal; font-weight: 650; line-height: 1.2;
}
@keyframes saleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sale-demo .sale-total.is-pop strong { animation: salePop .35s ease; }
@keyframes salePop { 40% { color: #ffb4b4; } }
.sale-guest {
  margin-top: 0; height: 100%; background: #10141c; color: #fff;
  border: 8px solid #3a3d46; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 28px rgba(0,0,0,.35);
  display: flex; flex-direction: column;
}
.sale-guest-top, .sale-guest-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px; background: #0c1016;
}
.sale-guest-top { border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.sale-guest-top span, .sale-guest-foot small { color: #a1a1aa; }
.sale-guest-body { min-height: 120px; padding: 10px 14px; flex: 1; }
.sale-hello { text-align: center; padding: 8px 0 4px; }
.sale-hello b { display: block; margin: 8px 0 2px; font-size: 18px; }
.sale-hello span { color: #a1a1aa; font-size: 13px; }
.sale-faces { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.sale-faces img {
  width: 54px; height: 54px; border-radius: 10px; object-fit: contain; object-position: center;
  background: #0c0c0e; padding: 3px;
  animation: saleBob 3.8s ease-in-out infinite;
}
.sale-faces img:nth-child(2n) { animation-delay: .5s; }
.sale-faces img:nth-child(3n) { animation-delay: .9s; }
@keyframes saleBob { 50% { transform: translateY(-5px); } }
.sale-guest-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px;
}
.sale-guest-row span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sale-guest-foot { border-top: 1px solid rgba(255,255,255,.08); }
.sale-guest-foot strong { font-size: 1.6rem; }
.sale-demo .sale-main.is-scan { box-shadow: inset 0 0 0 1px rgba(225,6,0,.7); }
@media (max-width: 800px) {
  .sale-live, .sale-stage { grid-template-columns: 1fr; }
  .sale-stage-pic { max-width: 220px; }
  .sale-demo .sale-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sale-demo .sale-line, .sale-faces img, .sale-demo .sale-total.is-pop strong,
  .sale-stage-pic img, .sale-stage-pic::after { animation: none; }
  .sale-demo .sale-grid button { transition: none; }
}
