.fit-people-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fit-people-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(187, 139, 72, 0.18);
  border-radius: 999px;
  background: rgba(255,249,239,0.76);
  color: #6f4d2c;
  font-size: 12px;
  font-weight: 760;
}
.reason-card-upgraded > img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(74,48,26,0.11));
}
.menu-ai-optimizer {
  margin: 4px 0 34px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  border: 1px solid rgba(179, 73, 58, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,245,239,0.9), rgba(255,251,245,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 18px 44px rgba(100, 48, 36, 0.08);
}
.menu-ai-optimizer .ai-machine-stage figcaption,
.menu-ai-optimizer .ai-layer-tray { display: none; }
.menu-optimizer-copy h2 {
  margin: 8px 0 8px;
  font-size: clamp(25px, 3vw, 36px);
}
.menu-optimizer-copy p { max-width: 650px; color: var(--muted); }
.optimizer-working .ai-machine-complete { animation-duration: 2.2s; }
.optimizer-done { border-color: rgba(177, 126, 45, 0.3); }
.create-mode-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.create-mode-switch .smart-create-choice,
.create-mode-switch .manual-create-choice {
  height: auto;
  border-radius: 22px;
}
.create-mode-switch .smart-create-choice {
  min-height: 96px;
  padding: 20px 24px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(202, 116, 49, 0.2);
  background: linear-gradient(145deg, #fff8ee, #f8e7d6);
  color: var(--ink);
  box-shadow: inset 0 1px 0 white, 0 14px 34px rgba(112, 68, 31, 0.09);
  text-align: left;
}
.create-mode-switch .smart-create-choice b {
  color: #b85b2b;
  font-size: 20px;
}
.create-mode-switch .smart-create-choice b em {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 23px;
  margin-right: 4px;
  border-radius: 8px;
  background: rgba(184, 91, 43, 0.11);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}
.create-mode-switch .smart-create-choice small {
  color: var(--muted);
  font-size: 13px;
}
.create-mode-switch .smart-create-choice.active {
  border-color: rgba(214, 107, 41, 0.48);
  background: linear-gradient(145deg, #fff7e9, #f6dfc9);
  box-shadow: 0 0 0 4px rgba(213, 115, 48, 0.08), 0 17px 38px rgba(112, 68, 31, 0.12), inset 0 1px 0 white;
}
.create-mode-switch .manual-create-choice {
  min-width: 152px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255,253,249,0.7);
  color: var(--muted);
  box-shadow: inset 0 1px 0 white;
  font-size: 13px;
}
.create-mode-switch .manual-create-choice.active {
  border-color: rgba(130, 91, 53, 0.24);
  background: #f3ece3;
  color: var(--ink);
}
.smart-photo-ai-flow {
  margin: 24px 0 30px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(205, 130, 145, 0.17);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,245,247,0.74), rgba(255,251,244,0.72));
}
.smart-photo-ai-flow .ai-machine-stage figcaption,
.smart-photo-ai-flow .ai-layer-tray { display: none; }
.smart-photo-ai-flow > div {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.smart-photo-ai-flow > div span {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-align: center;
}
.smart-photo-ai-flow > div b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 135, 150, 0.2);
  border-radius: 13px;
  background: rgba(255,255,255,0.8);
  color: #b76d7b;
  box-shadow: inset 0 1px 0 white, 0 7px 15px rgba(91,60,51,0.06);
}
.smart-photo-ai-flow > div i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,124,136,0.4), transparent);
}
.smart-fields textarea + .smart-fill-button,
.smart-fill-button {
  margin-top: 10px;
}
.smart-thinking .ai-machine-stage {
  width: min(280px, 72vw);
  margin: 0 auto -34px;
}
.smart-thinking .ai-machine-stage figcaption,
.smart-thinking .ai-layer-tray { display: none; }
.smart-thinking .ai-machine-stage img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.smart-preview-image-frame {
  min-height: 260px;
  border-radius: 24px;
}
.smart-preview-image-frame > .dish-image {
  object-fit: cover;
}
@keyframes aiMachineFloat {
  0%, 100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-7px) rotate(0.35deg); }
}
@keyframes aiCoreBreathe {
  0%, 100% { opacity: 0.45; transform: scale(0.97); }
  50% { opacity: 0.9; transform: scale(1.035); }
}
@keyframes aiScan {
  0%, 15% { transform: translateY(-12px); opacity: 0; }
  30% { opacity: 0.8; }
  75% { opacity: 0.75; }
  100% { transform: translateY(180px); opacity: 0; }
}
@keyframes aiLayerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes tasteSymbolBreathe {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50% { transform: scale(1.045) rotate(1deg); }
}
@keyframes radarReveal {
  from { opacity: 0; transform: scale(0.12); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 1100px) {
  .today-ai-strip { grid-template-columns: 250px minmax(0, 1fr); }
  .today-actions { grid-column: 2; }
  .reason-card-upgraded { grid-template-columns: 1fr 200px; }
  .reason-intelligence-grid { grid-template-columns: 270px minmax(0,1fr); }
}
@media (max-width: 900px) {
  .home-hero { min-height: 610px; }
  .hero-ai-machine { width: min(290px, 88%); }
  .ai-natural-search,
  .ai-analysis-intro,
  .menu-ai-optimizer {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
  .reason-card-upgraded { grid-template-columns: 1fr; }
  .reason-card-upgraded > img { width: 210px; margin: 0 auto; }
  .smart-photo-ai-flow { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }

  .page-intro h1,
  .create-hero h1,
  .recommend-hero h1 { font-size: clamp(35px, 10vw, 46px); }

  .home-hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-copy {
    padding-top: 35px;
    padding-bottom: 20px;
  }

  .hero-copy h1 {
    max-width: 9em;
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-ai-machine {
    width: min(300px, 92vw);
    margin: 12px auto -10px;
  }

  .hero-ai-machine .ai-machine-canvas { max-height: 230px; }
  .hero-ai-machine figcaption { right: 0; bottom: 8px; }

  .today-ai-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .today-actions { grid-column: 1; }
  .today-visual-stack { min-height: 180px; }
  .today-visual-stack .ai-machine-stage { width: 175px; }
  .today-dish-frame { right: 4%; width: 48%; }

  .ai-natural-search,
  .ai-analysis-intro,
  .menu-ai-optimizer,
  .smart-photo-ai-flow {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
    border-radius: 24px;
  }

  .ai-natural-search .ai-machine-stage,
  .ai-analysis-intro .ai-machine-stage,
  .menu-ai-optimizer .ai-machine-stage,
  .smart-photo-ai-flow .ai-machine-stage {
    width: min(230px, 68vw);
    margin: 0 auto;
  }

  .ai-natural-input { grid-template-columns: 1fr; }
  .ai-natural-input .button { width: 100%; min-height: 50px; }

  .taste-card img.taste-symbol {
    width: 48px;
    height: 48px;
    right: 8px;
    bottom: 9px;
  }

  .taste-strengths { grid-template-columns: repeat(2, 1fr); }

  .ai-analysis-facts { grid-template-columns: 1fr 1fr 1fr; }

  .reason-intelligence-grid { grid-template-columns: 1fr; }
  .radar-chart-wrap { max-width: 360px; margin: 0 auto; }

  .create-mode-switch {
    grid-template-columns: 1fr;
  }

  .create-mode-switch .smart-create-choice { min-height: 88px; }
  .create-mode-switch .manual-create-choice { min-height: 48px; }

  .smart-photo-ai-flow > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .smart-photo-ai-flow > div span {
    grid-template-columns: 38px 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .smart-photo-ai-flow > div i {
    width: 1px;
    height: 12px;
    margin-left: 19px;
    background: linear-gradient(transparent, rgba(194,124,136,0.38), transparent);
  }

  .recommend-visual-stack {
    min-height: 320px;
  }

  .recommend-visual-stack .ai-machine-stage { width: 230px; }
  .recommend-visual-stack > img { width: 145px; margin-left: 42%; }

  .season-overlay { inset: 2px; }
  .season-overlay b { right: 8px; top: 8px; }
}
@media (hover: none) {
  .category-card:hover,
  .taste-card:hover,
  .ai-machine-stage:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-machine-complete,
  .ai-edge-glow,
  .ai-scan-line,
  .ai-layer-tray > span,
  .ai-machine-stage figcaption > i,
  .taste-card img.taste-symbol,
  .radar-data {
    animation: none !important;
  }

  .ai-scan-line { display: none; }
}
/* Third-round motion and intelligent creation */
:root {
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --champagne: #dcc19b;
}
.categories-page {
  width: min(1180px, calc(100% - 32px));
}
.button {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 15px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.72), 0 7px 17px rgba(70, 48, 27, 0.08);
  transition: transform 190ms var(--ease-soft), box-shadow 190ms ease, border-color 190ms ease, background 190ms ease, color 190ms ease;
  -webkit-tap-highlight-color: transparent;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.button.primary {
  background: linear-gradient(180deg, #df704f 0%, #d4583d 52%, #c94b33 100%);
  border-color: rgba(120, 38, 22, 0.24);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.46), inset 0 -1px rgba(112, 34, 20, 0.16), 0 9px 20px rgba(181, 65, 42, 0.2);
}
.button.secondary,
.menu-empty-secondary {
  color: var(--ink);
  background: linear-gradient(180deg, #fffefa 0%, #faf5ed 100%);
  border-color: rgba(180, 145, 99, 0.32);
  box-shadow: inset 0 1px white, inset 0 -1px rgba(181, 144, 95, 0.07), 0 6px 16px rgba(69, 49, 28, 0.07);
}
.button.tertiary {
  border-color: rgba(180, 145, 99, 0.18);
  background: rgba(255, 253, 249, 0.46);
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.76), 0 11px 24px rgba(69, 49, 28, 0.12);
}
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.52), inset 0 -1px rgba(112, 34, 20, 0.12), 0 13px 26px rgba(181, 65, 42, 0.26);
}
.button:active,
.button.primary:active,
.button.secondary:active,
.button.tertiary:active,
.menu-add:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.45), 0 3px 9px rgba(69, 49, 28, 0.1);
  transition-duration: 140ms;
}
.button.is-added,
.menu-add.is-added,
.profile-dishes button.is-added {
  border-color: rgba(80, 107, 78, 0.35);
  background: linear-gradient(180deg, #71886d, #526c50);
  color: white;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 7px 16px rgba(80, 107, 78, 0.18);
}
.button.is-confirmed {
  animation: confirmPress 360ms var(--ease-soft);
}
.menu-add {
  background: linear-gradient(180deg, #f5e7d3 0%, #ecd5b6 100%);
  border-color: rgba(187, 132, 67, 0.32);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.84), inset 0 -1px rgba(134, 87, 35, 0.08), 0 7px 17px rgba(117, 72, 23, 0.1);
}
.desktop-nav button {
  isolation: isolate;
  overflow: hidden;
  transition: color 200ms ease, transform 180ms var(--ease-soft);
}
.desktop-nav button::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  border: 1px solid rgba(188, 150, 101, 0.12);
  border-radius: 12px;
  background: #f1e8dc;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 200ms ease, transform 200ms var(--ease-soft);
}
.desktop-nav button:hover,
.desktop-nav button.active {
  background: transparent;
}
.desktop-nav button:hover::before,
.desktop-nav button.active::before {
  opacity: 1;
  transform: scale(1);
}
.desktop-nav b,
.mobile-nav b {
  transform-origin: center;
}
.badge-pulse {
  animation: badgePop 420ms var(--ease-soft);
}
.home-hero {
  --hero-x: 0px;
  --hero-y: 0px;
}
.hero-visual {
  transform: translate3d(var(--hero-x), var(--hero-y), 0);
  transition: transform 360ms var(--ease-soft);
  will-change: transform;
}
.hero-visual img {
  animation: airIdle 6.4s ease-in-out infinite;
  transform-origin: 53% 78%;
  will-change: transform;
}
.home-hero.hero-decide .hero-visual img {
  animation: heroLean 230ms var(--ease-soft) both;
}
.home-hero.hero-random .hero-visual img {
  animation: heroRandomBounce 320ms var(--ease-soft) both;
}
.hero-sparkles {
  position: absolute;
  inset: 23% 7% auto auto;
  width: 120px;
  height: 100px;
  pointer-events: none;
}
.hero-sparkles i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e3a84e;
  box-shadow: 0 0 0 5px rgba(226, 164, 73, 0.1);
  opacity: 0;
}
.hero-sparkles i:nth-child(2) { left: 45px; top: 42px; transform: scale(0.72); }
.hero-sparkles i:nth-child(3) { left: 88px; top: 12px; transform: scale(0.5); }
.hero-random .hero-sparkles i { animation: sparkSoft 420ms ease-out both; }
.hero-random .hero-sparkles i:nth-child(2) { animation-delay: 45ms; }
.hero-random .hero-sparkles i:nth-child(3) { animation-delay: 90ms; }
.utility-card,
.dish-card,
.featured-card,
.today-strip,
.filter-section,
.recent-grid > button,
.profile-dishes article,
.menu-row {
  transition: transform 200ms var(--ease-soft), border-color 200ms ease, box-shadow 200ms ease;
}
.dish-card:hover,
.featured-card:hover,
.today-strip:hover,
.filter-section:hover,
.recent-grid > button:hover,
.profile-dishes article:hover,
.menu-row:hover {
  transform: translateY(-3px) scale(1.005);
  border-color: rgba(164, 119, 65, 0.25);
  box-shadow: 0 14px 32px rgba(74, 51, 27, 0.09);
}
.utility-card > b,
.menu-dish-copy em,
.recent-grid > button > b,
.clear-filter {
  transition: transform 190ms var(--ease-soft), color 190ms ease;
}
.utility-card:hover > b,
.menu-row:hover .menu-dish-copy em,
.recent-grid > button:hover > b,
.clear-filter:hover {
  transform: translateX(3px);
}
.dish-photo-button:hover .dish-photo,
.dish-card:hover .dish-photo {
  transform: scale(1.02);
}
.favorite-button,
.icon-text-button {
  transition: transform 180ms var(--ease-soft), color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.favorite-button:hover,
.icon-text-button:hover {
  transform: translateY(-1px) scale(1.04);
}
.favorite-pop {
  animation: favoritePop 300ms var(--ease-soft);
}
.tag-row > span,
.detail-kicker span,
.eyebrow,
.section-number,
.featured-rank {
  border-color: rgba(185, 142, 84, 0.25);
}
.tag-row > span,
.detail-kicker span {
  border: 1px solid rgba(185, 142, 84, 0.2);
  background: linear-gradient(180deg, #fbf5ec, #f4e9da);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.82);
  transition: transform 180ms var(--ease-soft), border-color 180ms ease, background 180ms ease;
}
.section-number,
.featured-rank {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.72), 0 5px 12px rgba(102, 70, 34, 0.08);
}
.taste-card,
.category-card,
.choice-row button,
.taste-preference button,
.active-filters > button {
  transition: transform 200ms var(--ease-soft), opacity 200ms ease, filter 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}
.taste-card:hover {
  transform: translateY(-2px) scale(1.008);
}
.taste-card.selected {
  transform: translateY(-4px) scale(1.025);
}
.taste-grid.has-selection .taste-card:not(.selected) {
  opacity: 0.66;
  filter: saturate(0.75);
  transform: scale(0.985);
}
.category-card.selected,
.choice-row button.selected,
.taste-preference button.selected {
  transform: scale(1.015);
}
.metric-track span {
  transition: width 820ms var(--ease-soft);
}
.reveal-card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 350ms ease, transform 350ms var(--ease-soft), border-color 200ms ease, box-shadow 200ms ease;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reason-card > img {
  animation: airObserve 6s ease-in-out infinite;
  transform-origin: 56% 56%;
}
.empty-menu > img {
  animation: airPlateIdle 6.8s ease-in-out infinite;
  transform-origin: 50% 72%;
}
.menu-empty-secondary,
.empty-menu .button.secondary {
  color: #2a241e !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.menu-live-banner {
  min-height: 210px;
  margin-bottom: 18px;
  padding: 24px 38px 0;
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: #2c2824;
  color: white;
}
.menu-live-banner img {
  width: 190px;
  height: 190px;
  align-self: end;
  object-fit: cover;
  object-position: center 14%;
  animation: airPlateIdle 6.4s ease-in-out infinite;
}
.menu-live-banner.is-new img {
  animation: menuArrival 520ms var(--ease-soft) both;
}
.menu-live-banner h2 {
  margin: 8px 0;
  font-size: 30px;
  letter-spacing: -0.045em;
}
.menu-live-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}
.menu-summary.light-summary,
.empty-summary {
  border-color: rgba(156, 113, 60, 0.18);
  background: linear-gradient(155deg, #fffdf9, #f3e6d4);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(74, 51, 27, 0.08);
}
.light-summary .summary-total small,
.empty-summary .summary-total small,
.light-summary .summary-grid span,
.empty-summary .summary-grid span {
  color: var(--muted);
}
.light-summary .summary-grid,
.empty-summary .summary-grid {
  border-top-color: var(--line);
  border-left-color: var(--line);
}
.light-summary .summary-grid span,
.empty-summary .summary-grid span {
  border-right-color: var(--line);
  border-bottom-color: var(--line);
}
.light-summary .summary-grid strong,
.empty-summary .summary-grid strong {
  color: var(--ink);
}
.light-summary .menu-tip,
.empty-summary .menu-tip {
  border: 1px solid rgba(174, 130, 74, 0.14);
  background: rgba(255, 253, 249, 0.6);
}
.light-summary .menu-tip p,
.empty-summary .menu-tip p {
  color: var(--muted);
}
.light-summary .nutrition-overview div {
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.54);
}
.light-summary .nutrition-overview span {
  color: var(--muted);
}
.create-hero img {
  animation: airCreateIdle 6.2s ease-in-out infinite;
  transform-origin: 58% 72%;
}
.create-hero img.is-organizing,
.smart-thinking img {
  animation: airOrganizing 2.2s ease-in-out infinite;
}
.create-mode-switch {
  width: min(430px, 100%);
  min-height: 56px;
  margin: 0 auto 20px;
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: inset 0 1px white, 0 8px 22px rgba(74, 51, 27, 0.06);
}
.create-mode-switch button {
  min-height: 44px;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
  transition: transform 180ms var(--ease-soft), color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.create-mode-switch button.active {
  background: #2c2824;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 7px 16px rgba(50, 38, 25, 0.13);
  color: white;
}
.create-mode-switch button:active {
  transform: scale(0.98);
}
.smart-create-shell {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(74, 51, 27, 0.07);
}
.smart-create-input,
.smart-review {
  padding: 34px;
}
.smart-create-heading,
.smart-review-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.smart-create-heading > div {
  flex: 1;
}
.smart-create-heading h2,
.smart-review-heading h2 {
  margin: 8px 0 8px;
  font-size: 30px;
  letter-spacing: -0.045em;
}
.smart-create-heading p,
.smart-review-heading p {
  margin: 0;
  font-size: 12px;
}
.smart-input-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
}
.smart-photo-field .photo-drop {
  width: 100%;
  min-height: 330px;
}
.smart-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.smart-fields label {
  display: grid;
  gap: 8px;
}
.smart-fields label > span {
  font-size: 12px;
  font-weight: 760;
}
.smart-fields label small {
  color: var(--soft);
  font-size: 10px;
  font-weight: 600;
}
.smart-fields input,
.smart-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8f4ee;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.smart-fields input {
  min-height: 50px;
  padding: 0 15px;
}
.smart-fields textarea {
  padding: 14px 15px;
  resize: vertical;
}
.smart-fields input:focus,
.smart-fields textarea:focus {
  border-color: rgba(200, 137, 53, 0.55);
  background: white;
  box-shadow: 0 0 0 3px rgba(200, 137, 53, 0.08);
}
.smart-fill-button {
  width: 100%;
  margin-top: auto;
}
.smart-local-note {
  margin: -3px 0 0;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.55;
}
.smart-vision-success {
  color: #62806f;
}
.smart-vision-error {
  color: #b45f52;
}
.vision-dish-choices {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 15px;
  border: 1px solid rgba(190, 139, 79, 0.22);
  border-radius: 18px;
  background: rgba(248, 240, 228, 0.72);
}
.vision-dish-choices > div:first-child {
  display: grid;
  gap: 2px;
}
.vision-dish-choices > div:first-child strong {
  font-size: 14px;
}
.vision-dish-choices > div:first-child span {
  color: var(--soft);
  font-size: 11px;
}
.vision-dish-choice-list {
  display: grid;
  gap: 8px;
}
.vision-dish-choice-list article {
  width: 100%;
  padding: 12px;
  display: grid;
  grid-template-columns: 24px auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  text-align: left;
  opacity: 0.62;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}
