/* DOSE 快樂傳導 — prototype v4「剪貼宇宙」
   公理：整站是一張紙，每個元素都是剪下來貼上去的實體物（docs/design-gap-diagnosis.md §9）。
   六規則落地：①萬物貼紙(.stk) ②紙有質感(.paper-*) ③色彩功能編碼 ④字階三級(type-*)
   ⑤一屏一巨錨 ⑥故意感紀律（傾角詞彙表 .tilt-*、等寬白邊、同角硬影） */

:root {
  /* 紙與墨 */
  --paper: #FFF8EC;
  --ink: #33255B;
  --ink-line: rgba(51, 37, 91, 0.88);
  --shadow: rgba(51, 37, 91, 0.22);
  /* 色彩功能編碼（全站唯一表）：紅=商業訊號 黃=注目底 粉=品牌情感 青=資訊導覽 紫=墨線影 綠=狀態 */
  --sig: #E6293F;
  --attn: #FFE23D;
  --brand: #FF4FA8;
  --brand-soft: #FFD7EF;
  --info: #1FAFC2;
  --info-soft: #E2F7FA;
  --ok: #2FBF71;
  --violet: #9B5DE5;
  --orange: #FF8A3D;
  --led: #6FE86F;
  /* 產品線 */
  --c-d: var(--brand);
  --c-o: var(--orange);
  --c-s: var(--info);
  --c-e: var(--ok);
  --z-sticker: 2;
  --z-ticker: 20;
  --z-grain: 60;
  --font-round: "M PLUS Rounded 1c", "Noto Sans TC", "PingFang TC", sans-serif;
  --font-sans: "Noto Sans TC", "PingFang TC", sans-serif;
  --font-dot: "DotGothic16", monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  --confetti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg opacity='0.75'%3E%3Cpolygon points='44,16 49,30 64,30 52,39 56,54 44,45 32,54 36,39 24,30 39,30' fill='%23fff' stroke='%2333255B' stroke-width='2'/%3E%3Cpath d='M140 34 q10 -14 20 0 t20 0' stroke='%23E6293F' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3Cpolygon points='236,22 258,60 214,60' fill='none' stroke='%239B5DE5' stroke-width='5'/%3E%3Ccircle cx='80' cy='140' r='8' fill='%231FAFC2'/%3E%3Cpolygon points='170,120 158,150 170,148 162,178 186,140 172,142 182,120' fill='%23FF8A3D' stroke='%2333255B' stroke-width='2'/%3E%3Cpath d='M36 232 c-6 -10 -20 -2 -12 8 l12 12 12 -12 c8 -10 -6 -18 -12 -8 z' fill='%23FF4FA8' stroke='%2333255B' stroke-width='2'/%3E%3Ccircle cx='238' cy='226' r='6' fill='%23fff' stroke='%2333255B' stroke-width='2'/%3E%3Cpath d='M110 268 q10 -12 20 0 t20 0' stroke='%232FBF71' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.75;
}
/* 全域膠片顆粒（規則②：紙有質感） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grain);
  pointer-events: none;
  z-index: var(--z-grain);
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--font-round); font-weight: 900; line-height: 1.3; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
.wrap { max-width: 1100px; margin-inline: auto; padding-inline: 24px; }

/* ═══ 規則①：貼紙基類 ═══
   白フチ(3px) + 墨色外緣(1.5px) + 同角硬影——任何元素掛上 .stk 即成貼紙 */
.stk {
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 4.5px var(--ink-line),
    6px 7px 0 var(--shadow);
}
.stk-pill { border-radius: 999px; }
.stk-band { border-radius: 6px; }
/* 不規則形（SVG、撕紙）用四向白邊濾鏡當白フチ */
.cutout {
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
          drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
          drop-shadow(6px 8px 0 var(--shadow));
}

/* ═══ 規則⑥：傾角詞彙表（全站只允許這六個角度） ═══ */
.tilt-a { transform: rotate(-6deg); }
.tilt-b { transform: rotate(-3deg); }
.tilt-c { transform: rotate(-1.5deg); }
.tilt-d { transform: rotate(2deg); }
.tilt-e { transform: rotate(4deg); }
.tilt-f { transform: rotate(8deg); }
.tilt-g { transform: rotate(12deg); }
.tilt-h { transform: rotate(-12deg); }

/* 45° 斜紋帶（區段交界的鑲邊） */
.stripe-band {
  height: 16px;
  background: repeating-linear-gradient(45deg, var(--attn) 0 14px, var(--brand) 14px 28px);
  box-shadow: 0 3px 0 #fff, 0 -3px 0 #fff, 0 6px 0 var(--shadow);
  position: relative;
  z-index: 1;
}

