:root {
  --blue: #1558ed;
  --blue-dark: #103a9d;
  --blue-soft: #edf3ff;
  --ink: #152642;
  --muted: #8390a5;
  --line: #e9eef6;
  --background: #f5f7fb;
  --positive: #0aa77b;
  --negative: #e35c71;
  --radius: 14px;
  --numbers: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

button:disabled {
  cursor: default;
  opacity: .4;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #9ebcff;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-name {
  display: block;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 1px;
}

.brand-english {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font: 9px var(--numbers);
  letter-spacing: 2.2px;
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  display: grid;
  height: 100%;
  align-items: center;
  color: #65738b;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

.main-nav a.active {
  font-weight: 700;
}

.main-nav a.active::after {
  position: absolute;
  bottom: 0;
  left: calc(50% - 12px);
  width: 24px;
  height: 3px;
  background: var(--blue);
  content: "";
}

.header-search {
  margin-left: auto;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faff;
}

.search-field:focus-within {
  border-color: #a6bfff;
  background: #fff;
}

.search-field input {
  width: 190px;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.search-field input::placeholder {
  color: #99a4b7;
}

.search-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-right: 3px;
  border: 1.5px solid #8a9ab4;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  transform: rotate(45deg);
  background: #8a9ab4;
  content: "";
}

.breadcrumb {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  color: #8b99ad;
  font-size: 11px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 29px 0 26px;
}

.page-heading > div:first-child {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font: 700 10px var(--numbers);
  letter-spacing: 2px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.8px;
  overflow-wrap: anywhere;
}

.heading-dot {
  margin-left: 2px;
  color: var(--blue);
}

.page-description {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.data-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8d9db8;
  box-shadow: 0 0 0 4px #e9edf5;
}

.data-status.is-live .status-dot {
  background: var(--positive);
  box-shadow: 0 0 0 4px #e4f6ef;
}

.text-button {
  padding: 0 0 0 9px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
}

.panel {
  border: 1px solid #e7edf6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 20px #18386d03;
}

.coin-overview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  padding: 31px 36px;
  border-top: 3px solid var(--blue);
}

.coin-main {
  min-width: 0;
  padding-right: 38px;
}

.coin-identity,
.coin-name-line,
.price-line {
  display: flex;
  align-items: center;
}

.coin-identity {
  gap: 13px;
}

.coin-identity > div {
  min-width: 0;
}

.coin-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--coin-color, #627eea);
  color: #fff;
  font: 700 17px var(--numbers);
}

.coin-icon-large {
  width: 48px;
  height: 48px;
  font-size: 30px;
}

.coin-name-line {
  flex-wrap: wrap;
  gap: 10px;
}

.coin-name-line h2 {
  font-size: 21px;
  overflow-wrap: anywhere;
}

.coin-symbol {
  color: #8390a5;
  font: 500 14px var(--numbers);
}

.rank-label {
  padding: 1px 6px;
  border: 1px solid #e3ebfa;
  border-radius: 4px;
  color: #6981ab;
  background: #f7faff;
  font: 10px/1.7 var(--numbers);
}

.pair-label {
  margin-top: 3px;
  color: var(--muted);
  font: 11px/1.6 var(--numbers);
  overflow-wrap: anywhere;
}

.watch-button,
.row-star {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a7b2c4;
  font: 24px var(--numbers);
}

.watch-button {
  flex-shrink: 0;
  margin-left: 9px;
}

.watch-button[aria-pressed="true"],
.row-star[aria-pressed="true"] {
  color: var(--blue);
}

.price-line {
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 22px;
}

.main-price {
  font: 650 43px/1.2 var(--numbers);
  letter-spacing: -1.8px;
  font-variant-numeric: tabular-nums;
}

.change-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 5px;
  background: #e9f8f2;
  font: 600 12px var(--numbers);
  white-space: nowrap;
}

.change-badge.negative {
  background: #fff0f2;
}

.positive {
  color: var(--positive);
}

.negative {
  color: var(--negative);
}

.cny-price {
  margin-top: 8px;
  color: #7988a0;
  font: 13px/1.6 var(--numbers);
}

.update-time {
  margin-top: 18px;
  color: #9ba7b9;
  font-size: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 29px 20px;
  margin: 5px 0;
  padding-left: 45px;
  border-left: 1px solid var(--line);
}

