/* ======================================================
   馥靈之鑰 Hour Light · 2026 多巴胺設計系統
   檔名：hl-dopamine-2026.css
   版本：v1.0（2026-05-05 ❤️ 客寶 Session-8 重設計 · Ruby 全授權 · 模式 A 替代式）
   v0.1：2026-04-26 歐寶 Phase 1（opt-in body.dopamine-2026 觸發 · 已備份至 backups/css-2026-05-05-pre-dopamine-v1/）

   定調：黑金時代結束 · 多巴胺時代開始 · 走在時代尖端的科技品牌

   v1.0 重大變革（Ruby 5-05 拍板）：
   ► 模式 A 替代式（不依賴 body.dopamine-2026 class · 引用即生效）
   ► 不疊不蓋（不引 hourlight-global.css · 不靠 !important 覆蓋舊規則）
   ► 重新設計 · 不是補 CSS（CLAUDE.md 第二部分 1.5 Phase 2 落地）
   ► 撞色設計強化（暖心粉 / 變革藍綠 / 律動絢藍 / 雲舞白 / 映輝五色撞色）
   ► 視覺效果重點（Neo-Brutalism 硬陰影 + Hero 超大字 + Blob 動態 + 三色彩字）
   ► 完整對應 hourlight-global.css 全部 class（無破版風險）
   ► 黑金影子零殘留（hex / rgba / class / DOM）

   2026 年度色出處（不照抄 · 從官方資料設計）：
   ► PANTONE 11-4201 TCX 雲舞白 Cloud Dancer #F0EEE9
   ► WGSN × Coloro 092-37-14 變革藍綠 Transformative Teal #007B7F
   ► Dulux 62BB 08/369 律動絢藍 Rhythm of Blues #2E5EA6
   ► JAFCA 孟賽爾 1.2R8.3/3.9 暖心粉 Heartfelt Pink #FFCCCC
   ► Benjamin Moore AF-655 映輝 Silhouette #3D3835

   設計語言：Neo-Brutalism + Bento Grid + Kinetic Typography + 撞色但克制

   使用方式（模式 A · 替代式）：
   <link rel="stylesheet" href="assets/css/hl-dopamine-2026.css">
   不再引用 hourlight-global.css（黑金頁仍引該檔不變 · 1124 頁骨牌 0 風險）

   AAA 對比度速查（WCAG 標準）：
   ✅ 雲舞白 #F0EEE9 + 映輝 #3D3835 字 → 16:1（AAA）
   ✅ 暖心粉 #FFCCCC + 映輝 #3D3835 字 → 10:1（AAA）
   ✅ 變革藍綠 #007B7F + 雲舞白字 → 5.8:1（AA）
   ✅ 律動絢藍 #2E5EA6 + 雲舞白字 → 7.1:1（AAA）
   ✅ 映輝 #3D3835 + 雲舞白字 → 11:1（AAA）
   ❌ 永久禁忌：白字 on 淺粉 / 淺藍 / 雲舞白
   ❌ 永久禁忌：暖心粉底配白字（1.4:1 看不到）

   © 2026 馥靈之鑰 Hour Light · 王逸君授權
   ====================================================== */

