.btc-card {
  padding: clamp(18px, 3.1vw, 36px);
  border: 1px solid #e1e5ec;
  border-radius: 28px;
  background: #fff;
  color: #14213b;
  box-shadow: 0 12px 40px rgba(24,39,73,.045);
  font-variant-numeric: tabular-nums;
}
.btc-card [hidden] { display: none !important; }
.btc-head, .btc-pair, .btc-priceline, .btc-range, .btc-source, .btc-actions { display: flex; align-items: center; }
.btc-head, .btc-priceline, .btc-source { justify-content: space-between; gap: 12px; }
.btc-pair { gap: 12px; }
.btc-pair > i { display: grid; place-items: center; background: #fff0ce; color: #9a5d05; border-radius: 16px; width: 48px; height: 48px; font: 700 29px/1 system-ui; }
.btc-pair h2 { margin: 0; color: #14213b; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.25; letter-spacing: -.04em; }
.btc-pair p, .btc-caption, .btc-source { color: #526179; font-size: 13px; line-height: 1.5; }
.btc-pair p { margin: 2px 0 0; }
.btc-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: #f0f2f6; padding: 7px 12px; color: #455873; font-size: 12px; font-weight: 700; white-space: nowrap; }
.btc-status::before { content: ''; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.btc-actions[hidden] { display: none; }
.btc-status[data-state="live"] { background: #e3f5ee; color: #176550; }
.btc-priceline { flex-wrap: wrap; margin-top: clamp(24px, 4vw, 38px); }
.btc-priceline > strong { font-size: clamp(34px, 5.6vw, 58px); line-height: 1; letter-spacing: -.065em; font-weight: 650; }
.btc-range { padding: 4px; background: #eff2f6; border-radius: 12px; }
.btc-range button, .btc-source button { font: inherit; cursor: pointer; }
.btc-range button { border: 0; color: #526179; background: transparent; border-radius: 9px; min-width: 46px; min-height: 34px; padding: 5px 9px; font-size: 14px; font-weight: 650; }
.btc-range button[aria-pressed="true"] { background: white; color: #14213b; box-shadow: 0 1px 4px #23334a1c; }
.btc-caption { margin: 8px 0 18px; }
.btc-plot { min-width: 0; }
.btc-plot canvas { width: 100%; height: clamp(235px, 30vw, 345px); display: block; cursor: crosshair; }
.btc-card :focus-visible, .btc-actions a:focus-visible { outline: 3px solid #4468dd; outline-offset: 3px; }
.btc-inspect { min-height: 1.3em; margin: 2px 0 12px; font-size: 12px; color: #48576d; }
.btc-empty { min-height: 155px; background: #f6f7fa; border-radius: 16px; display: grid; place-items: center; color: #48576d; }
.btc-figures { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid #e7ebf2; padding-top: 18px; }
.btc-figures > div { padding-right: 7px; }
.btc-figures span, .btc-figures strong { display: block; }
.btc-figures span { font-size: 13px; color: #536079; }
.btc-figures .btc-strike-label { display: inline; }
.btc-figures strong { color: #16213a; font-size: clamp(17px, 2.3vw, 26px); letter-spacing: -.05em; margin-top: 5px; }
.btc-figures [data-btc="odds"] { color: #6e4ab5; }
.btc-dash { display: inline-block; border-top: 2px dashed #8b651c; width: 13px; vertical-align: middle; margin-right: 2px; }
.btc-source { margin-top: 20px; }
.btc-details { margin-top: 16px; color: #526179; }
.btc-details summary { cursor: pointer; font-size: 14px; font-weight: 650; padding-block: 8px; }
.btc-details dl { margin: 4px 0 0; }
.btc-details dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; border-bottom: 1px solid #e7ebf2; padding: 9px 0; font-size: 14px; }
.btc-details dd { margin: 0; font-weight: 600; color: #14213b; }
.btc-source button { color: #2646bd; background: #edf2ff; border: none; padding: 8px 13px; border-radius: 10px; font-size: 14px; font-weight: 650; }
.btc-actions { flex-wrap: wrap; gap: 12px 22px; margin: 18px 3px; }
.btc-actions a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; font-size: 15px; font-weight: 650; color: #294bd8; text-decoration: none; }
.btc-actions a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .btc-card { border-radius: 21px; padding: 15px; }
  .btc-pair { gap: 9px; }
  .btc-figures span { font-size: 12px; }
  .btc-pair > i { width: 39px; height: 39px; border-radius: 12px; }
  .btc-range button { min-width: 40px; }
  .btc-actions { gap: 8px 18px; }
}

.btc-empty[data-loading="true"]{background:linear-gradient(110deg,#f4f6fb 20%,#e8edfb 40%,#f4f6fb 60%);background-size:220% 100%;animation:btc-wait 1.6s ease-in-out infinite}
@keyframes btc-wait{from{background-position:100% 0}to{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.btc-empty[data-loading="true"]{animation:none}}
