:root {
  --xh-surface-canvas: #fbf6ea;
  --xh-surface-warm: #fff8e8;
  --xh-surface-card: #fffdf6;
  --xh-surface-green: #eff5e7;
  --xh-text-primary: #4f321b;
  --xh-text-secondary: #7b5b33;
  --xh-text-muted: #9a7135;
  --xh-accent-flower: #f7b232;
  --xh-accent-flower-soft: #f5cf62;
  --xh-accent-orange: #c7521b;
  --xh-accent-orange-bright: #e87524;
  --xh-accent-leaf: #5e7b4d;
  --xh-accent-leaf-soft: #91aa6b;
  --xh-border-soft: #e8d9b9;
  --xh-gift-brown: #7b4a1d;
  --xh-shadow-soft: 0 10px 24px rgb(139 104 65 / 8%);
  --xh-shadow-card: 0 18px 38px rgb(178 123 34 / 12%);
  --xh-shadow-hero: 0 24px 58px rgb(178 123 34 / 16%);
  --xh-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #efe1c8;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--xh-text-primary);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.stage {
  display: grid;
  min-height: 100dvh;
  padding: 20px 12px;
  background:
    radial-gradient(circle at 14% 10%, rgb(247 178 50 / 24%), transparent 27%),
    radial-gradient(circle at 88% 18%, rgb(94 123 77 / 16%), transparent 29%),
    linear-gradient(135deg, #f5e3bd 0%, #fbf1dc 46%, #eadab9 100%);
  place-items: start center;
}

.phone {
  position: relative;
  width: min(390px, 100%);
  min-height: 1000px;
  overflow: hidden;
  padding-bottom: 96px;
  border: 1px solid rgb(232 217 185 / 92%);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgb(255 248 232 / 98%) 0, rgb(251 246 234 / 96%) 320px, var(--xh-surface-canvas) 610px),
    var(--xh-surface-canvas);
  box-shadow: 0 32px 86px rgb(79 50 27 / 18%);
}

.paper-grain {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 20%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 12%) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(#000 0, transparent 52%);
  pointer-events: none;
}

.warm-orbit {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.warm-orbit-a {
  top: 74px;
  right: -76px;
  width: 210px;
  height: 210px;
  background: rgb(247 178 50 / 17%);
}

.warm-orbit-b {
  top: 250px;
  left: -90px;
  width: 210px;
  height: 210px;
  background: rgb(94 123 77 / 12%);
}

.app-header,
.panel-wrap,
.bottom-tabs {
  position: relative;
  z-index: 1;
}

.app-header {
  padding: 10px 18px 0;
}

.status-bar {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  color: var(--xh-text-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
}

.search-stack {
  display: grid;
  align-items: center;
  grid-template-columns: 46px 1fr 42px;
  gap: 8px;
  margin-top: 8px;
}

.city-button,
.search-box,
.message-button {
  min-height: 38px;
  border: 1px solid rgb(232 217 185 / 92%);
  background: rgb(255 253 246 / 88%);
  box-shadow: var(--xh-shadow-soft);
}

.city-button {
  width: 46px;
  padding: 0;
  border-radius: 18px;
  color: var(--xh-text-secondary);
  font-size: 14px;
  font-weight: 800;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 13px;
  border-radius: 20px;
}

.search-box svg,
.message-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--xh-text-primary);
  font-size: 13px;
}

.search-box input::placeholder {
  color: #9c7c4f;
}

.message-button {
  display: grid;
  width: 42px;
  padding: 0;
  border-radius: 20px;
  color: #6e5635;
  place-items: center;
}

.panel-wrap {
  padding: 0 18px 24px;
}

.market-map {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  min-height: 196px;
  margin-top: 18px;
  padding: 18px 14px;
  border: 1px solid rgb(232 217 185 / 78%);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgb(247 178 50 / 28%), transparent 32%),
    linear-gradient(140deg, rgb(255 253 246 / 92%) 0%, rgb(239 245 231 / 82%) 100%);
  box-shadow: var(--xh-shadow-hero);
}

.map-rail {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}

.rail-dot {
  display: block;
  width: 16px;
  height: 16px;
  border: 3px solid rgb(255 253 246 / 94%);
  border-radius: 999px;
  background: var(--xh-accent-flower);
  box-shadow: 0 8px 16px rgb(123 74 29 / 16%);
}

.rail-dot-active {
  width: 42px;
  height: 42px;
  border-width: 4px;
  background:
    radial-gradient(circle at 36% 28%, rgb(255 255 255 / 84%), transparent 34%),
    linear-gradient(145deg, var(--xh-accent-flower-soft), var(--xh-accent-orange-bright));
}

