body.service-view{background:var(--bg);color:var(--fg);}
body.service-view .svc-preview-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:#0f172a;
  color:#f8fafc;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  margin:8px 0 12px;
}
body.service-view .svc-launch-toggle{
  margin-top:6px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.12);
  background:#f8fafc;
  display:grid;
  gap:8px;
  max-width:520px;
}
body.service-view .svc-launch-toggle .toggle-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body.service-view .svc-launch-toggle .toggle-label{
  font-size:13px;
  font-weight:700;
  color:#0f172a;
}
body.service-view .svc-launch-toggle select{
  border:1px solid rgba(15,23,42,.18);
  border-radius:8px;
  padding:6px 8px;
  background:#fff;
  font-size:12px;
}
body.service-view .svc-launch-toggle textarea{
  width:100%;
  border:1px solid rgba(15,23,42,.12);
  border-radius:8px;
  padding:8px;
  font-size:12px;
  resize:vertical;
}
body.service-view .svc-launch-toggle .toggle-hint{
  font-size:11px;
  color:#64748b;
}
body.service-view .svc-slot-section{
  margin-top:14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f8fafc;
  display:grid;
  gap:10px;
}
body.service-view .svc-slot-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
body.service-view .svc-slot-title{font-weight:800;font-size:14px;color:#0f172a;}
body.service-view .svc-slot-hint{font-size:12px;color:#64748b;}
body.service-view .svc-slot-hint.is-alert{color:#b91c1c;font-weight:700;}
body.service-view .svc-slot-days-nav{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:8px;}
body.service-view .svc-slot-nav{
  border:1px solid var(--line);
  background:#fff;
  border-radius:8px;
  height:32px;
  width:32px;
  cursor:pointer;
  font-weight:700;
}
body.service-view .svc-slot-days{display:flex;gap:8px;flex-wrap:wrap;}
body.service-view .svc-slot-day{
  border:1px solid var(--line);
  background:#fff;
  color:#334155;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
body.service-view .svc-slot-day.is-active{background:#0f172a;color:#fff;border-color:#0f172a;}
body.service-view .svc-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;}
body.service-view .svc-slot-btn{
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:8px 10px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
body.service-view .svc-slot-btn.is-held{
  background:#0f172a;
  color:#fff;
  border-color:#0f172a;
  position:relative;
  padding-right:56px;
}
body.service-view .svc-slot-btn.is-held.is-hold{
  background:#fef3c7;
  color:#92400e;
  border-color:#fbd38d;
}
body.service-view .svc-slot-btn.is-held-other{
  background:#fef3c7;
  color:#92400e;
  border-color:#fbd38d;
}
body.service-view .svc-slot-btn.is-held::after{
  content:'✓ 已選擇';
  position:absolute;
  right:8px;
  top:6px;
  font-size:10px;
  font-weight:700;
  color:#e2e8f0;
}
body.service-view .svc-slot-btn.is-held.is-hold::after{
  color:#92400e;
}
body.service-view .svc-slot-btn.is-disabled,
body.service-view .svc-slot-btn.is-booked,
body.service-view .svc-slot-btn.is-blocked{
  cursor:not-allowed;
  opacity:.6;
}
body.service-view .svc-slot-btn.is-disabled{background:#f1f5f9;color:#64748b;}
body.service-view .svc-slot-btn.is-booked{background:#dbeafe;color:#1e3a8a;}
body.service-view .svc-slot-btn.is-blocked{background:#f1f5f9;color:#64748b;}
body.service-view .svc-slot-state{font-size:12px;color:#64748b;}
body.service-view .svc-slot-state.ok{color:#166534;}
body.service-view .svc-slot-state.err{color:#b91c1c;}
body.service-view .svc-slot-tz{font-size:12px;color:#94a3b8;margin-top:6px;}
body.service-view .svc-slot-actions{
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
body.service-view .svc-slot-actions .btn{width:100%;}
body.service-view .svc-slot-actions .btn.is-active{
  background:#0f172a;
  border-color:#0f172a;
  color:#fff;
}
@media (max-width:640px){
  body.service-view .svc-slot-actions{
    grid-template-columns:1fr;
  }
}
body.service-view .svc-pack{
  margin-top:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  display:grid;
  gap:12px;
  text-align:left;
}
body.service-view .svc-wait-overlay{
  border:none;
  padding:0;
  background:transparent;
  max-width:none;
}
body.service-view .svc-wait-overlay::backdrop{
  background:rgba(15,23,42,.55);
  backdrop-filter:blur(4px);
}
body.service-view .svc-wait-overlay[open],
body.service-view .svc-wait-overlay[data-fallback-open]{
  display:flex;
  align-items:center;
  justify-content:center;
  position:fixed;
  inset:0;
  z-index:2001;
}
body.service-view .svc-wait-overlay[data-fallback-open]{
  background:rgba(15,23,42,.55);
  backdrop-filter:blur(4px);
}
body.service-view .svc-wait-card{
  background:#fff;
  border:1px solid rgba(148,163,184,.3);
  border-radius:16px;
  padding:18px 22px;
  min-width:220px;
  text-align:center;
  box-shadow:0 24px 60px rgba(15,23,42,.25);
}
body.service-view .svc-wait-spinner{
  width:28px;
  height:28px;
  margin:0 auto 10px;
  border:3px solid #e2e8f0;
  border-top-color:#0f172a;
  border-radius:50%;
  animation:svcSpin .8s linear infinite;
}
body.service-view .svc-wait-title{font-weight:800;color:#0f172a;font-size:14px;}
body.service-view .svc-wait-sub{margin-top:4px;font-size:12px;color:#64748b;}
@keyframes svcSpin{to{transform:rotate(360deg);}}
body.service-view .svc-price-row{
  display:flex;
  align-items:baseline;
  gap:8px;
  font-weight:800;
  font-size:20px;
  color:#0f172a;
}
body.service-view .svc-price-currency{font-size:16px;}
body.service-view .svc-price-old{
  font-size:14px;
  color:#94a3b8;
  text-decoration:line-through;
}
body.service-view #svcDetailPrice.is-promo{
  color:#dc2626;
}
body.service-view .svc-promo-price{
  display:flex;
  align-items:baseline;
  gap:8px;
  font-weight:800;
  margin-top:6px;
}
body.service-view .svc-promo-limited{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:12px;
  color:#991b1b;
  background:#fff5f5;
  border:1px solid rgba(220,38,38,.15);
  padding:6px 10px;
  border-radius:999px;
  margin-top:8px;
}
body.service-view .svc-promo-limited-label{
  font-weight:800;
  letter-spacing:.2px;
  background:#fee2e2;
  color:#b91c1c;
  padding:2px 8px;
  border-radius:999px;
}
body.service-view .svc-promo-period{
  color:#7f1d1d;
}
body.service-view .svc-promo-earlybird{
  color:#b91c1c;
  font-weight:700;
}
body.service-view .svc-promo-countdown{
  font-weight:800;
  color:#dc2626;
  background:#fff;
  border:1px solid rgba(220,38,38,.2);
  padding:2px 8px;
  border-radius:999px;
}
body.service-view .svc-price-new{
  color:#dc2626;
  font-size:18px;
}
.service-grid .price .price-old{
  color:#94a3b8;
  text-decoration:line-through;
  font-size:13px;
  margin-right:6px;
}
.service-grid .price .price-new{
  color:#dc2626;
  font-weight:800;
}
body.service-view .svc-promo-story-msg,
body.service-view .svc-story-msg{
  white-space:pre-line;
  word-break:break-word;
}
body.service-view .svc-pack-head{display:grid;gap:4px;}
body.service-view .svc-pack-title{font-weight:800;font-size:15px;color:#0f172a;}
body.service-view .svc-pack-sub{font-size:12px;color:#64748b;}
body.service-view .svc-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
body.service-view .svc-pack-pill{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  background:#f8fafc;
  cursor:pointer;
  display:grid;
  gap:6px;
  text-align:left;
}
body.service-view .svc-pack-pill.is-active{
  background:#0f172a;
  color:#fff;
  border-color:#0f172a;
}
body.service-view .svc-pack-pill.is-active .pill-price{color:#fff;}
body.service-view .pill-title{font-weight:700;font-size:13px;}
body.service-view .pill-price{font-weight:800;font-size:14px;color:#0f172a;}
body.service-view .svc-pack-addon{
  text-align:left;
  display:block;
}
body.service-view .svc-pack-addon .addon-label{
  display:block;
  width:100%;
  font-size:13px;
  font-weight:700;
  color:#0f172a;
  margin:0 0 6px 0;
  text-align:left;
}
body.service-view .svc-pack-addon label:not(.addon-label){
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:10px;
  margin:0;
  text-align:left;
  width:100%;
  flex-wrap:wrap;
}
body.service-view .svc-pack-addon label:not(.addon-label) input{
  margin:0;
}
body.service-view .svc-pack-addon .svc-addon-select{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  font-size:14px;
}
body.service-view .svc-pack-addon .addon-hint{font-size:12px;color:#64748b;margin-top:6px;line-height:1.6;}
body.service-view .svc-pack-policy{font-size:12px;color:#64748b;display:grid;gap:4px;}
body.service-view .svc-email-notice{
  margin:10px 0 0;
  font-size:13px;
  color:#0f172a;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  padding:8px 10px;
  border-radius:10px;
  text-align:center;
}
body.service-view .svc-email-notice.is-warn{
  color:#b45309;
  background:#fff7ed;
  border-color:#fed7aa;
}
body.service-view #svcStep3Reschedule,
body.service-view #svcSuccessReschedule{
  width:auto;
  max-width:280px;
  padding:10px 16px;
  font-size:14px;
}
body.service-view .svc-promo{margin:14px 0 18px;}
body.service-view .svc-promo-card{
  position:relative;
  display:grid;
  gap:16px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 24px rgba(15,23,42,0.08);
  align-items:start;
}
@media (min-width: 900px){
  body.service-view .svc-promo-card{
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  }
}
@media(min-width:820px){
  body.service-view .svc-promo-card{grid-template-columns:1.2fr .8fr;align-items:stretch;}
}
body.service-view .svc-promo-left{display:grid;gap:10px;}
body.service-view .svc-promo-media{
  width:100%;
  height:150px;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc);
  border:1px solid var(--line);
}
@media (min-width: 900px){
  body.service-view .svc-promo-media{
    max-width:520px;
    height:200px;
    margin-left:auto;
  }
}
body.service-view .svc-promo-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body.service-view .svc-promo-media.is-editing{cursor:grab;}
body.service-view .svc-promo-media.is-editing:active{cursor:grabbing;}
body.service-view .svc-promo-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:#e0f2fe;
  color:#0369a1;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
}
body.service-view .svc-promo-title{font-size:20px;font-weight:800;margin:8px 0 6px;}
body.service-view .svc-promo-sub{font-size:13px;color:#475569;line-height:1.6;}
body.service-view .svc-promo-bullets{margin:10px 0 0;padding-left:18px;color:#334155;font-size:13px;line-height:1.6;}
body.service-view .svc-promo-note{
  margin-top:10px;
  padding:6px 10px;
  border-radius:10px;
  background:#fff7ed;
  border:1px dashed #fdba74;
  color:#92400e;
  font-size:12px;
}
body.service-view .svc-promo-right{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:flex-start;
  align-items:stretch;
  padding-top:18px;
}
@media (max-width: 899px){
  body.service-view .svc-promo-right{padding-top:0;}
}
body.service-view .svc-promo-edit{
  position:absolute;
  top:12px;
  right:12px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#0f172a;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
body.service-view .svc-pack-label{font-size:12px;color:#64748b;font-weight:700;margin-bottom:6px;}
body.service-view .svc-pack-pills{display:flex;flex-wrap:wrap;gap:8px;}
body.service-view .svc-pill{
  border:1px solid #cbd5f5;
  background:#eef2ff;
  color:#1e3a8a;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body.service-view .svc-pill:hover{transform:translateY(-1px);border-color:#93c5fd;box-shadow:0 10px 18px rgba(59,130,246,.2);}
body.service-view .svc-pill.active{background:#1e3a8a;color:#fff;border-color:#1e3a8a;box-shadow:0 12px 22px rgba(30,58,138,.3);}
body.service-view .svc-promo-cta{
  flex:0 0 auto;
  width:100%;
  padding:10px 14px;
  font-size:14px;
  border-radius:14px;
  min-height:44px;
  box-shadow:0 8px 18px rgba(16,149,214,.25);
}
body.service-view .svc-promo-mini{font-size:12px;color:#64748b;line-height:1.6;}
body.service-view .svc-promo-stories{margin-top:12px;padding:12px;border:1px solid rgba(15,23,42,.08);border-radius:12px;background:#f8fafc;}
body.service-view .svc-promo-stories-head{font-size:12px;font-weight:700;color:#64748b;margin-bottom:6px;}
body.service-view .svc-promo-story-media{display:none;margin:0 0 8px;}
body.service-view .svc-promo-story-media img{width:100%;max-height:160px;object-fit:cover;border-radius:10px;display:block;}
body.service-view .svc-promo-story-msg{font-size:14px;color:#0f172a;line-height:1.6;min-height:44px;white-space:pre-wrap;word-break:break-word;}
body.service-view .svc-promo-stories:not(.is-expanded) .svc-promo-story-msg{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;
  overflow:hidden;
}
body.service-view .svc-promo-story-more{
  margin-top:6px;
  border:0;
  background:transparent;
  color:#2563eb;
  font-size:12px;
  cursor:pointer;
  padding:0;
}
body.service-view .svc-story-modal{
  width:min(520px, 92vw);
  border:none;
  border-radius:18px;
  padding:0;
  box-shadow:0 20px 60px rgba(15,23,42,.2);
}
body.service-view .svc-story-modal::backdrop{background:rgba(15,23,42,.35);}
body.service-view .svc-story-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
body.service-view .svc-story-title{font-size:16px;font-weight:700;color:#0f172a;}
body.service-view .svc-story-close{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  font-size:18px;
  cursor:pointer;
}
body.service-view .svc-story-card{padding:16px 18px;}
body.service-view .svc-story-media{display:none;margin-bottom:10px;}
body.service-view .svc-story-media img{width:100%;max-height:220px;object-fit:cover;border-radius:12px;display:block;}
body.service-view .svc-story-msg{font-size:15px;line-height:1.7;color:#0f172a;white-space:pre-line;word-break:break-word;}
body.service-view .svc-story-meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-top:10px;
  font-size:12px;
  color:#64748b;
}
body.service-view .svc-story-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  padding:12px 18px 18px;
}
body.service-view .svc-promo-story-meta{display:flex;justify-content:space-between;gap:8px;margin-top:6px;font-size:12px;color:#64748b;}
body.service-view .svc-promo-admin{
  margin-top:12px;
  padding:12px;
  border:1px dashed rgba(148,163,184,.6);
  border-radius:12px;
  background:#f8fafc;
  display:grid;
  gap:10px;
}
body.service-view .svc-promo-admin-head{
  font-size:13px;
  font-weight:800;
  color:#0f172a;
}
body.service-view .svc-promo-admin-grid{
  display:grid;
  gap:10px;
}
body.service-view .svc-promo-admin-grid label{
  display:grid;
  gap:6px;
  font-size:12px;
  color:#475569;
  font-weight:700;
}
body.service-view .svc-promo-admin-grid input,
body.service-view .svc-promo-admin-grid textarea{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  font-size:13px;
}
body.service-view .svc-promo-admin-actions{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
body.service-view .svc-field{display:grid;gap:4px;}
body.service-view .svc-label{font-size:13px;color:#374151;font-weight:700;}
body.service-view .svc-input{padding:10px 12px;border:1px solid var(--line);border-radius:12px;font-size:14px;}
body.service-view .svc-field .muted{font-size:12px;color:#6b7280;line-height:1.6;}
body.service-view .svc-addon-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f8fafc;
  font-size:14px;
  color:#374151;
}
body.service-view .svc-addon-row input{margin:0;}
.tool-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #fed7aa;
  background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);
  color:#ea580c;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 20px rgba(234,88,12,0.12);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tool-link:hover{
  transform:translateY(-1px);
  border-color:#fdba74;
  box-shadow:0 14px 24px rgba(234,88,12,0.16);
}
.tool-link-title{display:flex;align-items:center;gap:8px;}
.tool-link-dot{width:10px;height:10px;border-radius:999px;background:#fb923c;box-shadow:0 0 0 4px rgba(251,146,60,.18);}
.svc-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px;}
.svc-head .title{font-weight:800;font-size:18px;}
.service-grid{margin-top:16px;}
.service-grid .card .meta{display:flex;gap:8px 10px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:0 0 8px;line-height:1.4;}
.service-grid .card .meta.meta-limited{margin-bottom:6px;}
.service-grid .card .meta .badge{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
.service-grid .card .pic img{width:100%;height:100%;object-fit:cover !important;object-position:center;}
.svc-tags{margin:8px 0 10px;}
.service-grid .card .price{font-size:18px;margin-top:6px;}
.service-grid .card .cta .btn{font-size:14px;}
.svc-dialog{border:none;border-radius:18px;padding:0;background:var(--card);color:var(--fg);box-shadow:0 30px 60px rgba(15,23,42,.3);border:1px solid var(--line);}
.svc-dialog .closeBar{border-bottom:1px solid var(--line);}
.svc-dialog .dlgBody{display:grid;grid-template-columns:1fr;gap:18px;padding:18px;}
@media(min-width:820px){.svc-dialog .dlgBody{grid-template-columns:1fr 1fr;}}
.svc-dialog .svc-includes{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px;list-style:disc;padding-left:22px;background:#f9fafb;}
.svc-dialog .svc-includes li{margin-bottom:6px;color:#374151;}
.svc-ig{margin-top:12px;}
.svc-ig iframe{width:100%;border:none;border-radius:16px;min-height:420px;background:#fff;}
.thumb-ig{border:1px dashed var(--line);border-radius:12px;padding:18px;text-align:center;font-weight:700;color:#2563eb;background:#eef2ff;cursor:pointer;display:flex;align-items:center;justify-content:center;}
#svcRvList > .rvItem:last-child{border-bottom:none;}
#svcRvList:empty::before{content:"還沒有人分享故事，成為第一個分享的人吧！";display:block;padding:20px;text-align:center;color:#94a3b8;font-size:14px;border:1px dashed #e5e7eb;}
#sideDeities .side-cat-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #fed7aa;
  background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);
  color:#9a3412;
  font-weight:800;
  font-size:14px;
  box-shadow:0 10px 18px rgba(234,88,12,.12);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
#sideDeities .side-cat-btn:hover{
  transform:translateY(-1px);
  border-color:#fdba74;
  box-shadow:0 14px 24px rgba(234,88,12,.18);
}
#sideDeities .side-cat-btn.active{
  border-color:#fb923c;
  color:#c2410c;
  background:linear-gradient(135deg,#ffedd5 0%,#fed7aa 100%);
  box-shadow:0 14px 24px rgba(234,88,12,.2);
}
.policy-link{color:#2563eb;text-decoration:underline;cursor:pointer;font-weight:600;}
.policy-dialog{border:none;border-radius:18px;padding:0;background:#fff;color:#0f172a;max-width:640px;width:95%;box-shadow:0 30px 60px rgba(15,23,42,.35);}
.dialog-fallback-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(6px);z-index:1000;display:none;}
.dialog-fallback-backdrop.active{display:block;}
dialog[data-fallback-open]{display:block;}
.policy-dialog[data-fallback-open]{position:fixed;z-index:1001;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid rgba(15,23,42,.1);}
.policy-dialog header{padding:18px;border-bottom:1px solid #e5e7eb;font-weight:800;font-size:18px;}
.policy-dialog .body{padding:18px;line-height:1.7;font-size:14px;max-height:70vh;overflow:auto;}
.policy-dialog footer{padding:0 18px 18px;text-align:right;}
.svc-dialog .svc-options{display:flex;flex-direction:column;gap:6px;margin-top:10px;}
.svc-dialog .svc-options label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:6px 10px;
  font-size:14px;
  background:#f8fafc;
  width:100%;
}
.svc-dialog .svc-options label span{
  display:flex;
  align-items:center;
  gap:6px;
  flex:1;
  white-space:normal;
}
.svc-dialog .svc-options input{margin:0;flex-shrink:0;}
.svc-stepper{display:flex;gap:8px;justify-content:center;padding:14px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,rgba(24,161,104,.08),rgba(16,149,214,.08));}
.svc-stepper span{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);font-size:13px;color:#6b7280;font-weight:700;background:#fff;}
.svc-stepper span.active{background:#16a34a;color:#fff;border-color:#16a34a;box-shadow:0 8px 20px rgba(22,163,74,.35);}
.svc-stepper span.done{background:#bbf7d0;color:#166534;border-color:#86efac;}
.svc-hold-countdown{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px 14px;
  margin:8px 12px 0;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  color:#dc2626;
  background:rgba(254,226,226,.6);
  border:1px solid rgba(248,113,113,.35);
}
.svc-step-content{display:none;flex-direction:column;gap:16px;padding:18px;}
.svc-step-content.active{display:flex;}
.svc-step-title{font-weight:800;font-size:18px;}
.svc-form-section{display:grid;gap:12px;}
.svc-bank-box{border:1px solid var(--line);border-radius:14px;padding:14px;background:#f8fafc;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;}
.svc-bank-box .info{font-size:14px;color:#0f172a;font-weight:700;}
.svc-bank-box .info span{display:block;font-size:12px;color:#6b7280;font-weight:600;}
.svc-bank-copy{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 12px;font-weight:700;font-size:13px;cursor:pointer;}
.svc-bank-hint{font-size:12px;color:#6b7280;line-height:1.6;}
.svc-upload-hint{font-size:12px;color:#ef4444;}
.svc-step-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.svc-step-actions .btn{min-width:120px;}
.svc-success-icon{width:64px;height:64px;border-radius:50%;background:#dcfce7;color:#166534;display:flex;align-items:center;justify-content:center;font-size:32px;margin:0 auto;}
.svc-step3-card{border:1px solid var(--line);border-radius:14px;background:#f8fafc;padding:14px;display:grid;gap:8px;font-size:14px;color:#374151;}
.svc-step3-card strong{font-size:16px;}
.svc-cart-item{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:14px;padding:10px;gap:12px;background:#fff;}
.svc-cart-item .info{display:flex;gap:10px;align-items:center;flex:1;}
.svc-cart-item img{width:56px;height:56px;object-fit:cover;border-radius:12px;}
.svc-cart-item .meta{font-size:12px;color:#6b7280;margin-top:2px;}
.svc-cart-item .price{font-weight:800;margin-right:10px;}
.svc-cart-item .price .price-old{
  color:#94a3b8;
  text-decoration:line-through;
  font-size:12px;
  margin-right:6px;
}
.svc-cart-item .price .price-new{
  color:#dc2626;
  font-weight:800;
}
.svc-cart-remove{border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px 12px;font-size:13px;font-weight:700;cursor:pointer;}
.svc-cart-qty{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:4px 6px;border:1px solid var(--line);border-radius:999px;background:#f8fafc;}
.svc-cart-qty-btn{width:28px;height:28px;border-radius:50%;border:1px solid var(--line);background:#fff;font-weight:700;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}
.svc-cart-qty input{width:52px;border:1px solid var(--line);border-radius:999px;padding:4px 6px;font-size:16px;font-weight:700;text-align:center;background:#fff;}
.svc-cart-actions{padding:0 18px 18px;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:4px;}
.svc-cart-actions .btn{flex:1;min-width:120px;}
.btn.loading{position:relative;pointer-events:none;}
.btn.loading::after{
  content:"";
  position:absolute;
  right:10px;
  width:14px;height:14px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.6);
  border-top-color:transparent;
  animation:spin .8s linear infinite;
}
.btn.loading::before{
  content:"";
  position:absolute;
  left:10px;
  width:14px;height:14px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.6);
  border-top-color:transparent;
  animation:spin .8s linear infinite;
}
.submit-tip{font-size:12px;color:#64748b;margin-top:8px;display:none;}
.submit-tip.show{display:block;}
@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
@media(max-width:560px){
  .svc-cart-item{flex-direction:column;align-items:flex-start;}
  .svc-cart-item .price{margin-right:0;}
  .svc-cart-actions .btn{flex:1 0 100%;}
}
#svcCartForm{padding:0;}
#svcCartForm section{padding:18px;display:grid;gap:12px;}
#svcCartForm label{display:grid;gap:4px;font-size:13px;color:#374151;font-weight:700;}
#svcCartForm input,#svcCartForm textarea,#svcCartForm select{padding:10px 12px;border:1px solid var(--line);border-radius:12px;font-size:14px;}
#svcCartForm textarea{min-height:110px;resize:vertical;}
#svcCart{max-width:640px;width:95%;max-height:90vh;overflow:hidden;box-sizing:border-box;margin:0 auto;}
#svcCartForm{flex:1;max-height:calc(90vh - 64px);overflow:hidden;display:flex;flex-direction:column;}
#svcCart .svc-step-content{max-height:calc(90vh - 160px);overflow:auto;}
@media (max-width: 640px){
  #svcCart{
    max-height:92vh;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    margin:0;
  }
  #svcCartForm{max-height:calc(92vh - 64px);}
  #svcCart .svc-step-content{max-height:calc(92vh - 160px);}
  #svcLookup input,
  #svcLookup textarea,
  #svcLookup select,
  #svcCartForm input,
  #svcCartForm textarea,
  #svcCartForm select{
    font-size:16px;
  }
}
.qty-stepper{display:flex;align-items:center;gap:8px;}
.qty-stepper button{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:18px;line-height:1;cursor:pointer;}
.qty-stepper input{width:72px;text-align:center;}
.svc-summary{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:14px;margin:18px;display:flex;justify-content:space-between;align-items:center;gap:10px;}
.svc-summary strong{font-size:18px;}
#svcLookup{border:none;border-radius:16px;padding:0;background:var(--card);border:1px solid var(--line);box-shadow:0 20px 50px rgba(15,23,42,.35);max-width:560px;width:92%;max-height:85vh;box-sizing:border-box;margin:0 auto;}
#svcLookup::backdrop{background:rgba(2,6,23,.45);}
#svcLookup header{padding:18px;border-bottom:1px solid var(--line);}
#svcLookup form{padding:18px;display:grid;gap:12px;max-height:calc(85vh - 210px);overflow:auto;}
#svcLookupResult{padding:0 18px 18px;max-height:calc(85vh - 260px);overflow:auto;}
#svcLookup label{display:grid;gap:6px;font-size:13px;color:#374151;font-weight:600;}
#svcLookup input{padding:10px 12px;border:1px solid var(--line);border-radius:12px;}
#svcLookup .actions{padding:0 18px 18px;display:flex;justify-content:flex-end;gap:10px;}
#svcLookupCards .lookup-card{border:1px solid var(--line);border-radius:12px;padding:12px;background:#f8fafc;}
#svcSuccess .svc-success-body{padding:20px;display:grid;gap:12px;}
#svcSuccess .svc-success-body .order-id{font-size:22px;font-weight:800;}
#svcSuccess footer{padding:0 20px 20px;display:flex;justify-content:flex-end;gap:10px;}
.guardian-badge{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;background:linear-gradient(135deg,#0f172a,#111827);border:1px solid rgba(148,163,184,0.35);color:#e2e8f0;box-shadow:0 12px 24px rgba(15,23,42,0.25);}
.guardian-badge img{width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));}
.guardian-meta{display:flex;flex-direction:column;gap:2px;font-size:12px;}
.guardian-meta strong{font-size:13px;font-weight:700;color:#f8fafc;}
.fortune-btn{margin-top:2px;background:linear-gradient(135deg,#f59e0b,#f97316);color:#0b1120;border:none;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700;cursor:pointer;box-shadow:0 6px 14px rgba(249,115,22,.35);}
.fortune-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;}

.fortune-dialog{border:none;border-radius:18px;padding:0;max-width:560px;width:92%;background:#0b1022;color:#e5e7eb;box-shadow:0 24px 60px rgba(0,0,0,.45);}
.fortune-shell{padding:20px;display:grid;gap:16px;background:
  radial-gradient(circle at 20% 10%, rgba(253,224,71,.08), transparent 38%),
  radial-gradient(circle at 80% 0%, rgba(56,189,248,.12), transparent 40%),
  #0b1022;border-radius:18px;border:1px solid rgba(148,163,184,0.2);}
.fortune-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.fortune-title{font-size:18px;font-weight:800;letter-spacing:.5px;}
.fortune-date{font-size:12px;color:#94a3b8;}
.fortune-close{border:none;background:rgba(255,255,255,.1);color:#e2e8f0;border-radius:999px;width:28px;height:28px;cursor:pointer;}
.fortune-loading{padding:16px;border-radius:14px;border:1px dashed rgba(148,163,184,.3);background:rgba(15,23,42,.55);color:#cbd5f5;font-size:13px;text-align:center;}
.fortune-error{padding:12px;border-radius:12px;background:rgba(248,113,113,.12);border:1px solid rgba(248,113,113,.4);color:#fecaca;font-size:13px;}
.fortune-card{padding:16px;border-radius:16px;background:linear-gradient(135deg,#111827,#0f172a);border:1px solid rgba(94,234,212,.25);box-shadow:0 16px 36px rgba(0,0,0,.35);animation:fortuneFlip .6s ease;}
.fortune-card{position:relative;overflow:hidden;transform-style:preserve-3d;}
.fortune-stars{font-size:16px;letter-spacing:2px;color:#fbbf24;margin-bottom:6px;}
.fortune-summary{font-size:16px;font-weight:800;color:#f8fafc;margin-bottom:10px;}
.fortune-section{margin-top:10px;padding-top:10px;border-top:1px solid rgba(148,163,184,.18);}
.fortune-label{font-size:12px;letter-spacing:1px;color:#94a3b8;margin-bottom:6px;}
.fortune-text{font-size:14px;line-height:1.7;color:#e2e8f0;}
.fortune-meta{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px;font-size:11px;color:#cbd5f5;}
.fortune-meta span{padding:4px 8px;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.6);}
.fortune-actions{margin-top:14px;display:flex;justify-content:flex-end;}
.fortune-share-btn{border:none;border-radius:999px;padding:8px 14px;font-size:12px;font-weight:700;color:#0b1120;background:linear-gradient(135deg,#fde68a,#f59e0b);box-shadow:0 10px 20px rgba(245,158,11,.3);cursor:pointer;}
.fortune-share-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;}
@keyframes fortuneFlip{from{transform:rotateY(20deg) scale(.98);opacity:.2;}to{transform:rotateY(0deg) scale(1);opacity:1;}}
@media(max-width:560px){
  .guardian-badge{justify-content:center;text-align:center;}
  .guardian-meta{align-items:center;}
  .guardian-badge{margin:6px auto 0;}
}
  
