.home-market-section{display:contents}
.market-card-clone{display:none}
.market-carousel-pagination{display:none}
@media(max-width:600px){
  .hero:has(.home-market-section){padding-bottom:0}
  .home-market-section{display:flow-root;background:#fff;padding-block:1px 1px;margin-top:28px;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}
  .home-market-section .market-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:440px;margin:18px auto 0;color:#20271d;font-size:13px;font-weight:650}
  .market-carousel-heading{font-size:15px;letter-spacing:-.3px;font-weight:750}
  .market-carousel-controls>div{display:flex;gap:10px}
  .market-carousel-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dfe4dc;border-radius:50%;background:#fff;color:#171b10}
  .market-carousel-controls [data-market-next]:not(:disabled){background:var(--yellow);border-color:var(--yellow)}
  .market-carousel-controls button:disabled{background:transparent;border-color:#c4cbc4;color:#687268;opacity:.6}
  .market-carousel-controls .icon{width:22px;height:22px;fill:currentColor;stroke:none}
  [data-market-previous] .icon{transform:rotate(180deg)}
  .home-market-section .hero-asset-band{display:flex;align-items:stretch;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:none;padding:4px 0 8px;margin-top:14px;background:transparent;border:0;border-radius:0;box-shadow:none}
  .home-market-section .hero-asset-band::-webkit-scrollbar{display:none}
  .home-market-section .hero-asset-card{flex:0 0 62%;min-width:0;padding:13px 14px;scroll-snap-align:start;scroll-snap-stop:always;background:linear-gradient(140deg,#171c16,#090d09);border:1px solid #f4ce2155;border-radius:18px}
  .home-market-section .hero-asset-card:hover{transform:none}
  .market-card-clone{display:block}
  .home-market-section .market-price{font-size:20px;letter-spacing:-.4px;margin-top:10px}
  .home-market-section .market-sparkline{height:36px;margin-block:6px 4px}
  .home-market-section .market-change{font-size:13px}
  .home-market-section .market-card-name{font-size:12px}
  .home-market-section .market-carousel-pagination{display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;max-width:100%;margin:8px auto 18px;min-height:44px;padding:0 14px;border:1px solid #e6e9df;border-radius:999px;background:#f7f8f4}
  .market-carousel-count{order:2;display:block;white-space:nowrap;font-size:11px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1;padding-left:12px;border-left:1px solid #dfe4d6;color:#59624d}
  .market-carousel-dots{display:flex;align-items:center;gap:0}
  .market-carousel-dot{display:grid;place-items:center;width:24px;height:44px;flex:0 0 24px;border:0;border-radius:8px;background:transparent;padding:0;cursor:pointer}
  .market-carousel-dot[hidden]{display:none}
  .market-carousel-dot:after{content:'';display:block;width:6px;height:6px;border-radius:8px;background:#a8b29e;transition:width .2s,background .2s,opacity .2s}
  .market-carousel-dot[data-distance="2"]:after{width:4px;height:4px;opacity:.65}
  .market-carousel-dot[aria-current="true"]:after{width:20px;height:6px;background:#9d8400;opacity:1}
  .market-carousel-dot:focus-visible{outline:2px solid #7b6800;outline-offset:-3px}
  .home-market-section .market-context-wrap,.home-market-section .hero-proof{background:#f6f7f3;border-color:#dfe3da;color:#434b3e}
  .home-market-section #market-context{color:#20271d}
  .home-market-section #market-notice,.home-market-section .market-credit time{color:#59624f}
  .home-market-section .market-credit,.home-market-section .hero-proof>span+span{border-color:#dfe3da}
  .home-market-section .market-status-icon,.home-market-section .hero-proof .icon{color:#7b6800}
  .home-market-section+.currency-band,main>.currency-band{background:#fff;border-color:#e5e7e0}
  .currency-band .band-caption{color:#20271d}
  .currency-band .currency-chip{background:#f6f7f3;border-color:#dfe3da;color:#20271d}
}

@media(prefers-reduced-motion:reduce){.market-carousel-dot:after{transition:none}}

@media(min-width:601px){
  .home-market-section{display:flow-root;position:relative;z-index:1;margin-top:36px;padding-top:8px}
  .home-market-section .market-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:0;padding-block:4px;color:#eef0e9}
  .market-carousel-heading{font-size:15px;font-weight:650}
  .market-carousel-controls>div{display:flex;gap:10px}
  .market-carousel-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff30;border-radius:50%;background:#ffffff08;color:#eef0e9;cursor:pointer}
  .market-carousel-controls button:hover:not(:disabled){background:var(--yellow);border-color:var(--yellow);color:#171b10}
  .market-carousel-controls button:disabled{opacity:.35;cursor:default}
  .market-carousel-controls .icon{width:22px;height:22px;fill:currentColor;stroke:none}
  [data-market-previous] .icon{transform:rotate(180deg)}
  .home-market-section .hero-asset-band{display:flex;flex-wrap:nowrap;gap:13px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:17px;overscroll-behavior-x:contain;margin-top:12px;scrollbar-width:thin;scrollbar-color:#75650c transparent}
  .home-market-section .hero-asset-card{flex:0 0 calc((100% - 39px)/4);min-width:0;scroll-snap-align:start}
  .home-market-section .hero-asset-card:hover{transform:none}
}
@media(min-width:601px) and (max-width:1000px){
  .home-market-section .hero-asset-band{padding:13px;scroll-padding-inline:13px}
  .home-market-section .hero-asset-card{flex-basis:calc((100% - 26px)/3)}
}
.market-carousel-controls button:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}
