*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b1224;
  --panel: rgba(24, 33, 61, 0.88);
  --panel-strong: rgba(28, 39, 72, 0.96);
  --line: rgba(148, 163, 184, 0.16);
  --line-bright: rgba(34, 211, 238, 0.32);
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --violet: #8b5cf6;
  --gold: #f59e0b;
  --hot: #f43f5e;
  --text: #eef6ff;
  --muted: #a8bad2;
  --soft: #71839c;
  --radius: 16px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 72% 10%, rgba(139, 92, 246, 0.16), transparent 34rem),
    radial-gradient(circle at 28% 0%, rgba(34, 211, 238, 0.18), transparent 30rem),
    linear-gradient(180deg, #0c1d33 0%, #0b1224 45%, #0a1020 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
}

body::after {
  content: "";
  position: fixed;
  left: 50%;
  bottom: -44vh;
  z-index: 0;
  width: min(1180px, 120vw);
  height: 70vh;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.1), transparent 56%),
    linear-gradient(90deg, transparent 49.85%, rgba(34, 211, 238, 0.08) 50%, transparent 50.15%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 110px),
    #091426;
  border: 1px solid rgba(34, 211, 238, 0.1);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg i {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
}

.bg .a {
  width: 46vmax;
  height: 46vmax;
  top: -20vmax;
  left: -14vmax;
  background: rgba(34, 211, 238, 0.13);
}

.bg .b {
  width: 42vmax;
  height: 42vmax;
  right: -16vmax;
  top: 6vmax;
  background: rgba(139, 92, 246, 0.13);
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 28px 18px 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.7vw, 26px);
  cursor: default;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 211, 238, 0.22), transparent 20rem),
    radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(29, 78, 116, 0.62), rgba(46, 43, 92, 0.6)),
    rgba(18, 29, 55, 0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.18), transparent 52%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 38%);
  opacity: 0.78;
}

.hero::after {
  content: "BTC · ETH · USDT";
  position: absolute;
  right: clamp(12px, 3vw, 34px);
  top: -12px;
  color: rgba(255, 255, 255, 0.04);
  font-size: clamp(32px, 7vw, 74px);
  font-weight: 950;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.hero-head,
.hero-brand,
.hero-meta {
  position: relative;
  z-index: 1;
}

.hero-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.hero-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.hero-icon {
  position: relative;
  display: grid;
  width: clamp(52px, 7vw, 64px);
  height: clamp(52px, 7vw, 64px);
  flex: 0 0 auto;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6);
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.28);
  font-size: clamp(22px, 4vw, 30px);
}

.hero-icon-btc {
  color: #fff7d6;
  background: linear-gradient(135deg, #f59e0b, #facc15 54%, #38bdf8);
  font-size: clamp(30px, 5.2vw, 40px);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 8px 18px rgba(120, 53, 15, 0.38);
}

.hero-icon-btc::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 72%;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.hero-txt h1 {
  font-size: clamp(21px, 4vw, 32px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0;
  background: linear-gradient(90deg, #67e8f9, #e9d5ff 58%, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-txt em {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 3px 8px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #a7f3ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-txt p {
  margin-top: 8px;
  color: #c7d7ea;
  font-size: clamp(12px, 2.3vw, 14px);
}

.hero-meta {
  margin-top: clamp(14px, 2.4vw, 20px);
  padding-top: clamp(12px, 2vw, 16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  color: #ecf8ff;
  font-size: clamp(10px, 1.8vw, 12px);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.crypto-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(255,255,255,0.04)),
    rgba(255, 255, 255, 0.045);
  color: #f4fbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  white-space: nowrap;
}

.htag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: clamp(11px, 2.4vw, 13px);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.htag-d {
  border: 1px solid rgba(34, 211, 238, 0.32);
  background: rgba(34, 211, 238, 0.11);
  color: #8beaff;
}

.htag-d b {
  color: #fff;
}

.tg-entry {
  display: inline-flex;
  min-width: 0;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0 13px 0 9px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.08)),
    rgba(255, 255, 255, 0.055);
  color: #dff8ff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tg-entry span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.13);
  color: #b9f6ff;
  font-size: 12px;
  font-weight: 950;
}

.tg-entry b {
  color: #eef9ff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.tg-entry:hover {
  border-color: rgba(34, 211, 238, 0.42);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.14)),
    rgba(255, 255, 255, 0.075);
  box-shadow: 0 10px 24px rgba(34, 211, 238, 0.12);
  transform: translateY(-1px);
}

.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: 11px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.035), transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-inner {
  display: flex;
  gap: 46px;
  width: max-content;
  white-space: nowrap;
  animation: mq 26s linear infinite;
}

.marquee-inner span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.marquee-inner b {
  color: var(--gold);
}

.marquee-inner em {
  color: var(--cyan);
  font-style: normal;
}

@keyframes mq {
  to { transform: translate3d(-50%, 0, 0); }
}

.sec-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 14px;
}

.sec-hd h2 {
  color: #f8fbff;
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 950;
}