.vision-dish-choice-list article.is-selected {
  border-color: rgba(190, 116, 68, 0.5);
  background: rgba(255, 250, 243, 0.96);
  opacity: 1;
}
.vision-dish-choice-toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 116, 68, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-size: 13px;
}
.vision-dish-choice-list article.is-selected .vision-dish-choice-toggle {
  background: rgba(190, 116, 68, 0.12);
}
.vision-dish-choice-list article > small,
.vision-dish-choice-list article > b {
  color: var(--accent);
  font-size: 11px;
}
.vision-dish-choice-list article > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.vision-dish-choice-list article input {
  width: 100%;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.vision-dish-choice-list article em,
.vision-dish-choice-list article p {
  margin: 0;
  color: var(--soft);
  font-size: 10px;
  font-style: normal;
  line-height: 1.45;
}
.vision-dish-choices.compact {
  margin: 0;
  padding: 12px;
}
.smart-fill-button:disabled {
  cursor: wait;
  opacity: 0.68;
}
.smart-thinking {
  min-height: 540px;
  padding: 34px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.smart-thinking img {
  width: 230px;
  height: 230px;
  object-fit: contain;
}
.smart-thinking h2 {
  margin: 15px 0 5px;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.smart-thinking p {
  margin: 0;
  font-size: 12px;
}
.smart-review-heading {
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.smart-preview-card {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8f3eb;
}
.smart-preview-card > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.smart-preview-main {
  padding: 30px;
}
.smart-preview-main h3 {
  margin: 12px 0 9px;
  font-size: 36px;
  letter-spacing: -0.05em;
}
.smart-primary-facts {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.smart-primary-facts span {
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.smart-primary-facts small,
.smart-detail-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}
.smart-primary-facts b {
  font-size: 13px;
}
.smart-detail-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.smart-detail-grid > div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbf8f3;
}
.smart-detail-grid > div.wide {
  grid-column: span 3;
}
.smart-detail-grid strong {
  font-size: 11px;
  line-height: 1.55;
}
.smart-review-bottom {
  margin-top: 24px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.profile-avatar img {
  animation: profileGreeting 720ms var(--ease-soft) both;
}
.profile-stats strong {
  font-variant-numeric: tabular-nums;
}
.mobile-nav button {
  transition: color 200ms ease, background 200ms ease, transform 180ms var(--ease-soft);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav button > span {
  transition: transform 180ms var(--ease-soft);
}
.mobile-nav button:active > span {
  transform: scale(0.92);
}
.mobile-nav button.active > span {
  transform: scale(1.04);
}
.page-intro,
.home-utility-grid,
.today-strip,
.filter-section,
.library-section,
.decision-workspace,
.result-shell,
.featured-grid,
.detail-hero,
.analysis-grid,
.detail-notes,
.empty-menu-layout,
.menu-live-banner,
.menu-layout,
.create-mode-switch,
.smart-create-shell,
.create-form,
.profile-hero,
.profile-layout {
  animation: moduleEnter 420ms var(--ease-soft) both;
}
@keyframes airIdle {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  48% { transform: translateY(-3px) scale(1.006) rotate(0.7deg); }
  74% { transform: translateY(-1px) scale(1.003) rotate(-0.5deg); }
}
@keyframes airPlateIdle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.004); }
}
@keyframes airObserve {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(1.2deg); }
}
@keyframes airCreateIdle {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-0.7deg); }
}
@keyframes airOrganizing {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(3px) rotate(-1.5deg); }
}
@keyframes heroLean {
  0% { transform: translateY(0) scale(1) rotate(0); }
  70% { transform: translateY(2px) scale(1.014) rotate(-0.8deg); }
  100% { transform: translateY(0) scale(1.008); }
}
@keyframes heroRandomBounce {
  0% { transform: translateY(0) scale(1); }
  55% { transform: translateY(-5px) scale(1.012) rotate(1.2deg); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes sparkSoft {
  0% { opacity: 0; transform: translateY(6px) scale(0.45); }
  45% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-8px) scale(1); }
}
@keyframes favoritePop {
  0%, 100% { transform: scale(1); }
  52% { transform: scale(1.23); }
}
@keyframes badgePop {
  0%, 100% { transform: scale(1); }
  48% { transform: scale(1.22) translateY(-1px); }
}
@keyframes confirmPress {
  0%, 100% { transform: scale(1); }
  52% { transform: scale(0.975); }
}
@keyframes menuArrival {
  0% { opacity: 0.75; transform: translateY(8px) scale(0.98); }
  62% { opacity: 1; transform: translateY(-3px) scale(1.008); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes profileGreeting {
  0% { opacity: 0.76; transform: translateY(9px) rotate(-1.2deg); }
  72% { opacity: 1; transform: translateY(-2px) rotate(0.8deg); }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes moduleEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1000px) {
  .smart-input-grid,
  .smart-preview-card {
    grid-template-columns: 1fr;
  }

  .smart-photo-field .photo-drop {
    min-height: 260px;
  }

  .smart-preview-card > img {
    min-height: 280px;
    max-height: 340px;
  }

  .smart-primary-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .smart-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .smart-detail-grid > div.wide {
    grid-column: span 2;
  }
}
@media (max-width: 760px) {
  .button {
    min-height: 50px;
  }

  .categories-page {
    width: calc(100% - 24px);
  }

  .dish-card:hover,
  .featured-card:hover,
  .today-strip:hover,
  .filter-section:hover,
  .recent-grid > button:hover,
  .profile-dishes article:hover,
  .menu-row:hover {
    transform: none;
  }

  .menu-live-banner {
    min-height: 320px;
    padding: 18px 20px 0;
    grid-template-columns: 1fr;
    align-content: end;
    border-radius: 25px;
  }

  .menu-live-banner img {
    width: 170px;
    height: 165px;
    margin: 0 auto;
    grid-row: 2;
  }

  .menu-live-banner > div {
    text-align: center;
  }

  .menu-live-banner h2 {
    font-size: 25px;
  }

  .menu-summary.light-summary,
  .empty-summary {
    padding: 23px;
  }

  .create-mode-switch {
    position: sticky;
    top: 8px;
    z-index: 28;
    width: 100%;
    margin-bottom: 14px;
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(18px);
  }

  .smart-create-shell {
    border-radius: 24px;
  }

  .smart-create-input,
  .smart-review {
    padding: 21px 17px;
  }

  .smart-create-heading {
    gap: 13px;
  }

  .smart-create-heading h2,
  .smart-review-heading h2 {
    font-size: 25px;
  }

  .smart-input-grid {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .smart-photo-field .photo-drop {
    min-height: 220px;
  }

  .smart-fill-button {
    position: static;
    bottom: auto;
    z-index: auto;
  }

  .smart-thinking {
    min-height: 470px;
    padding: 24px 18px;
  }

  .smart-thinking img {
    width: 190px;
    height: 190px;
  }

  .smart-review-heading,
  .smart-review-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .smart-review-heading .button-row,
  .smart-review-bottom .button-row {
    width: 100%;
  }

  .smart-review-heading .button,
  .smart-review-bottom .button {
    flex: 1;
  }

  .smart-preview-card {
    grid-template-columns: 1fr;
  }

  .smart-preview-card > img {
    min-height: 230px;
    height: 230px;
  }

  .smart-preview-main {
    padding: 22px 18px;
  }

  .smart-preview-main h3 {
    font-size: 30px;
  }

  .smart-primary-facts,
  .smart-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .smart-detail-grid > div.wide {
    grid-column: span 2;
  }

  .mobile-nav button:active {
    transform: scale(0.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .hero-visual img,
  .empty-menu > img,
  .menu-live-banner img,
  .create-hero img,
  .smart-thinking img,
  .profile-avatar img,
  .reason-card > img,
  .reveal-card,
  .page-intro,
  .home-utility-grid,
  .today-strip,
  .filter-section,
  .library-section,
  .decision-workspace,
  .result-shell,
  .featured-grid,
  .detail-hero,
  .analysis-grid,
  .detail-notes,
  .empty-menu-layout,
  .menu-live-banner,
  .menu-layout,
  .create-mode-switch,
  .smart-create-shell,
  .create-form,
  .profile-hero,
  .profile-layout {
    animation: none !important;
    transform: none !important;
  }

  .reveal-card {
    opacity: 1;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}
button {
  border: 0;
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(200, 137, 53, 0.26);
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
}
p {
  color: var(--muted);
  line-height: 1.72;
}
.site-shell {
  min-height: 100vh;
  overflow: clip;
}
.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 14px auto 0;
  padding: 8px 10px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 12px 32px rgba(68, 46, 22, 0.07);
  backdrop-filter: blur(22px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  text-align: left;
}
.brand img {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  object-fit: cover;
}
.brand span {
  display: grid;
  gap: 2px;
}
.brand strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}
.desktop-nav button {
  position: relative;
  min-height: 45px;
  padding: 0 18px;
  border-radius: 15px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: 180ms ease;
}
.desktop-nav button:hover,
.desktop-nav button.active {
  background: #f1e8dc;
  color: var(--ink);
}
.desktop-nav button:active,
.button:active,
.decision-card:active,
.taste-card:active,
.category-card:active {
  transform: translateY(1px) scale(0.99);
}
.desktop-nav b,
.mobile-nav b {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  margin-left: 6px;
}
main {
  min-height: 70vh;
}
.page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
}
.eyebrow {
  display: block;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 760;
  transition: 180ms ease;
}
.button.primary {
  color: white;
  background: linear-gradient(180deg, #dd6a4b 0%, #c84f34 100%);
  border-color: rgba(128, 38, 22, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.38), 0 9px 20px rgba(181, 65, 42, 0.2);
}
.button.primary:hover {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.45), 0 12px 26px rgba(181, 65, 42, 0.25);
  transform: translateY(-1px);
}
.button.secondary {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: inset 0 1px white, 0 7px 18px rgba(69, 49, 28, 0.07);
}
.button.secondary:hover,
.button.tertiary:hover {
  border-color: var(--line-strong);
  background: #fff;
}
.button.tertiary {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.button.danger {
  color: #a04235;
}
.full-button {
  width: 100%;
}
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.home-page {
  padding-top: 34px;
}
.home-hero {
  position: relative;
  min-height: 530px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(106, 73, 38, 0.1);
  border-radius: 40px;
  background: #f2e8dc;
  box-shadow: var(--shadow);
}
.home-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -210px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(173, 124, 69, 0.14);
  border-radius: 50%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 74px 0 64px 70px;
}
.hero-copy h1 {
  max-width: 590px;
  margin: 16px 0 22px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.065em;
}
.hero-copy > p {
  max-width: 540px;
  margin: 0;
  font-size: 17px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.hero-primary {
  min-width: 172px;
}
.hero-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #81776d;
  font-size: 12px;
}
.hero-note i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b7a897;
}
.hero-visual {
  position: relative;
  z-index: 2;
  height: 100%;
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: center;
}
.hero-visual img {
  width: min(520px, 100%);
  max-height: 490px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 24px rgba(69, 45, 23, 0.13));
}
.hero-bubble {
  position: absolute;
  top: 92px;
  left: 26px;
  z-index: 3;
  padding: 12px 17px;
  border-radius: 16px 16px 4px 16px;
  background: var(--paper);
  box-shadow: var(--shadow-small);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 750;
}
.home-decision-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.14fr 0.93fr 0.93fr;
  gap: 16px;
}
.decision-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(74, 51, 27, 0.06);
  text-align: left;
  transition: 200ms ease;
}
.decision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(74, 51, 27, 0.1);
}
.decision-card.main {
  background: #2b2723;
  color: white;
}
.decision-card > div {
  position: relative;
  z-index: 2;
  max-width: 72%;
}
.decision-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.decision-card h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.04em;
}
.decision-card p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
.decision-card.main p {
  color: rgba(255, 255, 255, 0.67);
}
.decision-card img {
  position: absolute;
  right: -26px;
  bottom: -8px;
  width: 56%;
  height: 78%;
  border-radius: 26px 0 0 0;
  object-fit: cover;
  object-position: center;
}
.decision-card:not(.main) img {
  width: 49%;
  height: 62%;
  object-fit: contain;
}
.decision-card > b {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 3;
  color: var(--gold-dark);
  font-size: 13px;
}
.decision-card.main > b {
  color: #f0c47f;
}
.decision-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(126, 102, 74, 0.22);
  font-size: 28px;
  font-weight: 800;
}
.decision-card.main .decision-index {
  color: rgba(255, 255, 255, 0.16);
}
.today-strip {
  margin-top: 54px;
  min-height: 184px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.today-image {
  width: 210px;
  height: 132px;
  border-radius: 22px;
  object-fit: cover;
}
.today-strip h2 {
  margin: 7px 0 4px;
  font-size: 27px;
}
.today-strip p {
  margin: 0 0 10px;
  font-size: 14px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-row span {
  padding: 6px 9px;
  border-radius: 9px;
  background: #f1ebe3;
  color: #6f655c;
  font-size: 11px;
  font-weight: 700;
}
.page-intro {
  max-width: 760px;
  margin-bottom: 62px;
}
.page-intro.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.page-intro h1,
.decision-header h1,
.recommend-hero h1,
.create-hero h1,
.profile-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.page-intro p,
.decision-header p,
.recommend-hero p,
.create-hero p {
  max-width: 660px;
  margin: 0;
  font-size: 16px;
}
.filter-section {
  margin-bottom: 64px;
}
.filter-section.compact {
  margin-bottom: 74px;
}
.section-heading,
.library-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading h2,
.library-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.section-number {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.clear-filter,
.back-button {
  padding: 9px 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.taste-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.taste-card {
  position: relative;
  aspect-ratio: 0.86;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(74, 51, 27, 0.055);
  transition: 180ms ease;
}
.taste-card:hover {
  transform: translateY(-3px);
}
.taste-card.selected,
.category-card.selected {
  border-color: rgba(197, 126, 47, 0.65);
  box-shadow: 0 0 0 3px rgba(200, 137, 53, 0.12), var(--shadow-small);
}
.taste-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.taste-card span {
  position: absolute;
  left: 13px;
  bottom: 13px;
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 8px 20px rgba(62, 43, 25, 0.12);
  backdrop-filter: blur(10px);
  font-size: 20px;
  font-weight: 850;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.category-card {
  position: relative;
  aspect-ratio: 0.96;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--paper);
  transition: 180ms ease;
}
.category-card:hover {
  transform: translateY(-2px);
}
.category-card img {
  width: 100%;
  height: calc(100% - 42px);
  object-fit: cover;
}
.category-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 249, 0.95);
  font-size: 13px;
  font-weight: 760;
}
.library-section {
  padding-top: 8px;
}
.library-heading .eyebrow {
  margin-bottom: 7px;
}
.search-box {
  width: min(330px, 100%);
  height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 1px white;
}
.search-box span {
  color: var(--soft);
  font-size: 20px;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dish-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--paper);
  box-shadow: 0 8px 26px rgba(74, 51, 27, 0.05);
}
.dish-photo-button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #eee7dd;
}
.dish-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 300ms ease;
}
.dish-photo-button:hover .dish-photo {
  transform: scale(1.025);
}
.favorite-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 13px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 6px 18px rgba(62, 43, 25, 0.1);
  backdrop-filter: blur(10px);
  font-size: 18px;
}
.favorite-button.is-favorite {
  color: var(--red);
}
.dish-card-body {
  padding: 19px;
}
.dish-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dish-title-button {
  padding: 0;
  background: transparent;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: left;
}
.dish-heading-row > span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}
.dish-card-body > p {
  min-height: 44px;
  margin: 8px 0 13px;
  font-size: 13px;
  line-height: 1.62;
}
.text-action {
  width: 100%;
  margin-top: 15px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 780;
  text-align: left;
}
.empty-inline {
  min-height: 230px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
}
.empty-inline img {
  width: 180px;
  height: 160px;
  border-radius: 20px;
  object-fit: cover;
}
.empty-inline h3 {
  margin: 0;
  font-size: 24px;
}
.decision-header,
.recommend-hero,
.create-hero {
  min-height: 360px;
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.decision-header img,
.recommend-hero img,
.create-hero img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  object-position: center bottom;
}
.decision-header img {
  border-radius: 30px 30px 0 0;
  object-fit: cover;
  object-position: center 30%;
}
.decision-workspace {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}
.preference-panel,
.decision-output {
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
}
.preference-panel {
  padding: 32px;
}
.preference-panel fieldset {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}
.preference-panel legend {
  margin-bottom: 13px;
  font-size: 14px;
  font-weight: 800;
}
.preference-panel legend span {
  margin-right: 8px;
  color: var(--gold);
  font-size: 10px;
}
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-row button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8f4ee;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.choice-row button.selected {
  border-color: rgba(200, 137, 53, 0.45);
  background: #efe1cd;
  color: #6f4318;
}
.decision-output {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eee3d5;
}
.waiting-state,
.thinking-state {
  max-width: 420px;
  padding: 48px;
  text-align: center;
}
.waiting-state > span {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid rgba(97, 72, 44, 0.16);
  border-radius: 9px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}