/* ==================== 1. CSS Variables（2026 多巴胺 Tokens）==================== */
:root {
  /* === 字體 === */
  --font-sans: 'Noto Sans TC', 'Inter', 'PingFang TC', 'Microsoft JhengHei', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Noto Sans TC', 'Inter', system-ui, sans-serif;
  --font-serif: 'Noto Serif TC', 'Times New Roman', serif;

  /* === 字級 === */
  --text-xs: 0.78rem;
  --text-sm: 0.88rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.3rem;
  --text-2xl: 1.625rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-hero: clamp(2.6rem, 9vw, 5.4rem);

  /* === 底色（雲舞白家族）=== */
  --bg: #F0EEE9;
  --bg2: #F5F3EC;
  --bg-white: #FFFFFF;
  --bg-soft: #FAF9F4;
  --hl-bg-dopamine: #F0EEE9;
  --hl-bg-dopamine-2: #F5F3EC;

  /* === 主色 5 色（2026 年度撞色用）=== */
  --teal: #007B7F;
  --teal-l: #4DA8AB;
  --teal-d: #00595D;

  --blue: #2E5EA6;
  --blue-l: #A5C3D9;
  --blue-d: #1D3A5F;

  --pink: #FFCCCC;
  --pink-l: #FFE5E5;
  --pink-d: #FF99A8;

  --ink: #3D3835;
  --inks: #6A6560;
  --inkm: #9A948C;
  --ink-light: #B5B0A8;

  /* === v0.1 相容變數 === */
  --hl-teal: #007B7F;
  --hl-blue: #2E5EA6;
  --hl-pink: #FFCCCC;
  --hl-ink: #3D3835;
  --hl-blue-light: #A5C3D9;
  --hl-blue-deep: #1D3A5F;
  --hl-sans-display: 'Noto Sans TC', system-ui, -apple-system, sans-serif;
  --hl-sans-body: 'Noto Sans TC', 'Inter', system-ui, sans-serif;

  /* === 邊框 === */
  --border: rgba(61,56,53,.1);
  --border-hi: rgba(61,56,53,.2);

  /* === Neo-Brutalism Hard Shadow（撞色硬陰影）=== */
  --shadow-cta: 6px 6px 0 #3D3835;
  --shadow-cta-hover: 9px 9px 0 #3D3835;
  --shadow-cta-active: 0 0 0 #3D3835;
  --shadow-card: 4px 4px 0 #3D3835;
  --shadow-card-hover: 6px 6px 0 #3D3835;
  --shadow-cta-pink: 6px 6px 0 #FF99A8;
  --shadow-cta-teal: 6px 6px 0 #007B7F;
  --shadow-cta-blue: 6px 6px 0 #2E5EA6;
  --shadow-soft: 0 4px 20px rgba(61,56,53,.06);
  --shadow-mid: 0 12px 40px rgba(61,56,53,.1);

  /* === v0.1 相容 shadow === */
  --hl-shadow-cta: 6px 6px 0 #3D3835;
  --hl-shadow-cta-hover: 9px 9px 0 #3D3835;
  --hl-shadow-card: 4px 4px 0 #3D3835;
  --hl-shadow-card-hover: 6px 6px 0 #3D3835;
  --hl-shadow-soft: 0 12px 24px rgba(61,56,53,.12);

  /* === Radius === */
  --r: 16px;
  --r2: 12px;
  --r3: 24px;
  --r4: 32px;
  --r-pill: 999px;

  /* === Ease === */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-2: cubic-bezier(.16, 1, .3, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

  /* === v0.1 相容 ease === */
  --hl-ease: cubic-bezier(.4, 0, .2, 1);
  --hl-ease-2: cubic-bezier(.16, 1, .3, 1);
  --hl-ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

  /* === 黑金時代相容映射（防舊頁 var 引用報錯 · 全部映射成多巴胺色）=== */
  --hl-bg-soft: #F5F3EC;
  --hl-bg-card: #FFFFFF;
  --hl-ink-soft: #6A6560;
  --hl-ink-muted: #9A948C;
  --hl-gold: #007B7F;
  --hl-gold-light: #4DA8AB;
  --hl-gold-deep: #00595D;
  --hl-gold-soft: #A5C3D9;
  --hl-cream: #F5F3EC;
  --hl-cream-soft: #F0EEE9;
  --hl-cream-deep: #FAF9F4;
  --hl-plum: #2E5EA6;
  --hl-plum-deep: #1D3A5F;
  --hl-border: rgba(61,56,53,.2);
  --hl-border-soft: rgba(61,56,53,.1);
  --hl-glow: rgba(0,123,127,.2);
  --hl-glow-strong: rgba(0,123,127,.4);
  --hl-glow-gold-text: 0 0 12px rgba(0,123,127,.3);
  --hl-glow-gold-border: 0 0 8px rgba(0,123,127,.2);
  --hl-glow-gold-hover: 0 0 24px rgba(0,123,127,.3);
  --hl-gold-gradient: linear-gradient(135deg, #007B7F 0%, #2E5EA6 100%);
  --hl-ease-out: cubic-bezier(0, 0, .2, 1);
  --hl-ease-in: cubic-bezier(.4, 0, 1, 1);

  /* === v3.0 對比度標準（保留命名 · 多巴胺映射）=== */
  --hl-dark-h1: #3D3835;
  --hl-dark-h2: #3D3835;
  --hl-dark-h3: #007B7F;
  --hl-dark-body: #6A6560;
  --hl-dark-muted: #9A948C;
  --hl-light-h1: #3D3835;
  --hl-light-h2: #007B7F;
  --hl-light-h3: #2E5EA6;
  --hl-light-body: #6A6560;
  --hl-light-muted: #9A948C;
}

/* ==================== 2. Reset + Base ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  /* 5-09 修 滑鼠滾不動 bug：html 改 overflow:visible + body 處理 overflow-x · 避免雙層 overflow-x:hidden 在 Mac Chrome/Safari 鎖死整頁滾動 */
  overflow-x: clip;
  overflow-y: auto;
  height: auto !important;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--bg);
  background-color: var(--bg);
  background-image: none;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.003em;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
  padding-bottom: env(safe-area-inset-bottom);
  /* 5-09 修：body overflow-x 用 clip（modern 屬性 防 blob 撐版） + 顯式 overflow-y:auto 確保滾輪生效 */
  overflow-x: clip;
  overflow-y: auto;
  height: auto !important;
}

body.with-bg-image { background: var(--bg) }

/* 黑金時代殘留強制移除（不引 hl-cosmos.css 但保險再蓋） */
.hl-cosmos,
.hl-stars-layer,
.hl-stars-layer-1,
.hl-stars-layer-2,
.hl-stars-layer-3 { display: none !important }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .25s var(--ease);
}

a:hover { color: var(--blue) }

img { max-width: 100%; height: auto; display: block }

