:root {
  --nav-height: 60px;
  --bg: #f6f7fb;
  --card: #fff;
  --line: #e0e4e8;
  --line-soft: #f0f2f3;
  --text: #404245;
  --text-dark: #101010;
  --muted: #91979d;
  --brand: #c23631;
  --brand-hover: #e50915;
  --link: #c23631;
  --green: #3cc13b;
  --green-dark: #2d912c;
  --green-bg: #ebf9eb;
  --red: #c23631;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  background: url("../img/body_bg.webp") 0 0 / 100% 438px no-repeat;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.page {
  padding: 16px 0 32px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar__inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand__name {
  font-family: Lato, Roboto, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__name-accent {
  color: var(--brand);
}

.brand__logo {
  height: 22px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: var(--nav-height);
  padding: 0 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}

.nav a:hover { color: var(--brand); }

.nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 500;
}

.nav-badge {
  font-size: 10px;
  line-height: 1;
  color: #fff;
  background: var(--brand);
  border-radius: 3px;
  padding: 2px 4px;
  font-weight: 700;
}

.actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

a.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn--solid {
  background: #101828;
  color: #fff;
  padding: 8px 16px;
}

.btn--solid:hover { background: #1f2937; }

.search-hero {
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 12px;
  min-height: 48px;
}

.search-icon {
  color: var(--muted);
  display: flex;
  align-items: center;
}

.search-row input {
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
  flex: 1;
  min-width: 0;
}

.search-row input::placeholder { color: #b0bac9; }

.search-submit {
  flex-shrink: 0;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  min-height: 36px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(194, 54, 49, 0.18);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}

.search-submit:hover {
  background: var(--brand-hover);
  box-shadow: 0 2px 8px rgba(194, 54, 49, 0.28);
}

.search-submit:active {
  transform: translateY(1px);
}

.trend-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 12px;
  color: var(--muted);
}

.trend-title {
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1.4;
}

.trend-tags {
  flex: 1;
  min-width: 0;
}

.trend-tags__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trend-token {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
  margin-bottom: 4px;
}

.trend-token__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  flex-shrink: 0;
}

.trend-token__img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.trend-token__icon--vip .trend-token__vip {
  position: absolute;
  right: -5px;
  bottom: -3px;
  line-height: 0;
}

.trend-token__link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.trend-token__link:hover {
  color: var(--brand);
}

.trend-token--more {
  margin-right: 0;
}

.trend-tags__more,
.trend-token__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  flex-shrink: 0;
}

.trend-tags__more:hover,
.trend-token__more:hover {
  color: var(--brand);
}

.trend-token__arrow {
  flex-shrink: 0;
}

.overview-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.overview-grid > .metrics-panel {
  flex: 1;
  min-width: 0;
}

.overview-grid > .market-panel {
  width: 430px;
  min-width: 270px;
  flex-shrink: 0;
}

.panel {
  padding: 16px;
}

.metrics-panel {
  padding: 0 20px;
  overflow: hidden;
}