.waiting-state h2,
.thinking-state h2 {
  margin: 18px 0 8px;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.thinking-state img {
  width: 280px;
  height: 240px;
  margin: 0 auto;
  border-radius: 24px;
  object-fit: cover;
}
.thinking-dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.thinking-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: thinking 900ms infinite alternate;
}
.thinking-dots i:nth-child(2) { animation-delay: 180ms; }
.thinking-dots i:nth-child(3) { animation-delay: 360ms; }
@keyframes thinking {
  to { transform: translateY(-7px); opacity: 0.5; }
}
.mini-result {
  width: 100%;
  align-self: stretch;
  padding: 24px 34px 34px;
  text-align: left;
}
.mini-result > img {
  width: 100%;
  height: 245px;
  margin-bottom: 25px;
  border-radius: 24px;
  object-fit: cover;
}
.mini-result h2 {
  margin: 8px 0 6px;
  font-size: 34px;
}
.mini-result > p {
  margin: 0 0 18px;
  font-size: 14px;
}
.result-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.result-facts span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.7);
  color: var(--muted);
  font-size: 11px;
}
.result-facts strong {
  color: var(--ink);
  font-size: 14px;
}
.result-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: end;
  gap: 22px;
}
.result-character {
  height: 450px;
  display: flex;
  align-items: end;
}
.result-character img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(70, 48, 25, 0.12));
}
.result-card {
  min-height: 440px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.result-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}
