:root {
  --ink: #23322d;
  --muted: #78827e;
  --cream: #f7f4ed;
  --paper: #fffefa;
  --line: #e8e5dc;
  --green: #2c6b58;
  --green-dark: #205344;
  --mint: #dceee7;
  --peach: #f5dfcf;
  --blue: #dfe9ee;
  --lavender: #e8e2f1;
  --orange: #d57745;
  --shadow: 0 18px 50px rgba(45, 59, 52, 0.11);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  color: var(--ink);
  background: #e8e4db;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #e8e4db; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
svg { display: block; }

.app-shell { position: relative; width: min(100%, 560px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: var(--cream); box-shadow: 0 0 80px rgba(31, 43, 38, .12); }
.topbar { position: sticky; z-index: 20; top: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; background: rgba(247, 244, 237, .92); backdrop-filter: blur(14px); }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; color: white; border-radius: 13px 13px 17px 13px; background: var(--green); transform: rotate(-4deg); }
.brand-mark svg { width: 23px; fill: currentColor; transform: rotate(4deg); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 21px; letter-spacing: .13em; }
.brand small { margin-top: 4px; font-family: Nunito, sans-serif; font-size: 9px; letter-spacing: .24em; color: var(--green); }
.profile-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; overflow: visible; color: #fff; font-weight: 700; border: 3px solid var(--paper); border-radius: 50%; background: #d29978; box-shadow: 0 3px 10px rgba(42, 63, 54, .16); }
.profile-button img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.status-dot { position: absolute; z-index: 2; right: -2px; bottom: 0; width: 11px; height: 11px; border: 2px solid white; border-radius: 50%; background: #4eab78; }

main { min-height: calc(100vh - 76px); }
.view { display: none; padding: 0 22px calc(108px + var(--safe-bottom)); animation: appear .3s ease; }
.view.active { display: block; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } }

.hero-copy { padding: 29px 3px 24px; }
.eyebrow { margin: 0 0 10px; color: var(--orange); font-family: Nunito, "Noto Sans TC", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1, .page-title h1, .success-view h1 { margin: 0; font-size: clamp(33px, 8vw, 44px); line-height: 1.35; letter-spacing: -.04em; }
.hero-copy > p:last-child, .page-title > p:last-child, .success-view > p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-card { position: relative; width: 100%; min-height: 164px; display: flex; align-items: center; gap: 14px; padding: 25px 20px; overflow: hidden; text-align: left; border-radius: 26px 26px 26px 7px; background: var(--green); color: white; box-shadow: 0 17px 30px rgba(44, 107, 88, .22); }
.hero-card:active { transform: scale(.99); }
.hero-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.blob-one { width: 180px; height: 180px; right: -80px; top: -80px; }
.blob-two { width: 110px; height: 110px; left: -50px; bottom: -65px; }
.hero-icon { position: relative; flex: 0 0 80px; width: 80px; height: 96px; display: grid; place-items: center; border-radius: 48% 48% 45% 45%; background: #efd6bd; transform: rotate(-3deg); }
.hero-icon::after { content: ""; position: absolute; width: 12px; height: 12px; right: 4px; top: 8px; border-radius: 50%; background: #efa66f; }
.hero-icon svg { width: 54px; fill: none; stroke: var(--green-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: rotate(3deg); }
.hero-card-copy { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; }
.hero-card-copy small { width: fit-content; margin-bottom: 9px; padding: 4px 8px; font-size: 12px; font-weight: 700; border-radius: 20px; color: #205344; background: #bfe0d1; }
.hero-card-copy strong { font-size: 24px; white-space: nowrap; }
.hero-card-copy em { margin-top: 7px; font-size: 14px; font-style: normal; opacity: .72; }
.circle-arrow { position: relative; flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; align-self: flex-end; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }

.section-block { margin: 35px 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 21px; }
.section-heading button { padding: 4px; color: var(--green); font-size: 14px; font-weight: 600; background: transparent; }
.service-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-preview { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; padding: 18px; text-align: left; border: 1px solid rgba(35,50,45,.04); border-radius: 22px 22px 8px 22px; transition: .2s ease; }
.service-preview:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(42, 63, 54, .09); }
.service-preview.blue { background: var(--blue); }
.service-preview.peach { background: var(--peach); }
.preview-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: var(--green); background: rgba(255,255,255,.64); }
.preview-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-preview strong { font-size: 17px; }
.service-preview small { margin-top: 5px; color: #68736f; font-size: 13px; line-height: 1.5; }
.artist-avatar { position: relative; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: white; font-weight: 800; background: #719185; }
.artist-avatar::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; background: #55ab78; }

.trust-row { display: grid; gap: 12px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-row > div { display: flex; align-items: center; gap: 12px; }
.trust-row > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--green); font-weight: 700; background: var(--mint); }
.trust-row p { display: flex; flex-direction: column; margin: 0; }
.trust-row strong { font-size: 15px; }
.trust-row small { margin-top: 2px; color: var(--muted); font-size: 13px; }
.upcoming-card { margin: 30px 0; padding: 20px; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.mini-booking { display: flex; gap: 14px; align-items: center; }
.date-tile { flex: 0 0 54px; width: 54px; padding: 8px; text-align: center; border-radius: 15px; color: var(--green); background: var(--mint); }
.date-tile small, .date-tile strong { display: block; }
.date-tile small { font-size: 12px; }
.date-tile strong { font-size: 24px; }
.mini-booking p { margin: 0; display: flex; flex-direction: column; }
.mini-booking p strong { font-size: 16px; }
.mini-booking p small { margin-top: 5px; color: var(--muted); font-size: 13px; }

.bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: 0; width: min(100%, 560px); height: calc(76px + var(--safe-bottom)); display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 8px 25px var(--safe-bottom); border-top: 1px solid rgba(35,50,45,.06); background: rgba(255, 254, 250, .95); transform: translateX(-50%); backdrop-filter: blur(16px); }
.bottom-nav.hidden { display: none; }
.bottom-nav button { display: flex; align-items: center; justify-content: center; gap: 5px; flex-direction: column; padding: 5px; color: #9a9f9c; font-size: 12px; background: transparent; }
.bottom-nav button.active { color: var(--green); font-weight: 700; }
.bottom-nav svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Booking flow */
#bookingView { min-height: 100vh; padding: 0 22px 124px; background: var(--paper); }
.booking-header { height: 70px; display: grid; grid-template-columns: 45px 1fr 45px; align-items: center; text-align: center; }
.booking-header > div { display: flex; flex-direction: column; line-height: 1.35; }
.booking-header span { color: var(--muted); font-size: 12px; }
.booking-header strong { font-size: 16px; }
.icon-button, .text-button { padding: 8px 0; background: transparent; }
.icon-button { text-align: left; color: var(--green); font-size: 29px; }
.text-button { color: var(--muted); font-size: 14px; }
.progress-track { height: 3px; margin: 0 -22px; background: #eeeae1; }
.progress-track span { display: block; width: 20%; height: 100%; background: var(--orange); transition: width .35s ease; }
.booking-step { display: none; animation: stepIn .25s ease; }
.booking-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(8px); } }
.step-intro { padding: 34px 1px 28px; }
.step-intro h2 { margin: 0; font-size: 32px; line-height: 1.35; letter-spacing: -.03em; }
.step-intro > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.choice-list { display: grid; gap: 12px; }
.choice-card { position: relative; min-height: 100px; display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: 20px; background: white; cursor: pointer; transition: .2s ease; }
.choice-card:has(input:checked) { border-color: var(--green); box-shadow: 0 8px 25px rgba(44,107,88,.11); }
.choice-card input { position: absolute; opacity: 0; }
.choice-emoji { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 18px; color: var(--green); font-size: 29px; }
.choice-emoji.mint { background: var(--mint); }.choice-emoji.peach { background: var(--peach); }.choice-emoji.lavender { background: var(--lavender); }
.choice-card > span:nth-child(3) { min-width: 0; display: flex; flex-direction: column; }
.choice-card strong { font-size: 17px; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.choice-card em { margin-top: 7px; color: var(--green); font-size: 13px; font-style: normal; font-weight: 600; }
.choice-card i { width: 22px; height: 22px; display: grid; place-items: center; color: transparent; border: 1px solid #d9ddd9; border-radius: 50%; font-size: 14px; font-style: normal; }
.choice-card:has(input:checked) i { color: white; border-color: var(--green); background: var(--green); }
.field-label { display: block; margin: 0 0 9px; color: #48534f; font-size: 14px; font-weight: 600; }
label + label, .form-grid + label { display: block; margin-top: 18px; }
.text-field { width: 100%; min-height: 50px; padding: 13px 15px; border: 1.5px solid var(--line); outline: none; border-radius: 13px; color: var(--ink); background: white; transition: .2s ease; }
.text-field:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,107,88,.08); }
.text-field.invalid { border-color: #c95045; }
textarea.text-field { resize: vertical; line-height: 1.6; }
select.text-field { appearance: none; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%2378827e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) center; }
.time-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 4px; }
.time-choice { position: relative; }
.time-choice input { position: absolute; opacity: 0; }
.time-choice span { display: block; padding: 12px 5px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; color: #59635f; font-size: 15px; background: white; }
.time-choice input:checked + span { color: white; border-color: var(--green); background: var(--green); }
.time-choice.disabled span { color: #b9bdbb; text-decoration: line-through; background: #f4f2ed; }
.date-summary-row { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 22px; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: white; text-align: left; }
.date-summary-icon { font-size: 18px; }
.date-summary-text { flex: 1; min-width: 0; overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.date-summary-arrow { color: var(--muted); font-size: 18px; }

.date-modal-backdrop { position: fixed; z-index: 60; inset: 0; background: rgba(20, 28, 25, .45); }
.date-modal { position: fixed; z-index: 61; left: 50%; top: 50%; width: min(92vw, 380px); max-height: 86vh; overflow-y: auto; padding: 20px; border-radius: 24px; background: white; box-shadow: var(--shadow); transform: translate(-50%, -50%); }
.date-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.date-modal-head strong { font-size: 16px; }
.date-modal-head button { width: 34px; height: 34px; border-radius: 50%; color: var(--green); font-size: 18px; background: var(--mint); }
.date-modal-weekdays, .date-modal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; margin-top: 12px; }
.date-modal-weekdays span { display: block; text-align: center; color: var(--muted); font-size: 11px; font-weight: 700; }
.date-modal-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; color: var(--ink); font-size: 14px; font-weight: 600; background: transparent; }
.date-modal-cell.empty { visibility: hidden; }
.date-modal-cell.disabled, .date-modal-cell:disabled { color: #c3c9c5; cursor: not-allowed; }
.date-modal-cell.unavailable { color: #c3c9c5; text-decoration: line-through; cursor: not-allowed; }
.date-modal-cell.in-range { background: var(--mint); border-radius: 0; }
.date-modal-cell.picked { color: white; border-radius: 50%; background: var(--green); }
.date-modal-confirm { display: block; width: 100%; margin-top: 16px; padding: 13px; border-radius: 999px; color: white; font-size: 15px; font-weight: 700; background: var(--green); }
.date-modal-clear { display: block; width: 100%; margin-top: 8px; padding: 6px; color: var(--muted); font-size: 13px; text-align: center; background: transparent; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; cursor: pointer; }
.product-image { display: block; width: 100%; height: 120px; object-fit: cover; background: var(--mint); }
.product-image-empty { display: flex; align-items: center; justify-content: center; font-size: 34px; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px; }
.product-body strong { font-size: 15px; }
.product-body small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.product-body em { margin-top: 2px; color: var(--green); font-style: normal; font-weight: 700; }
.product-card .primary-button { margin: 0 12px 12px; padding: 10px; font-size: 14px; }
.product-detail { padding-bottom: 40px; }
.product-gallery { display: flex; flex-direction: column; }
.product-gallery img { display: block; width: 100%; height: auto; }
.product-modal-gallery-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 60vh; background: var(--mint); font-size: 40px; }
.product-detail-body { padding: 20px 20px 4px; }
.product-detail-body h1 { margin: 0 0 6px; font-size: 22px; }
.product-detail-body em { display: block; margin-bottom: 16px; color: var(--green); font-size: 18px; font-style: normal; font-weight: 800; }
.product-detail-description { color: #48534f; font-size: 14px; line-height: 1.9; }
.product-order-panel { margin: 24px 20px 0; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fbfaf6; }
.quantity-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 12px 0; }
.quantity-row button { width: 38px; height: 38px; border-radius: 50%; color: var(--green); font-size: 18px; font-weight: 700; background: var(--mint); }
.quantity-row span { min-width: 30px; font-size: 18px; font-weight: 700; text-align: center; }
.artist-list { display: grid; gap: 13px; }
.artist-card { padding: 17px; border: 1.5px solid var(--line); border-radius: 20px; background: white; transition: .2s ease; }
.artist-card.selected { border-color: var(--green); box-shadow: 0 9px 25px rgba(44,107,88,.1); }
.artist-profile { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.artist-profile .artist-avatar { width: 54px; height: 54px; font-size: 21px; }
.artist-info { display: flex; min-width: 0; flex-direction: column; }.artist-info strong { font-size: 16px; }.artist-info small { margin-top: 3px; color: var(--muted); font-size: 12px; }.artist-info em { margin-top: 5px; color: #c07a4c; font-size: 12px; font-style: normal; }
.artist-badge { padding: 5px 8px; border-radius: 20px; color: var(--green); font-size: 10px; font-weight: 700; background: var(--mint); }
.slot-label { display: block; margin: 15px 0 8px; color: var(--muted); font-size: 12px; }
.slot-row { display: flex; flex-wrap: wrap; gap: 7px; }
.slot-button { min-width: 65px; padding: 9px 10px; border: 1px solid #cfd7d3; border-radius: 10px; color: var(--green); font-size: 13px; background: white; }
.slot-button.selected { color: white; border-color: var(--green); background: var(--green); }.slot-button:disabled { color: #b8bdbb; border-color: #e5e5e1; text-decoration: line-through; background: #f4f3ef; cursor: not-allowed; }
.no-slot { margin: 8px 0 2px; color: var(--muted); font-size: 13px; }
.info-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 15px; border-radius: 15px; background: var(--blue); }
.info-note > span { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 13px; font-weight: 700; }
.info-note p { display: flex; flex-direction: column; margin: 0; }
.info-note strong { font-size: 14px; }.info-note small { margin-top: 4px; color: #67736e; font-size: 13px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; }
.form-grid label { min-width: 0; margin: 0; }
.consent { display: flex !important; align-items: center; gap: 10px; margin: 20px 0 0; color: #5d6763; font-size: 14px; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--green); }
.field-error { min-height: 20px; margin-top: 8px; color: #c95045; font-size: 13px; }
.booking-actions { position: fixed; z-index: 25; left: 50%; bottom: 0; width: min(100%, 560px); padding: 14px 22px calc(14px + var(--safe-bottom)); border-top: 1px solid var(--line); background: rgba(255,254,250,.96); transform: translateX(-50%); backdrop-filter: blur(14px); }
.primary-button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border-radius: 16px 16px 16px 5px; color: white; font-size: 16px; font-weight: 700; background: var(--green); box-shadow: 0 9px 20px rgba(44,107,88,.19); }
.primary-button:disabled { opacity: .65; cursor: wait; }
.primary-button span { font-size: 23px; line-height: 1; }
.secondary-button { width: 100%; min-height: 48px; margin-top: 9px; color: var(--green); font-weight: 600; background: transparent; }
.review-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; }
.review-row { display: grid; grid-template-columns: 32px 86px 1fr; gap: 8px; padding: 16px; border-bottom: 1px solid var(--line); }
.review-row:last-child { border: 0; }
.review-row > span:first-child { color: var(--green); }
.review-row small { color: var(--muted); font-size: 13px; }.review-row strong { font-size: 14px; font-weight: 600; }
.price-summary { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 18px; border-radius: 16px; background: var(--mint); }
.price-summary span { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.price-summary small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.price-summary strong { color: var(--green); font-size: 23px; }

/* Bookings */
.page-title { padding: 36px 1px 26px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 13px; background: #ebe8e0; }
.segmented button { padding: 10px; border-radius: 10px; color: var(--muted); font-size: 14px; background: transparent; }
.segmented button.active { color: var(--green); font-weight: 700; background: white; box-shadow: 0 3px 10px rgba(45,59,52,.08); }
#bookingList { display: grid; gap: 14px; padding-top: 20px; }
.booking-item { padding: 19px; border: 1px solid rgba(35,50,45,.06); border-radius: 22px 22px 7px 22px; background: var(--paper); box-shadow: 0 10px 30px rgba(45,59,52,.07); }
.booking-item-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.booking-number { color: var(--muted); font-size: 12px; }
.status-pill { padding: 5px 9px; border-radius: 20px; color: #8b603e; font-size: 12px; font-weight: 700; background: #f8e6ca; }
.status-pill.confirmed,
.status-pill.accepted { color: var(--green); background: var(--mint); }
.status-pill.in_progress { color: #315f78; background: #deedf5; }
.status-pill.completed { color: #426b4a; background: #dfeee1; }
.status-pill.rejected,
.status-pill.cancelled,
.status-pill.voided { color: #8b5e56; background: #f3e7e3; }
.status-pill.unpaid { color: #a3521f; background: #fbe4cf; }
.status-pill.paid { color: var(--green); background: var(--mint); }
.booking-item-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.booking-item-price { flex: 0 0 auto; color: var(--green); }
.booking-dates { display: flex; align-items: center; gap: 5px; }
.booking-dates .cal-icon { font-size: 12px; }
.booking-status-line { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-dot-pending { background: #e0a53c; }
.status-dot-paid { background: var(--green); }
.status-dot-progress { background: #4b7380; }
.status-dot-done { background: #8176a0; }
.status-dot-cancelled { background: #c95045; }
.success-payment-note { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; color: #a3521f; font-size: 13px; line-height: 1.6; background: #fbe4cf; }
.payment-panel { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fbf8f2; text-align: center; }
.payment-panel .payment-title { margin: 0 0 6px; color: var(--ink); font-size: 15px; font-weight: 700; }
.payment-panel .payment-instructions { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.payment-panel .payment-account { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: white; border: 1px solid var(--line); }
.payment-panel .payment-account strong { color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.payment-panel .copy-account-button { padding: 6px 12px; border: 1px solid var(--green); border-radius: 999px; color: var(--green); font-size: 12px; font-weight: 700; background: white; }
.payment-panel .payment-note { margin: 0; color: var(--green); font-size: 13px; font-weight: 700; }
.booking-item-body { display: grid; grid-template-columns: 1fr; padding: 16px 0 5px; }
.booking-item-body p { display: flex; flex-direction: column; margin: 0; }
.booking-item-body strong { font-size: 17px; }.booking-item-body small { margin-top: 5px; color: var(--muted); font-size: 13px; }
.booking-item-actions { display: flex; gap: 8px; margin-top: 13px; }
.booking-item-actions button { flex: 1; padding: 10px; border-radius: 11px; color: var(--green); font-size: 13px; font-weight: 600; background: var(--mint); }
.booking-item-actions .cancel-action { color: #966359; background: #f3e7e3; }
.empty-state { padding: 50px 25px; text-align: center; color: var(--muted); }
.empty-state span { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: var(--green); font-size: 31px; background: var(--mint); }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 17px; }.empty-state p { margin: 0; font-size: 14px; line-height: 1.6; }

/* Success */
.success-view { padding-top: 65px; text-align: center; }
.success-art { position: relative; width: 105px; height: 105px; display: grid; place-items: center; margin: 0 auto 30px; }
.success-art::before, .success-art::after { content: ""; position: absolute; border-radius: 50%; background: var(--peach); }
.success-art::before { width: 13px; height: 13px; left: -3px; top: 18px; }.success-art::after { width: 8px; height: 8px; right: 2px; bottom: 14px; }
.success-art svg { position: relative; z-index: 2; width: 78px; height: 78px; padding: 20px; border-radius: 50%; fill: none; stroke: white; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; background: var(--green); box-shadow: 0 10px 25px rgba(44,107,88,.23); }
.success-ring { position: absolute; inset: 4px; border: 1px dashed #98b9ad; border-radius: 50%; animation: rotate 20s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.success-ticket { margin: 30px 0 22px; padding: 19px; text-align: left; border: 1px dashed #cfd4cf; border-radius: 17px; background: white; }
.success-ticket .review-row { padding: 10px 0; border: 0; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 95px; max-width: calc(100% - 44px); padding: 11px 16px; color: white; font-size: 14px; text-align: center; border-radius: 20px; background: rgba(35,50,45,.92); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 560px) {
  .app-shell { min-height: calc(100vh - 30px); margin: 15px auto; border-radius: 26px; }
  .bottom-nav, .booking-actions { bottom: 15px; border-radius: 0 0 26px 26px; }
  .bottom-nav { width: 560px; }
  .booking-actions { width: 560px; }
}

@media (max-width: 370px) {
  .view, #bookingView { padding-left: 16px; padding-right: 16px; }
  .hero-card { padding: 20px 15px; }.hero-icon { flex-basis: 66px; width: 66px; }.hero-card-copy strong { font-size: 20px; }.circle-arrow { display: none; }
  .choice-card { grid-template-columns: 49px 1fr 21px; padding: 13px; gap: 10px; }.choice-emoji { width: 48px; height: 48px; }
}

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

/* Readable typography: keep essential labels comfortable on mobile. */
body { font-size: 18px; }
.brand small { font-size: 12px; }
.hero-card-copy small { font-size: 14px; }
.hero-card-copy em { font-size: 16px; }
.section-heading h2 { font-size: 23px; }
.section-heading button { font-size: 16px; }
.service-preview strong { font-size: 20px; }
.service-preview small { font-size: 15px; }
.trust-row strong { font-size: 17px; }
.trust-row small { font-size: 15px; }
.mini-booking p strong { font-size: 18px; }
.mini-booking p small { font-size: 15px; }
.bottom-nav button { font-size: 14px; }
.booking-header span { font-size: 14px; }
.booking-header strong { font-size: 18px; }
.text-button { font-size: 16px; }
.step-intro > p:last-child { font-size: 17px; }
.choice-card strong { font-size: 20px; }
.choice-card small, .choice-card em { font-size: 15px; }
.field-label { font-size: 16px; }
.text-field { font-size: 18px; }
.time-choice span { font-size: 17px; }
.artist-info strong { font-size: 18px; }
.artist-info small, .artist-info em { font-size: 14px; }
.artist-badge { font-size: 13px; }
.slot-label, .slot-button, .no-slot { font-size: 15px; }
.info-note strong { font-size: 16px; }
.info-note small { font-size: 15px; }
.consent { font-size: 16px; }
.field-error { font-size: 15px; }
.primary-button { font-size: 18px; }
.secondary-button { font-size: 16px; }
.review-row small { font-size: 15px; }
.review-row strong { font-size: 16px; }
.price-summary span { font-size: 16px; }
.price-summary small { font-size: 13px; }
.segmented button { font-size: 16px; }
.booking-number, .status-pill { font-size: 14px; }
.booking-item-body strong { font-size: 20px; }
.booking-item-body small { font-size: 15px; }
.booking-item-actions button { font-size: 15px; }
.empty-state strong { font-size: 20px; }
.empty-state p { font-size: 16px; }
.toast { font-size: 16px; }

/* Moonee Nails — boutique salon visual system */
:root {
  --ink: #302126;
  --muted: #806f73;
  --cream: #faf5f2;
  --paper: #fffdfb;
  --line: #eadcdd;
  --green: #6f3042;
  --green-dark: #4e1f2d;
  --mint: #f3e4e7;
  --peach: #f4e2d8;
  --blue: #eee7e2;
  --lavender: #ece3ed;
  --orange: #b58a5b;
  --shadow: 0 18px 48px rgba(77, 37, 48, .10);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  background: #eee5e2;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(181,138,91,.14), transparent 25%),
    radial-gradient(circle at 88% 92%, rgba(111,48,66,.10), transparent 28%),
    #eee5e2;
}

.app-shell { background: var(--cream); box-shadow: 0 0 90px rgba(72,35,45,.15); }
.topbar { height: 82px; padding-inline: 24px; border-bottom: 1px solid rgba(111,48,66,.06); background: rgba(250,245,242,.9); }
.brand { gap: 12px; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; color: #f8e9e3; background: var(--green); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 8px 20px rgba(111,48,66,.18); }
.brand > span:last-child { line-height: .9; }
.brand strong { font-family: "Cormorant Garamond", serif; font-size: 29px; font-weight: 600; letter-spacing: .04em; }
.brand small { margin-top: 6px; color: #a57760; font-family: "Noto Sans TC", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .38em; }
.profile-button { border-color: #fff8f4; background: #b97c83; box-shadow: 0 5px 18px rgba(86,38,51,.18); }
.status-dot { background: #b58a5b; }

.hero-copy { padding: 38px 4px 28px; }
.eyebrow { color: #a97956; font-family: "Noto Sans TC", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.hero-copy h1, .page-title h1, .success-view h1, .step-intro h2 {
  color: var(--green-dark);
  font-family: "Noto Serif TC", serif;
  font-weight: 600;
  letter-spacing: -.025em;
}
.hero-copy h1 { font-size: clamp(34px,8vw,45px); line-height: 1.42; }
.hero-copy > p:last-child { max-width: 390px; color: #877477; font-size: 15px; }
.hero-card { min-height: 176px; padding: 27px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: linear-gradient(135deg,#6f3042 0%,#572333 72%,#47202c 100%); box-shadow: 0 24px 45px rgba(89,34,50,.24); }
.hero-card::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(248,231,223,.18); border-radius: 23px; pointer-events: none; }
.hero-blob { background: rgba(255,255,255,.035); }
.hero-icon { flex-basis: 84px; width: 84px; height: 105px; border: 1px solid rgba(255,255,255,.4); border-radius: 48px 48px 18px 18px; background: linear-gradient(160deg,#f5e3d8,#d9a9aa); transform: rotate(-4deg); }
.hero-icon::after { width: 9px; height: 9px; right: 10px; top: 10px; background: #b58a5b; box-shadow: 0 0 0 5px rgba(255,255,255,.22); }
.hero-icon svg { width: 48px; stroke: var(--green-dark); stroke-width: 2.3; }
.hero-card-copy small { color: #572333; background: #f2dfe0; }
.hero-card-copy strong { font-family: "Noto Serif TC", serif; font-size: 23px; font-weight: 600; letter-spacing: .03em; }
.hero-card-copy em { color: #f4dfe0; opacity: .86; }
.circle-arrow { border-color: rgba(255,255,255,.5); color: #f5e7e2; }

.section-heading h2 { color: var(--green-dark); font-family: "Noto Serif TC", serif; font-weight: 600; }
.section-heading button { color: var(--green); }
.service-preview { min-height: 178px; padding: 20px; border: 1px solid rgba(111,48,66,.08); border-radius: 24px; box-shadow: 0 10px 25px rgba(74,35,45,.05); }
.service-preview.blue { background: linear-gradient(145deg,#f7eeeb,#eee3df); }
.service-preview.peach { background: linear-gradient(145deg,#f9eee6,#efdcd3); }
.preview-icon { color: var(--green); background: rgba(255,253,251,.82); box-shadow: inset 0 0 0 1px rgba(111,48,66,.06); }
.service-preview strong { color: var(--green-dark); font-family: "Noto Serif TC", serif; font-weight: 600; }
.service-preview small { color: #826f72; }
.trust-row { border-color: var(--line); }
.trust-row > div > span { color: var(--green); background: #f1e2e4; }
.upcoming-card { border: 1px solid rgba(111,48,66,.08); }
.date-tile { color: var(--green); background: var(--mint); }

.bottom-nav { border-color: rgba(111,48,66,.10); background: rgba(255,250,247,.94); box-shadow: 0 -10px 30px rgba(75,37,47,.05); }
.bottom-nav button { color: #a39496; }
.bottom-nav button.active { color: var(--green); }

#bookingView { background: #fffaf7; }
.booking-header strong { color: var(--green-dark); font-family: "Noto Serif TC", serif; }
.icon-button { color: var(--green); }
.progress-track { background: #eee2e1; }
.progress-track span { background: linear-gradient(90deg,#b58a5b,#7b3548); }
.step-intro { padding-top: 40px; }
.step-intro h2 { font-size: 31px; line-height: 1.45; }
.choice-card, .artist-card, .date-summary-row, .text-field { border-color: var(--line); background: #fffdfb; }
.choice-card { border-radius: 22px; box-shadow: 0 7px 22px rgba(75,37,47,.04); }
.choice-card:has(input:checked), .artist-card.selected { border-color: #8b5060; box-shadow: 0 10px 28px rgba(111,48,66,.12); }
.choice-emoji { color: var(--green); border-radius: 50%; }
.choice-emoji.mint { background: #f1e1e4; }
.choice-emoji.peach { background: #f3dfd5; }
.choice-emoji.lavender { background: #eae0eb; }
.choice-card strong, .artist-info strong { color: var(--green-dark); }
.choice-card em, .artist-info em { color: #a97956; }
.choice-card:has(input:checked) i, .time-choice input:checked + span, .slot-button.selected { border-color: var(--green); background: var(--green); }
.text-field:focus { border-color: #8b5060; box-shadow: 0 0 0 4px rgba(111,48,66,.08); }
.date-modal { border: 1px solid rgba(111,48,66,.10); border-radius: 28px; background: #fffaf7; }
.date-modal-head button { color: var(--green); background: var(--mint); }
.date-modal-cell.picked, .date-modal-confirm { background: var(--green); }
.date-modal-cell.in-range { background: var(--mint); }
.artist-avatar { background: #a86f79; }
.artist-badge { color: var(--green); background: var(--mint); }
.slot-button { border-color: #ddc9cc; color: var(--green); }
.info-note { border: 1px solid #ead9d5; background: #f7ece8; }
.info-note > span { color: var(--green); border-color: var(--green); }
.booking-actions { border-color: var(--line); background: rgba(255,250,247,.95); }
.primary-button { border-radius: 16px; background: linear-gradient(135deg,#773448,#5d2737); box-shadow: 0 12px 25px rgba(111,48,66,.22); }
.price-summary { border: 1px solid #e7d2d5; background: #f5e6e8; }
.price-summary strong { color: var(--green); }
.segmented { background: #ede2df; }
.segmented button.active { color: white; background: var(--green); }
.product-card, .booking-item, .review-card, .success-ticket { border-color: var(--line); background: #fffdfb; }
.product-image-empty, .empty-state span { color: var(--green); background: var(--mint); }
.product-body em, .product-detail-body em, .booking-item-price { color: var(--green); }
.status-pill, .booking-number { color: var(--green); background: var(--mint); }
.success-art svg { background: var(--green); box-shadow: 0 12px 28px rgba(111,48,66,.22); }
.success-ring { border-color: #c69ba2; }
.toast { background: rgba(61,28,38,.94); }

@media (min-width:560px) {
  .app-shell { border: 1px solid rgba(111,48,66,.08); border-radius: 32px; }
  .bottom-nav, .booking-actions { border-radius: 0 0 32px 32px; }
}

@media (max-width:420px) {
  .hero-copy h1 { font-size: 31px; }
  .hero-card { min-height: 166px; padding: 23px 17px; }
  .hero-icon { flex-basis: 70px; width: 70px; height: 94px; }
  .hero-card-copy strong { font-size: 20px; white-space: normal; }
  .hero-card-copy em { font-size: 14px; }
  .circle-arrow { flex-basis: 27px; width: 27px; height: 27px; }
}
