/* 毛手毛腳食堂 官網 — 「野餐貼紙」＋「路邊小食堂」
   整頁就是一間店：遮陽棚（頂部）→ 本店特色 → 今日菜單（十二大關、紅白格子桌布）→ 員工介紹（廚師牆）
   → 黑板（排行榜）→ 會員集點卡 → 收據（頁尾）。廚師會從卡片後面探頭。 */

:root {
  --ink: #3b2a22;
  --ink-2: #6b4f3f;
  --ink-3: #9c8169;
  --paper: #f5e3c0;
  --paper-2: #ecd3a6;
  --card: #fff8ea;
  --cream: #fffaf0;
  --tomato: #e5483b;
  --tomato-d: #b8322a;
  --mustard: #f2b632;
  --mustard-d: #c98d14;
  --leaf: #3fb35a;
  --leaf-d: #2a8a43;
  --sky: #3b8fe5;
  --sky-d: #2a6dba;
  --berry: #7a4fb0;
  --mint: #8fe3c8;
  --chalk: #2f4a3a;
  --wood: #a5693f;
  --sh: 4px 4px 0 var(--ink);
  --sh-lg: 6px 6px 0 var(--ink);
  --font-title: "Huninn", "jf-openhuninn", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --gut: clamp(16px, 3vw, 32px);
  --awning-h: 64px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fiber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='none' stroke='%23a0773f' stroke-opacity='.16' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M12 30c10 2 18 0 26-3M150 18c8 4 20 4 30 0M70 90c6 6 16 8 26 6M190 120c-6 8-6 16-2 24M30 170c12-2 20 2 26 8M120 200c10-4 22-4 30 2M200 210c6-6 14-8 22-6M90 150c4-6 12-8 18-6'/%3E%3C/g%3E%3C/svg%3E");
  --paws: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23ffffff' fill-opacity='.22'%3E%3Cg transform='translate(18 22) rotate(-18)'%3E%3Cellipse cx='10' cy='14' rx='8' ry='6.5'/%3E%3Ccircle cx='1' cy='5' r='3'/%3E%3Ccircle cx='7' cy='0' r='3.2'/%3E%3Ccircle cx='14' cy='0' r='3.2'/%3E%3Ccircle cx='20' cy='5' r='3'/%3E%3C/g%3E%3Cg transform='translate(76 74) rotate(16)'%3E%3Cellipse cx='10' cy='14' rx='8' ry='6.5'/%3E%3Ccircle cx='1' cy='5' r='3'/%3E%3Ccircle cx='7' cy='0' r='3.2'/%3E%3Ccircle cx='14' cy='0' r='3.2'/%3E%3Ccircle cx='20' cy='5' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-width: 320px; overflow-x: clip;
  font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink);
  background: var(--fiber), var(--noise), var(--paper);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.16em; fill: currentColor; color: inherit; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.noscript { text-align: center; font-weight: 700; }

