/* Home journey only. It never uses the legacy three-column .journey-grid. */
html body .bc-journey-atlas {
  --atlas-navy:#071e2d;
  --atlas-blue:#96dcff;
  --atlas-muted:#bad5e6;
  --atlas-inset:clamp(15px,3vw,34px);
  margin:18px 0 0;
  padding:var(--atlas-inset);
  color:#f4f9ff;background:var(--atlas-navy);
  border-radius:23px;
}
.bc-atlas-top {display:flex;align-items:center;justify-content:space-between;gap:14px;}
html body .bc-atlas-top > p {margin:0;max-width:56ch;color:var(--atlas-muted);line-height:1.55;font-size:clamp(15px,1.55vw,18px);}
.bc-atlas-replay {
  flex:none;color:#ecf7ff;background:transparent;border:1px solid #7093a9;
  border-radius:8px;padding:8px 13px;font:inherit;font-size:14px;min-height:44px;cursor:pointer;
}
.bc-atlas-replay:hover {background:#17364c;}
.bc-journey-atlas :is(button,a):focus-visible {outline:2px solid var(--atlas-blue);outline-offset:3px;}
html body .bc-journey-atlas figure.bc-atlas-figure {margin:10px 0 0;padding:0;border:0;background:none;}
.bc-atlas-figure svg {display:block;width:100%;max-width:none;height:auto;overflow:visible;}
.bc-atlas-figure .bc-atlas-overview {display:none;}
.bc-atlas-figure .bc-atlas-compact {width:min(100%,460px);margin-inline:auto;}
html body.taste-site.ui-v4-site .bc-journey-atlas .bc-atlas-figure figcaption {margin:8px 0 10px;text-align:center;color:var(--atlas-muted);font-size:13px;}
.bc-atlas-rail,.bc-atlas-pulse,.bc-atlas-arrow,.bc-atlas-tick {fill:none;stroke-linecap:round;stroke-linejoin:round;}
.bc-atlas-rail {stroke:#587d93;stroke-width:1.8;}
.bc-atlas-pulse {stroke:var(--atlas-blue);stroke-width:2.4;opacity:.84;}
.bc-atlas-arrow {stroke:var(--atlas-blue);stroke-width:2;}
.bc-atlas-tick {stroke:#7197b0;stroke-width:1.3;}
.bc-atlas-node {fill:var(--atlas-navy);stroke:var(--atlas-blue);stroke-width:1.6;}
.bc-atlas-object {fill:#103247;stroke:#c1e7fa;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;}
.bc-atlas-object .bc-atlas-hatch {fill:#244b61;stroke:#84b8d6;stroke-width:1.1;}
.bc-atlas-svg-label {fill:#dfedf8;font:600 12px system-ui,sans-serif;}
.bc-atlas-playing .bc-atlas-pulse path {stroke-dasharray:1;stroke-dashoffset:1;}
.bc-atlas-playing .bc-atlas-feed {animation:bc-atlas-draw 920ms var(--feed) cubic-bezier(.24,.62,.38,1) both;}
.bc-atlas-playing .bc-atlas-out {animation:bc-atlas-draw 560ms 1120ms cubic-bezier(.19,1,.33,1) both;}
@keyframes bc-atlas-draw {to{stroke-dashoffset:0}}

.bc-home-chain {display:grid;grid-template-columns:minmax(0,1fr);gap:0;}
html body .bc-journey-atlas .bc-atlas-step {
  display:grid;grid-template-columns:26px minmax(0,1fr);gap:13px;min-height:56px;min-width:0;
  padding:10px 3px;border-top:1px solid #31536a;
  color:#f4f9ff;text-decoration:none;
}
html body .bc-journey-atlas .bc-atlas-step:hover {background:#103247;}
.bc-atlas-steptext {min-width:0;display:grid;align-content:start;gap:3px;}
.bc-atlas-index {padding-top:3px;color:var(--atlas-blue);font-variant-numeric:tabular-nums;font-size:13px;font-weight:650;}
.bc-atlas-name {color:#b5d8ee;font-size:13px;line-height:1.4;}
.bc-atlas-step strong {color:inherit;font-size:clamp(16px,1.65vw,20px);line-height:1.25;letter-spacing:-.02em;}
.bc-atlas-detail {color:var(--atlas-muted);font-size:14px;line-height:1.45;}
.bc-journey-atlas~.journey-action a[href$="logistics-process-from-china"]::after {content:none;}

@media(min-width:700px) and (max-width:999px) {
  html body .bc-journey-atlas {
    display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:14px 25px;align-items:center;
  }
  .bc-atlas-top {grid-column:1/-1;}
  html body .bc-journey-atlas figure.bc-atlas-figure {margin:0;}
  html body .bc-journey-atlas .bc-atlas-step:first-child {border-top:0;}
}
@media(min-width:1000px) {
  .bc-atlas-figure .bc-atlas-overview {display:block;}
  .bc-atlas-figure .bc-atlas-compact {display:none;}
  .bc-home-chain {grid-template-columns:repeat(5,minmax(0,1fr));}
  html body .bc-journey-atlas .bc-atlas-step {
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;
    gap:5px;text-align:center;padding:12px clamp(6px,1vw,16px);
  }
}
@media(max-width:520px) {
  html body .bc-journey-atlas {border-radius:17px;}
  .bc-atlas-top {flex-wrap:wrap;align-items:start;gap:10px;}
  .bc-atlas-replay {min-height:44px;}
}
@media(prefers-reduced-motion:reduce) {
  .bc-atlas-playing .bc-atlas-pulse path {stroke-dasharray:none;stroke-dashoffset:0;animation:none;}
  .bc-atlas-replay {display:none;}
}
