/* 宠物头像强制居中 */
@media(max-width:720px){.customer-mode .brand h1{font-size:16px;white-space:nowrap;letter-spacing:-.02em}.customer-mode .pet-bed img{left:50%!important;right:auto!important;margin:0 auto!important;transform:translateX(-50%)!important;object-position:center center!important}.customer-mode .full-media-bed img{display:block;margin:0 auto!important;object-position:center center!important}.customer-mode .portrait-wrap img{margin:0 auto!important;object-position:center center!important}}

/* Mobile customer experience */
@media(max-width:720px){
  html{background:#fff5df}
  body{-webkit-tap-highlight-color:transparent}
  .app-shell{width:calc(100% - 10px);padding:6px 0 0}
  .cloud{display:none}
  .topbar{padding:9px 10px;border-width:2px;border-radius:18px;gap:8px;position:sticky;top:4px;z-index:30;background:rgba(255,253,248,.97)}
  .brand{gap:8px}.brand-mark{width:43px;height:43px;border-width:2px;border-radius:14px;font-size:22px}.brand h1{font-size:19px;margin:0}.eyebrow{font-size:8px;letter-spacing:.10em}.brand-sub{display:none}.top-actions{gap:6px}.owner-btn{font-size:10px;padding:7px 9px}
  .shop-layout{gap:10px;margin-top:10px}
  .shelf-panel{border-width:2px;border-radius:18px;padding:10px}
  .section-head h2{font-size:18px;margin-top:2px}.swipe-tip{font-size:9px;margin-top:3px}
  .pet-filter{top:0;margin:8px -2px 7px;padding:6px;border-width:2px;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 5px 0 rgba(73,60,88,.08)}
  .pet-filter button{min-width:72px;padding:7px 9px;font-size:10px;border-width:2px}
  .pet-mode-filter,.pet-label-filter{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;margin:6px -2px;padding:2px 2px 7px;scrollbar-width:none}.pet-mode-filter::-webkit-scrollbar,.pet-label-filter::-webkit-scrollbar,.pet-grid::-webkit-scrollbar{display:none}
  .mode-chip,.label-chip{flex:0 0 auto;padding:6px 10px;font-size:9px;white-space:nowrap}
  .shelf-note{font-size:10px;line-height:1.5;margin:6px 0 5px}
  .pet-grid{gap:9px;padding:4px 1px 10px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
  .pet-card{flex:0 0 154px;width:154px;min-height:292px;border-width:2px;border-radius:18px;padding:0 7px 8px}.kennel-scene{height:174px;margin-top:31px}.pet-bed img{width:118px;height:142px}.pet-nameplate{padding:6px}.pet-nameplate h3{font-size:14px}.kennel-sign{font-size:7px;padding:3px 6px;max-width:145px;overflow:hidden;text-overflow:ellipsis}
  .shelf-bottom{font-size:9px;margin-top:9px;padding-top:8px}
  .profile-panel{border-width:2px;border-radius:18px;padding:10px}
  .full-visual{min-height:42dvh;max-height:44dvh}.full-media-bed{width:94%;height:98%;padding-bottom:1%}.full-media-bed img,.full-media-bed video{filter:drop-shadow(0 9px 8px rgba(64,36,26,.18))}.full-media-bed video{border-width:4px;border-radius:20px}
  .full-pet-badge{left:10px;top:10px;padding:6px 9px;font-size:8px;border-width:2px;box-shadow:0 3px 0 rgba(73,60,88,.12)}
  .full-hearts{top:12%;font-size:22px}.full-info{padding:14px 13px calc(92px + env(safe-area-inset-bottom));gap:9px}.full-topline{padding-right:42px}.full-info h2{font-size:26px}.full-info .full-personality{font-size:12px}
  .full-tags{gap:5px;margin:3px 0}.full-tags span{font-size:8px;padding:4px 7px}.full-desc{font-size:11px;line-height:1.65;padding:11px;min-height:0}
  .full-audio{grid-template-columns:40px 1fr auto;gap:8px;padding:9px}.full-audio button{width:40px;height:40px}.full-audio b{font-size:10px}
  .full-services{grid-template-columns:1fr 1fr;gap:6px}.full-services div{padding:8px 5px}.full-services b{font-size:10px}
  .full-adopt{position:sticky;bottom:calc(7px + env(safe-area-inset-bottom));z-index:30;padding:14px;border-width:3px;margin-top:2px;box-shadow:0 0 0 8px rgba(255,253,248,.95),0 7px 0 rgba(73,60,88,.15)}
  .pet-full-close{right:10px;top:10px;width:40px;height:40px;font-size:23px;background:rgba(255,210,220,.96)}
  .real-arrival-scene{width:100vw;height:100dvh;border:0;border-radius:0}.real-caption{bottom:calc(16px + env(safe-area-inset-bottom));width:min(280px,82vw);min-width:0}.real-caption b{font-size:18px}
  .modal-backdrop{padding:8px}.editor-card,.success-card{max-height:calc(100dvh - 16px);border-width:3px;border-radius:18px;padding:16px}.receipt{gap:5px}.service-contact{grid-template-columns:100px 1fr;gap:10px}.service-contact img{width:100px;height:100px}
}
/* Customer mobile: vertical pet browsing; details open only after selection */
@media(max-width:720px){
  .customer-mode .profile-panel{display:none!important}
  .customer-mode .shelf-panel{min-height:calc(100dvh - 86px);padding-bottom:18px}
  .customer-mode .pet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;overflow:visible;padding:4px 1px 18px;scroll-snap-type:none}
  .customer-mode .pet-card{width:auto;flex:none;min-width:0;min-height:286px;scroll-snap-align:none}
  .customer-mode .kennel-scene{height:166px;margin-left:2px;margin-right:2px}
  .customer-mode .pet-bed img{width:112px;height:136px}
  .customer-mode .pet-nameplate h3{font-size:14px}.customer-mode .pet-nameplate p,.customer-mode .pet-nameplate .price{font-size:9px}
  .customer-mode .pet-label-mini span{font-size:7px}.customer-mode .shelf-bottom{display:none}
  .customer-mode .full-audio{outline:3px solid rgba(255,216,116,.65);outline-offset:2px}
  .customer-mode .full-audio button{width:50px;height:50px;font-size:19px;background:#ffd874;box-shadow:0 0 0 6px rgba(255,216,116,.24)}
  .customer-mode .full-audio b{font-size:12px}
}

.real-audio-fallback{position:absolute;left:50%;bottom:125px;z-index:25;transform:translateX(-50%);border:3px solid #493c58;border-radius:999px;background:#ffd874;color:#493c58;padding:11px 18px;font-weight:900;font-size:13px;box-shadow:0 7px 0 rgba(73,60,88,.18);animation:audioPulse 1.3s ease-in-out infinite}
.real-audio-fallback[hidden]{display:none}@keyframes audioPulse{50%{transform:translateX(-50%) scale(1.06)}}

/* Mobile performance */
@media(max-width:720px){
  .customer-mode .pet-card{content-visibility:auto;contain:layout paint style;contain-intrinsic-size:286px;box-shadow:0 3px 0 rgba(73,60,88,.10)}
  .customer-mode .pet-card img{backface-visibility:hidden;transform:translateZ(0)}
  .customer-mode .real-arrival-overlay,.customer-mode .pet-full-overlay{backdrop-filter:none!important}
  .customer-mode .real-walk,.customer-mode .real-peek,.customer-mode .full-media-bed img{will-change:transform,opacity}
  .customer-mode .real-walk img,.customer-mode .real-peek img{filter:none!important}
  .customer-mode .full-media-bed img{filter:none!important;animation-duration:4.5s}
  .customer-mode .full-visual::before{box-shadow:none}
  .customer-mode .full-adopt{box-shadow:0 0 0 6px rgba(255,253,248,.94),0 5px 0 rgba(73,60,88,.14)}
}

.customer-mode .mobile-native-audio{display:flex;flex-direction:column;gap:7px;padding:10px;border:3px solid #493c58;border-radius:15px;background:#fff3c9;box-shadow:0 5px 0 rgba(73,60,88,.12)}.customer-mode .mobile-native-audio button{border:2px solid #493c58;border-radius:12px;padding:12px;background:#ffd874;color:#493c58;font-size:14px;font-weight:900}.customer-mode .mobile-native-audio audio{width:100%;height:38px}.customer-mode .mobile-native-audio span{text-align:center;color:#806f89;font-size:9px}.customer-mode .full-audio{display:none!important}.customer-mode .pet-card,.customer-mode .mode-chip,.customer-mode .label-chip{transition:none!important}.customer-mode .pet-grid{scroll-behavior:auto}.customer-mode .full-media-bed img{animation:none!important}.mobile-native-audio{display:none}
.customer-mode .load-more-pets{grid-column:1/-1;width:100%;margin:6px 0 4px;padding:12px;border:3px solid #493c58;border-radius:14px;background:#ffd874;color:#493c58;font-size:13px;font-weight:900;box-shadow:0 5px 0 rgba(73,60,88,.13)}.customer-mode .load-more-pets span{display:block;margin-top:2px;color:#806f89;font-size:9px}
