/* Xiaoju original homepage language: citrus signal, crate labels, and origin-to-market flow. */
body.xj-home{--xj-forest:#123b32;--xj-forest-2:#1d5849;--xj-cream:#f5f0e7;--xj-paper:#fffaf2;--xj-orange:#ff6b22;--xj-gold:#ffb64d;background:var(--xj-cream);color:#17342e}
body.xj-home:before{content:"";position:fixed;inset:0 0 auto;height:4px;z-index:100;background:linear-gradient(90deg,var(--xj-orange) 0 27%,var(--xj-gold) 27% 43%,var(--xj-forest) 43% 100%)}
.xj-home .utility-bar{display:none}.xj-home .site-header{height:74px;background:#fffaf3;border-bottom:1px solid #e8ddcf;box-shadow:none}.xj-home .nav-row{min-height:74px;padding-left:218px}.xj-home .brand{width:198px;height:68px;bottom:3px}.xj-home .brand img{height:68px}.xj-home .main-nav{min-height:74px;justify-content:flex-start;gap:24px}.xj-home .main-nav a{min-height:74px;padding:0 1px;color:#50645e;font-size:14px}.xj-home .main-nav a.nav-active{position:relative;color:var(--xj-forest);background:none;border-radius:0;box-shadow:none}.xj-home .main-nav a.nav-active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--xj-orange)}.xj-home .header-tools{margin-left:auto}.xj-home .portal-search{border-color:#dfd5c8;background:#fff}.xj-home .login-button{background:var(--xj-forest);border-color:var(--xj-forest)}
.xj-home .portal-main{padding-top:18px}.xj-home .home-hero{width:calc(100% - 48px);max-width:1540px;margin:0 auto;height:auto;min-height:278px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(380px,.75fr);gap:14px;overflow:visible;background:transparent}
.xj-signal-copy{position:relative;overflow:hidden;min-height:278px;padding:31px 34px;border-radius:22px;background:linear-gradient(125deg,var(--xj-forest),var(--xj-forest-2) 72%,#7b683f 135%);color:#fff}.xj-signal-copy:before,.xj-signal-copy:after{content:"";position:absolute;border:1px solid #ffffff20;border-radius:50%;pointer-events:none}.xj-signal-copy:before{width:390px;height:390px;right:-130px;top:-225px}.xj-signal-copy:after{width:285px;height:285px;right:-75px;top:-170px}.xj-signal-kicker{display:block;color:#ffc477;font-size:11px;font-weight:800;letter-spacing:2px}.xj-signal-copy h1{max-width:760px;margin:20px 0 12px;color:#fff;font-size:clamp(28px,2.5vw,40px);font-weight:700;line-height:1.25}.xj-signal-copy p{max-width:720px;margin:0;color:#d8ebe4;font-size:14px;line-height:1.8}.xj-signal-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.xj-signal-tags span{padding:8px 11px;border:1px solid #ffffff12;border-radius:8px;background:#ffffff12;color:#f6fbf9;font-size:11px}
.xj-route-card{display:flex;flex-direction:column;min-width:0;padding:23px;border:1px solid #ded5c8;border-radius:22px;background:var(--xj-paper)}.xj-route-head{display:flex;align-items:center;justify-content:space-between}.xj-route-head strong{display:flex;align-items:center;gap:9px;font-size:16px}.xj-route-head strong:before{content:"";width:8px;height:8px;background:var(--xj-orange);transform:rotate(45deg)}.xj-route-head span{color:#79837e;font-size:10px}.xj-route-line{display:grid;grid-template-columns:1fr 32px 1fr 32px 1fr;align-items:start;margin:31px 0 23px}.xj-route-line>div{text-align:center}.xj-route-line i{display:grid;place-items:center;width:36px;height:36px;margin:0 auto 8px;border-radius:50%;background:#f5eadb;color:#d95b20;font-size:11px;font-style:normal;font-weight:800}.xj-route-line b{display:block;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.xj-route-line small{display:block;margin-top:4px;color:#7a857f;font-size:9px}.xj-route-line>span{height:2px;margin-top:17px;background:linear-gradient(90deg,var(--xj-orange),var(--xj-gold),#4c947f)}
.xj-home .home-shortcuts{position:static;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:auto;min-width:0;min-height:68px;margin-top:auto;border:0;border-radius:12px;background:#f1eade;box-shadow:none;backdrop-filter:none}.xj-home .home-shortcuts a{gap:5px;padding:8px 3px;border-right:1px solid #ded4c7;color:#344a43;font-size:10px}.xj-home .home-shortcuts .xj-icon{width:19px;height:19px;color:var(--xj-orange)}
.xj-home .home-wrap{width:calc(100% - 48px);max-width:1540px;margin-top:14px}.xj-home .home-fruits{margin-bottom:11px;padding:8px;border-color:#e2d8ca;border-radius:14px;background:var(--xj-paper);box-shadow:none}.xj-home .home-fruits>a{min-height:43px;border:0;border-radius:9px;background:#f6efe5;color:#375048}.xj-home .home-fruits>a.active{background:var(--xj-orange);color:#fff}.xj-home .xj-announcement-strip,.xj-home .xj-fx-strip,.xj-home .home-import-markets{border-color:#e3d9cc;background:var(--xj-paper);box-shadow:none}.xj-home .home-import-markets{border-radius:16px}.xj-home .home-import-markets nav a{border-color:#e2d8cb;background:#f7f0e7}.xj-home .home-import-market-title>span{color:var(--xj-orange)}
.xj-home .home-dashboard-grid{gap:14px}.xj-home .home-card{padding:18px 19px;border:1px solid #dfd6ca;border-radius:17px;background:var(--xj-paper);box-shadow:none}.xj-home .home-heading{margin-bottom:15px}.xj-home .home-heading h2{color:#183c33;font-size:16px}.xj-home .home-heading h2 .xj-icon{color:var(--xj-orange)}.xj-home .home-heading h2:before{content:"";width:7px;height:7px;margin-right:1px;background:var(--xj-orange);transform:rotate(45deg)}.xj-home .home-heading>a{color:#65756f}.xj-home .home-hot-item{padding:12px;border:0;border-radius:11px;background:#f3ebdf}.xj-home .home-hot-rank{color:var(--xj-orange)}.xj-home .home-hot-bar{background:#e7dcca}.xj-home .home-hot-bar i,.xj-home .home-bar-track i{background:linear-gradient(90deg,var(--xj-orange),var(--xj-gold))}.xj-home .home-periods{border-color:#ddd3c5;background:#f1e9dd}.xj-home .home-periods [aria-pressed=true],.xj-home .home-periods .active{background:var(--xj-orange);color:#fff}.xj-home .home-kpis>div,.xj-home .home-customs-kpis,.xj-home .home-rank-total,.xj-home .home-market-summary>div{background:#f2eadf}.xj-home .home-table th,.xj-home .home-table td{border-color:#e8dfd3}.xj-home .home-tag,.xj-home .home-news-tabs .active{background:#e7f2ec;color:#197559}.xj-home .home-data-note{color:#60716a}
html[data-theme=dark] body.xj-home{--xj-cream:#0d1714;--xj-paper:#14231f;background:var(--xj-cream);color:#edf5f1}html[data-theme=dark] .xj-home .site-header{background:#111f1b;border-color:#263a34}html[data-theme=dark] .xj-home .main-nav a{color:#b4c4be}html[data-theme=dark] .xj-home .main-nav a.nav-active{color:#fff;background:none;box-shadow:none}html[data-theme=dark] .xj-home .portal-search{border-color:#31443d;background:#182923}html[data-theme=dark] .xj-home .xj-route-card,html[data-theme=dark] .xj-home .home-card,html[data-theme=dark] .xj-home .home-fruits,html[data-theme=dark] .xj-home .home-import-markets,html[data-theme=dark] .xj-home .xj-announcement-strip,html[data-theme=dark] .xj-home .xj-fx-strip{border-color:#2b4038;background:var(--xj-paper)}html[data-theme=dark] .xj-home .xj-route-line i,html[data-theme=dark] .xj-home .home-shortcuts,html[data-theme=dark] .xj-home .home-fruits>a,html[data-theme=dark] .xj-home .home-hot-item,html[data-theme=dark] .xj-home .home-import-markets nav a,html[data-theme=dark] .xj-home .home-kpis>div,html[data-theme=dark] .xj-home .home-market-summary>div{background:#1c3029;color:#e8f1ed}html[data-theme=dark] .xj-home .home-heading h2{color:#edf5f1}
@media(max-width:1100px){.xj-home .site-header{height:auto}.xj-home .nav-row{padding-left:0}.xj-home .brand{width:205px}.xj-home .home-hero{grid-template-columns:1fr;min-height:0}.xj-route-card{min-height:235px}.xj-home .home-shortcuts{margin-top:16px}.xj-home .home-wrap,.xj-home .home-hero{width:calc(100% - 24px)}}
@media(max-width:650px){.xj-home .portal-main{padding-top:10px}.xj-home .home-hero,.xj-home .home-wrap{width:calc(100% - 20px)}.xj-signal-copy{min-height:245px;padding:24px 21px}.xj-signal-copy h1{font-size:27px}.xj-signal-copy p{font-size:12px}.xj-route-card{padding:18px}.xj-route-line{grid-template-columns:1fr 20px 1fr 20px 1fr}.xj-home .home-card{padding:14px}.xj-home .home-heading h2{font-size:14px}}

/* Keep Xiaoju's established orange, white, and cool-gray palette. */
body.xj-home{--xj-forest:#ff6509;--xj-forest-2:#ff8a08;--xj-cream:#f3f6fa;--xj-paper:#fff;--xj-orange:#ff6509;--xj-gold:#ffad32;background:#f3f6fa;color:#263248}
body.xj-home:before{background:linear-gradient(90deg,#ff5200 0 38%,#ffad32 38% 54%,#ff6509 54% 100%)}
.xj-home .site-header{background:#fff;border-color:#e9eef3}.xj-home .main-nav a{color:#4d5b70}.xj-home .main-nav a.nav-active{color:#ff6509}.xj-home .login-button{background:linear-gradient(135deg,#ff8900,#ff5000);border-color:#ff6509}.xj-home .portal-main{background:#f3f6fa}
.xj-signal-copy{background:linear-gradient(125deg,#f04c08 0%,#ff6c0a 57%,#ffa51f 100%);box-shadow:0 12px 28px #d84e1618}.xj-signal-copy:before,.xj-signal-copy:after{border-color:#fff5}.xj-signal-kicker{color:#fff3cf}.xj-signal-copy p{color:#fff8ef}.xj-signal-tags span{border-color:#fff3;background:#8a2d1224;color:#fff}
.xj-route-card{border-color:#e8edf2;background:#fff}.xj-route-head span,.xj-route-line small{color:#7f8a9a}.xj-route-line i{background:#fff1e8;color:#f05b0a}.xj-route-line>span{background:linear-gradient(90deg,#ff6509,#ffb22d)}
.xj-home .home-shortcuts{background:#fff5ec}.xj-home .home-shortcuts a{border-color:#f0ddd0;color:#354257}.xj-home .home-fruits,.xj-home .home-import-markets,.xj-home .xj-announcement-strip,.xj-home .xj-fx-strip,.xj-home .home-card{border-color:#e7edf3;background:#fff}.xj-home .home-fruits>a,.xj-home .home-import-markets nav a{border:1px solid #eef2f6;background:#fafbfd;color:#344156}.xj-home .home-hot-item{background:#f7f9fb}.xj-home .home-heading h2{color:#263248}.xj-home .home-heading>a,.xj-home .home-data-note{color:#738095}.xj-home .home-kpis>div,.xj-home .home-customs-kpis,.xj-home .home-rank-total,.xj-home .home-market-summary>div{background:#f5f7fa}.xj-home .home-periods{border-color:#e3e8ee;background:#f5f7fa}.xj-home .home-table th,.xj-home .home-table td{border-color:#e8edf2}
html[data-theme=dark] body.xj-home{--xj-cream:#101820;--xj-paper:#17222c;background:#101820;color:#edf3f7}html[data-theme=dark] .xj-home .portal-main{background:#101820}html[data-theme=dark] .xj-home .site-header{background:#151f29;border-color:#2a3845}html[data-theme=dark] .xj-home .main-nav a{color:#d9e3ea}html[data-theme=dark] .xj-home .main-nav a.nav-active{color:#ff8a32;background:none;box-shadow:none}html[data-theme=dark] .xj-home .xj-route-card,html[data-theme=dark] .xj-home .home-card,html[data-theme=dark] .xj-home .home-fruits,html[data-theme=dark] .xj-home .home-import-markets,html[data-theme=dark] .xj-home .xj-announcement-strip,html[data-theme=dark] .xj-home .xj-fx-strip{border-color:#2a3845;background:#17222c}html[data-theme=dark] .xj-home .xj-route-line i,html[data-theme=dark] .xj-home .home-shortcuts,html[data-theme=dark] .xj-home .home-fruits>a,html[data-theme=dark] .xj-home .home-hot-item,html[data-theme=dark] .xj-home .home-import-markets nav a,html[data-theme=dark] .xj-home .home-kpis>div,html[data-theme=dark] .xj-home .home-customs-kpis,html[data-theme=dark] .xj-home .home-rank-total,html[data-theme=dark] .xj-home .home-market-summary>div{background:#1d2934;color:#e8eff4}html[data-theme=dark] .xj-home .home-heading h2{color:#eef4f8}

/* Preserve photographic sprites and the original brand artwork on dark surfaces. */
html[data-theme=dark] .xj-home .home-fruits .fruit-thumb{
  border-radius:50%;
  background-color:#fffaf2;
  mix-blend-mode:normal;
  filter:brightness(1.03) saturate(1.06);
  box-shadow:0 0 0 1px #ffb16b55,0 2px 7px #0004;
}
html[data-theme=dark] .xj-home .home-durian-art{
  background-color:#fffaf2;
  background-image:url('../images/fruit-category-sheet.png');
  background-repeat:no-repeat;
  background-size:400% auto;
  mix-blend-mode:normal;
  filter:brightness(1.03) saturate(1.06);
  box-shadow:inset 0 0 0 1px #ffb16b66,0 6px 18px #0003;
}
html[data-theme=dark] .xj-home .brand{
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
html[data-theme=dark] .xj-home .brand img{
  filter:none;
}

/* Homepage focus carousel. */
.xj-signal-carousel{position:relative;display:grid;min-width:0;overflow:hidden;border-radius:22px;isolation:isolate}
.xj-hero-slide{grid-area:1/1;min-width:0;min-height:278px;opacity:0;pointer-events:none;transition:opacity .55s ease}
.xj-hero-slide.is-active{opacity:1;pointer-events:auto;z-index:1}
.xj-hero-story,.xj-hero-tools{position:relative;overflow:hidden;border-radius:22px}
.xj-hero-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%}
.xj-hero-story-copy{position:absolute;top:29%;left:35%;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;color:#42251b;text-shadow:0 2px 12px #fff9}
.xj-hero-story-copy strong{font-family:KaiTi,STKaiti,"Noto Serif SC",serif;font-size:clamp(32px,3.8vw,56px);font-weight:600;line-height:1.17;letter-spacing:.12em;white-space:nowrap}
.xj-hero-story-copy strong span{position:relative}
.xj-hero-story-copy strong span:after{content:"";position:absolute;left:12%;right:8%;bottom:-4px;height:4px;border-radius:50%;background:#f36a14;transform:rotate(-5deg)}
.xj-hero-story-copy small{margin-top:17px;font-size:clamp(10px,1.05vw,15px);font-weight:800;letter-spacing:.24em;white-space:nowrap}
.xj-hero-story-motto{position:absolute;top:13%;right:4%;z-index:1;color:#9d491e;font-family:KaiTi,STKaiti,serif;font-size:clamp(13px,1.3vw,19px);letter-spacing:.18em;text-shadow:0 1px 5px #fff}
.xj-hero-tools{padding:27px 34px;color:#fff;background:radial-gradient(circle at 92% 17%,#ffc55f77,transparent 29%),linear-gradient(112deg,#a63211 0%,#df520a 56%,#ff9a18 100%)}
.xj-hero-tools:before,.xj-hero-tools:after{content:"";position:absolute;border:1px solid #ffffff48;border-radius:50%;pointer-events:none}.xj-hero-tools:before{width:340px;height:340px;right:-55px;top:-183px}.xj-hero-tools:after{width:255px;height:255px;right:-12px;top:-135px}
.xj-hero-tools-kicker{display:block;color:#ffe2ae;font-size:11px;font-weight:800;letter-spacing:2px}
.xj-hero-tools>strong{display:block;margin:15px 0 8px;font-size:clamp(26px,2.35vw,37px);line-height:1.15;letter-spacing:.035em}
.xj-hero-tools p{max-width:655px;margin:0;color:#fff3e7;font-size:13px;line-height:1.6}
.xj-hero-tools-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.xj-hero-tools-tags span{padding:5px 10px;border:1px solid #ffffff45;border-radius:6px;background:#5b241a25;font-size:11px}
.xj-hero-tools-link{position:absolute;right:33px;bottom:25px;z-index:1;padding:7px 10px;border:1px solid #ffffff75;border-radius:8px;color:#fff;font-size:12px;font-weight:700;text-decoration:none}.xj-hero-tools-link:hover,.xj-hero-tools-link:focus-visible{background:#fff;color:#b83d10}
.xj-hero-research{background:linear-gradient(125deg,#f04c08 0%,#ff6c0a 57%,#ffa51f 100%)}
.xj-hero-research h2{max-width:760px;margin:20px 0 12px;color:#fff;font-size:clamp(28px,2.5vw,40px);font-weight:700;line-height:1.25}
.xj-hero-research p{max-width:720px;color:#fff8ef;font-size:14px;line-height:1.8}
.xj-hero-research-data{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.xj-hero-research-data span{padding:8px 11px;border:1px solid #fff3;border-radius:8px;background:#8a2d1224;color:#fff;font-size:11px}.xj-hero-research-data strong{font-size:14px;color:#fff;font-weight:800}
.xj-hero-research-link{position:absolute;right:33px;bottom:25px;z-index:1;padding:7px 10px;border:1px solid #ffffff75;border-radius:8px;color:#fff;font-size:12px;font-weight:700;text-decoration:none}.xj-hero-research-link:hover,.xj-hero-research-link:focus-visible{background:#fff;color:#b83d10}
.xj-hero-controls{position:absolute;right:24px;bottom:10px;z-index:3;display:flex;gap:6px;align-items:center}.xj-hero-controls button{width:21px;height:7px;padding:0;border:1px solid #fff9;border-radius:5px;background:#1f293752;box-shadow:0 1px 3px #0005;cursor:pointer}.xj-hero-controls button[aria-pressed=true]{width:32px;background:#fff;border-color:#fff}.xj-hero-controls button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.xj-hero-controls .xj-hero-pause,.xj-hero-controls .xj-hero-pause[aria-pressed=true]{width:auto;height:26px;margin-left:5px;padding:0 9px;border:1px solid #fff9;border-radius:7px;background:#fff;color:#a74410;font-size:11px;font-weight:700;line-height:24px}
.xj-hero-tools-link,.xj-hero-research-link{bottom:50px}
@media(max-width:650px){.xj-hero-slide{min-height:245px}.xj-hero-story>img{object-position:33% center}.xj-hero-story-copy{left:34%;right:3%;top:34%;padding:8px 4px;border-radius:9px;background:#fff9}.xj-hero-story-copy strong{font-size:clamp(23px,6vw,34px)}.xj-hero-story-copy small{margin-top:10px;font-size:9px;letter-spacing:.08em}.xj-hero-story-motto{top:9%;right:3%;font-size:11px}.xj-hero-tools{padding:22px}.xj-hero-tools>strong{font-size:27px}.xj-hero-tools p{font-size:11px}.xj-hero-tools-tags{gap:5px}.xj-hero-tools-tags span{padding:4px 6px;font-size:9px}.xj-hero-tools-link{right:19px;bottom:22px;font-size:10px}.xj-hero-research h2{margin:13px 0 8px;font-size:27px}.xj-hero-research p{font-size:12px;line-height:1.5}.xj-hero-research-data{gap:5px;margin-top:12px}.xj-hero-research-data span{padding:5px 7px;font-size:9px}.xj-hero-research-data strong{font-size:11px}.xj-hero-research-link{right:19px;bottom:22px;font-size:10px}.xj-hero-controls{right:17px;bottom:8px}}
@media(prefers-reduced-motion:reduce){.xj-hero-slide{transition:none}}
.xj-hero-story-copy h1{margin:0;font-family:KaiTi,STKaiti,"Noto Serif SC",serif;font-size:clamp(32px,3.8vw,56px);font-weight:600;line-height:1.17;letter-spacing:.12em;white-space:nowrap}
.xj-hero-story-copy h1 span{position:relative}
.xj-hero-story-copy h1 span:after{content:"";position:absolute;left:12%;right:8%;bottom:-4px;height:4px;border-radius:50%;background:#f36a14;transform:rotate(-5deg)}
.xj-signal-copy h2{max-width:760px;margin:20px 0 12px;color:#fff;font-size:clamp(28px,2.5vw,40px);font-weight:700;line-height:1.25}
@media(max-width:650px){.xj-hero-story-copy h1{font-size:clamp(23px,6vw,34px)}.xj-signal-copy h2{font-size:27px}}