strong, b, th { font-weight: 700; color: var(--ink) }

::selection { background: var(--pink); color: var(--ink) }
::-moz-selection { background: var(--pink); color: var(--ink) }

::-webkit-scrollbar { width: 8px; height: 8px }
::-webkit-scrollbar-track { background: var(--bg2) }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 4px }
::-webkit-scrollbar-thumb:hover { background: var(--teal) }

/* ==================== 3. Typography ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -.045em; line-height: 1.1 }
h2 { font-size: clamp(1.625rem, 5vw, 2.5rem) }
h3 { font-size: clamp(1.3rem, 3.5vw, 1.75rem); font-weight: 800 }
h4 { font-size: var(--text-xl); font-weight: 700 }
h5 { font-size: var(--text-lg); font-weight: 700 }
h6 { font-size: var(--text-base); font-weight: 700 }

p { color: var(--inks); line-height: 1.65; margin-bottom: 1em }
p:last-child { margin-bottom: 0 }

/* 金漸層 → 改變革藍綠純色 · 不再用 -webkit-background-clip */
.gold-text,
.hl-gold-text {
  color: var(--teal);
  font-weight: 800;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.text-display {
  font-size: var(--text-hero);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .96;
}

/* 三色彩字 accent（撞色 Hero 用） */
.accent-teal,
.hl-hero-accent-teal { color: var(--teal) }
.accent-blue,
.hl-hero-accent-blue { color: var(--blue) }
.accent-pink,
.hl-hero-accent-pink { color: var(--pink-d) }
.text-mute { color: var(--inkm) }

/* 暖心粉 highlighter 螢光筆底線（撞色重點） */
.underline-pink,
.hl-hero-highlight {
  background: linear-gradient(180deg, transparent 60%, var(--pink) 60%);
  padding: 0 .12em;
}

.underline-pink-strong {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.underline-pink-strong::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: .25em;
  background: var(--pink);
  z-index: -1;
  border-radius: 4px;
  opacity: .8;
}

/* ==================== 4. Container ==================== */
.hl-container { max-width: 1100px; margin: 0 auto; padding: 0 24px }
.hl-container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px }
.hl-container-lg { max-width: 1280px; margin: 0 auto; padding: 0 24px }

/* ==================== 5. Navigation（撞色 + Neo-Brutalism）==================== */
.hl-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(240, 238, 233, .94);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 2.5px solid var(--ink);
  box-shadow: var(--shadow-soft);
  padding-top: env(safe-area-inset-top, 0px);
}

.hl-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.hl-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hl-nav-brand img { height: 36px; width: auto }

.hl-nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.01em;
}

.hl-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.hl-nav-link {
  padding: 10px 18px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: all .2s var(--ease);
  border: 2px solid transparent;
  text-decoration: none;
}

.hl-nav-link:hover {
  color: var(--ink);
  background: var(--pink);
  border-color: var(--ink);
}

.hl-nav-cta {
  padding: 12px 24px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 900;
  color: var(--ink);
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta);
  transition: all .2s var(--ease);
  text-decoration: none;
  letter-spacing: .04em;
}

.hl-nav-cta:hover {
  color: #fff;
  background: var(--teal);
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-cta-hover);
}

.hl-nav-cta:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-cta-active);
}

.hl-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 2.5px solid var(--ink);
  border-radius: var(--r2);
  background: var(--bg-white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--shadow-card);
}

.hl-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  transition: all .3s ease;
}

/* hl-home-nav（升級補充版） */
.hl-home-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(32px, env(safe-area-inset-left, 0px));
  padding-right: max(32px, env(safe-area-inset-right, 0px));
  background: rgba(240, 238, 233, .96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 2.5px solid var(--ink);
}

.hl-home-nav.scrolled {
  background: var(--bg);
  border-bottom-color: var(--ink);
}

.hl-nav-left, .hl-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hl-home-nav-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}

.hl-home-nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .2s;
}

.hl-home-nav-link:hover { color: var(--teal) }

.hl-home-nav-cta {
  display: inline-block;
  padding: 9px 22px;
  background: var(--pink);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: .04em;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all .2s;
  box-shadow: var(--shadow-cta);
}

.hl-home-nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-cta-hover);
  background: var(--teal);
  color: #fff;
}

@media(max-width: 680px) {
  .hl-home-nav { padding: 0 18px }
  .hl-nav-left .hl-home-nav-link { display: none }
  .hl-home-nav-brand { font-size: 0.9rem }
}

/* ==================== 6. Card（Neo-Brutalism + 撞色變體）==================== */
.hl-card,
.hl-neo-frame {
  background: var(--bg-white);
  border: 3px solid var(--ink);
  border-radius: var(--r3);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all .2s var(--ease);
}

.hl-card:hover,
.hl-neo-frame:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-hover);
}

.hl-card-body { padding: 32px }
.hl-card-lg .hl-card-body { padding: 48px }

.hl-card-soft {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  box-shadow: var(--shadow-soft);
  transition: all .25s var(--ease);
}

