:root {
  --wall: #2b1d12;
  --wood-dark: #3a281a;
  --wood: #6b4a2f;
  --wood-light: #a67c52;
  --plank-a: #8b6443;
  --plank-b: #7d593a;
  --cream: #fff4e0;
  --paper: #fffaf0;
  --ink: #3a2a1c;
  --muted: #b89d7f;
  --gold: #ffc94d;
  --gold-dark: #c98a12;
  --green: #5bb56b;
  --green-dark: #3b8a4a;
  --red: #e0605a;
  --shadow: 0 6px 18px rgba(0, 0, 0, .35);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: var(--wall);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 64px);
  color: var(--cream);
  font-family: var(--font);
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}
body { overflow: hidden; }

#stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  max-height: 960px;
  margin: 0 auto;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0) 30%),
    repeating-linear-gradient(90deg, var(--plank-a) 0 58px, var(--plank-b) 58px 60px, #86603f 60px 118px, var(--plank-b) 118px 120px);
  box-shadow: 0 0 40px rgba(0,0,0,.5);
}
@media (min-height: 961px) { #stage { top: calc((100% - 960px) / 2); border-radius: 18px; } }

.screen { position: absolute; inset: 0; display: flex; flex-direction: column; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  font: 800 17px var(--font);
  color: #3a2208;
  background: linear-gradient(180deg, #ffd978, var(--gold) 55%, #f2ad2c);
  border: 0;
  border-radius: 14px;
  padding: 11px 22px;
  box-shadow: 0 4px 0 var(--gold-dark), 0 8px 16px rgba(0,0,0,.3);
  cursor: pointer;
  transition: transform .08s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-dark), 0 4px 8px rgba(0,0,0,.3); }
.btn.big { font-size: 24px; padding: 14px 48px; border-radius: 18px; }
.btn.small { font-size: 14px; padding: 8px 14px; }
.btn.ghost { background: rgba(255,244,224,.12); color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255,244,224,.3); }
.btn.green { background: linear-gradient(180deg, #86d98f, var(--green) 60%, #4aa35a); color: #0f2a14; box-shadow: 0 4px 0 var(--green-dark), 0 8px 16px rgba(0,0,0,.3); }
.btn.warn { background: linear-gradient(180deg, #f59a8f, var(--red)); color: #3a0d09; box-shadow: 0 3px 0 #9d3a34; }
.icon-btn {
  font: 800 15px var(--font);
  color: var(--cream);
  background: rgba(255,244,224,.12);
  border: 0;
  border-radius: 10px;
  width: 34px; height: 34px;
  cursor: pointer;
}
.icon-btn.round { border-radius: 50%; }
.back { color: var(--cream); opacity: .85; text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap; }
.pill { background: rgba(0,0,0,.28); border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 14px; white-space: nowrap; }

/* ---------- title ---------- */
.title-top { padding: 12px 14px; }
.title-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 16px 40px; text-align: center; }
#title-art { position: relative; width: 250px; height: 170px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
#title-art .crate { position: absolute; }
.logo {
  margin: 4px 0 0;
  font-size: 50px;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--cream);
  text-shadow: 0 3px 0 #5a3b22, 0 6px 14px rgba(0,0,0,.4);
}
.tagline { margin: 0 0 10px; color: #f3dfc0; font-size: 16px; line-height: 1.4; font-weight: 600; }

/* ---------- header bar ---------- */
.bar {
  flex: 0 0 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #4a3322, var(--wood-dark));
  box-shadow: 0 2px 0 rgba(0,0,0,.3);
  z-index: 5;
}
.bar-title { font-weight: 900; font-size: 18px; }
.bar-mid { display: flex; flex-direction: column; align-items: center; }
#day-label { font-weight: 900; font-size: 16px; line-height: 1.1; }
#wave-pips { display: flex; gap: 4px; margin-top: 3px; }
#wave-pips i { width: 16px; height: 5px; border-radius: 3px; background: rgba(255,244,224,.2); }
#wave-pips i.done { background: var(--green); }
#wave-pips i.now { background: var(--gold); }
.bar-right { display: flex; align-items: center; gap: 8px; }
#strikes { display: flex; gap: 3px; }
#strikes i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,244,224,.18); box-shadow: inset 0 0 0 2px rgba(255,244,224,.25); }
#strikes i.on { background: var(--red); box-shadow: 0 0 6px var(--red); }
#strikes.bump { animation: bump .4s; }
@keyframes bump { 30% { transform: scale(1.35); } }

/* ---------- counter (customers) ---------- */
#counter {
  position: relative;
  flex: 0 0 116px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 22px, rgba(0,0,0,.03) 22px 44px),
    linear-gradient(180deg, #d8c3a0, #c7ad84);
}
#counter::before { /* back shelf */
  content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 7px;
  background: #8a6443; box-shadow: 0 3px 4px rgba(0,0,0,.2);
}
.countertop {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28px; z-index: 3;
  background: linear-gradient(180deg, #b98a5c, #8f663f 40%, #6f4c2e);
  box-shadow: 0 -3px 6px rgba(0,0,0,.25);
  border-top: 3px solid #d2a676;
}
#sign {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%) rotate(-2deg); z-index: 1;
  background: #3b2a1c; color: var(--cream); font-weight: 800; font-size: 13px;
  padding: 5px 12px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,.3);
  transition: opacity .3s;
}
#sign.open { background: var(--green-dark); left: auto; right: 8px; transform: rotate(3deg); font-size: 11px; padding: 3px 8px; }
#cust-row { position: absolute; inset: 0; z-index: 2; }
.cust {
  position: absolute; bottom: 8px; width: 96px; margin-left: -48px;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .45s cubic-bezier(.3,1.4,.5,1), opacity .45s;
}
.cust.enter { transform: translateX(160px); opacity: 0; }
.cust.leave-happy { transform: translateY(-6px) translateX(-170px); opacity: 0; transition-duration: .7s; }
.cust.leave-angry { transform: translateX(170px); opacity: 0; transition-duration: .6s; }
.cust .bubble {
  position: relative;
  width: 52px; height: 44px;
  display: grid; place-items: center;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 0 0 3px var(--cat, #ccc), 0 4px 8px rgba(0,0,0,.25);
  font-family: var(--emoji);
  font-size: 26px;
}
.cust .bubble::after {
  content: ""; position: absolute; bottom: -9px; left: 50%; margin-left: -6px;
  border: 6px solid transparent; border-top: 6px solid var(--cat, #ccc);
}
.cust .pbar { width: 60px; height: 7px; margin: 10px 0 2px; border-radius: 4px; background: rgba(0,0,0,.25); overflow: hidden; }
.cust .pbar i { display: block; height: 100%; width: 100%; background: var(--green); border-radius: 4px; }
.cust .face { font-family: var(--emoji); font-size: 38px; line-height: 1; margin-bottom: -16px; }
.cust.hurt .pbar { animation: hurt .35s; }
@keyframes hurt { 0%, 100% { transform: none; } 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }

/* ---------- floor + grid ---------- */
#floor {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 12px;
}
#grid-wrap {
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #b88b5d, #99704a);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.25), inset 0 -3px 0 rgba(0,0,0,.2), 0 10px 22px rgba(0,0,0,.35);
}
#grid { position: relative; }
#grid-cells { position: absolute; inset: 0; display: grid; }
#grid-cells .cell {
  margin: 1.5px;
  border-radius: 5px;
  background: rgba(60,38,20,.28);
  box-shadow: inset 0 2px 3px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.12);
}
#ghost, #crates { position: absolute; inset: 0; pointer-events: none; }
#ghost .g { position: absolute; border-radius: 6px; }
#ghost .g.ok { background: rgba(120, 230, 130, .45); box-shadow: inset 0 0 0 2px rgba(80, 200, 100, .9); }
#ghost .g.bad { background: rgba(240, 90, 80, .4); box-shadow: inset 0 0 0 2px rgba(220, 70, 60, .9); }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#fx line { stroke: #fff7b0; stroke-linecap: round; filter: drop-shadow(0 0 4px #ffe45c); animation: fxin .35s ease-out both; }
#fx circle { fill: #fffbe0; filter: drop-shadow(0 0 5px #ffd84a); animation: fxin .35s ease-out both; }
@keyframes fxin { from { opacity: 0; } to { opacity: 1; } }

