.hot-cards-shell {
  padding: 42px 0 90px;
}

.hot-cards-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: end;
}

.hot-cards-method,
.investment-panel,
.investment-kpi {
  border: 1px solid rgba(216, 180, 91, 0.3);
  background: rgba(216, 180, 91, 0.045);
}

.hot-cards-method {
  border-radius: 22px;
  padding: 20px;
}

.hot-cards-method strong {
  display: block;
  color: #d8b45b;
  margin-bottom: 8px;
}

.investment-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.investment-kpi {
  display: grid;
  align-content: start;
  min-height: 142px;
  border-radius: 18px;
  padding: 18px;
}

.investment-kpi > span {
  color: #a89f90;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investment-kpi > strong {
  margin: 12px 0 8px;
  color: #f2d06d;
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
}

.investment-kpi > small {
  color: #8f887d;
  line-height: 1.35;
}

.investment-kpi-account {
  background: linear-gradient(
    145deg,
    rgba(29, 88, 58, 0.16),
    rgba(216, 180, 91, 0.04)
  );
}

.investment-panel {
  border-radius: 22px;
  margin-bottom: 22px;
  padding: 22px;
}

.investment-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.investment-section-head h2 {
  margin: 3px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.investment-section-head p {
  max-width: 560px;
  margin: 0;
  color: #9e9689;
  font-size: 0.84rem;
}

.investment-kicker {
  color: #d8b45b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.investment-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.investment-periods button {
  border: 1px solid rgba(216, 180, 91, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #b7ad9d;
  cursor: pointer;
  padding: 8px 12px;
}

.investment-periods button.active {
  background: #d8b45b;
  color: #090806;
}

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

.investment-mini-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(216, 180, 91, 0.2);
  border-radius: 14px;
  background: #0d0c09;
  color: #f7f0df;
  cursor: pointer;
  padding: 10px;
  text-align: left;
}

.investment-mini-card:hover,
.investment-mini-card:focus-visible {
  border-color: #d8b45b;
}

.investment-mini-card img {
  width: 48px;
  height: 62px;
  border-radius: 7px;
  object-fit: contain;
  background: #17130c;
}

.investment-mini-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.investment-mini-copy strong,
.investment-mini-copy small,
.investment-mini-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.investment-mini-copy strong {
  white-space: nowrap;
}

.investment-mini-copy small {
  color: #928a7d;
  font-size: 0.72rem;
  white-space: nowrap;
}

.investment-mini-copy em {
  color: #c6bfae;
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.3;
}

.investment-movement {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.investment-movement.up {
  background: rgba(57, 178, 113, 0.14);
  color: #78dca5;
}

.investment-movement.down {
  background: rgba(205, 79, 79, 0.14);
  color: #ef9696;
}

.investment-movement.neutral {
  background: rgba(216, 180, 91, 0.13);
  color: #e4c66d;
}

.investment-movement.unknown {
  max-width: 94px;
  overflow: hidden;
  background: rgba(143, 136, 125, 0.12);
  color: #9d968b;
  text-overflow: ellipsis;
}

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

.investment-signal {
  overflow: hidden;
  border: 1px solid rgba(216, 180, 91, 0.2);
  border-radius: 16px;
  background: rgba(8, 8, 7, 0.68);
}

.investment-signal > header {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid rgba(216, 180, 91, 0.17);
  padding: 15px;
}

.investment-signal > header span {
  color: #d8b45b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.investment-signal > div {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.investment-signal-buy {
  box-shadow: inset 0 3px #3bb170;
}

.investment-signal-hold {
  box-shadow: inset 0 3px #d8b45b;
}

.investment-signal-sell {
  box-shadow: inset 0 3px #c75050;
}

.investment-heatmap {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
}

.investment-heat-tile {
  display: grid;
  align-content: end;
  min-height: 86px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  color: #fff;
  cursor: pointer;
  padding: 12px;
  text-align: left;
}

.investment-heat-tile.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 179px;
}

.investment-heat-tile.medium {
  grid-column: span 2;
}

.investment-heat-tile.up {
  background: linear-gradient(145deg, #173e2b, #215c3c);
}

.investment-heat-tile.down {
  background: linear-gradient(145deg, #4a2020, #672828);
}

.investment-heat-tile.neutral {
  background: linear-gradient(145deg, #443719, #675324);
}

.investment-heat-tile.unknown {
  background: linear-gradient(145deg, #272521, #38342e);
}

.investment-heat-tile strong,
.investment-heat-tile span,
.investment-heat-tile small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investment-heat-tile span {
  margin-top: 5px;
  font-size: 1.05rem;
  font-weight: 800;
}

.investment-heat-tile small {
  color: rgba(255, 255, 255, 0.66);
}

.investment-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: #9f978a;
  font-size: 0.74rem;
}

.investment-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.investment-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.heat-up {
  background: #3bb170;
}

.heat-neutral {
  background: #d8b45b;
}

.heat-down {
  background: #c75050;
}

.heat-unknown {
  background: #777169;
}

.investment-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(216, 180, 91, 0.25);
  border-radius: 13px;
  color: #9f978a;
  padding: 20px;
  text-align: center;
}

.investment-opportunity-head {
  margin: 38px 0 0;
}

.hot-cards-controls {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(145px, 1fr)) auto;
  gap: 12px;
  margin: 18px 0;
}

.hot-cards-controls label {
  display: grid;
  gap: 7px;
  color: #b7ad9d;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hot-cards-controls input,
.hot-cards-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(216, 180, 91, 0.35);
  border-radius: 12px;
  background: #0b0a08;
  color: #f7f0df;
  padding: 0 14px;
}

.hot-cards-status {
  min-height: 28px;
  color: #b7ad9d;
  margin: 10px 0 20px;
}

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

.hot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 91, 0.28);
  border-radius: 20px;
  background: #0d0c09;
}

