:root {
  color-scheme: dark;
  --bg: #07030d;
  --bg-2: #130820;
  --panel: rgba(19, 10, 34, 0.88);
  --panel-2: rgba(35, 15, 58, 0.92);
  --panel-3: rgba(57, 24, 87, 0.8);
  --line: rgba(214, 176, 255, 0.22);
  --line-strong: rgba(246, 198, 91, 0.44);
  --purple: #9b4dff;
  --violet: #5f22c7;
  --gold: #ffd76d;
  --gold-2: #ffad3d;
  --green: #49ff73;
  --red: #ff5478;
  --ice: #e8f8ff;
  --muted: #bdaee6;
  --text: #fffaff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 68px 68px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 68px 68px,
    linear-gradient(145deg, #07030d 0%, #140622 46%, #090310 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  background:
    linear-gradient(115deg, transparent 0 15%, rgba(155, 77, 255, 0.12) 16%, transparent 31% 100%),
    linear-gradient(245deg, transparent 0 24%, rgba(255, 215, 109, 0.1) 25%, transparent 40% 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

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

button {
  font: inherit;
}

.snow-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(155, 77, 255, 0.8) 0 1px, transparent 1px);
  background-position: 0 0, 30px 42px;
  background-size: 92px 92px, 126px 126px;
  animation: snowDrift 24s linear infinite;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 4, 16, 0.82);
  backdrop-filter: blur(18px);
}

.nav-brand,
.nav-links,
.moni-tool-strip,
.rank-actions,
.rank-footer,
.rank-topline,
.rank-token,
.rank-stat-row,
.rank-card-actions,
.rank-mini-strip,
.rank-ticker-track,
.rank-poster-controls,
.rank-command-head,
.rank-command-leaders div {
  display: flex;
  align-items: center;
}

.nav-brand {
  gap: 0.65rem;
  font-weight: 950;
  letter-spacing: 0;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 26px rgba(155, 77, 255, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.nav-links {
  justify-content: center;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.nav-links a,
.moni-tool-strip a,
.rank-card-actions a,
.rank-card-actions button {
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.moni-tool-strip a:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-cta,
.rank-actions button {
  border: 1px solid rgba(255, 215, 109, 0.68);
  border-radius: 999px;
  color: #170b07;
  background: linear-gradient(135deg, #fff4b6, var(--gold) 48%, var(--gold-2));
  box-shadow: 0 12px 34px rgba(255, 215, 109, 0.22);
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0;
}

.nav-cta {
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.rank-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 2rem;
  align-items: center;
  min-height: 720px;
  padding: 5.1rem 5rem 2.5rem;
  isolation: isolate;
}

.rank-hero::before {
  content: "";
  position: absolute;
  inset: 3.5rem 3.5rem 1.5rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 215, 109, 0.16), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(155, 77, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.072), transparent 36%),
    linear-gradient(90deg, rgba(255, 215, 109, 0.08), transparent 22% 78%, rgba(155, 77, 255, 0.14)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 120px rgba(155, 77, 255, 0.12), 0 28px 90px rgba(0, 0, 0, 0.22);
}

.rank-hero-copy,
.rank-command {
  min-width: 0;
}

.fx-layer {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.fx-layer span {
  position: absolute;
  border: 1px solid rgba(155, 77, 255, 0.3);
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0 0 44px rgba(155, 77, 255, 0.18);
  animation: pulseRing 6s ease-in-out infinite;
}

.fx-layer span:nth-child(1) {
  width: 22rem;
  height: 22rem;
  top: 8%;
  left: 5%;
}

.fx-layer span:nth-child(2) {
  width: 28rem;
  height: 28rem;
  right: 5%;
  bottom: 4%;
  border-color: rgba(255, 215, 109, 0.26);
  animation-delay: 1.4s;
}

.fx-layer span:nth-child(3) {
  width: 18rem;
  height: 18rem;
  right: 32%;
  top: 8%;
  border-color: rgba(73, 255, 115, 0.2);
  animation-delay: 2.4s;
}

.hero-status,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-status {
  border: 1px solid rgba(255, 215, 109, 0.22);
  border-radius: 999px;
  padding: 0.48rem 0.7rem;
  background: rgba(255, 215, 109, 0.06);
}

.hero-status span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(73, 255, 115, 0.82);
}

.rank-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 6.45rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rank-hero h1 span:first-child {
  color: var(--gold);
  text-shadow: 0 0 26px rgba(255, 215, 109, 0.36);
}

.hero-kicker {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--ice);
  font-size: 1.18rem;
  line-height: 1.55;
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 0.68rem;
  max-width: 570px;
  margin-top: 1.15rem;
}

.hero-stat-strip div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(8, 4, 16, 0.52);
  padding: 0.78rem 0.86rem;
  box-shadow: inset 0 0 28px rgba(155, 77, 255, 0.08);
}

.hero-stat-strip span,
.rank-command-head span,
.rank-command-primary span,
.rank-command-leaders span,
.rank-command-leaders em {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-stat-strip strong {
  display: block;
  margin-top: 0.16rem;
  color: white;
  font-size: 1.03rem;
  font-weight: 950;
}

.rank-actions {
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.rank-actions button {
  min-height: 46px;
  padding: 0.82rem 1.18rem;
}

#refreshRanks {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.rank-actions button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.moni-tool-strip {
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
  max-width: 720px;
}

.moni-tool-strip a {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--muted);
  padding: 0.52rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 850;
}

.rank-ticker {
  position: relative;
  width: min(680px, 100%);
  margin-top: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(10, 5, 19, 0.62);
  box-shadow: inset 0 0 34px rgba(155, 77, 255, 0.1);
}

.rank-ticker::before,
.rank-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 42px;
  pointer-events: none;
}

.rank-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 5, 19, 0.96), transparent);
}

