/*
 * 店家官網：區塊樣式（風格示範 v0.2，11/3）
 * - 每種內容有好幾種「排法」（區塊變體），例如菜單有：商品卡橫滑（.rail）、時刻表（.tt）、印刷菜單（.pm）、拼貼格（.bento）。
 * - 風格＝挑哪些排法、什麼順序、哪段換底色＋一組 --s-* 變數（themes.css）。同一份內容，換風格就是換骨架。
 * - 參考 awesome-design-md（MIT）抽出的風格原型，不照搬任何品牌的招牌色與專用字體。
 * - 不用 color-mix 等新語法，iPad 9 也能正常顯示。
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site {
  margin: 0; background: var(--s-canvas); color: var(--s-ink);
  font-family: var(--s-font-body); font-size: 17px; line-height: 1.75;
  letter-spacing: var(--s-body-tracking, 0.02em); overflow-x: hidden;
}
.site a { color: var(--s-accent-text); text-underline-offset: 3px; }
.wrap { width: 100%; max-width: var(--s-max, 1120px); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.section { padding: var(--s-section-y, 88px) 0; scroll-margin-top: 72px; }
.section.alt { background: var(--s-surface-2); }
.section.band { background: var(--s-band); color: var(--s-on-band); }
.section.band .muted { color: var(--s-band-muted); }
.section.band a:not(.btn) { color: var(--s-on-band); }
.muted { color: var(--s-muted); }
.site p { margin: 0 0 1em; }

/* 數字比同一行文字大 40%（設計系統規範）；電話、代號不放大 */
.n { font-size: 1.4em; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1; }

/* ---------- 字 ---------- */
.site h1, .site h2, .site h3 {
  font-family: var(--s-font-display); font-weight: var(--s-display-weight, 700);
  letter-spacing: var(--s-display-tracking, 0); line-height: var(--s-display-leading, 1.3);
  margin: 0; text-wrap: balance;
}
.site h1 { font-size: clamp(34px, 6.2vw, var(--s-h1-max, 64px)); }
.site h2 { font-size: clamp(26px, 3.6vw, var(--s-h2-max, 40px)); margin-bottom: 14px; }
.site h3 { font-size: 21px; line-height: 1.4; }
.lead { font-size: 19px; max-width: 34em; text-wrap: pretty; }
.head { margin-bottom: 36px; max-width: 40em; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--s-radius-btn, 999px);
  border: 1.5px solid transparent; font: 600 16px/1 var(--s-font-meta);
  letter-spacing: var(--s-btn-tracking, 0.02em); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(var(--s-press-scale, 0.97)); }
.site a.btn-primary { background: var(--s-btn-bg, var(--s-accent)); color: var(--s-btn-ink, var(--s-on-accent)); box-shadow: var(--s-btn-shadow, none); }
.site a.btn-ghost { background: transparent; color: var(--s-ink); border-color: var(--s-btn-line, var(--s-ink)); }
.site .band a.btn-ghost { color: var(--s-on-band); border-color: var(--s-on-band); }
.site a.btn-line { background: #06C755; color: #fff; } /* LINE 綠是 LINE 的規定色，不跟風格走 */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.site a:focus-visible, .site summary:focus-visible, .tabs button:focus-visible { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }

/* ---------- 照片位置（示範用，正式版是店家上傳的照片） ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--s-radius-img, 12px);
  background: linear-gradient(var(--s-ph-angle, 135deg), var(--s-ph-a), var(--s-ph-b));
  aspect-ratio: var(--ph-ratio, 4 / 3); color: var(--s-ph-ink);
}
.ph::before { content: ''; position: absolute; inset: 0; background-image: var(--s-ph-texture, radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.2px)); background-size: var(--s-ph-texture-size, 6px 6px); opacity: .7; }
.ph span { position: absolute; left: 14px; bottom: 12px; right: 14px; font: 500 13px/1.4 var(--s-font-meta); letter-spacing: .02em; opacity: .9; }
.ph svg { position: absolute; top: 50%; left: 50%; width: 36%; max-width: 150px; transform: translate(-50%, -58%); opacity: .55; }

/* ---------- 導覽 ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--s-nav-bg, var(--s-canvas)); border-bottom: 1px solid var(--s-nav-line, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.site a.brand { display: flex; align-items: center; gap: 10px; font: var(--s-display-weight, 700) 20px/1.2 var(--s-font-display); color: var(--s-ink); text-decoration: none; letter-spacing: var(--s-display-tracking, 0); }
.brand i { width: 34px; height: 34px; border-radius: var(--s-radius-logo, 50%); background: var(--s-accent); color: var(--s-on-accent); display: grid; place-items: center; font: 700 16px/1 var(--s-font-display); font-style: normal; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; font: 500 15px/1 var(--s-font-meta); letter-spacing: .02em; }
.site .nav ul a { color: var(--s-ink); text-decoration: none; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
@media (max-width: 760px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }
/* 手機上店名長（例：鐵人實業｜私教館）時，被擠的應該是店名（太長才用…截斷），不是右上的按鈕換成兩行 */
@media (max-width: 760px) { .nav a.brand { min-width: 0; } .nav .btn { flex-shrink: 0; white-space: nowrap; } }
@media (max-width: 420px) { .nav .wrap { gap: 12px; } .nav .btn { padding: 0 14px; font-size: 14px; }
  .nav:not(.nav-masthead) .brand-name { font-size: .9em; letter-spacing: .02em; } }
.strip { display: none; }
/* 報刊刊頭：細黑條＋置中大店名＋雙線；太高所以不固定在上方 */
.nav-masthead { position: relative; background: var(--s-canvas); border-bottom: 4px double var(--s-ink); }
.nav-masthead .wrap { flex-direction: column; gap: 0; min-height: 0; }
.nav-masthead .strip { display: flex; justify-content: space-between; width: 100vw; margin: 0 calc(50% - 50vw); padding: 0 20px; background: var(--s-ink); color: var(--s-canvas); font: 500 12px/30px var(--s-font-meta); letter-spacing: .02em; }
.site .nav-masthead a.brand { font-size: clamp(36px, 7.5vw, 72px); padding: 18px 0 8px; letter-spacing: .1em; }
.nav-masthead .brand i, .nav-masthead .btn { display: none; }
.nav-masthead ul { margin: 0; padding: 10px 0 12px; border-top: 1px solid var(--s-ink); width: 100%; justify-content: center; }
@media (max-width: 760px) { .nav-masthead ul { display: flex; gap: 14px; font-size: 13px; overflow-x: auto; justify-content: flex-start; } .nav-masthead .strip span + span { display: none; } }
/* 置中店名（紙感編輯）：店名在中間，選單在下一行 */
.nav-center .wrap { flex-direction: column; gap: 6px; padding-top: 18px; padding-bottom: 14px; min-height: 0; }
.nav-center ul { margin: 0; gap: 28px; font-size: 14px; }
.nav-center .btn { display: none; }
@media (max-width: 760px) { .nav-center ul { display: flex; gap: 16px; overflow-x: auto; max-width: 100%; } }

/* ======================= 大圖標語 ======================= */
.hero { position: relative; padding: 64px 0 88px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero .ph { --ph-ratio: 5 / 4; }
.hero .lead { margin: 20px 0 0; }
/* split：左字右圖（咖啡館） */
.hero-split .wrap { grid-template-columns: 1.05fr 1fr; }
/* quiet：置中、只有字、大量留白，圖很小（紙感編輯） */
.hero-quiet { text-align: center; padding: 120px 0 72px; }
.hero-quiet .wrap { grid-template-columns: 1fr; justify-items: center; }
.hero-quiet .lead { margin-left: auto; margin-right: auto; }
.hero-quiet .btns { justify-content: center; }
.hero-quiet .ph { width: min(100%, 520px); --ph-ratio: 3 / 2; margin-top: 56px; }
/* cover：滿版照片，字疊在照片上（大圖雜誌） */
.hero-cover { padding: 0; min-height: min(78vh, 680px); display: grid; align-items: end; color: #fff; }
.hero-cover .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hero-cover .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.75)); }
.hero-cover .ph span { left: auto; right: 20px; bottom: auto; top: 16px; text-align: right; }
.hero-cover .wrap { display: block; position: static; padding-top: 160px; padding-bottom: 56px; }
.hero-cover .copy { position: relative; z-index: 1; max-width: 820px; }
.site .hero-cover a.btn-primary { background: #fff; color: #0B0B0B; }
.site .hero-cover a.btn-ghost { color: #fff; border-color: #fff; }
/* bubble：置中大字，四周飄著圓形色塊與照片（柔和有機） */
.hero-bubble { text-align: center; padding: 110px 0 130px; overflow: hidden; }
.hero-bubble .wrap { grid-template-columns: 1fr; justify-items: center; position: relative; z-index: 1; }
.hero-bubble .lead { margin-left: auto; margin-right: auto; }
.hero-bubble .btns { justify-content: center; }
.hero-bubble .bub { position: absolute; border-radius: 50%; z-index: 0; aspect-ratio: 1 / 1; }
.hero-bubble .bub.ph span { display: none; }
.hero-bubble .b1 { width: 210px; left: -40px; top: 60px; }
.hero-bubble .b2 { width: 140px; right: 6%; top: 36px; background: var(--s-tint-3); }
.hero-bubble .b3 { width: 86px; left: 18%; bottom: 28px; background: var(--s-tint-5); }
.hero-bubble .b4 { width: 190px; right: -30px; bottom: 6px; --s-ph-a: var(--s-tint-1); --s-ph-b: var(--s-tint-3); }
@media (max-width: 860px) {
  .hero-split .wrap { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .hero-quiet { padding-top: 72px; }
  .hero-bubble { padding: 150px 0 140px; }
  .hero-bubble .b1 { width: 120px; top: 16px; left: -24px; }
  .hero-bubble .b2 { width: 80px; top: 34px; right: 12px; }
  .hero-bubble .b3 { width: 60px; left: 12px; bottom: 22px; }
  .hero-bubble .b4 { width: 110px; bottom: 6px; right: -24px; }
}

/* ======================= 菜單／課表／服務的四種排法 ======================= */
/* 1. rail：分類頁籤＋商品卡橫滑（咖啡館） */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -10px 0 24px; }
.tabs button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--s-line); background: var(--s-surface); color: var(--s-ink); font: 500 15px/1 var(--s-font-meta); cursor: pointer; }
.tabs button[aria-selected='true'] { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 270px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; margin: 0 -4px; }
.rail .card { scroll-snap-align: start; }
.rail .card[hidden] { display: none; }
.card { display: flex; flex-direction: column; background: var(--s-surface); border-radius: var(--s-radius-card, 12px); padding: 0 0 20px; box-shadow: var(--s-shadow-card, none); border: var(--s-card-border, 0); color: var(--s-ink); overflow: hidden; }
.card .ph { border-radius: 0; --ph-ratio: 1 / 1; margin-bottom: 16px; }
.card > div { padding: 0 20px; }
.site .card p { margin: 6px 0 0; font-size: 15px; }
.card .price { margin-top: auto; padding: 14px 20px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--s-font-meta); }
.tag { display: inline-block; font: 600 12px/1 var(--s-font-meta); letter-spacing: .02em; padding: 6px 10px; border-radius: var(--s-radius-tag, 999px); background: var(--s-tag-bg); color: var(--s-tag-ink); margin-bottom: 8px; }
.add { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--s-accent); color: var(--s-on-accent); font: 400 22px/1 var(--s-font-meta); }

/* 2. tt：時刻表，一列一項（紙感編輯） */
.tt { border-top: 1px solid var(--s-ink); }
.tt-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--s-line); }
.tt-when { font: 500 15px/1.6 var(--s-font-meta); color: var(--s-muted); }
.tt-what h3 { font-size: 22px; display: inline; }
.tt-what .tag { margin: 0 0 0 10px; vertical-align: 3px; border: 1px solid var(--s-line); }
.tt-price { font-family: var(--s-font-meta); white-space: nowrap; }
@media (max-width: 680px) { .tt-row { grid-template-columns: 1fr auto; gap: 4px 16px; } .tt-when { grid-column: 1 / -1; } }

/* 3. pm：印刷菜單，品名……價格（大圖雜誌） */
.pm { columns: 2 320px; column-gap: 64px; column-rule: 1px solid var(--s-line); }
.pm-item { break-inside: avoid; padding: 14px 0 18px; }
.pm-line { display: flex; align-items: baseline; gap: 10px; }
.pm-name { font: 700 21px/1.4 var(--s-font-display); }
.pm-dots { flex: 1; border-bottom: 2px dotted var(--s-muted); transform: translateY(-6px); min-width: 24px; }
.pm-price { font-family: var(--s-font-meta); white-space: nowrap; }
.site .pm-desc { margin: 4px 0 0; color: var(--s-muted); font-size: 16px; }
.pm .tag { margin: 0 0 0 8px; padding: 4px 6px; vertical-align: 3px; }
.pm-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding-bottom: 32px; margin-bottom: 24px; border-bottom: 3px solid var(--s-ink); }
.pm-feature .ph { --ph-ratio: 16 / 10; }
.pm-feature h3 { font-size: clamp(28px, 3.4vw, 42px); }
@media (max-width: 760px) { .pm-feature { grid-template-columns: 1fr; gap: 16px; } }

