/* ==========================================================================
 WBY Studio 全站雙主題視覺系統 (Pure White Light Mode & Pure Obsidian Dark Mode)
 - 徹底取代舊版暖米黃/咖啡棕配色，升級為現代極簡純白與深邃黑雙主題
 - 預設自動跟隨作業系統 prefers-color-scheme，並支援設定中心即時手動切換
 ========================================================================== */
:root,
html[data-theme="light"] {
 color-scheme: light;
 --wby-bg-page: #F8FAFC;
 --wby-surface: #FFFFFF;
 --wby-surface-glass: rgba(255, 255, 255, 0.9);
 --wby-surface-2: #F4F4F5;
 --wby-surface-3: #E4E4E7;
 --wby-border: #E4E4E7;
 --wby-border-subtle: #F1F5F9;
 --wby-border-strong: #D4D4D8;
 --wby-text: #09090B;
 --wby-text-2: #3F3F46;
 --wby-text-muted: #71717A;
 --wby-primary-bg: #18181B;
 --wby-primary-hover: #27272A;
 --wby-primary-fg: #FFFFFF;
 --wby-input-bg: #FFFFFF;
 --wby-input-border: #D4D4D8;
 --wby-scroll-track: #F4F4F5;
 --wby-scroll-thumb: #D4D4D8;
 --wby-scroll-thumb-hover: #A1A1AA;
 --wby-glow-a: rgba(228, 228, 231, 0.5);
 --wby-glow-b: rgba(241, 245, 249, 0.7);
}
html[data-theme="dark"] {
 color-scheme: dark;
 --wby-bg-page: #09090B;
 --wby-surface: #141417;
 --wby-surface-glass: rgba(20, 20, 23, 0.9);
 --wby-surface-2: #1E1E22;
 --wby-surface-3: #27272A;
 --wby-border: #27272A;
 --wby-border-subtle: #1F1F23;
 --wby-border-strong: #3F3F46;
 --wby-text: #F4F4F5;
 --wby-text-2: #D4D4D8;
 --wby-text-muted: #A1A1AA;
 --wby-primary-bg: #F4F4F5;
 --wby-primary-hover: #E4E4E7;
 --wby-primary-fg: #09090B;
 --wby-input-bg: #18181B;
 --wby-input-border: #3F3F46;
 --wby-scroll-track: #141417;
 --wby-scroll-thumb: #3F3F46;
 --wby-scroll-thumb-hover: #52525B;
 --wby-glow-a: rgba(39, 39, 42, 0.35);
 --wby-glow-b: rgba(24, 24, 27, 0.5);
}
/* ---------- 1. 全域基底與捲軸 ---------- */
html,
body {
 background-color: var(--wby-bg-page) !important;
 color: var(--wby-text) !important;
 transition: background-color 0.16s ease, color 0.16s ease;
}
.custom-scroll::-webkit-scrollbar-track {
 background: var(--wby-scroll-track) !important;
}
.custom-scroll::-webkit-scrollbar-thumb {
 background: var(--wby-scroll-thumb) !important;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
 background: var(--wby-scroll-thumb-hover) !important;
}
/* 背景裝飾光暈去黃化 */
html[data-theme] .bg-\[\#E8DFD3\]\/60 {
 background-color: var(--wby-glow-a) !important;
}
html[data-theme] .bg-\[\#E5D7C6\]\/60 {
 background-color: var(--wby-glow-b) !important;
}
/* ---------- 2. 舊版暖米黃/燕麥背景重映射為純淨中性層級 ---------- */
html[data-theme] .bg-\[\#F8F5F0\],
html[data-theme] .bg-\[\#F6F2EC\],
html[data-theme] .bg-\[\#F6F3EE\],
html[data-theme] .bg-\[\#F7F4EF\] {
 background-color: var(--wby-bg-page) !important;
}
html[data-theme] .bg-\[\#F8F5F0\]\/85 {
 background-color: var(--wby-surface-glass) !important;
}
/* 頂欄、側欄與卡片主表面：白色模式下為純白 #FFFFFF，深色模式下為 #141417 */
html[data-theme] body > header:not(.bg-\[\#2B2623\]),
html[data-theme] #app-sidebar,
html[data-theme] .bg-white,
html[data-theme] .bg-\[\#FFFDF9\],
html[data-theme] .bg-\[\#FBF9F5\] {
 background-color: var(--wby-surface) !important;
}
html[data-theme] .bg-white\/95,
html[data-theme] .bg-white\/90,
html[data-theme] .bg-white\/85,
html[data-theme] .bg-white\/80,
html[data-theme] .bg-white\/75,
html[data-theme] .bg-white\/70,
html[data-theme] .bg-white\/60,
html[data-theme] .bg-white\/50 {
 background-color: var(--wby-surface-glass) !important;
}
html[data-theme="dark"] .bg-white\/40,
html[data-theme="dark"] .bg-white\/30 {
 background-color: rgba(20, 20, 23, 0.65) !important;
}
.wby-lane-normal {
 background-color: rgba(255, 255, 255, 0.2);
}
html[data-theme="dark"] .wby-lane-normal {
 background-color: transparent !important;
}
/* 全站頁尾 (Footer) 雙主題高對比保護：杜絕半透明淺灰底吃字 */
html[data-theme] footer {
 background-color: var(--wby-surface) !important;
 border-color: var(--wby-border) !important;
 color: var(--wby-text-2) !important;
}
html[data-theme="dark"] footer a {
 color: #D4D4D8 !important;
}
html[data-theme="dark"] footer a:hover {
 color: #FFFFFF !important;
}
html[data-theme="dark"] footer a[href*="line.me"]:hover {
 color: #06C755 !important;
}
/* 次級淺塊（表格標頭、內部小卡、預設輸入框底、分段切換器外框） */
html[data-theme] .bg-\[\#FAF8F5\],
html[data-theme] .bg-\[\#FAF7F2\],
html[data-theme] .bg-\[\#FAF7F2\]\/95,
html[data-theme] .bg-\[\#FAF6F0\],
html[data-theme] .bg-\[\#FAF5EE\],
html[data-theme] .bg-\[\#FAF5EF\],
html[data-theme] .bg-\[\#FAF2ED\],
html[data-theme] .bg-\[\#FDF5F0\],
html[data-theme] .bg-\[\#FFF9F2\],
html[data-theme] .bg-\[\#FFF8F6\],
html[data-theme] .bg-\[\#FFF8F7\],
html[data-theme] .bg-\[\#FFF5F2\],
html[data-theme] .bg-\[\#F9FCF9\],
html[data-theme] .bg-\[\#F5F2EB\],
html[data-theme] .bg-\[\#F3EFEA\],
html[data-theme] .bg-\[\#F4ECE7\],
html[data-theme] .bg-\[\#EFE9E0\],
html[data-theme] .bg-\[\#F0ECE6\] {
 background-color: var(--wby-surface-2) !important;
}
/* 第三級選中態與強調淺底（如側邊欄目前所在頁面 bg-[#E8E2D6]） */
html[data-theme] .bg-\[\#E8E2D6\],
html[data-theme] .bg-\[\#EAE4D9\],
html[data-theme] .bg-\[\#EAE4D9\]\/70,
html[data-theme] .bg-\[\#EAE3D9\],
html[data-theme] .bg-\[\#EAE2D2\],
html[data-theme] .bg-\[\#E5DDD5\],
html[data-theme] .bg-\[\#705641\]\/10,
html[data-theme] .bg-\[\#C25E2E\]\/15 {
 background-color: var(--wby-surface-3) !important;
}
/* 深色資訊圖卡（如 line_mini_app.js 的路線指引框 bg-[#6B6257]） */
html[data-theme] .bg-\[\#6B6257\] {
 background-color: #18181B !important;
 color: #F4F4F5 !important;
 border: 1px solid #27272A;
}
/* 會員性別分段控制器在深色模式下區隔選中與未選中態 */
html[data-theme="dark"] .bg-\[\#F5F2EB\] > button:not(.bg-white) {
 color: #A1A1AA !important;
}
html[data-theme="dark"] .bg-\[\#F5F2EB\] > button.bg-white {
 background-color: #27272A !important;
 color: #F4F4F5 !important;
 box-shadow: 0 0 0 1px #52525B !important;
}
/* Hover 背景中性化 */
html[data-theme] .hover\:bg-\[\#FAF8F5\]:hover,
html[data-theme] .hover\:bg-\[\#FAF7F2\]:hover,
html[data-theme] .hover\:bg-\[\#FAF2ED\]:hover,
html[data-theme] .hover\:bg-\[\#F4ECE7\]:hover,
html[data-theme] .hover\:bg-\[\#F3EFEA\]:hover,
html[data-theme] .hover\:bg-\[\#EFE9E0\]:hover {
 background-color: var(--wby-surface-2) !important;
}
html[data-theme] .hover\:bg-\[\#EAE4D9\]:hover,
html[data-theme] .hover\:bg-\[\#EAE3D9\]:hover,
html[data-theme] .hover\:bg-\[\#EAE2D2\]:hover,
html[data-theme] .hover\:bg-\[\#E8E2D6\]:hover,
html[data-theme] .hover\:bg-\[\#E8E1DC\]:hover,
html[data-theme] .hover\:bg-\[\#705641\]\/20:hover {
 background-color: var(--wby-surface-3) !important;
}
html[data-theme="dark"] .hover\:bg-white:hover,
html[data-theme="dark"] .hover\:bg-\[\#FAF7F2\]\/60:hover,
html[data-theme="dark"] .hover\:bg-stone-200\/80:hover {
 background-color: var(--wby-surface-3) !important;
}
/* 漸層去棕化（針對 Tailwind v3 Play CDN 同步覆寫 --tw-gradient-stops，徹底杜絕 via-[#...] 殘留咖啡棕） */
html[data-theme] .from-\[\#FAF2ED\],
html[data-theme] .from-\[\#FAF8F5\] {
 --tw-gradient-from: var(--wby-surface-2) var(--tw-gradient-from-position) !important;
 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
html[data-theme] .to-\[\#F5EBE1\] {
 --tw-gradient-to: var(--wby-surface) var(--tw-gradient-to-position) !important;
}
html[data-theme="dark"] .to-white {
 --tw-gradient-to: var(--wby-surface) var(--tw-gradient-to-position) !important;
}
html[data-theme] .from-\[\#3A2E25\],
html[data-theme] .from-\[\#3D312A\],
html[data-theme] .from-\[\#2B2623\] {
 --tw-gradient-from: #18181B var(--tw-gradient-from-position) !important;
 --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
html[data-theme] .via-\[\#2B221B\],
html[data-theme] .via-\[\#3A312B\],
html[data-theme] .via-\[\#5A4331\] {
 --tw-gradient-via: #121215 var(--tw-gradient-via-position) !important;
 --tw-gradient-stops: var(--tw-gradient-from), #121215 var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}
html[data-theme] .to-\[\#1E1712\],
html[data-theme] .to-\[\#4D3D31\],
html[data-theme] .to-\[\#2B2623\] {
 --tw-gradient-to: #09090B var(--tw-gradient-to-position) !important;
}
/* 深色模式下：淺色語義漸層列（如施工抽屜狀態列/工時列）轉為深色微透底，杜絕白底淺字刺眼 */
html[data-theme="dark"] .bg-gradient-to-r.from-amber-50 {
 background-image: none !important;
 background-color: rgba(245, 158, 11, 0.14) !important;
}
html[data-theme="dark"] .bg-gradient-to-r.from-purple-50 {
 background-image: none !important;
 background-color: rgba(168, 85, 247, 0.14) !important;
}
html[data-theme="dark"] .bg-gradient-to-r.from-rose-50 {
 background-image: none !important;
 background-color: rgba(244, 63, 94, 0.14) !important;
}
html[data-theme="dark"] .bg-zinc-200\/35 {
 background-color: rgba(63, 63, 70, 0.18) !important;
}
html[data-theme] .bg-\[\#1F1C1A\] {
 background-color: #18181B !important;
}
html[data-theme] .bg-\[\#4A433D\] {
 background-color: #27272A !important;
}
html[data-theme] .bg-\[\#E8B878\]\/20 {
 background-color: rgba(255, 255, 255, 0.14) !important;
}
/* ---------- 3. 邊框與分隔線中性化 ---------- */
html[data-theme] .border-\[\#E8E1DC\],
html[data-theme] .border-\[\#E8E1DC\]\/80,
html[data-theme] .border-\[\#E8E1DC\]\/50,
html[data-theme] .border-\[\#E8E1DC\]\/40,
html[data-theme] .border-\[\#DDD5C9\],
html[data-theme] .border-\[\#E2DDD5\],
html[data-theme] .border-\[\#E2C4B3\],
html[data-theme] .border-\[\#E5DFD5\],
html[data-theme] .border-\[\#E6DFD5\],
html[data-theme] .border-\[\#E7E1D8\],
html[data-theme] .border-\[\#E8E2D9\],
html[data-theme] .border-\[\#E8E4DC\],
html[data-theme] .border-\[\#E8E4DC\]\/80,
html[data-theme] .border-\[\#EAE3D9\],
html[data-theme] .border-\[\#EAE4D9\],
html[data-theme] .border-\[\#EFEAE2\],
html[data-theme] .border-\[\#F0EAE1\],
html[data-theme] .border-\[\#F2ECE4\],
html[data-theme] .border-\[\#F3EFEA\],
html[data-theme] .border-\[\#F4ECE7\],
html[data-theme] .border-\[\#D5C7B8\],
html[data-theme] .border-\[\#E5D7C6\],
html[data-theme] .border-\[\#705641\]\/20,
html[data-theme] .border-\[\#C25E2E\]\/30 {
 border-color: var(--wby-border) !important;
}
html[data-theme] .border-l-\[\#C25E2E\] {
 border-left-color: var(--wby-primary-bg) !important;
}
html[data-theme] .border-\[\#705641\],
html[data-theme] .border-\[\#C25E2E\],
html[data-theme] .border-\[\#2B2623\],
html[data-theme] .border-\[\#423225\],
html[data-theme] .border-\[\#5A4738\],
html[data-theme] .border-\[\#3D3732\],
html[data-theme] .hover\:border-\[\#705641\]:hover,
html[data-theme] .hover\:border-\[\#C5B9A8\]:hover,
html[data-theme] .hover\:border-\[\#DDD5C9\]:hover,
html[data-theme] .focus\:border-\[\#705641\]:focus,
html[data-theme] .focus\:border-\[\#C25E2E\]:focus {
 border-color: var(--wby-border-strong) !important;
}
html[data-theme] .border-\[\#E8B878\]\/40 {
 border-color: rgba(255, 255, 255, 0.28) !important;
}
html[data-theme] .ring-\[\#705641\],
html[data-theme] .focus\:ring-\[\#705641\]:focus {
 --tw-ring-color: var(--wby-primary-bg) !important;
}
html[data-theme] .ring-\[\#FAF8F5\] {
 --tw-ring-color: var(--wby-surface) !important;
}
html[data-theme] .divide-\[\#F4ECE7\] > :not([hidden]) ~ :not([hidden]) {
 border-color: var(--wby-border) !important;
}
/* 保護甘特圖預約卡片的 4px 左側語意狀態色條不被通用 border-color 蓋掉 */
html[data-theme] .appointment-card.border-amber-500 {
 border-left-color: #F59E0B !important;
}
html[data-theme] .appointment-card.border-rose-500 {
 border-left-color: #F43F5E !important;
}
html[data-theme] .appointment-card.border-blue-500 {
 border-left-color: #3B82F6 !important;
}
html[data-theme] .appointment-card.border-emerald-600 {
 border-left-color: #10B981 !important;
}
/* ---------- 4. 文字階層中性化 ---------- */
html[data-theme] .text-\[\#2B2623\],
html[data-theme] .text-\[\#2A2522\],
html[data-theme] .text-\[\#3C3833\],
html[data-theme] .text-\[\#3E3832\],
html[data-theme] .hover\:text-\[\#2B2623\]:hover,
html[data-theme] .hover\:text-\[\#2A2522\]:hover,
html[data-theme] .group:hover .group-hover\:text-\[\#2B2623\],
html[data-theme] .group:hover .group-hover\:text-\[\#705641\] {
 color: var(--wby-text) !important;
}
/* 深色模式下贊助支持按鈕（側邊欄與官網）強制高對比純白字色，以及 USDT TRC-20 卡片翠綠高對比適配 */
html[data-theme="dark"] #sidebar-sponsor-btn,
html[data-theme="dark"] #sidebar-sponsor-btn span,
html[data-theme="dark"] #welcome-nav-sponsor-btn,
html[data-theme="dark"] #welcome-nav-sponsor-btn span,
html[data-theme="dark"] footer button:hover {
 color: #FFFFFF !important;
}
html[data-theme="dark"] footer button {
 color: #D4D4D8 !important;
}
html[data-theme="dark"] .text-\[\#0F766E\] {
 color: #6EE7B7 !important;
}
html[data-theme="dark"] .bg-\[\#ECFDF5\] {
 background-color: rgba(16, 185, 129, 0.16) !important;
}
html[data-theme="dark"] .border-\[\#A7F3D0\] {
 border-color: rgba(52, 211, 153, 0.38) !important;
}
html[data-theme] .text-\[\#5A4331\],
html[data-theme] .text-\[\#5D564C\],
html[data-theme] .text-\[\#6E655C\],
html[data-theme] .text-\[\#6E665F\],
html[data-theme] .text-\[\#705641\],
html[data-theme] .text-\[\#C25E2E\],
html[data-theme] .text-\[\#A65B32\],
html[data-theme] .hover\:text-\[\#5A4331\]:hover,
html[data-theme] .hover\:text-\[\#705641\]:hover,
html[data-theme] .hover\:text-\[\#C25E2E\]:hover {
 color: var(--wby-text-2) !important;
}
html[data-theme] .text-\[\#757872\],
html[data-theme] .text-\[\#7F776C\],
html[data-theme] .text-\[\#8C8479\],
html[data-theme] .text-\[\#999083\],
html[data-theme] .text-\[\#9A8F82\],
html[data-theme] .text-\[\#A39E93\],
html[data-theme] .text-\[\#B5ADA4\],
html[data-theme] .text-\[\#B8AFA4\],
html[data-theme] .text-\[\#B8AFA6\],
html[data-theme] .text-\[\#DDD5C9\] {
 color: var(--wby-text-muted) !important;
}
/* 深色橫幅、會員卡與吸底列內的舊版米黃/琥珀金文字轉為純淨銀白高對比色 */
html[data-theme] .text-\[\#E8B878\] {
 color: #F4F4F5 !important;
}
html[data-theme] .text-\[\#D8CFC6\],
html[data-theme] .text-\[\#EAE2D2\],
html[data-theme] .text-\[\#F5EFE8\],
html[data-theme] .bg-gradient-to-br .text-\[\#DDD5C9\],
html[data-theme="dark"] aside.fixed.bg-\[\#2B2623\] .text-\[\#DDD5C9\] {
 color: #D4D4D8 !important;
}
/* ---------- 5. 主行動按鈕 (CTA)、Logo 徽章與深色橫幅 ---------- */
/* 5A. 白色模式：曜石黑主按鈕 (#18181B) 配純白字 (#FFFFFF) */
html[data-theme="light"] .bg-\[\#705641\],
html[data-theme="light"] .bg-\[\#C25E2E\],
html[data-theme="light"] .bg-\[\#2B2623\],
html[data-theme="light"] .bg-\[\#423225\] {
 background-color: #18181B !important;
 color: #FFFFFF !important;
}
html[data-theme="light"] .bg-\[\#705641\] .text-\[\#FAF7F2\],
html[data-theme="light"] .bg-\[\#2B2623\] .text-\[\#FAF7F2\] {
 color: #FFFFFF !important;
}
html[data-theme="light"] .hover\:bg-\[\#5A4331\]:hover,
html[data-theme="light"] .hover\:bg-\[\#705641\]:hover,
html[data-theme="light"] .hover\:bg-\[\#A65B32\]:hover,
html[data-theme="light"] .hover\:bg-\[\#A64B20\]:hover,
html[data-theme="light"] .hover\:bg-\[\#A84F25\]:hover,
html[data-theme="light"] .hover\:bg-\[\#C25E2E\]:hover,
html[data-theme="light"] .hover\:bg-\[\#423225\]:hover {
 background-color: #27272A !important;
}
/* 報表長條圖在純白模式下區分主次色階 */
html[data-theme="light"] .h-full.rounded-full.bg-\[\#C25E2E\] {
 background-color: #52525B !important;
}
/* 白色模式下：預約頁吸底結帳列 (aside.fixed.bg-[#2B2623]) 改為純白浮動列，搭配曜石黑送出按鈕，徹底杜絕黑底黑按鈕同色 */
html[data-theme="light"] aside.fixed.bg-\[\#2B2623\] {
 background-color: rgba(255, 255, 255, 0.96) !important;
 color: #09090B !important;
 border-top-color: #E4E4E7 !important;
 box-shadow: 0 -4px 20px rgba(9, 9, 11, 0.08) !important;
}
html[data-theme="light"] aside.fixed.bg-\[\#2B2623\] #bar-summary-text {
 color: #09090B !important;
}
html[data-theme="light"] aside.fixed.bg-\[\#2B2623\] #bar-duration-badge {
 background-color: #F4F4F5 !important;
 color: #18181B !important;
 border: 1px solid #E4E4E7 !important;
}
html[data-theme="light"] aside.fixed.bg-\[\#2B2623\] #bar-price-total {
 color: #09090B !important;
}
html[data-theme="light"] aside.fixed.bg-\[\#2B2623\] .text-\[\#A39E93\],
html[data-theme="light"] aside.fixed.bg-\[\#2B2623\] .text-\[\#8C8479\] {
 color: #71717A !important;
}
/* 白色與深色模式下：深色漸層 Hero 與深色頂欄內部的 CTA 按鈕與圖示塊自動高對比反轉 */
html[data-theme] .bg-gradient-to-br.from-\[\#3D312A\] button.bg-\[\#C25E2E\],
html[data-theme] .bg-gradient-to-br.from-\[\#3A2E25\] button.bg-\[\#C25E2E\],
html[data-theme] .bg-gradient-to-br.from-\[\#2B2623\] button.bg-\[\#C25E2E\] {
 background-color: #FFFFFF !important;
 color: #09090B !important;
 border: 1px solid #FFFFFF !important;
}
html[data-theme] .bg-gradient-to-br.from-\[\#3D312A\] button.bg-\[\#C25E2E\] *,
html[data-theme] .bg-gradient-to-br.from-\[\#3A2E25\] button.bg-\[\#C25E2E\] *,
html[data-theme] .bg-gradient-to-br.from-\[\#2B2623\] button.bg-\[\#C25E2E\] * {
 color: #09090B !important;
}
/* 首頁主視覺橫幅「立即預約」專屬霧透毛玻璃膠囊按鈕 (Frosted Glassmorphism CTA) */
html[data-theme] button.wby-hero-frosted-btn {
 background-color: rgba(255, 255, 255, 0.22) !important;
 color: #FFFFFF !important;
 border: 1px solid rgba(255, 255, 255, 0.48) !important;
 -webkit-backdrop-filter: blur(14px) saturate(165%) !important;
 backdrop-filter: blur(14px) saturate(165%) !important;
 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme] button.wby-hero-frosted-btn:hover {
 background-color: rgba(255, 255, 255, 0.32) !important;
 border-color: rgba(255, 255, 255, 0.68) !important;
}
html[data-theme] button.wby-hero-frosted-btn * {
 color: #FFFFFF !important;
}
html[data-theme] header.bg-\[\#2B2623\] div.bg-\[\#C25E2E\] {
 background-color: #27272A !important;
 color: #FFFFFF !important;
 border: 1px solid #3F3F46 !important;
}
/* 5B. 深色模式：主互動按鈕為亮白 (#F4F4F5) 配深邃黑字 (#09090B)，容器與頂欄維持沉穩深灰 */
html[data-theme="dark"] button.bg-\[\#705641\],
html[data-theme="dark"] a.bg-\[\#705641\],
html[data-theme="dark"] button.bg-\[\#C25E2E\],
html[data-theme="dark"] a.bg-\[\#C25E2E\],
html[data-theme="dark"] button.bg-\[\#2B2623\],
html[data-theme="dark"] a.bg-\[\#2B2623\] {
 background-color: #F4F4F5 !important;
 color: #09090B !important;
 border-color: #F4F4F5 !important;
}
html[data-theme="dark"] button.bg-\[\#705641\] *,
html[data-theme="dark"] a.bg-\[\#705641\] *,
html[data-theme="dark"] button.bg-\[\#C25E2E\] *,
html[data-theme="dark"] a.bg-\[\#C25E2E\] *,
html[data-theme="dark"] button.bg-\[\#2B2623\] *,
html[data-theme="dark"] a.bg-\[\#2B2623\] * {
 color: #09090B !important;
}
html[data-theme="dark"] button.hover\:bg-\[\#5A4331\]:hover,
html[data-theme="dark"] a.hover\:bg-\[\#5A4331\]:hover,
html[data-theme="dark"] button.hover\:bg-\[\#A65B32\]:hover,
html[data-theme="dark"] a.hover\:bg-\[\#A65B32\]:hover,
html[data-theme="dark"] button.hover\:bg-\[\#A64B20\]:hover,
html[data-theme="dark"] a.hover\:bg-\[\#A64B20\]:hover,
html[data-theme="dark"] button.hover\:bg-\[\#A84F25\]:hover,
html[data-theme="dark"] a.hover\:bg-\[\#A84F25\]:hover,
html[data-theme="dark"] button.hover\:bg-\[\#423225\]:hover,
html[data-theme="dark"] a.hover\:bg-\[\#423225\]:hover {
 background-color: #E4E4E7 !important;
 color: #09090B !important;
}
/* 深色模式下的非按鈕品牌方塊、頂部橫幅與底部吸底結帳列 */
html[data-theme="dark"] header.bg-\[\#2B2623\] {
 background-color: #141417 !important;
 border-bottom: 1px solid #27272A !important;
 color: #F4F4F5 !important;
}
html[data-theme="dark"] aside.bg-\[\#2B2623\] {
 background-color: #141417 !important;
 border-top-color: #27272A !important;
 color: #F4F4F5 !important;
}
html[data-theme="dark"] div.bg-\[\#705641\]:not(.h-full),
html[data-theme="dark"] span.bg-\[\#705641\],
html[data-theme="dark"] div.bg-\[\#C25E2E\]:not(.h-full),
html[data-theme="dark"] span.bg-\[\#C25E2E\],
html[data-theme="dark"] div.bg-\[\#2B2623\]:not(.fixed),
html[data-theme="dark"] div.bg-\[\#423225\],
html[data-theme="dark"] span.bg-\[\#423225\] {
 background-color: #27272A !important;
 color: #F4F4F5 !important;
 border: 1px solid #3F3F46;
}
html[data-theme="dark"] div.bg-\[\#705641\] .text-\[\#FAF7F2\] {
 color: #F4F4F5 !important;
}
/* 深色模式報表長條圖 */
html[data-theme="dark"] .h-full.rounded-full.bg-\[\#705641\] {
 background-color: #F4F4F5 !important;
}
html[data-theme="dark"] .h-full.rounded-full.bg-\[\#C25E2E\] {
 background-color: #A1A1AA !important;
}
/* 彈窗半透明深黑遮罩 */
html[data-theme] .bg-\[\#2B2623\]\/80,
html[data-theme] .bg-\[\#2B2623\]\/85,
html[data-theme] .bg-\[\#2B2623\]\/95 {
 background-color: rgba(9, 9, 11, 0.72) !important;
}
/* ---------- 6. 表單控制項 (Input / Select / Textarea) ---------- */
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html[data-theme="light"] select,
html[data-theme="light"] textarea {
 background-color: #FFFFFF !important;
 color: #09090B !important;
 border-color: #D4D4D8 !important;
}
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
 border-color: #18181B !important;
 box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.08) !important;
}
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
 background-color: #18181B !important;
 color: #F4F4F5 !important;
 border-color: #3F3F46 !important;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
 color: #71717A !important;
}
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
 background-color: #202024 !important;
 border-color: #A1A1AA !important;
 box-shadow: 0 0 0 2px rgba(244, 244, 245, 0.12) !important;
}
/* 內嵌於外框容器中的無邊框透明輸入框（如首頁網址搶註框），貼合父容器底色 */
html[data-theme] input.bg-transparent {
 background-color: transparent !important;
 box-shadow: none !important;
}
/* ---------- 7. 手機預約頁 (/booking) 專屬互動卡片適配 ---------- */
html[data-theme="light"] .active-service-card,
html[data-theme="light"] .slot-active {
 background-color: #18181B !important;
 color: #FFFFFF !important;
 border-color: #18181B !important;
}
html[data-theme="light"] .active-service-card .service-subtext {
 color: #D4D4D8 !important;
}
html[data-theme="light"] .active-service-card .service-price {
 color: #FDE68A !important;
}
html[data-theme="light"] .active-designer-card,
html[data-theme="light"] .biz-type-card.active {
 background-color: #F4F4F5 !important;
 border-color: #18181B !important;
 box-shadow: 0 0 0 2px #18181B !important;
}
html[data-theme="light"] .slot-booked {
 background-color: #F4F4F5 !important;
 color: #A1A1AA !important;
 border-color: #E4E4E7 !important;
}
html[data-theme="dark"] .active-service-card,
html[data-theme="dark"] .slot-active {
 background-color: #F4F4F5 !important;
 color: #09090B !important;
 border-color: #F4F4F5 !important;
}
html[data-theme="dark"] .active-service-card *:not(.service-price) {
 color: #09090B !important;
}
html[data-theme="dark"] .active-service-card .service-subtext {
 color: #3F3F46 !important;
}
html[data-theme="dark"] .active-service-card .service-badge {
 background-color: rgba(9, 9, 11, 0.1) !important;
 border-color: rgba(9, 9, 11, 0.2) !important;
}
html[data-theme="dark"] .active-service-card .service-price {
 color: #B45309 !important;
}
html[data-theme="dark"] .active-designer-card,
html[data-theme="dark"] .biz-type-card.active {
 background-color: #27272A !important;
 border-color: #F4F4F5 !important;
 box-shadow: 0 0 0 2px #F4F4F5 !important;
}
html[data-theme="dark"] .slot-booked {
 background-color: #18181B !important;
 color: #52525B !important;
 border-color: #27272A !important;
}
/* ---------- 8. 深色模式下 Tailwind 標準柔和色塊與灰階自動適配 ---------- */
html[data-theme="dark"] .bg-gray-50,
html[data-theme="dark"] .bg-gray-50\/60,
html[data-theme="dark"] .bg-slate-50,
html[data-theme="dark"] .bg-stone-50,
html[data-theme="dark"] .bg-stone-50\/90,
html[data-theme="dark"] .bg-zinc-50 {
 background-color: #18181B !important;
}
html[data-theme="dark"] .bg-gray-100,
html[data-theme="dark"] .bg-slate-100,
html[data-theme="dark"] .bg-stone-100,
html[data-theme="dark"] .bg-stone-100\/40,
html[data-theme="dark"] .bg-zinc-100 {
 background-color: #202024 !important;
}
html[data-theme="dark"] .bg-gray-200,
html[data-theme="dark"] .bg-gray-300,
html[data-theme="dark"] .bg-stone-200,
html[data-theme="dark"] .bg-stone-300,
html[data-theme="dark"] .bg-stone-300\/80,
html[data-theme="dark"] .hover\:bg-gray-50:hover,
html[data-theme="dark"] .hover\:bg-gray-100:hover,
html[data-theme="dark"] .hover\:bg-stone-50:hover,
html[data-theme="dark"] .hover\:bg-stone-100:hover,
html[data-theme="dark"] .hover\:bg-stone-200:hover {
 background-color: #27272A !important;
}
html[data-theme="dark"] button.bg-stone-400 {
 background-color: #27272A !important;
 color: #A1A1AA !important;
 border: 1px solid #3F3F46 !important;
}
html[data-theme="dark"] .border-gray-100,
html[data-theme="dark"] .border-gray-200,
html[data-theme="dark"] .border-gray-300,
html[data-theme="dark"] .border-slate-200,
html[data-theme="dark"] .border-stone-200,
html[data-theme="dark"] .border-stone-200\/80,
html[data-theme="dark"] .border-stone-300,
html[data-theme="dark"] .divide-gray-100 > :not([hidden]) ~ :not([hidden]),
html[data-theme="dark"] .divide-gray-200 > :not([hidden]) ~ :not([hidden]),
html[data-theme="dark"] .divide-stone-100 > :not([hidden]) ~ :not([hidden]),
html[data-theme="dark"] .divide-stone-200 > :not([hidden]) ~ :not([hidden]) {
 border-color: #27272A !important;
}
html[data-theme="dark"] .text-gray-900,
html[data-theme="dark"] .text-gray-800,
html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .text-slate-800,
html[data-theme="dark"] .text-stone-900,
html[data-theme="dark"] .text-stone-800 {
 color: #F4F4F5 !important;
}
html[data-theme="dark"] .text-gray-700,
html[data-theme="dark"] .text-gray-600,
html[data-theme="dark"] .text-slate-700,
html[data-theme="dark"] .text-slate-600,
html[data-theme="dark"] .text-stone-700,
html[data-theme="dark"] .text-stone-600 {
 color: #D4D4D8 !important;
}
html[data-theme="dark"] .text-gray-500,
html[data-theme="dark"] .text-gray-400,
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-stone-500,
html[data-theme="dark"] .text-stone-400 {
 color: #A1A1AA !important;
}
/* 語意狀態色徽章深色玻璃化 (Emerald / Amber / Rose / Blue / Indigo / Purple 全階 -50/-100/-200 與 -600..-950) */
html[data-theme="dark"] .bg-emerald-50,
html[data-theme="dark"] .bg-emerald-50\/40,
html[data-theme="dark"] .bg-emerald-50\/70,
html[data-theme="dark"] .bg-emerald-100,
html[data-theme="dark"] .bg-emerald-200,
html[data-theme="dark"] .hover\:bg-emerald-50:hover,
html[data-theme="dark"] .hover\:bg-emerald-100:hover,
html[data-theme="dark"] .hover\:bg-emerald-200:hover,
html[data-theme="dark"] .bg-green-50,
html[data-theme="dark"] .bg-green-100,
html[data-theme="dark"] .bg-green-200,
html[data-theme="dark"] .bg-teal-50,
html[data-theme="dark"] .bg-teal-100,
html[data-theme="dark"] .bg-teal-200,
html[data-theme="dark"] .hover\:bg-teal-100:hover {
 background-color: rgba(16, 185, 129, 0.16) !important;
}
html[data-theme="dark"] .border-emerald-100,
html[data-theme="dark"] .border-emerald-200,
html[data-theme="dark"] .border-emerald-200\/80,
html[data-theme="dark"] .border-emerald-300,
html[data-theme="dark"] .border-green-200,
html[data-theme="dark"] .border-teal-200 {
 border-color: rgba(16, 185, 129, 0.36) !important;
}
html[data-theme="dark"] .text-\[\#1B4332\],
html[data-theme="dark"] .text-\[\#40916C\],
html[data-theme="dark"] .text-emerald-950,
html[data-theme="dark"] .text-emerald-900,
html[data-theme="dark"] .text-emerald-800,
html[data-theme="dark"] .text-emerald-700,
html[data-theme="dark"] .text-emerald-600,
html[data-theme="dark"] .text-green-950,
html[data-theme="dark"] .text-green-900,
html[data-theme="dark"] .text-green-800,
html[data-theme="dark"] .text-green-700,
html[data-theme="dark"] .text-teal-950,
html[data-theme="dark"] .text-teal-900,
html[data-theme="dark"] .text-teal-800,
html[data-theme="dark"] .text-teal-700 {
 color: #6EE7B7 !important;
}
html[data-theme="dark"] .bg-amber-50,
html[data-theme="dark"] .bg-amber-50\/40,
html[data-theme="dark"] .bg-amber-50\/60,
html[data-theme="dark"] .bg-amber-50\/70,
html[data-theme="dark"] .bg-amber-50\/75,
html[data-theme="dark"] .bg-amber-100,
html[data-theme="dark"] .bg-amber-100\/90,
html[data-theme="dark"] .bg-amber-200,
html[data-theme="dark"] .bg-amber-200\/90,
html[data-theme="dark"] .hover\:bg-amber-50:hover,
html[data-theme="dark"] .hover\:bg-amber-100:hover,
html[data-theme="dark"] .hover\:bg-amber-100\/80:hover,
html[data-theme="dark"] .hover\:bg-amber-200:hover,
html[data-theme="dark"] .hover\:bg-amber-300:hover,
html[data-theme="dark"] .bg-yellow-50,
html[data-theme="dark"] .bg-yellow-100,
html[data-theme="dark"] .bg-yellow-200 {
 background-color: rgba(245, 158, 11, 0.16) !important;
}
html[data-theme="dark"] .border-amber-100,
html[data-theme="dark"] .border-amber-200,
html[data-theme="dark"] .border-amber-200\/80,
html[data-theme="dark"] .border-amber-200\/90,
html[data-theme="dark"] .border-amber-300 {
 border-color: rgba(245, 158, 11, 0.36) !important;
}
html[data-theme="dark"] .text-amber-950,
html[data-theme="dark"] .text-amber-900,
html[data-theme="dark"] .text-amber-800,
html[data-theme="dark"] .text-amber-800\/80,
html[data-theme="dark"] .text-amber-700,
html[data-theme="dark"] .text-amber-600 {
 color: #FCD34D !important;
}
html[data-theme="dark"] .bg-rose-50,
html[data-theme="dark"] .bg-rose-50\/40,
html[data-theme="dark"] .bg-rose-50\/60,
html[data-theme="dark"] .bg-rose-50\/70,
html[data-theme="dark"] .bg-rose-100,
html[data-theme="dark"] .bg-rose-100\/80,
html[data-theme="dark"] .bg-rose-200,
html[data-theme="dark"] .hover\:bg-rose-50:hover,
html[data-theme="dark"] .hover\:bg-rose-100:hover,
html[data-theme="dark"] .hover\:bg-rose-200:hover,
html[data-theme="dark"] .bg-red-50,
html[data-theme="dark"] .bg-red-100,
html[data-theme="dark"] .bg-red-200 {
 background-color: rgba(244, 63, 94, 0.16) !important;
}
html[data-theme="dark"] .border-rose-100,
html[data-theme="dark"] .border-rose-200,
html[data-theme="dark"] .border-rose-200\/80,
html[data-theme="dark"] .border-rose-300,
html[data-theme="dark"] .border-red-200,
html[data-theme="dark"] .border-red-300 {
 border-color: rgba(244, 63, 94, 0.36) !important;
}
html[data-theme="dark"] .text-rose-950,
html[data-theme="dark"] .text-rose-900,
html[data-theme="dark"] .text-rose-800,
html[data-theme="dark"] .text-rose-700,
html[data-theme="dark"] .text-rose-600,
html[data-theme="dark"] .text-red-950,
html[data-theme="dark"] .text-red-900,
html[data-theme="dark"] .text-red-800,
html[data-theme="dark"] .text-red-700,
html[data-theme="dark"] .text-red-600 {
 color: #FDA4AF !important;
}
html[data-theme="dark"] .bg-blue-50,
html[data-theme="dark"] .bg-blue-50\/40,
html[data-theme="dark"] .bg-blue-50\/70,
html[data-theme="dark"] .bg-blue-100,
html[data-theme="dark"] .bg-blue-200,
html[data-theme="dark"] .hover\:bg-blue-50:hover,
html[data-theme="dark"] .hover\:bg-blue-100:hover,
html[data-theme="dark"] .hover\:bg-blue-200:hover,
html[data-theme="dark"] .bg-sky-50,
html[data-theme="dark"] .bg-sky-100,
html[data-theme="dark"] .bg-sky-200,
html[data-theme="dark"] .hover\:bg-sky-50:hover,
html[data-theme="dark"] .bg-indigo-50,
html[data-theme="dark"] .bg-indigo-50\/60,
html[data-theme="dark"] .bg-indigo-100,
html[data-theme="dark"] .bg-indigo-200,
html[data-theme="dark"] .hover\:bg-indigo-100:hover {
 background-color: rgba(59, 130, 246, 0.16) !important;
}
html[data-theme="dark"] .border-blue-100,
html[data-theme="dark"] .border-blue-200,
html[data-theme="dark"] .border-blue-300,
html[data-theme="dark"] .border-sky-200,
html[data-theme="dark"] .border-indigo-200 {
 border-color: rgba(59, 130, 246, 0.36) !important;
}
html[data-theme="dark"] .text-blue-950,
html[data-theme="dark"] .text-blue-900,
html[data-theme="dark"] .text-blue-800,
html[data-theme="dark"] .text-blue-700,
html[data-theme="dark"] .text-blue-600,
html[data-theme="dark"] .text-sky-950,
html[data-theme="dark"] .text-sky-900,
html[data-theme="dark"] .text-sky-800,
html[data-theme="dark"] .text-sky-700,
html[data-theme="dark"] .text-sky-600,
html[data-theme="dark"] .text-indigo-950,
html[data-theme="dark"] .text-indigo-900,
html[data-theme="dark"] .text-indigo-800,
html[data-theme="dark"] .text-indigo-700,
html[data-theme="dark"] .text-indigo-600 {
 color: #93C5FD !important;
}
html[data-theme="dark"] .bg-purple-50,
html[data-theme="dark"] .bg-purple-100,
html[data-theme="dark"] .bg-purple-200,
html[data-theme="dark"] .bg-purple-200\/80,
html[data-theme="dark"] .hover\:bg-purple-100:hover,
html[data-theme="dark"] .hover\:bg-purple-200:hover,
html[data-theme="dark"] .bg-violet-50,
html[data-theme="dark"] .bg-violet-100,
html[data-theme="dark"] .bg-violet-200 {
 background-color: rgba(168, 85, 247, 0.16) !important;
}
html[data-theme="dark"] .border-purple-100,
html[data-theme="dark"] .border-purple-200,
html[data-theme="dark"] .border-purple-300,
html[data-theme="dark"] .border-violet-200 {
 border-color: rgba(168, 85, 247, 0.36) !important;
}
html[data-theme="dark"] .text-purple-950,
html[data-theme="dark"] .text-purple-900,
html[data-theme="dark"] .text-purple-800,
html[data-theme="dark"] .text-purple-700,
html[data-theme="dark"] .text-purple-600,
html[data-theme="dark"] .text-violet-950,
html[data-theme="dark"] .text-violet-900,
html[data-theme="dark"] .text-violet-800,
html[data-theme="dark"] .text-violet-700,
html[data-theme="dark"] .text-violet-600 {
 color: #D8B4FE !important;
}
/* 甘特圖絕對定位預約卡片在深色模式下使用不透明深色底，避免背後虛線干擾文字 */
html[data-theme="dark"] .appointment-card {
 background-color: #1B1B20 !important;
}
html[data-theme="dark"] .appointment-card.border-rose-500 {
 background-color: #24161B !important;
}
html[data-theme="dark"] .appointment-card.border-blue-500 {
 background-color: #151E2B !important;
}
html[data-theme="dark"] .appointment-card.border-emerald-600 {
 background-color: #13221C !important;
}
/* ---------- 9. QR Code 掃描白底保護 ---------- */
html[data-theme="dark"] img[src*="qr"],
html[data-theme="dark"] img[alt*="QR"],
html[data-theme="dark"] .wby-qr-frame {
 background-color: #FFFFFF !important;
}
/* ---------- 10. 設定中心「介面外觀主題切換器」元件專屬樣式 ---------- */
.wby-theme-opt-btn {
 background-color: var(--wby-surface-2);
 border: 1.5px solid var(--wby-border);
 color: var(--wby-text-2);
 transition: all 0.16s ease;
}
.wby-theme-opt-btn:hover {
 border-color: var(--wby-border-strong);
 background-color: var(--wby-surface-3);
 color: var(--wby-text);
}
.wby-theme-opt-btn.wby-theme-opt-active {
 background-color: var(--wby-surface);
 border-color: var(--wby-primary-bg) !important;
 color: var(--wby-text) !important;
 box-shadow: 0 0 0 1px var(--wby-primary-bg), 0 4px 14px rgba(0, 0, 0, 0.08);
}
html[data-theme="dark"] .wby-theme-opt-btn.wby-theme-opt-active {
 background-color: #202025;
 box-shadow: 0 0 0 1px #F4F4F5, 0 6px 18px rgba(0, 0, 0, 0.4);
}
/* ---------- 11. 預約頁服務卡片、設計師卡片與時段格選中態高對比保護 ---------- */
html[data-theme] .active-service-card {
 background-color: var(--wby-primary-bg) !important;
 color: var(--wby-primary-fg) !important;
 border-color: var(--wby-primary-bg) !important;
}
html[data-theme] .active-service-card .service-subtext,
html[data-theme] .active-service-card .service-price,
html[data-theme] .active-service-card .material-symbols-outlined,
html[data-theme] .active-service-card span {
 color: var(--wby-primary-fg) !important;
}
html[data-theme] .active-service-card .service-badge {
 background-color: rgba(128, 128, 128, 0.22) !important;
 border-color: rgba(128, 128, 128, 0.35) !important;
}
html[data-theme] .active-designer-card {
 border-color: var(--wby-primary-bg) !important;
 background-color: var(--wby-surface-2) !important;
 box-shadow: 0 0 0 2px var(--wby-primary-bg) !important;
}
html[data-theme] .slot-active,
html[data-theme] .active-offday-pill {
 background-color: var(--wby-primary-bg) !important;
 color: var(--wby-primary-fg) !important;
 border-color: var(--wby-primary-bg) !important;
}
html[data-theme] .slot-booked {
 background-color: var(--wby-surface-3) !important;
 color: var(--wby-text-muted) !important;
 border-color: var(--wby-border) !important;
}
/* ---------- 12. 全站右上方 10 國語言切換器 (#wby-lang-switcher) ---------- */
.wby-lang-trigger-btn {
 display: inline-flex;
 align-items: center;
 gap: 5px;
 padding: 6px 11px;
 border-radius: 9999px;
 background-color: var(--wby-surface);
 border: 1px solid var(--wby-border-strong);
 color: var(--wby-text);
 font-size: 12px;
 font-weight: 700;
 line-height: 1.2;
 cursor: pointer;
 white-space: nowrap;
 flex-shrink: 0;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
 transition: all 0.16s ease;
 user-select: none;
}
.wby-lang-trigger-btn:hover {
 background-color: var(--wby-surface-2);
 border-color: var(--wby-primary-bg);
}
.wby-lang-floating-wrap {
 position: fixed;
 top: 12px;
 right: 14px;
 z-index: 9990;
}
#wby-lang-dropdown {
 position: fixed;
 z-index: 99999;
 width: 316px;
 max-width: calc(100vw - 24px);
 background-color: var(--wby-surface);
 border: 1px solid var(--wby-border-strong);
 border-radius: 16px;
 padding: 10px;
 box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
 color: var(--wby-text);
}
html[data-theme="dark"] #wby-lang-dropdown {
 box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}
.wby-lang-opt-item {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
 padding: 7px 10px;
 border-radius: 10px;
 font-size: 12px;
 font-weight: 600;
 color: var(--wby-text-2);
 background: transparent;
 border: 1px solid transparent;
 cursor: pointer;
 text-align: left;
 transition: all 0.14s ease;
}
.wby-lang-opt-item:hover {
 background-color: var(--wby-surface-2);
 color: var(--wby-text);
}
.wby-lang-opt-item.active {
 background-color: var(--wby-surface-2);
 border-color: var(--wby-primary-bg);
 color: var(--wby-text);
 font-weight: 800;
}
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-gadget-icon,
.goog-tooltip {
 display: none !important;
 visibility: hidden !important;
}
body {
 top: 0px !important;
}
font {
 background-color: transparent !important;
 box-shadow: none !important;
}
/* ---------- 13. RWD 行動裝置動態視口與 PWA 獨立視窗安全區域 (Safe-Area Insets) ---------- */
button,
a,
[role="button"],
summary,
label {
 touch-action: manipulation;
 -webkit-tap-highlight-color: transparent;
}
@supports (height: 100dvh) {
 body.h-screen {
 height: 100dvh;
 }
 body.min-h-screen {
 min-height: 100dvh;
 }
}
@media all and (display-mode: standalone) {
 .pwa-hide-when-standalone {
 display: none !important;
 }
 body > header.h-14 {
 padding-top: env(safe-area-inset-top, 0px) !important;
 height: calc(56px + env(safe-area-inset-top, 0px)) !important;
 padding-left: max(12px, env(safe-area-inset-left, 0px));
 padding-right: max(12px, env(safe-area-inset-right, 0px));
 }
 body > header:not(.h-14) {
 padding-top: env(safe-area-inset-top, 0px);
 }
 #app-sidebar,
 #appointment-detail-drawer,
 #customer-detail-drawer {
 padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
 }
 #lulu-line-top-bar-core {
 padding-top: env(safe-area-inset-top, 0px) !important;
 }
 #lulu-line-bottom-nav {
 padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
 }
 #lulu-booking-tally-bar {
 bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
 }
 .wby-lang-floating-wrap {
 top: calc(12px + env(safe-area-inset-top, 0px));
 right: calc(14px + env(safe-area-inset-right, 0px));
 }
}
/* 針對 iOS Safari 舊版 navigator.standalone 屬性同步保底 */
html[data-wby-standalone="1"] .pwa-hide-when-standalone {
 display: none !important;
}
html[data-wby-standalone="1"] body > header.h-14 {
 padding-top: env(safe-area-inset-top, 0px) !important;
 height: calc(56px + env(safe-area-inset-top, 0px)) !important;
}
html[data-wby-standalone="1"] body > header:not(.h-14) {
 padding-top: env(safe-area-inset-top, 0px);
}
html[data-wby-standalone="1"] #lulu-line-top-bar-core {
 padding-top: env(safe-area-inset-top, 0px) !important;
}
html[data-wby-standalone="1"] #lulu-line-bottom-nav {
 padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
}
html[data-wby-standalone="1"] #lulu-booking-tally-bar {
 bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
}
html[data-wby-standalone="1"] .wby-lang-floating-wrap {
 top: calc(12px + env(safe-area-inset-top, 0px));
 right: calc(14px + env(safe-area-inset-right, 0px));
}
@media all and (display-mode: standalone) and (max-height: 540px) {
 body > header.h-14 {
 height: calc(44px + env(safe-area-inset-top, 0px)) !important;
 }
}
/* PWA 即時離線狀態膠囊提示列 */
#wby-pwa-offline-bar {
 position: fixed;
 top: calc(10px + env(safe-area-inset-top, 0px));
 left: 50%;
 transform: translateX(-50%);
 z-index: 100000;
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 7px 16px;
 border-radius: 9999px;
 background: #18181B;
 color: #FAFAFA;
 border: 1px solid rgba(255, 255, 255, 0.16);
 font-size: 12px;
 font-weight: 700;
 box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
 pointer-events: none;
 max-width: calc(100vw - 24px);
 white-space: nowrap;
}
html[data-theme="dark"] #wby-pwa-offline-bar {
 background: #27272A;
 border-color: #3F3F46;
}
/* PWA 跨平台安裝指引彈窗 */
#wby-pwa-install-modal {
 position: fixed;
 inset: 0;
 z-index: 100010;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 16px;
 background: var(--wby-backdrop, rgba(9, 9, 11, 0.52));
 backdrop-filter: blur(4px);
}
#wby-pwa-install-modal.hidden {
 display: none !important;
}
.wby-pwa-modal-card {
 width: 100%;
 max-width: 420px;
 background: var(--wby-surface, #FFFFFF);
 color: var(--wby-text, #09090B);
 border: 1px solid var(--wby-border, #E4E4E7);
 border-radius: 24px;
 padding: 22px 20px;
 box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}
.wby-pwa-step-item {
 display: flex;
 align-items: flex-start;
 gap: 11px;
 padding: 11px 12px;
 border-radius: 16px;
 background: var(--wby-surface-2, #F4F4F5);
 border: 1px solid var(--wby-border, #E4E4E7);
}
.wby-pwa-step-num {
 width: 22px;
 height: 22px;
 border-radius: 9999px;
 background: var(--wby-primary-bg, #18181B);
 color: var(--wby-primary-fg, #FFFFFF);
 font-size: 11px;
 font-weight: 800;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 margin-top: 1px;
}
