/* ─── FONTS ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'BarFont';
  src: url('assets/fonts/TheBarFont-Regular.otf');
}
@font-face {
  font-family: 'Scratchy';                 /* user's handwriting font (Calligraphr) — recipe titles */
  src: url('assets/fonts/Scratchy-Regular.otf');
}
@font-face {
  font-family: 'BarFontBold';
  src: url('assets/fonts/ThBarFont_Bold-Regular.otf');
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; height: 100%;
  background: #000;
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── VIEWPORT SCALING ───────────────────────────────────────── */
#viewport {
  width: 844px;
  height: 390px;
  transform-origin: top left;
  position: relative;
}

#game {
  width: 844px;
  height: 390px;
  position: relative;
  overflow: hidden;
  background: #000;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;   /* no iOS long-press menu while holding to pour */
}

/* ─── SCREENS ────────────────────────────────────────────────── */
.screen {
  position: absolute;
  inset: 0;
  width: 844px;
  height: 390px;
  display: none;
  overflow: hidden;
}
.screen.active { display: block; }

/* ─── BUTTON COMPONENT SET — Figma 502:1951 ─────────────────────
   Primary (486:1660): #cccaf3, 54 tall, 24px sides.
   Secondary (486:1724): #918fb7, 40 tall, 34px sides.
   Both hug their label: Bar Font Bold 26, #040318, radius 12.
   Back / forward navigation (486:1665 / 486:1687) = .arrow-btn below. */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'BarFontBold', sans-serif;
  font-size: 26px;
  line-height: normal;
  color: #040318;
  white-space: nowrap;
  transition: transform 0.1s;
}
.btn-primary   { background: #cccaf3; height: 54px; padding: 0 24px; }
.btn-secondary { background: #918fb7; height: 40px; padding: 0 34px; }
.btn-primary:active, .btn-secondary:active { transform: scale(0.96); }
/* Secondary, outlined variant (Figma 507:59 "Variant2"): #918fb7 border + text, no fill, 43 tall */
.btn-secondary.outline { background: transparent; border: 1.5px solid #918fb7; color: #918fb7; height: 43px; }

/* ─── SHARED HUD ELEMENTS ────────────────────────────────────── */
.pause-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px;
}
.pause-bar {
  width: 4px;
  height: 18px;
  background: #fff;
  border-radius: 2px;
}
.hud-left-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8e8e8e;
  font-family: 'BarFontBold', sans-serif;
  font-size: 16px;
  padding: 6px 10px;
}
.hud-left-btn img { filter: invert(60%); }
.hud-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ═══════════════════════════════════════════
   HOME (463:1564) — first screen (the loading screen was removed, user 2026-09-30)
═══════════════════════════════════════════ */
#screen-home { background: #12111d; }
/* Figma 606:554 (off) / 606:942 (on) — frames 32–34 */
.bd-logo { position: absolute; pointer-events: none; }
.home-logo { left: 115px; top: 84px; width: 301px; height: 211px; }
.home-logo svg { display: block; width: 100%; height: 100%; }
#home-bottles { position: absolute; left: -10px; top: 320px; width: 854px; height: 97.23px; opacity: 0.5; pointer-events: none; }   /* runs off the bottom */
#home-bottles img { position: absolute; object-fit: cover; }

/* Neon-sign flicker on the E only (user, 2026-10-01): a "faulty tube" — abrupt on/off blinks, no glow */
#logo-Vector_4 { animation: tube-e 4.3s step-end infinite; }
@keyframes tube-e { 0%, 100% { opacity: 1; } 41% { opacity: .25; } 42% { opacity: .9; } 43% { opacity: .2; } 47% { opacity: 1; } 80% { opacity: .3; } 81% { opacity: 1; } }

/* MOCKTAILS ONLY: "DRY" + the martini turn pink (plain fade — no flicker, user 2026-10-07);
   the only animation is the garnish: the olive pick lifts out, a cherry drops in */
.home-logo .tube { transition: fill .3s ease; }
#screen-home.mocktails .home-logo .tube { fill: #dc6fd3; }
.home-logo .olive { transition: transform .4s cubic-bezier(.3,1.5,.5,1) .1s, opacity .25s .1s; }
#screen-home.mocktails .home-logo .olive { transform: translate(7px, -22px); opacity: 0; transition: transform .35s ease-in, opacity .3s ease-in; }
#logo-cherry { opacity: 0; transform: translateY(-34px); transition: transform .3s ease-in, opacity .2s ease-in; }
#screen-home.mocktails #logo-cherry { opacity: 1; transform: none; transition: transform .55s cubic-bezier(.3,1.7,.5,1) .25s, opacity .15s .25s; }
@media (prefers-reduced-motion: reduce) { #logo-Vector_4 { animation: none; } }

/* Toggle: track 47×23 at (20,18), 18px knob, label + ⓘ beside it */
.mode-toggle {
  position: absolute; left: 12px; top: 10px; height: 39px; padding: 0 8px;
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer;
}
.mode-track { position: relative; width: 47px; height: 23px; border-radius: 39px; background: #2b2a3c; transition: background .25s; flex: none; }
.mode-knob { position: absolute; left: 3px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #918fb7; transition: transform .25s cubic-bezier(.3,1.3,.5,1), background .25s; }
.mode-label { font-family: 'BarFontBold', sans-serif; font-size: 16px; line-height: 14px;   /* 16 (user, 2026-10-07; Figma 14) */ color: #918fb7; white-space: nowrap; transition: color .25s; }
#btn-mode-info { position: absolute; left: 184.5px; top: 16.5px; width: 26px; height: 26px; padding: 8px; background: none; border: none; cursor: pointer; color: #918fb7; transition: color .25s; }
#btn-mode-info svg { display: block; transform: rotate(-90deg); }   /* drawn in portrait in Figma, like the gear */
#screen-home.mocktails .mode-track { background: #5b3e5c; }
#screen-home.mocktails .mode-knob { transform: translateX(23px); background: #dc6fd3; }
#screen-home.mocktails .mode-label, #screen-home.mocktails #btn-mode-info { color: #dc6fd3; }
#mode-tip {
  position: absolute; left: 20px; top: 46px; width: 236px; z-index: 5;
  padding: 9px 12px; border-radius: 8px; background: #2b2a45;
  font-family: 'BarFont', sans-serif; font-size: 15px; line-height: 1.25; color: #cccaf3;
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s, transform .2s;
}
#mode-tip.show { opacity: 1; transform: none; }

/* DRINK MENU above START SHIFT (205×46 button, text 26) */
#btn-start-shift { position: absolute; left: 536px; top: 184px; width: 205px; height: 46px; padding: 0; }
.home-link {
  position: absolute;
  left: 568px;
  top: 137px;
  width: 141px;
  height: 30px;
  background: none;
  border: none;
  padding: 0;
  font-family: 'BarFont', sans-serif;
  font-size: 26px;
  line-height: normal;
  color: #918fb7;
  text-align: center;
  white-space: nowrap;
}
/* Profile image — Figma 606:554: 34px circle at (782,23), Scratchy initial in the logo green */
.profile-dot { width: 34px; height: 34px; border-radius: 50%; background: #45426a; border: none; padding: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Scratchy', 'BarFontBold', sans-serif; font-size: 32.5px; line-height: 1; color: #c5dc6f; flex: none; }
.profile-dot span { margin-top: 2px; }
.profile-dot.big { width: 64px; height: 64px; font-size: 58px; }
.profile-dot.big span { margin-top: 4px; }
#btn-profile { position: absolute; left: 782px; top: 23px; cursor: pointer; }
#btn-profile::before { content: ''; position: absolute; inset: -10px; }   /* bigger tap area */
#screen-home.signed-out #btn-profile span { visibility: hidden; }          /* empty circle when signed out */

/* ═══════════════════════════════════════════
   PROFILE + LEADERBOARD (user-approved mockups, 2026-10-13)
═══════════════════════════════════════════ */
#screen-profile, #screen-leaderboard { background: #040318; }
#account-card { position: absolute; left: 70px; top: 67px; width: 320px; height: 256px; box-sizing: border-box; padding: 24px 26px; background: #2b2a45; border-radius: 12px; }
#account-in, #account-out { display: flex; flex-direction: column; gap: 12px; height: 208px; }   /* fills the card (no "ACCOUNT" label — user, 2026-10-13) */
#account-in > button, #account-out > button { margin-top: auto; align-self: flex-start; }
.pf-label { font-family: 'BarFontBold', sans-serif; font-size: 14px; letter-spacing: 2px; color: #918fb7; }
.pf-who { display: flex; align-items: center; gap: 14px; }
.pf-name { font-family: 'BarFontBold', sans-serif; font-size: 24px; line-height: normal; color: #fff; }
.pf-sub { margin: 0; font-family: 'BarFont', sans-serif; font-size: 16px; line-height: 1.25; color: #9d9cb6; }
#btn-sign-in { height: 46px; padding: 0 30px; font-size: 24px; }
#btn-sign-out { height: 43px; padding: 0 30px; font-size: 22px; }
#profile-rows { position: absolute; left: 444px; top: 111px; width: 330px; }
.pf-row { width: 100%; height: 56px; padding: 0; display: flex; align-items: center; justify-content: space-between; background: none; border: none; border-bottom: 1.5px solid #2b2a45;
  font-family: 'BarFontBold', sans-serif; font-size: 20px; color: #cccaf3; cursor: pointer; }
.pf-row:last-child { border-bottom: none; }
.pf-row img.flip { transform: scaleX(-1); opacity: .9; }
.tog { position: relative; width: 47px; height: 23px; border-radius: 39px; background: #2b2a3c; flex: none; transition: background .25s; }
.tog i { position: absolute; left: 3px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #918fb7; transition: transform .25s cubic-bezier(.3,1.3,.5,1), background .25s; }
.tog.on { background: #5b3e5c; }
.tog.on i { transform: translateX(23px); background: #dc6fd3; }

#board-title { position: absolute; left: 0; right: 0; top: 18px; text-align: center; font-family: 'Scratchy', 'BarFontBold', sans-serif; font-size: 45px; line-height: 1; color: #cccaf3; white-space: nowrap; }
#board-sub { position: absolute; left: 0; right: 0; top: 70px; text-align: center; font-family: 'BarFont', sans-serif; font-size: 15px; color: #918fb7; }
.board-card { position: absolute; top: 104px; width: 330px; height: 262px; box-sizing: border-box; padding: 16px 16px 0; background: #2b2a45; border-radius: 12px; }
.board-card .pf-label { margin: 0 8px 10px; }
/* Each list scrolls inside its card (5 rows show at a time); soft fade where rows run off */
#board-best, #board-total { position: relative; height: 212px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); padding: 6px 0 10px; box-sizing: border-box; }
#board-best::-webkit-scrollbar, #board-total::-webkit-scrollbar { display: none; }
.board-row { display: flex; align-items: center; height: 42px; padding: 0 8px; border-radius: 8px; gap: 10px; font-family: 'BarFontBold', sans-serif; font-size: 18px; color: #cccaf3; }
.board-row .n { width: 16px; color: #918fb7; }
.board-row .a { width: 30px; height: 30px; border-radius: 50%; background: #040318; overflow: hidden; position: relative; flex: none; }
.board-row .a img { position: absolute; left: 1px; top: 2px; width: 28px; }
.board-row .a.me { background: #45426a; display: flex; align-items: center; justify-content: center; font-family: 'Scratchy', sans-serif; font-size: 27px; line-height: 1; color: #c5dc6f; }
.board-row .amt { margin-left: auto; font-family: 'BarFont', sans-serif; font-size: 19px; color: #fff; }
.board-row.you { background: #3c3b5c; color: #fff; }
.board-row.you .n { color: #cccaf3; }

/* ═══════════════════════════════════════════
   DRINK MENU — Figma 559:427, scaled ×0.591 (1428 → 844 wide).
   Every card is built at the big center size; side cards are the same card scaled
   ×0.72 at 70% opacity. Positions/animation are transforms set in game.js.
═══════════════════════════════════════════ */
#screen-menu { background: #040318; }
#btn-menu-home { left: 19px; top: 25px; z-index: 10; }
#menu-carousel { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.menu-card {
  position: absolute; left: 0; top: 0;
  width: 277.2px; height: 308.6px;
  padding: 34.2px 18px 0;
  background: #2b2a45; border-radius: 11.1px;
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 50%;
  transition: transform 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}
.menu-card.no-anim { transition: none; }
.menu-card .menu-name { width: 240.2px; height: 42px; display: flex; align-items: center; justify-content: center; font-family: 'Scratchy', 'BarFontBold', sans-serif; line-height: normal; color: #cccaf3; }
.menu-card .menu-name span { display: inline-block; white-space: nowrap; }
.menu-card .menu-ings { margin-top: 12px; font-family: 'BarFont', sans-serif; font-size: 25.9px; line-height: 1.32; color: #cccaf3; text-align: center; white-space: nowrap; }
.menu-card .menu-ings .ing { color: #edecff; }
.menu-card.long .menu-ings { columns: 2; column-gap: 14px; text-align: left; }   /* 7+ lines (Long Island) */
.menu-card .menu-glass { margin-top: 12px; width: 40.7px; height: 54.5px; position: relative; flex: none; }
.menu-card .menu-glass .drink-view { left: 0; top: 0; transform-origin: 0 0; transform: scale(0.3323); }
.menu-arrow { position: absolute; top: 192.1px; width: 24.8px; height: 24.8px; padding: 0; border: none; background: none; z-index: 10; cursor: pointer; }
.menu-arrow::before { content: ''; position: absolute; inset: -12px; }   /* bigger tap area */
.menu-arrow img { width: 100%; height: 100%; display: block; }
.menu-arrow.prev { left: 71.5px; }
.menu-arrow.prev img { transform: scaleX(-1); }
#btn-menu-next { left: 735.2px; }

/* ═══════════════════════════════════════════
   SCREEN 1: BAR  — values from Figma "Updated flow" bar frames
   (461:1408, 459:1276, 461:1361)
═══════════════════════════════════════════ */
#screen-bar {
  background: #030214;   /* matches the recolored bar art */
}
.bar-bg {
  position: absolute;
  left: -2px;
  top: -57px;
  width: 846px;
  height: 588px;
  object-fit: cover;
  /* Subtle "busy bar" shake — scaled 1% so the edges never show */
  transform: scale(1.01);
  animation: barShake 0.9s ease-in-out infinite;
}
@keyframes barShake {
  0%   { transform: scale(1.01) translate(0, 0)          rotate(0deg); }
  20%  { transform: scale(1.01) translate(1.2px, -0.8px) rotate(0.08deg); }
  40%  { transform: scale(1.01) translate(-0.8px, 1px)   rotate(-0.06deg); }
  60%  { transform: scale(1.01) translate(1px, 0.6px)    rotate(0.05deg); }
  80%  { transform: scale(1.01) translate(-1.2px, -0.6px) rotate(-0.08deg); }
  100% { transform: scale(1.01) translate(0, 0)          rotate(0deg); }
}
#game.paused .bar-bg { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .bar-bg { animation: none; }
}
.counter {
  position: absolute;
  left: 0;
  top: 348px;
  width: 850px;
  height: 54px;
  z-index: 6;
}

/* Customer slots: positioned per customer in game.js (layoutCustomer) */
.customer-slot {
  position: absolute;
  z-index: 4;
  cursor: pointer;
  transition: opacity 0.6s ease;
}
.customer-slot img {
  position: absolute;
  object-fit: cover;
  pointer-events: none;
}
.customer-slot.leaving { opacity: 0; }
/* A customer who's been waiting calls out — white text over their head (Figma 740:101: 24px;
   back from the short-lived bubble version, user 2026-10-11) */
.callout { position: absolute; transform: translateX(-50%); font-family: 'BarFont', sans-serif; font-size: 24px; line-height: 23px; color: #fff; white-space: nowrap; pointer-events: none; z-index: 8; opacity: 0; transition: opacity 0.25s ease; }
.callout.show { opacity: 1; }
/* "TAP A CUSTOMER TO SERVE" — top center, gone once a customer has been tapped this shift */
#tap-hint { position: absolute; left: 421.5px; top: 22px; transform: translateX(-50%); font-family: 'BarFont', sans-serif; font-size: 20px; line-height: 19px;
  color: #918fb7; white-space: nowrap; pointer-events: none; z-index: 9; opacity: 0; transition: opacity 0.3s ease; }
#tap-hint.show { opacity: 1; }
.customer-slot.arriving { animation: customerIn 0.6s ease; }
@keyframes customerIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Served drink on the counter (glass + liquid), fades with its customer */
#counter-drinks { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.counter-drink { position: absolute; transition: opacity 0.6s ease; }
.counter-drink.leaving { opacity: 0; }

/* Speech bubble — style "A6" (user, 2026-09-24): dark fill, chalky outline + text in the
   customer's color (Figma 486:1923 colors), radius 6, short straight tail — drawn on
   #speech-canvas by drawChalkBubble() in game.js. 48 tall (never taller than START ORDER).
   Order text is lowercase to set it apart from the UI text.
   Above the customer at y=45 (tail down), or on the counter at y=311 (tail up)
   when "above" would touch the tips / pause. */
#speech-area, .speech-bubble {
  position: absolute;
  top: 45px;                      /* bottom edge stays at y=93 */
  height: 48px;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#speech-area.below { top: 311px; }
#speech-canvas, .speech-bubble canvas { position: absolute; pointer-events: none; }
/* Reaction after serving: fades in with the tip, fades out with the customer */
.speech-bubble.reaction { animation: barTipIn 0.25s ease; transition: opacity 0.6s ease; }
.speech-bubble.reaction.leaving { opacity: 0; }
#speech-text, .speech-bubble .speech-text {
  z-index: 1;                     /* above the drawn bubble */
  position: relative;
  font-family: 'BarFontBold', sans-serif;
  font-size: 28px;
  line-height: normal;
  color: var(--bubble-text, #353454);
  text-align: center;
  white-space: nowrap;
}

/* Start order button — 194x54 at (617,311), #cccaf3, radius 12 (Figma 483:1656) */
/* Primary button — right edge at x=811 (Figma 483:1656) */
#btn-start-order {
  position: absolute;
  right: 33px;
  top: 311px;
  z-index: 10;
}

/* Bar HUD */
#bar-tips {
  position: absolute;
  left: 30px;
  top: 19px;
  font-family: 'BarFont', sans-serif;
  font-size: 28px;
  line-height: normal;
  color: #fff;
  z-index: 20;
}
/* Shift time left — Figma 740:80: 28px white at x=733, level with the tips */
#bar-timer { position: absolute; left: 733px; top: 19px; font-family: 'BarFont', sans-serif; font-size: 28px; line-height: normal; color: #fff; z-index: 20; }
/* Pause: two 4x19 bars at x=800 / 807, y=22 (button padded for a bigger tap target) */
#bar-pause {
  position: absolute;
  left: 790px;
  top: 12px;
  padding: 10px;
  gap: 3px;
  z-index: 20;
}
#bar-pause .pause-bar {
  width: 4px;
  height: 19px;
  background: #d9d9d9;
  border-radius: 1px;
}

/* Tip that floats up over a served customer — Bold 41px white */
.bar-tip-float {
  position: absolute;
  top: 79px;
  font-family: 'BarFontBold', sans-serif;
  font-size: 41px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  z-index: 30;
  animation: barTipIn 0.25s ease forwards;
  transition: opacity 0.6s ease;
}
.bar-tip-float.leaving { opacity: 0; animation: none; }   /* drop the fade-in hold so it can fade out */
/* With a reaction bubble over the customer, the tip sits beside it, level with the bubble */
.bar-tip-float.with-reaction { top: 43px; }
.bar-tip-float.pending { visibility: hidden; animation: none; }   /* waits for the reaction */
@keyframes barTipIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════
   OVERLAY: RECIPE CARD — Figma 502:1932 (on 453:396)
   300x334 card at (272,62), runs just past the bottom edge; no dimming behind it.
═══════════════════════════════════════════ */
#overlay-recipe {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: none;
}
#overlay-recipe.open { display: block; }
/* Dark, low-opacity layer behind the card */
#recipe-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 24, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}
#overlay-recipe.shown #recipe-backdrop { opacity: 1; }
/* X — Figma 502:1950: 9.5px at (553,73), i.e. 281px from the card's left, 11px from its top.
   Padded to a comfortable tap target. */
#btn-recipe-close {
  position: absolute;
  left: 267px;
  top: -3px;
  width: 37.5px;
  height: 37.5px;
  padding: 14px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}
#btn-recipe-close img { display: block; width: 9.5px; height: 9.5px; }
#recipe-card {
  position: absolute;
  left: 272px;
  top: 62px;
  width: 300px;
  height: 334px;
  padding: 37px 20px 0;
  background: #2b2a45;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(340px);
  transition: transform 0.35s ease;
  z-index: 1;
}
#recipe-card.slide-up { transform: translateY(0); }
/* Title — Scratchy 45px; every E is 8px bigger (the font's E is drawn small) */
#recipe-title {
  width: 260px;
  font-family: 'Scratchy', 'BarFontBold', sans-serif;
  font-size: 45px;
  line-height: normal;
  color: #cccaf3;
  text-align: center;
  white-space: nowrap;
}
#recipe-list {
  margin-top: 13px;
  font-family: 'BarFont', sans-serif;
  font-size: 28px;
  line-height: 1.32;
  color: #cccaf3;           /* amounts */
  text-align: center;
  white-space: nowrap;
}
#recipe-list .ing { color: #edecff; }   /* ingredient names */
/* Mini drink: the garnish-screen glass at 37px wide */
#recipe-drink-wrap { margin-top: 13px; width: 37.03px; height: 59.5px; flex: none; position: relative; }
#recipe-drink { position: absolute; left: 0; top: 9.97px; transform-origin: 0 0; transform: scale(0.3023); }

/* ═══════════════════════════════════════════
   SCREEN 3: SHELF — Figma 453:396 (idle), 454:452 (bottle selected),
   454:937 (ingredient added)
═══════════════════════════════════════════ */
#screen-shelf { background: #040318; }

.shelf-pour-out {
  position: absolute;
  left: 35px;
  top: 19px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'BarFontBold', sans-serif;
  font-size: 18px;
  line-height: normal;
  color: #8e8e8e;
  white-space: nowrap;
}
.shelf-pour-out img { width: 24px; height: 24px; }

#shelf-title {
  position: absolute;
  left: 422px;
  top: 33.5px;
  transform: translate(-50%, -50%);
  font-family: 'BarFont', sans-serif;
  font-size: 24px;
  line-height: normal;
  color: #8e8e8e;          /* drink name — same gray as the rest of the top row */
  white-space: nowrap;
  pointer-events: none;
}
#shelf-title.ingredient { color: #fff; }  /* selected bottle's name */

.drink-timer {
  position: absolute;
  left: 744px;
  top: 33px;
  transform: translate(-50%, -50%);
  font-family: 'BarFont', sans-serif;
  font-size: 28px;
  line-height: normal;
  color: #8e8e8e;
  pointer-events: none;
}
.dim-pause {
  position: absolute;
  left: 782px;
  top: 14px;
  padding: 10px;
  gap: 3px;
}
.dim-pause .pause-bar {
  width: 4px;
  height: 19px;
  background: #8e8e8e;
  border-radius: 1px;
}

/* Bottle row: starts at x=38, bottles bottom-aligned at y=282, 36px apart.
   26px of headroom on top so a selected bottle can bob up without being clipped. */
#shelf-row {
  position: absolute;
  left: 0;
  top: 58px;
  width: 844px;
  height: 224px;
  padding: 26px 38px 0 38px;
  display: flex;
  align-items: flex-end;
  gap: 56px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}
#shelf-row::-webkit-scrollbar { display: none; }
.shelf-bottle {
  position: relative;
  flex: none;
  cursor: pointer;
}
.shelf-bottle > img.bottle { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.shelf-bottle > img.outline { position: absolute; pointer-events: none; display: none; }
/* Selected bottle: no outline — it bobs up and down (20px over 1.6s) */
.shelf-bottle.selected > img.bottle { animation: bottleBob 1.6s ease-in-out infinite; }
@keyframes bottleBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
#game.paused .shelf-bottle.selected > img.bottle { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .shelf-bottle.selected > img.bottle { animation: none; transform: translateY(-10px); }
}

.shelf-line {
  position: absolute;
  left: 0;
  top: 283.25px;
  width: 845.5px;
  height: 1.5px;
  pointer-events: none;
}

/* Outlined arrow buttons (← BAR, GARNISH →, POUR →) — 117x40, #45426a, radius 12 */
.arrow-btn {
  position: absolute;
  width: 117px;
  height: 40px;
  border: 1.5px solid #45426a;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  cursor: pointer;
  font-family: 'BarFontBold', sans-serif;
  font-size: 18px;
  line-height: normal;
  color: #9d9cb6;
  white-space: nowrap;
  z-index: 10;
}
.arrow-btn img { width: 18px; height: 16px; }
.arrow-btn img.flip { transform: scaleX(-1); }
.arrow-btn:disabled { opacity: 0.3; cursor: default; }
#btn-to-bar     { left: 39px;  top: 324px; }
#btn-to-garnish { left: 686px; top: 324px; }
/* On the bar art the outlined style is too faint — filled like START ORDER */
#btn-back-to-pour { left: 694px; top: 318px; background: #cccaf3; border-color: #cccaf3; color: #040318; }

/* POUR — secondary button, centered at x=422 like the Figma shelf frame */
#btn-pour {
  position: absolute;
  left: 422px;
  top: 322px;
  transform: translateX(-50%);
}
#btn-pour:active { transform: translateX(-50%) scale(0.96); }

/* "WHISKEY ADDED ✓" — at (331,334), 201 wide */
#shelf-added, #garnish-toast {
  position: absolute;
  left: 331px;
  top: 334px;
  width: 201px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#shelf-added.fading, #garnish-toast.fading { opacity: 0; }
#shelf-added-text, #garnish-toast-text {
  font-family: 'BarFontBold', sans-serif;
  font-size: 24px;
  line-height: normal;
  color: #cccaf3;
  white-space: nowrap;
}
#shelf-added img, #garnish-toast img { width: 20px; height: 20px; flex: none; }

/* ═══════════════════════════════════════════
   SCREEN 4: POUR — Figma 454:551 / 454:524 / 454:486 (whiskey), 454:707–802 (cola)
═══════════════════════════════════════════ */
#screen-pour { background: #040318; }

.pour-back {
  position: absolute;
  left: 19px;
  top: 25px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'BarFontBold', sans-serif;
  font-size: 18px;
  line-height: normal;
  color: #8e8e8e;
  z-index: 10;
}
.pour-back img { width: 24px; height: 24px; }
.pour-timer { left: 748px; top: 33.5px; color: #8e8e8e; }   /* top row is all #8e8e8e */
.light-pause {
  position: absolute;
  left: 790px;
  top: 12px;
  padding: 10px;
  gap: 3px;
  z-index: 10;
}
.light-pause .pause-bar {
  width: 4px;
  height: 19px;
  background: #8e8e8e;
  border-radius: 1px;
}
#pour-instruction {
  position: absolute;
  left: 548.5px;                  /* centered over the glass (Figma 512:97) */
  top: 77.5px;
  transform: translate(-50%, -50%);
  font-family: 'BarFont', sans-serif;
  font-size: 20px;
  line-height: normal;
  color: #9d9cb6;
  white-space: nowrap;
  pointer-events: none;
}

/* Glass: 192x256 at (393,124) */
#pour-glass {
  position: absolute;
  left: 452px;                    /* Figma 512:97 — glass moved right once DONE was removed */
  top: 124px;
  width: 192px;
  height: 256px;
  pointer-events: none;
}
/* Liquid: bands clipped to the glass interior (traced from the Figma liquid shapes).
   0 oz sits at y=366, 28px per ounce, 8 oz at y=142. */
#pour-liquid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: polygon(465px 132px, 473px 192px, 485px 276px, 496.5px 331.5px, 500.5px 352px,
                     506.5px 365.5px, 529px 369px, 569px 368.5px, 597px 366.5px, 605px 358.5px,
                     610px 331.5px, 613px 276px, 625.5px 192px, 631.5px 132px);
}
.liquid-band { position: absolute; left: 0; width: 844px; }
.liquid-detail { position: absolute; left: 449px; top: 110px; }   /* = POUR_DETAIL_BOX in game.js */

/* Measuring ticks: Figma "Frame 27" (drawn in portrait, so turned -90° here) */
#pour-ticks {
  position: absolute;
  left: 386px;
  top: 215px;
  width: 211px;
  height: 64px;
  transform: rotate(-90deg);
  pointer-events: none;
}
.tick-label {
  position: absolute;
  left: 528px;
  height: 14px;
  font-family: 'BarFontBold', sans-serif;
  font-size: 16px;
  line-height: 14px;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
}

/* Bottle — sized/placed per ingredient in game.js; tilts while pouring */
.pour-bottle {
  position: absolute;
  object-fit: cover;
  pointer-events: none;
  transform-origin: center;
  transition: transform 0.2s ease, left 0.2s ease, top 0.2s ease;
}


/* DONE — secondary button, right edge at x=811 (kept alongside BACK; both save the pour) */
#btn-pour-done {
  position: absolute;
  right: 33px;
  top: 326px;
  z-index: 10;
}

/* While holding: BACK, DONE and the instruction disappear (Figma 454:524) */
#screen-pour.is-pouring #btn-back-to-shelf,
#screen-pour.is-pouring #btn-pour-done,
#screen-pour.is-pouring #pour-instruction { visibility: hidden; }

/* ═══════════════════════════════════════════
   GARNISH SCREEN — Figma 454:1119 (idle), 454:1147 (lime selected + TAP),
   459:1230 (lime placed). Geometry lives in game.js (GARNISH_TRAY / GARNISH_PLACED).
═══════════════════════════════════════════ */
#screen-garnish { background: #040318; }
.remove-garnish { font-size: 16px; }

#garnish-title {
  position: absolute;
  left: 422px;
  top: 29.5px;
  transform: translate(-50%, -50%);
  font-family: 'BarFont', sans-serif;
  font-size: 24px;
  line-height: normal;
  color: #8e8e8e;
  white-space: nowrap;
  pointer-events: none;
}
#garnish-title.ingredient { color: #fff; }

/* Drink: glass 122.49x164 at (355,120) — also reused, scaled, on the bar counter */
.drink-view { position: absolute; width: 122.49px; height: 164px; pointer-events: none; }
#garnish-drink { left: 355px; top: 120px; }
.drink-view .dv-liquid { position: absolute; left: 11px; top: 31px; width: 100.09px; height: 126.53px; }
.drink-view .dv-glass  { position: absolute; left: 0; top: 0; width: 122.49px; height: 164px; }
.drink-view .dv-garnish { position: absolute; object-fit: cover; }

#garnish-tray { position: absolute; inset: 0; pointer-events: none; }
.tray-garnish { position: absolute; cursor: pointer; pointer-events: auto; }
.tray-garnish > img.g { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tray-garnish > img.outline { position: absolute; display: none; pointer-events: none; }
/* The copy that follows the finger while dragging a garnish onto the drink */
.tray-garnish.garnish-ghost { pointer-events: none; z-index: 40; }
/* Placed garnishes can be dragged back off the drink (to the trash) */
#garnish-drink .dv-garnish { pointer-events: auto; cursor: grab; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.placed-ghost { position: absolute; z-index: 40; pointer-events: none; object-fit: cover; }
/* Trash — Majesticons delete-bin in #9d9cb6, centered between ← POUR and SERVE → (x 421, y 344) */
#garnish-trash { position: absolute; left: 405px; top: 328px; width: 32px; height: 32px; pointer-events: none; z-index: 30; }
/* Selected garnish: no outline — it rocks side to side (±10° over 1.6s, same rhythm as bottles) */
.tray-garnish.selected { animation: garnishSway 1.6s linear infinite; }
@keyframes garnishSway {
  0%   { transform: rotate(0deg); }
  12.5%{ transform: rotate(7deg); }
  25%  { transform: rotate(10deg); }
  37.5%{ transform: rotate(7deg); }
  50%  { transform: rotate(0deg); }
  62.5%{ transform: rotate(-7deg); }
  75%  { transform: rotate(-10deg); }
  87.5%{ transform: rotate(-7deg); }
  100% { transform: rotate(0deg); }
}
}
#game.paused .tray-garnish.selected { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .tray-garnish.selected { animation: none; transform: rotate(8deg); }
}

/* TAP target — 62x62 dashed circle, "TAP" Regular 20 #9d9cb6 */
#garnish-target {
  position: absolute;
  width: 62px;
  height: 62px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
}
/* Dashed tap circle (no label) — one plain dashed ring that slowly turns (user, 2026-10-05).
   Only shows after tapping a garnish; dragging doesn't use it. */
#garnish-target img { position: absolute; inset: 0; width: 62px; height: 62px; pointer-events: none; }
#garnish-target .tap-ring { animation: tapSpin 8s linear infinite; }
@keyframes tapSpin { to { rotate: 360deg; } }
#game.paused #garnish-target img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { #garnish-target .tap-ring { animation: none; } }

#btn-garnish-to-pour { left: 39px;  top: 324px; }
#btn-serve           { left: 686px; top: 324px; }

/* ═══════════════════════════════════════════
   SCREEN 5: END
═══════════════════════════════════════════ */
/* Placeholder end screen (real design coming) — Figma colors only */
/* Shift over — Figma 568:497, scaled ×0.591 (1428 → 844) and shifted down 12 to center.
   Left: status (skull, title, total tips, buttons). Right: the order summary panel.
   Buttons keep their real component sizes so they stay easy to tap. */
#screen-end { background: #040318; }
#end-skull { position: absolute; left: 219.9px; top: 56.3px; width: 45.6px; height: 52.4px; pointer-events: none; }
#end-title {
  position: absolute; left: 242.9px; top: 154.7px; transform: translate(-50%, -50%);
  margin: 0; font-family: 'Scratchy', 'BarFontBold', sans-serif; font-weight: normal; font-size: 72.7px; line-height: normal;
  color: #fff; white-space: nowrap;
}
#end-title .t-f { letter-spacing: -0.04em; }   /* Figma's per-letter tracking */
#end-title .t-o { letter-spacing: -0.03em; }
#end-title .t-v { letter-spacing: -0.07em; }
#end-title .t-e { font-size: 78px; }            /* the frame enlarges this E (132 vs 123) */
#end-tips {
  position: absolute; left: 243.8px; top: 208.2px; transform: translate(-50%, -50%);
  margin: 0; font-family: 'BarFont', sans-serif; font-size: 22.5px; line-height: normal; color: #cccaf3; white-space: nowrap;
}
#end-bank { position: absolute; left: 243.8px; top: 236px; transform: translate(-50%, -50%); margin: 0; font-family: 'BarFont', sans-serif; font-size: 18px; line-height: normal; color: #9d9cb6; white-space: nowrap; }
/* START OVER (primary) + BACK TO HOME (outlined secondary), stretched to the same width */
#btn-end-home { border-color: transparent; }   /* no stroke (user, 2026-10-01) — text only, same size/spacing */
.end-buttons { position: absolute; left: 243.4px; top: 263.2px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: stretch; gap: 14.8px; }
/* Summary — the scroll area is the right column (full height); the navy card inside it starts
   at the frame's y and scrolls as one layer, so its top edge moves off-screen too. */
