/* Hourcrest 客人預約頁（v7 設計）：精品 luxe（依時段：夜晚深色／清晨午後黃昏淺色）、韓系清新 korean、極簡個性 barber。同一套版面只換變數 */
:root, [data-theme="luxe"] {
  color-scheme: dark;
  --bg: #0E1320; --surface: #161D2E; --field: #121827; --sunk: #1B2335;
  --ink: #F3EADB; --ink-2: #C2B8A6; --ink-3: #9D9483;
  --line: #262E42; --line-2: #3A4359;
  --accent: #D6B67C; --on-accent: #14181F; --accent-soft: rgba(214,182,124,.14);
  --cta: #D6B67C; --on-cta: #14181F;
  --ok: #9FD3B1; --err: #F2A7A0;
  --f-display: "Cormorant Garamond", "Noto Serif TC", "Noto Serif CJK TC", serif;
  --f-head: "Noto Serif TC", "Noto Serif CJK TC", serif;
  --f-body: Jost, "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
  --f-num: "Cormorant Garamond", "Noto Serif TC", "Noto Serif CJK TC", serif;
  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-pill: 999px;
}
[data-theme="korean"] {
  color-scheme: light;
  --bg: #FFF5F1; --surface: #FFFFFF; --field: #FFFFFF; --sunk: #FCEBE6;
  --ink: #3A2629; --ink-2: #765F62; --ink-3: #765F62;
  --line: #F4E1DC; --line-2: #EBCFC9;
  --accent: #B03C55; --on-accent: #FFFFFF; --accent-soft: #FFE3E7;
  --cta: #B03C55; --on-cta: #FFFFFF;
  --mint: #DDF0E4; --mint-ink: #2F6A4A;
  --ok: #2F6A4A; --err: #B3261E;
  --f-display: Nunito, "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
  --f-head: Nunito, "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
  --f-body: Nunito, "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
  --f-num: Nunito, "Noto Sans TC", sans-serif;
  --r-sm: 14px; --r-md: 22px; --r-lg: 32px; --r-pill: 999px;
}