.stats-grid dt {
  margin-bottom: 7px;
  color: #8b98ad;
  font-size: 11px;
}

.stats-grid dt span {
  margin-left: 3px;
}

.stats-grid dd {
  margin: 0;
  font: 600 16px var(--numbers);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.section-heading,
.section-title-group {
  display: flex;
  align-items: center;
}

.section-heading {
  justify-content: space-between;
  gap: 20px;
}

.section-title-group {
  gap: 11px;
}

.section-mark {
  width: 4px;
  height: 17px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--blue);
}

.section-heading h2 {
  font-size: 17px;
  font-weight: 700;
}

.section-subtitle {
  margin-left: 4px;
  color: #9aa6b9;
  font-size: 10px;
  font-weight: 400;
}

.chart-panel {
  margin-top: 24px;
  padding: 24px 28px 14px;
}

.chart-type-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9fd;
}

.chart-type-switch button {
  padding: 3px 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8a97ac;
  font-size: 11px;
}

.chart-type-switch .active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 5px #2a477b15;
}

.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 21px;
}

.periods {
  display: flex;
  gap: 5px;
}

.periods button {
  padding: 5px 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #8390a4;
  font-size: 11px;
}

.periods button:hover {
  background: #f5f8ff;
}

.periods .active,
.periods .active:hover {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

.chart-data-label {
  color: #96a2b6;
  font-size: 10px;
}

.chart-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  min-height: 18px;
  margin: 17px 0 3px;
  color: #8e9cb1;
  font: 10px/1.6 var(--numbers);
}

.chart-info b {
  margin-left: 4px;
  font-weight: 500;
}

.chart-container {
  position: relative;
  height: 325px;
}

#price-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-tooltip {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffffff5;
  box-shadow: 0 4px 15px #142b4c12;
  color: #66768f;
  font-size: 10px;
  pointer-events: none;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 7px;
  padding-top: 13px;
  border-top: 1px solid #f1f4f9;
  color: #a0abbd;
  font-size: 9px;
}

.legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 4px 1px 12px;
  border-radius: 50%;
}

.legend-dot:first-child {
  margin-left: 0;
}

.positive-dot {
  background: var(--positive);
}

.negative-dot {
  background: var(--negative);
}

.profile-panel {
  margin-top: 24px;
  padding: 26px 28px;
}

.profile-symbol {
  padding: 3px 9px;
  border: 1px solid #dbe7ff;
  border-radius: 5px;
  background: var(--blue-soft);
  color: #6389ce;
  font: 11px/1.5 var(--numbers);
}

.profile-intro {
  margin: 16px 0 0;
  padding: 11px 14px;
  border-left: 3px solid #a9c5ff;
  border-radius: 0 6px 6px 0;
  background: #f7faff;
  color: #6d85ab;
  font-size: 12px;
  line-height: 1.95;
}

.profile-overview {
  margin-top: 26px;
}

.profile-panel h3 {
  margin: 0 0 13px;
  color: #28436d;
  font-size: 15px;
  font-weight: 600;
}

.profile-overview > p {
  color: #667e9f;
  font-size: 13px;
  line-height: 2;
}

.profile-details:empty {
  display: none;
}

.profile-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin-top: 23px;
  padding: 15px 17px;
  border: 1px solid #e5edfb;
  border-radius: 7px;
  background: #f8faff;
  font-size: 11px;
  line-height: 1.9;
}

.profile-contents > span {
  color: #8799b4;
}

.profile-contents > a {
  color: #527fcb;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.profile-contents > a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.profile-detail-section {
  padding-top: 25px;
  scroll-margin-top: 90px;
}

.profile-detail-section + .profile-detail-section {
  margin-top: 23px;
  border-top: 1px solid #edf2fa;
}

.profile-detail-section h3 {
  display: flex;
  align-items: baseline;
  gap: 11px;
  line-height: 1.8;
}

.profile-section-number {
  color: #a5bce3;
  font: 12px/1.8 var(--numbers);
}

.profile-detail-section p {
  margin: 0;
  color: #667e9f;
  font-size: 13px;
  line-height: 2.1;
  overflow-wrap: anywhere;
}

