/* extras for the live Markets page */
.mk-more{display:block;margin:22px auto 40px;padding:12px 28px;border:1px solid var(--ds-color-border-subtle,#27282b);border-radius:10px;background:none;color:var(--ds-color-text-primary,#f4f5f7);font:inherit;font-size:15px;cursor:pointer}
.mk-empty{padding:56px 12px !important;text-align:center;color:var(--ds-color-text-tertiary,#8b8f97);font-size:16px}
.mk-empty a{display:inline-block;margin-top:16px;padding:12px 28px;border-radius:10px;background:var(--ds-color-text-primary,#f4f5f7);color:var(--ds-color-background-base,#070808);text-decoration:none;font-weight:600}
.bit-table-tbody tr[data-row-key]{cursor:pointer}

/* ---- phone: simple list instead of the wide table; no 4-card carousel (as on the Bitget phone page) ---- */
.mk-mlist{display:none}
@media (max-width:767px){
  .bit-table-wrapper{display:none !important}
  .mk-cards-wrap{display:none !important}
  .mk-cards-wrap.mk-show{display:block !important;margin-top:12px}
  .mk-cards-wrap.mk-show .swiper-wrapper{display:block !important;transform:none !important;height:auto !important}
  .mk-cards-wrap.mk-show .swiper-slide{width:auto !important;margin:0 0 12px !important;height:auto !important}
  .mk-mlist{display:block;padding:4px 0 8px}
  .mk-mrow{display:flex;align-items:center;gap:12px;padding:16px 4px;cursor:pointer}
  .mk-mstar{background:none;border:0;padding:0;font-size:18px;line-height:1;color:var(--ds-color-text-tertiary,#8b8f97);opacity:.75;cursor:pointer}
  .mk-mstar.on{color:#f0b90b;opacity:1}
  .mk-mav{width:40px;height:40px;border-radius:50%;flex:none;object-fit:cover}
  .mk-mpair{flex:1;min-width:0}
  .mk-mpair b{font-size:16px;font-weight:600;color:var(--ds-color-text-primary,#f4f5f7);margin-right:6px}
  .mk-mtag{display:inline-block;padding:1px 6px;border:1px solid var(--ds-color-border-subtle,#27282b);border-radius:4px;font-size:12px;color:var(--ds-color-text-secondary,#c9cbd1)}
  .mk-mpair em{display:block;font-style:normal;font-size:13px;margin-top:2px;color:var(--ds-color-function-brand,#03aac7)}
  .mk-mprice{text-align:right;flex:none}
  .mk-mprice b{display:block;font-size:16px;font-weight:600;color:var(--ds-color-text-primary,#f4f5f7);font-variant-numeric:tabular-nums}
  .mk-mprice span{display:block;font-size:14px;margin-top:3px;font-variant-numeric:tabular-nums}
  .mk-mprice .u{color:#0ecb81}.mk-mprice .d{color:#fc495c}
}
@media (max-width:767px){ .RV8yf7vIMwImai6RNcAL{margin-top:-30px} }

/* sparklines draw in smoothly, left to right (first appearance only) */
@keyframes mkDraw { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.mk-sp { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: mkDraw 1.4s cubic-bezier(.22,1,.36,1) forwards; }
@media (prefers-reduced-motion: reduce) { .mk-sp { animation: none; stroke-dashoffset: 0; } }

/* TradFi sub-category chips (Commodities: Metals / Energy / Agriculture ...) */
.mk-chips{display:none;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}
.mk-chips::-webkit-scrollbar{display:none}
.mk-chips button{flex:none;border:0;border-radius:8px;padding:7px 14px;background:transparent;color:var(--ds-color-text-tertiary,#8b8f97);font:inherit;font-size:14px;cursor:pointer}
.mk-chips button.on{background:var(--ds-color-background-secondary,#1b1d20);color:var(--ds-color-text-primary,#f4f5f7)}
@media (max-width:767px){ .mk-chips{margin-top:-76px;position:relative;z-index:1} }
/* phones: the sticky tab row (Crypto / Stocks / Commodities ...) must stick BELOW our fixed app strip + header (64 + 48px) */
@media (max-width:767px){
  div.sticky[class*="mobile:mt-[24px]"]{top:112px !important;z-index:50;background:var(--ds-color-background-base,#070808)}
}
