/* 共用樣式：頁首（跑馬燈＋膠囊）、卡片互動。
   ・跑馬燈：使用者喜歡最初的配色（Sky 底、深色字），2026-10-19 回復；只保留 azikazin 式「消息連結」設計（滑過底線、點擊色塊掃過）。
     左邊是棉字 logo（/assets/mian-logo.png，CSS mask 上色）。azik 的完整拆解（亮藍條、細白字、NEWS ! : 標籤…）記在 CLAUDE.md，之後可選用。
   ・卡片：baumealame.com；底色已統一為首頁冷灰 #f4f4f5（斷點 991/767/479）。膠囊：2026-10-20 改成膠囊材質 .mm-cap（見下）。
   首頁的頁首加 .on-home：fixed、半透明，z-index 105（低於 start 按鈕 110、MIXER 120、開門轉場 200）。 */
::selection{ background:var(--mm-graphite); color:#fff; }   /* 反白選取：全站同色（2026-10-21） */

/* ── 全站色票（唯一來源；首頁 index.html 也讀這裡，改色只改這裡）──
   色號與用途總表在 repo 的 CLAUDE.md「色票總表」。 */
:root{
  /* 灰階：底色、logo 墨色 */
  --mm-snow:#f4f4f5;         /* 全站底色（2026-10-19 使用者決定冷灰；原 baume 米白已停用） */
  --mm-white:#fafafa;
  --mm-graphite:#3f3f46;     /* 棉 logo 墨色：頁首 logo、start 膠囊、分享圖 logo；也用在焦點框、反白選取（2026-10-21） */
  --mm-bg:var(--mm-snow);
  /* 字色（baume 暖棕灰）：全站統一暖（2026-10-21 使用者決定；首頁動畫字、MIXER 字也用這三個） */
  --mm-ink:#584c43;          /* baume --dark-warm-gray */
  --mm-line:#7c7067;         /* baume --medium-warm-gray */
  --mm-ink-strong:#3a302a;   /* 卡片字：使用者的卡片色比 baume 深，#584c43 對比不足 */
  /* 六色光譜原色：只用在小面積（跑馬燈、膠囊、MIXER、貓掌游標、分享圖頂條） */
  --mm-lilac:#b8a9d4; --mm-sky:#7aaed4; --mm-sage:#85c9a3; --mm-sand:#d4c97a; --mm-peach:#e8a87c; --mm-pink:#dca3a0;
  /* 深粉＝Pink 加深：遮字貓掌、分享貓掌章、首頁暖色字 */
  --mm-paw:#b5706b;
  /* 卡片底色（2026-10-21 使用者：原色大面積太重、影響讀字）：低飽和、中高亮度，六色感知亮度對齊（OKLCH L≈0.81、C≈0.05）；
     黃例外：L0.89、C0.085（黃要更亮才不發灰）。原色只留給小面積。 */
  --mm-card-lilac:#cbb9d6; --mm-card-sky:#a0c4de; --mm-card-sage:#a3ccb4; --mm-card-sand:#e4de9c; --mm-card-peach:#e0b89c; --mm-card-pink:#e1b5b3;
  --mm-font:"Noto Sans TC","PingFang TC","Heiti TC","Microsoft JhengHei",sans-serif;
  --mm-gutter:30px;
  /* 問題卡的最小欄寬：必須 ≥ 最長一行＋內距＝12.3em+74px（345/324px）。 */
  --mm-col:345px;
}
@media (max-width:991px){ :root{ --mm-gutter:20px; --mm-col:325px; } }

.mm-head{ position:sticky; top:0; z-index:105; background:var(--mm-bg); font-family:var(--mm-font);
  color:var(--mm-ink); font-size:16px; line-height:1.4; font-weight:400; letter-spacing:0; text-wrap:initial; }
.mm-head.on-home{ position:fixed; left:0; right:0; top:0; background:rgba(244,244,245,.8);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.mm-head p{ margin:0; }
.mm-head a{ color:inherit; text-decoration:none; -webkit-tap-highlight-color:transparent; }
.mm-head a:focus-visible{ outline:2px solid var(--mm-graphite); outline-offset:2px; }

/* ── 第一列：棉字 logo＋跑馬燈（最初的配色） ── */
.mm-bar{ display:flex; align-items:center; gap:22px; box-sizing:border-box; height:calc(38px + env(safe-area-inset-top)); background:var(--mm-sky); color:var(--mm-ink-strong);
  padding:env(safe-area-inset-top) max(var(--mm-gutter), env(safe-area-inset-right)) 0 max(calc(var(--mm-gutter) - 8px), env(safe-area-inset-left)); overflow:hidden; }
/* logo 比內容邊界再往左 8px、和跑馬燈多空 8px（2026-10-19 使用者：往左移一點，不那麼侷促）；跑馬燈起點不變。
   棉字＝回首頁，當彩蛋（2026-11-11 陳棉：「首頁回到原本前一版的 logo 當彩蛋」）。11-11 凌晨試過把棉字搬進膠囊列當第一顆「首頁」，同一天她決定拿掉——不要再加回導覽列。 */
.mm-name{ flex:none; display:flex; align-items:center; }
.mm-logo{ display:block; width:24px; height:26px; background:var(--mm-graphite);
  -webkit-mask:url(/assets/mian-logo.png) center/contain no-repeat; mask:url(/assets/mian-logo.png) center/contain no-repeat; }
.mm-ticker{ position:relative; flex:1; min-width:0; overflow:hidden; white-space:nowrap; font-size:14px; height:38px; line-height:38px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);
          mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent); }
