/* Market Command Center 2.0 + 47M premium mobile visual system.
   Desktop structure stays the Step 47 command center.
   Overflow root cause: featured min-width:220px + search min-width:240px
   expanding a wrap sized with calc(100%-Npx) inside padded cl-shell-main.
   Fix: min-width:0, wrap 100%, carousel % of container (not vw), no page overflow-x:hidden. */
.page-market {
  --mcc-bg: #05080f;
  --mcc-navy: #070d18;
  --mcc-panel: #0c1524;
  --mcc-panel-2: #101c30;
  --mcc-elev: #142238;
  --mcc-line: rgba(56, 189, 248, 0.22);
  --mcc-line-soft: rgba(56, 189, 248, 0.12);
  --mcc-cyan: #22d3ee;
  --mcc-cyan-2: #67e8f9;
  --mcc-blue: #3b82f6;
  --mcc-up: #34d399;
  --mcc-down: #f87171;
  --mcc-gold: #f5c542;
  --mcc-vio: #a78bfa;
  --mcc-vio-2: #7c3aed;
  --mcc-text: #e8eefc;
  --mcc-mute: #9aabc8;
  --mcc-meta: #b7c4dc;
  background:
    radial-gradient(920px 480px at 88% -8%, rgba(34, 211, 238, 0.14), transparent 52%),
    radial-gradient(720px 420px at -12% 18%, rgba(59, 130, 246, 0.10), transparent 56%),
    radial-gradient(640px 360px at 48% 42%, rgba(167, 139, 250, 0.06), transparent 58%),
    linear-gradient(180deg, #060b14 0%, #05080f 100%);
  color: var(--mcc-text);
}
.page-market::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
}
.page-market .site-header,
.page-market .cl-shell,
.page-market .wrap {
  position: relative;
  z-index: 1;
}
.page-market .site-header {
  z-index: 40;
  border-bottom-color: rgba(34, 211, 238, 0.18);
  background: rgba(6, 11, 20, 0.88);
}
.page-market .wrap.mcc-wrap {
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0 calc(48px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.page-market.has-cl-shell .cl-shell-main {
  min-width: 0;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
}
.page-market .mcc-live-chip { white-space: nowrap; }
.page-market .cl-symbol-search {
  min-width: 0;
  max-width: 400px;
  width: min(400px, 100%);
  height: 40px;
  font-size: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background-color: rgba(8, 14, 24, 0.72);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2322d3ee' stroke-width='1.8' stroke-linecap='round'><circle cx='7' cy='7' r='4.5'/><path d='M10.4 10.4 14 14'/></svg>");
  background-repeat: no-repeat;
  background-position: 12px 50%;
  background-size: 16px;
  padding: 0 12px 0 36px;
  color: var(--mcc-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.page-market .cl-symbol-search:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16), inset 0 1px 0 rgba(255,255,255,0.05);
}
.page-market .nav-tools { position: relative; }
.page-market .cl-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-market .cl-nav-icon { flex: 0 0 16px; opacity: 0.8; }
.page-market .cl-sidebar a.is-active {
  background: rgba(34, 211, 238, 0.1);
  box-shadow: inset 3px 0 0 var(--mcc-cyan);
  color: var(--mcc-cyan);
}

.mcc-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--mcc-line);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mcc-mute);
  background: rgba(12, 20, 34, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.mcc-live-chip.is-live {
  color: var(--mcc-cyan);
  border-color: rgba(34, 211, 238, 0.5);
  background: linear-gradient(180deg, rgba(34,211,238,0.12), rgba(12,20,34,0.85));
}
.mcc-live-chip.is-stale { color: var(--mcc-gold); border-color: rgba(245, 197, 66, 0.4); }
.mcc-live-chip.is-off { color: var(--mcc-down); }
.mcc-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.mcc-live-chip.is-live .mcc-live-dot { animation: mccPulse 1.8s ease-in-out infinite; }

.mcc-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 16px;
  padding: 12px 14px 10px;
  background:
    radial-gradient(520px 180px at 92% -30%, rgba(34, 211, 238, 0.18), transparent 58%),
    radial-gradient(280px 120px at 8% 120%, rgba(52, 211, 153, 0.08), transparent 60%),
    linear-gradient(180deg, #102038 0%, #08111e 100%);
  margin-bottom: 12px;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.07);
}
.mcc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(34,211,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.32;
  pointer-events: none;
}
.mcc-hero-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.mcc-hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mcc-live-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
#mccHeroLive {
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  padding: 6px 10px 6px 8px;
}
#mccHeroLive .mcc-live-dot { margin-top: 3px; }
#mccHeroLiveLabel {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mcc-live-sub {
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.88;
  color: var(--mcc-meta);
}
#mccHeroLive.is-live {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.16), rgba(8, 16, 24, 0.9));
}
#mccHeroLive.is-live .mcc-live-dot { animation: mccBreathe 1.8s ease-in-out infinite; }
#mccHeroLive.is-stale .mcc-live-dot { animation: mccBreathe 2.2s ease-in-out infinite; }
#mccHeroLive.is-off {
  color: var(--mcc-down);
  border-color: rgba(248, 113, 113, 0.55);
}
.mcc-hero-clock {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  color: var(--mcc-meta);
}
.mcc-hero h1 {
  position: relative;
  margin: 0;
  font-size: clamp(1.28rem, 3.4vw, 1.6rem);
  line-height: 1.15;
  color: var(--mcc-text);
  letter-spacing: -0.03em;
}
.mcc-hero .mcc-lede {
  position: relative;
  margin: 2px 0 0;
  color: var(--mcc-meta);
  max-width: 42rem;
  font-size: 0.8rem;
}
.mcc-hero-pulse {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 10px;
  min-height: 0;
}
.mcc-hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  width: min(46%, 180px);
  flex: 0 0 auto;
}
.mcc-hero-bars i {
  display: block;
  flex: 1;
  min-width: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--mcc-cyan), rgba(59,130,246,0.35));
}
.mcc-hero-bars i.is-up { background: linear-gradient(180deg, var(--mcc-up), rgba(34,211,238,0.28)); }
.mcc-hero-bars i.is-down { background: linear-gradient(180deg, var(--mcc-down), rgba(34,211,238,0.18)); }
.mcc-hero-caption {
  font-size: 0.78rem;
  color: var(--mcc-meta);
  padding-bottom: 2px;
}
.mcc-hero-meta {
  position: relative;
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: var(--mcc-mute);
}