.rank-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10, 5, 19, 0.96), transparent);
}

.rank-ticker-track {
  gap: 0.75rem;
  width: max-content;
  padding: 0.6rem;
  animation: tickerMove 24s linear infinite;
}

.rank-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: max-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.4rem 0.62rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.rank-ticker strong {
  color: var(--gold);
}

.rank-command {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 215, 109, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.rank-command::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 30%, rgba(255, 255, 255, 0.16) 44%, transparent 58% 100%),
    repeating-linear-gradient(180deg, transparent 0 8px, rgba(255, 255, 255, 0.035) 8px 9px);
  opacity: 0.36;
  transform: translateX(-30%);
  animation: panelSweep 7s ease-in-out infinite;
}

.rank-command-glow {
  position: absolute;
  inset: -28% -18% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 109, 0.18), rgba(155, 77, 255, 0.1) 44%, transparent 68%);
}

.rank-command-head {
  position: relative;
  z-index: 1;
  gap: 0.88rem;
  min-width: 0;
}

.rank-command-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 215, 109, 0.32);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(155, 77, 255, 0.22);
  transform: rotate(-3deg);
}

.rank-command-logo img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.rank-command-head strong {
  display: block;
  margin-top: 0.18rem;
  color: white;
  font-size: 1.48rem;
  line-height: 1.05;
  font-weight: 950;
}

.rank-command-primary {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  border: 1px solid rgba(73, 255, 115, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(73, 255, 115, 0.15), transparent 30%),
    linear-gradient(135deg, rgba(73, 255, 115, 0.11), rgba(155, 77, 255, 0.12));
  padding: 1.1rem;
}

.rank-command-primary strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--green);
  font-size: 4rem;
  line-height: 0.9;
  font-weight: 1000;
  text-shadow: 0 0 24px rgba(73, 255, 115, 0.42);
}

.rank-command-primary p {
  max-width: 320px;
  margin: 0.6rem 0 0;
  color: var(--ice);
  font-size: 0.94rem;
  line-height: 1.45;
}

.rank-command-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.72rem;
}

.rank-command-grid div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(8, 5, 16, 0.58);
  padding: 0.82rem;
}

.rank-command-grid span,
.rank-card small,
.rank-stat span,
.rank-status-chip,
.rank-medal-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rank-command-grid strong {
  display: block;
  min-width: 0;
  margin-top: 0.35rem;
  overflow: hidden;
  color: white;
  font-size: 1.03rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-command-leaders {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.72rem;
}

.rank-command-leaders div {
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.62rem 0.7rem;
}

.rank-command-leaders span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.9rem;
}

.rank-command-leaders strong {
  min-width: 0;
  overflow: hidden;
  color: white;
  font-size: 0.95rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-command-leaders em {
  flex: 0 0 auto;
  font-style: normal;
  text-align: right;
}

.rank-board-section {
  position: relative;
  z-index: 2;
  padding: 4rem 5rem 5rem;
}

.section-head {
  max-width: 840px;
  margin-bottom: 1.7rem;
}

.section-head h2 {
  margin: 0;
  font-size: 3.9rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head p:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.rank-feature-grid,
.rank-grid {
  display: grid;
  gap: 1rem;
}

.rank-feature-grid {
  grid-template-columns: 1.2fr 0.92fr 0.92fr;
  margin-bottom: 1rem;
}

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

.rank-card {
  --rank-accent: var(--purple);
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  transform-style: preserve-3d;
}

.rank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--token-logo, none) center / cover no-repeat;
  opacity: 0.13;
  filter: blur(7px) saturate(1.25);
  transform: scale(1.08);
}

.rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(90deg, transparent 0 78%, rgba(255, 215, 109, 0.08));
}

.rank-card.feature {
  min-height: 395px;
  border-color: rgba(255, 215, 109, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 215, 109, 0.13), rgba(155, 77, 255, 0.16)),
    var(--panel-2);
}

.rank-card.feature:first-child {
  --rank-accent: var(--gold);
  border-color: rgba(255, 215, 109, 0.72);
  box-shadow:
    0 20px 80px rgba(255, 215, 109, 0.1),
    0 18px 60px rgba(0, 0, 0, 0.24);
}

.rank-card.moni {
  --rank-accent: var(--green);
  border-color: rgba(73, 255, 115, 0.5);
}

.rank-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  height: 100%;
  padding: 1rem;
}

.rank-card.feature .rank-card-inner {
  min-height: 395px;
  align-content: space-between;
  padding: 1.15rem;
}

.rank-topline {
  justify-content: space-between;
  gap: 0.75rem;
}

.rank-number {
  display: inline-grid;
  place-items: center;
  min-width: 3.15rem;
  height: 2.25rem;
  border-radius: 999px;
  color: #140609;
  background: linear-gradient(135deg, #fff7c2, var(--gold));
  box-shadow: 0 10px 28px rgba(255, 215, 109, 0.2);
  font-weight: 1000;
}

.rank-status-chip {
  min-width: 0;
  max-width: 56%;
  overflow: hidden;
  color: var(--ice);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-token {
  gap: 0.82rem;
  min-width: 0;
}

.rank-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.035), 0 14px 42px rgba(0, 0, 0, 0.28);
  font-weight: 950;
}

.feature .rank-logo {
  width: 102px;
  height: 102px;
}

.rank-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-token-copy {
  min-width: 0;
}