/* 4. bento：大小格子拼貼，服務、好評、照片、時間混在一起（柔和有機） */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(160px, auto); gap: 16px; }
.tile { border-radius: var(--s-radius-card, 24px); padding: 24px; background: var(--s-surface); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tile h3 { font-size: 22px; }
.site .tile p { margin: 6px 0 0; font-size: 15px; }
.tile .price { margin-top: auto; padding-top: 12px; font-family: var(--s-font-meta); }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile.photo { padding: 0; }
.tile.photo .ph { height: 100%; aspect-ratio: auto; border-radius: 0; min-height: 160px; }
.tile.big .ph { --ph-ratio: 16 / 10; margin: -24px -24px 18px; border-radius: 0; }
.tile.t1 { background: var(--s-tint-1); } .tile.t2 { background: var(--s-tint-2); } .tile.t3 { background: var(--s-tint-3); }
.tile.t4 { background: var(--s-tint-4); } .tile.t5 { background: var(--s-tint-5); }
.tile.dark { background: var(--s-ink); color: var(--s-canvas); }
.site .tile.dark a.btn-primary { background: var(--s-canvas); color: var(--s-ink); }
.site .tile .quote-text { font: 400 20px/1.6 var(--s-font-quote, var(--s-font-display)); margin: 0; }
.tile .mini-hours { width: 100%; border-collapse: collapse; font: 400 14px/1.9 var(--s-font-meta); }
.tile .mini-hours td:last-child { text-align: right; }
.tile .mini-hours .today td { font-weight: 700; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .tile.big, .tile.wide { grid-column: auto; grid-row: auto; } }

/* ======================= 故事／關於 ======================= */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story.flip .ph { order: 2; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 28px; } .story.flip .ph { order: 0; } }
/* 編號段落標題（紙感編輯）：01 —— 關於 */
.site .essay p { font-size: 18px; line-height: 2.05; }
.essay .ph { margin: 36px 0; --ph-ratio: 3 / 2; }
/* 報刊專文：首字放大、兩欄內文、側欄人物（大圖雜誌） */
.article { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 48px; }
.article .body { columns: 2 240px; column-gap: 36px; }
.article .body p:first-child::first-letter { float: left; font: 900 76px/0.9 var(--s-font-display); margin: 6px 10px 0 0; color: var(--s-accent-text); }
.article .ph { --ph-ratio: 16 / 9; margin: 0 0 8px; }
.site .caption { font: 400 13px/1.5 var(--s-font-meta); color: var(--s-muted); margin: 0 0 24px; }
.aside { border-left: 1px solid var(--s-ink); padding-left: 28px; }
.aside h3 { font: 700 13px/1 var(--s-font-meta); letter-spacing: .02em; margin-bottom: 18px; }
.byline { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--s-line); }
.byline .ph { --ph-ratio: 1 / 1; }
.byline .ph span, .byline .ph svg { display: none; }
.byline b { display: block; font: 700 17px/1.4 var(--s-font-display); }
.byline small { font: 400 14px/1.6 var(--s-font-body); color: var(--s-muted); display: block; }
@media (max-width: 860px) { .article { grid-template-columns: 1fr; } .aside { border-left: 0; padding-left: 0; border-top: 3px solid var(--s-ink); padding-top: 16px; } }

/* ======================= 人物 ======================= */
/* 交錯長介紹（紙感編輯） */
.alt-rows { display: grid; gap: 64px; }
.alt-row { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.alt-row:nth-child(even) { grid-template-columns: 1fr 220px; }
.alt-row:nth-child(even) .ph { order: 2; }
.alt-row .ph { --ph-ratio: 3 / 4; border-radius: var(--s-radius-portrait, 999px 999px 20px 20px); }
.role { font: 500 13px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-accent-text); display: block; margin-bottom: 6px; }
@media (max-width: 680px) { .alt-row, .alt-row:nth-child(even) { grid-template-columns: 1fr; } .alt-row:nth-child(even) .ph { order: 0; } .alt-row .ph { max-width: 220px; } }
/* 貼紙頭像（柔和有機） */
.stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.sticker { width: 220px; text-align: center; }
.sticker .ph { --ph-ratio: 1 / 1; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.sticker .ph span { display: none; }
.sticker .name { display: inline-block; margin-top: -18px; position: relative; padding: 9px 18px; border-radius: 999px; background: var(--s-ink); color: var(--s-canvas); font: 400 18px/1 var(--s-font-display); transform: rotate(-4deg); }
.sticker:nth-child(2) .name { transform: rotate(3deg); background: var(--s-accent); color: var(--s-on-accent); }
.site .sticker p { font-size: 15px; margin-top: 12px; }

/* ======================= 照片 ======================= */
/* 橫向捲動條（咖啡館） */
.strip-photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 280px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; align-items: end; }
.strip-photos .ph { scroll-snap-align: start; --ph-ratio: 3 / 4; }
.strip-photos .ph:nth-child(even) { --ph-ratio: 1 / 1; }
/* 圖片故事＋圖說，第一張大（大圖雜誌） */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.stories figure { margin: 0; }
.stories figure:first-child { grid-column: span 2; grid-row: span 2; }
.stories figure:first-child .ph { --ph-ratio: 4 / 3; }
.stories .ph { --ph-ratio: 3 / 2; }
.stories .ph span { display: none; }
.stories figcaption { font: 400 14px/1.6 var(--s-font-meta); color: var(--s-muted); padding-top: 10px; border-top: 1px solid var(--s-ink); margin-top: 10px; }
.stories figcaption b { color: var(--s-ink); font-weight: 700; margin-right: 6px; }
@media (max-width: 760px) { .stories { grid-template-columns: 1fr 1fr; } .stories figure:first-child { grid-row: auto; } }

/* ======================= 好評 ======================= */
.stars { letter-spacing: .02em; color: var(--s-star, currentColor); font-size: 14px; display: block; margin-bottom: 8px; }
/* 一則大引言＋其他小字（紙感編輯） */
.pull { text-align: center; }
.pull blockquote { margin: 0 auto; max-width: 30em; font: 400 clamp(24px, 3.4vw, 36px)/1.7 var(--s-font-display); letter-spacing: .04em; }
.pull cite { display: block; margin-top: 20px; font: 500 16px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-band-muted); }
.pull .more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--s-band-line); font-size: 15px; color: var(--s-band-muted); }
/* 堆疊卡片（咖啡館，跟營業時間並排） */
.quote-stack { display: grid; gap: 16px; }
.quote-stack figure { margin: 0; padding: 22px 24px; background: var(--s-surface); border-radius: var(--s-radius-card, 12px); box-shadow: var(--s-shadow-card, none); }
.site .quote-stack p { margin: 0; font: 500 17px/1.7 var(--s-font-body); }
.quote-stack footer { margin-top: 10px; font: 500 14px/1.4 var(--s-font-meta); color: var(--s-muted); }
/* 讀者來信，三欄直線隔開（大圖雜誌） */
.letters { display: grid; grid-template-columns: repeat(3, 1fr); }
.letters figure { margin: 0; padding: 0 28px; border-left: 1px solid var(--s-line); }
.letters figure:first-child { border-left: 0; padding-left: 0; }
.site .letters p { font: 600 19px/1.7 var(--s-font-display); margin: 0; }
.letters p::before { content: '“'; display: block; font: 900 64px/0.6 var(--s-font-display); color: var(--s-accent-text); margin-bottom: 12px; }
.letters footer { margin-top: 14px; font: 500 13px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-muted); }
@media (max-width: 760px) { .letters { grid-template-columns: 1fr; gap: 28px; } .letters figure { border-left: 0; padding: 0; } }

/* ======================= 常見問題 ======================= */
.faq details { border-top: 1px solid var(--s-line); }
.faq details:last-child { border-bottom: 1px solid var(--s-line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 17px/1.5 var(--s-font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 300 26px/1 var(--s-font-meta); color: var(--s-accent-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.site .faq details p { margin: 0 0 20px; color: var(--s-muted); }
/* Q&A 三欄（大圖雜誌） */
.qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.qa div { border-top: 3px solid var(--s-ink); padding-top: 14px; }
.qa b { display: block; font: 700 19px/1.5 var(--s-font-display); margin-bottom: 8px; }
.qa b::before { content: 'Q. '; color: var(--s-accent-text); }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }
/* 對話泡泡（柔和有機） */
.chat { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.bubble { max-width: 80%; padding: 14px 20px; border-radius: 24px; font-size: 16px; line-height: 1.7; }
.bubble.q { justify-self: start; background: var(--s-surface); border-bottom-left-radius: 6px; font-weight: 600; }
.bubble.a { justify-self: end; background: var(--s-ink); color: var(--s-canvas); border-bottom-right-radius: 6px; }

/* ======================= 營業資訊 ======================= */
.hours { width: 100%; border-collapse: collapse; font-family: var(--s-font-meta); }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--s-line); }
.band .hours td { border-color: var(--s-band-line, rgba(255,255,255,.2)); }
.hours td:last-child { text-align: right; }
.hours .today td { font-weight: 700; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.panel { background: var(--s-surface); border-radius: var(--s-radius-card, 12px); padding: 28px; box-shadow: var(--s-shadow-card, none); }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; gap: 32px; } }
/* 報刊式三欄資訊帶（大圖雜誌） */
.infocols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.infocols h3 { font: 700 13px/1 var(--s-font-meta); letter-spacing: .02em; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--s-band-line, rgba(255,255,255,.3)); }
@media (max-width: 760px) { .infocols { grid-template-columns: 1fr; } }
/* 紙感的簡單兩欄地址 */
.colophon { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: 16px; }
@media (max-width: 680px) { .colophon { grid-template-columns: 1fr; } }

/* ======================= 深色主打帶（咖啡館：今日推薦） ======================= */
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.feature .ph { --ph-ratio: 4 / 3; }
.feature .price-big { font-family: var(--s-font-meta); margin: 18px 0 0; font-size: 18px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } }

/* 波浪分隔線（柔和有機） */
.wave { display: block; width: 100%; height: 48px; margin-bottom: -1px; }

/* ======================= 頁尾 ======================= */
.foot { padding: 40px 0 56px; background: var(--s-foot-bg, var(--s-band)); color: var(--s-foot-ink, var(--s-on-band)); font: 400 14px/1.8 var(--s-font-meta); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site .foot a { color: inherit; }
.powered { opacity: .75; }

/* 浮動圓形點餐鈕（咖啡館的招牌） */
.site a.fab { display: grid; place-items: center; position: fixed; right: 20px; bottom: 24px; z-index: 30; width: 62px; height: 62px; border-radius: 50%; background: var(--s-accent); color: var(--s-on-accent); box-shadow: 0 0 6px rgba(0,0,0,.24), 0 8px 12px rgba(0,0,0,.14); text-decoration: none; font: 700 13px/1.2 var(--s-font-meta); text-align: center; }
.site a.fab:active { transform: scale(.95); }

/* 深色帶上的主要按鈕改淺色才看得到；拼貼格自動補空位 */
.site .band a.btn-primary { background: var(--s-on-band); color: var(--s-band); }
.bento { grid-auto-flow: dense; }
.pull blockquote { text-wrap: balance; }
.infocols { grid-template-columns: 1.4fr 1fr 1fr; }
.infocols .hours td { white-space: nowrap; }
@media (max-width: 760px) { .infocols { grid-template-columns: 1fr; } }

/* 客戶換上自己的 LOGO（示範頁「換成我的店」） */
.brand img.logo { width: 36px; height: 36px; object-fit: cover; border-radius: var(--s-radius-logo, 50%); }
.nav-masthead .brand img.logo { width: 52px; height: 52px; }

/* 真的照片（img/manifest.js 清單上有的）：蓋滿照片框，色塊與說明字只在沒有圖時出現 */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.has-img::before, .ph.has-img > svg, .ph.has-img > span { display: none; }
.hero-cover .ph::after { z-index: 1; }
/* 滿版封面換成真照片後，字要更清楚：遮罩加深、字加淡陰影 */
.hero-cover .ph::after { background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.82) 100%); }
.hero-cover .copy { text-shadow: 0 1px 14px rgba(0,0,0,.4); }
/* 柔和有機：圓形泡泡換成真照片後不能壓到標題，桌機版標題往下、泡泡往上 */
@media (min-width: 861px) {
  .hero-bubble { padding-top: 220px; }
  .hero-bubble .b1 { top: 24px; width: 190px; }
  .hero-bubble .b2 { top: 28px; }
}

/* Google 地圖（示意位置）：每種風格的營業資訊區都有 */
.map-embed { margin: 20px 0 0; }
.map-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--s-radius-img, 12px); background: var(--s-surface-2); }
.map-embed figcaption { margin-top: 6px; font: 400 12px/1.4 var(--s-font-meta); color: var(--s-muted); }
.band .map-embed figcaption { color: var(--s-band-muted); }
.colophon + .map-embed { margin-top: 32px; }
.colophon + .map-embed iframe { aspect-ratio: 21 / 9; }
/* 雜誌風黑白、紙感降一點彩度，地圖才不會搶走版面的味道 */
[data-theme='magazine'] .map-embed iframe { filter: grayscale(1) contrast(1.05); }
[data-theme='paper'] .map-embed iframe { filter: grayscale(.55) sepia(.12); }
/* 柔和有機：拼貼格裡的地圖格，地圖填滿 */
.tile.map-tile { padding: 0; min-height: 220px; }
.tile.map-tile .map-embed { margin: 0; height: 100%; }
.tile.map-tile iframe { height: 100%; min-height: 220px; aspect-ratio: auto; border-radius: 0; }
.tile.map-tile figcaption { position: absolute; left: 12px; bottom: 10px; margin: 0; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--s-ink); }
@media (max-width: 680px) { .colophon + .map-embed iframe { aspect-ratio: 4 / 3; } }

/* ======================= 第二批風格的招牌排法（11/4） ======================= */

/* ---- 清爽留白 ---- */
.hero-clean { text-align: center; padding: 110px 0 0; }
.hero-clean .wrap { display: block; }
.hero-clean .lead { margin-left: auto; margin-right: auto; }
.hero-clean .btns { justify-content: center; }
.hero-clean .ph.wide { --ph-ratio: 21 / 9; margin-top: 72px; border-radius: 0; width: 100%; }
.bands { display: grid; gap: 96px; }
.band-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.band-row:nth-child(even) .ph { order: 2; }
.band-row .ph { --ph-ratio: 4 / 3; }
.band-price { font-family: var(--s-font-meta); margin-top: 12px; font-size: 18px; }
.ptable { width: 100%; border-collapse: collapse; font-family: var(--s-font-meta); }
.ptable th { text-align: left; font: 500 13px/1 var(--s-font-meta); letter-spacing: .02em; color: var(--s-muted); padding: 0 12px 14px 0; border-bottom: 1px solid var(--s-ink); }
.ptable th:last-child, .ptable-price { text-align: right; white-space: nowrap; }
.ptable td { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--s-line); vertical-align: top; }
.ptable td b { display: block; font-size: 18px; font-weight: 500; }
.ptable .tag { margin: 8px 0 0; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pgrid .ph { --ph-ratio: 1 / 1; border-radius: var(--s-radius-portrait); margin-bottom: 16px; }
.pgrid-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pgrid-photos .ph { --ph-ratio: 1 / 1; border-radius: 0; }
.info3 { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; align-items: start; }
.info3 .map-embed { margin: 0; }
@media (max-width: 860px) {
  .band-row { grid-template-columns: 1fr; gap: 24px; } .band-row:nth-child(even) .ph { order: 0; } .bands { gap: 56px; }
  .info3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } .pgrid .ph { max-width: 280px; } }
