:root {
  color-scheme: light;
  --page: #f4f4f4;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.9);
  --ink: #202124;
  --ink-strong: #111827;
  --muted: #8f8f95;
  --muted-2: #b4b4ba;
  --line: rgba(31, 35, 40, 0.08);
  --yellow: #ffd92e;
  --yellow-deep: #ffc923;
  --pink: #ff3c7d;
  --pink-soft: #ffd9e7;
  --orange: #ff7a00;
  --green: #3ac47d;
  --cyan: #25bfd3;
  --blue: #4db8ff;
  --red: #f20d0d;
  --shadow: 0 18px 45px rgba(30, 24, 64, 0.13);
  --shadow-soft: 0 10px 24px rgba(30, 24, 64, 0.08);
  --radius-card: 18px;
  --radius-small: 12px;
  --font-ui: "Avenir Next", "DIN Alternate", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --demo-width: 750px;
  --demo-height: 1624px;
  --source-width: 430px;
  --source-height: 931.09px;
  --demo-scale: 1.744186;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 218, 233, 0.55), transparent 34%),
    radial-gradient(circle at top right, rgba(221, 246, 255, 0.7), transparent 32%),
    var(--page);
  font-family: var(--font-ui);
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: var(--demo-width);
  min-height: var(--demo-height);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.demo-canvas {
  position: relative;
  width: var(--demo-width);
  height: var(--demo-height);
  overflow: hidden;
  background: #f5f5f5;
}

.phone-screen {
  position: relative;
  width: var(--source-width);
  height: var(--source-height);
  min-height: var(--source-height);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: #f5f5f5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 24px 70px rgba(30, 24, 64, 0.18);
  transform: scale(var(--demo-scale));
  transform-origin: top left;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.tabbar-layer {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(73px * var(--demo-scale));
  overflow: hidden;
  pointer-events: none;
}

.guide-hero {
  position: relative;
  min-height: 248px;
  padding: 18px 14px 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 13%, rgba(255, 255, 255, 0.92) 0 12%, transparent 25%),
    radial-gradient(circle at 52% 4%, rgba(219, 251, 255, 0.78), transparent 25%),
    radial-gradient(circle at 14% 14%, rgba(238, 248, 255, 0.78), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #ffe6f2 49%, #ffd8ec 100%);
}

.guide-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 216, 236, 0), #f5f5f5 82%);
  pointer-events: none;
}

.status-bar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 20px 0 25px;
  color: #050505;
  font-size: 18px;
  font-weight: 700;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: end;
  gap: 3px;
  height: 15px;
}

.signal i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: #050505;
}

.signal i:nth-child(1) { height: 6px; }
.signal i:nth-child(2) { height: 9px; }
.signal i:nth-child(3) { height: 12px; }
.signal i:nth-child(4) { height: 15px; }

.wifi {
  position: relative;
  width: 21px;
  height: 14px;
  overflow: hidden;
}

.wifi::before,
.wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 4px solid #050505;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  transform: translateX(-50%);
}

.wifi::before {
  top: 0;
  width: 22px;
  height: 14px;
  border-radius: 22px 22px 0 0;
}

.wifi::after {
  top: 6px;
  width: 10px;
  height: 8px;
  border-radius: 10px 10px 0 0;
}

.battery {
  position: relative;
  width: 30px;
  height: 16px;
  border: 2px solid #181818;
  border-radius: 4px;
}

.battery::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 4px;
  width: 3px;
  height: 6px;
  border-radius: 0 2px 2px 0;
  background: #181818;
}

.battery i {
  display: block;
  height: 100%;
  width: 22px;
  border: 2px solid #fff;
  border-radius: 3px;
  background: #3d3d3d;
}

.hero-map {
  position: absolute;
  inset: 86px -16px 0 -10px;
  opacity: 0.68;
  background:
    linear-gradient(32deg, transparent 0 34%, rgba(255, 255, 255, 0.46) 34% 36%, transparent 36%),
    linear-gradient(158deg, transparent 0 45%, rgba(255, 255, 255, 0.44) 45% 47%, transparent 47%),
    linear-gradient(90deg, transparent 0 70%, rgba(255, 255, 255, 0.36) 70% 72%, transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 53px, rgba(255, 255, 255, 0.34) 53px 56px);
}

.hero-map::before {
  content: "";
  position: absolute;
  left: 6px;
  right: -20px;
  top: 58px;
  height: 108px;
  border: 5px solid rgba(255, 255, 255, 0.46);
  border-right-color: transparent;
  border-radius: 50%;
}