.profile-market-note {
  margin-top: 24px;
  color: #879ab7;
  font-size: 11px;
  line-height: 1.9;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.profile-facts > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.profile-facts dt {
  margin-bottom: 5px;
  color: #8a9dbc;
  font-size: 10px;
}

.profile-facts dd {
  margin: 0;
  color: #5e7ca8;
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.profile-expand {
  border-top: 1px solid var(--line);
}

.profile-expand > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.8;
  list-style: none;
  cursor: pointer;
}

.profile-expand > summary::-webkit-details-marker {
  display: none;
}

.profile-expand > summary::after {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: '';
  transform: rotate(45deg) translateY(-2px);
}

.profile-expand[open] > summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.profile-expand-label,
.profile-collapse-label {
  color: #1558ed;
}

.profile-expand > summary:hover .profile-expand-label,
.profile-expand > summary:hover .profile-collapse-label {
  color: #1048c7;
  text-decoration: underline;
}

.profile-expand-hint {
  color: #96a6bf;
  font-size: 10px;
}

.profile-collapse-label,
.profile-expand[open] .profile-expand-label {
  display: none;
}

.profile-expand[open] .profile-collapse-label {
  display: inline;
}

.profile-reading {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-top: 21px;
  padding: 13px 16px;
  border-radius: 6px;
  background: #f7f9fd;
  color: #899ab3;
  font-size: 10px;
  line-height: 1.9;
}

.profile-reading strong {
  flex-shrink: 0;
  color: #6882a8;
  font-weight: 600;
}

.profile-sources {
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #9ba8bc;
  font-size: 10px;
  line-height: 1.9;
}

.profile-sources a {
  display: inline-block;
  margin-right: 13px;
  color: #6e92cc;
}

.profile-sources a:hover {
  color: var(--blue);
  text-decoration: underline;
}

#profile-updated {
  margin-top: 5px;
}

.market-heading {
  margin: 31px 0 15px;
}

.sitemap-directories,
.sitemap-groups {
  padding: 24px 28px;
}

.sitemap-directories h2,
.sitemap-group h2 {
  margin: 0 0 17px;
  color: #28436d;
  font-size: 17px;
}

.sitemap-directory-links,
.sitemap-coins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5f7eac;
  font-size: 12px;
  line-height: 1.9;
}

.sitemap-coins a {
  display: inline-block;
  overflow-wrap: anywhere;
}

.sitemap-directory-links a:hover,
.sitemap-coins a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.sitemap-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.sitemap-letters a {
  min-width: 32px;
  padding: 5px 9px;
  border: 1px solid #dfe8f7;
  border-radius: 5px;
  background: #fff;
  color: #527fcb;
  text-align: center;
  font: 12px/1.8 var(--numbers);
}

.sitemap-group + .sitemap-group {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sitemap-group h2 {
  scroll-margin-top: 24px;
}

.sitemap-group h2 span {
  margin-left: 10px;
  color: #93a4bc;
  font-size: 11px;
  font-weight: 400;
}

@media (max-width: 600px) {
  .sitemap-directories,
  .sitemap-groups {
    padding: 20px 16px;
  }

  .sitemap-directory-links,
  .sitemap-coins {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    font-size: 11px;
  }
}

.more-link {
  color: #788eaf;
  font-size: 11px;
  white-space: nowrap;
}

.more-link:hover {
  color: var(--blue);
}

.more-link > span {
  margin-left: 8px;
}

.market-panel {
  overflow: hidden;
}

.market-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
}

.market-tabs {
  display: flex;
  align-items: center;
  gap: 23px;
}

.market-tabs button {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #8a98ad;
  font-size: 12px;
  white-space: nowrap;
}

.market-tabs .active {
  color: var(--blue);
  font-weight: 700;
}

.table-search {
  padding-block: 8px;
}

.table-scroll {
  position: relative;
  overflow-x: auto;
}

.market-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  white-space: nowrap;
}

.market-table th {
  padding: 14px 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8faff;
  color: #8d9aaf;
  font-size: 10px;
  font-weight: 400;
}

.market-table th button {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: inherit;
}

.market-table th button:hover,
.market-table th[aria-sort] button {
  color: var(--blue);
}

.market-table th button > span {
  margin-left: 3px;
  color: #b5c1d6;
}

.market-table td {
  height: 73px;
  padding: 12px 13px;
  border-bottom: 1px solid #f0f3f8;
  font: 500 12px var(--numbers);
  font-variant-numeric: tabular-nums;
}