@media (max-width: 680px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--s-line); }
  .ptable td { border: 0; padding: 0; }
  .ptable td.muted { grid-column: 1 / -1; grid-row: 2; font-size: 14px; padding-top: 4px; }
  .ptable-price { grid-column: 2; grid-row: 1; }
}
@media (max-width: 640px) { .pgrid-photos { grid-template-columns: 1fr 1fr; } }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
@media (max-width: 760px) { .days { grid-template-columns: repeat(4, 1fr); } }

/* ---- 繽紛活潑 ---- */
.section.tint { background: var(--tint-bg); }
.tint-1 { --tint-bg: var(--s-tint-1); } .tint-2 { --tint-bg: var(--s-tint-2); } .tint-3 { --tint-bg: var(--s-tint-3); }
.tint-4 { --tint-bg: var(--s-tint-4); } .tint-5 { --tint-bg: var(--s-tint-5); }
.hero-pop { background: var(--s-tint-5); padding: 72px 0 96px; }
.hero-pop .wrap { grid-template-columns: 1fr 1fr; }
.pop-stack { position: relative; min-height: 440px; }
.pop-stack .ph { position: absolute; --ph-ratio: 4 / 5; width: 58%; border: 6px solid #fff; border-radius: 18px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.pop-stack .s1 { left: 0; top: 12px; z-index: 2; transform: rotate(-6deg); }
.pop-stack .s2 { right: 0; top: 0; width: 48%; transform: rotate(5deg); }
.pop-stack .s3 { right: 12%; bottom: 0; width: 44%; z-index: 3; transform: rotate(-2deg); }
.popcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.popcard { display: flex; flex-direction: column; background: var(--s-surface); border: 2px solid var(--s-ink); border-radius: var(--s-radius-card); padding: 14px 14px 20px; box-shadow: 0 6px 0 var(--s-ink); transform: rotate(-1.2deg); }
.popcard:nth-child(even) { transform: rotate(1.2deg); }
.popcard .ph { --ph-ratio: 1 / 1; margin-bottom: 14px; }
.popcard .tag { align-self: flex-start; }
.popcard h3 { font-size: 22px; }
.site .popcard p { margin: 6px 0 0; font-size: 15px; }
.popcard .price { margin-top: auto; padding-top: 12px; font-family: var(--s-font-meta); }
.polaroids { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.polaroids figure { margin: 0; width: 230px; background: #fff; padding: 12px 12px 16px; box-shadow: 0 12px 28px -14px rgba(0,0,0,.4); transform: rotate(var(--r, -3deg)); }
.polaroids figure:nth-child(3n+2) { --r: 2.5deg; } .polaroids figure:nth-child(3n) { --r: -1deg; }
.polaroids .ph { --ph-ratio: 1 / 1; border-radius: 2px; }
.polaroids .ph span { display: none; }
.polaroids figcaption { margin-top: 10px; text-align: center; font: 400 15px/1.4 'Huninn', var(--s-font-body); color: #161616; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.badge-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: #fff; border: 2px solid var(--s-ink); border-radius: 999px 24px 24px 999px; padding: 10px 20px 10px 10px; }
.badge-card .ph { --ph-ratio: 1 / 1; border-radius: 50%; }
.badge-card .ph span { display: none; }
.site .badge-card p { margin: 4px 0 0; font-size: 14px; }
.faqcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.faqcards div { border: 2px solid var(--s-ink); border-radius: 22px; padding: 22px; background: var(--s-tint-2); }
.faqcards div:nth-child(3n+2) { background: var(--s-tint-3); } .faqcards div:nth-child(3n) { background: var(--s-tint-1); }
.faqcards b { display: block; margin-bottom: 8px; font: 900 18px/1.4 var(--s-font-display); }
.site .faqcards p { margin: 0; }
.infopop { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: #fff; border: 2px solid var(--s-ink); border-radius: 28px; padding: 32px; box-shadow: 0 8px 0 var(--s-ink); }
.infopop .map-embed { margin: 0; }
@media (max-width: 860px) {
  .hero-pop .wrap { grid-template-columns: 1fr; } .pop-stack { min-height: 340px; }
  .infopop { grid-template-columns: 1fr; padding: 22px; }
}
@media (max-width: 760px) { .faqcards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .polaroids figure { width: calc(50% - 14px); } }

/* ---- 作品牆 ---- */
.hero-wall { padding: 0 0 24px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 4px; }
.mosaic .ph { aspect-ratio: auto; height: 100%; border-radius: 0; }
.mosaic .m0 { grid-row: span 2; }
.mosaic .ph span { display: none; }
.hero-wall .wrap { display: block; position: relative; z-index: 2; margin-top: -120px; }
.wall-card { max-width: 620px; padding: 36px 40px; background: var(--s-surface); border-radius: var(--s-radius-card); box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); }
.masonry { columns: 3 240px; column-gap: 12px; }
.masonry figure { position: relative; margin: 0 0 12px; break-inside: avoid; }
.masonry figure[hidden] { display: none; }
.masonry .ph { --ph-ratio: 4 / 5; }
.masonry figure:nth-child(3n+2) .ph { --ph-ratio: 1 / 1; } .masonry figure:nth-child(4n+3) .ph { --ph-ratio: 3 / 4; } .masonry figure:nth-child(5n) .ph { --ph-ratio: 4 / 3; }
.masonry .ph span { display: none; }
.masonry figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(17,17,17,.8); color: #fff; font: 500 12px/1.4 var(--s-font-meta); }
.compact { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: 48px; }
.compact li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--s-line); break-inside: avoid; }
.compact small { display: block; color: var(--s-muted); font-size: 14px; }
.compact .tag { margin: 0 0 0 6px; padding: 3px 6px; vertical-align: 2px; }
.avatars { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.avatar-row { display: flex; flex-wrap: wrap; gap: 28px; }
.avatar { width: 120px; text-align: center; }
.avatar .ph { --ph-ratio: 1 / 1; border-radius: 50%; margin-bottom: 10px; }
.avatar .ph span { display: none; }
.avatar b { display: block; font-size: 16px; }
.avatar small { color: var(--s-muted); font-size: 13px; }
.qinline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.qinline figure { margin: 0; }
.site .qinline p { margin: 0; font-size: 17px; }
.qinline footer { margin-top: 10px; font: 500 13px/1.4 var(--s-font-meta); color: var(--s-muted); }
.site .hours-inline { font-size: 16px; line-height: 1.9; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; } .mosaic .m0 { grid-column: span 2; grid-row: auto; }
  .hero-wall .wrap { margin-top: -60px; } .wall-card { padding: 24px; }
  .avatars, .qinline { grid-template-columns: 1fr; }
}

/* 示範店自己的圖形標誌（透明底 SVG）：不裁成圓形、完整顯示 */
.brand img.logo.mark { width: 44px; height: 44px; border-radius: 0; object-fit: contain; }
.nav-masthead .brand img.logo.mark { width: 64px; height: 64px; }

/* 導覽列店名＝圖（logo-mark 或客戶上傳的圖）＋文字店名；店名太長時不換行擠壓 */
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 12em; }

/* ======================= 動態效果（11/4） ======================= */
/* 依序淡入：網站一打開、捲到哪裡，元素就由下往上淡入；--d 是同一段裡的先後順序 */
html.motion .reveal { opacity: 0; translate: 0 28px; transition: opacity .85s cubic-bezier(.22,.61,.36,1), translate .85s cubic-bezier(.22,.61,.36,1), scale .85s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0ms); }
html.motion .reveal.ph, html.motion .reveal.map-embed { translate: 0 18px; scale: .97; }
html.motion .reveal.in { opacity: 1; translate: 0 0; scale: 1; }
/* 導覽列與圓形點餐鈕：開頁時滑進來 */
html.motion .nav { animation: navIn .7s cubic-bezier(.22,.61,.36,1) both; }
html.motion .site a.fab { animation: fabIn .6s .9s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes navIn { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
@keyframes fabIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
/* 換風格、換行業：先淡出再淡入 */
#site { transition: opacity .22s ease; }
#site.fading { opacity: 0; }
/* 照片：載好才淡入，不會一格一格跳出來 */
html.motion .ph.has-img img { opacity: 0; transition: opacity .7s ease, scale .7s cubic-bezier(.22,.61,.36,1); }
html.motion .ph.has-img img.loaded { opacity: 1; }
/* 按鈕：滑過浮起＋陰影，按下回落 */
.site a.btn { transition: translate .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, background-color .25s ease, color .25s ease, transform .12s ease; }
@media (hover: hover) {
  .site a.btn:hover { translate: 0 -3px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.45); }
  .site a.btn:active { translate: 0 0; }
  /* 可以點的卡片（.lift，外掛風格用）：滑過浮起。不能點的卡片、照片不給滑過效果（R6） */
  .lift { transition: translate .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease; }
  .lift:hover { translate: 0 -6px; box-shadow: 0 22px 40px -22px rgba(0,0,0,.4); }
  /* 有自己陰影造型的風格：按鈕維持原本的錯位陰影，只是變深 */
}
@media (prefers-reduced-motion: reduce) {
  html.motion .reveal { opacity: 1; translate: none; scale: none; transition: none; }
  html.motion .nav, html.motion .site a.fab { animation: none; }
  #site { transition: none; }
}

/* ======================= 第三批風格的招牌排法（11/4） ======================= */

/* ---- 奶油圓潤 ---- */
.hero-cream { padding: 40px 0 88px; }
.hero-cream .wrap { display: block; }
.cream-photo .ph { --ph-ratio: 16 / 7; border-radius: 40px; }
.cream-card { position: relative; z-index: 1; max-width: 700px; margin: -140px 0 0 6%; padding: 40px 44px; background: var(--s-surface); border-radius: 36px; box-shadow: 0 30px 60px -30px rgba(120,70,40,.45); }
.pillmenu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pill-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 10px 26px 10px 10px; background: var(--s-surface); border-radius: 999px; box-shadow: var(--s-shadow-card); }
.pill-row .ph.thumb { --ph-ratio: 1 / 1; border-radius: 50%; }
.pill-row .ph.thumb span { display: none; }
.pill-row h3 { font-size: 20px; }
.site .pill-row p { margin: 2px 0 0; font-size: 14px; }
.pill-price { padding: 8px 16px; border-radius: 999px; background: var(--s-tag-bg); color: var(--s-tag-ink); font-family: var(--s-font-meta); white-space: nowrap; }
.roundgal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.roundgal .ph { --ph-ratio: 1 / 1; border-radius: 36px; box-shadow: var(--s-shadow-card); }
.roundgal .ph:nth-child(3n+2) { border-radius: 999px 999px 36px 36px; }
.roundgal .ph span { display: none; }
.softquotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.softquotes figure { margin: 0; padding: 30px 26px 24px; background: var(--s-surface); border-radius: 32px; box-shadow: var(--s-shadow-card); text-align: center; }
.avatar-dot { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%; background: var(--s-tag-bg); color: var(--s-tag-ink); font: 400 24px/1 var(--s-font-display); }
.site .softquotes p { margin: 0; font-size: 16px; }
.softquotes footer { margin-top: 12px; font-size: 13px; color: var(--s-muted); }
.softquotes .stars { color: #C27A2C; }
.infocream { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding: 36px; background: var(--s-surface); border-radius: 40px; box-shadow: var(--s-shadow-card); }
.infocream .map-embed { margin: 0; } .infocream .map-embed iframe { border-radius: 28px; }
@media (max-width: 860px) {
  .cream-card { margin: -60px 12px 0; padding: 28px 24px; }
  .pillmenu { grid-template-columns: 1fr; } .softquotes { grid-template-columns: 1fr; }
  .infocream { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 640px) { .roundgal { grid-template-columns: 1fr 1fr; } .pill-row { grid-template-columns: 64px 1fr; border-radius: 28px; } .pill-price { grid-column: 2; justify-self: start; } }

/* ---- 共用：兩欄問答（森林綠信賴 11/11 改成外掛後留下來的共用樣式） ---- */
.section#stats { padding: 56px 0; }
.faq2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
@media (max-width: 860px) {   .stats { grid-template-columns: 1fr 1fr; } .faq2 { grid-template-columns: 1fr; }
}

/* ---- 極簡黑白 ---- */
.hero-mono { padding: 72px 0 0; }
.hero-mono .wrap { display: block; }
.hero-mono h1 { font-size: clamp(48px, 11vw, var(--s-h1-max)); margin: 8px 0 28px; }
.mono-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding: 24px 0 32px; border-top: 2px solid var(--s-ink); }
.mono-row .lead { margin: 0; } .mono-row .btns { margin: 0; justify-content: flex-end; }
.ph.mono-img { --ph-ratio: 21 / 9; border-radius: 0; }
/* 照片保留原色（人物照片不轉黑白，看起來像遺照：11/11 使用者，見去AI味規則 F17） */
.ph.mono-img img { filter: contrast(1.05) saturate(.92); transition: filter .6s ease, opacity .7s ease, scale .7s ease; }
.mono-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; margin-bottom: 0; border-bottom: 2px solid var(--s-ink); }
.mono-head h2 { margin: 0; }
.idx { list-style: none; margin: 0; padding: 0; }
.idx li { display: grid; grid-template-columns: 72px 1.1fr 1.6fr auto; gap: 20px; align-items: baseline; padding: 22px 12px; border-bottom: 1px solid var(--s-ink); transition: background-color .3s ease, color .3s ease; }
.idx-n { font: 700 14px/1 var(--s-font-meta); letter-spacing: .02em; }
.idx h3 { font-size: clamp(22px, 2.6vw, 30px); }
.site .idx p { margin: 0; }
.idx-price { font-family: var(--s-font-meta); white-space: nowrap; }
.mono-story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding-top: 20px; border-top: 2px solid var(--s-ink); }
.mono-story .ph.mono-img { --ph-ratio: 16 / 10; margin-top: 20px; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--s-ink); border: 1px solid var(--s-ink); margin-top: 24px; }
.mgrid figure { margin: 0; padding: 12px 12px 14px; background: var(--s-canvas); }
.mgrid .ph { --ph-ratio: 4 / 3; }
.mgrid .ph span { display: none; }
.mgrid figcaption { margin-top: 10px; font: 500 13px/1.4 var(--s-font-meta); letter-spacing: .02em; }
.faqidx { display: grid; grid-template-columns: repeat(3, 1fr); }
.faqidx > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--s-ink); }
.faqidx b { display: block; margin: 10px 0 8px; font-size: 19px; }
.mono-info { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0; border-bottom: 1px solid var(--s-ink); }
.mono-info > div { padding: 24px 24px 24px 0; }
.mono-info > div + div { padding-left: 24px; border-left: 1px solid var(--s-ink); }
.mono-info h3 { font: 700 13px/1 var(--s-font-meta); letter-spacing: .02em; margin-bottom: 14px; }
.mono-info .map-embed { margin: 0; }
@media (max-width: 860px) {
  .mono-row, .mono-story, .mono-info { grid-template-columns: 1fr; } .mono-row .btns { justify-content: flex-start; }
  .mono-info > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--s-ink); }
  .idx li { grid-template-columns: 44px 1fr auto; } .site .idx p { grid-column: 2 / -1; grid-row: 2; }
  .mgrid { grid-template-columns: 1fr 1fr; } .faqidx { grid-template-columns: 1fr; }
}