.crate { position: absolute; transition: opacity .15s; }
#crates .crate, #bay-current .crate, .ov-slot .crate, .next-slot .crate { pointer-events: none; }
.crate svg { display: block; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.crate.lifted { opacity: .22; }
.crate.glow svg { animation: glow 1.1s ease-in-out 2; }
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
  50% { filter: drop-shadow(0 0 8px #fff2a0) drop-shadow(0 0 3px #fff); }
}
.crate.shake { animation: shake .35s; }
@keyframes shake { 20% { transform: translateX(-4px) rotate(-2deg); } 40% { transform: translateX(4px) rotate(2deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.crate.pop svg { animation: pop .25s ease-out; }
@keyframes pop { 0% { transform: scale(1.12); } 100% { transform: scale(1); } }
.crate.sealing svg { animation: seal .45s ease-out; }
@keyframes seal { 0% { transform: scale(1); } 40% { transform: scale(.94); } 100% { transform: scale(1); } }

/* ---------- truck bay ---------- */
#bay {
  position: relative;
  flex: 0 0 136px;
  display: flex; gap: 8px;
  padding: 12px 10px 10px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.05), transparent 40%),
    linear-gradient(180deg, #6d665c, #555047);
}
#bay::before { /* hazard stripe */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px;
  background: repeating-linear-gradient(-45deg, #f2c230 0 10px, #2c2620 10px 20px);
  opacity: .9;
}
.bay-label { position: absolute; top: 4px; left: 10px; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,244,224,.7); z-index: 1; }
#truck {
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; align-items: stretch; gap: 6px;
  padding: 18px 6px 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3d4a55, #2c363f);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), inset 0 -8px 0 rgba(0,0,0,.2);
}
#bay-current { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; cursor: grab; }
#bay-current .crate { position: relative; }
#bay-next { flex: 0 0 46px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.next-slot { height: 44px; border-radius: 8px; background: rgba(0,0,0,.22); display: flex; align-items: center; justify-content: center; }
.next-slot .crate { position: relative; }
#btn-rotate { position: absolute; right: 56px; bottom: 6px; width: 34px; height: 34px; font-size: 20px; background: rgba(255,244,224,.18); z-index: 2; }
#btn-rotate:disabled { opacity: .25; }
#truck-msg { position: absolute; inset: 18px 6px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 14px; color: var(--cream); pointer-events: none; }
#truck-msg small { display: block; font-weight: 700; font-size: 12px; opacity: .7; margin-top: 3px; }
#btn-open { position: absolute; left: 50%; top: 70%; transform: translate(-50%, -50%); z-index: 3; animation: breathe 1.4s ease-in-out infinite; white-space: nowrap; }
#btn-open:active { transform: translate(-50%, -46%); }
@keyframes breathe { 50% { box-shadow: 0 4px 0 var(--gold-dark), 0 0 22px rgba(255, 201, 77, .75); } }
#btn-return { position: absolute; left: 6px; bottom: 6px; z-index: 3; padding: 6px 9px; font-size: 12px; }

#overflow {
  position: relative; flex: 0 0 132px;
  padding: 18px 6px 6px;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.12) 0 8px, rgba(0,0,0,.04) 8px 16px), #4b453d;
  box-shadow: inset 0 0 0 2px rgba(242, 194, 48, .35);
  transition: box-shadow .15s;
}
#overflow.hot { box-shadow: inset 0 0 0 3px rgba(120, 230, 130, .9); }
#overflow.nope { box-shadow: inset 0 0 0 3px rgba(240, 90, 80, .9); }
.ov-slots { display: flex; gap: 6px; height: 100%; }
.ov-slot { flex: 1; border-radius: 8px; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; border: 2px dashed rgba(255,244,224,.18); }
.ov-slot .crate { position: relative; }