.mcc-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}
.mcc-pulse-cell {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--mcc-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 38%),
    linear-gradient(180deg, #111c30 0%, #0a1422 100%);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.mcc-pulse-cell .mcc-v {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  color: var(--mcc-text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.mcc-pulse-cell .mcc-k {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--mcc-meta);
}
.mcc-pulse-cell.is-cyan {
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.06), inset 0 1px 0 rgba(255,255,255,0.05);
}
.mcc-pulse-cell.is-cyan .mcc-v { color: var(--mcc-cyan-2); }
.mcc-pulse-cell.is-up {
  border-color: rgba(52, 211, 153, 0.38);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.08), inset 0 1px 0 rgba(52,211,153,0.12);
}
.mcc-pulse-cell.is-up .mcc-v { color: var(--mcc-up); }
.mcc-pulse-cell.is-down {
  border-color: rgba(248, 113, 113, 0.38);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.08), inset 0 1px 0 rgba(248,113,113,0.1);
}
.mcc-pulse-cell.is-down .mcc-v { color: var(--mcc-down); }
.mcc-pulse-cell.is-vol {
  border-color: rgba(167, 139, 250, 0.32);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(167,139,250,0.12);
}
.mcc-pulse-cell.is-vol .mcc-v { color: #93c5fd; }
.mcc-pulse-meta {
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: var(--mcc-meta);
}

.mcc-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 30%),
    linear-gradient(180deg, #101c30 0%, #0a1422 100%);
  border: 1px solid var(--mcc-line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mcc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 12px 28px rgba(8, 20, 40, 0.45), 0 0 18px rgba(34, 211, 238, 0.08);
}
.mcc-card .mcc-k { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mcc-mute); }
.mcc-card .mcc-v { display: block; margin-top: 6px; font-size: 1.45rem; font-variant-numeric: tabular-nums; color: var(--mcc-text); }
.mcc-card .mcc-s { margin: 4px 0 0; font-size: 0.78rem; color: var(--mcc-mute); }
.mcc-skel {
  display: block;
  height: 1.1em;
  border-radius: 6px;
  background: linear-gradient(90deg, #142033, #1c2b44, #142033);
  background-size: 200% 100%;
  animation: mccShimmer 1.4s linear infinite;
}

.mcc-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}
.mcc-sec-head h2,
.mcc-featured-sec .mcc-sec-head h2,
.mcc-movers-head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--mcc-text);
  letter-spacing: -0.02em;
}
.mcc-seeall {
  color: var(--mcc-cyan);
  text-decoration: none;
  font-size: 0.8rem;
  white-space: nowrap;
}
.mcc-seeall:hover { color: var(--mcc-cyan-2); }

