.btc-home-section {
  --btc-ink: #27333b;
  --btc-muted: #6f7476;
  --btc-line: #d9d6d0;
  --btc-soft: #f5f4f0;
  --btc-card: #ffffff;
  --btc-green: #0e8a73;
  --btc-red: #b33a3a;
  background: #f8f7f3;
  border-top: 0;
  border-bottom: 1px solid var(--btc-line);
  color: var(--btc-ink);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 auto 42px;
  max-width: 1220px;
  padding: 18px 26px 42px;
}

.btc-section-header {
  margin: 0 auto 26px;
  max-width: 760px;
  text-align: center;
}

.btc-kicker {
  color: var(--btc-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1.5;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.btc-section-header h2 {
  color: var(--btc-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.08;
  margin: 0;
}

.btc-status {
  background: #fff8dd;
  border: 1px solid #e5d28a;
  color: #584b16;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.btc-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.btc-card {
  background: var(--btc-card);
  border: 1px solid var(--btc-line);
  min-height: 92px;
  padding: 14px 16px;
}

.btc-card-main {
  border-top: 4px solid var(--btc-green);
}

.btc-label {
  color: var(--btc-muted);
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.btc-card strong {
  color: var(--btc-ink);
  display: block;
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.btc-card small {
  color: var(--btc-muted);
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.btc-negative {
  color: var(--btc-red) !important;
}

.btc-positive {
  color: var(--btc-green) !important;
}

.btc-rate-row {
  align-items: center;
  border-top: 1px solid #ebe8e3;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
}

.btc-rate-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.btc-rate-row span {
  color: var(--btc-muted);
}

.btc-rate-row strong {
  font-size: 17px;
  margin: 0;
  text-align: right;
}

.btc-chart-shell {
  background: var(--btc-card);
  border: 1px solid var(--btc-line);
  padding: 18px;
}

.btc-chart-heading {
  align-items: end;
  border-bottom: 1px solid #ebe8e3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.btc-chart-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
  margin: 0;
}

.btc-chart-heading span {
  border: 1px solid var(--btc-line);
  color: var(--btc-muted);
  font-size: 13px;
  padding: 7px 10px;
}

.btc-tradingview {
  height: 680px !important;
  min-height: 680px;
}

.btc-tradingview .tradingview-widget-container__widget,
.btc-tradingview iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

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

@media (max-width: 640px) {
  .btc-home-section {
    margin: 0 0 34px;
    padding: 16px 16px 34px;
  }

  .btc-kicker {
    font-size: 11px;
    letter-spacing: 6px;
  }

  .btc-section-header h2 {
    font-size: 32px;
  }

  .btc-grid {
    grid-template-columns: 1fr;
  }

  .btc-card {
    min-height: 0;
    padding: 14px 16px;
  }

  .btc-card strong {
    font-size: 24px;
  }

  .btc-chart-shell {
    padding: 14px;
  }

  .btc-chart-heading {
    align-items: start;
    flex-direction: column;
  }

  .btc-tradingview {
    height: 610px !important;
    min-height: 560px;
  }
}