.hl-card-soft:hover {
  box-shadow: var(--shadow-mid);
  transform: translateY(-3px);
}

/* 撞色卡片變體（Ruby 5-05 派工撞色設計） */
.hl-card-pink { background: var(--pink-l); border-color: var(--ink) }
.hl-card-pink-strong { background: var(--pink); border-color: var(--ink) }
.hl-card-teal { background: var(--teal); color: #fff; border-color: var(--ink) }
.hl-card-teal h1, .hl-card-teal h2, .hl-card-teal h3, .hl-card-teal p { color: #fff }
.hl-card-blue { background: var(--blue); color: #fff; border-color: var(--ink) }
.hl-card-blue h1, .hl-card-blue h2, .hl-card-blue h3, .hl-card-blue p { color: #fff }
.hl-card-blue-light { background: var(--blue-l); border-color: var(--ink) }

.hl-card-featured {
  position: relative;
  background: var(--pink-l);
  border-color: var(--ink);
}

.hl-card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--pink);
}

/* 卡片頂條撞色（甲乙方 / 主副 區分） */
.hl-card-top-teal::before,
.hl-card-top-blue::before,
.hl-card-top-pink::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
}

.hl-card-top-teal { position: relative }
.hl-card-top-teal::before { background: var(--teal) }
.hl-card-top-blue { position: relative }
.hl-card-top-blue::before { background: var(--blue) }
.hl-card-top-pink { position: relative }
.hl-card-top-pink::before { background: var(--pink) }

/* ==================== 7. Button（Neo-Brutalism + 撞色）==================== */
.hl-btn,
.hl-neo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 900;
  letter-spacing: .04em;
  border-radius: var(--r-pill);
  border: 3px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: var(--bg-white);
  color: var(--ink);
  box-shadow: var(--shadow-cta);
}

.hl-btn:hover,
.hl-neo-cta:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-cta-hover);
}

.hl-btn:active,
.hl-neo-cta:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-cta-active);
}

.hl-btn-primary { background: var(--pink); color: var(--ink) }
.hl-btn-primary:hover { background: var(--teal); color: #fff }

.hl-btn-secondary { background: var(--bg-white); color: var(--ink) }
.hl-btn-secondary:hover { background: var(--blue-l); color: var(--ink) }

.hl-neo-cta--teal { background: var(--teal); color: #fff }
.hl-neo-cta--teal:hover { background: var(--teal-d); color: #fff }
.hl-neo-cta--blue { background: var(--blue); color: #fff }
.hl-neo-cta--blue:hover { background: var(--blue-d); color: #fff }
.hl-neo-cta--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
}
.hl-neo-cta--ghost:hover {
  background: var(--bg-soft);
  box-shadow: var(--shadow-card-hover);
}

.hl-btn-ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--teal);
}

.hl-btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--ink);
  box-shadow: var(--shadow-cta);
  color: var(--ink);
}

.hl-btn-sm { padding: 10px 20px; font-size: var(--text-xs); min-height: 40px }
.hl-btn-lg { padding: 18px 40px; font-size: var(--text-base); min-height: 56px }

.hl-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

button:active, .btn:active, [onclick]:active,
.hl-btn:active, .quiz-opt:active, .likert-opt:active,
.hub-card:active, .hl-bn-item:active {
  transform: scale(.97);
  transition: transform .08s ease;
}

/* ==================== 8. Form Elements ==================== */
input, select, textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background-color: var(--bg-white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r2);
  padding: 12px 16px;
  width: 100%;
  transition: all .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 2px 2px 0 var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
  border-color: var(--teal);
  box-shadow: 4px 4px 0 var(--teal);
}

input[type="checkbox"], input[type="radio"] {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: var(--teal);
  margin-right: 8px;
  box-shadow: none;
  border-width: 2px;
}

::placeholder,
input::placeholder,
select::placeholder,
textarea::placeholder {
  color: var(--ink-light);
  opacity: 1;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233D3835' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}

select option { background: var(--bg-white); color: var(--ink) }
select optgroup { color: var(--teal); font-weight: 700; background: var(--bg) }

input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: var(--ink);
}

@media (max-width: 767px) {
  input, select, textarea { min-height: 48px }
}

/* ==================== 9. Badge / Chip / Pill（撞色變體）==================== */
.hl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .04em;
  background: var(--bg-soft);
  color: var(--ink);
  border: 2px solid var(--ink);
}