.market-table th:first-child,
.market-table td:first-child {
  padding-left: 26px;
  text-align: left;
  color: #98a5ba;
  font-size: 11px;
}

.market-table th:nth-child(2),
.market-table td:nth-child(2) {
  text-align: left;
}

.market-table td:nth-child(6),
.market-table td:nth-child(7) {
  color: #77879f;
  font-size: 11px;
}

.market-table tr.selected td {
  background: #f6f9ff;
}

.market-table tbody tr:hover td {
  background: #f4f8ff;
}

.table-coin {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 133px;
}

.coin-label {
  min-width: 0;
}

.coin-title {
  display: block;
  overflow: hidden;
  color: #16345f;
  font: 600 12px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font: 9px/1.5 var(--numbers);
}

.coin-code {
  color: #8296b6;
}

.coin-category {
  padding: 0 4px;
  border-radius: 2px;
  background: #edf4ff;
  color: #7d9aca;
  font: 8px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
  white-space: nowrap;
}

.market-table .change-badge {
  min-width: 76px;
  padding: 6px 8px;
  text-align: center;
  font-size: 11px;
}

.market-table th:last-child,
.market-table td:last-child {
  width: 42px;
  padding-right: 24px;
}

.row-star {
  font-size: 20px;
}

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 26px;
}

