.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:root{
  --jy:#e51f2f;--jy-dark:#c91424;--ink:#17202a;--muted:#6e7782;--line:#e8ebef;--bg:#f5f5f6;--card:#fff;
  --max:1500px;--radius:14px;--shadow:0 2px 10px rgba(15,23,42,.045);--shadow-lg:0 12px 34px rgba(15,23,42,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
img{display:block;max-width:100%}
.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}
.topbar{height:30px;background:#fff;border-bottom:1px solid #f1f2f4;color:#7b8490;font-size:11px}
.topbar .wrap{height:100%;display:flex;align-items:center;justify-content:space-between}
.toplinks{display:flex;align-items:center;gap:17px}
.toplinks a:hover{color:var(--jy)}.lang-switch{display:flex;align-items:center;gap:6px}.lang-switch a{font-weight:600}.lang-switch a.active{color:var(--jy);font-weight:800}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.98);backdrop-filter:blur(10px);border-bottom:1px solid #eceef1}
.headrow{height:88px;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;min-width:220px}.brand img{height:56px;width:auto;max-width:190px;object-fit:contain;object-position:left center}
.brand-badge{width:56px;height:56px;border-radius:12px;background:var(--jy);display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 20px rgba(229,31,47,.20)}
.brand-badge img{width:100%;height:100%;object-fit:cover}.brand-letters{color:#fff;font-size:28px;font-weight:800;letter-spacing:-.06em}
.brand-word{font-size:32px;line-height:1;font-weight:800;letter-spacing:-.04em;color:var(--jy)}
.search-host{position:relative;flex:1;max-width:760px;min-width:0}.search{height:46px;width:100%;border:2px solid var(--jy);border-radius:999px;background:#fff;display:flex;overflow:hidden;box-shadow:0 2px 8px rgba(229,31,47,.06)}
.search-cat{display:flex;align-items:center;gap:6px;padding:0 16px;border-right:1px solid #edf0f2;background:#fafafa;color:#4e5864;font-size:12px;font-weight:600;white-space:nowrap}
.search input{flex:1;min-width:0;border:0;outline:0;padding:0 16px;color:#20262d}
.search input::placeholder{color:#a3a8b0}.search input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.search-submit{width:62px;border:0;background:linear-gradient(135deg,var(--jy),#d7192a);color:#fff;font-size:20px;cursor:pointer;flex:0 0 auto}.search-submit:hover{background:var(--jy-dark)}.search-clear{width:38px;border:0;background:#fff;color:#9ca3af;font-size:16px;display:none;place-items:center;cursor:pointer;flex:0 0 auto}.search-clear.visible{display:grid}.search-clear:hover{color:var(--jy)}
.actions{margin-left:auto;display:flex;align-items:center;gap:15px}.mobile-lang{display:none}
.action{display:flex;align-items:center;gap:7px;color:#38424c;font-weight:600;font-size:12px;padding:8px 0}.actions .mobile-lang{display:none}
.action i{font-size:21px}.action:hover{color:var(--jy)}
.cart{position:relative}.cart-count{position:absolute;right:-8px;top:1px;width:17px;height:17px;border-radius:99px;background:var(--jy);color:#fff;font-size:9px;font-weight:800;display:grid;place-items:center;border:2px solid #fff}
.mobile-search{display:none;padding:0 14px 12px}.mobile-search .search-host{max-width:none}.mobile-search .search{width:100%;height:42px}.search-suggest{position:absolute;left:0;right:0;top:calc(100% + 9px);z-index:90;display:none;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 22px 60px rgba(15,23,42,.16);overflow:hidden;max-height:min(560px,70vh)}.search-suggest.open{display:block}.suggest-scroll{max-height:min(560px,70vh);overflow:auto}.suggest-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 7px;color:#8a919b;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.suggest-group+.suggest-group{border-top:1px solid #f0f1f3}.suggest-item{display:flex;align-items:center;gap:10px;padding:9px 12px;color:#374151;cursor:pointer}.suggest-item:hover,.suggest-item.active{background:#fff4f5}.suggest-thumb{width:42px;height:42px;border-radius:9px;background:#f3f4f6;object-fit:cover;flex:0 0 auto}.suggest-icon{width:36px;height:36px;border-radius:9px;background:#f3f4f6;display:grid;place-items:center;color:#6b7280;font-size:18px;flex:0 0 auto}.suggest-main{min-width:0;flex:1}.suggest-title{display:block;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggest-meta{display:block;margin-top:2px;font-size:9px;color:#9198a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggest-price{font-size:11px;font-weight:800;color:var(--jy);white-space:nowrap}.recent-chips{display:flex;gap:6px;flex-wrap:wrap;padding:5px 12px 12px}.recent-chip{border:1px solid #e5e7eb;border-radius:999px;background:#fff;padding:6px 9px;font-size:10px;font-weight:600;color:#59636f;cursor:pointer}.recent-chip:hover{border-color:#f8a7af;color:var(--jy)}.suggest-empty{padding:18px 12px;color:#8b929c;font-size:11px;text-align:center}
main{padding-bottom:8px}
.hero{display:grid;grid-template-columns:205px minmax(0,1fr) 205px;gap:16px;padding-top:18px;align-items:stretch}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.sidebar{height:auto;min-height:0;padding:12px 12px 13px;overflow:hidden;display:flex;flex-direction:column}
.sidebar-title{height:35px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #f0f1f3;font-size:13px;font-weight:700;flex:0 0 auto}
.sidebar-title i{font-size:18px;color:var(--jy)}
.sidebar-list{padding-top:6px;display:grid;grid-template-rows:repeat(12,minmax(0,1fr));gap:0;flex:1;min-height:0}
.sidebar-link{min-height:0;padding:2px 7px;display:flex;align-items:center;justify-content:space-between;border-radius:6px;font-size:11.4px;color:#59636f;transition:.18s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-link i{font-size:11px;opacity:0}.sidebar-link:hover{background:#fff1f2;color:var(--jy)}.sidebar-link:hover i{opacity:1}
.hero-carousel{height:auto;aspect-ratio:1600/533;position:relative;overflow:hidden;border-radius:var(--radius);background:#fff;align-self:start}
.slide{position:absolute;inset:0;visibility:hidden;pointer-events:none;opacity:1;will-change:opacity}.slide.active{visibility:visible;pointer-events:auto}
.slide picture,.slide img{width:100%;height:100%}.slide img{object-fit:cover;object-position:center center}
.arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:40px;height:40px;border:1px solid rgba(0,0,0,.08);border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:#374151;cursor:pointer;opacity:0;transition:.2s;box-shadow:0 6px 16px rgba(15,23,42,.12)}
.hero-carousel:hover .arrow{opacity:1}.arrow.prev{left:14px}.arrow.next{right:14px}.arrow:hover{color:var(--jy);transform:translateY(-50%) scale(1.06)}
.dots{position:absolute;z-index:4;bottom:13px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.dot{border:0;padding:0;width:8px;height:8px;border-radius:99px;background:rgba(255,255,255,.66);box-shadow:0 1px 3px rgba(0,0,0,.18);cursor:pointer;transition:.25s}.dot.active{width:27px;background:var(--jy)}
.userpanel{height:auto;min-height:0;display:flex;flex-direction:column;gap:10px}
.user-card{padding:14px}
.user-head{display:flex;align-items:center;gap:11px}.avatar{width:47px;height:47px;border-radius:50%;background:#f4f5f7;display:grid;place-items:center;color:#9ba2ab;font-size:25px}
.user-welcome{font-size:10px;color:#9299a3;margin-bottom:3px}.user-title{font-size:13px;font-weight:700;line-height:1.25}
.auth{display:flex;gap:7px;margin-top:11px}.btn{border:0;border-radius:7px;padding:7px 11px;font-size:10px;font-weight:700}.btn-red{background:var(--jy);color:#fff}.btn-light{background:#f2f4f6;color:#4d5661}
.jy-tools{padding:13px;flex:1;overflow:hidden}.jy-tools h3{font-size:12px;margin:0 0 6px}
.tool{height:48px;border-top:1px solid #f0f1f3;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;color:#4e5864}.tool:first-of-type{border-top:0}
.tool-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:17px}.tool-icon.blue{background:#eff6ff;color:#2563eb}.tool-icon.red{background:#fff1f2;color:var(--jy)}.tool-icon.amber{background:#fff7ed;color:#ea580c}
.tool>span:last-child{margin-left:auto;color:#a6abb3}.tool-value{margin-left:auto!important;max-width:78px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#374151!important;font-size:10px;font-weight:800}.userpanel.is-auth .user-card{padding:12px}.userpanel.is-auth .user-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.userpanel.is-auth .tool{height:42px}.userpanel.is-auth .jy-tools{padding-top:9px}.userpanel.is-auth .jy-tools h3{margin-bottom:2px}
.section{margin-top:18px}
.section-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.quick-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;padding:22px 20px 21px}
.quick{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;min-width:0}
.quick-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;font-size:29px;transition:transform .6s cubic-bezier(.16,1,.3,1),box-shadow .6s cubic-bezier(.16,1,.3,1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.quick:hover .quick-icon{transform:translateY(-4px);box-shadow:0 10px 22px rgba(15,23,42,.08)}
.quick b{font-size:11.8px;line-height:1.2;font-weight:700}
.q-green{background:#dcfce7;color:#0f9f58}.q-orange{background:#ffedd5;color:#ea580c}.q-red{background:#ffe4e6;color:var(--jy)}.q-blue{background:#dbeafe;color:#2563eb}
.q-cyan{background:#cffafe;color:#0891b2}.q-lime{background:#ecfccb;color:#65a30d}.q-yellow{background:#fef3c7;color:#d97706}.q-slate{background:#f1f5f9;color:#64748b}
.section-head{min-height:57px;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f1f3}
.titleline{display:flex;align-items:center;gap:10px}.section-head h2{font-size:18px;margin:0;font-weight:700;letter-spacing:-.015em}.section-head .sub{font-size:10px;color:#8a919b}
.viewall{display:flex;align-items:center;gap:4px;color:#6a717a;font-size:11px;font-weight:700}.viewall:hover{color:var(--jy)}
.flash h2{font-style:italic;font-weight:800;text-transform:uppercase;letter-spacing:-.04em}.flash-fire{font-size:23px;color:#ef4444}
.flash-clock{display:flex;align-items:center;gap:4px}.flash-clock[hidden]{display:none}.clock-box{min-width:28px;height:26px;padding:0 7px;border-radius:6px;background:#e82835;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800;box-shadow:0 4px 12px rgba(232,40,53,.16)}.clock-sep{font-size:14px;font-weight:800;color:#d91f2c}.flash-mode{margin-left:5px;font-size:9px;color:#8a919b;font-weight:700;white-space:nowrap}
.products{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:10px 16px 14px}.flash-more{display:flex;justify-content:center;padding:0 16px 16px}.flash-more button{min-width:190px;border:1px solid #d8dde3;border-radius:8px;background:#fff;padding:10px 18px;font-size:11px;font-weight:700;color:#4d5661;cursor:pointer;transition:transform .45s cubic-bezier(.16,1,.3,1),border-color .3s ease,color .3s ease}.flash-more button:hover{border-color:var(--jy);color:var(--jy);transform:translateY(-2px)}.flash-more button[hidden]{display:none}
.product{background:#fff;border:1px solid #eceef1;border-radius:10px;overflow:hidden;transition:transform .7s cubic-bezier(.16,1,.3,1),box-shadow .7s cubic-bezier(.16,1,.3,1),border-color .3s ease;min-width:0;will-change:transform}.product:hover{border-color:#ff8793;box-shadow:0 16px 34px rgba(15,23,42,.10);transform:translateY(-5px)}
.product-img{position:relative;aspect-ratio:1;overflow:hidden;background:#f3f4f6}.product-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.16,1,.3,1)}.product:hover .product-img img{transform:scale(1.025)}
.discount{position:absolute;left:8px;top:8px;z-index:2;background:#facc15;color:#7c2d12;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:800;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.product-body{padding:10px}.product-name{font-size:11px;line-height:1.38;height:31px;overflow:hidden;margin:0 0 7px;color:#3c4650}
.price{display:flex;align-items:baseline;gap:5px;color:var(--jy)}.price .rm{font-size:9px;font-weight:700}.price strong{font-size:18px}.price del{font-size:9px;color:#a0a6ae}
.product-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:8px;font-size:9px;color:#89919b}.shopname{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}
.progress{height:13px;border-radius:99px;background:#fee2e2;overflow:hidden;position:relative;margin-top:8px}.progress span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#ef4444,#fb6b1a)}.progress b{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:7px;letter-spacing:.02em;text-shadow:0 1px 1px rgba(0,0,0,.35)}
.category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:19px 10px;padding:19px 12px 21px}
.category{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;min-width:0}.category-icon{width:64px;height:64px;border-radius:18px;background:var(--cat-bg,#fff4df);display:grid;place-items:center;font-size:31px;box-shadow:0 8px 20px rgba(15,23,42,.06);border:1px solid #fff;transition:transform .6s cubic-bezier(.16,1,.3,1),box-shadow .6s cubic-bezier(.16,1,.3,1)}.category-icon .category-svg{width:31px;height:31px;object-fit:contain}.category-icon>img:not(.category-svg){width:100%;height:100%;object-fit:contain;border-radius:18px}
.category:hover .category-icon{transform:translateY(-4px)}.category-icon img{width:100%;height:100%;object-fit:contain;border-radius:18px}
.category b{font-size:10px;line-height:1.18;max-width:130px}
.mall-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}.mall-title{display:flex;align-items:center;gap:8px}.mall-title h2{font-size:19px;margin:0}.trusted{display:inline-flex;align-items:center;gap:4px;background:#fff1f2;color:var(--jy);padding:4px 7px;border-radius:5px;font-size:9px;font-weight:700}
.mall-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.shop-card{background:#fff;border:1px solid #eceef1;border-radius:11px;overflow:hidden;transition:.22s}.shop-card:hover{border-color:#ff9ca7;box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.shop-banner{height:102px;position:relative;background:linear-gradient(135deg,#fff1f2,#f4f5f7);overflow:hidden}.shop-banner img{width:100%;height:100%;object-fit:cover}.visit{position:absolute;right:8px;bottom:8px;padding:4px 8px;border-radius:99px;background:rgba(255,255,255,.9);font-size:9px;font-weight:700;color:#525a64}
.shop-body{text-align:center;padding:0 13px 14px}.shop-logo{width:68px;height:68px;border-radius:14px;background:#fff;border:4px solid #fff;margin:-34px auto 7px;position:relative;overflow:hidden;box-shadow:0 5px 14px rgba(0,0,0,.08)}.shop-logo img{width:100%;height:100%;object-fit:cover}
.shop-name{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-meta{font-size:10px;color:#8a919b;margin-top:4px}.shop-badge{display:inline-flex;align-items:center;gap:4px;margin-top:7px;background:#fff1f2;color:var(--jy);border-radius:5px;padding:4px 7px;font-size:9px;font-weight:700}
.discover-zone{margin-top:26px;padding:20px 18px 24px;background:#f0f1f2;border-radius:16px}.discover-head{display:flex;align-items:center;justify-content:center;margin:0 0 18px}.discover-pill{display:inline-flex;align-items:center;gap:7px;padding:9px 22px;background:#fff;border:1px solid #e2e5e9;border-radius:99px;color:var(--jy);font-size:17px;font-weight:800;box-shadow:0 3px 10px rgba(15,23,42,.05)}.discover-pill i{font-size:20px}
.discover-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.discover-card{background:#fff;border:1px solid #e7e9ec;border-radius:10px;overflow:hidden;transition:transform .7s cubic-bezier(.16,1,.3,1),box-shadow .7s cubic-bezier(.16,1,.3,1),border-color .3s ease;will-change:transform}.discover-card:hover{border-color:#ff8793;box-shadow:0 16px 34px rgba(15,23,42,.10);transform:translateY(-5px)}
.discover-card .product-img{aspect-ratio:1;background:#f8f8f9}.discover-card .product-name{font-size:11px;line-height:1.45;height:34px}.discover-card .price strong{font-size:18px}.status-badge{position:absolute;left:0;top:0;padding:5px 8px;color:#fff;background:var(--jy);font-size:9px;font-weight:800;border-radius:0 0 7px 0}
.tags{display:flex;gap:4px;flex-wrap:wrap;margin:5px 0 7px}.tag{font-size:8px;padding:3px 5px;border-radius:4px;border:1px solid #fecaca;background:#fff1f2;color:#c51d2e}.tag.green{background:#ecfdf3;border-color:#bbf7d0;color:#15803d}
.rating{display:flex;align-items:center;gap:4px;margin-top:8px;font-size:9px;color:#7b838d}.rating i{color:#fbbf24}.loc{margin-top:8px;padding-top:7px;border-top:1px solid #f0f1f3;font-size:9px;color:#9aa1aa}
.loadmore{display:flex;justify-content:center;padding:24px 0 0}.loadmore a{min-width:180px;text-align:center;border:1px solid #d8dde3;border-radius:8px;background:#fff;padding:10px 18px;font-size:11px;font-weight:700;color:#4d5661}.loadmore a:hover{border-color:var(--jy);color:var(--jy)}
.footer{margin-top:36px;background:#fff;border-top:1px solid #e8eaed}.footer-main{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:34px;padding:34px 0}.footer h4{font-size:12px;margin:0 0 11px}.footer-col{display:flex;flex-direction:column;gap:5px}.footer a,.footer p{font-size:11px;color:#737c87;line-height:1.75;margin:0}.footer a:hover{color:var(--jy)}
.footer-brand{display:flex;align-items:center;margin-bottom:12px}.footer-brand img{height:48px;width:auto;max-width:180px;object-fit:contain;object-position:left center}
.payrow{display:flex;gap:6px;flex-wrap:wrap}.paybox{height:29px;min-width:43px;padding:0 8px;border:1px solid #e3e6ea;background:#fafafa;border-radius:5px;display:grid;place-items:center;font-size:9px;font-weight:700;color:#59636f}
.footer-bottom{border-top:1px solid #eee;background:#fafafa;padding:11px 0;text-align:center;font-size:10px;color:#9ca3ad}
.mobile-nav{display:none}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid rgba(229,31,47,.34);outline-offset:3px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.loading{height:100%;display:grid;place-items:center;color:#8b929c;font-size:11px}
@media(max-width:1399px){
  .hero{grid-template-columns:205px minmax(0,1fr)}.userpanel{display:none}
}
@media(max-width:1199px){
  .hero{grid-template-columns:225px minmax(0,1fr)}.userpanel{display:none}
  .products,.discover-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mall-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:899px){.topbar{display:none}.headrow{height:62px}.brand{min-width:0}.brand img{height:42px;max-width:150px}
  .headrow>.search-host{display:none}.actions .sell,.actions .account{display:none}.actions .mobile-lang{display:flex;font-size:11px;font-weight:800}.mobile-search{display:block}.wrap{width:calc(100% - 28px)}
  .hero{grid-template-columns:1fr;padding-top:12px}.sidebar{display:none}.hero-carousel{height:auto;aspect-ratio:750/420}.arrow{opacity:1;width:34px;height:34px}.dots{bottom:9px}
  .section{margin-top:12px}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 4px;padding:14px 7px}.quick-icon{width:49px;height:49px;font-size:23px}.quick b{font-size:9px}
  .section-head{min-height:50px;padding:10px 12px}.section-head h2{font-size:16px}.section-head .sub{display:none}.flash-clock{gap:3px}.clock-box{min-width:25px;height:25px;padding:0 5px;font-size:9px}.flash-mode{display:none}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
  .product-body{padding:8px}.product-name{font-size:10px;height:29px}.price strong{font-size:16px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 4px;padding:13px 7px}.category-icon{width:53px;height:53px;font-size:25px}.category b{font-size:9px}
  .mall-head{margin:14px 0 8px}.mall-title h2{font-size:17px}.mall-grid{display:flex;overflow-x:auto;gap:9px}.shop-card{min-width:238px}.shop-banner{height:88px}
  .discover-head{margin:18px 0 10px}.discover-pill{font-size:14px;padding:7px 15px}.discover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.discover-card .product-body{padding:8px}
  .footer-main{grid-template-columns:1fr 1fr;gap:23px}.footer-main>div:first-child{grid-column:1/-1}
  body{padding-bottom:68px}.mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #e5e7eb;padding:7px 0 calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 18px rgba(15,23,42,.06)}
  .mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:9px;font-weight:700;color:#68717c}.mobile-nav a.active{color:var(--jy)}.mobile-nav i{font-size:21px}
}
@media(min-width:768px) and (max-width:1023px){
  .hero-carousel{aspect-ratio:1600/656}
}
@media(max-width:520px){.footer-main{grid-template-columns:1fr}.footer-main>div:first-child{grid-column:auto}}

/* Home V3 polish: authenticated hero alignment, compact quick links, hidden scrollbars. */
html,body,*{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar,*::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;background:transparent!important}
@media(min-width:1400px){
  .hero-carousel{align-self:start;width:100%;min-width:0}
  .userpanel{min-width:0}
  .userpanel.is-auth .user-card{padding:10px 12px}
  .userpanel.is-auth .avatar{width:42px;height:42px;font-size:22px}
  .userpanel.is-auth .auth{margin-top:8px}
  .userpanel.is-auth .btn{padding:6px 8px;font-size:9px;white-space:nowrap}
  .userpanel.is-auth .jy-tools{padding:8px 12px 7px}
  .userpanel.is-auth .jy-tools h3{margin-bottom:1px}
  .userpanel.is-auth .tool{height:38px}
}
@media(min-width:900px){
  .quick-grid{gap:8px;padding:16px 18px 15px}
  .quick{gap:7px}
  .quick-icon{width:56px;height:56px;border-radius:16px;font-size:26px}
  .quick b{font-size:11.2px}
}
@media(min-width:900px) and (max-width:999px){
  .hero{grid-template-columns:1fr}
  .sidebar{display:none}
}


/* Home V3 quick-service branded assets. */
.quick-icon.quick-icon-asset{
  background:#fff!important;
  overflow:hidden;
}
.quick-icon.quick-icon-asset img{
  display:block;
  width:52px;
  height:52px;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.quick-icon.quick-icon-digital img{
  width:48px;
  height:48px;
}
.quick-icon.quick-icon-vouchers img{
  width:52px;
  height:52px;
}
.quick-icon.quick-icon-jnt img{
  width:48px;
  height:48px;
  border-radius:14px;
}


/* JY branded home assets + subtle motion */
.quick-icon.quick-icon-jy img{
  width:54px;
  height:54px;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  filter:drop-shadow(0 4px 8px rgba(15,23,42,.10));
}
.flash-brand,
.discover-brand{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  gap:6px;
  min-width:0;
}
.flash-brand-mark,
.discover-brand-mark{
  display:block;
  flex:0 0 auto;
  object-fit:contain;
}
.flash-brand-mark{
  width:38px;
  height:38px;
  transform-origin:50% 55%;
  filter:drop-shadow(0 4px 8px rgba(232,40,53,.18));
  animation:jyFlashPulse 3.2s cubic-bezier(.4,0,.2,1) infinite;
}
.discover-brand-mark{
  width:38px;
  height:38px;
  transform-origin:50% 55%;
  filter:drop-shadow(0 5px 10px rgba(232,40,53,.14));
  animation:jyDiscoverBeat 4s ease-in-out infinite;
}
.flash-brand-text{
  display:inline-block;
  font-size:18px;
  line-height:1;
  font-weight:800;
  font-style:italic;
  letter-spacing:-.02em;
  word-spacing:.1em;
  text-transform:uppercase;
  white-space:nowrap;
  background:linear-gradient(90deg,#e82835 0%,#e82835 46%,#111827 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.discover-brand-text{
  display:inline-block;
  font-size:17px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.02em;
  color:#e82835;
  white-space:nowrap;
}
.flash-brand:hover .flash-brand-mark,
.discover-brand:hover .discover-brand-mark{
  animation-play-state:paused;
  transform:translateY(-1px) scale(1.03);
}
@keyframes jyFlashPulse{
  0%,100%{transform:translate3d(0,0,0) scale(1);filter:drop-shadow(0 4px 8px rgba(232,40,53,.16))}
  36%{transform:translate3d(1px,-1px,0) scale(1.04);filter:drop-shadow(0 5px 11px rgba(232,40,53,.24))}
  52%{transform:translate3d(0,0,0) scale(1.01);filter:drop-shadow(0 4px 9px rgba(232,40,53,.18))}
}
@keyframes jyDiscoverBeat{
  0%,100%{transform:translate3d(0,0,0) scale(1);filter:drop-shadow(0 5px 10px rgba(232,40,53,.12))}
  12%{transform:translate3d(0,-1px,0) scale(1.045);filter:drop-shadow(0 6px 12px rgba(232,40,53,.20))}
  20%{transform:translate3d(0,0,0) scale(1.01)}
  28%{transform:translate3d(0,-1px,0) scale(1.03)}
  40%,72%{transform:translate3d(0,0,0) scale(1)}
}

/* Reserve Flash Deals geometry before async deals arrive to avoid downstream CLS. */
.flash-skeleton{pointer-events:none;box-shadow:none;border-color:#eef0f2}
.flash-skeleton:hover{transform:none;box-shadow:none;border-color:#eef0f2}
.skeleton-shimmer{
  background:linear-gradient(100deg,#f3f4f6 25%,#e8ebef 38%,#f3f4f6 52%);
  background-size:220% 100%;
  animation:jySkeleton 1.35s ease-in-out infinite;
}
.flash-skeleton .product-body{height:100px;box-sizing:border-box;display:flex;flex-direction:column;gap:8px}
.skeleton-line{display:block;height:8px;border-radius:99px;background:#eef0f3}
.skeleton-name{width:88%;height:10px}
.skeleton-price{width:52%;height:14px}
.skeleton-meta{width:72%}
.skeleton-progress{width:100%;height:13px;margin-top:auto}
@keyframes jySkeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}

@media(max-width:899px){
  .flash-brand-mark,.discover-brand-mark{width:32px;height:32px}
  .flash-brand-text{font-size:16px}
  .discover-brand-text{font-size:15px}
  .quick-icon.quick-icon-jy img{width:47px;height:47px}
  #flashGrid.is-loading .flash-skeleton:nth-child(n+7){display:none}
  .flash-skeleton .product-body{height:92px}
  body{padding-bottom:calc(81px + env(safe-area-inset-bottom))}
  .mobile-nav{
    height:calc(81px + env(safe-area-inset-bottom));
    min-height:calc(81px + env(safe-area-inset-bottom));
    box-sizing:border-box;
  }
  .mobile-nav a{min-height:52px;justify-content:center}
  .mobile-nav i{display:block;width:24px;height:24px;line-height:24px;flex:0 0 24px}
}


/* Full English branded title artwork: use the supplied complete transparent assets. */
.flash-brand-full-wrap,
.discover-brand-full-wrap{
  gap:0;
}
.flash-brand-full,
.discover-brand-full{
  display:block;
  width:210px;
  height:auto;
  object-fit:contain;
  transform-origin:center;
}
.flash-brand-full{
  filter:drop-shadow(0 5px 12px rgba(232,40,53,.16));
  animation:jyFlashFullAsset 3.4s ease-in-out infinite;
}
.discover-brand-full{
  filter:drop-shadow(0 5px 12px rgba(232,40,53,.14));
  animation:jyDiscoverFullAsset 4.2s ease-in-out infinite;
}
.flash-brand-full-wrap:hover .flash-brand-full,
.discover-brand-full-wrap:hover .discover-brand-full{
  animation-play-state:paused;
}
@keyframes jyFlashFullAsset{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  38%{transform:translate3d(1px,-1px,0) scale(1.012)}
  54%{transform:translate3d(0,0,0) scale(1.004)}
}
@keyframes jyDiscoverFullAsset{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  16%{transform:translate3d(0,-1px,0) scale(1.012)}
  28%{transform:translate3d(0,0,0) scale(1.003)}
  40%{transform:translate3d(0,-1px,0) scale(1.008)}
  55%{transform:translate3d(0,0,0) scale(1)}
}
@media(max-width:899px){
  .flash-brand-full,
  .discover-brand-full{width:182px}
}
