.lanes-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 30px;
  padding: 24px 48px 0 0;
  height: 100%;
  min-height: 0;
}

.lane {
  position: relative;
  width: 94px;
  min-height: clamp(304px, 40dvh, 416px);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  padding: 10px 4px 0;
  background:
    /* pixel studs on top edge */
    repeating-linear-gradient(90deg,
      rgba(251, 191, 36, 0.4) 0 4px,
      transparent 4px 12px) 0 0 / auto 4px no-repeat,
    /* counter face with wood grain */
    repeating-linear-gradient(180deg,
      rgba(0,0,0,0.04) 0 2px,
      transparent 2px 6px),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(17, 24, 39, 0.06) 100%);
  border: 3px solid rgba(15, 23, 42, 0.35);
  border-radius: 10px;
  cursor: pointer;
  box-shadow:
    0 4px 0 rgba(0,0,0,0.25),
    0 8px 18px rgba(0,0,0,0.18),
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -3px 0 rgba(0,0,0,0.12);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lane:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.lane.load-low {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.15), rgba(255, 255, 255, 0.03) 42%, rgba(255,255,255,0));
  border-color: rgba(34, 197, 94, 0.15);
}

.lane.load-mid {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.18), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0));
  border-color: rgba(245, 158, 11, 0.2);
}

.lane.load-high {
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.2), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0));
  border-color: rgba(244, 63, 94, 0.25);
}

.lane.assignable {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.15), 0 0 20px rgba(34, 211, 238, 0.08);
  animation: assignGlow 2s ease-in-out infinite;
}

.lane.manager-target {
  border-color: rgba(244, 63, 94, 0.7);
  background: rgba(244, 63, 94, 0.08);
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.15), 0 0 24px rgba(244, 63, 94, 0.12);
  animation: warningPulse 1.5s ease-in-out infinite;
}

/* ── Persistent lane action indicators ── */

