.delivery-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.delivery-form-grid label,.delivery-form label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:14px}.delivery-form input,.delivery-form select,.delivery-form textarea,.delivery-form-grid input,.delivery-form-grid select,#upload-description{width:100%;font:inherit;color:#141714;background:#f4f5f7;border:1px solid #ddd;border-radius:12px;padding:12px;min-width:0}.delivery-form{display:grid;gap:16px}.delivery-form .check-label,.delivery-form-grid .check-label{flex-direction:row;align-items:center}.check-label input{width:20px!important;height:20px;flex-shrink:0}.login-roles{display:flex;gap:6px;padding:6px;background:#f4f5f7;border-radius:16px;margin-bottom:22px}.login-roles button{flex:1;padding:11px 4px;background:transparent;border-radius:12px;font-weight:700;color:#777}.login-roles button.active{background:#202c3b;color:#fff}.delivery-card{background:#f4f5f7;border:1px solid #e8ebe8;border-radius:20px;padding:18px;margin:16px 0;color:#202c3b}.delivery-card h3{margin:0 0 9px}.delivery-card p{margin:6px 0;overflow-wrap:anywhere}.delivery-card small{color:#657065}.delivery-card .order-id{font-weight:700;font-size:14px}.delivery-card a{color:#202c3b;display:block;margin:12px 0}.delivery-card button,.delivery-secondary{border-radius:12px;padding:12px 15px;font-weight:700;background:#f4f5f7;color:#202c3b}.delivery-card button.primary,.delivery-form button.primary{background:#ff8000;color:#fff}.delivery-status{color:#a43c24;font-size:14px;min-height:20px}.delivery-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.delivery-header h2{font-size:24px;margin:0}.delivery-note{font-size:14px;color:#767c77}.delivery-alert{padding:12px 14px;background:#f4f5f7;border-radius:14px;font-weight:700;color:#202c3b}.delivery-stops{padding:0;list-style:none;counter-reset:stop}.delivery-stops li{padding:10px 0;border-bottom:1px solid #e0e5e1}.delivery-stops li.done{opacity:.55}.delivery-grid-edit{margin-top:8px;width:100%;background:#f4f5f7;padding:8px;border-radius:10px;color:#202c3b;font-size:14px}.rider-content{padding-bottom:32px}#testVideoForm{max-height:72svh;overflow:auto}.delivery-inline{margin-top:16px}.delivery-inline .account-page-head{position:static}.delivery-form button{min-height:46px}.delivery-role-caption{margin:0 0 18px;color:#747c74}

.customer-orders{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:0;align-items:start}