#end-summary {
  position: absolute; left: 472.2px; top: 0; width: 277.2px; height: 390px;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; touch-action: pan-y;
}
#end-summary::-webkit-scrollbar { display: none; }
#end-summary-card { margin: 56.3px 0 34px; background: #2b2a45; border-radius: 11.1px; }
#end-summary.fits { overflow: hidden; }
#end-summary.fits #end-summary-card { min-height: 449px; margin-bottom: 0; }   /* runs off the bottom, like the frame */
#end-summary-list { padding: 34.2px 31.4px 34.2px; display: flex; flex-direction: column; gap: 27.8px; }
.sum-item { display: flex; align-items: flex-start; gap: 14px; }   /* character lines up with the top of its text */
.sum-cust-box { flex: none; width: 46px; display: flex; justify-content: center; }   /* fixed column so every order's text lines up */
.sum-cust { flex: none; object-fit: contain; pointer-events: none; }
.sum-text { width: 152px; display: flex; flex-direction: column; }
.sum-drink { font-family: 'BarFontBold', sans-serif; font-size: 22.5px; line-height: normal; color: #cccaf3; }
.sum-tip { margin-top: 2.4px; font-family: 'BarFont', sans-serif; font-size: 17.7px; line-height: normal; color: #9b99d4; }
.sum-reason { margin: 10.6px 0 0; font-family: 'BarFont', sans-serif; font-size: 14.2px; line-height: normal; color: #fff; }
.sum-empty { margin: 0; font-family: 'BarFont', sans-serif; font-size: 17.7px; color: #cccaf3; text-align: center; }

/* HUD row on every screen where ingredients go in (Figma 483:1652):
   timer · recipe icon · pause, 15px apart, centered at y=33 */
#shelf-timer, #pour-timer, #garnish-timer { left: 719px; top: 33px; }
#shelf-pause, #pour-pause, #garnish-pause { left: 785px; top: 13.5px; }   /* bars land at x=795 / 802 */
/* Recipe icon — 21x21 at (759, 22.5); padded for a bigger tap target */
.recipe-peek {
  position: absolute;
  left: 751px;
  top: 14.5px;
  width: 37px;
  height: 37px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.recipe-peek img { display: block; width: 21px; height: 21px; }

/* ─── PAUSE OVERLAY ──────────────────────────────────────────── */
/* Pause screen — Figma 743:555 (1340.36×619.36 frame ×0.6297 = exactly 844×390) */
#pause-overlay { position: absolute; inset: 0; z-index: 100; background: #040318; overflow: hidden; }   /* #040318 (user, 2026-10-12; Figma had #2b2a45) */
/* Play triangle sits exactly where the pause bars were (800,22) — tap to resume */
#btn-resume-icon { position: absolute; left: 790px; top: 12px; width: 35.6px; height: 37.6px; padding: 10px; background: none; border: none; cursor: pointer; }
#btn-resume-icon svg { display: block; width: 15.6px; height: 17.6px; }
#pause-title { position: absolute; left: 0; right: 0; top: 84.1px; height: 27px; margin: 0;
  font-family: 'Scratchy', 'BarFontBold', sans-serif; font-size: 60.45px; line-height: 27px; color: #fff; text-align: center; white-space: nowrap; }
#pause-title span { font-size: 63.6px; }
#btn-resume { position: absolute; left: 350.1px; top: 196.1px; width: 143.6px; height: 35.9px; padding: 0; border-radius: 7.56px; font-size: 24.56px; }
#btn-end-shift { position: absolute; left: 372px; top: 257px; width: 99.8px; height: 20px; padding: 0;
  background: none; border: none; cursor: pointer; font-family: 'BarFontBold', sans-serif; font-size: 20.15px; line-height: 20px; color: #918fb7; text-align: center; white-space: nowrap; }
#btn-sound { position: absolute; left: 363px; top: 298.2px; height: 20px; padding: 0; display: flex; align-items: center; gap: 10.7px;
  background: none; border: none; cursor: pointer; font-family: 'BarFontBold', sans-serif; font-size: 20.15px; line-height: 20px; color: #dc6fd3; white-space: nowrap; }
#btn-sound::before, #btn-end-shift::before { content: ''; position: absolute; inset: -9px -14px; }   /* bigger tap areas */
#btn-sound svg { width: 15.1px; height: 15.1px; flex: none; display: block; }
#btn-sound .snd-off { display: none; }
#btn-sound.off { color: #918fb7; }
#btn-sound.off .snd-on { display: none; }
#btn-sound.off .snd-off { display: block; }
.pause-cust { position: absolute; pointer-events: none; }

/* Peek confirm — Figma 509:88: 384x194 navy box, centered over a dim layer
   (same dim as the recipe card). Buttons are Secondary-button variants:
   CANCEL outlined #918fb7, YES filled #cccaf3 — both 1.5px border, 43 tall. */
#peek-confirm {
  position: absolute;
  inset: 0;
  z-index: 60;
  background: rgba(4, 3, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
#peek-confirm-box {
  width: 384px;
  height: 194px;
  background: #2b2a45;
  border-radius: 12px;
  padding: 18px 0 39px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  overflow: hidden;
}
.peek-confirm-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.peek-confirm-head img { width: 20px; height: 20px; }
#peek-confirm-text {
  height: 40px;
  font-family: 'BarFontBold', sans-serif;
  font-size: 28px;
  line-height: normal;
  color: #fff;
  text-align: center;
}
.peek-confirm-row { display: flex; gap: 21px; align-items: center; }
#peek-confirm .btn-secondary { height: 43px; border-width: 1.5px; border-style: solid; }
.peek-cancel { background: transparent; border-color: #918fb7; color: #918fb7; }
.peek-yes    { background: #cccaf3; border-color: #cccaf3; color: #040318; }

/* ─── NOTIFICATIONS ──────────────────────────────────────────── */
#notification-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
  gap: 8px;
}
.notification {
  background: rgba(0,0,0,0.55);
  border-radius: 6px;
  padding: 5px 16px;
  font-family: 'BarFontBold', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  animation: notifIn 0.2s ease, notifOut 0.3s ease 1.2s forwards;
}
@keyframes notifIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes notifOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ─── TIP FLOAT (above customer, no background) ─────────────── */
.tip-float {
  position: absolute;
  transform: translateX(-50%);
  bottom: 130px;
  font-family: 'BarFontBold', sans-serif;
  font-size: 36px;
  color: #00e26a;
  pointer-events: none;
  z-index: 200;
  white-space: nowrap;
  animation: tipFloat 2.5s ease forwards;
}
@keyframes tipFloat {
  0%   { opacity: 0; transform: translateX(-50%) translateY(0); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-50px); }
}

/* ═══════════════════════════════════════════
   SIGNATURE MENU UNLOCKED — Figma 719:1910. Full-screen #040318; title + BACK TO HOME (no X — user, 2026-10-07).
   Shaker pieces + cards are absolutely placed by transforms in game.js (playUnlock).
═══════════════════════════════════════════ */
#unlock-overlay { position: absolute; inset: 0; z-index: 70; background: #040318; overflow: hidden; }   /* 2026-10-08 frames */
#unlock-title { position: absolute; left: 260px; top: 49px; width: 324px; margin: 0; z-index: 2; white-space: nowrap;
  font-family: 'BarFontBold', sans-serif; font-size: 28px; line-height: 27px; color: #cccaf3; text-align: center; }
#btn-unlock-home { color: #7a78a4; z-index: 5; opacity: 0; pointer-events: none; transition: opacity .4s ease; }   /* hidden until the final frame */
#btn-unlock-home.shown { opacity: 1; pointer-events: auto; }
#btn-unlock-skip { position: absolute; left: 787px; top: 21px; height: 18px; padding: 0; border: none; background: none; cursor: pointer; z-index: 5;
  font-family: 'BarFontBold', sans-serif; font-size: 18px; line-height: 18px; color: #7a78a4; transition: opacity .3s ease; }
#btn-unlock-skip::before { content: ''; position: absolute; inset: -12px -14px; }   /* bigger tap area */
#btn-unlock-skip.gone { opacity: 0; pointer-events: none; }
#btn-unlock-home svg { display: block; }
#unlock-stage { position: absolute; inset: 0; }
#unlock-stage .shaker-part { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; }
#unlock-stage .shaker-rig { position: absolute; inset: 0; }
/* Recipe cards — built at the big size (140.29×156.19) and scaled per slot */
.sig-card { position: absolute; left: 0; top: 0; width: 140.29px; height: 156.19px; box-sizing: border-box;
  padding: 17.3px 8px 0; border-radius: 5.61px; filter: drop-shadow(0 3.93px 2.5px rgba(0,0,0,.25));
  display: flex; flex-direction: column; align-items: center; gap: 6.08px; transform-origin: 50% 50%; overflow: hidden; }
.sig-card .t { font-family: 'Scratchy', 'BarFontBold', sans-serif; font-size: 21.04px; line-height: normal; color: #cccaf3; white-space: nowrap; }
.sig-card .ls { font-family: 'BarFont', sans-serif; font-size: 13.09px; line-height: 1.32; color: #cccaf3; text-align: center; white-space: nowrap; }
.sig-card .ls .ing { color: #edecff; }
.sig-card .g { position: relative; width: 17.31px; height: 23.18px; flex: none; margin-top: 4px; }
.sig-card .g .drink-view { left: 0; top: 0; transform-origin: 0 0; transform: scale(0.1413); }
.sig-card.in-row { transition: transform .45s cubic-bezier(.3,.7,.3,1), opacity .45s ease; cursor: pointer; }
/* Final frame 731:253: carousel arrows (the drink-menu arrow), purple customer + outlined bubble */
.unlock-arrow { position: absolute; top: 171px; width: 42px; height: 42px; padding: 0; border: none; background: none; cursor: pointer; z-index: 10; opacity: 0; }
.unlock-arrow::before { content: ''; position: absolute; inset: -10px; }
.unlock-arrow img { display: block; width: 100%; height: 100%; }
.unlock-arrow.prev { left: 96px; }
.unlock-arrow.prev img { transform: scaleX(-1); }
.unlock-arrow.next { left: 706px; }
#unlock-customer { position: absolute; left: 542.97px; top: 318.5px; width: 47.07px; height: 90.35px; z-index: 4; pointer-events: none; transform: translateY(110px); will-change: transform; }   /* own layer from the start — no iOS flash */
#unlock-bubble { position: absolute; left: 264.5px; top: 320.5px; width: 276.43px; height: 47.96px; z-index: 4; pointer-events: none; transform-origin: 100% 50%; opacity: 0; will-change: transform, opacity; }
#unlock-bubble img { display: block; width: 100%; height: 100%; }
#unlock-bubble p { position: absolute; left: -8.5px; top: 6.5px; width: 274px; height: 40px; margin: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'BarFont', sans-serif; font-size: 16px; line-height: 16px; color: #cccaf3; text-align: center; }