.mcc-featured-sec { min-width: 0; margin-bottom: 16px; }
.mcc-asset-top .mcc-sig { margin-left: auto; }
.mcc-vol {
  font-size: 0.75rem;
  color: var(--mcc-meta);
  font-variant-numeric: tabular-nums;
  min-height: 1em;
}
.mcc-spark-host { display: block; min-height: 32px; }
.mcc-spark-host .mcc-spark { width: 100%; height: 32px; display: block; }
.mcc-featured {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.mcc-asset {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  min-height: 168px;
  overflow: hidden;
}
.mcc-asset.is-btc { border-color: rgba(245, 197, 66, 0.38); box-shadow: 0 0 16px rgba(245, 197, 66, 0.08), inset 0 1px 0 rgba(255,255,255,0.05); }
.mcc-asset.is-eth { border-color: rgba(167, 139, 250, 0.4); box-shadow: 0 0 16px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255,255,255,0.05); }
.mcc-asset.is-sol { border-color: rgba(34, 211, 238, 0.42); box-shadow: 0 0 16px rgba(34, 211, 238, 0.1), inset 0 1px 0 rgba(255,255,255,0.05); }
.mcc-asset.is-up { box-shadow: inset 0 -2px 0 rgba(52, 211, 153, 0.7), 0 8px 24px rgba(0,0,0,0.28); }
.mcc-asset.is-down { box-shadow: inset 0 -2px 0 rgba(248, 113, 113, 0.7), 0 8px 24px rgba(0,0,0,0.28); }
.mcc-asset-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mcc-logo, .mcc-logo-fallback {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
  object-fit: cover; background: #152033; border: 1px solid rgba(255,255,255,0.08);
}
.cl-coin-logo { flex: 0 0 auto; }
.cl-coin-logo .mcc-logo { width: 100%; height: 100%; }
.cl-coin-logo .mcc-logo-fallback[hidden] { display: none !important; }
.mcc-logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; color: var(--mcc-cyan); letter-spacing: 0.02em;
}
.mcc-asset-sym { font-weight: 750; font-size: 1.05rem; color: var(--mcc-text); }
.mcc-asset-name {
  font-size: 0.75rem;
  color: var(--mcc-meta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mcc-px {
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  color: var(--mcc-text);
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mcc-chg { font-size: 0.88rem; font-variant-numeric: tabular-nums; font-weight: 650; }
.mcc-chg.is-up { color: var(--mcc-up); }
.mcc-chg.is-down { color: var(--mcc-down); }
.mcc-spark { width: 100%; height: 32px; display: block; }
.mcc-cta {
  margin-top: auto;
  align-self: flex-start;
  min-height: 40px;
  padding: 8px 14px;
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--mcc-cyan);
}

.mcc-movers-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}
.mcc-movers-band > .mcc-movers-head,
.mcc-movers-band > .mcc-tabs { grid-column: 1 / -1; }
.mcc-movers-head { display: flex; margin-bottom: 0; }
.mcc-tabs { display: none; }
#mccGainersBox { border-color: rgba(52, 211, 153, 0.38); }
#mccLosersBox { border-color: rgba(248, 113, 113, 0.38); }
#mccGainersBox h2::before,
#mccLosersBox h2::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 1px;
}
#mccGainersBox h2 { color: var(--mcc-up); }
#mccGainersBox h2::before { background: var(--mcc-up); box-shadow: 0 0 8px var(--mcc-up); }
#mccLosersBox h2 { color: var(--mcc-down); }
#mccLosersBox h2::before { background: var(--mcc-down); box-shadow: 0 0 8px var(--mcc-down); }
.mcc-tabs {
  display: none;
  gap: 8px;
  margin: 0 0 10px;
}
.mcc-tabs button {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--mcc-line-soft);
  background: rgba(10, 18, 30, 0.7);
  color: var(--mcc-meta);
  font-weight: 650;
  font-size: 0.82rem;
  cursor: pointer;
}
.mcc-tabs button.is-on {
  color: var(--mcc-cyan);
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(180deg, rgba(34,211,238,0.14), rgba(12,20,34,0.9));
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.12);
}
.mcc-tabs button[data-mcc-tab="gainers"].is-on {
  color: var(--mcc-up);
  border-color: rgba(52, 211, 153, 0.45);
}
.mcc-tabs button[data-mcc-tab="losers"].is-on {
  color: var(--mcc-down);
  border-color: rgba(248, 113, 113, 0.45);
}
.mcc-board { min-width: 0; }
.mcc-board h2 { margin: 0 0 10px; font-size: 0.95rem; color: var(--mcc-text); }
.mcc-intel {
  border-color: rgba(167, 139, 250, 0.34);
  background:
    linear-gradient(180deg, rgba(34,211,238,0.07), rgba(124,58,237,0.08) 42%, transparent 70%),
    linear-gradient(180deg, #101c30 0%, #0a1422 100%);
}
.mcc-row {
  display: grid;
  grid-template-columns: auto 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: inherit;
  font-size: 0.82rem;
}
.mcc-row:last-child { border-bottom: 0; }
.mcc-row-rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mcc-mute);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
}
.mcc-row .mcc-logo, .mcc-row .mcc-logo-fallback { width: 26px; height: 26px; flex-basis: 26px; }
.mcc-row-sym {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mcc-row-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mcc-meta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mcc-row-right {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mcc-row-right .mcc-chg { display: block; font-size: 0.88rem; }
.mcc-row-px { display: block; font-size: 0.72rem; color: var(--mcc-meta); }
.mcc-row.is-vol .mcc-row-right { color: var(--mcc-cyan); }
.mcc-px.mcc-flash-up, .mcc-row-px.mcc-flash-up { animation: mccFlashUp 0.5s ease; border-radius: 6px; }
.mcc-px.mcc-flash-down, .mcc-row-px.mcc-flash-down { animation: mccFlashDown 0.5s ease; border-radius: 6px; }
.mcc-opp-new { animation: mccOppGlow 1.4s ease; }
.mcc-opp-score {
  font-weight: 750;
  color: var(--mcc-cyan);
  font-variant-numeric: tabular-nums;
}

.mcc-lower {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}
.mcc-bars { display: flex; gap: 10px; align-items: flex-end; height: 88px; margin-top: 12px; }
.mcc-bar { flex: 1; border-radius: 8px 8px 2px 2px; min-height: 6px; }
.mcc-bar.is-up { background: linear-gradient(180deg, var(--mcc-up), rgba(52,211,153,0.15)); }
.mcc-bar.is-down { background: linear-gradient(180deg, var(--mcc-down), rgba(248,113,113,0.15)); }

.mcc-fiona {
  border-color: rgba(167, 139, 250, 0.4);
  background:
    linear-gradient(120deg, rgba(34,211,238,0.08), rgba(124,58,237,0.12) 48%, transparent 78%),
    linear-gradient(180deg, #101c30 0%, #0a1422 100%);
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  margin-bottom: 16px;
}
.mcc-fiona-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.mcc-fiona .mcc-k { color: var(--mcc-vio); letter-spacing: 0.08em; }
.mcc-fiona-pill {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mcc-cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 4px 8px;
}
.mcc-fiona.is-scanning { animation: mccScanBorder 2.4s ease-in-out infinite; }
.mcc-fiona-pill.is-idle { color: var(--mcc-mute); border-color: var(--mcc-line-soft); }

.mcc-sig {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex: 0 0 7px;
}
.mcc-pulse-cell { position: relative; }
.mcc-pulse-cell > .mcc-sig { position: absolute; top: 12px; right: 12px; }
.mcc-pulse-cell.is-cyan .mcc-sig { color: var(--mcc-cyan); }
.mcc-pulse-cell.is-up .mcc-sig,
.mcc-sig.is-up,
.mcc-row.is-up .mcc-sig,
.mcc-asset.is-up .mcc-sig { color: var(--mcc-up); }
.mcc-pulse-cell.is-down .mcc-sig,
.mcc-sig.is-down,
.mcc-row.is-down .mcc-sig,
.mcc-asset.is-down .mcc-sig { color: var(--mcc-down); }
.mcc-pulse-cell.is-vol .mcc-sig { color: #93c5fd; }
.mcc-pulse-cell.is-up .mcc-sig,
.mcc-pulse-cell.is-down .mcc-sig,
.mcc-pulse-cell.is-cyan .mcc-sig,
.mcc-pulse-cell.is-vol .mcc-sig,
.mcc-row .mcc-sig,
.mcc-asset .mcc-sig,
.mcc-mood .mcc-sig { animation: mccSig 2.2s ease-in-out infinite; }

.mcc-mood {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--mcc-line);
  background: rgba(10, 18, 32, 0.72);
}
.mcc-mood[hidden] { display: none !important; }
.mcc-mood[data-mood="bull"] { color: var(--mcc-up); border-color: rgba(52, 211, 153, 0.42); }
.mcc-mood[data-mood="bear"] { color: var(--mcc-down); border-color: rgba(248, 113, 113, 0.42); }
.mcc-mood[data-mood="neutral"] { color: var(--mcc-cyan-2); border-color: rgba(34, 211, 238, 0.35); }
.mcc-mood-k {
  color: var(--mcc-mute);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mcc-mood strong { font-size: 0.92rem; color: inherit; }

.mcc-scan[hidden] { display: none !important; }
.mcc-scan {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: var(--mcc-cyan);
  background: rgba(8, 18, 32, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mcc-scan::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35), transparent);
  animation: mccScan 1.8s linear infinite;
  pointer-events: none;
}
.mcc-scan-dots { display: inline-flex; gap: 3px; position: relative; }
.mcc-scan-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  animation: mccSig 1.1s ease-in-out infinite;
}
.mcc-scan-dots i:nth-child(2) { animation-delay: 0.15s; }
.mcc-scan-dots i:nth-child(3) { animation-delay: 0.3s; }
.mcc-rank-shift { animation: mccRank 0.45s ease; }
.mcc-hero, .mcc-movers-band, .mcc-discover, .mcc-featured-sec { animation: mccIn 0.42s ease both; }
.mcc-discover { margin: 0 0 14px; min-width: 0; }
.page-market .seg-btn.is-on { box-shadow: inset 0 -2px 0 var(--mcc-cyan); }
.page-market .coin-chip { transition: transform 0.16s ease, border-color 0.16s ease; }
.page-market .coin-chip:hover,
.page-market .coin-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.45);
}
.mcc-asset:focus-visible,
.mcc-row:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.7);
  outline-offset: 2px;
}

