/* 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: 286.76px;
  top: 50%;
  width: 446px;
  height: 866px;
  padding: 11px;
  border-radius: 64px;
  transform-style: preserve-3d;
  /* Same titanium frame as the arrive slide's phone (it flies into this exact pose). */
  background:
    linear-gradient(220deg, #7A848B 0%, #2A3136 16%, #0B0E10 50%, #1C2226 80%, #4A545B 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .45),
    inset 0 0 0 4px #2E363C,
    inset 0 0 0 7px #050708;
  translate: 0 -50%;
  scale: var(--phone-scale);
  transform-origin: center;
  transform: perspective(1830px) rotateX(8deg) rotateY(12deg) rotateZ(-2deg);
}

/* Device thickness: 20 stacked slices behind the front. This phone faces right, so its
   left side is the near side and the lighting is mirrored from the arrive slide (90deg). */
[data-slide="food"] .phone-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
  pointer-events: none;
}

[data-slide="food"] .phone-edge i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #9AA4AB 0%, #59636A 3%, #1A2024 12%, #0B0E10 60%, #262D32 100%);
  transform: translateZ(calc(var(--z) * -2.4px));
}

[data-slide="food"] .phone-edge i:nth-child(n+8):nth-child(-n+13) {
  background: linear-gradient(90deg, #C3CBD0 0%, #6E787F 3%, #1A2024 12%, #0B0E10 60%, #333B41 100%);
}

[data-slide="food"] .phone-edge i:last-child {
  background: linear-gradient(90deg, #4A545B, #0B0E10 20%, #050708);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4);
}

[data-slide="food"] .phone-btn {
  position: absolute;
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #C3CBD0, #6B757C 50%, #2A3136);
  transform: translateZ(-24px);
}

[data-slide="food"] .phone-btn-action { left: -4px; top: 168px; height: 34px; }
[data-slide="food"] .phone-btn-up { left: -4px; top: 226px; height: 62px; }
[data-slide="food"] .phone-btn-down { left: -4px; top: 302px; height: 62px; }
[data-slide="food"] .phone-btn-power { right: -4px; left: auto; top: 250px; height: 100px; }

/* Anti-aliasing for the tilted phone: a transparent 1px outline smooths each 3D plane's edge. */
[data-slide="food"] .f-phone,
[data-slide="food"] .phone-edge i,
[data-slide="food"] .phone-btn,
[data-slide="food"] .f-screen {
  outline: 1px solid transparent;
}

[data-slide="food"] .f-screen {
  --s-bg: #F2F7F9;
  position: relative;
  width: 424px;
  height: 844px;
  transform: translateZ(.5px);
  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%;
  /* The next card glides up when the top one leaves (layoutDeck sets translate/scale). */
  transition: translate .5s cubic-bezier(.2, .8, .2, 1), scale .5s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}

[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: food-pop .5s var(--ease-out); }

@keyframes food-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: food-bump .25s var(--ease-out); }
@keyframes food-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: food-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 food-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; }
/* Steady while typing (as on iOS): a blinking caret repaints the tilted 3D screen and reads as a jitter. */
[data-slide="food"] .composer.is-typing .caret { opacity: 1; }
[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; }

/* ── Map phase: Navigate → Friends → Helena ─────────────────────────────── */

[data-slide="food"] .map-copy {
  position: absolute;
  left: 960px;
  top: 50%;
  width: 800px;
  opacity: 0;
  translate: 0 calc(-50% + 12px);
  pointer-events: none;
  transition: opacity .6s var(--ease-out), translate .7s var(--ease-out);
}
/* Food steps → "…where's Helena?": one after the other, never on top of each other. The old
   copy fades out first, then the question fades in with only a small drift. */
[data-slide="food"].is-map .food-copy {
  opacity: 0;
  translate: 0 calc(-50% - 10px);
  transition: opacity .45s ease-in-out, translate .45s ease-in-out;
}
[data-slide="food"].is-map .map-copy {
  opacity: 1;
  translate: 0 -50%;
  transition: opacity 0s .4s, translate 0s .4s;
}

/* The question builds up: three dots, slowly, one at a time — then "where's" "Helena?" quickly.
   Each piece fades and drifts up a little on its own delay (--t). */