.market-panel {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.metrics-inline {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.metric-item {
  box-sizing: border-box;
  width: 50%;
}

.metric-item:nth-child(odd) {
  border-right: 1px solid var(--line-soft);
}

.metric-item:nth-child(2n) {
  padding-left: 20px;
}

.metric-item:nth-child(-n + 2) {
  padding-bottom: 18px;
}

.metric-item:nth-child(n + 3) {
  padding-top: 18px;
}

.metric-item__link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 20px;
  text-decoration: none;
  color: var(--muted);
}

.metric-item:nth-child(2n) .metric-item__link {
  padding-right: 0;
}

.metric-item__link:hover .metric-item__value {
  color: var(--brand);
}

.metric-item__left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.metric-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.metric-item__center {
  min-width: 0;
}

.metric-item__title {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 16px;
  color: var(--muted);
}

.metric-item__value {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.metric-item__delta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  font-size: 14px;
  line-height: 16px;
}

.metric-item__delta-label {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 16px;
  color: var(--muted);
  white-space: nowrap;
}

.metric-item__delta-value {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  color: var(--text-dark);
}

.metric-item__delta-value.up,
.up {
  color: var(--green-dark);
}

.metric-item__delta-value.down,
.down {
  color: var(--brand);
}

.chain-stats {
  margin: 0;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.chain-stat {
  display: flex;
  align-items: center;
  margin-right: 30px;
  min-width: 0;
}

.chain-stat:last-child {
  margin-right: 0;
}

.chain-stat__title {
  margin-right: 6px;
  font-size: 13px;
  line-height: 16px;
  color: var(--text);
  white-space: nowrap;
}

.chain-stat__value {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.trx-market {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trx-market__header-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.trx-market__header-link:hover {
  text-decoration: none;
}

.trx-market__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 12px;
  border-bottom: 1px solid var(--line-soft);
}

.trx-market__logo-group,
.trx-market__meta {
  position: relative;
}

.trx-market__logo-group {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.trx-market__logo-icon {
  width: 40px;
  margin: auto 14px auto 20px;
  flex-shrink: 0;
}

.trx-market__logo-group .token-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.trx-market__title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trx-market__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 16px;
  margin-bottom: 2px;
}

.trx-market__header-link:hover .trx-market__title,
.trx-market__header-link:hover .trx-market__price-row .price {
  color: var(--brand);
}

.trx-market__price-row {
  display: flex;
  align-items: center;
  height: 24px;
}

.trx-market__price-row .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 24px;
  flex-shrink: 0;
}

.trx-market__wave {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  height: 19px;
  padding: 0 6px;
  border-radius: 5px;
  line-height: 19px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.trx-market__wave.up {
  background: var(--green-bg);
  color: var(--green-dark);
}

.trx-market__wave.down {
  background: rgba(194, 54, 49, 0.1);
  color: var(--brand);
}

.trx-market__change-arrow {
  display: inline-flex;
  align-items: center;
  width: 10px;
  margin-left: 3px;
  font-size: 10px;
  line-height: 1;
}

.trx-market__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 20px;
  flex-shrink: 0;
}

.trx-market__meta-item {
  display: flex;
  align-items: center;
  height: 16px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 16px;
}

.trx-market__meta-item:last-child {
  margin-bottom: 0;
}

.trx-market__meta-label {
  color: var(--muted);
  margin-right: 4px;
  white-space: nowrap;
}

.trx-market__meta-value {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.trx-market__header-link:hover .trx-market__meta-value {
  color: var(--brand);
}

.trx-market__supply-chart .chart--supply {
  flex: 1;
  width: 100%;
  min-height: 0;
  height: 104px;
  margin: 0;
  border: none;
  background: transparent;
  overflow: visible;
  position: relative;
  cursor: default;
}

.trx-market__supply-chart .chart--supply svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.supply-chart__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
}

.supply-chart__crosshair {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed #d5d8de;
  transform: translateX(-0.5px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.supply-chart__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #437efb;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  box-sizing: border-box;
}

.chart--line svg {
  display: block;
  width: 100%;
  height: 100%;
}

.market-panel .chart--line svg {
  overflow: hidden;
}

.sparkline-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-sizing: border-box;
}

.trx-market__bottom {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 20px;
}

.trx-market__supply-chart {
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 180px;
  max-width: 260px;
  margin-left: -5px;
  margin-right: 10px;
  position: relative;
  overflow: visible;
}

.trx-market__supply-delta {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin-left: 5px;
  padding-right: 17px;
  font-size: 12px;
  line-height: 16px;
  pointer-events: none;
}

.trx-market__supply-label {
  color: var(--muted);
}

.trx-market__supply-change {
  display: inline-flex;
  align-items: center;
}

.trx-market__supply-change strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.trx-market__supply-change strong.up {
  color: var(--green-dark);
}

.trx-market__supply-change strong.down {
  color: var(--brand);
}

.trx-market__supply-year {
  color: var(--muted);
  font-size: 12px;
}

.trx-market__supply-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-width: 100px;
  flex-shrink: 0;
}

.trx-market__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 16px;
}

.trx-market__stat + .trx-market__stat {
  margin-top: 16px;
}

.trx-market__stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.trx-market__stat strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 19px;
  white-space: nowrap;
  text-align: right;
}

.market-panel .chart--line svg {
  width: 100%;
  height: 100%;
  display: block;
}

.market-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-dark);
}

.token-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.market-head .price {
  font-size: 24px;
  font-weight: 500;
  margin-left: 4px;
}

.chart {
  border-radius: 4px;
  background: #fafbfd;
}

.chart--line {
  margin-top: 12px;
  height: 120px;
  border: 1px solid var(--line-soft);
}

.market-meta {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.market-meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.market-meta strong {
  color: var(--text-dark);
  font-weight: 500;
}

.market-panel .chart--line svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-head,
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel__head-main {
  min-width: 0;
}

.panel__sub {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.tx-panel .panel__head {
  align-items: flex-start;
  padding: 16px 20px 12px;
}

.tx-panel {
  padding: 0;
  overflow: hidden;
}

.section-head h2,
.panel__head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-more,
.panel__head .section-more {
  font-size: 13px;
  color: var(--muted);
}

.section-more:hover { color: var(--brand); }

.home-blocks {
  margin-bottom: 24px;
}

.home-blocks__head {
  margin: 24px 0 12px;
}

.home-blocks__head h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 32px;
  color: var(--text-dark);
}

.home-blocks__content {
  position: relative;
}

.home-blocks__rail {
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  right: 0;
  height: 16px;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 5px 20px -5px rgba(16, 16, 16, 0.14);
}

.home-blocks__rail-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), #eef1f6;
  box-shadow:
    0 -5px 20px -5px rgba(16, 16, 16, 0.14),
    inset 0 -3px 5px rgba(255, 255, 255, 0.7),
    inset 0 3px 4px rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.home-blocks__rail-slider {
  position: absolute;
  top: 0;
  left: 180px;
  width: 48px;
  height: 16px;
  background: url("../img/blocks/slider-new.svg") no-repeat center / contain;
  animation: blocks-rail-move 3s linear infinite;
  will-change: left;
}

@keyframes blocks-rail-move {
  0% {
    left: 180px;
  }

  100% {
    left: calc(100% - 48px);
  }
}

.home-blocks__scroll-wrap {
  position: relative;
  z-index: 1;
  padding-top: 10px;
  overflow: hidden;
}

