/* 灶边 Stoveside 本站样式（方向 A · 饮食杂志，用户 2026-11-29 选定）。通用组件在 assets/engine/style.css，不要改那份。
   规矩：照片当主角；细线和双细线；强调色辣椒红；深棕顶栏页尾；首页分类各自一个区块。首屏是深色木桌上的一圈盘子。 */

/* ---------- 全站 ---------- */
html{ overflow-x:clip; }
body{ background:var(--paper); font-family:var(--f-body); }
h1,h2,h3,.section-head h2,.note-head h1{ font-family:var(--f-head); font-weight:900; letter-spacing:.01em; }
.btn-primary{ background:var(--ink); color:#fff; border-color:var(--ink); border-radius:0; }
.btn-primary:hover{ background:var(--accent); border-color:var(--accent); color:#fff; }

/* ---------- 顶栏：酱油深棕 + 金线 ---------- */
:root{ --soy:#2A1D17; --cream-ink:#F3E9D8; --brass:#C9A46A; --cream:#F4ECDD; --blush:#F7E7DD; }
.topbar{ background:var(--soy); color:var(--cream-ink); border-bottom:1px solid var(--brass); box-shadow:inset 0 -5px 0 var(--soy),inset 0 -6px 0 rgba(201,164,106,.5); backdrop-filter:none; }
.topbar a,.topbar .tool,.topbar .app-title,.topbar .app-back{ color:var(--cream-ink); }
.topbar-inner{ padding-top:14px; padding-bottom:18px; }
.brand-icon{ width:52px; height:52px; flex:none; }
/* 深色底上的 logo：把生成器的纸色和墨色对调（颜色值要和 build_art.py 一致） */
.brand-icon [fill="#FCFBF8"]{ fill:var(--soy); }
.brand-icon [fill="#1B1A18"]{ fill:var(--cream-ink); }
.brand-icon [stroke="#1B1A18"]{ stroke:var(--cream-ink); }
.brand-icon [stroke="#B3261E"]{ stroke:#E5634F; }
.brand-name{ display:block; font-family:var(--f-head); font-weight:900; font-size:1.55rem; line-height:1.15; letter-spacing:.14em; color:var(--cream-ink); }
.brand-sub{ display:block; font:700 .62rem/1.4 var(--f-num); letter-spacing:.42em; color:var(--cream-ink); border-top:1px solid currentColor; padding-top:2px; margin-top:1px; }
/* 菜单：衬线字；悬停 = 上下两道金线从中间展开 + 小菱形；当前分类 = 从顶边垂下来的红书签 */
.topnav{ gap:2px; }
.topnav-link{ position:relative; z-index:0; padding:11px 16px; font:700 1rem/1.5 var(--f-head); letter-spacing:.08em; color:var(--cream-ink); background:none; border:0; border-radius:0; box-shadow:none; text-decoration:none; transition:color .25s; }
.topnav-link::before{ content:""; position:absolute; left:10px; right:10px; top:3px; bottom:3px; border-block:1px solid var(--brass); transform:scaleX(0); transition:transform .35s cubic-bezier(.2,.8,.2,1); z-index:-1; }
.topnav-link::after{ content:""; position:absolute; left:50%; bottom:0; width:7px; height:7px; margin-left:-3.5px; background:var(--brass); transform:rotate(45deg) scale(0); transition:transform .25s .1s; }
.topnav-link:hover,.topnav-link:focus-visible{ color:#FFD79A; background:none; }
.topnav-link:hover::before,.topnav-link:focus-visible::before{ transform:scaleX(1); }
.topnav-link:hover::after,.topnav-link:focus-visible::after{ transform:rotate(45deg) scale(1); }
.topnav-link.is-active{ color:#fff; background:none; }
.topnav-link.is-active::before{ left:4px; right:4px; top:-18px; bottom:-6px; border:0; transform:none; background:var(--accent); clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 9px),0 100%); }
.topnav-link.is-active::after{ display:none; }
.topbar .tool{ border:1px solid transparent; border-radius:50%; transition:border-color .25s,color .25s,transform .25s; }
.topbar .tool:hover{ color:#FFD79A; background:none; border-color:var(--brass); transform:translateY(-2px); }
.topbar .brand-icon{ transition:transform .5s cubic-bezier(.3,1.6,.5,1); }
.topbar .brand:hover .brand-icon{ transform:rotate(-8deg) scale(1.06); }
@media (prefers-reduced-motion:reduce){ .topnav-link,.topnav-link::before,.topnav-link::after,.topbar .tool,.topbar .brand-icon{ transition:none; } }
/* 本站只做亮色：把设置里的「外观」一行藏起来（引擎的设置抽屉，不改引擎；site.js 另外锁定亮色） */
.set-row:has([data-seg="mode"]){ display:none; }
@media (max-width:899px){ .topbar-inner{ padding-top:8px; padding-bottom:12px; } .brand-icon{ width:40px; height:40px; } .brand-name{ font-size:1.2rem; } }

/* ---------- 首页 ---------- */
body[data-active="home"] main#main{ padding:0; }
/* 首屏「一桌好菜」：深色木桌（照片）+ 一圈瓷盘 + 中间标题 */
.zb-feast{ position:relative; overflow:hidden; isolation:isolate; height:max(660px,calc(100vh - 180px)); max-height:880px; color:#FFF6E8; background:#2A160B; }
.zb-feast::before{ content:""; position:absolute; inset:0; z-index:-2; background:url("https://images.pexels.com/photos/3800260/pexels-photo-3800260.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1100") center/cover; filter:saturate(.9) brightness(.62) contrast(1.1); }
.zb-feast::after{ content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(520px 400px at 50% 40%,rgba(255,196,120,.30),transparent 70%),radial-gradient(ellipse 78% 74% at 50% 46%,rgba(30,14,5,.30) 30%,rgba(10,4,1,.90) 100%); }
.zb-mid{ position:absolute; inset:0; z-index:3; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:0 20px 20px; text-align:center; pointer-events:none; }
.zb-mid > *{ pointer-events:auto; }
.zb-kicker{ display:flex; align-items:center; gap:14px; margin:0 0 22px; font:700 .82rem var(--f-body); letter-spacing:.42em; color:#E9C48A; }
.zb-kicker::before,.zb-kicker::after{ content:""; width:46px; height:1px; background:var(--brass); }
.zb-feast h1{ margin:0; max-width:16em; font-size:clamp(32px,4vw,60px); line-height:1.46; letter-spacing:.01em; color:#FFF6E8; text-shadow:0 6px 24px rgba(0,0,0,.8); }
.zb-feast h1 span{ display:block; } .zb-feast h1 em{ font-style:normal; color:#FFB25C; white-space:nowrap; }
.zb-sub{ margin:18px 0 28px; max-width:30em; font-size:1.03rem; line-height:1.8; color:#EBDFCB; text-shadow:0 2px 12px #000; }
.zb-find-box{ display:flex; align-items:center; gap:14px; width:min(440px,100%); padding:7px 7px 7px 22px; background:#FFF9EF; color:#6b6259; font:inherit; font-size:.97rem; text-align:left; border:0; cursor:pointer;
  box-shadow:0 24px 44px -18px #000,0 0 0 1px var(--brass),0 0 0 6px rgba(201,164,106,.22); }
.zb-find-box svg{ flex:none; color:var(--ink); } .zb-find-box span{ flex:1; min-width:0; }
.zb-find-box b{ padding:11px 26px; background:var(--accent); color:#fff; font:700 .95rem var(--f-head); letter-spacing:.2em; transition:background .2s; }
.zb-find-box:hover b{ background:var(--accent-ink); }

.zb-ring{ display:contents; }
.zb-disc{ position:absolute; z-index:2; left:var(--x); top:var(--y); width:min(calc(var(--w) * 1px),calc(var(--w) / 14.4 * 1vw),calc(var(--w) / 7.7 * 1vh)); color:inherit; text-decoration:none;
  animation:zbDrop .9s cubic-bezier(.2,.9,.3,1.1) both; animation-delay:calc(var(--n) * .09s); }
@keyframes zbDrop{ from{ opacity:0; transform:translateY(-34px) scale(1.18); } }
.zb-disc-dish{ position:relative; display:block; aspect-ratio:1; padding:5%; border-radius:50%; background:radial-gradient(circle at 34% 28%,#fff,#F1EADB 78%);
  box-shadow:0 30px 34px -16px rgba(0,0,0,.85),0 6px 10px rgba(0,0,0,.35),inset 0 0 0 2px #D8CDB5; transition:transform .45s; }
.zb-disc-dish::before{ content:""; position:absolute; inset:2.6%; border-radius:50%; border:1.5px solid #2F4F7A; }
.zb-disc-dish img{ display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; filter:saturate(1.18) contrast(1.07); }
.zb-disc:hover .zb-disc-dish,.zb-disc:focus-visible .zb-disc-dish{ transform:rotate(10deg) scale(1.05); }
.zb-disc-name{ position:relative; left:50%; display:block; width:max-content; max-width:150%; margin-top:-16px; padding:5px 16px 6px; transform:translateX(-50%); background:#FFF9EF; color:var(--ink);
  border:1px solid var(--brass); box-shadow:0 10px 16px -8px #000; font:700 1rem/1.35 var(--f-head); text-align:center; }
.zb-disc-name small{ display:block; font:700 .62rem var(--f-body); letter-spacing:.18em; color:var(--accent); }
.zb-disc:hover .zb-disc-name{ background:var(--accent); color:#fff; } .zb-disc:hover .zb-disc-name small{ color:#FFD9C2; }
.zb-prop{ position:absolute; z-index:1; filter:drop-shadow(0 10px 8px rgba(0,0,0,.6)); }
.zb-prop.chop{ width:34px; height:220px; left:19.5%; top:31%; transform:rotate(14deg); }
.zb-prop.a1{ width:56px; left:61.5%; top:5%; } .zb-prop.a2{ width:40px; left:78%; top:46%; transform:rotate(30deg); } .zb-prop.a3{ width:46px; left:37%; top:87%; }
@media (min-width:1101px){
  .zb-disc.p4,.zb-disc.p7{ top:auto; bottom:6%; }
  .zb-disc.p5,.zb-disc.p6{ top:auto; bottom:2.5%; } .zb-disc.p5{ margin-left:-44px; } .zb-disc.p6{ margin-left:20px; }
}

/* 首屏下面的横条 */
.zb-strip{ background:#1E120B; color:#FFF6E8; border-top:1px solid var(--brass); border-bottom:1px solid var(--brass); }
.zb-strip .in{ display:flex; max-width:var(--page-w); margin:0 auto; padding:0 var(--gutter); overflow-x:auto; }
.zb-strip .lead{ align-self:center; padding-right:22px; font-size:.75rem; letter-spacing:.3em; color:var(--brass); white-space:nowrap; }
.zb-strip .in > a,.zb-mark{ flex:1; min-width:max-content; padding:14px 20px; border-left:1px solid rgba(201,164,106,.3); font:700 1rem/1.5 var(--f-head); color:inherit; text-decoration:none; transition:background .2s; }
.zb-strip small{ display:block; font:700 .68rem var(--f-body); color:#FF9A5C; margin-bottom:2px; }
.zb-strip .in > a:hover{ background:rgba(179,38,30,.7); color:#fff; } .zb-strip .in > a:hover small{ color:#FFD9C2; }
.zb-mark{ position:relative; background:var(--accent); border-left:0; }
.zb-mark small{ color:#FFD9C2; }
.zb-mark a{ display:block; color:#fff; text-decoration:none; } .zb-mark a::after{ content:""; position:absolute; inset:0; }
.zb-mark span{ position:absolute; right:12px; top:15px; font:400 .68rem var(--f-body); color:#FFD9C2; } .zb-mark span:empty{ display:none; }
.zb-resume{ padding-right:96px; }
.zb-mark:hover{ background:var(--accent-ink); }
.zb-resume[hidden],.zb-resume:not([hidden]) + .zb-first{ display:none; }

@media (max-width:1100px){
  .zb-feast{ display:flex; flex-direction:column; height:auto; max-height:none; }
  .zb-mid{ position:static; order:2; padding:34px 20px; }
  .zb-ring{ display:flex; justify-content:center; align-items:flex-start; gap:3%; padding:24px 3% 0; }
  .zb-ring.b{ order:3; padding:0 3% 34px; }
  .zb-disc{ position:static; width:23%; max-width:220px; } .zb-ring .zb-disc:nth-child(even){ margin-top:28px; }
  .zb-prop{ display:none; }
  .zb-strip .lead{ display:none; } .zb-strip .in{ padding:0; }
  .zb-mark{ order:-1; flex:none; }
}
@media (max-width:640px){
  .zb-feast h1{ font-size:32px; line-height:1.55; } .zb-feast h1 i{ display:block; }
  .zb-ring{ gap:2.5%; padding-inline:2%; } .zb-disc{ width:31%; } .zb-ring .zb-disc:nth-child(4){ display:none; }
  .zb-disc-name{ max-width:118%; margin-top:-10px; padding:3px 8px 4px; font-size:.78rem; } .zb-disc-name small{ font-size:.54rem; }
  .zb-sub{ font-size:.9rem; } .zb-find-box{ padding-left:14px; font-size:.88rem; } .zb-find-box b{ padding:11px 14px; }
  .zb-kicker{ letter-spacing:.24em; font-size:.72rem; } .zb-kicker::before,.zb-kicker::after{ width:20px; }
}
@media (prefers-reduced-motion:reduce){ .zb-disc{ animation:none; } .zb-disc-dish,.zb-strip .in > a,.zb-mark{ transition:none; } }

/* 各分类区块：浅深交替，每个一个场景，标题和按钮位置各不相同 */
.zb-band{ position:relative; overflow:hidden; padding:58px 0 64px; border-top:1px solid var(--line); }
.zb-band > .wrap{ position:relative; }
.zb-band.paper{ background:var(--paper); }
.zb-band.soy{ background:var(--soy); color:var(--cream-ink); border-top-color:var(--brass); }

/* 书签缎带按钮 */
.zb-ribbon{ display:inline-flex; align-items:center; min-height:48px; padding:0 46px 0 36px; background:var(--accent); color:#fff; font:700 1.05rem var(--f-head); letter-spacing:.14em; text-decoration:none; white-space:nowrap;
  clip-path:polygon(0 0,100% 0,calc(100% - 16px) 50%,100% 100%,0 100%); transition:padding .25s,background .25s; }
.zb-ribbon:hover{ padding:0 54px 0 44px; background:var(--accent-ink); color:#fff; }
.zb-ribbon:focus-visible{ outline:2px solid var(--brass); outline-offset:-6px; }

/* 食材：横排标题 */
.zb-head{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 18px; margin-bottom:30px; padding-bottom:16px; border-bottom:3px double currentColor; }
.zb-head > img{ width:84px; height:84px; flex:none; }
.zb-head h2{ margin:0; font-size:2.1rem; line-height:1.3; } .zb-head p{ margin:0; font-size:.9rem; opacity:.75; }
.zb-head .zb-ribbon{ margin-left:auto; }

/* 场景区块的标题 */
.zb-title img{ width:84px; height:84px; object-fit:contain; }
.zb-title h2{ margin:6px 0 0; font-size:2.6rem; line-height:1.3; letter-spacing:.12em; }
.zb-title small{ display:block; font:400 .68rem var(--f-num); letter-spacing:.44em; color:var(--accent); }
.zb-title p{ margin:14px 0 0; max-width:17em; font-size:.95rem; opacity:.8; }

/* 食材圆形摊位 */
.zb-stall{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:28px 22px; text-align:center; }
.zb-round{ color:var(--ink); text-decoration:none; }
.zb-round figure{ margin:0; aspect-ratio:1; border-radius:50%; border:1px solid var(--ink); padding:6px; background:#fff; transition:transform .3s; }
.zb-round img{ display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.zb-round h3{ margin:10px 0 0; font-size:1.05rem; } .zb-round:hover figure{ transform:translateY(-4px); } .zb-round:hover h3{ color:var(--accent); }

/* 全部照片同一种暖色调 */
.zb-round img,.note-photo img,.zb-dish img,.zb-bake img,.zb-cake img,.zb-board img,.zb-snap img{ filter:sepia(.15) saturate(1.1) contrast(1.05); }

/* 调味：老酱园货架 */
.zb-band.zb-sauce{ background:radial-gradient(700px 380px at 50% 0,rgba(240,180,100,.22),transparent 70%),
  repeating-linear-gradient(90deg,rgba(255,255,255,.028) 0 2px,transparent 2px 78px,rgba(0,0,0,.22) 78px 81px),var(--soy); border-bottom:1px solid var(--brass); }
.zb-signwrap{ text-align:center; margin-bottom:38px; }
.zb-sign{ display:inline-block; background:#1B110D; border:2px solid var(--brass); outline:1px solid var(--brass); outline-offset:5px; padding:12px 58px; box-shadow:0 16px 28px -16px #000; }
.zb-sign h2{ margin:0 -.34em 0 0; font-size:2.6rem; letter-spacing:.34em; color:var(--cream-ink); }
.zb-sign small{ display:block; margin-right:-.5em; font:400 .68rem var(--f-num); letter-spacing:.5em; color:var(--brass); }
.zb-signwrap p{ margin:20px 0 0; font-size:.95rem; opacity:.8; }
.zb-rack{ position:relative; margin-top:34px; }
.zb-plate{ position:absolute; left:0; top:-8px; writing-mode:vertical-rl; padding:14px 7px; font:700 .95rem var(--f-head); letter-spacing:.28em; background:var(--accent); color:#fff; border:1px solid var(--brass); }
.zb-row{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); row-gap:44px; padding:0 44px; }
.zb-item{ display:flex; flex-direction:column; align-items:center; text-align:center; color:var(--cream-ink); text-decoration:none; }
.zb-jar{ position:relative; width:100%; padding:0 14px; }
.zb-jar::after{ content:""; position:absolute; left:0; right:0; bottom:-18px; height:18px; background:linear-gradient(#B98552 0 4px,#7B4F2C 4px 13px,#4A2E19 13px); box-shadow:0 16px 18px -6px rgba(0,0,0,.6); }
.zb-item:first-child .zb-jar::after{ left:-12px; } .zb-item:last-child .zb-jar::after{ right:-12px; }
.zb-jar figure{ position:relative; margin:0; aspect-ratio:4/5; padding:7px; border:1px solid var(--brass); border-radius:999px 999px 0 0; background:#1B110D; box-shadow:0 18px 22px -10px rgba(0,0,0,.7); transition:transform .35s cubic-bezier(.3,1.5,.5,1); }
.zb-jar img{ display:block; width:100%; height:100%; object-fit:cover; border-radius:999px 999px 0 0; filter:sepia(.18) saturate(1.1) contrast(1.06) brightness(.97); }
.zb-item:hover figure,.zb-item:focus-visible figure{ transform:translateY(-12px); }
.zb-tag{ position:relative; margin-top:52px; width:min(230px,90%); padding:16px 14px 14px; background:#F6EEDC; color:var(--ink); box-shadow:0 12px 18px -12px #000; transform-origin:50% -26px; transition:transform .35s; }
.zb-tag::before{ content:""; position:absolute; left:50%; top:-34px; width:1px; height:40px; background:var(--brass); }
.zb-tag::after{ content:""; position:absolute; inset:5px; border:1px solid #B9A27B; pointer-events:none; }
.zb-tag i{ position:absolute; left:50%; top:4px; width:7px; height:7px; margin-left:-3.5px; border-radius:50%; background:var(--soy); }
.zb-tag h3{ margin:0; font-size:1.06rem; line-height:1.5; } .zb-tag p{ margin:4px 0 0; font-size:.8rem; line-height:1.6; color:var(--accent); }
.zb-item:hover .zb-tag{ transform:rotate(2.5deg); }
.zb-more{ display:flex; justify-content:center; margin-top:44px; }
@media (max-width:900px){
  .zb-row{ grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 12px 0 34px; }
  .zb-item:nth-child(odd) .zb-jar::after{ left:-12px; } .zb-item:nth-child(even) .zb-jar::after{ right:-12px; }
}
@media (max-width:640px){
  .zb-sign{ padding:10px 40px; } .zb-sign h2{ font-size:1.9rem; }
  .zb-row{ padding:0 0 0 22px; } .zb-plate{ left:-8px; padding:10px 4px; font-size:.8rem; }
  .zb-jar{ padding:0 8px; } .zb-jar figure{ padding:4px; }
  .zb-tag{ margin-top:44px; width:92%; padding:15px 8px 11px; } .zb-tag h3{ font-size:.92rem; } .zb-tag p{ font-size:.74rem; }
}
@media (prefers-reduced-motion:reduce){ .zb-jar figure,.zb-tag{ transition:none; } }

/* 家常菜：大理石饭桌；标题和按钮在左栏 */
.zb-band.zb-dishes{ background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600' preserveAspectRatio='xMidYMid slice'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .012' numOctaves='5' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .38 -9 0 0 0 4.7'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 .35 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='900' height='600' filter='url(%23m)'/%3E%3C/svg%3E") center/cover no-repeat,radial-gradient(900px 500px at 65% 55%,#fff,transparent 70%),#F3F0EA; }
.zb-dishes::before{ content:""; position:absolute; inset:0; background:rgba(243,240,234,.45); }
.zb-dishes > .wrap{ display:grid; grid-template-columns:250px minmax(0,1fr); grid-template-areas:"title table" "go table"; grid-template-rows:auto 1fr; column-gap:40px; }
.zb-dishes .zb-title{ grid-area:title; padding-top:30px; } .zb-dishes .zb-go{ grid-area:go; padding-top:30px; }
.zb-table{ grid-area:table; display:grid; grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr); gap:26px; align-items:start; }
.zb-dish{ display:block; text-align:center; color:var(--ink); text-decoration:none; }
.zb-dish figure{ margin:0; aspect-ratio:1; border-radius:50%; padding:4.5%; background:#FFFEFA; box-shadow:0 30px 40px -24px rgba(50,35,20,.55),inset 0 0 0 1px #D8D0C0,inset 0 0 0 9px #FFFEFA,inset 0 0 0 11px #2F4F7A; transition:transform .5s; }
.zb-dish img{ display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; box-shadow:0 0 0 1px #2F4F7A; }
.zb-dish:hover figure{ transform:rotate(5deg) scale(1.02); }
.zb-dish h3{ display:inline-block; position:relative; margin:-20px 0 0; padding:4px 26px; font-size:1.5rem; background:#fff; border:1px solid var(--ink); outline:1px solid var(--ink); outline-offset:3px; }
.zb-dish p{ margin:14px 0 0; font-size:.88rem; color:var(--ink-3); }
.zb-chop{ width:40px; align-self:center; }

/* 烘焙：大照片在左，标题和按钮在右 */
.zb-band.zb-baking{ color:var(--cream-ink); border-top:0; background:radial-gradient(620px 460px at 28% 55%,rgba(255,138,40,.30),transparent 70%),radial-gradient(500px 300px at 88% 8%,rgba(255,170,80,.12),transparent 70%),#35190F; }
.zb-baking > .wrap{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); grid-template-areas:"oven title" "oven racks" "oven go"; grid-template-rows:auto auto 1fr; column-gap:52px; align-items:start; }
.zb-baking .zb-title{ grid-area:title; display:grid; grid-template-columns:84px 1fr; column-gap:18px; align-items:center; margin-bottom:28px; }
.zb-baking .zb-title img{ grid-row:span 3; padding:9px; background:var(--cream-ink); border-radius:50%; }
.zb-baking .zb-title h2{ margin:0; color:var(--cream-ink); } .zb-baking .zb-title small{ color:#F0A45A; } .zb-baking .zb-title p{ margin-top:6px; max-width:none; }
.zb-baking .zb-go{ grid-area:go; justify-self:end; }
.zb-cake{ grid-area:oven; align-self:center; display:block; position:relative; padding-bottom:54px; color:var(--ink); text-decoration:none; }
.zb-cake figure{ margin:0 12px 0 8px; padding:10px; aspect-ratio:5/4; background:#23100A; border:1px solid var(--brass); outline:1px solid rgba(201,164,106,.5); outline-offset:8px; box-shadow:0 40px 50px -30px #000; overflow:hidden; }
.zb-cake img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .8s; }
.zb-cake:hover img{ transform:scale(1.04); }
.zb-cake-card{ position:absolute; right:0; bottom:0; width:min(340px,86%); padding:18px 24px 20px; background:#FBF3E4; border:1px solid var(--brass); box-shadow:0 22px 30px -18px #000; }
.zb-cake-card::after{ content:""; position:absolute; inset:6px; border:1px solid #B9A27B; pointer-events:none; }
.zb-cake-card small{ display:block; font:700 .72rem var(--f-body); letter-spacing:.3em; color:var(--accent); }
.zb-cake-card h3{ margin:2px 0 4px; font-size:1.7rem; color:var(--ink); }
.zb-cake-card p{ margin:0; font-size:.88rem; line-height:1.7; color:var(--ink-2); }
.zb-cake:hover h3{ color:var(--accent); }
.zb-racks{ grid-area:racks; }
.zb-gridrack{ display:grid; grid-template-columns:1fr 1fr; gap:26px; margin-bottom:26px; }
.zb-bake{ display:block; text-align:center; color:var(--cream-ink); text-decoration:none; }
.zb-bake figure{ margin:0; aspect-ratio:4/3; padding:6px; background:#23100A; border:1px solid var(--brass); box-shadow:0 18px 22px -14px #000; transition:transform .35s; }
.zb-bake img{ display:block; width:100%; height:100%; object-fit:cover; }
.zb-bake:hover figure{ transform:translateY(-6px); }
.zb-bake h3{ margin:12px 0 0; font-size:1rem; color:var(--cream-ink); }
.zb-bake:hover h3{ color:#F0A45A; }

/* 糖水饮料：左边竖挂招牌，三张餐牌 */
.zb-band.zb-sweets{ border-top:0; background:radial-gradient(circle at 12px 12px,rgba(78,130,70,.14) 2px,transparent 2.6px) 0 0/26px 26px,linear-gradient(#EAF1E1,#DFEBD6); }
.zb-sweets > .wrap{ display:grid; grid-template-columns:170px minmax(0,1fr); grid-template-areas:"hang boards" "go boards"; grid-template-rows:auto 1fr; column-gap:36px; }
.zb-hang{ grid-area:hang; justify-self:center; display:flex; flex-direction:column; align-items:center; gap:14px; width:126px; padding:22px 0 26px; background:#2F5D3A; color:#FFF6E2; border:2px solid var(--brass); outline:6px solid #2F5D3A; box-shadow:0 22px 26px -14px rgba(40,60,25,.7); }
.zb-hang img{ width:70px; height:70px; padding:6px; background:#FFF6E2; border-radius:50%; }
.zb-hang h2{ margin:0; writing-mode:vertical-rl; font-size:2.4rem; letter-spacing:.24em; color:#FFF6E2; }
.zb-hang p{ margin:0; padding:0 12px; font-size:.76rem; line-height:1.7; text-align:center; opacity:.85; }
.zb-sweets .zb-go{ grid-area:go; justify-self:center; padding-top:34px; }
.zb-sweets .zb-ribbon{ padding:0 28px 0 18px; font-size:.95rem; letter-spacing:.08em; }
.zb-boards{ grid-area:boards; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; align-items:start; }
.zb-board{ position:relative; margin-top:20px; padding:0 18px 14px; background:#FFFCF4; border:8px solid #7B4F2C; box-shadow:inset 0 0 0 1px #4A2E19,0 22px 26px -18px rgba(60,40,15,.7); }
.zb-board h3{ width:max-content; margin:-28px auto 16px; padding:4px 26px; font-size:1.3rem; letter-spacing:.2em; background:#2F5D3A; color:#FFF6E2; border:2px solid var(--brass); }
.zb-board figure{ margin:0 0 10px; aspect-ratio:16/11; padding:4px; background:#fff; border:1px solid var(--ink); }
.zb-board img{ display:block; width:100%; height:100%; object-fit:cover; }
.zb-board ul{ list-style:none; margin:0; padding:0; } .zb-board li{ margin:0; }
.zb-board li a{ display:flex; align-items:baseline; gap:8px; padding:8px 0; font:700 .95rem var(--f-head); color:var(--ink); text-decoration:none; }
.zb-board li i{ flex:1; min-width:12px; border-bottom:2px dotted #B9A27B; } .zb-board li a:hover{ color:var(--accent); }

/* 基本功：笔记本 */
.zb-band.zb-notes{ border-top:0; background:repeating-linear-gradient(45deg,rgba(255,255,255,.022) 0 2px,transparent 2px 9px),radial-gradient(800px 460px at 50% 40%,rgba(160,200,180,.14),transparent 70%),#1F2422; color:var(--cream-ink); }
.zb-book{ position:relative; display:grid; grid-template-columns:1fr 1fr; margin:0; color:var(--ink); border:10px solid #5B3A24; border-radius:6px; box-shadow:0 34px 44px -24px #000; }
.zb-book::after{ content:""; position:absolute; left:50%; top:0; bottom:0; width:60px; margin-left:-30px; background:linear-gradient(90deg,transparent,rgba(0,0,0,.14) 48%,rgba(0,0,0,.26) 50%,rgba(0,0,0,.14) 52%,transparent); pointer-events:none; }
.zb-book .page{ display:flex; flex-direction:column; padding:30px 44px 32px; background:repeating-linear-gradient(transparent 0 33px,rgba(80,110,130,.16) 33px 34px),#FBF5E6; }
.zb-booktitle{ display:flex; align-items:center; gap:16px; padding-bottom:12px; margin-bottom:6px; border-bottom:3px double var(--ink); }
.zb-booktitle img{ width:66px; height:66px; } .zb-booktitle h2{ margin:0; font-size:2.2rem; letter-spacing:.12em; line-height:1.3; } .zb-booktitle p{ margin:0; font-size:.88rem; color:var(--ink-3); }
.zb-book ol{ list-style:none; margin:0; padding:0; } .zb-book li{ margin:0; }
.zb-book ol a{ display:flex; align-items:baseline; gap:14px; padding:10px 0; font:700 1.02rem var(--f-head); color:var(--ink); text-decoration:none; border-bottom:1px dashed #C9BB9A; }
.zb-book ol a:hover{ color:var(--accent); } .zb-book em{ font:200 1.5rem var(--f-num); color:var(--accent); }
.zb-book h3{ margin:0 0 6px; font-size:1.3rem; color:var(--accent); } .zb-book .page > p{ margin:0; font-size:.92rem; line-height:34px; }
.zb-book .zb-go{ margin-top:auto; padding-top:20px; align-self:flex-end; }
.zb-snaps{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:24px; }
.zb-snap{ position:relative; padding:8px 8px 6px; background:#fff; color:var(--ink); text-decoration:none; box-shadow:0 10px 14px -8px rgba(0,0,0,.55); transform:rotate(-2.5deg); transition:transform .3s; }
.zb-snap + .zb-snap{ transform:rotate(2deg); } .zb-snap:hover{ transform:none; }
.zb-snap::before{ content:""; position:absolute; left:50%; top:-11px; z-index:1; width:74px; height:22px; margin-left:-37px; background:rgba(214,190,130,.75); }
.zb-snap figure{ margin:0; aspect-ratio:9/7; } .zb-snap img{ display:block; width:100%; height:100%; object-fit:cover; }
.zb-snap span{ display:block; padding-top:4px; text-align:center; font:700 .78rem/1.5 var(--f-head); }

@media (max-width:1000px){
  .zb-stall{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .zb-dishes > .wrap,.zb-baking > .wrap,.zb-sweets > .wrap{ display:flex; flex-direction:column; align-items:stretch; }
  .zb-dishes .zb-title{ padding-top:0; margin-bottom:28px; } .zb-dishes .zb-title p{ max-width:none; }
  .zb-dishes .zb-go{ align-self:flex-end; }
  .zb-cake{ align-self:stretch; margin-bottom:36px; }
  .zb-baking .zb-go{ align-self:flex-end; }
  .zb-hang{ align-self:flex-start; flex-direction:row; width:auto; max-width:100%; gap:14px; padding:12px 18px; margin:6px 6px 36px; }
  .zb-hang h2{ writing-mode:horizontal-tb; font-size:1.7rem; letter-spacing:.14em; white-space:nowrap; } .zb-hang img{ width:48px; height:48px; } .zb-hang p{ display:none; }
  .zb-boards{ grid-template-columns:1fr; width:100%; max-width:480px; margin:0 auto; }
  .zb-sweets .zb-go{ align-self:center; }
  .zb-book{ grid-template-columns:1fr; } .zb-book::after{ display:none; }
}
@media (max-width:640px){
  .zb-band{ padding:38px 0 44px; }
  .zb-head > img{ width:58px; height:58px; } .zb-head h2{ font-size:1.6rem; } .zb-head .zb-ribbon{ margin-left:0; }
  .zb-title h2{ font-size:2rem; }
  .zb-stall{ grid-template-columns:1fr 1fr; } .zb-round:nth-child(n+5){ display:none; }
  .zb-table{ grid-template-columns:minmax(0,1fr); gap:34px; max-width:380px; margin:0 auto; width:100%; } .zb-chop{ display:none; }
  .zb-dishes .zb-go{ padding-top:26px; }
  .zb-cake figure{ padding:6px; } .zb-cake-card{ padding:14px 18px 16px; } .zb-cake-card h3{ font-size:1.35rem; } .zb-gridrack{ gap:16px; }
  .zb-book .page{ padding:22px 18px 24px; }
}
@media (prefers-reduced-motion:reduce){ .zb-ribbon,.zb-round figure,.zb-dish figure,.zb-bake figure,.zb-cake img,.zb-snap,.zb-jar figure,.zb-tag{ transition:none; } }
/* ---------- 网站地图 ---------- */
body[data-active="sitemap"] main.page > .page-head .page-code{ background-image:url("/assets/site/art/ginger.svg"); }
.zb-map{ margin-top:36px; }
.zb-map h2{ border-bottom:1px solid var(--ink); padding-bottom:8px; } .zb-map h2 a{ color:var(--ink); text-decoration:none; } .zb-map h2 small{ font:400 .85rem var(--f-body); color:var(--ink-3); }
.zb-map-cols{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:20px 28px; margin-top:14px; }
.zb-map h3{ margin:0 0 6px; font-size:1rem; color:var(--accent); }
.zb-map ul{ list-style:none; margin:0; padding:0; } .zb-map li{ margin:0; }
.zb-map li a{ display:block; padding:5px 0; color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line-soft); } .zb-map li a:hover{ color:var(--accent); }

/* ---------- 分类页、使用说明、404 ---------- */
main.page > .page-head{ border-bottom:3px double var(--ink); padding-bottom:22px; }
main.page > .page-head .page-code{ width:150px; height:150px; flex:none; font-size:0; color:transparent; background:center/contain no-repeat; border:0; border-radius:0; box-shadow:none; }
main.page > .page-head:has(> div > a.btn-primary[href="/"]) .page-code{ width:240px; height:208px; }
main.page .usage{ background:none; border:0; border-left:1px solid var(--line); border-radius:0; box-shadow:none; }
.jump a{ border-radius:0; }
.jump a.is-on{ background:var(--ink); color:#fff; border-color:var(--ink); }
.toc-row{ border-radius:0; box-shadow:none; }
.toc-list{ box-shadow:none; border-radius:0; }
.toc-row:hover .toc-title{ color:var(--accent); }
.toc-title{ font-family:var(--f-head); font-weight:700; }
@media (max-width:720px){
  main.page > .page-head .page-code{ width:96px; height:96px; }
  main.page > .page-head:has(> div > a.btn-primary[href="/"]) .page-code{ width:180px; height:156px; }
}

/* ---------- 分类页（config/hub.php） ---------- */
.zh-page{ background:var(--paper); }
.zh-banner{ position:relative; overflow:hidden; color:#FFF6E8; background:#241509; }
.zh-banner > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(1.15) contrast(1.05); }
.zh-banner::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(24,12,4,.94) 0%,rgba(24,12,4,.78) 38%,rgba(24,12,4,.15) 72%); }
.zh-banner > .wrap{ position:relative; z-index:1; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; min-height:440px; padding-top:30px; padding-bottom:64px; }
.zh-crumb{ margin:0 0 18px; font-size:.82rem; opacity:.8; } .zh-crumb a{ color:inherit; }
.zh-en{ font:700 .76rem var(--f-num); letter-spacing:.5em; color:#FFB25C; }
.zh-banner h1{ margin:0; font-size:clamp(52px,7vw,96px); line-height:1.15; letter-spacing:.14em; color:#FFF6E8; }
.zh-lead{ margin:16px 0 26px; max-width:22em; font-size:1.1rem; line-height:1.8; }
.zh-find{ display:flex; align-items:center; gap:12px; width:min(430px,100%); padding:6px 6px 6px 20px; background:#FFF9EF; color:#6b6259; font:inherit; font-size:.95rem; text-align:left; border:0; cursor:pointer; box-shadow:0 20px 36px -18px #000,0 0 0 1px var(--brass); }
.zh-find svg{ flex:none; color:var(--ink); } .zh-find span{ flex:1; min-width:0; }
.zh-find b{ padding:11px 24px; background:var(--accent); color:#fff; font:700 .95rem var(--f-head); letter-spacing:.18em; }
.zh-scallop{ position:relative; z-index:2; height:30px; margin-top:-30px; background:radial-gradient(circle at 50% 100%,var(--paper) 17px,transparent 17.5px) 0 0/46px 30px; }

/* 手机和平板：横向价牌标签（宽屏用左侧指示牌） */
.zh-tabs{ position:sticky; top:var(--zh-top,56px); z-index:20; background:rgba(251,247,238,.96); border-bottom:1px solid var(--line); }
.zh-tabs > .wrap{ display:flex; gap:14px; overflow-x:auto; padding-top:12px; padding-bottom:14px; }
.zh-tabs button{ display:flex; align-items:baseline; gap:10px; flex:none; padding:9px 20px; background:#FFFDF6; border:1px solid var(--ink); box-shadow:3px 3px 0 var(--ink); font:700 1rem var(--f-head); color:var(--ink); cursor:pointer; }
.zh-tabs button em{ font:400 .8rem var(--f-num); color:var(--accent); }
.zh-tabs button.on{ background:var(--accent); color:#fff; transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); } .zh-tabs button.on em{ color:#FFE0CC; }

.zh-shelf{ position:relative; padding:46px 0 64px; scroll-margin-top:var(--zh-top,70px); background:linear-gradient(rgba(250,244,232,.48),rgba(250,244,232,.48)),url("https://images.pexels.com/photos/82256/pexels-photo-82256.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=1100") center/cover; }
.zh-shelf::before{ content:""; position:absolute; inset:14px; border:1px solid rgba(122,84,44,.45); outline:1px solid rgba(122,84,44,.25); outline-offset:4px; pointer-events:none; }
.zh-layout{ position:relative; }
.zh-aside{ display:none; }
.zh-board{ margin:6px; background:repeating-linear-gradient(0deg,rgba(255,255,255,.03) 0 2px,transparent 2px 9px),var(--soy); color:var(--cream-ink); border:2px solid var(--brass); outline:6px solid var(--soy); box-shadow:0 24px 30px -18px rgba(50,25,5,.8); }
.zh-board h2{ margin:0; padding:16px 18px 12px; font-size:1.3rem; letter-spacing:.24em; text-align:center; color:var(--cream-ink); border-bottom:1px solid rgba(201,164,106,.5); }
.zh-board button{ display:flex; justify-content:space-between; align-items:center; width:100%; padding:13px 18px; background:none; border:0; border-bottom:1px dashed rgba(201,164,106,.3); color:inherit; font:700 1rem var(--f-head); letter-spacing:.06em; text-align:left; cursor:pointer; transition:padding .2s,color .2s; }
.zh-board button:last-child{ border-bottom:0; } .zh-board button em{ font:400 .82rem var(--f-num); color:var(--brass); }
.zh-board button:hover{ padding-left:26px; color:#FFD79A; }
.zh-board button.on{ width:calc(100% + 28px); margin:0 -14px; padding:13px 32px; background:var(--accent); color:#fff; clip-path:polygon(0 0,100% 0,calc(100% - 12px) 50%,100% 100%,0 100%); } .zh-board button.on em{ color:#FFE0CC; }
.zh-board button:focus-visible,.zh-tabs button:focus-visible,.zh-pager button:focus-visible{ outline:2px solid var(--brass); outline-offset:-4px; }
.zh-recent{ margin:28px 6px 0; padding:16px 16px 8px; background:#FFFDF6; border:1px solid var(--ink); box-shadow:4px 4px 0 rgba(27,26,24,.85); }
.zh-recent[hidden]{ display:none; }
.zh-recent h3{ margin:0 0 8px; font:700 .8rem var(--f-body); letter-spacing:.2em; color:var(--accent); }
.zh-recent a{ display:flex; align-items:center; gap:12px; padding:8px 0; border-top:1px dashed #C9BB9A; color:var(--ink); text-decoration:none; font:700 .94rem var(--f-head); }
.zh-recent a:hover{ color:var(--accent); }
.zh-recent img{ width:46px; height:46px; flex:none; object-fit:cover; border-radius:50%; border:1px solid var(--ink); }

.zh-head{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:30px; padding-bottom:12px; border-bottom:3px double var(--ink); }
.zh-head h2{ margin:0; font-size:2rem; letter-spacing:.1em; } .zh-head p{ margin:2px 0 0; font-size:.9rem; color:var(--ink-2); } .zh-count{ font:.95rem var(--f-num); color:var(--ink-2); }
.zh-grid{ --n:4; --gap:26px; display:flex; flex-wrap:wrap; gap:36px var(--gap); align-content:flex-start; }
.zh-card{ display:block; flex:0 0 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); min-width:0; color:var(--ink); text-decoration:none; }
.zh-card[hidden]{ display:none; }
.zh-card figure{ position:relative; margin:0; aspect-ratio:4/3; overflow:hidden; border:6px solid #fff; box-shadow:0 0 0 1px var(--ink),0 26px 30px -20px rgba(70,40,10,.6); background:#e9e0cd; }
.zh-card img{ display:block; width:100%; height:100%; object-fit:cover; filter:sepia(.12) saturate(1.12) contrast(1.05); transition:transform .6s; }
.zh-card:hover img{ transform:scale(1.07); }
.zh-price{ position:relative; width:92%; margin:-26px auto 0; padding:13px 8px 14px; text-align:center; background:#FFFDF6; border:1px solid var(--ink); box-shadow:4px 4px 0 rgba(27,26,24,.85); transition:transform .25s; }
.zh-price::before{ content:""; position:absolute; left:50%; top:-5px; width:9px; height:9px; margin-left:-4.5px; border-radius:50%; background:var(--accent); border:1.5px solid var(--ink); }
.zh-price h3{ margin:0; font-size:1.15rem; line-height:1.45; } .zh-price p{ margin:4px 0 0; font-size:.76rem; line-height:1.7; color:var(--accent); }
.zh-card:hover .zh-price{ transform:rotate(-1.5deg) translateY(-3px); } .zh-card:hover h3{ color:var(--accent); }
.zh-stamp{ position:absolute; right:9px; top:9px; display:grid; place-items:center; width:60px; height:60px; border-radius:50%; border:2px solid var(--accent); outline:1px solid var(--accent); outline-offset:-6px; background:rgba(255,253,246,.92); color:var(--accent); font:900 .8rem var(--f-head); transform:rotate(-14deg); }
.zh-stamp[hidden]{ display:none; }
.zh-pager{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px; margin-top:46px; }
.zh-pager[hidden]{ display:none; }
.zh-pager button{ min-width:48px; height:48px; padding:0 14px; background:#FFFDF6; border:1px solid var(--ink); box-shadow:3px 3px 0 var(--ink); font:700 1.05rem var(--f-num); color:var(--ink); cursor:pointer; transition:transform .15s,box-shadow .15s; }
.zh-pager button.word{ font:700 .92rem var(--f-head); letter-spacing:.1em; }
.zh-pager button:hover:not(:disabled){ transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
.zh-pager button.on{ background:var(--accent); color:#fff; transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
.zh-pager button:disabled{ opacity:.35; cursor:default; }

.zh-next{ background:var(--soy); color:var(--cream-ink); padding:54px 0 60px; }
.zh-next h2{ margin:0 0 24px; font-size:1.6rem; text-align:center; letter-spacing:.14em; color:var(--cream-ink); }
.zh-next-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.zh-next a{ position:relative; display:block; height:210px; overflow:hidden; padding:7px; border:1px solid var(--brass); color:#fff; text-decoration:none; }
.zh-next img{ display:block; width:100%; height:100%; object-fit:cover; filter:brightness(.55) saturate(1.1); transition:transform .6s,filter .3s; }
.zh-next a:hover img{ transform:scale(1.06); filter:brightness(.75) saturate(1.15); }
.zh-next span{ position:absolute; left:30px; bottom:24px; font:900 1.9rem var(--f-head); letter-spacing:.1em; }
.zh-next small{ display:block; font:400 .9rem var(--f-body); letter-spacing:0; opacity:.9; }
.zh-page + .site-foot{ border-top-width:6px; }

@media (min-width:1000px){
  .zh-tabs{ display:none; }
  .zh-shelf{ padding-top:56px; }
  .zh-layout{ display:grid; grid-template-columns:240px minmax(0,1fr); gap:40px; align-items:start; }
  .zh-aside{ display:block; position:sticky; top:calc(var(--zh-top,84px) + 22px); }
  .zh-grid{ --gap:18px; }
}
@media (max-width:999px){ .zh-grid{ --n:3; --gap:18px; } }
@media (max-width:760px){
  .zh-grid{ --n:2; } .zh-next-grid{ grid-template-columns:1fr; }
  .zh-banner::after{ background:linear-gradient(180deg,rgba(24,12,4,.88),rgba(24,12,4,.62)); }
}
@media (max-width:640px){
  .zh-banner > .wrap{ min-height:370px; } .zh-lead{ font-size:.97rem; }
  .zh-shelf{ padding:32px 0 44px; } .zh-shelf::before{ inset:6px; } .zh-head h2{ font-size:1.55rem; }
  .zh-grid{ --gap:12px; row-gap:24px; } .zh-card figure{ border-width:4px; }
  .zh-price{ width:94%; margin-top:-20px; padding:10px 6px 11px; box-shadow:3px 3px 0 rgba(27,26,24,.85); } .zh-price h3{ font-size:1rem; } .zh-price p{ font-size:.7rem; }
  .zh-stamp{ width:48px; height:48px; font-size:.68rem; right:6px; top:6px; }
  .zh-pager{ gap:9px; } .zh-pager button{ min-width:44px; height:44px; padding:0 10px; }
}
@media (prefers-reduced-motion:reduce){ .zh-card img,.zh-price,.zh-next img,.zh-board button,.zh-pager button{ transition:none; } }

/* 调味分类页：木板墙 + 货架（和首页调味区同一套） */
.zh-page[data-hub="seasonings"]{background:var(--soy)}
.zh-page[data-hub="seasonings"] .zh-banner .zh-en{color:#E9C48A}
/* 横幅下缘：一条木梁加金线（取代食材页的遮阳篷） */
.zh-page[data-hub="seasonings"] .zh-scallop{position:relative;z-index:2;height:20px;margin-top:-10px;background-size:auto;background:linear-gradient(#C9A46A 0 2px,#8A5A32 2px 6px,#6B4024 6px 15px,#3A2012 15px);box-shadow:0 12px 18px -6px rgba(0,0,0,.7)}
.zh-page[data-hub="seasonings"] .zh-tabs{background:rgba(42,29,23,.97);border-bottom:1px solid var(--brass)}
.zh-page[data-hub="seasonings"] .zh-tabs button{background:#F6EEDC}.zh-page[data-hub="seasonings"] .zh-tabs button.on{background:var(--accent);color:#fff}
/* 木板墙 */
.zh-page[data-hub="seasonings"] .zh-shelf{color:var(--cream-ink);background:radial-gradient(900px 460px at 55% 0,rgba(240,180,100,.24),transparent 70%),repeating-linear-gradient(90deg,rgba(255,255,255,.028) 0 2px,transparent 2px 78px,rgba(0,0,0,.24) 78px 81px),var(--soy)}
.zh-page[data-hub="seasonings"] .zh-shelf::before{border-color:rgba(201,164,106,.5);outline-color:rgba(201,164,106,.28)}
.zh-page[data-hub="seasonings"] .zh-head{border-bottom-color:var(--brass)}.zh-page[data-hub="seasonings"] .zh-head h2{color:var(--cream-ink)}.zh-page[data-hub="seasonings"] .zh-head p,.zh-page[data-hub="seasonings"] .zh-count{color:#CDBB9C}
/* 指示牌换成浅色价目牌，在深墙上跳得出来 */
.zh-page[data-hub="seasonings"] .zh-board{background:#F6EEDC;color:var(--ink);border-color:#8A5A32;outline-color:#F6EEDC}
.zh-page[data-hub="seasonings"] .zh-board h2{color:var(--ink);border-bottom:3px double var(--ink)}
.zh-page[data-hub="seasonings"] .zh-board button{border-bottom-color:#C9BB9A}.zh-page[data-hub="seasonings"] .zh-board button em{color:var(--accent)}.zh-page[data-hub="seasonings"] .zh-board button:hover{color:var(--accent)}
.zh-page[data-hub="seasonings"] .zh-board button.on{color:#fff}.zh-page[data-hub="seasonings"] .zh-board button.on em{color:#FFE0CC}
/* 货架卡：拱形照片、木板、纸吊牌 */
.zh-page[data-hub="seasonings"] .zh-grid{row-gap:44px}
.zh-page[data-hub="seasonings"] .zh-card{position:relative;text-align:center}
.zh-page[data-hub="seasonings"] .zh-card figure{aspect-ratio:4/5;overflow:visible;border:1px solid var(--brass);border-radius:999px 999px 0 0;padding:7px;background:#1B110D;box-shadow:0 18px 22px -10px rgba(0,0,0,.7);transition:transform .35s cubic-bezier(.3,1.5,.5,1)}
.zh-page[data-hub="seasonings"] .zh-card img{border-radius:999px 999px 0 0;filter:sepia(.18) saturate(1.1) contrast(1.06)}.zh-page[data-hub="seasonings"] .zh-card:hover img{transform:none}
.zh-page[data-hub="seasonings"] .zh-card:hover figure{transform:translateY(-12px)}
.zh-page[data-hub="seasonings"] .zh-card::after{content:"";position:absolute;left:calc(var(--gap) / -2);right:calc(var(--gap) / -2);top:var(--plank,300px);height:16px;background:linear-gradient(#B98552 0 4px,#7B4F2C 4px 12px,#4A2E19 12px);box-shadow:0 14px 16px -6px rgba(0,0,0,.6)}
.zh-page[data-hub="seasonings"] .zh-price{margin-top:48px;width:94%;background:#F6EEDC;border:0;box-shadow:0 12px 18px -12px #000;color:var(--ink);transform-origin:50% -26px}
.zh-page[data-hub="seasonings"] .zh-price::before{top:-32px;width:1px;height:38px;margin-left:0;border:0;border-radius:0;background:var(--brass)}
.zh-page[data-hub="seasonings"] .zh-price::after{content:"";position:absolute;inset:5px;border:1px solid #B9A27B;pointer-events:none}
.zh-page[data-hub="seasonings"] .zh-card:hover .zh-price{transform:rotate(2.5deg)}
.zh-page[data-hub="seasonings"] .zh-recent{background:#F6EEDC}
/* 页尾导流换成浅色，和上面的深墙分开 */
.zh-page[data-hub="seasonings"] .zh-next{background:#F4ECDD;color:var(--ink)}.zh-page[data-hub="seasonings"] .zh-next h2{color:var(--ink)}.zh-page[data-hub="seasonings"] .zh-next a{border-color:var(--ink);background:#fff}
@media (prefers-reduced-motion:reduce){.zh-page[data-hub="seasonings"] .zh-card figure{transition:none}}

/* 家常菜分类页：大理石饭桌 + 菜单卡 */
.zh-page[data-hub="dishes"] .zh-banner .zh-en{color:#FFC27A}
/* 横幅下缘：桌巾的蓝白格边 */
.zh-page[data-hub="dishes"] .zh-scallop{height:18px;margin-top:-9px;background:repeating-conic-gradient(#2F4F7A 0 25%,#FCFAF5 0 50%) 0 0/18px 18px;border-block:2px solid #2F4F7A;box-shadow:0 8px 14px -8px rgba(0,0,0,.6)}
/* 大理石饭桌 */
.zh-page[data-hub="dishes"] .zh-shelf{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600' preserveAspectRatio='xMidYMid slice'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .012' numOctaves='5' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .38 -9 0 0 0 4.7'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 .35 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='900' height='600' filter='url(%23m)'/%3E%3C/svg%3E") center/cover,#F3F0EA}
.zh-page[data-hub="dishes"] .zh-shelf::before{border-color:rgba(47,79,122,.4);outline-color:rgba(47,79,122,.22)}
.zh-page[data-hub="dishes"] .zh-head{border-bottom-color:#2F4F7A}
.zh-page[data-hub="dishes"] .zh-board{background:#2F4F7A;outline-color:#2F4F7A;border-color:#E9D9B4;color:#FCF6E8}.zh-page[data-hub="dishes"] .zh-board h2{color:#FCF6E8;border-bottom-color:rgba(233,217,180,.6)}
.zh-page[data-hub="dishes"] .zh-board button{border-bottom-color:rgba(233,217,180,.3)}.zh-page[data-hub="dishes"] .zh-board button em{color:#E9D9B4}
.zh-page[data-hub="dishes"] .zh-tabs button.on,.zh-page[data-hub="dishes"] .zh-board button.on{color:#fff}
/* 菜单卡：瓷盘压在菜单纸上 */
.zh-page[data-hub="dishes"] .zh-grid{--n:2;--gap:34px;row-gap:120px;padding-top:90px}
.zh-menu{position:relative;background:#FFFEFA;border:1px solid #2F4F7A;outline:1px solid #2F4F7A;outline-offset:5px;box-shadow:0 30px 40px -26px rgba(50,35,20,.6);padding:0 30px 30px;text-align:center}
.zh-page[data-hub="dishes"] .zh-menu figure{position:relative;width:min(300px,82%);aspect-ratio:1;margin:-96px auto 16px;overflow:visible;border:0;border-radius:50%;padding:4.5%;background:#FFFEFA;box-shadow:0 24px 30px -18px rgba(50,35,20,.65),inset 0 0 0 1px #D8D0C0,inset 0 0 0 9px #FFFEFA,inset 0 0 0 11px #2F4F7A;transition:transform .5s}
.zh-page[data-hub="dishes"] .zh-menu img{border-radius:50%;box-shadow:0 0 0 1px #2F4F7A}.zh-page[data-hub="dishes"] .zh-menu:hover img{transform:none}.zh-page[data-hub="dishes"] .zh-menu:hover figure{transform:rotate(6deg) scale(1.03)}
.zh-menu .zh-cat{font-size:12px;letter-spacing:.34em;color:var(--accent);font-weight:700}
.zh-menu h3{margin:2px 0 6px;font-size:30px;letter-spacing:.06em}.zh-menu:hover h3{color:var(--accent)}
.zh-menu .zh-tip{margin:0 0 14px;font-size:14px;color:var(--ink-2)}
.zh-facts{display:flex;justify-content:center;flex-wrap:wrap;border-block:1px solid #2F4F7A;margin-bottom:16px}
.zh-facts span{padding:9px 14px;font:700 14px var(--f-head);border-left:1px dashed #B9C4D6}.zh-facts span:first-child{border-left:0}
.zh-items{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 0;font-size:13px;color:var(--ink-3);line-height:1.8}
.zh-items b{display:block;width:100%;font:700 12px var(--f-body);letter-spacing:.3em;color:#2F4F7A}
.zh-items i{font-style:normal}.zh-items i+i::before{content:"·";margin:0 8px;color:#2F4F7A}
.zh-go{display:inline-flex;margin-top:18px;align-items:center;min-height:42px;padding:0 36px 0 28px;background:var(--accent);color:#fff;font:700 15px var(--f-head);letter-spacing:.14em;clip-path:polygon(0 0,100% 0,calc(100% - 13px) 50%,100% 100%,0 100%)}
.zh-page[data-hub="dishes"] .zh-card .zh-stamp{right:-6px;top:6px;z-index:2}
@media (max-width:999px){.zh-page[data-hub="dishes"] .zh-grid{--n:2;--gap:20px}.zh-menu{padding:0 16px 22px}}
@media (max-width:760px){.zh-page[data-hub="dishes"] .zh-grid{--n:1;row-gap:110px}.zh-menu h3{font-size:25px}}
@media (prefers-reduced-motion:reduce){.zh-page[data-hub="dishes"] .zh-menu figure{transition:none}}

/* dishes 四栏（用户 2026-11-29）：卡片和字跟着缩小 */
.zh-page[data-hub="dishes"] .zh-grid{ --n:4; --gap:18px; row-gap:84px; padding-top:62px; }
.zh-page[data-hub="dishes"] .zh-menu{ display:flex; flex-direction:column; padding:0 12px 18px; }
.zh-page[data-hub="dishes"] .zh-menu[hidden]{ display:none; }
.zh-page[data-hub="dishes"] .zh-menu figure{ width:82%; margin:-62px auto 12px; }
.zh-page[data-hub="dishes"] .zh-menu .zh-cat{ font-size:.68rem; letter-spacing:.24em; }
.zh-page[data-hub="dishes"] .zh-menu h3{ font-size:1.25rem; letter-spacing:.02em; line-height:1.45; }
.zh-page[data-hub="dishes"] .zh-menu .zh-tip{ margin-bottom:10px; font-size:.76rem; line-height:1.7; }
.zh-page[data-hub="dishes"] .zh-facts{ margin-bottom:10px; padding:4px 0; }
.zh-page[data-hub="dishes"] .zh-facts span{ padding:2px 8px; font-size:.74rem; border-left:0; }
.zh-page[data-hub="dishes"] .zh-items{ font-size:.72rem; } .zh-page[data-hub="dishes"] .zh-items i+i::before{ margin:0 5px; }
.zh-page[data-hub="dishes"] .zh-menu .zh-go{ align-self:center; margin-top:auto; min-height:38px; padding:0 28px 0 20px; font-size:.85rem; }
.zh-page[data-hub="dishes"] .zh-items{ margin-bottom:16px; }
@media (max-width:1250px){ .zh-page[data-hub="dishes"] .zh-grid{ --n:3; } }
@media (max-width:999px){ .zh-page[data-hub="dishes"] .zh-grid{ --n:3; --gap:16px; } }
@media (max-width:760px){ .zh-page[data-hub="dishes"] .zh-grid{ --n:2; --gap:14px; } }
@media (max-width:640px){ .zh-page[data-hub="dishes"] .zh-grid{ --n:1; row-gap:100px; padding-top:90px; } .zh-page[data-hub="dishes"] .zh-menu figure{ width:min(260px,76%); margin-top:-90px; }
  .zh-page[data-hub="dishes"] .zh-menu h3{ font-size:1.5rem; } .zh-page[data-hub="dishes"] .zh-menu .zh-tip,.zh-page[data-hub="dishes"] .zh-facts span,.zh-page[data-hub="dishes"] .zh-items{ font-size:.84rem; } }

/* 烘焙分类页：深可可色 + 金线相框 + 糖霜边 */
.zh-page[data-hub="baking"] .zh-banner .zh-en{color:#FFB25C}
/* 横幅下缘：糖霜垂下来 */
.zh-page[data-hub="baking"] .zh-scallop{height:26px;margin-top:-2px;margin-bottom:-24px;background:radial-gradient(circle at 50% 0,#F6EBD8 15px,transparent 15.5px) 0 0/40px 26px,radial-gradient(circle at 50% 0,#F6EBD8 9px,transparent 9.5px) 20px 0/40px 26px,linear-gradient(#F6EBD8 0 5px,transparent 5px)}
/* 深可可色 + 炉光 */
.zh-page[data-hub="baking"] .zh-shelf{padding-top:70px;color:var(--cream-ink);background:radial-gradient(700px 480px at 70% 30%,rgba(255,138,40,.26),transparent 70%),radial-gradient(600px 420px at 10% 90%,rgba(255,170,80,.12),transparent 70%),#35190F}
.zh-page[data-hub="baking"] .zh-shelf::before{border-color:rgba(201,164,106,.5);outline-color:rgba(201,164,106,.28)}
.zh-page[data-hub="baking"] .zh-head{border-bottom-color:var(--brass)}.zh-page[data-hub="baking"] .zh-head h2{color:var(--cream-ink)}.zh-page[data-hub="baking"] .zh-head p,.zh-page[data-hub="baking"] .zh-count{color:#D9BFA0}
.zh-page[data-hub="baking"] .zh-board{background:#F6EBD8;color:var(--ink);border-color:#8A5A32;outline-color:#F6EBD8}.zh-page[data-hub="baking"] .zh-board h2{color:var(--ink);border-bottom:3px double var(--ink)}
.zh-page[data-hub="baking"] .zh-board button{border-bottom-color:#C9BB9A}.zh-page[data-hub="baking"] .zh-board button em{color:var(--accent)}.zh-page[data-hub="baking"] .zh-board button:hover{color:var(--accent)}.zh-page[data-hub="baking"] .zh-board button.on,.zh-page[data-hub="baking"] .zh-board button.on em{color:#fff}
.zh-page[data-hub="baking"] .zh-recent{background:#F6EBD8}
.zh-page[data-hub="baking"] .zh-tabs{background:rgba(53,25,15,.97);border-bottom:1px solid var(--brass)}.zh-page[data-hub="baking"] .zh-tabs button{background:#F6EBD8}.zh-page[data-hub="baking"] .zh-tabs button.on{background:var(--accent)}
/* 金线相框 + 米色蛋糕牌 */
.zh-page[data-hub="baking"] .zh-grid{row-gap:40px}
.zh-page[data-hub="baking"] .zh-card figure{border:1px solid var(--brass);outline:1px solid rgba(201,164,106,.45);outline-offset:5px;padding:6px;background:#23100A;box-shadow:0 22px 26px -16px #000;aspect-ratio:1}
.zh-page[data-hub="baking"] .zh-price{background:#FBF3E4;border:1px solid var(--brass);box-shadow:0 16px 20px -14px #000;color:var(--ink);margin-top:-30px}
.zh-page[data-hub="baking"] .zh-price::before{display:none}.zh-page[data-hub="baking"] .zh-price::after{content:"";position:absolute;inset:4px;border:1px solid #B9A27B;pointer-events:none}
.zh-page[data-hub="baking"] .zh-card:hover .zh-price{transform:translateY(-5px)}
.zh-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:8px}.zh-badges span{font:700 11px var(--f-body);padding:2px 8px;border:1px solid var(--accent);color:var(--accent);white-space:nowrap}
.zh-page[data-hub="baking"] .zh-next{background:#F4ECDD;color:var(--ink)}.zh-page[data-hub="baking"] .zh-next h2{color:var(--ink)}.zh-page[data-hub="baking"] .zh-next a{border-color:var(--ink);background:#fff}
@media (max-width:640px){.zh-badges span{font-size:10px;padding:1px 5px}}

/* 糖水饮料分类页：淡班兰绿 + 木框小餐牌 + 条纹布篷 */
.zh-page[data-hub="sweets"] .zh-banner .zh-en{color:#CBE5B4}
/* 横幅下缘：糖水铺的条纹布篷 */
.zh-page[data-hub="sweets"] .zh-scallop{height:30px;margin-top:-4px;margin-bottom:-14px;background:radial-gradient(circle at 20px 0,#2F5D3A 19px,transparent 19.5px) 0 12px/80px 20px,radial-gradient(circle at 60px 0,#FFF6E2 19px,transparent 19.5px) 0 12px/80px 20px,repeating-linear-gradient(90deg,#2F5D3A 0 40px,#FFF6E2 40px 80px) 0 0/80px 12px;background-repeat:repeat-x;filter:drop-shadow(0 5px 5px rgba(0,0,0,.3))}
/* 淡班兰绿 */
.zh-page[data-hub="sweets"] .zh-shelf{padding-top:66px;background:radial-gradient(circle at 12px 12px,rgba(78,130,70,.14) 2px,transparent 2.6px) 0 0/26px 26px,linear-gradient(#EAF1E1,#DFEBD6)}
.zh-page[data-hub="sweets"] .zh-shelf::before{border-color:rgba(47,93,58,.45);outline-color:rgba(47,93,58,.25)}
.zh-page[data-hub="sweets"] .zh-head{border-bottom-color:#2F5D3A}
.zh-page[data-hub="sweets"] .zh-board{background:#2F5D3A;color:#FFF6E2;outline-color:#2F5D3A;border-color:var(--brass)}.zh-page[data-hub="sweets"] .zh-board h2{color:#FFF6E2}.zh-page[data-hub="sweets"] .zh-board button em{color:#E5CF93}.zh-page[data-hub="sweets"] .zh-board button.on,.zh-page[data-hub="sweets"] .zh-board button.on em{color:#fff}
/* 木框小餐牌 */
.zh-page[data-hub="sweets"] .zh-grid{row-gap:54px;padding-top:14px}
.zh-page[data-hub="sweets"] .zh-card{display:flex;flex-direction:column;background:#FFFCF4;border:7px solid #7B4F2C;box-shadow:inset 0 0 0 1px #4A2E19,0 22px 26px -18px rgba(60,40,15,.7);padding:0 12px 14px;text-align:center;transition:transform .25s}
.zh-page[data-hub="sweets"] .zh-card[hidden]{display:none}
.zh-page[data-hub="sweets"] .zh-card:hover{transform:translateY(-6px) rotate(-.6deg)}
.zh-kind{align-self:center;margin:-19px 0 12px;padding:3px 18px;background:#2F5D3A;color:#FFF6E2;border:2px solid var(--brass);font:700 13px var(--f-head);letter-spacing:.2em;white-space:nowrap}
.zh-page[data-hub="sweets"] .zh-card figure{aspect-ratio:4/3;border:1px solid var(--ink);padding:4px;box-shadow:none;background:#fff}
.zh-page[data-hub="sweets"] .zh-card h3{margin:12px 0 4px;font-size:1.15rem;line-height:1.45}
.zh-line{display:flex;align-items:baseline;gap:6px;justify-content:center;margin:0;padding-top:8px;border-top:2px dotted #B9A27B;font-size:.76rem;line-height:1.7;color:#2F5D3A}
.zh-page[data-hub="sweets"] .zh-card .zh-stamp{top:16px;right:6px;z-index:2}
@media (max-width:640px){.zh-page[data-hub="sweets"] .zh-card{border-width:5px;padding:0 6px 10px}.zh-page[data-hub="sweets"] .zh-card h3{font-size:.98rem}.zh-line{font-size:.68rem}.zh-kind{padding:2px 10px;font-size:11px;letter-spacing:.1em}}
@media (prefers-reduced-motion:reduce){.zh-page[data-hub="sweets"] .zh-card{transition:none}}

/* 基本常识分类页：摊开的笔记页 */
.zh-page[data-hub="basics"] .zh-banner .zh-en{color:#B9D8C6}
/* 横幅下缘：笔记本的线圈 */
.zh-page[data-hub="basics"] .zh-scallop{height:34px;margin-top:-17px;margin-bottom:-17px;background:radial-gradient(ellipse 7px 16px at 50% 50%,transparent 58%,#D8D3C8 60%,#8E877A 100%,transparent 101%) 0 0/34px 34px}
/* 黑青色工作台 */
.zh-page[data-hub="basics"] .zh-shelf{padding-top:62px;color:var(--cream-ink);background:repeating-linear-gradient(45deg,rgba(255,255,255,.022) 0 2px,transparent 2px 9px),radial-gradient(800px 460px at 55% 25%,rgba(160,200,180,.16),transparent 70%),#1F2422}
.zh-page[data-hub="basics"] .zh-shelf::before{border-color:rgba(201,164,106,.45);outline-color:rgba(201,164,106,.25)}
.zh-page[data-hub="basics"] .zh-head{border-bottom-color:var(--brass)}.zh-page[data-hub="basics"] .zh-head h2{color:var(--cream-ink)}.zh-page[data-hub="basics"] .zh-head p,.zh-page[data-hub="basics"] .zh-count{color:#B9C4BC}
.zh-page[data-hub="basics"] .zh-board{background:#FBF5E6;color:var(--ink);border-color:#5B3A24;outline-color:#FBF5E6}.zh-page[data-hub="basics"] .zh-board h2{color:var(--ink);border-bottom:3px double var(--ink)}
.zh-page[data-hub="basics"] .zh-board button{border-bottom-color:#C9BB9A}.zh-page[data-hub="basics"] .zh-board button em{color:var(--accent)}.zh-page[data-hub="basics"] .zh-board button:hover{color:var(--accent)}.zh-page[data-hub="basics"] .zh-board button.on,.zh-page[data-hub="basics"] .zh-board button.on em{color:#fff}
.zh-page[data-hub="basics"] .zh-recent{background:#FBF5E6}
.zh-page[data-hub="basics"] .zh-tabs{background:rgba(31,36,34,.97);border-bottom:1px solid var(--brass)}.zh-page[data-hub="basics"] .zh-tabs button{background:#FBF5E6}.zh-page[data-hub="basics"] .zh-tabs button.on{background:var(--accent)}
/* 笔记页：横线纸、红色页边线、胶带照片 */
.zh-page[data-hub="basics"] .zh-grid{--n:2;--gap:34px;row-gap:46px}
.zh-page[data-hub="basics"] .zh-card{position:relative;display:flex;flex-direction:column;padding:0 28px 26px 58px;color:var(--ink);background:linear-gradient(90deg,transparent 40px,rgba(179,38,30,.5) 40px 41px,transparent 41px),repeating-linear-gradient(transparent 0 31px,rgba(80,110,130,.18) 31px 32px),#FBF5E6;border-left:12px solid #5B3A24;box-shadow:0 26px 30px -20px #000;transition:transform .25s}
.zh-page[data-hub="basics"] .zh-card[hidden]{display:none}
.zh-page[data-hub="basics"] .zh-card:hover{transform:translateY(-5px)}
.zh-page[data-hub="basics"] .zh-card figure{position:relative;width:88%;aspect-ratio:16/9;margin:26px auto 18px;overflow:visible;border:0;padding:8px;background:#fff;box-shadow:0 12px 16px -10px rgba(0,0,0,.6);transform:rotate(-1.6deg)}
.zh-page[data-hub="basics"] .zh-card:nth-child(even) figure{transform:rotate(1.4deg)}
.zh-page[data-hub="basics"] .zh-card figure::before{content:"";position:absolute;left:50%;top:-12px;z-index:1;width:92px;height:24px;margin-left:-46px;background:rgba(214,190,130,.8)}
.zh-page[data-hub="basics"] .zh-card:hover img{transform:none}
.zh-kicker{font:700 12px var(--f-body);letter-spacing:.3em;color:var(--accent)}
.zh-page[data-hub="basics"] .zh-card h3{margin:2px 0 10px;font-size:1.45rem;line-height:1.45}.zh-page[data-hub="basics"] .zh-card:hover h3{color:var(--accent)}
.zh-points{list-style:none;margin:0 0 16px;padding:0}.zh-points li{position:relative;margin:0;padding-left:18px;font-size:.86rem;line-height:32px}
.zh-points li::before{content:"";position:absolute;left:2px;top:13px;width:6px;height:6px;border:1.5px solid var(--accent);transform:rotate(45deg)}
.zh-open{align-self:flex-end;margin-top:auto;display:inline-flex;align-items:center;min-height:40px;padding:0 34px 0 24px;background:var(--accent);color:#fff;font:700 14px var(--f-head);letter-spacing:.14em;clip-path:polygon(0 0,100% 0,calc(100% - 12px) 50%,100% 100%,0 100%)}
.zh-page[data-hub="basics"] .zh-card .zh-stamp{right:14px;top:12px;z-index:2}
.zh-page[data-hub="basics"] .zh-next{background:#F4ECDD;color:var(--ink)}.zh-page[data-hub="basics"] .zh-next h2{color:var(--ink)}.zh-page[data-hub="basics"] .zh-next a{border-color:var(--ink);background:#fff}
/* 4 栏（用户 2026-11-29）：装订边、页边线、字都跟着缩小 */
.zh-page[data-hub="basics"] .zh-grid{ --n:4; --gap:18px; row-gap:34px; }
.zh-page[data-hub="basics"] .zh-card{ padding:0 14px 18px 30px; border-left-width:8px; background:linear-gradient(90deg,transparent 18px,rgba(179,38,30,.5) 18px 19px,transparent 19px),repeating-linear-gradient(transparent 0 25px,rgba(80,110,130,.18) 25px 26px),#FBF5E6; }
.zh-page[data-hub="basics"] .zh-card figure{ width:100%; aspect-ratio:4/3; margin:22px 0 14px; padding:6px; }
.zh-page[data-hub="basics"] .zh-card figure::before{ width:70px; height:20px; margin-left:-35px; top:-10px; }
.zh-page[data-hub="basics"] .zh-kicker{ font-size:.68rem; letter-spacing:.2em; }
.zh-page[data-hub="basics"] .zh-card h3{ font-size:1.08rem; line-height:1.5; margin-bottom:6px; }
.zh-page[data-hub="basics"] .zh-points{ margin-bottom:14px; }
.zh-page[data-hub="basics"] .zh-points li{ font-size:.76rem; line-height:26px; padding-left:14px; }
.zh-page[data-hub="basics"] .zh-points li::before{ top:10px; left:1px; width:5px; height:5px; }
.zh-page[data-hub="basics"] .zh-open{ min-height:36px; padding:0 28px 0 18px; font-size:.8rem; }
@media (max-width:1250px){ .zh-page[data-hub="basics"] .zh-grid{ --n:3; } }
@media (max-width:760px){ .zh-page[data-hub="basics"] .zh-grid{ --n:2; --gap:14px; } }
@media (max-width:640px){ .zh-page[data-hub="basics"] .zh-grid{ --n:1; } .zh-page[data-hub="basics"] .zh-card h3{ font-size:1.25rem; } .zh-page[data-hub="basics"] .zh-points li{ font-size:.86rem; } }
@media (prefers-reduced-motion:reduce){ .zh-page[data-hub="basics"] .zh-card{ transition:none; } }

/* ================= 食谱内页（site.js 里同名那段生成结构） ================= */
/* 食谱内页（平板和手机优先） */
body.zn{background:#F3F0EA;overflow-x:clip}
body.zn .note-side,body.zn .note-toc,body.zn .read-progress{display:none}
body.zn .runhead{padding-block:10px}

/* 页首：大理石饭桌 */
.zn-hero{display:grid;gap:22px;width:100%;max-width:var(--page-w);margin:0 auto;padding:12px var(--gutter) 28px}
.zn-hero .note-photo{margin:0;order:-1}
.zn-hero .note-photo img{aspect-ratio:16/10;border:8px solid #FFFEFA;box-shadow:0 0 0 1px #2F4F7A,0 24px 30px -20px rgba(50,35,20,.65)}
.zn-pos{margin:0;font:700 13px var(--f-body);letter-spacing:.3em;color:var(--accent)}
.zn-info h1{margin:2px 0 14px;font-size:clamp(34px,7vw,58px);line-height:1.25;letter-spacing:.04em}
.zn-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));margin:0 0 18px;background:#FFFEFA;border:1px solid #2F4F7A;outline:1px solid #2F4F7A;outline-offset:3px}
.zn-facts div{padding:10px 8px;text-align:center;box-shadow:1px 0 0 #C9D3E2,0 1px 0 #C9D3E2}
.zn-facts dt{font-size:12px;letter-spacing:.2em;color:#2F4F7A}.zn-facts dd{margin:0;font:900 19px/1.5 var(--f-head)}
.zn-acts{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.zn-cook,.zn-float{min-height:56px;padding:0 52px 0 40px;background:var(--accent);color:#fff;border:0;font:900 20px var(--f-head);letter-spacing:.18em;cursor:pointer;clip-path:polygon(0 0,100% 0,calc(100% - 16px) 50%,100% 100%,0 100%)}
.zn-acts .mini-btn{min-height:56px;flex:0 0 auto;background:#fff;border:1px solid var(--ink);border-radius:0}

/* 跳转条 */
.zn-nav{position:sticky;top:var(--zn-top,56px);z-index:30;background:rgba(42,29,23,.97);border-block:1px solid var(--brass)}
.zn-nav>div{display:flex;max-width:var(--page-w);margin:0 auto;padding:0 var(--gutter);overflow-x:auto}
.zn-nav a{flex:1;min-width:max-content;padding:14px 16px;text-align:center;color:#F3E9D8;text-decoration:none;font:700 16px var(--f-head);letter-spacing:.1em}
.zn-nav a:active,.zn-nav a:hover{background:var(--accent);color:#fff}

/* 版面 */
body.zn .note-layout{display:block;width:100%;max-width:var(--page-w);margin:0 auto;padding:26px var(--gutter) 10px}
body.zn .note-main{padding:0;border:0;background:none;max-width:none}
body.zn .note-body{font-size:17px}
body.zn .note-body .overview{margin:0 0 26px;padding:20px 22px 8px;background:#FFFEFA;border:1px solid var(--ink)}
.zn-grid{display:grid;gap:26px;grid-template-columns:minmax(0,1fr)}
.zn-block{scroll-margin-top:calc(var(--zn-top,56px) + 64px);margin-bottom:34px}
body.zn .note-body .zn-block>h2{display:block;margin:0 0 14px;padding:0 0 8px;border:0;border-bottom:3px double var(--ink);font-size:28px;letter-spacing:.14em}
body.zn .note-body .zn-block>h2::before{display:none}

/* 材料卡 */
.zn-mat{background:#FFFDF6;border:1px solid var(--ink);box-shadow:6px 6px 0 rgba(27,26,24,.85);padding:18px 18px 8px;margin-bottom:6px}
body.zn .note-body .zn-count{margin:0 0 6px;font-size:13px;color:var(--ink-3)}
body.zn .note-body .zn-ing,.m-sheet .zn-ing{list-style:none;margin:0;padding:0}
body.zn .note-body .zn-ing li,.m-sheet .zn-ing li{margin:0}
.zn-ing button{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 0;background:none;border:0;border-top:1px dashed #C9BB9A;font:17px var(--f-body);color:var(--ink);text-align:left;cursor:pointer}
.zn-tick{width:26px;height:26px;border:2px solid var(--ink);display:grid;place-items:center}
.zn-ing button[aria-pressed=true] .zn-tick{background:var(--accent);border-color:var(--accent)}
.zn-ing button[aria-pressed=true] .zn-tick::after{content:"✓";color:#fff;font-weight:700}
.zn-ing button[aria-pressed=true] .zn-name{color:var(--ink-3);text-decoration:line-through}
.zn-name small{display:block;font-size:13px;color:var(--ink-3)}
.zn-amt{font:700 16px var(--f-head);text-align:right;max-width:9em}
body.zn .note-body .zn-side>figure.fig{margin:22px 0 0}

/* 步骤卡 */
body.zn .note-body .zn-steps{list-style:none;margin:0;padding:0;display:grid;gap:18px}
body.zn .note-body .zn-steps>li{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:22px 18px 18px;background:#FFFEFA;border:1px solid var(--ink);border-left:8px solid var(--accent);scroll-margin-top:130px}
.zn-no{position:absolute;right:12px;top:4px;font:200 58px/1 var(--f-num);color:rgba(179,38,30,.35)}
.zn-text{padding-right:46px}
.zn-tag{display:inline-block;margin-bottom:8px;padding:5px 14px;background:var(--soy);color:#FFD79A;font:700 15px var(--f-head);letter-spacing:.06em}
body.zn .note-body .zn-text p{margin:0 0 12px;font-size:19px;line-height:1.9}
.zn-ok{min-height:46px;padding:0 22px;background:#fff;border:1.5px solid var(--ink);font:700 15px var(--f-head);cursor:pointer}
.zn-ok[aria-pressed=true]{background:#2F5D3A;border-color:#2F5D3A;color:#fff}
body.zn .note-body .zn-steps>li.is-done{background:#EEF1E8;border-left-color:#2F5D3A}
body.zn .note-body .zn-steps>li>figure.fig{width:100%;max-width:360px;margin:0 auto;border:0;padding:6px;background:#F7F4EC}

/* 成败关键、急救、保存、来源 */
body.zn .note-body .zn-keys ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
body.zn .note-body .zn-keys li{margin:0;padding:16px 18px;background:#FFF6E2;border:1px solid var(--brass);border-top:5px solid var(--brass)}
.zn-keys li strong{display:block;font:900 18px var(--f-head);margin-bottom:4px}
.zn-fix details{background:#FFFEFA;border:1px solid var(--accent);margin-bottom:10px}
.zn-fix summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;font:900 18px var(--f-head);color:var(--accent);cursor:pointer;list-style:none}
.zn-fix summary::after{content:"+";font:300 30px/1 var(--f-num)}.zn-fix details[open] summary::after{content:"−"}
body.zn .note-body .zn-fix details p{margin:0;padding:0 18px 16px}
.zn-sources{font-size:14px;color:var(--ink-3);margin-bottom:20px}.zn-sources summary{min-height:44px;cursor:pointer;font-weight:700}

.zn-more{width:100%;max-width:var(--page-w);margin:0 auto;padding:10px var(--gutter) 40px}
body.zn>.wrap{max-width:var(--page-w)}
.zn-more h2{font-size:24px;border-bottom:3px double var(--ink);padding-bottom:8px}
.zn-more>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.zn-more a{text-decoration:none;color:var(--ink);font:900 18px var(--f-head);text-align:center}
.zn-more img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border:5px solid #fff;box-shadow:0 0 0 1px var(--ink);margin-bottom:8px}

.zn-float{position:fixed;right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:40;box-shadow:0 10px 20px -6px rgba(0,0,0,.5);transform:translateY(200%);visibility:hidden;transition:transform .3s,visibility .3s}
.zn-float.show{transform:none;visibility:visible}

/* ---------- 计时器 ---------- */
.zn-timers{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 12px}.zn-timers small{width:100%;font-size:12px;color:var(--ink-3)}
.zn-timer{min-height:46px;padding:0 20px;background:var(--soy);color:#FFD79A;border:1px solid var(--brass);font:700 16px var(--f-head);letter-spacing:.04em;font-variant-numeric:tabular-nums;cursor:pointer}
.zn-timer.is-on{background:var(--accent);color:#fff}
.m-time .zn-timers{justify-content:center;margin:16px 0 0}.m-time .zn-timer{min-height:60px;font-size:21px;padding:0 34px;background:#2A1D17}.m-time .zn-timer.is-on{background:var(--accent)}.m-time small{color:#A9987C;text-align:center}
.zn-dock{position:fixed;left:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:220;display:flex;flex-direction:column;gap:8px;max-width:calc(100vw - 24px)}
.zn-t{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 14px;background:#2A1D17;color:#FFF6E8;border:2px solid var(--brass);box-shadow:0 10px 18px -6px rgba(0,0,0,.6)}
.zn-t b{font:700 13px var(--f-head);color:#FFD79A}.zn-t span{min-width:4.2em;font:700 22px var(--f-num);font-variant-numeric:tabular-nums}
.zn-t button{min-width:44px;min-height:44px;background:none;border:1px solid rgba(201,164,106,.6);color:inherit;font:700 13px var(--f-body);cursor:pointer}
.zn-t.is-up{background:var(--accent);animation:znUp 1s ease-in-out infinite alternate}.zn-t.is-up b{color:#fff}
@keyframes znUp{to{transform:scale(1.05)}}
html.zn-cooking .zn-dock{bottom:auto;top:78px;left:auto;right:10px}
@media (prefers-reduced-motion:reduce){.zn-t.is-up{animation:none}}

/* ---------- 煮菜模式 ---------- */
html.zn-cooking{overflow:hidden}
.zn-mode{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;background:#1E140E;color:#FFF6E8;padding-bottom:env(safe-area-inset-bottom,0px)}
.zn-mode[hidden]{display:none}
.zn-mode header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px}
.zn-mode header b{font:900 19px var(--f-head);letter-spacing:.1em;text-align:center}
.zn-mode header button,.m-sheet-x{min-height:48px;min-width:88px;padding:0 14px;background:none;border:1px solid var(--brass);color:inherit;font:700 15px var(--f-head);cursor:pointer}
.m-bar{display:flex;gap:5px;padding:0 14px}.m-bar i{flex:1;height:6px;background:rgba(255,255,255,.16)}.m-bar i.past{background:var(--brass)}.m-bar i.now{background:var(--accent)}
.m-stage{flex:1;overflow-y:auto;padding:18px 20px;display:flex;flex-direction:column;align-items:center;text-align:center}
.m-stage>:first-child{margin-top:auto}.m-stage>:last-child{margin-bottom:auto}
.m-no{margin:0 0 10px;font:700 14px var(--f-body);letter-spacing:.24em;color:var(--brass)}
.m-tag{display:inline-block;margin-bottom:14px;padding:8px 22px;background:var(--accent);font:900 22px var(--f-head)}.m-tag[hidden]{display:none}
.m-text{max-width:30em;font-size:clamp(22px,3.6vw,31px);line-height:1.75}.m-text strong{color:#FFD79A}
.m-fig{width:min(460px,100%);margin-top:18px}
.m-fig figure.fig{margin:0;padding:12px;background:#FBF7EE;border:2px solid var(--brass)}
.m-wake{margin:0;padding:6px;text-align:center;font-size:12px;color:#A9987C}
.zn-mode footer{display:grid;grid-template-columns:1fr 1.7fr;gap:10px;padding:8px 14px 14px}
.zn-mode footer button{min-height:72px;border:1px solid var(--brass);background:none;color:inherit;font:900 21px var(--f-head);letter-spacing:.1em;cursor:pointer}
.zn-mode footer button:disabled{opacity:.3}
.zn-mode footer .m-next{background:var(--accent);border-color:var(--accent);color:#fff}
.m-sheet{position:absolute;left:0;right:0;bottom:0;max-height:76%;overflow-y:auto;padding:14px 20px 24px;background:#FFFDF6;color:var(--ink);border-top:5px solid var(--brass);box-shadow:0 -20px 30px rgba(0,0,0,.5)}
.m-sheet[hidden]{display:none}.m-sheet-head{display:flex;justify-content:space-between;align-items:center}.m-sheet h3{margin:0;font-size:24px}.m-sheet-x{border-color:var(--ink);color:var(--ink)}

@media (min-width:700px){
  body.zn .note-body .zn-steps>li:has(>figure){grid-template-columns:minmax(0,1fr) 250px;align-items:center}
  body.zn .note-body .zn-steps>li>figure.fig{margin:34px 0 0}
  .zn-float{bottom:24px;right:24px}
}
@media (min-width:1000px){
  .zn-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:36px;align-items:center;padding-block:22px 36px}
  .zn-hero .note-photo{order:2}
  .zn-grid{grid-template-columns:340px minmax(0,1fr);align-items:start}
  .zn-side{position:sticky;top:calc(var(--zn-top,84px) + 70px);max-height:calc(100vh - var(--zn-top,84px) - 90px);overflow-y:auto;padding:0 8px 8px 0}
}
@media (max-width:560px){.zn-facts{grid-template-columns:1fr 1fr}.zn-facts div:last-child:nth-child(odd){grid-column:1/-1}.zn-more>div{grid-template-columns:1fr 1fr}.zn-more>div>a:nth-child(3){display:none}.zn-nav a{padding:13px 10px;font-size:15px}body.zn .note-body .zn-text p{font-size:17.5px}}
@media (orientation:landscape) and (min-width:700px){
  .m-stage{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:auto auto auto auto;align-content:center;column-gap:28px;text-align:left;justify-items:start}
  .m-stage>:first-child,.m-stage>:last-child{margin:0}
  .m-no{grid-column:1}.m-tag{grid-column:1}.m-text{grid-column:1}.m-time{grid-column:1}.m-time .zn-timers{justify-content:flex-start}.m-fig{grid-column:2;grid-row:1/5;margin:0;align-self:center}
}
@media (prefers-reduced-motion:reduce){.zn-float{transition:none}}
body.zn{--zn-top:56px}
@media (min-width:900px){body.zn{--zn-top:84px}}

.zn-for{margin:0 0 6px;font-size:14px;color:var(--ink-2)}
body.zn .note-body .zn-mat>p{margin:10px 0 2px}body.zn .note-body .zn-mat>.zn-count{margin:0 0 6px}body.zn .note-body .zn-mat>p>strong:only-child{font:900 18px var(--f-head);color:var(--accent)}
body.zn .note-body .zn-mat blockquote{font-size:14px;margin:12px 0}
/* ---------- 页首：菜照虚化 + 瓷盘白框 ---------- */
body.zn{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600' preserveAspectRatio='xMidYMid slice'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .012' numOctaves='5' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .38 -9 0 0 0 4.7'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 .35 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='900' height='600' filter='url(%23m)'/%3E%3C/svg%3E") center top/900px,#F3F0EA}
body.zn .zn-hero{position:relative;overflow:hidden;isolation:isolate;max-width:none;padding-inline:max(var(--gutter),calc((100% - var(--page-w)) / 2 + var(--gutter)));padding-block:34px 44px;color:#FFF6E8;background:#1E120B}
.zn-bg{position:absolute;inset:0;z-index:-2;overflow:hidden}.zn-bg i{position:absolute;inset:-40px;background:var(--ph) center/cover no-repeat;filter:blur(22px) saturate(1.35) brightness(.78);animation:znZoom 18s ease-in-out infinite alternate}
@keyframes znZoom{to{transform:scale(1.14)}}
.zn-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(700px 480px at 76% 48%,rgba(255,170,80,.28),transparent 70%),linear-gradient(90deg,rgba(20,10,4,.86) 0%,rgba(20,10,4,.55) 55%,rgba(20,10,4,.35))}
.zn-hero .zn-info h1{color:#FFF6E8;text-shadow:0 6px 24px rgba(0,0,0,.7)}
.zn-hero .zn-pos{color:#FFC27A}
.zn-hero .note-photo{position:relative}
body.zn .zn-hero .note-photo img{border:12px solid #FFFEFA;border-radius:4px;box-shadow:0 0 0 1px #2F4F7A,0 0 0 6px #FFFEFA,0 0 0 8px #2F4F7A,0 44px 54px -24px #000}
.zn-hero .note-photo figcaption,.zn-hero .note-photo figcaption a{color:#F3E9D8;text-shadow:0 1px 4px #000}.zn-hero .note-photo figcaption{margin-top:8px}
.zn-hero .zn-facts{background:rgba(255,250,240,.96);color:var(--ink);border-color:var(--brass);outline-color:var(--brass)}
.zn-hero .zn-info>*,.zn-hero .note-photo{animation:znIn .8s cubic-bezier(.2,.8,.2,1) both}
.zn-hero .zn-info>*:nth-child(2){animation-delay:.1s}.zn-hero .zn-info>*:nth-child(3){animation-delay:.2s}.zn-hero .zn-info>*:nth-child(4){animation-delay:.3s}.zn-hero .note-photo{animation-delay:.15s}
@keyframes znIn{from{opacity:0;transform:translateY(22px)}}
.zn-steam{position:absolute;left:18%;top:-30px;width:64%;height:200px;z-index:2;pointer-events:none;overflow:visible}
.zn-steam path{fill:none;stroke:#fff;stroke-width:9;stroke-linecap:round;filter:blur(7px);opacity:0;animation:znSteam 5.5s ease-in-out infinite}
.zn-steam path:nth-child(2){animation-delay:1.6s}.zn-steam path:nth-child(3){animation-delay:3.1s}
@keyframes znSteam{0%{opacity:0;transform:translateY(40px) scaleX(.8)}35%{opacity:.75}100%{opacity:0;transform:translateY(-60px) scaleX(1.25)}}
body.zn .zn-steps>li,body.zn .note-body .overview{box-shadow:0 18px 24px -18px rgba(60,40,20,.55)}
/* 成败关键和急救的深色板 */
.zn-dark{margin:0 0 34px;padding:26px 22px 8px;background:repeating-linear-gradient(45deg,rgba(255,255,255,.025) 0 2px,transparent 2px 9px),#2A1D17;border:1px solid var(--brass);outline:6px solid #2A1D17;color:#FFF6E8}
.zn-dark .zn-block{margin-bottom:24px}
body.zn .note-body .zn-dark .zn-block>h2{color:#FFF6E8;border-bottom-color:var(--brass)}
body.zn .note-body .zn-dark .zn-keys li,.zn-dark .zn-fix details{color:var(--ink)}
.zn-wait{opacity:0;transform:translateY(26px)}.zn-seen{opacity:1;transform:none;transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion:reduce){.zn-bg i,.zn-hero .zn-info>*,.zn-hero .note-photo,.zn-steam path{animation:none!important}.zn-steam{display:none}.zn-wait{opacity:1;transform:none}}
@media print{.zn-float,.zn-nav,.zn-dock{display:none}}
/* ================= 食谱内页结束 ================= */

/* ---------- 食材内页（在食谱内页的样式上叠加） ---------- */
/* 食材内页：沿用食谱页的页首和按钮，底换成浅木板（和食材分类页一致） */
body.zn.zf{background:linear-gradient(rgba(250,244,232,.55),rgba(250,244,232,.55)),url(https://images.pexels.com/photos/82256/pexels-photo-82256.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=1100) center top/1600px,#F4ECDD}
.zf-main{max-width:100%}
body.zn.zf .note-body .overview{background:#FFFDF6;border:1px solid var(--ink);box-shadow:6px 6px 0 rgba(27,26,24,.85)}
body.zf .note-body>figure.fig{margin:0 0 26px}
body.zn.zf .note-body .zn-block{margin-bottom:38px}

/* 怎么挑：价牌清单，站在巴刹一项项点 */
body.zn .note-body ul.zf-check{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
body.zn .note-body .zf-check li{margin:0;display:flex}
.zf-check button{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start;width:100%;min-height:76px;padding:18px 18px;text-align:left;background:#FFFDF6;border:1px solid var(--ink);box-shadow:4px 4px 0 rgba(27,26,24,.85);font:17px/1.8 var(--f-body);color:var(--ink);cursor:pointer}
.zf-check i{width:30px;height:30px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:700}
.zf-check button.bad i{border-color:var(--accent);color:var(--accent)}
.zf-check button.bad{border-color:var(--accent);box-shadow:4px 4px 0 var(--accent)}
.zf-check button[aria-pressed=true]{background:#EAF1E1}
.zf-check button[aria-pressed=true] i{background:#2F5D3A;border-color:#2F5D3A;color:#fff}
.zf-check button[aria-pressed=true] i::after{content:"✓"}.zf-check button.bad[aria-pressed=true] i{font-size:0}.zf-check button.bad[aria-pressed=true] i::after{font-size:16px}
.zf-check strong{display:block;font:900 18px var(--f-head)}

/* 挑选表格卡片 */
.zf-table{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:18px}
.zf-table button{display:flex;flex-direction:column;gap:8px;padding:0 0 14px;text-align:center;background:#FFFDF6;border:1px solid var(--ink);box-shadow:4px 4px 0 rgba(27,26,24,.85);font:16px/1.7 var(--f-body);color:var(--ink);cursor:pointer}
.zf-table .k{display:block;padding:8px;background:#2A1D17;color:#FFD79A;font:900 18px var(--f-head);letter-spacing:.08em}
.zf-table .good,.zf-table .no,.zf-table .main,.zf-table .why{display:block;padding:0 14px}
.zf-table .good{font-weight:700}.zf-table .good::before{content:"✓ ";color:#2F5D3A}
.zf-table .no{font-size:14px;color:var(--accent);border-top:1px dashed #C9BB9A;padding-top:8px;margin:0 8px}.zf-table .no::before{content:"✕ "}
.zf-table .main{font:900 20px/1.5 var(--f-head);color:var(--accent)}.zf-table .why{font-size:14px;color:var(--ink-2)}
.zf-table button[aria-pressed=true]{background:#EAF1E1;outline:3px solid #2F5D3A}
.zf .zn-float{display:none}

/* 怎么存：保存时间大字卡 */
.zf-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-bottom:16px}
.zf-days>div{display:flex;flex-direction:column;gap:6px;text-align:center;padding:20px 14px;background:#2A1D17;color:#FFF6E8;border:1px solid var(--brass);outline:5px solid #2A1D17;margin:5px}
.zf-days span{font-size:14px;color:#D9BFA0}.zf-days strong{font:900 30px/1.35 var(--f-head);color:#FFD79A}.zf-days strong strong{font:inherit;color:inherit}
body.zn .note-body .zf-days>div>strong{color:#FFD79A}body.zn .note-body .zf-days>div.bad>strong{color:#fff}body.zn .note-body .zf-days>div>strong strong{color:inherit}
.zf-days small{font-size:12px;color:#CDBB9C}.zf-days>div.bad{background:var(--accent);outline-color:var(--accent)}.zf-days>div.bad strong,.zf-days>div.bad span{color:#fff}
body.zn .note-body .zf-keep>ul,body.zn .note-body .zf-keep>p{background:#FFFDF6;border-left:5px solid var(--brass);padding:12px 18px 12px 34px}
body.zn .note-body .zf-keep>p{padding-left:18px}

/* 怎么煮不失败 */
body.zn .note-body ul.zf-tips{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
body.zn .note-body .zf-tips li{margin:0;padding:16px 18px;background:#FFF6E2;border-top:5px solid var(--brass);color:var(--ink)}
.zf-tips li>strong:first-child{display:block;font:900 18px var(--f-head);margin-bottom:4px}
body.zn .note-body .zn-dark .zf-tips>p,body.zn .note-body .zn-dark .zn-block>p{color:#FFF6E8}
body.zn .note-body .zn-dark figure.fig{color:var(--ink)}

/* 推荐做法 */
.zf-cook>.zn-cook{margin-bottom:18px}
body.zn .note-body .zf-cook .zn-mat{margin-bottom:22px}

/* 常见误会 */
body.zn .note-body ul.zf-myths{list-style:none;margin:0;padding:0;display:grid;gap:14px}
body.zn .note-body .zf-myths li{position:relative;margin:0;padding:18px 18px 18px 66px;background:#FFFDF6;border:1px solid var(--accent)}
.zf-myths li::before{content:"✕";position:absolute;left:18px;top:18px;width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:700}
.zf-myths li>strong:first-child{display:block;font:900 18px var(--f-head);margin-bottom:4px}

/* 其他小节（面粉和淀粉） */
body.zn .note-body .zf-other{background:#FFFDF6;border:1px solid var(--ink);padding:20px}
@media (min-width:1000px){.zf-cook .zn-steps{grid-template-columns:1fr}}

.zf-picks{margin:0 0 18px;padding:14px 18px 10px;background:rgba(255,250,240,.96);color:var(--ink);border:1px solid var(--brass);outline:1px solid var(--brass);outline-offset:3px}
.zf-picks b{display:block;font:700 12px var(--f-body);letter-spacing:.3em;color:var(--accent);margin-bottom:4px}
.zf-picks ul{list-style:none;margin:0;padding:0}.zf-picks li{position:relative;margin:0;padding:6px 0 6px 20px;border-top:1px dashed #C9BB9A;font-size:15px;line-height:1.7}.zf-picks li:first-child{border-top:0}
.zf-picks li::before{content:"";position:absolute;left:2px;top:14px;width:7px;height:7px;border:1.5px solid var(--accent);transform:rotate(45deg)}
.zn-hero .zn-info>.zf-picks{animation-delay:.2s}

/* ---------- 对照 / 选购 / 概念内页（在食谱内页的样式上叠加；常见误会沿用 .zf-myths） ---------- */
/* 对照 / 选购 / 概念内页（在食谱内页样式上叠加）。底随分类：调味=深色木板墙，糖水饮料=淡班兰绿，基本常识=黑青工作台 */
body.zn.zg .zn-float{display:none}
body.zn.zg.zg-seasonings{background:repeating-linear-gradient(90deg,rgba(255,255,255,.028) 0 2px,transparent 2px 78px,rgba(0,0,0,.24) 78px 81px),#2A1D17}
body.zn.zg.zg-sweets{background:radial-gradient(circle at 12px 12px,rgba(78,130,70,.14) 2px,transparent 2.6px) 0 0/26px 26px,#E6EFDF}
body.zn.zg.zg-basics{background:repeating-linear-gradient(45deg,rgba(255,255,255,.022) 0 2px,transparent 2px 9px),#1F2422}
/* 内容放在纸上，深色底也好读 */
body.zn.zg .note-body .overview{background:#FFFDF6;border:1px solid var(--ink);box-shadow:6px 6px 0 rgba(0,0,0,.55)}
body.zn.zg .note-body>figure.fig{margin:0 0 26px}
body.zn.zg .note-body .zn-block{margin-bottom:26px;padding:22px 20px;background:#FBF6EA;border:1px solid var(--brass);box-shadow:0 22px 28px -22px rgba(0,0,0,.65)}
body.zn.zg .runhead,body.zn.zg-seasonings .runhead a,body.zn.zg-basics .runhead a{color:inherit}
body.zn.zg-seasonings .runhead,body.zn.zg-basics .runhead,body.zn.zg-seasonings .runhead *,body.zn.zg-basics .runhead *{color:#F3E9D8}
body.zn.zg-seasonings .zn-sources,body.zn.zg-basics .zn-sources{background:#FBF6EA;padding:0 18px}
body.zn.zg-seasonings .zn-more h2,body.zn.zg-basics .zn-more h2{color:#F3E9D8;border-bottom-color:var(--brass)}
body.zn.zg-seasonings .zn-more a,body.zn.zg-basics .zn-more a{color:#F3E9D8}

/* 先说结论：深色大卡 */
body.zn.zg .note-body .zg-answer{background:#2A1D17;outline:5px solid #2A1D17;margin-inline:5px}
body.zn.zg .note-body .zg-answer>h2{color:#FFF6E8;border-bottom-color:var(--brass)}
body.zn.zg .note-body .zg-answer>p{color:#FFF6E8}
body.zn.zg .note-body .zg-answer>figure.fig{color:var(--ink)}
.zg-answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-bottom:6px}
.zg-answers>div{display:flex;flex-direction:column;gap:8px;padding:18px 16px;text-align:center;background:#FBF3E4;border-top:6px solid var(--accent);color:var(--ink)}
.zg-answers .q{font-size:15px;color:var(--ink-2)}
body.zn .note-body .zg-answers .a{font:900 23px/1.5 var(--f-head);color:var(--accent)}
body.zn .note-body .zg-answers .a strong{color:inherit;font:inherit}
.zg-answers .more{font-size:13px;line-height:1.7;color:var(--ink-2);border-top:1px dashed #C9BB9A;padding-top:8px}.zg-answers i{display:block;font-style:normal;font-size:11px;letter-spacing:.2em;color:var(--ink-3)}

/* 其他表格 → 卡片 */
.zg-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:14px}
.zg-rows>div{background:#FFFEFA;border:1px solid var(--ink);box-shadow:3px 3px 0 rgba(27,26,24,.8);color:var(--ink)}
.zg-rows b{display:block;padding:9px 14px;background:#2A1D17;color:#FFD79A;font:900 17px var(--f-head);text-align:center}.zg-rows b strong{color:inherit;font:inherit}
body.zn .note-body .zg-rows p{margin:0;padding:9px 14px;font-size:15px;line-height:1.7;border-top:1px dashed #C9BB9A}.zg-rows p:first-of-type{border-top:0}
.zg-rows i{display:block;font-style:normal;font-size:11px;letter-spacing:.2em;color:var(--accent)}

/* 要点清单 */
body.zn.zg .note-body ul.zg-points{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:10px}
body.zn.zg .note-body .zg-points li{position:relative;margin:0;padding:12px 16px 12px 42px;background:#FFFEFA;border-left:5px solid var(--brass)}
.zg-points li::before{content:"";position:absolute;left:18px;top:23px;width:9px;height:9px;border:2px solid var(--accent);transform:rotate(45deg)}
body.zn.zg .note-body .zg-swap .zg-points li{border-left-color:#2F5D3A}
body.zn.zg .note-body .zg-keep .zg-points li{background:#2A1D17;color:#FFF6E8;border-left-color:var(--accent)}
body.zn.zg .note-body .zg-keep .zg-points li strong{color:#FFD79A;background:none}
.zg-keep .zg-points li::before{border-color:#FFD79A}

/* 步骤只有一两句话：卡片收紧 */
body.zn.zg .note-body .zn-steps{gap:10px}
body.zn.zg .note-body .zn-steps>li{padding:12px 16px}
body.zn.zg .zn-no{font-size:34px;top:8px;right:12px}
body.zn.zg .note-body .zn-text p{margin:0;font-size:17px}

/* ---------- 页尾：酱油深棕 ---------- */
.site-foot{ background:var(--soy); color:#E9DCC6; border-top:6px double var(--brass); margin-top:0; }
.site-foot-full .wrap{ display:block; padding-top:48px; padding-bottom:28px; }
.foot-top{ display:grid; grid-template-columns:1.5fr repeat(5,minmax(0,1fr)); gap:28px; padding-bottom:30px; border-bottom:1px solid rgba(201,164,106,.35); }
.foot-brand strong{ display:flex; align-items:center; gap:12px; font:900 1.6rem var(--f-head); letter-spacing:.14em; color:var(--cream-ink); margin-bottom:12px; }
.foot-brand strong::before{ content:""; width:50px; height:50px; flex:none; background:url("/assets/site/app-icon.svg") center/contain no-repeat; }
.foot-brand p{ margin:0; max-width:22em; line-height:1.85; font-size:.9rem; opacity:.85; }
.foot-col h2{ margin:0 0 12px; font:700 .95rem var(--f-head); letter-spacing:.08em; color:var(--brass); }
.foot-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:.9rem; }
.site-foot a{ color:#E9DCC6; text-decoration:none; }
.site-foot a:hover{ color:#fff; text-decoration:underline; text-decoration-color:var(--brass); text-underline-offset:4px; }
.foot-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 24px; padding-top:20px; font-size:.82rem; color:#BFAE92; }
.site-foot .foot-credit{ border-bottom:1px solid var(--brass); }
@media (max-width:1000px){ .foot-top{ grid-template-columns:repeat(3,minmax(0,1fr)); } .foot-brand{ grid-column:1/-1; } }
@media (max-width:640px){ .foot-top{ grid-template-columns:1fr 1fr; gap:24px; } }

/* ---------- 笔记页 ---------- */
.note-head{ border-bottom:3px double var(--ink); padding-bottom:16px; }
.note-pos{ color:var(--accent); font-weight:700; letter-spacing:.06em; }
.note-body h2{ display:flex; align-items:center; border-top:1px solid var(--ink); padding-top:16px; }
.note-body h2::before{ display:none; }
/* 笔记主图（config/photos.json） */
.note-photo{ margin:20px 0 8px; }
.note-photo img{ display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; background:#eee9df; }
.note-photo figcaption{ padding-top:6px; font-size:.76rem; color:var(--ink-3); text-align:right; }
.note-photo figcaption a{ color:inherit; text-decoration:none; }
.note-photo figcaption a:hover{ color:var(--accent); }
/* 步骤标签：〔中火 · 7–8 分钟〕 */
.step-tag{ display:inline-block; margin:0 8px 4px 0; padding:0 0 1px; border-bottom:2px solid var(--accent); color:var(--accent); font:700 .8rem/1.5 var(--f-num),var(--f-body); white-space:nowrap; }
.note-body a:not([class]){ color:var(--ink); text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:4px; }
.note-body a:not([class]):hover{ color:var(--accent); }

/* ---------- 把引擎默认的圆角卡片、药丸标签改成杂志版式 ---------- */
.note-main{ background:transparent; border:0; border-radius:0; }
.note-pos{ padding:0; background:none; border-radius:0; }
.chip,.mini-btn{ border-radius:0; border-width:1px; background:transparent; }
.note-body strong{ color:var(--ink); }
.overview{ padding:20px 0 6px; background:none; border-block:1px solid var(--ink); border-radius:0; }
.overview .label{ left:0; border-radius:0; }
.note-nav-link,.note-nav-link.is-next{ background:transparent; color:var(--ink); border:0; border-top:1px solid var(--ink); border-radius:0; }
.note-nav-link:hover,.note-nav-link.is-next:hover{ background:transparent; color:var(--accent); }
.side-link,.side-link.is-current,.side-link.is-active{ border-radius:0; }
.pbar,.pbar span{ border-radius:0; height:3px; }
.usage .label{ padding:0; background:none; color:var(--accent); border-radius:0; }
.group-head{ border-bottom:1px solid var(--ink); }
.toc-no,.toc-row.is-done .toc-no{ background:none; border-radius:0; color:var(--accent); font:400 1.3rem var(--f-num); }
.toc-row.is-done .toc-no{ font-weight:700; }
.toc-row{ border-width:0 0 1px; background:transparent; }
.steps li,.helper{ background:transparent; border-width:1px 0 0; border-color:var(--ink); border-radius:0; padding-inline:0; }
.steps li::before{ border-radius:0; background:none; color:var(--accent); font:200 2.2rem/1 var(--f-num); }
.helper b{ color:var(--ink); font-family:var(--f-head); }
main.page .head-cta,.page-lead + .btn-primary{ margin-top:18px; }
.fx-card,.fx-tag,.note-body .fx .fx-steps li,.fx-flags,.fx-vs-col{ border-radius:0; }

.side-item,.side-no,.note-body table,.table-wrap,.note-body .table-wrap{ border-radius:0; }
.side-item.is-active{ background:var(--ink); }
.note-body p > strong:first-child,.note-body li > strong:first-child{ background:none; }

/* ---------- 笔记里的步骤卡、图解、插画动画 ---------- */
/* ---------- 笔记页 ---------- */
.note-body{ font-size:1rem; line-height:1.85; }
.note-body h2{ font-size:1.8rem; margin-top:2.2em; }
.note-body table td:nth-child(2){ font-family:var(--f-num); font-weight:600; white-space:nowrap; }
.note-body ol > li{ margin:.9em 0; }
/* 有步骤图的步骤：文字在左、图在右；手机图在下 */
.note-body li.has-step-fig{ display:grid; grid-template-columns:1fr 190px; gap:4px 18px; align-items:center; border-bottom:1px solid var(--line); padding:14px 0; margin:0; list-style-position:inside; }
.note-body li.has-step-fig > .fig{ grid-column:2; grid-row:1; margin:0; padding:6px; background:var(--paper); border:0; box-shadow:none; border-radius:8px; }
.fk-scene svg{ display:block; width:100%; height:auto; }
@media (max-width:640px){
  .note-body li.has-step-fig{ grid-template-columns:1fr; }
  .note-body li.has-step-fig > .fig{ grid-column:1; grid-row:auto; max-width:210px; margin-top:8px; }
}
/* ---------- 图解卡（kind 不是 scene 的那些） ---------- */
.fig{ margin:22px 0 26px; padding:18px; background:#fff; border:1px solid var(--line); border-radius:0; box-shadow:none; }
.fig figcaption{ margin-top:12px; padding-top:10px; border-top:1px dashed var(--line); color:var(--ink-3); font-size:.88rem; }
.fk{ --ink:#1C1B1A; --mute:#7D7770; --g:#4E6B52; --gs:#E9EEE6; --y:#8A6A2F; --ys:#F4EDDD; --o:#B3261E; --os:#F8E5E2; --r:#8F1D17; --rs:#F3DAD6; --b:#4A6272; --bs:#E7ECEF; --l:#8A8F94; --ls:#ECEDEE; color:var(--ink); }
.fk-title,.note-body .fx .fk-title{ margin:0 0 16px; font:900 1.2rem/1.35 var(--f-head); }
.fk-sub,.note-body .fx .fk-sub{ margin:-10px 0 16px; font-size:.88rem; color:var(--mute); }
.fk svg{ display:block; width:100%; height:auto; }
@keyframes fkIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
@keyframes fkGrow{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.fig-armed .fk [data-r]{ opacity:0; }
.fig-armed .fk [data-g]{ transform:scaleX(0); transform-origin:left center; }
.fig-armed.is-in .fk [data-r]{ animation:fkIn .6s ease forwards; animation-delay:var(--d,0s); }
.fig-armed.is-in .fk [data-g]{ animation:fkGrow .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay:var(--d,0s); }
@media (prefers-reduced-motion:reduce){ .fig-armed .fk [data-g]{ transform:none; } .fig-armed .fk [data-r]{ opacity:1; } .fig-armed.is-in .fk [data-g],.fig-armed.is-in .fk [data-r]{ animation:none; } }
.fx{ --tc:var(--o); --ts:var(--os); }
.fx .t-g{ --tc:var(--g); --ts:var(--gs); } .fx .t-y{ --tc:var(--y); --ts:var(--ys); } .fx .t-o{ --tc:var(--o); --ts:var(--os); }
.fx .t-r{ --tc:var(--r); --ts:var(--rs); } .fx .t-b{ --tc:var(--b); --ts:var(--bs); } .fx .t-l{ --tc:var(--l); --ts:var(--ls); }
.note-body .fx p,.note-body .fx ul,.note-body .fx ol{ margin:0; } .note-body .fx li{ margin:0; line-height:1.55; }
.fx-tag{ display:inline-block; font-style:normal; font-size:.74rem; font-weight:700; padding:2px 10px; border-radius:99px; background:var(--tc); color:#fff; margin-bottom:6px; }
.fx-cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.fx-card{ background:var(--ts); border-left:5px solid var(--tc); border-radius:8px; padding:12px 14px; font-size:.9rem; line-height:1.6; color:var(--ink-2); }
.fx-card > b{ display:block; font-size:1rem; color:var(--ink); margin-bottom:4px; }
.fx-card ul{ margin:4px 0 0; padding-left:1.1em; }
.fx-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.note-body .fx .fx-steps li{ background:var(--paper); border-radius:8px; padding:14px; font-size:.88rem; color:var(--ink-2); }
.fx-steps li em{ display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--wok); color:#fff; font:700 .85rem var(--f-num); margin-bottom:8px; }
.fx-steps li b{ display:block; color:var(--ink); }
.fx-bars{ display:grid; grid-template-columns:minmax(90px,max-content) 1fr auto; gap:10px 12px; align-items:center; font-size:.9rem; }
.fx-bar{ display:contents; } .fx-bl{ font-weight:600; }
.fx-bt{ height:14px; background:var(--line-soft); border-radius:99px; overflow:hidden; }
.fx-bt i{ display:block; height:100%; border-radius:99px; background:var(--accent); }
.fx-bv{ font:700 .9rem var(--f-num); color:var(--accent-ink); white-space:nowrap; }
.note-body .fx .fx-foot{ margin:12px 0 0; font-size:.84rem; color:var(--mute); }
.fx-vs{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.fx-vs-col{ border-radius:8px; padding:12px 14px; } .fx-vs-col.is-do{ background:var(--gs); } .fx-vs-col.is-dont{ background:var(--rs); }
.note-body .fx .fx-vs-h{ margin:0 0 8px; font-weight:700; }
.fx-vs ul{ list-style:none; padding:0; display:grid; gap:7px; }
.fx-vs li{ display:grid; grid-template-columns:20px 1fr; gap:8px; font-size:.9rem; }
.fx-vs li svg{ width:20px; height:20px; }
.fx-tl{ list-style:none; margin:0; padding:0 0 0 22px; position:relative; display:grid; gap:12px; }
.fx-tl::before{ content:""; position:absolute; left:7px; top:6px; bottom:6px; width:3px; border-radius:3px; background:var(--accent); }
.fx-tl li{ position:relative; font-size:.9rem; } .fx-tl li::before{ content:""; position:absolute; left:-21px; top:5px; width:13px; height:13px; border-radius:50%; background:#fff; border:3px solid var(--tc); }
.fx-tl em{ font-style:normal; font-weight:700; color:var(--tc); margin-right:8px; }
.fx-scale{ display:flex; gap:4px; border-radius:8px; overflow:hidden; }
.fx-zone{ min-width:0; background:var(--ts); border-top:6px solid var(--tc); padding:10px; font-size:.86rem; } .fx-zone b{ display:block; color:var(--tc); }
.fx-flags{ border-left:5px solid var(--r); background:var(--rs); border-radius:8px; padding:14px 16px; }
.fx-flags ul{ margin:0; padding-left:1.2em; }
@media (max-width:640px){ .fx-steps,.fx-vs{ grid-template-columns:1fr; } .fx-bars{ grid-template-columns:1fr auto; } .fx-bl{ grid-column:1/-1; } .fx-scale{ flex-direction:column; } }

/* ---------- 步骤小动画（kind: scene）：进入画面播一次，停在最后一格 ---------- */
.sc .sk{ stroke:var(--wok); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.sc .sk:not([fill]){ fill:none; }
.sc .fo{ fill:var(--accent); }
.sc .sc-glow{ fill:var(--accent); opacity:.85; }
.sc .sc-lbl{ font:700 13px var(--f-num),var(--f-body); fill:var(--wok); }
.sc .sc-num{ font:700 17px var(--f-num); fill:var(--accent); }
.sc .sc-big{ font:700 22px var(--f-num),var(--f-body); fill:var(--wok); }
.sc .sc-dot{ fill:var(--accent); }
.sc .sc-item{ fill:#fff; stroke:var(--wok); stroke-width:1.4; }
.sc .sc-wave{ fill:none; stroke:var(--steel); stroke-width:1.6; }
.sc .sc-steam{ fill:none; stroke:var(--steel); stroke-width:2; stroke-linecap:round; }
.sc .a-tick{ fill:none; stroke:var(--accent); stroke-width:5; stroke-dasharray:214; stroke-dashoffset:0; }
.sc .a-tick.sm{ stroke-width:5; stroke-dasharray:101; }
.sc .a-bubble{ fill:#fff; stroke:var(--steel); stroke-width:1.4; }
.sc .a-brown{ fill:#c39669; }
.sc .a-bake{ fill:#cfa370; }
.sc .a-puff{ fill:var(--c2); }
/* 等待播放：先回到第一格 */
.fig-armed .sc .a-glow{ opacity:.12; }
.fig-armed .sc .a-therm{ transform:scaleY(.12); transform-origin:center bottom; transform-box:fill-box; }
.fig-armed .sc .a-puff{ fill:var(--c1); transform:scale(.82); transform-box:fill-box; transform-origin:center; }
.fig-armed .sc .a-fall,.fig-armed .sc .a-drop,.fig-armed .sc .a-show{ opacity:0; }
.fig-armed .sc .a-lit{ fill:var(--line); }
.fig-armed .sc .a-fillup{ transform:scaleY(0); transform-box:fill-box; transform-origin:center bottom; }
.fig-armed .sc .a-bake{ fill:#ecdbaf; }
.fig-armed .sc .a-tick{ stroke-dashoffset:214; } .fig-armed .sc .a-tick.sm{ stroke-dashoffset:101; }
.fig-armed .sc .a-press{ transform:translateY(-18px); }
.fig-armed .sc .a-knife{ transform:translate(-20px,-6px); }
.fig-armed .sc .a-brown{ fill:#f4f1e9; }
.fig-armed .sc .a-flick,.fig-armed .sc .a-shimmer,.fig-armed .sc .a-rise,.fig-armed .sc .a-bubble{ opacity:0; }
/* 播放 */
.fig-armed.is-in .sc .a-glow{ animation:scGlow 2.2s ease-out forwards; }
.fig-armed.is-in .sc .a-therm{ animation:scTherm 2.2s ease-out forwards; }
.fig-armed.is-in .sc .a-puff{ animation:scPuff 3s ease-in-out forwards; }
.fig-armed.is-in .sc .a-whisk{ transform-origin:80px 40px; animation:scWhisk .45s ease-in-out 6 alternate; }
.fig-armed.is-in .sc .a-fall{ animation:scFall 1.3s ease-in 2 var(--d,0s); }
.fig-armed.is-in .sc .a-drop{ animation:scDrop .7s ease-in forwards var(--d,0s); }
.fig-armed.is-in .sc .a-show{ animation:scShow .35s ease forwards var(--d,0s); }
.fig-armed.is-in .sc .a-lit{ animation:scLit .3s linear forwards var(--d,0s); }
.fig-armed.is-in .sc .a-fillup{ animation:scFill 2s ease-out forwards; }
.fig-armed.is-in .sc .a-poke{ animation:scPoke 2.8s ease-in-out forwards; }
.fig-armed.is-in .sc .a-bake{ animation:scBake 2.8s ease forwards; }
.fig-armed.is-in .sc .a-tick{ animation:scTick 2.4s linear forwards; }
.fig-armed.is-in .sc .a-flip{ transform-origin:88px 64px; animation:scFlip 1.3s ease-in-out 2.2s forwards; }
.fig-armed.is-in .sc .a-press{ animation:scPress 1s ease-out .2s forwards; }
.fig-armed.is-in .sc .a-knife{ animation:scKnife .45s ease-in-out 4 alternate; }
.fig-armed.is-in .sc .a-flick{ animation:scFlick .5s ease-in-out infinite alternate var(--d,0s); }
.fig-armed.is-in .sc .a-shimmer{ animation:scShow .6s ease forwards .8s; }
.fig-armed.is-in .sc .a-brown{ animation:scBrown 2.6s ease forwards; }
.fig-armed.is-in .sc .a-flipup{ animation:scFlipUp 1s ease-in-out 1.4s; transform-origin:80px 64px; }
.fig-armed.is-in .sc .a-toss{ transform-origin:80px 80px; animation:scToss .6s ease-in-out 4 alternate; }
.fig-armed.is-in .sc .a-jump{ animation:scJump .6s ease-in-out 4 alternate var(--d,0s); }
.fig-armed.is-in .sc .a-bubble{ animation:scBubble 1.2s ease-in infinite var(--d,0s); }
.fig-armed.is-in .sc .a-rise{ animation:scRise 1.8s ease-out infinite var(--d,0s); }
.fig-armed.is-in .sc .a-stir{ transform-origin:96px 12px; animation:scStir .5s ease-in-out 6 alternate; }
.fig-armed.is-in .sc .a-hand{ transform-origin:132px 26px; animation:scHand 2.4s linear forwards; }
@keyframes scGlow{ to{ opacity:.85; } }
@keyframes scTherm{ to{ transform:scaleY(1); } }
@keyframes scPuff{ to{ fill:var(--c2); transform:scale(1.1); } }
@keyframes scWhisk{ from{ transform:rotate(-14deg); } to{ transform:rotate(14deg); } }
@keyframes scFall{ 0%{ opacity:1; transform:translateY(0); } 90%{ opacity:1; } 100%{ opacity:0; transform:translateY(40px); } }
@keyframes scDrop{ 0%{ opacity:1; transform:translateY(-30px); } 100%{ opacity:1; transform:none; } }
@keyframes scShow{ to{ opacity:1; } }
@keyframes scLit{ to{ fill:var(--accent); } }
@keyframes scFill{ to{ transform:scaleY(1); } }
@keyframes scPoke{ 0%{ transform:translateY(-30px); } 35%,65%{ transform:none; } 100%{ transform:translateY(-30px); } }
@keyframes scBake{ to{ fill:#cfa370; } }
@keyframes scTick{ to{ stroke-dashoffset:0; } }
@keyframes scFlip{ to{ transform:rotate(180deg) translateY(-8px); } }
@keyframes scPress{ to{ transform:none; } }
@keyframes scKnife{ from{ transform:translate(-20px,-6px); } to{ transform:translate(10px,26px); } }
@keyframes scFlick{ from{ transform:scaleY(.8); opacity:.75; } to{ transform:scaleY(1.1); opacity:1; } }
@keyframes scBrown{ to{ fill:#c39669; } }
@keyframes scFlipUp{ 50%{ transform:translateY(-26px) rotate(180deg); } 100%{ transform:rotate(360deg); } }
@keyframes scToss{ from{ transform:rotate(-4deg); } to{ transform:rotate(4deg) translateY(-4px); } }
@keyframes scJump{ from{ transform:none; } to{ transform:translateY(-22px); } }
@keyframes scBubble{ 0%{ opacity:1; transform:none; } 100%{ opacity:0; transform:translateY(-22px); } }
@keyframes scRise{ 0%{ opacity:0; transform:none; } 30%{ opacity:1; } 100%{ opacity:0; transform:translateY(-10px); } }
@keyframes scStir{ from{ transform:rotate(-12deg); } to{ transform:rotate(12deg); } }
@keyframes scHand{ to{ transform:rotate(360deg); } }
.sc .a-flick{ transform-box:fill-box; transform-origin:center bottom; }
@media (prefers-reduced-motion:reduce){
  .fig-armed .sc *,.fig-armed.is-in .sc *{ animation:none !important; }
  .fig-armed .sc .a-glow,.fig-armed .sc .a-fall,.fig-armed .sc .a-drop,.fig-armed .sc .a-show,.fig-armed .sc .a-flick,.fig-armed .sc .a-shimmer,.fig-armed .sc .a-rise{ opacity:1; }
  .fig-armed .sc .a-therm,.fig-armed .sc .a-puff,.fig-armed .sc .a-fillup,.fig-armed .sc .a-press,.fig-armed .sc .a-knife{ transform:none; }
  .fig-armed .sc .a-lit{ fill:var(--accent); } .fig-armed .sc .a-tick{ stroke-dashoffset:0; } .fig-armed .sc .a-bake{ fill:#cfa370; } .fig-armed .sc .a-brown{ fill:#c39669; }
  .fig-armed .sc .a-puff{ fill:var(--c2); }
}

/* 步骤：文字块 */
.note-body li.has-step-fig > .step-body{ grid-column:1; min-width:0; line-height:1.85; }
.note-body li.has-step-fig > .step-body > .step-tag{ display:inline-block; }
/* 分类卡片底部：数字和「篇」挨着，箭头靠右 */
/* 页尾 */


/* 1.5.23 场景补充：卷起来（a-draw 线条画出来） */
.fig-armed .sc .a-draw{ stroke-dasharray:1; stroke-dashoffset:1; }
.fig-armed.is-in .sc .a-draw{ animation:scTick 2s ease-out forwards; }
@media (prefers-reduced-motion: reduce){ .fig-armed .sc .a-draw{ stroke-dashoffset:0; animation:none; } }
/* 手机上三栏表格：第一栏不要被挤成一字一行 */
.note-body table th:first-child,.note-body table td:first-child{ min-width:4.5em; }
/* ---------- 插画动画（_design/art/note_art.py 画的插画图解、插画步骤，2026-11-10 试做：鸡蛋） ---------- */
.il{ display:block; width:100%; height:auto; overflow:visible; }
.il .sc-lbl{ font:600 11px var(--f-body); fill:#5c5650; }
.il .il-num{ font:700 13px var(--f-num),var(--f-body); fill:#1c1b1a; }
.fx-illus-wrap .il-fig{ max-width:620px; margin:0 auto; }
.il-legend{ display:grid; grid-template-columns:repeat(var(--n,3),1fr); gap:10px; max-width:620px; margin:12px auto 0; }
.il-leg{ display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; font-size:.9rem; line-height:1.45; }
.il-leg .fx-tag{ margin-bottom:2px; }
.il-leg b{ font-size:1rem; }
.il-leg span{ color:var(--mute,#7d7770); font-size:.85rem; }
.note-body .fx .il-leg span{ display:block; }
/* 播放：滑到那里才动，播完停住 */
.fig-armed .il .il-drop,.fig-armed .il .il-show{ opacity:0; }
.fig-armed .il .il-grow{ transform:scaleY(0); }
.fig-armed .il .il-draw{ stroke-dasharray:1; stroke-dashoffset:1; }
.fig-armed.is-in .il .il-drop{ animation:ilDrop .9s cubic-bezier(.3,.7,.4,1) forwards var(--d,0s); }
.fig-armed.is-in .il .il-drop-soft{ animation-name:ilDropSoft; animation-duration:1.4s; }
.fig-armed.is-in .il .il-show{ animation:ilShow .45s ease forwards var(--d,0s); }
.fig-armed.is-in .il .il-grow{ animation:ilGrow 1s ease-out forwards var(--d,0s); }
.fig-armed.is-in .il .il-draw{ animation:ilDraw .5s ease-out forwards var(--d,0s); }
.fig-armed.is-in .il .il-bob{ animation:ilBob 1.6s ease-in-out 3 var(--d,1.8s); transform-box:fill-box; transform-origin:50% 50%; }
.fig-armed.is-in .il .il-flick{ animation:ilFlick .5s ease-in-out 8 alternate var(--d,0s); }
.fig-armed.is-in .il .il-rise{ animation:ilRise 1.4s ease-out 3 var(--d,0s); opacity:0; }
.fig-armed.is-in .il .il-spin{ animation:ilSpin 2.4s ease-in-out forwards .2s; }
.fig-armed.is-in .il .il-roll{ animation:ilRoll 1s ease-in-out var(--d,0s); transform-box:fill-box; transform-origin:50% 50%; }
@keyframes ilDrop{ 0%{ opacity:1; transform:translateY(-110px); } 70%{ transform:translateY(5px); } 100%{ opacity:1; transform:none; } }
@keyframes ilDropSoft{ 0%{ opacity:1; transform:translateY(-90px); } 60%{ transform:translateY(14px); } 80%{ transform:translateY(-3px); } 100%{ opacity:1; transform:none; } }
@keyframes ilShow{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
@keyframes ilGrow{ to{ transform:scaleY(1); } }
@keyframes ilDraw{ to{ stroke-dashoffset:0; } }
@keyframes ilBob{ 50%{ transform:translateY(-3px) rotate(-3deg); } }
@keyframes ilFlick{ from{ transform:scaleY(.8); } to{ transform:scaleY(1.12); } }
@keyframes ilRise{ 0%{ opacity:0; transform:none; } 25%{ opacity:1; } 100%{ opacity:0; transform:translateY(-20px); } }
@keyframes ilSpin{ to{ transform:rotate(330deg); } }
@keyframes ilRoll{ 50%{ transform:translateX(6px) rotate(14deg); } }
@media (prefers-reduced-motion:reduce){
  .fig-armed .il .il-drop,.fig-armed .il .il-show{ opacity:1; }
  .fig-armed .il .il-grow{ transform:none; }
  .fig-armed .il .il-draw{ stroke-dashoffset:0; }
  .fig-armed.is-in .il *{ animation:none !important; }
  .fig-armed.is-in .il .il-rise{ opacity:0; }
}

/* 做法步骤的编号：「1. 蛋放进锅：……」（用户 2026-11-10） */
.note-body .step-no{ font:700 1.02em var(--f-num),var(--f-body); color:var(--ink); margin-right:.4em; }
/* 通用步骤插画（_design/art/step_art.py）用到的动画 */
.fig-armed .il .il-fall,.fig-armed .il .il-pop{ opacity:0; }
.fig-armed .il .il-fill,.fig-armed .il .il-grow-x{ transform:scale(1,0); }
.fig-armed .il .il-grow-x{ transform:scale(0,1); }
.fig-armed .il .il-glow{ opacity:.15; }
.fig-armed .il .il-therm{ transform:scaleY(.15); }
.fig-armed.is-in .il .il-glow{ animation:ilGlow 1.6s ease forwards var(--d,0s); }
.fig-armed.is-in .il .il-therm{ animation:ilGrow 2s ease-out forwards var(--d,0s); }
.fig-armed.is-in .il .il-puff ellipse{ animation:ilPuff 2.4s ease forwards .4s; transform-box:fill-box; transform-origin:50% 50%; }
.fig-armed.is-in .il .il-whisk{ animation:ilWhisk .35s ease-in-out 8 alternate; }
.fig-armed.is-in .il .il-stir{ animation:ilWhisk .6s ease-in-out 5 alternate; }
.fig-armed.is-in .il .il-fall{ animation:ilFall 1.2s ease-in 2 var(--d,0s); }
.fig-armed.is-in .il .il-pop{ animation:ilPop .45s cubic-bezier(.3,1.6,.5,1) forwards var(--d,0s); }
.fig-armed.is-in .il .il-fill{ animation:ilGrow 1.8s ease-out forwards var(--d,0s); }
.fig-armed.is-in .il .il-grow-x{ animation:ilGrowX 1.4s ease-out forwards var(--d,0s); }
.fig-armed.is-in .il .il-poke{ animation:ilPoke 2.2s ease-in-out var(--d,0s); }
.fig-armed.is-in .il .il-press{ animation:ilPress 1.6s ease-in-out 2 alternate var(--d,0s); }
.fig-armed.is-in .il .il-chop{ animation:ilChop .5s ease-in-out 4 alternate var(--d,0s); }
.fig-armed.is-in .il .il-roll-x{ animation:ilRollX 2.2s ease-in-out var(--d,0s) both; }
.fig-armed.is-in .il .il-toss{ animation:ilToss .45s ease-in-out 8 alternate; }
.fig-armed.is-in .il .il-flipup{ animation:ilFlipUp 1.1s ease-in-out var(--d,0s); }
.fig-armed.is-in .il .il-lid{ animation:ilLid 1s ease-out var(--d,0s) both; }
.fig-armed.is-in .il .il-door{ animation:ilDoor 1.4s ease-in-out .2s both; }
.fig-armed.is-in .il .il-spin2{ animation:ilSpin2 .5s linear 6; }
.fig-armed.is-in .il .il-slide,.fig-armed.is-in .il .il-slide2{ animation:ilSlide 1.4s ease-in-out var(--d,0s); }
@keyframes ilGlow{ to{ opacity:.85; } }
@keyframes ilPuff{ from{ fill:var(--c1); } to{ fill:var(--c2); transform:scale(1.12,1.5); } }
@keyframes ilWhisk{ from{ transform:rotate(-12deg); } to{ transform:rotate(12deg); } }
@keyframes ilFall{ 0%{ opacity:1; transform:none; } 85%{ opacity:1; } 100%{ opacity:0; transform:translateY(32px); } }
@keyframes ilPop{ from{ opacity:0; transform:scale(.2); } to{ opacity:1; transform:none; } }
@keyframes ilGrowX{ to{ transform:none; } }
@keyframes ilPoke{ 0%{ transform:translateY(-34px); } 35%,60%{ transform:none; } 100%{ transform:translateY(-34px); } }
@keyframes ilPress{ from{ transform:translateY(-12px); } to{ transform:none; } }
@keyframes ilChop{ from{ transform:rotate(-14deg) translateY(-8px); } to{ transform:none; } }
@keyframes ilRollX{ from{ transform:translateX(70px) rotate(360deg); opacity:.2; } to{ transform:none; opacity:1; } }
@keyframes ilToss{ from{ transform:none; } to{ transform:translateY(-9px) rotate(-3deg); } }
@keyframes ilFlipUp{ 50%{ transform:translateY(-24px) rotate(180deg); } 100%{ transform:rotate(360deg); } }
@keyframes ilLid{ from{ transform:translateY(-26px); opacity:0; } to{ transform:none; opacity:1; } }
@keyframes ilDoor{ 0%{ transform:none; } 40%,60%{ transform:scaleX(.25); } 100%{ transform:none; } }
@keyframes ilSpin2{ to{ transform:rotate(360deg); } }
@keyframes ilSlide{ 0%{ transform:translateX(30px); } 100%{ transform:none; } }
@media (prefers-reduced-motion:reduce){
  .fig-armed .il .il-fall,.fig-armed .il .il-pop,.fig-armed .il .il-glow{ opacity:1; }
  .fig-armed .il .il-fill,.fig-armed .il .il-grow-x,.fig-armed .il .il-therm{ transform:none; }
}
.il .il-fill{ transform-box:fill-box; transform-origin:50% 100%; }

/* ---------- 插画（生成器 _design/art/build_art.py） ---------- */
/* ART:START —— 由 _design/art/build_art.py 生成，不要手改这一段 */
.note-body h2[id^="材料"]::before,
.note-body h2[id="做法"]::before,
.note-body h2[id^="推荐做法"]::before,
.note-body h2[id="怎么挑"]::before,
.note-body h2[id="怎么处理"]::before,
.note-body h2[id="怎么煮不失败"]::before,
.note-body h2[id="怎么存"]::before,
.note-body h2[id="保存"]::before{ display:block; content:""; flex:none; width:58px; height:58px; margin:0 12px 0 0; border:0; border-radius:0; background:center/contain no-repeat; clip-path:none; }
.note-body h2[id^="材料"]::before{ background-image:url("/assets/site/art/anise.svg"); }
.note-body h2[id="做法"]::before{ background-image:url("/assets/site/art/chilli.svg"); }
.note-body h2[id^="推荐做法"]::before{ background-image:url("/assets/site/art/chilli.svg"); }
.note-body h2[id="怎么挑"]::before{ background-image:url("/assets/site/art/shallot.svg"); }
.note-body h2[id="怎么处理"]::before{ background-image:url("/assets/site/art/ginger.svg"); }
.note-body h2[id="怎么煮不失败"]::before{ background-image:url("/assets/site/art/fish.svg"); }
.note-body h2[id="怎么存"]::before{ background-image:url("/assets/site/art/pandan.svg"); }
.note-body h2[id="保存"]::before{ background-image:url("/assets/site/art/pandan.svg"); }
main.page:has(.toc-row[href^="/ingredients/"]) > .page-head .page-code{ background-image:url("/assets/site/art/shallot.svg"); }
main.page:has(.toc-row[href^="/seasonings/"]) > .page-head .page-code{ background-image:url("/assets/site/art/anise.svg"); }
main.page:has(.toc-row[href^="/dishes/"]) > .page-head .page-code{ background-image:url("/assets/site/art/fish.svg"); }
main.page:has(.toc-row[href^="/baking/"]) > .page-head .page-code{ background-image:url("/assets/site/art/egg.svg"); }
main.page:has(.toc-row[href^="/sweets/"]) > .page-head .page-code{ background-image:url("/assets/site/art/pandan.svg"); }
main.page:has(.toc-row[href^="/basics/"]) > .page-head .page-code{ background-image:url("/assets/site/art/claypot.svg"); }
body[data-active="start"] main.page > .page-head .page-code{ background-image:url("/assets/site/art/chilli.svg"); }
main.page > .page-head:has(> div > a.btn-primary[href="/"]) .page-code{ background-image:url("/assets/site/art/claypot.svg"); }
/* ART:END */