/* ---------- floaters, banner, drag ---------- */
#drag-layer { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
#drag-layer .crate { position: absolute; }
#drag-layer .crate.float svg { filter: drop-shadow(0 10px 8px rgba(0,0,0,.4)); transform: scale(1.04); }
#drag-layer .flyer { position: absolute; transition: transform .5s cubic-bezier(.5,-0.2,.6,1), opacity .5s; }
#floaters { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
.floater {
  position: absolute; transform: translate(-50%, -50%);
  font-weight: 900; font-size: 20px; color: var(--gold);
  text-shadow: 0 2px 0 #6b3e0c, 0 0 8px rgba(0,0,0,.4);
  animation: floatup 1.2s ease-out forwards; white-space: nowrap;
}
.floater.big { font-size: 30px; }
.floater.bad { color: #ff8a80; text-shadow: 0 2px 0 #6b1b14; }
.floater.cool { color: #fff7b0; }
@keyframes floatup { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.7); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -160%) scale(1); } }

#banner {
  position: absolute; left: 50%; top: 42%; z-index: 35;
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  background: linear-gradient(180deg, #fff4dc, #f5dfb8); color: var(--ink);
  font-weight: 900; font-size: 22px; text-align: center; line-height: 1.2;
  padding: 14px 24px; border-radius: 18px; box-shadow: var(--shadow), 0 0 0 4px rgba(90, 59, 34, .5);
  pointer-events: none; white-space: nowrap;
}
#banner small { display: block; font-size: 13px; font-weight: 700; opacity: .7; margin-top: 3px; }
#banner.show { animation: banner 1.6s ease forwards; }
@keyframes banner {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  25%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -60%) scale(.95); }
}