.blocks-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 36px;
}

.blocks-grid::-webkit-scrollbar {
  display: none;
}

.block-item {
  flex: 0 0 auto;
  width: calc(25% - 30px);
  min-width: 220px;
  max-width: 280px;
  margin-right: 16px;
}

.block-item__card {
  background: var(--card);
  border-radius: 6px;
  padding: 20px;
  min-height: 120px;
  transition: transform 0.3s ease;
}

.block-item:hover .block-item__card {
  transform: translateY(-10px);
}

.block-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.block-item__number {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-dark);
  white-space: nowrap;
}

.block-item__number:hover {
  color: var(--brand);
}

.block-item__producer {
  display: inline-flex;
  align-items: center;
  max-width: 55%;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-dark);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), #eef1f6;
  text-decoration: none;
}

.block-item__producer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 145px;
}

.block-item__producer-arrow {
  flex-shrink: 0;
  margin-left: 4px;
  color: var(--muted);
}

.block-item__producer:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), rgba(194, 54, 49, 0.12);
}

.block-item__producer:hover span,
.block-item__producer:hover .block-item__producer-arrow {
  color: var(--brand);
}

.block-item__time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.block-item__tx-count {
  color: var(--text-dark);
  white-space: nowrap;
}

.block-item__tx-count b {
  font-weight: 600;
}

.block-item__detail {
  margin-top: 20px;
  font-size: 12px;
  line-height: 16px;
}

.block-item__rewards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.block-item__reward {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--muted);
}

.block-item__reward b {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.block-item__icon {
  flex-shrink: 0;
  margin-right: 4px;
  display: block;
  object-fit: contain;
}

.block-item__reward--burn b {
  color: var(--text-dark);
}

.home-blocks__next {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.04);
  backdrop-filter: blur(1px);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-2px);
  transition: background 0.15s ease, color 0.15s ease;
}

.home-blocks__next:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), rgba(194, 54, 49, 0.12);
  color: var(--brand);
}

.explorer-link {
  color: var(--link);
}

.explorer-link:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

.block-item .explorer-link {
  color: var(--text-dark);
  text-decoration: none;
}

.block-item .explorer-link:hover {
  text-decoration: none;
}

.block-item .block-item__number:hover,
.block-item .block-item__number.explorer-link:hover {
  color: var(--brand);
}

.block-item .block-item__producer.explorer-link,
.block-item .block-item__producer.explorer-link span {
  color: var(--text-dark);
}

.block-item .block-item__producer.explorer-link:hover span,
.block-item .block-item__producer.explorer-link:hover .block-item__producer-arrow {
  color: var(--brand);
}

.layout-two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.tx-section { margin-bottom: 24px; }

.cashback-panel {
  margin-bottom: 20px;
  padding: 0;
  overflow: hidden;
  border-color: #f0cdcb;
  background: linear-gradient(180deg, #fff 0%, #fcf5f5 100%);
}

.cashback-panel__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.cashback-panel__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.cashback-panel__scope {
  margin: 0 0 10px;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.cashback-panel__amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.cashback-panel__amount {
  font-family: Lato, Roboto, sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.cashback-panel__amount-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
}

.cashback-panel__claim {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.cashback-panel__claim strong {
  color: var(--text-dark);
  font-weight: 600;
}

.cashback-panel__cta {
  flex-shrink: 0;
}

.cashback-panel__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.cashback-stat {
  padding: 18px 20px;
  border-right: 1px solid var(--line-soft);
}

.cashback-stat:last-child {
  border-right: 0;
}

.cashback-stat__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.cashback-stat__value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

.cashback-stat__value--accent {
  color: var(--brand);
}

.cashback-panel__note {
  margin: 0;
  padding: 14px 24px 18px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: #fcfcfd;
}

.cashback-panel__loader {
  padding: 24px 24px 0;
}

.cashback-loader {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.cashback-loader__visual {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}

.cashback-loader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #f3dedd;
  border-top-color: var(--brand);
  border-right-color: #e07a75;
  animation: cashback-spin 1.1s linear infinite;
}

.cashback-loader__core {
  position: absolute;
  inset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(194, 54, 49, 0.12);
  animation: cashback-pulse 1.8s ease-in-out infinite;
}

.cashback-loader__core img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.cashback-loader__content {
  flex: 1;
  min-width: 0;
}

.cashback-loader__title {
  margin: 0 0 12px;
  font-family: Lato, Roboto, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.cashback-loader__track {
  position: relative;
  height: 8px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #f0e4e3;
  overflow: hidden;
}

.cashback-loader__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c23631 0%, #e85d58 50%, #c23631 100%);
  background-size: 200% 100%;
  animation: cashback-progress 1.6s ease-in-out infinite;
}

.cashback-loader__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: cashback-shimmer 1.6s ease-in-out infinite;
}

.cashback-loader__step {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cashback-loader__step.is-changing {
  animation: cashback-step-in 0.45s ease;
}

.cashback-loader__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.cashback-loader__stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-right: 1px solid var(--line-soft);
}

.cashback-loader__stat:last-child {
  border-right: 0;
}

.cashback-loader__shimmer {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef1f4 0%, #f8f9fb 45%, #eef1f4 90%);
  background-size: 220% 100%;
  animation: cashback-shimmer 1.4s ease-in-out infinite;
}

.cashback-loader__shimmer--short {
  width: 62%;
  height: 20px;
  animation-delay: 0.15s;
}

.cashback-loader__stat:nth-child(2) .cashback-loader__shimmer { animation-delay: 0.1s; }
.cashback-loader__stat:nth-child(3) .cashback-loader__shimmer { animation-delay: 0.2s; }
.cashback-loader__stat:nth-child(4) .cashback-loader__shimmer { animation-delay: 0.3s; }

.cashback-panel--loading .cashback-panel__cta .btn {
  opacity: 0.55;
  pointer-events: none;
}

@keyframes cashback-spin {
  to { transform: rotate(360deg); }
}

@keyframes cashback-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.94); }
}