.result-copy {
  padding: 48px;
  align-self: center;
}
.result-copy h2 {
  margin: 10px 0 12px;
  font-size: 42px;
  letter-spacing: -0.05em;
}
.recommend-hero {
  border-bottom: 0;
  border-radius: 34px;
  background: #eee3d5;
  padding-left: 52px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.featured-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
}
.featured-card > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.featured-card > div {
  padding: 25px;
}
.featured-card h2 {
  margin: 7px 0;
  font-size: 25px;
}
.featured-card p {
  min-height: 76px;
  margin: 0 0 15px;
  font-size: 13px;
}
.featured-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow-small);
  font-size: 12px;
  font-weight: 850;
}
.back-button {
  margin-bottom: 20px;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.detail-image {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}
.detail-copy {
  align-self: center;
  padding: 52px;
}
.detail-kicker {
  display: flex;
  gap: 8px;
}
.detail-kicker span {
  padding: 7px 10px;
  border-radius: 10px;
  background: #f1e8dc;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 750;
}
.detail-copy h1 {
  margin: 18px 0 10px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.06em;
}
.detail-feature {
  margin: 0 0 18px;
  font-size: 16px;
}
.detail-highlights {
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.detail-highlights div {
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-highlights small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
}
.detail-highlights strong {
  font-size: 20px;
}
.detail-highlights em {
  font-size: 11px;
  font-style: normal;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.icon-text-button {
  padding: 0 12px;
  background: transparent;
  color: var(--red);
  font-size: 13px;
  font-weight: 750;
}
.analysis-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}
.analysis-card,
.reason-card {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
}
.analysis-card {
  padding: 38px;
}
.analysis-card h2,
.reason-card h2 {
  margin: 10px 0 30px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.metric {
  margin-top: 26px;
}
.metric-top {
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.metric-top span {
  font-weight: 750;
}
.metric-top strong {
  color: var(--muted);
  font-size: 11px;
}
.metric-track {
  height: 7px;
  overflow: hidden;
  border-radius: 6px;
  background: #eee7df;
}
.metric-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #d18a3a;
}
.reason-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  overflow: hidden;
  background: #eee3d5;
}
.reason-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reason-card > div {
  align-self: center;
  padding: 38px;
}
.reason-card p {
  font-size: 14px;
}
.reason-facts {
  margin-top: 22px;
  display: grid;
  gap: 9px;
}
.reason-facts span {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(85, 63, 41, 0.13);
  color: var(--muted);
  font-size: 12px;
}
.reason-facts strong {
  color: var(--ink);
}
.detail-notes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-notes > div {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}
.detail-notes > div:last-child {
  border-right: 0;
}
.detail-notes h3 {
  margin: 10px 0 6px;
  font-size: 17px;
}
.detail-notes p {
  margin: 0;
  font-size: 13px;
}
.empty-menu {
  min-height: 480px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #2c2824;
  color: white;
}
.empty-menu > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 30%;
}
.empty-menu > div {
  padding: 60px;
}
.empty-menu h2 {
  max-width: 520px;
  margin: 12px 0 14px;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.empty-menu p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.64);
}
.menu-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  gap: 20px;
}
.menu-list {
  display: grid;
  gap: 12px;
}
.menu-row {
  display: grid;
  grid-template-columns: 82px 1fr auto 70px 32px;
  align-items: center;
  gap: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}