.sec-hd em {
  padding: 5px 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #67e8f9;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

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

.grid .card:first-child {
  grid-column: 1 / -1;
}

.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(34, 211, 238, 0.14), transparent 26rem),
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.045)),
    var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translate3d(0, 0, 0);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 34%, rgba(34,211,238,0.07));
  opacity: 0;
  transition: opacity .25s ease;
}

.card:hover {
  transform: translate3d(0, -5px, 0);
  border-color: var(--line-bright);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42), 0 0 28px rgba(34, 211, 238, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.grid .card:first-child {
  border-color: rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.18), transparent 22rem),
    radial-gradient(circle at 88% 22%, rgba(245, 158, 11, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(34, 211, 238, 0.09), rgba(139, 92, 246, 0.09)),
    var(--panel-strong);
}

.card-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) 1fr;
  gap: clamp(12px, 2.4vw, 20px);
  align-items: center;
}

.card-left,
.card-right {
  min-width: 0;
}

.c-top,
.c-logo,
.c-rate,
.c-tags,
.c-btns {
  position: relative;
  z-index: 1;
}

.c-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(10px, 1.7vw, 14px);
}

.rank {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  font-size: clamp(20px, 3.2vw, 25px);
  font-style: italic;
  font-weight: 950;
  line-height: 1;
}

.rank em {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(148, 163, 184, 0.13);
  color: #91a3bb;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.r1 { color: #22d3ee; }
.r2 { color: #a855f7; }
.r3 { color: #f59e0b; }

.fire {
  padding: 5px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fb7185, #ef4444);
  color: #fff;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.24);
  font-size: clamp(10px, 2vw, 12px);
  font-weight: 850;
  white-space: nowrap;
}

.fire-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.25);
}

.c-logo {
  display: flex;
  width: 100%;
  height: clamp(76px, 10vw, 96px);
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(10px, 1.8vw, 14px);
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.08), transparent 60%),
    rgba(16, 26, 49, 0.72);
}

.grid .card:first-child .c-logo {
  height: clamp(96px, 12vw, 122px);
  margin-bottom: 0;
}

.grid .card:first-child .c-logo img {
  padding: clamp(10px, 1.8vw, 16px);
  border-radius: 0;
  object-fit: contain;
}

.c-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: clamp(8px, 1.6vw, 14px);
  filter: drop-shadow(0 12px 22px rgba(0,0,0,0.42)) brightness(1.12);
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease;
}

.card:hover .c-logo img {
  transform: scale(1.04);
  filter: drop-shadow(0 16px 26px rgba(0,0,0,0.5)) brightness(1.18);
}

.txt-logo {
  display: none;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 950;
  text-align: center;
}

.text-brand-logo {
  gap: clamp(10px, 1.7vw, 16px);
  overflow: hidden;
  padding: clamp(12px, 2vw, 18px);
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(22, 42, 72, 0.92), rgba(11, 23, 43, 0.94)),
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.16), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 28px rgba(0,0,0,0.18);
}

.text-brand-mark {
  display: grid;
  width: clamp(46px, 6vw, 58px);
  height: clamp(46px, 6vw, 58px);
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(94, 234, 255, 0.72);
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 18%, #facc15 0 5px, transparent 6px),
    linear-gradient(145deg, rgba(29, 78, 116, 0.96), rgba(14, 35, 62, 0.96));
  color: #e9fbff;
  font-size: clamp(15px, 2.5vw, 19px);
  font-weight: 950;
  letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(34, 211, 238, 0.42);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.04), 0 12px 22px rgba(0,0,0,0.28);
}

.text-brand-copy {
  display: grid;
  min-width: 0;
  text-align: left;
  line-height: 1;
}

.text-brand-copy b {
  color: #93c5fd;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 950;
  letter-spacing: .01em;
}

.text-brand-copy strong {
  margin-top: 3px;
  color: #f8fdff;
  font-size: clamp(28px, 4.8vw, 42px);
  font-weight: 950;
  letter-spacing: .03em;
  text-shadow: 0 3px 12px rgba(0,0,0,0.45), 0 0 16px rgba(34, 211, 238, 0.18);
  white-space: nowrap;
}

.text-brand-copy em {
  margin-top: 5px;
  color: rgba(203, 213, 225, 0.78);
  font-size: clamp(7px, 1.4vw, 9px);
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}

.c-rate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 2px;
}

.st {
  width: clamp(13px, 2.2vw, 16px);
  height: clamp(13px, 2.2vw, 16px);
  background: linear-gradient(135deg, #facc15, #f59e0b);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.34));
}

.sc {
  color: #fbbf24;
  font-size: clamp(20px, 3.2vw, 24px);
  font-weight: 950;
  line-height: 1;
}

.c-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: clamp(12px, 2vw, 16px);
}

.tg {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: clamp(10px, 1.8vw, 12px);
  font-weight: 800;
  white-space: nowrap;
}

.tg-a {
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.1);
  color: #67e8f9;
}

.tg-n {
  border: 1px solid rgba(148, 163, 184, 0.13);
  background: rgba(148, 163, 184, 0.08);
  color: #93a4b9;
}