@keyframes cashback-progress {
  0% { left: -38%; width: 38%; }
  50% { left: 31%; width: 46%; }
  100% { left: 100%; width: 38%; }
}

@keyframes cashback-shimmer {
  0% { transform: translateX(-100%); background-position: 120% 0; }
  100% { transform: translateX(100%); background-position: -20% 0; }
}

@keyframes cashback-step-in {
  0% { opacity: 0.35; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cashback-loader__ring,
  .cashback-loader__core,
  .cashback-loader__bar,
  .cashback-loader__glow,
  .cashback-loader__shimmer {
    animation: none;
  }

  .cashback-loader__bar {
    left: 0;
    width: 55%;
  }
}

.cashback-panel--loading .cashback-panel__amount {
  opacity: 0.45;
}

@media (max-width: 900px) {
  .cashback-panel__stats,
  .cashback-loader__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cashback-stat:nth-child(2),
  .cashback-loader__stat:nth-child(2) {
    border-right: 0;
  }

  .cashback-stat:nth-child(1),
  .cashback-stat:nth-child(2),
  .cashback-loader__stat:nth-child(1),
  .cashback-loader__stat:nth-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 760px) {
  .cashback-panel__hero {
    padding: 20px 16px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .cashback-panel__loader {
    padding: 20px 16px 0;
  }

  .cashback-loader {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
  }

  .cashback-loader__visual {
    width: 64px;
    height: 64px;
  }

  .cashback-loader__title {
    font-size: 17px;
  }

  .cashback-panel__cta .btn {
    width: 100%;
  }

  .cashback-panel__stats,
  .cashback-loader__stats {
    grid-template-columns: 1fr;
  }

  .cashback-stat,
  .cashback-loader__stat {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .cashback-stat:last-child,
  .cashback-loader__stat:last-child {
    border-bottom: 0;
  }

  .cashback-panel__note {
    padding: 12px 16px 16px;
  }
}

.tx-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tx-panel__list-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tx-panel__list-wrap::-webkit-scrollbar {
  display: none;
}

.tx-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.tx-item:last-child {
  border-bottom: 0;
}

.tx-item--empty {
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.tx-item__cont {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.tx-hash-body {
  flex: 0 0 32%;
  min-width: 0;
}

.tx-hash-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tx-address-item {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx-type-box {
  flex: 0 0 28%;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
}

.tx-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.tx-address-item .tx-row {
  gap: 8px;
}

.tx-label {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tx-hash-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  min-width: 0;
}

.tx-hash-link:hover {
  color: var(--brand-hover, #e50915);
}

.tx-time {
  font-size: 12px;
  color: var(--muted);
  line-height: 16px;
}

.ellipsis-box {
  display: flex;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.ellipsis-box--single {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-box__start {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.ellipsis-box__end {
  flex-shrink: 0;
}

.tx-address-wrap {
  min-width: 0;
  flex: 1;
}

.tx-address-link {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  min-width: 0;
}

.tx-address-link:hover {
  color: var(--brand);
}

.tx-address-link--contract {
  gap: 4px;
}

.tx-contract-icon {
  flex-shrink: 0;
  color: var(--muted);
}

.tx-contract-tag {
  font-size: 12px;
  line-height: 16px;
  padding: 2px 6px;
  background: #f7f8f9;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.tx-type-box .tx-row--1 {
  justify-content: flex-end;
  gap: 2px;
}

.tx-token-name {
  margin-left: 2px;
}

.tx-amount-num {
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
}

.tx-token-name a {
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
}

.tx-token-name a:hover {
  color: var(--brand);
}

.tx-type-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  color: #404245;
  background: #e8ebf7;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.table-wrap { overflow: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-size: 13px;
}

.data-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

.data-table td { color: var(--text-dark); }

.chart-panel .panel__head {
  align-items: flex-start;
}

.tx-chart__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

.chart--tx {
  height: 287px;
  border: 1px solid var(--line-soft);
  background: #fafbfd;
  padding: 12px 12px 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chart--tx svg {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: block;
}

.tx-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.tx-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tx-chart__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tx-chart__tooltip {
  position: absolute;
  z-index: 12;
  pointer-events: none;
  display: none;
  background: #fff;
  border: 1px solid #b7b9be;
  border-radius: 4px;
  padding: 10px;
  font-size: 12px;
  color: #6d6e73;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.12);
  min-width: 180px;
}

.tx-chart__tooltip-date {
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 500;
}

.tx-chart__tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.tx-chart__tooltip-row span:last-child {
  color: var(--text-dark);
  font-weight: 500;
}

.chart-panel {
  position: relative;
}

.chart--line-large {
  height: 220px;
  border: 1px solid var(--line-soft);
  background-image:
    linear-gradient(180deg, rgba(61, 126, 255, 0.1), transparent),
    repeating-linear-gradient(90deg, transparent 0 56px, #eef1f6 56px 57px),
    repeating-linear-gradient(0deg, transparent 0 32px, #eef1f6 32px 33px);
}

.tvl-panel {
  margin-bottom: 24px;
  padding: 0;
  overflow: hidden;
}

.tvl-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 0;
}

.tvl-panel__titles {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  color: var(--text-dark);
}

.tvl-panel__title--active {
  font-weight: 500;
}

.tvl-panel__title--muted {
  color: var(--muted);
  font-weight: 400;
}

.tvl-panel__split {
  color: var(--muted);
}

.tvl-panel__content {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 0;
  min-height: 340px;
}

.tvl-panel__chart-wrap {
  position: relative;
  padding: 12px 16px 16px;
  border-right: 1px solid var(--line-soft);
}

.tvl-panel__chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tvl-panel__amount {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.tvl-chart__legend {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
}

.tvl-chart__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tvl-chart__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.tvl-chart__dot--tvl {
  background: #5d7feb;
}

.tvl-chart__dot--trx {
  background: #d4726f;
}

.chart--tvl {
  height: 308px;
  border: 0;
  background: transparent;
  padding: 0;
}

.chart--tvl svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tvl-panel__table-wrap {
  padding: 8px 0 0;
  min-width: 0;
}

.table-wrap--tvl {
  max-height: 318px;
  overflow: auto;
}

.data-table--tvl th.num,
.data-table--tvl td.num {
  text-align: right;
}

.data-table--tvl td:first-child {
  min-width: 180px;
}

.tvl-project {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.tvl-project:hover {
  color: var(--link);
}

.tvl-project__logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.tvl-type {
  color: var(--muted);
  font-size: 13px;
}

.tvl-chart__tooltip {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  display: none;
  background: #fff;
  border: 1px solid #b7b9be;
  border-radius: 4px;
  padding: 10px;
  font-size: 12px;
  color: #6d6e73;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.12);
  min-width: 210px;
}

.tvl-chart__tooltip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.tvl-chart__tooltip-row span:last-child {
  color: var(--text-dark);
  font-weight: 500;
}

.chart--bars {
  height: 200px;
  border: 1px solid var(--line-soft);
  background-image:
    repeating-linear-gradient(90deg, rgba(63, 189, 122, 0.55) 0 6px, transparent 6px 22px),
    repeating-linear-gradient(0deg, transparent 0 32px, #eef1f6 32px 33px);
  background-position: 0 78%, 0 0;
}

.token-panel {
  padding: 0;
  overflow: hidden;
}

.token-panel__head {
  padding: 16px 20px 0;
}

.token-panel__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
}

.token-panel__title:hover {
  color: var(--brand);
}

.token-panel__content {
  display: grid;
  grid-template-columns: 56% minmax(0, 44%);
  gap: 0;
  align-items: stretch;
}

.token-panel__table-wrap {
  padding: 12px 0 16px 20px;
  min-width: 0;
}

.token-panel__chart {
  padding: 12px 20px 16px 12px;
  border-left: 1px solid var(--line-soft);
  min-width: 0;
}

.token-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.token-table thead th {
  padding: 10px 12px 12px 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: bottom;
}

.token-table tbody td {
  padding: 14px 12px 14px 0;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.token-table tbody tr:last-child td {
  border-bottom: none;
}

.token-table__col-rank {
  width: 10%;
  text-align: left;
}

.token-table__col-token {
  width: 22%;
  text-align: left;
}

.token-table__col-volume {
  width: 28%;
}

.token-table__col-cap {
  width: 22%;
}

.token-table .num {
  text-align: right;
  white-space: nowrap;
}

.token-table__th-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.token-table__th-inner--end {
  justify-content: flex-end;
  width: 100%;
}

.token-table__ask {
  display: inline-flex;
  color: var(--muted);
  flex-shrink: 0;
}

.token-table__sort {
  display: inline-flex;
  color: var(--brand);
  margin-left: 2px;
}

.token-table__rank {
  color: var(--text);
}

.token-table__token-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.token-table__token-link:hover .token-table__abbr {
  color: var(--brand);
}

.token-table__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.token-table__img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.token-table__vip {
  position: absolute;
  right: -4px;
  bottom: -3px;
  line-height: 0;
}

.token-table__abbr {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
}

.token-table__volume {
  color: var(--text-dark);
}

.token-chart__head {
  margin-bottom: 8px;
}

.token-chart__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.token-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.token-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.token-chart__legend-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9dde3;
  display: inline-block;
}

.token-chart__legend-item.is-active {
  color: var(--text-dark);
}

.token-chart__legend-item.is-active i {
  background: var(--dot, #4dbfa1);
}

.chart--token-volume {
  height: 250px;
  position: relative;
}

.chart--token-volume svg {
  display: block;
  width: 100%;
  height: 100%;
}

.token-chart__empty {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.tokens-layout {
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}

.mini-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.token-panel { margin-bottom: 8px; }

.usdt-panel {
  margin-bottom: 24px;
  padding-bottom: 5px;
  font-family: Lato, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.usdt-panel__header {
  padding: 0 0 12px;
}

.usdt-panel__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
  text-decoration: none;
}

.usdt-panel__title:hover {
  color: var(--brand);
}

.usdt-panel__card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
}

.usdt-panel__content {
  display: grid;
  grid-template-columns: 56% 44%;
  gap: 0;
}

.usdt-panel__chart-col {
  padding: 16px 16px 12px;
  border-right: 1px solid var(--line-soft);
  min-width: 0;
  min-height: 310px;
  position: relative;
}

.usdt-panel__chart-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.usdt-panel__tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 14px;
  line-height: 20px;
}

.usdt-panel__tab {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: #73787b;
  cursor: pointer;
}

.usdt-panel__tab.is-active {
  color: var(--text-dark);
  font-weight: 500;
}

.usdt-panel__tab-sep {
  margin: 0 8px;
  color: #d5d8de;
}

.usdt-panel__range {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.usdt-panel__range-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  color: #73787b;
  cursor: pointer;
}

.usdt-panel__range-btn.is-active {
  color: var(--text-dark);
  font-weight: 500;
  border-color: #e0e4e8;
  background: #fff;
}

.usdt-panel__legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 24px;
  font-size: 14px;
  line-height: 20px;
  color: #73787b;
}

.usdt-panel__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.usdt-panel__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 1px;
  flex-shrink: 0;
}

.usdt-panel__legend-dot--line {
  width: 14px;
  height: 0;
  border-top: 2px solid #d4726f;
  border-radius: 0;
}

.chart--usdt {
  height: 298px;
  border: 0;
  background: #fff;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.chart--usdt svg {
  display: block;
  width: 100%;
  height: 100%;
}

.usdt-combo-chart {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.usdt-combo-chart__top {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.usdt-combo-chart__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 6px 0 0;
  font-size: 12px;
  line-height: 1;
  color: #91979d;
}

.usdt-combo-chart__axis--left {
  width: 38px;
  padding-right: 4px;
  text-align: right;
}

.usdt-combo-chart__axis--right {
  width: 28px;
  padding-left: 4px;
  text-align: left;
}

.usdt-combo-chart__ylabel {
  display: block;
}

.usdt-combo-chart__plot {
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.usdt-combo-chart__xrow {
  display: flex;
  align-items: flex-start;
  margin-top: 4px;
}

.usdt-combo-chart__xspacer {
  flex-shrink: 0;
  width: 38px;
}

.usdt-combo-chart__xspacer--right {
  width: 28px;
}

.usdt-combo-chart__xaxis {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 16px;
}

.usdt-combo-chart__xlabel {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 16px;
  color: #91979d;
  white-space: nowrap;
}

.usdt-combo-chart__xlabel--start {
  transform: translateX(0);
}

.usdt-combo-chart__xlabel--end {
  transform: translateX(-100%);
}

.usdt-panel__stats-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.usdt-panel__stat-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.usdt-panel__stat-block:last-child {
  border-bottom: 0;
}

.usdt-panel__stat-main,
.usdt-panel__stat-sub {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: #404245;
}

.usdt-panel__stat-sub {
  margin-top: 10px;
}

.usdt-panel__stat-main .count,
.usdt-panel__stat-sub .count {
  font-weight: 600;
  color: #101010;
}

.usdt-panel__stat-main .perchange.up,
.usdt-panel__stat-sub .perchange.up {
  color: #3cc13b;
}

.usdt-panel__stat-main .perchange.down,
.usdt-panel__stat-sub .perchange.down {
  color: #c23631;
}

.usdt-panel__stat-main .perchange.neutral,
.usdt-panel__stat-sub .perchange.neutral {
  color: #c23631;
}

.charts-panel {
  margin-bottom: 24px;
  font-family: Lato, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.charts-panel__header {
  padding: 0 0 12px;
}

.charts-panel__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
  text-decoration: none;
}

.charts-panel__title:hover {
  color: var(--brand);
}

.charts-panel__card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  overflow: hidden;
}

.charts-panel__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.charts-panel__col {
  min-width: 0;
}

.charts-panel__col + .charts-panel__col {
  border-left: 1px solid var(--line-soft);
}

.charts-panel__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.charts-panel__chart-wrap {
  position: relative;
  padding: 16px 16px 0;
  min-height: 268px;
}

.charts-panel__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-bottom: 8px;
}

.charts-panel__tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 14px;
  line-height: 20px;
}

.charts-panel__tabs--single .charts-panel__tab {
  cursor: default;
}

.charts-panel__tab {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: #73787b;
  cursor: pointer;
}

.charts-panel__tab.is-active {
  color: var(--text-dark);
  font-weight: 500;
}

.charts-panel__tab-sep {
  margin: 0 8px;
  color: #d5d8de;
}

.chart--statistics {
  height: 224px;
  border: 0;
  background: #fff;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.chart--statistics svg {
  display: block;
  width: 100%;
  height: 100%;
}

.charts-panel__divider {
  height: 1px;
  background: var(--line-soft);
  margin: 0 16px;
}

.charts-panel__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.charts-panel__stat {
  flex: 1;
  min-width: 0;
  padding: 18px 20px 16px;
  border-right: 1px solid var(--line-soft);
}

.charts-panel__stat:last-child {
  border-right: 0;
}

.charts-panel__indicator {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #73787b;
}

.charts-panel__indicator-body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.charts-panel__value {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: #101010;
}

.charts-panel__percent .growth {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 800px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.charts-panel__percent .growth.up {
  color: #2d912c;
  background: #ebf9eb;
}

.charts-panel__percent .growth.down {
  color: #c23631;
  background: #fcf5f5;
}

.home-line-chart {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.home-line-chart__top {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.home-line-chart__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  width: 38px;
  padding: 6px 4px 0 0;
  font-size: 12px;
  line-height: 1;
  color: #91979d;
  text-align: right;
}

.home-line-chart__plot {
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.home-line-chart__xrow {
  display: flex;
  margin-top: 4px;
}

.home-line-chart__xspacer {
  flex-shrink: 0;
  width: 38px;
}

.home-line-chart__xaxis {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 16px;
}

.home-line-chart__xlabel {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 16px;
  color: #91979d;
  white-space: nowrap;
}

.home-line-chart__xlabel--start {
  transform: translateX(0);
}

.home-line-chart__xlabel--end {
  transform: translateX(-100%);
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 8px;
}

.footer__inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.site-footer {
  margin-top: 8px;
  background: #f6f7fb;
  font-family: Lato, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.site-footer__body {
  border-top: 1px solid var(--line-soft);
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 52px 28px 0;
  position: relative;
}

.site-footer__brand {
  flex-shrink: 0;
  width: min(100%, 240px);
}

.site-footer__brand-mark {
  display: inline-flex;
  text-decoration: none;
  margin-bottom: 4px;
}

.site-footer__logo {
  display: block;
  height: 28px;
  width: auto;
}

.site-footer__slogan {
  margin: 12px 0 16px;
  font-size: 14px;
  line-height: 20px;
  color: #73787b;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #616568;
  transition: color var(--transition-fast);
}

.site-footer__social a:hover {
  color: var(--brand);
}

.site-footer__nav {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding-top: 2px;
}

.site-footer__prefs {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #e0e4e8;
  border-radius: 6px;
  background: #fff;
  color: #404245;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__prefs:hover {
  border-color: #c2c9d1;
  color: var(--text-dark);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #101010;
  text-transform: capitalize;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li {
  margin-top: 10px;
}

.site-footer__links a {
  color: #73787b;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--brand);
}

.site-footer__back-top {
  position: absolute;
  top: 36px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #e0e4e8;
  border-radius: 6px;
  background: #fff;
  color: #404245;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.site-footer__back-top:hover {
  border-color: #c2c9d1;
  color: #101010;
}

.site-footer__copyright {
  border-top: 1px solid var(--line-soft);
  background: #f6f7fb;
}

.site-footer__copyright-inner {
  padding: 16px 0 20px;
  color: #91979d;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

@keyframes value-flash {
  0% { background: rgba(61, 126, 255, 0.14); }
  100% { background: transparent; }
}

.value-flash {
  animation: value-flash 0.8s ease-out;
  border-radius: 4px;
}

@media (max-width: 1400px) {
  .overview-grid {
    flex-direction: column;
  }

  .overview-grid > .market-panel {
    width: 100%;
    min-width: 0;
  }

  @keyframes blocks-rail-move {
    0% {
      left: 40px;
    }

    100% {
      left: calc(100% - 48px);
    }
  }
}

@media (max-width: 1100px) {
  .layout-two-col,
  .tokens-layout,
  .token-panel__content,
  .tvl-panel__content,
  .usdt-panel__content {
    grid-template-columns: 1fr;
  }

  .tx-section.layout-two-col {
    display: flex;
    flex-direction: column;
  }

  .tx-section .chart-panel {
    order: -1;
  }

  .usdt-panel__chart-col {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .charts-panel__content {
    grid-template-columns: 1fr;
  }

  .charts-panel__col + .charts-panel__col {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .token-panel__chart {
    border-left: none;
    border-top: 1px solid var(--line-soft);
    padding-left: 20px;
  }

  .tvl-panel__chart-wrap {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .block-item {
    min-width: 200px;
    width: 240px;
  }

  .block-item:hover .block-item__card {
    transform: none;
  }

  .home-blocks__next {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 52px;
  }

  .container {
    width: min(100% - 20px, 1320px);
  }

  .topbar__inner {
    gap: 10px;
  }

  .brand__logo {
    height: 20px;
  }

  .brand__name {
    font-size: 15px;
  }

  .nav--desktop {
    display: none;
  }

  .actions .btn--solid {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .search-row {
    padding: 4px 4px 4px 10px;
    gap: 8px;
    min-height: 44px;
  }

  .search-row input {
    font-size: 16px;
  }

  .search-submit {
    padding: 10px 14px;
    font-size: 13px;
  }

  .trend-row {
    flex-wrap: nowrap;
    align-items: center;
  }

  .trend-title {
    margin-right: 8px;
    flex-shrink: 0;
  }

  .trend-tags {
    flex: 1;
    min-width: 0;
    width: auto;
  }

  .trend-tags__list {
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
  }

  .trend-tags__list .trend-token:nth-child(n + 5) {
    display: none;
  }

  .trend-token {
    margin-right: 8px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .trend-tags__more {
    margin-left: auto;
    color: var(--brand);
  }

  .home-blocks__head {
    margin: 16px 0 8px;
  }

  .block-item {
    min-width: 172px;
    width: 72vw;
    max-width: 240px;
    margin-right: 12px;
  }

  .block-item__card {
    padding: 14px;
    min-height: 110px;
  }

  .usdt-panel__title,
  .charts-panel__title,
  .token-panel__title {
    font-size: 20px;
  }

  .usdt-panel__chart-col {
    padding: 12px;
    min-height: 260px;
  }

  .usdt-panel__chart-head {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .usdt-panel__legend {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .usdt-panel__stat-block {
    padding: 14px 16px;
  }

  .charts-panel__inner {
    padding: 12px 12px 16px;
  }

  .charts-panel__chart-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .charts-panel__stats {
    grid-template-columns: 1fr;
  }

  .charts-panel__stat {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 14px 16px;
  }

  .charts-panel__stat:last-child {
    border-bottom: 0;
  }

  .tvl-panel__header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 15px 0;
  }

  .cashback-stat__value {
    font-size: 16px;
    word-break: break-word;
  }

  .cashback-stat__label {
    font-size: 11px;
  }

  .metrics-inline {
    padding: 12px 0;
  }

  .metric-item {
    width: 100%;
    border-right: none !important;
    padding-left: 0 !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }

  .metric-item:not(:last-child) {
    border-bottom: 1px solid var(--line-soft);
  }

  .metric-item:nth-child(-n + 2),
  .metric-item:nth-child(n + 3) {
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .metric-item__link {
    padding-right: 0;
  }

  .metric-item__left .metric-icon {
    width: 22px;
    height: 22px;
    margin-left: -2px;
    margin-right: 6px;
  }

  .metric-item__value {
    font-size: 17px;
    line-height: 20px;
    white-space: normal;
  }

  .metric-item__delta-label {
    margin-bottom: 6px;
  }

  .chain-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .chain-stat {
    margin-right: 0;
  }

  .trx-market__header {
    border-bottom: none;
    padding: 20px 0 12px;
    align-items: flex-start;
  }

  .trx-market__supply-chart .chart--supply {
    height: 88px;
  }

  .trx-market__logo-icon {
    margin-left: 15px;
    margin-right: 6px;
  }

  .trx-market__meta {
    padding-right: 15px;
  }

  .trx-market__meta-label {
    margin-right: 2px;
  }

  .trx-market__bottom {
    padding-bottom: 14px;
  }

  .trx-market__supply-chart {
    max-width: 70%;
  }

  .metric-item__value,
  .section-head h2,
  .panel__head h2 {
    font-size: 20px;
  }

  .tx-panel .panel__head {
    padding-left: 15px;
    padding-right: 15px;
  }

  .tx-panel__list-wrap {
    padding-left: 15px;
  }

  .tx-item {
    padding: 12px 15px 12px 0;
  }

  .tx-item__cont {
    min-width: 520px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 20px;
    padding: 28px 48px 20px 0;
  }

  .site-footer__brand {
    width: 100%;
  }

  .site-footer__back-top {
    top: 28px;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 24px 32px;
    width: 100%;
  }

  .site-footer__prefs {
    width: 100%;
    justify-content: center;
  }

  .site-footer__col {
    flex: 1 1 calc(50% - 16px);
    min-width: 140px;
  }

  .site-footer__copyright-inner {
    text-align: left;
  }

  .token-panel {
    margin-bottom: 0;
  }

  .token-panel__head {
    padding: 16px 15px 0;
  }

  .token-panel__table-wrap {
    padding: 0 0 0 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .token-panel__table-wrap::-webkit-scrollbar {
    display: none;
  }

  .token-panel__chart {
    padding: 12px 15px 16px;
    border-left: none;
    border-top: 1px solid var(--line-soft);
  }

  .token-table {
    min-width: 520px;
  }

  .token-table__col-rank {
    width: 10%;
  }

  .token-table__col-token {
    width: auto;
  }

  .token-table__col-cap {
    width: 25%;
  }

  .token-table thead th {
    padding: 10px 10px 10px 0;
    font-size: 12px;
    line-height: 16px;
  }

  .token-table tbody td {
    padding: 12px 10px 12px 0;
    font-size: 12px;
  }

  .token-table__abbr {
    font-size: 12px;
  }

  .token-table__th-inner {
    gap: 2px;
  }

  .token-table__col-volume .token-table__th-inner > span:nth-child(2),
  .token-table thead th.num:not(.token-table__col-cap) .token-table__th-inner > span:nth-child(2) {
    max-width: 76px;
    line-height: 16px;
    white-space: normal;
    text-align: left;
  }

  .token-chart__legend {
    gap: 8px 12px;
  }

  .chart--token-volume {
    height: 250px;
  }
}