/* 區段色帶（規則②：白色只留給卡片內部） */
.zone { padding-block: 6px 46px; }
.zone .sec-head { margin-top: 22px; }
.paper-grid-s {
  background-color: #FFF3C9;
  background-image:
    linear-gradient(rgba(255, 138, 61, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 138, 61, 0.16) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

/* ═══ 規則②：紙面（同一 pattern 家族：方眼／點點／格紋） ═══ */
.paper-grid-y {
  background-color: var(--attn);
  background-image: var(--confetti),
    linear-gradient(rgba(255, 255, 255, 0.5) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1.5px, transparent 1.5px);
  background-size: 300px 300px, 26px 26px, 26px 26px;
}
.paper-grid-t {
  background-color: var(--info-soft);
  background-image:
    linear-gradient(rgba(31, 175, 194, 0.22) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(31, 175, 194, 0.22) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.paper-dot-p {
  background-color: #FFE9F4;
  background-image: radial-gradient(rgba(255, 79, 168, 0.3) 2px, transparent 2.4px);
  background-size: 16px 16px;
}
.paper-check-ink {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
  background-size: 34px 34px;
}

/* ═══ 規則④：字階三級 ═══ */
/* 品牌級：膨脹圓體，逐字彈跳
   四層描邊：漸層填色 → 白粗邊(text-stroke) → 深紫外緣(四向 drop-shadow) → 位移硬影 */
.puffy {
  position: relative;
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 8px #fff;
  paint-order: stroke fill;
  filter: drop-shadow(2.5px 0 0 var(--ink)) drop-shadow(-2.5px 0 0 var(--ink))
          drop-shadow(0 2.5px 0 var(--ink)) drop-shadow(0 -2.5px 0 var(--ink))
          drop-shadow(5px 6px 0 rgba(51, 37, 91, 0.55));
}
.puffy::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  -webkit-text-stroke: 0;
  background: linear-gradient(180deg, #ffd7ef 0%, #ff8ac2 36%, #ff4fa8 66%, #e02a92 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.puffy.alt::after {
  background: linear-gradient(180deg, #d9f6fa 0%, #7fdbe6 40%, #1fafc2 70%, #0e7f8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
/* 逐字彈跳組合（傾角＋基線，固定詞彙） */
.bop-1 { transform: rotate(-9deg) translateY(-4px); }
.bop-2 { transform: rotate(4deg) translateY(4px); }
.bop-3 { transform: rotate(-3deg) translateY(0); }
.bop-4 { transform: rotate(7deg) translateY(-5px); }
.bop-5 { transform: rotate(-5deg) translateY(3px); }
/* 訊息級：粗黑體＋白フチ雙色（nicola 大特集字法） */
.type-msg {
  font-family: var(--font-round);
  font-weight: 900;
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
  filter: drop-shadow(3px 3px 0 var(--shadow));
  line-height: 1.35;
}
.c-sig { color: var(--sig); }
.c-ink { color: var(--ink); }
.c-brand { color: var(--brand); }
.c-info { color: #0E7F8F; }
/* 資料級 */
.type-data { font-family: var(--font-dot); font-variant-numeric: tabular-nums; }

/* ═══ LED 跑馬燈：橫貫紙面的一條膠帶 ═══ */
.ticker {
  background: #171230;
  color: var(--led);
  font-family: var(--font-dot);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.45em 0;
  font-size: 0.95rem;
  position: relative;
  z-index: var(--z-ticker);
  box-shadow: 0 3px 0 #fff, 0 -3px 0 #fff, 0 6px 0 var(--shadow);
}
.ticker-track { display: inline-block; animation: tick 30s linear infinite; }
.ticker-track > span { padding-inline-end: 3rem; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ═══ 封面（報頭＋主視覺同一張黃方眼紙；規則⑤：販賣機＝唯一巨錨） ═══ */
.cover { padding-block: 26px 46px; position: relative; overflow: hidden; }
.cover-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.logo {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  line-height: 1;
  background: linear-gradient(180deg, #fdfdfd 0%, #c9cdd5 38%, #6b7280 50%, #eceef2 56%, #9aa0ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
          drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
          drop-shadow(5px 5px 0 var(--ink));
}
.logo a { text-decoration: none; }
.brand-tags { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 6px; }
.brand-zh {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 1.2rem;
  padding: 0.12em 0.75em;
}
.date-chip {
  display: inline-block;
  background: #fff;
  padding: 0.15em 0.8em;
  font-size: 0.85rem;
  font-weight: 700;
}
.date-chip .type-data { font-size: 1.05rem; }

.cover-main {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 30px;
  align-items: center;
  padding-inline-end: 74px; /* 直式脊椎的位置 */
  position: relative;
}
.machine-slot { position: relative; }
.machine-slot .badge-float { position: absolute; z-index: var(--z-sticker); }
.badge-bubble {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 0.9rem;
  padding: 0.3em 0.9em;
  line-height: 1.35;
  text-align: center;
}
.badge-bubble.sig { background: var(--sig); color: #fff; }
.badge-bubble.pixel { font-family: var(--font-dot); background: #fff; color: var(--sig); }

.cover-copy { display: grid; gap: 18px; justify-items: start; }
.cover-copy .puffy { font-size: clamp(2rem, 5vw, 3.3rem); }
.feature-plate { padding: 14px 20px; display: grid; gap: 9px; justify-items: start; max-width: 470px; }
.feature-plate .type-msg { font-size: clamp(1.05rem, 2.2vw, 1.4rem); }
.feature-plate .meta { font-size: 0.8rem; color: #6d648f; }
.chip-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.info-chip {
  display: inline-block;
  background: var(--info);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.15em 0.8em;
}

/* 直式脊椎：撕邊網點紙帶（FRUIT SHOWER 文法） */
.spine {
  position: absolute;
  top: -20px;
  right: 6px;
  bottom: -20px;
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-soft);
  background-image: radial-gradient(rgba(255, 79, 168, 0.4) 1.6px, transparent 2px);
  background-size: 9px 9px;
  clip-path: polygon(18% 0%, 100% 1%, 88% 5%, 100% 9%, 90% 14%, 100% 19%, 86% 25%, 100% 30%, 92% 36%, 100% 42%, 88% 49%, 100% 55%, 90% 61%, 100% 67%, 86% 73%, 100% 79%, 92% 85%, 100% 91%, 88% 96%, 96% 100%, 10% 100%, 0% 95%, 12% 89%, 0% 83%, 10% 77%, 0% 71%, 14% 64%, 0% 58%, 8% 52%, 0% 46%, 12% 39%, 0% 33%, 10% 27%, 0% 21%, 14% 15%, 0% 9%, 8% 4%);
}
.spine span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.1em;
}

/* 微物列（規則⑤：真資訊填隙） */
.micro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.micro-chip { background: #fff; padding: 0.1em 0.7em; display: inline-block; }
.micro-barcode {
  display: inline-block;
  width: 64px;
  height: 20px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px);
  vertical-align: middle;
}

/* ═══ 販賣機（品牌資產，錨點） ═══ */
.machine { display: block; }

/* ═══ 區段標題：貼紙圓標＋鋸齒底線＋dot 英文 ═══ */
.sec-head { display: flex; align-items: center; gap: 14px; margin: 46px 0 20px; padding-bottom: 12px; position: relative; }
.sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M0 6 L6 2 L12 6 L18 2 L24 6' stroke='%23FF4FA8' stroke-width='2.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
}
.sec-head h2 {
  background: var(--brand);
  color: #fff;
  font-size: 1.2rem;
  padding: 0.12em 0.95em;
}
.sec-head .en { font-size: 0.72rem; font-weight: 700; color: var(--violet); font-family: var(--font-dot); }

/* ═══ 徽章、圓章、戳章 ═══ */
.badge {
  display: inline-block;
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.1em 0.85em;
}
.badge.d { background: var(--c-d); }
.badge.o { background: var(--c-o); }
.badge.s { background: var(--c-s); }
.badge.e { background: var(--c-e); }
.seal {
  display: grid;
  place-items: center;
  width: 3.6em;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}
.seal.on { background: var(--sig); color: #fff; }
.seal.off { background: #fff; color: var(--ink); }
.stamp {
  display: inline-block;
  border: 3px solid var(--sig);
  color: var(--sig);
  border-radius: 8px;
  padding: 0.15em 0.6em;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.75);
}

/* ═══ 導覽：紙帶上的索引貼紙 ═══ */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 18px 6px; }
.nav a {
  padding: 0.22em 1em;
  font-weight: 900;
  font-family: var(--font-round);
  font-size: 0.95rem;
  text-decoration: none;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
.nav a:hover { background: var(--brand-soft); }
.nav a[class*="line-"]::before { content: ""; width: 0.62em; height: 0.62em; border: 2px solid var(--ink); border-radius: 3px; }
.nav a.line-d::before { background: var(--c-d); }
.nav a.line-o::before { background: var(--c-o); }
.nav a.line-s::before { background: var(--c-s); }
.nav a.line-e::before { background: var(--c-e); }

/* ═══ 產品線貨架 ═══ */
.lineup-zone { padding-block: 8px 40px; }
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.lineup .item { text-align: center; display: grid; gap: 6px; justify-items: center; padding: 18px 12px 14px; }
.canwrap { position: relative; padding: 8px 18px 2px; }
.canwrap .seal { position: absolute; top: -12px; right: -18px; z-index: var(--z-sticker); }
.can {
  width: 50px;
  height: 70px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
  font-family: var(--font-round);
}
.can::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 7px;
  background: linear-gradient(180deg, #f3f4f6, #9ca3af);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
}
.can::after { /* 罐身高光 */
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  width: 7px;
  height: 46px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.45);
}
.can.d { background: linear-gradient(105deg, #ff7cc0 40%, var(--c-d) 41%); }
.can.o { background: linear-gradient(105deg, #ffab72 40%, var(--c-o) 41%); }
.can.s { background: linear-gradient(105deg, #63cfdd 40%, var(--c-s) 41%); }
.can.e { background: linear-gradient(105deg, #6fd9a2 40%, var(--c-e) 41%); }
.lineup h3 { font-size: 1.05rem; }
.lineup .copy { font-size: 0.85rem; }
.lineup .code { font-size: 0.75rem; color: #6d648f; }

/* ═══ 文章卡（チラシ格律的種子：照片位＋日期 tab） ═══ */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { display: grid; overflow: hidden; }
.card .photo {
  position: relative;
  min-height: 120px;
  border-bottom: 2px solid var(--ink);
  display: grid;
  place-items: center;
  border-radius: 10px 10px 0 0;
}
.card .photo .date-tab {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--sig);
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 0.05em 0.6em;
}
.card .body { padding: 14px 16px 18px; display: grid; gap: 8px; justify-items: start; }
.card .body h3 { font-size: 1rem; }
.card .body h3 a { text-decoration: none; }
.card .body h3 a:hover { text-decoration: underline; }
.card-empty {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 30px 20px;
  gap: 12px;
  background: rgba(255, 255, 255, 0.6);
}

/* ═══ 按鈕：Y2K 糖果膠囊（貼紙化） ═══ */
.btn {
  display: inline-block;
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  text-decoration: none;
  padding: 0.5em 1.6em;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9ecd 0%, var(--brand) 45%, #d42e8a 100%);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 4.5px var(--ink-line),
    inset 0 3px 0 rgba(255, 255, 255, 0.6),
    inset 0 -3px 0 rgba(51, 37, 91, 0.25),
    5px 6px 0 var(--shadow);
}
.btn:hover { transform: translate(1px, 2px); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--ink-line), inset 0 3px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(51, 37, 91, 0.25), 3px 3px 0 var(--shadow); }
.btn.sig { background: linear-gradient(180deg, #ff8a97 0%, var(--sig) 45%, #b01326 100%); }

/* ═══ 自社廣告 ═══ */
.ad { position: relative; text-align: center; padding: 16px 14px; }
.ad::after {
  content: "廣告";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--paper);
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  border-radius: 0 10px 0 8px;
  font-size: 0.7rem;
  padding: 0 0.6em;
}
.ad .side-title { font-family: var(--font-round); font-weight: 900; font-size: 1.05rem; display: block; margin-bottom: 8px; }
.tomato { width: 80px; height: 80px; margin: 6px auto; background: var(--sig); border: 3px solid var(--ink); border-radius: 50%; position: relative; }
.tomato::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 26px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--ok);
  border: 3px solid var(--ink);
  border-radius: 4px 12px 4px 12px;
}
.tomato::after { /* 高光 */
  content: "";
  position: absolute;
  top: 12px;
  left: 14px;
  width: 16px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(-24deg);
}

/* ═══ 文章頁 ═══ */
.article-cover { padding-block: 20px 34px; }
.crumb-row { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; margin-bottom: 18px; }
.crumb-row .crumb { background: #fff; padding: 0.1em 0.7em; font-weight: 700; }
.article-head { display: grid; gap: 16px; justify-items: start; }
.article-head .plate { padding: 18px 24px; max-width: 760px; }
.article-head .type-msg { font-size: clamp(1.35rem, 3.4vw, 2.1rem); }
.article-head .meta { font-size: 0.8rem; color: #6d648f; }
.article-body { max-width: 760px; display: grid; gap: 20px; padding-block: 26px 40px; }
.article-body .lead { font-weight: 700; font-size: 1.05rem; background: #fff; padding: 14px 18px; }

/* 成分表：粉彩面板規格表（Kanebo 文法） */
.ingredients {
  background-color: #E9FAF3;
  background-image: radial-gradient(rgba(47, 191, 113, 0.22) 1.6px, transparent 2px);
  background-size: 12px 12px;
  padding: 16px 20px;
  max-width: 480px;
  width: 100%;
}
.ingredients .side-title { font-family: var(--font-round); font-weight: 900; display: block; margin-bottom: 10px; background: #fff; padding: 0.05em 0.7em; width: fit-content; }
.ingredients dl { margin: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 7px 12px; align-items: center; font-size: 0.9rem; }
.ingredients dt { font-weight: 900; }
.ingredients dd { margin: 0; }
.bar { height: 12px; background: #fff; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; }
.ingredients .pct { font-variant-numeric: tabular-nums; font-weight: 900; }
.ingredients .usage { margin-top: 10px; font-size: 0.85rem; border-top: 2px dashed var(--ink); padding-top: 8px; }

/* 車輛清單：チラシ格律（紅價字法） */
.table-cars { width: 100%; border-collapse: collapse; background: #fff; overflow: hidden; border-radius: 10px; }
.table-cars th { background: var(--info); color: #fff; font-size: 0.9rem; padding: 0.5em 0.9em; text-align: left; }
.table-cars td { padding: 0.6em 0.9em; border-bottom: 1.5px dashed rgba(51, 37, 91, 0.2); font-size: 0.95rem; }
.table-cars .price { color: var(--sig); font-weight: 900; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.table-cars .price small { font-size: 0.7em; }
.table-note { font-size: 0.8rem; color: #6d648f; }

.discontinued { background: #fff; padding: 18px 20px; display: grid; gap: 8px; position: relative; }
.discontinued::before {
  content: "絕版預告";
  position: absolute;
  top: -16px;
  left: 14px;
  background: var(--sig);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  padding: 0.05em 0.8em;
  transform: rotate(-3deg);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--ink-line);
}
.discontinued h3 { color: var(--sig); }

/* ═══ 新車チラシ網格（R8 中古車傳單格律：圖＋紅價） ═══ */
.car-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.car-cell { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.car-cell .cell-photo {
  background: #fff;
  border-bottom: 2px solid var(--ink);
  border-radius: 10px 10px 0 0;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.car-cell .cell-photo img { width: 100%; height: 100%; object-fit: cover; }
.car-cell .cell-body { padding: 10px 12px 14px; display: grid; gap: 4px; align-content: start; }
.car-cell .name { font-weight: 900; font-size: 0.88rem; line-height: 1.45; }
.series-tag {
  display: inline-block;
  width: fit-content;
  background: var(--info-soft);
  border: 1.5px solid var(--info);
  color: #0E7F8F;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0 0.5em;
  border-radius: 4px;
}
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-big {
  color: var(--sig);
  font-weight: 900;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-round);
}
.price-big small { font-size: 0.6em; }
.date-tag2 {
  background: var(--sig);
  color: #fff;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 0.05em 0.5em;
}
.feature-cars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.feature-cars .photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-cars .photo { min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.spec-note { font-size: 0.8rem; color: #6d648f; }
@media (max-width: 920px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cars { grid-template-columns: 1fr; }
}

/* ═══ 關於／頁尾 ═══ */
.about { padding: 22px 26px; display: grid; gap: 10px; }
footer.site { padding-block: 34px 40px; color: #F3EFFF; font-size: 0.85rem; }
footer.site .foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
footer.site .maker {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 1.05rem;
  background: #fff;
  color: var(--ink);
  padding: 0.15em 0.8em;
  display: inline-block;
}
footer.site .disclaimer { max-width: 560px; line-height: 1.8; border: 1.5px solid rgba(255, 255, 255, 0.4); padding: 10px 14px; border-radius: 8px; }
.barcode-stk { background: #fff; padding: 8px 12px; display: inline-block; text-align: center; color: var(--ink); }
.barcode { width: 120px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px); }
.barcode-num { font-family: var(--font-dot); font-size: 0.75rem; font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* ═══ 響應式 ═══ */
@media (max-width: 920px) {
  .cover-main { grid-template-columns: 1fr; padding-inline-end: 0; }
  .spine { display: none; }
  .spine-mobile { display: inline-block !important; }
  .grid-cards { grid-template-columns: 1fr; }
  .lineup { grid-template-columns: repeat(2, 1fr); }
  .about-row { grid-template-columns: 1fr !important; }
  .machine-slot { justify-self: center; }
}
.spine-mobile { display: none; }