/* ======================= 第四批風格的招牌排法（11/4） ======================= */
.dateline { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 3px solid var(--s-ink); border-bottom: 1px solid var(--s-ink); font: 600 13px/1.4 var(--s-font-meta); letter-spacing: .02em; }
@media (max-width: 860px) {
  .dateline span:last-child { display: none; }
}

/* ---- 深夜霓虹 ---- */
.hero-neon { padding: 96px 0 110px; }
.hero-neon .wrap { grid-template-columns: 1.1fr 1fr; }
.glow { text-shadow: 0 0 18px rgba(255,46,136,.55), 0 0 46px rgba(34,211,238,.35); }
.neon-media .ph { --ph-ratio: 4 / 5; border: 2px solid var(--s-accent); }
.neonmenu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.neon-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 12px 18px 12px 12px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius-card); }
.neon-item .ph { --ph-ratio: 1 / 1; border-radius: 12px; }
.neon-item .ph span { display: none; }
.neon-item h3 { font-size: 19px; }
.site .neon-item p { margin: 2px 0 0; font-size: 14px; }
.neon-price { font: 900 18px/1 var(--s-font-display); color: var(--s-neon2, #22D3EE); white-space: nowrap; }
.neonquotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.neonquotes figure { margin: 0; padding: 26px; border-radius: var(--s-radius-card); background: var(--s-surface); border: 1px solid rgba(34,211,238,.35); }
.site .neonquotes p { margin: 0; font-size: 17px; }
.neonquotes footer { margin-top: 12px; color: var(--s-muted); font-size: 13px; }
.infoneon { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.infoneon .map-embed { margin: 0; } .infoneon .map-embed iframe { border: 1px solid var(--s-accent); }
@media (max-width: 860px) { .hero-neon .wrap, .neonmenu, .neonquotes, .infoneon { grid-template-columns: 1fr; } }

/* ---- 親切藍 ---- */
.hero-friendly { background: #F1F6FF; }
.hero-friendly .wrap { grid-template-columns: 1.1fr 1fr; }
.hero-friendly .ph { --ph-ratio: 1 / 1; border-radius: 28px; }
.booker { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: stretch; margin-top: 26px; padding: 10px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 18px; box-shadow: var(--s-shadow-card); }
.bk { display: grid; gap: 2px; padding: 8px 14px; border-radius: 12px; background: var(--s-surface-2); }
.bk small { color: var(--s-muted); font-size: 12px; }
.bk b { font-size: 15px; }
.booker .btn { min-height: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: 4px; }
.step:not(:last-child)::after { content: ''; position: absolute; left: 60px; right: -20px; top: 26px; height: 2px; background: var(--s-line); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; background: var(--s-accent); color: var(--s-on-accent); font: 700 20px/1 var(--s-font-display); }
.step h3 { font-size: 20px; }
.site .step p { margin: 6px 0 0; }
.svccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.scard { display: flex; flex-direction: column; overflow: hidden; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius-card); }
.scard .ph { --ph-ratio: 16 / 10; border-radius: 0; }
.scard > div:not(.scard-foot) { padding: 16px 18px 0; }
.site .scard p { margin: 4px 0 0; font-size: 14px; }
.scard-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding: 14px 18px 18px; font-family: var(--s-font-meta); }
.scard-foot .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
@media (max-width: 860px) {
  .hero-friendly .wrap { grid-template-columns: 1fr; } .booker { grid-template-columns: 1fr 1fr; } .booker .btn { grid-column: 1 / -1; min-height: 44px; }
  .steps { grid-template-columns: 1fr; gap: 24px; } .step:not(:last-child)::after { display: none; }
}

/* ---- 大圖運動（第五批）：滿版照片、超粗字、斜切色塊、Anton 大數字 ---- */
/* 首屏：滿版照片＋深色遮罩，底邊斜切 */
.hero-sport { padding: 0; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #111;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
.hero-sport .sport-bg { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero-sport .sport-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.66) 55%, rgba(0,0,0,.4) 100%), linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 45%); }
.hero-sport .sport-bg span { left: auto; right: 20px; bottom: auto; top: 16px; text-align: right; }
.hero-sport .wrap { display: block; position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; }
.sport-copy { max-width: 1000px; }
.sport-flag { padding: 8px 16px; margin-bottom: 22px; background: var(--s-accent); transform: skewX(-14deg); }
.hero-sport .sport-flag { color: var(--s-on-accent); }
.sport-flag b { display: inline-block; font-weight: 700; font-synthesis: none; transform: skewX(14deg); }
.site .hero-sport h1 { font-size: clamp(42px, 10.5vw, var(--s-h1-max, 120px)); line-height: 1.02; letter-spacing: -.03em; color: #fff; }
.sport-line { display: block; }
.hero-sport h1::after { content: ''; display: block; width: 104px; height: 10px; margin-top: 24px; background: var(--s-accent); transform: skewX(-28deg); transform-origin: left bottom; }
.site .hero-sport .lead { color: rgba(255,255,255,.92); max-width: 30em; }
.site .hero-sport a.btn-ghost { color: #fff; border-color: rgba(255,255,255,.9); }
/* 首屏底部三個大數字 */
.sport-stats { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 780px; border-top: 2px solid rgba(255,255,255,.5); }
.sport-stats li { padding: 14px 18px 0 0; min-width: 0; }
.sport-stats b { display: block; font: 400 clamp(48px, 7.4vw, 92px)/1 var(--s-font-num); letter-spacing: .01em; }
.sport-stats span { display: block; margin-top: 6px; font: 700 14px/1.4 var(--s-font-meta); color: rgba(255,255,255,.88); overflow-wrap: anywhere; }

/* 段落標題：斜切色條＋窄體英文小標＋超大粗字 */
.sport-head { max-width: none; }
.site .sport-head h2 { font-size: clamp(36px, 6.4vw, var(--s-h2-max, 68px)); line-height: 1.05; letter-spacing: -.03em; }

/* 品項：直式滿版照片卡，大號空心編號，橫滑 */
.sport-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 8px 0 14px; scrollbar-width: thin; }
.sport-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; overflow: hidden; background: #111; color: #fff; scroll-snap-align: start; }
.sport-card .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.sport-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 140px; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0)); pointer-events: none; }
.sport-card-body { position: relative; z-index: 2; padding: 76px 18px 18px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.82) 60px, rgba(0,0,0,.9)); }
.sport-chip { display: inline-block; margin-bottom: 10px; padding: 5px 11px; background: var(--s-accent); color: var(--s-on-accent); font: 800 12px/1.3 var(--s-font-meta); letter-spacing: .02em; transform: skewX(-12deg); }
.site .sport-card h3 { font-size: 24px; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.site .sport-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.86); }
.sport-price { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.3); font: 700 14px/1 var(--s-font-meta); }
.sport-price .n { font: 400 32px/1 var(--s-font-num); letter-spacing: .02em; }
.sport-hint { display: none; margin: 6px 0 0; font: 700 13px/1.4 var(--s-font-meta); color: var(--s-muted); letter-spacing: .02em; }
.sport-hint.sport-more { display: block; }
@media (max-width: 1000px) { .sport-rail { grid-auto-columns: calc((100% - 32px) / 3); } .sport-hint { display: block; } }
@media (max-width: 720px) { .sport-rail { grid-auto-columns: 80%; gap: 12px; } .sport-card { min-height: 420px; } }

/* 人物：主教練大圖＋名字壓在照片上，另外兩位小卡 */
.sport-coach { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; }
.sport-lead { position: relative; min-height: 580px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #111; color: #fff; }
.sport-lead .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.sport-lead-copy { position: relative; z-index: 1; padding: 110px 28px 28px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.8) 90px, rgba(0,0,0,.9)); }
.site .sport-lead h3.sport-name { font-size: clamp(56px, 9vw, 128px); line-height: .95; letter-spacing: -.03em; color: #fff; overflow-wrap: anywhere; }
.site .sport-lead-copy p { margin: 14px 0 0; max-width: 28em; color: rgba(255,255,255,.88); }
.sport-subs { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.sport-sub { display: grid; grid-template-columns: 42% minmax(0, 1fr); background: var(--s-surface); border-top: 5px solid var(--s-ink); }
.sport-sub .ph { aspect-ratio: auto; height: 100%; min-height: 220px; border-radius: 0; }
.sport-sub .ph span { display: none; }
.sport-sub > div:last-child { padding: 22px 22px 20px; }
.sport-role { display: block; font: 700 13px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-accent-text); }
.site .sport-sub h3 { margin-top: 6px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; overflow-wrap: anywhere; }
.site .sport-sub p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; }
@media (max-width: 860px) {
  .sport-coach { grid-template-columns: 1fr; }
  .sport-lead { min-height: 480px; }
  .sport-subs { grid-template-rows: none; }
}
@media (max-width: 520px) { .sport-sub { grid-template-columns: 38% minmax(0, 1fr); } .sport-sub .ph { min-height: 190px; } .sport-sub > div:last-child { padding: 16px; } .sport-lead-copy { padding: 96px 20px 22px; } }

/* 故事：照片底邊斜切、標題加大 */
[data-theme='sport'] .story .ph { -webkit-clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
[data-theme='sport'] .story h2 { font-size: clamp(34px, 5vw, 60px); }

/* 照片：斜切拼貼（12 欄、兩排，每張都是同角度的平行四邊形，左右疊一點讓斜縫一樣寬） */
.sport-gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 10px; }
.sport-gal .ph { aspect-ratio: auto; border-radius: 0; -webkit-clip-path: polygon(52px 0, 100% 0, calc(100% - 52px) 100%, 0 100%); clip-path: polygon(52px 0, 100% 0, calc(100% - 52px) 100%, 0 100%); }
.sport-gal .ph span { left: 22px; }
.sport-gal .sport-g1 { grid-column: span 5; margin-right: -52px; }
.sport-gal .sport-g2 { grid-column: span 3; margin-right: -52px; }
.sport-gal .sport-g3 { grid-column: span 4; }
.sport-gal .sport-g4 { grid-column: span 3; margin-right: -52px; }
.sport-gal .sport-g5 { grid-column: span 5; margin-right: -52px; }
.sport-gal .sport-g6 { grid-column: span 4; }
@media (max-width: 720px) {
  .sport-gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 8px; }
  .sport-gal .ph { -webkit-clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%); clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%); }
  .sport-gal .sport-g1, .sport-gal .sport-g2, .sport-gal .sport-g3, .sport-gal .sport-g4, .sport-gal .sport-g5, .sport-gal .sport-g6 { grid-column: auto; margin-right: 0; }
  .sport-gal .sport-g1, .sport-gal .sport-g3, .sport-gal .sport-g5 { margin-right: -30px; }
}

/* 行動帶：黑底上一條斜切的大色帶（滿版） */
[data-theme='sport'] #cta { overflow: hidden; padding: 64px 0; }
.sport-cta { margin: 0 calc(50% - 50vw); padding: 104px max(20px, calc(50vw - 540px)); background: var(--s-accent); color: var(--s-on-accent);
  -webkit-clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); }
.site .sport-cta h2 { margin: 14px 0 16px; font-size: clamp(54px, 12vw, 156px); line-height: .95; letter-spacing: -.04em; color: inherit; }
.site .sport-cta p { max-width: 34em; margin: 0; font-weight: 500; color: inherit; }
.site .sport-cta a.sport-go { background: var(--s-on-accent); color: var(--s-accent); }
@media (max-width: 720px) { .sport-cta { padding-top: 76px; padding-bottom: 76px; } }

