/* ============================================================================
   podesign 深色主題(使用者 12-01:「整個作品集改深色、半透明科技感、像最新的 Apple、
   卡片圓弧 3D、深黑色風格」→「全部換成深色」)
   疊在舊站 main.css / 768.css 與 podesign.css 之上,舊檔一行不改;拿掉這個檔就回到原本的淺色。
   材質 = 深黑底 + 極淡冷光暈 + 顆粒;面板 / 卡片 / 按鈕 = 霧面玻璃(backdrop blur + 1px 亮邊 + 內高光)。
   規範寫在 DESIGN.md 的「深色玻璃主題」一節。
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #050507;
  --bg-2: #0b0b0f;
  --text: #ececf1;
  --text-2: #a9a9b6;
  --text-3: #70707d;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  --glass-solid: rgba(22, 22, 28, 0.62);
  --hi: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  --accent: #8fc2ff;          /* 唯一的強調色:冷冰藍 */
  --radius: 20px;
  --font: "Geist", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --blur: saturate(170%) blur(22px);
}

/* ---------- 底:深黑 + 冷光暈 + 顆粒 ---------- */
html, body, .single-page-layout body { background: var(--bg) !important; color: var(--text-2); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(120, 160, 255, 0.10), transparent 70%),
    radial-gradient(50vw 50vh at 10% 110%, rgba(140, 255, 230, 0.06), transparent 70%),
    var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-layout, .site, .site-main { background-color: transparent !important; }
/* 五個分頁:每頁一團不同位置的冷光(取代舊站的淡色網格漸層) */
.one-page-layout .site-main > section { background-color: var(--bg) !important; background-image: none !important; }
.one-page-layout .site-main > section:nth-of-type(1) { background-image: radial-gradient(55% 60% at 70% 35%, rgba(110, 150, 255, 0.16), transparent 70%), radial-gradient(40% 50% at 20% 80%, rgba(120, 255, 220, 0.07), transparent 70%) !important; }
.one-page-layout .site-main > section:nth-of-type(2) { background-image: radial-gradient(50% 45% at 90% 10%, rgba(120, 150, 255, 0.10), transparent 70%) !important; }
.one-page-layout .site-main > section:nth-of-type(3) { background-image: radial-gradient(45% 40% at 10% 0%, rgba(120, 200, 255, 0.09), transparent 70%) !important; }
.one-page-layout .site-main > section:nth-of-type(4) { background-image: radial-gradient(50% 35% at 50% 0%, rgba(140, 170, 255, 0.10), transparent 70%) !important; }
.one-page-layout .site-main > section:nth-of-type(5) { background-image: radial-gradient(45% 40% at 95% 20%, rgba(130, 255, 225, 0.07), transparent 70%) !important; }

