/* Market Context (index.html) */

.mc {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.mc__header {
  margin: 8px 0 24px;
}

.mc__title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.mc__subtitle {
  margin: 0 0 16px;
  max-width: 72ch;
  opacity: 0.9;
}

.mc__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.mc__metaItem {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px;
}

.mc__metaLabel {
  display: block;
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 6px;
}

.mc__metaValue {
  font-size: 14px;
}

.mc__section {
  margin-top: 24px;
  padding-top: 8px;
}

.mc__sectionHead {
  margin-bottom: 12px;
}

.mc__sectionTitle {
  margin: 0 0 6px;
  font-size: 18px;
}

.mc__sectionNote {
  margin: 0;
  font-size: 13px;
  opacity: 0.75;
}

.mc__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mcCard {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px;
  min-height: 96px;
}

.mcCard__label {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.mcCard__value {
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.mcCard__foot {
  font-size: 12px;
  opacity: 0.7;
}

.mcNews__controls {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  margin: 12px 0 12px;
}

.mcNews__control {
  display: block;
}

.mcNews__label {
  display: block;
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 6px;
}

.mcNews__select,
.mcNews__input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  padding: 10px 12px;
  color: inherit;
}

.mcNews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mcNewsCard {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: stretch;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
}

.mcNewsCard__thumb {
  width: 84px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255,255,255,0.06);
}

.mcNewsCard__thumb--empty {
  display: block;
}

.mcNewsCard__title {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.mcNewsCard__meta {
  font-size: 12px;
  opacity: 0.7;
}

.mcMuted {
  opacity: 0.75;
  font-size: 13px;
}

.mcFineprint {
  margin: 12px 0 0;
  font-size: 12px;
  opacity: 0.7;
}

@media (max-width: 980px) {
  .mc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mcNews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mc__meta {
    grid-template-columns: 1fr;
  }
  .mcNews__controls {
    grid-template-columns: 1fr;
  }
  .mcNews__grid {
    grid-template-columns: 1fr;
  }
  .mcNewsCard {
    grid-template-columns: 72px 1fr;
  }
  .mcNewsCard__thumb {
    width: 72px;
  }
}

/* Tile locked state (used by homeTilesGate.js) */
.is-locked {
  opacity: 0.65;
  filter: grayscale(0.25);
  cursor: not-allowed;
}
.is-locked [data-lock-note] {
  font-size: 0.95rem;
}