/* 資訊：粗體課表＋地圖並排 */
.sport-info { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sport-hours { border-top: 4px solid var(--s-ink); }
.sport-hours td { padding: 14px 12px; vertical-align: baseline; }
.sport-hours td:first-child { font: 900 18px/1.3 var(--s-font-display); }
.sport-hours td:last-child { font: 700 26px/1.2 var(--s-font-num); font-synthesis: none; letter-spacing: .02em; } /* Anton 只有一種粗細：不讓瀏覽器假加粗，中文（休息）照樣粗體 */
.sport-hours tr.today td { background: var(--s-accent); color: var(--s-on-accent); border-bottom-color: transparent; }
.sport-sched, .sport-where { min-width: 0; }
.sport-where .map-embed { margin: 0; }
.sport-addr { margin-top: 22px; }
.sport-addr .btns { margin-top: 18px; }
@media (max-width: 860px) { .sport-info { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 420px) { .sport-hours td { padding: 12px 8px; } .sport-hours td:first-child { font-size: 16px; } .sport-hours td:last-child { font-size: 21px; } }

/* ---- 電影暗場（第五批）：寬銀幕開場、場景劇照、齒孔底片、海報推薦語、片尾字幕、電影票 ---- */
/* 共用小標：字距拉開的英文小字（只當裝飾） */
.cinema-label { display: block; margin-bottom: 12px; font: 600 11px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-muted); }
.band .cinema-label { color: var(--s-band-muted); }

/* 開場：上下黑邊＋寬銀幕畫面＋片名卡 */
.hero-cinema { padding: 0; background: #000; color: #F2EADC; overflow: hidden; }
.cinema-bar { height: 40px; } /* 上方黑邊（寬銀幕），只留空間不放字 */
.hero-cinema .wrap { display: block; }
.cinema-frame { position: relative; display: grid; place-items: center; aspect-ratio: 2.39 / 1; min-height: 400px; max-height: 80vh; overflow: hidden; }
.hero-cinema .cinema-shot { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
/* 片名卡位置的遮罩至少 .6，照片再亮字也看得清楚 */
.cinema-frame::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 72% 85% at 50% 50%, rgba(0,0,0,.74), rgba(0,0,0,.58) 70%, rgba(0,0,0,.5)); }
/* 底片顆粒：兩層細點錯開，極淡 */
.cinema-frame::before { content: ''; position: absolute; inset: -20px; z-index: 1; pointer-events: none; opacity: .12;
  background-image: radial-gradient(rgba(255,255,255,.7) .6px, transparent 1px), radial-gradient(rgba(255,255,255,.5) .5px, transparent .9px);
  background-size: 3px 3px, 5px 7px; background-position: 0 0, 1px 2px; }
.cinema-titlecard { position: relative; z-index: 2; max-width: 860px; padding: 40px 24px; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-cinema h1 { color: #F2EADC; }
.site .cinema-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 22px 0 0; font: 500 13px/1.6 var(--s-font-meta); letter-spacing: .02em; color: #D9D0C1; }
.cinema-meta span + span::before { content: "／"; margin-right: 14px; color: #8F8677; }
.cinema-under { padding: 34px 0 56px; text-align: center; }
.hero-cinema .lead { margin: 0 auto; font-size: 18px; color: #E4DBCC; }
.hero-cinema .btns { justify-content: center; }
.hero-cinema .btn-ghost { color: #F2EADC; border-color: #F2EADC; }
/* 單人模式：片名卡壓在畫面中間會擋住老師。桌機也改成手機的排法：
   寬銀幕照片在上（不加暗幕，底部漸層融進黑邊），片名卡排在照片下方 */
@media (min-width: 641px) {
  .hero-cinema.is-solo .cinema-frame { display: block; place-items: normal; aspect-ratio: auto; min-height: 0; max-height: none; }
  .hero-cinema.is-solo .cinema-frame::after { content: none; }
  .hero-cinema.is-solo .cinema-shot { position: relative; inset: auto; width: 100%; aspect-ratio: 2.39 / 1; max-height: 44vh; }
  .hero-cinema.is-solo .cinema-shot img { object-position: 50% 35%; }
  .hero-cinema.is-solo .cinema-shot::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 62%, #000 100%); }
  .hero-cinema.is-solo .cinema-titlecard { margin: 0 auto; padding: 28px 24px 0; text-shadow: none; }
  .hero-cinema.is-solo .cinema-under { padding-top: 26px; }
}
@media (max-width: 640px) {
  /* 手機：畫面改 16:9，片名卡排在畫面下方的黑底上 */
  .cinema-frame { display: block; place-items: normal; aspect-ratio: auto; min-height: 0; max-height: none; }
  .hero-cinema .cinema-shot { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; }
  .cinema-frame::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.5) 48%, #000 56%); }
  .cinema-titlecard { padding: 22px 20px 0; text-shadow: none; }
  .cinema-meta span + span::before { content: none; }
  .cinema-under { padding: 24px 0 44px; }
}

/* 品項＝場景：寬幅劇照（自帶上下黑邊）＋時間碼，左右交錯 */
.cinema-scenes { display: grid; gap: 64px; }
.cinema-scene { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; }
.cinema-scene:nth-child(even) { grid-template-columns: 1fr 1.5fr; }
.cinema-scene:nth-child(even) .cinema-still { order: 2; }
.cinema-still { position: relative; background: #000; padding: 16px 0; }
.cinema-still .ph { --ph-ratio: 2.39 / 1; border-radius: 0; }
.cinema-no { display: block; margin-bottom: 10px; font: 600 12px/1 var(--s-font-meta); letter-spacing: .02em; color: var(--s-accent-text); }
.cinema-scene h3 { font-size: clamp(22px, 2.4vw, 28px); }
.site .cinema-scene-copy p { margin: 10px 0 0; }
.cinema-scene-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--s-line); }
.cinema-scene-foot .tag { margin: 0; }
.cinema-price { margin-left: auto; font-family: var(--s-font-display); }
@media (max-width: 760px) {
  .cinema-scenes { gap: 44px; }
  .cinema-scene, .cinema-scene:nth-child(even) { grid-template-columns: 1fr; gap: 18px; }
  .cinema-scene:nth-child(even) .cinema-still { order: 0; }
  .cinema-still { padding: 10px 0; }
  .cinema-still .ph { --ph-ratio: 16 / 9; }
}

/* 相簿＝齒孔底片：外框自己橫向捲動，不撐破頁面 */
.cinema-reel { max-width: 100%; overflow-x: auto; scroll-padding: 0 14px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding-bottom: 6px; }
.cinema-film { position: relative; display: flex; gap: 14px; width: max-content; padding: 34px 14px; background: #050504; }
.cinema-film::before, .cinema-film::after { content: ''; position: absolute; left: 0; right: 0; height: 10px; background-image: repeating-linear-gradient(90deg, transparent 0 7px, rgba(242,234,220,.82) 7px 19px, transparent 19px 26px); }
.cinema-film::before { top: 12px; } .cinema-film::after { bottom: 12px; }
.cinema-cell { margin: 0; width: 300px; scroll-snap-align: start; }
.cinema-cell .ph { --ph-ratio: 3 / 2; border-radius: 0; }
.cinema-cell figcaption { display: flex; gap: 10px; margin-top: 8px; font: 500 12px/1.4 var(--s-font-meta); letter-spacing: .02em; color: #CFC6B6; }
.site .cinema-hint { margin: 14px 0 0; text-align: center; font: 500 12px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-muted); }
@media (max-width: 640px) { .cinema-cell { width: 230px; } }

/* 好評＝海報推薦語：大斜體襯線字＋五顆星＋出處 */
.cinema-poster { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--s-band-line); border-bottom: 1px solid var(--s-band-line); }
.cinema-blurb { margin: 0; padding: 44px 32px; text-align: center; }
.cinema-blurb.is-lead { grid-column: 1 / -1; padding: 56px 32px; border-bottom: 1px solid var(--s-band-line); }
.cinema-blurb:last-child { border-left: 1px solid var(--s-band-line); }
.cinema-blurb .stars { margin-bottom: 16px; font-size: 16px; letter-spacing: 8px; color: #E8B04B; }
.site .cinema-blurb p { margin: 0; font: var(--s-quote-weight, 600) clamp(20px, 2.3vw, 27px)/1.55 var(--s-font-quote); text-wrap: balance; }
.site .cinema-blurb.is-lead p { font-size: clamp(25px, 3.8vw, 42px); line-height: 1.45; max-width: 22em; margin: 0 auto; }
.cinema-blurb figcaption { margin-top: 18px; font: 500 13px/1.5 var(--s-font-meta); letter-spacing: .02em; color: var(--s-band-muted); }
@media (max-width: 760px) {
  .cinema-poster { grid-template-columns: 1fr; }
  .cinema-blurb, .cinema-blurb.is-lead { padding: 36px 8px; }
  .cinema-blurb:last-child { border-left: 0; border-top: 1px solid var(--s-band-line); }
}

/* 片尾字幕：置中，左邊職稱、右邊名字 */
.cinema-credits { text-align: center; }
.cinema-credits-head h2 { margin-bottom: 0; }
.cinema-roll { margin: 36px 0 0; }
.cinema-credit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: baseline; padding: 12px 0; }
.cinema-credit dt { text-align: right; font: 500 13px/1.6 var(--s-font-meta); letter-spacing: .02em; color: var(--s-muted); }
.cinema-credit dt::after { content: '——'; margin-left: 14px; letter-spacing: 0; color: var(--s-line); }
.cinema-credit dd { margin: 0; text-align: left; font: var(--s-display-weight, 400) 22px/1.4 var(--s-font-display); letter-spacing: .08em; }
.cinema-bio { display: block; margin-top: 4px; font: 400 14px/1.7 var(--s-font-body); letter-spacing: .02em; color: var(--s-muted); }
.cinema-bts { margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--s-line); }
.cinema-bts h3 { margin-bottom: 18px; }
.cinema-faq { text-align: left; }
@media (max-width: 560px) {
  .cinema-credit { grid-template-columns: 1fr; gap: 4px; }
  .cinema-credit dt, .cinema-credit dd { text-align: center; }
  .cinema-credit dt::after { content: none; }
}

/* 資訊＝電影票：米白票面、虛線撕線、兩個半圓缺口；旁邊放地圖 */
.cinema-info { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.cinema-ticket {
  --s-ink: #1E1A15; --s-muted: #5E5548; --s-line: #CDBFA8;
  position: relative; display: grid; grid-template-columns: 1fr 120px; overflow: hidden; color: var(--s-ink);
  background: #F1E9DC linear-gradient(135deg, rgba(255,255,255,.35), rgba(0,0,0,.04)); box-shadow: 0 30px 60px -30px #000;
}
.cinema-ticket-main { padding: 30px 30px 32px; }
.cinema-ticket h3 { font-size: 28px; }
.site .cinema-ticket-sub { margin: 4px 0 20px; font-size: 14px; color: var(--s-muted); }
.cinema-ticket .cinema-label { margin: 0 0 4px; color: var(--s-muted); }
.cinema-ticket .hours { margin-bottom: 18px; font-size: 15px; }
.cinema-ticket .hours td { padding: 6px 0; }
.site .cinema-ticket a:not(.btn) { color: var(--s-ink); }
.cinema-ticket .btns { margin-top: 18px; }
.cinema-ticket .btn-primary { box-shadow: 0 0 0 1px rgba(30,26,21,.45); }
.cinema-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 10px; border-left: 2px dashed rgba(30,26,21,.35); text-align: center; font: 500 12px/1.5 var(--s-font-meta); letter-spacing: .02em; color: var(--s-muted); }
.cinema-stub b { font: 600 22px/1.3 var(--s-font-display); letter-spacing: .3em; color: var(--s-ink); writing-mode: vertical-rl; }
.cinema-stub::before, .cinema-stub::after { content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--s-canvas); }
.cinema-stub::before { top: -12px; } .cinema-stub::after { bottom: -12px; }
.cinema-venue .map-embed { margin: 0; }
@media (max-width: 860px) { .cinema-info { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cinema-ticket { grid-template-columns: 1fr; }
  .cinema-ticket-main { padding: 26px 20px 24px; }
  .cinema-stub { flex-direction: row; padding: 16px 20px; border-left: 0; border-top: 2px dashed rgba(30,26,21,.35); }
  .cinema-stub b { writing-mode: horizontal-tb; font-size: 18px; }
  .cinema-stub::before, .cinema-stub::after { top: -13px; bottom: auto; }
  .cinema-stub::before { left: -12px; } .cinema-stub::after { left: auto; right: -12px; }
}

/* 底片顆粒輕微跳動（系統沒有要求減少動態時才動） */
@media (prefers-reduced-motion: no-preference) {
  .cinema-frame::before { animation: cinemaGrain .9s steps(4) infinite; }
  @keyframes cinemaGrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-6px, 4px); } 50% { transform: translate(5px, -3px); } 75% { transform: translate(-3px, -6px); } 100% { transform: translate(0, 0); } }
}

/* ---- 旅宿大景：圓角滿版大圖＋膠囊搜尋列、房源卡、一大四小相簿、黏住的預約卡、店長卡、評分長條 ---- */
/* 首屏：圓角大圖（左右留邊），字壓在圖上，搜尋列半壓在照片下緣 */
.hero-stay { padding: 16px 0 36px; }
.hero-stay .wrap { display: block; max-width: 1360px; padding: 0 24px; }
.stay-stage { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 660px); border-radius: 28px; overflow: hidden; background: #2A2420; color: #fff; }
.stay-stage .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
/* 遮罩：左側和下方加深，字的位置至少 .55 */
.stay-stage .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.35) 60%, rgba(0,0,0,0)), linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45)); }
.stay-stage .ph span { left: auto; right: 22px; bottom: auto; top: 18px; text-align: right; }
.stay-copy { position: relative; z-index: 1; max-width: 680px; padding: 56px 56px 96px; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero-stay .lead { max-width: 30em; }
.site .hero-stay a.btn-ghost { color: #fff; border-color: #fff; text-shadow: none; }
.hero-stay a.btn-primary { text-shadow: none; }
/* 膠囊搜尋列：服務／日期／人數＋圓形查詢鈕（示範，只連到資訊區） */
.stay-search { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center; width: calc(100% - 64px); max-width: 880px; margin: -44px auto 0; padding: 8px 8px 8px 0; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 999px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.06); }
.stay-field { display: grid; gap: 2px; min-width: 0; padding: 8px 28px; border-left: 1px solid var(--s-line); }
.stay-field:first-child { border-left: 0; }
.stay-field small { font: 700 12px/1.3 var(--s-font-meta); letter-spacing: .02em; color: var(--s-ink); }
.stay-field b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 15px/1.4 var(--s-font-meta); color: var(--s-muted); }
.site a.stay-go { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--s-accent); color: var(--s-on-accent); text-decoration: none; }
.stay-go svg { width: 22px; height: 22px; }
.stay-go-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 同底色的段落接在一起：中間一條細線分開（像房源頁的分段） */
[data-theme='stay'] .section:not(.alt):not(.band) + .section:not(.alt):not(.band) { padding-top: 0; }
[data-theme='stay'] .section:not(.alt):not(.band) + .section:not(.alt):not(.band) > .wrap::before { content: ''; display: block; height: 1px; margin-bottom: var(--s-section-y); background: var(--s-line); }