/* ---------- 字 ---------- */
body, body *:not([class*="pe-7s-"]):not([class*="icon-"]):not(.material-icons):not(i) { font-family: var(--font); }
h1, h2, h3, h4, h5, h6, .page-title, .entry-title { color: var(--text) !important; }
h1, .page-title, .entry-title { letter-spacing: -0.03em; font-weight: 600; }
h2 { letter-spacing: -0.02em; }
p, li, dd, td, .event p, .service p { color: var(--text-2); }
a { color: var(--accent); }
a:hover { color: #c3ddff; }
strong, b { color: var(--text); }
::selection { background: rgba(143, 194, 255, 0.35); color: #fff; }
hr { border-color: var(--line); }
blockquote, blockquote p { color: var(--text); }
blockquote cite { color: var(--text-3); }
.site-main > section h2.fadein, .site-main > section h4.fadein2 { color: var(--text) !important; }   /* 首頁名字 / 職稱有寫死的 inline 深色 */
.site-main > section h4.fadein2 { color: var(--text-2) !important; }
.p-logo path { fill: var(--text); }
.typist, .home-section em, .selectedText { color: var(--text); }
.selectedText { background: rgba(143, 194, 255, 0.35) !important; }

/* ---------- 側欄(桌機)/ 頂欄(手機):霧面玻璃 ---------- */
.header, .header-wrap {
  background: rgba(14, 14, 18, 0.55) !important;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset -1px 0 0 var(--line);
}
.header { box-shadow: inset 0 -1px 0 var(--line); }
.nav-menu a { color: var(--text-3) !important; transition: color .25s, background-color .25s; }
.nav-menu a:hover { color: var(--text) !important; background: rgba(255, 255, 255, 0.04); }
.nav-menu .current_page_item a { color: #fff !important; background: rgba(255, 255, 255, 0.07); box-shadow: inset 2px 0 0 var(--accent); }
.nav-menu li { border-color: var(--line) !important; }
.site-title, .site-title a { color: var(--text) !important; }
.lang-switch a, .copyright, .site-info { color: var(--text-3) !important; }

/* ---------- 分頁大標 ---------- */
.page-title i { color: var(--text-2) !important; }

/* ---------- 按鈕:玻璃膠囊 ---------- */
.button, a.button, button, input[type=submit] {
  color: var(--text) !important; background: var(--glass) !important; border: 0 !important; border-radius: 999px !important;
  box-shadow: var(--hi), 0 10px 30px -12px rgba(0, 0, 0, 0.8) !important;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s !important;
}
.button:hover, a.button:hover, button:hover { background: rgba(255, 255, 255, 0.12) !important; transform: translateY(-1px); }
.button:active, a.button:active, button:active { transform: translateY(1px) scale(.98); }
.button i { color: var(--accent); }

/* ---------- 篩選列:玻璃分段控制 ---------- */
.filters { display: inline-flex !important; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px !important; border-radius: 999px;
  background: var(--glass); box-shadow: var(--hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
#portfolio .layout-medium, #blog .layout-medium { text-align: center; }
#portfolio .portfolio-items, #blog .latest-posts { text-align: left; }
.filters li { margin: 0 !important; }
.filters li a { color: var(--text-3) !important; border-radius: 999px; padding: .55em 1.2em !important; display: block; transition: color .2s, background .2s; }
.filters li a:hover { color: var(--text) !important; }
.filters li.current a { color: #0a0a0c !important; background: #f2f3f7; box-shadow: 0 4px 14px -4px rgba(255, 255, 255, 0.35); }
.filters li a:before, .filters li a:after { display: none !important; }

/* ---------- 作品卡 / 文章卡:圓角玻璃 + 3D 浮起與傾斜(masonry.tsx 寫入 --rx --ry --mx --my) ---------- */
.media-cell { transform-style: preserve-3d; }
.media-cell:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) !important; z-index: 5; }
.media-grid .media-box {
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--bg-2) !important;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9);
}
.media-grid .media-box img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.media-grid .media-cell:hover .media-box img { transform: scale(1.04); }
.media-grid .media-box::after {     /* 跟著游標走的反光 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.16), transparent 45%);
}
.media-grid .media-cell:hover .media-box::after { opacity: 1; }
.media-grid .mask { background: transparent !important; }
.media-cell-desc {
  background: var(--glass-solid) !important; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--hi), 0 30px 50px -24px rgba(0, 0, 0, 0.9) !important;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.media-cell-desc h3, .media-cell-desc h3 a { color: var(--text) !important; letter-spacing: .02em; }
.media-cell-desc p, .media-cell-desc .category { color: var(--text-3) !important; }
.media-cell-desc .date { background: #15151b !important; color: var(--text-2) !important; box-shadow: var(--hi); }
.media-cell:hover .media-cell-desc { box-shadow: var(--hi), inset 0 0 0 1px rgba(143, 194, 255, 0.25), 0 40px 60px -24px rgba(0, 0, 0, 0.95) !important; }

/* ---------- 關於我 / 履歷 ---------- */
.service p { color: var(--text-2) !important; }
.img-fluid { border-radius: var(--radius); }
.event:before { background: var(--line) !important; }
.event:after { background: #2a2a33 !important; box-shadow: 0 0 0 4px var(--bg); }
.event:nth-of-type(2):after { background: var(--accent) !important; box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(143, 194, 255, 0.6); }
.event h2 + p i { background: var(--glass) !important; color: var(--text) !important; box-shadow: var(--hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-radius: 50%; }
.event h2 { color: var(--text) !important; }
.event h3 { background: rgba(255, 255, 255, 0.07) !important; color: var(--text) !important; border-radius: 999px; padding: 4px 12px !important; box-shadow: var(--hi); }
.event h3:before, .event h3:after { display: none !important; }
.event h4 { color: var(--text) !important; }
.event h5, .event h6 { color: var(--text-3) !important; }
.event p.italic { color: var(--text-2) !important; }
.section-title h2 { background: var(--glass) !important; color: var(--text) !important; border-radius: 999px; box-shadow: var(--hi); padding: .7em 1.8em !important; }
.section-title h2:before, .section-title h2:after { display: none !important; }
.skill-unit h4, .skill-text { color: var(--text-2) !important; }

/* ---------- 作品內頁 / 文章頁 ---------- */
.portfolio-single .entry-content, .blog-single .entry-content { color: var(--text-2); }
.mini-text h2 { color: var(--text) !important; }
.portfolio-single .entry-content img, .blog-single .featured-image img, .blog-single .entry-content img { border-radius: 14px; }
.portfolio-single .entry-content p > img:only-child { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line); }
.portfolio-single .entry-content video { border-radius: 14px; }
.portfolio-nav a { color: var(--text) !important; background: var(--glass) !important; border: 0 !important; box-shadow: var(--hi) !important; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.portfolio-nav a:hover { background: rgba(255, 255, 255, 0.14) !important; }
.entry-meta a, .cat-links a { background: rgba(255, 255, 255, 0.08) !important; color: var(--text) !important; border-radius: 999px; }
.fluid-width-video-wrapper { border-radius: 14px; overflow: hidden; }
tr:nth-child(odd) td { background: rgba(255, 255, 255, 0.02); }
tr td, tr th { border-color: var(--line); }

/* ---------- 燈箱 ---------- */
.mfp-bg { background: rgba(3, 3, 5, 0.75) !important; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.mfp-bg.mfp-ready { opacity: 1 !important; }
.mfp-img { border-radius: 14px; }
.mfp-title, .mfp-counter { color: var(--text-2) !important; }

/* ---------- 其他 ---------- */
#nprogress .bar { background: var(--accent) !important; }
#nprogress .peg { box-shadow: 0 0 10px var(--accent), 0 0 5px var(--accent) !important; }
#nprogress .spinner-icon { border-top-color: var(--accent) !important; border-left-color: var(--accent) !important; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 10px; border: 2px solid var(--bg); }
@media (prefers-reduced-motion: reduce) {
  .media-cell:hover { transform: none !important; }
  .media-grid .media-cell:hover .media-box img { transform: none; }
}

/* ---------- 修正(第一輪截圖) ---------- */
/* 圖示字型:全站換字型時,這幾個元素本身就是圖示(字形在 :before 繼承元素的字型),要還原 */
.social li a { font-family: fontello !important; }
.mask, .portfolio-nav a, .hentry .entry-header { font-family: 'Pe-icon-7-stroke' !important; }
.header .social li a { color: var(--text-3) !important; border-color: var(--line-2) !important; }
.header .social li a:hover { color: var(--text) !important; }
/* 卡片滑過:舊站藍灰遮罩 + 「see more」→ 底部一顆玻璃小膠囊 */
.media-box .mask { background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 7, 0.55)) !important; z-index: 1; pointer-events: none; }   /* 遮罩不能擋住底下的連結 */
.media-box .mask:before {
  top: auto !important; bottom: 18px; left: 50% !important; transform: translateX(-50%); margin: 0 !important; width: auto !important;
  padding: 8px 16px; border-radius: 999px; line-height: 1 !important; font-size: 12px !important; letter-spacing: .04em;
  font-family: var(--font) !important; color: #fff !important;
  background: rgba(255, 255, 255, 0.12); box-shadow: var(--hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.latest-posts .mask:before { font-family: 'Pe-icon-7-stroke' !important; font-size: 20px !important; padding: 8px 12px; }
.filters li a { color: var(--text-2) !important; }
#filters { margin-bottom: 2.4em !important; }
.section-title h2 i { background: transparent !important; color: var(--text) !important; }
.section-title h2 i:before, .section-title h2 i:after { display: none !important; }
/* 燈箱的關閉 / 左右箭頭也是 <button>(圖片模式的關閉鈕寬 100%),不套玻璃膠囊 */
.mfp-wrap button.mfp-close, .mfp-wrap button.mfp-arrow {
  background: none !important; box-shadow: none !important; border-radius: 0 !important; transform: none !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff !important; opacity: .7;
}
.mfp-wrap button.mfp-close:hover, .mfp-wrap button.mfp-arrow:hover { opacity: 1; }
.filters li a { opacity: 1 !important; }
@media (max-width: 767px) { .filters { border-radius: 24px; } }

/* ---------- 首頁:全螢幕像素工作室(components/home/pixel-room.tsx)---------- */
@font-face { font-family: "ArkPixel"; src: url(/home/fonts/ark-pixel-12px-proportional-zh_tw.ttf.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "ArkPixel"; src: url(/home/fonts/ark-pixel-12px-proportional-latin.ttf.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-024F; }
.home-section .pixel-room { position: absolute; inset: 0; overflow: hidden; background: #050507; touch-action: none; user-select: none; -webkit-user-select: none; }
.pr3-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; image-rendering: pixelated; display: block; }
.pr-bubble { position: absolute; transform: translate(-50%, calc(-100% - 10px)); z-index: 2; pointer-events: none; max-width: min(320px, 80vw);
  padding: 9px 13px 10px; border-radius: 10px; background: rgba(14, 16, 28, .82); box-shadow: 0 0 0 2px #8fc2ff inset, 0 8px 24px rgba(0,0,0,.5);
  font: 14px/1.5 "ArkPixel", var(--font) !important; color: #eef3ff !important; text-align: center; image-rendering: pixelated; }
.pr-bubble span { font-family: inherit !important; display: block; }
.pr-bubble small { font-family: inherit !important; display: block; margin-top: 3px; font-size: 12px; color: #8fc2ff; }
.pr-bubble:after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #8fc2ff; }
.pr-hint { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); margin: 0; padding: 10px 18px; border-radius: 999px; font: 13px/1.4 "ArkPixel", var(--font) !important;
  color: var(--text) !important; background: rgba(255,255,255,.08); box-shadow: var(--hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: opacity .6s; pointer-events: none; white-space: nowrap; z-index: 2; }
.pr-hint.is-gone { opacity: 0; }
@media (max-width: 480px) { .pr-hint { white-space: normal; width: 86%; text-align: center; } }

.pr-bubble.is-dog { box-shadow: 0 0 0 2px #e8a24a inset, 0 8px 24px rgba(0,0,0,.35); }
.pr-bubble.is-dog:after { border-top-color: #e8a24a; }

/* ---------- 首頁文字:左下大標 + 介紹 + 指令列(使用者 12-01:排版參考黑洞網站,文字用自己的) ---------- */
.pr-hero { position: absolute; left: clamp(16px, 3.2vw, 56px); right: clamp(16px, 3.2vw, 56px); bottom: clamp(18px, 4.5vh, 48px); z-index: 3; pointer-events: none; max-width: 1180px; }
.pr-h1 { margin: 0 0 18px; font-family: var(--font); font-weight: 300; font-size: clamp(34px, 4.9vw, 84px); line-height: 1.04; letter-spacing: -0.025em; color: #ececec;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); text-wrap: balance; }
.pr-lede { margin: 0 0 22px; max-width: 64ch; font-family: var(--font); font-weight: 400; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.65; color: rgba(225, 228, 236, 0.72);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); text-wrap: pretty; }
.pr-ask { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1180px; min-height: 64px; padding: 14px 24px; pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(4, 5, 8, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pr-dot { width: 9px; height: 9px; border-radius: 50%; background: #cfd3da; flex: none; animation: prDot 2.4s ease-in-out infinite; }
@keyframes prDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.pr-type { flex: 1 1 260px; min-width: 0; font-family: var(--font); font-size: clamp(15px, 1.3vw, 20px); color: rgba(235, 238, 245, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-caret { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em; background: #e8ebf1; animation: prCaret 1s steps(1) infinite; }
@keyframes prCaret { 50% { opacity: 0; } }
.pr-ask-links { display: flex; gap: 28px; margin-left: auto; }
.pr-ask-links a { font-family: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(225, 228, 236, 0.78) !important;
  text-decoration: none !important; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.pr-ask-links a i { font-style: normal; margin-left: 10px; opacity: 0.6; }
.pr-ask-links a:hover { color: #fff !important; border-bottom-color: rgba(255, 255, 255, 0.6); }
.pr-ask-links a:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
.home-section .pr-hint { top: 14px; bottom: auto; }
.pr-bubble span { white-space: pre-line; }
@media screen and (max-width: 767px) {
  .pr-h1 { margin-bottom: 12px; }
  .pr-lede { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
  .pr-ask { padding: 12px 16px; gap: 10px 14px; }
  .pr-ask-links { width: 100%; justify-content: space-between; margin-left: 0; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
}
@media (prefers-reduced-motion: reduce) { .pr-dot, .pr-caret { animation: none; } }

/* 手機版選單:頂欄的毛玻璃(backdrop-filter)會把裡面的固定定位側欄限制在頂欄 50px 內 → 選單只剩大頭照。手機頂欄改不透明。 */
@media screen and (max-width: 767px) {
  .header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(14, 14, 18, 0.96) !important; }
  .header-wrap { background: rgba(14, 14, 18, 0.98) !important; }
}
@media screen and (max-width: 767px) { .home-section .pr-hint { top: 62px; } }

/* 對話框放大(使用者 12-01:「對話框要大一點,文字也要大一點」) */
.pr-bubble { max-width: min(440px, 88vw) !important; padding: 14px 20px 15px !important; border-radius: 14px !important; font-size: 19px !important; line-height: 1.55 !important; box-shadow: 0 0 0 3px #8fc2ff inset, 0 10px 28px rgba(0,0,0,.55) !important; }
.pr-bubble.is-dog { box-shadow: 0 0 0 3px #e8a24a inset, 0 10px 28px rgba(0,0,0,.55) !important; }
.pr-bubble small { font-size: 14px !important; }
.pr-bubble:after { bottom: -10px !important; margin-left: -9px !important; border-width: 9px !important; border-bottom: 0 !important; }
@media screen and (max-width: 767px) { .pr-bubble { font-size: 16px !important; padding: 11px 15px 12px !important; } }

/* 首頁文字底下的漸層暗底(文字壓在 3D 場景上也讀得清楚) */
.home-section .pixel-room::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 4, 10, 0) 0%, rgba(3, 4, 10, 0.55) 45%, rgba(3, 4, 10, 0.88) 100%); }
@media screen and (max-width: 767px) { .home-section .pixel-room::after { height: 58%; background: linear-gradient(180deg, rgba(3, 4, 10, 0) 0%, rgba(3, 4, 10, 0.7) 35%, rgba(3, 4, 10, 0.94) 100%); } .pr-lede { font-size: 13.5px; } }

/* 首頁文字調整(12-01):名字粗體、職稱小一行、打字列再小;手機不顯示操作說明 */
.pr-h1 { font-weight: 700 !important; letter-spacing: -0.03em; margin-bottom: 6px !important; }
.pr-sub { margin: 0 0 16px; font-family: var(--font); font-weight: 400; font-size: clamp(16px, 1.6vw, 24px); letter-spacing: 0.01em; color: rgba(236, 238, 244, 0.86); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7); }
.pr-lede { font-size: clamp(15px, 1.3vw, 20px) !important; color: rgba(236, 238, 244, 0.78) !important; max-width: 40ch !important; }
.pr-type { font-size: clamp(12px, 0.95vw, 14px) !important; }
.pr-ask { min-height: 54px !important; padding: 11px 20px !important; }
.pr-ask-links a { font-size: 12px !important; }
@media screen and (max-width: 767px) { .home-section .pr-hint { display: none !important; } .pr-sub { font-size: 15px; margin-bottom: 12px; } .pr-lede { font-size: 15px !important; } }

/* 首頁「呼叫我」:email 小卡 + 一鍵複製 */
.pr-ask { position: relative; }
.pr-call { font-family: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(225, 228, 236, 0.78);
  background: none; border: 0; border-bottom: 1px solid transparent; padding: 6px 0; cursor: pointer; transition: color .2s, border-color .2s; }
.pr-call i { font-style: normal; margin-left: 10px; opacity: 0.6; }
.pr-call:hover, .pr-call.is-open { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.6); }
.pr-call:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
.pr-mail { position: absolute; right: 0; bottom: calc(100% + 10px); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(4, 5, 8, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); animation: prMailIn .22s ease-out; }
@keyframes prMailIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pr-mail-addr { font-family: var(--font); font-size: 16px; color: #f2f4f8 !important; text-decoration: none !important; letter-spacing: 0.01em; user-select: all; }
.pr-mail-addr:hover { text-decoration: underline !important; }
.pr-copy { font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #05060a; background: #e8ebf1;
  border: 0; padding: 9px 14px; cursor: pointer; transition: background-color .2s, transform .12s; min-width: 82px; }
.pr-copy:hover { background: #fff; }
.pr-copy:active { transform: scale(0.96); }
.pr-copy.is-done { background: #8fe3b0; }
@media screen and (max-width: 767px) { .pr-mail { left: 0; right: 0; justify-content: space-between; } .pr-mail-addr { font-size: 15px; } }
/* 全站 button 的玻璃膠囊樣式會蓋過來,這兩顆要跟指令列一致 */
.pr-ask .pr-call { background: none !important; border: 0 !important; border-bottom: 1px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: 6px 0 !important; color: rgba(225, 228, 236, 0.78) !important; font-weight: 400 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.pr-ask .pr-call:hover, .pr-ask .pr-call.is-open { color: #fff !important; border-bottom-color: rgba(255, 255, 255, 0.6) !important; }
.pr-ask .pr-copy { background: #e8ebf1 !important; color: #05060a !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 9px 14px !important; font-weight: 500 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.pr-ask .pr-copy:hover { background: #fff !important; }
.pr-ask .pr-copy.is-done { background: #8fe3b0 !important; }
