/* Shared customer gold skin: builder preview, demo, paid shop and owner preview.
   Presentation only; booking and payment behavior is unchanged. */
@font-face{font-family:MerchantInter;src:url('/homepage-final/inter-regular.ttf');font-weight:400;font-display:swap}
@font-face{font-family:MerchantInter;src:url('/homepage-final/inter-bold.ttf');font-weight:700 950;font-display:swap}
@font-face{font-family:MerchantChinese;src:url('./noto-sans-sc-ui.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--page:#11120f;--surface:#1b1b16;--surface-soft:#25241d;--text:#f6efdd;--muted:#c1b89f;--line:#514936;--navy:#e4be70;--navy-2:#cba257;--blue:#d9b166;--blue-soft:#322b1d;--shadow:none;--shadow-soft:none}
html,body{background:#11120f;color:#f4eddf;font-family:MerchantInter,MerchantChinese,'Microsoft YaHei',sans-serif}
.app-shell{padding:0 16px 42px;background:#141410 url('./barber-header.png') center top/auto 240px no-repeat}
.topbar{background:#141410d9;color:#f4eddf;position:relative;grid-template-columns:auto 1fr;gap:10px;height:71px}
.topbar-copy{grid-column:1/-1}.topbar:has(.back:not([hidden])) .topbar-copy{grid-column:2}
.top-title{color:#f4eddf}.top-subtitle{color:#c8b98f}
.topbar-mark{background:#e4bc6b;box-shadow:none}
.topbar-mark::before,.topbar-mark::after,.topbar-mark span::before,.topbar-mark span::after{display:none}
.topbar-mark span{height:23px;width:23px;background:url('/homepage-final/calendar-event.svg') center/contain no-repeat}
.shop-card{margin:0;background:#181812d9;border:0;border-radius:12px;padding:12px 4px 20px;box-shadow:none}
.logo{border:1px solid #d7b369;border-radius:50%;background:#121310;color:#f5ead4;width:68px;height:68px;font-size:26px;box-shadow:none}
h1,.fact-row strong{color:#f5f0e2}h1{font-size:27px}.tagline{color:#d7cfb9;font-size:12px}
.fact-label{color:#baa57a;font-size:9px}.fact-row strong{font-size:12px}.shop-facts{gap:11px;margin:17px 0}
.fact-icon{color:#ddbe7e;background:#28271f;border:1px solid #655737;border-radius:10px}
.primary,.hero-cta,.confirm{background:#e1b96c;color:#201b10;border-color:#d7b06c;box-shadow:none}
.cta-label,.cta-arrow{color:#21190c}.cta-arrow{background:#efcf89}.trust-row{color:#d4c095;font-size:9px}
.hero-photo{height:260px;border:1px solid #907346;border-radius:21px;background-color:#252117;box-shadow:none}
.hero-copy span,.hero-copy strong{color:#fff5d8}.hero-shade{background:#08090630}
.service-card,.staff-card,.selection-mini,.summary,.date-btn,.time-btn,.booking-form,.location-option{background:#211f18;color:#f4ebd9;border-color:#5c4d31}
.section-head h2,.service-name,.service-price,.staff-name,.field label{color:#f5e8c9}
.section-head p,.hint,.notice,.service-meta,.staff-help{color:#bcb095}
input,textarea,select{background:#181713!important;color:#f4ebd9!important;border-color:#80704d!important;color-scheme:dark}
.progress span.on{background:#deb269}.back{background:#e9c577;color:#292115;border-color:#bf9851}
.footer{color:#b5a687}.full-preview-toolbar{background:#151510}
.service-thumb.system-photo{position:relative}
.service-thumb.system-photo::after{content:'示例图';position:absolute;bottom:4px;right:4px;padding:2px 4px;border-radius:4px;background:#111c;color:#f2dfb3;font-size:8px;line-height:1.3}
.public-showcase .app-shell{width:min(100%,390px);margin-inline:auto}
.showcase-notice{margin:4px 0 14px;padding:9px 10px;border:1px solid #6c5832;border-radius:8px;background:#15130fe8;color:#d7c29b;font-size:10px;line-height:1.6}
.showcase-home{display:block;margin:20px 0 0;text-align:center;color:#e2bd74;font-size:12px;text-underline-offset:4px}

/* Location selection: the same controls and state, with the selected gold skin. */
.app-shell:has(#locationStep:not([hidden])){padding:24px 18px 26px;background:#100f0c url('./barber-header.png') 62% top/auto 310px no-repeat}
.app-shell:has(#locationStep:not([hidden])) .topbar{height:42px;grid-template-columns:40px minmax(0,1fr);gap:12px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;margin-bottom:16px}
.app-shell:has(#locationStep:not([hidden])) .back{height:38px;width:38px;border:1px solid #b4914e;background:#201a10cc;box-shadow:0 3px 16px #0005;font-size:0;display:grid;place-items:center}
.app-shell:has(#locationStep:not([hidden])) .back::before{content:'';width:23px;height:23px;background:#efd28e;mask:url('./chevron-left.svg') center/contain no-repeat;-webkit-mask:url('./chevron-left.svg') center/contain no-repeat}
.app-shell:has(#locationStep:not([hidden])) .topbar-copy{gap:12px}
.app-shell:has(#locationStep:not([hidden])) .topbar-mark{height:38px;width:38px;flex-basis:38px;border-radius:12px}
.app-shell:has(#locationStep:not([hidden])) .topbar-mark span{width:26px;height:26px}
.app-shell:has(#locationStep:not([hidden])) .top-title{font-size:17px;color:#fff9eb}
.app-shell:has(#locationStep:not([hidden])) .top-subtitle{font-size:11px;color:#d0bea0;margin-top:5px}
.app-shell:has(#locationStep:not([hidden])) .showcase-notice{display:flex;align-items:center;gap:9px;padding:10px;border-radius:10px;border-color:#a08755;background:#18140dde;color:#e7cd94;margin:0 0 14px;font-size:10px}
.app-shell:has(#locationStep:not([hidden])) .showcase-notice::before{content:'';flex:0 0 18px;height:18px;background:#e3bf77;mask:url('./info-circle.svg') center/contain no-repeat;-webkit-mask:url('./info-circle.svg') center/contain no-repeat}
.app-shell:has(#locationStep:not([hidden])) .progress{margin:0 3px 0;gap:6px}
.app-shell:has(#locationStep:not([hidden])) .progress span{height:5px;background:#c5beae50}
.app-shell:has(#locationStep:not([hidden])) .progress span.on{background:#e1b76b}
#locationStep .section-head{position:relative;min-height:130px;align-items:center;margin:0 3px 10px;padding:13px 0 15px}
#locationStep .eyebrow{font-size:11px;letter-spacing:2px;color:#e2be77}
#locationStep .section-head h2{font-size:34px;line-height:1.25;margin-top:5px;color:#fffdf5;letter-spacing:0;text-shadow:0 2px 12px #0008}
#locationStep .section-head h2::after{content:'';display:block;width:43px;border-top:2px solid #e1ba6e;margin-top:13px}
#locationStep .section-head .hint{position:absolute;bottom:8px;right:0;font-size:12px;color:#d3c3a4}
#locationSelectionMini{display:grid;grid-template-columns:66px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-content:center;min-height:86px;margin:0 0 12px;padding:13px;border-radius:18px;border:1px solid #645944;background:#171613ed;box-shadow:0 5px 18px #0004}
#locationSelectionMini::before{content:'';grid-row:1/3;width:66px;height:60px;border-radius:9px;background:#29221a url('/homepage-final/pricing-background.webp') left center/auto 100% no-repeat}
#locationSelectionMini strong{align-self:end;margin:0 0 6px;font-size:17px;line-height:1.3;color:#f8f6ef}
#locationSelectionMini .sub{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.5;color:#c3b393}
#locationSelectionMini .sub::before{content:'';flex:0 0 14px;height:14px;background:#c3b393;mask:url('/homepage-final/calendar-event.svg') center/contain no-repeat;-webkit-mask:url('/homepage-final/calendar-event.svg') center/contain no-repeat}
#locationStep .location-options{gap:12px;margin:0 0 17px}
#locationStep .location-option{grid-template-columns:52px minmax(0,1fr) 25px;gap:14px;min-height:86px;padding:14px;border:1px solid #5a5040;border-radius:18px;background:#181713eb;color:#fff9ed;box-shadow:0 4px 15px #0004}
#locationStep .location-option.selected{padding:13px;border:2px solid #f2ce7a;background:#302616ed;box-shadow:inset 0 0 14px #d9a33018,0 0 15px #eac25d35}
#locationStep .location-option:hover{border-color:#d5b36c}
#locationStep .location-option:focus-visible{outline:2px solid #fff0c1;outline-offset:4px}
#locationStep .location-copy strong{font-size:16px;line-height:1.35;color:#fff9eb}
#locationStep .location-copy span{font-size:12px;line-height:1.45;color:#c4b698;margin-top:6px}
#locationStep .location-icon{width:52px;height:52px;border-radius:15px;border:1px solid #7c6b4c;background:#28221999;color:#e6c68b;font-size:0}
#locationStep .selected .location-icon{border-color:#b99859;background:#3c301c99}
#locationStep .location-icon::before{content:'';width:28px;height:28px;background:currentColor;mask:var(--location-symbol) center/contain no-repeat;-webkit-mask:var(--location-symbol) center/contain no-repeat}
#locationStep [data-location='visit']{--location-symbol:url('./building-store.svg')}
#locationStep [data-location='home']{--location-symbol:url('./home.svg')}
#locationStep .location-radio{width:25px;height:25px;border:1.5px solid #85755b;background:transparent}
#locationStep .selected .location-radio{border:2px solid #eac16a;background:transparent}
#locationStep .selected .location-radio::after{width:11px;height:11px;background:#eac16a}
#locationStep .home-address-panel{background:#1b1812;border-color:#8a7148;border-radius:15px}
#locationStep .location-note{color:#d4bc8d}
#locationContinue{min-height:60px;margin-top:0;border:1px solid #ffe1a0;border-radius:17px;background:#e4b96b;color:#171207;font-size:19px;font-weight:700;box-shadow:inset 0 1px 3px #fff6,0 7px 22px #c28b281f}
#locationContinue::after{content:'';display:inline-block;width:21px;height:21px;background:currentColor;mask:url('./chevron-right.svg') center/contain no-repeat;-webkit-mask:url('./chevron-right.svg') center/contain no-repeat;vertical-align:-4px;margin-left:10px}
#locationContinue:disabled{opacity:.45;box-shadow:none}
#locationContinue:focus-visible{outline:2px solid #fff0c1;outline-offset:4px}
.app-shell:has(#locationStep:not([hidden])) .footer{display:flex;align-items:center;gap:14px;padding:28px 4px 0;color:#bbaa8a;font-size:10px;font-weight:400}
.app-shell:has(#locationStep:not([hidden])) .footer::before,.app-shell:has(#locationStep:not([hidden])) .footer::after{content:'';flex:1;border-top:1px solid #6f5d3d}
.app-shell:has(#locationStep:not([hidden])) .showcase-home{margin-top:16px;font-size:10px}
@media(max-width:360px){
  #locationStep .location-option{grid-template-columns:42px minmax(0,1fr) 22px;gap:9px;padding:12px}
  #locationStep .location-option.selected{padding:11px}
  #locationStep .location-icon{width:42px;height:46px;border-radius:12px}
  #locationStep .location-copy strong{font-size:14px}#locationStep .location-copy span{font-size:11px}
  #locationSelectionMini{grid-template-columns:55px minmax(0,1fr);column-gap:10px;padding:11px}
  #locationSelectionMini::before{width:55px}#locationSelectionMini strong{font-size:15px}
  #locationSelectionMini .sub{font-size:10px}
}

/* Booking confirmation: the same presentation on every customer entry point. */
body:has(#success:not([hidden])){background:#100e0a}
.app-shell:has(#success:not([hidden])){
  width:min(100%,390px);min-height:min(100svh,844px);margin-inline:auto;padding:34px 18px 100px;
  background:linear-gradient(#0005,#0005),url('./success-interior.png') center top/cover no-repeat;background-color:#100e0a;
}
.app-shell:has(#success:not([hidden])) .topbar{
  height:44px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;
}
.app-shell:has(#success:not([hidden])) .topbar-copy{gap:12px}
.app-shell:has(#success:not([hidden])) .topbar-mark{width:39px;height:39px;flex-basis:39px;border-radius:11px}
.app-shell:has(#success:not([hidden])) .topbar-mark span{width:27px;height:27px}
.app-shell:has(#success:not([hidden])) .top-title{font-size:17px;color:#f5eacf}
.app-shell:has(#success:not([hidden])) .top-subtitle{font-size:11px;color:#ddc798}
.app-shell:has(#success:not([hidden])) .footer{display:none}
#success{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:40px 0 0;text-align:center}
#success .check{
  width:106px;height:106px;margin:0 auto 8px;background:url('./success-medallion.png') center/contain no-repeat;
  color:transparent;font-size:0;border-radius:0;
}
#success h2{display:flex;align-items:center;justify-content:center;gap:20px;margin:0;font-size:38px;line-height:1.4;letter-spacing:0;color:#f4d48b;font-weight:900;text-shadow:0 2px 8px #000}
#success h2::before,#success h2::after{content:'';width:46px;border-top:1px solid #b99655}
#success>.sub{margin:3px 0 17px;font-size:16px;line-height:1.7;color:#c6bcaa;text-shadow:0 2px 5px #000}
#success .success-card{margin:0 0 14px;padding:10px 22px;background:#181715ed;border:1px solid #c1a16b;border-radius:14px;box-shadow:inset 0 1px 1px #f7dfaa33,0 8px 24px #0004}
#success .success-row{align-items:center;gap:14px;min-height:45px;padding:10px 0;font-size:16px;line-height:1.45;border-bottom:1px solid #ffffff20}
#success .success-row:last-child{border-bottom:0}
#success .success-row span{display:flex;align-items:center;flex-shrink:0;gap:20px;color:#c8bdab}
#success .success-row span::before{content:'';width:23px;height:23px;background:#e8c279;mask:var(--detail-icon) center/contain no-repeat;-webkit-mask:var(--detail-icon) center/contain no-repeat}
#success .success-row:nth-child(1){--detail-icon:url('./scissors.svg')}
#success .success-row:nth-child(2){--detail-icon:url('/homepage-final/calendar-event.svg')}
#success .success-row:nth-child(3){--detail-icon:url('./clock.svg')}
#success .success-row:nth-child(4){--detail-icon:url('./map-pin.svg')}
#success .success-row strong{min-width:0;color:#f6f3eb;font-weight:700;text-align:right;overflow-wrap:anywhere}
#success .success-row:first-child strong,#success .success-row:nth-child(4) strong{color:#ecca87}
#success .actions{grid-template-columns:1.6fr 1fr;gap:10px;margin-top:14px}
#success .actions a,#success .actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:60px;padding:14px 10px;border:1px solid #bb975c;border-radius:13px;background:#171511ed;color:#f2d59c;font-size:16px;line-height:1.35;font-weight:700;box-shadow:inset 0 1px 1px #f7dfaa33;text-align:center;transition:background-color .15s,border-color .15s}
#success .actions .primary-action{background:#e7bd71;color:#100e0a;border-color:#f8d898;box-shadow:inset 0 1px 3px #fff5,0 0 12px #d9a74322}
#success .actions a::before,#success .actions button::before{content:'';flex:0 0 25px;height:25px;background:currentColor;mask:var(--action-icon) center/contain no-repeat;-webkit-mask:var(--action-icon) center/contain no-repeat}
#success .actions a::after,#success .actions button::after{content:'';flex:0 0 13px;height:20px;background:currentColor;mask:url('./chevron-right.svg') center/contain no-repeat;-webkit-mask:url('./chevron-right.svg') center/contain no-repeat}
#success .primary-action{--action-icon:url('./brand-whatsapp.svg')}
#success .actions a:not(.primary-action){--action-icon:url('./map-pin.svg')}
#success #again{--action-icon:url('./calendar-plus.svg');position:relative}
#success #again::after{position:absolute;right:17px}
#success .actions a:hover,#success .actions button:hover{border-color:#ffe0a0;background-color:#30281b}
#success .actions .primary-action:hover{background-color:#f2ce8a}
#success .actions :focus-visible{outline:3px solid #fff0bd;outline-offset:4px}
/* The success panel stays phone-sized even inside the desktop full preview. */
#success .actions a{font-size:14px;white-space:nowrap;gap:6px;padding:13px 8px}
#success .actions a:not(.primary-action)::after{display:none}
@media(max-width:380px){
  .app-shell:has(#success:not([hidden])){padding-top:28px;padding-bottom:75px}
  #success{margin-top:32px}#success .check{width:94px;height:94px}
  #success h2{font-size:31px;gap:14px}#success h2::before,#success h2::after{width:35px}
  #success>.sub{font-size:14px}#success .success-card{padding:8px 15px}
  #success .success-row{font-size:14px}#success .success-row span{gap:13px}
  #success .actions{gap:8px}#success .actions a,#success .actions button{font-size:13px;gap:5px;padding:12px 7px;white-space:nowrap}
  #success .actions a::before{flex-basis:21px;height:21px}
  #success .actions a:not(.primary-action)::after{display:none}
}

/* Cover old hard-coded light/blue states, not just the initial shop card. */
html{color-scheme:dark}
body{background:#11120f}
.app-shell{max-width:565px;min-height:100svh}
.progress span{background:#4d4737}
.section-meta,.any-card .staff-bio{color:#c1b89f}
.service-card:hover,.service-card:focus-within,.staff-card:hover,.staff-card:focus-visible{border-color:#dbb66b;box-shadow:0 5px 20px #0003}
.service-thumb,.avatar,.any-icon{background:#30291d;color:#e4be70}
.chev{background:#342d20;color:#e4be70}
.any-card{background:#211f18;border-color:#665637}
.staff-card.selected,.any-card.selected{background:#352b19;border-color:#e4be70;box-shadow:0 0 0 1px #e4be7033}
.radio{background:#181713;border-color:#89744d}
.staff-card.selected .radio{background:#e4be70;border-color:#e4be70}
.staff-card.selected .radio::after{background:#171207}
.date-btn.active{background:#e4be70;color:#21190c;border-color:#f1d08c;box-shadow:none}
.date-btn.active span{color:#3a2c12}
.time-btn{color:#f4dfb5}
.time-btn:hover{background:#352b19;border-color:#e4be70}
.empty{background:#1b1b16;border-color:#80704d;color:#c1b89f}
.field input::placeholder,.field textarea::placeholder{color:#a69b85;opacity:1}
.field input:focus,.field textarea:focus{border-color:#e4be70!important;box-shadow:0 0 0 3px #e4be7026}
.error{background:#361c19;color:#ffd5c7;border:1px solid #935748}
.service-availability,.staff-next{background:#1a3329;color:#b2e1c4}
.staff-next.off{background:#302d26;color:#b9b09c}
.logo img{background:#181713}
.skeleton{background:linear-gradient(90deg,#242219 25%,#3b3526 50%,#242219 75%);background-size:200% 100%}
.skeleton-logo,.skeleton .logo{background:#30291d!important}
.skeleton-hero{background:linear-gradient(90deg,#242219 25%,#3b3526 50%,#242219 75%)!important;background-size:200% 100%!important}
button:focus-visible,a:focus-visible{outline:2px solid #f4d48b;outline-offset:3px}
@media(max-width:390px){.hero-copy strong{font-size:30px}}
