/* Food picker slide: a phone plays the Socials flow (group → swipe → group pick). */

[data-slide="food"] {
  --phone-scale: 1.12;
  --warn: #8F5600;
  --success: #17763F;
  background:
    radial-gradient(50% 60% at 30% 50%, color-mix(in srgb, var(--tint) 9%, transparent), transparent 70%);
}

/* Copy column */
[data-slide="food"] .food-copy {
  position: absolute;
  left: 960px;
  top: 50%;
  translate: 0 -50%;
  width: 760px;
}

[data-slide="food"] .food-title {
  margin: 20px 0 64px;
  font-size: 92px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

[data-slide="food"] .food-steps { list-style: none; display: grid; gap: 34px; }

[data-slide="food"] .food-steps li {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  opacity: .38;
  transition: opacity .6s var(--ease-out);
}

[data-slide="food"] .food-steps li.is-on { opacity: 1; }

[data-slide="food"] .food-steps .num {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--tint-fill);
  color: var(--tint-text);
  font-size: 28px;
  font-weight: 700;
  transition: background .5s var(--ease-out), color .5s var(--ease-out);
}

[data-slide="food"] .food-steps li.is-on .num { background: var(--tint); color: #fff; }
[data-slide="food"] .food-steps li.is-done .num { background: var(--tint-fill-2); color: var(--tint-text); }
[data-slide="food"] .food-steps li.is-done { opacity: .7; }

[data-slide="food"] .food-steps b { display: block; font-size: 38px; font-weight: 700; letter-spacing: -0.02em; }
[data-slide="food"] .food-steps div span { display: block; margin-top: 4px; font-size: 26px; color: var(--secondary); }

/* Phone */
[data-slide="food"] .f-phone {
  position: absolute;
  left: 260px;
  top: 50%;
  width: 412px;
  height: 866px;
  padding: 11px;
  border-radius: 64px;
  background: #111416;
  box-shadow:
    0 0 0 2px #2a2f33 inset,
    0 50px 100px -30px rgba(20, 40, 50, .45),
    0 20px 40px -20px rgba(20, 40, 50, .3);
  translate: 0 -50%;
  scale: var(--phone-scale);
  transform-origin: left center;
}

[data-slide="food"] .f-screen {
  --s-bg: #F2F7F9;
  position: relative;
  width: 390px;
  height: 844px;
  overflow: hidden;
  border-radius: 53px;
  background: var(--s-bg);
  color: #141C20;
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: -0.01em;
}

[data-slide="food"] .f-screen svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

[data-slide="food"] .f-island {
  position: absolute;
  top: 11px;
  left: 50%;
  translate: -50% 0;
  width: 122px;
  height: 36px;
  border-radius: 20px;
  background: #000;
  z-index: 20;
}

[data-slide="food"] .statusbar {
  position: absolute;
  inset: 0 0 auto;
  height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 34px 0 44px;
  font-size: 16px;
  font-weight: 600;
  z-index: 10;
}

[data-slide="food"] .sb-icons { display: flex; gap: 5px; }
[data-slide="food"] .sb-icons i { width: 17px; height: 11px; border-radius: 3px; background: #141C20; }
[data-slide="food"] .sb-icons i:nth-child(1) { width: 18px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
[data-slide="food"] .sb-icons i:nth-child(2) { width: 15px; border-radius: 50% 50% 2px 2px; }
[data-slide="food"] .sb-icons i:nth-child(3) { width: 25px; }

[data-slide="food"] .appbar {
  position: absolute;
  top: 52px;
  inset-inline: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 5;
}

[data-slide="food"] .logo { display: flex; align-items: center; gap: 9px; }
[data-slide="food"] .logo > svg { font-size: 26px; color: var(--tint); }
[data-slide="food"] .logo b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
[data-slide="food"] .logo small { display: block; font-size: 12px; color: #5B656A; }

[data-slide="food"] .profile {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E9F0F3;
  color: #266178;
  font-size: 19px;
}

/* Pages slide like an iOS navigation push */
[data-slide="food"] .page {
  position: absolute;
  top: 108px;
  bottom: 84px;
  inset-inline: 0;
  padding: 6px 16px 0;
  translate: 100% 0;
  transition: translate .55s cubic-bezier(.32, .72, 0, 1), opacity .55s;
}

[data-slide="food"] .page.is-current { translate: 0 0; }
[data-slide="food"] .page.is-past { translate: -30% 0; opacity: 0; }

[data-slide="food"] .f-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #E6EEF2;
  color: #266178;
  font-size: 13px;
  font-weight: 600;
}

[data-slide="food"] .q { margin: 14px 0 6px; font-size: 27px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
[data-slide="food"] .sub { margin-bottom: 16px; font-size: 14px; line-height: 1.4; color: #5B656A; }

/* Group cards */
[data-slide="food"] .group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1.5px transparent, 0 1px 3px rgba(20, 40, 50, .06);
  transition: box-shadow .3s, scale .12s;
}

[data-slide="food"] .group.is-selected { box-shadow: 0 0 0 2px var(--tint), 0 6px 18px -8px rgba(51, 118, 145, .45); }
[data-slide="food"] .is-pressed { scale: .97; }

[data-slide="food"] .g-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E6EEF2;
  color: #266178;
  font-size: 20px;
  flex: none;
}

[data-slide="food"] .group.is-selected .g-icon { background: var(--tint); color: #fff; }

[data-slide="food"] .g-body { flex: 1; min-width: 0; }
[data-slide="food"] .g-body b { display: block; font-size: 16px; font-weight: 650; }
[data-slide="food"] .g-body > span { display: block; margin-top: 2px; font-size: 13px; color: #5B656A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

[data-slide="food"] .g-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
[data-slide="food"] .g-meta em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; color: #266178; font-weight: 600; }

[data-slide="food"] .live { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 20%, transparent); }

[data-slide="food"] .radio {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #CDD5D9;
  color: #fff;
  font-size: 14px;
  flex: none;
  align-self: flex-start;
  transition: background .25s, border-color .25s;
}

[data-slide="food"] .radio svg { opacity: 0; scale: .5; transition: opacity .25s, scale .3s var(--ease-out); stroke-width: 3; }
[data-slide="food"] .group.is-selected .radio { background: var(--tint); border-color: var(--tint); }
[data-slide="food"] .group.is-selected .radio svg { opacity: 1; scale: 1; }

[data-slide="food"] .group-new {
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: transparent;
  box-shadow: 0 0 0 1.5px #DCE2E5 inset;
  color: #266178;
  font-weight: 600;
}

[data-slide="food"] .avatars { display: flex; }
[data-slide="food"] .avatars i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #E9F0F3;
  color: #5B656A;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}
[data-slide="food"] .avatars i:first-child { margin-left: 0; }
[data-slide="food"] .avatars i.me { background: var(--tint); color: #fff; }

[data-slide="food"] .cta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--tint);
  color: #fff;
  font: 600 16px var(--font);
  transition: scale .12s, filter .12s, opacity .3s;
}
[data-slide="food"] .cta.is-pressed { filter: brightness(.88); }
[data-slide="food"] .page-groups .cta { opacity: .45; }
[data-slide="food"] .page-groups .cta.is-ready { opacity: 1; }

/* Swipe */
[data-slide="food"] .swipe-head { display: flex; align-items: center; justify-content: space-between; }
[data-slide="food"] .counter { font-size: 13px; color: #5B656A; font-variant-numeric: tabular-nums; }
[data-slide="food"] .counter b { color: #141C20; }

[data-slide="food"] .chips { display: flex; gap: 6px; margin: 12px -16px 12px 0; overflow: hidden; }
[data-slide="food"] .chips span {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #DCE2E5 inset;
  font-size: 13px;
  font-weight: 500;
  color: #5B656A;
}
[data-slide="food"] .chips span.on { background: #E6EEF2; box-shadow: none; color: #266178; font-weight: 600; }

[data-slide="food"] .deck { position: relative; height: 416px; }

[data-slide="food"] .dish {
  position: absolute;
  inset: 0;
  padding: 10px 10px 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px -12px rgba(20, 40, 50, .25);
  transform-origin: 50% 110%;
}

[data-slide="food"] .photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 300px;
  border-radius: 18px;
  background:
    radial-gradient(70% 80% at 30% 20%, hsl(var(--hue) 45% 92%), transparent),
    linear-gradient(160deg, hsl(var(--hue) 35% 86%), hsl(var(--hue) 30% 76%));
  color: hsl(var(--hue) 35% 34%);
  font-size: 96px;
}
[data-slide="food"] .photo svg { stroke-width: 1.3; }

[data-slide="food"] .d-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 14px 6px 0; }
[data-slide="food"] .d-row b { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
[data-slide="food"] .price { font-size: 15px; font-weight: 650; color: #266178; font-variant-numeric: tabular-nums; white-space: nowrap; }
[data-slide="food"] .canteen { margin: 3px 6px 0; font-size: 14px; color: #5B656A; }
[data-slide="food"] .tags { display: flex; gap: 6px; margin: 10px 6px 0; }
[data-slide="food"] .tags span { padding: 4px 10px; border-radius: 999px; background: #E9F0F3; font-size: 12px; color: #5B656A; }

[data-slide="food"] .stamp {
  position: absolute;
  top: 26px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  font-size: 30px;
  opacity: 0;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .3);
}
[data-slide="food"] .stamp.like { left: 26px; color: var(--tint); }
[data-slide="food"] .stamp.like svg { fill: currentColor; }
[data-slide="food"] .stamp.nope { right: 26px; color: #C8281E; }
[data-slide="food"] .stamp.nope svg { stroke-width: 2.6; }

[data-slide="food"] .swipe-buttons { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 40px; }
[data-slide="food"] .swipe-buttons button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  transition: scale .12s, filter .12s;
}
[data-slide="food"] .btn-nope { width: 60px; height: 60px; background: #fff; color: #5B656A; font-size: 26px; box-shadow: 0 4px 14px -4px rgba(20, 40, 50, .25); }
[data-slide="food"] .btn-nope svg { stroke-width: 2.4; }
[data-slide="food"] .btn-like { width: 72px; height: 72px; background: var(--tint); color: #fff; font-size: 32px; box-shadow: 0 10px 22px -8px rgba(51, 118, 145, .7); }
[data-slide="food"] .btn-like svg { fill: currentColor; }
[data-slide="food"] .swipe-buttons .is-pressed { scale: .9; filter: brightness(.9); }

/* Result */
[data-slide="food"] .result-head { display: flex; }
[data-slide="food"] .f-pill.agree { transition: background .4s, color .4s; }
[data-slide="food"] .f-pill.agree svg { stroke-width: 2.6; }
[data-slide="food"] .f-pill.agree.is-all { background: var(--tint); color: #fff; animation: pop .5s var(--ease-out); }

@keyframes pop { 40% { scale: 1.08; } }

[data-slide="food"] .top-pick {
  margin-top: 10px;
  padding: 8px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 26px -14px rgba(20, 40, 50, .3);
}

[data-slide="food"] .top-pick .photo { height: 128px; font-size: 64px; border-radius: 16px; }
[data-slide="food"] .top-pick .tp-body { padding: 0 6px 4px; }
[data-slide="food"] .top-pick .d-row { margin: 12px 0 0; }
[data-slide="food"] .top-pick .canteen { margin: 2px 0 0; }

[data-slide="food"] .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

[data-slide="food"] .meta { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; color: #5B656A; }
[data-slide="food"] .meta span { display: flex; align-items: center; gap: 5px; }

[data-slide="food"] .votes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #F2F7F9;
}

[data-slide="food"] .avatars.big { gap: 6px; }
[data-slide="food"] .avatars.big i { position: relative; width: 36px; height: 36px; margin-left: 0; font-size: 11px; transition: background .3s, color .3s; }
[data-slide="food"] .avatars.big i::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 15px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #F2F7F9;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
  opacity: 0;
  scale: .3;
  transition: opacity .25s, scale .4s var(--ease-out);
}
[data-slide="food"] .avatars.big i.voted::after { opacity: 1; scale: 1; }
[data-slide="food"] .avatars.big i.voted:not(.me) { background: #CDDEE6; color: #266178; }

[data-slide="food"] .vote-count { font-size: 13px; color: #5B656A; font-variant-numeric: tabular-nums; }
[data-slide="food"] .vote-count b { color: #141C20; }

[data-slide="food"] .top-pick .cta { position: static; width: 100%; margin-top: 12px; height: 48px; }

[data-slide="food"] .section-label { margin: 14px 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7B8184; }

[data-slide="food"] .runner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 10px 8px 8px;
  border-radius: 16px;
  background: #fff;
}
[data-slide="food"] .runner .thumb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, hsl(var(--hue) 35% 88%), hsl(var(--hue) 30% 78%));
  color: hsl(var(--hue) 35% 34%);
  font-size: 22px;
  flex: none;
}
[data-slide="food"] .runner > div:nth-child(2) { flex: 1; min-width: 0; }
[data-slide="food"] .runner b { display: block; font-size: 14px; font-weight: 650; }
[data-slide="food"] .runner span { display: block; font-size: 12px; color: #5B656A; }
[data-slide="food"] .runner button,
[data-slide="food"] .restart button {
  border: 0;
  border-radius: 999px;
  background: #E6EEF2;
  color: #266178;
  font: 600 12px var(--font);
}
[data-slide="food"] .runner button { padding: 7px 10px; white-space: nowrap; }

[data-slide="food"] .restart { display: flex; gap: 8px; margin-top: 4px; }
[data-slide="food"] .restart button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; font-size: 13px; background: transparent; box-shadow: 0 0 0 1px #DCE2E5 inset; }

/* Result elements arrive in sequence */
[data-slide="food"] .page-result .top-pick,
[data-slide="food"] .page-result .section-label,
[data-slide="food"] .page-result .runner,
[data-slide="food"] .page-result .restart {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .5s var(--ease-out), translate .6s var(--ease-out);
}
[data-slide="food"] .page-result.is-current .top-pick { transition-delay: .25s; }
[data-slide="food"] .page-result.is-current .section-label { transition-delay: .4s; }
[data-slide="food"] .page-result.is-current .runner { transition-delay: .5s; }
[data-slide="food"] .page-result.is-current .runner + .runner { transition-delay: .6s; }
[data-slide="food"] .page-result.is-current .restart { transition-delay: .7s; }
[data-slide="food"] .page-result.is-current > * { opacity: 1; translate: none; }

/* Tab bar */
[data-slide="food"] .f-tabbar {
  position: absolute;
  inset: auto 0 0;
  height: 84px;
  display: flex;
  justify-content: space-around;
  padding-top: 9px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px);
  box-shadow: 0 -0.5px 0 #DCE2E5;
  z-index: 5;
}
[data-slide="food"] .f-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 90px; font-size: 11px; font-weight: 500; color: #7B8184; }
[data-slide="food"] .f-tabbar svg { font-size: 23px; }
[data-slide="food"] .f-tabbar .on { color: var(--tint); }

[data-slide="food"] .homebar { position: absolute; bottom: 8px; left: 50%; translate: -50% 0; width: 134px; height: 5px; border-radius: 3px; background: #141C20; z-index: 6; }

/* The presenter's finger */
[data-slide="food"] .finger {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(20, 28, 32, .22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 4px 14px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: opacity .3s, scale .12s;
}
[data-slide="food"] .finger.is-on { opacity: 1; }
[data-slide="food"] .finger.is-down { scale: .82; background: rgba(20, 28, 32, .32); }

[data-slide="food"].no-anim *,
[data-slide="food"].no-anim *::after { transition: none !important; animation: none !important; }

/* ── Chat phase ─────────────────────────────────────────────────────────── */

/* Copy: chat headline + tally first, the food steps once the app opens */
[data-slide="food"] .chat-copy,
[data-slide="food"] .food-copy {
  transition: opacity .6s var(--ease-out), translate .7s var(--ease-out);
}
[data-slide="food"] .chat-copy {
  position: absolute;
  left: 960px;
  top: 50%;
  translate: 0 -50%;
  width: 800px;
}
[data-slide="food"] .food-copy { opacity: 0; translate: 0 calc(-50% + 30px); pointer-events: none; }
[data-slide="food"].is-app .food-copy { opacity: 1; translate: 0 -50%; }
[data-slide="food"].is-app .chat-copy { opacity: 0; translate: 0 calc(-50% - 30px); }

[data-slide="food"] .tally { display: flex; gap: 72px; }
[data-slide="food"] .tally b {
  display: block;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
[data-slide="food"] .tally div:last-child b { color: #C8281E; }
[data-slide="food"] .tally span { display: block; margin-top: 8px; font-size: 28px; color: var(--secondary); }
[data-slide="food"] .tally-msgs.bump { animation: bump .25s var(--ease-out); }
@keyframes bump { 50% { scale: 1.06; } }

/* The messenger screen (generic, deliberately not our app's look) */
[data-slide="food"] .page-chat {
  top: 52px;
  bottom: 0;
  padding: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  background: #EEEBE6;
}

[data-slide="food"] .chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 10px;
  background: rgba(250, 249, 247, .95);
  box-shadow: 0 .5px 0 #D8D3CB;
}
[data-slide="food"] .chat-back { font-size: 34px; line-height: 1; color: #3A3F42; margin-top: -4px; }
[data-slide="food"] .chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E3A869;
  color: #fff;
  font-size: 19px;
}
[data-slide="food"] .chat-who b { display: block; font-size: 16px; font-weight: 650; }
[data-slide="food"] .chat-who small { display: block; font-size: 12px; color: #7A7670; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
[data-slide="food"] .chat-who small.is-typing { color: #2E8B57; }

[data-slide="food"] .chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: 0 10px 8px;
  overflow: hidden;
}

/* Each message grows from zero height, so older ones glide up instead of jumping */
[data-slide="food"] .msg {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease-out);
}
[data-slide="food"] .msg.in { grid-template-rows: 1fr; }
[data-slide="food"] .msg-inner {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
  padding-top: 6px;
}
[data-slide="food"] .msg.me .msg-inner { justify-content: flex-end; }

[data-slide="food"] .msg-av {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: var(--c);
}
[data-slide="food"] .msg.cont .msg-av { visibility: hidden; }

[data-slide="food"] .bubble {
  max-width: 255px;
  padding: 7px 11px 6px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .08);
  scale: .6;
  opacity: 0;
  transform-origin: 0 100%;
  transition: scale .35s cubic-bezier(.2, 1.4, .4, 1), opacity .2s;
}
[data-slide="food"] .msg.me .bubble {
  border-radius: 18px 18px 6px 18px;
  background: #D6E6F5;
  transform-origin: 100% 100%;
}
[data-slide="food"] .msg.in .bubble { scale: 1; opacity: 1; }
[data-slide="food"] .bubble .who { display: block; margin-bottom: 1px; font-size: 12px; font-weight: 650; color: var(--c); }
[data-slide="food"] .bubble time { float: right; margin: 6px 0 0 8px; font-size: 10px; color: #9A958E; }

[data-slide="food"] .typing { display: flex; gap: 4px; padding: 12px 14px; }
[data-slide="food"] .typing i { width: 7px; height: 7px; border-radius: 50%; background: #A9A49C; animation: dot 1s infinite; }
[data-slide="food"] .typing i:nth-child(2) { animation-delay: .15s; }
[data-slide="food"] .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }

/* The HELPS invite card the presenter sends */
[data-slide="food"] .bubble.invite { padding: 5px; width: 250px; }
[data-slide="food"] .invite-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 13px;
  background: #fff;
  transition: scale .12s;
}
[data-slide="food"] .invite-card.is-pressed { scale: .96; }
[data-slide="food"] .invite-card .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--tint);
  color: #fff;
  font-size: 20px;
  flex: none;
}
[data-slide="food"] .invite-card b { display: block; font-size: 14px; color: #141C20; }
[data-slide="food"] .invite-card span { display: block; font-size: 12px; color: #266178; font-weight: 600; }
[data-slide="food"] .invite .caption { padding: 6px 6px 1px; }

[data-slide="food"] .composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 34px;
  background: rgba(250, 249, 247, .95);
  box-shadow: 0 -.5px 0 #D8D3CB;
}
[data-slide="food"] .composer-plus { display: grid; place-items: center; width: 30px; height: 30px; color: #6E6A64; font-size: 22px; }
[data-slide="food"] .composer-field {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px #DCD7CF inset;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
}
[data-slide="food"] .caret { width: 2px; height: 18px; margin-left: 1px; background: var(--tint); opacity: 0; }
[data-slide="food"] .composer.is-typing .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
[data-slide="food"] .composer-send {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #C9C4BC;
  color: #fff;
  font-size: 18px;
  transition: background .2s, scale .12s;
}
[data-slide="food"] .composer.has-text .composer-send { background: #2E7FC0; }
[data-slide="food"] .composer-send svg { rotate: -90deg; stroke-width: 2.4; }
[data-slide="food"] .composer-send.is-pressed { scale: .88; }