.rail-dot-leaf {
  background: var(--xh-accent-leaf);
}

.rail-line {
  display: block;
  width: 3px;
  height: 42px;
  margin: 5px 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--xh-accent-flower), var(--xh-accent-leaf-soft));
}

.rail-line-short {
  height: 26px;
}

.eyebrow,
.product-tag {
  margin: 0;
  color: var(--xh-text-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.map-content h1 {
  max-width: 220px;
  margin: 7px 0 8px;
  color: var(--xh-text-primary);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.map-content > p,
.section-title p,
.product-row p,
.story-card p {
  margin: 0;
  color: var(--xh-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.market-stats span {
  display: grid;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 15px;
  background: rgb(255 253 246 / 70%);
  color: var(--xh-text-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.market-stats strong {
  color: var(--xh-accent-orange);
  font-size: 18px;
  line-height: 1;
}

.section-title h2 {
  margin: 0;
  color: var(--xh-text-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.section-title h2 {
  margin: 0;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.price-row strong {
  color: var(--xh-accent-orange);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.price-row button {
  min-width: 72px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--xh-accent-leaf);
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
  transition:
    opacity 140ms var(--xh-ease),
    transform 140ms var(--xh-ease);
}

.route-board {
  margin-top: 16px;
}

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

.route-card {
  display: grid;
  align-items: center;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgb(232 217 185 / 70%);
  border-radius: 18px;
  background: rgb(255 253 246 / 80%);
  box-shadow: var(--xh-shadow-soft);
}

.route-card-main {
  background:
    radial-gradient(circle at 90% 18%, rgb(247 178 50 / 26%), transparent 30%),
    rgb(255 253 246 / 88%);
  box-shadow: var(--xh-shadow-card);
}

.route-index {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--xh-accent-flower-soft), var(--xh-accent-orange-bright));
  color: rgb(255 253 246 / 96%);
  font-size: 13px;
  font-weight: 800;
  place-items: center;
}

.route-card strong {
  display: block;
  color: var(--xh-text-primary);
  font-size: 15px;
  line-height: 1.3;
}

.route-card small {
  display: block;
  margin-top: 3px;
  color: var(--xh-text-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.shortcut-grid a {
  display: grid;
  min-height: 72px;
  padding: 8px 4px;
  border: 1px solid rgb(232 217 185 / 66%);
  border-radius: 16px;
  background: rgb(255 253 246 / 72%);
  color: #5c4831;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  justify-items: center;
}

.flower-icon,
.flower-tab {
  --petal-main: var(--xh-accent-flower);
  --petal-light: var(--xh-accent-flower-soft);
  --petal-deep: var(--xh-accent-orange-bright);
  --leaf-main: var(--xh-accent-leaf);
  position: relative;
  display: grid;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 78%);
  background:
    radial-gradient(circle at 34% 24%, rgb(255 255 255 / 86%), transparent 28%),
    linear-gradient(145deg, rgb(255 253 246 / 92%), rgb(255 239 186 / 78%) 44%, rgb(239 245 231 / 78%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 10px 18px rgb(125 79 24 / 13%);
  isolation: isolate;
  place-items: center;
}

.flower-icon {
  width: 44px;
  height: 44px;
  border-radius: 17px;
}

.flower-tab {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 88%),
    0 5px 10px rgb(125 79 24 / 10%);
}

.flower-icon::before,
.flower-icon::after {
  position: absolute;
  z-index: 0;
  width: 21px;
  height: 14px;
  border-radius: 999px 999px 999px 180px;
  background: linear-gradient(135deg, var(--petal-light), var(--petal-main) 58%, var(--petal-deep));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 60%);
  content: "";
}

.flower-icon::before {
  top: 8px;
  left: 8px;
  transform: rotate(-35deg);
}

.flower-icon::after {
  top: 9px;
  right: 8px;
  transform: rotate(36deg) scaleX(-1);
}

.flower-petal,
.flower-leaf,
.flower-core,
.icon-mark,
.tab-mark {
  position: absolute;
  z-index: 1;
  display: block;
}

.flower-petal {
  width: 17px;
  height: 14px;
  border-radius: 999px 999px 999px 150px;
  background: linear-gradient(145deg, var(--petal-light), var(--petal-main) 62%, var(--petal-deep));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 58%);
}

.flower-petal-a {
  top: 10px;
  left: 13px;
  transform: rotate(-82deg);
}

.flower-petal-b {
  top: 17px;
  left: 7px;
  transform: rotate(-158deg);
}

.flower-petal-c {
  top: 18px;
  right: 7px;
  transform: rotate(22deg);
}

.flower-leaf {
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 12px;
  border-radius: 999px 999px 999px 120px;
  background: linear-gradient(135deg, var(--xh-accent-leaf-soft), var(--xh-accent-leaf));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 36%);
  transform: rotate(-28deg);
}

.flower-core {
  top: 18px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #fff6c9, var(--xh-gift-brown) 72%);
  box-shadow: 0 2px 5px rgb(79 50 27 / 18%);
}

.icon-mark {
  right: 9px;
  bottom: 9px;
  color: rgb(255 253 246 / 96%);
}

.icon-mark-grid {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: currentcolor;
  box-shadow:
    8px 0 0 currentcolor,
    0 8px 0 currentcolor,
    8px 8px 0 currentcolor;
}

.icon-mark-hot {
  width: 12px;
  height: 16px;
  border-radius: 10px 10px 11px 11px;
  background: linear-gradient(180deg, #fff6c9, var(--xh-accent-orange));
  clip-path: polygon(52% 0, 84% 35%, 72% 100%, 22% 100%, 10% 46%);
}

.icon-mark-play {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentcolor;
}

.icon-mark-ticket {
  width: 16px;
  height: 11px;
  border: 2px solid currentcolor;
  border-radius: 4px;
  background:
    radial-gradient(circle at 0 50%, transparent 0 3px, currentcolor 3px 4px, transparent 4px),
    radial-gradient(circle at 100% 50%, transparent 0 3px, currentcolor 3px 4px, transparent 4px);
}

.flower-icon-hot {
  --petal-main: var(--xh-accent-orange-bright);
  --petal-light: #ffe1b8;
  --petal-deep: var(--xh-accent-orange);
}

.flower-icon-content {
  --petal-main: #c99a5d;
  --petal-light: #f5e3c4;
  --petal-deep: var(--xh-gift-brown);
}

.flower-icon-coupon {
  --petal-main: var(--xh-accent-leaf-soft);
  --petal-light: #e7f3cf;
  --petal-deep: var(--xh-accent-leaf);
}

.flower-tab .flower-petal {
  width: 13px;
  height: 10px;
}

.flower-tab .flower-petal-a {
  top: 7px;
  left: 9px;
}

.flower-tab .flower-petal-b {
  top: 13px;
  left: 6px;
}

.flower-tab .flower-leaf {
  right: 6px;
  bottom: 6px;
  width: 13px;
  height: 9px;
}

.flower-tab .flower-core {
  top: 13px;
  left: 13px;
  width: 6px;
  height: 6px;
}

.tab-mark {
  right: 6px;
  bottom: 6px;
  color: rgb(255 253 246 / 96%);
}

.tab-mark-home {
  width: 11px;
  height: 9px;
  border: 2px solid currentcolor;
  border-top: 0;
  border-radius: 2px 2px 4px 4px;
}

.tab-mark-home::before {
  position: absolute;
  top: -6px;
  left: -1px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentcolor;
  border-left: 2px solid currentcolor;
  content: "";
  transform: rotate(45deg);
}

.tab-mark-grid {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: currentcolor;
  box-shadow:
    6px 0 0 currentcolor,
    0 6px 0 currentcolor,
    6px 6px 0 currentcolor;
}

.tab-mark-play {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentcolor;
}

.tab-mark-cart {
  width: 12px;
  height: 8px;
  border: 2px solid currentcolor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.tab-mark-cart::before {
  position: absolute;
  top: -5px;
  left: -1px;
  width: 11px;
  height: 5px;
  border-top: 2px solid currentcolor;
  border-left: 2px solid currentcolor;
  content: "";
  transform: skewX(-14deg);
}

.tab-mark-me {
  width: 13px;
  height: 11px;
  border-radius: 8px 8px 5px 5px;
  background: currentcolor;
  clip-path: polygon(50% 0, 69% 22%, 100% 38%, 82% 100%, 18% 100%, 0 38%, 31% 22%);
}

.tab-button.is-active .flower-tab {
  background:
    radial-gradient(circle at 34% 24%, rgb(255 255 255 / 88%), transparent 28%),
    linear-gradient(145deg, rgb(255 247 216 / 96%), rgb(239 245 231 / 86%));
  transform: translateY(-1px);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid rgb(145 170 107 / 22%);
  border-radius: 16px;
  background: rgb(239 245 231 / 74%);
}

.trust-band span {
  color: #536d44;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.coupon-board,
.product-section,
.content-preview,
.story-card {
  margin-top: 20px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title h2 {
  margin: 0;
}

.section-title p {
  text-align: right;
}

.coupon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.coupon-list article,
.product-row,
.story-card {
  border: 1px solid rgb(232 217 185 / 72%);
  border-radius: 17px;
  background: rgb(255 253 246 / 86%);
  box-shadow: var(--xh-shadow-card);
}

.coupon-list article {
  padding: 14px;
  background:
    radial-gradient(circle at 80% 20%, rgb(255 255 255 / 56%), transparent 28%),
    linear-gradient(135deg, rgb(255 242 184 / 86%), rgb(255 253 246 / 88));
}

.coupon-list article:nth-child(2) {
  background:
    radial-gradient(circle at 80% 20%, rgb(255 255 255 / 56%), transparent 28%),
    linear-gradient(135deg, rgb(231 243 207 / 86%), rgb(255 253 246 / 88));
}

.coupon-list strong {
  display: block;
  color: var(--xh-accent-orange);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.coupon-list span,
.coupon-list small {
  display: block;
  margin-top: 6px;
  color: var(--xh-text-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.coupon-list small {
  color: var(--xh-text-muted);
  font-weight: 800;
}

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

.product-row {
  display: grid;
  align-items: center;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px 10px 10px;
}

.product-thumb {
  position: relative;
  min-height: 88px;
  overflow: hidden;
  border-radius: 15px;
}

.product-thumb-gold {
  background: linear-gradient(135deg, #fff2b8, #f7b232 55%, #c7521b);
}

.product-thumb-green {
  background: linear-gradient(135deg, #e7f3cf, #91aa6b 50%, #5e7b4d);
}

.product-thumb span {
  position: absolute;
  right: 15px;
  bottom: 16px;
  width: 54px;
  height: 36px;
  border-radius: 50%;
  background: rgb(255 253 246 / 88%);
  box-shadow: 0 10px 18px rgb(79 50 27 / 16%);
}

.product-tag {
  margin-bottom: 4px;
}

.product-row h3,
.story-card h3 {
  margin: 4px 0 4px;
  color: var(--xh-text-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.28;
}

.product-row .price-row {
  margin-top: 8px;
}

.product-row .price-row button {
  min-width: 48px;
  min-height: 34px;
}

.story-card {
  display: grid;
  align-items: center;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 13px;
}

.story-thumb {
  display: block;
  min-height: 82px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 38% 28%, rgb(255 255 255 / 62%), transparent 25%),
    linear-gradient(135deg, var(--xh-accent-flower-soft), var(--xh-accent-orange-bright));
}

.route-panel[hidden],
.home-panel[hidden] {
  display: none;
}

.route-page {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.route-back {
  display: inline-grid;
  justify-self: start;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgb(232 217 185 / 80%);
  border-radius: 999px;
  background: rgb(255 253 246 / 78%);
  color: var(--xh-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.route-page-hero,
.route-card-block,
.route-product-row,
.route-category-layout,
.route-detail-visual,
.route-video-block,
.route-stats,
.route-fixed-action {
  border: 1px solid rgb(232 217 185 / 72%);
  border-radius: 18px;
  background: rgb(255 253 246 / 88%);
  box-shadow: var(--xh-shadow-card);
}

.route-page-hero {
  display: grid;
  gap: 6px;
  padding: 16px;
  background:
    radial-gradient(circle at 88% 18%, rgb(247 178 50 / 22%), transparent 34%),
    linear-gradient(135deg, rgb(255 253 246 / 92%), rgb(239 245 231 / 78%));
}

.route-page-hero p,
.route-page-hero span,
.route-card-block p,
.route-product-row p,
.route-action-grid small,
.route-fixed-action span {
  margin: 0;
  color: var(--xh-text-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.route-page-hero h1 {
  margin: 0;
  color: var(--xh-text-primary);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.18;
}

.route-card-block {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.route-card-block h3,
.route-product-row h3 {
  margin: 0;
  color: var(--xh-text-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.28;
}

.route-chip {
  color: var(--xh-accent-orange);
  font-weight: 800;
}

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

.route-product-row {
  display: grid;
  align-items: center;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 10px;
}

.route-product-row strong {
  display: block;
  margin-top: 6px;
  color: var(--xh-accent-orange);
  font-size: 17px;
  line-height: 1;
}

.route-product-art,
.route-detail-visual,
.route-video-block {
  position: relative;
  min-height: 74px;
  overflow: hidden;
  border-radius: 15px;
}

.route-product-art::after,
.route-detail-visual::after,
.route-video-block::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 28px;
  border-radius: 999px;
  background: rgb(255 253 246 / 80%);
  box-shadow: 0 10px 18px rgb(79 50 27 / 16%);
  content: "";
}

.route-product-art-gold,
.route-detail-gold {
  background: linear-gradient(135deg, #fff2b8, var(--xh-accent-flower) 55%, var(--xh-accent-orange));
}

.route-product-art-green {
  background: linear-gradient(135deg, #e7f3cf, var(--xh-accent-leaf-soft) 50%, var(--xh-accent-leaf));
}

.route-product-art-orange {
  background: linear-gradient(135deg, #ffe1b8, var(--xh-accent-orange-bright), var(--xh-gift-brown));
}

.route-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.route-filter-row button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgb(232 217 185 / 78%);
  border-radius: 999px;
  background: var(--xh-surface-green);
  color: var(--xh-accent-leaf);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.route-category-layout {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px;
}

.route-category-layout nav,
.route-action-grid,
.route-steps,
.route-stats {
  display: grid;
  gap: 8px;
}

.route-category-layout button {
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  background: var(--xh-surface-green);
  color: var(--xh-accent-leaf);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.route-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-action-grid a {
  display: grid;
  min-height: 64px;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgb(232 217 185 / 70%);
  border-radius: 16px;
  background: rgb(239 245 231 / 72%);
  color: var(--xh-text-primary);
  font-size: 13px;
  font-weight: 800;
}

.route-steps {
  margin: 0;
  padding: 14px 14px 14px 36px;
  border: 1px solid rgb(145 170 107 / 28%);
  border-radius: 18px;
  background: rgb(239 245 231 / 72%);
  color: var(--xh-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.route-detail-visual,
.route-video-block {
  min-height: 160px;
}

.route-video-block {
  background:
    radial-gradient(circle at 44% 40%, rgb(255 253 246 / 42%), transparent 24%),
    linear-gradient(135deg, var(--xh-gift-brown), var(--xh-accent-orange-bright));
}

.route-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 13px 8px;
  background: var(--xh-surface-green);
}

.route-stats article {
  display: grid;
  gap: 4px;
  text-align: center;
}

.route-stats strong {
  color: var(--xh-accent-leaf);
  font-size: 19px;
  font-weight: 800;
}

.route-stats span {
  color: var(--xh-text-muted);
  font-size: 11px;
  font-weight: 800;
}

.route-fixed-action {
  position: sticky;
  bottom: 94px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}

.route-fixed-action strong {
  color: var(--xh-accent-orange);
}

.route-fixed-action a {
  display: grid;
  min-width: 92px;
  min-height: 38px;
  border-radius: 999px;
  background: var(--xh-accent-leaf);
  color: white;
  font-size: 13px;
  font-weight: 800;
  place-items: center;
}

.bottom-tabs {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 9px 9px calc(9px + env(safe-area-inset-bottom));
  border: 1px solid rgb(232 217 185 / 86%);
  border-radius: 24px;
  background: rgb(255 253 246 / 92%);
  box-shadow: 0 16px 36px rgb(79 50 27 / 14%);
}

.tab-button {
  display: grid;
  min-width: 0;
  min-height: 58px;
  padding: 5px 0;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: var(--xh-text-muted);
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  place-items: center;
  transition:
    background-color 180ms var(--xh-ease),
    color 180ms var(--xh-ease),
    transform 140ms var(--xh-ease);
}

.tab-button.is-active {
  background: rgb(239 245 231 / 82%);
  color: var(--xh-accent-leaf);
}

.tab-button:focus-visible,
.price-row button:focus-visible,
.city-button:focus-visible,
.message-button:focus-visible,
.shortcut-grid a:focus-visible {
  outline: 3px solid rgb(247 178 50 / 46%);
  outline-offset: 3px;
}

.tab-button:active,
.price-row button:active,
.shortcut-grid a:active {
  transform: scale(0.98);
}

@media (max-width: 430px) {
  .stage {
    padding: 0;
    background: var(--xh-surface-canvas);
  }

  .phone {
    width: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 370px) {
  .market-map {
    grid-template-columns: 58px 1fr;
    padding: 16px 12px;
  }

  .shortcut-grid {
    gap: 6px;
  }

  .section-title {
    display: block;
  }

  .section-title p {
    margin-top: 4px;
    text-align: left;
  }

  .product-row {
    grid-template-columns: 78px 1fr;
  }
}
