:root {
  color-scheme: light;
  --paper: #f8f1e5;
  --paper-soft: #fffaf0;
  --ink: #251a16;
  --muted: #77665e;
  --red: #9f2f25;
  --red-deep: #6f201c;
  --gold: #c58c3b;
  --line: rgba(87, 53, 37, .14);
  --shadow: 0 22px 60px rgba(82, 48, 32, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(159, 47, 37, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 47, 37, .025) 1px, transparent 1px),
    var(--paper);
  background-size: 30px 30px;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  padding: .7rem 1rem;
  border-radius: .5rem;
  background: white;
  color: var(--red);
}
.skip-link:focus { top: 1rem; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff9ed;
  background:
    linear-gradient(118deg, rgba(74, 17, 14, .96), rgba(139, 39, 32, .94)),
    #7e261f;
}
.hero::after {
  content: "食";
  position: absolute;
  right: clamp(-1.2rem, 2vw, 2rem);
  bottom: -5rem;
  color: rgba(255, 246, 224, .055);
  font-family: STKaiti, KaiTi, serif;
  font-size: clamp(16rem, 32vw, 29rem);
  line-height: 1;
  transform: rotate(-9deg);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4.5rem;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
}
.hero__glow--one {
  width: 30rem;
  height: 30rem;
  left: -18rem;
  top: -16rem;
  background: radial-gradient(circle, rgba(245, 187, 97, .45), transparent 68%);
}
.hero__glow--two {
  width: 24rem;
  height: 24rem;
  right: 10%;
  bottom: -18rem;
  background: radial-gradient(circle, rgba(255, 194, 91, .25), transparent 68%);
}
.brand-row {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.brand-mark {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 245, 220, .5);
  transform: rotate(4deg);
  background: rgba(255, 245, 220, .08);
}
.brand-mark span {
  font-family: STKaiti, KaiTi, serif;
  font-size: 2rem;
  transform: rotate(-4deg);
}
.brand-name { font-weight: 800; letter-spacing: .08em; }
.brand-note { margin-top: .18rem; color: rgba(255, 249, 237, .66); font-size: .76rem; letter-spacing: .12em; }
.hero__copy { margin-top: clamp(3rem, 8vw, 6.2rem); }
.eyebrow {
  margin: 0 0 .8rem;
  color: #f2c175;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .34em;
}
.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.06em;
}
.hero h1 em { color: #f5c16e; font-style: normal; }
.hero__lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 249, 237, .78);
  font-size: clamp(.95rem, 2vw, 1.08rem);
  line-height: 1.95;
}
.hero__stats {
  display: flex;
  gap: clamp(1.4rem, 6vw, 4rem);
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 249, 237, .17);
}
.hero__stats div { display: grid; gap: .18rem; }
.hero__stats strong { color: #fff8e8; font-family: Georgia, serif; font-size: 1.65rem; }
.hero__stats span { color: rgba(255, 249, 237, .58); font-size: .74rem; letter-spacing: .12em; }

.menu-toolbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 241, 229, .9);
  box-shadow: 0 8px 28px rgba(82, 48, 32, .07);
  backdrop-filter: blur(18px);
}
.menu-toolbar__inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.category-tabs {
  min-width: 0;
  flex: 1;
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(159, 47, 37, .48) rgba(159, 47, 37, .08);
  padding: .7rem 0 .78rem;
}
.category-tabs::-webkit-scrollbar { height: 6px; }
.category-tabs::-webkit-scrollbar-track { border-radius: 999px; background: rgba(159, 47, 37, .08); }
.category-tabs::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(159, 47, 37, .48); }
.category-tabs::-webkit-scrollbar-thumb:hover { background: rgba(111, 32, 28, .68); }
.category-tab {
  flex: none;
  padding: .68rem .92rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: .2s ease;
}
.category-tab:hover, .category-tab:focus-visible {
  border-color: rgba(159, 47, 37, .18);
  background: rgba(255, 255, 255, .6);
  color: var(--red);
  outline: none;
}
.search-box {
  flex: 0 0 190px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .78);
}
.search-box:focus-within { border-color: rgba(159, 47, 37, .5); box-shadow: 0 0 0 3px rgba(159, 47, 37, .08); }
.search-box__icon { color: var(--red); font-size: 1.35rem; line-height: 1; transform: translateY(-1px); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #9c8f88; }

.menu-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 6rem;
}
.loading-card, .empty-state {
  margin: 4rem 0;
  padding: 3rem;
  border: 1px dashed rgba(159, 47, 37, .26);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 250, 240, .6);
}
.loading-card--error { color: var(--red); }
.empty-state { display: grid; gap: .5rem; }
.empty-state strong { color: var(--ink); font-size: 1.2rem; }
.empty-state[hidden] { display: none; }
.menu-section { padding: 2.8rem 0 1rem; }
.menu-section[hidden] { display: none; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(159, 47, 37, .15);
}
.section-heading__eyebrow {
  display: block;
  margin-bottom: .25rem;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-heading__title {
  margin: 0;
  font-family: STKaiti, KaiTi, "Songti SC", serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}
.section-heading__count { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .72rem;
}
.dish-card {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .82rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 240, .76);
  box-shadow: 0 6px 18px rgba(82, 48, 32, .035);
  animation: card-in .45s both;
  animation-delay: var(--delay);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dish-card:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 47, 37, .27);
  box-shadow: 0 12px 28px rgba(82, 48, 32, .09);
}
.dish-card[hidden] { display: none; }
.dish-card__number {
  align-self: start;
  color: rgba(159, 47, 37, .38);
  font-family: Georgia, serif;
  font-size: .7rem;
  font-weight: 700;
}
.dish-card__copy { min-width: 0; }
.dish-card__name { margin: 0; display: grid; gap: .12rem; font-size: .98rem; line-height: 1.4; }
.dish-card__name-line { display: block; }
.dish-card--multi { min-height: 116px; }
.dish-card__hint {
  display: -webkit-box;
  margin-top: .32rem;
  overflow: hidden;
  color: #8f8179;
  font-size: .78rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.dish-card__side { display: grid; justify-items: end; gap: .38rem; }
.dish-card__price { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2vw, 1.55rem); font-weight: 700; white-space: nowrap; }
.detail-button {
  padding: .25rem .1rem;
  border: 0;
  border-bottom: 1px solid rgba(159, 47, 37, .28);
  color: var(--red);
  background: transparent;
  font-size: .72rem;
  cursor: pointer;
}
.detail-button:hover, .detail-button:focus-visible { color: var(--red-deep); border-color: var(--red-deep); outline: none; }