.table-footer p,
.directory-summary {
  color: #99a5b8;
  font-size: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination button,
.pagination a,
.pagination > span {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #7f8da4;
  font: 11px var(--numbers);
}

.pagination > span {
  border: 0;
}

.pagination button.active,
.pagination a.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.pagination button:hover:not(:disabled):not(.active),
.pagination a:hover:not(.active) {
  border-color: #c4d6ff;
  color: var(--blue);
}

.data-note {
  margin: 13px 0 27px;
  color: #9da8b9;
  font-size: 10px;
  line-height: 1.8;
}

.popular-panel,
.faq-panel {
  margin-top: 24px;
  padding: 25px 28px;
}

.popular-description {
  margin-top: 16px;
  color: #8b9ab1;
  font-size: 11px;
  line-height: 1.8;
}

.popular-links {
  --popular-row-height: 32px;
  --popular-row-gap: 9px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: var(--popular-row-gap);
  max-height: calc(7 * var(--popular-row-height) + 6 * var(--popular-row-gap));
  margin-top: 17px;
  overflow: hidden;
}

.popular-links a {
  display: block;
  max-width: 100%;
  height: var(--popular-row-height);
  padding: 5px 11px;
  border: 1px solid #dbe7ff;
  border-radius: 5px;
  background: #f0f5ff;
  color: #2868cc;
  font-size: 12px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popular-links a:hover {
  border-color: #adc9ff;
  background: #e1edff;
  color: var(--blue);
}

.popular-coin {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color .2s, background .2s;
}

.popular-coin:hover {
  border-color: #bed1ff;
  background: #f7faff;
}

.popular-coin .coin-icon {
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.faq-panel {
  margin-bottom: 46px;
}

.faq-list {
  margin-top: 16px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:last-child {
  border: 0;
}

.faq-list summary {
  position: relative;
  padding: 18px 28px 18px 0;
  list-style: none;
  color: #4f6381;
  font-size: 12px;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 3px;
  top: 15px;
  color: #98a7bf;
  font-size: 19px;
  font-weight: 300;
  content: "+";
}

.faq-list details[open] summary::after {
  color: var(--blue);
  content: "−";
}

.faq-list details[open] summary {
  padding-bottom: 9px;
  color: var(--blue);
}

.faq-list p {
  padding-bottom: 18px;
  color: #929fb3;
  font-size: 11px;
  line-height: 1.9;
}

.faq-evidence {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #96a5bb;
  font-size: 10px;
  line-height: 2;
}

.faq-evidence p {
  margin: 0;
}

.faq-evidence a {
  display: inline-block;
  margin-right: 12px;
  color: #6e92cc;
}

.faq-evidence a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.faq-source-note {
  display: inline-block;
  margin-left: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 31px;
  height: 31px;
}

.footer-brand strong {
  font-size: 17px;
  letter-spacing: 1px;
}

.footer-brand > span {
  margin-left: 9px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: #9aa7ba;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 28px;
  color: #8493aa;
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 25px;
  border-top: 1px solid var(--line);
  color: #a3aec0;
  font: 10px/1.8 var(--numbers), "Microsoft YaHei", sans-serif;
}

.back-top {
  position: fixed;
  right: 23px;
  bottom: 28px;
  z-index: 5;
  width: 41px;
  height: 41px;
  border: 1px solid #e1e9f7;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 20px #132d5810;
  color: var(--blue);
  font-size: 22px;
}

.directory-main {
  min-height: calc(100vh - 270px);
}

.directory-panel {
  padding: 27px;
}

.directory-total {
  padding: 8px 15px;
  border: 1px solid #dce7ff;
  border-radius: 7px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
}

.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 25px 0 19px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.alphabet-filter button {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8e9bb0;
  font: 11px var(--numbers);
}

.alphabet-filter button.active {
  background: var(--blue);
  color: #fff;
}

.directory-summary {
  margin-bottom: 18px;
}

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

.directory-grid .popular-coin {
  padding: 17px;
}

.directory-grid .coin-icon {
  width: 34px;
  height: 34px;
  font-size: 17px;
}

.directory-grid .coin-title {
  font-size: 13px;
}

.directory-grid .coin-code {
  font-size: 10px;
}

.directory-pagination {
  margin-top: 28px;
}

.empty-state {
  padding: 60px 20px !important;
  text-align: center !important;
  color: #93a1b7;
  font: 12px/1.8 "Microsoft YaHei", sans-serif !important;
}

.directory-grid .empty-state {
  grid-column: 1 / -1;
}

.noscript-note {
  padding: 20px;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* PC 宽屏自适应：限制内容宽度，保持两侧留白。 */
@media (min-width: 1500px) {
  .container {
    width: min(1320px, calc(100% - 120px));
  }
}

/* 小屏 PC 自适应：缩小边距、导航间距和数据字号。 */
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 48px);
  }

  .header-inner {
    gap: 38px;
  }

  .main-nav {
    gap: 24px;
  }

  .header-search input {
    width: 150px;
  }

  .coin-overview {
    padding-inline: 27px;
  }

  .main-price {
    font-size: 37px;
  }

  .stats-grid {
    padding-left: 28px;
  }

  .stats-grid dd {
    font-size: 14px;
  }

  .market-table th,
  .market-table td {
    padding-inline: 9px;
  }

  .data-status {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 180px;
  }

  h1 {
    font-size: 27px;
  }
}

/* 平板自适应：行情概览改为单列，币种目录改为三列。 */
@media (max-width: 900px) {
  .header-inner {
    height: 75px;
    gap: 30px;
  }

  .main-nav {
    gap: 22px;
    margin-left: auto;
  }

  .header-search {
    display: none;
  }

  .coin-overview {
    grid-template-columns: 1fr;
    padding: 27px;
  }

  .coin-main {
    padding-right: 0;
  }

  .stats-grid {
    gap: 24px;
    margin-top: 24px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .main-price {
    font-size: 43px;
  }

  .market-table {
    min-width: 920px;
  }

  .directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 手机自适应：导航换行、模块纵向排列、目录双列，行情表在模块内横向滚动。 */
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 17px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-english {
    font-size: 7px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
  }

  .main-nav a {
    height: 43px;
    font-size: 12px;
  }

  .breadcrumb {
    margin-top: 17px;
    font-size: 10px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding: 23px 0 19px;
  }

  h1 {
    font-size: 23px;
    letter-spacing: -1px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .page-description {
    font-size: 11px;
  }

  .data-status {
    justify-content: flex-start;
    max-width: none;
    font-size: 10px;
  }

  .coin-overview {
    padding: 23px 20px;
  }

  .coin-name-line h2 {
    font-size: 19px;
  }

  .coin-symbol {
    font-size: 12px;
  }

  .coin-icon-large {
    width: 43px;
    height: 43px;
    font-size: 27px;
  }

  .main-price {
    font-size: 35px;
    letter-spacing: -1.3px;
  }

  .price-line {
    gap: 11px;
  }

  .coin-name-line {
    gap: 7px;
    flex-wrap: wrap;
  }

  .stats-grid {
    gap: 22px 15px;
  }

  .stats-grid dt {
    font-size: 9px;
  }

  .stats-grid dd {
    font-size: 12px;
  }

  .chart-panel {
    padding: 20px 16px 13px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 15px;
  }

  .section-title-group {
    gap: 8px;
  }

  .section-subtitle {
    font-size: 9px;
  }

  .chart-type-switch button {
    padding-inline: 10px;
    font-size: 10px;
  }

  .chart-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }

  .periods {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }

  .periods button {
    padding: 5px 7px;
    font-size: 10px;
  }

  .chart-info {
    gap: 7px;
    margin-top: 9px;
    font-size: 9px;
  }

  .chart-info b {
    margin-left: 2px;
  }

  .chart-container {
    height: 265px;
  }

  #chart-caption {
    display: none;
  }

  .market-heading {
    margin-top: 25px;
  }

  .market-toolbar {
    flex-direction: column;
    gap: 13px;
    padding: 14px 16px;
  }

  .market-tabs {
    justify-content: space-between;
    gap: 10px;
  }

  .market-tabs button {
    font-size: 11px;
  }

  .table-search input {
    width: 100%;
  }

  .market-table {
    min-width: 0;
  }

  .market-table th:nth-child(4),
  .market-table th:nth-child(5),
  .market-table th:nth-child(6),
  .market-table th:nth-child(7),
  .market-table th:nth-child(9),
  .market-table td:nth-child(4),
  .market-table td:nth-child(5),
  .market-table td:nth-child(6),
  .market-table td:nth-child(7),
  .market-table td:nth-child(9) {
    display: none;
  }

  .market-table th,
  .market-table td {
    padding-inline: 7px;
  }

  .market-table th:first-child,
  .market-table td:first-child {
    padding-left: 14px;
    font-size: 10px;
  }

  .market-table th:nth-child(8),
  .market-table td:nth-child(8) {
    padding-right: 14px;
  }

  .market-table td {
    height: 69px;
    font-size: 11px;
  }

  .table-coin {
    gap: 7px;
    min-width: 98px;
  }

  .table-coin .coin-icon {
    width: 27px;
    height: 27px;
    font-size: 14px;
  }

  .table-coin .coin-title {
    font-size: 11px;
    max-width: 84px;
  }

  .table-coin .coin-meta {
    gap: 4px;
  }

  .market-table .change-badge {
    min-width: 60px;
    padding: 5px 5px;
    font-size: 10px;
  }

  .table-footer {
    flex-direction: column;
    gap: 12px;
    padding: 17px 10px;
  }

  .popular-panel,
  .faq-panel {
    margin-top: 18px;
    padding: 20px 16px;
  }

  .profile-panel {
    margin-top: 18px;
    padding: 20px 16px;
  }

  .profile-panel .section-subtitle {
    display: none;
  }

  .profile-intro {
    padding: 11px 13px;
    font-size: 11px;
  }

  .profile-overview > p {
    font-size: 11px;
  }

  .profile-panel h3 {
    font-size: 14px;
  }

  .profile-market-note {
    font-size: 10px;
  }

  .profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
    margin: 14px 0;
  }

  .profile-facts > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .profile-expand-hint {
    display: none;
  }


  .profile-reading {
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    font-size: 9px;
  }

  .profile-sources {
    font-size: 9px;
  }

  .popular-links {
    --popular-row-gap: 8px;
    margin-top: 14px;
  }

  .popular-links a {
    padding: 5px 9px;
    font-size: 11px;
  }

  .popular-coin {
    padding: 12px;
  }

  .popular-panel .section-subtitle,
  .faq-panel .section-subtitle {
    display: none;
  }

  .faq-list summary {
    font-size: 11px;
  }

  .faq-list p {
    font-size: 10px;
  }

  .faq-panel {
    margin-bottom: 28px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand > span {
    padding-left: 13px;
    font-size: 9px;
  }

  .footer-links {
    gap: 28px;
    font-size: 10px;
  }

  .footer-bottom {
    gap: 6px;
    font-size: 9px;
  }

  .back-top {
    right: 12px;
    bottom: 18px;
    width: 35px;
    height: 35px;
  }

  .directory-panel {
    padding: 20px 15px;
  }

  .directory-panel .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .directory-panel .search-field {
    width: 100%;
  }

  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .directory-grid .popular-coin {
    gap: 8px;
    padding: 13px 10px;
  }

  .directory-grid .coin-icon {
    width: 27px;
    height: 27px;
    font-size: 13px;
  }

  .alphabet-filter {
    gap: 6px;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