/* Lanes needing cash deposit: amber pulsing glow */
.lane.needs-deposit {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2), 0 0 24px rgba(251, 191, 36, 0.15);
  animation: depositPulse 2s ease-in-out infinite;
}
.lane.needs-deposit .lane-label { color: #92400e; }

/* Lanes with manager issue: red pulsing glow (always visible, not just when manager selected) */
.lane.has-issue {
  border-color: rgba(244, 63, 94, 0.7);
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.2), 0 0 28px rgba(244, 63, 94, 0.18);
  animation: issuePulse 1.5s ease-in-out infinite;
}
.lane.has-issue .lane-label { color: #991b1b; }

/* Action banner overlays on lanes */
.lane-action-banner {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  font-family: 'Press Start 2P', monospace;
  font-size: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  animation: bannerBounce 1.6s ease-in-out infinite;
}
.lane-action-banner.deposit {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid rgba(217, 119, 6, 0.5);
  color: #92400e;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}
.lane-action-banner.issue {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #991b1b;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.lane-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  margin-bottom: 8px;
  color: #291334;
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

.lane-meta {
  margin-top: 8px;
  min-height: 48px;
  padding: 6px;
  width: 86px;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  color: #111827;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(17,24,39,0.1);
  border-radius: 8px;
}

.lane-cta {
  display: block;
  margin-top: 4px;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: #0f766e;
}

.cashier-booth {
  position: relative;
  width: 84px;
  height: 74px;
  border: 3px solid #1a0e04;
  border-radius: 6px;
  background:
    /* rivets on counter edges */
    radial-gradient(circle at 6px 6px, #fbbf24 1.5px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 6px) 6px, #fbbf24 1.5px, transparent 2.5px),
    radial-gradient(circle at 6px calc(100% - 6px), #fbbf24 1.5px, transparent 2.5px),
    radial-gradient(circle at calc(100% - 6px) calc(100% - 6px), #fbbf24 1.5px, transparent 2.5px),
    /* wood planks */
    repeating-linear-gradient(180deg,
      rgba(0,0,0,0.22) 0 1px,
      transparent 1px 11px,
      rgba(255,255,255,0.06) 11px 12px),
    /* wood grain vertical */
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.04) 0 2px,
      transparent 2px 5px),
    linear-gradient(180deg, #ecaa6e 0%, #c4824d 40%, #8c5a33 100%);
  box-shadow:
    0 4px 0 rgba(0,0,0,0.35),
    0 8px 14px rgba(0,0,0,0.3),
    inset 0 2px 0 rgba(255,255,255,0.22),
    inset 0 -3px 0 rgba(0,0,0,0.2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 14px;
  padding-bottom: 8px;
  overflow: visible;
  transition: all 0.25s ease;
}

.cashier-booth.selected {
  border-color: var(--cyan);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 0 3px rgba(34, 211, 238, 0.3), 0 0 16px rgba(34, 211, 238, 0.15);
}

/* POS screen/monitor area */
.cashier-booth::before {
  content: '';
  position: absolute;
  left: 8px; right: 8px; top: 6px;
  height: 16px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid #334155;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    inset 0 1px 3px rgba(0,0,0,0.5),
    0 0 8px rgba(99,102,241,0.1);
}

/* Screen indicator line (purple=closed, green=open) */
.cashier-booth::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: rgba(148,163,184,0.4);
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(148,163,184,0.2);
  transition: all 0.3s ease;
}

.lane.open .cashier-booth::after {
  background: rgba(74,222,128,0.9);
  box-shadow: 0 0 10px rgba(74,222,128,0.5), 0 0 4px rgba(74,222,128,0.3);
}

/* ── Deposit: cashier click indicator ── */
.lane.needs-deposit .cashier-booth:not(.selected) {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 0 3px rgba(251, 191, 36, 0.35), 0 0 18px rgba(251, 191, 36, 0.2);
  animation: depositBoothPulse 1.4s ease-in-out infinite;
}

.deposit-click-arrow {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: #fbbf24;
  animation: depositArrowBounce 0.8s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6));
  z-index: 5;
  pointer-events: none;
}

.deposit-click-label {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Press Start 2P', monospace;
  font-size: 5.5px;
  color: #fde68a;
  white-space: nowrap;
  animation: depositLabelPulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.8));
  z-index: 5;
  pointer-events: none;
}

.lane-status {
  margin-bottom: 6px;
  padding: 4px 6px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 6px;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #7f1d1d;
  line-height: 1.2;
  text-align: center;
  min-height: 20px;
  transition: all 0.3s ease;
}

.lane-queue-meter {
  margin: 0 0 8px;
  width: 86px;
  border: 1px solid rgba(15, 23, 42, 0.3);
  border-radius: 6px;
  background: rgba(255,255,255,0.25);
  padding: 2px;
  overflow: hidden;
}

.lane-queue-meter-fill {
  height: 6px;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.3);
}

.lane.open .lane-status {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #14532d;
  border-color: rgba(34, 197, 94, 0.2);
}

.issue-bubble {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 2px solid rgba(220, 38, 38, 0.7);
  border-radius: 10px;
  color: #7f1d1d;
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 6px 10px;
  z-index: 10;
  text-align: center;
  white-space: nowrap;
  line-height: 1.6;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3), 0 0 0 1px rgba(220, 38, 38, 0.1);
  animation: issueBubblePulse 1.8s ease-in-out infinite;
}

.issue-bubble::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #dc2626;
}

.issue-bubble::before {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #fef2f2;
  z-index: 1;
}

.cashier-sprite {
  width: 38px;
  height: 54px;
  position: relative;
  image-rendering: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45));
}

.cashier-sprite.selected {
  filter:
    drop-shadow(1px 2px 0 rgba(0,0,0,0.5))
    drop-shadow(0 0 5px rgba(34, 211, 238, 0.9))
    drop-shadow(0 0 10px rgba(34, 211, 238, 0.4));
}

.cashier-sprite::before,
.cashier-sprite::after,
.cashier-head,
.cashier-hair,
.cashier-cap,
.cashier-apron,
.cashier-arm-l,
.cashier-arm-r,
.cashier-tag,
.customer,
.cart {
  position: absolute;
}