.rank-token-copy h3 {
  margin: 0;
  overflow: hidden;
  font-size: 1.55rem;
  letter-spacing: 0;
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature .rank-token-copy h3 {
  font-size: 2rem;
}

.rank-token-copy p {
  margin: 0.28rem 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-mini-strip {
  justify-content: space-between;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
  padding: 0.65rem 0.72rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.rank-mini-strip strong {
  color: var(--text);
}

.rank-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.rank-stat {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.058);
  padding: 0.72rem;
}

.rank-stat strong {
  display: block;
  min-width: 0;
  margin-top: 0.28rem;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-stat-row {
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.rank-stat-row span {
  min-width: 0;
}

.rank-stat-row strong {
  color: white;
}

.positive {
  color: var(--green) !important;
}

.negative {
  color: var(--red) !important;
}

.rank-card-actions {
  justify-content: space-between;
  gap: 0.65rem;
}

.rank-card-actions a,
.rank-card-actions button {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: white;
  cursor: pointer;
  padding: 0.58rem 0.74rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.rank-card-actions a:hover,
.rank-card-actions button:hover {
  border-color: rgba(255, 215, 109, 0.52);
  background: rgba(255, 215, 109, 0.12);
  transform: translateY(-1px);
}

.rank-footer {
  position: relative;
  z-index: 2;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.rank-footer span {
  color: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
  .rank-card {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .rank-card:hover {
    border-color: rgba(255, 215, 109, 0.48);
    box-shadow: 0 24px 80px rgba(155, 77, 255, 0.16), 0 18px 60px rgba(0, 0, 0, 0.28);
    transform: translateY(-4px);
  }
}

@media (max-width: 1180px) {
  .nav {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .rank-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 4rem 1.5rem 2.6rem;
  }

  .rank-hero::before {
    inset: 2.5rem 1rem 1rem;
  }

  .rank-hero h1 {
    font-size: 5.25rem;
  }

  .rank-command {
    max-width: 720px;
  }

  .rank-board-section {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .rank-feature-grid,
  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.62rem;
    padding: 0.72rem 1rem;
  }

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

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.18rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    padding: 0.34rem 0.48rem;
    font-size: 0.76rem;
  }

  .nav-links a:nth-child(n + 5) {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    padding: 0.52rem 0.7rem;
    font-size: 0.84rem;
  }

  .rank-hero {
    gap: 1.15rem;
    padding: 1.65rem 1rem 2.2rem;
  }

  .rank-hero::before {
    inset: 0.9rem 0.65rem 0.6rem;
    border-radius: 24px;
  }

  .rank-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 3.28rem;
    line-height: 0.92;
  }

  .hero-kicker {
    font-size: 0.95rem;
    line-height: 1.46;
  }

  .hero-stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 0.42rem;
  }

  .hero-stat-strip div {
    display: block;
    border-radius: 14px;
    padding: 0.54rem 0.42rem;
    text-align: center;
  }

  .hero-stat-strip span {
    font-size: 0.62rem;
  }

  .hero-stat-strip strong {
    font-size: 0.88rem;
  }

  .rank-hero-copy,
  .rank-command,
  .hero-kicker,
  .rank-actions,
  .moni-tool-strip,
  .rank-ticker {
    width: 100%;
    max-width: 100%;
  }

  .rank-actions {
    gap: 0.52rem;
  }

  .rank-actions button {
    min-height: 42px;
    padding: 0.66rem 0.9rem;
  }

  .moni-tool-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.16rem;
    scrollbar-width: none;
  }

  .moni-tool-strip::-webkit-scrollbar {
    display: none;
  }

  .moni-tool-strip a {
    flex: 0 0 auto;
    padding: 0.43rem 0.62rem;
  }

  .rank-ticker {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rank-ticker::-webkit-scrollbar {
    display: none;
  }

  .rank-ticker::before,
  .rank-ticker::after {
    display: none;
  }

  .rank-ticker-track {
    animation: none;
  }

  .rank-command {
    border-radius: 22px;
    padding: 0.78rem;
  }

  .rank-command-head {
    gap: 0.72rem;
  }

  .rank-command-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .rank-command-logo img {
    width: 46px;
    height: 46px;
  }

  .rank-command-head strong {
    font-size: 1.18rem;
  }

  .rank-command-primary {
    border-radius: 18px;
    padding: 0.82rem;
  }

  .rank-command-primary strong {
    font-size: 3rem;
  }

  .rank-command-primary p {
    max-width: none;
    font-size: 0.86rem;
  }

  .rank-feature-grid,
  .rank-grid {
    grid-template-columns: 1fr;
  }

  .rank-command-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .rank-command-grid div {
    border-radius: 13px;
    padding: 0.58rem 0.48rem;
  }

  .rank-command-grid span,
  .rank-command-leaders em {
    font-size: 0.62rem;
  }

  .rank-command-grid strong {
    font-size: 0.82rem;
  }

  .rank-command-leaders {
    gap: 0.42rem;
  }

  .rank-command-leaders div {
    border-radius: 13px;
    padding: 0.52rem 0.58rem;
  }

  .rank-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-board-section {
    padding: 3rem 1rem 4rem;
  }

  .section-head h2 {
    font-size: 2.55rem;
  }

  .rank-card.feature,
  .rank-card.feature .rank-card-inner {
    min-height: auto;
  }

  .rank-grid .rank-card-inner {
    gap: 0.55rem;
    padding: 0.78rem;
  }

  .rank-grid .rank-logo {
    width: 54px;
    height: 54px;
  }

  .rank-grid .rank-token-copy h3 {
    font-size: 1.22rem;
  }

  .rank-grid .rank-token-copy p {
    font-size: 0.72rem;
  }

  .rank-grid .rank-mini-strip {
    padding: 0.48rem 0.58rem;
    font-size: 0.72rem;
  }

  .rank-grid .rank-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .rank-grid .rank-stat {
    border-radius: 12px;
    padding: 0.45rem 0.35rem;
  }

  .rank-grid .rank-stat span {
    font-size: 0.62rem;
  }

  .rank-grid .rank-stat strong {
    font-size: 0.78rem;
  }

  .rank-grid .rank-stat-row {
    padding-top: 0.52rem;
    font-size: 0.78rem;
  }

  .feature .rank-logo {
    width: 82px;
    height: 82px;
  }

  .feature .rank-token-copy h3 {
    font-size: 1.55rem;
  }
}

@media (max-width: 420px) {
  .hero-status {
    padding: 0.4rem 0.55rem;
    font-size: 0.68rem;
  }

  .rank-hero h1 {
    font-size: 3rem;
  }

  .rank-card-inner {
    padding: 0.86rem;
  }

  .rank-token-copy h3 {
    font-size: 1.34rem;
  }

  .rank-card-actions {
    align-items: stretch;
  }

  .rank-card-actions a,
  .rank-card-actions button {
    flex: 1 1 0;
    padding-right: 0.45rem;
    padding-left: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes snowDrift {
  from {
    background-position: 0 0, 30px 42px;
  }
  to {
    background-position: 0 180px, 30px 220px;
  }
}

@keyframes pulseRing {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes featureFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes panelSweep {
  0%,
  58% {
    transform: translateX(-45%);
  }
  100% {
    transform: translateX(48%);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