/* 房源卡：4:3 圓角照片、右上愛心、名稱＋評分、價格粗體 */
.stay-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.stay-card { position: relative; border-radius: 18px; }
.stay-media { position: relative; margin-bottom: 14px; }
.stay-media .ph { --ph-ratio: 4 / 3; border-radius: 18px; transition: box-shadow .35s ease; }
.stay-badge { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: #fff; color: #222; font: 700 13px/1.2 var(--s-font-meta); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.stay-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stay-card h3 { font-size: 18px; }
.site .stay-card .muted { margin: 4px 0 6px; font-size: 16px; line-height: 1.6; }
.site .stay-price { margin: 0; font-family: var(--s-font-meta); font-size: 15px; }
.stay-price .n { font-size: 1.3em; }

/* 相簿：一大四小拼圖格，外圈圓角，右下「顯示全部照片」 */
.stay-mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 2 / 1; border-radius: 22px; overflow: hidden; }
.stay-mosaic .ph { aspect-ratio: auto; height: 100%; border-radius: 0; }
.stay-mosaic .stay-main { grid-row: span 2; }
.stay-mosaic .ph span { display: none; }
.site a.stay-all { position: absolute; right: 18px; bottom: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid #222; border-radius: 10px; background: #fff; color: #222; font: 600 14px/1 var(--s-font-meta); text-decoration: none; }
.stay-all svg { width: 14px; height: 14px; }

/* 關於：左邊介紹＋亮點清單，右邊黏住的預約卡 */
.stay-about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.stay-hl { list-style: none; margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid var(--s-line); display: grid; gap: 22px; }
.stay-hl li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: start; }
.stay-hl svg { width: 30px; height: 30px; color: var(--s-ink); }
.stay-hl b { display: block; font: 700 17px/1.4 var(--s-font-meta); }
.stay-hl span { font-size: 15px; }
.stay-reserve { position: -webkit-sticky; position: sticky; top: 92px; overflow: hidden; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 22px; box-shadow: 0 18px 44px -24px rgba(0,0,0,.35); }
.stay-reserve .ph { --ph-ratio: 16 / 10; border-radius: 0; }
.stay-reserve-body { display: grid; gap: 12px; padding: 22px; }
.site .stay-from { margin: 0; font-family: var(--s-font-meta); }
.stay-pick { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--s-muted); border-radius: 12px; }
.stay-pick span { display: grid; gap: 2px; min-width: 0; padding: 10px 14px; }
.stay-pick span + span { border-left: 1px solid var(--s-muted); }
.stay-pick small { font: 700 11px/1.3 var(--s-font-meta); letter-spacing: .02em; }
.stay-pick b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 14px/1.4 var(--s-font-meta); }
.stay-reserve-body .btn { width: 100%; }

/* 店長介紹：白色名片卡（頭像、名字、職稱＋右側數字），旁邊列出夥伴 */
.stay-host { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.stay-host-card { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 20px; padding: 28px; background: var(--s-surface); border-radius: 24px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.06); }
.stay-host-id { text-align: center; }
.stay-avatar { width: 108px; margin: 0 auto 12px; --ph-ratio: 1 / 1; border-radius: 50%; }
.stay-avatar span, .stay-mini span { display: none; }
.stay-host-id h3 { font-size: 26px; }
.stay-host-id .muted { font-size: 14px; }
.stay-host-stats { margin: 0; }
.stay-host-stats div { padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.stay-host-stats div:last-child { border-bottom: 0; }
.stay-host-stats dt { font: 500 12px/1.3 var(--s-font-meta); color: var(--s-muted); }
.stay-host-stats dd { margin: 4px 0 0; font: 700 26px/1 var(--s-font-display); }
.stay-host-stats small { font-size: 14px; font-weight: 500; }
.site .stay-bio { font-size: 19px; line-height: 1.7; }
.site .stay-team-t { margin: 24px 0 12px; font: 700 15px/1.4 var(--s-font-meta); }
.stay-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stay-team li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.stay-mini { --ph-ratio: 1 / 1; border-radius: 50%; }
.stay-team b { margin-right: 8px; }
.stay-team .muted { font-size: 13px; }
.site .stay-team p { margin: 2px 0 0; font-size: 15px; }
.stay-host-body .btns { margin-top: 24px; }

/* 好評：左邊大分數＋分項長條（示意），右邊兩欄好評 */
.stay-rev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.stay-big { font: 700 84px/1 var(--s-font-display); letter-spacing: -.03em; margin-bottom: 10px; }
.stay-score-t { margin: 0 0 12px; font: 700 18px/1.4 var(--s-font-display); }
.site .stay-score > .muted { margin: 0; font-size: 16px; }
.stay-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: 12px; }
.stay-quote { margin: 0; }
.stay-who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.stay-ini { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--s-band); color: var(--s-on-band); font: 700 17px/1 var(--s-font-display); }
.stay-who b { font: 700 15px/1.4 var(--s-font-meta); }
.stay-quote .stars { font-size: 12px; margin-bottom: 4px; }
.site .stay-quote p { margin: 0; }

/* 來店須知：三格，圖示＋問題＋回答 */
.stay-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stay-rule { padding: 26px 24px; border: 1px solid var(--s-line); border-radius: 20px; background: var(--s-surface); }
.stay-rule svg { width: 28px; height: 28px; margin-bottom: 14px; color: var(--s-accent-text); }
.stay-rule h3 { font-size: 18px; }
.site .stay-rule p { margin: 8px 0 0; font-size: 16px; }

/* 資訊：大圓角地圖在上，下面地址電話、營業時間 */
[data-theme='stay'] #info .map-embed { margin: 0; }
[data-theme='stay'] #info .map-embed iframe { aspect-ratio: 21 / 9; border-radius: 28px; }
.stay-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 36px; }
.stay-info-grid h3 { margin-bottom: 12px; }

@media (max-width: 960px) {
  .stay-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stay-about, .stay-host, .stay-rev { grid-template-columns: 1fr; gap: 40px; }
  .stay-reserve { position: relative; top: auto; max-width: 520px; }
}
@media (max-width: 720px) {
  .hero-stay { padding: 8px 0 28px; }
  .hero-stay .wrap { padding: 0 12px; }
  .stay-stage { min-height: 560px; border-radius: 22px; }
  .stay-stage .ph::after { background: linear-gradient(180deg, rgba(0,0,0,.56), rgba(0,0,0,.62) 35%, rgba(0,0,0,.8)); }
  .stay-copy { padding: 28px 22px 64px; }
  .hero-stay .lead { font-size: 17px; }
  /* 手機：搜尋列改成直的卡片 */
  .stay-search { grid-template-columns: 1fr; width: calc(100% - 24px); margin-top: -32px; padding: 8px 16px 16px; border-radius: 22px; }
  .stay-field { padding: 12px 4px; border-left: 0; border-bottom: 1px solid var(--s-line); }
  .site a.stay-go { display: flex; justify-content: center; align-items: center; width: 100%; height: 48px; margin-top: 12px; border-radius: 12px; gap: 8px; font: 700 16px/1 var(--s-font-meta); }
  .stay-go-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .stay-plans, .stay-quotes, .stay-rules, .stay-info-grid { grid-template-columns: 1fr; }
  .stay-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; border-radius: 18px; }
  .stay-mosaic .ph { aspect-ratio: 1 / 1; height: auto; }
  .stay-mosaic .stay-main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .site a.stay-all { right: 12px; bottom: 12px; }
  .stay-host-card { padding: 22px 18px; gap: 14px; }
  .stay-avatar { width: 88px; }
  .stay-big { font-size: 64px; }
  [data-theme='stay'] #info .map-embed iframe { aspect-ratio: 4 / 3; border-radius: 20px; }
  .stay-info-grid { gap: 32px; margin-top: 28px; }
}

/* ---- 精工細節（craft）：技術標記大圖、規格表、局部放大、量尺工序、師傅卡、角框地圖 ---- */
/* 角框標記：四個 L 形角，放在 position: relative 的容器裡，顏色跟著 currentColor */
.craft-corner { position: absolute; width: 22px; height: 22px; border: 0 solid currentColor; pointer-events: none; }
.craft-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.craft-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.craft-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.craft-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
/* 型號代碼：等寬小字 */
.craft-code { font: 500 12px/1.2 var(--s-font-mono); letter-spacing: .02em; color: var(--s-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 首屏：桌機字疊在大照片左上；手機字在上（深色）、照片在下 */
.hero-craft { padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); min-height: min(88vh, 780px); background: var(--s-band); color: var(--s-on-band); overflow: hidden; }
.hero-craft > .craft-stage, .hero-craft > .wrap { grid-area: 1 / 1 / 2 / 2; }
.craft-stage { position: relative; }
.hero-craft .craft-stage .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
/* 遮罩：字的位置至少 .76 的黑 */
.craft-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10,12,14,.86) 0%, rgba(10,12,14,.78) 52%, rgba(10,12,14,.34) 82%, rgba(10,12,14,.22) 100%); }
.craft-marks { position: absolute; inset: 24px; z-index: 1; color: #FFFFFF; }
.hero-craft > .wrap { position: relative; z-index: 2; display: block; align-self: start; padding-top: 88px; padding-bottom: 72px; }
.craft-copy { max-width: min(600px, 56%); }
.site .hero-craft h1 { font-weight: 400; letter-spacing: .03em; }
.hero-craft .lead { color: rgba(238,240,242,.92); }
.site .hero-craft a.btn-ghost { color: var(--s-on-band); border-color: rgba(238,240,242,.75); }
.craft-meta { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 40px 0 0; padding-top: 18px; border-top: 1px solid rgba(238,240,242,.35); }
.craft-meta > div { padding: 0 22px; border-left: 1px solid rgba(238,240,242,.35); }
.craft-meta > div:first-child { padding-left: 0; border-left: 0; }
.craft-meta dt { font: 500 12px/1.4 var(--s-font-meta); letter-spacing: .02em; color: rgba(238,240,242,.82); }
.craft-meta dd { margin: 6px 0 0; font: 300 30px/1 var(--s-font-mono); font-variant-numeric: tabular-nums; }
/* 標註點：準星圓點＋細線＋編號標籤；右側的點往左拉線 */
.craft-pin { position: absolute; display: flex; align-items: center; margin-top: -9px; }
.craft-p1 { left: 68%; top: 26%; margin-left: -9px; }
.craft-p2 { right: 10%; top: 54%; margin-right: -9px; flex-direction: row-reverse; }
.craft-p3 { left: 70%; top: 80%; margin-left: -9px; }
.craft-dot { position: relative; flex: none; width: 18px; height: 18px; border: 1.5px solid #FFFFFF; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.craft-dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #FFFFFF; }
.craft-wire { flex: none; width: 44px; height: 1px; background: #FFFFFF; box-shadow: 0 0 0 .5px rgba(0,0,0,.3); }
.craft-pin-label { max-width: 170px; padding: 6px 10px; background: rgba(12,14,16,.84); border: 1px solid rgba(255,255,255,.42); color: #FFFFFF; font: 500 13px/1.35 var(--s-font-meta); letter-spacing: .02em; }
.craft-pin-label b { margin-right: 8px; font: 500 11px/1 var(--s-font-mono); color: rgba(255,255,255,.82); }
/* 右下角比例尺 */
.craft-scale { position: absolute; right: 44px; bottom: 8px; width: 160px; height: 8px; border-bottom: 1px solid rgba(255,255,255,.8); background: repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 1px, transparent 1px 16px); }
/* 準星外圈：慢慢擴散（減少動態時不播） */
@media (prefers-reduced-motion: no-preference) {
  .craft-dot::after { content: ''; position: absolute; inset: -6px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; animation: craftPing 2.8s ease-out infinite; }
  .craft-p2 .craft-dot::after { animation-delay: .9s; }
  .craft-p3 .craft-dot::after { animation-delay: 1.8s; }
}
@keyframes craftPing { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.6); } }
@media (max-width: 860px) {
  .hero-craft { min-height: 0; }
  .hero-craft > .wrap { grid-area: 1 / 1 / 2 / 2; padding-top: 40px; padding-bottom: 36px; }
  .hero-craft > .craft-stage { grid-area: 2 / 1 / 3 / 2; aspect-ratio: 4 / 5; }
  .craft-stage::after { background: linear-gradient(180deg, rgba(10,12,14,.32), rgba(10,12,14,.08) 40%, rgba(10,12,14,.28)); }
  .craft-copy { max-width: none; }
  .craft-marks { inset: 14px; }
  .craft-p1 { left: 14%; top: 22%; }
  .craft-p2 { right: 12%; top: 50%; }
  .craft-p3 { left: 20%; top: 78%; }
  .craft-wire { width: 26px; }
  .craft-pin-label { max-width: 150px; font-size: 12px; }
  .craft-scale { right: 34px; width: 112px; }
}

/* 規格表：細線分隔、數字等寬；手機改成縮圖＋兩行 */
.craft-headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--s-ink); }
.craft-headrow .head { margin-bottom: 0; }
.craft-headrow .craft-count { margin: 0; font: 500 13px/1.4 var(--s-font-mono); letter-spacing: .02em; color: var(--s-muted); }
.craft-specs { margin: 0; }
.craft-spec-h, .craft-spec { display: grid; grid-template-columns: 64px 72px minmax(0, 190px) minmax(0, 1fr) auto; gap: 0 24px; align-items: center; }
.craft-spec-h { padding: 12px 0; border-bottom: 1px solid var(--s-line); font: 500 11px/1 var(--s-font-mono); letter-spacing: .02em; color: var(--s-muted); }
.craft-spec-h span:last-child { text-align: right; }
.craft-spec { padding: 18px 0; border-bottom: 1px solid var(--s-line); }
.craft-thumb { --ph-ratio: 1 / 1; border-radius: 0; }
.craft-thumb span { display: none; }
.craft-spec .craft-name h3 { font-size: 19px; }
.craft-name .tag { margin: 8px 0 0; }
.craft-descrow { display: flex; align-items: flex-end; gap: 14px; min-width: 0; }
.craft-spec .craft-desc { margin: 0; flex: 0 1 auto; color: var(--s-muted); font-size: 15px; line-height: 1.6; }
.craft-leader { flex: 1 1 24px; min-width: 24px; margin-bottom: 6px; border-bottom: 2px dotted var(--s-line); }
.craft-price { font-family: var(--s-font-mono); white-space: nowrap; text-align: right; }
@media (max-width: 720px) {
  .craft-spec-h { display: none; }
  .craft-spec { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: 'thumb code price' 'thumb name name' 'thumb desc desc'; gap: 6px 14px; align-items: start; padding: 16px 0; }
  .craft-spec > .ph { grid-area: thumb; }
  .craft-spec > .craft-code { grid-area: code; padding-top: 4px; }
  .craft-spec > .craft-name { grid-area: name; }
  .craft-spec > .craft-descrow { grid-area: desc; }
  .craft-spec > .craft-price { grid-area: price; }
  .craft-leader { display: none; }
  .craft-spec .craft-name h3 { font-size: 18px; }
}