.hl-badge-accent { background: var(--pink); color: var(--ink) }
.hl-badge-teal { background: var(--teal); color: #fff }
.hl-badge-blue { background: var(--blue); color: #fff }
.hl-badge-pink { background: var(--pink); color: var(--ink) }
.hl-badge-ink { background: var(--ink); color: var(--bg) }

/* ==================== 10. Section（撞色背景變體）==================== */
.hl-section { padding: 80px 0 }

.hl-section-pink { background: var(--pink-l) }
.hl-section-teal { background: var(--teal); color: #fff }
.hl-section-teal h1, .hl-section-teal h2, .hl-section-teal h3, .hl-section-teal p { color: #fff }
.hl-section-blue { background: var(--blue); color: #fff }
.hl-section-blue h1, .hl-section-blue h2, .hl-section-blue h3, .hl-section-blue p { color: #fff }
.hl-section-soft { background: var(--bg2) }
.hl-section-ink { background: var(--ink); color: var(--bg) }
.hl-section-ink h1, .hl-section-ink h2, .hl-section-ink h3 { color: var(--pink) }
.hl-section-ink p { color: var(--bg) }

.hl-section-header { text-align: center; margin-bottom: 48px }

.hl-section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.hl-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hl-section-desc {
  font-size: var(--text-base);
  color: var(--inks);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==================== 11. Grid ==================== */
.hl-grid { display: grid; gap: 24px }
.hl-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) }
.hl-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) }
.hl-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) }

/* ==================== 12. Hero（Neo-Brutalism + Blob + 撞色 + Pulse）==================== */
.hl-hero {
  min-height: 80vh;
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

/* Blob 動態裝飾 3 顆撞色 */
.hl-hero-blob,
.hl-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  animation: hlBlobFloat 24s ease-in-out infinite;
}

.hl-hero-blob-1,
.hl-blob--teal { background: var(--teal) }
.hl-hero-blob-1 { width: 360px; height: 360px; top: -100px; right: -60px }

.hl-hero-blob-2,
.hl-blob--pink { background: var(--pink) }
.hl-hero-blob-2 { width: 280px; height: 280px; bottom: -80px; left: 12%; animation-delay: -8s }

.hl-hero-blob-3,
.hl-blob--blue { background: var(--blue) }
.hl-hero-blob-3 { width: 220px; height: 220px; top: 35%; right: 22%; animation-delay: -16s; opacity: .35 }

.hl-blob--small { width: 200px; height: 200px }
.hl-blob--medium { width: 320px; height: 320px; filter: blur(90px) }
.hl-blob--large { width: 480px; height: 480px; filter: blur(120px) }

.hl-hero > * { position: relative; z-index: 1 }

.hl-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

.hl-hero-label::before {
  content: '●';
  color: var(--pink);
  animation: hlPulse 2s ease-in-out infinite;
}

.hl-hero-title,
.hl-hero-display {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .96;
  color: var(--ink);
  margin-bottom: 24px;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.hl-hero-desc {
  font-size: var(--text-lg);
  color: var(--inks);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hl-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==================== 13. Animations ==================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px) }
  to { opacity: 1; transform: none }
}

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes pulse, hlPulse { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.05); opacity: .8 } }

@keyframes hlPulse {
  0%, 100% { transform: scale(1); opacity: 1 }
  50% { transform: scale(1.05); opacity: .6 }
}

@keyframes hlBlobFloat,
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1) }
  33% { transform: translate(40px, -50px) scale(1.1) }
  66% { transform: translate(-30px, 30px) scale(.92) }
}

@keyframes hlBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1) }
  33% { transform: translate(30px, -20px) scale(1.05) }
  66% { transform: translate(-20px, 30px) scale(.95) }
}

@keyframes hl-page-enter {
  from { opacity: 0; transform: translateY(20px) }
  to { opacity: 1; transform: translateY(0) }
}

@keyframes hl-count-up {
  from { opacity: 0; transform: translateY(8px) }
  to { opacity: 1; transform: translateY(0) }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px) }
  to { opacity: 1; transform: translateY(0) }
}

.hl-fade-in-up,
.hl-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-2), transform .8s var(--ease-2);
}

.hl-fade-in-up.is-visible,
.hl-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hl-stagger > *:nth-child(1) { transition-delay: .1s }
.hl-stagger > *:nth-child(2) { transition-delay: .2s }
.hl-stagger > *:nth-child(3) { transition-delay: .3s }
.hl-stagger > *:nth-child(4) { transition-delay: .4s }
.hl-stagger > *:nth-child(5) { transition-delay: .5s }
.hl-stagger > *:nth-child(6) { transition-delay: .6s }

.hl-page-transition { animation: hl-page-enter .6s var(--ease-out) }

.hl-pulse { animation: hlPulse 2.5s ease-in-out infinite }

.hl-glow-breathing { transition: transform .25s var(--ease) }
.hl-glow-breathing:hover { transform: scale(1.02) }

.hl-proof-num.animated { animation: hl-count-up .6s var(--ease-out) both }

/* ==================== 14. Music Toggle ==================== */
.hl-music-toggle {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--pink);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cta);
}

.hl-music-toggle:hover {
  background: var(--teal);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-cta-hover);
}

.hl-music-toggle.playing {
  background: var(--teal);
  color: #fff;
}

/* ==================== 15. Table ==================== */
.hl-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--r3);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-cta);
  background: var(--bg-white);
}

.hl-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
}

.hl-table th, .hl-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.hl-table th {
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: .04em;
}

.hl-table tr:last-child td { border-bottom: none }
.hl-table tr:hover td { background: var(--pink-l) }