[data-slide="food"] .map-copy .mc {
  display: inline-block;
  opacity: 0;
  translate: 0 10px;
  transition: opacity .35s ease-out, translate .45s var(--ease-out);
}
[data-slide="food"] .map-copy .mc.dot { margin-right: -.06em; }
[data-slide="food"].is-map .map-copy .mc {
  opacity: 1;
  translate: none;
  transition-delay: var(--t);
}

[data-slide="food"] .map-copy .food-title { margin: 0; font-size: 120px; }


/* Helena hasn't voted: her avatar waits, dashed and dimmed. Static on purpose: a pulse here
   read as vibrating on screen. */
[data-slide="food"] .avatars.big i.pending {
  background: #fff;
  color: #7B8184;
  outline: 1.5px dashed #9AA3A8;
  outline-offset: -1.5px;
  opacity: .7;
}

/* The tab switch is a cross-fade, not a push */
[data-slide="food"] .page-map {
  padding: 0;
  translate: none;
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}
[data-slide="food"] .page-map.is-current { opacity: 1; }

[data-slide="food"] .map { position: absolute; inset: 0; overflow: hidden; }
/* The map art is drawn for a 390px-wide screen; scale it up to fill the 424px screen. */
[data-slide="food"] .map-pan { position: absolute; inset: 0; scale: calc(424 / 390); transform-origin: 0 0; transition: translate .6s cubic-bezier(.32, .72, 0, 1); }
[data-slide="food"] .map.is-panned .map-pan { translate: 0 -120px; }
[data-slide="food"] .f-screen svg.map-svg { position: absolute; inset: 0; width: 390px; height: 652px; fill: none; stroke: none; }
[data-slide="food"] .m-land { fill: #EEF2F3; }
[data-slide="food"] .m-park { fill: #D9E8DC; }
[data-slide="food"] .m-terrace { fill: #E6EBED; stroke: #D6DDE0; stroke-width: 1; }
[data-slide="food"] .m-roads path { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; filter: drop-shadow(0 0 .6px #C9D1D5); }
[data-slide="food"] .m-bldg > * { fill: #E1E7EA; stroke: #CBD3D7; stroke-width: 1; }
[data-slide="food"] .m-audimax { fill: color-mix(in srgb, var(--tint) 14%, #E1E7EA); stroke: color-mix(in srgb, var(--tint) 45%, transparent); stroke-width: 1.2; }
[data-slide="food"] .m-labels text,
[data-slide="food"] .m-audimax-label { font: 600 11px var(--font); fill: #7B8184; text-anchor: middle; letter-spacing: .02em; }
[data-slide="food"] .m-labels .m-street { font-weight: 500; font-size: 10px; fill: #9AA3A8; }
[data-slide="food"] .m-audimax-label { fill: #266178; font-size: 11.5px; font-weight: 700; text-anchor: start; }

[data-slide="food"] .me-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--tint);
  border: 3px solid #fff;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--tint) 18%, transparent), 0 2px 6px rgba(0, 0, 0, .25);
}

/* Find My style friend pins */
[data-slide="food"] .friend {
  position: absolute;
  width: 40px;
  height: 46px;
  margin: -46px 0 0 -20px;
  transform-origin: 50% 100%;
  scale: 0;
  transition: scale .45s cubic-bezier(.2, 1.2, .4, 1);
}
/* Pins don't react to taps: the press scale + the pop's overshoot made Helena's pin wobble */
[data-slide="food"] .friend.is-pressed { scale: 1; }
[data-slide="food"] .friend::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10px;
  height: 10px;
  translate: -50% 0;
  rotate: 45deg;
  background: #fff;
  border-radius: 2px;
}
[data-slide="food"] .friend i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #CDDEE6;
  color: #266178;
  font: 700 12px var(--font);
  font-style: normal;
  box-shadow: 0 4px 10px -2px rgba(20, 40, 50, .35);
}
[data-slide="food"] .friends-on .friend { scale: 1; }
[data-slide="food"] .friend.is-helena i { background: var(--tint); color: #fff; }
/* Helena's halo: a static circle behind her pin (fades in once with the pins, then never moves). */
[data-slide="food"] .halo {
  position: absolute;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tint) 28%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
[data-slide="food"] .friends-on .halo { opacity: .6; }
/* Selection is a tinted outline, not a scale */
[data-slide="food"] .friend i { transition: box-shadow .3s var(--ease-out); }
[data-slide="food"] .friend.is-selected i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--tint) 35%, transparent), 0 4px 10px -2px rgba(20, 40, 50, .35); }

[data-slide="food"] .map-search {
  position: absolute;
  top: 6px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px -6px rgba(20, 40, 50, .3);
  color: #7B8184;
  font-size: 15px;
}
[data-slide="food"] .map-search svg { font-size: 18px; color: #5B656A; }

[data-slide="food"] .map-chips { position: absolute; top: 62px; left: 16px; display: flex; gap: 6px; }
[data-slide="food"] .map-chips span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px -4px rgba(20, 40, 50, .35);
  color: #5B656A;
  font-size: 13px;
  font-weight: 600;
  transition: background .25s, color .25s, scale .12s;
}
[data-slide="food"] .map-chips span.on { background: var(--tint); color: #fff; }
[data-slide="food"] .map-chips span.is-pressed { scale: .94; }

[data-slide="food"] .floor-switch {
  position: absolute;
  right: 16px;
  top: 116px;
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px -4px rgba(20, 40, 50, .35);
}
[data-slide="food"] .floor-switch span { display: grid; place-items: center; width: 40px; height: 36px; font-size: 13px; font-weight: 650; color: #5B656A; }
[data-slide="food"] .floor-switch span.on { background: var(--tint-fill); color: #266178; }

[data-slide="food"] .friend-sheet {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 -6px 30px -12px rgba(20, 40, 50, .35);
  translate: 0 calc(100% + 20px);
  transition: translate .55s cubic-bezier(.32, .72, 0, 1);
}
[data-slide="food"] .friend-sheet.is-open { translate: none; }
[data-slide="food"] .fs-head { display: flex; align-items: center; gap: 12px; }
[data-slide="food"] .fs-av {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tint);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  flex: none;
}
[data-slide="food"] .fs-head > div { flex: 1; }
[data-slide="food"] .fs-head b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
[data-slide="food"] .fs-head div span { display: block; font-size: 13px; color: #5B656A; }
[data-slide="food"] .fs-live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success); align-self: flex-start; }
[data-slide="food"] .fs-share { margin-top: 8px; font-size: 12px; color: #7B8184; }
[data-slide="food"] .fs-actions { display: flex; gap: 8px; margin-top: 12px; }
[data-slide="food"] .fs-actions .cta { position: static; flex: 1; height: 48px; }
[data-slide="food"] .fs-ping {
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--tint-fill);
  color: #266178;
  font: 600 15px var(--font);
}

/* ── App look: the screens match the real FindMyETH app (v1.2.0) ─────────
   Overrides the earlier mock styles; the chat stays a generic messenger. */
[data-slide="food"] .f-screen {
  --app-tint: #337691;
  --app-tint-text: #266178;
  --app-tint-fill: #E6EEF2;
  --app-fill: #ECEEF0;
  --app-sep: #DFE2E5;
  --app-text-2: #5C6166;
  --app-green: #17763F;
  --app-green-fill: #DFF1E6;
  --app-red: #C8281E;
  --app-title: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --app-float: 0 2px 10px rgba(20, 28, 32, .14);
}

[data-slide="food"].is-app .f-screen { --s-bg: #F5F6F7; }

/* Header: logo + avatar, as in the app shell */
[data-slide="food"] .appbar { background: rgba(245, 246, 247, .92); border-bottom: .5px solid var(--app-sep); }
[data-slide="food"] .f-screen svg.fme-mark { width: 28px; height: 28px; }
[data-slide="food"] .logo { gap: 6px; }
[data-slide="food"] .logo b { font-family: var(--app-title); font-size: 20px; font-weight: 800; }
[data-slide="food"] .logo small { display: none; }
[data-slide="food"] .profile-img { width: 36px; height: 36px; border-radius: 50%; }

[data-slide="food"] .back-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--app-fill);
  font-size: 19px;
}

[data-slide="food"] .soc-title { font-family: var(--app-title); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
[data-slide="food"] .soc-label { margin: 18px 4px 10px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--app-text-2); }

/* Socials: group cards, each with its own Start swiping button */
[data-slide="food"] .page-groups { padding-top: 16px; }
[data-slide="food"] .group { padding: 16px; border-radius: 16px; box-shadow: 0 1px 2px rgba(20, 28, 32, .04); }
[data-slide="food"] .g-body b { font-size: 17px; font-weight: 500; }
[data-slide="food"] .g-body > span { font-size: 14px; color: var(--app-text-2); }
[data-slide="food"] .g-meta { margin-top: 12px; }
[data-slide="food"] .page-groups .cta,
[data-slide="food"] .cta-quiet {
  position: static;
  height: 42px;
  padding: 0 18px;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  opacity: 1;
}
[data-slide="food"] .cta-quiet {
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: var(--app-tint-fill);
  color: var(--app-tint-text);
}
[data-slide="food"] .page-groups .cta svg,
[data-slide="food"] .cta-quiet svg { font-size: 17px; }
[data-slide="food"] .avatars i { width: 30px; height: 30px; }
[data-slide="food"] .group-new { justify-content: flex-start; padding: 16px; background: #fff; box-shadow: none; color: var(--app-tint-text); font-weight: 400; }

/* Swipe deck */
[data-slide="food"] .page-swipe { padding-top: 12px; }
[data-slide="food"] .swipe-head { justify-content: flex-start; gap: 8px; }
[data-slide="food"] .chips { margin: 0; gap: 8px; }
[data-slide="food"] .chips span { height: 40px; display: grid; place-items: center; padding: 0 14px; background: var(--app-fill); box-shadow: none; color: #17191C; font-size: 15px; font-weight: 400; }
[data-slide="food"] .counter { margin: 10px 0 8px; text-align: center; color: var(--app-text-2); }
[data-slide="food"] .counter b { color: inherit; font-weight: 400; }

[data-slide="food"] .deck { height: 430px; }
[data-slide="food"] .dish { padding: 0 0 14px; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 26px -12px rgba(20, 28, 32, .3); }
[data-slide="food"] .dish .photo { height: 260px; border-radius: 0; background: #ECEEF0; }
[data-slide="food"] .emoji { font-size: 104px; line-height: 1; font-family: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif; }
[data-slide="food"] .d-row { margin: 14px 16px 0; }
[data-slide="food"] .d-row b { font-size: 21px; font-weight: 600; }
[data-slide="food"] .price { font-size: 16px; font-weight: 400; color: #17191C; }
[data-slide="food"] .canteen { margin: 4px 16px 0; color: var(--app-text-2); }
[data-slide="food"] .tags { margin: 12px 16px 0; }
[data-slide="food"] .tags span { padding: 4px 11px; background: var(--app-fill); font-size: 13px; color: #17191C; }
[data-slide="food"] .ingredients { margin: 10px 16px 0; font-size: 13px; line-height: 1.4; color: var(--app-text-2); }

/* LIKE / NOPE stamps, as on the app's cards */
[data-slide="food"] .stamp {
  top: 22px;
  width: auto;
  height: auto;
  padding: 4px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .85);
  border: 4px solid currentColor;
  box-shadow: none;
  font: 800 34px/1.1 var(--app-title);
  letter-spacing: .04em;
}
[data-slide="food"] .stamp.like { left: 22px; rotate: -12deg; color: var(--app-green); }
[data-slide="food"] .stamp.nope { right: 22px; rotate: 12deg; color: var(--app-red); }

[data-slide="food"] .swipe-buttons { gap: 30px; margin-top: 22px; }
[data-slide="food"] .btn-nope,
[data-slide="food"] .btn-like { width: 64px; height: 64px; background: #fff; font-size: 28px; box-shadow: 0 4px 14px -4px rgba(20, 28, 32, .25); }
[data-slide="food"] .btn-nope { color: var(--app-red); }
[data-slide="food"] .btn-like { color: var(--app-green); }
[data-slide="food"] .btn-like svg { fill: none; stroke-width: 2.2; }
[data-slide="food"] .done-link { margin-top: 18px; text-align: center; font-size: 14px; color: var(--app-tint-text); }

/* Top pick */
[data-slide="food"] .page-result { padding-top: 12px; }
[data-slide="food"] .result-head { align-items: center; gap: 12px; }
[data-slide="food"] .page-result .f-pill.agree { margin-top: 10px; }
[data-slide="food"] .top-pick { margin-top: 10px; padding: 0 0 14px; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 28, 32, .06); }
[data-slide="food"] .top-pick .photo { height: 132px; border-radius: 0; background: #ECEEF0; }
[data-slide="food"] .top-pick .emoji { font-size: 76px; }
[data-slide="food"] .top-pick .tp-body { padding: 0 14px; }
[data-slide="food"] .tp-top { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
[data-slide="food"] .match { padding: 3px 10px; border-radius: 999px; background: var(--app-green-fill); color: var(--app-green); font-size: 13px; }
[data-slide="food"] .top-pick .d-row { margin: 8px 0 0; }
[data-slide="food"] .top-pick .canteen { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; font-size: 14px; }
[data-slide="food"] .walk { margin-top: 4px; font-size: 14px; color: var(--app-text-2); }
[data-slide="food"] .votes { margin-top: 12px; padding: 0; background: none; }
[data-slide="food"] .avatars.big { gap: 4px; }
[data-slide="food"] .avatars.big i { width: 30px; height: 30px; font-size: 10px; }
[data-slide="food"] .top-pick .cta { width: auto; height: 44px; margin: 0; padding: 0 18px; font-size: 15px; font-weight: 500; }
[data-slide="food"] .section-label { margin: 14px 4px 8px; font-weight: 500; letter-spacing: .06em; color: var(--app-text-2); }
[data-slide="food"] .runner { padding: 10px 12px 10px 10px; }
[data-slide="food"] .runner .thumb { width: 52px; height: 52px; background: #ECEEF0; }
[data-slide="food"] .runner .emoji { font-size: 30px; }
[data-slide="food"] .runner b { font-size: 15px; font-weight: 500; }
[data-slide="food"] .runner span { font-size: 13px; color: var(--app-text-2); }
[data-slide="food"] .runner button { padding: 8px 12px; background: var(--app-tint-fill); color: var(--app-tint-text); font-weight: 500; }

/* Navigate: the app's search pill and filter chips */
[data-slide="food"] .map-search { left: 12px; right: 12px; height: 48px; box-shadow: var(--app-float); color: var(--app-text-2); font-size: 16px; }
[data-slide="food"] .ms-q { flex: 1; }
[data-slide="food"] .f-screen svg.ms-mic { color: var(--app-tint); font-size: 18px; }
[data-slide="food"] .map-chips { left: 12px; gap: 8px; }
[data-slide="food"] .map-chips span { height: 34px; padding: 0 13px; box-shadow: var(--app-float); color: #17191C; font-size: 14px; font-weight: 400; }
[data-slide="food"] .map-chips span.on { background: var(--app-tint-fill); color: var(--app-tint-text); }
[data-slide="food"] .floor-switch { border-radius: 999px; padding: 4px 0; box-shadow: var(--app-float); }
[data-slide="food"] .floor-switch span { height: 30px; border-radius: 999px; font-weight: 400; color: #17191C; }
[data-slide="food"] .floor-switch span.on { background: var(--app-tint); color: #fff; }
[data-slide="food"] .friend-sheet { border-radius: 20px; }
[data-slide="food"] .f-tabbar span { color: var(--app-text-2); font-weight: 400; }
[data-slide="food"] .f-tabbar .on { color: var(--app-tint); }
[data-slide="food"] .top-pick .cta,
[data-slide="food"] .runner button { white-space: nowrap; }
[data-slide="food"] .top-pick .cta { padding: 0 14px; gap: 6px; }
[data-slide="food"] .avatars.big { gap: 2px; }
[data-slide="food"] .avatars.big i { width: 28px; height: 28px; }
[data-slide="food"] .ms-q { min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Arriving from slide 2's phone (js/arrive.js): the slide is there at once, so its phone takes
   over from slide 2's in a single frame; only the screen and the copy fade in. */
[data-slide="food"].is-handed { transition: none; }

[data-slide="food"].is-handed .f-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 19; /* under the island (20) */
  background: #F5F6F7;
  pointer-events: none;
  animation: food-handed-cover .6s var(--ease-out) both;
}

[data-slide="food"].is-handed .chat-copy { animation: food-handed-copy .6s var(--ease-out) backwards; }

@keyframes food-handed-cover { to { opacity: 0; } }
@keyframes food-handed-copy { from { opacity: 0; } }