.kite {
  position: absolute;
  right: 36px;
  top: 48px;
  width: 20px;
  height: 20px;
  z-index: 2;
  transform: rotate(18deg);
  background:
    linear-gradient(45deg, #ffe47a 0 50%, transparent 50%),
    linear-gradient(135deg, #ff8f7e 0 50%, transparent 50%),
    linear-gradient(225deg, #ffcf62 0 50%, transparent 50%),
    linear-gradient(315deg, #ffd9ac 0 50%, transparent 50%);
  filter: drop-shadow(0 6px 8px rgba(255, 113, 143, 0.2));
}

.kite::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 17px;
  width: 74px;
  height: 78px;
  border-right: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0 0 70px 0;
  transform: rotate(-25deg);
}

.location-button {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 76px);
  margin-top: 22px;
  padding: 0;
  color: #2a2a2c;
  background: transparent;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.location-button span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-dot {
  position: relative;
  width: 23px;
  height: 29px;
  flex: 0 0 auto;
  border: 4px solid #2d2d31;
  border-radius: 50% 50% 55% 55%;
  transform: rotate(-45deg);
}

.location-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #2d2d31;
}

.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.bell-button {
  position: absolute;
  z-index: 4;
  right: 19px;
  top: 68px;
  width: 34px;
  height: 38px;
  background: transparent;
}

.bell-button span {
  position: absolute;
  left: 7px;
  top: 8px;
  width: 21px;
  height: 23px;
  border: 4px solid #2b2b2d;
  border-bottom: 0;
  border-radius: 16px 16px 8px 8px;
}

.bell-button span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  width: 4px;
  height: 10px;
  border-radius: 4px;
  background: #2b2b2d;
  transform: translateX(-50%);
}

.bell-button span::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -7px;
  width: 17px;
  height: 4px;
  border-radius: 999px;
  background: #2b2b2d;
  box-shadow: 7px 4px 0 -5px #2b2b2d;
}