.hot-card-media {
  display: grid;
  aspect-ratio: 3 / 4;
  place-items: center;
  background: linear-gradient(145deg, #1c160c, #070706);
  padding: 16px;
}

.hot-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hot-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.hot-card-copy h3 {
  margin: 0;
  font-size: 1.12rem;
}

.hot-card-meta {
  color: #a89f90;
  font-size: 0.84rem;
}

.hot-card-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hot-card-price {
  border: 1px solid rgba(216, 180, 91, 0.2);
  border-radius: 12px;
  padding: 11px;
}

.hot-card-price span {
  display: block;
  color: #a89f90;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hot-card-price b {
  display: block;
  margin-top: 4px;
  color: #f2d06d;
  font-size: 1.08rem;
}

.hot-card-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hot-card-pill {
  border-radius: 999px;
  background: rgba(216, 180, 91, 0.12);
  color: #e4c66d;
  padding: 6px 9px;
  font-size: 0.76rem;
}

.hot-card-evidence {
  color: #8f887d;
  font-size: 0.74rem;
  line-height: 1.5;
}

.hot-card .btn {
  margin-top: auto;
  text-align: center;
}

.hot-cards-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(216, 180, 91, 0.32);
  border-radius: 18px;
  color: #b7ad9d;
  padding: 35px;
  text-align: center;
}

.hot-cards-load-more {
  display: block;
  margin: 22px auto 0;
}

.hot-cards-load-more[hidden] {
  display: none;
}

.hot-cards-disclaimer {
  margin-top: 24px;
  border-left: 3px solid #d8b45b;
  background: #12100c;
  color: #afa696;
  padding: 16px 18px;
  font-size: 0.84rem;
}

@media (max-width: 1180px) {
  .investment-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .investment-movers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .investment-heatmap {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .hot-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .investment-signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hot-cards-shell {
    padding-top: 30px;
  }

  .hot-cards-hero,
  .investment-kpis {
    grid-template-columns: 1fr;
  }

  .investment-kpi {
    min-height: 0;
  }

  .investment-section-head {
    align-items: start;
    flex-direction: column;
  }

  .hot-cards-controls {
    grid-template-columns: 1fr 1fr;
  }

  .hot-cards-controls label:first-child,
  .hot-cards-controls button {
    grid-column: 1 / -1;
  }

  .hot-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .investment-heatmap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .investment-panel {
    padding: 16px;
  }

  .investment-movers,
  .hot-cards-controls,
  .hot-cards-grid {
    grid-template-columns: 1fr;
  }

  .investment-mini-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .investment-mini-card img {
    width: 44px;
    height: 58px;
  }

  .investment-movement {
    grid-column: 2;
    justify-self: start;
  }

  .investment-heatmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