/* ---------- tutorial ---------- */
#tut-hand {
  position: absolute; z-index: 45; pointer-events: none;
  font-family: var(--emoji); font-size: 42px; line-height: 1;
  margin: -4px 0 0 -14px;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.4));
}
#tut-hand.tap { animation: tap 1s ease-in-out infinite; }
#tut-hand.drag { animation: dragdemo 2.2s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: translateY(8px); } 50% { transform: translateY(-4px) scale(1.06); } }
@keyframes dragdemo {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { transform: translate(0, 0); opacity: 1; }
  70% { transform: translate(var(--dx), var(--dy)); opacity: 1; }
  90%, 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
#tut-tip {
  position: absolute; left: 50%; z-index: 44; transform: translateX(-50%);
  max-width: 90%;
  background: var(--paper); color: var(--ink);
  font-weight: 800; font-size: 15px; text-align: center;
  padding: 9px 14px; border-radius: 12px;
  box-shadow: var(--shadow), 0 0 0 3px var(--gold);
  pointer-events: none;
  animation: tipin .3s ease-out;
}
#tut-tip .emo { font-family: var(--emoji); }
@keyframes tipin { from { opacity: 0; transform: translate(-50%, 6px); } }

/* ---------- modal ---------- */
#modal {
  position: absolute; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(25, 15, 8, .62);
  padding: 16px;
  animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } }
