/* The four lanes share one quiet navigation frame. */
:root{--frame-header:72px;--frame-bottom:68px}
body{padding-bottom:calc(var(--frame-bottom) + env(safe-area-inset-bottom,0px))}
.swipe-header{height:var(--frame-header);padding:0 3.5%;gap:20px}
.swipe-header .header-tools{margin-left:auto;gap:12px}
.swipe-header .profile-entry{display:inline-flex;margin-left:3px}
.bottom-lanes{position:fixed;inset:auto 0 0;height:calc(var(--frame-bottom) + env(safe-area-inset-bottom,0px));padding:0 max(20px,calc((100vw - 420px)/2)) env(safe-area-inset-bottom,0px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fbfaf7ed;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid #1b2a3610;z-index:40}
.lane-tab{height:52px;width:56px;display:grid;place-items:center;position:relative;color:#68747b}
.lane-tab svg{width:23px;height:23px;stroke-width:1.55}
.lane-tab.active{color:var(--ink)}
.lane-tab.active:after{content:'';position:absolute;bottom:3px;width:18px;height:1px;background:currentColor}
.lane-tab:hover{color:var(--ink)}
body.feed-mode{overflow:hidden;height:100dvh;padding-bottom:0}
.swipe-main{height:calc(100dvh - var(--frame-header) - var(--frame-bottom) - env(safe-area-inset-bottom,0px));padding:0 16px;position:relative;overflow:hidden;touch-action:pinch-zoom;overscroll-behavior:none}
.swipe-main .shoppable-hero{height:100%;min-height:0;max-height:none;margin:0;width:100%;border-radius:2px;user-select:none}
.swipe-main .hero-img{pointer-events:none;user-select:none;-webkit-user-drag:none}
.swipe-main .glass-product-rail{touch-action:pan-y pinch-zoom;max-height:calc(100% - 150px)}
.swipe-main .picture-tools{top:22px;right:25px}
.feed-help{position:absolute;left:28px;top:22px;z-index:5;width:38px;height:38px;color:white;border-radius:50%;background:#18313d15;filter:drop-shadow(0 1px 2px #0004)}
.feed-help:hover{background:#ffffff20}
.feed-help svg{width:18px;height:18px}
.gesture-surface:not(.swipe-main){touch-action:pan-y pinch-zoom}
.gesture-surface{transform:translate(var(--gesture-x,0),var(--gesture-y,0))}
.gesture-dragging{user-select:none;cursor:grabbing}
.feed-stage,.recent-stage{outline-offset:-5px}
.feed-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;text-align:center;background:radial-gradient(ellipse at 50% 35%,#ebe8df,transparent 65%)}
.feed-empty p{max-width:280px;font-size:13px;line-height:1.7;color:#65716f;margin:4px 20px}
.empty-symbol{width:84px;height:84px;display:grid;place-items:center;border-radius:50%;border:1px solid #d4d7ce;color:#8c978d}
.empty-symbol svg{width:29px;height:29px;stroke-width:1.1}
.empty-return{display:flex;align-items:center;gap:25px;height:48px;padding:0 20px;border:1px solid #c4ccc2;border-radius:28px;margin-top:10px}
.empty-return svg{width:19px;height:19px}
.empty-catalog{width:44px;height:44px;display:grid;place-items:center;color:#69786f}
.recent-stage{height:100%;position:relative;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:8%;padding:4% 10%;background:#eeece5}
.recent-product-art{display:block;padding:0;aspect-ratio:1;width:100%;max-height:100%;overflow:hidden;mix-blend-mode:multiply;user-select:none}
.recent-product-art .product-photo{pointer-events:none}
.recent-product-summary{max-width:320px}
.recent-category{color:#7c8378}
.recent-category svg{width:22px;height:22px}
.recent-product-summary h2{font-size:24px;font-weight:500;line-height:1.35;margin:18px 0 10px;letter-spacing:-.5px}
.recent-product-summary p{font-size:12px;line-height:1.6;color:#74796f;margin:0 0 22px}
.recent-buy{height:48px;display:flex;align-items:center;gap:38px;font-size:19px;border-bottom:1px solid #b9c0b3;padding:0 0 10px}
.recent-buy svg{width:23px;height:23px}
.recent-source{display:flex;align-items:center;gap:18px;width:max-content;margin-top:40px}
.recent-source img{width:80px;height:65px;object-fit:cover;border-radius:3px}
.recent-source svg{width:18px;height:18px}
.recent-stage .feed-help{color:var(--ink);background:transparent;filter:none}
.search-catalog-links{display:flex;gap:8px;justify-content:flex-end;border-bottom:1px solid var(--line);padding:0 0 8px}
.gesture-coach{position:fixed;left:52%;top:47%;transform:translate(-50%,-50%);width:290px;z-index:45;pointer-events:none;color:white;text-align:center;filter:drop-shadow(0 3px 16px #12263340)}
.guide-demonstration{height:150px;position:relative}
.guide-hand{position:absolute;top:32px;left:113px;display:block;width:68px;height:85px;animation:finger-vertical 2.4s ease-in-out infinite}
.guide-hand svg{width:100%;height:100%;fill:#ffffff24;stroke:#fffffff0;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 3px #0003)}
.guide-track{position:absolute;top:14px;left:143px;height:110px;width:1px;background:linear-gradient(transparent,#ffffffa0,transparent)}
.guide-track:before,.guide-track:after{content:'';position:absolute;left:-3px;width:6px;height:6px;border-left:1px solid #ffffffa0;border-top:1px solid #ffffffa0;transform:rotate(45deg)}
.guide-track:before{top:0}.guide-track:after{bottom:0;transform:rotate(225deg)}
.guide-horizontal .guide-hand{animation:finger-horizontal 2.4s ease-in-out infinite}
.guide-horizontal .guide-track{height:1px;width:150px;top:64px;left:70px;background:linear-gradient(90deg,transparent,#ffffffa0,transparent)}
.guide-horizontal .guide-track:before{top:-3px;left:0;transform:rotate(-45deg)}
.guide-horizontal .guide-track:after{bottom:-3px;left:auto;right:0;transform:rotate(135deg)}
.guide-copy{display:inline-block;max-width:290px;padding:10px 14px;border:1px solid #ffffff38;border-radius:24px;font-size:11px;line-height:1.6;background:#152c3a4a;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.guide-skip{position:absolute;top:0;right:14px;width:44px;height:44px;padding:10px;color:inherit;pointer-events:auto}
.guide-skip svg{width:16px;height:16px}
.guide-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:3px}
.guide-dots{display:flex;gap:6px}.guide-dots i{width:4px;height:4px;border-radius:50%;background:#ffffff60}.guide-dots i.active{background:#fff}
.guide-next{width:44px;height:44px;color:white;display:grid;place-items:center;pointer-events:auto}
.guide-next svg{width:18px;height:18px}
body.no-scroll .gesture-coach{display:none}
.motion-up{animation:lane-up .38s ease-out}.motion-down{animation:lane-down .38s ease-out}.motion-left{animation:lane-left .32s ease-out}.motion-right{animation:lane-right .32s ease-out}
@keyframes lane-up{from{transform:translateY(45px);opacity:.65}to{transform:translateY(0);opacity:1}}
@keyframes lane-down{from{transform:translateY(-45px);opacity:.65}to{transform:translateY(0);opacity:1}}
@keyframes lane-left{from{transform:translateX(40px);opacity:.65}to{transform:translateX(0);opacity:1}}
@keyframes lane-right{from{transform:translateX(-40px);opacity:.65}to{transform:translateX(0);opacity:1}}
@keyframes finger-vertical{0%,100%{transform:translateY(20px);opacity:0}18%{opacity:.9}65%{transform:translateY(-32px);opacity:.9}85%{transform:translateY(-32px);opacity:0}}
@keyframes finger-horizontal{0%,100%{transform:translateX(40px);opacity:0}18%{opacity:.9}65%{transform:translateX(-44px);opacity:.9}85%{transform:translateX(-44px);opacity:0}}
@media(max-width:760px){
 :root{--frame-header:64px;--frame-bottom:64px}
 .swipe-header{padding:0 16px}.swipe-header .header-tools{gap:4px}.swipe-header .profile-entry{display:inline-flex;width:34px;margin-left:4px}.swipe-header .cart-entry{margin-left:2px;min-width:58px;height:38px;padding:0 11px;gap:7px}.swipe-header .header-tools .icon-btn{width:34px}
 .bottom-lanes{padding-left:24px;padding-right:24px;gap:22px}.lane-tab{width:48px;height:48px}.lane-tab svg{width:22px;height:22px}
 .swipe-main{padding:0 8px}.swipe-main .picture-tools{right:14px;top:14px}.swipe-main .feed-help{left:12px;top:14px;width:36px;height:36px}
 .swipe-main .glass-product-rail{top:67px;bottom:auto;max-height:calc(100% - 143px);left:12px;min-width:86px;max-width:104px}
 .swipe-main .glass-product-item{padding:5px 0}.swipe-main .glass-product-image{width:64px;height:64px}.swipe-main .glass-product-cart{width:38px;height:38px}
 .swipe-main .hero-commerce{bottom:18px;right:14px}.swipe-main .hero-img{object-position:67% center}
 .gesture-coach{left:61%;top:43%;width:236px}.guide-copy{max-width:224px;font-size:10px;padding:9px 12px}.guide-demonstration{height:136px}.guide-hand{left:88px}.guide-track{left:118px}.guide-horizontal .guide-track{left:43px}.guide-skip{right:4px}
 .recent-stage{display:flex;flex-direction:column;justify-content:center;gap:20px;padding:30px 26px;overflow:auto;touch-action:pinch-zoom}.recent-product-art{width:min(75vw,350px);flex-shrink:0;max-height:47%;aspect-ratio:1}.recent-product-summary{width:100%;max-width:350px}.recent-category{display:none}.recent-product-summary h2{font-size:21px;margin:0 0 7px}.recent-product-summary p{font-size:11px;margin-bottom:12px}.recent-buy{font-size:18px;height:44px}.recent-source{position:absolute;right:27px;bottom:22px;margin:0;gap:8px}.recent-source img{width:52px;height:42px}.recent-source svg{width:14px}
}
@media(max-width:360px){.swipe-header{padding:0 12px}.swipe-header .brand{font-size:22px}.swipe-header .header-tools{gap:0}.gesture-coach{left:60%;width:218px}.guide-copy{max-width:205px}.swipe-main .glass-product-rail{left:9px;min-width:82px}.swipe-main .glass-product-image{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.guide-hand,.motion-up,.motion-down,.motion-left,.motion-right{animation:none}.guide-hand{opacity:.85}.gesture-surface{transform:none!important}}