/* Head with baked-in face (eyes + mouth) */
.cashier-head {
  left: 8px; top: 4px;
  width: 22px; height: 18px;
  background:
    radial-gradient(circle at 30% 45%, #0a0910 1.6px, transparent 2.2px),
    radial-gradient(circle at 70% 45%, #0a0910 1.6px, transparent 2.2px),
    radial-gradient(ellipse at 50% 77%, #7c2d12 8%, transparent 13%),
    radial-gradient(circle at 30% 62%, rgba(244,63,94,0.3) 9%, transparent 20%),
    radial-gradient(circle at 70% 62%, rgba(244,63,94,0.3) 9%, transparent 20%),
    linear-gradient(180deg, #ffd6b0 0%, #f3bf96 100%);
  border: 1px solid #5a3117;
  border-radius: 9px 9px 8px 8px;
  box-shadow: inset 0 -2px 4px rgba(124, 45, 18, 0.18), 0 1px 0 rgba(255,255,255,0.2);
}

/* Hair - brown cap of hair above the face */
.cashier-hair {
  left: 6px; top: -1px;
  width: 24px; height: 10px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(180deg, #8b5a2b 0%, #4a2a12 100%);
  border: 1px solid #2d1307;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Visor/cap - Farm Boy red cap (on top of hair) */
.cashier-cap {
  left: 5px; top: -4px;
  width: 24px; height: 8px;
  background: linear-gradient(180deg, #fb7185 0%, #be123c 100%);
  border: 1px solid #450a0a;
  border-radius: 7px 7px 2px 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Shirt (torso) */
.cashier-sprite::before {
  content: '';
  left: 4px; top: 21px;
  width: 30px; height: 19px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 22%, transparent 100%),
    linear-gradient(90deg, rgba(0,0,0,0.2) 0, transparent 16%, transparent 84%, rgba(0,0,0,0.2) 100%),
    var(--cashier);
  border: 1px solid #0f3d3a;
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

/* Left arm */
.cashier-arm-l {
  left: 2px; top: 23px;
  width: 7px; height: 15px;
  background: var(--cashier);
  border: 1px solid #0f3d3a;
  border-radius: 5px;
}

/* Right arm */
.cashier-arm-r {
  left: 29px; top: 23px;
  width: 7px; height: 15px;
  background: var(--cashier);
  border: 1px solid #0f3d3a;
  border-radius: 5px;
}

/* Apron over shirt */
.cashier-apron {
  left: 10px; top: 25px;
  width: 18px; height: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(226,232,240,0.95));
  border: 1px solid #0f172a;
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08);
}

/* Name tag (small yellow square) */
.cashier-tag {
  left: 24px; top: 22px;
  width: 6px; height: 4px;
  background: #fbbf24;
  border: 1px solid #7c2d12;
  box-shadow: 0 0 3px rgba(251, 191, 36, 0.6);
}

/* Pants/legs */
.cashier-sprite::after {
  content: '';
  left: 8px; top: 40px;
  width: 22px; height: 12px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(0,0,0,0.35) 50%, transparent 51%),
    linear-gradient(180deg, #374151 0%, #1f2937 100%);
  border: 1px solid #020617;
  border-radius: 0 0 5px 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.checkout-pop {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translate(-50%, 0);
  color: #4ade80;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.6), 0 2px 4px rgba(0,0,0,0.5);
  pointer-events: none;
  animation: checkoutPop 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 20;
  white-space: nowrap;
}

@keyframes checkoutPop {
  0% { opacity: 0; transform: translate(-50%, 12px) scale(0.7); filter: blur(2px); }
  15% { opacity: 1; transform: translate(-50%, 0) scale(1.1); filter: blur(0); }
  30% { transform: translate(-50%, -2px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -32px) scale(0.9); filter: blur(1px); }
}




.belt {
  position: relative;
  width: 67px;
  height: clamp(128px, 22dvh, 178px);
  border: 4px solid #3f3f46;
  border-left: 8px solid #27272a;
  border-right: 8px solid #27272a;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--belt) 0,
      var(--belt) 18px,
      var(--belt-line) 18px,
      var(--belt-line) 21px
    );
  box-shadow:
    inset 4px 0 0 rgba(255,255,255,0.03),
    inset -4px 0 0 rgba(255,255,255,0.03),
    0 4px 12px rgba(0,0,0,0.3);
  overflow: hidden;
}

.scanner {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 48px;
  height: 18px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #0c4a6e 0%, #0369a1 45%, #0ea5e9 100%);
  border: 2px solid #0c4a6e;
  border-radius: 4px;
  z-index: 4;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(6,182,212,0.6), 0 0 4px rgba(6,182,212,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}

.scanner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(34,211,238,0.8) 50%, transparent 100%);
  animation: scanBeam 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes scanBeam {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.belt-item {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.3);
  border-radius: 3px;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.15s ease;
}

.belt-item.circle { border-radius: 50%; }

.belt-divider {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 6px;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 40%, #d97706 100%);
  border: 1px solid rgba(146, 64, 14, 0.6);
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 0 8px rgba(251,191,36,0.2);
  z-index: 3;
}

.queue-space {
  position: absolute;
  top: 150px;
  right: -59px;
  width: 56px;
  height: clamp(176px, 28dvh, 240px);
  padding-top: 4px;
  border-radius: 10px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15) 0,
    rgba(255, 255, 255, 0.15) 22px,
    var(--queue-mark) 22px,
    var(--queue-mark) 25px
  );
  z-index: 4;
  pointer-events: none;
}

.transfer-layer {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
}

.customer.transit {
  z-index: 12;
}

.customer {
  left: 0;
  top: 0;
  width: 38px;
  height: 64px;
  transform-origin: center top;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.42));
  image-rendering: auto;
  /* transform set entirely via JS: translateX(-50%) translateY(Ypx) scale(0.8) */
}

.customer.walking .legs {
  animation: stride 0.4s ease-in-out infinite;
}

.customer.bulk .body {
  border-color: #7c2d12;
  box-shadow:
    0 0 0 2px rgba(250, 204, 21, 0.45),
    0 0 10px rgba(250, 204, 21, 0.25),
    inset 0 2px 0 rgba(255,255,255,0.22);
}

.customer .head {
  position: absolute;
  left: 8px; top: 4px;
  width: 22px; height: 20px;
  border: 1px solid #5b3418;
  border-radius: 11px 11px 9px 9px;
  background:
    radial-gradient(circle at var(--eye-lx, 35%) var(--eye-y, 45%), #0a0910 var(--eye-size, 1.5px), transparent calc(var(--eye-size, 1.5px) + 0.9px)),
    radial-gradient(circle at var(--eye-rx, 65%) var(--eye-y, 45%), #0a0910 var(--eye-size, 1.5px), transparent calc(var(--eye-size, 1.5px) + 0.9px)),
    radial-gradient(ellipse at 50% var(--nose-y, 60%), rgba(120, 72, 42, 0.45) var(--nose-size, 5%), transparent calc(var(--nose-size, 5%) + 7%)),
    radial-gradient(ellipse at 50% var(--mouth-y, 76%), #7c2d12 var(--mouth-size, 10%), transparent calc(var(--mouth-size, 10%) + 6%)),
    radial-gradient(circle at 30% 62%, rgba(244,63,94,0.25) 9%, transparent 20%),
    radial-gradient(circle at 70% 62%, rgba(244,63,94,0.25) 9%, transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent 35%),
    var(--skin, #f4c7a1);
  box-shadow: inset 0 -2px 4px rgba(124, 45, 18, 0.18);
}

/* Hair / hat on top of head */
.customer .hair {
  position: absolute;
  left: 7px; top: -1px;
  width: 24px; height: 10px;
  border: 1px solid #1c1208;
  border-bottom: none;
  border-radius: 9px 9px 0 0;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.18), transparent 42%),
    var(--hair, #3f2a1a);
}

.customer .body {
  position: absolute;
  left: 4px; top: 24px;
  width: 30px; height: 24px;
  border: 1px solid rgba(0,0,0,0.45);
  border-radius: 9px 9px 4px 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05) 42%, transparent),
    linear-gradient(90deg, rgba(0,0,0,0.17) 0, transparent 18%, transparent 82%, rgba(0,0,0,0.17) 100%),
    var(--shirt, #93c5fd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.customer .legs {
  position: absolute;
  left: 8px; top: 48px;
  width: 22px; height: 12px;
  border: 1px solid #020617;
  border-radius: 0 0 6px 6px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(0,0,0,0.45) calc(50% - 1px) 50%, transparent 50%),
    linear-gradient(180deg, #4b5563, #1f2937);
  transform-origin: center top;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.06);
}

.customer-mood {
  position: absolute;
  top: 6px;
  left: 34px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 24, 39, 0.3);
  border-radius: 999px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.3s ease;
}

.customer-mood.happy { background: #dcfce7; box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2); }
.customer-mood.sad { background: #fef3c7; box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2); }
.customer-mood.angry { background: #fee2e2; box-shadow: 0 2px 8px rgba(244, 63, 94, 0.2); animation: moodShake 0.5s ease-in-out; }

@keyframes stride {
  0%, 100% { transform: scaleX(1) translateY(0); }
  25% { transform: scaleX(0.82) translateY(-1px); }
  50% { transform: scaleX(1) translateY(0); }
  75% { transform: scaleX(0.82) translateY(-1px); }
}

.patience {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 42px;
  height: 6px;
  transform: translateX(-50%);
  border: 1px solid rgba(17, 24, 39, 0.5);
  border-radius: 4px;
  background: rgba(31, 41, 55, 0.8);
  overflow: hidden;
}

.patience-fill {
  height: 100%;
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(to right, #f43f5e, #fbbf24, #4ade80);
  transform-origin: left;
  transition: transform 0.1s linear;
  box-shadow: 0 0 4px rgba(74, 222, 128, 0.3);
}

.cart {
  top: -4px;
  left: 50%;
  width: 56px;
  height: 50px;
  transform: translateX(calc(-50% - 14px));
  display: none;
  z-index: 4;
}

.lane.closed .cart { display: block; }

/* Basket body with mesh grid and thick top-frame handle */
.cart::before {
  content: '';
  position: absolute;
  left: 5px; top: 6px;
  width: 44px; height: 22px;
  border: 3px solid #374151;
  border-top: 6px solid #4b5563;
  background:
    repeating-linear-gradient(90deg, rgba(55,65,81,0.38) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(180deg, rgba(55,65,81,0.38) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #d1d5db 0%, #adb5c2 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    2px 2px 0 rgba(0,0,0,0.2);
}

/* Wheels with hub rings and axle bar */
.cart::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 6px;
  width: 44px;
  height: 12px;
  background:
    radial-gradient(circle, #1f2937 40%, #6b7280 40% 60%, transparent 60%) 0 0/12px 12px no-repeat,
    radial-gradient(circle, #1f2937 40%, #6b7280 40% 60%, transparent 60%) 100% 0/12px 12px no-repeat,
    linear-gradient(transparent 5px, #374151 5px 7px, transparent 7px);
}

.rope {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 4;
}

.rope::before,
.rope::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 30px;
  border-radius: 5px 5px 2px 2px;
  /* Gold/bronze metallic stanchion post */
  background: linear-gradient(90deg,
    #78350f 0%,
    #b45309 18%,
    #d97706 32%,
    #fbbf24 46%,
    #f59e0b 54%,
    #d97706 68%,
    #92400e 84%,
    #78350f 100%
  );
  bottom: 0;
  box-shadow: 0 -3px 5px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.25);
}

.rope::before { left: 0; }
.rope::after { right: 0; }

.rope-strap {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 11px;
  height: 6px;
  /* Velvet rope highlight */
  background: linear-gradient(180deg,
    #fca5a5 0%,
    #ef4444 18%,
    #b91c1c 50%,
    #ef4444 82%,
    #fca5a5 100%
  );
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.2);
  transition: opacity 0.25s ease;
}

.rope.blocking .rope-strap {
  background: repeating-linear-gradient(
    to right,
    #ef4444 0px,
    #ef4444 8px,
    #7f1d1d 8px,
    #7f1d1d 12px
  );
  box-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 0 5px rgba(239,68,68,0.4);
  border-radius: 2px;
}

.rope.retracted .rope-strap {
  opacity: 0;
}

.rope.retracted {
  opacity: 0;
}