/* 壞圖：不留破圖示，改成淡淡的格子底 */
img.img-broken { visibility: hidden; }
.img-host-broken { background: repeating-linear-gradient(45deg, #f3dfba 0 10px, #efd6a8 10px 20px); }

/* ---------------- 按鈕（壓下去有手感） ---------------- */
.btn {
  --bs: 4px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font-family: var(--font-title); font-size: 18px; line-height: 1; letter-spacing: .03em;
  padding: .72em 1.25em .7em; min-height: 48px;
  color: var(--ink); background: var(--card); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--bs) var(--bs) 0 var(--ink);
  transition: transform .09s ease-out, box-shadow .09s ease-out, background-color .15s;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: calc(var(--bs) + 1px) calc(var(--bs) + 1px) 0 var(--ink); }
.btn:active, .btn.is-down { transform: translate(var(--bs), var(--bs)); box-shadow: 0 0 0 var(--ink); transition-duration: .03s; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { font-size: 16px; min-height: 40px; padding: .55em 1em .5em; --bs: 3px; }
.btn-play, .btn-tomato { background: var(--tomato); color: #fff8ea; }
.btn-play:hover, .btn-tomato:hover { background: #ef5446; }
.btn-ghost { background: var(--card); }
.btn-block { width: 100%; }
.btn-xl {
  --bs: 6px; font-size: clamp(26px, 2.6vw, 34px); padding: .5em 1.15em .52em; min-height: 72px; border-width: 4px;
  overflow: hidden; isolation: isolate;
}
.btn-xl .ico { width: .9em; height: .9em; }
.btn-xl::after { /* 一道光掃過去 */
  content: ""; position: absolute; inset: -20% auto -20% -40%; width: 30%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg); animation: shine 4.2s ease-in-out 1.8s infinite;
}
@keyframes shine { 0%, 70% { left: -40%; } 100% { left: 130%; } }

/* ---------------- 遮陽棚（頂部） ---------------- */
.awning {
  position: relative; z-index: 20; height: var(--awning-h);
  background: repeating-linear-gradient(90deg, var(--tomato) 0 56px, #fff6e6 56px 112px);
  border-top: 3px solid var(--ink);
}
.awning::after { /* 扇形垂邊（紅白交錯）＋深棕硬陰影 */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; pointer-events: none;
  background:
    radial-gradient(circle at 28px 0, var(--tomato) 26px, transparent 27px) 0 0 / 112px 22px repeat-x,
    radial-gradient(circle at 84px 0, #fff6e6 26px, transparent 27px) 0 0 / 112px 22px repeat-x;
  filter: drop-shadow(0 3px 0 var(--ink));
}
.awning-in {
  height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut);
  display: flex; align-items: center; gap: 18px;
}
.awning-logo {
  display: block; flex: none; padding: 5px 12px 4px; background: var(--card);
  border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-1.5deg);
}
.awning-logo img { height: 40px; width: auto; }
.awning-nav { display: flex; gap: 8px; margin-left: auto; }
.awning-nav a {
  font-family: var(--font-title); font-size: 17px; text-decoration: none; line-height: 1;
  padding: 9px 14px 8px; background: var(--card); border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink); transition: transform .1s, background-color .15s;
}
.awning-nav a:hover { background: #ffe9a8; transform: translateY(-2px) rotate(-2deg); }

/* 捲過首屏後：桌機頂部小導覽列 */
.dock {
  position: fixed; z-index: 50; left: 50%; top: 10px; transform: translate(-50%, -140%); white-space: nowrap;
  display: flex; align-items: center; gap: 14px; padding: 6px 8px 6px 10px;
  background: var(--card); border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--sh);
  transition: transform .35s cubic-bezier(.34, 1.4, .64, 1);
}
.dock.show { transform: translate(-50%, 0); }
.dock-logo img { width: 40px; height: 40px; }
.dock-nav { display: flex; gap: 2px; }
.dock-nav a { font-family: var(--font-title); font-size: 16px; text-decoration: none; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.dock-nav a:hover, .dock-nav a.on { background: #ffe9a8; }

/* 手機：底部開玩鈕 */
.fab {
  position: fixed; z-index: 50; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: none;
  transform: translate(-50%, 160%); align-items: center; gap: .45em; white-space: nowrap;
  font-family: var(--font-title); font-size: 21px; line-height: 1; text-decoration: none; color: #fff8ea;
  padding: 15px 30px 14px; background: var(--tomato); border: 3px solid var(--ink); border-radius: 999px; box-shadow: var(--sh);
  transition: transform .35s cubic-bezier(.34, 1.4, .64, 1);
}
.fab.show { transform: translate(-50%, 0); }
.fab:active { box-shadow: 0 0 0 var(--ink); translate: 4px 4px; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative; overflow: clip; z-index: 1;
  height: clamp(620px, calc(100svh - var(--awning-h)), 900px);
  background: linear-gradient(#8fd0f2 0 45%, #9ccf62 45%);
}
/* 主視覺整張靠右、高度撐滿（不裁到廚師），左邊空出來的地方用同一張圖鏡像接起來（天空、樹、草地剛好連續），LOGO 放在那裡 */
.hero-art { position: absolute; inset: 0; display: flex; justify-content: flex-end; will-change: transform; }
.hero-img, .hero-ext { flex: none; height: 100%; width: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-ext { transform: scaleX(-1); filter: blur(1.2px) saturate(.92); margin-right: -10px; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 40% 66% at 22% 50%, rgba(255, 247, 232, .72), rgba(255, 247, 232, .36) 55%, rgba(255, 247, 232, 0) 80%);
}
.nb { display: inline-block; }
.hero-copy {
  position: absolute; z-index: 3; top: 50%; translate: 0 -46%;
  left: max(var(--gut), calc((100vw - 1320px) / 2 + var(--gut)));
  width: min(490px, 36vw); display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-logo { width: 100%; margin: 0 0 6px; position: relative; }
.hero-logo img, .hero-logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-logo svg { filter: drop-shadow(0 8px 0 rgba(91, 39, 21, .12)); }
.hero-lede {
  font-size: clamp(17px, 1.45vw, 20px); font-weight: 700; line-height: 1.55;
  background: var(--card); border: 3px solid var(--ink); border-radius: 16px; padding: 10px 18px;
  box-shadow: var(--sh); rotate: -1deg;
}
.hero-lede b { color: var(--tomato); }
.hero-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  font-family: var(--font-title); font-size: 16px; line-height: 1; padding: 8px 13px 7px;
  background: #fffdf6; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink);
}
.chip:nth-child(2) { rotate: 1.5deg; } .chip:nth-child(3) { rotate: -1.2deg; } .chip:nth-child(4) { rotate: 1deg; }
.chip-tomato { background: var(--tomato); color: #fff8ea; }
.chip-sky { background: var(--sky); color: #fff; }
.hero-cta { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.hero-note { margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: rgba(255, 248, 234, .75); padding: 2px 10px; border-radius: 8px; }
.br-wide { display: inline; }

/* 內嵌 LOGO：字從鍋裡一個一個跳出來、偶爾自己跳一下；點圓章翻鍋 */
.logo-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-logo.img-host-broken .logo-fallback {
  position: static; width: auto; height: auto; clip-path: none; display: inline-block; font-size: clamp(40px, 5vw, 64px);
  color: var(--mustard); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; padding: 20px 0;
}
.hero-logo.img-host-broken img { display: none; }
.pp-logo .pp-ch, .pp-logo .pp-tag { transform-box: fill-box; transform-origin: 50% 90%; }
.pp-logo .pp-emblem, .pp-logo .pp-egg { transform-box: fill-box; transform-origin: 50% 50%; }
.pp-logo.intro .pp-ch { animation: ch-in .62s cubic-bezier(.34, 1.7, .64, 1) both; }
.pp-logo.intro .pp-ch1 { animation-delay: .09s; } .pp-logo.intro .pp-ch2 { animation-delay: .18s; }
.pp-logo.intro .pp-ch3 { animation-delay: .27s; } .pp-logo.intro .pp-ch4 { animation-delay: .4s; } .pp-logo.intro .pp-ch5 { animation-delay: .49s; }
.pp-logo.intro .pp-emblem { animation: em-in .7s cubic-bezier(.34, 1.56, .64, 1) both; }
.pp-logo.intro .pp-tag { animation: ch-in .5s .75s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes ch-in { 0% { transform: translateY(40%) scale(.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes em-in { 0% { transform: scale(.4) rotate(-40deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.pp-logo[data-hop="0"] .pp-ch0, .pp-logo[data-hop="1"] .pp-ch1, .pp-logo[data-hop="2"] .pp-ch2,
.pp-logo[data-hop="3"] .pp-ch3, .pp-logo[data-hop="4"] .pp-ch4, .pp-logo[data-hop="5"] .pp-ch5 { animation: ch-hop .62s cubic-bezier(.3, .9, .4, 1); }
@keyframes ch-hop { 0% { transform: none; } 18% { transform: scale(1.08, .86); } 48% { transform: translateY(-16%) rotate(-6deg); } 78% { transform: translateY(2%) scale(1.04, .94); } 100% { transform: none; } }
.pp-logo.flip .pp-emblem { animation: toss 1s cubic-bezier(.3, .9, .4, 1); }
.pp-logo.flip .pp-egg { animation: egg-flip 1s cubic-bezier(.3, .9, .4, 1); }
.pp-logo.flip .pp-ch { animation: ch-hop .62s cubic-bezier(.3, .9, .4, 1) both; }
.pp-logo.flip .pp-ch1 { animation-delay: .05s; } .pp-logo.flip .pp-ch2 { animation-delay: .1s; } .pp-logo.flip .pp-ch3 { animation-delay: .15s; }
.pp-logo.flip .pp-ch4 { animation-delay: .2s; } .pp-logo.flip .pp-ch5 { animation-delay: .25s; }
@keyframes toss { 0% { transform: none; } 15% { transform: rotate(8deg) scale(.96); } 45% { transform: rotate(-10deg) translateY(-3%); } 75% { transform: rotate(3deg); } 100% { transform: none; } }
@keyframes egg-flip { 0% { transform: none; } 15% { transform: translate(0, 4%); } 50% { transform: translate(-6%, -38%) rotate(200deg) scale(1.1); } 80% { transform: translate(0, 2%) rotate(360deg); } 100% { transform: rotate(360deg); } }

/* 首屏飄浮的食材貼紙（視差＋上下飄） */
.hero-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.fl {
  position: absolute; width: 64px; height: 64px; overflow: visible;
  filter: drop-shadow(3px 4px 0 rgba(59, 42, 34, .22));
  animation: bob 5.5s ease-in-out infinite;
}
.fl-1 { left: 4%; top: 14%; width: 72px; height: 72px; --r: -14deg; }
.fl-2 { left: 39%; top: 9%; --r: 18deg; animation-delay: -1.2s; }
.fl-3 { left: 35%; bottom: 12%; width: 70px; height: 70px; --r: 8deg; animation-delay: -2.4s; }
.fl-4 { left: 3%; bottom: 16%; width: 76px; height: 76px; --r: -6deg; animation-delay: -3.1s; }
.fl-5 { right: 3%; top: 54%; width: 58px; height: 58px; --r: 12deg; animation-delay: -.6s; }
.fl-6 { left: 44%; top: 46%; width: 50px; height: 50px; --r: -20deg; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: var(--r, 0deg); } 50% { translate: 0 -12px; rotate: calc(var(--r, 0deg) + 8deg); } }

/* 區塊之間的邊 */
.edge { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 4; }
.edge-paper {
  bottom: -2px; height: 30px; background: var(--fiber), var(--noise), var(--paper);
  -webkit-mask: radial-gradient(18px 14px at 50% 0, transparent 97%, #000) 0 0 / 40px 30px repeat-x;
  mask: radial-gradient(18px 14px at 50% 0, transparent 97%, #000) 0 0 / 40px 30px repeat-x;
}

/* ---------------- 共用區塊 ---------------- */
.sec { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 var(--gut); position: relative; }
.wrap-narrow { max-width: 920px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(30px, 4.3vw, 54px); margin: 16px 0 10px; letter-spacing: .02em; }
.sec-head p { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-2); font-weight: 500; }
.label {
  display: inline-block; font-family: var(--font-title); font-size: 16px; line-height: 1; padding: 9px 15px 8px;
  border: 3px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); rotate: -2.5deg;
  background: var(--mustard);
}
.label-cream { background: var(--card); }
.label-leaf { background: var(--leaf); color: #fff; }
.label-sky { background: var(--sky); color: #fff; }
.label-tomato { background: var(--tomato); color: #fff8ea; }
.card {
  position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: var(--sh-lg); padding: clamp(20px, 2.2vw, 28px);
}

/* 捲進畫面才浮上來（沒有 JS 時一律顯示） */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .6s ease-out, translate .7s cubic-bezier(.22, 1.2, .36, 1); }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: none; transition: none; } }

/* ---------------- 探頭的廚師 ---------------- */
.peek {
  position: absolute; bottom: calc(100% + 3px); width: 150px; height: 124px; overflow: hidden; z-index: 0;
  pointer-events: none;
}
.peek img {
  width: 100%; height: auto; translate: 0 104%; cursor: pointer; pointer-events: auto;
  transition: translate .75s cubic-bezier(.34, 1.56, .64, 1);
  filter: drop-shadow(0 -1px 0 rgba(59, 42, 34, .15));
}
.peek.in img { translate: 0 14%; }
.peek.in img.hop { translate: 0 4%; transition-duration: .18s; }
.peek-r { right: 26px; }
.peek-l { left: 30px; }
.peek-c { left: 50%; margin-left: -75px; }
.peek-say {
  position: absolute; z-index: 6; bottom: calc(100% + 96px); white-space: nowrap; pointer-events: none;
  font-family: var(--font-title); font-size: 16px; line-height: 1; padding: 9px 13px 8px;
  background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink);
  opacity: 0; translate: 0 8px; scale: .7; transition: opacity .2s, translate .25s, scale .25s cubic-bezier(.34, 1.56, .64, 1);
}
.peek-say.show { opacity: 1; translate: 0 0; scale: 1; }
@media (prefers-reduced-motion: reduce) { .peek img { transition: none; } }

/* ---------------- 本店特色（bento） ---------------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); margin-top: 96px; }
.feat { display: flex; flex-direction: column; gap: 12px; }
.feat h3 { font-size: clamp(24px, 2.2vw, 30px); }
.feat p { color: var(--ink-2); font-size: 16px; }
.feat p b { color: var(--ink); background: linear-gradient(transparent 58%, #ffe08a 58%); }
.feat-ico { width: 78px; height: 78px; flex: none; overflow: visible; }
.feat-top { display: flex; gap: 18px; align-items: flex-start; }
.feat-top h3 { margin-bottom: 6px; }
.feat-coop { grid-column: span 7; rotate: -.5deg; }
.feat-star { grid-column: span 5; rotate: .6deg; background: #fffdf3; }
.feat-perk { grid-column: span 4; rotate: .5deg; }
.feat-shout { grid-column: span 4; rotate: -.4deg; background: #f2f8ff; }
.feat-helper { grid-column: span 4; rotate: .4deg; background: #f6fbf3; }
.perk-row { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.perk-row li { font-family: var(--font-title); font-size: 15px; line-height: 1; padding: 7px 10px 6px; background: var(--pc, #fff); border: 2px solid var(--ink); border-radius: 999px; }
.perk-row li:nth-child(odd) { rotate: -2deg; } .perk-row li:nth-child(3n) { rotate: 2deg; }
.sink { position: relative; margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #dff1fb; border: 3px solid var(--ink); }
.sink .plate { width: 54px; height: 54px; flex: none; overflow: visible; }
.sink .dirt { animation: dirt 6s infinite; }
.sink .shine { opacity: 0; transform-box: fill-box; transform-origin: center; animation: shine-pop 6s infinite; }
.sink .plate:nth-child(2) .dirt, .sink .plate:nth-child(2) .shine { animation-delay: 2s; }
.sink .plate:nth-child(3) .dirt, .sink .plate:nth-child(3) .shine { animation-delay: 4s; }
@keyframes dirt { 0%, 8% { opacity: 1; } 22%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes shine-pop { 0%, 18% { opacity: 0; scale: .3; } 24% { opacity: 1; scale: 1.2; } 30%, 80% { opacity: 1; scale: 1; } 90%, 100% { opacity: 0; scale: .3; } }
.sink .bubbles { position: absolute; right: 16px; top: 8px; bottom: 8px; width: 46px; }
.sink .bubbles i { position: absolute; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); animation: bub 2.4s ease-in infinite; }
.sink .bubbles i:nth-child(2) { left: 16px; width: 9px; height: 9px; animation-delay: .6s; }
.sink .bubbles i:nth-child(3) { left: 30px; animation-delay: 1.2s; }
.sink .bubbles i:nth-child(4) { left: 8px; width: 8px; height: 8px; animation-delay: 1.8s; }
@keyframes bub { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 1; } 100% { translate: 4px -46px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sink .dirt, .sink .shine, .sink .bubbles i { animation: none; } }
.more { margin-top: auto; align-self: flex-start; font-family: var(--font-title); font-size: 17px; text-decoration: none; border-bottom: 3px solid var(--mustard); }
.more::after { content: " →"; }

/* 小玩具共用 */
.toy { margin-top: auto; padding: 16px; border: 3px dashed var(--ink-3); border-radius: 16px; background: rgba(245, 227, 192, .45); display: grid; gap: 14px; }
.toy-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toy-label { font-weight: 700; font-size: 15px; }
.toy-out { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.seg { display: inline-flex; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--card); box-shadow: 2px 2px 0 var(--ink); }
.seg button { border: 0; background: none; padding: 8px 13px 7px; font-family: var(--font-title); font-size: 16px; line-height: 1; cursor: pointer; min-height: 38px; }
.seg button + button { border-left: 3px solid var(--ink); }
.seg button[aria-checked="true"] { background: var(--mustard); }
.coop-bar { position: relative; height: 34px; border: 3px solid var(--ink); border-radius: 999px; background: #f3e2c2; overflow: hidden; }
.coop-bar i {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%);
  background: repeating-linear-gradient(-45deg, var(--leaf) 0 12px, #5cc874 12px 24px);
  border-right: 3px solid var(--ink); transition: width .06s linear;
}
.coop-bar.done i { background: var(--mustard); }
.coop-dough { position: absolute; right: 10px; top: 50%; translate: 0 -50%; font-family: var(--font-title); font-size: 15px; line-height: 1; }
.btn-hold { background: var(--mustard); touch-action: none; }
.btn-hold.is-down { background: #ffd35c; }
.toy-pop {
  position: absolute; z-index: 5; pointer-events: none; font-family: var(--font-title); font-size: 22px; line-height: 1; white-space: nowrap;
  color: var(--leaf-d); text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
  animation: pop-up .9s ease-out forwards;
}
@keyframes pop-up { 0% { opacity: 0; translate: 0 6px; scale: .6; } 20% { opacity: 1; scale: 1.15; } 100% { opacity: 0; translate: 0 -38px; scale: 1; } }

/* 速度星星計時器 */
.tm-stars { display: flex; gap: 10px; justify-content: center; }
.tm-s { width: 46px; height: 46px; color: var(--mustard); transition: color .2s, scale .3s; overflow: visible; }
.tm-s.off { color: #d8c6a6; scale: .82; }
.tm-s.crack { animation: crack .55s ease-out; }
@keyframes crack { 0% { scale: 1.2; rotate: 0deg; } 30% { rotate: -16deg; scale: .9; } 60% { rotate: 10deg; } 100% { rotate: 0deg; scale: .82; } }
.tm-s.gain { animation: gain .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes gain { 0% { scale: .6; } 100% { scale: 1; } }
.tm-track {
  position: relative; height: 20px; margin: 22px 4px 4px; border: 3px solid var(--ink); border-radius: 999px;
  background: linear-gradient(90deg, #7fd18f 0 58.8%, #ffd76a 58.8% 76.5%, #f59a8a 76.5%);
}
.tm-mark { position: absolute; top: -3px; bottom: -3px; left: calc(var(--at) * 100%); width: 3px; background: var(--ink); }
.tm-mark b { position: absolute; bottom: calc(100% + 3px); left: 50%; translate: -50% 0; font-family: var(--font-title); font-weight: 400; font-size: 14px; line-height: 1; white-space: nowrap; }
.tm-end { width: 0; }
.tm-end b { translate: -80% 0; }
.tm-needle { position: absolute; top: -9px; bottom: -9px; left: calc(var(--t, 0) * 100%); width: 6px; margin-left: -3px; border-radius: 3px; background: var(--ink); }
.tm-needle::before { content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; translate: -50% 0; border-radius: 50%; background: var(--tomato); border: 3px solid var(--ink); }
.btn-serve { background: var(--leaf); color: #fff; }
.tm-clock {
  margin-left: auto; font-family: var(--font-title); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums;
  padding: 8px 14px 6px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; min-width: 92px; text-align: center;
}
.tm-clock.fail { background: var(--tomato); color: #fff; }

/* 喊話 */
.shouts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.shout {
  position: relative; cursor: pointer; font-family: var(--font-title); font-size: 17px; line-height: 1;
  padding: 10px 14px 9px; background: #fff; border: 3px solid var(--ink); border-radius: 16px 16px 16px 4px;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s;
}
.shout:nth-child(2) { border-radius: 16px 16px 4px 16px; }
.shout:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.shout-bubble {
  position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 10px); pointer-events: none; white-space: nowrap;
  font-family: var(--font-title); font-size: 22px; line-height: 1; padding: 12px 16px 10px; color: #fff;
  background: var(--sky); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink);
  animation: bubble 1.1s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
.shout-bubble::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; background: var(--sky); border: 3px solid var(--ink); border-width: 0 3px 3px 0; translate: -50% -7px; rotate: 45deg; }
@keyframes bubble { 0% { opacity: 0; translate: -50% 10px; scale: .5; } 18% { opacity: 1; translate: -50% 0; scale: 1.08; } 30% { scale: 1; } 80% { opacity: 1; translate: -50% -6px; } 100% { opacity: 0; translate: -50% -16px; } }

/* ---------------- 今日菜單（十二大關） ---------------- */
.sec-gingham {
  background-color: #fff4e2;
  background-image:
    linear-gradient(90deg, rgba(229, 72, 59, .34) 50%, transparent 50%),
    linear-gradient(rgba(229, 72, 59, .34) 50%, transparent 50%);
  background-size: 64px 64px;
  padding-top: clamp(96px, 11vw, 150px); padding-bottom: clamp(96px, 11vw, 150px);
}
.edge-scallop-top, .edge-scallop-bottom { height: 26px; }
.edge-scallop-top {
  top: -1px; background: radial-gradient(circle at 20px 0, var(--paper) 18px, transparent 19px) 0 0 / 40px 26px repeat-x;
  filter: drop-shadow(0 3px 0 var(--ink));
}
.edge-scallop-bottom {
  bottom: -1px; background: radial-gradient(circle at 20px 26px, var(--mint) 18px, transparent 19px) 0 0 / 40px 26px repeat-x;
  filter: drop-shadow(0 -3px 0 var(--ink));
}
.sec-head-menu {
  background: var(--card); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--sh-lg);
  padding: 26px clamp(18px, 4vw, 44px) 28px; position: relative;
}
.sec-head-menu::before, .sec-head-menu::after { /* 菜單上的圖釘 */
  content: ""; position: absolute; top: 12px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tomato); border: 3px solid var(--ink); box-shadow: 1px 2px 0 var(--ink);
}
.sec-head-menu::before { left: 14px; } .sec-head-menu::after { right: 14px; }
.sec-head-menu .label { margin-top: -50px; }
#worlds .sec-head-menu { z-index: 2; margin-bottom: clamp(108px, 11vw, 136px); }
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dish {
  --c: var(--leaf); --c2: var(--leaf);
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 92px 18px 20px; min-height: 236px;
  background: linear-gradient(var(--c) 0 58px, var(--card) 58px); background-clip: padding-box;
  border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink);
}
.dish::before { content: ""; position: absolute; left: 0; right: 0; top: 55px; height: 3px; background: var(--ink); }
.dish-ico {
  position: absolute; left: 14px; top: 16px; width: 74px; height: 74px; padding: 7px; overflow: visible;
  background: #fffdf6; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 2px 3px 0 var(--ink);
}
.dish-no { position: absolute; right: 14px; top: 14px; font-family: var(--font-title); font-size: 15px; line-height: 1; color: #fff; letter-spacing: .06em; padding: 6px 9px 5px; background: rgba(0, 0, 0, .22); border-radius: 8px; }
.dish h3 { font-size: 21px; display: flex; flex-direction: column; gap: 3px; }
.dish h3 small { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dish p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.stamp {
  align-self: flex-end; margin-top: auto; font-family: var(--font-title); font-size: 16px; line-height: 1; color: var(--tomato);
  padding: 7px 11px 6px; border: 3px solid currentColor; border-radius: 8px; rotate: -8deg; opacity: .82;
  box-shadow: inset 0 0 0 2px #fff4e2, inset 0 0 0 3px currentColor;
}
.dish:nth-child(3n) .stamp { rotate: 5deg; } .dish:nth-child(4n) .stamp { rotate: -3deg; }
.dish-now { grid-column: span 2; grid-row: span 2; padding: 0; background: var(--card); border-width: 4px; box-shadow: 8px 8px 0 var(--ink); }
.dish-now::before { display: none; }
.dish-in { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: 14px; overflow: hidden; }
.dish-pic { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 4px solid var(--ink); background: #9ccf62; }
.dish-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transition: scale .5s ease-out; }
.dish-now:hover .dish-pic img { scale: 1.05; }
.dish-body { position: relative; flex: 1; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.dish-now .dish-no { position: static; align-self: flex-start; background: var(--leaf); color: #fff; }
.dish-now h3 { font-size: clamp(28px, 2.6vw, 36px); flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.dish-now p { font-size: 16px; }
.dish-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.dish-tags li { font-family: var(--font-title); font-size: 15px; line-height: 1; padding: 7px 10px 6px; background: #eaf7df; border: 2px solid var(--ink); border-radius: 999px; }
.dish-tags li:nth-child(2) { background: #ffe1c9; } .dish-tags li:nth-child(3) { background: #fff0b3; }
.dish-go {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-size: 19px; line-height: 1; color: #fff; background: var(--tomato);
  padding: 12px 16px 11px 18px; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink);
  transition: translate .12s, box-shadow .12s;
}
.dish-go svg { width: 20px; height: 20px; transition: translate .2s; }
.dish-now:hover .dish-go { translate: -1px -2px; box-shadow: 4px 5px 0 var(--ink); }
.dish-now:hover .dish-go svg { translate: 4px 0; }
.dish-now .dish-in:active .dish-go { translate: 2px 2px; box-shadow: 1px 1px 0 var(--ink); }
.stamp-go {
  position: absolute; right: 18px; top: -26px; margin: 0; opacity: 1; rotate: 6deg; color: #fff; background: var(--leaf);
  font-size: 20px; padding: 11px 15px 9px; border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); animation: wiggle 2.8s ease-in-out infinite;
}
@keyframes wiggle { 0%, 82%, 100% { rotate: 6deg; } 88% { rotate: -2deg; } 94% { rotate: 9deg; } }
.dish-note { --c: #d9c09a; background: repeating-linear-gradient(-45deg, #fff8ea 0 14px, #f6ead3 14px 28px); border-style: dashed; padding-top: 92px; }
.dish-note::before { display: none; }
.dish-note .dish-ico { color: var(--ink-2); padding: 16px; background: var(--mustard); }
.dish-note .dish-no { background: var(--ink); }

/* ---------------- 員工介紹（廚師牆） ---------------- */
.sec-mint { background: var(--paws), var(--mint); }
.sec-mint .sec-head p { color: #2f5a4b; }
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: -18px 0 30px; }
.filters button {
  cursor: pointer; font-family: var(--font-title); font-size: 16px; line-height: 1; padding: 9px 14px 8px; min-height: 40px;
  background: var(--card); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink);
}
.filters button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.chef-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 16px; }
.chef-wall-loading { grid-column: 1 / -1; text-align: center; font-family: var(--font-title); font-size: 20px; padding: 40px 0; }
.chef { display: flex; }
.chef[hidden] { display: none; }
.chef-card {
  position: relative; width: 100%; padding: 0; cursor: pointer; text-align: center; display: flex; flex-direction: column;
  background: var(--card); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden;
  transition: transform .15s cubic-bezier(.34, 1.56, .64, 1), box-shadow .15s;
}
.chef-card:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 6px 8px 0 var(--ink); }
.chef-card:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.chef-pic {
  position: relative; aspect-ratio: 5 / 6; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--cc) 42%, #fff) 0 46%, color-mix(in srgb, var(--cc) 22%, #fff8ea) 47%);
  border-bottom: 3px solid var(--ink);
}
.chef-pic img { width: 92%; height: 96%; object-fit: contain; object-position: 50% 100%; transition: translate .25s cubic-bezier(.34, 1.56, .64, 1); }
.chef-card:hover .chef-pic img { translate: 0 -5px; }
.chef-pic .sil { width: 82%; height: 92%; overflow: visible; transition: translate .25s; }
.chef-card:hover .sil { translate: 0 -4px; }
.chef-no { position: absolute; left: 8px; top: 8px; font-family: var(--font-title); font-size: 13px; line-height: 1; padding: 4px 7px 3px; background: rgba(255, 255, 255, .85); border: 2px solid var(--ink); border-radius: 7px; }
.chef-soon { position: absolute; right: 6px; top: 8px; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; background: var(--ink); color: var(--cream); border-radius: 6px; }
.chef-meta { padding: 9px 8px 11px; display: grid; gap: 5px; justify-items: center; }
.chef-name { font-family: var(--font-title); font-size: 19px; line-height: 1; }
.perk-chip { font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 8px 4px; border-radius: 999px; background: color-mix(in srgb, var(--cc) 30%, #fff); border: 2px solid var(--ink); white-space: nowrap; }
.chef-unlock { font-size: 11.5px; color: var(--ink-3); font-weight: 500; line-height: 1.3; display: flex; align-items: center; gap: 3px; }
.chef-unlock .ico { width: 12px; height: 12px; }

.chef-dlg {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 40px); padding: 0; color: var(--ink);
  background: var(--card); border: 4px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); overflow: auto;
}
.chef-dlg::backdrop { background: rgba(59, 42, 34, .55); backdrop-filter: blur(2px); }
.chef-dlg[open] { animation: dlg-in .3s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes dlg-in { from { scale: .85; opacity: 0; } }
.dlg-x-wrap { position: absolute; right: 12px; top: 12px; z-index: 2; margin: 0; }
.dlg-x { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; box-shadow: 2px 2px 0 var(--ink); cursor: pointer; display: grid; place-items: center; }
.dlg-x .ico { width: 18px; height: 18px; }
.dlg-in { display: grid; grid-template-columns: 220px 1fr; }
.dlg-pic { background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--cc) 45%, #fff) 0 50%, color-mix(in srgb, var(--cc) 25%, #fff8ea) 51%); border-right: 3px solid var(--ink); display: flex; align-items: flex-end; justify-content: center; padding: 16px 10px 0; min-height: 260px; }
.dlg-pic img, .dlg-pic svg { width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.dlg-txt { padding: 26px 24px 24px; display: grid; gap: 12px; align-content: start; }
.dlg-txt h3 { font-size: 34px; display: flex; align-items: baseline; gap: 10px; }
.dlg-txt h3 small { font-family: var(--font-title); font-size: 16px; color: var(--ink-3); }
.dlg-perk { padding: 12px 14px; background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.dlg-perk strong { font-family: var(--font-title); font-weight: 400; font-size: 20px; display: block; }
.dlg-perk span { font-size: 15px; color: var(--ink-2); }
.dlg-bio { font-size: 15px; color: var(--ink-2); }
.dlg-unlock { font-size: 14px; font-weight: 700; display: flex; gap: 6px; align-items: center; }

/* ---------------- 黑板（排行榜） ---------------- */
.sec-paper2 { background: var(--fiber), var(--noise), var(--paper-2); }
.board-wrap { position: relative; margin-top: 120px; }
.board {
  position: relative; z-index: 1; padding: clamp(22px, 3vw, 36px); color: #f4efe2;
  background: var(--noise), radial-gradient(ellipse at 30% 20%, #3a5a47, var(--chalk) 70%);
  border: 14px solid var(--wood); border-radius: 18px;
  box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--ink), 8px 10px 0 3px var(--ink);
}
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.board-head h3 { font-size: clamp(22px, 2.4vw, 30px); color: #fff6d8; }
.board-tabs { display: flex; gap: 6px; }
.board-tabs button {
  cursor: pointer; font-family: var(--font-title); font-size: 16px; line-height: 1; color: #f4efe2; padding: 8px 12px 7px; min-height: 38px;
  background: transparent; border: 2px dashed rgba(244, 239, 226, .6); border-radius: 10px;
}
.board-tabs button[aria-selected="true"] { background: rgba(244, 239, 226, .14); border-style: solid; border-color: #ffe08a; color: #ffe08a; }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 260px; align-content: start; }
.board-row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 10px 6px; border-bottom: 2px dashed rgba(244, 239, 226, .22);
}
.board-rank { font-family: var(--font-title); font-size: 30px; line-height: 1; text-align: center; color: #f4efe2; }
.board-row:nth-child(1) .board-rank { color: #ffd65a; font-size: 36px; }
.board-row:nth-child(2) .board-rank { color: #dfe6ee; }
.board-row:nth-child(3) .board-rank { color: #f0b98a; }
.board-who { min-width: 0; display: grid; gap: 6px; }
.board-names { font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-team { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.tok.tok-dark { color: #fff8ea; }
.tok {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-title); font-size: 14px; line-height: 1; color: var(--ink);
  background: var(--tc, #ddd); border: 2px solid #f4efe2;
}
.vbadge { font-size: 12px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 6px; background: #ffe08a; color: var(--ink); }
.board-time { font-family: var(--font-title); font-size: clamp(24px, 2.6vw, 32px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.board-row.mine { background: rgba(255, 224, 138, .12); border-radius: 10px; }
.board-empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 34px 10px; font-family: var(--font-title); font-size: clamp(22px, 2.6vw, 30px); color: #fff6d8; }
.board-empty svg { width: 120px; height: 90px; }
.board-empty small { font-family: var(--font-body); font-size: 15px; color: rgba(244, 239, 226, .75); }
.chalk-eraser { position: absolute; right: 26px; bottom: -14px; width: 64px; height: 20px; border-radius: 5px; background: linear-gradient(#f2d39a 0 45%, #6b4f3f 45%); border: 3px solid var(--ink); }

/* ---------------- 會員集點卡 ---------------- */
.member { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.member-copy h2 { font-size: clamp(30px, 4vw, 50px); margin: 16px 0 14px; }
.member-copy p { font-size: 17px; color: var(--ink-2); font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.ticks .ico { width: 26px; height: 26px; padding: 4px; color: #fff; background: var(--leaf); border: 2px solid var(--ink); border-radius: 50%; }
.member-card-wrap { position: relative; margin-top: 110px; }
.member-card { position: relative; z-index: 1; background: var(--card); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.mc-top {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background-color: #fff4e2;
  background-image: linear-gradient(90deg, rgba(229, 72, 59, .38) 50%, transparent 50%), linear-gradient(rgba(229, 72, 59, .38) 50%, transparent 50%);
  background-size: 24px 24px; border-bottom: 4px solid var(--ink);
}
.mc-top img { width: 48px; height: 48px; filter: drop-shadow(2px 2px 0 rgba(59, 42, 34, .3)); }
.mc-top div { display: grid; line-height: 1.2; background: var(--card); border: 3px solid var(--ink); border-radius: 10px; padding: 5px 12px 4px; }
.mc-top strong { font-family: var(--font-title); font-weight: 400; font-size: 20px; }
.mc-top span { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); }
.mc-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 3px solid var(--ink); }
.mc-tabs button { cursor: pointer; border: 0; background: #f3e4c6; font-family: var(--font-title); font-size: 18px; line-height: 1; padding: 15px 8px 13px; }
.mc-tabs button + button { border-left: 3px solid var(--ink); }
.mc-tabs button[aria-selected="true"] { background: var(--card); box-shadow: inset 0 -5px 0 var(--mustard); }
.mc-form { padding: 20px 22px 22px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; position: relative; }
.field > span { font-family: var(--font-title); font-size: 17px; line-height: 1.2; }
.field em { font-family: var(--font-body); font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.field input {
  width: 100%; font: 500 16px/1.3 var(--font-body); color: var(--ink); padding: 12px 14px; min-height: 50px;
  background: #fffdf7; border: 3px solid var(--ink); border-radius: 12px; outline: none; transition: box-shadow .15s;
}
.field input:focus { box-shadow: 0 0 0 4px #ffd76a; }
.field input[aria-invalid="true"] { border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(229, 72, 59, .25); }
.field-pw input { padding-right: 56px; }
.pw-eye { position: absolute; right: 6px; bottom: 6px; width: 44px; height: 38px; border: 0; background: none; cursor: pointer; color: var(--ink-2); border-radius: 8px; display: grid; place-items: center; }
.pw-eye[aria-pressed="true"] { color: var(--sky-d); }
.pw-eye .ico { width: 22px; height: 22px; }
[data-mode="login"] [data-only="register"] { display: none; }
.mc-msg { min-height: 0; font-size: 15px; font-weight: 700; color: var(--tomato-d); }
.mc-msg:empty { display: none; }
.mc-msg.ok { color: var(--leaf-d); }
.mc-msg:not(:empty) { padding: 10px 12px; background: #fff0ec; border: 2px solid currentColor; border-radius: 10px; }
.mc-msg.ok:not(:empty) { background: #effaf1; }
.mc-fine { font-size: 14px; text-align: center; color: var(--ink-2); }
.mc-user { padding: 22px; display: grid; gap: 14px; }
.mc-hello { font-family: var(--font-title); font-size: 24px; }
.mc-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stampo { aspect-ratio: 1; border-radius: 50%; border: 3px dashed var(--ink-3); display: grid; place-items: center; }
.stampo.on { border: 3px solid var(--tomato-d); background: #fff0ec; color: var(--tomato); }
.stampo.on .ico { width: 62%; height: 62%; rotate: var(--rr, -12deg); }
.mc-stars { display: flex; gap: 8px; align-items: center; font-family: var(--font-title); font-size: 20px; }
.mc-stars .ico { color: var(--mustard); width: 26px; height: 26px; }
.mc-stars em { font-family: var(--font-body); font-style: normal; font-size: 13px; color: var(--ink-3); }
.mc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 頁尾（收據） ---------------- */
.foot { background: var(--noise), #3b2a22; padding: clamp(72px, 9vw, 110px) 16px clamp(80px, 10vw, 120px); }
.receipt {
  position: relative; max-width: 430px; margin: 0 auto; padding: 34px 30px 26px; color: var(--ink);
  background: var(--fiber), #fffdf6; rotate: -1.2deg; filter: drop-shadow(0 14px 0 rgba(0, 0, 0, .28));
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x;
}
.rc-head { display: grid; justify-items: center; gap: 6px; text-align: center; padding-bottom: 16px; border-bottom: 2px dashed var(--ink-3); }
.rc-head img { width: 56px; height: 56px; }
.rc-head strong { font-family: var(--font-title); font-weight: 400; font-size: 26px; line-height: 1; }
.rc-head span { font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--ink-2); }
.rc-lines { margin: 14px 0; display: grid; gap: 7px; font-size: 15px; }
.rc-lines div { display: flex; align-items: baseline; gap: 8px; }
.rc-lines dt { white-space: nowrap; }
.rc-lines div::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--ink-3); translate: 0 -4px; }
.rc-lines dd { order: 2; margin: 0; font-weight: 700; white-space: nowrap; }
.rc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 2px dashed var(--ink-3); border-bottom: 2px dashed var(--ink-3); font-family: var(--font-title); font-size: 22px; }
.rc-total b { font-weight: 400; color: var(--tomato); font-size: 28px; }
.rc-thanks { text-align: center; margin: 16px 0 12px; font-family: var(--font-title); font-size: 18px; }
.rc-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 15px; font-weight: 700; }
.rc-nav a { text-decoration: none; border-bottom: 2px solid var(--mustard); }
.rc-copy { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--ink-2); }
.rc-barcode { height: 46px; margin: 16px auto 4px; width: 78%; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 14px); }

/* ================= 寬度調整 ================= */
@media (max-width: 1180px) {
  .awning-nav a { padding: 8px 11px 7px; font-size: 16px; }
  .menu { gap: 16px; }
}

@media (max-width: 1100px) {
  .fl-6 { display: none; }
  .hero { height: 620px; }
  .hero-copy { width: min(440px, 36vw); }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feat-coop, .feat-star { grid-column: span 6; }
  .feat-perk, .feat-shout, .feat-helper { grid-column: span 2; }
  .feat-perk .feat-ico, .feat-shout .feat-ico, .feat-helper .feat-ico { width: 64px; height: 64px; }
  .feat-star .toy { grid-template-columns: auto 1fr; align-items: center; }
  .feat-star .tm-track { grid-column: 2; grid-row: 1; }
  .feat-star .toy-row { grid-column: 1 / -1; }
  .dish { padding-left: 14px; padding-right: 14px; }
  .dish h3 { font-size: 19px; }
}

/* 平板直式以下：首屏改成「圖在上、LOGO 壓在圖的下緣」 */
@media (max-width: 899px) {
  :root { --awning-h: 58px; }
  .awning-nav { display: none; }
  .awning-in .btn-play { margin-left: auto; }
  .awning-logo img { height: 34px; }
  .awning { background-size: auto; background: repeating-linear-gradient(90deg, var(--tomato) 0 44px, #fff6e6 44px 88px); }
  .awning::after { background:
    radial-gradient(circle at 22px 0, var(--tomato) 20px, transparent 21px) 0 0 / 88px 18px repeat-x,
    radial-gradient(circle at 66px 0, #fff6e6 20px, transparent 21px) 0 0 / 88px 18px repeat-x; height: 18px; }
  .dock { display: none; }
  .fab { display: inline-flex; }
  .hero { height: auto; display: flex; flex-direction: column; background: var(--fiber), var(--noise), var(--paper); }
  .hero-art { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 3px solid var(--ink); }
  .hero { --ox: 72%; }
  .hero-ext { display: none; }
  .hero-art { display: block; }
  .hero-img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; aspect-ratio: auto; object-position: var(--ox) 40%; }
  .hero-glow { display: none; }
  .hero-copy { position: relative; top: auto; left: auto; translate: none; width: 100%; padding: 0 var(--gut) 72px; margin-top: -15%; }
  .hero-logo { width: min(86vw, 500px); }
  .hero-floaters { bottom: auto; height: 0; }
  .fl { width: 54px; height: 54px; }
  .fl-1 { top: 14px; left: 3%; }
  .fl-2 { top: 18px; left: auto; right: 4%; }
  .fl-3, .fl-4, .fl-5, .fl-6 { display: none; }
  .edge-paper { display: none; }
  .member { grid-template-columns: 1fr; }
  .member-copy { text-align: center; }
  .ticks { justify-items: center; }
  .member-card-wrap { width: min(100%, 480px); margin: 110px auto 0; }
  .member-copy p { max-width: 34em; margin-inline: auto; }
  .foot { padding-bottom: 128px; }
}

@media (max-width: 767px) {
  .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .dish-now { grid-column: 1 / -1; grid-row: auto; }
  .dish-go { margin-top: 8px; }
  .bento { grid-template-columns: minmax(0, 1fr); margin-top: 84px; }
  .feat-coop, .feat-star, .feat-perk, .feat-shout, .feat-helper { grid-column: auto; rotate: 0deg; }
  .feat-star .toy { grid-template-columns: 1fr; }
  .feat-star .tm-track { grid-column: auto; grid-row: auto; }
  .dlg-in { grid-template-columns: 1fr; }
  .dlg-pic { border-right: 0; border-bottom: 3px solid var(--ink); min-height: 0; height: 240px; }
  .dlg-pic img, .dlg-pic svg { max-height: 220px; width: auto; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -10px calc(var(--gut) * -1) 22px; padding: 4px var(--gut) 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .chef-wall { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
  .chef-name { font-size: 17px; }
  .chef-unlock { display: none; }
  .peek { width: 118px; height: 98px; }
  .peek-c { margin-left: -59px; }
  .peek-say { bottom: calc(100% + 74px); font-size: 15px; }
  .board-wrap { margin-top: 100px; }
  .board { border-width: 10px; }
  .board-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; }
  .board-rank { font-size: 24px; }
  .board-row:nth-child(1) .board-rank { font-size: 28px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .awning-logo { padding: 4px 8px 3px; }
  .awning-logo img { height: 30px; }
  .hero-art { aspect-ratio: 1 / 1; }
  .hero { --ox: 76%; }
  .hero-copy { margin-top: -22%; }
  .hero-lede { font-size: 16px; padding: 9px 14px; }
  .br-wide { display: none; }
  .chip { font-size: 15px; padding: 7px 11px 6px; }
  .hero-cta { gap: 10px; }
  .btn-xl { font-size: 26px; min-height: 64px; width: 100%; }
  .hero-cta .btn-ghost { width: 100%; }
  .feat-top { flex-direction: column; gap: 10px; }
  .feat-ico { width: 64px; height: 64px; }
  .toy { padding: 12px; }
  .seg button { padding: 8px 10px 7px; font-size: 15px; }
  .tm-clock { font-size: 22px; min-width: 80px; }
  .btn-serve { font-size: 16px; padding-left: 14px; padding-right: 14px; }
  .dish { padding: 74px 12px 14px; min-height: 0; background: linear-gradient(var(--c) 0 44px, var(--card) 44px); }
  .dish::before { top: 41px; }
  .dish-ico { width: 58px; height: 58px; left: 10px; top: 12px; padding: 5px; }
  .dish-no { right: 8px; top: 10px; font-size: 12px; padding: 5px 6px 4px; }
  .dish h3 { font-size: 17px; }
  .dish h3 small { font-size: 10.5px; letter-spacing: .04em; }
  .dish p { font-size: 13px; }
  .stamp { font-size: 14px; padding: 6px 8px 5px; }
  .dish-now { padding: 0; min-height: 0; background: var(--card); }
  .dish-now h3 { font-size: 26px; }
  .dish-body { padding: 18px 16px 18px; }
  .stamp-go { font-size: 17px; top: -22px; right: 12px; }
  .dish-note { padding-top: 74px; }
  .board-head { justify-content: center; text-align: center; }
  .board-names { font-size: 15px; }
  .tok { width: 24px; height: 24px; font-size: 12px; }
  .mc-form { padding: 18px 16px 18px; }
  .receipt { padding: 30px 22px 22px; }
}

@media (max-width: 374px) {
  .awning-in .btn-play { font-size: 15px; padding: .5em .8em; }
  .chip { font-size: 14px; }
  .hero-lede { font-size: 15px; }
  .seg button { padding: 8px 8px 7px; }
  .dish h3 { font-size: 16px; }
  .chef-wall { grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 10px; }
  .chef-name { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fl, .btn-xl::after, .stamp-go { animation: none; }
}