/* ==================== 16. List ==================== */
.hl-list { list-style: none }

.hl-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  color: var(--inks);
}

.hl-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 1em;
  font-weight: 900;
}

/* ==================== 17. Divider ==================== */
.hl-divider,
.rb-rule,
.hl-sign-divider {
  height: 3px;
  background: var(--ink);
  border: none;
  margin: 40px 0;
  border-radius: var(--r-pill);
}

/* ==================== 18. Tooltip ==================== */
.hl-tooltip { position: relative }

.hl-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r2);
  font-size: var(--text-xs);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 100;
  font-weight: 700;
}

.hl-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 8px);
}

/* ==================== 19. Explore Section（Neo-Brutalism）==================== */
.hl-explore {
  padding: 60px 24px;
  margin-top: 40px;
  border-top: 2.5px solid var(--ink);
  background: var(--bg2);
}

.hl-explore-inner { max-width: 1100px; margin: 0 auto }

.hl-explore-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.hl-explore-subtitle {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--inkm);
  margin-bottom: 32px;
}

.hl-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.hl-explore-card {
  display: block;
  padding: 24px;
  min-height: 48px;
  border-radius: var(--r3);
  background: var(--bg-white);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-cta);
  text-decoration: none;
  transition: all .2s var(--ease);
}

.hl-explore-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-cta-hover);
  background: var(--pink-l);
}

.hl-explore-card-icon { font-size: 1.8rem; margin-bottom: 12px }

.hl-explore-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.hl-explore-card:hover .hl-explore-card-title { color: var(--teal) }

.hl-explore-card-desc {
  font-size: var(--text-sm);
  color: var(--inkm);
  line-height: 1.6;
}

.hl-explore.hl-explore-cream {
  background: var(--bg);
  border-top-color: var(--ink);
}

.hl-explore-cream .hl-explore-card { background: var(--bg-white); border-color: var(--ink) }
.hl-explore-cream .hl-explore-card:hover { background: var(--pink-l) }
.hl-explore-cream .hl-explore-card-title { color: var(--ink) }
.hl-explore-cream .hl-explore-card-desc { color: var(--inks) }

/* ==================== 20. Footer（多巴胺淺底版 · 不再黑底金字）==================== */
.hl-footer {
  background: var(--bg2);
  border-top: 2.5px solid var(--ink);
  padding: 28px 24px 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  margin-top: 40px;
}

.hl-footer-inner { max-width: 720px; margin: 0 auto; text-align: center }

.hl-footer-brand { margin-bottom: 8px }

.hl-footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 2px;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.hl-footer-tagline {
  font-size: 0.82rem;
  color: var(--inks);
  letter-spacing: .04em;
}

.hl-footer-founder { display: none }

.hl-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 12px 0 16px;
}

.hl-footer-links a {
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  font-weight: 600;
  transition: color .25s ease;
  position: relative;
}

.hl-footer-links a:hover { color: var(--teal) }

.hl-footer-links a:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -12px;
  color: var(--inkm);
  pointer-events: none;
}

.hl-footer-legal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  margin-bottom: 14px;
  background: var(--bg-white);
  border: 2.5px solid var(--ink);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: var(--shadow-card);
}

.hl-footer-legal-toggle:hover {
  background: var(--pink);
  border-color: var(--ink);
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-card-hover);
}

.hl-footer-legal-toggle .arrow {
  font-size: 0.75rem;
  transition: transform .3s ease;
}

.hl-footer-legal-toggle.active .arrow { transform: rotate(180deg) }

.hl-footer-legal-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s ease, opacity .3s ease;
}

.hl-footer-legal-content.active {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 14px;
}

.hl-legal-section {
  text-align: left;
  padding: 12px 16px;
  margin-bottom: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
}

.hl-legal-title {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 4px;
}

.hl-legal-text {
  font-size: 0.78rem;
  color: var(--inks);
  line-height: 1.7;
}

.hl-legal-text strong { color: var(--ink); font-weight: 700 }

.hl-footer-disclaimer,
.hl-footer-legal,
.hl-footer-legal-grid,
.hl-footer-disclaimer-title,
.hl-footer-disclaimer-content,
.hl-footer-legal-item,
.hl-footer-trademark { display: none !important }

.hl-footer-copyright {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--inkm);
  text-align: center;
  line-height: 1.6;
}

.hl-footer-copyright-brand { color: var(--ink); font-weight: 700 }

@media (max-width: 768px) {
  .hl-footer { padding: 24px 16px 18px; margin-top: 32px }
  .hl-footer-links { gap: 6px 12px }
  .hl-footer-links a { font-size: 0.8rem }
  .hl-footer-links a::after { display: none }
  .hl-legal-section { padding: 10px 12px }
}

/* 米色 footer 變體（多巴胺時代統一風格 · 保留相容） */
.hl-footer-cream {
  background: var(--bg);
  border-top: 2.5px solid var(--ink);
}