.menu-row > img {
  width: 82px;
  height: 72px;
  border-radius: 15px;
  object-fit: cover;
}
.menu-dish-copy {
  display: grid;
  gap: 5px;
  background: transparent;
  text-align: left;
}
.menu-dish-copy span {
  color: var(--muted);
  font-size: 11px;
}
.quantity {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.quantity button {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #f1ebe3;
}
.quantity strong {
  min-width: 16px;
  text-align: center;
}
.line-price {
  text-align: right;
}
.remove-button {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: transparent;
  color: var(--soft);
  font-size: 18px;
}
.menu-list-actions {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}
.menu-summary {
  position: sticky;
  top: 104px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #2b2723;
  color: white;
  box-shadow: var(--shadow);
}
.summary-total {
  margin: 28px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.summary-total small {
  color: rgba(255, 255, 255, 0.58);
}
.summary-total strong {
  font-size: 40px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}
.summary-grid span {
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}
.summary-grid strong {
  display: block;
  margin-bottom: 3px;
  color: white;
  font-size: 20px;
}
.menu-tip {
  margin: 22px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}
.menu-tip b {
  font-size: 12px;
}
.menu-tip p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.6;
}
.create-hero {
  grid-template-columns: 1fr 430px;
  border-radius: 34px;
  background: #eee3d5;
  padding-left: 54px;
}
.create-form {
  display: grid;
  gap: 18px;
}
.form-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
}
.form-section-title {
  margin-bottom: 30px;
  display: flex;
  align-items: start;
  gap: 16px;
}
.form-section-title > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #efe1cd;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 850;
}
.form-section-title h2 {
  margin: 0;
  font-size: 24px;
}
.form-section-title p {
  margin: 4px 0 0;
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-grid > label,
.photo-field,
.nutrition-grid > label {
  display: grid;
  gap: 8px;
}
.form-grid label > span,
.photo-field > span,
.nutrition-grid label > span,
.taste-checkboxes legend {
  font-size: 12px;
  font-weight: 760;
}
.form-grid input,
.form-grid select,
.form-grid textarea,
.nutrition-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf8f4;
  outline: 0;
}
.form-grid input,
.form-grid select {
  height: 48px;
  padding: 0 14px;
}
.form-grid textarea {
  padding: 13px 14px;
  resize: vertical;
}
.form-grid .wide {
  grid-column: 1 / -1;
}
.photo-input-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
  gap: 18px;
}
.photo-input-row > label {
  align-content: center;
  display: grid;
  gap: 8px;
}
.photo-drop {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  overflow: hidden;
  border: 1px dashed rgba(129, 95, 57, 0.32);
  border-radius: 20px;
  background: #f6efe6;
}
.photo-drop b {
  font-size: 28px;
  font-weight: 400;
}
.photo-drop small {
  color: var(--muted);
  font-size: 11px;
}
.photo-drop img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.hidden-input {
  display: none;
}
.taste-checkboxes {
  margin: 0;
  padding: 0;
  border: 0;
}
.taste-checkboxes > p {
  margin: 5px 0 10px;
  font-size: 11px;
}
.taste-checkboxes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.taste-checkboxes label input {
  position: absolute;
  opacity: 0;
}
.taste-checkboxes label span {
  min-width: 46px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8f4ee;
}
.taste-checkboxes label input:checked + span {
  border-color: rgba(200, 137, 53, 0.5);
  background: #efe1cd;
  color: var(--gold-dark);
}
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nutrition-grid label > div {
  height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf8f4;
}
.nutrition-grid input {
  height: 46px;
  padding: 0 0 0 14px;
  border: 0;
  background: transparent;
}
.nutrition-grid b {
  padding: 0 14px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.form-submit {
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #2b2723;
  color: white;
}
.form-submit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}
.profile-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 30px 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #eee3d5;
}
.profile-avatar {
  width: 170px;
  height: 230px;
  overflow: hidden;
  border-radius: 24px;
  background: #2b2723;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}
.profile-hero h1 {
  max-width: 580px;
  font-size: 46px;
}
.profile-hero p {
  margin: 0;
}
.profile-stats {
  display: flex;
  gap: 8px;
}
.profile-stats button {
  min-width: 90px;
  height: 88px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(106, 73, 38, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
}
.profile-stats strong {
  font-size: 23px;
}
.profile-stats span {
  color: var(--muted);
  font-size: 10px;
}
.profile-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: start;
  gap: 20px;
}
.profile-main,
.profile-side {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
}
.profile-dishes {
  display: grid;
  gap: 10px;
}
.profile-dishes article {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 13px;
  padding: 10px;
  border-radius: 18px;
  background: #f7f2eb;
}
.profile-dishes img {
  width: 72px;
  height: 64px;
  border-radius: 13px;
  object-fit: cover;
}
.profile-dishes p {
  margin: 3px 0;
  font-size: 11px;
  line-height: 1.4;
}
.profile-dishes div > span {
  color: var(--soft);
  font-size: 10px;
}
.profile-dishes article > button,
.profile-side > button {
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--paper);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 750;
}
.profile-side {
  display: grid;
  gap: 9px;
}
.profile-side > .eyebrow {
  margin-bottom: 8px;
}
.profile-side > button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  text-align: left;
}
.profile-side > button span {
  color: var(--ink);
}
.settings-box {
  margin-top: 16px;
  padding-top: 20px;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
}
.settings-box label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.settings-box input {
  accent-color: var(--gold);
}
.simple-empty {
  padding: 30px;
  border-radius: 18px;
  background: #f7f2eb;
}
footer {
  width: min(1160px, calc(100% - 40px));
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  object-fit: cover;
}
.footer-brand div {
  display: grid;
  gap: 3px;
}
.footer-brand strong {
  color: var(--ink);
  font-size: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 90;
  transform: translateX(-50%);
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: #28241f;
  box-shadow: 0 14px 34px rgba(42, 31, 20, 0.22);
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.toast span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
}
.mobile-nav {
  display: none;
}
@media (max-width: 1000px) {
  .desktop-nav button {
    padding: 0 12px;
  }

  .home-hero {
    min-height: 500px;
  }

  .hero-copy {
    padding-left: 44px;
  }

  .home-decision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-card.main {
    grid-column: 1 / -1;
  }

  .decision-card.main > div {
    max-width: 50%;
  }

  .decision-card.main img {
    width: 40%;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .dish-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-workspace,
  .analysis-grid,
  .menu-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .menu-summary {
    position: static;
  }

  .result-shell {
    grid-template-columns: 200px 1fr;
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .result-image {
    min-height: 280px;
    height: 280px;
  }

  .result-character {
    height: 360px;
  }

  .detail-hero {
    min-height: 540px;
  }

  .detail-copy {
    padding: 36px;
  }

  .profile-hero {
    grid-template-columns: 150px 1fr;
  }

  .profile-avatar {
    width: 150px;
  }

  .profile-stats {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .profile-stats button {
    flex: 1;
  }
}