.card {
  width: 100%; max-width: 340px;
  background: linear-gradient(180deg, #fff6e4, #f3e0bf);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px 20px 20px;
  text-align: center;
  box-shadow: 0 0 0 5px #7a5433, 0 16px 40px rgba(0,0,0,.5);
  animation: cardin .3s cubic-bezier(.3,1.5,.5,1);
}
@keyframes cardin { from { transform: scale(.8); opacity: 0; } }
.card h2 { margin: 0 0 6px; font-size: 26px; font-weight: 900; }
.card p { margin: 6px 0 14px; font-size: 15px; line-height: 1.45; font-weight: 600; color: #5a4430; }
.card .emo { font-family: var(--emoji); font-size: 44px; line-height: 1.1; }
.card .btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.card .btns.row { flex-direction: row; justify-content: center; }
.card .btns.row .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
.card .stars { font-size: 44px; letter-spacing: 4px; margin: 4px 0 8px; }
.card .stars span { display: inline-block; color: #d6c3a4; text-shadow: 0 2px 0 rgba(0,0,0,.12); }
.card .stars span.on { color: var(--gold); text-shadow: 0 2px 0 var(--gold-dark), 0 0 12px rgba(255, 201, 77, .6); animation: starpop .45s cubic-bezier(.3,1.8,.5,1) both; }
.card .stars span:nth-child(2).on { animation-delay: .25s; }
.card .stars span:nth-child(3).on { animation-delay: .5s; }
@keyframes starpop { from { transform: scale(0) rotate(-40deg); } }
.card table { width: 100%; border-collapse: collapse; font-size: 15px; font-weight: 700; }
.card td { padding: 5px 4px; border-bottom: 1px dashed rgba(90, 60, 30, .2); text-align: left; }
.card td:last-child { text-align: right; }
.card tr.total td { border-bottom: 0; font-size: 18px; font-weight: 900; padding-top: 9px; }
.card .neg { color: #b8433b; }
.card .pos { color: #3b8a4a; }
.card .hint { font-size: 12px; color: #8a7055; margin-top: 8px; font-weight: 700; }
.card .btn.ghost { color: var(--ink); background: rgba(90, 60, 30, .08); box-shadow: inset 0 0 0 2px rgba(90, 60, 30, .25); }

/* ---------- map ---------- */
#map-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
#map-path { position: relative; margin: 0 auto; max-width: 420px; }
#map-path svg.road { position: absolute; inset: 0; width: 100%; height: 100%; }
.node {
  position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; border: 0; cursor: pointer;
  font: 900 24px var(--font); color: #3a2208;
  background: radial-gradient(circle at 35% 30%, #ffe7a6, var(--gold) 55%, #e59b1d);
  box-shadow: 0 5px 0 var(--gold-dark), 0 10px 16px rgba(0,0,0,.35);
}
.node:active { transform: translateY(3px); }
.node.done { background: radial-gradient(circle at 35% 30%, #c8f2c4, #7fd07f 55%, #4aa35a); box-shadow: 0 5px 0 var(--green-dark), 0 10px 16px rgba(0,0,0,.35); color: #10301a; }
.node.locked { background: radial-gradient(circle at 35% 30%, #a39384, #7c6b5c); box-shadow: 0 5px 0 #4d4036; color: rgba(255,255,255,.6); cursor: default; font-size: 20px; }
.node.current { animation: nodepulse 1.4s ease-in-out infinite; }
@keyframes nodepulse { 50% { box-shadow: 0 5px 0 var(--gold-dark), 0 0 0 8px rgba(255, 201, 77, .35), 0 10px 16px rgba(0,0,0,.35); } }
.node-stars { position: absolute; left: 50%; top: 62px; transform: translateX(-50%); font-size: 16px; letter-spacing: 1px; white-space: nowrap; color: rgba(0,0,0,.35); text-shadow: 0 1px 0 rgba(255,255,255,.2); pointer-events: none; }
.node-stars .on { color: var(--gold); text-shadow: 0 1px 0 var(--gold-dark); }
.milestone {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--wood-dark); color: var(--cream);
  font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 3px 6px rgba(0,0,0,.3); pointer-events: none;
}

@media (max-height: 620px) {
  #counter { flex-basis: 104px; }
  #bay { flex-basis: 124px; }
}

/* customer sits beside their bubble, above the countertop (face was hidden behind it) */
.cust {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
  column-gap: 6px; align-items: center; width: 112px; margin-left: -56px; bottom: 32px;
}
.cust .face { grid-column: 1; grid-row: 1 / 3; font-size: 40px; margin: 0; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.cust .bubble { grid-column: 2; grid-row: 1; }
.cust .bubble::after { bottom: auto; top: 50%; left: -9px; margin: -6px 0 0; border: 6px solid transparent; border-right: 6px solid var(--cat, #ccc); border-left: 0; }
.cust .pbar { grid-column: 2; grid-row: 2; width: 52px; margin: 7px 0 0; }
#sign.open { opacity: 0; pointer-events: none; }
