/* The customer surface is deliberately independent from the back office. */
body.customer-v11{--green:#245cc4;--green-dark:#1b4ba3;--ink:#222222;--muted:#697381;--line:#e5e9ee;--paper:#fff;--soft:#f6f7f9;--ease-drawer:cubic-bezier(.32,.72,0,1);margin:0;background:#f4f6f8;color:var(--ink);font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;line-height:1.65}
.customer-v11 *, .customer-v11 *::before,.customer-v11 *::after{box-sizing:border-box}
.customer-v11 button,.customer-v11 input,.customer-v11 textarea{font:inherit}
.customer-v11 button,.customer-v11 a{-webkit-tap-highlight-color:transparent}
.customer-v11 button{cursor:pointer}
.customer-v11 button:disabled{cursor:default;opacity:.48}
.customer-v11 :focus-visible{outline:3px solid #245cc4;outline-offset:4px}
/* Compact shop directory inspired by the supplied storefront reference. */
.customer-v11 .phone-shell{width:100%;max-width:560px;min-height:100dvh;margin:0 auto;padding:12px 12px 0;background:#f4f6f8;box-shadow:none;overflow:clip}
.customer-v11 .icon{width:20px;height:20px;flex:none;vertical-align:middle}
.store-intro{margin-bottom:14px;background:#fff;border-radius:18px;overflow:hidden}
.store-gallery{position:relative;margin:0;overflow:hidden;background:#f4f6f8}
.store-gallery::after{content:"";position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(to bottom,#ffffff00,#ffffffb3 62%,#fff);pointer-events:none}
.store-gallery-track{display:flex;height:clamp(176px,52vw,230px);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.store-gallery-track::-webkit-scrollbar{display:none}
.store-gallery-slide{flex:0 0 100%;height:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always}
.store-gallery-slide img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-nav{position:absolute;top:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:flex-end;gap:4px;pointer-events:none;z-index:1}
.gallery-dots{display:flex;gap:0;padding:0 2px;border-radius:20px;background:#ffffffd9;pointer-events:auto}
.gallery-dots button{width:28px;height:28px;padding:0;border:0;background:none;position:relative}
.gallery-dots button::after{content:"";position:absolute;inset:11px;border-radius:50%;background:#69738155;transition:background-color 120ms ease}
.gallery-dots button[aria-pressed=true]::after{background:#354150}
.gallery-arrow{width:28px;height:28px;border:0;background:#ffffffd9;color:#354150;border-radius:50%;font-size:22px;line-height:1;pointer-events:auto}
.store-identity{position:relative;display:flex;align-items:flex-start;gap:12px;background:#fff;padding:0 18px 18px;margin:-6px 0 0;box-shadow:none}
.without-gallery .store-identity{margin:0;padding-top:18px}
.store-symbol{display:grid;place-items:center;width:38px;height:38px;flex:none;background:#f4f6f8;color:#697381;border-radius:11px}
.store-symbol .icon{width:23px;height:23px}
.store-description{flex:1;min-width:0}
.store-identity h1{font-size:20px;font-weight:650;letter-spacing:-.025em;line-height:1.4;margin:0 0 6px;overflow-wrap:anywhere}
.store-description>p{color:#667085;font-size:12px;line-height:1.6;margin:7px 0 0;overflow-wrap:anywhere}
.store-address{display:flex;align-items:flex-start;gap:4px;font-size:12px;line-height:1.6;color:#667085}
.store-address .icon{width:13px;height:16px;margin-top:1px}
.store-address span{min-width:0;overflow-wrap:anywhere}
.store-demo{font-size:10px;color:#667085;margin:9px 14px 0}
.entry-section{margin-top:10px;background:#fff;border-radius:12px;padding:17px 14px 6px;border:0}
.entry-heading{display:block;margin:0 0 15px}
.entry-heading h2{font-size:16px;font-weight:650;letter-spacing:0;margin:0;color:#222}
.entry-list.service-grid{display:grid;grid-template-columns:repeat(var(--home-columns,4),minmax(0,1fr));gap:8px 4px}
.entry-list>.platform-entry,.service-grid>a,.service-grid>button,.unconfigured-service{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:9px;min-height:88px;padding:0 3px 12px;border:0;background:none;color:#222;text-decoration:none;min-width:0;border-radius:10px;transition:transform 140ms cubic-bezier(.23,1,.32,1),background-color 140ms ease}
.app-logo,.service-logo{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;font-size:11px;font-weight:700;letter-spacing:-.05em;background:#edf4ff;color:#245cc4}
.app-logo.xhs,.service-logo.xhs{background:#f33051;color:#fff;font-size:10px}
.app-logo.douyin,.app-logo.douyin_review,.service-logo.douyin{background:#20232a;color:#fff;font-size:30px;font-weight:600;text-shadow:1px 1px #f12b60,-1px -1px #32cad1}
.app-logo.moments,.service-logo.moments,.service-logo.wechat{background:#24ac60;color:#fff}
.app-logo.dianping,.service-logo.dianping{background:#f28636;color:#fff;font-size:12px}
.app-logo.meituan,.service-logo.meituan{background:#f5ce42;color:#503e0a;font-size:12px}
.service-logo.channels{background:#f5b944;color:#fff}
.service-logo.wifi,.service-logo.payment{background:#3189e8;color:#fff}
.service-logo.membership{background:#d2ad65;color:#fff}
.service-logo.invoice{background:#4b9d80;color:#fff}
.service-logo.navigation{background:#6d8ee2;color:#fff}
.entry-copy{display:block;min-width:0;flex:none;width:100%}
.entry-copy strong,.service-grid strong{display:block;font-size:13px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}
.service-grid small{font-size:10px;line-height:1.3;color:#76818f;margin-top:-4px}
.unconfigured-service .service-logo{opacity:.55}
.share-footer{padding:25px 0 28px;color:#667085;text-align:center;font-size:11px}
.share-footer p{margin:0 0 10px}
.merchant-entry{font-size:12px;color:#667085;text-decoration:none;display:inline-flex;align-items:center;gap:5px}
.merchant-entry .icon{width:14px;height:14px}
.share-sheet-host{position:fixed;inset:0;z-index:50;isolation:isolate;pointer-events:none}
.share-sheet-host[hidden]{display:none}
.sheet-backdrop{position:absolute;inset:0;background:#18212b;opacity:0;transition:opacity 200ms ease;pointer-events:none}
.share-sheet{position:absolute;bottom:0;left:50%;margin-left:max(-280px,-50vw);width:min(100%,560px);height:min(89dvh,860px);height:min(89svh,860px);display:flex;flex-direction:column;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -12px 60px #18212b15;transform:translateY(102%);transition:transform 240ms var(--ease-drawer);outline:none;overflow:hidden;pointer-events:none}
.share-sheet-host[data-open=true] .share-sheet{transform:translateY(0);pointer-events:auto}
.share-sheet-host[data-open=true] .sheet-backdrop{opacity:.28;pointer-events:auto}
.share-sheet-host[data-open=false] .share-sheet{transition-duration:200ms}
.share-sheet-host[data-instant=true] .share-sheet,.share-sheet-host[data-instant=true] .sheet-backdrop{transition:none}
.sheet-header{flex:none;padding:8px 20px 10px;background:#fff;touch-action:none}
.sheet-grip{display:block;width:34px;height:4px;border-radius:10px;background:#d7dce3;margin:0 auto 10px}
.sheet-header>div{display:flex;align-items:center;justify-content:space-between;gap:16px}
.sheet-header h2{font-size:18px;font-weight:650;margin:0;letter-spacing:-.025em}
.sheet-close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:#f6f7f9;color:#697381;font-size:27px;line-height:1}
.sheet-scroll{flex:1;min-height:0;overflow-y:auto;padding:0 20px 12px;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
.sheet-scroll[data-state=ready]{display:flex;flex-direction:column;gap:12px;overflow:hidden}
.note-format-switch{display:flex;flex:none;gap:4px;background:#f6f7f9;border-radius:10px;padding:3px;margin:0}
.note-format-switch button{flex:1;padding:6px 10px;border:0;background:transparent;font-size:12px;color:#697381;border-radius:8px;transition:background-color 140ms ease,color 140ms ease;min-height:32px}
.note-format-switch button[aria-pressed=true]{background:#fff;color:#18212b;box-shadow:0 1px 4px #18212b0a}
.draft-block{flex:1;min-height:0;display:flex;flex-direction:column;background:#f6f7f9;border-radius:14px;padding:11px 13px 10px;overflow:hidden}
.draft-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;font-size:11px;color:#697381;margin-bottom:6px}
.draft-toolbar>div{display:flex;gap:14px}
.draft-toolbar button{background:none;border:0;padding:3px 0;color:#697381;font-size:11px;min-height:28px}
.draft-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-right:5px;scrollbar-width:thin;scrollbar-color:#c7cfdb transparent;touch-action:pan-y}
.draft-block h3{font-size:16px;line-height:1.6;font-weight:600;margin:0 0 9px;letter-spacing:-.015em;overflow-wrap:anywhere}
.prepared-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;color:#354150}
.draft-copy-row{flex:none;display:flex;justify-content:flex-end;margin-top:8px}
.draft-copy{border:1px solid #dbe2ee;background:#fff;border-radius:9px;color:#245cc4;padding:7px 12px;font-size:12px;font-weight:600;display:flex;gap:6px;align-items:center;min-height:36px}
.draft-copy .icon{width:15px;height:15px}
.sheet-materials{flex:none;min-width:0;margin:0}
.material-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;min-height:36px}
.material-title h3{font-size:13px;font-weight:600;margin:0;min-width:0}
.material-title span{font-size:11px;font-weight:400;color:#697381;white-space:nowrap}
.prepared-images{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;height:clamp(44px,10svh,76px);max-width:100%;margin:0;overscroll-behavior-x:contain;scrollbar-width:thin}
.prepared-images button{position:relative;flex:0 0 calc((100% - 24px)/5);min-width:44px;height:100%;border:0;padding:0;background:#f6f7f9;overflow:hidden;border-radius:9px}
.prepared-images img{width:100%;height:100%;object-fit:cover;display:block}
.prepared-video{height:clamp(68px,18svh,140px);margin:0}
.prepared-video video{display:block;width:100%;height:100%;object-fit:contain;background:#101519;border-radius:10px}
.sheet-caption{font-size:11px;line-height:1.6;color:#697381;margin:6px 0}
.media-feedback{height:18px;line-height:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:5px 0 0}
.empty-share-media{padding:12px;background:#f6f7f9;border-radius:9px;font-size:12px;color:#697381}
.share-more-options{display:flex;flex-direction:column;gap:12px}
.compat-links{display:flex;flex-wrap:wrap;gap:10px}
.compat-links>a,.compat-links>button{color:#245cc4;background:none;border:0;padding:8px 0;font-size:12px}
.sheet-footer{flex:none;border-top:1px solid #e5e9ee;padding:8px 20px max(12px,env(safe-area-inset-bottom));background:#fff}
.sheet-footer>p{font-size:11px;color:#697381;margin:0 0 7px;text-align:center;line-height:16px;height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dense-video-share{margin:0 0 8px}
.dense-video-share .sheet-caption{height:16px;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:4px 0 0}
.customer-v11 .dense-video-share .btn{min-height:36px;padding:7px 10px;font-size:12px}
#videoShareTools:empty{display:none}
.customer-v11 .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 18px;border-radius:12px;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;box-shadow:none;transition:transform 140ms cubic-bezier(.23,1,.32,1),background-color 140ms ease}
.customer-v11 .btn.primary{background:#245cc4;color:#fff;border:1px solid #245cc4}
.customer-v11 .btn.secondary{background:#fff;border:1px solid #e5e9ee;color:#18212b}
.customer-v11 .btn.full{width:100%}
.customer-v11 .compact{min-height:40px;padding:8px 12px;font-size:12px}
.customer-v11 button:active:not(:disabled),.customer-v11 a.btn:active{transform:scale(.97)}
.sheet-preparing{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#697381;text-align:center}
.sheet-preparing p{font-size:14px;margin:18px 0 4px}
.sheet-preparing>span:last-child{font-size:12px}
.preparation-dot{width:10px;height:10px;background:#245cc4;border-radius:50%}
.page-loading,.page-error{padding:70px 20px;text-align:center;color:#697381}
.customer-v11 dialog{max-width:500px;width:calc(100% - 32px);max-height:85dvh;overflow-y:auto;border:1px solid #e5e9ee;border-radius:20px;padding:22px;color:#18212b;box-shadow:0 12px 60px #18212b20}
.customer-v11 dialog::backdrop{background:#18212b55}
.customer-v11 .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.customer-v11 .dialog-head h2{font-size:18px;margin:0}
.customer-v11 .image-preview-list figure{margin:20px 0}
.customer-v11 .image-preview-list img,.customer-v11 .service-qr,.customer-v11 .qr-image{display:block;max-width:100%;border-radius:12px}
.customer-v11 .image-preview-list figcaption{font-size:12px;color:#697381;margin:8px 0}
.customer-v11 #toast{z-index:100;top:max(12px,env(safe-area-inset-top));bottom:auto;max-width:calc(100vw - 40px);background:#18212b;color:#fff;border-radius:12px;font-size:13px;transition:opacity 160ms ease,transform 160ms cubic-bezier(.23,1,.32,1)}
@media(hover:hover) and (pointer:fine){.platform-entry:hover,.service-grid>a:hover,.service-grid>button:hover{background:#f6f9fd}.customer-v11 .btn.primary:hover{background:#1b4ba3}.customer-v11 .btn.secondary:hover,.sheet-close:hover{background:#f6f7f9}.draft-toolbar button:hover,.merchant-entry:hover{color:#245cc4}}
@media(min-width:700px){.customer-v11 .phone-shell{padding-top:20px}.store-gallery-track{height:230px}.share-sheet{height:min(88dvh,860px)}}
@media(max-width:359px){.customer-v11 .phone-shell{padding:10px 10px 0}.store-gallery-track{height:176px}.store-identity{gap:9px;padding:0 14px 16px}.store-identity h1{font-size:18px}.store-symbol{width:36px;height:36px}.entry-section{padding-left:10px;padding-right:10px}.entry-copy strong,.service-grid strong{font-size:12px}.sheet-scroll,.sheet-header,.sheet-footer{padding-left:18px;padding-right:18px}}
@media(max-height:640px){.sheet-header{padding-top:6px;padding-bottom:6px}.sheet-grip{margin-bottom:6px}.sheet-scroll{padding-bottom:8px}.sheet-scroll[data-state=ready]{gap:8px}.draft-toolbar{margin-bottom:4px}.draft-toolbar button{min-height:24px}.draft-block{padding:8px 11px}.draft-block h3{font-size:14px;line-height:1.5}.prepared-content{font-size:13px;line-height:1.7}.draft-copy-row{margin-top:5px}.prepared-images{height:48px}.prepared-video{height:64px}.dense-video-share .sheet-caption{display:none}.sheet-footer{padding-top:6px}.note-format-switch button{min-height:28px;padding:4px 9px}}
@media(max-height:540px) and (min-width:540px){.sheet-scroll[data-state=ready]{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:14px}.note-format-switch{grid-column:1/-1}.draft-block{grid-column:1;grid-row:2;height:100%}.sheet-materials{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-height:0}.prepared-images,.prepared-video{flex:1;min-height:44px;height:auto}.prepared-images button{flex-basis:calc((100% - 12px)/3)}.sheet-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sheet-footer>p{display:none}.sheet-footer #openApp{grid-column:1/-1}.sheet-footer #videoShareTools:not(:empty)+#openApp{grid-column:auto}.dense-video-share{margin:0}.dense-video-share .sheet-caption{display:none}}
.customer-v11 .btn.sheet-save{min-height:36px;padding:6px 10px;font-size:12px;flex:none;gap:5px}
.customer-v11 .btn.sheet-save .icon{width:15px;height:15px}
@media(prefers-reduced-motion:reduce){.customer-v11 *{animation:none!important;scroll-behavior:auto!important}.customer-v11 button,.customer-v11 a,.customer-v11 .share-sheet,.customer-v11 #toast{transition:none!important}.customer-v11 button:active:not(:disabled),.customer-v11 a.btn:active{transform:none}.share-sheet-host[data-open=false] .share-sheet{transform:none;opacity:0}.share-sheet-host[data-open=true] .share-sheet{transform:none;opacity:1}}

.customer-v11 .share-sheet:focus-visible{outline:none}

/* Keep the optional native share shortcut alongside the final App action. */
.sheet-footer.has-video-shortcut{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.sheet-footer.has-video-shortcut>p{grid-column:1/-1;margin:0}
.sheet-footer.has-video-shortcut #openApp{grid-column:auto}
.sheet-footer.has-video-shortcut .dense-video-share{margin:0;min-width:0}
.customer-v11 .sheet-footer .dense-video-share .btn{min-height:46px;padding:10px 7px;font-size:12px;width:100%;white-space:normal;line-height:1.3}
.dense-video-share .sheet-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.guest-photo-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;min-height:32px}
.guest-photo-row button{font:inherit;font-size:12px;color:#245cc4;border:0;background:#edf3fc;border-radius:8px;padding:7px 9px;min-height:32px;cursor:pointer}
.guest-photo-row span{font-size:11px;color:#697381}
.guest-photo-row #restoreStorePhotos{background:transparent;color:#697381}
.guest-photo-invite{flex:none;min-width:0}
.guest-photo-actions{display:flex;gap:8px}
.guest-photo-actions button{min-height:64px;border-radius:12px;border:1px solid #245cc4;transition:transform 140ms ease-out,background-color 140ms ease-out}
.guest-photo-actions #chooseGuestPhotos{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:10px 12px;background:#245cc4;color:#fff;text-align:left}
.guest-photo-actions #chooseGuestPhotos>span{min-width:0}
.guest-photo-actions strong{display:block;font-size:15px;font-weight:600;line-height:1.5}
.guest-photo-actions small{display:block;font-size:11px;line-height:1.5;margin-top:2px}
.guest-photo-actions .icon{width:22px;height:22px;flex:none}
.guest-photo-actions #takeGuestPhoto{flex:none;width:64px;background:#fff;color:#245cc4;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:12px;padding:6px}
.guest-photo-invite #restoreStorePhotos{display:block;margin:2px 0 0 auto;padding:2px 0;min-height:28px;border:0;background:transparent;color:#697381;font-size:11px}
@media(max-width:359px){.guest-photo-actions #chooseGuestPhotos{padding:8px;gap:7px}.guest-photo-actions strong{font-size:14px}.guest-photo-actions small{font-size:10px}}
@media(max-height:600px){.sheet-scroll[data-state=ready]{gap:6px}.guest-photo-actions button{min-height:56px}.sheet-scroll:has(.guest-photo-invite) .media-feedback{display:none}.guest-photo-invite #restoreStorePhotos{min-height:24px}.customer-v11 .draft-copy{font-size:12px;min-height:36px}}
@media(max-height:540px) and (min-width:540px){.guest-photo-invite{grid-column:1/-1}.sheet-scroll[data-state=ready]:has(.guest-photo-invite){grid-template-rows:auto auto minmax(0,1fr)}.sheet-scroll:has(.guest-photo-invite) .draft-block,.sheet-scroll:has(.guest-photo-invite) .sheet-materials{grid-row:3}.guest-photo-actions button{min-height:46px}.guest-photo-actions small{display:none}}

@media(hover:none){.gallery-arrow{display:none}}