.hl-footer-cream .hl-footer-brand,
.hl-footer-cream .hl-footer-founder { color: var(--ink) }
.hl-footer-cream .hl-footer-links a { color: var(--ink) }
.hl-footer-cream .hl-footer-links a:hover { color: var(--teal); background: transparent }
.hl-footer-cream .hl-footer-disclaimer,
.hl-footer-cream .hl-footer-legal { background: var(--bg-white); border-color: var(--ink) }
.hl-footer-cream .hl-footer-copyright { border-top-color: var(--border); color: var(--inks) }
.hl-footer-cream .hl-footer-copyright-brand { color: var(--teal) }

.hl-logo-icon {
  height: 1.15em;
  width: 1.15em;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
  display: inline-block;
  position: relative;
  top: -0.08em;
}

.hl-footer-social a:hover {
  border-color: var(--ink) !important;
  box-shadow: var(--shadow-card) !important;
}

/* ==================== 21. Light Leak / Cream Accent（保留相容）==================== */
.hl-light-leak { position: relative }

.hl-light-leak::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 204, 204, .15) 0%,
    rgba(255, 204, 204, .05) 30%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hl-cream-accent { position: relative; background: var(--bg2) }

/* ==================== 22. Modal scroll-lock ==================== */
body.hl-modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

html.hl-modal-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

/* ==================== 23. Quiz / Likert（撞色 + Neo-Brutalism）==================== */
.quiz-card {
  background: var(--bg-white);
  border: 3px solid var(--ink);
  border-radius: var(--r3);
  box-shadow: var(--shadow-cta);
  padding: 32px;
}

.quiz-question {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.4;
}

.quiz-option,
.likert-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 8px;
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: var(--r2);
  cursor: pointer;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  font-size: var(--text-sm);
  color: var(--ink);
  font-weight: 600;
  transition: all .2s var(--ease);
}

.quiz-option:hover,
.likert-opt:hover {
  background: var(--pink-l);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.quiz-option.selected,
.likert-opt.selected {
  background: var(--pink);
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
  transform: translate(-2px, -2px);
}

.quiz-option > span:last-child {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.likert-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--inks);
  margin-top: 8px;
  font-weight: 600;
}

.btn-next:not(:disabled),
.btn-prev,
.share-btn {
  padding: 12px 28px;
  background: var(--pink);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta);
  font-weight: 900;
  letter-spacing: .04em;
  transition: all .2s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-next:not(:disabled):hover,
.btn-prev:hover,
.share-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-cta-hover);
  background: var(--teal);
  color: #fff;
}

.btn-next:disabled {
  opacity: .45;
  cursor: not-allowed;
  background: var(--bg-soft);
  color: var(--inkm);
  box-shadow: none;
  border-color: var(--inkm);
}

@media (max-width: 420px) {
  .quiz-card { padding: 24px 16px }
  .quiz-option, .likert-opt {
    padding: 12px 14px;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.7;
  }
  .quiz-option > span:first-child { font-size: 0.82rem; min-width: 16px }
  .quiz-question { font-size: 1rem; margin-bottom: 18px }
  .quiz-wrap { padding: 24px 12px 80px }
  .likert-labels { font-size: 0.78rem }
}

/* ==================== 24. RB / Hub / Hour Bridge（v3.0 升級）==================== */
.rb-h2,
.rb-eyebrow,
.hub-section-title,
.result-section-title,
.hour-bridge-label {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.01em;
  text-shadow: none;
}

.rb-btn-primary,
.hour-bridge-cta,
.hub-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--pink);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta);
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  transition: all .2s var(--ease);
}

.rb-btn-primary:hover,
.hour-bridge-cta:hover,
.hub-export-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-cta-hover);
  background: var(--teal);
  color: #fff;
}

.rb-tool-card,
.hub-card,
.more-card {
  background: var(--bg-white);
  border: 3px solid var(--ink);
  border-radius: var(--r3);
  padding: 24px;
  box-shadow: var(--shadow-cta);
  transition: all .2s var(--ease);
}

.rb-tool-card:hover,
.hub-card:hover,
.more-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-cta-hover);
  border-color: var(--ink);
}

.item-card {
  background: var(--bg-white);
  border: 3px solid var(--ink);
  border-radius: var(--r3);
  padding: 24px;
  box-shadow: var(--shadow-cta);
  position: relative;
  transition: all .2s var(--ease);
}

.item-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-cta-hover);
}

.item-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,204,204,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.item-card:hover::after { opacity: 1 }

.hl-sign-section,
.rb-stats-bar {
  background: var(--bg2);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-radius: var(--r3);
}

/* ==================== 25. Bento Details ==================== */
details summary { cursor: pointer; list-style: none }
details summary::-webkit-details-marker { display: none }

.sys-details,
.hl-details {
  border: 2.5px solid var(--ink);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--bg2);
  margin-bottom: 12px;
}

.sys-details summary,
.hl-details summary {
  padding: 18px 24px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: .02em;
  transition: background .25s ease;
}

.sys-details summary:hover,
.hl-details summary:hover { background: var(--teal) }