.mcc-empty, .mcc-err { margin: 8px 0; font-size: 0.85rem; color: var(--mcc-mute); }
.mcc-err strong { color: var(--mcc-text); display: block; margin-bottom: 4px; }
#marketAlerts .kicker { margin: 0 0 2px; color: var(--mcc-gold); font-size: 0.7rem; }
#marketAlerts h2 { margin: 0 0 8px; }
#marketAlertsBody .mcc-empty { margin: 4px 0; }

.page-market #coinPicker.card {
  margin-top: 0;
  background: var(--mcc-panel);
  border: 1px solid var(--mcc-line);
}
.page-market #coinPicker .promo-row,
.page-market #coinPicker .pump-tape { display: none; }
.page-market #coinPicker #coinGrid { max-height: 220px; overflow: auto; }
.mcc-more { margin: 16px 0 8px; border: 1px solid var(--mcc-line); border-radius: 14px; padding: 8px 14px; background: var(--mcc-panel); }
.mcc-more > summary { cursor: pointer; color: var(--mcc-mute); padding: 8px 0; min-height: 44px; }

.mcc-search-hits {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: 280px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(8, 14, 24, 0.96);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
  padding: 6px;
}
.mcc-search-hits a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.mcc-search-hits a:hover { background: rgba(34, 211, 238, 0.08); }
.mcc-search-hits .mcc-row-sym { font-size: 0.88rem; }

