/* 魔都 Modu — 夜上海 · 海派 Art Deco · 石库门 · 弄堂搪瓷路牌 */
:root {
  --night: #0b0d12;
  --night-2: #141821;
  --night-3: #1d2230;
  --paper: #f4ede1;
  --paper-2: #e9dfcc;
  --ink: #1d1b17;
  --ink-soft: #5d554a;
  --lacquer: #b3261e;
  --lacquer-dark: #7d1914;
  --brass: #c8a24c;
  --brass-soft: #e6d39e;
  --enamel: #1c3b8a;
  --enamel-dark: #132a66;
  --brick: #6e6157;
  --line: rgba(200, 162, 76, .45);
  --radius: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --font-brush: "Ma Shan Zheng", "STXingkai", "KaiTi", serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-deco: "Josefin Sans", "Avenir Next", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-serif); font-size: 17px; line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, .94);
  backdrop-filter: blur(8px); color: var(--paper); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--paper); }
.brand-zh { font-family: var(--font-brush); font-size: 34px; line-height: 1; }
.brand-en { font-family: var(--font-deco); letter-spacing: .32em; font-size: 13px; color: var(--brass-soft); }
.brand-place { font-family: var(--font-deco); font-size: 11px; letter-spacing: .18em; color: #9a917f; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-family: var(--font-deco); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #d9d0bf; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav .nav-book { border: 1px solid var(--brass); color: var(--brass); padding: 6px 14px; border-radius: 2px; }
.lang { display: inline-flex; border: 1px solid #3b3f4a; border-radius: 999px; overflow: hidden; font-family: var(--font-deco); font-size: 13px; }
.lang a { padding: 4px 10px; text-decoration: none; color: #a59d8d; letter-spacing: .05em; text-transform: none; }
.lang a[aria-current="true"] { background: var(--brass); color: var(--night); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid #3b3f4a; color: var(--paper); border-radius: 4px; padding: 6px 10px; font: inherit; font-size: 14px; }

@media (max-width: 820px) {
  .brand-place { display: none; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #222632; }
  .nav .nav-book { text-align: center; margin-top: 10px; }
  .nav .lang { align-self: flex-start; margin-top: 12px; }
  .nav .lang a { border: 0; padding: 6px 14px; }
}

/* ---------- Art Deco ornaments ---------- */
.deco-rule { display: flex; align-items: center; gap: 14px; color: var(--brass); justify-content: center; margin: 0 auto 10px; }
.deco-rule::before, .deco-rule::after { content: ""; height: 1px; flex: 0 1 90px; background: linear-gradient(90deg, transparent, currentColor); }
.deco-rule::after { background: linear-gradient(270deg, transparent, currentColor); }
.deco-rule svg { width: 34px; height: 18px; }
.deco-frame { position: relative; padding: 10px; border: 1px solid var(--brass); }
.deco-frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(200, 162, 76, .5); pointer-events: none; }
.deco-frame .corner { position: absolute; width: 18px; height: 18px; border-color: var(--brass); border-style: solid; }
.deco-frame .tl { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.deco-frame .tr { top: -6px; right: -6px; border-width: 2px 2px 0 0; }
.deco-frame .bl { bottom: -6px; left: -6px; border-width: 0 0 2px 2px; }
.deco-frame .br { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }

/* 搪瓷路牌 — Shanghai enamel street sign */
.enamel {
  display: inline-grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  background: var(--enamel); color: #fff; border-radius: 10px; padding: 10px 18px;
  box-shadow: inset 0 0 0 3px var(--enamel), inset 0 0 0 5px #f4f4f4, 0 6px 18px rgba(0, 0, 0, .35);
  font-family: var(--font-serif); text-decoration: none; max-width: 100%;
}
.enamel .dir { font-family: var(--font-deco); font-size: 12px; line-height: 1.2; text-align: center; opacity: .9; }
.enamel .dir b { display: block; font-family: var(--font-serif); font-size: 16px; }
.enamel .name { text-align: center; line-height: 1.25; }
.enamel .name strong { display: block; font-size: 22px; letter-spacing: .25em; font-weight: 700; }
.enamel .name span { display: block; font-family: var(--font-deco); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.enamel.big .name strong { font-size: 28px; }

/* ---------- hero ---------- */
.hero { background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(90deg, var(--brass) 0 18px, transparent 18px 24px); opacity: .6; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(36px, 6vw, 80px); }
.hero-kicker { font-family: var(--font-deco); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-family: var(--font-brush); font-weight: 400; font-size: clamp(48px, 9vw, 96px); line-height: 1.05; margin: 0; }
.hero h1 small { display: block; font-family: var(--font-deco); font-size: clamp(15px, 2vw, 19px); letter-spacing: .28em; color: var(--brass-soft); margin-top: 12px; text-transform: uppercase; }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); color: #d9d0bf; max-width: 34em; margin: 22px 0 28px; }
.hero .poem { font-family: var(--font-brush); font-size: 22px; color: var(--brass-soft); margin: 0 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  font-family: var(--font-deco); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s;
}
.btn-primary { background: var(--lacquer); color: #fff; border-color: var(--lacquer); }
.btn-primary:hover { background: var(--lacquer-dark); }
.btn-ghost { border-color: var(--brass); color: var(--brass); background: transparent; }
.btn-ghost:hover { background: rgba(200, 162, 76, .12); }
.btn-dark { background: var(--night); color: var(--paper); }
.hero-poster { justify-self: end; width: min(100%, 470px); }
.hero-poster img { width: 100%; height: auto; aspect-ratio: 1253 / 1400; object-fit: cover; }
.find-us { font-size: 14px; color: #a59d8d; border-left: 2px solid var(--lacquer); padding-left: 12px; margin: 22px 0 0; max-width: 32em; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-poster { order: -1; justify-self: center; width: min(100%, 360px); }
}

/* ---------- sections ---------- */
section { padding: clamp(48px, 8vw, 96px) 0; }
.section-dark { background: var(--night-2); color: var(--paper); }
.section-brick {
  background-color: #5b5048;
  background-image:
    linear-gradient(rgba(0, 0, 0, .18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 0, 0, .18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 0, 0, .18) 2px, transparent 2px);
  background-size: 64px 28px, 64px 56px, 64px 56px;
  background-position: 0 0, 0 0, 32px 28px;
  color: var(--paper);
}
/* 石库门 lintel heading: arched stone panel */
.lintel { text-align: center; margin: 0 auto clamp(28px, 5vw, 48px); max-width: 640px; }
.lintel .arch {
  display: inline-block; background: var(--paper-2); color: var(--ink); padding: 18px 34px 12px;
  border-radius: 140px 140px 4px 4px / 60px 60px 4px 4px; border: 2px solid var(--brick);
  box-shadow: 0 0 0 6px rgba(110, 97, 87, .25);
}
.section-dark .lintel .arch, .section-brick .lintel .arch { background: var(--paper); }
.lintel h2 { font-family: var(--font-brush); font-weight: 400; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin: 0; }
.lintel .en { display: block; font-family: var(--font-deco); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.lintel p { margin: 16px auto 0; color: inherit; opacity: .85; }
html[lang="en"] .lintel h2 { font-family: var(--font-deco); font-size: clamp(26px, 4vw, 36px); letter-spacing: .14em; text-transform: uppercase; }

/* signature dishes */
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
@media (max-width: 600px) { .dish-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .dish .body { padding: 10px 12px 12px; } .dish .zh { font-size: 16px; } .dish .en { font-size: 12px; } }
.dish { background: #fffaf1; border: 1px solid #ddd0b8; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.dish img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.dish .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dish .zh { font-size: 19px; font-weight: 700; }
.dish .en { font-family: var(--font-deco); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }
.dish .price { margin-top: auto; padding-top: 8px; color: var(--lacquer); font-family: var(--font-deco); font-weight: 600; }
.seal { position: absolute; top: 10px; right: 10px; background: var(--lacquer); color: #fff; font-family: var(--font-brush); font-size: 15px; padding: 3px 7px; border-radius: 3px; transform: rotate(4deg); box-shadow: 0 0 0 2px #fff3; }

/* story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.story h3 { font-family: var(--font-brush); font-weight: 400; font-size: 36px; margin: 0 0 8px; color: var(--brass-soft); }
html[lang="en"] .story h3 { font-family: var(--font-deco); font-size: 24px; letter-spacing: .12em; text-transform: uppercase; }
.story p { color: #ddd4c3; }
.story .vertical { writing-mode: vertical-rl; font-family: var(--font-brush); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.6; color: var(--paper); height: 15em; margin: 0 auto; letter-spacing: .1em; }
.story .vertical em { color: var(--lacquer); font-style: normal; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story .vertical { height: auto; writing-mode: horizontal-tb; text-align: center; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin: 18px 0; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid #d8ccb5; vertical-align: top; }
.hours th { font-weight: 400; color: var(--ink-soft); width: 38%; }
.hours td small { display: block; color: var(--ink-soft); font-size: 14px; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); filter: grayscale(.25) contrast(1.05); background: var(--paper-2); }
.contact-line { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.busy-note { background: #fff6e3; border: 1px solid var(--brass); padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid #d8ccb5; padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brass); font-family: var(--font-deco); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

/* book band */
.book-band { background: var(--lacquer); color: #fff; text-align: center; padding: 48px 0; }
.book-band h2 { font-family: var(--font-brush); font-weight: 400; font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; }
.book-band p { margin: 0 0 20px; opacity: .9; }
.book-band .btn { background: #fff; color: var(--lacquer); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #a59d8d; padding: 48px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-family: var(--font-deco); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin: 0 0 10px; font-weight: 600; }
.site-footer a { color: #d9d0bf; }
.site-footer .legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid #222632; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: 13px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; opacity: .55; }
.pay span { font-family: var(--font-deco); font-size: 10px; letter-spacing: .06em; border: 1px solid #4a4f5c; border-radius: 3px; padding: 2px 6px; color: #b9b2a3; white-space: nowrap; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* sticky mobile book bar */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar .btn { min-height: 46px; padding: 0 10px; font-size: 14px; }
  body.has-bar { padding-bottom: 72px; }
}

/* ---------- menu page ---------- */
.page-head { background: var(--night); color: var(--paper); padding: 40px 0 28px; text-align: center; }
.page-head h1 { font-family: var(--font-brush); font-weight: 400; font-size: clamp(40px, 7vw, 64px); margin: 0; line-height: 1.1; }
.page-head h1 small { display: block; font-family: var(--font-deco); font-size: 14px; letter-spacing: .3em; color: var(--brass-soft); text-transform: uppercase; margin-top: 8px; }
.page-head p { color: #a59d8d; margin: 12px auto 0; max-width: 40em; font-size: 15px; }
.cat-nav { position: sticky; top: 64px; z-index: 40; background: var(--paper); border-bottom: 1px solid #d8ccb5; }
.cat-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a, .chip { flex: none; text-decoration: none; border: 1px solid #cdbfa5; border-radius: 999px; padding: 6px 14px; font-size: 15px; background: #fffaf1; white-space: nowrap; cursor: pointer; font-family: inherit; color: var(--ink); }
.cat-nav a:hover { border-color: var(--lacquer); color: var(--lacquer); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; align-items: center; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu-cat { padding: 36px 0 8px; scroll-margin-top: 130px; }
.menu-cat h2 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 6px; font-family: var(--font-brush); font-weight: 400; font-size: 34px; }
.menu-cat h2 small { font-family: var(--font-deco); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.menu-cat .intro { color: var(--ink-soft); font-size: 15px; max-width: 46em; margin: 0 0 12px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.item { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px dashed #cdbfa5; align-items: start; }
.item.has-photo { grid-template-columns: 76px 1fr auto; }
.item img { width: 76px; height: 76px; object-fit: cover; border-radius: 4px; grid-row: span 2; }
.item .code { font-family: var(--font-deco); font-size: 12px; color: #fff; background: var(--lacquer); border-radius: 2px; padding: 1px 5px; align-self: start; margin-top: 4px; }
.item.has-photo .code { display: none; }
.item .names { min-width: 0; }
.item .n1 { font-weight: 700; font-size: 17px; }
.item .n2 { font-family: var(--font-deco); font-size: 13.5px; color: var(--ink-soft); letter-spacing: .02em; }
.item .note { font-size: 13px; color: var(--brick); }
.item .prices { text-align: right; font-family: var(--font-deco); font-weight: 600; white-space: nowrap; font-size: 15px; }
.item .prices div small { font-weight: 400; color: var(--ink-soft); margin-right: 6px; white-space: normal; }
.tags { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.tag { font-size: 11px; line-height: 1; padding: 3px 5px; border-radius: 3px; font-family: var(--font-serif); font-weight: 400; }
.tag.cold { background: #dfe9f5; color: #1c4a86; }
.tag.veg { background: #e2efd9; color: #2d6a1f; }
.tag.spicy { background: #f8dfdc; color: var(--lacquer); }
.tag.new { background: var(--lacquer); color: #fff; }
.item[hidden], .menu-cat[hidden] { display: none; }
@media (max-width: 820px) { .items { grid-template-columns: 1fr; } .item.has-photo { grid-template-columns: 64px 1fr auto; } .item img { width: 64px; height: 64px; } }

/* ---------- booking ---------- */
.book-shell { max-width: 760px; margin: 0 auto; }
.step { background: #fffaf1; border: 1px solid #ddd0b8; border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.step h2 { font-family: var(--font-deco); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink-soft); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.step h2 .num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: 0; }
.party { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pill { min-height: 46px; border: 1px solid #cdbfa5; background: #fff; border-radius: 4px; font: inherit; font-size: 17px; cursor: pointer; color: var(--ink); }
.pill:hover:not(:disabled) { border-color: var(--lacquer); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill:disabled { background: #f1ece2; color: #b7ad9b; cursor: not-allowed; text-decoration: line-through; }
.hint { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.date-btn { flex: none; width: 66px; scroll-snap-align: start; border: 1px solid #cdbfa5; background: #fff; border-radius: 4px; padding: 8px 0 6px; text-align: center; font: inherit; cursor: pointer; color: var(--ink); position: relative; }
.date-btn .dw { display: block; font-size: 12px; color: var(--ink-soft); }
.date-btn .dd { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.date-btn .dm { display: block; font-size: 11px; color: var(--ink-soft); }
.date-btn .fest { position: absolute; top: -6px; right: -4px; background: var(--lacquer); color: #fff; font-size: 10px; border-radius: 3px; padding: 1px 4px; }
.date-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.date-btn[aria-pressed="true"] .dw, .date-btn[aria-pressed="true"] .dm { color: #cfc6b4; }
.date-btn:disabled { opacity: .45; cursor: not-allowed; }
.slots h3 { font-size: 15px; margin: 14px 0 8px; font-weight: 700; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot-grid .pill { font-family: var(--font-deco); font-size: 16px; }
.banner { border-radius: 4px; padding: 12px 14px; font-size: 15px; margin: 0 0 12px; }
.banner.busy { background: #fbe9e6; border: 1px solid #e3b4ad; color: var(--lacquer-dark); }
.banner.info { background: #eef2fb; border: 1px solid #c3cfee; color: var(--enamel-dark); }
.banner a { font-weight: 700; }
.field { display: grid; gap: 4px; margin-bottom: 14px; }
.field label { font-size: 15px; font-weight: 700; }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea { font: inherit; font-size: 17px; padding: 11px 12px; border: 1px solid #cdbfa5; border-radius: 4px; background: #fff; width: 100%; color: var(--ink); }
.field textarea { min-height: 84px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.summary { background: var(--night); color: var(--paper); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; font-size: 16px; }
.summary b { color: var(--brass-soft); }
.error { color: var(--lacquer); font-weight: 700; margin: 10px 0 0; }
.confirm { text-align: center; }
.confirm .ref { font-family: var(--font-deco); font-size: 34px; letter-spacing: .2em; color: var(--lacquer); margin: 8px 0; }
.confirm .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* print / reduced motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html[lang="en"] .menu-cat h2 { font-family: var(--font-deco); font-size: 24px; letter-spacing: .12em; text-transform: uppercase; }

/* =====================================================================
   海派 details, round two
   ===================================================================== */

/* 霓虹灯 — Nanjing Road neon tube lettering */
.neon {
  color: #ffe9f0;
  text-shadow: 0 0 4px #fff, 0 0 10px #ff4f7a, 0 0 22px #ff2d55, 0 0 42px #d4144a, 0 0 70px #a50f3a;
  animation: neon-flicker 7s infinite;
}
.neon-frame { display: inline-block; padding: 6px 18px 2px; border: 2px solid rgba(255, 79, 122, .55); border-radius: 14px; box-shadow: 0 0 14px rgba(255, 45, 85, .35), inset 0 0 14px rgba(255, 45, 85, .25); }
@keyframes neon-flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .neon { animation: none; } }

/* 门牌 — little blue enamel house-number plate */
.plate { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; background: var(--enamel); color: #fff; border-radius: 6px; padding: 4px 12px; box-shadow: inset 0 0 0 2px #f4f4f4, 0 4px 10px rgba(0,0,0,.3); font-family: var(--font-serif); line-height: 1.1; vertical-align: middle; margin-left: 10px; }
.plate b { font-size: 26px; font-family: var(--font-deco); letter-spacing: .05em; }
.plate small { font-size: 11px; letter-spacing: .2em; }
.sign-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

/* 号外 — newspaper review ticker */
.extra { background: #efe6d2; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); padding: 0; overflow: hidden; color: var(--ink); }
.extra .row { display: flex; align-items: stretch; }
.extra .masthead { flex: none; background: var(--lacquer); color: #fff; display: grid; place-items: center; padding: 10px 18px; font-family: var(--font-brush); font-size: 28px; line-height: 1; text-align: center; z-index: 1; box-shadow: 6px 0 12px rgba(239, 230, 210, 1); }
.extra .masthead small { display: block; font-family: var(--font-deco); font-size: 10px; letter-spacing: .25em; margin-top: 4px; }
.extra .viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.extra .track { display: flex; gap: 0; width: max-content; animation: ticker 60s linear infinite; padding: 12px 0; }
.extra:hover .track { animation-play-state: paused; }
.extra .item { flex: none; max-width: 460px; padding: 0 28px; border-right: 1px solid #b9ab8f; font-size: 15px; line-height: 1.5; }
.extra .item q { quotes: "“" "”"; font-style: italic; }
.extra .item .who { display: block; font-family: var(--font-deco); font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); margin-top: 4px; }
.extra .stars { color: #d39a1a; letter-spacing: 2px; margin-right: 6px; }
.extra .score { flex: none; display: grid; place-items: center; padding: 8px 16px; font-family: var(--font-deco); font-size: 13px; text-align: center; border-left: 1px solid #b9ab8f; text-decoration: none; }
.extra .score b { display: block; font-size: 22px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .extra .track { animation: none; overflow-x: auto; } }
@media (max-width: 600px) { .extra .masthead { font-size: 20px; padding: 8px 10px; } .extra .item { max-width: 300px; font-size: 14px; } .extra .score { display: none; } }

/* 弄堂饭局 — full-bleed street-dinner illustration */
.street { position: relative; padding: 0; background: var(--night); color: var(--paper); overflow: hidden; }
.street picture, .street img { display: block; width: 100%; height: auto; }
.street img { max-height: 720px; object-fit: cover; }
.street .caption { position: absolute; left: var(--gutter); bottom: clamp(16px, 4vw, 40px); max-width: 420px; background: rgba(11, 13, 18, .82); border: 1px solid var(--line); padding: 16px 20px; backdrop-filter: blur(4px); }
.street .caption h2 { font-family: var(--font-brush); font-weight: 400; font-size: clamp(28px, 4vw, 40px); margin: 0 0 4px; color: var(--brass-soft); }
html[lang="en"] .street .caption h2 { font-family: var(--font-deco); font-size: clamp(20px, 3vw, 28px); letter-spacing: .1em; text-transform: uppercase; }
.street .caption p { margin: 0; font-size: 15px; color: #d9d0bf; }
@media (max-width: 700px) { .street .caption { position: static; max-width: none; border: 0; border-top: 1px solid var(--line); } }
.laundry { display: block; width: 100%; height: 70px; object-fit: cover; background: var(--paper); }

/* 粮票 — signature dishes as old Shanghai ration coupons */
.dish.coupon { border: 0; border-radius: 4px; background: #f8f1e1; padding: 8px; box-shadow: 0 1px 0 #d8cbb0, 0 8px 18px rgba(0,0,0,.08); position: relative; }
.dish.coupon::before { content: ""; position: absolute; inset: 4px; border: 1px solid #c9b48a; border-radius: 2px; pointer-events: none;
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(179, 38, 30, .05) 6px 7px), repeating-linear-gradient(-45deg, transparent 0 6px, rgba(28, 59, 138, .05) 6px 7px); }
.coupon .coupon-head { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding: 2px 6px 6px; font-size: 12px; color: var(--lacquer-dark); letter-spacing: .12em; }
.coupon .coupon-head b { font-family: var(--font-brush); font-size: 16px; letter-spacing: .2em; font-weight: 400; }
.coupon .coupon-head span { font-family: var(--font-deco); color: var(--ink-soft); letter-spacing: .1em; }
.coupon img { position: relative; border: 1px solid #c9b48a; }
.coupon .body { position: relative; padding: 10px 6px 4px; }
.coupon .denom { position: absolute; right: 10px; top: -30px; width: 64px; height: 64px; border-radius: 50%; background: var(--lacquer); color: #fff; display: grid; place-items: center; font-family: var(--font-deco); font-weight: 600; font-size: 15px; line-height: 1; box-shadow: 0 0 0 3px #f8f1e1, 0 0 0 4px var(--lacquer); text-align: center; transform: rotate(-8deg); }
.coupon .denom small { display: block; font-size: 9px; letter-spacing: .1em; font-weight: 400; }
.coupon .price { display: none; }

/* 公交站牌 — opening hours as a bus-stop sign */
.busstop { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: 6px; min-width: 260px; overflow: hidden; box-shadow: 0 8px 18px rgba(0,0,0,.12); margin: 18px 0; }
.busstop .top { background: var(--lacquer); color: #fff; display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.busstop .route { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--lacquer); display: grid; place-items: center; font-family: var(--font-deco); font-weight: 700; font-size: 16px; }
.busstop .top b { font-size: 20px; letter-spacing: .2em; }
.busstop .top small { display: block; font-family: var(--font-deco); font-size: 11px; letter-spacing: .2em; opacity: .9; }
.busstop ol { list-style: none; margin: 0; padding: 10px 16px 14px; position: relative; }
.busstop ol::before { content: ""; position: absolute; left: 25px; top: 18px; bottom: 22px; width: 3px; background: var(--enamel); }
.busstop li { position: relative; padding: 6px 0 6px 26px; font-size: 16px; }
.busstop li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--enamel); }
.busstop li small { display: block; color: var(--ink-soft); font-size: 13px; }

/* 梧桐叶 — plane-tree leaves drifting in the story section */
.story-wrap { position: relative; }
.leaf { position: absolute; width: 70px; opacity: .18; color: var(--brass); pointer-events: none; }

/* 电车票 — booking confirmation as an old tram ticket */
.ticket { display: grid; grid-template-columns: 92px 1fr; max-width: 520px; margin: 0 auto; background: #f6e7c1; color: var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.18); text-align: left; position: relative; }
.ticket::after { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(29, 27, 23, .3); border-radius: 4px; pointer-events: none; }
.ticket-stub { background: var(--lacquer); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border-right: 3px dotted #f6e7c1; font-family: var(--font-deco); font-size: 12px; letter-spacing: .15em; writing-mode: vertical-rl; text-orientation: mixed; }
.ticket-stub .ref { font-size: 22px; letter-spacing: .25em; color: #fff; margin: 0; }
.ticket-body { padding: 18px 20px 14px; background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgba(179, 38, 30, .06) 22px 23px); }
.ticket-head { margin: 0; font-family: var(--font-deco); font-size: 12px; letter-spacing: .2em; color: var(--lacquer-dark); text-transform: uppercase; }
.ticket-route { display: flex; align-items: center; gap: 12px; margin: 6px 0 10px; font-family: var(--font-brush); font-size: 30px; }
.ticket-route i { font-style: normal; color: var(--lacquer); font-size: 22px; }
.ticket dl { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 18px; margin: 0; }
.ticket dt { font-size: 11px; color: var(--ink-soft); letter-spacing: .1em; }
.ticket dd { margin: 0; font-weight: 700; font-size: 17px; }
.ticket-foot { margin: 12px 0 0; font-size: 12px; color: var(--ink-soft); font-family: var(--font-deco); letter-spacing: .1em; }
@media (max-width: 480px) { .ticket { grid-template-columns: 64px 1fr; } .ticket dl { grid-template-columns: 1fr 1fr; } .ticket-route { font-size: 24px; } }

/* Google rating badge under the hero signs */
.gbadge { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 16px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: #e9e1cf; text-decoration: none; font-family: var(--font-deco); font-size: 14px; letter-spacing: .04em; background: rgba(255,255,255,.03); }
.gbadge i { font-style: normal; color: #f2b632; letter-spacing: 1px; }
.gbadge b { font-size: 18px; color: #fff; }
.gbadge:hover { border-color: var(--brass); }

/* 众乐 — real-life crowd: one big photo + pinned old-photo snaps */
.crowd { background: var(--night-2); color: var(--paper); padding: clamp(40px, 7vw, 80px) 0; }
.crowd-main { position: relative; margin: 0; border: 1px solid var(--brass); padding: 8px; }
.crowd-main img { width: 100%; height: auto; object-position: center 40%; aspect-ratio: 3 / 2; object-fit: cover; max-height: 640px; }
.crowd-main .caption { position: absolute; left: 24px; top: 24px; max-width: 440px; background: rgba(11, 13, 18, .84); border: 1px solid var(--line); padding: 16px 20px; backdrop-filter: blur(4px); }
.crowd-main .caption h2 { font-family: var(--font-brush); font-weight: 400; font-size: clamp(28px, 4vw, 40px); margin: 0 0 4px; color: var(--brass-soft); }
html[lang="en"] .crowd-main .caption h2 { font-family: var(--font-deco); font-size: clamp(20px, 3vw, 28px); letter-spacing: .1em; text-transform: uppercase; }
.crowd-main .caption p { margin: 0; font-size: 15px; color: #d9d0bf; }
.crowd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 3vw, 28px); margin-top: clamp(-60px, -5vw, -24px); padding: 0 clamp(8px, 3vw, 40px); position: relative; }
.snap { margin: 0; background: #f6f1e6; padding: 8px 8px 30px; box-shadow: 0 10px 24px rgba(0,0,0,.45); transform: rotate(var(--r, 0deg)); position: relative; transition: transform .2s; }
.snap::before { content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: rgba(230, 211, 158, .75); transform: rotate(-4deg); }
.snap:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }
.snap img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.snap figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; color: var(--ink); font-family: var(--font-brush); font-size: 17px; }
html[lang="en"] .snap figcaption { font-family: var(--font-deco); font-size: 13px; letter-spacing: .06em; }
.crowd .credit { margin: 22px 0 0; font-size: 11px; color: #7d766a; text-align: right; }
@media (max-width: 820px) {
  .crowd-main .caption { position: static; max-width: none; border: 0; border-top: 1px solid var(--line); }
  .crowd-grid { grid-template-columns: 1fr 1fr; margin-top: 22px; }
}
/* booking page illustration band */
.book-art { background: var(--night); }
.book-art img { display: block; width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }
