:root{color-scheme:light}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fffffe}body{display:flex;flex-direction:column}.sm-demo{--sm-demo-ink: #1d1d1f;--sm-demo-mute: #86868b;--sm-demo-line: rgba(29, 29, 31, .08);--sm-demo-soft: #f5f5f7;box-sizing:border-box;flex:1 1 auto;width:100%;height:100%;max-height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;font-family:Inter,SF Pro Text,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--sm-demo-ink);background:#fffffe;-webkit-font-smoothing:antialiased}.sm-demo__canvas{flex:1 1 auto;min-height:0;width:min(100%,1100px);margin:0 auto;padding:10px 12px 12px;box-sizing:border-box;display:flex;flex-direction:column}.sm-demo__stage{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--sm-demo-line);border-radius:22px;padding:10px 10px 12px;box-shadow:0 12px 40px #1d1d1f0d}.sm-demo__rail-wrap{position:relative;flex:0 0 auto;min-width:0}.sm-demo__rail-wrap:after{content:"";position:absolute;top:0;right:0;bottom:0;width:36px;z-index:1;pointer-events:none;opacity:0;transition:opacity .18s ease;background:linear-gradient(270deg,#fff 22%,#fff0)}.sm-demo__rail-wrap.has-right:after{opacity:1}.sm-demo__rail{display:flex;flex-wrap:nowrap;gap:6px;align-items:stretch;width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scroll-padding-inline:4px;scrollbar-width:none;-ms-overflow-style:none;padding:4px 14px 4px 4px;box-sizing:border-box}.sm-demo__rail::-webkit-scrollbar{display:none;width:0;height:0}.sm-demo__mode{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 auto;scroll-snap-align:start;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:52px;min-height:44px;padding:5px 8px 4px;border:1px solid transparent;border-radius:12px;background:var(--sm-demo-soft);color:var(--sm-demo-ink);font:inherit;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.sm-demo__mode:hover{background:#ececef}.sm-demo__mode:active{transform:scale(.97)}.sm-demo__mode.is-selected{background:var(--sm-demo-ink);border-color:var(--sm-demo-ink);color:#fff;box-shadow:0 4px 12px #1d1d1f29}.sm-demo__mode-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;opacity:.92}.sm-demo__mode-icon svg{width:14px;height:14px}.sm-demo__mode.is-selected .sm-demo__mode-icon{opacity:1}.sm-demo__mode-label{font-size:10px;font-weight:600;letter-spacing:-.01em;line-height:1}.sm-demo__phone-fit{flex:1 1 auto;display:flex;align-items:center;justify-content:center;width:100%;height:auto;max-width:100%;min-width:0;min-height:0;margin-top:16px;container-type:size;overflow:hidden}.sm-demo__phone{--sm-demo-viewport-w: 440;--sm-demo-device-h: 852;--sm-demo-inset-chrome-h: 81;--sm-demo-frame-w: calc( var(--sm-demo-viewport-w) * var(--sm-demo-device-h) / (var(--sm-demo-device-h) - var(--sm-demo-inset-chrome-h)) );position:relative;flex:0 1 auto;display:flex;flex-direction:column;min-height:0;box-sizing:border-box;padding:3px;border-radius:22px;background:#1c1c1e;box-shadow:0 1px #ffffff2e inset,0 18px 40px #00000029;aspect-ratio:var(--sm-demo-frame-w) / var(--sm-demo-device-h);width:min(100%,100cqw,calc(100cqh * var(--sm-demo-frame-w) / var(--sm-demo-device-h)));max-width:100%;max-height:100%;height:auto}.sm-demo__guide{--sm-demo-ui-w: 440;--sm-demo-ui-h: 771;--sm-demo-ui-scale: 1;position:relative;flex:1 1 auto;min-height:0;width:100%;height:100%;border-radius:19px;overflow:hidden;background:#fff;isolation:isolate}.sm-demo__guide-stage{position:absolute;left:50%;top:50%;width:calc(var(--sm-demo-ui-w) * 1px);height:calc(var(--sm-demo-ui-h) * 1px);overflow:hidden;transform:translate(-50%,-50%) scale(var(--sm-demo-ui-scale));transform-origin:center center}.sm-demo__guide .sg-storefront-host,.sm-demo__guide .sg-storefront-host__mount,.sm-demo__guide .setup-sg-preview__host{position:relative;width:100%;height:100%;min-height:0}.sm-demo__guide .spotlight-size-chart-overlay.is-embedded{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%!important;max-height:100%!important}.sm-demo__guide .spotlight-sg-close,.sm-demo .sg-storefront-host__loading{display:none}.sm-demo__guide-wait{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#fffffe}.sm-demo__guide-wait-spin{width:22px;height:22px;border-radius:50%;border:1.5px solid rgba(29,29,31,.1);border-top-color:#1d1d1f8c;animation:sm-demo-spin .7s linear infinite}@supports not (width: 1cqw){.sm-demo__phone{width:min(100%,calc(100% * var(--sm-demo-frame-w) / var(--sm-demo-device-h)));max-height:100%}}@media(max-height:640px){.sm-demo__canvas{padding:6px 8px 8px}.sm-demo__stage{border-radius:16px;padding:8px}.sm-demo__mode{min-width:48px;min-height:40px;padding:4px 7px 3px;border-radius:11px}}@media(max-width:720px){.sm-demo__canvas{padding:8px 8px 10px}.sm-demo__stage{border-radius:16px}}@keyframes sm-demo-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.sm-demo__mode{transition:none}.sm-demo__guide-wait-spin{animation:none;border-top-color:#1d1d1f59}}