/* ---------- 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; letter-spacing: .02em; line-break: strict; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.nw { white-space: nowrap; }
.num { font-variant-numeric: lining-nums tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { flex-shrink: 0; }

/* ---------- 頂部 ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }

.top-in { height: 60px; max-width: 1200px; margin: 0 auto; padding: 0 12px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.brand { justify-self: center; text-decoration: none; font-family: var(--f-display); font-size: 20px; line-height: 1; white-space: nowrap; }
[data-theme="luxe"] .brand { letter-spacing: .28em; padding-left: .28em; font-weight: 500; }
[data-theme="korean"] .brand { font-weight: 900; letter-spacing: .02em; }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--sunk); }
.icon-btn .dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); display: none; }
.has-booking .icon-btn .dot { display: block; }

/* 風格預覽（設計稿用，正式頁只在示範店出現） */
.preview { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; justify-content: center; }
[data-theme="luxe"] .preview { position: absolute; left: 0; right: 0; top: 60px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--sunk); border-radius: var(--r-pill); }
[data-theme="luxe"] .seg { background: rgba(14,19,32,.55); border: 1px solid rgba(243,234,219,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.seg button { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; color: var(--ink-2); font-weight: 500; white-space: nowrap; font-family: "Noto Sans TC", "Noto Sans CJK TC", sans-serif; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- 版面 ---------- */
.page { max-width: 1200px; margin: 0 auto; padding-bottom: 150px; }
.flow { padding: 0 20px; }
@media (min-width: 960px) {
  .page { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 72px; padding: 0 40px 150px; align-items: start; }
  .intro { position: sticky; top: 76px; }
  .flow { padding: 0; max-width: 640px; }
}
[data-theme="luxe"] .page { max-width: none; }
@media (min-width: 960px) {
  [data-theme="luxe"] .page { grid-template-columns: minmax(440px, 44%) minmax(0, 1fr); padding: 0 48px 150px 0; gap: 72px; }
  [data-theme="luxe"] .intro { top: 60px; }
  [data-theme="luxe"] .preview { right: auto; width: max(440px, calc((100vw - 48px) * .44)); }
  [data-theme="luxe"] .bar { left: max(440px, calc((100vw - 48px) * .44)); }
  .flow { padding-top: 24px; }
}

/* =========================================================
   開頭：店家介紹
   ========================================================= */
.intro { padding: 16px 20px 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-in { position: relative; z-index: 1; }
.sky-cv, .sky-fade, .greet, .mono, .tips, .sky-hz, .pebbles { display: none; }
.shop { font-family: var(--f-display); line-height: 1.05; }
.shop-zh { margin-top: 8px; }
.artist { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.artist strong { color: var(--ink); font-weight: 500; font-size: 17px; }
.artist-sub { display: block; margin-top: 2px; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { font-size: 14px; line-height: 1; padding: 10px 14px; white-space: nowrap; }
.today { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; text-align: left; }
.today-k { font-size: 14px; color: var(--ink-2); }
.today-v { font-family: var(--f-num); font-size: 24px; font-weight: 600; line-height: 1.25; margin-top: 2px; white-space: nowrap; }
.go { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .08em; background: var(--cta); color: var(--on-cta); border-radius: var(--r-pill); }
.facts { margin-top: 18px; }
.facts > div { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.facts > div:first-child { border-top: 0; }
.facts svg { margin-top: 3px; color: var(--accent); }
.facts a { color: var(--ink); text-underline-offset: 4px; }
.state { color: var(--ink); font-weight: 600; }
.state.is-open { color: var(--ok); }

/* ---------- 精品・夜海：海面天色全幅開頭 ---------- */
[data-theme="luxe"] .intro { padding: 0; }
[data-theme="luxe"] .hero { min-height: 600px; margin-top: -1px; padding: 92px 24px 34px; text-align: center; color: var(--sky-ink, #F3EADB); background: var(--sky-bg, linear-gradient(180deg,#0B0E18 0%,#1C2030 60%,#10131A 100%)); display: flex; flex-direction: column; }
@media (min-width: 960px) { [data-theme="luxe"] .hero { min-height: calc(100vh - 60px); height: calc(100vh - 60px); padding: 96px 40px 40px; } }
[data-theme="luxe"] .sky-cv { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
[data-theme="luxe"] .sky-fade { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(14,19,32,0), var(--bg)); }
[data-theme="luxe"] .hero-in { flex: 1; display: flex; flex-direction: column; max-width: 420px; width: 100%; margin: 0 auto; }
[data-theme="luxe"] .mono { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #F6EEDF; color: #14181F; font-family: var(--f-display); font-size: 38px; font-weight: 500; box-shadow: 0 0 0 1px rgba(214,182,124,.7), 0 0 0 7px rgba(214,182,124,.12), 0 18px 40px -16px rgba(0,0,0,.7); }
[data-theme="luxe"] .greet { display: block; font-size: 14px; letter-spacing: .2em; padding-left: .2em; color: var(--sky-sub, #D9CCB8); min-height: 22px; }
[data-theme="luxe"] .shop { font-size: 50px; font-weight: 500; letter-spacing: .04em; margin-top: 4px; }
[data-theme="luxe"] .shop-zh { font-family: var(--f-head); font-size: 16px; letter-spacing: .6em; padding-left: .6em; color: var(--sky-sub, #D9CCB8); }
[data-theme="luxe"] .artist { color: var(--sky-sub, #D9CCB8); margin-top: 20px; }
[data-theme="luxe"] .artist strong { color: var(--sky-ink, #F3EADB); }
[data-theme="luxe"] .tags { justify-content: center; gap: 4px 18px; }
[data-theme="luxe"] .tags li { padding: 4px 0; color: var(--sky-sub, #D9CCB8); font-size: 14px; letter-spacing: .1em; }
[data-theme="luxe"] .sky-hz { display: block; height: 1px; margin-top: 26px; }
[data-theme="luxe"] .today { margin-top: auto; padding: 16px 16px 16px 20px; border-radius: 16px; background: rgba(12,16,27,.62); border: 1px solid rgba(214,182,124,.32); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); color: #F3EADB; }
[data-theme="luxe"] .today-k { color: #D9CCB8; }
[data-theme="luxe"] .today-v { font-size: 27px; }
[data-theme="luxe"] .go { letter-spacing: .16em; padding: 0 22px 0 26px; box-shadow: 0 10px 28px -12px rgba(214,182,124,.7); }
[data-theme="luxe"] .hero .shop, [data-theme="luxe"] .hero .greet, [data-theme="luxe"] .hero .shop-zh, [data-theme="luxe"] .hero .artist, [data-theme="luxe"] .hero .tags { text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 1px 14px rgba(0,0,0,.55); }
[data-theme="luxe"] .facts { margin: 0; padding: 8px 20px 0; }
@media (min-width: 960px) { [data-theme="luxe"] .facts { position: absolute; left: 40px; right: 40px; bottom: 132px; display: none; } }
.sky-first .mono, .sky-first .greet, .sky-first .shop, .sky-first .shop-zh { animation: rise 1.4s cubic-bezier(.22,.8,.2,1) both; }
.sky-first .greet { animation-delay: .15s; } .sky-first .shop { animation-delay: .3s; } .sky-first .shop-zh { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 韓系・果凍色票 ---------- */
[data-theme="korean"] .hero { text-align: center; padding: 30px 22px 22px; background: #FFFFFF; border-radius: var(--r-lg); box-shadow: 0 24px 50px -36px rgba(189,68,92,.55); }
[data-theme="korean"] .tips { display: flex; justify-content: center; align-items: flex-end; gap: 10px; height: 92px; margin-bottom: 4px; }
[data-theme="korean"] .tips li { width: 40px; border-radius: 20px 20px 12px 12px; position: relative; box-shadow: inset 0 -10px 14px -10px rgba(58,38,41,.28), 0 10px 18px -12px rgba(58,38,41,.45); }
[data-theme="korean"] .tips li::after { content: ""; position: absolute; left: 9px; top: 9px; width: 8px; height: 22px; border-radius: 8px; background: rgba(255,255,255,.55); }
[data-theme="korean"] .tips li:nth-child(1) { height: 62px; transform: rotate(-8deg); }
[data-theme="korean"] .tips li:nth-child(2) { height: 76px; transform: rotate(-4deg); }
[data-theme="korean"] .tips li:nth-child(3) { height: 88px; }
[data-theme="korean"] .tips li:nth-child(4) { height: 76px; transform: rotate(4deg); }
[data-theme="korean"] .tips li:nth-child(5) { height: 62px; transform: rotate(8deg); }
[data-theme="korean"] .tips-cap { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.tips-cap { display: none; }
[data-theme="korean"] .shop { font-size: 38px; font-weight: 900; letter-spacing: -.01em; }
[data-theme="korean"] .shop-zh { font-size: 16px; font-weight: 700; color: var(--accent); letter-spacing: .3em; padding-left: .3em; }
[data-theme="korean"] .tags { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; }
[data-theme="korean"] .tags li { text-align: center; }
[data-theme="korean"] .tags li { background: var(--accent-soft); color: #8E2F43; font-weight: 700; border-radius: var(--r-pill); }
[data-theme="korean"] .today { margin-top: 20px; padding: 14px 14px 14px 18px; background: var(--mint); border-radius: 22px; }
[data-theme="korean"] .today-k { color: var(--mint-ink); font-weight: 700; }
[data-theme="korean"] .today-v { color: #20382A; font-weight: 800; }
[data-theme="korean"] .go { font-weight: 800; letter-spacing: .04em; box-shadow: 0 10px 20px -12px rgba(189,68,92,.8); }
[data-theme="korean"] .facts { padding: 4px 6px 0; }


















/* =========================================================
   預約流程
   ========================================================= */
.step { padding-top: 44px; }
.step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-n { flex: none; display: grid; place-items: center; font-family: var(--f-num); font-weight: 600; }
.step-t { font-family: var(--f-head); line-height: 1.3; }
.step-s { margin-left: auto; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.step.locked .step-body { opacity: .6; pointer-events: none; }

[data-theme="luxe"] .step-n { display: none; }
[data-theme="luxe"] .step-h { gap: 16px; }
[data-theme="luxe"] .step-t { font-size: 22px; font-weight: 500; letter-spacing: .24em; white-space: nowrap; }
[data-theme="luxe"] .step-h::after { content: ""; order: 2; flex: 1; height: 1px; min-width: 24px; background: linear-gradient(90deg, rgba(214,182,124,.7), rgba(214,182,124,0)); }
[data-theme="luxe"] .step-s { order: 3; margin-left: 0; }
[data-theme="korean"] .step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 900; font-size: 17px; }
[data-theme="korean"] .step.done .step-n { background: var(--accent); color: #fff; }
[data-theme="korean"] .step-t { font-size: 23px; font-weight: 900; }





/* 服務分類 */
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 16px; margin: 0 -20px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .cats { margin: 0; padding: 2px 0 16px; flex-wrap: wrap; } }
.cat { flex: none; min-height: 42px; padding: 0 18px; font-size: 15px; white-space: nowrap; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--ink-2); background: var(--surface); }
.cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
[data-theme="luxe"] .cat { background: transparent; }
[data-theme="luxe"] .cat[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
[data-theme="korean"] .cat { border-color: var(--line-2); font-weight: 700; }
[data-theme="korean"] .cat[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }



/* 服務項目 */
.group + .group { margin-top: 28px; }
.group-t { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; font-size: 15px; color: var(--ink-2); }
.svc { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; text-align: left; padding: 16px 14px; transition: background-color .2s, border-color .2s; }
.svc-n { font-size: 17px; font-weight: 500; line-height: 1.45; }
.price { grid-column: 2; grid-row: 1; justify-self: end; font-family: var(--f-num); font-size: 20px; font-weight: 600; white-space: nowrap; line-height: 1.3; }
.price small { font-family: var(--f-body); font-size: 12px; font-weight: 400; color: var(--ink-2); margin-left: 2px; }
.svc-d { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.svc-meta { grid-column: 1; align-self: center; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-top: 4px; }
.pick { grid-column: 2; grid-row: 3; justify-self: end; align-self: center; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; transition: .2s; margin-top: 4px; }
.svc[aria-pressed="true"] .pick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.note { margin-top: 16px; font-size: 14px; color: var(--ink-2); display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.note svg { margin-top: 3px; }

[data-theme="luxe"] .group-t { letter-spacing: .2em; color: var(--accent); font-family: var(--f-head); }
[data-theme="luxe"] .group-t span:last-child { color: var(--ink-3); letter-spacing: .04em; font-family: var(--f-body); font-size: 13px; }
[data-theme="luxe"] .list { border-top: 1px solid var(--line-2); }
[data-theme="luxe"] .svc { margin: 0 -14px; width: calc(100% + 28px); border-radius: 8px; }
[data-theme="luxe"] .svc::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: var(--line); }
[data-theme="luxe"] .svc[aria-pressed="true"] { background: var(--accent-soft); }
[data-theme="luxe"] .svc[aria-pressed="true"]::after { opacity: 0; }
[data-theme="luxe"] .svc[aria-pressed="true"] .svc-n { color: var(--accent); }
[data-theme="luxe"] .price { font-size: 23px; font-weight: 500; }

[data-theme="korean"] .group-t { font-weight: 800; color: var(--ink); font-size: 16px; }
[data-theme="korean"] .group-t span:last-child { color: var(--ink-2); font-weight: 600; font-size: 14px; }
[data-theme="korean"] .list { display: grid; gap: 10px; }
[data-theme="korean"] .svc { background: #fff; border: 2px solid transparent; border-radius: var(--r-md); padding: 16px 18px; box-shadow: 0 10px 24px -20px rgba(58,38,41,.5); }
[data-theme="korean"] .svc-n { font-weight: 800; }
[data-theme="korean"] .svc[aria-pressed="true"] { border-color: var(--accent); background: #FFF7F8; }
[data-theme="korean"] .pick { border-radius: 12px; }
[data-theme="korean"] .price { font-weight: 800; }













/* 日期 */
.month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.month b { font-family: var(--f-head); font-weight: 500; font-size: 17px; }
[data-theme="korean"] .month b { font-weight: 800; }

.month-nav { display: flex; gap: 4px; }
.month-nav button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); }
.month-nav button:hover:not(:disabled) { background: var(--sunk); }
.month-nav button:disabled { opacity: .3; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.day { min-width: 0; width: 100%; white-space: nowrap; min-height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: var(--r-sm); border: 1px solid transparent; }
.day .w { font-size: 12px; color: var(--ink-2); }
.day .d { font-family: var(--f-num); font-size: 21px; font-weight: 600; line-height: 1.15; }
.day .s { font-size: 11px; color: var(--ink-2); line-height: 1.2; }
.day.is-today .w { color: var(--ink); font-weight: 700; }
.day:disabled { cursor: default; }
.day:disabled .d { opacity: .5; font-weight: 400; }
.day:not(:disabled):hover { border-color: var(--line-2); }
.day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.day[aria-pressed="true"] .w, .day[aria-pressed="true"] .d, .day[aria-pressed="true"] .s { color: var(--on-accent); }
.day .s.few { color: var(--accent); font-weight: 700; }
.day[aria-pressed="true"] .s.few { color: var(--on-accent); }
[data-theme="korean"] .day { border-radius: 18px; }
[data-theme="korean"] .day .d { font-weight: 800; }





/* 時段 */
.slots-wrap { margin-top: 22px; }
.slot-g + .slot-g { margin-top: 18px; }
.slot-gt { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }

.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.slot { min-height: 50px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-family: var(--f-num); font-size: 18px; font-weight: 600; background: var(--surface); }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
[data-theme="luxe"] .slot { background: transparent; font-size: 20px; }
[data-theme="luxe"] .slot[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
[data-theme="korean"] .slot { border-radius: var(--r-pill); font-weight: 800; border-color: var(--line-2); }

.empty { padding: 26px 18px; text-align: center; color: var(--ink-2); font-size: 15px; background: var(--sunk); border-radius: var(--r-md); }
.empty b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.end-hint { margin-top: 12px; font-size: 14px; color: var(--ink-2); }

/* 表單 */
.field + .field { margin-top: 18px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.field label span { font-weight: 400; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
[data-theme="korean"] .field label { font-weight: 800; }

.input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--field); font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--ink-3); opacity: 1; }

textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.input[aria-invalid="true"] { border-color: var(--err); }
.err { margin-top: 6px; font-size: 14px; color: var(--err); display: none; }
.err.show { display: block; }
.agree { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; margin-top: 20px; font-size: 14px; color: var(--ink-2); align-items: start; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.agree a { color: var(--ink); text-underline-offset: 3px; }

/* 店家資訊 */
.info { margin-top: 52px; border-top: 1px solid var(--line-2); }

.info details { border-bottom: 1px solid var(--line); }

.info summary { list-style: none; min-height: 58px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 16px; font-weight: 500; }
[data-theme="korean"] .info summary { font-weight: 800; }

.info summary::-webkit-details-marker { display: none; }
.info summary svg { transition: transform .25s; color: var(--accent); }
.info details[open] summary svg { transform: rotate(45deg); }
.info .body { padding: 0 0 18px; font-size: 15px; color: var(--ink-2); }
.info ul { list-style: disc; padding-left: 1.1em; }
.info li + li { margin-top: 6px; }
.info .body a { color: var(--ink); text-underline-offset: 3px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; }
.foot { margin-top: 28px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- 底部預約列 ---------- */
.bar { visibility: hidden; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); }
[data-theme="korean"] .bar { background: #fff; border-top: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -16px 36px -22px rgba(189,68,92,.5); }

.bar.show { transform: none; visibility: visible; }
.bar-in { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
@media (min-width: 960px) { .bar-in { max-width: 1200px; padding: 0 40px 0 552px; } [data-theme="luxe"] .bar-in { max-width: 640px; margin: 0 0 0 56px; padding: 0; } }
.bar-k { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-v { font-family: var(--f-num); font-size: 21px; font-weight: 600; white-space: nowrap; line-height: 1.3; }
.bar-v small { font-family: var(--f-body); font-size: 13px; font-weight: 400; color: var(--ink-2); margin-left: 6px; }
.cta { min-height: 52px; min-width: 150px; padding: 0 24px; border-radius: var(--r-pill); background: var(--cta); color: var(--on-cta); font-size: 16px; font-weight: 600; letter-spacing: .08em; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; transition: opacity .2s, transform .1s; }
[data-theme="luxe"] .cta { letter-spacing: .18em; }
[data-theme="korean"] .cta { font-weight: 800; letter-spacing: .04em; }

.cta:active { transform: scale(.98); }
.cta:disabled { opacity: .45; cursor: default; }

/* ---------- 確認視窗 ---------- */
.sheet-bg { visibility: hidden; position: fixed; inset: 0; z-index: 50; background: rgba(5,8,14,.55); opacity: 0; transition: opacity .25s; }
.sheet { visibility: hidden; position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; max-height: 92vh; overflow-y: auto; background: var(--surface); color: var(--ink);
  border-radius: 22px 22px 0 0; padding: 10px 22px calc(22px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
[data-theme="korean"] .sheet { border-radius: 30px 30px 0 0; }

@media (min-width: 640px) { .sheet { bottom: auto; top: 50%; border-radius: 18px; transform: translateY(-46%); opacity: 0; transition: opacity .25s, transform .3s; padding-top: 26px; }  }
.open .sheet-bg { visibility: visible; opacity: 1; }
.open .sheet { visibility: visible; transform: none; }
@media (min-width: 640px) { .open .sheet { transform: translateY(-50%); opacity: 1; } }
.grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 16px; }
@media (min-width: 640px) { .grab { display: none; } }
.sheet h2 { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
[data-theme="luxe"] .sheet h2 { font-weight: 500; letter-spacing: .2em; }
[data-theme="korean"] .sheet h2 { font-weight: 900; }
.sum { margin-top: 16px; }
.sum div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }

.sum dt { color: var(--ink-2); }
.sum .big { font-family: var(--f-num); font-size: 22px; font-weight: 600; }
.sheet-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; } /* 兩顆等寬：主次靠顏色區分，不靠寬度（2026-11-17 使用者覺得主按鈕太寬） */
.ghost { min-height: 52px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 16px; }

.sheet .cta { width: 100%; min-width: 0; }
.sheet-note { margin-top: 12px; font-size: 13px; color: var(--ink-2); text-align: center; }

/* ---------- 預約完成 ---------- */
.done-view { display: none; max-width: 560px; margin: 0 auto; padding: 28px 20px 64px; }
.booked .page, .booked .bar, .booked .preview, .booked .phase { display: none !important; }
.booked .done-view { display: block; }
.ticket { position: relative; text-align: center; padding: 34px 22px 24px; background: var(--surface); border-radius: var(--r-lg); }
[data-theme="luxe"] .ticket { border: 1px solid rgba(214,182,124,.35); background: linear-gradient(180deg, #19223A 0%, var(--surface) 60%); }
[data-theme="korean"] .ticket { box-shadow: 0 26px 54px -36px rgba(189,68,92,.6); }

.check { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }

.done-t { font-family: var(--f-head); font-size: 25px; font-weight: 600; }
[data-theme="luxe"] .done-t { font-weight: 500; letter-spacing: .22em; padding-left: .22em; }
[data-theme="korean"] .done-t { font-weight: 900; }
.done-s { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.when { margin-top: 24px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.when-d { font-size: 16px; color: var(--ink-2); }
.when-t { font-family: var(--f-num); font-size: 60px; font-weight: 600; line-height: 1.05; margin-top: 4px; }
[data-theme="luxe"] .when-t { color: var(--accent); font-weight: 500; font-size: 68px; }
[data-theme="korean"] .when-t { font-weight: 900; color: var(--accent); }

.when-e { margin-top: 4px; font-size: 15px; }
.when-x { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.code { margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; background: var(--sunk); border-radius: var(--r-sm); }
.code span { font-size: 13px; color: var(--ink-2); }
.code b { font-family: var(--f-num); font-size: 21px; letter-spacing: .18em; font-weight: 700; }
.code button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); }
.code button:hover { background: var(--bg); }
.acts { margin-top: 22px; display: grid; gap: 10px; }
.act { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--r-pill); font-size: 16px; font-weight: 600; border: 1px solid var(--line-2); }

.act.line { background: #06C755; border-color: #06C755; color: #fff; }
.remind { margin-top: 22px; text-align: left; font-size: 14px; color: var(--ink-2); background: var(--sunk); border-radius: var(--r-md); padding: 14px 16px; }
.remind b { color: var(--ink); font-weight: 600; }
.again { margin-top: 18px; text-align: center; }
.again button { min-height: 44px; padding: 0 12px; font-size: 15px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }

.toast { position: fixed; left: 50%; bottom: 120px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--r-pill); font-size: 15px; transition: .25s; width: max-content; max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* =========================================================
   極簡個性・石與亞麻（美甲／美睫／按摩工作室的安靜質感）
   ========================================================= */
[data-theme="barber"] {
  color-scheme: light;
  --bg: #EEECE7; --surface: #F8F7F4; --field: #F8F7F4; --sunk: #E4E1DA;
  --ink: #1F1E1B; --ink-2: #5E5B54; --ink-3: #5E5B54;
  --line: #DCD8D0; --line-2: #C9C4BA;
  --accent: #3A3632; --on-accent: #FFFFFF; --accent-soft: #E3DED6;
  --cta: #3A3632; --on-cta: #FFFFFF;
  --ok: #3A3632; --err: #A2302A;
  --f-display: Jost, "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
  --f-head: "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
  --f-body: Jost, "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
  --f-num: Jost, "Noto Sans TC", sans-serif;
  --r-sm: 12px; --r-md: 18px; --r-lg: 28px; --r-pill: 14px;
}
[data-theme="barber"] .brand { font-weight: 400; letter-spacing: .06em; font-size: 21px; text-transform: lowercase; }
[data-theme="barber"] .seg { background: var(--sunk); }

/* 開頭：小石頭＋細字店名，靠左對齊 */
[data-theme="barber"] .hero { padding: 30px 24px 24px; background: var(--surface); border-radius: var(--r-lg); }
[data-theme="barber"] .pebbles { display: block; position: absolute; right: -30px; top: -34px; width: 172px; height: 156px; z-index: 0; pointer-events: none; }
[data-theme="barber"] .shop { font-weight: 300; font-size: 54px; line-height: 1; letter-spacing: -.02em; text-transform: lowercase; margin-top: 92px; }
[data-theme="barber"] .shop-zh { font-size: 15px; letter-spacing: .5em; color: var(--ink-2); margin-top: 12px; }
[data-theme="barber"] .artist { margin-top: 22px; }
[data-theme="barber"] .tags { margin-top: 16px; display: grid; grid-template-columns: repeat(2, max-content); }
[data-theme="barber"] .tags li { border-radius: var(--r-pill); background: var(--bg); color: var(--ink); }
[data-theme="barber"] .today { margin-top: 24px; padding: 16px 16px 16px 20px; background: var(--accent-soft); border-radius: var(--r-md); }
[data-theme="barber"] .today-k { color: #4A443D; }
[data-theme="barber"] .today-v { color: #1F1E1B; font-weight: 500; font-size: 24px; }
[data-theme="barber"] .go { border-radius: var(--r-pill); font-weight: 500; letter-spacing: .1em; }
[data-theme="barber"] .facts { padding: 4px 4px 0; }

/* 步驟：細字標題，左邊一顆小石頭表示進度 */
[data-theme="barber"] .step-n { width: 14px; height: 14px; border-radius: 60% 45% 55% 50%; background: var(--line-2); font-size: 0; }
[data-theme="barber"] .step.done .step-n { background: var(--accent); }
[data-theme="barber"] .step-t { font-size: 22px; font-weight: 500; letter-spacing: .08em; }

/* 服務 */
[data-theme="barber"] .cat { border-color: var(--line-2); background: transparent; }
[data-theme="barber"] .cat[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
[data-theme="barber"] .group-t { color: var(--ink-2); letter-spacing: .1em; }
[data-theme="barber"] .list { display: grid; gap: 8px; }
[data-theme="barber"] .svc { background: var(--surface); border-radius: var(--r-md); border: 1px solid transparent; padding: 16px 18px; }
[data-theme="barber"] .svc[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
[data-theme="barber"] .price { font-weight: 400; font-size: 21px; }
[data-theme="barber"] .pick { border-radius: 60% 45% 55% 50%; }

/* 日期與時段 */
[data-theme="barber"] .day { border-radius: 16px; }
[data-theme="barber"] .day .d { font-weight: 400; font-size: 22px; }
[data-theme="barber"] .slot { border-color: var(--line-2); background: var(--surface); font-weight: 400; font-size: 19px; }
[data-theme="barber"] .slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 底部、視窗、完成頁 */
[data-theme="barber"] .bar { background: color-mix(in srgb, var(--bg) 94%, transparent); border-top: 1px solid var(--line); }
[data-theme="barber"] .cta { letter-spacing: .1em; font-weight: 500; }
[data-theme="barber"] .sheet { border-radius: 26px 26px 0 0; }
[data-theme="barber"] .ticket { background: var(--surface); }
[data-theme="barber"] .check { border-radius: 60% 45% 55% 50%; }
[data-theme="barber"] .when-t { font-weight: 300; font-size: 72px; letter-spacing: -.02em; color: var(--accent); }

/* ===== v3：精品開頭只留店名，讓海面完整露出 ===== */
[data-theme="luxe"] .hero .mono, [data-theme="luxe"] .hero .greet, [data-theme="luxe"] .hero .artist,
[data-theme="luxe"] .hero .tags, [data-theme="luxe"] .hero .today { display: none; }
[data-theme="luxe"] .hero { min-height: 0; height: calc(100svh - 60px); max-height: 760px; padding: 0 24px; }
@media (min-width: 960px) { [data-theme="luxe"] .hero { height: calc(100vh - 60px); max-height: none; padding: 0 40px; } }
[data-theme="luxe"] .hero-in { justify-content: flex-start; padding-top: 26svh; }
@media (min-width: 960px) { [data-theme="luxe"] .hero-in { padding-top: 28vh; } }
[data-theme="luxe"] .shop { font-size: 56px; margin-top: 0; }
[data-theme="luxe"] .shop-zh { margin-top: 14px; }
[data-theme="luxe"] .sky-hz { margin-top: 64px; }
[data-theme="luxe"] .sky-fade { height: 90px; }
.scroll-cue { display: none; }
[data-theme="luxe"] .scroll-cue { display: grid; place-items: center; position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; color: #F3EADB; text-decoration: none; }
[data-theme="luxe"] .scroll-cue svg { animation: cue 2.4s ease-in-out infinite; opacity: .8; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
/* 開頭還在畫面上時，底部預約列先收起來，避免蓋住海面 */
.bar.show.hero-on { transform: translateY(110%); visibility: hidden; }

/* ===== v4：三種風格開頭一致＝只留店名＋各自的主視覺 ===== */
[data-theme="korean"] .hero .artist, [data-theme="korean"] .hero .tags, [data-theme="korean"] .hero .today, [data-theme="korean"] .tips-cap,
[data-theme="barber"] .hero .artist, [data-theme="barber"] .hero .tags, [data-theme="barber"] .hero .today { display: none; }
.scroll-cue { display: grid; place-items: center; position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; color: var(--ink); text-decoration: none; }
.scroll-cue svg { animation: cue 2.4s ease-in-out infinite; opacity: .75; }
[data-theme="luxe"] .scroll-cue { color: #F3EADB; }

/* 韓系：奶粉色整面，放大的凝膠甲片在上、店名在下，置中 */
[data-theme="korean"] .intro { padding: 0; }
[data-theme="korean"] .hero { height: calc(100svh - 120px); min-height: 520px; max-height: 760px; padding: 0 24px; border-radius: 0; box-shadow: none;
  background: radial-gradient(120% 70% at 50% 38%, #FFFFFF 0%, #FFF0EC 55%, #FCE3DF 100%); display: flex; align-items: center; justify-content: center; }
[data-theme="korean"] .hero-in { display: flex; flex-direction: column; align-items: center; margin-top: -40px; }
[data-theme="korean"] .tips { height: 150px; gap: 14px; margin-bottom: 30px; }
[data-theme="korean"] .tips li { width: 52px; border-radius: 26px 26px 15px 15px; }
[data-theme="korean"] .tips li::after { left: 12px; top: 12px; width: 10px; height: 30px; }
[data-theme="korean"] .tips li:nth-child(1) { height: 92px; transform: rotate(-9deg) translateY(4px); }
[data-theme="korean"] .tips li:nth-child(2) { height: 118px; transform: rotate(-4deg); }
[data-theme="korean"] .tips li:nth-child(3) { height: 140px; }
[data-theme="korean"] .tips li:nth-child(4) { height: 118px; transform: rotate(4deg); }
[data-theme="korean"] .tips li:nth-child(5) { height: 92px; transform: rotate(9deg) translateY(4px); }
[data-theme="korean"] .shop { font-size: 46px; }
[data-theme="korean"] .shop-zh { margin-top: 12px; }
[data-theme="korean"] .facts { padding: 8px 20px 0; }

/* 極簡：大塊空白，石頭是主畫面，細體店名靠左下 */
[data-theme="barber"] .intro { padding: 0; }
[data-theme="barber"] .hero { height: calc(100svh - 120px); min-height: 520px; max-height: 760px; border-radius: 0; background: var(--bg); padding: 0 28px; display: flex; flex-direction: column; justify-content: flex-end; }
[data-theme="barber"] .pebbles { width: 330px; height: 300px; right: -70px; top: 8%; }
[data-theme="barber"] .hero-in { padding-bottom: 96px; }
[data-theme="barber"] .shop { margin-top: 0; font-size: 64px; }
[data-theme="barber"] .shop-zh { margin-top: 16px; }
[data-theme="barber"] .facts { padding: 8px 24px 0; }

@media (min-width: 960px) {
  [data-theme="korean"] .hero, [data-theme="barber"] .hero { height: calc(100vh - 230px); min-height: 520px; border-radius: var(--r-lg); }
  [data-theme="korean"] .intro, [data-theme="barber"] .intro { padding-top: 16px; }
  .scroll-cue { display: none; }
}

/* ===== v6：精品依時段變化。清晨／午後／黃昏＝淺色頁面，夜晚＝深海夜色 ===== */
[data-theme="luxe"][data-sky="dawn"], [data-theme="luxe"][data-sky="day"], [data-theme="luxe"][data-sky="dusk"] {
  color-scheme: light;
  --bg: #FAF6F0; --surface: #FFFFFF; --field: #FFFFFF; --sunk: #F2ECE3;
  --ink: #161412; --ink-2: #58514A; --ink-3: #6A625A;
  --line: #E4DCD1; --line-2: #CFC5B8;
  --accent: #7D6129; --on-accent: #FFFFFF; --accent-soft: rgba(125,97,41,.10);
  --cta: #7D6129; --on-cta: #FFFFFF;
  --ok: #3F6B4E; --err: #A2302A;
}
[data-theme="luxe"] .sky-fade { background: linear-gradient(180deg, transparent, var(--bg)); }
[data-theme="luxe"] .scroll-cue { color: var(--sky-ink, #F3EADB); }
[data-theme="luxe"]:not([data-sky="night"]) .hero .shop, [data-theme="luxe"]:not([data-sky="night"]) .hero .shop-zh { text-shadow: 0 1px 16px rgba(255,255,255,.45); }
[data-theme="luxe"]:not([data-sky="night"]) .seg { background: rgba(255,255,255,.6); border-color: rgba(22,20,18,.12); }
[data-theme="luxe"]:not([data-sky="night"]) .ticket { background: var(--surface); border-color: var(--line); }
[data-theme="luxe"]:not([data-sky="night"]) .step-h::after { background: linear-gradient(90deg, rgba(125,97,41,.6), rgba(125,97,41,0)); }
html, body { transition: background-color 1.2s; }

/* 設計稿專用：時段預覽（正式頁只在網址加 #preview 時出現，沿用原本系統做法） */
.phase { display: none; }
[data-theme="luxe"] .phase { display: flex; justify-content: center; position: absolute; left: 0; right: 0; top: 116px; z-index: 3; }
@media (min-width: 960px) { [data-theme="luxe"] .phase { right: auto; width: max(440px, calc((100vw - 48px) * .44)); } }
.phase .seg button { min-height: 36px; padding: 0 12px; font-size: 13px; }
[data-theme="luxe"] .phase .seg button { color: #D9CCB8; }
[data-theme="luxe"] .phase .seg button[aria-pressed="true"] { background: #F3EADB; color: #10131A; }
[data-theme="luxe"]:not([data-sky="night"]) .phase .seg button { color: #3F3832; }
[data-theme="luxe"]:not([data-sky="night"]) .phase .seg button[aria-pressed="true"] { background: #161412; color: #FFFFFF; }

/* =========================================================
   系統整合（v7 之外的既有功能，沿用同一套變數）
   ========================================================= */
.hidden { display: none !important; }
html { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { text-wrap: balance; } p, li, dd { text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 頂部 logo（店家有上傳才顯示，取代文字店名） */
.brand img { display: block; height: 34px; max-width: 150px; object-fit: contain; }
[data-theme="luxe"][data-sky="night"] .brand img { background: #F6EEDF; border-radius: 8px; padding: 3px 8px; box-sizing: content-box; height: 28px; }
.brand-t { display: block; max-width: 56vw; overflow: hidden; text-overflow: ellipsis; }
/* 示範店：風格切換列 */
.preview { flex-wrap: wrap; gap: 8px; }
/* 店名：長度不同時縮小字級，避免斷行 */
.shop.s-md { font-size: 42px !important; } .shop.s-sm { font-size: 34px !important; }
[data-theme="barber"] .shop.s-md { font-size: 48px !important; } [data-theme="barber"] .shop.s-sm { font-size: 38px !important; }
.shop { overflow-wrap: anywhere; }
/* 韓系甲片色（不寫在 style 屬性，配合 CSP） */
.tips .t1 { background: #F2C9C4; } .tips .t2 { background: #E39AA3; } .tips .t3 { background: #C55A6E; } .tips .t4 { background: #F3DFC8; } .tips .t5 { background: #CDB6A4; }
/* 載入中 */
.skel { background: linear-gradient(90deg, var(--sunk) 0%, var(--line) 50%, var(--sunk) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--r-sm); }
@keyframes sk { to { background-position: -200% 0; } }
.boot { min-height: 70vh; display: grid; place-items: center; padding: 40px 20px; text-align: center; color: var(--ink-2); }
.boot .cta { margin-top: 20px; }
/* 最新消息 */
.news { margin-top: 24px; display: grid; gap: 8px; }
.news button { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: left; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.news img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-sm); }
.news .k { font-size: 12px; color: var(--accent); letter-spacing: .1em; font-weight: 600; }
.news .t { font-size: 15px; font-weight: 500; line-height: 1.45; }
.news .c { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 選擇設計師（兩位以上才顯示；樣式跟服務卡片一致） */
.pros { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .pros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pro { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); min-height: 72px; }
.pro .av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--sunk); font-family: var(--f-display); font-size: 20px; color: var(--ink-2); }
.pro .av img { width: 100%; height: 100%; object-fit: cover; }
.pro b { display: block; font-weight: 500; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.pro span span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.pro[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.pro[aria-pressed="true"] b { color: var(--accent); }
[data-theme="luxe"] .pro { background: transparent; border-radius: 8px; }
[data-theme="korean"] .pro { border: 2px solid transparent; background: #fff; box-shadow: 0 10px 24px -20px rgba(58,38,41,.5); }
[data-theme="korean"] .pro[aria-pressed="true"] { box-shadow: none; background: #FFF7F8; border-color: var(--accent); }
[data-theme="korean"] .pro b { font-weight: 800; }
[data-theme="barber"] .pro { border-color: transparent; }
[data-theme="barber"] .pro[aria-pressed="true"] { box-shadow: none; border-color: var(--accent); }
/* 服務 */
.price-note { font-family: var(--f-body); font-size: 12px; font-weight: 400; color: var(--ink-2); margin-left: 2px; }
.day .s { min-height: 13px; }
/* 通用彈出視窗（沿用確認視窗樣式） */
#modal .sheet-body { padding-top: 2px; }
.sh-p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.sh-btns { display: grid; gap: 10px; margin-top: 20px; }
.btn-p, .btn-g { min-height: 52px; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 600; text-decoration: none; width: 100%; padding: 0 18px; }
.btn-p { background: var(--cta); color: var(--on-cta); }
.btn-g { border: 1px solid var(--line-2); font-weight: 500; }
.btn-t { min-height: 44px; font-size: 14px; color: var(--ink-2); width: 100%; }
.sheet .ts { display: flex; justify-content: center; min-height: 65px; margin-top: 16px; }
.my a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.my .d { font-family: var(--f-num); font-size: 18px; font-weight: 600; }
.my .s { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my .r { text-align: right; font-size: 13px; }
.my .r b { display: block; font-weight: 600; }
.my .r span { color: var(--ink-2); }
.my .r span.todo { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.shot { width: 100%; border-radius: var(--r-md); margin-top: 14px; }
/* 完成頁 */
.done-view.show { display: block; }
.ticket .rows { margin-top: 18px; text-align: left; }
.ticket .rows div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ticket .rows dt { color: var(--ink-2); }
.ticket .rows dd small { display: block; color: var(--ink-2); font-size: 13px; }
.when-t.x { text-decoration: line-through; opacity: .5; }
.check.x { background: var(--sunk); color: var(--ink-2); }
.act { text-decoration: none; width: 100%; }
.act small { display: block; font-size: 12px; font-weight: 400; opacity: .85; }
.act .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #06C755; }
.act.line .ic { background: rgba(255,255,255,.18); }
.line-box { margin-top: 22px; text-align: left; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); }
.line-box b { display: block; font-size: 15px; }
.line-box p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.line-box .act { margin-top: 12px; }
.line-ok { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; }
.line-ok .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #06C755; }
.notice { margin-top: 14px; font-size: 14px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--sunk); text-align: left; }
.qr { margin-top: 18px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; text-align: left; font-size: 14px; color: var(--ink-2); }
.qr svg { background: #fff; padding: 6px; border-radius: 6px; box-sizing: content-box; }
.remind button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.again { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; }
.again a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; color: var(--ink-2); text-underline-offset: 4px; }
.lchat { background: #8CABD9; border-radius: 14px; padding: 4px 12px 14px; margin-top: 16px; }
.lchat .h { text-align: center; color: #fff; font-size: 12px; padding: 8px 0; }
.lchat .m { display: flex; align-items: flex-end; gap: 8px; margin-top: 10px; }
.lchat .m .ic { width: 30px; height: 30px; border-radius: 50%; background: #06C755; display: grid; place-items: center; align-self: flex-start; flex: none; }
.lchat .m p { max-width: 78%; background: #fff; color: #161412; border-radius: 14px 14px 14px 4px; padding: 9px 13px; font-size: 14px; line-height: 1.6; }
.lchat .m span { font-size: 11px; color: #22324A; white-space: nowrap; }
/* 資訊區 */
.gal { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.gal::-webkit-scrollbar { display: none; }
.gal button { flex: none; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.toast { z-index: 70; }
.svc.nod .pick { grid-row: 2; }
.svc.nod .svc-meta { grid-row: 2; }
.ticket .rows div:first-child { border-top: 0; }
@media (min-width: 960px) { [data-theme="barber"] .pebbles { right: 24px; top: 10%; } }
/* 店家 logo：開頭大畫面店名上方的「品牌印記」。店名仍是主角，logo 小而精緻，像精品名片上的標記 */
.hero-logo { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; overflow: hidden; }
.hero-logo img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; } /* logo 有白底時融進圓牌 */
[data-theme="luxe"] .hero-logo { background: #F4EBDD; box-shadow: 0 0 0 1px rgba(214,182,124,.55), 0 0 0 5px rgba(214,182,124,.08); }
[data-theme="luxe"]:not([data-sky="night"]) .hero-logo { box-shadow: 0 0 0 1px rgba(125,97,41,.35), 0 8px 20px -12px rgba(22,20,18,.35); }
[data-theme="luxe"] .hero-in.has-logo { padding-top: calc(26svh - 84px); }
[data-theme="korean"] .has-logo .tips { display: none; } /* 有 logo 就由 logo 當主視覺，不再疊甲片 */
[data-theme="korean"] .hero-logo { width: 84px; height: 84px; margin: 0 auto 22px; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(189,68,92,.55); }
[data-theme="barber"] .hero-logo { margin: 0 0 22px; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 960px) { [data-theme="luxe"] .hero-in.has-logo { padding-top: calc(28vh - 84px); } }

/* logo 兩種呈現：載入判斷前先隱藏，避免閃一下 */
.hero-logo:not(.is-mark):not(.is-tile):not(.is-word) { visibility: hidden; }
.hero-logo.is-tile { width: auto; height: 60px; max-width: 200px; aspect-ratio: var(--ar, 1); border-radius: 12px; background: transparent; box-shadow: 0 10px 28px -14px rgba(0,0,0,.55); }
.hero-logo.is-tile img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
[data-theme="luxe"] .hero-logo.is-tile { box-shadow: 0 0 0 1px rgba(214,182,124,.45), 0 12px 30px -14px rgba(0,0,0,.7); }
[data-theme="korean"] .hero-logo.is-tile { height: 72px; border-radius: 18px; box-shadow: 0 18px 36px -24px rgba(189,68,92,.55); }
[data-theme="barber"] .hero-logo.is-tile { height: 52px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
/* ===== 韓系清新：依行業換配色與主視覺（美甲維持莓果粉） ===== */
.motif, .clips, .towels, .shears, .lock, .salon, .edit { display: none; }
[data-theme="korean"] .motif { display: block; width: 240px; height: 150px; margin: 0 auto 30px; }
[data-theme="korean"] .motif svg { width: 100%; height: 100%; }
[data-theme="korean"] .has-logo :is(.motif, .clips, .towels, .shears, .lock, .salon) { display: none !important; }
[data-theme="korean"] .has-logo .edit .arch { display: none; } /* 有 logo 時保留黑白版的小字與細線，只拿掉拱形 */

/* 美髮：奶茶焦糖 ＋ 果凍髮夾 */
[data-theme="korean"][data-ind="hair"] {
  --bg: #F6F5F2; --surface: #FFFFFF; --field: #FFFFFF; --sunk: #ECEBE7; --ink: #141414; --ink-2: #66635D; --ink-3: #66635D;
  --line: #E4E2DD; --line-2: #CFCCC5; --accent: #141414; --cta: #141414; --accent-soft: #ECEBE7;
}
[data-theme="korean"][data-ind="hair"] .hero { background: radial-gradient(120% 70% at 50% 38%, #FFFFFF 0%, #F9F0E7 55%, #F1E3D5 100%); }
[data-theme="korean"][data-ind="hair"] .svc[aria-pressed="true"], [data-theme="korean"][data-ind="hair"] .pro[aria-pressed="true"] { background: #FCF6F0; }
[data-theme="korean"] .clips { display: block; position: relative; width: 250px; height: 160px; margin: 0 auto 26px; }
.clips i { position: absolute; left: 50%; width: 150px; height: 34px; margin-left: -75px; border-radius: 17px;
  box-shadow: inset 0 -9px 12px -8px rgba(59,45,38,.32), inset 0 6px 10px -6px rgba(255,255,255,.7), 0 12px 18px -12px rgba(59,45,38,.5); }
.clips i::after { content: ""; position: absolute; left: 16px; top: 8px; width: 46px; height: 7px; border-radius: 7px; background: rgba(255,255,255,.6); }
.clips i::before { content: ""; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.clips .c1 { top: 8px; background: #E9D2BF; transform: translateX(-26px) rotate(-14deg); }
.clips .c2 { top: 46px; background: #C79A78; transform: translateX(18px) rotate(-6deg); }
.clips .c3 { top: 84px; background: #8B5A3C; transform: translateX(-10px) rotate(4deg); }
.clips .c4 { top: 120px; background: #F4E6D6; transform: translateX(22px) rotate(12deg); }
.clips b { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #F6EEE6 45%, #D9C8B8 100%); box-shadow: 0 6px 10px -6px rgba(59,45,38,.5); }
.clips .p1 { width: 22px; height: 22px; right: 18px; top: 18px; } .clips .p2 { width: 15px; height: 15px; right: 4px; top: 46px; } .clips .p3 { width: 18px; height: 18px; left: 10px; bottom: 6px; }

/* 按摩：鼠尾草綠 ＋ 捲毛巾與尤加利葉 */
[data-theme="korean"][data-ind="massage"] {
  --bg: #F5F6F1; --sunk: #E9EDE5; --ink: #2D3530; --ink-2: #5F6A62; --ink-3: #5F6A62;
  --line: #E3E8DE; --line-2: #D3DACB; --accent: #4E6B58; --cta: #4E6B58; --accent-soft: #E6EDE4; --mint: #E6EDE4; --mint-ink: #3B5444;
}
[data-theme="korean"][data-ind="massage"] .hero { background: radial-gradient(120% 70% at 50% 38%, #FFFFFF 0%, #F1F4EE 55%, #E4EADF 100%); }
[data-theme="korean"][data-ind="massage"] .svc[aria-pressed="true"], [data-theme="korean"][data-ind="massage"] .pro[aria-pressed="true"] { background: #F7FAF5; }
[data-theme="korean"] .towels { display: block; position: relative; width: 250px; height: 160px; margin: 0 auto 26px; }
.towels i { position: absolute; width: 86px; height: 86px; border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.14), inset 0 0 0 11px rgba(45,53,48,.10), inset 0 0 0 22px rgba(255,255,255,.10), inset 0 0 0 23px rgba(45,53,48,.10), inset 6px 8px 14px -6px rgba(255,255,255,.55), inset -10px -14px 22px -10px rgba(45,53,48,.30), 0 14px 22px -14px rgba(45,53,48,.55); }
.towels .w1 { left: 30px; bottom: 4px; background: #C9D8C0; }
.towels .w2 { left: 112px; bottom: 4px; background: #EEE3D2; }
.towels .w3 { left: 71px; bottom: 76px; background: #93AC95; }
.towels .leaf { position: absolute; right: -2px; bottom: 4px; width: 58px; height: 136px; transform: rotate(16deg); }
/* 美髮／按摩：把韓系預設的粉色陰影換成各自色調 */
[data-theme="korean"][data-ind="hair"] .bar { box-shadow: 0 -16px 36px -22px rgba(139,90,60,.45); }
[data-theme="korean"][data-ind="hair"] .ticket { box-shadow: 0 26px 54px -36px rgba(139,90,60,.55); }
[data-theme="korean"][data-ind="hair"] .go, [data-theme="korean"][data-ind="hair"] .hero-logo { box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(139,90,60,.5); }
[data-theme="korean"][data-ind="massage"] .bar { box-shadow: 0 -16px 36px -22px rgba(78,107,88,.45); }
[data-theme="korean"][data-ind="massage"] .ticket { box-shadow: 0 26px 54px -36px rgba(78,107,88,.55); }
[data-theme="korean"][data-ind="massage"] .hero-logo { box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(78,107,88,.5); }
[data-theme="korean"] .shears { display: block; width: 280px; height: 194px; margin: -10px auto 18px; filter: drop-shadow(0 14px 16px rgba(59,45,38,.22)); }
[data-theme="korean"] .shears svg { width: 100%; height: 100%; }
[data-theme="korean"] .lock { display: block; width: 260px; height: 180px; margin: 0 auto 24px; filter: drop-shadow(0 16px 18px rgba(110,65,41,.22)); }
[data-theme="korean"] .lock svg { width: 100%; height: 100%; }

/* 美髮（韓系）：首爾沙龍的午後——米白牆面上的窗光與葉影、圓拱鏡、小擺件。中性、安靜、有生活感 */
[data-theme="korean"][data-ind="hair"] .hero { background:
  linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,.55) 34% 46%, transparent 46% 52%, rgba(255,255,255,.45) 52% 60%, transparent 60%),
  radial-gradient(120% 80% at 70% 20%, #FFFDFA 0%, #F6EEE5 55%, #EDE2D6 100%); }
[data-theme="korean"] .salon { display: block; position: relative; width: 260px; height: 230px; margin: -20px auto 22px; }
.salon .leafshade { position: absolute; right: -46px; top: -44px; width: 210px; height: 210px; opacity: .16; filter: blur(3px); transform: rotate(8deg); }
.salon .mirror { position: absolute; left: 50%; bottom: 34px; width: 128px; height: 178px; margin-left: -64px; border-radius: 64px 64px 8px 8px; padding: 6px;
  background: linear-gradient(160deg, #EBDDCD, #CDB49C); box-shadow: 0 22px 34px -22px rgba(80,58,40,.55), inset 0 1px 0 rgba(255,255,255,.7); }
.salon .glass { position: absolute; inset: 6px; border-radius: 58px 58px 4px 4px; background: linear-gradient(160deg, #FFFFFF 0%, #F3ECE4 55%, #E6DACD 100%); overflow: hidden; }
.salon .glass::after { content: ""; position: absolute; left: -30%; top: -10%; width: 40%; height: 140%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.85), rgba(255,255,255,0)); transform: rotate(24deg); }
.salon .strand { position: absolute; left: 50%; top: 26px; width: 84px; height: 118px; margin-left: -42px; }
.salon .shelf { position: absolute; left: 22px; right: 22px; bottom: 28px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #E4D5C4, #CDB8A2); box-shadow: 0 10px 16px -10px rgba(80,58,40,.6); }
.salon .orb { position: absolute; left: 34px; bottom: 36px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF, #E8D8C6 55%, #C9AE93); box-shadow: 0 8px 12px -8px rgba(80,58,40,.5); }
.salon .vase { position: absolute; right: 40px; bottom: 36px; width: 26px; height: 44px; border-radius: 13px 13px 6px 6px; background: linear-gradient(90deg, #A8754F, #8B5A3C 60%, #6E4129); box-shadow: inset 4px 0 6px -3px rgba(255,255,255,.4), 0 8px 12px -8px rgba(80,58,40,.6); }
.salon .vase::before { content: ""; position: absolute; left: 12px; top: -26px; width: 2px; height: 30px; background: #8E9A7E; transform: rotate(-8deg); }
.salon .vase::after { content: ""; position: absolute; left: 2px; top: -30px; width: 14px; height: 8px; border-radius: 50%; background: #A7B497; transform: rotate(-30deg); }

/* 美髮（韓系）：黑白雜誌風（2026-11-17 使用者選定）。左對齊、細字店名、小字韓文「헤어 살롱」直排點綴 */
[data-theme="korean"][data-ind="hair"] .hero { background: #F6F5F2; flex-direction: column; align-items: stretch; justify-content: flex-end; text-align: left; padding: 0 28px; }
[data-theme="korean"][data-ind="hair"] .hero-in { position: static; align-items: flex-start; margin-top: auto; padding-bottom: 110px; width: 100%; }
[data-theme="korean"][data-ind="hair"] .shop { font-weight: 300; font-size: 54px; letter-spacing: -.02em; line-height: 1; color: #141414; }
[data-theme="korean"][data-ind="hair"] .shop-zh { color: #66635D; font-weight: 400; letter-spacing: .5em; margin-top: 14px; }
[data-theme="korean"][data-ind="hair"] .scroll-cue { color: #141414; }
[data-theme="korean"] .edit { display: block; position: static; }
.edit .meta { position: absolute; left: 28px; top: 34px; font-size: 11px; letter-spacing: .28em; line-height: 2.1; color: #66635D; font-family: Jost, "Noto Sans TC", sans-serif; }
.edit .kr { position: absolute; right: 26px; top: 34px; writing-mode: vertical-rl; font-family: "Noto Sans KR", "Noto Sans CJK KR", sans-serif; font-size: 14px; letter-spacing: .5em; color: #141414; }
.edit .kr::before { content: ""; display: inline-block; width: 1px; height: 46px; background: #141414; margin-bottom: 14px; }
.edit .rule { position: absolute; left: 28px; right: 28px; bottom: 84px; height: 1px; background: #141414; }
[data-theme="korean"][data-ind="hair"] .hero-in.has-logo { padding-bottom: 110px; }
[data-theme="korean"][data-ind="hair"] .hero-logo { margin: 0 0 22px; box-shadow: 0 0 0 1px #E4E2DD; }
[data-theme="korean"][data-ind="hair"] .bar, [data-theme="korean"][data-ind="hair"] .ticket { box-shadow: 0 -12px 30px -22px rgba(20,20,20,.35); }
[data-theme="korean"][data-ind="hair"] .svc[aria-pressed="true"], [data-theme="korean"][data-ind="hair"] .pro[aria-pressed="true"] { background: #FFFFFF; }
.edit .arch { position: absolute; left: 50%; top: 50%; width: 150px; height: 206px; margin: -190px 0 0 -75px; }
@media (max-height: 700px) { .edit .arch { width: 120px; height: 165px; margin: -170px 0 0 -60px; } }
/* 美髮（韓系黑白）：下方流程跟開頭同一種氣質——細字、細線框、小圓角、無陰影 */
[data-theme="korean"][data-ind="hair"] {
  --f-display: Jost, "Noto Sans TC", "Noto Sans CJK TC", sans-serif; --f-head: "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
  --f-body: Jost, "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif; --f-num: Jost, "Noto Sans TC", sans-serif;
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px;
}
[data-theme="korean"][data-ind="hair"] .brand { font-weight: 500; letter-spacing: .12em; font-size: 17px; text-transform: uppercase; }
[data-theme="korean"][data-ind="hair"] .step-t { font-size: 21px; font-weight: 500; letter-spacing: .06em; }
[data-theme="korean"][data-ind="hair"] .step-n { width: 30px; height: 30px; background: transparent; color: #141414; font-weight: 400; font-size: 14px; box-shadow: inset 0 0 0 1px #141414; }
[data-theme="korean"][data-ind="hair"] .step.done .step-n { background: #141414; color: #fff; }
[data-theme="korean"][data-ind="hair"] :is(.cat, .group-t, .field label, .info summary, .svc-n, .pro b) { font-weight: 500; }
[data-theme="korean"][data-ind="hair"] .group-t { font-size: 14px; letter-spacing: .12em; color: #66635D; }
[data-theme="korean"][data-ind="hair"] .cat { border-color: var(--line-2); background: transparent; }
[data-theme="korean"][data-ind="hair"] .cat[aria-pressed="true"] { background: #141414; border-color: #141414; color: #fff; }
[data-theme="korean"][data-ind="hair"] :is(.svc, .pro) { border: 1px solid var(--line-2); box-shadow: none; border-radius: 14px; background: #FFFFFF; }
[data-theme="korean"][data-ind="hair"] :is(.svc, .pro)[aria-pressed="true"] { border-color: #141414; box-shadow: inset 0 0 0 1px #141414; background: #FFFFFF; }
[data-theme="korean"][data-ind="hair"] .pro[aria-pressed="true"] b { color: #141414; }
[data-theme="korean"][data-ind="hair"] .price { font-weight: 500; }
[data-theme="korean"][data-ind="hair"] .pick { border-radius: 50%; border-width: 1px; }
[data-theme="korean"][data-ind="hair"] .day { border-radius: 12px; }
[data-theme="korean"][data-ind="hair"] .day .d { font-weight: 400; }
[data-theme="korean"][data-ind="hair"] .slot { border-radius: 10px; font-weight: 500; background: #FFFFFF; }
[data-theme="korean"][data-ind="hair"] .input { border-radius: 10px; }
[data-theme="korean"][data-ind="hair"] .bar { background: rgba(246,245,242,.96); border-top: 1px solid var(--line-2); border-radius: 0; box-shadow: none; }
[data-theme="korean"][data-ind="hair"] .cta { font-weight: 500; letter-spacing: .1em; }
[data-theme="korean"][data-ind="hair"] .sheet { border-radius: 18px 18px 0 0; }
[data-theme="korean"][data-ind="hair"] .sheet h2, [data-theme="korean"][data-ind="hair"] .done-t { font-weight: 500; letter-spacing: .08em; }
[data-theme="korean"][data-ind="hair"] .ticket { border: 1px solid var(--line-2); box-shadow: none; border-radius: 18px; }
[data-theme="korean"][data-ind="hair"] .when-t { color: #141414; font-weight: 300; letter-spacing: -.02em; }
[data-theme="korean"][data-ind="hair"] .check { background: #141414; }
[data-theme="korean"][data-ind="hair"] .news button { box-shadow: none; }

/* 橫式 logo（例如品牌字樣）→ 直接取代店名大字，保留品牌原本設計的字體 */
.hero-logo.is-word { width: auto; height: auto; max-width: min(78vw, 300px); border-radius: 0; background: transparent !important; box-shadow: none !important; overflow: visible; margin: 0 auto 14px; display: block; }
.hero-logo.is-word img { width: auto; height: auto; max-width: 100%; max-height: 92px; mix-blend-mode: normal; display: block; margin: 0 auto; }
.has-word .shop { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[data-theme="luxe"][data-sky="night"] .hero-logo.is-word.ink-dark img, [data-theme="luxe"]:not([data-sky]) .hero-logo.is-word.ink-dark img { filter: brightness(0) invert(.93) sepia(.15); } /* 深色字樣在夜空上轉成米白 */
[data-theme="barber"] .hero-logo.is-word, [data-theme="korean"][data-ind="hair"] .hero-logo.is-word { margin: 0 0 16px; }
[data-theme="barber"] .hero-logo.is-word img, [data-theme="korean"][data-ind="hair"] .hero-logo.is-word img { margin: 0; }
[data-theme="korean"] .has-word :is(.motif, .clips, .towels, .shears, .lock, .salon, .tips) { display: none !important; }

/* ===== 精品淺色調（2026-11-18 起預設）：夜晚也維持米白頁面，天空改月光灰藍 ===== */
[data-theme="luxe"][data-tone="light"][data-sky="night"] { color-scheme: light;
  --bg: #F4F3F0; --surface: #FFFFFF; --field: #FFFFFF; --sunk: #EBE9E4; --ink: #1B1D24; --ink-2: #555963; --ink-3: #5F636C;
  --line: #E1DFDA; --line-2: #CBC8C1; --accent: #4F5F80; --on-accent: #FFFFFF; --accent-soft: rgba(79,95,128,.10); --cta: #2E3646; --on-cta: #FFFFFF; --ok: #3F6B4E; --err: #A2302A; }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .sky-cv { filter: brightness(1.45) saturate(.65) contrast(.95); }
[data-theme="luxe"][data-tone="light"]:not([data-sky="night"]) .sky-cv { filter: brightness(1.06) saturate(.88); }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .hero { --sky-bg: linear-gradient(180deg,#5E6884 0%,#8D96AE 60%,#A9AFC0 100%); }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .hero .shop, [data-theme="luxe"][data-tone="light"][data-sky="night"] .hero .shop-zh { text-shadow: 0 1px 3px rgba(20,24,36,.55), 0 2px 22px rgba(20,24,36,.6); }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .step-h::after { background: linear-gradient(90deg, rgba(79,95,128,.6), rgba(79,95,128,0)); }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .ticket { background: var(--surface); border-color: var(--line); }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .brand img { background: none; padding: 0; height: 34px; }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .seg { background: rgba(255,255,255,.6); border-color: rgba(22,20,18,.12); }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .phase .seg button { color: #3F3832; }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .phase .seg button[aria-pressed="true"] { background: #161412; color: #FFFFFF; }
[data-theme="luxe"][data-tone="light"][data-sky="night"] .hero-logo.is-word.ink-dark img { filter: brightness(0) invert(.97); }

/* ===== v68：電腦版改「上方滿版主視覺＋置中單欄」（不再左右切半）。只影響 ≥960px，手機不變 =====
   基準線：店名（靠左的風格）、營業資訊、各步驟、底部預約列，左右都對齊同一條 760px 內容欄 */
@media (min-width: 960px) {
  :root { --col: 760px; --col-pad: 40px; }
  .page, [data-theme="luxe"] .page { display: block; max-width: none; padding: 0 0 160px; gap: 0; }
  .intro, [data-theme="luxe"] .intro, [data-theme="korean"] .intro, [data-theme="barber"] .intro { position: relative; top: auto; padding: 0; }
  .flow { max-width: calc(var(--col) + var(--col-pad) * 2); margin: 0 auto; padding: 32px var(--col-pad) 0; }
  /* 頂部列：圖示的線條外緣對齊內容欄（44px 觸控區內留 12px） */
  .top-in { max-width: calc(var(--col) + 24px); padding: 0; }

  /* 主視覺：三種風格都滿版，高度一致 */
  .hero, [data-theme="luxe"] .hero, [data-theme="korean"] .hero, [data-theme="barber"] .hero {
    height: clamp(440px, 58vh, 580px); min-height: 0; max-height: none; border-radius: 0; box-shadow: none; }
  [data-theme="luxe"] .hero { padding: 0 var(--col-pad); }
  [data-theme="luxe"] .hero-in, [data-theme="luxe"] .hero-in.has-logo { padding-top: 0; justify-content: center; max-width: var(--col); }
  [data-theme="luxe"] .sky-hz { margin-top: 32px; }
  [data-theme="korean"] .hero-in { margin-top: 0; }
  [data-theme="barber"] .hero { padding: 0 var(--col-pad); align-items: stretch; }
  [data-theme="barber"] .hero-in, [data-theme="korean"][data-ind="hair"] .hero-in, [data-theme="korean"][data-ind="hair"] .hero-in.has-logo { width: 100%; max-width: var(--col); margin-left: auto; margin-right: auto; padding-bottom: 72px; }
  [data-theme="korean"][data-ind="hair"] .hero-in, [data-theme="korean"][data-ind="hair"] .hero-in.has-logo { padding-bottom: 116px; }
  .edit .meta, .edit .rule { left: max(var(--col-pad), calc(50% - var(--col) / 2)); }
  .edit .kr, .edit .rule { right: max(var(--col-pad), calc(50% - var(--col) / 2)); }
  [data-theme="korean"][data-ind="hair"] .hero { padding: 0 var(--col-pad); }
  [data-theme="barber"] .pebbles { right: calc(50% - var(--col) / 2 - 24px); top: 12%; }
  .scroll-cue { display: none; }

  /* 營業資訊：放在主視覺下方，和預約步驟同一欄 */
  .facts, [data-theme="luxe"] .facts, [data-theme="korean"] .facts, [data-theme="barber"] .facts {
    position: static; display: block; max-width: calc(var(--col) + var(--col-pad) * 2); margin: 0 auto; padding: 16px var(--col-pad) 0; }

  /* 風格切換、時段預覽：置中在主視覺上方 */
  [data-theme="luxe"] .preview, [data-theme="luxe"] .phase { right: 0; width: auto; }

  /* 底部預約列：和內容欄同寬 */
  [data-theme="luxe"] .bar { left: 0; }
  .bar-in, [data-theme="luxe"] .bar-in { max-width: var(--col); margin: 0 auto; padding: 0; }
}
/* v85：服務項目照片（店家在後台上傳）：左側 72 方圖，文字整欄往右，不改原本格線 */
.svc.hasph { padding-left: calc(14px + 72px + 14px); min-height: 104px; }
[data-theme="korean"] .svc.hasph, [data-theme="barber"] .svc.hasph { padding-left: calc(18px + 72px + 14px); }
.svc-ph { position: absolute; left: 14px; top: 16px; width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: rgba(0,0,0,.04); }
[data-theme="korean"] .svc-ph, [data-theme="barber"] .svc-ph { left: 18px; }
/* 2026-11-27 使用者：勾選框放左邊、做小一點；手機版字不要擠在一起、價格不要太大。
   結構：勾選 22｜(照片 64，電腦 72)｜內容（名稱／說明／時間＋價格）。時間與價格同一行，放不下時價格自動換到下一行，不會重疊 */
.svc { display: flex; align-items: center; gap: 12px; }
.svc.hasph, [data-theme="korean"] .svc.hasph, [data-theme="barber"] .svc.hasph { padding-left: 14px; min-height: 0; }
[data-theme="korean"] .svc.hasph, [data-theme="barber"] .svc.hasph { padding-left: 18px; }
.svc .pick { flex: none; width: 22px; height: 22px; margin: 0; border-width: 1.5px; }
.svc .pick svg { width: 14px; height: 14px; }
.svc .svc-ph, [data-theme="korean"] .svc .svc-ph, [data-theme="barber"] .svc .svc-ph { position: static; flex: none; width: 64px; height: 64px; border-radius: 10px; }
.svc-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.svc .svc-n { font-size: 16px; line-height: 1.4; }
.svc .svc-d { font-size: 13px; line-height: 1.5; }
.svc-f { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; margin-top: 4px; }
.svc .svc-meta { margin: 0; font-size: 13px; }
.svc .price, [data-theme="luxe"] .svc .price, [data-theme="barber"] .svc .price { margin-left: auto; font-size: 17px; line-height: 1.4; }
.svc .price small { font-size: 13px; }
@media (min-width: 768px) {
  .svc { gap: 16px; }
  .svc .svc-ph, [data-theme="korean"] .svc .svc-ph, [data-theme="barber"] .svc .svc-ph { width: 72px; height: 72px; }
  .svc .price, [data-theme="luxe"] .svc .price, [data-theme="barber"] .svc .price { font-size: 19px; }
}

/* 2026-11-27 使用者：日期一次顯示整個月（週一開始）；約滿、公休、超出可預約範圍的日子灰掉不能點 */
.mwk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
.mwk span { text-align: center; font-size: 13px; color: var(--ink-2); line-height: 32px; }
.mdays { row-gap: 4px; }
.day.m { min-height: 52px; gap: 0; }
.day.m .d { font-size: 18px; line-height: 1.2; }
.day.m .s { font-size: 13px; min-height: 16px; line-height: 16px; }
.day.m:disabled .d, .day.m.out .d { opacity: .35; font-weight: 400; }
.day.m:disabled .s { opacity: .6; }
.day.m.is-today:not([aria-pressed="true"]) { border-color: var(--line-2); }
.day.m.is-today .s { color: var(--ink); font-weight: 600; }