.guide-hero h1 {
  position: relative;
  z-index: 4;
  margin: 21px 0 0 4px;
  max-width: 250px;
  color: #1f1f22;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}

.temple-scene {
  position: absolute;
  z-index: 2;
  right: 13px;
  top: 50px;
  width: 166px;
  height: 154px;
  pointer-events: none;
}

.pin {
  position: absolute;
  left: 3px;
  top: 72px;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: #ff4f9b;
  transform: rotate(-45deg);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
}

.temple-shadow {
  position: absolute;
  right: 0;
  bottom: 7px;
  width: 142px;
  height: 28px;
  border-radius: 50%;
  background: rgba(179, 95, 119, 0.16);
  filter: blur(2px);
}

.temple-spire {
  position: absolute;
  right: 72px;
  top: 1px;
  width: 9px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(#d28d10, #ffd85c 31%, #da5c2a 32% 49%, #ffd85c 50% 64%, #b66d08 65%);
  z-index: 5;
}

.temple-roof {
  position: absolute;
  left: 47px;
  z-index: 4;
  height: 50px;
  border-radius: 50% 50% 46% 46%;
  background:
    repeating-radial-gradient(ellipse at 50% 92%, #30a6de 0 2px, #95defb 2px 4px, #1f79c5 4px 5px),
    linear-gradient(180deg, #9beaff, #2179c9);
  box-shadow: inset 0 -6px 0 rgba(18, 76, 140, 0.22), 0 10px 16px rgba(40, 120, 180, 0.24);
}

.roof-a {
  top: 32px;
  width: 102px;
  transform: perspective(80px) rotateX(12deg);
}

.roof-b {
  top: 78px;
  left: 29px;
  width: 133px;
  height: 48px;
  z-index: 3;
}

.temple-mid {
  position: absolute;
  top: 73px;
  left: 61px;
  width: 75px;
  height: 33px;
  border-radius: 5px 5px 9px 9px;
  background:
    linear-gradient(90deg, #ff7b89 0 11%, #ffd3de 11% 18%, #8eddf4 18% 78%, #ffd3de 78% 85%, #ff7b89 85%),
    linear-gradient(#fff, #fed7e7);
  box-shadow: inset 0 -8px 0 rgba(255, 93, 132, 0.24);
}

.temple-base {
  position: absolute;
  left: 52px;
  top: 116px;
  z-index: 2;
  width: 91px;
  height: 35px;
  border-radius: 6px 6px 16px 16px;
  background:
    repeating-linear-gradient(90deg, #ff3c31 0 7px, #ffe0e4 7px 13px, #ff725f 13px 17px),
    linear-gradient(#fff7f4, #ffcfd8);
  box-shadow: inset 0 -10px 0 rgba(205, 69, 79, 0.16);
}

.tree {
  position: absolute;
  z-index: 2;
  width: 36px;
  height: 48px;
  border-radius: 62% 62% 48% 48%;
  background: linear-gradient(145deg, #90ea50, #50b63b 72%);
  filter: drop-shadow(0 8px 8px rgba(59, 152, 47, 0.18));
}

.tree-a {
  left: 16px;
  bottom: 22px;
  transform: rotate(-13deg);
}

.tree-b {
  right: 14px;
  bottom: 18px;
}

.tree-c {
  right: -6px;
  bottom: 13px;
  width: 28px;
  height: 38px;
}

.content {
  position: relative;
  z-index: 5;
  padding: 0 12px 108px;
}

.search-section {
  margin-top: -32px;
}

.search-box {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 65px;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 4px 4px 4px 17px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 10px 20px rgba(195, 91, 142, 0.09);
}

.search-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border: 3px solid #85878b;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: #85878b;
  transform: rotate(45deg);
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #8b8b91;
  background: transparent;
  font-size: 17px;
  font-weight: 500;
}

.search-box button {
  height: 40px;
  border-radius: 999px;
  color: #202124;
  background: linear-gradient(180deg, #ffe455, var(--yellow));
  font-size: 17px;
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(255, 164, 0, 0.18);
}

.category-strip {
  --king-gap: 4px;
  --king-width: calc((100% - (var(--king-gap) * 5)) / 5.5);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--king-width);
  gap: var(--king-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 24px 0 6px;
  scroll-snap-type: x proximity;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 0;
  color: #2c2d31;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  scroll-snap-align: start;
}

.category-item > span:last-child {
  width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-art {
  position: relative;
  display: block;
  width: clamp(44px, 82%, 58px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 22px 24px 26px 23px;
  background: linear-gradient(135deg, #ff6b58, #ff4a45);
  box-shadow: inset 0 -8px 0 rgba(255, 172, 42, 0.34), 0 8px 16px rgba(37, 37, 37, 0.06);
}

.category-art i,
.category-art::before,
.category-art::after {
  content: "";
  position: absolute;
}

.art-food::before {
  left: 10px;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset -2px -3px 0 #f3f3f3;
}

.art-food::after {
  left: 37px;
  top: 10px;
  width: 5px;
  height: 31px;
  border-radius: 999px;
  background: #fff;
  box-shadow: -7px 5px 0 -1px #fff, -14px 5px 0 -1px #fff;
}

.art-food i {
  left: 28px;
  top: 24px;
  width: 5px;
  height: 27px;
  border-radius: 999px;
  background: #ffe05e;
  transform: rotate(-24deg);
}

.art-dessert {
  background: linear-gradient(135deg, #ffcf21, #ffb600);
}

.art-dessert::before {
  left: 18px;
  top: 12px;
  width: 25px;
  height: 28px;
  border-radius: 12px 12px 9px 9px;
  background: linear-gradient(180deg, #ff80a7, #ffb5ca);
}

.art-dessert::after {
  left: 20px;
  top: 5px;
  width: 22px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 8px 5px, #ffe26d 0 2px, transparent 3px),
    radial-gradient(circle at 14px 9px, #fff 0 2px, transparent 3px),
    linear-gradient(160deg, #ff5c9b, #ffc0d5);
  transform: rotate(18deg);
}

.art-dessert i {
  right: 12px;
  top: 23px;
  width: 8px;
  height: 19px;
  border-radius: 999px;
  background: #f4607f;
}

.art-market {
  background: linear-gradient(135deg, #31d0e8, #1fb3cf);
}

.art-market::before {
  left: 15px;
  top: 19px;
  width: 31px;
  height: 25px;
  border-radius: 7px;
  background: #ffd557;
  transform: skewX(-8deg);
}

.art-market::after {
  left: 18px;
  top: 16px;
  width: 28px;
  height: 8px;
  border-radius: 6px;
  background: #fff2ac;
}

.art-market i {
  left: 26px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8d33;
  box-shadow: 12px 2px 0 #ff8d33;
}

.art-fruit {
  background: linear-gradient(135deg, #62d947, #31be52);
}

.art-fruit::before {
  left: 22px;
  top: 18px;
  width: 25px;
  height: 30px;
  border-radius: 60% 40% 60% 40%;
  background: linear-gradient(145deg, #ffa93c, #ff7c29);
  transform: rotate(20deg);
}

.art-fruit::after {
  left: 32px;
  top: 5px;
  width: 16px;
  height: 11px;
  border-radius: 80% 10% 80% 10%;
  background: #17a941;
  transform: rotate(-26deg);
}

.art-fruit i {
  left: 17px;
  top: 22px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 220, 90, 0.9);
  box-shadow: 4px 8px 0 rgba(255, 220, 90, 0.72);
  transform: rotate(-20deg);
}

.art-med {
  background: linear-gradient(135deg, #39d5d6, #23b6b0);
}

.art-med::before {
  left: 15px;
  top: 18px;
  width: 34px;
  height: 26px;
  border-radius: 7px;
  background: #ffd92e;
  box-shadow: inset 0 -5px 0 rgba(237, 170, 0, 0.23);
}

.art-med::after {
  left: 23px;
  top: 13px;
  width: 17px;
  height: 10px;
  border: 4px solid #ff4d22;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.art-med i {
  left: 28px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 38%, #fff 38% 62%, transparent 62%),
    linear-gradient(0deg, transparent 0 38%, #fff 38% 62%, transparent 62%),
    #ff5345;
}

.art-meal {
  background: linear-gradient(135deg, #ffdc75, #ffbd41);
}

.art-meal::before {
  left: 12px;
  top: 18px;
  width: 37px;
  height: 25px;
  border-radius: 9px 9px 17px 17px;
  background: linear-gradient(180deg, #ff7557, #ff4d3c);
}

.art-meal::after {
  left: 15px;
  top: 13px;
  width: 31px;
  height: 10px;
  border-radius: 50%;
  background: #fff0d4;
}

.art-meal i {
  left: 25px;
  top: 25px;
  width: 12px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 10px 3px 0 -2px #ffcf3f, -8px 5px 0 -3px #53bd54;
}

.pager-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  height: 17px;
  padding-top: 3px;
}

.pager-dots span {
  width: 9px;
  height: 5px;
  border-radius: 999px;
  background: #d8d8d8;
}

.pager-dots span:first-child {
  width: 20px;
  background: var(--yellow-deep);
}

.scheme-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 9px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82), 0 10px 20px rgba(50, 44, 70, 0.06);
}

.scheme-tab {
  min-width: 0;
  height: 34px;
  border-radius: 999px;
  color: #74767e;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
}

.scheme-tab.active {
  color: #1f2024;
  background: linear-gradient(180deg, #ffe867, var(--yellow));
  box-shadow: inset 0 -2px 0 rgba(255, 164, 0, 0.2), 0 7px 14px rgba(255, 203, 35, 0.26);
}

.recommend-stack-section {
  position: relative;
  margin-top: 10px;
  margin-bottom: 16px;
}

.recommend-stack-section.scheme-two {
  overflow: visible;
}

.recommend-stage {
  position: relative;
  height: 350px;
  overflow: visible;
  touch-action: pan-y;
  transition: height 0.46s cubic-bezier(0.22, 0.8, 0.22, 1);
}

.recommend-stack-section.is-auto-expanded .recommend-stage {
  height: 350px;
}

.recommend-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(100% - 64px);
  height: 332px;
  overflow: hidden;
  min-height: 332px;
  border-radius: 23px;
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(81, 54, 37, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(22px) scale(0.9);
  transform-origin: 50% 100%;
  transition:
    transform 0.48s cubic-bezier(0.22, 0.8, 0.22, 1),
    opacity 0.32s ease,
    filter 0.32s ease;
}

.recommend-card.is-active {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-duration: 0.56s;
}

.recommend-stack-section.scheme-three .recommend-card {
  width: calc(100% - 24px);
}

.recommend-card.is-prev {
  z-index: 3;
  opacity: 0.58;
  pointer-events: auto;
  cursor: pointer;
  filter: saturate(0.92) brightness(0.98);
  transform: translateX(calc(-50% - 52px)) translateY(14px) scale(0.9);
}

.recommend-card.is-next {
  z-index: 3;
  opacity: 0.58;
  pointer-events: auto;
  cursor: pointer;
  filter: saturate(0.92) brightness(0.98);
  transform: translateX(calc(-50% + 52px)) translateY(14px) scale(0.9);
}

.recommend-card.is-back {
  z-index: 1;
  opacity: 0;
  filter: saturate(0.86) brightness(0.96);
  transform: translateX(-50%) translateY(28px) scale(0.88);
}

.recommend-card.is-expanded-auto {
  height: 332px;
  min-height: 332px;
}

.recommend-card--auto {
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 221, 94, 0.32), transparent 29%),
    linear-gradient(180deg, #fffdf6, #ffffff 44%);
}

.auto-card-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  height: 100%;
  min-height: 332px;
  min-width: 0;
  padding: 16px;
}

.recommend-card.is-expanded-auto .auto-card-shell {
  min-height: 332px;
  align-content: stretch;
}

.auto-card-shell--restaurants {
  display: block;
  padding: 12px;
}

.auto-card-shell--restaurants .in-card-curated {
  height: 100%;
}

.auto-card-head {
  display: grid;
  gap: 7px;
}

.auto-card-head span {
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 9px;
  border-radius: 999px;
  color: #81551f;
  background: #ffedc6;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auto-card-head h2 {
  margin: 0;
  color: #202124;
  font-size: 23px;
  font-weight: 950;
  line-height: 1.14;
}

.auto-card-head p {
  margin: 0;
  color: #8f6b4a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.auto-card-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 86px;
  padding: 14px;
  border-radius: 16px;
  color: #8a5429;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 132, 72, 0.2), transparent 24%),
    linear-gradient(145deg, #fff8e9, #fff1d7);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 146, 0.76);
}

.auto-card-preview span {
  font-size: 13px;
  font-weight: 900;
}

.auto-card-preview b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #ff9a36, #ff4d5f);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.recommend-card.is-leaving {
  opacity: 0;
  transform: translateX(-34px) translateY(-12px) scale(1.02) rotate(-1deg);
}

.recommend-photo {
  position: relative;
  height: 104px;
  overflow: hidden;
  border-radius: 23px 23px 0 0;
}

.recommend-photo::before,
.recommend-photo::after {
  content: "";
  position: absolute;
}

.top-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 13px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 32px);
  min-height: 24px;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 12px;
  color: #fff8df;
  background: rgba(83, 48, 15, 0.63);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.top-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 5px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 40%, #fff5cc 0 2px, transparent 3px),
    conic-gradient(from 25deg, #fff7c7 0 19%, transparent 19% 34%, #fff7c7 34% 58%, transparent 58%);
  box-shadow: inset 0 0 0 2px rgba(255, 244, 198, 0.35);
}

.store-mini-logo {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: -12px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 9px;
  border-radius: 13px;
  color: #24211f;
  background: linear-gradient(145deg, #fffef8, #ffecc3);
  box-shadow: 0 12px 20px rgba(89, 53, 26, 0.22);
  font-family: "Songti SC", "STSong", "PingFang SC", serif;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  transform: rotate(8deg);
}

.photo-buns {
  background:
    radial-gradient(ellipse at 58% 106%, rgba(78, 38, 10, 0.55) 0 42%, transparent 43%),
    linear-gradient(180deg, rgba(92, 51, 17, 0.08), rgba(94, 45, 10, 0.16)),
    #c78a2b;
}

.photo-buns::before {
  left: 13%;
  right: 9%;
  top: 45px;
  height: 106px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 24% 40%, #ffcf43 0 27px, transparent 28px),
    radial-gradient(circle at 53% 37%, #ffd24f 0 30px, transparent 31px),
    radial-gradient(circle at 66% 58%, #ffd85f 0 38px, transparent 39px),
    radial-gradient(ellipse at 48% 70%, #9b561c 0 71px, transparent 72px);
  box-shadow: inset 0 -30px 24px rgba(110, 47, 7, 0.22);
}

.photo-buns::after {
  left: 17%;
  right: 13%;
  bottom: 27px;
  height: 63px;
  border-radius: 62% 58% 34% 38%;
  background:
    radial-gradient(circle at 25% 7%, #111 0 2px, transparent 3px),
    radial-gradient(circle at 30% 11%, #111 0 2px, transparent 3px),
    radial-gradient(circle at 65% 20%, #111 0 2px, transparent 3px),
    radial-gradient(circle at 69% 25%, #111 0 2px, transparent 3px),
    radial-gradient(circle at 78% 27%, #111 0 2px, transparent 3px),
    linear-gradient(145deg, #ffe06c 0, #ffc73a 49%, #f1a019 100%);
  box-shadow:
    inset 0 12px 13px rgba(255, 255, 255, 0.42),
    inset 0 -8px 18px rgba(169, 79, 7, 0.18),
    0 20px 22px rgba(88, 43, 10, 0.24);
}

.photo-duck {
  background:
    radial-gradient(circle at 77% 22%, rgba(255, 239, 174, 0.55), transparent 24%),
    linear-gradient(135deg, #5a2119, #a84a21 44%, #f4b759);
}

.photo-duck::before {
  left: 24px;
  right: 22px;
  bottom: 25px;
  height: 74px;
  border-radius: 47% 53% 44% 42%;
  background:
    radial-gradient(circle at 72% 25%, #fff4d5 0 9px, transparent 10px),
    linear-gradient(145deg, #ffd482, #be4a20 62%, #7b1f14);
  box-shadow:
    inset -24px 15px 16px rgba(255, 226, 144, 0.36),
    inset 0 -18px 18px rgba(80, 17, 11, 0.24);
}

.photo-duck::after {
  left: 19px;
  right: 26px;
  bottom: 18px;
  height: 21px;
  border-radius: 50%;
  background: rgba(60, 21, 10, 0.22);
  filter: blur(6px);
}

.photo-noodle {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 230, 138, 0.7), transparent 23%),
    linear-gradient(145deg, #172029, #35425b 43%, #d7a75f);
}

.photo-noodle::before {
  left: 72px;
  top: 41px;
  width: 190px;
  height: 104px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 51% 41%, #d83f20 0 37px, transparent 38px),
    radial-gradient(circle at 48% 44%, transparent 0 55px, #e8edf0 56px 70px, transparent 71px),
    linear-gradient(145deg, #1f252e, #10141a);
  box-shadow: 0 16px 25px rgba(0, 0, 0, 0.24);
}

.photo-noodle::after {
  left: 136px;
  top: 72px;
  width: 76px;
  height: 36px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(145deg, transparent 0 6px, rgba(255, 215, 93, 0.9) 6px 8px),
    rgba(255, 183, 59, 0.55);
}

.photo-crayfish {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 222, 107, 0.45), transparent 22%),
    linear-gradient(145deg, #2f1110, #81221a 45%, #f35a2e);
}

.photo-crayfish::before {
  left: 46px;
  top: 56px;
  width: 250px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 17% 35%, #ff9b58 0 16px, transparent 17px),
    radial-gradient(circle at 35% 48%, #d9271d 0 20px, transparent 21px),
    radial-gradient(circle at 55% 33%, #f26a2e 0 18px, transparent 19px),
    radial-gradient(circle at 73% 50%, #cb1e19 0 19px, transparent 20px),
    linear-gradient(145deg, #ffb069, #a91815);
  box-shadow: inset 0 -20px 21px rgba(68, 12, 10, 0.28), 0 18px 20px rgba(46, 13, 8, 0.24);
}

.photo-crayfish::after {
  left: 80px;
  right: 54px;
  bottom: 19px;
  height: 26px;
  border-radius: 50%;
  background: rgba(54, 14, 9, 0.28);
  filter: blur(7px);
}

.recommend-body {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 10px 12px 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), #fff 21%),
    var(--paper);
}

.recommend-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 8px;
  align-items: center;
}

.recommend-title-row h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #202124;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 31px;
  border-radius: 999px;
  color: #202124;
  background: linear-gradient(180deg, #ffe96a, var(--yellow));
  box-shadow: inset 0 -2px 0 rgba(255, 164, 0, 0.2), 0 7px 14px rgba(255, 203, 35, 0.22);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.recommend-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: #8b8c92;
  font-size: 13px;
  line-height: 1.2;
}

.recommend-metrics {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.recommend-meta b {
  color: #1f2024;
  font-weight: 950;
  flex: 0 0 auto;
}

.recommend-meta span span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend-meta i {
  color: #8b8c92;
  font-style: normal;
  white-space: nowrap;
}

.recommend-feature-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  height: 25px;
  max-width: 92px;
  overflow: hidden;
  padding: 0 9px;
  border-radius: 999px;
  color: #c86121;
  background: #fff2dd;
  box-shadow: inset 0 0 0 1px rgba(230, 176, 113, 0.22);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.specialty-row {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 25px;
  margin: 0;
  overflow: hidden;
  padding: 0 11px 0 5px;
  border-radius: 999px;
  color: #9a5f25;
  background: linear-gradient(180deg, #fff7e5, #ffe9c6);
  box-shadow: inset 0 0 0 1px rgba(230, 176, 113, 0.24);
}

.specialty-row span {
  display: inline-flex;
  align-items: center;
  height: 19px;
  margin-right: 8px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #ff9a37, #ff6544);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.specialty-row b {
  min-width: 0;
  overflow: hidden;
  color: #7f4918;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-reason {
  position: relative;
  min-height: 83px;
  padding: 9px 11px 9px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 18%, rgba(239, 176, 105, 0.22), transparent 28%),
    linear-gradient(145deg, #fff7e9, #fffaf1);
}

.recommend-reason::after {
  content: "”";
  position: absolute;
  right: 14px;
  top: -7px;
  color: rgba(233, 157, 74, 0.34);
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.recommend-reason strong {
  flex: 0 0 auto;
  margin-right: 0;
  color: #1f2024;
  font-size: 14px;
  font-weight: 950;
}

.recommend-reason-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-bottom: 6px;
}

.recommend-chips {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}

.recommend-chips span {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-height: 22px;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 7px;
  color: #a96b43;
  background: #ffe8c9;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-chips span::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-radius: 2px;
  background: #e6b071;
  transform: rotate(45deg);
}

.recommend-reason p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #b47654;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.32;
}

.in-card-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 39px;
  margin-top: 11px;
  border-radius: 999px;
  color: #1f2024;
  background: linear-gradient(180deg, #fff2a4, var(--yellow));
  box-shadow: inset 0 -2px 0 rgba(255, 164, 0, 0.22), 0 8px 18px rgba(215, 165, 33, 0.16);
  font-size: 15px;
  font-weight: 950;
}

.recommend-card:not(.is-active) .in-card-toggle {
  display: none;
}

.recommend-card.is-expanded-auto .in-card-toggle {
  color: #704412;
  background: #fff2d3;
}

.in-card-curated {
  min-height: 0;
  margin-top: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 11px;
  border-radius: 16px;
  scrollbar-width: none;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 224, 123, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 239, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 212, 152, 0.62);
  animation: popRestaurant 0.42s cubic-bezier(0.18, 0.88, 0.34, 1.08) both;
}

.in-card-curated::-webkit-scrollbar {
  display: none;
}

.in-card-curated .ai-bubble-head {
  margin-bottom: 9px;
}

.ai-bubble-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #494b52;
  font-size: 14px;
  font-weight: 900;
}

.ai-bubble-head span {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe352, #ff8f4a);
}

.ai-bubble-head span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 6px 4px 0 #fff;
}

.curated-list {
  display: grid;
  gap: 8px;
}

.curated-restaurant {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px 9px 9px;
  border: 1px solid rgba(255, 212, 152, 0.72);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 239, 0.92)),
    #fff8ed;
  box-shadow: 0 8px 16px rgba(123, 78, 30, 0.07);
  animation: popRestaurant 0.48s cubic-bezier(0.18, 0.88, 0.34, 1.18) both;
  animation-delay: var(--item-delay);
}

.dialogue-item,
.origin-restaurant {
  animation-name: chatRestaurant;
  animation-duration: 0.58s;
}

.origin-restaurant {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  margin-bottom: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 230, 0.96)),
    #fff7ed;
}

.origin-restaurant .curated-rank {
  width: 39px;
  border-radius: 999px;
  font-size: 11px;
}

.curated-rank {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ff8d2c, #ff4f5f);
  font-size: 14px;
  font-weight: 950;
}

.curated-restaurant h3,
.curated-restaurant p {
  min-width: 0;
  margin: 0;
}

.curated-restaurant h3 {
  overflow: hidden;
  color: #24252a;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.curated-restaurant p {
  display: -webkit-box;
  overflow: hidden;
  color: #9a6c4b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.curated-side {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #8f9096;
  font-size: 12px;
  white-space: nowrap;
}

.curated-side strong {
  color: #ff7a00;
  font-size: 14px;
}

.curated-restaurant em {
  position: absolute;
  right: 9px;
  top: -8px;
  max-width: 86px;
  overflow: hidden;
  padding: 2px 7px;
  border-radius: 999px;
  color: #926027;
  background: #ffe9c6;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.typing-restaurant {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 5px;
  color: #8f6137;
  background: #fff3dd;
  box-shadow: inset 0 0 0 1px rgba(232, 181, 114, 0.28);
  animation: chatRestaurant 0.42s ease both;
}

.typing-restaurant span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ce9256;
  animation: typingDot 1s ease-in-out infinite;
}

.typing-restaurant span:nth-child(2) {
  animation-delay: 0.14s;
}

.typing-restaurant span:nth-child(3) {
  animation-delay: 0.28s;
}

.typing-restaurant b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scheme-extra {
  position: relative;
  z-index: 12;
  display: grid;
  justify-items: center;
  margin-bottom: 8px;
}

.recommend-stack-section.scheme-two .coupon-packet--float {
  position: absolute;
  top: -198px;
  right: 8px;
  z-index: 16;
}

.coupon-packet {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  border-radius: 17px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 24%, rgba(255, 247, 160, 0.78), transparent 14%),
    linear-gradient(145deg, #ff7a1e, #ff315f 58%, #dc153b);
  box-shadow: 0 14px 26px rgba(227, 47, 70, 0.24);
}

.coupon-packet::before,
.coupon-packet::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f5f5f5;
  transform: translateY(-50%);
}

.coupon-packet::before {
  left: -8px;
}

.coupon-packet::after {
  right: -8px;
}

.coupon-amount {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 72px;
  color: #fff7cf;
  text-shadow: 0 3px 10px rgba(123, 20, 21, 0.22);
}

.coupon-amount b {
  font-size: 37px;
  font-weight: 950;
  line-height: 1;
}

.coupon-amount i {
  margin-left: 1px;
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
}

.coupon-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  text-align: left;
}

.coupon-copy strong,
.coupon-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coupon-copy strong {
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.coupon-copy small {
  color: rgba(255, 250, 225, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.coupon-packet em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
  border-radius: 999px;
  color: #d81b33;
  background: #fff4c8;
  box-shadow: inset 0 -2px 0 rgba(255, 178, 41, 0.24);
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.coupon-packet--inline {
  width: 100%;
  min-height: 62px;
  margin-top: 2px;
  padding: 8px 12px;
}

.coupon-packet--inline .coupon-amount {
  min-width: 62px;
}

.coupon-packet--inline .coupon-amount b {
  font-size: 31px;
}

.coupon-packet--inline .coupon-copy {
  flex: 1 1 auto;
}

.coupon-packet--inline em {
  min-width: 58px;
  height: 28px;
  margin-left: auto;
  font-size: 13px;
}

.coupon-packet--float {
  width: 68px;
  min-height: 88px;
  flex-direction: column;
  gap: 3px;
  padding: 7px 6px;
  border-radius: 15px;
  pointer-events: auto;
  transform: rotate(4deg) scale(0.92);
  animation: couponFloat 2.2s ease-in-out infinite;
}

.coupon-packet--float::before,
.coupon-packet--float::after {
  top: auto;
  bottom: 32px;
  width: 10px;
  height: 10px;
}

.coupon-packet--float::before {
  left: -5px;
}

.coupon-packet--float::after {
  right: -5px;
}

.coupon-packet--float .coupon-amount {
  min-width: 0;
}

.coupon-packet--float .coupon-amount b {
  font-size: 25px;
}

.coupon-packet--float .coupon-copy {
  justify-items: center;
  text-align: center;
}

.coupon-packet--float .coupon-copy strong {
  width: 54px;
  white-space: normal;
  font-size: 12px;
  line-height: 1.08;
}

.coupon-packet--float .coupon-copy small {
  display: none;
}

.coupon-packet--float em {
  min-width: 46px;
  height: 22px;
  font-size: 10px;
}

.coupon-packet--list {
  width: 100%;
  min-height: 66px;
  padding: 10px 12px;
  animation: popRestaurant 0.48s cubic-bezier(0.18, 0.88, 0.34, 1.18) both;
  animation-delay: 90ms;
}

@keyframes couponFloat {
  0%,
  100% {
    transform: translateY(0) rotate(4deg) scale(0.92);
  }

  50% {
    transform: translateY(-4px) rotate(2deg) scale(0.92);
  }
}

.expand-curated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 64px);
  min-width: 0;
  height: 36px;
  margin: 0 auto 4px;
  padding: 0 14px;
  border: 1px solid rgba(230, 205, 153, 0.58);
  border-radius: 12px;
  color: #7b633c;
  background: rgba(255, 250, 237, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 850;
}

.recommend-stack-section.scheme-three .expand-curated-button {
  width: calc(100% - 24px);
}

.recommend-stack-section.scheme-three .expand-curated-button::after {
  content: "惊喜红包";
  position: absolute;
  right: 12px;
  top: -12px;
  padding: 3px 7px;
  border-radius: 999px 999px 999px 4px;
  color: #d84635;
  background: #fff0df;
  box-shadow: inset 0 0 0 1px rgba(255, 149, 86, 0.28), 0 6px 12px rgba(227, 47, 70, 0.1);
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap;
}

.manual-curated-panel {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.48s cubic-bezier(0.22, 0.8, 0.22, 1),
    opacity 0.24s ease,
    transform 0.24s ease;
}

.recommend-stack-section.is-manual-expanded .manual-curated-panel {
  max-height: 430px;
  margin-top: 9px;
  opacity: 1;
  transform: translateY(0);
}

@keyframes popRestaurant {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatRestaurant {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  62% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingDot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.sticky-tabs,
.store-meta,
.tag-row,
.tabbar {
  display: flex;
  align-items: center;
}

.nearby-section {
  position: relative;
  z-index: 1;
  margin: 10px -12px 0;
  padding: 17px 12px 16px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #fff 0, #f5f5f5 132px);
}

.sticky-tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  gap: 20px;
  min-height: 38px;
  overflow-x: auto;
  padding: 3px 0 8px;
  background: linear-gradient(180deg, #fff 0 72%, rgba(255, 255, 255, 0.82));
  scrollbar-width: none;
}

.sticky-tabs::-webkit-scrollbar {
  display: none;
}

.nearby-quick-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 0 9px;
}

.merchant-tab,
.deal-pill {
  position: relative;
  flex: 0 0 auto;
  color: #5b5c62;
  background: transparent;
  font-size: 21px;
  font-weight: 950;
  white-space: nowrap;
}

.merchant-tab.active {
  color: var(--ink-strong);
}

.merchant-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: var(--yellow);
  transform: translateX(-50%);
}

.coupon-filter {
  flex: 0 0 auto;
  padding: 5px 11px;
  border-radius: 999px;
  color: #d92937;
  background: #fff1e7;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.coupon-filter.active {
  color: #fff;
  background: linear-gradient(145deg, #ff7a1e, #ff315f);
}

.coupon-filter.active::after {
  display: none;
}

.deal-pill {
  max-width: 210px;
  overflow: hidden;
  padding: 5px 13px;
  border-radius: 999px;
  color: #ff4b26;
  text-overflow: ellipsis;
  background: #fff3ec;
  font-size: 16px;
}

.result-hint {
  min-height: 22px;
  color: #8a8a90;
  font-size: 13px;
}

.merchant-list {
  display: grid;
  gap: 10px;
}

.store-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(37, 37, 37, 0.04);
}

.store-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  overflow: hidden;
  border-radius: 9px;
  color: #fff;
  text-align: center;
  font-weight: 950;
  line-height: 1.05;
}

.store-logo small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 800;
}

.store-logo.red {
  background: #ed0a0a;
  font-size: 30px;
}

.store-logo.black {
  background:
    linear-gradient(160deg, transparent 0 47%, #fff 48% 51%, transparent 52%),
    #050505;
  font-size: 25px;
}

.store-logo.yellow {
  color: #2c2314;
  background:
    radial-gradient(circle at 74% 30%, #fff 0 13px, transparent 14px),
    linear-gradient(145deg, #ffe15a, #ffc72c);
  font-size: 24px;
}

.store-logo.hotpot {
  background:
    radial-gradient(circle at 48% 54%, #ed3b26 0 26px, #742313 27px 36px, transparent 37px),
    radial-gradient(circle at 54% 53%, transparent 0 39px, #d1d6dc 40px 51px, transparent 52px),
    #252932;
  font-size: 20px;
}

.store-logo.blue {
  background:
    radial-gradient(circle at 64% 33%, #fff 0 11px, transparent 12px),
    linear-gradient(145deg, #2c7bff, #05c2d9);
  font-size: 25px;
}

.brand-badge {
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #2a2a2d;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 950;
}

.store-info {
  min-width: 0;
}

.store-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 6px;
  align-items: start;
}

.store-title-row h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #2c2d31;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more-dot {
  position: relative;
  width: 18px;
  height: 24px;
}

.more-dot::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c3c3c8;
  box-shadow: 0 7px 0 #c3c3c8, 0 14px 0 #c3c3c8;
}

.store-meta {
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 7px;
  color: #8d8d93;
  font-size: 14px;
  line-height: 1.2;
}

.score {
  color: var(--orange);
  font-size: 17px;
  font-weight: 900;
}

.delivery-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  color: #8d8d93;
  font-size: 14px;
}

.delivery-line span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-row {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.store-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  overflow: hidden;
  padding: 2px 8px;
  border-radius: 6px;
  color: #9a6b27;
  background: #fbefd9;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-tag.gray {
  color: #85868b;
  background: #f4f4f4;
  border: 1px solid #d7d7dc;
}

.store-tag.green {
  color: #1ca761;
  background: #e7f9ee;
}

.store-tag.orange {
  color: #ff7a00;
  background: #fff;
  border: 1px solid #ffd8bd;
}

.store-tag.coupon {
  color: #d92937;
  background: #fff0e8;
  border: 1px solid #ffc4aa;
}

.tabbar {
  position: absolute;
  left: 0;
  top: 0;
  justify-content: space-around;
  width: var(--source-width);
  height: 73px;
  padding: 8px 12px 13px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transform: scale(var(--demo-scale));
  transform-origin: top left;
}

.tabbar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 118px;
  height: 5px;
  border-radius: 999px;
  background: #0b0b0c;
  transform: translateX(-50%);
}

.tabbar-item {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 64px;
  color: #67686d;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.tabbar-item.active {
  color: #232326;
}

.nav-icon {
  position: relative;
  display: block;
  width: 29px;
  height: 29px;
}

.nav-home::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 21px;
  height: 17px;
  border: 4px solid currentColor;
  border-radius: 9px 9px 12px 12px;
  background: var(--yellow);
}

.nav-home::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 19px;
  height: 19px;
  border-top: 4px solid currentColor;
  border-left: 4px solid currentColor;
  border-radius: 5px;
  transform: rotate(45deg);
}

.nav-crown::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 21px;
  height: 14px;
  border: 4px solid currentColor;
  border-radius: 8px 8px 10px 10px;
}

.nav-crown::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 15px;
  border: 4px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  border-radius: 8px 0 0 0;
  box-shadow: 13px 0 0 -1px #fff;
  transform: rotate(-18deg);
}

.nav-order::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 20px;
  height: 22px;
  border: 4px solid currentColor;
  border-radius: 10px;
}

.nav-order::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 11px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor;
}

.nav-user::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 3px;
  width: 9px;
  height: 20px;
  border: 4px solid currentColor;
  border-left: 0;
  border-radius: 0 14px 14px 0;
  transform: rotate(18deg);
}

.nav-user::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 14px;
  height: 18px;
  border: 4px solid currentColor;
  border-right: 0;
  border-radius: 12px 0 0 12px;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 92px;
  max-width: min(330px, calc(100% - 40px));
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 24, 26, 0.82);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 380px) {
  .guide-hero h1 {
    max-width: 188px;
    font-size: 28px;
  }

  .temple-scene {
    right: -32px;
    transform: scale(0.78);
    transform-origin: top right;
  }

  .recommend-stage {
    height: 356px;
  }

  .recommend-stack-section.is-auto-expanded .recommend-stage {
    height: 356px;
  }

  .recommend-photo {
    height: 102px;
  }

  .recommend-title-row h2 {
    font-size: 18px;
  }

  .recommend-meta {
    font-size: 12px;
  }

  .recommend-reason {
    padding: 12px 13px 13px;
  }

  .recommend-reason strong {
    display: block;
    margin: 0 0 7px;
  }

  .recommend-reason p {
    font-size: 14px;
  }

  .store-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .store-logo {
    width: 98px;
    height: 98px;
  }

  .merchant-tab {
    font-size: 19px;
  }
}