.c-btns {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.cb {
  position: relative;
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  padding: 10px 8px;
  border-radius: 12px;
  color: inherit;
  font-size: clamp(13px, 2.2vw, 15px);
  font-weight: 950;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cb svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.cb-r {
  border: 1px solid rgba(103, 232, 249, 0.45);
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #02111a;
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.24);
}

.cb-r::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 52%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.cb-r:hover::after {
  animation: sweep .62s ease forwards;
}

@keyframes sweep {
  to { left: 118%; }
}

.cb-d {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #eaf2ff;
}

.cb:hover {
  transform: translate3d(0, -2px, 0);
}

.cb-r:hover {
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.32);
}

.cb-d:hover {
  border-color: rgba(139, 92, 246, 0.38);
  box-shadow: 0 14px 28px rgba(139, 92, 246, 0.16);
}

.cb:active {
  transform: translate3d(0, 1px, 0) scale(.98);
}

.foot {
  margin-top: 30px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.foot p {
  color: var(--muted);
  font-size: clamp(11px, 2.2vw, 13px);
  line-height: 1.9;
}

.foot .sub {
  color: rgba(148, 163, 184, 0.42);
}

.wallet-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.wallet-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 11px 5px 6px;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.08)),
    rgba(255, 255, 255, 0.045);
  color: #dcecff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 850;
}

.wallet-item i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #ffffff;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.wallet-item b {
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.wallet-metamask i {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.wallet-trust i {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.wallet-okx i {
  background: linear-gradient(135deg, #111827, #475569);
}

.wallet-binance i {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #1f2937;
}

.wallet-tokenpocket i {
  background: linear-gradient(135deg, #60a5fa, #1d4ed8);
}

.wallet-imtoken i {
  background: linear-gradient(135deg, #34d399, #059669);
}

.wallet-coinbase i {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.wallet-phantom i {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.float-tg {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.34), rgba(59, 130, 246, 0.24)),
    rgba(24, 33, 61, 0.62);
  box-shadow:
    0 16px 32px rgba(6, 182, 212, 0.2),
    0 6px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.float-tg::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 54%);
}

.float-tg svg {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  fill: #e9fbff;
  filter: drop-shadow(0 4px 10px rgba(2, 6, 23, 0.28));
  transform: translateX(-1px);
}

.float-tg:hover {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.44), rgba(59, 130, 246, 0.3)),
    rgba(24, 33, 61, 0.7);
  box-shadow:
    0 18px 36px rgba(6, 182, 212, 0.28),
    0 0 28px rgba(56, 189, 248, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.float-tg:active {
  transform: translateY(1px) scale(.96);
}

.card.anim {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.card.anim.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 720px) {
  .page {
    padding: 14px 10px 38px;
  }

  .grid {
    gap: 10px;
  }

  .card-row {
    grid-template-columns: 1fr;
  }

  .grid .card:first-child .c-logo {
    height: 108px;
    margin-bottom: 12px;
  }

  .hero::after {
    display: none;
  }

  .hero-head {
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .page {
    padding-inline: 8px;
  }

  .hero {
    padding: 16px;
    border-radius: 18px;
  }

  .hero-head {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .hero-brand {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 11px;
  }

  .hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 30px;
  }

  .hero-txt {
    min-width: 0;
  }

  .hero-txt em {
    margin-bottom: 5px;
    padding: 2px 7px;
    font-size: 9px;
  }

  .hero-txt h1 {
    font-size: clamp(19px, 5.1vw, 23px);
    line-height: 1.16;
    max-width: 100%;
  }

  .hero-txt p {
    margin-top: 5px;
    font-size: 12px;
  }

  .hero-meta {
    margin-top: 12px;
    padding-top: 10px;
  }

  .crypto-list {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    padding: 0;
    border-radius: 16px;
  }

  .crypto-list span {
    min-height: 24px;
    padding: 0 9px;
    font-size: 10px;
  }

  .float-tg {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(78px, env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }

  .float-tg svg {
    width: 24px;
    height: 24px;
  }

  .wallet-list {
    gap: 8px;
  }

  .wallet-item {
    min-height: 32px;
    padding-right: 9px;
    font-size: 11px;
  }

  .wallet-item i {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }

  .foot {
    padding-bottom: 86px;
  }

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

  .card {
    padding: 12px;
    border-radius: 13px;
  }

  .c-logo {
    height: 76px;
    padding: 0;
  }

  .c-logo img {
    max-width: 100%;
    max-height: 100%;
    padding: 8px;
  }

  .c-top {
    margin-bottom: 10px;
  }

  .rank {
    font-size: 21px;
  }

  .fire {
    padding: 4px 8px;
  }

  .c-rate {
    gap: 6px;
    margin-bottom: 8px;
  }

  .c-tags {
    margin-bottom: 12px;
  }

  .tg {
    padding: 4px 7px;
  }

  .c-btns {
    gap: 7px;
  }

  .cb {
    min-height: 44px;
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
.c-logo img {
  width: 90%;
  height: 90%;
  max-width: none;
  max-height: none;
  padding: 0 !important;
  object-fit: contain;
  object-position: center;
  transform: scale(1.28);
  transform-origin: center;
}

.card:hover .c-logo img {
  transform: scale(1.30);
}