/* 局部放大：桌機大圖在左、三個圓圖在右，細線連到標記點；手機大圖在上、圓圖排一列 */
.craft-detail { position: relative; aspect-ratio: 16 / 9; }
.craft-detail-main { position: absolute; left: 0; top: 0; width: 58%; height: 100%; }
.craft-detail-main .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.craft-mark { position: absolute; z-index: 1; width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #FFFFFF; background: rgba(12,14,16,.82); color: #FFFFFF; font: 500 12px/1 var(--s-font-mono); }
.craft-m1 { left: 64%; top: 30%; }
.craft-m2 { left: 35%; top: 58%; }
.craft-m3 { left: 77%; top: 76%; }
.craft-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.craft-lines line { stroke: var(--s-ink); stroke-width: 1; }
.craft-lines line.craft-halo { stroke: rgba(255,255,255,.7); stroke-width: 3; }
.craft-zoom { position: absolute; left: 66%; width: 34%; margin: 0; display: flex; align-items: center; gap: 18px; }
.craft-z1 { top: 3%; --craft-ox: 64%; --craft-oy: 30%; }
.craft-z2 { top: 36.6%; --craft-ox: 35%; --craft-oy: 58%; }
.craft-z3 { top: 70%; --craft-ox: 77%; --craft-oy: 76%; }
.craft-zoom .ph { flex: none; width: 44%; --ph-ratio: 1 / 1; border-radius: 50%; border: 1px solid var(--s-ink); box-shadow: 0 0 0 6px var(--s-surface-2), 0 0 0 7px var(--s-line); }
.craft-zoom .ph span { display: none; }
/* 圓圖裡的照片：把標記點移到圓心再放大 2.4 倍 */
.craft-zoom .ph img { transform-origin: var(--craft-ox) var(--craft-oy); transform: translate(calc(50% - var(--craft-ox)), calc(50% - var(--craft-oy))) scale(2.4); }
.craft-zoom figcaption { font: 500 13px/1.5 var(--s-font-meta); color: var(--s-muted); }
.craft-zoom figcaption b { display: block; margin-bottom: 6px; font: 500 20px/1 var(--s-font-mono); color: var(--s-ink); }
@media (max-width: 720px) {
  .craft-detail { aspect-ratio: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px; }
  .craft-detail-main { position: relative; grid-column: 1 / -1; width: auto; height: auto; aspect-ratio: 1 / 1; }
  .craft-lines { display: none; }
  .craft-zoom { position: static; width: auto; flex-direction: column; gap: 12px; text-align: center; }
  .craft-zoom .ph { width: 100%; box-shadow: 0 0 0 4px var(--s-surface-2), 0 0 0 5px var(--s-line); }
  .craft-zoom figcaption { font-size: 12px; }
}

/* 工序：上方量尺刻度，每步一條長刻度；手機改成左側直尺 */
.craft-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.craft-process::before { content: ''; grid-column: 1 / -1; height: 12px; border-top: 1px solid rgba(238,240,242,.6); background: repeating-linear-gradient(90deg, rgba(238,240,242,.45) 0 1px, transparent 1px 12px); }
.craft-step { padding: 22px 24px 8px; border-left: 1px solid rgba(238,240,242,.55); }
.craft-step-n { display: block; font: 300 44px/1 var(--s-font-mono); font-variant-numeric: tabular-nums; color: var(--s-on-band); }
.craft-process .craft-step h3 { margin: 16px 0 8px; }
.craft-process .craft-step p { margin: 0; color: var(--s-band-muted); font-size: 15px; }
@media (max-width: 720px) {
  .craft-process { grid-template-columns: minmax(0, 1fr); }
  .craft-process::before { display: none; }
  .craft-step { padding: 4px 0 30px 26px; background: repeating-linear-gradient(180deg, rgba(238,240,242,.45) 0 1px, transparent 1px 12px) left top / 10px 100% no-repeat; }
  .craft-step-n { font-size: 34px; }
}

/* 師傅卡：細框、對角兩個角標、左上小編號；手機改成照片在左 */
.craft-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.craft-card { position: relative; padding: 16px 16px 22px; background: var(--s-surface); border: 1px solid var(--s-line); }
.craft-card::before, .craft-card::after { content: ''; position: absolute; width: 14px; height: 14px; border: 0 solid var(--s-ink); pointer-events: none; }
.craft-card::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.craft-card::after { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.craft-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.craft-role { font: 500 13px/1.4 var(--s-font-meta); color: var(--s-muted); text-align: right; }
.craft-card .ph { --ph-ratio: 4 / 5; border-radius: 0; margin-bottom: 18px; }
.craft-card .ph span { display: none; }
.craft-people .craft-card p { margin: 8px 0 0; font-size: 15px; }
@media (max-width: 860px) { .craft-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .craft-people { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .craft-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px; align-content: start; }
  .craft-card-top { grid-column: 1 / -1; }
  .craft-card .ph { grid-row: 2 / span 2; margin: 0; }
}

/* 資訊：營業時間＋聯絡，地圖外框加角框與座標 */
.craft-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.craft-info .hours td:last-child { font-family: var(--s-font-mono); font-size: 15px; }
.craft-contact { margin-top: 20px; }
.craft-mapbox { position: relative; padding: 16px; color: var(--s-ink); }
.craft-mapbox .map-embed { margin: 0; }
.craft-mapbox .map-embed iframe { border-radius: 0; border: 1px solid var(--s-line); }
.craft-mapbox .craft-geo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 10px 0 0; font: 500 12px/1.4 var(--s-font-mono); letter-spacing: .02em; color: var(--s-muted); }
@media (max-width: 860px) { .craft-info { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---- 23 產品展示：置中大品名、漸層舞台、黑白交錯滿版色塊、膠囊選擇器（純 CSS）、規格比較表 ---- */
/* 螢幕報讀用的隱藏文字 */
.product-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 文字連結「了解更多 ›」 */
.site a.product-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--s-accent-text); font: 500 17px/1.3 var(--s-font-meta); text-decoration: none; }
.site a.product-more:hover { text-decoration: underline; }
.site .product-place { margin: -4px 0 14px; color: var(--s-muted); }
.product-panel-copy .tag { margin: 0 0 6px; }

/* 首屏：置中、超大品名、漸層舞台上的大照片 */
.hero-product { padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 96px); text-align: center; }
.hero-product .wrap { gap: clamp(36px, 5vw, 56px); justify-items: center; }
.product-hero-copy { max-width: 880px; min-width: 0; }
.site .product-hero-name { margin: 0; font: 900 clamp(46px, 10vw, 112px)/1.06 var(--s-font-display); letter-spacing: -.02em; overflow-wrap: anywhere; text-wrap: balance; }
.site .hero-product h1 { margin-top: 14px; font-size: clamp(22px, 3.2vw, 34px); font-weight: 500; line-height: 1.35; }
.hero-product .lead { margin: 14px auto 0; color: var(--s-muted); font-size: 18px; }
.product-hero-price { display: block; margin-top: 4px; color: var(--s-ink); font-family: var(--s-font-meta); }
.hero-product .btns, .product-pane .btns { align-items: center; gap: 8px 28px; }
.hero-product .btns { justify-content: center; }
.product-stage { width: 100%; max-width: 1040px; padding: clamp(14px, 3.5vw, 44px); border-radius: clamp(20px, 3vw, 36px); background: radial-gradient(90% 80% at 50% 0%, #FFFFFF 0%, #F3F3F6 55%, #E2E2E8 100%); }
.hero-product .ph { --ph-ratio: 16 / 9; border-radius: clamp(12px, 2vw, 22px); box-shadow: 0 30px 60px -36px rgba(0,0,0,.45); }

/* 主角大色塊：一黑一淺灰，滿版、置中，照片貼齊色塊底部 */
[data-theme='product'] #today.section { padding: 0; }
[data-theme='product'] #today > .wrap { max-width: none; padding: 0; }
.product-panels { display: grid; }
.product-panel { padding: clamp(72px, 10vw, 120px) 20px 0; text-align: center; overflow: hidden; }
.product-panel-dark { background: var(--s-band); color: var(--s-on-band); }
.product-panel-light { background: var(--s-surface-2); }
.product-panel-copy { max-width: 760px; margin: 0 auto; }
.site .product-panel h2 { margin-bottom: 10px; font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.site .product-panel-desc { margin: 0 auto 6px; color: var(--s-muted); font-size: clamp(18px, 2.2vw, 22px); }
.site .product-panel-dark .product-panel-desc { color: var(--s-band-muted); }
.site .product-panel-price { margin: 0; font-family: var(--s-font-meta); }
.product-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 28px; margin-top: 24px; }
.site .product-panel-dark a.product-more { color: var(--s-on-band); }
.site .product-panel-dark a.btn-primary { box-shadow: 0 0 0 1px rgba(255,255,255,.24); }
.product-panel .product-panel-ph { max-width: 980px; margin: clamp(40px, 6vw, 64px) auto 0; --ph-ratio: 16 / 9; border-radius: var(--s-radius-img) var(--s-radius-img) 0 0; }

/* 選擇器：radio 視覺隱藏但鍵盤可用（方向鍵切換），選到的膠囊變黑、下面換成那個品項 */
.product-picker { position: relative; }
.product-pick { position: absolute; top: 0; left: 50%; width: 1px; height: 1px; margin: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.product-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto 44px; }
.product-pills label { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-surface); color: var(--s-ink); font: 500 15px/1.3 var(--s-font-meta); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.product-pills label:hover { border-color: var(--s-ink); }
.product-pane { display: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.product-pane .ph { --ph-ratio: 4 / 3; border-radius: 28px; }
.product-pane-copy { min-width: 0; }
.site .product-pane h3 { margin: 4px 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; overflow-wrap: anywhere; }
.site .product-pane-price { margin: 0; font-family: var(--s-font-meta); font-size: 18px; }
.product-pane .btns { margin-top: 24px; }
.product-pick:nth-of-type(1):checked ~ .product-pills label:nth-of-type(1) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(1):checked ~ .product-panes .product-pane:nth-of-type(1) { display: grid; }
.product-pick:nth-of-type(1):focus-visible ~ .product-pills label:nth-of-type(1) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-pick:nth-of-type(2):checked ~ .product-pills label:nth-of-type(2) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(2):checked ~ .product-panes .product-pane:nth-of-type(2) { display: grid; }
.product-pick:nth-of-type(2):focus-visible ~ .product-pills label:nth-of-type(2) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-pick:nth-of-type(3):checked ~ .product-pills label:nth-of-type(3) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(3):checked ~ .product-panes .product-pane:nth-of-type(3) { display: grid; }
.product-pick:nth-of-type(3):focus-visible ~ .product-pills label:nth-of-type(3) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-pick:nth-of-type(4):checked ~ .product-pills label:nth-of-type(4) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(4):checked ~ .product-panes .product-pane:nth-of-type(4) { display: grid; }
.product-pick:nth-of-type(4):focus-visible ~ .product-pills label:nth-of-type(4) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-pick:nth-of-type(5):checked ~ .product-pills label:nth-of-type(5) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(5):checked ~ .product-panes .product-pane:nth-of-type(5) { display: grid; }
.product-pick:nth-of-type(5):focus-visible ~ .product-pills label:nth-of-type(5) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-pick:nth-of-type(6):checked ~ .product-pills label:nth-of-type(6) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(6):checked ~ .product-panes .product-pane:nth-of-type(6) { display: grid; }
.product-pick:nth-of-type(6):focus-visible ~ .product-pills label:nth-of-type(6) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-pick:nth-of-type(7):checked ~ .product-pills label:nth-of-type(7) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(7):checked ~ .product-panes .product-pane:nth-of-type(7) { display: grid; }
.product-pick:nth-of-type(7):focus-visible ~ .product-pills label:nth-of-type(7) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-pick:nth-of-type(8):checked ~ .product-pills label:nth-of-type(8) { background: var(--s-ink); border-color: var(--s-ink); color: var(--s-canvas); }
.product-pick:nth-of-type(8):checked ~ .product-panes .product-pane:nth-of-type(8) { display: grid; }
.product-pick:nth-of-type(8):focus-visible ~ .product-pills label:nth-of-type(8) { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .product-pane { animation: product-pane-in .5s cubic-bezier(.22,.61,.36,1); }
  @keyframes product-pane-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* 規格比較表：白底大圓角，第一欄固定；放不下時表格容器自己橫滑 */
.product-swipe { display: none; }
.product-compare-scroll { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--s-surface); border-radius: var(--s-radius-card); }
.product-compare-scroll:focus-visible { outline: 3px solid var(--s-focus, #FFC21A); outline-offset: 3px; }
.product-compare { width: 100%; min-width: calc(120px + var(--n, 4) * 150px); border-collapse: collapse; font: 400 15px/1.6 var(--s-font-meta); }
.product-compare th, .product-compare td { padding: 18px 14px; border-bottom: 1px solid var(--s-line); text-align: center; vertical-align: middle; }
.product-compare thead th { padding-top: 32px; vertical-align: bottom; font-weight: 400; }
.product-compare tbody th, .product-corner { position: sticky; left: 0; z-index: 1; width: 120px; background: var(--s-surface); color: var(--s-muted); font-weight: 500; text-align: left; white-space: nowrap; }
.product-compare tbody tr:last-child th, .product-compare tbody tr:last-child td { border-bottom: 0; }
.product-thumb { width: 96px; margin: 0 auto 12px; --ph-ratio: 1 / 1; border-radius: 18px; }
.product-compare-name { display: block; color: var(--s-ink); font: 700 16px/1.4 var(--s-font-display); }
.product-compare-price { color: var(--s-ink); white-space: nowrap; }
.product-compare-desc { color: var(--s-muted); font-size: 14px; }
.product-yes { color: var(--s-ink); font-size: 20px; font-weight: 700; }
.product-no { color: var(--s-muted); }
.product-compare .product-more { font-size: 15px; }

/* 門市資訊卡＋地圖 */
.product-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; align-items: stretch; }
.product-store { padding: clamp(24px, 4vw, 40px); border-radius: var(--s-radius-card); background: var(--s-surface); }
.site .product-store h3 { margin-bottom: 12px; font-size: 28px; }
.product-hours { margin-top: 8px; }
.product-store .btns { margin-top: 24px; }
.product-info .map-embed { display: flex; flex-direction: column; margin: 0; }
.product-info .map-embed iframe { flex: 1; min-height: 360px; aspect-ratio: auto; border-radius: var(--s-radius-card); }

@media (max-width: 720px) {
  .hero-product .ph, .product-panel .product-panel-ph { --ph-ratio: 4 / 3; }
  .product-pane { grid-template-columns: 1fr; }
  .product-pills { gap: 8px; margin-bottom: 32px; }
  .product-pills label { padding: 8px 16px; font-size: 14px; }
  .product-swipe { display: block; margin: -20px 0 12px; color: var(--s-muted); font: 400 13px/1.4 var(--s-font-meta); text-align: center; }
  .product-compare tbody th, .product-corner { width: 92px; }
  .product-info { grid-template-columns: 1fr; }
  .product-info .map-embed iframe { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
}

/* ======================= 夜幕靛紫（第五批）：星空、彎月、拱門、月相週曆 ======================= */
/* 大圖標語：星空（CSS 小點）＋彎月＋置中襯線大標，下面三道拱門 */
.hero-indigo { overflow: hidden; padding: 96px 0 0; text-align: center; background: linear-gradient(180deg, #08061C 0%, var(--s-canvas) 100%); }
.indigo-sky, .indigo-sky::before, .indigo-sky::after { position: absolute; inset: 0; pointer-events: none; }
.indigo-sky { z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 92%); mask-image: linear-gradient(180deg, #000 35%, transparent 92%);
  background-image: radial-gradient(circle at 18px 26px, rgba(255,255,255,.75) 0 1px, transparent 1.6px), radial-gradient(circle at 96px 70px, rgba(255,255,255,.55) 0 .8px, transparent 1.4px), radial-gradient(circle at 150px 140px, rgba(255,255,255,.65) 0 1px, transparent 1.6px), radial-gradient(circle at 60px 160px, rgba(220,210,255,.5) 0 .8px, transparent 1.4px);
  background-size: 190px 190px; }
.indigo-sky::before { content: ''; opacity: .8; background-image: radial-gradient(circle at 40px 90px, #fff 0 1.3px, transparent 2px), radial-gradient(circle at 210px 30px, rgba(255,255,255,.85) 0 1.1px, transparent 1.8px), radial-gradient(circle at 160px 210px, rgba(255,255,255,.8) 0 1.2px, transparent 1.9px); background-size: 290px 250px; }
.indigo-sky::after { content: ''; opacity: .6; background-image: radial-gradient(circle at 120px 60px, rgba(232,211,160,.95) 0 1.6px, transparent 2.6px), radial-gradient(circle at 330px 260px, rgba(232,211,160,.8) 0 1.4px, transparent 2.4px); background-size: 430px 370px; }
.hero-indigo .wrap { position: relative; z-index: 1; grid-template-columns: 1fr; justify-items: center; gap: 56px; }
.indigo-hero-copy { max-width: 780px; }
.indigo-crescent { display: block; width: 58px; height: 58px; margin: 0 auto 22px; fill: #EFE2BD; filter: drop-shadow(0 0 14px rgba(239,226,189,.45)); }
.hero-indigo h1 { letter-spacing: .1em; }
.hero-indigo .lead { margin-left: auto; margin-right: auto; color: var(--s-muted); }
.hero-indigo .btns { justify-content: center; }
/* 三道拱門：兩側小、中間大，底部接在一條淡金地平線上 */
.indigo-arches { display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: clamp(10px, 2.6vw, 30px); align-items: end; width: min(100%, 880px); border-bottom: 1px solid rgba(232,211,160,.45); }
.indigo-arch { border-radius: 999px 999px 0 0; border: 1px solid rgba(232,211,160,.45); border-bottom: 0; }
.hero-indigo .indigo-arch { --ph-ratio: 3 / 4; }
.hero-indigo .indigo-arch-side { margin-bottom: 0; opacity: .85; }
.hero-indigo .indigo-arch-side span { display: none; }

/* 品項：直式拱門頂卡片 */
.indigo-rituals { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0 auto; }
.indigo-rituals[data-n='5'], .indigo-rituals[data-n='6'] { max-width: 920px; }
@media (max-width: 1000px) { .indigo-rituals[data-n='4'] { max-width: 640px; } } /* 4 項時中等寬度排 2×2，不要 3＋1 */
.indigo-ritual { flex: 1 1 230px; max-width: 280px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 14px 26px; background: var(--s-surface); border: 1px solid rgba(232,211,160,.35); border-radius: 200px 200px 18px 18px; color: var(--s-ink); }
.indigo-ritual .ph { width: 100%; --ph-ratio: 4 / 5; }
.indigo-ritual .ph span { display: none; }
.indigo-star { display: block; margin: 16px 0 6px; color: #E8D3A0; font-size: 15px; line-height: 1; }
.indigo-ritual h3 { font-size: 20px; letter-spacing: .06em; margin-bottom: 6px; overflow-wrap: anywhere; }
.site .indigo-ritual p.muted { margin: 0 0 10px; font-size: 14px; line-height: 1.65; }
.site .indigo-price { margin: auto 0 0; padding-top: 10px; font-family: var(--s-font-meta); color: #E8D3A0; letter-spacing: .04em; }

/* 月相週曆：七天＝七個月相，今天有淡金框，休息日月亮變暗 */
.indigo-moons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.indigo-day { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 20px 8px 22px; border: 1px solid transparent; border-radius: 999px 999px 18px 18px; font-family: var(--s-font-meta); }
.indigo-day.is-today { border-color: rgba(232,211,160,.6); background: rgba(232,211,160,.06); }
.indigo-moon { width: 64px; height: 64px; flex: none; }
.indigo-moon-disc { fill: #251F55; stroke: rgba(232,211,160,.3); stroke-width: 1; }
.indigo-moon-lit { fill: #EFE2BD; }
.indigo-day:not(.is-off) .indigo-moon { filter: drop-shadow(0 0 10px rgba(239,226,189,.35)); }
.indigo-day.is-off .indigo-moon-lit { fill: #3A3472; }
.indigo-day b { font: 600 16px/1.3 var(--s-font-display); letter-spacing: .08em; }
.indigo-day small { display: block; margin-top: 4px; font: 500 15px/1 var(--s-font-display); color: #E8D3A0; letter-spacing: .02em; }
.indigo-day span { font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.indigo-day.is-off span { color: var(--s-muted); }
.site .indigo-moon-note { margin: 28px 0 0; text-align: center; font-size: 14px; }

/* 人物：拱門肖像 */
.indigo-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.indigo-guide { text-align: center; }
.indigo-portal { position: relative; width: min(100%, 260px); margin: 0 auto 26px; padding: 10px 10px 0; border: 1px solid rgba(232,211,160,.45); border-bottom: 0; border-radius: 999px 999px 0 0; }
.indigo-portal::after { content: '✦'; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 0 10px; background: var(--s-canvas); color: #E8D3A0; font-size: 16px; line-height: 24px; }
.indigo-portal .ph { --ph-ratio: 3 / 4; border: 0; }
.indigo-guide h3 { letter-spacing: .1em; }
.indigo-role { display: block; margin: 6px 0 12px; color: #E8D3A0; font: 500 13px/1.5 var(--s-font-meta); letter-spacing: .02em; }
.site .indigo-guide p { margin: 0 auto; max-width: 22em; font-size: 15px; }

/* 好評：置中襯線斜體，✦ 分隔 */
.indigo-quotes { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.indigo-quote { margin: 0; }
.site .indigo-quote p { margin: 0; font: 400 clamp(20px, 2.6vw, 26px)/1.75 var(--s-font-display); letter-spacing: .05em; }
.indigo-quote footer { margin-top: 12px; font: 500 16px/1.4 var(--s-font-display); color: var(--s-muted); letter-spacing: .06em; }
.indigo-sep { display: flex; align-items: center; gap: 14px; width: 180px; color: #E8D3A0; font-size: 16px; line-height: 1; }
.indigo-sep::before, .indigo-sep::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,211,160,.6)); }
.indigo-sep::after { background: linear-gradient(90deg, rgba(232,211,160,.6), transparent); }

/* 資訊：地圖框成拱門 */
.indigo-info { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.indigo-info-text .hours { margin-top: 8px; }
.indigo-mapframe { padding: 12px; border: 1px solid rgba(232,211,160,.45); border-radius: 300px 300px 24px 24px; }
.indigo-mapframe .map-embed { margin: 0; }
.indigo-mapframe .map-embed iframe { aspect-ratio: 1 / 1; border-radius: 288px 288px 14px 14px; -webkit-clip-path: inset(0 round 288px 288px 14px 14px); clip-path: inset(0 round 288px 288px 14px 14px); } /* 地圖加了濾鏡後圓角會失效，用 clip-path 裁成拱門 */
.indigo-mapframe .map-embed figcaption { text-align: center; }

/* 星點閃爍：只在沒有開「減少動態效果」時，很慢地閃 */
@media (prefers-reduced-motion: no-preference) {
  html.motion .indigo-sky::before { animation: indigoTwinkle 7s ease-in-out infinite alternate; }
  html.motion .indigo-sky::after { animation: indigoTwinkle 11s ease-in-out 3s infinite alternate-reverse; }
  @keyframes indigoTwinkle { from { opacity: .2; } to { opacity: .95; } }
}

@media (max-width: 860px) {
  .indigo-moons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .indigo-info { grid-template-columns: 1fr; gap: 40px; }
  .indigo-guides { grid-template-columns: 1fr; gap: 52px; }
}
@media (max-width: 720px) {
  .hero-indigo { padding-top: 64px; }
  .hero-indigo .wrap { gap: 40px; }
  .indigo-arches { grid-template-columns: 1fr 2.3fr 1fr; gap: 10px; }
  .indigo-rituals { gap: 14px; }
  .indigo-ritual { flex-basis: 140px; padding: 8px 10px 20px; }
  .indigo-ritual h3 { font-size: 17px; letter-spacing: .02em; }
  .site .indigo-ritual p.muted { font-size: 13px; }
  /* 月相改成一天一列：月亮、星期、時間 */
  .indigo-moons { grid-template-columns: 1fr; gap: 6px; }
  .indigo-day { display: grid; grid-template-columns: 40px 5.2em minmax(0, 1fr); align-items: center; gap: 14px; text-align: left; padding: 8px 18px; border-radius: 999px; }
  .indigo-moon { width: 40px; height: 40px; }
  .indigo-day small { display: inline; margin: 0 0 0 6px; font-size: 13px; }
  .indigo-day span { text-align: right; }
  .indigo-portal { width: min(100%, 230px); }
}

/* 電影暗場：片名照逗號分段，一段不從中間斷開（避免「只」字掉在行尾） */
.cinema-seg { display: inline-block; }

/* ---------- 單人模式（11/6）：個人老師、個人工作室，人物區塊改成「關於老師」 ---------- */
/* 大張直式照片在左、介紹在右；手機改成上下。顏色字體都讀風格變數，各風格只微調照片框。 */
.solo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.solo-media { min-width: 0; }
.solo-portrait { --ph-ratio: 4 / 5; border-radius: var(--s-radius-solo, var(--s-radius-img, 12px)); box-shadow: var(--s-shadow-card, none); }
.solo-copy { min-width: 0; }
.solo-copy h2 { margin: 0 0 10px; }
.solo-copy .role { margin-bottom: 18px; }
.solo-copy p { margin: 0 0 14px; line-height: 1.85; }
.solo-quote { margin: 22px 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--s-accent); font: var(--s-quote-weight, 500) clamp(17px, 1.9vw, 21px)/1.65 var(--s-font-quote, var(--s-font-display)); }
.solo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.solo-stats > div { padding: 14px 14px 14px 0; min-width: 0; }
.solo-stats > div + div { padding-left: 14px; border-left: 1px solid var(--s-line); }
.solo-stats dt { font: 500 12.5px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-muted); }
.solo-stats dd { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.solo-stats .n { font: var(--s-display-weight, 700) clamp(24px, 3vw, 32px)/1.05 var(--s-font-display); font-variant-numeric: tabular-nums; }
.solo-stats small { font-size: 13px; color: var(--s-muted); white-space: nowrap; }
.solo-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin-top: 6px; }
.solo-lists h3 { margin: 0 0 8px; font: 600 13px/1.4 var(--s-font-meta); letter-spacing: .02em; color: var(--s-accent-text); }
.band .role, .band .solo-lists h3 { color: var(--s-band-muted); } /* 深色帶上強調色可能看不清（例：極簡黑白的單人介紹），改用色帶的淡字色 */
.solo-lists ul { margin: 0; padding-left: 1.1em; display: grid; gap: 5px; color: var(--s-muted); font-size: 15px; line-height: 1.6; }
.solo .btns { margin-top: 24px; }
.band .solo-stats, .band .solo-stats > div + div { border-color: var(--s-band-line, rgba(255,255,255,.18)); }
.band .solo-stats dt, .band .solo-stats small, .band .solo-lists ul { color: var(--s-band-muted); }
@media (max-width: 760px) {
  .solo { grid-template-columns: 1fr; }
  .solo-media { width: min(100%, 400px); justify-self: center; }
  .solo-lists { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .solo-stats > div { padding-right: 8px; }
  .solo-stats > div + div { padding-left: 10px; }
  .solo-stats .n { font-size: 22px; }
}
/* 各風格的照片框：跟原本人物區塊同一種樣子 */
.solo-indigoGuides .solo-portrait { border-radius: 999px 999px 0 0; border: 1px solid rgba(232,211,160,.45); border-bottom: 0; }
.solo-teachers .solo-portrait { border-radius: var(--s-radius-portrait, 999px 999px 20px 20px); }
.solo-stickers .solo-portrait { border-radius: 50%; --ph-ratio: 1 / 1; border: 8px solid #fff; box-shadow: 0 14px 34px -20px rgba(0,0,0,.4); }
.solo-peopleBadges .solo-portrait, .solo-avatars .solo-portrait { border-radius: 50%; --ph-ratio: 1 / 1; }
.solo-craftPeople .solo-portrait { border-radius: 0; border: 1px solid var(--s-line); box-shadow: none; }
.solo-sportCoach .solo-portrait { border-radius: 0; }
/* 電影暗場的片尾字幕：單人時前面加「主演」 */
.cinema-star { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 32px; }
.cinema-star .ph { --ph-ratio: 4 / 5; border-radius: 0; }
.cinema-star h3 { margin: 0 0 10px; font: var(--s-display-weight, 700) 30px/1.2 var(--s-font-display); }
.cinema-star p { margin: 0 0 10px; color: var(--s-muted); line-height: 1.8; }
.cinema-star .cinema-star-quote { color: inherit; }
@media (max-width: 560px) { .cinema-star { grid-template-columns: 1fr; } .cinema-star .ph { width: min(100%, 300px); } }

/* 大標的詞不從中間斷開（site.js keepWords）：一個詞一個 inline-block，只在詞和詞之間換行；詞比一行還長時會在詞裡面換 */
.kw { display: inline-block; }