@keyframes mccPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes mccBreathe {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.55; box-shadow: 0 0 0 5px transparent; }
}
@keyframes mccSig { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes mccShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes mccFlashUp {
  0% { background: rgba(52, 211, 153, 0.34); }
  100% { background: transparent; }
}
@keyframes mccFlashDown {
  0% { background: rgba(248, 113, 113, 0.34); }
  100% { background: transparent; }
}
@keyframes mccScan {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}
@keyframes mccRank {
  from { transform: translateY(6px); opacity: 0.55; }
  to { transform: none; opacity: 1; }
}
@keyframes mccIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes mccScanBorder {
  0%, 100% { border-color: rgba(167, 139, 250, 0.4); }
  50% { border-color: rgba(34, 211, 238, 0.75); }
}
@keyframes mccOppGlow {
  0% { box-shadow: 0 0 0 1px rgba(167,139,250,0.85), 0 0 18px rgba(34,211,238,0.28); }
  100% { box-shadow: none; }
}

@media (min-width: 1600px) {
  .mcc-movers-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .mcc-pulse, .mcc-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcc-movers-band { grid-template-columns: 1fr 1fr; }
  #mccVolumeBox { grid-column: 1 / -1; }
  .mcc-lower { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .page-market .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "brand live wallet menu"
      "search search search search";
    align-items: center;
    gap: 8px 8px;
    width: 100%;
    max-width: none;
    padding: max(8px, env(safe-area-inset-top, 0px)) 14px 10px;
    box-sizing: border-box;
  }
  .page-market .brand { grid-area: brand; min-width: 0; }
  .page-market .brand img { width: 36px; height: 36px; }
  .page-market .brand-meta small { display: none; }
  .page-market .brand-meta span { font-size: 0.95rem; }
  .page-market .site-menu { grid-column: 1 / -1; }
  .page-market .nav-tools {
    display: contents;
    margin-left: 0;
  }
  .page-market #navLiveChip {
    grid-area: live;
    display: inline-flex !important;
    padding: 4px 8px;
    font-size: 0.66rem;
  }
  .page-market #navWallet {
    grid-area: wallet;
    min-width: 44px;
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .page-market #navWallet .nav-wallet-label { display: none; }
  .page-market .nav-toggle { grid-area: menu; }
  .page-market .cl-symbol-search {
    display: block !important;
    grid-area: search;
    order: unset;
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 46px;
    font-size: 16px;
  }
  .page-market .nav-quota,
  .page-market #navMember,
  .page-market .cl-topbar-extra { display: none !important; }
  .page-market.has-cl-shell .cl-shell-main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .mcc-search-hits { left: 14px; right: 14px; width: auto; }
}
@media (max-width: 720px) {
  .mcc-hero { padding: 12px 14px 10px; margin-bottom: 12px; }
  .mcc-hero h1 { font-size: 1.35rem; }
  .mcc-pulse-meta { margin-bottom: 10px; }
  .mcc-mood { margin-bottom: 10px; padding: 7px 10px; }
  .mcc-discover { margin-bottom: 12px; }
  .mcc-pulse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 6px;
  }
  .mcc-pulse-cell { padding: 10px 12px; }
  .mcc-pulse-cell .mcc-v { font-size: 1.35rem; }
  .mcc-pulse-meta { margin-bottom: 8px; }
  .mcc-featured-sec { margin-bottom: 18px; }
  .mcc-featured {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    gap: 10px;
    padding: 2px 0 10px;
    -webkit-overflow-scrolling: touch;
  }
  .mcc-asset {
    flex: 0 0 82%;
    width: 82%;
    max-width: 82%;
    min-width: 0;
    scroll-snap-align: start;
    min-height: 196px;
  }
  .mcc-px { font-size: 1.55rem; }
  .mcc-cta { min-height: 44px; }
  .mcc-movers-head { display: flex; margin-bottom: 8px; }
  .mcc-tabs { display: flex; }
  .mcc-movers-band { grid-template-columns: 1fr; gap: 12px; }
  #mccVolumeBox { grid-column: auto; }
  .mcc-board[data-mcc-panel] { display: none; }
  .mcc-board[data-mcc-panel].is-on { display: block; }
  .mcc-board[data-mcc-panel] > h2 { display: none; }
  .mcc-sec-head h2,
  .mcc-movers-head h2 { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mcc-live-dot, .mcc-skel, .mcc-flash-up, .mcc-flash-down, .mcc-opp-new, .mcc-card,
  .mcc-sig, .mcc-scan, .mcc-scan::after, .mcc-scan-dots i, .mcc-rank-shift,
  .mcc-hero, .mcc-movers-band, .mcc-discover, .mcc-featured-sec, .mcc-fiona.is-scanning,
  .mcc-live-chip.is-live .mcc-live-dot, #mccHeroLive.is-live .mcc-live-dot, #mccHeroLive.is-stale .mcc-live-dot {
    animation: none !important;
    transition: none !important;
  }
  .mcc-card:hover, .page-market .coin-chip:hover { transform: none; }
}
