.bt-market-shell .bt-market-stats-bar {
  gap: 10px;
  padding: 12px 15px;
  border-radius: 13px;
  margin-top: 12px;
}
.bt-market-shell .bt-market-stat {
  min-width: 0;
  padding: 4px 8px;
}
.bt-market-shell .bt-market-stat span {
  font-size: 11px;
  line-height: 1.5;
}
.bt-market-shell .bt-market-stat strong {
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.bt-market-hero-compact .bt-market-stats-bar {
  margin: 0 0 13px;
}
.bt-market-detail-v2 .bt-market-detail-hero {
  padding: 22px;
  gap: 18px;
}
.bt-market-detail-v2 .bt-market-detail-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 16px;
}
.bt-market-detail-v2 .bt-market-detail-logo img {
  max-width: 46px;
  max-height: 46px;
}
.bt-market-detail-v2 .bt-market-detail-copy h1 {
  font-size: 25px;
  margin: 7px 0 10px;
}
.bt-market-detail-v2 .bt-market-detail-price-line > strong {
  font-size: 30px;
}
.bt-market-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 16px;
  margin: 8px 0 25px;
  align-items: start;
}
.bt-market-widget {
  min-width: 0;
  background: #fff;
  border: 1px solid #e0ece9;
  border-radius: 17px;
  padding: 19px;
  box-shadow: 0 5px 20px #25484005;
}
.bt-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.bt-widget-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #294c48;
  margin: 0;
}
.bt-widget-head > span {
  color: var(--bt-brand, #349785);
  font-size: 22px;
}
.bt-widget-cap strong {
  display: block;
  font-size: 24px;
  line-height: 1.6;
  color: #284e47;
}
.bt-widget-cap small,
.bt-widget-volume small,
.bt-widget-caption {
  font-size: 11px;
  color: #788c88;
  line-height: 1.6;
}
.bt-dominance {
  margin: 17px 0;
}
.bt-dominance > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.bt-dominance-track {
  margin-top: 9px;
  height: 7px;
  background: #edf4f2;
  border-radius: 8px;
  overflow: hidden;
}
.bt-dominance-track span {
  display: block;
  height: 100%;
  background: var(--bt-brand, #399c88);
  border-radius: 8px;
}
.bt-widget-volume {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #edf2f0;
  font-size: 13px;
}
.bt-widget-coin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  text-decoration: none;
  color: #304d47;
  border-top: 1px solid #eff4f2;
}
.bt-widget-coin > span {
  flex: 1;
  min-width: 0;
}
.bt-widget-coin strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.bt-widget-coin small {
  font-size: 10px;
  color: #7e908c;
}
.bt-widget-coin img {
  border-radius: 50%;
  object-fit: contain;
}
.bt-widget-coin > .bt-market-percent {
  margin-left: auto;
}
.bt-widget-head button {
  border: 1px solid #deebe7;
  border-radius: 8px;
  background: #f6faf9;
  color: #397c6e;
  width: 28px;
  height: 28px;
  font-size: 20px;
  line-height: 1;
}
.bt-x-tabs {
  display: flex;
  gap: 6px;
  overflow: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.bt-x-tabs button {
  flex: none;
  font-size: 10px;
  white-space: nowrap;
  border: 1px solid #e1ebe8;
  background: #fafcfc;
  color: #607e74;
  padding: 7px 9px;
  border-radius: 8px;
}
.bt-x-tabs button[aria-selected="true"] {
  background: #e6f4ee;
  color: #28735e;
  border-color: #b8dfd0;
}
.bt-x-panel {
  min-height: 170px;
  max-width: 100%;
  overflow: hidden;
}
.bt-x-panel[hidden] {
  display: none !important;
}
.bt-x-panel iframe {
  max-width: 100% !important;
  width: 100% !important;
}
.bt-x-fallback {
  display: block;
  font-size: 11px;
  padding: 12px 0 0;
  color: #308573;
}
.bt-network-picker {
  position: relative;
  flex: 0 1 180px;
  min-width: 0;
}
.bt-native-enhanced {
  position: absolute !important;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none;
}
.bt-market-search .bt-network-button {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 9px 12px !important;
  border: 1px solid #d9e8e2;
  border-radius: 10px;
  background: #fff;
  color: #46695f;
  box-shadow: none;
  font-size: 12px;
}
.bt-network-button span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.bt-network-button img {
  flex: none;
  border-radius: 50%;
  object-fit: contain;
}
.bt-network-panel {
  position: absolute;
  z-index: 1100;
  right: 0;
  top: calc(100% + 8px);
  width: min(290px, 85vw);
  padding: 10px;
  background: #fff;
  box-shadow: 0 12px 32px #163a2926;
  border: 1px solid #e0eae6;
  border-radius: 13px;
}
.bt-network-panel[hidden] {
  display: none !important;
}
.bt-network-panel > input {
  width: 100% !important;
  padding: 9px 10px !important;
  font-size: 12px !important;
  height: 38px;
  border: 1px solid #dce7e2;
  border-radius: 8px;
}
.bt-network-panel [role="listbox"] {
  max-height: 250px;
  overflow: auto;
  margin-top: 8px;
}
.bt-market-search .bt-network-panel button {
  width: 100%;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px !important;
  height: auto !important;
  font-size: 12px;
  background: white;
  color: #375c4e;
  border: none;
  border-radius: 7px;
  text-align: left;
}
.bt-network-panel button[aria-selected="true"],
.bt-network-panel button:hover {
  background: #eaf5ef !important;
}
.bt-network-panel button[hidden] {
  display: none !important;
}
.bt-exp-suggestions a {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.bt-exp-suggestions img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
}
.bt-exp-suggestions span {
  overflow-wrap: anywhere;
}
.bt-exp-suggestions small {
  font-size: 10px;
  max-width: 115px;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .bt-market-widgets {
    grid-template-columns: 1fr 1fr;
  }
  .bt-x-widget {
    grid-column: 1/-1;
  }
}
@media (max-width: 767px) {
  .bt-market-widgets {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }
  .bt-x-widget {
    grid-column: auto;
  }
  .bt-market-widget {
    padding: 16px;
  }
  .bt-market-shell .bt-market-stats-bar {
    display: flex;
    overflow: auto;
    gap: 8px;
    padding: 9px 7px;
  }
  .bt-market-shell .bt-market-stat {
    flex: 0 0 auto;
    min-width: 110px;
  }
  .bt-market-shell .bt-market-stat strong {
    font-size: 13px;
  }
  .bt-market-detail-v2 .bt-market-detail-hero {
    padding: 17px;
    gap: 13px;
  }
  .bt-market-detail-v2 .bt-market-detail-copy h1 {
    font-size: 21px;
  }
  .bt-network-picker {
    flex: 1 1 145px;
    max-width: calc(100% - 88px);
  }
  .bt-market-search .bt-network-button {
    font-size: 11px;
  }
  .bt-network-panel {
    right: auto;
    left: 0;
  }
  .bt-exp-suggestions small {
    max-width: 88px;
  }
  .bt-x-panel {
    min-height: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bt-scroll-rocket {
    transition: none !important;
  }
}

.bt-market-widgets {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
@media (max-width: 1100px) {
  .bt-market-widgets .bt-x-widget {
    grid-column: auto;
  }
}
/* v66: separate the five market metrics from navigation; all overflow stays inside its own control. */
.bt-market-shell .bt-market-compact-navigation {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px;
  align-items: center;
}
.bt-market-shell .bt-market-compact-navigation > .bt-market-stats-bar {
  grid-column: 1/-1;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin: 0 0 4px;
  padding: 10px;
  gap: 10px;
}
.bt-market-shell .bt-market-stat strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  display: block;
}
.bt-market-shell .bt-market-stat span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.bt-market-shell .bt-market-compact-navigation > .bt-market-subnav {
  min-width: 0;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 6px;
}
.bt-market-shell .bt-market-compact-navigation > .bt-market-subnav > a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 12px;
}
.bt-market-widgets {
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 22px;
}
.bt-market-widget {
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 6px 20px #25384604;
  border-color: #e1e9ef;
}
.bt-widget-head {
  margin-bottom: 14px;
}
.bt-widget-head h2 {
  color: #263a4a;
  font-size: 16px;
}
.bt-widget-head svg {
  color: #4fb2aa;
  flex-shrink: 0;
}
.bt-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 10px;
}
.bt-sentiment {
  padding: 12px 9px;
  background: #f7f9fc;
  border: 1px solid #eaf0f5;
  border-radius: 12px;
  text-align: center;
  min-width: 0;
}
.bt-sentiment h3 {
  font-size: 12px;
  color: #62748b;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.5;
}
.bt-fng-gauge {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: auto;
}
.bt-fng-value {
  font-size: 34px;
  fill: #263a4a;
  font-weight: 700;
}
.bt-fng-label {
  font-size: 13px;
  fill: #536779;
  font-weight: 600;
}
.bt-fng-range {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #7b8da0;
  gap: 5px;
  margin: 3px 0 8px;
}
.bt-sentiment small {
  display: block;
  font-size: 10px;
  color: #748797;
}
.bt-fng-source {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: #287e78;
}
.bt-status-facts {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.bt-status-facts > div {
  background: #f7f9fc;
  border: 1px solid #eaf0f5;
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
}
.bt-status-facts small {
  font-size: 11px;
  color: #687c91;
  display: block;
  margin-bottom: 5px;
}
.bt-status-facts strong {
  font-size: 18px;
  color: #263a4a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.bt-status-facts .bt-dominance-track {
  margin-top: 7px;
  height: 5px;
}
.bt-widget-coin {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px 0;
}
.bt-widget-coin .bt-percent,
.bt-widget-coin > span:last-child {
  width: auto;
  min-width: 0;
  max-width: 105px;
}
.bt-widget-coin .bt-percent {
  font-size: 11px;
  padding: 4px 7px;
}
.bt-widget-caption {
  font-size: 11px;
}
.bt-widget-coin > span strong {
  font-size: 12px;
}
.bt-x-tabs {
  gap: 5px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 6px;
}
.bt-x-tabs button {
  flex: 0 0 auto;
  font-size: 10px;
  padding: 7px 8px;
  min-height: 33px;
  border-radius: 8px;
}
.bt-x-widget .bt-widget-head button {
  width: 30px;
  height: 30px;
  min-height: 0;
  padding: 0;
  border-radius: 8px;
}
.bt-x-panel {
  min-height: 0 !important;
  padding-top: 12px;
}
.bt-x-account-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px;
  background: #f7f9fc;
  border-radius: 12px;
  border: 1px solid #eaf0f5;
}
.bt-x-account-mark {
  font-size: 22px;
  color: #293a46;
}
.bt-x-account-card div {
  min-width: 0;
}
.bt-x-account-card strong {
  display: block;
  font-size: 13px;
  color: #2a3d4d;
  overflow-wrap: anywhere;
}
.bt-x-account-card div span {
  font-size: 11px;
  color: #798c9c;
}
.bt-x-panel.has-timeline .bt-x-account-card {
  display: none;
}
.bt-x-fallback {
  margin-top: 13px;
  font-size: 11px;
}
.bt-network-button > img {
  width: 22px;
  height: 22px;
  border-radius: 0;
}
.bt-network-panel input {
  border-radius: 9px;
  border: 1px solid #dce6eb;
  outline: none;
}
.bt-network-panel input:focus {
  border-color: #4fb2aa;
  box-shadow: 0 0 0 3px #4fb2aa18;
}
@media (max-width: 1199px) {
  .bt-market-widgets {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .bt-market-widgets .bt-x-widget {
    grid-column: 1/-1;
  }
  .bt-x-account-card {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .bt-market-shell .bt-market-compact-navigation {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 8px;
  }
  .bt-market-shell .bt-market-compact-navigation > .bt-market-stats-bar {
    grid-template-columns: repeat(5, 150px);
    overflow-x: auto;
    padding: 8px;
    gap: 8px;
  }
  .bt-market-shell .bt-market-compact-navigation .bt-market-compact-fiat {
    width: 90px !important;
    min-width: 0;
  }
  .bt-market-widgets {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .bt-market-widgets .bt-x-widget {
    grid-column: auto;
  }
  .bt-market-widget {
    padding: 16px;
  }
  .bt-status-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .bt-market-search {
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    position: relative;
  }
  .bt-market-search > input {
    grid-column: 1/-1;
    width: 100% !important;
    min-width: 0;
  }
  .bt-market-search > .bt-network-picker {
    max-width: 100% !important;
    min-width: 0;
    width: 100%;
  }
  .bt-market-search > .btn {
    width: auto !important;
    padding: 10px 13px;
    min-width: 0;
  }
  .bt-market-search > .bt-exp-suggestions {
    grid-column: 1/-1;
    left: 0;
    right: 0;
    width: 100%;
  }
  .bt-network-button {
    width: 100%;
    min-width: 0;
    padding: 9px 11px;
  }
  .bt-network-panel {
    left: 0;
    right: auto;
    width: min(290px, calc(100vw - 40px));
  }
  .bt-x-tabs button {
    font-size: 11px;
  }
  .bt-market-detail-v2 .bt-market-detail-price-line > strong {
    font-size: 25px;
  }
  .bt-market-detail-v2 .bt-market-detail-hero {
    padding: 18px;
  }
  .bt-market-compact-navigation .bt-market-fiat-form label {
    font-size: 10px;
  }
  .bt-market-shell .bt-market-subnav > a {
    padding: 9px 10px !important;
    font-size: 12px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bt-scroll-rocket {
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .bt-market-search > .bt-market-search-field {
    grid-column: 1/-1;
    min-width: 0;
    width: 100%;
    padding: 0;
  }
  .bt-market-search > .bt-market-search-field input {
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
  }
  .bt-market-search > .bt-market-search-field svg {
    flex: 0 0 19px;
  }
  .bt-market-search > .bt-network-picker {
    grid-column: 1;
  }
  .bt-market-search > button {
    grid-column: 2;
  }
}
.bt-market-shell .bt-market-search {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.bt-market-shell .bt-market-search-field {
  flex: 1 1 340px;
  min-width: 0;
}
.bt-market-shell .bt-market-search-field input {
  min-width: 0;
  width: 100%;
}
.bt-market-shell .bt-exp-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 120;
  width: auto;
  border: 1px solid #dce8eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px #26394516;
  padding: 6px;
  max-height: 330px;
  overflow-y: auto;
}
.bt-market-shell .bt-exp-suggestions[hidden] {
  display: none !important;
}
.bt-market-shell .bt-exp-suggestions a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #263a4a;
}
.bt-market-shell .bt-exp-suggestions a:hover,
.bt-market-shell .bt-exp-suggestions a:focus {
  background: #edf7f5;
}
.bt-market-shell .bt-exp-suggestions a span {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.bt-market-shell .bt-exp-suggestions small {
  font-size: 10px;
  color: #74889a;
}
.bt-market-shell .bt-exp-suggestions img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .bt-market-shell .bt-market-search {
    width: 780px;
    flex: 0 1 780px;
  }
}
@media (max-width: 767px) {
  .bt-market-shell .bt-market-search-field {
    flex-basis: auto;
    grid-column: 1/-1;
  }
  .bt-market-shell .bt-exp-suggestions {
    max-height: 280px;
  }
}
.bt-widget-coin > .bt-market-up,
.bt-widget-coin > .bt-market-down,
.bt-widget-coin > .bt-market-neutral {
  font-size: 11px !important;
  padding: 4px 8px !important;
  line-height: 1.5;
  white-space: nowrap;
  width: max-content;
  max-width: 105px;
  min-width: 0;
  justify-self: end;
  border-radius: 8px;
}
.bt-market-compact-navigation > .bt-market-refresh-note {
  grid-column: 1/-1;
}

.bt-x-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f4f8fa;
  color: #536779;
  border: 1px solid #dde8ec;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.bt-x-tabs .bt-x-tab-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}
.bt-x-tabs button[aria-selected="true"] {
  background: #e8f5f2;
  color: #247e75;
  border-color: #abd9d1;
}
.bt-x-tabs button:hover {
  background: #edf7f5;
  color: #247e75;
  border-color: #b7dcd6;
}
.bt-x-tabs button:focus-visible,
.bt-x-widget .bt-widget-head button:focus-visible {
  outline: 2px solid #398d82;
  outline-offset: 2px;
}
.bt-x-widget .bt-widget-head button {
  background: #f4f8fa;
  border: 1px solid #dde8ec;
  color: #536779;
}
.bt-x-widget .bt-widget-head button:hover {
  background: #e8f5f2;
  border-color: #abd9d1;
  color: #247e75;
}

/* v67: primary quote and daily range use separate type scales. */
.bt-market-detail-v2 .bt-market-detail-range strong {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.bt-market-detail-v2 .bt-market-detail-range {
  grid-template-columns: minmax(0, auto) minmax(40px, 1fr) minmax(0, auto);
}
.bt-market-detail-v2 .bt-market-detail-range > div:first-child,
.bt-market-detail-v2 .bt-market-detail-range > div:last-child {
  min-width: 0;
}
.bt-market-detail-v2 .bt-market-detail-price {
  min-width: 0;
}
.bt-market-shell .bt-market-search > button.btn-sub {
  background: var(--bt-brand, #4fb2aa) !important;
  border-color: var(--bt-brand, #4fb2aa) !important;
  color: #172b35 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px #4fb2aa1c;
}
.bt-market-shell .bt-market-search > button.btn-sub:hover {
  background: var(--bt-brand-hover, #69c1bb) !important;
  border-color: var(--bt-brand-hover, #69c1bb) !important;
}
.bt-market-search > button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  opacity: 1;
}
.bt-mover-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.bt-mover-group {
  min-width: 0;
}
.bt-mover-group + .bt-mover-group {
  border-left: 1px solid #e6edf1;
  padding-left: 12px;
}
.bt-mover-group h3 {
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1.5;
  color: #2c8b7d !important;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
}
.bt-mover-group.is-loser h3 {
  color: #b84255 !important;
}
.bt-mover-group .bt-widget-coin {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;
  padding: 10px 0;
  align-items: center;
}
.bt-mover-group .bt-widget-coin img {
  width: 24px;
  height: 24px;
}
.bt-mover-group .bt-widget-coin > span:last-child {
  grid-column: 2;
  justify-self: start;
  max-width: 100%;
  font-size: 10px !important;
  padding: 3px 6px !important;
}
.bt-mover-group .bt-widget-coin > span strong {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.bt-mover-group .bt-widget-coin small {
  font-size: 9px;
}
.bt-movers-widget .bt-widget-caption {
  font-size: 10px;
  margin-bottom: 14px;
}
.bt-x-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #74889a;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 12px;
}
.bt-x-status.is-loading:before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid #d4e8e4;
  border-top-color: #4fb2aa;
  border-radius: 50%;
  animation: bt-x-spin 0.8s linear infinite;
  flex: 0 0 13px;
}
.bt-x-panel.has-timeline .bt-x-status {
  display: none;
}
.bt-x-panel [data-x-timeline] {
  max-height: 330px;
  overflow-y: auto;
  overflow-x: hidden;
}
.bt-x-panel [data-x-timeline]:empty {
  display: none;
}
.bt-x-panel .twitter-tweet {
  margin: 0 0 10px !important;
}
.bt-x-panel iframe {
  max-width: 100% !important;
}
.bt-market-shell .bt-exp-suggestions {
  right: auto;
  width: min(460px, 100%);
  max-width: 100%;
  padding: 4px;
}
.bt-market-shell .bt-exp-suggestions a {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 9px 10px;
}
.bt-suggestion-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bt-suggestion-copy > strong {
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bt-suggestion-contracts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.bt-suggestion-contracts > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  background: #f0f6f7;
  padding: 3px 5px;
  font-size: 9px !important;
  color: #617584;
}
.bt-market-shell .bt-exp-suggestions .bt-suggestion-contracts img {
  width: 12px;
  height: 12px;
}
.bt-suggestion-contracts code {
  font-size: 9px;
  font-family: ui-monospace, monospace;
  color: #657d8d;
  background: none;
  padding: 0;
}
.bt-market-shell .bt-exp-suggestions a > small {
  font-size: 9px;
  align-self: start;
  padding-top: 3px;
  max-width: 65px;
}
.bt-suggestion-contracts .bt-contract-more {
  background: none;
}
@keyframes bt-x-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bt-x-status.is-loading:before {
    animation: none;
  }
}
@media (max-width: 767px) {
  .bt-market-shell .bt-exp-suggestions {
    width: 100%;
  }
  .bt-market-detail-v2 .bt-market-detail-range strong {
    font-size: 12px;
  }
  .bt-market-shell .bt-market-search > button.btn-sub {
    font-size: 12px;
    padding: 10px 12px;
  }
  .bt-mover-columns {
    gap: 10px;
  }
  .bt-mover-group + .bt-mover-group {
    padding-left: 10px;
  }
}

.bt-x-status[hidden] {
  display: none !important;
}

.bt-sentiment .bt-fng-attribution {
  margin-top: 8px;
  font-size: 11px;
  color: #557c79;
}

.bt-market-shell .bt-market-main {
  padding-top: 18px;
}
.bt-market-shell .bt-market-widgets {
  margin-top: 0;
}
.bt-market-compact-navigation > .bt-market-subnav {
  margin-bottom: 0;
}
.bt-market-compact-navigation > .bt-market-compact-fiat {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .bt-market-shell .bt-market-main {
    padding-top: 14px;
  }
}

/* v68: trim navigation spacing while keeping the horizontal mobile menu. */
.bt-market-shell .bt-market-hero {
  padding-bottom: 12px !important;
}
.bt-market-shell .bt-market-hero.bt-market-hero-compact {
  padding-bottom: 10px !important;
}
.bt-market-shell .bt-market-subnav {
  margin-bottom: 0 !important;
  padding-bottom: 3px !important;
}
.bt-market-shell .bt-market-compact-navigation {
  row-gap: 8px !important;
}
.bt-market-shell .bt-market-main {
  padding-top: 12px;
}
.bt-x-status[hidden] {
  display: none !important;
}
.cookie-popup {
  z-index: 2147483000 !important;
  isolation: isolate;
}
@media (max-width: 767px) {
  .bt-market-shell .bt-market-main {
    padding-top: 10px;
  }
}
.bt-market-shell .bt-market-search > button.btn-sub,
.bt-market-shell .bt-market-search > button.btn-sub:hover,
.bt-market-shell .bt-market-search > button.btn-sub:focus-visible,
.bt-market-shell .bt-market-search > button.btn-sub span,
.bt-market-shell .bt-market-search > button.btn-sub svg {
  color: #fff !important;
}

/* v69: X tabs stay inside their card, with local horizontal scrolling. */
.bt-market-shell .bt-x-widget {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.bt-market-shell .bt-x-tabs {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 3px 0 7px;
}
.bt-market-shell .bt-x-tabs::-webkit-scrollbar {
  display: none;
}
.bt-market-shell .bt-x-tabs button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 180px;
  margin: 0;
  white-space: nowrap;
  font-size: 11px !important;
  padding: 8px 10px !important;
}
.bt-market-shell .bt-x-panel {
  min-width: 0;
  max-width: 100%;
}
.bt-market-shell .bt-x-profile {
  min-width: 0;
  max-width: 100%;
}
.bt-market-shell .bt-x-profile strong {
  overflow-wrap: anywhere;
}
/* The header and close control stay outside the internally scrollable resource list. */
.bt-market-links-modal .modal-dialog {
  margin: 16px auto;
  padding: 0 10px;
  min-height: 0;
  height: calc(100% - 32px);
  max-height: calc(100% - 32px);
  align-items: center;
}
.bt-market-links-modal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}
.bt-market-links-modal .modal-header {
  flex: 0 0 auto;
  gap: 12px;
  background: #fff;
  z-index: 2;
}
.bt-market-links-modal .modal-header > div {
  min-width: 0;
}
.bt-market-links-modal .modal-title {
  overflow-wrap: anywhere;
}
.bt-market-links-modal .btn-close {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0.8;
}
.bt-market-links-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.bt-market-links-modal .bt-market-link-groups a span {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 575px) {
  .bt-market-links-modal .modal-dialog {
    margin: 10px auto;
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }
  .bt-market-links-modal .modal-header {
    padding: 14px;
  }
  .bt-market-links-modal .modal-body {
    padding: 14px;
  }
}
.bt-market-shell .bt-x-account-card,
.bt-market-shell .bt-x-account-card > div {
  min-width: 0;
  max-width: 100%;
}
.bt-market-shell .bt-x-account-card strong,
.bt-market-shell .bt-x-account-card span {
  overflow-wrap: anywhere;
}

/* Official X markup follows the card width rather than forcing a 350px desktop width. */
.bt-x-panel [data-x-timeline] > div {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.bt-x-panel .twitter-timeline {
  display: block;
  max-width: 100% !important;
}
.bt-x-panel iframe.twitter-timeline-rendered {
  width: 100% !important;
  max-width: 100% !important;
}

/* Holdings widget uses only server-rendered snapshots and local company icons. */
.bt-holdings-widget {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.bt-holdings-widget .bt-widget-head {
  align-items: center;
}
.bt-holdings-widget h2 {
  font-size: 17px !important;
  line-height: 1.45;
  margin-top: 7px !important;
}
.bt-holdings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e7f6f2;
  color: #2a847a;
  border: 1px solid #d8eae5;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 600;
}
.bt-holdings-badge small {
  font-size: 8px;
  font-weight: 400;
}
.bt-holdings-btc {
  color: #31968d;
  font-size: 26px;
}
.bt-holdings-intro {
  font-size: 11px;
  color: #718692;
  margin: 2px 0 15px;
}
.bt-holdings-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.bt-holding-row {
  padding: 13px;
  background: #f7fafc;
  border: 1px solid #e6eef1;
  border-radius: 12px;
  display: grid;
  gap: 10px;
}
.bt-holding-entity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.bt-holding-entity > div {
  min-width: 0;
}
.bt-holding-entity img {
  flex: 0 0 32px;
}
.bt-holding-entity a {
  color: #263945;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.bt-holding-entity a > span {
  color: #76958f;
  font-size: 9px;
}
.bt-holding-entity small {
  display: block;
  font-size: 9px;
  color: #84939e;
  margin-top: 3px;
}
.bt-holding-balance {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.bt-holding-balance strong {
  font-size: 19px;
  color: #263945;
  letter-spacing: -0.02em;
}
.bt-holding-balance strong > span {
  font-size: 10px;
  color: #7c909a;
  font-weight: 400;
}
.bt-holding-change {
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1.5;
}
.bt-holding-change.is-up {
  color: #16836c;
  background: #e5f6ee;
}
.bt-holding-change.is-down {
  color: #bf4055;
  background: #fbeaf0;
}
.bt-holding-change.is-neutral {
  color: #788b93;
  background: #edf2f5;
}
.bt-holding-period {
  font-size: 9px;
  color: #83969f;
}
.bt-holdings-footer {
  display: flex;
  gap: 8px;
  align-items: start;
  margin-top: auto;
  padding-top: 16px;
}
.bt-holdings-clock {
  color: #39988f;
  font-size: 16px;
}
.bt-holdings-footer p {
  font-size: 10px;
  color: #58777d;
  margin: 0;
  line-height: 1.6;
}
.bt-holdings-footer p span {
  color: #89969e;
  font-size: 9px;
}
.bt-holdings-note {
  font-size: 9px;
  line-height: 1.65;
  color: #86949c;
  padding-top: 11px;
  margin: 0;
}
@media (max-width: 767px) {
  .bt-holding-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .bt-holding-balance {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .bt-holding-period {
    grid-column: 1/-1;
  }
  .bt-holding-balance strong {
    font-size: 17px;
  }
  .bt-holdings-note {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .bt-holding-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .bt-holding-balance {
    flex-direction: row;
    align-items: baseline;
  }
  .bt-holdings-badge {
    flex-wrap: wrap;
  }
}

/* Branded holdings card: compact local mark, calm surfaces and readable data. */
.bt-holdings-widget{background:linear-gradient(145deg,#fff 66%,#edf8f6)!important;border-color:#d9ebe7!important;box-shadow:0 5px 22px rgba(34,95,87,.05)}
.bt-holdings-widget .bt-widget-head>div{min-width:0}
.bt-holdings-brand{flex:0 0 48px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #d7eae5;background:#fff;border-radius:15px;box-shadow:0 3px 10px rgba(45,103,93,.06)}
.bt-holdings-brand img{width:32px;height:32px;object-fit:contain}
.bt-holding-row{border-radius:12px;background:rgba(255,255,255,.85);padding:13px 12px}
.bt-holding-entity>div>strong{font-size:12px;color:#294b58;display:block}
.bt-holdings-footer{padding-top:12px;border-top:1px solid #e1eeea}
.bt-holdings-note{background:rgba(230,243,239,.65);border-radius:9px;padding:9px 11px}
@media(max-width:420px){.bt-holdings-brand{width:40px;height:40px;flex-basis:40px;border-radius:12px}.bt-holdings-brand img{width:27px;height:27px}.bt-holdings-widget h2{font-size:16px!important}.bt-holding-row{gap:10px}.bt-holding-balance{min-width:0}.bt-holding-change{white-space:normal}}

.bt-holding-entity img[src*="/kraken.svg"]{background:#5841ba;padding:5px;border-radius:8px}.bt-holding-entity img[src*="/ibit.png"]{width:44px;object-fit:contain;border-radius:6px}.bt-holding-entity img[src*="/strategy.svg"]{width:44px;object-fit:contain}

/* Bound the entity list; extra holders scroll without enlarging the card. */
.bt-holdings-list{display:block;max-height:100px;overflow-y:auto;overflow-x:hidden;padding-right:5px;scrollbar-width:thin;scrollbar-color:#9bcfc5 transparent;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
.bt-holdings-list .bt-holding-row+.bt-holding-row{margin-top:8px}
.bt-holdings-list::-webkit-scrollbar{width:5px}
.bt-holdings-list::-webkit-scrollbar-track{background:transparent}
.bt-holdings-list::-webkit-scrollbar-thumb{background:#9bcfc5;border-radius:8px}
.bt-holdings-list::-webkit-scrollbar-thumb:hover{background:#69b3a5}
.bt-holdings-list:focus-visible{outline:2px solid #69b3a5;outline-offset:3px;border-radius:10px}
@media(max-width:420px){.bt-holdings-list{max-height:108px}}
@media(max-width:360px){.bt-holdings-list{max-height:128px}}