.following-stat{border:0;background:none;padding:0;text-align:left;color:inherit;cursor:pointer;display:flex;flex-direction:column;gap:3px;font:inherit}.following-stat:focus-visible{outline:2px solid #ff8000;outline-offset:5px;border-radius:4px}
.following-search{width:100%;padding:13px 15px;border:1px solid #eee;border-radius:12px;background:#f5f5f5;font:inherit;margin-bottom:14px}.following-row{display:flex;gap:12px;align-items:center;padding:12px 0}.following-visit{display:flex;align-items:center;gap:13px;background:none;border:0;padding:0;flex:1;min-width:0;text-align:left;color:#111}.following-visit img,.followed-shop-head img{width:58px;height:58px;object-fit:cover;border-radius:50%;flex:none}.following-visit span{min-width:0}.following-visit strong,.following-visit small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.following-visit small{font-size:14px;color:#777;margin-top:5px}.following-unfollow{border:0;background:#f2f2f2;border-radius:9px;padding:10px 14px;font-size:14px;font-weight:650;flex:none}.followed-shop-head{display:flex;align-items:center;gap:14px}.followed-shop-head strong{font-size:20px}.followed-shop-head p{color:#777;font-size:14px}
.checkout-item{padding:18px 0;border-bottom:1px solid #eee;display:flex;flex-direction:column;gap:8px}.checkout-item strong{font-size:17px}.checkout-item small{color:#777;font-size:14px}.checkout-item b{font-size:18px;color:#e76b00}.checkout-quantity{display:flex;align-items:center;gap:14px}.checkout-step{border:0;background:#f2f2f2;border-radius:10px;width:36px;height:36px;font-size:22px}.checkout-remove,.checkout-clear{border:0;background:none;color:#777;padding:8px 0;font-size:14px}.checkout-remove{margin-left:auto}.checkout-clear{display:block;margin-left:auto}.checkout-total{font-size:20px;font-weight:750;margin-top:24px}.checkout-item button{-webkit-tap-highlight-color:transparent}.checkout-item button:active{transform:scale(.96)}#checkoutLocationForm details label{margin-top:14px}#checkoutMap{color:#202c3b;text-decoration:underline}
.vendor-option-row{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid #eee}.vendor-option-row input{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;font:inherit}.upload-options>p{color:#777;font-size:14px}.variant-sheet{max-height:85svh;overflow:auto}.variant-product{display:flex;align-items:center;gap:14px;margin-bottom:18px}.variant-product img{width:76px;height:84px;object-fit:cover;border-radius:14px}.variant-product h3{font-size:20px;line-height:1.3;margin:5px 0}.variant-product p{margin:0;color:#777}.variant-product small{font-size:14px;color:#202c3b}.variant-option{border:0;padding:0;margin:20px 0}.variant-option legend{font-size:16px;font-weight:700;margin-bottom:10px}.variant-choice{border:1px solid #ddd;border-radius:10px;background:#f5f5f5;color:#222;padding:10px 16px;margin:0 8px 8px 0;font-size:15px;-webkit-tap-highlight-color:transparent}.variant-choice.selected{border-color:#ff8000;background:#fff2e5;color:#913f00}.variant-choice:active{transform:scale(.96)}.variant-quantity-title{text-align:center;font-size:18px}.variant-quantity{display:flex;justify-content:center;gap:30px;align-items:center;margin:20px 0}.variant-quantity strong{font-size:25px}.variant-quantity .checkout-step{width:48px;height:48px;border-radius:14px}.variant-total{border-top:1px solid #eee;padding:20px 0;font-size:20px;font-weight:750}.cart-variant-summary{margin:0;color:#555;font-size:14px}.variant-sheet .account-save{width:100%}.variant-sheet .account-save:disabled{opacity:.45}
/* Compact product selection and checkout. */
.variant-sheet{background:#fff;padding:16px 20px 20px}.variant-sheet .sheet-head h2{font-size:18px;letter-spacing:0}.variant-sheet .sheet-head{margin-bottom:14px}.variant-product{gap:12px;margin-bottom:12px}.variant-product img{width:60px;height:64px;border-radius:12px}.variant-product h3{font-size:16px;margin:4px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.variant-product small{font-size:14px}.variant-product p{font-size:14px}.variant-quantity-title{font-size:15px;margin:12px 0}.variant-quantity{margin:12px 0;gap:24px}.variant-quantity strong{font-size:20px}.variant-quantity .checkout-step{width:40px;height:40px;font-size:22px}.variant-total{font-size:16px;padding:14px 0}.variant-option{margin:14px 0}.variant-option legend{font-size:14px}.variant-choice{font-size:14px;padding:8px 12px}.variant-sheet .account-save{font-size:15px;padding:12px;min-height:44px}
.checkout-item{position:relative;padding:12px 0;gap:5px;padding-right:100px}.checkout-item strong{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.checkout-item small{font-size:14px}.checkout-item b{position:absolute;right:0;top:12px;font-size:15px}.checkout-item .checkout-quantity{margin-top:8px;margin-right:-100px;gap:10px}.checkout-item .checkout-step{width:32px;height:32px;font-size:20px}.checkout-total{font-size:17px;margin:18px 0 8px}.checkout-clear,.checkout-remove{font-size:14px;padding:5px 0}#accountInfoContent:has(.checkout-item) .delivery-note{font-size:14px;margin:8px 0 16px}#accountInfoContent:has(.checkout-item) .account-save{font-size:15px;padding:12px;min-height:44px}
.purchase-dock .buy-label{position:relative;flex:none;line-height:0}.purchase-dock .buy-label svg{width:23px;height:23px}.purchase-dock .buy-label.in-cart:after{content:'✓';position:absolute;top:-7px;right:-7px;background:#fff;color:#202c3b;border-radius:50%;width:14px;height:14px;display:grid;place-items:center;font-size:10px;font-weight:900;line-height:1}.purchase-dock .purchase{gap:14px;padding:0 16px}
/* Rounded cart action and one-line selection summary. */
.purchase-dock .buy-label{display:grid;place-items:center;width:40px;height:28px;border:1.5px solid #111;border-radius:999px;background:#fff;color:#111;gap:0;flex:none}.purchase-dock .buy-label svg{display:block;width:23px;height:23px;stroke-width:1.8}.purchase-dock .purchase{padding:0 10px 0 14px;gap:13px}.purchase-dock .buy-label.in-cart:after{top:-6px;right:-5px}
.variant-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eee;margin-top:14px;padding:14px 0}.variant-summary .variant-total{border:0;padding:0;font-size:15px;white-space:nowrap}.variant-summary .variant-quantity{margin:0;gap:9px}.variant-summary .variant-quantity strong{font-size:17px;min-width:16px;text-align:center}.variant-summary .checkout-step{width:30px;height:30px;border-radius:9px;font-size:18px}.variant-qty-label{font-size:12px;color:#777;font-weight:650}.variant-summary .variant-quantity .checkout-step{width:30px;height:30px;font-size:18px}@media(max-width:340px){.variant-summary{gap:8px}.variant-summary .variant-quantity{gap:6px}.variant-summary .variant-total{font-size:14px}}
/* Refined shopping controls: glass secondary action and integrated price capsule. */
.purchase-dock{gap:10px;align-items:center}
.purchase-dock .view-product-button{height:44px;border-radius:999px;background:rgba(18,22,20,.66);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.36);color:#fff;font-size:15px;font-weight:650;letter-spacing:.1px;box-shadow:0 4px 18px #0002}
.purchase-dock .purchase{height:44px;border-radius:999px;background:#fff;color:#202c3b;gap:14px;padding:4px 5px 4px 17px;border:1px solid rgba(255,255,255,.75);box-shadow:0 5px 22px #0003}
.purchase-dock .buy-price{font-size:16px;font-weight:750;letter-spacing:-.3px}
.purchase-dock .buy-label{width:36px;height:34px;border:0;border-radius:50%;background:linear-gradient(145deg,#ff9e28,#f47700);color:#fff;box-shadow:inset 0 1px 0 #ffffff50}
.purchase-dock .buy-label svg{width:21px;height:21px;stroke-width:1.8}
.purchase-dock .buy-label.in-cart{background:#202c3b;color:#fff}
.purchase-dock .buy-label.in-cart:after{width:11px;height:11px;top:0;right:0;background:#fff;color:#202c3b;border:1px solid #fff;font-size:8px}
.purchase-dock button:active{filter:brightness(.96);transform:scale(.97)}
.feed-cart{padding:5px;border-radius:50%;background:#101b1466;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid #ffffff28}.feed-cart span{font-size:10px;top:-5px;right:-5px;min-width:15px;background:#ff8000}
.floating-cart{position:fixed;z-index:14;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;border:1px solid #ffffff55;background:#202c3b;color:#fff;box-shadow:0 6px 22px #0003;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;cursor:grab}.floating-cart:active{cursor:grabbing;background:#204c36}.floating-cart svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.floating-cart span{position:absolute;right:-2px;top:-3px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:#ff8000;color:#fff;border:2px solid #fff;font-size:10px;font-weight:750}.floating-cart:focus-visible{outline:2px solid #ff8000;outline-offset:4px}
.shop-message-button{border:0;border-radius:12px;background:#202c3b;color:#fff;padding:11px 22px;font-size:15px;font-weight:650;margin:4px 0 20px;-webkit-tap-highlight-color:transparent}.shop-message-button:active{transform:scale(.97)}
.followed-shop-head{gap:12px;align-items:center}.followed-shop-head>div{min-width:0}.followed-shop-head .shop-name-line{font-size:18px;line-height:1.25;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.followed-shop-head p{margin:4px 0 0;font-size:14px;line-height:1.3}.followed-shop-head .shop-verified{width:14px;height:14px;border-radius:0;object-fit:contain;flex:0 0 14px}.shop-description{font-size:15px;line-height:1.4;margin:16px 0}.shop-page-actions{display:flex;gap:10px;margin:0 0 16px}.shop-page-actions .shop-message-button{background:#ff8000;color:#27200e;margin:0;flex:1;border-radius:12px;padding:11px 18px}.shop-follow-button{background:#f2f2f2;color:#222;border:1px solid #e5e5e5;flex:1;border-radius:12px;font-size:15px;font-weight:650;padding:11px 18px;-webkit-tap-highlight-color:transparent}.shop-follow-button:active{transform:scale(.97)}.shop-product-search{width:100%;border:1px solid #eee;border-radius:12px;background:#f5f5f5;padding:12px 14px;font:inherit;font-size:15px;margin-bottom:18px}
.account-info-page.shop-page-with-nav{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.public-shop-stats{display:flex;gap:18px;margin-top:9px;font-size:13px;color:#777;line-height:1.4}.public-shop-stats b{font-size:15px;color:#222;font-weight:750;margin-right:3px}.shop-share-button{position:absolute;right:16px;border:0;background:none;color:#222;padding:8px;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}.shop-share-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shop-share-button:active{transform:scale(.94)}#accountInfoView .account-page-head{position:relative}#accountInfoView .account-page-head:has(.shop-share-button:not(.hidden)) h2{padding:0 45px}
/* Shop product cards use video-corner badges rather than repeated seller text. */
.shop-product-card{position:relative}.shop-product-card .explore-card-price{position:absolute;z-index:2;top:9px;right:9px;background:#fff;color:#202c3b;border-radius:9px;padding:6px 9px;font-size:14px;line-height:1.2;font-weight:750;margin:0;box-shadow:0 2px 9px #0002;max-width:calc(100% - 18px);white-space:nowrap}.shop-product-card .explore-play{top:auto;bottom:10px;right:10px;width:22px;height:22px;filter:drop-shadow(0 1px 4px #0008)}.shop-product-card .explore-card-meta{justify-content:flex-end!important;margin-top:6px}.shop-product-card .explore-card-title{margin-bottom:0}.shop-discount-badge{position:absolute;z-index:2;top:9px;left:9px;border-radius:8px;background:#ff8000;color:#27200e;font-size:12px;font-weight:750;padding:5px 7px;line-height:1.2}
.shop-video-likes{position:absolute;z-index:2;left:10px;bottom:10px;display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#1118;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;font-size:14px;line-height:1.2;text-shadow:0 1px 2px #0004;pointer-events:none}
.shop-video-likes{font-size:12px;padding:3px 6px;left:8px;bottom:9px;line-height:1.2}
/* Remove touch highlight while preserving keyboard focus indicators. */
*{-webkit-tap-highlight-color:transparent}
button:focus:not(:focus-visible),a:focus:not(:focus-visible),[role="button"]:focus:not(:focus-visible){outline:none}
#shopFeedName{background:none;border:0;color:#fff;font:inherit;font-size:20px;font-weight:750;text-align:left;padding:6px 0;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#shopFeedName:active{opacity:.8}
.shop-product-card .explore-card-title{border:1px solid #e2e5e2;border-radius:12px;background:#f4f5f7;margin-top:8px;padding:9px 10px;font-size:15px;line-height:1.35;font-weight:650;min-height:44px;transition:background .15s,transform .15s;cursor:pointer;user-select:none;-webkit-user-select:none}.shop-product-card .explore-card-title:active{background:#f4f5f7;transform:scale(.98)}@media(hover:hover){.shop-product-card .explore-card-title:hover{border-color:#bfc9c2;background:#f3f6f3}}
.shop-product-card{border:1px solid #e2e5e2;border-radius:12px;overflow:hidden;background:#f4f5f7;padding:0}.shop-product-card .explore-open-video{border-radius:0;margin:0}.shop-product-card .explore-card-title{border:0;border-top:1px solid #e2e5e2;border-radius:0;margin:0;padding:10px;min-height:60px;height:auto;background:#f4f5f7}.shop-product-card .explore-card-title:active{transform:none;background:#f4f5f7}
.explore-open-video{touch-action:manipulation;-webkit-user-select:none;user-select:none}
.marketplace-product-card .explore-card-meta{justify-content:flex-start!important;padding:0 10px 9px;margin:0}.marketplace-shop-name{color:#727971;font-size:12px;line-height:1.4;cursor:pointer;max-width:100%;user-select:none;-webkit-user-select:none}.marketplace-shop-name:active{color:#202c3b}.marketplace-product-card .explore-card-price{width:auto;text-align:center}.marketplace-product-card .explore-card-title{min-height:56px;padding-bottom:7px}

/* Distinguish product titles from shop names on video feeds. */
.feed .details .product-name{color:#ff8000;text-shadow:0 1px 3px rgba(0,0,0,.65)}

.chat-screen{position:fixed!important;inset:auto!important;top:var(--chat-top,0px)!important;left:0;right:0;height:var(--chat-height,100dvh)!important;max-height:none!important;z-index:30;overflow:hidden;box-sizing:border-box}
.chat-scroll{min-height:0;overscroll-behavior:contain}.chat-head{flex-shrink:0}.chat-privacy{flex-shrink:0}.chat-compose{flex-shrink:0}.chat-compose input[type=text]{font-size:16px!important}.chat-compose button,.chat-compose label{flex-shrink:0;display:grid;place-items:center}.chat-compose button svg{width:22px;height:22px;fill:white}.chat-compose label svg{width:21px;height:21px}.chat-compose button:disabled{opacity:.5}
.chat-attachment-preview{display:flex;align-items:center;gap:10px;background:white;padding:8px 12px;flex-shrink:0;border-top:1px solid #eee}.chat-attachment-preview img{width:48px;height:48px;object-fit:cover;border-radius:8px}.chat-attachment-preview span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.attachment-remove{background:#f1f1f1;border-radius:50%;width:30px;height:30px;font-size:20px}
.chat-safety-overlay{position:fixed;inset:0;z-index:150;background:#0008;display:grid;place-items:center;padding:24px;backdrop-filter:blur(4px)}.chat-safety-panel{width:100%;max-width:350px;background:white;border-radius:24px;padding:26px;text-align:center;box-shadow:0 20px 60px #0003}.chat-safety-icon{margin:auto;width:48px;height:48px;border-radius:50%;background:#fff1bd;color:#795700;font-size:25px;display:grid;place-items:center}.chat-safety-panel h2{font-size:21px;line-height:1.2;margin:18px 0 12px;color:#202c3b}.chat-safety-panel p{font-size:15px;line-height:1.5;color:#626862;margin:0 0 22px}.chat-safety-panel button{display:block;width:100%;padding:13px;border-radius:12px;font-size:15px;font-weight:700}.chat-safety-continue{background:#ff8000;color:#202c3b}.chat-safety-cancel{background:none;color:#717771;margin-top:5px}

.chat-compose{padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px}.chat-compose input[type=text]{font-size:14px!important;line-height:20px;padding:8px 12px;border:1px solid #e5e8e4!important;outline:none!important;height:38px;box-sizing:border-box;box-shadow:none!important}.chat-compose button,.chat-compose label{width:34px;height:34px;min-width:34px;padding:0}.chat-compose button svg{width:19px;height:19px}.chat-compose label svg{width:19px;height:19px}.chat-head>div{min-width:0}.chat-head strong{font-size:16px!important;line-height:1.3}.chat-vendor-name::after{content:'';display:inline-block;width:15px;height:15px;margin-left:5px;background:url('/verified-display.svg') center/contain no-repeat;vertical-align:-2px}.chat-scroll .account-empty{font-size:14px}.chat-privacy{font-size:11px;line-height:1.4;padding:7px 14px}
@supports(-webkit-touch-callout:none){.chat-compose input[type=text]{font-size:16px!important}}

.chat-screen{width:100%;max-width:100vw;min-width:0}.chat-attachment-preview{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}.chat-attachment-preview span{min-width:0;flex:1 1 0;font-size:12px;line-height:1.3}.chat-attachment-preview img,.chat-attachment-preview .attachment-remove{flex-shrink:0}.chat-compose{min-width:0;max-width:100%;box-sizing:border-box}

.chat-compose{padding-left:14px;padding-right:22px;align-items:flex-end;gap:8px;width:100%;overflow:hidden}.chat-compose textarea{flex:1 1 0;min-width:0;width:0;resize:none;height:38px;max-height:110px;box-sizing:border-box;padding:8px 12px;border:1px solid #e5e8e4;border-radius:20px;font:inherit;font-size:14px;line-height:20px;background:white;outline:none;overflow-y:auto}.chat-compose textarea:focus{border-color:#cbd3cd}.chat-compose button,.chat-compose label{margin-bottom:2px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;min-width:0}.bubble.vendor-bubble,.bubble.vendor-bubble.me{background:#fff0bf;border-color:#f2df9d}.bubble.buyer-bubble,.bubble.buyer-bubble.me{background:#f4f5f7;border-color:#d7e8da}.chat-image-open{display:block;padding:0;margin-top:7px;background:none;border:0;max-width:100%;border-radius:9px;overflow:hidden}.bubble .chat-image-open img{margin:0;max-width:100%;max-height:240px;object-fit:contain}.chat-image-viewer{position:absolute;inset:0;z-index:80;background:#111;display:flex;align-items:center;justify-content:center;padding:55px 12px 20px;box-sizing:border-box}.chat-image-viewer>img{max-width:100%;max-height:100%;object-fit:contain}.chat-image-close{position:absolute;top:12px;right:16px;width:38px;height:38px;border-radius:50%;color:white;background:#ffffff26;font-size:27px;line-height:1}.chat-scroll{overflow-x:hidden}@supports(-webkit-touch-callout:none){.chat-compose textarea{font-size:16px}}

/* Anchor the chat to the viewport, not the padded inbox's static position. */
.chat-screen{left:0!important;right:0!important;width:100%!important}.chat-compose{padding-left:8px;padding-right:24px}.chat-head .chat-back{width:34px;height:38px;flex:0 0 34px;padding:3px;display:grid;place-items:center}.chat-back svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}

.chat-image-viewer{background:rgba(225,242,236,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.chat-image-viewer>img{border-radius:12px;box-shadow:0 12px 40px rgba(32,44,59,.16)}.chat-image-close{color:#202c3b;background:rgba(255,255,255,.88);box-shadow:0 2px 12px rgba(32,44,59,.1)}

.explore-open-video .shop-video-likes,.explore-open-video .video-view-count{position:absolute;top:auto!important;bottom:8px!important;font-size:12px!important;line-height:1;padding:5px 7px;border-radius:20px;background:#0008;color:white;z-index:3}.explore-open-video .shop-video-likes{left:8px!important;right:auto!important;cursor:pointer}.explore-open-video .shop-video-likes.is-liked{color:#ff5571}.explore-open-video .video-view-count{right:8px;left:auto;pointer-events:none}.explore-open-video .explore-play{bottom:34px!important}.account-view-count{display:none!important}.feed-view-count{font-size:11px;font-weight:500;color:#eee;margin-left:4px;white-space:nowrap}

/* View totals remain in profile collections, rather than shopping listings. */
#exploreGrid .video-view-count,#accountInfoContent .shop-product-card .video-view-count{display:none!important}#exploreGrid .explore-play,#accountInfoContent .shop-product-card .explore-play{bottom:8px!important}

.feed.single-video-view .purchase-dock{bottom:calc(12px + env(safe-area-inset-bottom))}.feed.single-video-view .details{bottom:calc(97px + env(safe-area-inset-bottom))}.feed.single-video-view .actions{bottom:calc(142px + env(safe-area-inset-bottom))}.feed.single-video-view .feed-brand-group{display:none}.feed.single-video-view .shop-feed-name{background:none;color:#fff;padding:0;text-align:left}.feed.single-video-view .shop-feed-back svg{stroke-width:2.6}

.feed.single-video-view .details{bottom:calc(76px + env(safe-area-inset-bottom))!important}.feed.single-video-view .actions{bottom:calc(112px + env(safe-area-inset-bottom))!important}

.feed.single-video-view .feed-brand-group{display:flex;margin-left:0;margin-right:auto;flex:0 0 auto}.feed.single-video-view .feed-brand-group .brand{display:none!important}.feed.single-video-view .feed-brand-group:has(.feed-cart.hidden){display:none}.feed.single-video-view .shop-feed-name{flex:0 1 auto;min-width:0;max-width:calc(100% - 80px)}.feed.single-video-view .feed-cart{margin-left:2px}

.empty-cart-return{display:block;margin:0 auto 24px;padding:12px 24px;background:#ff8000;color:#202c3b;font-size:15px;font-weight:700;border-radius:14px}.empty-cart-return:active{transform:scale(.97)}

/* Shared badge source: future global badge changes use this single variable. */
:root{--shop-verification-icon:url('/verified-display.svg')}
.verified,.verified.large{background-image:var(--shop-verification-icon)!important}
:is(.shop-verified-name,.chat-vendor-name,.marketplace-shop-name,.following-visit strong,.checkout-item>small)::after{content:'';display:inline-block;width:14px;height:14px;flex:0 0 14px;margin-left:5px;background:var(--shop-verification-icon) center/contain no-repeat;vertical-align:-2px}
.shop-name-line.shop-verified-name::after{margin-left:0}.chat-vendor-name::after{width:15px;height:15px}.message-copy strong.shop-verified-name{white-space:normal}.message-camera{display:none!important}
.explore-product-strip{position:absolute;left:0;right:0;bottom:calc(8px + env(safe-area-inset-bottom));z-index:5;display:flex;gap:9px;padding:4px 16px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;touch-action:pan-x}.explore-product-strip::-webkit-scrollbar{display:none}.explore-strip-card{display:flex;align-items:center;gap:9px;flex:0 0 176px;min-width:0;height:66px;padding:7px;background:rgba(255,255,255,.94);color:#202c3b;border:2px solid transparent;border-radius:14px;text-align:left;scroll-snap-align:center;box-shadow:0 3px 12px #0002}.explore-strip-card.active{border-color:#ff8000}.explore-strip-card>img,.explore-strip-card>video{width:40px;height:48px;object-fit:cover;border-radius:8px;flex-shrink:0}.explore-strip-copy{min-width:0;display:block}.explore-strip-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.25}.explore-strip-copy small{display:block;font-size:12px;font-weight:700;color:#a95000;margin-top:4px}.feed.single-video-view.with-product-strip .purchase-dock{bottom:calc(92px + env(safe-area-inset-bottom))!important}.feed.single-video-view.with-product-strip .details{bottom:calc(156px + env(safe-area-inset-bottom))!important}.feed.single-video-view.with-product-strip .actions{bottom:calc(192px + env(safe-area-inset-bottom))!important}

.similar-items-label{position:absolute;left:18px;bottom:calc(83px + env(safe-area-inset-bottom));z-index:5;color:white;font-size:12px;font-weight:650;text-shadow:0 1px 3px #0008}.feed.single-video-view.with-product-strip .purchase-dock{bottom:calc(108px + env(safe-area-inset-bottom))!important}.feed.single-video-view.with-product-strip .details{bottom:calc(172px + env(safe-area-inset-bottom))!important}.feed.single-video-view.with-product-strip .actions{bottom:calc(160px + env(safe-area-inset-bottom))!important}

#uploadVideoModal{padding:0;align-items:stretch}#uploadVideoModal>.sheet{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;padding:16px 18px calc(24px + env(safe-area-inset-bottom));overflow-y:auto}#uploadVideoModal .grab{display:none}#uploadVideoModal .sheet-head{position:sticky;top:-16px;background:#fff;z-index:5;padding:12px 0}#uploadVideoModal .upload-media-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}#uploadVideoModal .upload-media-fields label{min-width:0;font-weight:700;font-size:14px}#uploadVideoModal .upload-media-fields input{display:block;width:100%;min-width:0;font-size:12px;margin:10px 0}#uploadVideoModal .upload-media-fields small{display:block;font-size:12px;color:#777;font-weight:400}#productThumbnailPreview{width:100%;height:110px;object-fit:contain;margin-top:10px;border-radius:10px}.explore-open-video .product-thumbnail-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.explore-open-video.playing .product-thumbnail-cover{display:none}
/* Uniform product listing frames, independent of uploaded image dimensions. */
.explore-video-card .explore-open-video{width:100%!important;height:auto!important;min-height:0!important;padding:0!important;aspect-ratio:3/4!important;flex:none;position:relative;overflow:hidden}
.explore-video-card .explore-open-video>video,.explore-video-card .explore-open-video>img{position:absolute;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover;object-position:center;display:block}
.explore-video-card{min-width:0;align-self:start}

/* Natural title height and compact category card copy. */
#exploreGrid{grid-auto-rows:1px;gap:0 8px;align-items:start}
#exploreGrid>.explore-video-card{position:relative!important;height:auto;aspect-ratio:auto;align-self:start}
#exploreGrid .explore-card-title{height:auto!important;min-height:0!important;max-height:none!important;padding:7px 10px 3px!important;margin:0!important;font-size:14px;line-height:1.35;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#exploreGrid .explore-card-meta{height:auto!important;min-height:0!important;padding:3px 10px 8px!important;margin:0!important;font-size:12px;line-height:1.35}

/* Keep listing overlays in their own stacking context below sticky navigation. */
.explore-video-card{isolation:isolate;position:relative;z-index:0}
.explore-video-card .explore-open-video{isolation:isolate;overflow:hidden}
#exploreView .explore-header,#profileView .account-tabs{z-index:10;background:#fff}

#exploreGrid .explore-card-price{color:var(--orange)}

#preparingUploads{margin:12px 14px;padding:10px 12px;border-radius:10px;background:#fff4df;color:#714000;font-size:14px}#preparingUploads p{margin:4px 0}

/* Dim just the picture so the loading animation remains bright. */
#feedVideo,.explore-open-video>video,.explore-open-video>.product-thumbnail-cover{transition:filter .18s ease}
#feedScene.video-buffering #feedVideo,.explore-open-video.video-buffering>video,.explore-open-video.video-buffering>.product-thumbnail-cover{filter:brightness(.55)}
.explore-open-video .explore-buffering{background:transparent;z-index:5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;text-shadow:0 1px 3px #000}
.explore-open-video .explore-buffering img{width:64px;height:40px;object-fit:contain}
@media(prefers-reduced-motion:reduce){#feedVideo,.explore-open-video>video,.explore-open-video>.product-thumbnail-cover{transition:none}}

#videoShareModal .sheet{background:#fff}#shareShopIdentity,.saved-shop-identity{display:flex;align-items:center;gap:9px;min-width:0;margin:8px 0 16px}#shareShopIdentity img,.saved-shop-identity img{width:40px;height:40px;object-fit:cover;border-radius:8px;flex:none}#shareShopIdentity small,.saved-shop-identity small{display:block;color:#777;font-size:12px;margin-top:3px}.saved-shop-identity{padding:7px;margin:0;font-size:12px;align-items:flex-start}.saved-shop-identity img{width:24px;height:24px}.saved-shop-identity strong{overflow-wrap:anywhere}.saved-shop-identity small{font-size:12px}.shop-six-digit-id{font-size:12px;color:#777;margin:6px 0}.product-rating{margin-top:20px;border-top:1px solid #eee;padding-top:16px}.product-rating strong{font-size:16px}#productRatingStars{display:flex;gap:7px;margin-top:7px}#productRatingStars button{background:transparent;color:#bbb;font-size:32px;padding:4px;min-width:40px;min-height:44px}#productRatingStars button.selected{color:#ff8000}#productRatingSummary,#productShareStatus{font-size:14px;color:#666;margin:8px 0}#videoShareModal button:disabled{opacity:.55;cursor:wait}

#videoShareModal .sheet{border-radius:24px 24px 0 0;padding:10px 0 calc(14px + env(safe-area-inset-bottom));max-height:70dvh;background:#fff}#videoShareModal .grab{margin-bottom:6px}#videoShareModal .sheet-head{padding:0 16px;margin:0 0 10px;min-height:40px}#videoShareModal .sheet-head h2{font-size:18px;margin:auto}#videoShareModal .close{background:transparent;font-size:27px}#shareShopIdentity{display:none}.share-actions-row,.share-secondary-row{display:flex;align-items:flex-start;gap:8px;overflow-x:auto;scrollbar-width:none;padding:8px 14px 12px;touch-action:pan-x}.share-actions-row::-webkit-scrollbar,.share-secondary-row::-webkit-scrollbar{display:none}.share-secondary-row{border-top:1px solid #eee;padding-top:12px}.compact-share-action{display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 76px;width:76px;padding:0;background:transparent;color:#171717;font-size:12px;line-height:1.3;margin:0;min-height:82px}.share-action-label{text-align:center;max-width:76px}.share-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#f0f1f2;color:#444}.share-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.share-icon img{width:100%;height:100%;border-radius:50%;object-fit:cover}.copy-share-icon{background:#2d78ed;color:#fff}.whatsapp-share-icon{background:#20c866;color:#fff}.sms-share-icon{background:#eef4ff;color:#2d78ed}.apps-share-icon{background:#202c3b;color:#fff}.download-share-icon{background:#ff8000;color:#333}#videoShareModal .product-rating{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 16px;border-top:1px solid #eee;padding-top:8px}#videoShareModal .product-rating strong{font-size:14px}#videoShareModal #productRatingStars{gap:2px;margin:0}#videoShareModal #productRatingStars button{font-size:25px;min-width:32px;padding:2px}#videoShareModal #productRatingSummary{width:100%;font-size:12px;margin:0}#videoShareModal #productShareStatus{margin:8px 16px 0;font-size:13px}#videoShareModal #productShareStatus:empty{display:none}

.rate-share-icon{background:#ff8000;color:#fff}.report-share-icon{background:#f0f1f2;color:#444}.product-action-popup{align-items:center;justify-content:center}.product-action-popup>.sheet{width:calc(100% - 32px);max-width:420px;border-radius:20px;padding:20px;background:#fff;max-height:80dvh}.product-action-popup .sheet-head h2{font-size:18px}.product-action-popup p{font-size:14px;margin:8px 0;color:#666}.product-action-popup .product-rating{margin:12px 0 0;border:0;padding:0}#productRatingPopup #productRatingStars{justify-content:center;gap:8px}#productRatingPopup #productRatingStars button{font-size:38px;min-height:48px;min-width:42px}#productRatingPopup #productRatingSummary{text-align:center}#productReportForm label{display:block;font-size:14px;font-weight:600;margin:14px 0}#productReportForm select,#productReportForm textarea{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #ddd;border-radius:10px;font:inherit;font-size:16px;background:#fff;color:#222}#productReportForm button:disabled{opacity:.5}

.shop-id-search-result{width:100%;display:flex;align-items:center;gap:10px;margin-top:8px;padding:10px;background:#f4f7f4;border:1px solid #f4f5f7;border-radius:12px;text-align:left;color:#202c3b}.shop-id-search-result img{width:40px;height:40px;object-fit:cover;border-radius:8px}.shop-id-search-result small{display:block;font-size:12px;color:#666;margin-top:3px}
#uploadVideoModal .sheet{background:#f5f7f8}#uploadVideoModal .sheet-head{background:#fff;border-bottom:1px solid #e5e9eb;padding:18px 20px}#uploadVideoModal .upload-note{font-size:14px;color:#67766f;margin:18px 20px}.professional-product-form{max-width:800px;margin:0 auto;padding:0 16px 24px}.product-form-section{background:#fff;border:1px solid #e5e9eb;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 3px 12px #132a1d04}.product-form-section h3{font-size:18px;color:#202c3b;margin:0 0 16px}.product-form-section>p{font-size:14px;line-height:1.5;color:#6e7974;margin:-6px 0 16px}.product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.professional-product-form label{display:block;font-size:14px;font-weight:600;color:#34453c}.professional-product-form input:not([type=checkbox]),.professional-product-form select,.professional-product-form textarea{display:block;width:100%;min-width:0;margin:7px 0 12px;padding:12px!important;border:1px solid #dce3df!important;border-radius:10px!important;background:#fafcfb;font:inherit!important;font-size:16px!important;color:#202c3b;box-sizing:border-box}.professional-product-form input:focus,.professional-product-form select:focus,.professional-product-form textarea:focus{outline:2px solid #ff790080;outline-offset:1px}.professional-product-form small{font-size:13px;color:#768078}.professional-product-form .primary{width:100%;border-radius:12px;padding:16px;font-size:16px}.professional-product-form [hidden]{display:none!important}.product-form-section .check-label{display:flex;align-items:center;gap:8px}.product-form-section .upload-media-fields{margin:0}.product-form-section .delivery-form-grid{gap:16px}@media(max-width:450px){.product-fields{grid-template-columns:1fr}.product-form-section{padding:16px}.professional-product-form{padding:0 12px 24px}}
.preset-option{border:1px solid #dce3df;border-radius:12px;margin:12px 0;background:#fafcfb}.preset-option summary{padding:14px;font-weight:600;cursor:pointer;font-size:15px}.preset-option>input{width:calc(100% - 28px)!important;margin:0 14px 12px!important}.preset-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:0 14px 14px;max-height:250px;overflow:auto}.preset-values label{display:flex!important;gap:10px;align-items:center;padding:10px;border-radius:7px;font-size:15px!important}.preset-values input{width:18px;height:18px;accent-color:#ff8000}.preset-values label[hidden]{display:none!important}.professional-product-form .choice-search{font-size:14px!important;background:white!important;margin-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.weight-estimate-note{font-size:13px;font-weight:400;line-height:1.5;color:#718076;margin:6px 0}.product-form-section{box-shadow:none}.product-form-section h3{padding-bottom:12px;border-bottom:1px solid #edf1ef}.professional-product-form select{appearance:auto;cursor:pointer}
.professional-product-form>[hidden],.product-form-section[hidden]{display:none!important}.product-step-label{font-size:14px;font-weight:650;color:#64766a;padding:8px 4px 16px;margin:0}#productDetailsNext{margin-bottom:20px}#productMediaStep>.delivery-secondary{margin-bottom:20px}.pending-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 14px}.pending-product-card{border:1px solid #e1e7e3;border-radius:14px;overflow:hidden;background:white}.pending-product-card img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;opacity:.65}.pending-product-card strong{display:block;font-size:15px;padding:12px 12px 4px}.pending-product-card p{font-size:14px;color:#997013;padding:0 12px 12px;margin:4px 0;overflow-wrap:anywhere}
#portalContent .managed-product-grid{display:block!important;columns:2;column-gap:12px;padding:0 14px 20px!important}#portalContent .managed-product-grid>.explore-video-card{display:inline-block;vertical-align:top;width:100%;break-inside:avoid;margin:0 0 12px;padding:0;border:1px solid #e2e5e2!important;border-radius:13px;overflow:hidden;box-sizing:border-box;background:#f4f5f7}#portalContent .managed-product-grid .explore-card-title{display:block!important;-webkit-line-clamp:unset;height:auto!important;min-height:0!important;max-height:none!important;padding:10px 10px 8px!important;margin:0!important;line-height:1.35;overflow-wrap:anywhere;white-space:normal;overflow:visible!important;font-size:14px}#portalContent .managed-product-grid .explore-open-video>img,#portalContent .managed-product-grid .explore-open-video>video{aspect-ratio:3/4;object-fit:cover}.product-card-actions{display:flex;gap:6px;padding:8px 10px 10px}.product-card-actions button{flex:1;min-width:0;padding:10px 4px;background:#f4f5f7;color:#202c3b;font-size:13px;font-weight:650;border-radius:8px}.product-card-actions .product-card-delete{color:#b83232;background:#fff0ef}#existingProductMedia img{width:100%;max-width:200px;border-radius:12px}#existingProductMedia p{font-size:14px;color:#6b7971}
.variant-option{display:block!important;min-width:0}.variant-choice-row{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:3px 0 10px;scrollbar-width:thin;max-width:100%;-webkit-overflow-scrolling:touch}.variant-choice-row .variant-choice{flex:0 0 auto;white-space:nowrap;font-size:14px;padding:10px 14px;margin:0!important;min-width:44px}.product-details-disclosure{margin:10px 0;border:1px solid #dce4df;border-radius:10px;background:#fff;font-size:14px}.product-details-disclosure summary{padding:10px 12px;color:#202c3b;font-weight:650;cursor:pointer}.product-details-body{padding:0 12px 12px;max-height:45svh;overflow:auto}.product-details-body h4{font-size:14px;color:#202c3b;margin:14px 0 8px}.product-details-body dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:0;margin:0;font-size:14px}.product-details-body dt,.product-details-body dd{padding:9px 0;border-bottom:1px solid #edf1ee;overflow-wrap:anywhere}.product-details-body dt{color:#6b7771;padding-right:12px}.product-details-body dd{margin:0;font-weight:550;color:#202c3b}.product-details-body p{font-size:14px!important;line-height:1.5;white-space:pre-wrap;color:#34473c!important}.variant-product>div{min-width:0;flex:1}
#variantModal .variant-sheet{height:85svh;max-height:85svh;display:flex;flex-direction:column;overflow:hidden;padding-bottom:calc(16px + env(safe-area-inset-bottom));box-sizing:border-box}#variantModal .grab,#variantModal .sheet-head{flex-shrink:0}#variantContent{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.variant-scroll-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:2px;overscroll-behavior:contain}.variant-fixed-footer{flex:0 0 auto;background:inherit;padding-top:8px;border-top:1px solid #f4f5f7}.variant-fixed-footer .variant-summary{border-top:0;margin-top:0;padding-top:6px}.variant-product{align-items:center;flex-wrap:nowrap}.variant-product img{flex:0 0 60px;align-self:center}.variant-product small,.variant-product h3{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset!important}.variant-product h3{font-size:16px;line-height:1.4}.variant-scroll-content>.product-details-disclosure{width:100%;box-sizing:border-box;margin:12px 0 18px}.variant-scroll-content .product-details-body{max-height:none;overflow:visible}.variant-fixed-footer .account-save{margin-bottom:0}
#viewProduct.own-video-follow{opacity:.4;filter:saturate(.3);cursor:default;pointer-events:none}
.shopril-system-alert{border:0;border-radius:22px;width:min(380px,calc(100vw - 40px));max-height:calc(100svh - 48px);overflow:auto;box-sizing:border-box;padding:26px 24px 22px;background:#fff;color:#193427;box-shadow:0 20px 70px #071b2455;text-align:center;font-family:inherit}.shopril-system-alert::backdrop{background:#071b2480;backdrop-filter:blur(3px)}.system-alert-icon{width:58px;height:58px;border-radius:18px;background:#fff0ed;color:#c73f35;display:grid;place-items:center;margin:0 auto 16px}.system-alert-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shopril-system-alert h2{font-size:21px;margin:0 0 12px;line-height:1.3}.shopril-system-alert p{font-size:15px;line-height:1.55;margin:0 0 24px;color:#6a756f;overflow-wrap:anywhere}.system-alert-actions{display:flex;gap:10px}.system-alert-actions button{flex:1;border:0;border-radius:12px;padding:13px 8px;font:inherit;font-size:15px;font-weight:650;cursor:pointer}.system-alert-cancel{background:#eff3f0;color:#274535}.system-alert-delete{background:#c73f35;color:#fff}.system-alert-actions button:focus-visible{outline:3px solid #ff9c46;outline-offset:3px}
#portalContent .managed-product-grid{display:grid!important;columns:unset;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start;padding:0 10px 20px!important}#portalContent .managed-product-grid>.explore-video-card{margin:0!important;min-width:0;display:block;border-radius:10px}#portalContent .managed-product-grid .explore-card-title{font-size:12px!important;line-height:1.35;padding:7px 6px!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}#portalContent .managed-product-grid .explore-card-price{font-size:12px!important;padding:5px 7px!important;max-width:calc(100% - 12px);border-radius:9px!important;top:6px!important;right:6px!important}#portalContent .managed-product-grid .shop-video-likes,#portalContent .managed-product-grid .feed-view-count{font-size:11px!important}.pending-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px}.owner-video-controls{display:none}.vendor-own-video>#viewProduct,.vendor-own-video>#purchaseBtn{display:none!important}.vendor-own-video .owner-video-controls{display:flex;width:100%;gap:10px;align-items:stretch}.owner-video-controls button{flex:1;border-radius:18px;padding:15px 12px;font:inherit;font-size:16px;font-weight:750;border:1px solid #ffffff55}.owner-video-edit{background:#fff;color:#202c3b}.owner-video-delete{background:#c73f35;color:#fff}

.vendor-own-video .owner-video-controls{width:80%;max-width:340px;gap:8px}.owner-video-controls button{flex:1;border-radius:14px;padding:10px 12px;font-size:14px;min-height:40px}

.owner-video-stock{background:#fff3cd;color:#574100}.vendor-own-video .owner-video-controls{width:94%;max-width:400px}.owner-video-controls button{padding:9px 7px;font-size:13px;white-space:nowrap}.account-tabs{overflow-x:auto}.account-tabs button{white-space:nowrap;flex-shrink:0}

.explore-video-card .explore-card-title,#exploreGrid .explore-card-title,#portalContent .managed-product-grid .explore-card-title{display:block!important;-webkit-line-clamp:unset!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;white-space:normal}.card-title-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.35;max-height:2.7em;padding:0;margin:0;overflow-wrap:anywhere;text-align:left}

#accountInfoContent>.explore-video-grid{display:block;columns:2;column-gap:8px;padding-top:4px}#accountInfoContent>.explore-video-grid>.explore-video-card{display:inline-block;width:100%;vertical-align:top;break-inside:avoid;box-sizing:border-box;margin:0 0 12px;height:auto}#accountInfoContent .shop-product-card .explore-card-title{height:auto!important;min-height:0!important;max-height:none!important;padding:9px 10px!important}

.system-alert-neutral .system-alert-icon{background:#eef4f0;color:#202c3b}.system-alert-neutral .system-alert-delete{background:#202c3b;color:white}

#portalContent .managed-product-grid .explore-open-video .shop-video-likes,#portalContent .managed-product-grid .explore-open-video .video-view-count{font-size:9px!important;line-height:1.2!important;padding:3px 4px!important;bottom:6px!important;min-width:0;max-width:calc(50% - 8px);box-sizing:border-box;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.15px;border-radius:12px}#portalContent .managed-product-grid .explore-open-video .shop-video-likes{left:5px!important}#portalContent .managed-product-grid .explore-open-video .video-view-count{right:5px!important;left:auto!important}

.vendor-own-video>.feed-customer-follow,.vendor-own-video>.feed-customer-purchase{display:none!important}

#inboxView.inbox-orders-view{display:flex;flex-direction:column;min-height:100%;box-sizing:border-box}#inboxView.inbox-orders-view.hidden{display:none!important}.inbox-orders-view #inboxSearchRow{display:none!important}.inbox-orders-view #inboxList{flex:1;min-height:240px;display:flex;flex-direction:column}.inbox-orders-view #inboxList>.delivery-note:only-child{margin:auto;width:100%;text-align:center;padding:24px 12px;box-sizing:border-box}

.profile-shop-name-row{display:flex;align-items:center;gap:8px;width:100%}.profile-shop-name-row h1{flex:1;min-width:0;margin:0!important}.profile-shop-share{flex:none;width:34px;height:34px;display:grid;place-items:center;background:transparent;border:0;border-radius:50%;padding:6px;color:#202c3b}.profile-shop-share svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.account-info .account-handle{margin-top:6px;font-size:12px;line-height:1.4}

.swipe-frame-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;pointer-events:none}.video-preview{background:#10120f}

.shop-rating-stat b,.profile-rating-stat strong{color:#dda800}.public-shop-stats{flex-wrap:wrap;gap:12px}.product-rating-count{position:absolute;z-index:3;bottom:8px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;font-size:11px;line-height:1.2;padding:4px 5px;white-space:nowrap;border-radius:12px;background:#0009;color:#ff8000;font-variant-numeric:tabular-nums;pointer-events:none}#exploreGrid .video-view-count,#accountInfoContent .shop-product-card .video-view-count{display:inline-flex!important}#exploreGrid .explore-play,#accountInfoContent .shop-product-card .explore-play{display:none!important}#portalContent .managed-product-grid .product-rating-count{font-size:9px;padding:3px 2px;bottom:6px}#portalContent .managed-product-grid .explore-open-video .shop-video-likes,#portalContent .managed-product-grid .explore-open-video .video-view-count{font-size:8px!important;padding:3px 2px!important;max-width:calc(33% - 4px)}.account-stats{flex-wrap:wrap}

.product-pricing-panel{border-top:1px solid #f4f5f7;margin-top:16px;padding-top:16px}.product-pricing-panel h3{font-size:16px;margin:0 0 12px}.vendor-bulk-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin:10px 0}.vendor-bulk-row label{min-width:0;font-size:12px}.vendor-bulk-row button{height:40px;padding:8px;background:#fff0ef;color:#b83232;border-radius:8px}

.checkout-location-form{max-width:680px;margin:0 auto;gap:16px;padding-bottom:24px}.location-map-card,.location-address-card{background:white;border:1px solid #e8e8e8;border-radius:18px;padding:16px}.location-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.location-section-head h3{font-size:18px;margin:0;color:#202020}.location-step{background:#fff2bd;color:#775600;font-size:14px;font-weight:700;border-radius:50%;width:28px;height:28px;display:grid;place-items:center}.location-help{font-size:14px;color:#737373;margin:8px 0 14px}#checkoutInteractiveMap{height:300px;border-radius:12px;background:#f4f4f4;isolation:isolate;z-index:0;overflow:hidden}#checkoutGPS{width:100%;background:#ff8000;color:#211b0b;margin-top:14px;border-radius:12px;font-size:15px}#checkoutPinStatus{margin:12px 0 6px;line-height:1.5;color:#686868}#checkoutMap{font-size:14px;color:#805a00}.location-address-card label{margin-top:16px;color:#292929;font-size:15px}.location-address-card label small{color:#888;font-weight:400}.location-coordinates{margin-top:18px;color:#767676;font-size:14px}.checkout-location-form .account-save{background:#ff8000;color:#211b0b;border-radius:12px;min-height:50px;font-size:16px}.checkout-location-form .delivery-status:empty{display:none}body:has(#accountInfoView:not(.hidden) .checkout-location-form) #floatingCart{display:none}.checkout-location-form input:focus{outline:2px solid #ff8000;outline-offset:1px}

#checkoutInteractiveMap{touch-action:none}#checkoutInteractiveMap .leaflet-marker-icon{pointer-events:auto;touch-action:none;cursor:grab}#checkoutInteractiveMap .leaflet-marker-icon:active{cursor:grabbing}

body:has(#accountInfoView:not(.hidden) .checkout-payment-heading) #floatingCart{display:none!important}
.professional-order-card{background:#fff;border:1px solid #e6e6e6;border-radius:18px;padding:18px;margin:16px 0;box-shadow:0 4px 16px #00000005;color:#222}.order-card-head,.order-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.order-card-head strong{font-size:15px}.order-test-label{font-size:12px;padding:5px 8px;border-radius:6px;background:#fff5ce;color:#7e5b00}.order-shop-name{font-size:14px;color:#777;margin:8px 0 16px}.order-product-slider{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;scrollbar-width:thin}.order-product-slide{display:flex;align-items:center;gap:14px;flex:0 0 100%;min-width:0;scroll-snap-align:start}.order-product-slide img{width:82px;height:104px;object-fit:cover;border-radius:10px;flex-shrink:0}.order-product-slide>div{min-width:0}.order-product-slide strong{font-size:16px;line-height:1.4;display:block}.order-product-slide p,.order-product-slide small{font-size:14px;color:#777;margin:8px 0}.order-slide-hint{display:block;font-size:12px;color:#888;margin:10px 0}.order-current-status{display:flex;gap:9px;align-items:center;background:#fff8df;border-radius:10px;padding:12px;margin:18px 0 14px;font-size:15px}.order-current-status>span{color:#e7ad00}.order-progress-timeline{list-style:none;padding:0;margin:0 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-progress-timeline li{font-size:12px;color:#999;display:flex;align-items:center;gap:7px}.order-progress-timeline li:before{content:'';width:8px;height:8px;border-radius:50%;border:1px solid #ddd;flex-shrink:0}.order-progress-timeline li.complete,.order-progress-timeline li.current{color:#333}.order-progress-timeline li.complete:before{background:#ff8000;border-color:#ff8000}.order-progress-timeline li.current:before{border:2px solid #e6ad00;background:#fff5cd}.order-card-footer{border-top:1px solid #eee;padding-top:14px;font-size:16px}.order-card-footer small{font-size:12px;color:#888}.order-primary-action,.order-track-action{width:100%;padding:13px;border-radius:10px;background:#ff8000;color:#211b0b;font-weight:700;font-size:15px;margin-top:14px}.order-track-action{background:#222;color:white}.order-contact{font-size:14px;color:#777;margin:12px 0 0}.order-tracking-map{height:380px;border-radius:14px;isolation:isolate;z-index:0;touch-action:none;overflow:hidden}.order-track-selectors{display:flex;gap:8px;overflow:auto}.customer-orders{display:block!important;padding:0 14px!important}.customer-orders>.professional-order-card{width:100%;box-sizing:border-box}
.vendor-order-tabs{display:flex;gap:6px;margin:14px 0}.vendor-order-tabs button{flex:1;padding:11px 6px;border-radius:10px;background:#f3f3f3;color:#777;font-size:13px;font-weight:700}.vendor-order-tabs button.active{background:#ff8000;color:#211b0b}.vendor-order-request{border:1px solid #e7e7e7;border-radius:16px;background:white;padding:16px;margin:14px 0}.vendor-order-badge{font-size:12px;color:#805c00;background:#fff4c8;padding:6px 8px;border-radius:7px;max-width:52%;text-align:right}.vendor-request-preview{display:flex;gap:8px;margin:16px 0}.vendor-request-preview img{width:64px;height:76px;border-radius:9px;object-fit:cover}.vendor-order-request h3{margin:0 0 6px;font-size:17px}.vendor-request-copy{margin:0;color:#777;font-size:14px}.vendor-request-total{font-weight:650;font-size:15px;margin:12px 0}.vendor-request-meta{display:flex;justify-content:space-between;gap:12px;color:#888;font-size:12px}.vendor-view-order{width:100%;background:#ff8000;color:#211b0b;border-radius:10px;padding:13px;font-weight:750;font-size:15px;margin-top:16px}.vendor-detail-section{border:1px solid #eee;background:#fff;border-radius:14px;padding:16px;margin-bottom:14px}.vendor-detail-section h3{font-size:18px;margin:0 0 16px}.vendor-detail-section small{font-size:12px;color:#888}.vendor-detail-heading{margin-top:10px!important}.vendor-detail-section p{font-size:14px;color:#777;line-height:1.5}.vendor-detail-section a{display:block;color:#715200;font-size:15px;margin-top:12px}.vendor-detail-product{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #eee}.vendor-detail-product:last-child{border-bottom:0}.vendor-detail-product img{width:84px;height:108px;object-fit:cover;border-radius:10px;flex-shrink:0}.vendor-detail-product strong{font-size:15px;line-height:1.4}.vendor-detail-product p{font-size:14px;margin:6px 0}.vendor-detail-total{display:flex;justify-content:space-between;font-size:17px}.vendor-order-actions{padding-bottom:110px}.vendor-order-actions button{width:100%;padding:14px;border-radius:12px;margin-bottom:10px;font-size:15px;font-weight:700}.vendor-accept-order{background:#ff8000;color:#211b0b}.vendor-decline-order{background:#fff0f0;color:#b92d2d;border:1px solid #f4cece}.vendor-back-orders{background:#f4f4f4;color:#555}.vendor-unavailable-text{color:#b92d2d!important}#accountInfoView:has(.vendor-detail-section) #accountInfoContent{background:#fafafa}.inbox-orders-view{padding-bottom:130px!important}body:has(#accountInfoView:not(.hidden) .vendor-detail-section) #floatingCart{display:none!important}
.rider-professional{padding-bottom:100px!important}.rider-work-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 24px}.rider-work-header small{font-size:12px;letter-spacing:1px;color:#999}.rider-work-header h2{font-size:24px;margin:6px 0}.rider-online{padding:12px 18px;border-radius:30px;background:#f1f1f1;color:#777;font-weight:700}.rider-online.active{background:#ff8000;color:#211b0b}.rider-work-tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:22px}.rider-work-tabs button{flex:1;padding:12px 10px;border-radius:10px;background:#f5f5f5;font-size:13px;color:#777;white-space:nowrap}.rider-work-tabs button.active{background:#222;color:white}.rider-empty{padding:45px 20px;text-align:center;border:1px dashed #ddd;border-radius:16px;color:#888;font-size:15px;line-height:1.6}.rider-job-card{position:relative;padding:18px;border:1px solid #eee;border-radius:16px;margin:14px 0}.rider-job-card>img{width:68px;height:84px;border-radius:10px;object-fit:cover;float:left;margin:0 14px 12px 0}.rider-job-card h3{font-size:18px;margin:10px 0}.rider-job-card p{font-size:14px;color:#777}.rider-job-card small{display:block;color:#888;font-size:12px}.rider-job-card:after{content:'';display:block;clear:both}.rider-job-tag{display:block;color:#946b00;font-size:12px;font-weight:700}.rider-current-stop{border:1px solid #eee;border-radius:16px;padding:16px}.rider-current-stop>small{font-size:12px;color:#999;letter-spacing:1px}.rider-current-stop h3{font-size:21px;margin:8px 0 16px}.rider-active-map{height:300px;border-radius:12px;overflow:hidden;isolation:isolate;z-index:0;touch-action:none}.rider-route-status{font-size:16px;font-weight:650;margin:14px 0}.rider-arrival-action{width:100%;padding:13px;border-radius:10px;background:#fff4cb;color:#705100;margin-top:12px;font-weight:700;font-size:15px}.rider-current-stop>a{display:block;margin:16px 0;color:#715200;font-size:15px}.rider-items-details,.rider-route-steps{margin-top:18px;font-size:14px;color:#555}.rider-items-details>img{width:76px;height:94px;object-fit:cover;border-radius:9px;display:block;margin:12px 0}.rider-next-stop{padding:16px;background:#f6f6f6;border-radius:12px;font-size:14px;margin-top:14px}.rider-delivery-code{width:100%;padding:14px;border:1px solid #ddd;border-radius:10px;font-size:18px;margin-top:14px}.rider-incoming-overlay{position:fixed;inset:0;z-index:3000;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px;overflow:auto;box-sizing:border-box;text-align:center}.rider-incoming-overlay>small{font-size:13px;color:#888;margin:10px 0}.rider-incoming-overlay>img{width:100px;height:120px;object-fit:cover;border-radius:16px;margin:18px 0}.rider-incoming-overlay h2{font-size:25px;margin:8px 0}.rider-incoming-overlay p{font-size:16px;color:#666;margin:8px 0}.rider-offer-countdown{display:block;font-size:15px;margin:18px 0;color:#8f6700}.rider-offer-accept,.rider-offer-reject{width:min(100%,420px);padding:16px;border-radius:12px;font-size:17px;font-weight:700;margin:8px 0}.rider-offer-accept{background:#ff8000;color:#211b0b}.rider-offer-reject{background:#fff0f0;color:#b32d2d}.rider-work-settings button{margin:12px 0}.rider-logout{width:100%;padding:14px;background:#fff0f0;color:#b32d2d;border-radius:12px;margin-top:24px}.customer-delivery-code{margin:14px 0;padding:14px;border:1px dashed #efcb5e;background:#fff9e6;border-radius:12px}.customer-delivery-code small{display:block;font-size:12px;color:#836600;line-height:1.5}.customer-delivery-code strong{display:block;font-size:24px;letter-spacing:5px;color:#222;margin-top:8px}

#riderBack[hidden],#riderMobileMenuButton[hidden]{display:none!important}.rider-mobile-menu-button{font-size:26px;color:#151515!important}.rider-menu-overlay{position:fixed;inset:0;background:#0006;z-index:3200;display:flex;justify-content:flex-end}.rider-menu-panel{width:min(85vw,360px);height:100%;overflow:auto;background:#fff;padding:24px;box-shadow:-8px 0 32px #0002;display:flex;flex-direction:column;gap:12px}.rider-menu-heading{display:flex;align-items:center;justify-content:space-between}.rider-menu-heading h2{margin:0}.rider-menu-panel button{padding:16px;border:0;border-radius:14px;background:#f5f5f5;text-align:left;font-weight:700;color:#161616}.rider-menu-panel .rider-menu-close{font-size:26px;padding:8px 16px}.rider-menu-panel .rider-menu-logout{background:#fff0f0;color:#b7322b;margin-top:auto}.rider-account-edit{margin:20px 0 28px}.rider-menu-panel button:focus-visible{outline:3px solid #ff8000;outline-offset:2px}

#riderView .account-page-head:has(#riderMobileMenuButton:not([hidden])){display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;min-height:72px}#riderView .account-page-head:has(#riderMobileMenuButton:not([hidden])) h2{flex:1;min-width:0;white-space:nowrap;text-align:left;margin:0;font-size:20px;line-height:1.3}#riderMobileMenuButton{flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;margin:0;border-radius:12px;background:#fff6d2;color:#151515;font-size:24px}

#customerOrderHistoryEntry[hidden]{display:none!important}.customer-history-card{border:1px solid #e5e5e5;border-radius:20px;padding:20px;margin:16px 0;background:#fff}.customer-history-images{display:flex;gap:8px;margin:12px 0}.customer-history-images img{width:76px;height:92px;object-fit:cover;border-radius:12px}.customer-history-card p{margin:8px 0;color:#727272}.customer-history-card .order-primary-action{width:100%;margin-top:16px;background:#ff8000;color:#171717;border-radius:14px;padding:14px;font-weight:700}.customer-history-contact{padding:20px;background:#fff9df;border-radius:18px;margin:16px 0}

.customer-history-single{display:flex;align-items:center;gap:16px;margin:14px 0 18px}.customer-history-single .customer-history-images{margin:0;flex:none}.customer-history-product-copy{flex:1;min-width:0;line-height:1.4;overflow-wrap:anywhere}.customer-history-product-copy strong{display:block}.customer-history-product-copy small{display:block;color:#727272;margin-top:4px}.customer-history-product-copy p{margin:6px 0}

.history-order-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.history-order-actions button{padding:14px 10px;border-radius:14px;font-weight:700;min-width:0}.history-order-actions .order-primary-action{background:#ff8000;color:#171717;margin:0}.history-secondary-action{background:#f3f3f3;color:#171717}.history-rating-panel{padding:20px;border:1px solid #eee;border-radius:20px}.history-rating-stars{display:flex;gap:6px;margin:20px 0}.history-rating-stars button{flex:1;min-width:0;font-size:36px;background:transparent;color:#ccc;padding:8px 0}.history-rating-stars button.selected{color:#e7b400}

.history-order-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.history-order-actions button{font-size:13px;line-height:1.25;padding:10px 6px;min-height:44px;border-radius:11px;overflow-wrap:anywhere}.history-order-actions button:nth-child(n+4){grid-column:1/-1}

.history-card-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.customer-history-card .history-card-buttons button{width:auto;margin:0;min-height:44px;padding:10px;font-size:14px;border-radius:12px;font-weight:700}.history-more-overlay{position:fixed;inset:0;background:#0006;z-index:3100;display:flex;align-items:flex-end;justify-content:center}.history-more-panel{width:min(100%,500px);max-height:85svh;overflow:auto;background:white;border-radius:24px 24px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));display:grid;gap:10px}.history-more-panel h3{margin:0}.history-more-panel button{padding:12px;border-radius:12px;min-height:44px;font-size:14px;font-weight:700}.history-more-panel .order-primary-action{background:#ff8000;color:#171717;margin:0}.history-report-action{background:#fff0ee;color:#b7322b}

.history-order-actions[hidden]{display:none!important}

#loginAccountEntry[hidden]{display:none!important}

.shopril-system-alert.system-alert-simple{background:#fff;color:#171717;border-radius:20px;padding:24px}.shopril-system-alert.system-alert-simple h2{color:#171717;font-size:22px;margin:0 0 12px}.shopril-system-alert.system-alert-simple p{color:#737373;font-size:15px}.shopril-system-alert.system-alert-simple .system-alert-cancel{background:#f2f2f2;color:#222}.shopril-system-alert.system-alert-simple .system-alert-delete{background:#ff8000;color:#171717}.shopril-system-alert.system-alert-simple .system-alert-actions button{border-radius:12px;padding:12px;font-size:14px}.shopril-system-alert.system-alert-simple::backdrop{background:#0006;backdrop-filter:none}

.vendor-history-compact .vendor-history-product{display:flex;align-items:center;gap:14px;margin:16px 0}.vendor-history-compact .vendor-request-preview{margin:0;flex:none;max-width:90px;flex-wrap:wrap;gap:4px}.vendor-history-compact .vendor-request-preview img{width:72px;height:88px;border-radius:12px;object-fit:cover}.vendor-history-copy{flex:1;min-width:0;overflow-wrap:anywhere}.vendor-history-copy h3{font-size:16px;margin:0 0 6px}.vendor-history-copy p{font-size:14px;margin:5px 0}.vendor-history-copy small{display:block;color:#737373;font-size:12px}.vendor-history-compact .vendor-view-order{width:auto;min-width:120px;min-height:44px;padding:10px 18px;font-size:14px;border-radius:12px;margin-top:14px}.vendor-history-compact .vendor-request-meta{flex-wrap:wrap;gap:6px}

.explore-basket-button{display:none}#exploreGrid .video-view-count,#exploreGrid .explore-play{display:none!important}#exploreGrid .product-rating-count{left:auto!important;right:8px!important;transform:none!important;bottom:8px!important}#exploreGrid .explore-video-card{position:relative;padding-bottom:48px}#exploreGrid .explore-basket-button{display:flex;align-items:center;justify-content:center;position:absolute;bottom:8px;right:10px;width:36px;height:36px;border-radius:11px;background:#ff8000;color:#171717;padding:8px}#exploreGrid .explore-basket-button svg{width:22px;height:22px}.explore-added-modal .sheet{padding:20px;border-radius:24px 24px 0 0}.explore-added-modal .sheet>button{width:100%;padding:12px;border-radius:12px;margin-top:10px;font-weight:700;font-size:14px}.explore-cart-primary{background:#ff8000;color:#171717}.explore-cart-secondary{background:#f3f3f3;color:#171717}

#variantModal .variant-sheet{height:auto;max-height:85svh}#variantContent{flex:0 1 auto}.variant-scroll-content{flex:0 1 auto}#variantModal .variant-option{margin:10px 0}#variantModal .variant-option legend{font-size:13px;margin-bottom:6px}#variantModal .variant-choice-row{gap:6px;padding:2px 0 5px}#variantModal .variant-choice{font-size:13px;padding:7px 10px;min-width:36px;min-height:36px;border-radius:9px}#variantModal .variant-scroll-content>.product-details-disclosure{margin:8px 0 12px}#variantModal .variant-fixed-footer{margin-top:10px}#variantModal .variant-product{margin-bottom:8px}

.explore-added-actions{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:8px;margin-top:16px}.explore-added-actions button{width:100%;min-width:0;min-height:44px;padding:9px 5px;border-radius:11px;font-size:12px;line-height:1.25;font-weight:700}body:has(#exploreAddedModal.open) #floatingCart{visibility:hidden}

#exploreGrid .explore-video-card{padding-bottom:0}#exploreGrid .product-rating-count{left:8px!important;right:auto!important;bottom:38px!important;cursor:pointer}#exploreGrid .explore-image-cart{position:absolute;top:0;left:0;width:100%;aspect-ratio:3/4;pointer-events:none;z-index:4}#exploreGrid .explore-image-cart .explore-basket-button{pointer-events:auto;bottom:8px;right:8px;width:36px;height:36px;margin:0}.explore-image-cart{display:contents}#exploreGrid .explore-image-cart{display:block}

#exploreAddedModal .sheet{background:#fff}#exploreAddedModal .sheet-head .close,#exploreAddedModal .sheet-head button{background:#f2f2f2;color:#222}#exploreAddedModal .explore-added-actions button:first-child{background:#fff;border:1px solid #d8d8d8;color:#222}#exploreAddedModal .explore-added-actions button:nth-child(2){background:#f0f0f0;border:1px solid #f0f0f0;color:#222}#exploreAddedModal .explore-added-actions button:last-child{background:#ff8000;border:1px solid #ff8000;color:#171717}

/* Compact cart product image alongside the product and shop names. */
.checkout-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;column-gap:10px;row-gap:4px;padding-right:0;align-items:start}
.checkout-item>.checkout-thumbnail{grid-column:1;grid-row:1 / 3;width:48px;height:48px;object-fit:cover;border-radius:8px;background:#f4f4f4}
.checkout-item>strong{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
.checkout-item>small{grid-column:2;grid-row:2;min-width:0;overflow-wrap:anywhere}
.checkout-item>b{position:static;grid-column:3;grid-row:1 / 3;white-space:nowrap;align-self:start}
.checkout-item>.cart-variant-summary{grid-column:2 / -1;min-width:0;overflow-wrap:anywhere}
.checkout-item>.checkout-quantity{grid-column:1 / -1;margin-right:0}
#exploreGrid.category-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));columns:auto;gap:8px;padding:8px}
#exploreGrid.category-three-grid>.explore-video-card{display:block;width:100%;margin:0;min-width:0;break-inside:auto}
#exploreGrid.category-three-grid .shop-video-likes,#exploreGrid.category-three-grid .explore-card-meta{display:none!important}
#exploreGrid.category-three-grid .explore-card-title{font-size:14px!important;line-height:1.35;padding:8px!important;min-height:0;height:2.7em;box-sizing:content-box}
#exploreGrid.category-three-grid .explore-card-price{font-size:12px!important;padding:5px 7px!important;top:6px;right:6px}
#exploreGrid.category-three-grid .product-rating-count{bottom:8px!important;left:5px!important;font-size:11px;padding:4px}
#exploreGrid.category-three-grid .explore-image-cart .explore-basket-button{width:30px;height:30px;right:5px;bottom:5px;padding:5px;border-radius:9px}
.category-product-modal{align-items:center!important;padding:12px;background:#0009}
.category-product-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:14px;width:min(900px,100%);max-height:85dvh;overflow:auto;border-radius:20px!important;padding:16px!important;background:#fff}
.category-product-video{width:100%;height:100%;max-height:72dvh;min-height:220px;object-fit:contain;background:#101010;border-radius:12px}
.category-product-copy{min-width:0;padding-top:26px;color:#222;display:flex;flex-direction:column;gap:12px}
.category-product-copy h2{font-size:18px;line-height:1.3;margin:0;overflow-wrap:anywhere}.category-product-copy small{font-size:14px}.category-product-copy p{margin:0;font-size:14px}.category-product-price{color:#d66b00;font-size:18px}.category-product-rating{color:#826100}.category-product-close{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;background:#f2f2f2;color:#222;font-size:24px}.category-product-copy label{font-size:14px;display:grid;gap:6px}.category-product-copy select{width:100%;padding:8px;border:1px solid #ddd;border-radius:8px;font:inherit}.category-product-quantity{display:flex;align-items:center;gap:12px}.category-product-quantity button{width:32px;height:32px;border-radius:8px;font-size:20px}.category-product-add{background:#ff8000;color:#171717;border-radius:10px;padding:12px;font-weight:700;font-size:14px}.category-product-add:disabled{opacity:.5}.category-product-total{font-size:16px}.category-product-copy details{font-size:14px;overflow-wrap:anywhere}
/* Preview first; purchase choices live in their own panel. */
.category-product-panel{max-width:760px;align-items:start;gap:16px;max-height:78dvh}
.category-product-video{height:auto;min-height:0;aspect-ratio:9/16;max-height:58dvh;align-self:start}
.category-product-copy{gap:10px;padding-top:24px;justify-content:flex-start}
.category-product-copy h2{font-size:16px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.category-product-copy small{font-size:14px;line-height:1.4}.category-product-copy .category-product-rating{font-size:13px}.category-product-copy .product-details-disclosure{margin:0;padding:8px;font-size:14px}.category-product-copy .category-product-add{margin-top:4px;width:100%;min-height:44px;flex-shrink:0}
.category-product-video::-webkit-media-controls{display:none!important}.category-product-video{cursor:pointer}
.category-details-button{background:#fff;border:1px solid #ddd;border-radius:10px;padding:12px 8px;text-align:left;color:#202c3b;font-size:14px;font-weight:700}
.category-details-modal{z-index:3500;align-items:center!important;padding:16px;background:#0009}.category-details-modal>.sheet{background:#fff!important;color:#222;width:min(540px,100%);max-height:75dvh;overflow:auto;border-radius:20px!important;padding:20px}.category-details-modal h3{font-size:16px;line-height:1.4}.category-details-modal .product-details-body{padding:0}.category-details-modal .sheet-head{position:sticky;top:-20px;background:#fff;padding:10px 0;z-index:1}
.compact-category-options .compact-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 12px;align-items:start}
.compact-category-options .variant-option{min-width:0;margin:0;padding:0}
.compact-category-options .variant-option legend{font-size:14px;margin-bottom:8px}
.compact-category-options .variant-choice-row{display:flex;flex-wrap:wrap;gap:6px}
.compact-category-options .variant-choice{margin:0;padding:8px 10px;font-size:14px;min-height:36px;max-width:100%;overflow-wrap:anywhere}
.compact-category-options .variant-product{margin-bottom:8px}.compact-category-options .variant-fixed-footer{padding-top:12px}.compact-category-options .variant-sheet{max-height:75dvh}
.compact-category-options .variant-choice-row[hidden]{display:none!important}.compact-option-trigger{width:100%;min-height:38px;padding:8px 10px;border:1px solid #ddd;border-radius:9px;background:#f5f5f5;color:#222;font-size:14px;text-align:left;overflow-wrap:anywhere}.compact-option-trigger.selected{border-color:#ff8000;background:#fff2e5;color:#913f00}.compact-option-picker{z-index:3600;align-items:center!important;padding:18px;background:#0009}.compact-option-picker>.sheet{width:min(440px,100%);max-height:70dvh;overflow:auto;background:#fff!important;color:#222;border-radius:20px!important;padding:20px}.compact-picker-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.compact-picker-choices .variant-choice{margin:0;min-height:40px}
.purchase-dock{display:flex;gap:8px;justify-content:flex-start}
.purchase-dock .view-product-button{flex:1 1 0;width:auto;min-width:0;padding:0 8px;font-size:15px;white-space:nowrap}
.purchase-dock .feed-product-info{background:#fff;color:#202c3b}
.purchase-dock .purchase{flex:0 1 auto;width:auto;min-width:0;padding:0 12px;gap:10px}
.purchase-dock .buy-price{font-size:15px}
@media(max-width:360px){.purchase-dock .view-product-button{padding:0 6px;font-size:14px}.purchase-dock .purchase{padding:0 10px;gap:8px}.purchase-dock .buy-price{font-size:14px}}
/* Compact, balanced full-video purchase controls. */
.purchase-dock{gap:7px;align-items:center}
.purchase-dock .view-product-button,.purchase-dock .purchase{height:40px;font-size:14px;border-radius:999px}
.purchase-dock .view-product-button{padding:0 8px;line-height:1.2}
.purchase-dock .purchase{padding:4px 5px 4px 10px;gap:8px;flex-shrink:0}
.purchase-dock .buy-price{font-size:14px;line-height:1;white-space:nowrap}
.purchase-dock .buy-label{width:30px;height:30px;min-width:30px;flex:0 0 30px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;line-height:0}
.purchase-dock .buy-label svg{width:18px;height:18px;margin:0}
@media(max-width:360px){.purchase-dock .view-product-button{font-size:13px;padding:0 6px}.purchase-dock .purchase{padding:4px 5px 4px 8px;gap:6px}.purchase-dock .buy-price{font-size:13px}}
.purchase-dock.vendor-own-video>.feed-product-info{display:none!important}
#attachComment,#emojiComment,#mentionComment,#commentSort svg{display:none!important}#commentSort{pointer-events:none}.composer-pill #commentText{flex:1;min-width:0}#commentForm .composer-send{width:auto;min-width:54px;height:36px;padding:0 10px;border-radius:12px;font-size:14px}.comment-delete-own{background:transparent;color:#b83232;padding:6px;font-size:14px}.comment-content{overflow-wrap:anywhere}
#commentsModal .comment-search-row{display:none}#commentsModal .comments-title-row{margin:8px 0 18px}#commentsModal .comment{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;margin:0 0 20px;width:100%}#commentsModal .comment-user-avatar{width:38px;height:38px;object-fit:cover;border-radius:50%;background:#806b64;color:#fff;display:grid;place-items:center;font-size:20px}#commentsModal .comment-content{width:100%;min-width:0;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#commentsModal .comment-content>b{font-size:14px;font-weight:600;line-height:1.35;margin:0 0 3px;white-space:normal;overflow-wrap:anywhere}#commentsModal .comment-content>p{font-size:16px;line-height:1.4;margin:0 0 8px}#commentsModal .comment-meta{min-height:0;display:flex;gap:12px}#commentsModal .comment-meta small{font-size:13px;color:#999;white-space:nowrap}#commentsModal .comment-delete-own[hidden]{display:none!important}.comment-actions-modal{z-index:3800;align-items:center!important;padding:24px;background:#0008}.comment-actions-modal>.sheet{max-width:360px;border-radius:18px!important;background:#fff!important;padding:12px}.comment-actions-modal button{display:block;width:100%;min-height:46px;background:#fff;font-size:16px;border-radius:10px}.comment-action-delete{color:#c73535}.comment-action-cancel{color:#555}
#commentsModal .comment-list{display:flex;flex-direction:column;gap:16px;justify-content:flex-start;align-content:flex-start;padding:0 0 12px}
#commentsModal .comment{margin:0!important;padding:0!important;flex:none}
#commentsModal .comment-content>p{margin:0 0 4px!important;line-height:1.35;font-size:16px}
#commentsModal .comment-content>b{margin:0 0 2px!important;font-size:14px;font-weight:500}
#commentsModal .comment-meta{margin:0!important;padding:0!important;min-height:24px;gap:12px;justify-content:flex-start;align-items:center;flex-wrap:nowrap}
#commentsModal .comment-meta button{background:none;padding:2px 0;font-size:13px;color:#999;font-weight:500}
#commentsModal .saved-comment-like{margin-left:auto;white-space:nowrap;font-size:18px!important;min-width:38px}
#commentsModal .saved-comment-like.liked{color:#eb4166!important}
#commentsModal .saved-view-replies{background:none;color:#888;font-size:13px;padding:6px 0;margin:0}
#commentsModal .saved-comment-replies{display:flex;flex-direction:column;gap:12px;padding-top:6px}
#commentsModal .saved-comment-replies[hidden]{display:none!important}
#commentsModal .saved-comment-reply{grid-template-columns:28px minmax(0,1fr);gap:8px}
#commentsModal .saved-comment-reply .comment-user-avatar{width:28px;height:28px;font-size:16px}
.comment-reply-banner{display:flex;justify-content:space-between;gap:10px;padding:6px 0;color:#777;font-size:13px}.comment-reply-banner button{background:none;color:#777;font-size:13px}
/* Override the older inline drawer spacing. */
#commentsModal #commentList{gap:10px!important;padding:0 0 10px!important}
#commentsModal #commentList .comment{margin:0!important;padding:0!important;gap:8px!important;align-items:start!important;grid-template-columns:34px minmax(0,1fr)!important}
#commentsModal #commentList .comment-user-avatar{width:34px!important;height:34px!important;font-size:18px!important}
#commentsModal #commentList .comment-content{display:block!important;padding:0!important;margin:0!important}
#commentsModal #commentList .comment-content>b{font-size:14px!important;line-height:1.2!important;margin:0 0 2px!important}
#commentsModal #commentList .comment-content>p{font-size:15px!important;line-height:1.3!important;margin:0 0 2px!important;padding:0!important}
#commentsModal #commentList .comment-meta{min-height:20px!important;margin:0!important;padding:0!important;gap:10px!important;line-height:1!important}
#commentsModal #commentList .comment-meta button{min-height:20px!important;padding:0!important;font-size:13px!important}
#commentsModal #commentList .comment-meta small{font-size:12px!important}
#commentsModal #commentList .saved-comment-like{font-size:16px!important}
#commentsModal .comments-title-row{margin:4px 0 12px!important}
#commentsModal #commentList .saved-comment-replies{gap:8px!important;padding-top:4px!important}
#commentsModal #commentList .saved-comment-reply{grid-template-columns:26px minmax(0,1fr)!important}
#commentsModal #commentList .saved-comment-reply .comment-user-avatar{width:26px!important;height:26px!important}
#commentsModal .comment-respect-notice{margin:4px 0 6px!important;padding:7px 10px;border-radius:8px;background:rgba(22,61,43,.06);color:#62736a;font-size:13px;line-height:1.4;text-align:center;font-weight:400;pointer-events:none}#commentsModal .comment-respect-notice[hidden]{display:none!important}
#exploreView .explore-categories{touch-action:pan-x}#exploreGrid,#exploreEmpty{touch-action:pan-y}
/* Image-only adverts inherit product widths and track adjacent card heights. */
#exploreView .shopril-ad-banner{margin:0 -4px 12px;padding:0;background:#202c3b;overflow:hidden;aspect-ratio:3/1}
#exploreView .shopril-ad-banner[hidden]{display:none!important}
.shopril-ad-banner img{display:block;width:100%;height:100%;object-fit:cover}
#exploreGrid>.shopril-ad-card{position:relative;width:100%;box-sizing:border-box;border:1px solid #e2e5e2;border-radius:12px;overflow:hidden;break-inside:avoid;margin:0 0 12px;padding:0;background:#202c3b;min-height:0;aspect-ratio:auto}
#exploreGrid.category-three-grid>.shopril-ad-card{margin:0;align-self:start}
.shopril-ad-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#exploreGrid.category-three-grid{grid-auto-rows:auto}

#commentsModal .comments-loading-animation{display:flex;justify-content:center;align-items:center;min-height:90px;width:100%;padding:16px 0}#commentsModal .comments-loading-animation img{width:64px;height:64px;object-fit:contain;filter:url(#shopril-bold-loading-dots)}

#commentsModal #commentList:has(>.comments-loading-animation){position:relative;display:flex!important;align-items:stretch!important;justify-content:center!important}
#commentsModal #commentList>.comments-loading-animation{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0;min-height:0}
.shopril-smooth-dots{position:relative;display:block;width:48px;height:48px}.shopril-smooth-dots i{position:absolute;left:16px;top:4px;width:16px;height:16px;border-radius:50%;background:#ff8000;animation:shoprilDotOrbit 1.1s ease-in-out infinite}.shopril-smooth-dots i+i{top:28px;background:#202c3b;animation-delay:-.55s}
@keyframes shoprilDotOrbit{0%,100%{transform:translateX(0) scale(1)}25%{transform:translateX(10px) scale(.85)}50%{transform:translateY(12px) scale(1)}75%{transform:translateX(-10px) scale(.85)}}
@media(prefers-reduced-motion:reduce){.shopril-smooth-dots i{animation:none}}
/* Strong contrast for prices across product listing cards. */
.explore-video-card .explore-card-price{color:#000!important;background:#fff!important}

/* ShopRil identity: charcoal, orange, and light surfaces. */
:root{--green:#202c3b;--orange:#ff8000;--yellow:#ff8000}
#exploreGrid .explore-card-price,.explore-video-card .explore-card-price{color:#202c3b!important;background:#fff!important}
#exploreGrid .explore-basket-button{background:#ff8000!important;color:#202c3b!important}
.shopril-smooth-dots i+i{background:#202c3b}
/* Restore the familiar card reactions and shopping controls. */
#exploreGrid .explore-basket-button{background:#ffd232!important;color:#171717!important}
.explore-open-video .shop-video-likes,.explore-open-video .video-view-count{background:#0008!important;color:#fff!important}
.explore-open-video .shop-video-likes.is-liked{color:#ff5571!important}
.product-rating-count{color:#ffcf32!important}
.feed-product-info,.view-product-button,.owner-video-edit{color:#173d2b!important}
/* Price badges match the supplied warm cream colour. */
#exploreGrid .explore-card-price,.explore-video-card .explore-card-price{background:#fdfaf3!important;color:#000!important}
#exploreGrid .explore-card-price,.explore-video-card .explore-card-price{background:#fd8604!important;color:#000!important}
#exploreGrid .explore-card-price,.explore-video-card .explore-card-price{color:#fff!important}
.explore-open-video .product-discount-pill{position:absolute;bottom:8px;right:52px;z-index:5;border-radius:8px;padding:5px 7px;background:#202c3b;color:#fff;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap;pointer-events:none}
#exploreGrid.category-three-grid .product-discount-pill{right:39px;bottom:8px;padding:4px;font-size:10px}
#portalContent .product-discount-pill,#accountInfoContent .product-discount-pill{bottom:28px;right:5px;font-size:10px}
.explore-open-video .product-discount-pill{background:none!important;border:0;border-radius:0;padding:3px!important;color:#d71920!important;font-weight:900;text-shadow:1px 0 #fff,-1px 0 #fff,0 1px #fff,0 -1px #fff}
/* Crisp discount type, positioned consistently in the top-left corner. */
.explore-open-video .product-discount-pill,#exploreGrid.category-three-grid .product-discount-pill,#portalContent .product-discount-pill,#accountInfoContent .product-discount-pill{top:8px!important;left:8px!important;right:auto!important;bottom:auto!important;padding:0!important;background:none!important;text-shadow:none!important;font-size:14px!important;line-height:1.3;font-weight:800;color:#d71920!important;letter-spacing:0}

.topbar .homepage-brand-logo{width:112px;height:38px;flex:none;overflow:hidden;border-radius:7px;background:#fdfaf3;line-height:0}.homepage-brand-logo img{display:block;width:112px;height:38px;object-fit:cover;object-position:50% 48%}
.topbar .homepage-brand-logo,.homepage-brand-logo img{width:96px;height:33px}
.purchase-dock .feed-product-info{color:#202c3b!important}
/* Identical controls in the active scene and the ID-free swipe previews. */
.purchase-dock .view-product-button,.purchase-dock .purchase{flex:1 1 0!important;width:auto!important;height:40px!important;min-width:0;font-size:14px!important;box-sizing:border-box;white-space:nowrap;padding:0 8px!important}
.purchase-dock .purchase{min-width:max-content!important;gap:7px!important}
.purchase-dock .feed-product-info{background:#fff!important;color:#202c3b!important}
.purchase-dock .buy-price{font-size:14px!important}.purchase-dock .buy-label{width:30px!important;height:30px!important;flex:0 0 30px!important}
.purchase-dock .feed-product-info{background:#fdfaf3!important;color:#202c3b!important;border:1px solid #fdfaf3!important}
.purchase-dock .view-product-button.feed-customer-follow{background:#202c3b!important;color:#fff!important;border:1px solid #ff8000!important}
.purchase-dock .view-product-button.feed-customer-follow[aria-pressed="true"]{background:#202c3b!important;color:#fff!important;border:1px solid #e02b35!important}
.purchase-dock .feed-product-info{background:#fff!important;color:#202c3b!important;border:1px solid #fff!important}
/* Stable text contrast with gently adaptive lower shading. */
.feed-scene:before{opacity:var(--text-shade,.85);transition:opacity .8s ease}
.feed-scene .details{ -webkit-text-stroke:.3px rgba(0,0,0,.65);paint-order:stroke fill;text-shadow:0 1px 2px #000,0 0 5px #0008}
.feed-scene .details .expand-desc{text-decoration:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;-webkit-text-stroke:0}
#accountInfoContent .shop-product-card .video-view-count{display:none!important}
#accountInfoContent .shop-product-card .explore-image-cart{display:block;position:absolute;top:0;left:0;width:100%;aspect-ratio:3/4;pointer-events:none;z-index:4}
#accountInfoContent .shop-product-card .explore-basket-button{display:flex;align-items:center;justify-content:center;position:absolute;bottom:8px;right:8px;width:36px;height:36px;padding:8px;border-radius:11px;background:#ffd232!important;color:#171717!important;pointer-events:auto}
#accountInfoContent .shop-product-card .explore-basket-button svg{width:22px;height:22px}
.shopril-smooth-dots{width:64px;height:64px;flex:none}
.shopril-smooth-dots i{left:22px;top:5px;width:20px;height:20px;background:#ff8000}
.shopril-smooth-dots i+i{top:37px;background:#202c3b}
.video-loading>.shopril-smooth-dots,.explore-buffering>.shopril-smooth-dots{margin:auto}
.refresh-indicator>.shopril-smooth-dots{margin:0 6px}
.refresh-indicator>.shopril-smooth-dots{width:40px;height:24px;margin:0 7px}
.refresh-indicator .shopril-smooth-dots i{left:2px;top:6px;width:12px;height:12px;animation:shoprilRefreshJoin 1s ease-in-out infinite;animation-delay:0s}
.refresh-indicator .shopril-smooth-dots i+i{left:26px;top:6px;animation-name:shoprilRefreshJoinReverse;animation-delay:0s}
@keyframes shoprilRefreshJoin{0%,100%{transform:translateX(0)}50%{transform:translateX(12px)}}
@keyframes shoprilRefreshJoinReverse{0%,100%{transform:translateX(0)}50%{transform:translateX(-12px)}}
@media(prefers-reduced-motion:reduce){.refresh-indicator .shopril-smooth-dots i{animation:none}}
.following-feed-empty{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:80px 30px;background:#202c3b;color:white}
.following-feed-empty h2{font-size:20px;margin:0 0 12px}.following-feed-empty p{font-size:15px;color:#eee;margin:0 0 20px}
.following-feed-empty button{padding:12px 24px;border-radius:999px;background:#ff8000;color:#202c3b;font-weight:750}
.following-feed-is-empty .video-sound-toggle{display:none!important}
.topbar .homepage-brand-logo{background:transparent;border-radius:0;overflow:visible}
.homepage-brand-logo img{object-fit:contain;object-position:center;filter:drop-shadow(0 1px 2px #0004)}
.topbar .homepage-brand-logo{mix-blend-mode:screen}
.homepage-brand-logo img{mix-blend-mode:screen;filter:none}
.topbar .homepage-brand-logo{mix-blend-mode:normal;background:transparent!important}
.homepage-brand-logo img{mix-blend-mode:normal;filter:url(#shopril-logo-clear)}
.homepage-brand-logo img{filter:none;mix-blend-mode:normal}
/* Fashion-only audience rail: quiet white surface, orange active underline. */
.explore-audience-filters{display:flex;flex-direction:column;gap:8px;padding:4px 10px 8px;margin:0 0 14px;flex:none;border-bottom:1px solid #eceef0}
.explore-audience-filters[hidden]{display:none!important}
.explore-audience-filters .audience-label{font-size:12px;line-height:1.4;letter-spacing:.12em;font-weight:750;color:#727b86}
.audience-track{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;touch-action:pan-x}
.audience-track::-webkit-scrollbar{display:none}
.explore-audience-filters .audience-filter{position:relative;flex:none;min-height:42px;padding:9px 14px 12px;border:0;border-radius:9px;background:transparent;color:#636c77;font-size:14px;font-weight:650;white-space:nowrap;transition:background .18s,color .18s}
.explore-audience-filters .audience-filter.selected{background:#fff3e5;color:#202c3b;font-weight:750}
.explore-audience-filters .audience-filter.selected:after{content:"";position:absolute;bottom:3px;left:30%;right:30%;height:3px;border-radius:3px;background:#ff8000}
.explore-audience-filters .audience-filter:focus-visible{outline:2px solid #ff8000;outline-offset:-2px}

/* One rounded orange rail for Fashion audiences. */
.explore-audience-filters{padding:0 10px;margin:2px 0 16px;border:0;gap:0}
.explore-audience-filters .audience-track{background:#ff8000;border-radius:999px;padding:5px;gap:2px;align-items:center}
.explore-audience-filters .audience-filter{min-height:40px;padding:9px 16px;border-radius:999px;color:#202c3b;font-weight:700}
.explore-audience-filters .audience-filter.selected{background:#fff;color:#202c3b;box-shadow:0 1px 4px #00000012}
.explore-audience-filters .audience-filter.selected:after{display:none}
.explore-audience-filters .audience-filter:focus-visible{outline-color:#202c3b}

.explore-audience-filters{margin:0 0 12px;padding:0 10px}
.audience-shell{display:flex;align-items:center;min-width:0;background:#ff8000;border-radius:999px;padding:3px;gap:0}
.explore-audience-filters .audience-track{flex:1;min-width:0;padding:0;gap:0;background:transparent;border-radius:999px}
.explore-audience-filters .audience-filter{min-height:34px;padding:6px 11px;font-size:14px;line-height:22px}
.explore-audience-filters .audience-filter.selected{background:#ffd232;box-shadow:none}
.audience-chevron{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:34px;border:0;border-radius:999px;background:transparent;color:#202c3b;padding:0;cursor:pointer}
.audience-chevron[hidden]{display:none!important}
.audience-chevron:hover{background:#ffffff30}.audience-chevron:focus-visible{outline:2px solid #202c3b;outline-offset:-2px}

/* Slim audience rail with dedicated end controls. */
.explore-audience-filters .audience-shell{display:flex;gap:5px;padding:0;background:transparent;border-radius:0}
.explore-audience-filters .audience-track{background:#ff8000;padding:3px;border-radius:999px}
.explore-audience-filters .audience-filter{min-height:28px;height:28px;padding:3px 10px;line-height:22px;font-size:14px}
.explore-audience-filters .audience-chevron{position:static!important;display:flex;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;padding:0!important;margin:0!important;background:#fff3e5;border:1px solid #ffd9ad;border-radius:50%;color:#202c3b;box-shadow:none}
.explore-audience-filters .audience-chevron[hidden]{display:none!important}
.explore-audience-filters .audience-chevron svg{width:16px;height:16px;flex:none}
.explore-audience-filters .audience-chevron:hover{background:#ffe2bd}

#profileView #settingsBtn{display:grid;place-items:center;align-self:flex-start;width:40px;height:40px;min-width:40px;flex:0 0 40px;padding:0!important;margin:2px 0 0 8px!important;background:#fff3e5!important;border:1px solid #ffe1bd;border-radius:12px;color:#202c3b!important;box-shadow:none;cursor:pointer}
#profileView #settingsBtn svg{width:22px;height:22px;fill:none;stroke:#202c3b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#profileView #settingsBtn:hover{background:#ffe6c8!important}
#profileView #settingsBtn:focus-visible{outline:2px solid #ff8000;outline-offset:3px}
.device.account-panel-open:after{content:"";position:absolute;inset:0;background:#202c3b55;z-index:6;pointer-events:none}
#accountMenuView{inset:auto 12px 78px;max-height:calc(100% - 105px);height:auto;border-radius:20px;overflow-y:auto;padding:0 0 12px;box-shadow:0 12px 45px #00000025}
#accountMenuView .account-page-head{padding:14px 14px 10px;border-bottom:1px solid #eee}
#accountMenuView .account-page-head h2{font-size:18px}
#accountMenuView .account-menu-links{padding:0 14px}
#accountMenuView .account-menu-links button{padding:13px 8px;font-size:15px;min-height:44px;border-radius:0;box-shadow:none;font-weight:500}
#accountMenuView #accountLogout{margin:12px 14px 0;padding:11px;font-size:15px;min-height:44px}
.device.account-panel-open:after{display:none}
.account-drawer-backdrop{display:none;position:absolute;inset:0;z-index:6;border:0;border-radius:0;padding:0;background:#00000060}
.device.account-panel-open .account-drawer-backdrop{display:block}
#accountMenuView{inset:0 0 0 auto;width:85%;max-width:390px;height:100%;max-height:100%;border-radius:0;padding:0 0 calc(20px + env(safe-area-inset-bottom));box-shadow:-8px 0 32px #00000015;animation:account-drawer-enter .22s ease-out}
#accountMenuView .account-page-head{padding:calc(18px + env(safe-area-inset-top)) 16px 18px}
#accountMenuView .account-menu-links{padding:12px 20px}
#accountMenuView .account-menu-links button{display:flex;align-items:center;gap:14px;min-height:60px;padding:16px 0;font-weight:600;color:#202c3b}
#accountMenuView .account-menu-links button svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#accountMenuView .account-menu-links button span{flex:1;text-align:left}
#accountMenuView .account-menu-links button .drawer-row-next{width:17px;height:17px;color:#8b9098}
#accountMenuView #accountLogout{margin:auto 20px 0}
@keyframes account-drawer-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){#accountMenuView{animation:none}}
#accountMenuView .drawer-group-label{margin:18px 0 4px;color:#858b94;font-size:14px;font-weight:600}
#accountMenuView{animation:none}

.account-slide-layer{position:absolute;inset:0;z-index:30;overflow:hidden;pointer-events:none}
.account-slide-strip{position:absolute;inset:0;will-change:transform}
.account-slide-frame{position:absolute;top:0;bottom:0;width:100%;overflow:hidden}
.account-slide-frame #accountInfoView{z-index:1}
.explore-audience-filters .audience-track{justify-content:center;overflow:hidden;gap:0}
.explore-audience-filters .audience-filter[hidden]{display:none!important}
.explore-audience-filters .audience-chevron:disabled{opacity:0;pointer-events:none}

.explore-audience-filters .audience-shell{width:100%;background:#ff8000;border-radius:999px;gap:0;padding:3px}
.explore-audience-filters .audience-track{justify-content:space-evenly;background:transparent;padding:0;border-radius:0}
.explore-audience-filters .audience-chevron:disabled{opacity:.25;visibility:visible}
.explore-audience-filters .audience-chevron{background:transparent;border:0}
#settingsBtn,#mainNav .nav-btn,#accountAlertsEntry{position:relative}
.account-alert-count{position:absolute;right:2px;top:0;background:#e52e41;color:white;border:2px solid white;border-radius:999px;min-width:18px;height:18px;padding:0 3px;display:grid;place-items:center;font-size:11px;font-weight:750;line-height:1}
#accountAlertsEntry .account-alert-count{top:20px;right:0}
.account-alert-row{display:flex;width:100%;gap:14px;text-align:left;padding:16px 12px;border:0;border-bottom:1px solid #eee;background:white;border-radius:12px;color:#202c3b}
.account-alert-row.unread{background:#fff3e5}.account-alert-row svg,#accountAlertsEntry svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-alert-row strong{font-size:15px}.account-alert-row p{margin:5px 0 0;font-size:14px;color:#69717b;overflow-wrap:anywhere}
/* 23.1 responsive layout: wider browsing, comfortable reading and portrait reels. */
@media(min-width:768px){
 #exploreView{padding-left:max(24px,calc((100vw - 1320px)/2));padding-right:max(24px,calc((100vw - 1320px)/2))}
 #exploreGrid,#exploreGrid.category-three-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 #exploreGrid:not(.category-three-grid){column-count:4;column-gap:16px}
 #exploreGrid.category-three-grid .explore-card-title{font-size:16px!important}
 #exploreGrid.category-three-grid .explore-card-price{font-size:15px!important;padding:7px 10px!important}
 #exploreGrid.category-three-grid .explore-image-cart .explore-basket-button{width:40px;height:40px}
 .shopril-ad-banner{max-height:320px;overflow:hidden;border-radius:16px;margin-bottom:20px}
 #profileView{padding-left:max(24px,calc((100vw - 1120px)/2));padding-right:max(24px,calc((100vw - 1120px)/2))}
 .account-grid.account-products,#accountInfoContent .account-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 .account-identity{padding-top:28px;padding-bottom:24px}.account-avatar{width:80px;height:80px;flex-basis:80px}.account-info h1{font-size:24px}
 #inboxView{padding-left:max(28px,calc((100vw - 850px)/2));padding-right:max(28px,calc((100vw - 850px)/2))}
 .account-info-content{max-width:900px;width:100%;padding:24px 32px}
 #feed .feed-scene{max-width:560px;left:0;right:0;margin:auto;background:#10120f}
 #feed .topbar{max-width:560px;left:0;right:0;margin:auto;padding-left:20px;padding-right:20px}
 #feed{background:#10120f}
 .bottom-nav{justify-content:center;gap:56px}.bottom-nav .nav-btn{min-width:90px}
 .modal .sheet:not(.comments-sheet):not(.account-setup-sheet){max-width:760px;margin-left:auto;margin-right:auto}
 #accountMenuView{width:390px;max-width:45vw}
 #commentsModal .comments-sheet{max-width:700px;margin-left:auto;margin-right:auto}
 .account-setup-sheet .account-setup-form{max-width:760px;margin:auto}
}
@media(min-width:1200px){
 #exploreGrid,#exploreGrid.category-three-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 #exploreGrid:not(.category-three-grid){column-count:5}
 .account-grid.account-products,#accountInfoContent .account-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(min-width:768px) and (max-height:650px){
 #feed .feed-scene,#feed .topbar{max-width:430px}
 #feed .actions{gap:8px}.bottom-nav{height:62px}
}
@media(min-width:1100px){
 .device.desktop-marketplace{--desktop-reel-width:clamp(380px,32vw,500px);background:white}
 .desktop-marketplace #feed,.desktop-marketplace #feed.hidden{display:block!important;left:0;right:auto;width:var(--desktop-reel-width);bottom:0}
 .desktop-marketplace #feed .feed-scene{width:100%;max-width:none;margin:0}
 .desktop-marketplace #feed .topbar{width:100%;max-width:none;padding:0 18px;left:0;right:0;gap:16px}
 .desktop-marketplace #videoSoundToggle{right:18px}
 .desktop-marketplace #exploreView,.desktop-marketplace #exploreView.hidden{display:block!important;position:absolute;left:var(--desktop-reel-width);right:0;top:0;bottom:0;width:auto;padding:20px 24px 30px;overflow-y:auto;border-left:1px solid #e5e7eb;background:white}
 .desktop-marketplace #exploreView .explore-header{position:sticky;top:-20px;z-index:5;background:white;padding:16px 0;margin-bottom:14px}
 .desktop-marketplace #mainNav{width:var(--desktop-reel-width);right:auto;left:0;gap:0;justify-content:space-around;background:#10120ff2}
 .desktop-marketplace #mainNav .nav-btn{min-width:0;flex:1;color:#aaa}
 .desktop-marketplace #mainNav .nav-btn.active{color:#ff8000}
 .desktop-marketplace #exploreGrid,.desktop-marketplace #exploreGrid.category-three-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:14px}
 .desktop-marketplace #exploreGrid:not(.category-three-grid){grid-template-columns:repeat(auto-fit,minmax(220px,1fr));column-count:auto;grid-auto-rows:1px;gap:0 14px}
 .desktop-marketplace .shopril-ad-banner{max-height:270px}
 .desktop-marketplace .explore-audience-filters{padding:0}
}
@media(min-width:1600px){.desktop-marketplace #exploreGrid.category-three-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1100px){
 .desktop-marketplace #feed .topbar{top:0;height:72px;align-items:center}
 .desktop-marketplace #exploreView{padding-top:0;bottom:62px;padding-bottom:24px}
 .desktop-marketplace #exploreView .explore-header{top:0;height:72px;min-height:72px;margin-bottom:14px;padding:0;display:flex;align-items:center}
 .desktop-marketplace #mainNav{height:62px;border-top:1px solid #ffffff21;z-index:5}
 .desktop-marketplace:after{content:"";position:absolute;left:var(--desktop-reel-width);right:0;bottom:0;height:62px;background:#10120f;border-top:1px solid #ffffff21;z-index:5;pointer-events:none}
 .desktop-marketplace #exploreGrid:not(.category-three-grid){grid-template-columns:repeat(5,minmax(0,1fr));column-count:auto;column-gap:12px}
 .desktop-marketplace #exploreGrid:not(.category-three-grid) .explore-card-title{font-size:14px!important;line-height:1.35}
 .desktop-marketplace .shopril-ad-banner{max-height:240px;margin-bottom:16px}
}
@media(min-width:1100px){#exploreView .shopril-ad-banner{display:none!important}}
.desktop-category{display:none}
@media(min-width:1100px){
 .desktop-category{display:block}
 .desktop-marketplace #exploreView .explore-categories{display:flex;flex-wrap:wrap;overflow:visible;gap:clamp(12px,1.5vw,26px);min-width:0;flex:1;align-items:center}
 .desktop-marketplace #exploreView .explore-category{white-space:nowrap;font-size:15px;flex:none;padding:7px 0}
 .desktop-marketplace #exploreView .explore-search-toggle{flex:none;margin-left:14px}
 .desktop-marketplace #exploreView .explore-header{height:auto;min-height:72px;padding:12px 0}
}
@media(min-width:1100px){
 #exploreGrid:not(.category-three-grid){grid-template-columns:repeat(6,minmax(0,1fr));column-count:6}
 #exploreGrid.category-three-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
 #exploreGrid.desktop-search-results:not(.category-three-grid){grid-template-columns:repeat(7,minmax(0,1fr));column-count:7}
 .desktop-marketplace #exploreGrid:not(.category-three-grid){grid-template-columns:repeat(6,minmax(0,1fr));column-count:auto}
 .desktop-marketplace #exploreGrid.category-three-grid,.desktop-marketplace #exploreGrid.desktop-search-results:not(.category-three-grid){grid-template-columns:repeat(7,minmax(0,1fr));column-count:auto}
 #exploreGrid .explore-card-title,#exploreGrid.category-three-grid .explore-card-title{font-size:14px!important;overflow-wrap:anywhere}
 #exploreGrid .explore-card-price,#exploreGrid.category-three-grid .explore-card-price{font-size:12px!important;padding:5px 7px!important}
 #exploreGrid .explore-image-cart .explore-basket-button,#exploreGrid.category-three-grid .explore-image-cart .explore-basket-button{width:30px;height:30px;padding:5px}
}
@media(min-width:1100px){
 :root{--shop-verification-icon:url('/verified-desktop.svg')}
 .verified,.verified.large{width:18px!important;height:18px!important;flex:0 0 18px!important}
 :is(.shop-verified-name,.chat-vendor-name,.marketplace-shop-name,.following-visit strong,.checkout-item>small)::after{width:18px;height:18px;flex:0 0 18px;vertical-align:-4px;margin-left:4px}
 #exploreGrid.category-three-grid .explore-card-meta{display:flex!important}
 #exploreGrid .explore-card-meta{padding:6px 9px 10px;min-height:32px;overflow:visible;font-size:12px}
 #exploreGrid .marketplace-shop-name{white-space:normal;overflow:visible;line-height:1.5;overflow-wrap:anywhere}
}
@media(min-width:1100px){
 .desktop-marketplace .explore-audience-filters{width:min(100%,780px);margin-left:0;margin-right:auto;align-self:flex-start}
 .desktop-marketplace .explore-audience-filters .audience-shell{width:100%;padding:4px}
 .desktop-marketplace .explore-audience-filters .audience-track{justify-content:flex-start;gap:5px;padding:0 4px}
 .desktop-marketplace .explore-audience-filters .audience-filter{height:32px;min-height:32px;padding:5px 16px;font-size:14px}
 .desktop-marketplace .explore-audience-filters .audience-chevron{height:32px;width:28px;flex-basis:28px}
}
.desktop-shop-header{display:none}
.desktop-shop-matches{display:none}
@media(min-width:1100px){.desktop-shop-matches:not(.hidden){display:flex;flex-wrap:wrap;gap:12px;margin:0 0 14px}.desktop-shop-matches .shop-id-search-result{width:auto;min-width:240px;margin:0;padding:12px 16px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 3px 12px #202c3b0c}.desktop-shop-matches .shop-id-search-result.hidden{display:none}}
@media(min-width:1100px){
 .desktop-shop-header{display:flex;align-items:center;gap:18px;min-height:78px;padding:14px 0;background:white;border-bottom:1px solid #eceef0}
 .desktop-shop-logo{flex:none;width:120px;padding:0;background:none}.desktop-shop-logo img{display:block;width:100%;height:42px;object-fit:contain}
 .desktop-search-slot{position:relative;flex:1;min-width:120px;display:flex;align-items:center;height:50px;background:#f3f4f6;border:1px solid #eceef0;border-radius:999px;padding:4px}
 .desktop-search-slot #exploreSearchRow{display:block!important;flex:1;min-width:0;margin:0;padding:0;background:transparent}
 .desktop-search-slot #exploreSearch{display:block;box-sizing:border-box;width:100%;height:40px;line-height:20px;margin:0;border:0;background:transparent;border-radius:999px;padding:10px 15px;font-size:14px;min-height:40px}
 .desktop-search-slot .shop-id-search-result{position:absolute;top:calc(100% + 8px);left:0;right:0;width:100%;margin:0;padding:14px 16px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 28px #202c3b24;border-radius:14px;z-index:50}
 .desktop-search-submit{background:#ff8000;color:#202c3b;border-radius:999px;padding:10px 18px;font-size:14px;font-weight:700}
 .desktop-header-action{display:flex;align-items:center;gap:7px;background:none;color:#202c3b;padding:9px 0;font-size:14px;font-weight:600;white-space:nowrap}
 .desktop-header-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .desktop-marketplace #exploreView .explore-header{min-height:50px;padding:4px 0;margin-bottom:12px;position:static}
 .desktop-marketplace #exploreSearchToggle{display:none}
}
@media(min-width:1100px){
 .device>.desktop-shop-header{position:absolute;top:0;left:0;right:0;z-index:40;height:78px;min-height:78px;padding:12px 24px;gap:20px;box-shadow:0 1px 8px #202c3b08}
 .desktop-shop-logo{width:132px;margin-right:10px}
 .desktop-header-action.active{color:#ec7400}
 #mainNav{display:none!important}
 .desktop-marketplace:after{display:none}
 .desktop-marketplace #feed,.desktop-marketplace #feed.hidden{top:78px;bottom:0}
 .desktop-marketplace #exploreView,.desktop-marketplace #exploreView.hidden{top:78px;bottom:0;padding-bottom:24px;background:#f6f7f8}
 .desktop-marketplace #exploreView .explore-header{background:#f6f7f8;min-height:58px}
 .desktop-marketplace #feed .purchase-dock{bottom:24px}
 .desktop-marketplace #feed .details{bottom:92px}
 .desktop-marketplace #feed .actions{bottom:190px}
 #profileView,#inboxView,#accountInfoView,#earningsView,#riderView{top:78px;bottom:0}
 #profileView,#inboxView{padding-bottom:24px}
 #accountMenuView{top:78px;height:calc(100% - 78px)}
 .account-slide-layer{top:78px}
 .account-slide-frame #accountInfoView,.account-slide-frame #accountMenuView{top:0;height:100%}
}
.desktop-header-action{position:relative}
.desktop-header-action .account-alert-count{right:-10px;top:0}
@media(min-width:1100px){
 .device>.desktop-shop-header .desktop-shop-logo{width:190px;flex:0 0 190px;margin-right:12px;background:transparent}
 .device>.desktop-shop-header .desktop-shop-logo img{width:100%;height:58px;object-fit:contain;background:transparent}
}
@media(min-width:1100px){#feed .topbar .brand{display:none!important}#feed .feed-brand-group:has(.feed-cart.hidden){flex:1;min-width:0}}
@media(min-width:1100px){
 #feed .topbar .search{display:none!important}
 #feed .topbar{justify-content:center!important;gap:24px!important}
 #feed .topbar .feed-brand-group{position:absolute;left:18px;flex:none!important;margin:0}
 #feed .topbar .feed-brand-group:has(.feed-cart.hidden){display:none!important}
 #feed .topbar .shop-feed-back{position:absolute;left:18px}
 #feed .topbar .shop-feed-name{position:absolute;left:52px;max-width:140px}
 #feed .topbar .feed-tab{flex:none;margin:0}
}
.desktop-account-submenu{display:none}
@media(min-width:1100px){
 #settingsBtn,#accountMenuView,.account-drawer-backdrop{display:none!important}
 .desktop-account-submenu:not(.hidden){display:block;position:absolute;right:110px;top:calc(100% + 8px);width:320px;max-height:calc(100dvh - 100px);overflow-y:auto;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:10px 16px;box-shadow:0 12px 40px #202c3b26;color:#202c3b;z-index:60}
 .desktop-account-submenu button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 4px;background:transparent;color:inherit;text-align:left;font-size:14px;border-bottom:1px solid #f0f1f3}
 .desktop-account-submenu button:hover{background:#fff5e5;border-radius:8px}
 .desktop-account-submenu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
 .desktop-account-submenu .drawer-row-next{margin-left:auto;width:14px}
 .desktop-account-submenu h3{margin:12px 0 5px;font-size:12px;color:#80858b}
 .desktop-account-submenu .desktop-submenu-logout{color:#c33b30;border-bottom:0}
}
/* Desktop page rhythm: contained workspaces and calm, consistent surfaces. */
@media(min-width:1100px){
 .device{background:#f4f6f8}
 .device>.desktop-shop-header{padding-left:28px;padding-right:28px;gap:18px}
 .desktop-header-action{border-radius:9px;padding:9px 6px;transition:background .16s,color .16s}
 .desktop-header-action:hover{background:#fff2e3;color:#bf5900}
 .desktop-search-slot:focus-within{border-color:#ff8000;box-shadow:0 0 0 3px #ff800018}
 .desktop-search-slot #exploreSearch:focus{outline:none}
 .desktop-marketplace #exploreView{padding-left:24px;padding-right:24px}
 .desktop-marketplace #exploreView .explore-header{border-bottom:1px solid #e5e8ec;margin-bottom:20px;padding:12px 0;gap:12px}
 .desktop-marketplace #exploreView .explore-category{border-radius:8px;padding:9px 10px;transition:background .16s}
 .desktop-marketplace #exploreView .explore-category.active{background:#fff0db;color:#a74e00}
 .desktop-marketplace #exploreView .explore-category:hover{background:#eceff3}
 #exploreGrid .explore-video-card{background:#fff;border-color:#e3e7eb;box-shadow:0 2px 7px #202c3b06;transition:box-shadow .18s,border-color .18s}
 #exploreGrid .explore-video-card:hover{border-color:#ffc58b;box-shadow:0 6px 18px #202c3b14}
 #profileView,#inboxView,#accountInfoView,#earningsView,#riderView{left:0;right:0;margin:24px auto;top:78px;bottom:0;width:calc(100% - 64px);height:auto;max-width:1040px;border:1px solid #e4e8ed;border-radius:20px;background:#fff;box-shadow:0 6px 28px #202c3b08;overflow-y:auto;padding:24px 28px}
 #inboxView{max-width:820px}
 #accountInfoView{max-width:960px;padding:0}
 #earningsView,#riderView{max-width:1000px}
 #profileView .account-identity{padding:8px 0 24px}
 #profileView .account-avatar{width:88px;height:88px;flex-basis:88px;font-size:34px}
 #profileView .account-description,#profileView .account-actions{padding-left:0;padding-right:0}
 #profileView .account-tabs{margin:12px 0 24px}
 #profileView .account-grid{padding:0;gap:18px}
 #profileView .account-product-search{margin:0 0 20px}
 #profileView .account-empty{padding:64px 24px;background:#f8f9fb;border-radius:14px;line-height:1.6;font-size:16px}
 #inboxView .messages-header{margin-bottom:24px}
 #inboxView .messages-header h2{font-size:26px}
 #inboxView .inbox-tabs{max-width:440px;margin:0 auto 24px}
 #inboxView .inbox-tab{border-radius:12px;padding:12px;font-size:15px}
 #inboxView #inboxSearch{font-size:15px;padding:14px 16px}
 #inboxView .chat-screen{border-radius:20px;overflow:hidden}
 #accountInfoView .account-page-head{padding:18px 24px;border-radius:20px 20px 0 0}
 #accountInfoView .account-page-head h2{font-size:20px}
 #accountInfoContent{max-width:900px;padding:24px 32px 36px;box-sizing:border-box}
 .account-slide-frame #accountInfoView{margin:24px auto;top:0;bottom:24px;height:auto}
 .modal{align-items:center!important;justify-content:center;padding:28px;background:#10182870}
 .modal>.sheet{border-radius:20px!important;max-height:calc(100dvh - 56px)!important;overflow-y:auto;box-shadow:0 24px 70px #0003}
 #accountSetupModal .account-setup-sheet{width:min(720px,100%);height:auto;max-height:calc(100dvh - 56px);padding:24px 28px;border-radius:20px;margin:auto}
 #uploadVideoModal{align-items:center;padding:28px}
 #uploadVideoModal>.sheet{width:min(920px,100%);height:auto;max-height:calc(100dvh - 56px);padding:0 0 24px;border-radius:20px}
 #uploadVideoModal .sheet-head{top:0;border-radius:20px 20px 0 0}
 #commentsModal .comments-sheet{width:min(640px,100%);height:min(720px,calc(100dvh - 56px));border-radius:20px}
 button:focus-visible,a:focus-visible{outline:2px solid #ff8000;outline-offset:3px}
 :is(#exploreView,#profileView,#inboxView,#accountInfoView,.desktop-account-submenu,.sheet){scrollbar-width:thin;scrollbar-color:#c8cdd4 transparent}
}
@media(min-width:1100px){
 .stage>.device{background:#f4f6f8}
 .device #profileView,.device #inboxView,.device #accountInfoView,.device #earningsView,.device #riderView{top:78px;bottom:0;left:0;right:0;margin:24px auto;width:calc(100% - 64px);max-width:1040px;min-width:0;padding:24px 28px;box-sizing:border-box;color:#202c3b;background:#fff}
 .device #inboxView{max-width:820px;padding:24px 28px}
 .device #accountInfoView{max-width:960px;padding:0}
 .device #earningsView,.device #riderView{max-width:1000px}
 .device #inboxView .inbox-tabs{width:100%;max-width:440px;min-width:0;margin:0 auto 24px}
 .device #inboxSearchRow,.device #inboxList{width:100%;min-width:0}
 .device #inboxView .message-row{width:100%;padding:16px 0;border-bottom:1px solid #eef0f3}
 .device #inboxView .message-copy{min-width:0}
 .device .account-slide-frame #accountInfoView{top:0;margin:24px auto;bottom:24px}
}
@media(min-width:1100px){
 .device #inboxView #chatScreen{position:absolute!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:100%!important;max-height:100%!important;display:flex;flex-direction:column;background:#faf9f6;color:#202c3b;border-radius:20px;z-index:10}
 .device #inboxView #chatScreen.hidden{display:none!important}
 .device #chatScreen .chat-head{position:relative;flex:none;display:flex;align-items:center;gap:12px;min-height:78px;padding:16px 24px;background:#fff;border-bottom:1px solid #e8ebef}
 .device #chatScreen .chat-head strong{font-size:17px;color:#202c3b}
 .device #chatScreen .chat-head small{font-size:13px;color:#7b8189}
 .device #chatScreen .chat-privacy{flex:none;padding:10px 20px;font-size:12px}
 .device #chatScreen .chat-scroll{flex:1;min-height:0;overflow-y:auto;padding:24px}
 .device #chatScreen .bubble{max-width:75%;font-size:15px;padding:12px 16px}
 .device #chatScreen .chat-compose{flex:none;padding:16px 20px;background:#fff;gap:12px}
 .device #chatScreen #chatText{font-size:15px;min-height:44px;padding:12px 16px}
 .device #chatScreen .chat-compose>button,.device #chatScreen .chat-compose>label{width:42px;height:42px;flex:0 0 42px}
}
@media(min-width:1100px){
 .explore-category[data-category="Trending"]{--category-color:#b64e00;--category-tint:#fff0db;--category-solid:#b64e00}
 .explore-category[data-category="Fashion"]{--category-color:#b32656;--category-tint:#ffe8ef;--category-solid:#b32656}
 .explore-category[data-category="Electronics"]{--category-color:#2259bd;--category-tint:#e7efff;--category-solid:#2259bd}
 .explore-category[data-category="Home"]{--category-color:#14774f;--category-tint:#e0f5ea;--category-solid:#14774f}
 .explore-category[data-category="Beauty"]{--category-color:#7940b2;--category-tint:#f1e6ff;--category-solid:#7940b2}
 .explore-category[data-category="Food"]{--category-color:#b53232;--category-tint:#ffe8e6;--category-solid:#b53232}
 .explore-category[data-category="Other"]{--category-color:#14748b;--category-tint:#e0f3f7;--category-solid:#14748b}
 .desktop-marketplace #exploreView .explore-category{color:var(--category-color);background:var(--category-tint);border:1px solid transparent;border-radius:10px;padding:9px 14px;font-weight:650;transition:background .18s,box-shadow .18s,color .18s}
 .desktop-marketplace #exploreView .explore-category:hover{background:var(--category-tint);border-color:var(--category-color);box-shadow:0 3px 9px #202c3b0c}
 .desktop-marketplace #exploreView .explore-category.active{color:#fff;background:var(--category-solid);box-shadow:0 3px 10px #202c3b18}
}
@media(min-width:1100px){
 .desktop-marketplace #exploreView .explore-category{color:#fff;background:var(--category-solid);border-radius:999px;padding:10px 18px;border:1px solid transparent;box-shadow:0 2px 6px #202c3b12}
 .desktop-marketplace #exploreView .explore-category:hover{color:#fff;background:var(--category-solid);border-color:transparent;filter:brightness(1.12);box-shadow:0 4px 12px #202c3b20}
 .desktop-marketplace #exploreView .explore-category.active{color:#fff;background:var(--category-solid);box-shadow:0 0 0 3px #f6f7f8,0 0 0 5px var(--category-solid);font-weight:800}
}
@media(min-width:1100px){
 .device #exploreGrid:not(.category-three-grid),.device #exploreGrid.category-three-grid,.device #exploreGrid.desktop-search-results:not(.category-three-grid){grid-template-columns:repeat(var(--desktop-card-columns,3),minmax(0,1fr));column-count:auto}
}
@media(min-width:1100px){
 .desktop-marketplace #exploreView .explore-categories{flex-wrap:nowrap;gap:12px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scrollbar-width:thin;scroll-padding-inline:6px;padding:6px 6px 10px}
 .desktop-marketplace #exploreView .explore-category{flex:0 0 auto;font-size:15px;padding:10px 18px;white-space:nowrap}
}
@media(min-width:1100px){
 .device #categoryProductModal .category-product-panel{height:min(620px,calc(100dvh - 80px));max-height:calc(100dvh - 80px)!important;align-items:stretch;overflow:hidden;background:#fff!important}
 .device #categoryProductModal .category-product-video{height:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;align-self:stretch}
 .device #categoryProductModal .category-product-copy{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding-top:26px}
 .desktop-product-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:0 4px 18px 0}
 .desktop-product-details{font-size:14px;line-height:1.6;flex:none}
 .desktop-product-details[hidden]{display:none}
 .device #categoryProductModal .category-product-add{margin-top:auto;flex:none;min-height:46px;border-radius:12px}
}
@media(min-width:1100px){.device #categoryProductModal img.category-product-video{background:#ff8000}}
@media(min-width:1100px){
 .device.desktop-marketplace #exploreView,.device.desktop-marketplace #exploreView.hidden,.device.desktop-marketplace #exploreView .explore-header{background:#f68b1e}
 .desktop-marketplace #exploreView .explore-header{border-bottom-color:#ffffff50}
 .desktop-marketplace #exploreView .explore-category.active{box-shadow:0 0 0 3px #f68b1e,0 0 0 5px #fff}
 .desktop-marketplace #exploreEmpty{color:#202c3b}
}
@media(min-width:1100px){
 .device.desktop-marketplace #exploreView .explore-header{background:#fff;border-bottom-color:#e5e8ec;margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}
 .device.desktop-marketplace #exploreView .explore-category.active{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--category-solid)}
}
@media(min-width:1100px){
 .device.desktop-marketplace #exploreView:has(#exploreGrid.category-three-grid),.device.desktop-marketplace #exploreView.hidden:has(#exploreGrid.category-three-grid){background:#fff}
}
@media(min-width:1100px){
 .device.desktop-marketplace #exploreView:has(#exploreGrid.desktop-search-results),.device.desktop-marketplace #exploreView.hidden:has(#exploreGrid.desktop-search-results){background:#fff}
 .device #exploreGrid.desktop-search-results .explore-video-card{background:#fff}
}

@media(min-width:1100px){.device #accountInfoContent .public-shop-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.device #accountInfoContent .public-shop-product-grid .explore-video-card{min-width:0}}
@media(min-width:1100px){.device #accountInfoContent .public-shop-product-grid{row-gap:10px;align-items:start}.device #accountInfoContent .public-shop-product-grid .shop-product-card{margin:0!important}.device #accountInfoContent .public-shop-product-grid .explore-card-title{height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;padding:7px 10px!important;box-sizing:border-box;line-height:1.3}}
@media(min-width:1100px){
 .device #accountSetupModal{position:fixed!important;inset:78px 0 0!important;z-index:4000!important;align-items:center!important;justify-content:center!important;padding:24px!important}
 .device #accountSetupModal .account-setup-sheet{width:min(640px,100%)!important;max-width:640px!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 126px)!important;margin:0!important;padding:24px 28px!important;border-radius:20px!important;overflow-y:auto!important;background:#fff}
 .device #accountSetupModal .sheet-head{top:-24px;margin:0 0 20px!important;padding:14px 0!important;background:#fff}
 .device #accountSetupModal .sheet-head h2{font-size:22px}
 .device #accountSetupModal .close{flex:0 0 34px}
 .device #accountSetupForm{max-width:none!important;margin:0!important}
 .device #accountSetupModal .account-save{position:sticky;bottom:0;margin-top:16px}
 .device #accountSetupModal .account-crop canvas{max-width:100%;height:auto}
}
@media(min-width:1100px){
 .device .explore-video-card{position:relative!important}
 .device .explore-video-card .explore-card-price{display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;top:8px!important;right:8px!important;bottom:auto!important;left:auto!important;z-index:12!important;width:auto!important;max-width:calc(100% - 16px)!important;height:auto!important;min-height:0!important;margin:0!important;padding:6px 9px!important;background:#fd8604!important;color:#fff!important;border-radius:9px!important;font-size:14px!important;line-height:1.3!important;font-weight:800!important;white-space:nowrap!important;text-shadow:none!important;overflow:visible!important}
 .device #feed .buy-price{color:#202c3b!important;visibility:visible!important;opacity:1!important}
}
@media(min-width:1100px){
 .device #exploreGrid .explore-card-price,.device #exploreGrid.category-three-grid .explore-card-price,.device #accountInfoContent .explore-card-price,.device #portalContent .explore-card-price{font-size:17px!important;padding:8px 11px!important;line-height:1.2!important;border-radius:10px!important;font-weight:800!important}
 .device #feed .buy-price{font-size:17px!important}
}
.inbox-tab,.message-row,#portalContent .account-tabs button,#portalContent .account-actions button{position:relative}
.message-row .account-alert-count{right:10px;top:50%;transform:translateY(-50%)}
.message-row:has(.account-alert-count) .message-copy{padding-right:32px}
.discovery-location-overlay{position:fixed;inset:0;z-index:9000;background:#10182899;display:flex;align-items:center;justify-content:center;padding:20px;color:#202c3b}.discovery-location-panel{width:min(440px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:24px;padding:28px;box-shadow:0 24px 70px #0003}.discovery-location-panel h2{margin:0 0 10px;font-size:26px}.discovery-location-panel p{line-height:1.5;color:#626975}.discovery-location-panel label{display:grid;gap:8px;font-weight:700}.discovery-location-panel input{width:100%;padding:13px;border:1px solid #dfe3e8;border-radius:12px;font:inherit}.discovery-gps,.discovery-skip{width:100%;border-radius:12px;padding:12px;margin-top:12px;background:#fff3e5;color:#202c3b;font-weight:700}.discovery-skip{background:transparent;color:#68707b}.discovery-location-panel .account-save{width:100%}.mobile-discovery-town{margin:0 0 12px;padding:7px 12px;border-radius:16px;background:#fff3e5;color:#202c3b;font-size:12px;font-weight:700}.desktop-shop-header .discovery-location-button{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(min-width:1100px){.mobile-discovery-town{display:none}}
.product-town-label{display:block;padding:0 10px 9px;color:#656d76;font-size:12px;line-height:1.4}.shop-town-confirmation{margin:16px;padding:16px;border-radius:16px;background:#fff3e5;color:#202c3b;border:1px solid #ffcf99}.shop-town-confirmation p{font-size:13px;margin:6px 0 12px}.shop-town-confirmation button{padding:9px 15px;border-radius:10px}#accountLocation{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fafafa;color:#202c3b;font:inherit}

.product-town-label[hidden]{display:none!important}

.category-product-video-surface{position:relative;min-width:0;align-self:start;border-radius:12px;overflow:hidden;background:#101010}.category-product-video-surface .category-product-video{display:block}.category-video-fullscreen-button{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:2;width:max-content;max-width:calc(100% - 16px);padding:9px 12px;border-radius:20px;background:#0009;color:#fff;font-size:12px;font-weight:700;line-height:1.4;text-align:center;box-shadow:0 2px 8px #0003}

/* The Messages tab already labels the conversation list. */
#inboxView.inbox-messages-view > .messages-header{display:none}

@media(min-width:1100px){.desktop-marketplace #exploreView .explore-categories::-webkit-scrollbar{display:block;height:6px}.desktop-marketplace #exploreView .explore-categories::-webkit-scrollbar-thumb{background:#b7bec8;border-radius:6px}.desktop-marketplace #exploreView .explore-categories::-webkit-scrollbar-track{background:transparent}}


/* Compact shop identity below saved product titles. */
#portalContent .saved-product-grid .explore-card-meta{display:flex;justify-content:flex-start!important;padding:0 6px 8px!important;margin:0;min-width:0}
#portalContent .saved-product-grid .marketplace-shop-name{display:inline-flex;align-items:center;min-width:0;max-width:100%;font-size:12px!important;line-height:1.4;color:#727971}
#portalContent .saved-product-grid .saved-shop-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#portalContent .saved-product-grid .marketplace-shop-name::after{width:14px;height:14px;flex:0 0 14px;margin-left:4px}

/* Profile availability and menu identity. */
#portalContent .account-stats{align-items:center;gap:18px;flex-wrap:nowrap}
#portalContent .profile-online-toggle{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;padding:0;flex:0 0 auto;cursor:pointer;color:#737b76;font:inherit}
#portalContent .profile-online-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-size:24px!important;line-height:1;background:#f0f1f2;color:#778079;box-shadow:inset 0 0 0 1px #e2e5e2}
#portalContent .profile-online-toggle.is-online .profile-online-icon{background:#e8f7ec;color:#238744;box-shadow:inset 0 0 0 1px #bce3c7}
#portalContent .profile-online-toggle>span:last-child{font-size:11px!important;line-height:1.25}
#portalContent .profile-online-toggle:disabled{opacity:.55;cursor:wait}
#portalContent .profile-online-toggle:focus-visible{outline:2px solid #ff8000;outline-offset:4px;border-radius:20px}
.account-menu-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:16px;margin-bottom:8px;background:#f6f7f8;border-radius:14px;align-items:center}
.account-menu-summary small{display:block;font-size:12px;color:#737b76;margin-bottom:5px}
.account-menu-summary strong,.account-menu-summary a{font-size:15px;line-height:1.4;font-weight:650;color:#273029;overflow-wrap:anywhere;text-decoration:none}
.account-menu-summary .account-menu-rating strong{color:#d3a000;white-space:nowrap}
#accountMenuHours small{display:block;font-size:12px;color:#737b76;margin-top:5px}
.desktop-account-submenu .account-menu-summary{margin:8px}

#portalContent .profile-online-icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#portalContent .profile-online-toggle>span:last-child{white-space:nowrap}

/* Keep feedback readable inside the screen above bottom navigation. */
#toast{width:max-content;max-width:calc(100% - 32px);min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:left;line-height:1.5;font-size:14px;padding:13px 16px;border:1px solid #ffffff20;border-left:3px solid #ff8000;border-radius:14px;box-shadow:0 8px 28px #0003;bottom:calc(100px + env(safe-area-inset-bottom));box-sizing:border-box}
@media(min-width:760px){#toast{max-width:min(420px,calc(100% - 40px))}}
@media(prefers-reduced-motion:reduce){#toast{transition:none}}

.app-settings-content>p{font-size:14px;color:#747b76;margin:8px 0 18px}
.app-settings-card{border:1px solid #e8ebe8;border-radius:16px;overflow:hidden;background:#fff}
.app-setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 16px;border-bottom:1px solid #edf0ed;cursor:pointer}
.app-setting-row:last-child{border-bottom:0}.app-setting-row>span{min-width:0}.app-setting-row strong{display:block;font-size:15px;line-height:1.4}.app-setting-row small{display:block;font-size:12px;line-height:1.5;color:#747b76;margin-top:5px}
.app-setting-row input{appearance:none;-webkit-appearance:none;flex:0 0 42px;width:42px;height:25px;border-radius:20px;background:#dce0dd;position:relative;cursor:pointer;transition:background .15s;margin:0}
.app-setting-row input::before{content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}
.app-setting-row input:checked{background:#ff8000}.app-setting-row input:checked::before{transform:translateX(17px)}.app-setting-row input:disabled{opacity:.5}.app-setting-row input:focus-visible{outline:2px solid #ff8000;outline-offset:3px}

/* Comment action buttons should behave as controls on touch and desktop. */
.comment-actions-modal,.comment-actions-modal button{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.comment-actions-modal button{touch-action:manipulation;cursor:pointer}

/* A plain vector checkmark avoids filtered-image differences in Safari. */
.verified,.verified.large{background-color:transparent!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;mask:none!important;-webkit-mask:none!important;flex-shrink:0!important}

#portalContent #preparingUploads.pending-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;margin:14px 10px;background:transparent;align-items:start;color:#202c3b}
#portalContent .pending-product-card,#portalContent .managed-product-grid>.explore-video-card{position:relative;min-width:0}
#portalContent .pending-product-card img{opacity:1}#portalContent .pending-product-card strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere;padding:10px 10px 4px}#portalContent .pending-product-card p{font-size:12px;padding:0 10px 12px;margin:4px 0}
.vendor-card-menu{position:absolute;top:8px;left:8px;z-index:8}.vendor-card-menu>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:34px;height:34px;border-radius:50%;background:#fff;color:#202c3b;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 2px 8px #0003;user-select:none}.vendor-card-menu>summary::-webkit-details-marker{display:none}.vendor-card-menu-options{position:absolute;top:40px;left:0;min-width:125px;padding:5px;background:#fff;border-radius:12px;box-shadow:0 4px 18px #0003}.vendor-card-menu-options button{display:block;width:100%;padding:11px 14px;text-align:left;border:0;background:#fff;color:#202c3b;font:inherit;border-radius:8px}.vendor-card-menu-options .vendor-card-delete{color:#ba3028}.vendor-card-menu-options button:hover{background:#fff3e5}
@media(min-width:700px){#portalContent #preparingUploads.pending-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
#portalContent .account-grid[hidden]{display:none!important}

#portalContent .pending-product-card .product-needs-attention{color:#c62828;font-weight:750;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.product-needs-attention:focus-visible{outline:2px solid #c62828;outline-offset:2px}

#productAttentionModal .sheet{background:#fff;color:#202c3b}#productAttentionModal .product-attention-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}#productAttentionModal .product-attention-actions button{width:100%;min-width:0;min-height:46px;padding:12px 8px;border:1px solid #dce1e6;border-radius:10px;background:#fff;color:#202c3b;font:inherit;font-size:clamp(11px,3.3vw,14px);font-weight:650;line-height:1.2;white-space:nowrap;box-shadow:0 1px 2px #00000008}#productAttentionModal .product-attention-actions button:active{background:#f5f6f8}#productAttentionModal .product-attention-actions button:disabled{opacity:.55}#productAttentionModal .close{background:#fff;border:1px solid #e5e8eb}

#productAttentionModal .music-appeal-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#productAttentionModal .music-appeal-actions button{font-size:12px;padding:12px 5px}
.vendor-colour-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.vendor-colour-images label{min-width:0;margin:0;padding:8px;border:1px solid #ddd;border-radius:10px}.vendor-colour-images img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}.vendor-colour-images span{display:block;font-size:13px}.vendor-colour-images input{width:100%;font-size:11px}.colour-image-choice{display:flex;flex-direction:column;padding:4px!important;width:76px;gap:4px;border-radius:9px!important}.colour-image-choice img{width:64px;height:64px;object-fit:cover;border-radius:6px}.colour-image-choice.selected{outline:2px solid #ff8000;outline-offset:1px}.variant-choice-row:has(.colour-image-choice){display:flex!important;flex-wrap:wrap;gap:10px}

.thumbnail-suggestions{margin:8px 0 14px}.thumbnail-suggestions small{display:block;margin-bottom:8px;color:#657078}.thumbnail-frame-row{display:flex;gap:8px;overflow-x:auto;padding:3px}.thumbnail-frame-row button{padding:2px;border:2px solid transparent;border-radius:9px;background:white;flex:0 0 65px}.thumbnail-frame-row img{width:57px;height:76px;object-fit:cover;display:block;border-radius:5px}.thumbnail-frame-row button.selected{border-color:#ff8000}

.vendor-editor-toolbar{display:flex;gap:10px;margin:10px 0}.vendor-editor-toolbar button,.vendor-editor-panel button{background:#fff;border:1px solid #ddd;border-radius:10px;color:#202b39;padding:12px;flex:1;font-weight:600}.vendor-editor-panel:empty{display:none}.vendor-editor-panel{background:#fff;border:1px solid #ddd;border-radius:14px;padding:14px;margin-bottom:14px}.vendor-editor-panel input[type=range]{display:block;width:100%;margin:14px 0}.vendor-editor-panel button{margin:4px}.upload-full-video{background:#202020}

.video-editor-head{display:none}.editor-timeline{display:none}
#uploadVideoModal.video-editor-first{padding:0!important;align-items:stretch!important;background:#202020}
#uploadVideoModal.video-editor-first>.sheet{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:0!important;background:#202020!important;overflow:hidden!important;display:flex;flex-direction:column}
.video-editor-first .sheet>.sheet-head,.video-editor-first .upload-note{display:none!important}
.video-editor-first .video-editor-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;padding-top:calc(16px + env(safe-area-inset-top));color:white;flex-shrink:0}
.video-editor-head button{border:0;background:transparent;color:white;font-weight:700;font-size:17px;padding:10px}.video-editor-head button:first-child{font-size:34px}
.video-editor-first #testVideoForm{padding:0 18px calc(18px + env(safe-area-inset-bottom))!important;margin:0!important;width:100%;max-width:none;flex:1;min-height:0;display:flex;flex-direction:column}
.video-editor-first #testVideoForm>:not(.video-upload-progress):not(.vendor-editor-toolbar):not(.vendor-editor-panel):not(.editor-timeline){display:none!important}
.video-editor-first .video-upload-progress{flex:1;min-height:0;display:flex;flex-direction:column;margin:0!important;background:transparent!important;border:0!important;padding:0!important}
.video-editor-first .upload-full-video{flex:1;min-height:0;height:auto!important;max-height:none!important;border-radius:0!important;background:#202020}
.video-editor-first .upload-full-video video{width:100%;height:100%!important;max-height:none!important;object-fit:contain!important}
.video-editor-first .upload-full-status{display:none!important}
.video-editor-first .vendor-editor-toolbar{flex-shrink:0;margin:14px 0 8px;align-items:center}
.video-editor-first .vendor-editor-toolbar button{background:transparent;color:white;border:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;font-size:15px}
.video-editor-first .vendor-editor-toolbar .editor-add-video{flex:0 0 52px;background:#ff8000;border-radius:14px;font-size:36px;line-height:1;height:52px}
.video-editor-first .editor-timeline{display:flex;flex-direction:column;gap:6px;color:#ddd;font-size:12px;margin:8px 0}.video-editor-first .editor-timeline input{accent-color:#ff8000;padding:0!important;height:28px;border:0!important;background:transparent!important}
.video-editor-first .vendor-editor-panel{max-height:35dvh;overflow:auto;flex-shrink:0}
.editor-filmstrip{position:relative;height:64px;margin:10px 16px;background:#343434;border-radius:7px;touch-action:none}.editor-frames{display:flex;height:100%;overflow:hidden;border-radius:7px}.editor-frames img{width:12.5%;height:100%;object-fit:cover;pointer-events:none}.editor-trim-selection{position:absolute;top:0;bottom:0;border:2px solid #ff8000;box-sizing:border-box;pointer-events:none;border-radius:6px}.editor-trim-handle{position:absolute;top:-2px;bottom:-2px;width:26px!important;padding:0!important;border:0!important;background:#ff8000!important;color:#fff!important;pointer-events:auto;touch-action:none;border-radius:5px!important;font-size:22px!important}.editor-trim-handle.start{left:-13px}.editor-trim-handle.end{right:-13px}.editor-playhead{position:absolute;top:-7px;bottom:-7px;width:2px;background:white;pointer-events:none;box-shadow:0 0 2px #000}.editor-ruler{display:flex;justify-content:space-between;color:#aaa;font-size:11px;padding:0 16px}.editor-transport{display:flex;justify-content:center;align-items:center;gap:18px}.editor-transport button{border:0;border-radius:50%;width:40px;height:40px;background:#fff;color:#202020}.editor-transport span{font-variant-numeric:tabular-nums}.editor-timeline small{text-align:center;color:#aaa;font-size:11px}.video-editor-first .vendor-editor-panel.audio-sheet{position:absolute;z-index:20;bottom:0;left:0;right:0;margin:0;border:0;border-radius:22px 22px 0 0;max-height:70dvh;min-height:320px;padding:22px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -100vh 0 80vh #0008;color:#202b39;background:#fff}.audio-sheet h2{margin:0 0 24px}.audio-sheet h3{margin:0 0 10px;font-size:16px}.audio-sheet section{margin-bottom:24px}.audio-sheet .audio-close{position:absolute;right:16px;top:12px;border:0;font-size:26px}.audio-sheet p{color:#6f767d;font-size:14px}.audio-sheet .audio-tab{border-radius:20px;background:#202b39;color:white;padding:9px 16px;font-size:13px}.audio-empty{margin:14px 0;padding:24px;text-align:center;border:1px solid #eee;border-radius:12px;color:#7a8086;font-size:14px}

/* Joined clip timeline: native player controls are replaced by the transport. */
.video-editor-first .upload-full-video video::-webkit-media-controls{display:none!important}
.editor-timeline-scroll{overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;padding:0 14px 10px;-webkit-overflow-scrolling:touch}
.editor-timeline-content{min-width:100%}
.editor-multi-track{display:flex;gap:0;margin:12px 0 0;touch-action:pan-x;border-radius:6px}
.editor-clip{position:relative;min-width:100px;flex-basis:0;height:64px;border:2px solid #727272;box-sizing:border-box;background:#343434;touch-action:pan-x}
.editor-clip.selected{border-color:#ff8000}
.editor-clip .editor-frames{height:100%;border-radius:0;background:linear-gradient(90deg,#393939,#535353)}
.editor-clip .editor-frames img{width:16.6667%;flex:1;min-width:0}
.editor-clip .editor-trim-handle{width:18px!important;font-size:18px!important;z-index:3}
.editor-clip .editor-trim-handle.start{left:-2px}.editor-clip .editor-trim-handle.end{right:-2px}
.editor-clip-label{position:absolute;left:20px;top:4px;color:#fff;background:#0009;padding:2px 4px;border-radius:3px;font-size:10px;pointer-events:none}
.editor-multi-track .editor-playhead{z-index:5}
.vendor-editor-toolbar button:disabled,.video-editor-head button:disabled{opacity:.5}
.video-editor-first .editor-timeline{flex-shrink:0}

/* Single-video editor: trim controls live in their own tool panel. */
.editor-single-track{margin:12px 0;touch-action:none;overflow:visible;contain:layout style}
.editor-single-track .editor-frames{background:#343434;min-height:64px}
.editor-single-track .editor-frames img{width:25%;height:100%;flex:1;min-width:0}
.editor-single-track .editor-playhead{will-change:left}
.editor-music-wave{display:block;position:relative;width:100%;height:65px;padding:7px 10px;border:1px solid #ff800066;border-radius:8px;background:#ff800018;color:#ffb35c;text-align:left;overflow:hidden}
.editor-music-wave[hidden]{display:none!important}
.editor-music-wave span{display:block;font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-music-wave svg{display:block;width:100%;height:36px}
.video-editor-first .vendor-editor-panel.trim-sheet{position:absolute;z-index:20;bottom:0;left:0;right:0;max-height:65dvh;min-height:280px;border:0;border-radius:22px 22px 0 0;margin:0;padding:22px 22px calc(24px + env(safe-area-inset-bottom));background:#fff;color:#202b39;box-shadow:0 -100vh 0 80vh #0008}
.trim-sheet h2{margin:0 0 8px}.trim-sheet p{font-size:13px;color:#65707b}.trim-sheet label,.audio-sheet label{display:block;font-size:14px;font-weight:600}.trim-sheet input[type=range],.audio-sheet input[type=range]{accent-color:#ff8000;min-height:30px}
.video-editor-first .vendor-editor-toolbar{justify-content:space-around}.video-editor-first .vendor-editor-toolbar>button{flex:1}

#uploadVideoModal:not(.video-editor-first) .vendor-editor-toolbar,#uploadVideoModal:not(.video-editor-first) .vendor-editor-panel,#uploadVideoModal:not(.video-editor-first) .editor-timeline{display:none!important}
.upload-edit-video{justify-self:start;border:0;border-radius:9px;padding:8px 12px;background:#fff0dd;color:#965300;font:600 13px system-ui}
.upload-full-status{grid-template-columns:1fr 1fr}.upload-full-status>.video-upload-state,.upload-full-status>small{grid-column:1/-1}
.video-editor-first .upload-full-status{display:none!important}

/* Consistent native-style media actions with equal touch targets. */
#uploadVideoModal .upload-full-status{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:14px}
#uploadVideoModal .upload-change-video,#uploadVideoModal .upload-edit-video{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;box-sizing:border-box;padding:11px 12px;border-radius:12px;font-family:inherit;font-size:14px;font-weight:650;line-height:20px;cursor:pointer;touch-action:manipulation;transition:background-color .15s,transform .15s}
#uploadVideoModal .upload-change-video{background:#fff;color:#27313c;border:1px solid #dce1e6}
#uploadVideoModal .upload-edit-video{background:#ff8000;color:#171717;border:1px solid #ff8000}
#uploadVideoModal .upload-change-video svg,#uploadVideoModal .upload-edit-video svg{width:18px;height:18px;flex-shrink:0}
#uploadVideoModal .upload-change-video:active,#uploadVideoModal .upload-edit-video:active{transform:scale(.98)}
#uploadVideoModal .upload-change-video:disabled,#uploadVideoModal .upload-edit-video:disabled{opacity:.45;cursor:default;transform:none}
#uploadVideoModal .upload-change-video:focus-visible,#uploadVideoModal .upload-edit-video:focus-visible{outline:2px solid #ff8000;outline-offset:3px}
#uploadVideoModal .upload-full-status>.video-upload-state{font-size:14px;font-weight:600;color:#3b4652}

.video-editor-first .vendor-editor-toolbar .editor-transport{display:flex;flex:1;justify-content:flex-start;gap:12px;min-width:0}
.video-editor-first .vendor-editor-toolbar .editor-transport button{flex:0 0 42px;width:42px;height:42px;padding:0;background:#fff;color:#202020;border-radius:50%;font-size:18px}
.video-editor-first .vendor-editor-toolbar .editor-transport span{font-size:12px;white-space:nowrap}
.video-editor-first .vendor-editor-toolbar>button{flex:0 0 auto;font-size:14px;padding:8px}
.editor-precision-scroll{overflow-x:auto;overflow-y:hidden;padding:8px 16px 12px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x}
.editor-precision-content{min-width:100%;box-sizing:border-box}
.editor-precision-content .editor-ruler{padding:0}
.editor-precision-content .editor-single-track{margin:12px 0;touch-action:pan-x}
.editor-edge-selection{position:absolute;top:0;bottom:0;border:2px solid #ff8000;border-radius:6px;box-sizing:border-box;pointer-events:none;box-shadow:-2000px 0 0 1998px #0007,2000px 0 0 1998px #0007;clip-path:inset(0 -14px)}
.editor-edge-selection[hidden]{display:none}
.editor-edge-handle{position:absolute;top:-2px;bottom:-2px;width:28px;padding:0;border:0;border-radius:6px;background:#ff8000;color:#171717;font-size:22px;font-weight:700;pointer-events:auto;touch-action:none;z-index:4}
.editor-edge-handle.start{left:-14px}.editor-edge-handle.end{right:-14px}
.editor-edge-handle:focus-visible{outline:2px solid #fff;outline-offset:2px}
.editor-precision-content .editor-playhead{z-index:5}
.editor-zoom-bar{display:flex;align-items:center;gap:10px;padding:4px 0}
.editor-zoom-bar button{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #ffffff30;border-radius:10px;background:#303030;color:#fff;font-size:22px;touch-action:manipulation}
.editor-zoom-bar input[type=range]{flex:1;min-width:0;height:30px;accent-color:#ff8000}
.editor-zoom-bar span{min-width:30px;color:#bbb;font-size:12px;text-align:right}
.editor-edge-selection{box-shadow:none;clip-path:none}
@media(max-width:360px){.video-editor-first .vendor-editor-toolbar{gap:6px}.video-editor-first .vendor-editor-toolbar .editor-transport{gap:8px}.video-editor-first .vendor-editor-toolbar>button{font-size:12px;padding:6px}}

/* Audio bottom sheet: fixed rows, horizontal categories, compact track cards. */
#uploadVideoModal.video-editor-first .vendor-editor-panel.audio-sheet{display:block!important;height:min(68dvh,580px);min-height:360px;max-height:75dvh;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;padding:22px 20px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;overscroll-behavior:contain}
#uploadVideoModal .audio-sheet button{flex:none;margin:0;font-family:inherit;font-size:14px;line-height:20px;min-height:44px;touch-action:manipulation}
.audio-sheet-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
#uploadVideoModal .audio-sheet-header h2{margin:0;font-size:22px;font-weight:700}
#uploadVideoModal .audio-sheet .audio-close{position:static;width:36px;min-height:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f3f4f6;font-size:24px;display:grid;place-items:center}
.audio-main-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:28px}
#uploadVideoModal .audio-main-actions button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;padding:11px 8px;border:0;border-radius:12px;font-weight:650;white-space:nowrap}
#uploadVideoModal .audio-upload-action{background:#ff8000;color:#171717}
#uploadVideoModal .audio-sound-action{background:#f3f4f6;color:#28323c}
.audio-main-actions svg{width:20px;height:20px;flex-shrink:0}
#uploadVideoModal .audio-sheet .audio-library{display:block;margin:0 0 20px;padding:0}
.audio-library-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
#uploadVideoModal .audio-library-head h3{font-size:18px;font-weight:700;margin:0}
#uploadVideoModal .audio-view-all{background:transparent;border:0;padding:4px;color:#737982;font-size:13px;font-weight:500;min-height:32px}
.audio-filter-tabs{display:flex;gap:9px;overflow-x:auto;white-space:nowrap;margin-bottom:16px;padding-bottom:3px;scrollbar-width:none}
#uploadVideoModal .audio-filter-tab{flex:0 0 auto;border:0;border-radius:22px;background:#f3f4f6;color:#747982;padding:9px 16px;min-height:38px;font-size:13px;font-weight:650}
#uploadVideoModal .audio-filter-tab.active{background:#202020;color:#fff}
.audio-track-list{display:grid;gap:12px;min-width:0}
.audio-library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid #e8eaed;border-radius:16px;padding:24px 18px;text-align:center;min-height:140px}
.audio-library-empty>span{color:#ff8000}.audio-library-empty strong{font-size:15px}.audio-library-empty p{margin:0;font-size:13px;line-height:1.5;max-width:260px;color:#858b93}
#uploadVideoModal .audio-empty-upload{border:0;background:#fff0df;color:#9b4b00;border-radius:10px;padding:9px 16px;font-size:13px}
.audio-track-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 38px;align-items:center;gap:12px;padding:14px 14px 30px;border:1px solid #e5e8ec;border-radius:14px;overflow:hidden}
#uploadVideoModal .audio-track-preview{width:42px;min-height:42px;height:42px;border:0;border-radius:50%;padding:0;background:#202020;color:#fff;z-index:1}
.audio-track-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.audio-track-copy strong{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.audio-track-copy small{font-size:12px;color:#89909a}
#uploadVideoModal .audio-track-added{width:38px;min-height:38px;height:38px;background:#ff8000;color:#171717;border:0;border-radius:10px;padding:0;font-size:20px}
.audio-track-wave{position:absolute;bottom:0;left:0;width:100%;height:24px;color:#c8cdd4;pointer-events:none}
.audio-selected-controls{display:grid;gap:8px;padding:4px 2px}.audio-selected-controls label{font-size:13px!important}.audio-selected-controls input[type=range]{margin:8px 0!important;accent-color:#ff8000}
#uploadVideoModal .audio-remove-music{justify-self:start;background:transparent;border:0;color:#c44837;padding:4px;min-height:32px;font-size:13px}
#uploadVideoModal .audio-done{display:block;width:100%;background:#202020;color:#fff;border:0;border-radius:12px;padding:12px;min-height:46px;font-weight:650}

#uploadVideoModal.video-editor-first .vendor-editor-panel.audio-sheet{height:auto;min-height:240px;max-height:68dvh;padding-top:12px}
.audio-sheet-grip{width:36px;height:4px;background:#dfe2e6;border-radius:4px;margin:0 auto 20px}
#uploadVideoModal .audio-sheet-header{margin-bottom:20px}
#uploadVideoModal .audio-sheet-header h2{font-size:21px;letter-spacing:-.3px}
#uploadVideoModal .audio-filter-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;border-radius:14px;background:#f3f4f6;margin:0 0 18px;overflow:visible}
#uploadVideoModal .audio-filter-tab{width:100%;min-height:42px;padding:10px 4px;border-radius:10px;background:transparent;color:#707782;font-size:14px;font-weight:650}
#uploadVideoModal .audio-filter-tab.active{background:#fff;color:#e66f00;box-shadow:0 1px 4px #14203314}
#uploadVideoModal .audio-filter-tab:focus-visible{outline:2px solid #ff8000;outline-offset:1px}
.audio-catalog-note{margin:18px 0 6px!important;text-align:center;font-size:13px!important;color:#9197a0!important;line-height:1.5}
#uploadVideoModal .audio-library{margin-bottom:0!important}
.video-editor-first .audio-track-card{grid-template-columns:56px minmax(0,1fr) 40px;gap:12px;align-items:center}.video-editor-first .audio-track-preview{position:relative;width:56px;height:56px;border-radius:14px;overflow:hidden;background:#292929;color:#fff;isolation:isolate}.audio-track-preview img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.audio-cover-initials{display:grid;place-items:center;width:100%;height:100%;font-size:24px;font-weight:700;background:#ffe8cc;color:#99510a}.audio-cover-play{position:absolute;inset:0;display:grid;place-items:center;background:#0004;color:white;font-size:18px;text-shadow:0 1px 3px #000}.video-editor-first .audio-track-copy small{display:block}.video-editor-first .audio-track-add,.video-editor-first .audio-retry{min-width:40px;min-height:40px;border:0;border-radius:12px;background:#ff8700;color:#161616;font-size:25px;font-weight:700}.video-editor-first .audio-retry{font-size:14px;padding:10px 16px}.video-editor-first .audio-track-add:disabled{opacity:.55}.video-editor-first .audio-track-list{display:grid;gap:12px}.video-editor-first .audio-track-copy strong{white-space:normal;overflow-wrap:anywhere}
/* Compact audio picker and independent original-video mute. */
#uploadVideoModal.video-editor-first .vendor-editor-panel.audio-sheet{min-height:0;height:auto;max-height:62dvh;padding:10px 14px calc(14px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}
#uploadVideoModal .audio-sheet-grip{width:30px;height:3px;margin:0 auto 8px}
#uploadVideoModal .audio-sheet-header{margin-bottom:10px}
#uploadVideoModal .audio-sheet-header h2{font-size:18px;line-height:1.3;letter-spacing:0}
#uploadVideoModal .audio-sheet .audio-close{width:40px;height:40px;min-height:40px;font-size:22px}
#uploadVideoModal .audio-filter-tabs{padding:3px;gap:3px;border-radius:11px;margin-bottom:10px}
#uploadVideoModal .audio-filter-tab{min-height:36px;padding:6px 4px;font-size:14px;line-height:20px;border-radius:8px}
#uploadVideoModal .audio-track-card{grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;padding:10px 10px 24px;border-radius:12px}
#uploadVideoModal .audio-track-preview{width:44px;height:44px;min-height:44px;border-radius:11px}
#uploadVideoModal .audio-cover-initials{font-size:20px}
#uploadVideoModal .audio-cover-play{font-size:16px}
#uploadVideoModal .audio-track-copy{gap:2px}
#uploadVideoModal .audio-track-copy strong{font-size:14px;line-height:18px}
#uploadVideoModal .audio-track-copy small{font-size:12px;line-height:16px}
#uploadVideoModal .audio-track-add,#uploadVideoModal .audio-track-added{width:44px;height:44px;min-height:44px;padding:0;font-size:21px;border-radius:10px}
#uploadVideoModal .audio-track-wave{height:16px}
#uploadVideoModal .audio-track-list{gap:8px}
#uploadVideoModal .audio-selected-controls{gap:4px;padding:4px 0}
#uploadVideoModal .audio-selected-controls label{font-size:14px!important}
#uploadVideoModal .audio-selected-controls input[type=range]{margin:4px 0!important}
#uploadVideoModal.video-editor-first .vendor-editor-toolbar{gap:6px;margin:10px 0 6px;flex-wrap:wrap}
#uploadVideoModal.video-editor-first .vendor-editor-toolbar>button{min-height:44px;padding:6px;font-size:13px;gap:5px;border-radius:10px}
#uploadVideoModal.video-editor-first .vendor-editor-toolbar>button svg{width:20px;height:20px}
#uploadVideoModal.video-editor-first .editor-video-mute[aria-pressed=true]{background:#ff800026;color:#ffac4d}
#uploadVideoModal.video-editor-first .vendor-editor-toolbar .editor-transport{gap:8px;flex:1 1 128px}
@media(max-width:350px){#uploadVideoModal.video-editor-first .vendor-editor-toolbar .editor-transport{flex-basis:100%}}
/* Sound-library list: compact covers and two text lines, like the supplied reference. */
#uploadVideoModal.video-editor-first .vendor-editor-panel.audio-sheet{padding:8px 12px calc(10px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;max-height:55dvh}
#uploadVideoModal .audio-sheet-grip{margin-bottom:6px}
#uploadVideoModal .audio-sheet-header{position:absolute;right:10px;top:15px;margin:0;width:40px;height:40px}
#uploadVideoModal .audio-sheet-header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#uploadVideoModal .audio-sheet .audio-close{background:transparent;width:40px;height:40px;min-height:40px;font-size:22px}
#uploadVideoModal .audio-filter-tabs{display:flex;gap:20px;justify-content:flex-start;margin:0 -12px;padding:0 56px 0 16px;border-radius:0;background:#fff;border-bottom:1px solid #eceef0;overflow:visible}
#uploadVideoModal .audio-filter-tab{flex:0 1 auto;width:auto;min-height:44px;padding:10px 0 9px;border-radius:0;background:transparent;color:#85888c;font-size:14px;line-height:24px;white-space:nowrap;border-bottom:2px solid transparent}
#uploadVideoModal .audio-filter-tab.active{background:transparent;box-shadow:none;color:#202020;border-bottom-color:#ff8000}
#uploadVideoModal .audio-track-list{gap:0}
#uploadVideoModal .audio-track-card{grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;padding:10px 0;min-height:64px;border:0;border-bottom:1px solid #eceef0;border-radius:0;overflow:hidden;background:transparent}
#uploadVideoModal .audio-track-card:last-child{border-bottom:0}
#uploadVideoModal .audio-track-preview{width:44px;height:44px;min-height:44px;border-radius:6px}
#uploadVideoModal .audio-track-copy{gap:4px}
#uploadVideoModal .audio-track-copy strong{font-size:14px;line-height:18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#uploadVideoModal .audio-track-copy small{font-size:12px;line-height:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#73777c}
#uploadVideoModal .audio-track-wave{display:none}
#uploadVideoModal .audio-track-add,#uploadVideoModal .audio-track-added{background:transparent;color:#e97700;border:0;border-radius:8px;width:44px;height:44px;min-height:44px;font-size:24px}
#uploadVideoModal .audio-selected-controls{border-top:1px solid #eceef0;padding:10px 0 0;gap:4px}
#uploadVideoModal.video-editor-first .editor-transport span{color:#f5f5f5}
#uploadVideoModal.video-editor-first .editor-filmstrip{background:#626a70}
#uploadVideoModal .audio-track-add{font-size:30px;font-weight:650;background:#fff0dd;color:#e87500;width:46px;height:46px;min-height:46px}
#uploadVideoModal .audio-track-card{grid-template-columns:44px minmax(0,1fr) 46px}
#uploadVideoModal button.audio-track-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:44px;width:100%;padding:0;border:0;border-radius:0;background:transparent;text-align:left;color:#202b39}
#uploadVideoModal button.audio-track-copy strong,#uploadVideoModal button.audio-track-copy small{max-width:100%}
#uploadVideoModal .audio-volume-sheet .audio-sheet-header{position:static;width:auto;height:auto;margin-bottom:8px}
#uploadVideoModal .audio-volume-sheet .audio-sheet-header h2{position:static;width:auto;height:auto;clip-path:none;overflow:visible;font-size:18px}
#uploadVideoModal .audio-volume-track{font-size:14px;line-height:20px;margin:0 0 16px;color:#73777c;overflow-wrap:anywhere}
#uploadVideoModal .audio-volume-label{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}
#uploadVideoModal .audio-volume-label label{font-size:14px;margin:0;color:#202b39}
#uploadVideoModal .audio-volume-label output{font-size:14px;color:#73777c;font-variant-numeric:tabular-nums}
#uploadVideoModal .audio-volume-controls input[type=range]{width:100%;height:36px;margin:8px 0;accent-color:#ff8000}
#uploadVideoModal .audio-volume-sheet .audio-remove-music{font-size:14px;min-height:44px}

.thumbnail-frame-row .thumbnail-upload{height:84px;color:#dc7000;font-size:28px;background:#f4f5f7}
/* The desktop product dialog fits the whole thumbnail, including 3:4 suggestions. */
@media(min-width:1100px){
 .device #categoryProductModal .category-product-video-surface:has(img.category-product-video){align-self:stretch;display:grid;place-items:center;width:100%;height:100%;min-height:0;background:#f4f5f7}
 .device #categoryProductModal .category-product-video-surface img.category-product-video{display:block;width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;background:#f4f5f7;border-radius:12px}
}

/* Keep the music tabs and close button visible while browsing songs. */
#uploadVideoModal.video-editor-first .vendor-editor-panel.audio-sheet:not(.audio-volume-sheet){display:flex!important;flex-direction:column;height:55dvh;max-height:55dvh;overflow:hidden;min-height:0}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-sheet-grip{flex:0 0 auto}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-library{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;overflow:hidden}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-filter-tabs{flex:0 0 auto;margin-left:0;margin-right:0;padding-left:4px;background:#fff}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-track-list{display:block;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
/* Shared page loader: orange and charcoal dots, centered in the content. */
.shopril-page-loading{position:relative!important;display:block!important;width:100%!important;box-sizing:border-box;min-height:180px;margin:0!important;padding:0!important;font-size:0!important;color:transparent!important;text-shadow:none!important;flex:1}.shopril-page-loading:before,.shopril-page-loading:after{content:"";position:absolute;left:calc(50% - 10px);top:calc(50% - 27px);width:20px;height:20px;border-radius:50%;background:#ff8000;animation:shoprilDotOrbit 1.1s ease-in-out infinite}.shopril-page-loading:after{top:calc(50% + 5px);background:#202c3b;animation-delay:-.55s}#accountInfoContent>.shopril-page-loading:only-child,#inboxList>.shopril-page-loading:only-child,#chatScroll>.shopril-page-loading:only-child{min-height:calc(100svh - 140px)}@media(prefers-reduced-motion:reduce){.shopril-page-loading:before,.shopril-page-loading:after{animation:none}}

#videoLoadStatus.is-loading-text{font-size:0;line-height:0}

.shopril-ad-card{background:#fff!important}.shopril-ad-card>img{display:block;width:100%;height:100%;object-fit:cover}

.rider-incoming-overlay{background:radial-gradient(ellipse at 50% 25%,#344356 0,#202c3b 50%,#16202c 100%);color:#fff;padding:32px 24px calc(24px + env(safe-area-inset-bottom));gap:4px}
.rider-incoming-overlay>small:first-child{color:#ffa44c;letter-spacing:.16em;font-size:12px;font-weight:800;margin-bottom:20px}
.rider-incoming-overlay>img{width:132px;height:132px;object-fit:cover;border-radius:50%;border:5px solid #ff8000;box-shadow:0 0 0 12px #ff80001c;margin:20px 0 26px;animation:rider-call-pulse 2s ease-out infinite}
.rider-incoming-overlay h2{font-size:28px;line-height:1.2;max-width:440px;color:#fff}.rider-incoming-overlay p{color:#d4dce5;font-size:15px;max-width:440px;line-height:1.5}.rider-incoming-overlay>small{color:#adbaca}
.rider-offer-countdown{color:#ffb46b;padding:8px 18px;border:1px solid #ff800055;border-radius:30px;font-size:15px;font-variant-numeric:tabular-nums;margin:16px 0}
.rider-offer-accept{background:#ff8000;color:#182431;border-radius:30px;padding:18px;box-shadow:0 8px 25px #0003}.rider-offer-reject{background:#ffffff08;border:1px solid #ff8d8d66;color:#ffb6b6;border-radius:30px;padding:15px}
.rider-offer-later{background:transparent;color:#d4dce5;padding:10px;font-size:14px;text-decoration:underline;text-underline-offset:4px}.rider-call-help{max-width:320px;font-size:12px!important;line-height:1.5}
@keyframes rider-call-pulse{50%{box-shadow:0 0 0 24px #ff800000}}@media(prefers-reduced-motion:reduce){.rider-incoming-overlay>img{animation:none}}

/* Incoming delivery: a compact calling screen with a clear two-stop route. */
.rider-incoming-overlay.rider-call-screen{justify-content:flex-start;gap:0;padding: max(20px,env(safe-area-inset-top)) 22px max(16px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 15%,#354252,#202c3b 55%,#151e29);overflow-y:auto}
.rider-call-screen>*{flex-shrink:0;box-sizing:border-box;width:min(100%,420px)}
.rider-call-header{display:flex;align-items:center;justify-content:space-between;padding:8px 0 24px;color:#c6cfd9;font-size:12px}.rider-call-header strong{font-size:20px;color:#ff982f;letter-spacing:-.6px}.rider-call-header span{border:1px solid #ffffff25;border-radius:20px;padding:7px 11px}
.rider-call-hero{text-align:center;padding:8px 0 22px}.rider-call-portrait{width:104px;height:104px;margin:0 auto 22px;padding:5px;border-radius:50%;border:1px solid #ff982f;box-shadow:0 0 0 9px #ff800010;animation:rider-call-pulse 2s ease-out infinite}.rider-call-portrait img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.rider-call-hero>small{font-size:10px;letter-spacing:2px;color:#b4bfcb}.rider-call-screen .rider-call-hero h2{font-size:25px;line-height:1.2;margin:8px 0 0;overflow-wrap:anywhere}
.rider-call-details{text-align:left;background:#ffffff08;border:1px solid #ffffff14;border-radius:22px;padding:18px 20px}.rider-call-product{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #ffffff15;padding-bottom:14px;margin-bottom:16px}.rider-call-product strong{font-size:15px;line-height:1.4}.rider-call-product span{font-size:12px;color:#aab7c6}.rider-call-stop{display:flex;align-items:flex-start;gap:14px;position:relative;padding:0 0 22px}.rider-call-stop:nth-child(3){padding-bottom:16px}.rider-call-stop:nth-child(2):after{content:"";position:absolute;top:15px;bottom:3px;left:5px;border-left:1px dashed #8390a0}.rider-call-stop-dot{width:11px;height:11px;border:2px solid #ff982f;border-radius:50%;margin-top:5px;flex-shrink:0}.rider-call-stop:nth-child(3) .rider-call-stop-dot{background:#ff982f;border-radius:3px}.rider-call-stop div{display:flex;flex-direction:column;gap:4px;min-width:0}.rider-call-stop small{color:#9caebf;font-size:11px}.rider-call-stop strong{color:#edf1f5;font-size:15px;line-height:1.4;overflow-wrap:anywhere}.rider-call-payment{display:block;color:#aab7c6;font-size:11px;border-top:1px solid #ffffff15;padding-top:12px}.rider-call-screen .rider-call-detour{font-size:12px;margin:12px 0 0}
.rider-call-screen .rider-offer-countdown{border:0;border-radius:0;background:linear-gradient(#ff982f,#ff982f) left bottom/var(--call-progress,100%) 2px no-repeat;color:#ffc182;font-size:13px;font-weight:600;padding:16px 0 12px;margin:8px 0 20px;transition:background-size 1s linear}
.rider-call-actions{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:auto;padding-top:4px}.rider-call-screen .rider-call-actions button{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;padding:0;margin:0;border:0;background:transparent;color:#fff;box-shadow:none;font-size:14px;font-weight:600;border-radius:16px}.rider-call-action-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;font-size:32px;line-height:1;background:#ff8000;color:#182431;box-shadow:0 6px 20px #0002}.rider-offer-reject .rider-call-action-icon{background:#e34955;color:#fff}.rider-call-actions button:focus-visible{outline:2px solid #fff;outline-offset:6px}.rider-call-actions button:disabled{opacity:.5}.rider-call-screen .rider-offer-later{margin:16px 0 4px;border:0;min-height:36px;font-size:12px}.rider-call-screen .rider-call-help{font-size:10px!important;margin:0;color:#94a4b6;max-width:320px;line-height:1.4}
@media(max-height:700px){.rider-call-header{padding-bottom:12px}.rider-call-hero{padding:0 0 14px}.rider-call-portrait{width:78px;height:78px;margin-bottom:16px}.rider-call-details{padding:14px 16px}.rider-call-stop{padding-bottom:15px}.rider-call-screen .rider-offer-countdown{margin-bottom:12px;padding-top:10px}.rider-call-action-icon{width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){.rider-call-portrait{animation:none}.rider-call-screen .rider-offer-countdown{transition:none}}
/* Rider navigation uses the entire app viewport; system bars stay outside it. */
.rider-navigation-surface{position:fixed;inset:0;z-index:1800;background:#e9ecef;color:#202c3b;isolation:isolate;height:100dvh;box-sizing:border-box}
.rider-navigation-map{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.rider-navigation-head{position:absolute;z-index:500;top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;display:flex;align-items:center;gap:12px;padding:14px;background:#fff;box-shadow:0 5px 22px #202c3b20;border-radius:18px;text-align:left}
.rider-navigation-head>div{min-width:0}.rider-navigation-head small{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#d16a00}.rider-navigation-head h2{font-size:20px!important;line-height:1.25;margin:4px 0!important;overflow-wrap:anywhere}.rider-navigation-head p{font-size:12px;line-height:1.4;color:#697581;margin:0;max-height:34px;overflow:auto}
.rider-navigation-back{border:0;background:#f3f4f5;color:#202c3b;width:40px;height:44px;flex-shrink:0;border-radius:12px;font-size:30px;display:grid;place-items:center}
.rider-navigation-footer{position:absolute;bottom:0;left:0;right:0;z-index:500;background:#fff;border-radius:22px 22px 0 0;padding:12px 20px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #202c3b15}
.rider-navigation-status{font-size:13px;text-align:center;margin:0 0 10px;color:#667380;line-height:1.4;max-height:42px;overflow:auto}
.rider-navigation-primary{display:block;width:100%;border:0;border-radius:14px;padding:17px 12px;min-height:56px;font-size:17px;font-weight:800;background:#ff8000;color:#202c3b}.rider-navigation-primary:disabled{opacity:.5}
.rider-navigation-surface .leaflet-bottom{bottom:calc(122px + env(safe-area-inset-bottom))}.rider-navigation-surface .leaflet-control-attribution{font-size:9px!important;max-width:75vw;line-height:1.5}
.rider-map-contact-bubble{position:absolute;z-index:600;width:56px;height:56px;display:grid;place-items:center;border:3px solid #fff;background:#202c3b;border-radius:50%;color:#fff;box-shadow:0 4px 18px #202c3b40;touch-action:none;cursor:grab;padding:12px}.rider-map-contact-bubble:active{cursor:grabbing}.rider-map-contact-bubble svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rider-map-code-panel{position:absolute;z-index:550;left:50%;top:48%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 48px));box-sizing:border-box;background:#fff;text-align:center;border-radius:22px;padding:24px;box-shadow:0 12px 50px #202c3b30}.rider-map-code-symbol,.tracking-arrival-symbol{display:grid;place-items:center;width:48px;height:48px;background:#fff0dd;color:#de7100;border-radius:50%;font-size:25px;margin:0 auto 12px}.rider-map-code-panel h3{font-size:21px;margin:0 0 8px}.rider-map-code-panel p{font-size:13px;line-height:1.5;color:#6b7580;margin:0 0 18px}.rider-map-code-panel input{width:100%;box-sizing:border-box;padding:14px 10px;border:1px solid #ccd2d8;border-radius:12px;background:#f6f7f8;color:#202c3b;text-align:center;font-size:24px;letter-spacing:5px;outline-color:#ff8000}.rider-map-code-panel input::placeholder{font-size:16px;letter-spacing:0}
.rider-contacts-backdrop{position:fixed;inset:0;z-index:3200;background:#111b2866;display:flex;align-items:flex-end;justify-content:center;padding:12px 12px calc(12px + env(safe-area-inset-bottom));box-sizing:border-box}
.rider-contacts-panel{background:#fff;border-radius:24px;width:min(100%,480px);max-height:calc(85dvh - env(safe-area-inset-top));padding:20px;box-sizing:border-box;overflow:auto;color:#202c3b;box-shadow:0 12px 50px #0002}.rider-contacts-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.rider-contacts-panel h2{font-size:21px;margin:0}.rider-contacts-close{width:40px;height:40px;border:0;background:#f1f3f5;border-radius:50%;font-size:26px;color:#202c3b}.rider-contact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #eceef0}.rider-contact-row>div:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}.rider-contact-row small{font-size:11px;color:#d76d00;font-weight:700}.rider-contact-row strong{font-size:15px;overflow-wrap:anywhere}.rider-contact-row span{color:#74808b;font-size:12px}.rider-contact-actions{display:flex;gap:6px;flex-shrink:0}.rider-contact-actions a,.rider-contact-actions button{font-family:inherit;font-size:12px;font-weight:700;color:#202c3b;background:#fff0dd;border:0;border-radius:10px;padding:11px;text-decoration:none;min-height:40px;box-sizing:border-box}.rider-contact-actions button{background:#202c3b;color:#fff}
.rider-chat-back{padding:8px 0;border:0;background:none;color:#d96f00;font-size:12px}.rider-route-messages{height:40dvh;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:14px 0}.rider-route-bubble{align-self:flex-start;border-radius:15px 15px 15px 3px;padding:11px 14px;background:#f0f2f4;max-width:85%;font-size:14px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.rider-route-bubble.me{align-self:flex-end;background:#fff0dd;border-radius:15px 15px 3px 15px}.rider-route-bubble small{display:block;color:#85909a;font-size:10px;text-align:right;margin-top:5px}.rider-route-composer{display:flex;gap:10px;border-top:1px solid #eceef0;padding-top:12px}.rider-route-composer textarea{flex:1;min-width:0;padding:12px;border:1px solid #d9dfe4;border-radius:12px;font:inherit;font-size:14px;resize:none;max-height:100px}.rider-route-composer button{border:0;border-radius:12px;padding:12px;background:#ff8000;font-weight:800;color:#202c3b}
.tracking-arrival-code{background:#fff8ee;border:1px solid #ffe2bb;border-radius:22px;padding:32px 24px;text-align:center;margin:20px 0}.tracking-arrival-code[hidden]{display:none}.tracking-arrival-code h3{font-size:22px;margin:0 0 12px}.tracking-arrival-code p{font-size:14px;line-height:1.5;color:#737c85}.tracking-code-number{display:block;font-size:38px;letter-spacing:7px;font-variant-numeric:tabular-nums;color:#202c3b;margin:20px 0}
.rider-call-route-symbol{display:grid;place-items:center;height:100%;font-size:46px;color:#ff982f}.rider-call-details .rider-call-stop:first-child:after{content:"";position:absolute;top:15px;bottom:3px;left:5px;border-left:1px dashed #8390a0}.rider-call-details .rider-call-stop:nth-child(2){padding-bottom:16px}.rider-call-details .rider-call-stop:nth-child(2):after{display:none}.rider-call-details .rider-call-stop:nth-child(2) .rider-call-stop-dot{background:#ff982f;border-radius:3px}
@media(min-width:800px){.rider-navigation-head{max-width:460px;left:24px;top:24px;right:auto;width:calc(100% - 48px)}.rider-navigation-footer{max-width:460px;left:50%;transform:translateX(-50%);bottom:20px;border-radius:22px}.rider-navigation-surface .leaflet-bottom{bottom:20px}.rider-contacts-backdrop{align-items:center}}
@media(max-height:600px){.rider-map-code-panel{padding:15px;top:48%}.rider-map-code-symbol{display:none}.rider-map-code-panel p{margin-bottom:10px}.rider-navigation-head{padding:10px}.rider-navigation-footer{padding-top:8px}}

/* Music covers and a compact, aligned song picker. */
#uploadVideoModal .audio-track-card{grid-template-columns:48px minmax(0,1fr) 44px;gap:12px;min-height:76px;padding:12px 0;box-sizing:border-box}
#uploadVideoModal .audio-track-preview{position:relative;width:48px;height:48px;min-height:48px;padding:0;border:0;border-radius:10px;background:#202b39;overflow:hidden;isolation:isolate}
.song-cover-art{position:absolute;inset:0;display:block;background-repeat:no-repeat;background-color:#202b39;background-size:400% 400%;overflow:hidden}
#uploadVideoModal .audio-track-preview .song-cover-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#uploadVideoModal .audio-cover-play{inset:auto 3px 3px auto;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#111c;font-size:10px;text-shadow:none;color:#fff;box-shadow:0 0 0 1px #ffffff99}
#uploadVideoModal button.audio-track-copy{min-width:0;gap:5px}
#uploadVideoModal button.audio-track-copy strong{font-size:14px;line-height:18px;font-weight:650;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#uploadVideoModal button.audio-track-copy small{display:flex;align-items:center;gap:10px;width:100%;font-size:12px;line-height:16px;font-weight:400;color:#70757d}
.audio-track-artist{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.audio-track-duration{flex:0 0 auto;font-variant-numeric:tabular-nums;font-size:11px}
#uploadVideoModal .audio-track-add,#uploadVideoModal .audio-track-added{width:44px;height:44px;min-height:44px;border-radius:12px;font-size:24px;background:#fff0dd;color:#db7100}
#uploadVideoModal .audio-track-added{background:#ff8000;color:white}
#uploadVideoModal .has-selected-song .audio-track-copy strong{color:#c26000}
#uploadVideoModal .audio-track-preview:focus-visible,#uploadVideoModal .audio-track-add:focus-visible{outline:2px solid #ff8000;outline-offset:3px}

/* Use the same full-width music library layout in every category. */
#uploadVideoModal.video-editor-first .vendor-editor-panel.audio-sheet:not(.audio-volume-sheet){align-items:stretch;gap:0;width:100%;max-width:100%;margin:0;left:0;right:0;box-sizing:border-box}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-sheet-grip{align-self:center;margin:0 auto 6px}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-library{align-self:stretch;width:100%;max-width:none;margin:0!important;padding:0;box-sizing:border-box}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-filter-tabs{align-self:stretch;width:100%;max-width:none;margin:0;padding:0 44px 0 4px;box-sizing:border-box;justify-content:flex-start}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-track-list{align-self:stretch;width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box}

/* The sheet is a child of upload progress; never inherit its row wrapping. */
#uploadVideoModal.video-editor-first .video-upload-progress>.vendor-editor-panel.audio-sheet:not(.audio-volume-sheet){flex-flow:column nowrap!important;justify-content:flex-start;align-content:stretch;gap:0}
#uploadVideoModal .audio-sheet:not(.audio-volume-sheet) .audio-library{flex:1 1 0%;flex-wrap:nowrap}

/* Thumbnail choices stay visible in the product form, without captions. */
#uploadVideoModal #productMediaStep>h3{display:none}
#uploadVideoModal #productMediaStep .upload-media-fields{display:flex!important;flex-direction:column;gap:10px;margin:0}
#uploadVideoModal .thumbnail-suggestions{order:1;width:100%;margin:12px 0 0}
#uploadVideoModal .thumbnail-suggestions.has-thumbnails small{display:none}
#uploadVideoModal .thumbnail-frame-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible;padding:0}
#uploadVideoModal .thumbnail-frame-row button{min-width:0;width:100%;padding:2px;overflow:hidden}
#uploadVideoModal .thumbnail-frame-row img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
#uploadVideoModal .thumbnail-frame-row .thumbnail-upload{height:auto;aspect-ratio:3/4}
#uploadVideoModal .upload-media-fields .product-thumbnail-field{display:block!important;order:0}
#uploadVideoModal #productMediaStep .product-thumbnail-picker{width:min(100%,240px);max-width:100%;margin:0 auto}

/* Reserve the AI choice while analysis, generation and image loading finish. */
#uploadVideoModal .thumbnail-frame-row .thumbnail-ai-placeholder,#uploadVideoModal .thumbnail-frame-row .thumbnail-ai-loading{position:relative;display:grid;place-items:center;aspect-ratio:3/4;background:#f3f4f6;opacity:1}
#uploadVideoModal .thumbnail-ai-loading img{opacity:0}
#uploadVideoModal .thumbnail-ai-spinner{position:absolute;display:block;width:24px;height:24px;left:calc(50% - 12px);top:calc(50% - 12px);border:3px solid #ff800033;border-top-color:#ff8000;border-radius:50%;animation:thumbnail-ai-spin .85s linear infinite;box-sizing:border-box}
#uploadVideoModal .thumbnail-ai-placeholder.is-failed .thumbnail-ai-spinner{animation:none;border-color:#c8cdd4}
@keyframes thumbnail-ai-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#uploadVideoModal .thumbnail-ai-spinner{animation:none}}

#uploadVideoModal .thumbnail-ai-placeholder.is-failed{color:#d97900;font-size:28px}
#uploadVideoModal .thumbnail-failure-note{font-size:13px;line-height:1.4;color:#69717c;margin:10px 0 0}

/* Every Explore category remains reachable on phones and the Android web view. */
@media(max-width:1099px){
 #exploreView .explore-header{min-width:0;max-width:100%}
 #exploreView .explore-categories{flex:1 1 0;min-width:0;max-width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:18px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x;scroll-padding-inline:8px}
 #exploreView .explore-category,#exploreView .desktop-category{display:block;flex:0 0 auto;white-space:nowrap}
}

/* Compact order workspace: summary, progress, items, delivery and contextual actions. */
.vendor-order-tabs{position:sticky;top:0;z-index:2;background:#fff;padding:8px 0;margin:4px 0 12px;gap:4px}.vendor-order-tabs button{min-height:42px;padding:10px 4px;font-size:12px;white-space:nowrap}
.vendor-order-request{padding:14px;margin:10px 0;border-radius:16px;box-shadow:0 3px 14px #18202b05}.vendor-order-request .order-card-head{align-items:center;gap:12px}.vendor-order-badge{max-width:none;font-size:11px;white-space:nowrap;border-radius:20px;padding:6px 9px;background:#fff0dc;color:#915200}.vendor-order-request[data-order-state="delivered"] .vendor-order-badge{background:#e8f5ed;color:#246a41}.vendor-order-request[data-order-state="cancelled"] .vendor-order-badge{background:#fcecec;color:#a83b3b}
.vendor-request-preview{align-items:center;gap:12px;margin:14px 0}.vendor-request-preview img{width:66px;height:82px;flex:0 0 66px}.vendor-request-product-copy{min-width:0;flex:1}.vendor-request-product-copy h3{font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.vendor-request-copy{font-size:12px;margin:4px 0}.vendor-request-product-copy .vendor-request-total{font-size:13px;margin:6px 0 0}.vendor-request-meta{font-size:11px}.vendor-view-order{padding:11px;margin-top:12px;min-height:44px;font-size:14px}
#accountInfoContent:has(.vendor-order-status-panel){padding:16px 16px 30px;max-width:760px;margin:auto;box-sizing:border-box}.vendor-detail-section{padding:16px;margin-bottom:12px;border-radius:16px}.vendor-detail-section h3{font-size:16px;margin-bottom:12px}.vendor-order-status-panel{background:linear-gradient(120deg,#fff4e5,#fff);border-color:#f4dfc4}.vendor-detail-heading{font-size:19px!important;line-height:1.35}.vendor-order-status-panel>p{font-size:12px;margin:6px 0 16px}.order-progress{list-style:none;display:flex;margin:18px 0 0;padding:0;gap:0}.order-progress li{position:relative;flex:1;font-size:10px;text-align:center;color:#888;padding-top:22px;line-height:1.4}.order-progress li:before{content:'';position:absolute;top:4px;left:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:#ddd;z-index:1}.order-progress li:not(:last-child):after{content:'';position:absolute;top:8px;left:50%;width:100%;height:2px;background:#ddd}.order-progress li.complete:before,.order-progress li.complete:after{background:#ff8000}.order-progress li.current{color:#a45b00;font-weight:750}.order-progress li.current:before{background:#ff8000;box-shadow:0 0 0 4px #ff800020}
.vendor-detail-product{gap:12px;padding:12px 0;align-items:flex-start}.vendor-detail-product img{width:64px;height:82px}.vendor-detail-product>div{flex:1;min-width:0}.vendor-detail-product strong{font-size:14px}.vendor-detail-product p{font-size:12px;margin:4px 0}.vendor-detail-product>div>strong:last-child{display:block;margin-top:8px}.vendor-detail-section a{font-size:13px;text-decoration:none;color:#b65c00;min-height:36px;display:flex;align-items:center;margin-top:6px}.vendor-detail-total{font-size:15px}.vendor-order-actions{padding:4px 0 12px}.vendor-order-actions .delivery-note{font-size:13px;line-height:1.5;margin:4px 0 12px}.vendor-order-actions button{min-height:44px;padding:12px;font-size:14px}.vendor-back-orders{background:transparent!important;border:1px solid #e2e4e7;color:#525b65}
.order-contact-section{padding:16px 0 0;margin:12px 0 0;border-top:1px solid #edf0f3}.order-contact-section h3{font-size:13px!important;color:#68717a;margin:0 0 10px!important}.order-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-contact-button{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #e6e9ee;border-radius:12px;background:#f8f9fb;color:#202832;padding:12px;min-height:54px;box-sizing:border-box}.order-contact-button svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:#bd6400;stroke-width:1.7}.order-contact-button span{min-width:0}.order-contact-button strong{display:block;font-size:13px}.order-contact-button small{display:block;font-size:11px;margin-top:3px;color:#77808b}.order-contact-button:active{background:#fff0da;border-color:#ffa343}@media(min-width:700px){.vendor-request-preview img{width:76px;height:92px;flex-basis:76px}.vendor-request-product-copy h3{font-size:16px}.order-progress li{font-size:12px}}

.vendor-history-compact .vendor-request-preview{max-width:none;flex-wrap:nowrap;margin:14px 0;gap:12px}.vendor-history-compact .vendor-request-preview img{width:66px;height:82px;flex:0 0 66px}.vendor-history-option{display:block;font-size:11px;color:#737373;margin-top:4px}.vendor-history-compact .vendor-view-order{width:100%;margin-top:12px}

.alert-promotion-cta{display:inline-block;margin-top:10px;background:#ff8000;color:#191919;padding:10px 14px;border-radius:10px;font-size:13px;font-weight:750}

.vendor-history-tools{display:flex;justify-content:flex-end;margin:0 0 14px}.vendor-clear-history{min-height:42px;padding:10px 16px;border:1px solid #e7e7e7;border-radius:10px;background:#fff;color:#a94b00;font-size:13px;font-weight:700}.vendor-clear-history:disabled{opacity:.45;cursor:default}.vendor-clear-history:not(:disabled):active{background:#fff2e2}

/* Incoming requests remain above the full navigation map and contacts. */
.rider-incoming-overlay.rider-call-screen{z-index:4000}