.site-footer {
  padding: 3.2rem 1rem 3.8rem;
  color: rgba(255, 249, 237, .65);
  text-align: center;
  background: #2c1c18;
}
.site-footer__mark { color: #efc07b; font-family: Georgia, serif; font-size: 1.4rem; letter-spacing: .22em; }
.site-footer p { max-width: 34rem; margin: .9rem auto 1.3rem; font-size: .82rem; line-height: 1.8; }
.site-footer span { font-size: .7rem; }

.dish-dialog {
  width: min(92vw, 530px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: var(--paper-soft);
  box-shadow: 0 35px 100px rgba(42, 18, 12, .35);
}
.dish-dialog::backdrop { background: rgba(35, 19, 15, .64); backdrop-filter: blur(7px); }
.dialog-close {
  position: absolute;
  right: 1.15rem;
  top: 1.15rem;
  z-index: 2;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(159, 47, 37, .22);
  border-radius: 50%;
  color: var(--red);
  background: rgba(159, 47, 37, .07);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { background: rgba(159, 47, 37, .14); }
.dish-dialog__content { padding: 2rem 1.7rem 1.7rem; }
.dish-dialog__category { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.dish-dialog h2 { max-width: calc(100% - 3.2rem); margin: .45rem 0 .35rem; font-family: STKaiti, KaiTi, serif; font-size: 2.25rem; }
.dish-dialog__price { color: var(--red); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.dish-dialog__image { width: 100%; max-height: 260px; margin-top: 1rem; border-radius: 14px; object-fit: cover; }
.detail-placeholder {
  display: flex;
  gap: .85rem;
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px dashed rgba(159, 47, 37, .22);
  border-radius: 14px;
  background: rgba(159, 47, 37, .035);
}
.detail-placeholder__icon { color: var(--red); font-size: 1.4rem; }
.detail-placeholder strong { font-size: 1.08rem; }
.detail-placeholder p { margin: .5rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; white-space: pre-line; }
.dish-dialog__note { margin: 1rem 0 0; color: #9d8f88; font-size: .8rem; text-align: center; }
.noscript { padding: 1rem; color: white; text-align: center; background: var(--red); }

@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { padding-bottom: 3.7rem; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 132px; }
  .hero__inner, .menu-toolbar__inner, .menu-shell { width: min(100% - 1.25rem, 1180px); }
  .hero__inner { padding-top: 1.2rem; }
  .hero__copy { margin-top: 3.4rem; }
  .hero h1 { font-size: clamp(3.3rem, 18vw, 5rem); }
  .hero__lead { font-size: .9rem; }
  .hero__stats { gap: 1.8rem; justify-content: space-between; }
  .hero__stats strong { font-size: 1.35rem; }
  .menu-toolbar__inner { min-height: 0; flex-wrap: wrap; gap: .15rem; padding: .45rem 0 .6rem; }
  .category-tabs { width: 100%; flex-basis: 100%; order: 2; padding: .42rem 0 .7rem; }
  .search-box { width: 100%; flex-basis: 100%; order: 1; }
  .menu-shell { padding-top: .7rem; }
  .menu-section { padding-top: 2.2rem; }
  .dish-grid { grid-template-columns: 1fr; gap: .55rem; }
  .dish-card { min-height: 88px; padding: .85rem; }
  .dish-card--multi { min-height: 108px; }
  .section-heading__title { font-size: 2.35rem; }
  .dish-dialog__content { padding: 1.6rem 1.25rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
