/* Effective palette from paiyi-late-arrival-regions.html, final theme layer. */
:root{color-scheme:light;--bg:#f6f7f9;--paper:#ffffff;--ink:#282930;--muted:#68727d;--line:#e3e8ee;--accent:#a84405;--on:#ffffff;--soft:#fff0e3;--warm:#fff3df;--orange:#926022;--hero:#ff8b2b;--hero-text:#321704;--dark:#27242b;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
.preview-home-intro{background:var(--hero);color:var(--hero-text);border-color:var(--hero);border-radius:12px}.preview-home-intro p{color:var(--hero-text)}.preview-home-intro .btn{background:#fff8ed;border-color:#ffffff80;color:var(--hero-text)}.brand-mark img{width:28px;height:28px;object-fit:contain}.price strong{color:var(--accent)}.price .pde{color:var(--orange)}.bottom-nav button.active{color:var(--accent)}.category-tiles button svg,.home-shortcuts svg{color:var(--accent)}.product-cover{background:#f5f6f8}.brand-name{font-weight:600}.folds summary:before{color:#000}.preview-entry{font-size:11px;white-space:nowrap}.merchandising-form textarea{font-family:inherit;font-size:13px;min-height:85px}

/* Keep the effective preview's structure, proportions and type weights. */
:root{--radius:16px}
.header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 24px;padding:14px 22px 10px}
.brand{grid-column:1;grid-row:1;gap:9px}.brand-name{font-size:22px;font-weight:500;letter-spacing:0}
.top-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:26px}.header-account{grid-column:3;grid-row:1}
.search-line{grid-column:2;grid-row:1;width:100%;max-width:380px;padding:0;margin:0}
.search{border-radius:999px;background:var(--bg);padding-right:5px}.search input{font-size:14px;min-height:42px}.search button{min-height:42px;width:42px;border-radius:50%;background:var(--soft)}
.preview-home-intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 260px;min-height:238px;padding:24px 28px;border:0;border-radius:16px;overflow:hidden;margin-bottom:16px}
.preview-hero-copy{position:relative;z-index:1}.preview-hero-kicker{font-size:12px;line-height:1.5}
.preview-home-intro h1{font-size:30px;line-height:1.4;font-weight:400;margin:10px 0}
.preview-home-intro .preview-hero-description{font-size:12px;line-height:1.5;margin:0;max-width:360px}
.preview-home-intro .preview-hero-button{margin-top:15px;min-height:44px;padding:8px 15px;background:var(--dark);color:#fff;border:0;border-radius:9px;font-size:12px}
.preview-hero-art{position:relative;width:295px;justify-self:center;display:flex;gap:15px;align-items:center}.preview-hero-art:before{content:'';position:absolute;width:210px;height:210px;left:42px;top:50%;transform:translateY(-50%);border-radius:50%;background:#ffffff33}.preview-hero-item{position:relative;display:grid;place-items:center;width:140px;height:160px;flex-shrink:0;border-radius:16px;background:#fff9ed;box-shadow:0 14px 25px #60320815;transform:rotate(-8deg)}.preview-hero-item:last-child{transform:rotate(8deg) translateY(14px)}.preview-hero-art img{position:relative;width:200px;height:165px;max-width:none}
.home-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;overflow:visible;padding:0}
.home-category-grid .chip{justify-content:center;min-height:44px;border:0;border-radius:12px;font-weight:400;padding:8px 5px;gap:6px}
.home-category-grid .chip.active{background:var(--soft);border-color:var(--soft);color:var(--accent)}
.home-category-grid .chip svg{color:var(--muted)}.home-category-grid .chip.active svg{color:var(--accent)}
.home-section-heading{margin:18px 0 12px}.home-section-heading h2{font-size:20px;font-weight:400}.home-section-heading .text-button{font-size:12px;min-height:44px;font-weight:400;padding:0;display:flex;align-items:center;gap:4px}
.product-card,.product-open{border-radius:16px}.product-grid{gap:12px}.product-cover{aspect-ratio:1.25;background:var(--bg)}
.product-info{padding:12px;gap:5px}.product-info h3{font-size:15px;font-weight:400;min-height:0;line-height:1.4}
.product-meta{font-size:11px;line-height:1.5}.product-bottom{padding-top:8px;font-size:10px;gap:5px}.price strong{font-size:20px;font-weight:650}.price .pde{font-size:11px;font-weight:500}
.original-price{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.original-price del{text-decoration-thickness:1px}.discount-tag{background:var(--soft);border-radius:4px;padding:1px 5px;color:var(--accent)}
.card,.order-card,.store-card,.metric{border-radius:12px}.gallery-main{border-radius:16px}.demo-illustration{width:100%;height:100%;object-fit:contain!important}
.home-newcomer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin-top:24px;background:var(--soft);border-radius:16px}.home-newcomer-footer h2{font-size:19px;font-weight:500}
@media(max-width:760px){
 .header-inner{grid-template-columns:minmax(0,1fr);gap:4px;padding:13px 16px 8px}.brand{grid-column:1;grid-row:1;margin:0;flex-basis:auto}.brand-name{font-size:22px}.top-nav{display:none}.search-line{grid-column:1;grid-row:2;margin:4px 0 0}.header-account{grid-column:1;grid-row:3;margin:0;gap:7px;flex-wrap:wrap}.wallet-button,.dev-button{min-height:30px}.wallet-button span{border-radius:999px;font-size:11px}.role-tag{font-size:11px;padding:2px 6px}
 .local-note{line-height:1.4;padding:4px 16px;font-size:10px}.main-shell{padding:16px 16px 96px}
 .preview-home-intro{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:4px;min-height:208px;padding:20px 16px;border-radius:16px;margin-bottom:16px}.preview-home-intro h1{font-size:24px;line-height:1.4;font-weight:400;margin:5px 0 9px}.preview-hero-kicker{font-size:11px}.preview-home-intro .preview-hero-description{font-size:11px;max-width:none}.preview-home-intro .preview-hero-button{margin-top:14px;min-height:44px;padding:7px 11px;font-size:12px}
 .preview-hero-art{position:relative;right:auto;bottom:auto;width:100px;justify-self:center;align-self:center;gap:0}.preview-hero-art:before{width:112px;height:112px;left:-6px}.preview-hero-item{width:100px;height:126px;background:none;box-shadow:none;transform:none}.preview-hero-item:last-child{display:none}.preview-hero-art img{width:165px;height:auto}
 .home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:23px}.home-category-grid .chip{min-height:44px;font-size:11px;padding:9px 3px;border-radius:9px}.home-newcomer-footer{display:none}
 .home-section-heading h2{font-size:19px}.home-section-heading .text-button{font-size:11px}.product-grid{gap:10px}.product-info{padding:11px 12px;gap:5px}.product-info h3{font-size:14px;min-height:0;font-weight:400}.price strong{font-size:20px}.price .pde{font-size:11px}.product-cover{aspect-ratio:1.25}
 .bottom-nav{padding:5px 5px max(7px,env(safe-area-inset-bottom))}.bottom-nav button{min-height:59px;font-size:10px;gap:5px}
}
