/* Compact shop (20 Nov 2026): products higher on the first screen. The h1 stays for screen readers and search engines on phones; the delivery-price note stays visible. */
@media (max-width:640px){
body.light .hline{margin:6px 0 4px}
body.light .hline h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
body.light .hline p{display:block;margin:0;font-size:12px;line-height:1.35}
body.light .cats{padding-top:2px;padding-bottom:2px}
body.light .cat.tile{width:66px;padding:4px 3px;gap:3px}
body.light .cat.tile .ti{width:40px;height:40px}
body.light .cat.tile .ti i{font-size:22px}
body.light .cat.tile .tn{font-size:11px}
body.light .csort{margin:0 0 6px}
body.light .csort .cs{padding:3px 10px;font-size:12px}
}
/* Product details never wider than the screen (20 Nov 2026: a row of seller photos stretched the column to 636px on a 360px phone) */
#pd .pd-grid{grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){#pd .pd-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}}
#pd .pd-grid>*{min-width:0}
#pd .pd-thumbs{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
#pd h1,#pd h2,#pd .pd-title,#pd .pd-sub{overflow-wrap:anywhere}
/* "Just found by GI" row restored (founder 20 Nov 2026: new products must visibly glow); one swipeable line */
body .live .lv-row{display:flex;gap:8px;overflow-x:auto;padding:6px 0 2px;scrollbar-width:none;scroll-snap-type:none}
@media (max-width:640px){body .live .lv-it{width:200px}}
/* visible "Just found by GI" label (the row's own translated aria-label) */
body .live .lv-row::before{content:"✨ " attr(aria-label);flex:none;align-self:center;font-size:12.5px;font-weight:700;color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;padding:6px 10px;white-space:nowrap}
body .live .lv-it{scroll-snap-align:none}

.live .lv-hid{font-size:12px;color:#6b7280;background:#f3f4f6;border-radius:999px;padding:2px 8px}
.lv-toast{position:fixed;left:50%;bottom:18px;transform:translate(-50%,140%);z-index:70;display:flex;gap:10px;align-items:center;max-width:min(92vw,420px);background:#0f172a;color:#fff;border:0;border-radius:14px;padding:8px 14px 8px 8px;box-shadow:0 10px 30px rgba(0,0,0,.3);font:inherit;text-align:start;cursor:pointer;transition:transform .35s ease}
.lv-toast.on{transform:translate(-50%,0)}
.lv-toast img{width:44px;height:44px;border-radius:8px;object-fit:cover;background:#fff;flex:none}
.lv-toast span{display:flex;flex-direction:column;min-width:0}.lv-toast b{font-size:13px;color:#86efac}
.lv-toast em{font-style:normal;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (prefers-reduced-motion:reduce){.lv-toast{transition:none}}
@media (max-width:640px){body .live .lv-upd{display:none}body .live .lv-row{padding:4px 0 0}body .live .lv-hid{font-size:11.5px;line-height:1.3}}
