/* ========================================
   ??女巫?室 - ??系統??
   ======================================== */
:root { --p: #d4a574; --pd: #b88a5a; --dark: #1a1a1a; --dl: #2d2d2d; --w: #fff; --muted: #888; --bg-grad: radial-gradient(circle, transparent 0%, rgba(0,0,0,0.8) 100%); --card-bg: rgba(255, 255, 255, 0.05); --glass: blur(15px); --gold-grad: linear-gradient(135deg, #d4a574 0%, #c5a059 100%); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans TC', sans-serif; background: #000; color: var(--w); overflow-x: hidden; }
body.line4-white-theme{background:#fbf7ff;color:#111827;}
body.line4-white-theme{--price-fill:#7c3aed;--price-fill-2:#a78bfa;--price-shadow:rgba(109,40,217,.18);--price-ring:rgba(139,92,246,.18);}
body.line4-white-theme .hero-bg{display:block;position:fixed;inset:0;width:100%;height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;background-color:#dac5f4;filter:none;opacity:1;z-index:-3;}
body.line4-white-theme .overlay{display:block;position:fixed;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.58) 46%,rgba(255,255,255,.84));z-index:-2;}
body.line4-white-theme .container{max-width:1120px;}
body.line4-white-theme .header{margin-bottom:26px;padding:18px 0;gap:22px;border-bottom:1px solid rgba(196,181,253,.42);}
body.line4-white-theme .logo{color:#1f2937;}
body.line4-white-theme .logo-image-link{display:flex;align-items:center;min-width:0;text-decoration:none;}
body.line4-white-theme .logo-image-link img{display:block;width:min(420px,52vw);height:auto;border-radius:18px;box-shadow:0 18px 46px rgba(88,28,135,.14);}
body.line4-white-theme .top-nav{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
body.line4-white-theme .admin-link{color:#2563eb;opacity:1;}
body.line4-white-theme .top-nav .admin-link{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid rgba(196,181,253,.55);border-radius:999px;background:rgba(255,255,255,.72);box-shadow:0 10px 24px rgba(76,29,149,.08);color:#6d28d9;font-weight:800;}
body.line4-white-theme .top-nav .admin-link:hover{background:#fff;border-color:#c084fc;color:#581c87;}
body.line4-white-theme .brand-hero{max-width:920px;margin:0 auto 24px;padding:26px clamp(18px,5vw,54px) 30px;text-align:center;border:1px solid rgba(196,181,253,.48);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(250,245,255,.68));box-shadow:0 22px 70px rgba(109,40,217,.13);backdrop-filter:blur(16px);}
body.line4-white-theme .hero-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;color:#8b5cf6;font-size:.86rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
body.line4-white-theme .brand-hero h1{margin:0;color:#4c1d95;font-size:clamp(2.25rem,7vw,5.2rem);line-height:1.04;font-weight:900;letter-spacing:.08em;}
body.line4-white-theme .brand-hero p:not(.hero-kicker){max-width:700px;margin:16px auto 0;color:#5b5470;font-size:clamp(1rem,2vw,1.18rem);line-height:1.8;}
body.line4-white-theme .main-card,body.line4-white-theme .query-section{background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border:1px solid rgba(196,181,253,.48);box-shadow:0 26px 70px rgba(109,40,217,.16);}
body.line4-white-theme .wizard-header h1,body.line4-white-theme .wizard-header h2,body.line4-white-theme .query-header h2,body.line4-white-theme .service-name,body.line4-white-theme .time-group h4,body.line4-white-theme .summary-box h3,body.line4-white-theme .success-message h2{color:#111827;}
body.line4-white-theme .wizard-header p,body.line4-white-theme .query-header p,body.line4-white-theme .step label,body.line4-white-theme .footer{color:#6b7280;opacity:1;}
body.line4-white-theme .steps-container:before{background:#dbe7f5;}
body.line4-white-theme .step span{background:#fff;border-color:#dbe7f5;color:#6b7280;}
body.line4-white-theme .step.active span,body.line4-white-theme .step.completed span{background:#8b5cf6;border-color:#8b5cf6;color:#fff;box-shadow:0 10px 25px rgba(139,92,246,.28);}
body.line4-white-theme .step.active label{color:#7c3aed;}
body.line4-white-theme .service-card{display:flex;flex-direction:column;height:100%;background:rgba(255,255,255,.9);border:1px solid rgba(196,181,253,.5);box-shadow:0 16px 34px rgba(76,29,149,.1);}
body.line4-white-theme .service-card:hover{background:#fff;border-color:#c084fc;}
body.line4-white-theme .service-card.selected{background:#f5f3ff;border-color:#8b5cf6;}
body.line4-white-theme .service-image-button{background:#f1f5f9;}
body.line4-white-theme .service-img{height:210px;background:#f1f5f9;}
body.line4-white-theme .service-info{display:flex;flex:1;flex-direction:column;gap:10px;}
body.line4-white-theme .service-name{font-size:1.02rem;line-height:1.55;font-weight:900;word-break:break-word;}
body.line4-white-theme .service-meta{display:flex;flex-direction:column;justify-content:flex-end;gap:10px;align-items:stretch;flex-wrap:nowrap;margin-top:auto;}
body.line4-white-theme .service-meta .price{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:10px 16px;border:1px solid rgba(255,255,255,.52);border-radius:12px;background:linear-gradient(135deg,var(--price-fill),var(--price-fill-2));color:#fff;font-weight:900;letter-spacing:.02em;text-shadow:0 1px 1px rgba(15,23,42,.22);box-shadow:0 10px 20px var(--price-shadow),inset 0 1px 0 rgba(255,255,255,.28);transform:translateY(0);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;}


body.line4-white-theme .service-card:hover .service-meta .price{filter:brightness(1.04) saturate(1.04);transform:translateY(-1px);box-shadow:0 12px 24px var(--price-shadow),inset 0 1px 0 rgba(255,255,255,.32);}
body.line4-white-theme .service-card:active .service-meta .price{transform:translateY(1px);box-shadow:0 7px 14px var(--price-shadow),inset 0 1px 0 rgba(255,255,255,.22);}
body.line4-white-theme .service-card.selected .service-meta .price{box-shadow:0 0 0 3px var(--price-ring),0 12px 24px var(--price-shadow),inset 0 1px 0 rgba(255,255,255,.3);}
body.line4-white-theme .service-meta,body.line4-white-theme .summary-box p{color:#475569;}
body.line4-white-theme .time-btn{background:#fff;border-color:#dbe7f5;color:#1f2937;}
body.line4-white-theme .time-btn:hover{border-color:#8b5cf6;color:#7c3aed;}
body.line4-white-theme .time-btn.selected{background:#8b5cf6;border-color:#8b5cf6;color:#fff;}
body.line4-white-theme .custom-input{background:#fff;border-color:#dbe7f5;color:#111827;}
body.line4-white-theme .custom-input:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.14);outline:none;}
body.line4-white-theme .btn-primary{background:linear-gradient(135deg,#8b5cf6,#c084fc);color:#fff;}
body.line4-white-theme .btn-primary:hover{background:linear-gradient(135deg,#7c3aed,#a855f7);}
body.line4-white-theme .btn-secondary,body.line4-white-theme .btn-outline{color:#7c3aed;border-color:#c4b5fd;}
body.line4-white-theme .btn-secondary:hover,body.line4-white-theme .btn-outline:hover{background:#f5f3ff;color:#6d28d9;}
body.line4-white-theme .summary-box{background:rgba(250,245,255,.84);border-color:#c4b5fd;}
body.line4-white-theme .booking-item{background:#fff;border-color:#e5edf7;box-shadow:0 10px 24px rgba(15,23,42,.06);}
body.line4-white-theme .pink-calendar{border-color:#ddd6fe;color:#7c3aed;box-shadow:0 18px 50px rgba(139,92,246,.16);}
body.line4-white-theme .pink-calendar:before{content:'';}
body.line4-white-theme .cal-header button,body.line4-white-theme .cal-body .day:hover,body.line4-white-theme .cal-body .day.selected{background:#8b5cf6!important;color:#fff!important;}
body.line4-white-theme .cal-days,body.line4-white-theme .cal-header button{color:#7c3aed;}
body.line4-white-theme .cal-body,body.line4-white-theme .cal-body .day{border-color:#dbe7f5;background:#fff;}
/* ?景??局 START */
.hero-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; filter: brightness(0.4); }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-grad); z-index: -1; }
.container { max-width: 900px; margin: 0 auto; padding: 20px; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; margin-bottom: 30px; }
.logo { font-size: 28px; font-weight: 700; color: var(--p); letter-spacing: 2px; }
.admin-link { color: var(--w); text-decoration: none; font-size: 14px; opacity: 0.7; transition: 0.3s; }
.main-card { background: var(--card-bg); backdrop-filter: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); margin-bottom: 40px; }
/* ?景??局 END */
/* 步??示??START */
.steps-container { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.steps-container::before { content: ''; position: absolute; top: 15px; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.1); z-index: 0; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.step span { width: 32px; height: 32px; background: var(--dl); border: 2px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: 0.3s; }
.step label { font-size: 12px; opacity: 0.5; transition: 0.3s; }
.step.active span { background: var(--p); border-color: var(--p); color: var(--dark); box-shadow: 0 0 15px var(--p); }
.step.active label { opacity: 1; color: var(--p); font-weight: 700; }
.step.completed span { background: var(--pd); border-color: var(--pd); font-size: 0; }
.step.completed span::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; color: var(--w); }
/* 步??示??END */
/* ?件?? START */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; height: 100%; background: rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid transparent; transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.service-card.selected { border-color: var(--p); background: rgba(212, 165, 116, 0.1); }
.service-image-button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: rgba(255,255,255,0.06); cursor: zoom-in; overflow: hidden; }
.service-img { width: 100%; height: 150px; object-fit: cover; }
.service-zoom-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 5px 10px; border-radius: 999px; background: rgba(17,24,39,.78); color: #fff; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: .22s; }
.service-image-button:hover .service-zoom-hint { opacity: 1; transform: translateY(0); }
.service-info { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); gap: 10px; margin-bottom: 20px; }
.time-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 10px; color: var(--w); cursor: pointer; transition: 0.3s; font-size: 14px; }
.time-btn.selected { background: var(--p); color: var(--dark); border-color: var(--p); box-shadow: 0 0 10px rgba(212, 165, 116, 0.5); }
.time-btn:disabled { opacity: 0.3; cursor: not-allowed; filter: grayscale(1); }
.custom-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 15px; color: var(--w); font-family: inherit; margin-top: 8px; transition: 0.3s; }
.btn-primary { background: var(--p); color: var(--dark); border: none; padding: 12px 40px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { background: var(--pd); transform: scale(1.05); }
.btn-secondary { background: transparent; color: var(--w); border: 1px solid rgba(255,255,255,0.2); padding: 12px 40px; border-radius: 12px; cursor: pointer; transition: 0.3s; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--w); }
.btn-outline { background: transparent; border: 1px solid var(--p); color: var(--p); padding: 12px 20px; border-radius: 12px; cursor: pointer; transition: 0.3s; font-weight: 700; text-align: center; display: block; }
.btn-outline:hover { background: var(--p); color: var(--dark); }
.btn-line { background: #00b900; color: white; text-decoration: none; padding: 12px 20px; border-radius: 12px; display: block; margin: 10px 0; font-weight: 700; text-align: center; }
.summary-box { background: rgba(212, 165, 116, 0.05); border: 1px dashed rgba(212, 165, 116, 0.3); padding: 20px; border-radius: 16px; margin: 20px 0; }
/* ????系???*/
.pink-calendar { background: #fffdfd; padding: 25px; border-radius: 35px; border: 1px solid #ffe4e8; color: #d64045; position: relative; box-shadow: 0 10px 40px rgba(214, 64, 69, 0.08); }
.pink-calendar::before { content: '??'; position: absolute; top: 15px; right: 20px; font-size: 24px; }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; font-size: 1.3rem; }
.cal-header button { background: #fff0f3; border: none; border-radius: 12px; width: 40px; height: 40px; color: #d64045; cursor: pointer; transition: 0.3s; }
.cal-header button:hover { background: #d64045; color: #fff; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: 700; margin-bottom: 10px; color: #d64045; border-bottom: 3px solid #ffccd5; padding-bottom: 10px; }
.cal-body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background-color: #ffccd5; border: 2px solid #ffccd5; }
.cal-body .day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; font-weight: 500; font-size: 1rem; color: #555; background: #fffdfd; }
.cal-body .day:hover { background: #fff0f3; color: #d64045; }
.cal-body .day.selected { background: #d64045 !important; color: #fff !important; }
.cal-body .day.disabled { color: #d1d1d1; cursor: not-allowed; background: #fafafa; }
/* ?件?? END */
/* ?能?? START */
.d-none { display: none; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.text-accent { color: var(--p); }
.query-section { background: rgba(255,255,255,0.03); border-radius: 24px; padding: 30px; border: 1px solid rgba(255,255,255,0.05); }
.query-header { text-align: center; margin-bottom: 25px; }
.query-header h2 { font-size: 24px; margin-bottom: 8px; color: var(--p); }
.query-header p { opacity: 0.6; font-size: 14px; }
.query-box { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; align-items: flex-start; }
.query-box .custom-input { margin-top: 0; flex: 1; height: 48px; }
.query-box .btn-primary { height: 48px; padding: 0 30px; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.booking-item { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 15px; margin-top: 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.05); }
.footer { text-align: center; padding: 40px 0; opacity: 0.4; font-size: 12px; }
/* ?能?? END */
.image-viewer { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, .78); backdrop-filter: blur(10px); }
.image-viewer.is-open { display: flex; }
.image-viewer-panel { width: min(96vw, 980px); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.image-viewer-panel img { display: block; max-width: 100%; max-height: calc(92vh - 70px); width: auto; height: auto; object-fit: contain; border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.38); background: #fff; }
.image-viewer-title { max-width: 920px; color: #fff; text-align: center; font-weight: 900; line-height: 1.6; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.image-viewer-close { position: fixed; top: 18px; right: 18px; width: 46px; height: 46px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: #111827; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
body.image-viewer-open { overflow: hidden; }

@media (max-width: 760px) {
    body.line4-white-theme .header{align-items:center;flex-direction:column;padding-top:12px;text-align:center;}
    body.line4-white-theme .logo-image-link img{width:min(92vw,420px);border-radius:16px;}
    body.line4-white-theme .top-nav{justify-content:center;width:100%;}
    body.line4-white-theme .top-nav .admin-link{flex:1 1 140px;justify-content:center;}
    body.line4-white-theme .brand-hero{padding:24px 18px;margin-bottom:18px;border-radius:22px;}
    body.line4-white-theme .brand-hero h1{font-size:clamp(2rem,12vw,3.4rem);letter-spacing:.04em;}
    body.line4-white-theme .main-card{padding:24px 18px;}
    body.line4-white-theme .service-meta .price{min-height:44px;margin-top:2px;font-size:1rem;border-radius:12px;}
    body.line4-white-theme .service-card.selected{box-shadow:0 0 0 3px var(--price-ring),0 18px 40px var(--price-shadow);}
    body.line4-white-theme .service-img,
    .service-img{height:auto;object-fit:contain;}
    .service-image-button{background:#fff;}
    .service-zoom-hint{opacity:1;transform:none;font-size:11px;right:8px;bottom:8px;}
    .image-viewer{padding:14px;}
    .image-viewer-close{top:10px;right:10px;width:42px;height:42px;}
    .image-viewer-panel img{max-height:calc(90vh - 84px);border-radius:14px;}
    .image-viewer-title{font-size:.9rem;}
}

/* ?綻美甲沙?：玫?晶??? ???澤風格 */
body.line3-nail-theme{--p:#d85b8c;--pd:#a83766;--gold-grad:linear-gradient(135deg,#d85b8c,#f5c9d8);--price-fill:#c83c76;--price-fill-2:#ef84ad;--price-shadow:rgba(168,55,102,.18);--price-ring:rgba(216,91,140,.18);background:#fff5f8;color:#2f1b26;}
body.line3-nail-theme .hero-bg{background-position:center center;}
body.line3-nail-theme .overlay{background:linear-gradient(180deg,rgba(255,245,248,.12),rgba(255,245,248,.58) 45%,rgba(255,255,255,.9));}
body.line3-nail-theme .header{border-bottom-color:rgba(216,91,140,.25);}
body.line3-nail-theme .logo-image-link img{box-shadow:0 18px 46px rgba(168,55,102,.16);}
body.line3-nail-theme .brand-hero{border-color:rgba(216,91,140,.32);background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,240,246,.78));box-shadow:0 24px 70px rgba(168,55,102,.14);}
body.line3-nail-theme .hero-kicker,body.line3-nail-theme .step.active label,body.line3-nail-theme .text-accent{color:#d85b8c;}
body.line3-nail-theme .brand-hero h1{color:#8d2854;}
body.line3-nail-theme .top-nav .admin-link{color:#a83766;background:#fff0f6;border-color:rgba(216,91,140,.28);}
body.line3-nail-theme .step.active span,body.line3-nail-theme .step.completed span,body.line3-nail-theme .time-btn.selected,body.line3-nail-theme .btn-primary,body.line3-nail-theme .cal-header button,body.line3-nail-theme .cal-body .day.selected{background:#d85b8c!important;border-color:#d85b8c!important;color:#fff!important;}
body.line3-nail-theme .main-card,body.line3-nail-theme .query-section{border-color:rgba(216,91,140,.28);box-shadow:0 26px 70px rgba(168,55,102,.15);}
body.line3-nail-theme .service-card{border-color:rgba(216,91,140,.24);box-shadow:0 16px 34px rgba(168,55,102,.1);}
body.line3-nail-theme .service-card.selected{background:#fff0f6;border-color:#d85b8c;}
body.line3-nail-theme .custom-input:focus{border-color:#d85b8c;box-shadow:0 0 0 4px rgba(216,91,140,.14);}
