:root {
  --ink: #0b0b0b;
  --muted: #616161;
  --accent: #1476ce;
  --soft: #f6f6f6;
  --line: #e8e8e8;
  --body: ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  --heading: 'Helvetica Neue', 'Arial Nova', Arial, 'PingFang SC', sans-serif;
  font: 16px/1.6 var(--body);
  background: #fff;
}
body { background: #fff; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.045em; }
.container { width: min(960px, calc(100% - 32px)); }
.site-header { position: sticky; top: 0; border: 0; background: #fffffff5; backdrop-filter: blur(14px); }
.header-inner { width: min(960px, calc(100% - 32px)); min-height: 52px; padding: 0; gap: 20px; }
.brand { font-weight: 550; font-size: 17px; letter-spacing: -.055em; gap: 7px; }
.brand-mark { width: 24px; height: 25px; border-radius: 6px; background: var(--ink); font-size: 20px; }
#main-nav { width: auto; order: initial; gap: 18px; font: 400 14px/1.4 var(--heading); border: 0; padding: 0; }
#main-nav a { transition: color 180ms; }
#main-nav a:hover, #main-nav [aria-current=page] { color: var(--accent); text-underline-offset: 5px; }
.saved-link { background: var(--accent); color: white; padding: 6px 12px; border-radius: 30px; font: 500 14px/1.4 var(--heading); margin-left: 0; }
.saved-link span { background: #ffffff20; color: white; }
.menu-button { border: 0; background: var(--soft); border-radius: 24px; padding: 9px 13px; }
.home-hero { display: block; padding: 75px 0 0; }
.hero-copy { width: min(760px,100%); padding: 0; text-align: center; margin: auto; }
.hero-copy>.eyebrow { display: inline-block; background: #f0f0f0; color: #555; border-radius: 35px; font-size: 14px; text-transform: none; letter-spacing: 0; padding: 7px 15px; }
.hero-copy h1 { font-size: 62.4px; line-height: 1.2; max-width: 740px; margin: 20px auto 30px; letter-spacing: -.048em; }
.hero-lede { font-size: 19px; line-height: 1.5; max-width: 550px; margin: 0 auto; color: var(--muted); }
.hero-search { width: min(630px,100%); margin: 32px auto 0; }
.hero-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero-search>div { height: 60px; padding: 6px; border: 1px solid #eaeaea; border-radius: 86px; box-shadow: 0 1px 4px #00000005; gap: 8px; }
.hero-search input { font: 400 18px/1.4 var(--body); padding: 9px 4px; }
.hero-search button { background: var(--ink); color: white; border-radius: 86px; padding: 10px 22px; font-weight: 400; transition: background 180ms, transform 180ms; }
.hero-search button:hover { background: #303030; }
.hero-search button:active { transform: scale(.97); }
.hero-search>div:focus-within { outline: 0; border-color: #278eff73; box-shadow: 0 0 0 3px #278eff14; }
.search-icon { margin-left: 14px; color: #666; }
.popular { justify-content: center; margin: 17px auto 0; font-size: 13px; gap: 6px; }
.popular a { background: none; color: #555; padding: 4px 7px; }
.popular a:hover { background: var(--soft); }
.hero-feature { position: relative; left: 50%; transform: translateX(-50%); width: min(1160px,calc(100vw - 48px)); margin-top: 76px; border: 1px solid #ededed; border-radius: 12px; background: #f6f6f6; padding: 18px; }
.feature-label { font-size: 12px; letter-spacing: .07em; padding: 1px 5px 12px; }
.hero-feature>a { display: grid; grid-template-columns: 1.45fr 1fr; align-items: stretch; gap: 18px; }
.hero-image { aspect-ratio: 1.6; border-radius: 8px; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 30px; border-radius: 8px; background: #fff; }
.feature-copy h2 { font-size: 38px; line-height: 1.14; }
.feature-copy>p { margin-top: 8px; }
.feature-copy>p:last-child { color: var(--muted); font-size: 17px; line-height: 1.6; }
.home-section { margin-top: 90px; scroll-margin-top: 76px; }
.home-hero+.home-section { margin-top: 90px; }
.section-heading { margin-bottom: 26px; }
.section-heading h2 { font-size: 38px; }
.text-link { font-size: 15px; color: var(--accent); }
.card-grid { gap: 18px 14px; }
.dish-card { border: 1px solid #eee; border-radius: 8px; background: #fff; overflow: hidden; transition: border-color 180ms, box-shadow 180ms; }
.dish-card:hover { border-color: #d3d3d3; box-shadow: 0 5px 24px #00000008; }
.card-photo { border-radius: 0; aspect-ratio: 1 / 1; }
.card-copy { padding: 17px 18px 19px; }
.card-copy .eyebrow { font-size: 12px; color: #767676; letter-spacing: .04em; text-transform: none; }
.card-copy h3 { font-size: 24px; font-weight: 450; line-height: 1.18; margin: 7px 0; }
.card-copy .zh { font-size: 16px; color: #626262; }
.card-description { font-size: 15px; line-height: 1.55; color: var(--muted); }
.save { border-radius: 30px; transition: color 180ms, background 180ms, transform 180ms; }
.save:active { transform: scale(.96); }
.save[aria-pressed=true] { background: var(--accent); border-color: var(--accent); }
.button { border-radius: 50px; padding: 10px 21px; font-weight: 500; transition: background 180ms, transform 180ms; }
.button:hover { background: #0862ad; }
.button:active { transform: scale(.98); }
.page-intro { max-width: 800px; margin: auto; padding: 65px 0 42px; text-align: center; }
.page-intro h1 { margin: 14px auto 20px; font-size: 54px; line-height: 1.14; }
.page-intro .lede { margin: auto; }
.lede { font-size: 18px; color: var(--muted); line-height: 1.6; }
.topic-links { justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 24px; padding: 4px; background: #f1f1f1; border-radius: 30px; }
.topic-links a { padding: 7px 18px; border: 0; border-radius: 30px; font-size: 15px; transition: background 180ms, color 180ms, box-shadow 180ms; }
.topic-links [aria-current=page] { color: var(--ink); background: #fff; box-shadow: 0 1px 5px #00000012; }
.catalog-tools { gap: 10px; border: 0; border-radius: 12px; padding: 18px; background: #f7f7f7; }
.catalog-tools label { color: #666; font-size: 13px; }
.catalog-tools input, .catalog-tools select { font-size: 15px; border: 1px solid #dedede; border-radius: 8px; min-height: 44px; }
.reset-button { border: 0; color: #555; }
.catalog-meta { font-size: 14px; margin: 20px 0 14px; }
.breadcrumbs { padding-top: 24px; font-size: 13px; }
.article-title { max-width: 810px; }
.article-title .page-intro { padding: 20px 0 0; }
.article-title .page-intro h1 { font-size: 50px; }
.article-cover { border-radius: 8px; }
.source-layout { grid-template-columns: 180px minmax(0,680px); gap: 50px; justify-content: space-between; }
.toc { top: 80px; }
.toc a { font-size: 14px; line-height: 1.5; }
.imported-content { font-size: 18px; line-height: 1.8; color: #383838; }
.imported-content h2 { font-size: 31px; letter-spacing: -.035em; margin-top: 30px; }
.imported-content h3 { font-size: 24px; letter-spacing: -.03em; }
.imported-content article, .imported-content section { scroll-margin-top: 82px; }
.imported-content table { font-size: 15px; }
.dish-hero { gap: 45px; }
.dish-visual { border-radius: 10px; }
.dish-intro h1 { font-size: 45px; line-height: 1.14; }
.dish-intro .lede { font-size: 18px; }
.source-facts { border-color: var(--line); }
.source-subtitle { font-size: 20px; }
.big-chinese { font-size: 29px; }
.copy-name { border-radius: 30px; font-size: 14px; padding: 9px 15px; }
.ordering-phrase { background: #f5f5f5; border: 1px solid #ededed; border-radius: 8px; }
.ordering-phrase h2 { font-size: 28px; }
.table-banner { background: #f6f6f6; border: 1px solid #ededed; border-radius: 8px; padding: 36px; }
.table-banner h2 { font-size: 38px; }
.site-footer { margin-top: 90px; border-color: var(--line); }
.footer-inner nav { font-size: 14px; }
.air-detail-body { overflow: hidden; }
@media(max-width:950px) {
  #main-nav { gap: 12px; font-size: 13px; }
  .header-inner { gap: 12px; }
  .brand { font-size: 16px; }
  .catalog-tools { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .catalog-tools .catalog-query { grid-column: 1/-1; }
}
@media(max-width:760px) {
  .home-hero { padding-top: 44px; }
  .hero-copy h1 { font-size: 46px; max-width: 580px; }
  .hero-feature { width: calc(100vw - 32px); margin-top: 46px; padding: 12px; }
  .hero-feature>a { gap: 12px; }
  .feature-copy { padding: 20px; }
  .feature-copy h2 { font-size: 28px; }
  .feature-copy>p:last-child { font-size: 15px; }
  .hero-image { aspect-ratio: 1.15; }
  .home-section, .home-hero+.home-section { margin-top: 58px; }
  .source-layout { grid-template-columns: 1fr; gap: 26px; }
  .toc { position: static; }
  .dish-hero { grid-template-columns: 1fr; gap: 24px; }
  .dish-visual { aspect-ratio: 1.5; }
  .section-heading h2 { font-size: 31px; }
  .page-intro { padding-top: 40px; }
  .page-intro h1, .article-title .page-intro h1 { font-size: 42px; }
}
@media(max-width:700px) {
  .header-inner { flex-wrap: wrap; min-height: 56px; padding: 7px 0; }
  #main-nav { width: 100%; order: 3; padding: 10px 0; gap: 15px; font-size: 14px; justify-content: flex-start; }
  .menu-button { margin-left: auto; }
  .hero-feature>a { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 1.6; }
  .feature-copy { padding: 24px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .card-copy { padding: 13px; }
  .card-copy h3 { font-size: 21px; }
  .card-copy .card-description { display: -webkit-box; -webkit-line-clamp: 2; }
  .hero-search input { font-size: 16px; }
  .catalog-tools { padding: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:400px) {
  .brand { font-size: 15px; }
  .header-inner { gap: 8px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-lede { font-size: 17px; }
  .hero-search button { padding-inline: 16px; }
  .page-intro h1, .article-title .page-intro h1, .dish-intro h1 { font-size: 36px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-photo { aspect-ratio: 1 / 1; }
  .section-heading h2 { font-size: 28px; }
}
@media(prefers-reduced-motion:reduce) {
  html, :root { scroll-behavior: auto; }
  *, *:before, *:after { animation: none!important; transition: none!important; }
}
.hero-feature { transform: none; translate: -50% 0; }
.toc a[aria-current=location] { color: var(--accent); font-weight: 600; }
.toc-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: transparent; padding: 10px 0; color: var(--ink); font-size: 16px; text-align: left; }
.toc-toggle span { color: var(--accent); font-size: 22px; }
@media(max-width:760px) {
  .toc:has(.toc-toggle:not([hidden])) .toc-label { display: none; }
  .toc .toc-collapsed { display: none; }
  .toc nav { padding-bottom: 10px; }
}
/* Food detail hierarchy and compact ingredient references. */
.food-cover { position: relative; width: min(1160px,calc(100vw - 32px)); margin: 18px 0 0; left: 50%; translate: -50% 0; overflow: hidden; border-radius: 12px; background: #292929; }
.food-cover-image { height: 420px; }
.food-cover-image img { object-fit: cover; object-position: center 55%; }
.food-cover:after { content: ''; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent,#000b); pointer-events: none; }
.food-cover-title { position: absolute; z-index: 1; bottom: 30px; left: 36px; right: 36px; color: white; }
.food-cover-title h1 { font-size: clamp(32px,4.2vw,52px); line-height: 1.1; margin-bottom: 14px; letter-spacing: -.045em; text-shadow: 0 2px 14px #0002; }
.food-cover-title>div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.food-cover-title .big-chinese { font-size: 24px; margin: 0; }
.food-cover-title .pinyin { color: #ffffffe0; font-size: 15px; }
.food-region { position: absolute; z-index: 1; left: 26px; top: 24px; padding: 7px 13px; background: #ffffffeb; border-radius: 30px; color: var(--ink); text-decoration: none; font-size: 14px; }
.food-introduction { padding: 34px 0 0; }
.food-introduction .source-subtitle { font-size: 21px; font-weight: 500; color: var(--ink); margin: 0 0 12px; }
.food-introduction .lede { max-width: 840px; font-size: 19px; }
.food-introduction .source-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; margin: 24px 0 16px; overflow: hidden; }
.food-introduction .source-facts>div { padding: 14px 20px; border-right: 1px solid var(--line); }
.food-introduction .source-facts>div:last-child { border: 0; }
.food-introduction .source-facts dd { font-size: 18px; margin-top: 3px; }
.food-introduction .dish-actions { margin-top: 18px; gap: 12px; }
.food-introduction .save { border: 1px solid var(--line); padding: 10px 16px; font-size: 15px; }
.food-detail-page .breadcrumbs { padding-top: 28px; }
.food-detail-page .source-layout { margin-top: 16px; }
.food-detail-page .imported-content>article>section { padding-top: 26px; border-top: 1px solid var(--line); margin-bottom: 30px; }
.food-detail-page .imported-content>article>section:first-child { padding-top: 0; border: 0; }
.food-detail-page #ingredients>div>div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.food-detail-page #ingredients>div>div>a { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.food-detail-page #ingredients>div>div>a:hover { background: var(--soft); }
.food-detail-page #ingredients a img { width: 56px; height: 56px; aspect-ratio: 1; object-fit: cover; margin: 0; border-radius: 6px; flex: 0 0 56px; }
.food-detail-page #ingredients a strong { font-weight: 500; display: block; }
.food-detail-page #ingredients a span[lang] { color: var(--muted); display: block; margin-top: 4px; font-size: 14px; }
.food-detail-page #at-the-table>div { background: #f6f6f6; border-radius: 8px; padding: 18px 20px; margin-bottom: 12px; }
.food-detail-page #at-the-table>div>strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 16px; }
.food-detail-page #at-the-table>div>p:last-child { margin-bottom: 0; }
.food-detail-page #food-101>p:first-child { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
@media(max-width:760px) {
  .food-cover { margin-top: 8px; }
  .food-cover-image { height: 380px; }
  .food-cover-title { left: 22px; right: 22px; bottom: 24px; }
  .food-cover-title h1 { font-size: 36px; }
  .food-cover-title .big-chinese { font-size: 22px; }
  .food-region { left: 18px; top: 18px; }
  .food-introduction { padding-top: 25px; }
  .food-introduction .source-facts>div { padding: 12px; }
  .food-introduction .lede { font-size: 18px; }
  .food-detail-page #ingredients>div>div { grid-template-columns: 1fr; }
  .food-detail-page .imported-content h2 { font-size: 28px; }
}
.food-introduction .source-facts { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); }
/* Shared detail and content-card resilience. */
.imported-content details { overflow: clip; }
.imported-content section > div > article { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.imported-content section > div > article>a { display: block; text-decoration: none; }
.imported-content section > div > article img { margin: 0; max-height: none; aspect-ratio: 1; border-radius: 0; }
.imported-content section > div > article>a>div:last-child { padding: 14px; }
.imported-content section > div > article span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.food-cover { min-height: 420px; }
.food-cover-title { overflow-wrap: anywhere; }
.food-cover-title h1 { font-size: clamp(30px,4vw,48px); }
@media(max-width:760px) {
 .food-cover { display: flex; align-items: end; min-height: 380px; }
 .food-cover-image { position: absolute; inset: 0; height: 100%; }
 .food-cover-title { position: relative; left: auto; right: auto; bottom: auto; padding: 200px 22px 24px; width: 100%; }
 .food-cover-title h1 { font-size: 34px; }
 .imported-content section > div:has(> article) { gap: 12px; }
 .imported-content section > div > article h3 { font-size: 20px; }
}
.source-layout > * { min-width: 0; }
@media(max-width:760px) { .source-layout { grid-template-columns: minmax(0,1fr); } }
/* Destination discovery: AirBuild WEB-01/02/06, white canvas adaptation. */
.destination-explorer { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:28px; align-items:start; }
.destination-map-panel { background:#f7f7f7; border:1px solid var(--line); border-radius:8px; padding:22px; }
.region-picker { display:grid; gap:8px; font-size:14px; }
.region-picker select,.destination-search input { min-width:0; width:100%; min-height:46px; padding:10px 14px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--ink); font:inherit; }
.region-picker select { max-width:280px; }
.map-caption { font-size:14px; color:var(--muted); margin:18px 0 0; }
.region-map { display:block; width:100%; height:auto; margin-top:8px; overflow:visible; }
.region-map path { fill:#dedede; stroke:white; stroke-width:2; stroke-linejoin:round; transition:fill 180ms ease; }
.region-map [data-region] { cursor:pointer; }
.region-map [data-region]:hover path,.region-map [data-region]:focus-visible path { fill:#a7cdf5; }
.region-map [data-region][aria-pressed=true] path { fill:var(--accent); }
.region-map [data-region]:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.region-map line,.region-map polyline { stroke:#9b9b9b; stroke-width:2; fill:none; }
.region-map circle { fill:#9b9b9b; }
.region-map rect { fill:white; }
.region-map text { fill:var(--ink); font:20px Arial,sans-serif; text-anchor:middle; }
.region-map [aria-pressed=true] text { fill:var(--accent); font-weight:700; }
.destination-preview { min-width:0; }
.destination-preview-cover { display:block; position:relative; overflow:hidden; border-radius:8px; color:white; }
.destination-preview-cover img { width:100%; height:240px; object-fit:cover; }
.destination-preview-cover:after { content:'';position:absolute;inset:20% 0 0;background:linear-gradient(transparent,#000b);pointer-events:none; }
.destination-preview-cover>div { position:absolute;left:22px;right:22px;bottom:20px;z-index:1; }
.destination-preview-cover .eyebrow { color:white; font-size:12px; }
.destination-preview-cover h2 { font-size:36px;line-height:1.1;margin:8px 0;overflow-wrap:anywhere; }
.destination-preview-cover p { margin:0; }
.destination-preview-food { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 20px; }
.destination-preview-food a { text-decoration:none;min-width:0; }
.destination-preview-food img { width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px; }
.destination-preview-food h3 { font-size:17px;line-height:1.35;margin:10px 0 5px; }
.destination-preview-food p { font-size:14px;color:var(--muted);margin:0; }
.destination-search { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:0 0 24px;max-width:630px;align-items:end; }
.destination-search label { grid-column:1/-1;font-size:14px;color:var(--muted); }
.destination-grid>li>a { display:block;color:inherit;text-decoration:none; }
.destination-grid .card-copy h3 { margin:0 0 8px; }
.region-counts { color:var(--muted);font-size:15px;margin:10px 0 0; }
.quick-filters { justify-content:flex-start;margin:0 0 24px;flex-wrap:wrap; }
.global-search-tools { grid-template-columns:minmax(0,1fr) minmax(140px,.5fr) auto; }
@media(max-width:760px) {
 .destination-explorer { grid-template-columns:minmax(0,1fr);gap:20px; }
 .destination-map-panel { padding:16px; }
 .destination-preview-cover img { height:220px; }
 .destination-preview-cover h2 { font-size:32px; }
 .destination-preview .button { display:block;text-align:center; }
 .global-search-tools { grid-template-columns:minmax(0,1fr); }
 .destination-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
 .destination-grid .card-copy { padding:14px 12px; }
 .destination-grid .card-copy h3 { font-size:20px; }
 .destination-grid .zh,.region-counts { font-size:14px; }
 .quick-filters { gap:8px; }
}
.global-search-tools .reset-button { grid-column:auto; }
/* Guide journal and practical reading: WEB-01/02/06/08 adaptations. */
.journal-links { display:flex;justify-content:center;gap:10px 24px;flex-wrap:wrap;margin:0 0 32px;font-size:15px; }
.journal-links a { color:var(--muted);text-decoration:none;padding:6px 0;border-bottom:1px solid transparent; }
.journal-links a:hover { color:var(--accent);border-color:currentColor; }
.journal-picks { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px; }
.journal-picks article { min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:white; }
.journal-picks article>a { display:grid;grid-template-columns:140px minmax(0,1fr);height:100%;color:inherit;text-decoration:none; }
.journal-picks article:first-child { grid-column:1/-1; }
.journal-picks article:first-child>a { grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center; }
.journal-image { align-self:start;aspect-ratio:1;overflow:hidden; }
.journal-image img { aspect-ratio:1;transition:transform 440ms cubic-bezier(.16,1,.3,1); }
.journal-picks a:hover img { transform:scale(1.025); }
.journal-copy { padding:24px; }
.journal-copy .eyebrow { color:var(--muted);font-size:12px; }
.journal-copy h2 { font-size:26px;line-height:1.2;margin:12px 0 18px; }
.journal-copy>p:not(.eyebrow) { color:var(--muted);font-size:17px;line-height:1.6; }
.journal-copy .text-link { display:inline-block;margin-top:12px;font-size:15px; }
.journal-picks article:first-child h2 { font-size:38px; }
.journal-picks article:not(:first-child) .journal-copy>p:not(.eyebrow) { display:none; }
.journal-picks article:not(:first-child) .journal-copy { padding:18px; }
.journal-picks article:not(:first-child) h2 { font-size:23px; }
.guide-library-heading { margin-top:64px; }
.catalog-tools.guide-tools { grid-template-columns:minmax(0,1fr) minmax(180px,.5fr) auto; }
.reading-meta { display:flex;align-items:center;justify-content:center;gap:20px;margin:24px 0 0;color:var(--muted);font-size:14px; }
.reading-meta .save { border:1px solid var(--line);padding:8px 14px; }
.imported-content .phrase-card { background:#f7f7f7;border:1px solid var(--line);border-radius:8px;padding:20px;margin:20px 0; }
.imported-content .phrase-card p[lang^=zh] { font-size:27px;line-height:1.6;color:var(--ink);margin:0 0 10px; }
.imported-content .phrase-card p:not([lang]) { font-size:16px;color:var(--muted);margin:8px 0; }
.imported-content .phrase-card .phrase-copy { margin-top:12px;background:white; }
.dining-page .imported-content details { border:0;border-top:1px solid var(--line);margin:0; }
.dining-page .imported-content summary { display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:18px;align-items:center;list-style:none;padding:24px 0;font-weight:400; }
.dining-page .imported-content summary::-webkit-details-marker { display:none; }
.dining-page .imported-content summary>span:first-child { display:none; }
.dining-page .imported-content summary>span:last-child { display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--soft);color:var(--accent);font-size:24px; }
.dining-page .imported-content summary h2 { font-size:25px;line-height:1.3;margin:0 0 8px; }
.dining-page .imported-content summary p { font-size:16px;color:var(--muted);line-height:1.5;margin:0; }
.dining-page .air-detail-body { padding:0 0 20px; }
.imported-content [id],.ordering-phrase,#guide-library,#editors-picks { scroll-margin-top:85px; }
.imported-content figure { margin:24px 0; }
.imported-content figcaption { color:var(--muted);font-size:14px;line-height:1.5; }
.imported-content table:focus-visible { outline:2px solid var(--accent);outline-offset:4px; }
@media(max-width:760px){
 .journal-links { gap:6px 18px;justify-content:flex-start; }
 .journal-picks { grid-template-columns:minmax(0,1fr);gap:16px; }
 .journal-picks article:first-child>a { display:block; }
 .journal-picks article>a { grid-template-columns:100px minmax(0,1fr); }
 .journal-copy { padding:20px; }
 .journal-picks article:first-child h2 { font-size:30px; }
 .journal-picks article:not(:first-child) h2 { font-size:21px; }
 .catalog-tools.guide-tools { grid-template-columns:minmax(0,1fr) auto; }
 .catalog-tools.guide-tools .catalog-query { grid-column:1/-1; }
 .catalog-tools.guide-tools .reset-button { grid-column:auto; }
 .reading-meta { justify-content:flex-start; }
 .imported-content .phrase-card { padding:16px; }
 .imported-content .phrase-card p[lang^=zh] { font-size:24px; }
 .imported-content [id],.ordering-phrase,#guide-library,#editors-picks { scroll-margin-top:125px; }
 .dining-page .imported-content summary h2 { font-size:23px; }
}
/* Collection filters and browser-local food plans. */
.catalog-quick,.plan-tabs { display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px; }
.catalog-quick button,.plan-tabs button { border:1px solid var(--line);border-radius:30px;background:white;padding:8px 15px;font-size:15px;transition:background 180ms,color 180ms; }
.catalog-quick button[aria-pressed=true],.plan-tabs button[aria-pressed=true] { color:white;background:var(--accent);border-color:var(--accent); }
.catalog-refinements { grid-column:1/-1; border:1px solid var(--line);border-radius:8px;padding:12px 16px; }
.catalog-refinements summary { cursor:pointer;font-size:15px; }
.catalog-refinements>div { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px; }
.catalog-refinements p { font-size:14px;color:var(--muted);margin:16px 0 0; }
.alphabet-filter { display:flex;flex-wrap:wrap;gap:4px;margin:28px 0 16px; }
.alphabet-filter button { display:grid;place-items:center;border:0;background:var(--soft);min-width:30px;min-height:36px;border-radius:5px;font-size:14px;padding:5px 8px; }
.alphabet-filter button[aria-pressed=true] { background:var(--accent);color:white; }
.alphabet-filter button:disabled { opacity:.35;cursor:default; }
.plan-storage-note { max-width:630px;margin:-24px auto 32px;text-align:center;color:var(--muted);font-size:14px; }
.plan-tabs span { display:inline-block;min-width:20px;margin-left:7px;font-size:13px; }
.plan-tools { display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.5fr);gap:16px;margin:24px 0; }
.plan-tools label,.trip-manager label,.plan-card-actions label { display:grid;gap:7px;font-size:14px;color:var(--muted); }
.plan-tools input,.plan-tools select,.trip-manager input,.plan-card-actions select { min-width:0;max-width:100%;width:100%;font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:7px;background:white;padding:10px 12px;min-height:44px; }
.trip-manager { margin:24px 0 36px;padding:24px;border:1px solid var(--line);border-radius:8px; }
.trip-manager h2 { font-size:28px;margin:0 0 20px; }
.trip-manager form>div { display:flex;gap:12px;margin:8px 0 20px; }
.trip-manager form input { flex:1; }
.trip-manager form button { flex:none; }
.trip-list { display:grid;gap:12px; }
.trip-list>div { display:flex;gap:16px;align-items:center;justify-content:space-between; }
.trip-list .copy-name { text-align:left;overflow-wrap:anywhere; }
.trip-list .copy-name[aria-pressed=true] { border-color:var(--accent);color:var(--accent); }
.trip-list .text-link { flex:none;border:0;background:none;font-size:14px; }
.plan-card-actions { padding:0 18px 18px;display:grid;gap:12px; }
.plan-card-actions .copy-name { text-align:left;justify-self:start; }
.plan-card-actions [aria-pressed=true] { color:var(--accent);border-color:var(--accent); }
.plan-card-actions .text-link { justify-self:start;border:0;background:none;padding:0;font-size:14px; }
.plan-backup { border-top:1px solid var(--line);padding-top:22px;margin:44px 0; }
.plan-backup summary { cursor:pointer;font-size:18px; }
.plan-backup p { font-size:15px;color:var(--muted);max-width:660px;margin:16px 0; }
.plan-backup>div { display:flex;gap:12px;flex-wrap:wrap;align-items:center; }
.backup-import { position:relative;cursor:pointer;overflow:hidden; }
.backup-import input { position:absolute;opacity:0;inset:0;width:100%;cursor:pointer; }
.backup-import:focus-within { outline:2px solid var(--accent);outline-offset:3px; }
@media(max-width:760px){
 .catalog-refinements>div { grid-template-columns:minmax(0,1fr); }
 .alphabet-filter { gap:5px; }
 .alphabet-filter button { min-width:32px;min-height:40px; }
 .plan-storage-note { margin-top:0;text-align:left; }
 .plan-tools { grid-template-columns:minmax(0,1fr); }
 .trip-manager { padding:18px; }
 .trip-manager form>div { flex-direction:column; }
 .trip-list>div { align-items:start; }
}
@media print {
 .site-header,.site-footer,.skip-link,.toast,.plan-tabs,.plan-tools,.plan-backup,.trip-manager,.plan-card-actions,.save,.plan-storage-note { display:none!important; }
 .saved-page .page-intro { padding:0;margin:0 0 20px;text-align:left; }
 .saved-page .page-intro h1 { font-size:30px; }
 .saved-page .card-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
 .saved-page .dish-card { break-inside:avoid; }
 .saved-page .card-photo { max-width:160px; }
 .saved-page .card-description { display:block; }
 .saved-page .zh { font-size:22px; }
}
.catalog-tools:has(.catalog-refinements)>.reset-button { grid-column:1/-1;justify-self:start; }
/* Food 101 is a three-story landing page, rather than a long article. */
.knowledge-page .source-layout { display:block; }
.knowledge-page .toc { display:none; }
.knowledge-page #editorial-content>div { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 44px; }
.knowledge-page #editorial-content>div>a { display:block;min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-decoration:none;color:var(--ink); }
.knowledge-page #editorial-content>div>a>span { display:block;position:relative; }
.knowledge-page #editorial-content>div>a>span>span { position:absolute;left:14px;top:14px;background:white;border-radius:30px;padding:4px 10px;font-size:12px; }
.knowledge-page #editorial-content>div img { display:block;width:100%;height:auto;aspect-ratio:1;max-height:none;object-fit:cover;margin:0;border-radius:0; }
.knowledge-page #editorial-content>div>a>div { padding:20px; }
.knowledge-page #editorial-content>div h3 { font-size:25px;line-height:1.2;margin:12px 0; }
.knowledge-page #editorial-content>div p { font-size:16px;line-height:1.6;color:var(--muted); }
.knowledge-page #editorial-content>div>a>div>span { font-size:13px;color:var(--muted); }
.knowledge-page #editorial-content>div>a>div>span:last-child { color:var(--accent);font-size:14px; }
.knowledge-page #editorial-content>section { border:1px solid var(--line);border-radius:8px;background:var(--soft);padding:28px; }
.knowledge-page #editorial-content>section h2 { margin-top:0; }
@media(max-width:760px){.knowledge-page #editorial-content>div { grid-template-columns:minmax(0,1fr); }.knowledge-page #editorial-content>section { padding:20px; }}
/* At-the-table Chinese display, using the existing white/blue control system. */
.chinese-display { width:min(760px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--line);border-radius:16px;background:white;color:var(--ink);overflow:auto; }
.chinese-display::backdrop { background:#0008; }
.chinese-display-header { display:flex;justify-content:space-between;align-items:center;gap:20px; }
.chinese-display-header p { margin:0; }
.chinese-display h2 { font-size:28px;line-height:1.3;margin:32px 0 24px; }
.chinese-display-tabs { display:flex;flex-wrap:wrap;gap:8px; }
.chinese-display-tabs button { border:1px solid var(--line);background:white;border-radius:30px;padding:8px 15px;font-size:15px; }
.chinese-display-tabs [aria-pressed=true] { background:var(--accent);color:white;border-color:var(--accent); }
.chinese-display-text { font-size:clamp(36px,8vw,80px);line-height:1.5;overflow-wrap:anywhere;margin:36px 0 18px; }
.chinese-display-pinyin { font-size:21px;color:var(--muted);margin:12px 0; }
.chinese-display-translation { font-size:18px;line-height:1.6;color:var(--muted);margin:16px 0 30px; }
.chinese-display-actions { display:flex;flex-wrap:wrap;gap:12px; }
.phrase-card>.copy-name { margin:12px 8px 0 0; }
[data-speak][aria-pressed=true] { color:var(--accent);border-color:var(--accent); }
.chili-heat { display:inline-flex;gap:5px;vertical-align:middle;margin-right:12px; }
.chili-heat>span { display:inline-block;width:22px;height:9px;border-radius:5px;background:#e7e7e7; }
.chili-heat>.filled { background:#c74732; }
.chili-heat-value { font-size:17px;color:var(--ink); }
@media(max-width:760px){
 .chinese-display { width:calc(100% - 16px);max-height:calc(100dvh - 16px);min-height:calc(100dvh - 16px);padding:20px;margin:auto; }
 .chinese-display h2 { font-size:23px; }
 .chinese-display-text { margin-top:44px; }
 .chinese-display-pinyin { font-size:18px; }
}
.chinese-display-status { min-height:24px;font-size:14px;color:var(--muted);margin:18px 0 0; }
/* Move from discovering a dish to a personal plan and map search. */
.nearby-panel { display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;padding:26px;margin:32px 0;border:1px solid var(--line);border-radius:8px;background:#fafafa; }
.nearby-panel h2 { font-size:28px;line-height:1.2;margin:12px 0; }
.nearby-panel p { font-size:15px;color:var(--muted); }
.nearby-form { display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.65fr);gap:14px;min-width:0; }
.nearby-form label { display:grid;gap:6px;font-size:14px;color:var(--muted); }
.nearby-form input,.nearby-form select { min-width:0;width:100%;padding:10px 12px;font:inherit;color:var(--ink);min-height:44px;border:1px solid var(--line);border-radius:7px;background:white; }
.nearby-query,.nearby-links,.nearby-search-status { grid-column:1/-1; }
.nearby-links { display:flex;flex-wrap:wrap;gap:10px;align-items:center; }
.nearby-links a { display:inline-flex;align-items:center;text-decoration:none; }
.nearby-links .button { font-size:15px;padding:8px 14px; }
.nearby-links [aria-disabled=true] { opacity:.4; }
.nearby-search-status { overflow-wrap:anywhere;margin:0; }
[data-detail-tried][aria-pressed=true] { color:var(--accent);border-color:var(--accent); }
.trip-picker { width:min(620px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);border:1px solid var(--line);border-radius:14px;padding:26px;background:white;color:var(--ink);overflow:auto; }
.trip-picker::backdrop { background:#0008; }
.trip-picker-header { display:flex;justify-content:space-between;align-items:center;gap:20px; }
.trip-picker-header p { margin:0; }
.trip-picker h2 { font-size:32px;margin:28px 0 10px; }
.trip-picker-dish { color:var(--muted);font-size:18px;margin-bottom:24px; }
.trip-picker fieldset { border:1px solid var(--line);border-radius:8px;padding:16px;min-width:0; }
.trip-picker legend { font-size:14px;color:var(--muted);padding:0 6px; }
[data-trip-choices] { display:grid;gap:12px; }
[data-trip-choices] label { display:flex;align-items:center;gap:12px;overflow-wrap:anywhere; }
[data-trip-choices] input { width:20px;height:20px;flex:none;accent-color:var(--accent); }
[data-trip-choices] span { flex:1;min-width:0; }
[data-trip-choices] small { color:var(--muted);font-size:13px;flex:none; }
[data-create-detail-trip] { margin:24px 0; }
[data-create-detail-trip]>label { font-size:14px;color:var(--muted); }
[data-create-detail-trip]>div { display:flex;gap:12px;margin-top:8px; }
[data-create-detail-trip] input { min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;padding:10px 12px;font:inherit; }
[data-create-detail-trip] button { flex:none; }
.trip-picker-note,[data-trip-picker-status] { color:var(--muted);font-size:14px;margin:14px 0 0; }
@media(max-width:760px){
 .nearby-panel { grid-template-columns:minmax(0,1fr);padding:20px;gap:12px; }
 .nearby-form { grid-template-columns:minmax(0,1fr); }
 .trip-picker { padding:20px; }
 [data-create-detail-trip]>div { flex-direction:column; }
 .trip-picker h2 { font-size:28px; }
}

/* Yum brand: approved blue 食 icon and wordmark; preserve site navigation. */
.brand .brand-logo{display:block;width:auto;height:32px;max-width:none;flex:none;object-fit:contain}
.brand .brand-chinese{font-size:14px;letter-spacing:0;font-weight:400;color:var(--muted)}
.site-footer .brand{flex-wrap:wrap;gap:12px;letter-spacing:0}
@media(max-width:360px){.brand .brand-logo{height:30px}}