.sys-details summary::after,
.hl-details summary::after { content: '＋'; font-size: 1.5rem; font-weight: 700 }

.sys-details[open] summary::after,
.hl-details[open] summary::after { content: '－' }

.sys-details > div,
.hl-details > div,
.sys-details > p,
.hl-details > p {
  padding: 18px 24px;
  color: var(--inks);
  line-height: 1.65;
}

/* ==================== 26. iOS 優化 ==================== */
body { -webkit-tap-highlight-color: transparent }
* { -webkit-touch-callout: none }

input, textarea, [contenteditable] {
  -webkit-touch-callout: default;
  user-select: text;
  -webkit-user-select: text;
}

@media (max-width: 767px) {
  button, a.rb-btn-primary, a.rb-btn-ghost,
  .btn-next, .btn-prev, .share-btn,
  .likert-opt, .hub-card, .hl-btn {
    min-height: 48px;
    touch-action: manipulation;
  }
  input, select, textarea { min-height: 48px }
}

[style*="overflow:auto"], [style*="overflow-x:auto"], [style*="overflow-y:auto"],
[style*="overflow: auto"], [style*="overflow-x: auto"], [style*="overflow-y: auto"] {
  -webkit-overflow-scrolling: touch;
}

/* ==================== 27. Utilities ==================== */
.hl-text-center { text-align: center }
.hl-text-left { text-align: left }
.hl-text-right { text-align: right }

.hl-mb-0 { margin-bottom: 0 }
.hl-mb-1 { margin-bottom: 8px }
.hl-mb-2 { margin-bottom: 16px }
.hl-mb-3 { margin-bottom: 24px }
.hl-mb-4 { margin-bottom: 32px }
.hl-mb-5 { margin-bottom: 48px }

.hl-mt-0 { margin-top: 0 }
.hl-mt-1 { margin-top: 8px }
.hl-mt-2 { margin-top: 16px }
.hl-mt-3 { margin-top: 24px }
.hl-mt-4 { margin-top: 32px }
.hl-mt-5 { margin-top: 48px }

.hl-hidden { display: none !important }
.hl-visible { visibility: visible }
.hl-invisible { visibility: hidden }

:target { scroll-margin-top: 100px }

#resultArea, #result-area, #result, #resultSection, #result-section,
#quizResult, #matchResult, #profileSection, #layerSection, #ra,
#body-awareness-section, #step1, #step2, #step3, #step4,
#step-2, #step-4, #step-5, #step-6,
#toolList, #ycResult, #inspirationResult, #quiz-result {
  scroll-margin-top: 72px;
}

[id] { scroll-margin-top: 64px }

/* ==================== 28. Responsive ==================== */
@media (max-width: 480px) {
  .hl-card-body { padding: 24px 20px }
  .hl-section { padding: 60px 0 }
  .hl-hero {
    min-height: 70vh;
    min-height: 70svh;
    padding: 60px 20px;
  }
  .hl-btn { padding: 12px 24px; width: 100% }
  .hl-hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  img { max-width: 100%; height: auto }
  table { width: 100%; overflow-x: auto; display: block }
  pre, code { overflow-x: auto; max-width: 100% }
}

@media (max-width: 768px) {
  .hl-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 16px 0;
    border-top: 2px solid var(--ink);
    margin-top: 16px;
  }
  .hl-nav-links.is-open { display: flex }
  .hl-nav-toggle { display: flex }
  .hl-grid-3, .hl-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 1024px) {
  .hl-container-lg { padding: 0 20px }
}

/* ==================== 29. Reduced motion（A11y）==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01s !important;
    transition-duration: .01s !important;
    scroll-behavior: auto !important;
  }
  .hl-hero-blob, .hl-blob { animation: none; opacity: .35 }
}

/* ==================== 30. 結尾說明 ==================== */
/*
  ❤️ 客寶 Session-8 · 2026-05-05 · v1.0 替代式版本
  Ruby 5-05 全授權 · 撞色設計 + 視覺效果重點

  使用方式（模式 A · 替代式 · 不疊不蓋）：
  <link rel="stylesheet" href="assets/css/hl-dopamine-2026.css">
  不再引用 hourlight-global.css

  未來所有寶接手改風格的 SOP（鐵則）：
  1. 讀 references/2026-05-05_客寶_hl-dopamine-2026_Phase2完整落地規範與切換戰略_v1.md
  2. 改版頁 / 新頁面引這隻 CSS · 不疊在 hourlight-global.css 上
  3. 不准用 !important 蓋舊規則
  4. 內容（HTML / JS / 文字 / 功能）全保留
  5. 黑金 hex / rgba / class / DOM 零殘留
  6. 撞色用 .hl-card-pink / .hl-card-teal / .hl-card-blue 變體
  7. Hero 用 .hl-hero-display + .accent-* + .underline-pink 撞色字
  8. 手機 + 桌面 + 無痕視窗實機驗收

  © 2026 馥靈之鑰 Hour Light · 王逸君授權
*/