.mm-track{ display:inline-flex; will-change:transform; }
.mm-track.run{ animation:mm-scroll var(--mm-dur,40s) linear infinite; }
.mm-ticker:hover .mm-track, .mm-ticker.is-activating .mm-track{ animation-play-state:paused; }
.mm-group{ display:inline-flex; flex:none; }
.mm-item{ display:inline-flex; align-items:center; }
.mm-item time{ font-variant-numeric:tabular-nums; opacity:.75; margin-right:.6em; }
.mm-item .mm-dash{ opacity:.6; margin:0 1.1em 0 1.1em; }
@keyframes mm-scroll{ from{ transform:translateX(0); } to{ transform:translateX(calc(-1 * var(--mm-dist,50%))); } }
/* 消息連結（照 azikazin .azk-ticker-item a，之後有連結的消息才會用到）：滑過出現 1px 底線；
   點擊時色塊從左掃到右再退掉（0.65s，色塊依序綠／黃／紅／藍），跑馬燈暫停，掃完才換頁 */
.mm-item a{ position:relative; display:inline-flex; align-items:center; line-height:22px; isolation:isolate; color:inherit; }
.mm-item a::before{ content:""; position:absolute; inset:0; z-index:-1; background:var(--wipe,var(--mm-sage)); transform:scaleX(0); transform-origin:left center; pointer-events:none; }
.mm-item a::after{ content:""; position:absolute; left:0; right:0; bottom:1px; height:1px; background:currentColor; opacity:0; transition:opacity .25s; pointer-events:none; }
.mm-item a:hover::after, .mm-item a:focus-visible::after{ opacity:1; }
.mm-item a.is-activating{ color:#111; }
.mm-item a.is-activating::after{ opacity:0; }
.mm-item a.is-activating::before{ animation:mm-wipe .65s cubic-bezier(.86,0,.07,1) forwards; }
@keyframes mm-wipe{ 0%{ transform:scaleX(0); transform-origin:left center; } 45%{ transform:scaleX(1); transform-origin:left center; }
  46%{ transform-origin:right center; } 100%{ transform:scaleX(0); transform-origin:right center; } }
@media (prefers-reduced-motion:reduce){ .mm-track.run{ animation:none; } .mm-item a.is-activating::before{ animation:none; } }

/* ── 第二列：膠囊導覽（2026-10-20 改版）──
   使用者：四顆（拿掉「首頁」，點棉字回首頁）、14px（手機導覽常見大小；baume 手機 13px、azikazin 14px）、
   每顆同寬（＝三個字的寬，兩個字的不會短胖）、手機靠左排（右邊不排滿）、寬螢幕置中且每顆長＝3 倍高（真的膠囊長約直徑 3 倍）。
   最窄的手機放不下時，兩個字的膠囊先縮，最小到字的寬度，不會超出畫面。 */
.mm-tabs{ position:relative; display:flex; flex-wrap:nowrap; justify-content:flex-start; gap:6px; max-width:1540px; margin:0 auto; box-sizing:border-box;
  padding:12px max(var(--mm-gutter), env(safe-area-inset-right)) 12px max(var(--mm-gutter), env(safe-area-inset-left)); }
.mm-tabs::after{ content:""; position:absolute; left:var(--mm-gutter); right:var(--mm-gutter); bottom:0; height:1px; background:var(--mm-line); }
.mm-pill{ --r:14px; flex:0 1 60px; min-width:max-content; font-size:14px; line-height:22px; padding:2px 8px; }
/* 寬螢幕（2026-10-20 使用者：電腦的字要更大）：16px（baume 桌機也是 16px）、高 32px、每顆 96px＝3 倍高 */
@media (min-width:600px){ .mm-tabs{ justify-content:center; gap:10px; padding-top:15px; padding-bottom:15px; } .mm-pill{ --r:16px; flex-basis:96px; font-size:16px; line-height:26px; } }

/* ── 膠囊材質 .mm-cap（頁首膠囊、首頁 start 共用；2026-10-20 使用者：像 Jamo2000 膠囊燈、照實際藥物膠囊做逼真、不要任何發光）──
   實際硬膠囊殼＝明膠＋二氧化鈦（不透明、霧面），所以沒有銳利反光，只有圓柱的柔和明暗；表面用「粉霧」細白點（使用者在四種顆粒裡選的）。
   圖層（上到下）：顆粒 → 左端半球越靠尖端越暗（只做水平方向，避免和圓柱明暗接不起來出現色塊） → 圓柱上下明暗。
   膠囊帽（::after）在右半：與本體同高、漸層對齊；帽比身粗（0 號：帽 7.64mm／身 7.35mm）只用上下各 1px 外緣表現；
   接縫只畫在上下輪廓，中間印字的高度不畫線（使用者：字被截斷很干擾）。
   印字（.ink）用 multiply 疊在殼上，跟著殼的明暗變深淺，像食用墨水印上去。
   按住（:active／.is-press，JS 至少維持 180ms，快速點按也看得到）＝整顆下沉 1px、底下影子被壓掉；用 translate 屬性（start 的 transform 用來置中）。
   顏色：預設白；.is-on／.c-sky＝Sky 藍（目前頁）；.c-char＝炭灰 #3f3f46（棉 logo 的墨色，start 用，印白字）。 */
.mm-cap{
  --shade:linear-gradient(180deg,#dedee3 0%,#f4f4f7 18%,#f8f8fa 30%,#eeeef2 58%,#dadae0 86%,#ceced5 100%);
  --cap-top:#d8d8de; --cap-bot:#c6c6ce; --dome1:rgba(30,34,44,.08); --dome2:rgba(30,34,44,.18);
  --seam:rgba(30,34,44,.30); --rim:rgba(255,255,255,.6); --ink-c:var(--mm-ink-strong); --ink-blend:multiply;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  1.4 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E");
  position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
  border:1px solid transparent; border-radius:999px; white-space:nowrap; text-decoration:none; -webkit-tap-highlight-color:transparent;
  cursor:url(/assets/paw-cursor.svg) 16 12, pointer;
  background:
    var(--grain) 0 0 / 100px 100px,
    linear-gradient(90deg, var(--dome2) 0, var(--dome1) calc(var(--r,14px) * .35), rgba(0,0,0,0) var(--r,14px)),
    var(--shade);
  background-origin:border-box;
  box-shadow:0 1px 1px rgba(30,34,44,.18), 0 2px 4px -2px rgba(30,34,44,.22);
  transition:translate .14s ease, box-shadow .14s ease; }
.mm-cap::after{ content:""; position:absolute; z-index:-1; top:-1px; bottom:-1px; right:-1px; left:50%; border-radius:0 999px 999px 0; pointer-events:none;
  background:
    linear-gradient(180deg,var(--seam) 0,rgba(0,0,0,0) 13%,rgba(0,0,0,0) 87%,var(--seam) 100%) 0 0 / 1px 100% no-repeat,
    linear-gradient(180deg,var(--rim) 0,rgba(255,255,255,0) 13%,rgba(255,255,255,0) 87%,var(--rim) 100%) 1px 0 / 1px 100% no-repeat,
    var(--grain) 0 0 / 100px 100px,
    linear-gradient(270deg, var(--dome2) 0, var(--dome1) calc(var(--r,14px) * .35), rgba(0,0,0,0) var(--r,14px)),
    var(--shade);
  box-shadow:0 -1px 0 var(--cap-top), 0 1px 0 var(--cap-bot); }
.mm-cap .ink{ color:var(--ink-c); mix-blend-mode:var(--ink-blend); }
.mm-cap:active, .mm-cap.is-press{ translate:0 1px; box-shadow:0 0 0 rgba(0,0,0,0), 0 0 0 rgba(0,0,0,0); transition-duration:0s; }
.mm-cap.is-on, .mm-cap.c-sky{ --shade:linear-gradient(180deg,#6496bd 0%,#82b3d8 18%,#89b8db 30%,#7aaed4 58%,#6898bf 86%,#5b8ab0 100%);
  --cap-top:#5e90b8; --cap-bot:#5383a9; --dome1:rgba(20,40,60,.10); --dome2:rgba(20,40,60,.22); --seam:rgba(20,40,60,.35); --rim:rgba(255,255,255,.45); }
/* 桃色（2026-10-26）：q5 特別卡（咖啡色底 .c-night）背面的主要動作；炭灰在咖啡色上看不見。印深字，同白膠囊。不叫 .c-peach：問題頁的卡片色 .c-peach 會蓋掉膠囊的 background */
.mm-cap.cap-peach{ --shade:linear-gradient(180deg,#d0946a 0%,#ecb085 18%,#efb68c 30%,#e8a87c 58%,#d4956b 86%,#c78a60 100%);
  --cap-top:#cf9368; --cap-bot:#c2865d; --dome1:rgba(60,30,10,.10); --dome2:rgba(60,30,10,.22); --seam:rgba(60,30,10,.35); --rim:rgba(255,255,255,.45); }
.mm-cap.c-char{ --shade:linear-gradient(180deg,#2e2e34 0%,#4a4a52 18%,#51515a 30%,#43434b 58%,#34343a 86%,#2b2b30 100%);
  --cap-top:#2a2a2f; --cap-bot:#222227; --dome1:rgba(0,0,0,.14); --dome2:rgba(0,0,0,.32); --seam:rgba(0,0,0,.55); --rim:rgba(255,255,255,.22);
  --ink-c:#f4f4f5; --ink-blend:normal; --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0.7 0 0 0 -0.33'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* 有顏色的膠囊 .kc（2026-11-10：首頁漂浮的膠囊、問題頁的藥板）：顏色＝問題卡的六色光譜原色＋q5 的夜空；殼的明暗照上面，只換色相（--k）。
   .k-* 也單獨用在藥板轉開的那顆大膠囊（.pk-tw）。 */
.k-lilac{--k:#b8a9d4} .k-sky{--k:#7aaed4} .k-sage{--k:#85c9a3} .k-sand{--k:#d4c97a} .k-peach{--k:#e8a87c} .k-pink{--k:#dca3a0} .k-night{--k:#46557a}
.mm-cap.kc{ --shade:linear-gradient(180deg,var(--k),var(--k)); --seam:rgba(30,34,44,.34); --rim:rgba(255,255,255,.45); }
@supports (color:color-mix(in srgb, red, blue)){
  .mm-cap.kc{ --shade:linear-gradient(180deg,color-mix(in srgb,var(--k) 84%,#1e222c) 0%,color-mix(in srgb,var(--k) 94%,#fff) 18%,color-mix(in srgb,var(--k) 90%,#fff) 30%,var(--k) 58%,color-mix(in srgb,var(--k) 88%,#1e222c) 86%,color-mix(in srgb,var(--k) 80%,#1e222c) 100%);
    --cap-top:color-mix(in srgb,var(--k) 84%,#1e222c); --cap-bot:color-mix(in srgb,var(--k) 76%,#1e222c); }
}
.mm-cap.kc.k-night{ --ink-c:#f4f4f5; --ink-blend:normal; }
/* 被按下去的樣子＝/assets/mm-press.js（WebGL，2026-11-17 晚上；收聽＋頁首四顆）：它照這份樣式把膠囊重畫在 <a> 裡的畫布（.mmp-cv）上，
   只在動的時候加 .mmp-on：CSS 那顆變透明（只留連結和字給讀屏）、畫布出現，按住的下沉也交給它；停了拿掉＝回到 CSS 那顆。沒有 WebGL＝永遠是 CSS。 */
.mm-cap.mmp-on{ background:none; box-shadow:none; }
.mm-cap.mmp-on::after{ display:none; }
.mm-cap.mmp-on .ink{ color:transparent; }
.mm-cap.mmp-on:active, .mm-cap.mmp-on.is-press, .mm-cap.mmp-on.patted{ translate:none; }
.mmp-cv{ position:absolute; z-index:-1; pointer-events:none; visibility:hidden; }
.mm-cap.mmp-on > .mmp-cv{ visibility:visible; }
.mmp-patting .mm-arm{ animation-play-state:paused; }
/* 鍵盤焦點：外框跟著膠囊形狀（首頁有一條通用 a:focus-visible 會把圓角改掉） */
.mm-cap:focus-visible{ border-radius:999px; outline:2px solid var(--mm-graphite); outline-offset:3px; }
@media (prefers-reduced-motion:reduce){ .mm-cap, .door-btn.mm-cap{ transition:none; } }

/* 棉字＝回首頁的連結：跟其他連結一樣有貓掌（2026-10-20 使用者：統一整個網頁）。點擊範圍往外放大，外觀不變 */
.mm-name{ position:relative; cursor:url(/assets/paw-cursor.svg) 16 12, pointer; }
.mm-name::before{ content:""; position:absolute; inset:-9px -10px; }

/* ── 卡片互動（問題頁）──
   2026-10-20 使用者：拿掉 baume 的滑過縮小＋框線加粗＋搖晃，用貓掌做出差異 → 桌機游標變貓掌；手機點卡片從手指位置踩出腳印，
   連結卡片腳印走完才換頁（程式在 mm-header.js 的 bindPaw）。保留 baume 的進場：捲進畫面時從 0.75 倍淡入放大（1s easeOutQuart），需 <html class="mm-js">。 */
.card{ cursor:url(/assets/paw-cursor.svg) 16 12, pointer; }
@media (prefers-reduced-motion:no-preference){
  .mm-js .card:not(.grown){ opacity:0; }
  .mm-js .card.grow-in{ opacity:1; animation:mm-grow 1s cubic-bezier(.165,.84,.44,1); }
}
@keyframes mm-grow{ from{ opacity:0; scale:.75; } to{ opacity:1; scale:1; } }

/* ── 貓掌連結（2026-10-19 使用者：連結不要底線，滑到曲名上游標變貓掌）──
   桌機：游標＝/assets/paw-cursor.svg（粉色 #dca3a0＝--mm-pink、無白邊；熱點在掌心上方；不支援 SVG 游標的瀏覽器退回手指），滑過時曲名後淡入小貓掌（同粉色）。
   觸控裝置沒有游標 → 點曲名時從手指位置踩出 4 個粉色腳印往前走（左右腳交錯），走完約 0.55 秒才換頁。 */
.paw-link{ color:inherit; text-decoration:none; -webkit-tap-highlight-color:transparent;
  cursor:url(/assets/paw-cursor.svg) 16 12, pointer; }
.paw-link:focus-visible{ outline:2px solid var(--mm-graphite); outline-offset:2px; border-radius:4px; }
.paw-link .paw{ display:inline-block; width:.8em; height:.8em; margin-left:.35em; vertical-align:-.05em; background:var(--mm-pink);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 15c-4 0-8 4.5-8 8 0 2.5 2 3.5 4 3.5 1.6 0 2.6-.8 4-.8s2.4.8 4 .8c2 0 4-1 4-3.5 0-3.5-4-8-8-8z'/%3E%3Cellipse cx='8.6' cy='13.6' rx='2.3' ry='3' transform='rotate%28-22 8.6 13.6%29'/%3E%3Cellipse cx='12.9' cy='8.6' rx='2.4' ry='3.2' transform='rotate%28-8 12.9 8.6%29'/%3E%3Cellipse cx='19.1' cy='8.6' rx='2.4' ry='3.2' transform='rotate%288 19.1 8.6%29'/%3E%3Cellipse cx='23.4' cy='13.6' rx='2.3' ry='3' transform='rotate%2822 23.4 13.6%29'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 15c-4 0-8 4.5-8 8 0 2.5 2 3.5 4 3.5 1.6 0 2.6-.8 4-.8s2.4.8 4 .8c2 0 4-1 4-3.5 0-3.5-4-8-8-8z'/%3E%3Cellipse cx='8.6' cy='13.6' rx='2.3' ry='3' transform='rotate%28-22 8.6 13.6%29'/%3E%3Cellipse cx='12.9' cy='8.6' rx='2.4' ry='3.2' transform='rotate%28-8 12.9 8.6%29'/%3E%3Cellipse cx='19.1' cy='8.6' rx='2.4' ry='3.2' transform='rotate%288 19.1 8.6%29'/%3E%3Cellipse cx='23.4' cy='13.6' rx='2.3' ry='3' transform='rotate%2822 23.4 13.6%29'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity:0; transform:translateY(2px) rotate(-12deg); transition:opacity .25s, transform .25s; }
@media (hover:hover){ .paw-link:hover .paw, .paw-link:focus-visible .paw{ opacity:1; transform:none; } }
/* 觸控裝置：曲名後不放小貓掌（使用者：沒有實質效果）；改成點下去時踩腳印（.mm-pawprint，程式在 mm-header.js）。 */
@media (hover:none){ .paw-link .paw{ display:none; } .paw-link:active{ opacity:.6; } }
.mm-pawprint{ position:fixed; left:0; top:0; width:30px; height:30px; margin:-15px 0 0 -15px; pointer-events:none; z-index:300;
  background:var(--mm-pink); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 15c-4 0-8 4.5-8 8 0 2.5 2 3.5 4 3.5 1.6 0 2.6-.8 4-.8s2.4.8 4 .8c2 0 4-1 4-3.5 0-3.5-4-8-8-8z'/%3E%3Cellipse cx='8.6' cy='13.6' rx='2.3' ry='3' transform='rotate%28-22 8.6 13.6%29'/%3E%3Cellipse cx='12.9' cy='8.6' rx='2.4' ry='3.2' transform='rotate%28-8 12.9 8.6%29'/%3E%3Cellipse cx='19.1' cy='8.6' rx='2.4' ry='3.2' transform='rotate%288 19.1 8.6%29'/%3E%3Cellipse cx='23.4' cy='13.6' rx='2.3' ry='3' transform='rotate%2822 23.4 13.6%29'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 15c-4 0-8 4.5-8 8 0 2.5 2 3.5 4 3.5 1.6 0 2.6-.8 4-.8s2.4.8 4 .8c2 0 4-1 4-3.5 0-3.5-4-8-8-8z'/%3E%3Cellipse cx='8.6' cy='13.6' rx='2.3' ry='3' transform='rotate%28-22 8.6 13.6%29'/%3E%3Cellipse cx='12.9' cy='8.6' rx='2.4' ry='3.2' transform='rotate%28-8 12.9 8.6%29'/%3E%3Cellipse cx='19.1' cy='8.6' rx='2.4' ry='3.2' transform='rotate%288 19.1 8.6%29'/%3E%3Cellipse cx='23.4' cy='13.6' rx='2.3' ry='3' transform='rotate%2822 23.4 13.6%29'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity:0; animation:mm-step .3s cubic-bezier(.2,.9,.3,1.4) forwards; }
/* 不換頁的腳印（非連結卡片、start 按鈕、專輯頁提示）：踩完 0.9 秒後淡出 */
.mm-pawprint.fade{ animation:mm-step .3s cubic-bezier(.2,.9,.3,1.4) forwards, mm-pawfade .5s ease forwards; }
@keyframes mm-pawfade{ to{ opacity:0; } }
@keyframes mm-step{ from{ opacity:0; scale:.3; } 60%{ opacity:1; scale:1.15; } to{ opacity:1; scale:1; } }
@media (prefers-reduced-motion:reduce){ .paw-link .paw{ transition:none; } }

/* 貓掌形狀（同 paw-cursor.svg）的遮罩，顏色＝background。問題卡背面遮歌名的字、分享圖都用它。 */
.mm-pawmask{ -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 15c-4 0-8 4.5-8 8 0 2.5 2 3.5 4 3.5 1.6 0 2.6-.8 4-.8s2.4.8 4 .8c2 0 4-1 4-3.5 0-3.5-4-8-8-8z'/%3E%3Cellipse cx='8.6' cy='13.6' rx='2.3' ry='3' transform='rotate%28-22 8.6 13.6%29'/%3E%3Cellipse cx='12.9' cy='8.6' rx='2.4' ry='3.2' transform='rotate%28-8 12.9 8.6%29'/%3E%3Cellipse cx='19.1' cy='8.6' rx='2.4' ry='3.2' transform='rotate%288 19.1 8.6%29'/%3E%3Cellipse cx='23.4' cy='13.6' rx='2.3' ry='3' transform='rotate%2822 23.4 13.6%29'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 15c-4 0-8 4.5-8 8 0 2.5 2 3.5 4 3.5 1.6 0 2.6-.8 4-.8s2.4.8 4 .8c2 0 4-1 4-3.5 0-3.5-4-8-8-8z'/%3E%3Cellipse cx='8.6' cy='13.6' rx='2.3' ry='3' transform='rotate%28-22 8.6 13.6%29'/%3E%3Cellipse cx='12.9' cy='8.6' rx='2.4' ry='3.2' transform='rotate%28-8 12.9 8.6%29'/%3E%3Cellipse cx='19.1' cy='8.6' rx='2.4' ry='3.2' transform='rotate%288 19.1 8.6%29'/%3E%3Cellipse cx='23.4' cy='13.6' rx='2.3' ry='3' transform='rotate%2822 23.4 13.6%29'/%3E%3C/svg%3E") center/contain no-repeat; }

/* 被貓掌遮住的字（問題卡背面、專輯頁曲目；2026-10-20 使用者：專輯頁也要遮）：字不寫進 HTML，一個字一個 <i class="mm-pawmask">，
   包在 <span class="hid" role="img" aria-label="被貓掌遮住的 N 個字">。顏色 --paw-c＝網站粉加深（粉在六張卡片色上看不見；使用者：之後再調）。 */
:root{ --paw-c:var(--mm-paw); }
.hid{ white-space:nowrap; }
.hid i{ display:inline-block; width:1em; height:1em; vertical-align:-.14em; background:var(--paw-c); -webkit-mask-size:138%; mask-size:138%; rotate:-12deg; }
.hid i:nth-child(even){ rotate:9deg; translate:0 -.05em; }
