/* v20260918-market-alpha04: stable Alfa density with four fixed summary instruments. */
.view-section[data-view="home"] .home-market-board,
.view-section[data-view="home"] .quote-strip-home.home-market-board-shell .home-market-board {
  --home-market-card-surface: #15161a;
  --home-market-card-border: rgba(255, 255, 255, 0.065);
  gap: 10px !important;
  border-color: rgba(255, 255, 255, 0.075) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 61, 255, 0.04), transparent 32%),
    linear-gradient(180deg, #121318 0%, #0b0c0f 100%) !important;
  color: #f7f7f8 !important;
}

.view-section[data-view="home"] .home-market-date {
  color: #f4f4f6 !important;
}

.view-section[data-view="home"] .home-market-content {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

.view-section[data-view="home"] .home-market-hero {
  min-height: 180px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 111, 235, 0.18), transparent 38%),
    linear-gradient(145deg, #8d00c5 0%, #7100a8 58%, #550080 100%) !important;
  color: #ffffff !important;
}

.view-section[data-view="home"] .home-market-hero-top {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}

.view-section[data-view="home"] .home-market-hero-kicker {
  color: rgba(255, 255, 255, 0.82) !important;
}

.view-section[data-view="home"] .home-market-live {
  background: rgba(12, 12, 17, 0.38) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.view-section[data-view="home"] .home-market-live.positive {
  color: #5be39a !important;
}

.view-section[data-view="home"] .home-market-live.negative {
  color: #ffaaa4 !important;
}

.view-section[data-view="home"] .home-market-hero h3 {
  color: #ffffff !important;
}

.view-section[data-view="home"] .home-market-hero p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.view-section[data-view="home"] .home-market-hero small {
  color: rgba(255, 255, 255, 0.62) !important;
}

.view-section[data-view="home"] .home-market-tile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

.view-section[data-view="home"] .home-market-tile {
  min-height: 87px !important;
  padding: 11px 7px !important;
}

.view-section[data-view="home"] .home-market-tile,
.view-section[data-view="home"] .home-market-analytics-row {
  border-color: var(--home-market-card-border) !important;
  background: var(--home-market-card-surface) !important;
  color: #f5f5f7 !important;
}

.view-section[data-view="home"] .home-market-tile-copy span {
  color: #f3f3f5 !important;
}

.view-section[data-view="home"] .home-market-tile-copy strong {
  color: #a7a9b0 !important;
}

.view-section[data-view="home"] .home-market-tile-copy em.positive {
  background: rgba(48, 200, 119, 0.15) !important;
  color: #54dc92 !important;
}

.view-section[data-view="home"] .home-market-tile-copy em.negative {
  background: rgba(239, 106, 98, 0.13) !important;
  color: #ff918b !important;
}

.view-section[data-view="home"] .home-market-tile-copy em.neutral {
  background: rgba(255, 255, 255, 0.055) !important;
  color: #777982 !important;
}

.view-section[data-view="home"] .home-market-analytics-row strong {
  color: #f3f3f5 !important;
}

.view-section[data-view="home"] .home-market-analytics-row {
  min-height: 58px !important;
}

.view-section[data-view="home"] .home-market-analytics-row:focus-visible {
  outline: 2px solid #ef3124 !important;
  outline-offset: 2px !important;
}

.view-section[data-view="home"] .home-market-analytics-icon {
  background:
    linear-gradient(135deg, #7412a2 0%, #4d086c 100%) !important;
}

.view-section[data-view="home"] .home-market-analytics-arrow {
  color: #777982 !important;
}

@media (max-width: 380px) {
  .view-section[data-view="home"] .home-market-tile-copy em {
    min-width: 52px !important;
    padding-inline: 4px !important;
    font-size: 11px !important;
  }
}
