:root {
  --bg: #03060a;
  --bg-2: #091218;
  --panel: #081015cc;
  --panel-strong: #07120fea;
  --line: #1a3a2c;
  --line-soft: #133125;
  --text: #d9e5de;
  --muted: #82938c;
  --accent: #19ff7a;
  --accent-2: #0de66d;
  --green: #2eff9b;
  --green-2: #75ffb6;
  --green-3: #9bff72;
  --green-ink: #03150b;
  --green-muted: #7fffc0;
  --green-line: #1f6b49;
  --green-line-soft: #164831;
  --green-glow: rgba(46, 255, 155, 0.32);
  --green-glow-soft: rgba(46, 255, 155, 0.16);
  --purple: #b43cff;
  --purple-soft: #d875ff;
  --purple-deep: #451668;
  --purple-line: #7f2ab3;
  --purple-glow: #b43cff42;
  --violet-overlay-alpha: 0.1;
  --danger: #ff4d5d;
  --radius: 14px;
  --radius-sm: 10px;
  --matrix-green: var(--green);
  --matrix-cyan: #6cf6ff;
  --insider-gold: #ffd76a;
  --surface-0: #020508;
  --surface-1: rgba(4, 10, 13, 0.92);
  --surface-2: rgba(7, 18, 15, 0.92);
  --surface-3: rgba(8, 18, 24, 0.91);
  --surface-control: rgba(2, 8, 6, 0.9);
  --border-strong: var(--green-line);
  --border-soft: var(--line-soft);
  --border-glow: rgba(46, 255, 155, 0.38);
  --shadow: 0 0 0 1px rgba(15, 42, 30, 0.95), 0 12px 44px rgba(0, 0, 0, 0.5), 0 0 32px rgba(21, 255, 122, 0.12);
  --shadow-card: var(--shadow);
  --shadow-hover: 0 0 0 1px rgba(46, 255, 155, 0.34), 0 14px 48px rgba(0, 0, 0, 0.58), 0 0 30px var(--green-glow-soft), 0 0 24px rgba(180, 60, 255, 0.12);
  --shadow-inset: inset 0 0 22px rgba(46, 255, 155, 0.06);
  --gradient-page:
    radial-gradient(circle at 12% -8%, rgba(20, 255, 122, 0.07), transparent 28%),
    radial-gradient(circle at 82% -4%, rgba(0, 255, 153, 0.09), transparent 24%),
    linear-gradient(135deg, rgba(46, 255, 155, 0.012) 0 1px, transparent 1px 56px),
    linear-gradient(180deg, var(--bg), var(--surface-0) 60%);
  --gradient-card:
    radial-gradient(circle at 88% 8%, rgba(180, 60, 255, 0.13), transparent 38%),
    radial-gradient(circle at 12% 0%, rgba(46, 255, 155, 0.09), transparent 34%),
    linear-gradient(180deg, var(--surface-3), var(--surface-1));
  --gradient-panel:
    radial-gradient(circle at 100% 0%, rgba(46, 255, 155, 0.08), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(180, 60, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(7, 20, 15, 0.94), rgba(4, 13, 10, 0.88));
  --gradient-control:
    radial-gradient(circle at 88% 0%, rgba(180, 60, 255, 0.16), transparent 42%),
    radial-gradient(circle at 10% 50%, rgba(46, 255, 155, 0.1), transparent 35%),
    linear-gradient(180deg, #06110f, #02070a);
  --gradient-modal:
    linear-gradient(135deg, rgba(46, 255, 155, 0.008) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(46, 255, 155, 0.006) 48px 49px),
    radial-gradient(circle at 92% 0%, rgba(180, 60, 255, 0.1), transparent 44%),
    radial-gradient(circle at 10% 100%, rgba(46, 255, 155, 0.06), transparent 46%),
    linear-gradient(135deg, #04120ef5, #03070af8);
  --gradient-action: linear-gradient(135deg, var(--green), var(--green-2) 58%, var(--green-3));
  --gradient-action-purple: linear-gradient(135deg, var(--green), var(--green-2) 58%, var(--purple-soft));
  --gradient-row-hover: linear-gradient(90deg, rgba(46, 255, 155, 0.1), rgba(180, 60, 255, 0.04), transparent);
  --overlay-scanline:
    linear-gradient(135deg, rgba(46, 255, 155, 0.035), transparent 30%, transparent 70%, rgba(108, 246, 255, 0.02)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(46, 255, 155, 0.008) 42px 43px);
}

@font-face {
  font-family: "Road Rage";
  src: url("./assets/Typo/road_rage/Road_Rage.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--gradient-page);
  color: var(--text);
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  scrollbar-width: none;
}

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

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1560px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  gap: 14px;
}

/* Tiny boot stabilizer: smooth identity widgets during auth/profile hydration (max 150ms). */
.profile-chip,
.trade-trader-identity .identity strong,
.pulse-trader-identity .identity strong,
.rank-profile .identity strong,
.user-avatar {
  transition: opacity 120ms ease, filter 120ms ease;
}

html.app-stabilizing .profile-chip,
html.app-stabilizing .trade-trader-identity .identity strong,
html.app-stabilizing .pulse-trader-identity .identity strong,
html.app-stabilizing .rank-profile .identity strong,
html.app-stabilizing .user-avatar {
  opacity: 0.55;
  filter: saturate(0.85);
}

.card {
  position: relative;
  border: 1px solid var(--border-strong);
  background: var(--gradient-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(1.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--overlay-scanline);
  opacity: 0.1;
  mix-blend-mode: screen;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 86% 14%, rgba(180, 60, 255, var(--violet-overlay-alpha)), transparent 42%),
    linear-gradient(160deg, transparent 60%, rgba(180, 60, 255, calc(var(--violet-overlay-alpha) * 0.35)) 100%);
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
}

.card.is-punch,
.pulse-card {
  box-shadow:
    0 0 0 1px var(--green-line-soft),
    0 10px 40px rgba(0, 0, 0, 0.57),
    0 0 26px var(--green-glow-soft),
    0 0 22px var(--purple-glow);
}

/* Violet overlay intentionally limited to ~10% of UI focus zones */
.panel--hero.card::after,
.column--right .panel:nth-child(1).card::after,
.column--right .panel:nth-child(3).card::after,
.tradepro-right .pulse-card:nth-child(2).card::after,
.simtrade-settings-panel::after,
.pulse-right .pulse-card:nth-child(1).card::after {
  opacity: 1;
}

.topbar {
  position: relative;
  z-index: 220;
  min-height: 72px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background:
    radial-gradient(circle at 8% 0%, rgba(46, 255, 155, 0.11), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(180, 60, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(7, 18, 25, 0.95), rgba(3, 8, 11, 0.93));
  box-shadow:
    0 0 0 1px var(--green-line),
    0 20px 80px rgba(0, 0, 0, 0.65),
    inset 0 -1px 0 rgba(46, 255, 155, 0.15);
}

.topbar::before {
  opacity: 0.58;
}

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

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--green-ink);
  font-weight: 700;
  background: var(--gradient-action);
  box-shadow: 0 0 22px var(--green-glow), inset 0 0 14px rgba(255, 255, 255, 0.2);
}

.brand__name {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px var(--green-glow-soft);
}

.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 24px;
}

.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.main-nav__link.is-active {
  color: var(--accent);
  text-shadow: 0 0 10px var(--green-glow);
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  box-shadow: 0 0 12px var(--green);
  transition: right 180ms ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: #e8fff2;
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  right: 0;
}

.main-nav__pill {
  display: inline-grid;
  place-items: center;
  min-height: 16px;
  padding: 1px 5px;
  border-radius: 5px;
  color: #031109;
  background: linear-gradient(135deg, var(--green-3), var(--green));
  box-shadow: 0 0 12px rgba(46, 255, 155, 0.28);
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search {
  min-width: 290px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--gradient-control);
  display: flex;
  gap: 8px;
  color: var(--muted);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.33);
}

.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-transform: none;
}

@media (max-width: 1380px) {
  .topbar {
    gap: 10px;
    padding-inline: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand__name {
    font-size: 1.42rem;
  }

  .main-nav {
    gap: 12px;
    margin-left: 8px;
  }

  .main-nav__link {
    font-size: 0.82rem;
  }

  .topbar__actions {
    gap: 7px;
  }

  .topbar .search {
    min-width: 220px;
  }
}

.workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.content-grid {
  display: grid;
  grid-template-columns: 320px 1fr 460px;
  gap: 14px;
}

.column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.column--center .panel--hero {
  order: 2;
}

.column--center .panel:nth-child(2) {
  order: 1;
}

.column--center .panel:nth-child(3) {
  order: 3;
}

.panel {
  padding: 18px;
}

.corey-emotion {
  display: block;
  width: 64px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 15px rgba(46, 255, 155, 0.28))
    drop-shadow(0 0 14px rgba(180, 60, 255, 0.2));
  user-select: none;
}

.corey-callout {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.corey-callout__bubble {
  position: relative;
  display: inline-block;
  max-width: 168px;
  padding: 7px 10px;
  border: 1px solid rgba(46, 255, 155, 0.38);
  border-radius: 10px;
  color: var(--green);
  background:
    radial-gradient(circle at 100% 0%, rgba(180, 60, 255, 0.12), transparent 46%),
    rgba(4, 18, 13, 0.84);
  box-shadow:
    inset 0 0 16px rgba(46, 255, 155, 0.07),
    0 0 18px rgba(46, 255, 155, 0.08),
    0 0 15px rgba(180, 60, 255, 0.08);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.corey-terminal {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
}

.corey-terminal__mascot {
  display: block;
  width: 96px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(46, 255, 155, 0.28))
    drop-shadow(0 0 16px rgba(180, 60, 255, 0.22));
  user-select: none;
}

.corey-terminal__bubble {
  position: relative;
  display: inline-grid;
  gap: 2px;
  max-width: 148px;
  padding: 7px 10px;
  border: 1px solid rgba(46, 255, 155, 0.4);
  border-radius: 10px;
  color: var(--green);
  background:
    repeating-linear-gradient(0deg, rgba(46, 255, 155, 0.055) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(5, 20, 14, 0.95), rgba(2, 8, 7, 0.94));
  box-shadow:
    inset 0 0 16px rgba(46, 255, 155, 0.075),
    0 0 18px rgba(46, 255, 155, 0.09),
    0 0 15px rgba(180, 60, 255, 0.08);
  text-transform: uppercase;
}

.corey-terminal__prompt {
  color: var(--purple-soft);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  opacity: 0.86;
}

.corey-terminal__text {
  min-height: 1.08em;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.08;
  text-shadow: 0 0 10px rgba(46, 255, 155, 0.32);
}

.corey-terminal__text::after {
  content: "_";
  display: inline-block;
  margin-left: 2px;
  color: var(--green-2);
  animation: terminal-caret-blink 1050ms steps(1, end) infinite;
}

@keyframes terminal-caret-blink {
  50% {
    opacity: 0;
  }
}

.panel__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 1.45rem;
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  text-shadow: 0 0 18px var(--green-glow);
}

.panel__title strong,
.panel__title .keyword {
  color: var(--purple-soft);
  text-shadow: 0 0 12px var(--purple-glow);
}

.panel__title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.panel__title::after {
  content: "LIVE TAPE";
  margin-left: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(46, 255, 155, 0.19);
  border-radius: 999px;
  color: var(--green-muted);
  background: var(--surface-control);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.column--right .panel:nth-child(3) .panel__title::after {
  content: none;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.82rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: #0b1813;
  color: #98f5be;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #2aff98;
  background:
    radial-gradient(circle at 60% 35%, #83ffbd 0 10%, transparent 12%),
    radial-gradient(circle at 50% 55%, #09150f 10%, #04100a 48%, #13ff7a26 80%);
  box-shadow: 0 0 16px #14ff7a66;
}

.avatar--sm {
  width: 28px;
  height: 28px;
}

.avatar--lg {
  width: 74px;
  height: 74px;
}

.avatar--alt {
  filter: hue-rotate(200deg);
}

.rank-badge {
  --badge-a: #e8e8e8;
  --badge-b: #606060;
  --badge-c: #1a1a1a;
  width: 58px;
  height: 70px;
  flex: 0 0 58px;
  display: inline-grid;
  place-items: center;
  position: relative;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--badge-a) 34%, transparent));
}

.rank-badge--iron {
  --badge-a: #e8e8e8;
  --badge-b: #606060;
  --badge-c: #1a1a1a;
}

.rank-badge--bronze {
  --badge-a: #ffb35a;
  --badge-b: #9a4f12;
  --badge-c: #331706;
}

.rank-badge--silver {
  --badge-a: #e8f4ff;
  --badge-b: #6f879d;
  --badge-c: #1b2835;
}

.rank-badge--gold {
  --badge-a: #fff06a;
  --badge-b: #ffb300;
  --badge-c: #6d3900;
}

.rank-badge--platinum {
  --badge-a: #69fff4;
  --badge-b: #00a99d;
  --badge-c: #013b3c;
}

.rank-badge--diamond {
  --badge-a: #7ce7ff;
  --badge-b: #236eff;
  --badge-c: #101a74;
}

.rank-badge--master,
.rank-badge--mythic {
  --badge-a: #ff94ff;
  --badge-b: #9d21ff;
  --badge-c: #33004d;
}

.rank-badge--grandmaster {
  --badge-a: #ff6ee7;
  --badge-b: #8b28ff;
  --badge-c: #3b004a;
}

.rank-badge--top500 {
  --badge-a: #fff06a;
  --badge-b: #ff7a1a;
  --badge-c: #4f2500;
}

.rank-badge__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rank-badge__wing,
.rank-badge__bottom,
.rank-badge__crown {
  fill: var(--badge-b);
  stroke: var(--badge-a);
  stroke-width: 3;
  stroke-linejoin: round;
  opacity: 0.95;
}

.rank-badge__back {
  fill: #080b10;
  stroke: var(--badge-c);
  stroke-width: 3;
  opacity: 0.96;
}

.rank-badge__main {
  fill: none;
  stroke: var(--badge-a);
  stroke-width: 3;
}

.rank-badge__inner {
  fill: #05070a;
  stroke: var(--badge-b);
  stroke-width: 2;
  opacity: 0.92;
}

.rank-badge__bottom--inner {
  fill: var(--badge-a);
}

.rank-badge__jewel {
  fill: var(--badge-a);
  stroke: #fff;
  stroke-width: 1.5;
}

.rank-badge__avatar {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 62%;
  height: 60%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 100% 24%, 100% 73%, 50% 99%, 0 73%, 0 24%);
  overflow: hidden;
  background: #05070a;
  box-shadow: inset 0 0 0 2px #07100d, inset 0 0 0 4px var(--badge-a);
}

.rank-badge__avatar .avatar {
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.68rem;
  display: grid;
  place-items: center;
}

.rank-badge--table {
  width: 38px;
  height: 47px;
  flex-basis: 38px;
}

.rank-badge--leaderboard {
  width: 40px;
  height: 49px;
  flex-basis: 40px;
}

.rank-badge--duel {
  width: 48px;
  height: 59px;
  flex-basis: 48px;
}

.rank-badge--player {
  width: 64px;
  height: 78px;
  flex-basis: 64px;
}

.rank-badge--profile,
.rank-badge--identity {
  width: 64px;
  height: 78px;
  flex-basis: 64px;
}

.user-avatar.has-photo {
  background-image: var(--avatar-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 18px #2eff9b5c, 0 0 12px #b43cff4d;
}

.user-avatar.has-photo::before,
.user-avatar.has-photo::after {
  content: none;
}

.progress-group {
  margin-top: 12px;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.progress {
  margin-top: 8px;
  height: 8px;
  background: #0a1411;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #11f56f, #5cffb0);
}

.progress--ticks {
  background-image: repeating-linear-gradient(
    90deg,
    #0a1411 0,
    #0a1411 10px,
    #06110d 10px,
    #06110d 12px
  );
}

.stats-2col,
.kpi-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px;
  background: #07110fcc;
}

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

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

.kpi-grid--3 {
  border: 0;
  padding: 0;
  background: transparent;
}

.kpi-grid strong,
.stats-2col strong {
  display: block;
  margin-top: 3px;
  font-size: 1.15rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.stats-2col > div,
.kpi-grid > div {
  min-width: 0;
}

.dashboard-balance-value,
.trade-identity-balance {
  display: block;
  max-width: 100%;
  font-size: clamp(0.82rem, 2.2vw, 1.05rem);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  white-space: nowrap;
  overflow-wrap: normal;
}

small {
  color: var(--muted);
  font-size: 0.72rem;
}

.pos {
  color: var(--accent);
}

.neg {
  color: var(--danger);
}

.warn {
  color: var(--insider-gold);
}

.muted {
  color: var(--muted);
  font-size: 0.82rem;
}

.panel--hero {
  min-height: 258px;
  display: block;
  background:
    linear-gradient(180deg, #07140fee, #040d0ad9),
    radial-gradient(circle at 70% 45%, #11ff7a22, transparent 40%);
}

.panel--hero::after {
  content: none;
}

.panel--hero h1 {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  letter-spacing: 0.02em;
}

.panel--hero p {
  margin: 4px 0 6px;
  color: #a6bab1;
  text-transform: none;
  max-width: 62ch;
}

.run-mission {
  display: grid;
  gap: 8px;
}

.pump-gainer {
  display: grid;
  gap: 12px;
}

.gainer-head {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px auto;
  align-items: start;
  gap: 10px;
}

.corey-callout--gainer {
  margin-left: auto;
  margin-bottom: -27px;
  align-self: flex-end;
  align-items: flex-end;
}

.corey-callout--gainer .corey-callout__bubble {
  max-width: 116px;
  padding: 6px 9px;
  font-size: 0.6rem;
  margin-bottom: 16px;
}

.corey-callout--gainer .corey-callout__mascot {
  width: 112px;
  margin: -10px -26px -3px -4px;
  transform: none;
}

.corey-callout--pump .corey-callout__mascot {
  width: 112px;
  margin: -10px -26px -3px -4px;
  transform: none;
}

.corey-callout--pump .corey-callout__bubble {
  max-width: 116px;
  padding: 6px 9px;
  font-size: 0.6rem;
  margin-bottom: 16px;
}

.corey-terminal--gainer {
  width: 128px;
  margin-left: 0;
  margin-bottom: -18px;
  align-self: flex-end;
  justify-self: end;
}

.corey-terminal--pump .corey-terminal__bubble {
  width: 86px;
  max-width: 86px;
  min-height: 36px;
  margin-bottom: 12px;
  padding: 5px 7px;
}

.corey-terminal--pump .corey-terminal__mascot {
  width: 92px;
  margin: -10px -16px -2px -4px;
  transform: none;
}

.corey-terminal--pump .corey-terminal__prompt {
  font-size: 0.42rem;
}

.corey-terminal--pump .corey-terminal__text {
  font-size: 0.5rem;
  line-height: 1.05;
}

.gainer-head .panel__title {
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 0.98;
}

.gainer-head > .dex-ladder__tabs {
  grid-column: 3;
  justify-self: end;
  align-self: start;
}

.gainer-head .panel__title::after {
  content: none;
}

.gainer-subline {
  display: none;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.pump-gainer__list {
  margin-top: 2px;
}

.pump-gainer .dex-ladder__row {
  grid-template-columns: 44px minmax(0, 1fr) minmax(96px, auto) 82px minmax(82px, auto);
}

.run-mission__head {
  margin-bottom: 2px;
}

.run-mission__status {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border: 1px solid #1f5a3e;
  border-radius: 999px;
  padding: 4px 9px;
  background: #07120f;
}

.run-mission__status.warn {
  color: var(--purple-soft);
  border-color: var(--purple-line);
  background: linear-gradient(180deg, #151022, #0b0913);
  box-shadow: inset 0 0 14px var(--purple-glow);
}

.run-mission__rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.run-mission__meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.run-mission__progress {
  margin-top: 0;
}

.run-mission__progress .row strong {
  font-size: 0.9rem;
}

.run-mission__actions {
  margin-top: 2px;
}

.run-mission .btn--primary {
  margin-top: 0;
  min-height: 42px;
  width: min(280px, 100%);
}

.ladder-push {
  display: grid;
  gap: 10px;
}

.ladder-push__target {
  font-size: 0.84rem;
  color: #9cb5a8;
}

.ladder-push__target strong {
  margin-left: 6px;
  font-size: 1.55rem;
  color: #e8fff4;
}

.ladder-push__distance strong {
  font-size: 1.1rem;
}

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

.ladder-push__tasks .btn {
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.ladder-push__tasks .btn.is-done {
  border-color: var(--purple-line);
  box-shadow: inset 0 0 14px var(--purple-glow);
}

.dex-ladder {
  gap: 12px;
}

.dex-ladder__list {
  display: grid;
  gap: 8px;
}

.dex-ladder__tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--green-line-soft);
  border-radius: 999px;
  background: #020806;
  box-shadow: inset 0 0 18px #2eff9b0c;
}

.dex-ladder__tab {
  min-width: 42px;
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.dex-ladder__tab:hover,
.dex-ladder__tab.is-active {
  color: #04100b;
  border-color: #2eff9b99;
  background: linear-gradient(135deg, var(--green), #9bff72);
  box-shadow: 0 0 16px #2eff9b33;
}

.dex-ladder__row {
  width: 100%;
  border: 1px solid var(--green-line-soft);
  border-radius: 12px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(94px, auto) 78px minmax(72px, auto);
  gap: 10px;
  align-items: center;
  text-align: left;
  color: var(--text);
  background:
    radial-gradient(circle at 96% 0%, #b43cff16, transparent 38%),
    linear-gradient(180deg, #07130f, #040b09);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.dex-ladder__row:hover {
  border-color: #2eff9b66;
  box-shadow: inset 3px 0 0 var(--green), 0 0 16px #2eff9b18;
  transform: translateX(2px);
}

.dex-ladder__row:disabled {
  cursor: default;
  opacity: 0.76;
}

.dex-ladder__row.is-new {
  animation: dex-ladder-new 1200ms ease-out;
}

.dex-ladder__row.is-in {
  animation: dex-ladder-in 1200ms ease-out;
}

.dex-ladder__row.is-up {
  animation: dex-ladder-up 1050ms ease-out;
}

.dex-ladder__row.is-down {
  animation: dex-ladder-down 1050ms ease-out;
}

.dex-ladder__row.is-out {
  animation: dex-ladder-out 1300ms ease-out;
}

.dex-ladder__rank {
  color: #7fffc0;
  font-weight: 700;
  font-size: 0.9rem;
}

.dex-ladder__price {
  justify-self: end;
  font-size: 0.88rem;
}

.dex-ladder__move {
  justify-self: end;
  font-weight: 700;
  font-size: 0.92rem;
}

.dex-ladder__row > small {
  justify-self: end;
  white-space: nowrap;
}

.dex-ladder__row > small b {
  color: var(--purple-soft);
  letter-spacing: 0.08em;
}

.dex-ladder__event-badge {
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  padding: 1px 6px;
  border: 1px solid rgba(216, 117, 255, 0.55);
  border-radius: 999px;
  color: #f1c7ff;
  background: rgba(180, 60, 255, 0.18);
  box-shadow: 0 0 14px rgba(180, 60, 255, 0.2);
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.dex-ladder__event-badge--in,
.dex-ladder__event-badge--up {
  border-color: rgba(46, 255, 155, 0.58);
  color: var(--green-3);
  background: rgba(46, 255, 155, 0.12);
  box-shadow: 0 0 14px rgba(46, 255, 155, 0.18);
}

.dex-ladder__event-badge--down,
.dex-ladder__event-badge--out {
  border-color: rgba(255, 73, 102, 0.56);
  color: #ff94a7;
  background: rgba(255, 73, 102, 0.12);
  box-shadow: 0 0 14px rgba(255, 73, 102, 0.16);
}

.dex-ladder__empty {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-line-soft);
  border-radius: 12px;
  color: var(--muted);
}

.market-radar {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.dashboard-early-radar-card {
  position: relative;
  overflow: hidden;
}

.market-radar__list {
  display: grid;
  gap: 6px;
}

.market-radar__row {
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(54px, auto) minmax(30px, auto);
  gap: 7px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  color: var(--text);
  background:
    radial-gradient(circle at 96% 0%, #b43cff18, transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow: inset 0 0 18px #1eff8c12;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.market-radar__row:hover {
  border-color: #2eff9b66;
  box-shadow: inset 0 0 18px #1eff8c1f, 0 0 16px #2eff9b18;
  transform: translateX(2px);
}

.market-radar__row.is-new {
  animation: dex-ladder-new 1200ms ease-out;
}

.market-radar__row.is-up {
  animation: dex-ladder-up 1050ms ease-out;
}

.market-radar__row.is-down {
  animation: dex-ladder-down 1050ms ease-out;
}

.market-radar__row.is-out {
  animation: dex-ladder-out 1300ms ease-out;
}

.market-radar__score {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #2eff9b66;
  border-radius: 9px;
  color: #07130f;
  background: linear-gradient(135deg, var(--green), var(--purple-soft));
  box-shadow: 0 0 18px #2eff9b2e;
  font-size: 0.76rem;
  font-weight: 900;
}

.market-radar__row .token-name {
  gap: 8px;
}

.market-radar__row .token-name .avatar,
.market-radar__row .token-name img {
  width: 28px;
  height: 28px;
}

.market-radar__row .token-name strong {
  font-size: 0.95rem;
}

.market-radar__row .token-name small {
  font-size: 0.76rem;
}

.market-radar__row > .pos,
.market-radar__row > .neg {
  justify-self: end;
  font-size: 0.92rem;
  font-weight: 800;
}

.market-radar__row > small {
  justify-self: end;
  color: var(--muted);
  white-space: nowrap;
}

.market-radar__empty {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px dashed var(--green-line-soft);
  border-radius: 13px;
  color: var(--muted);
  text-align: center;
}

@keyframes dex-ladder-new {
  0% {
    border-color: var(--purple-soft);
    box-shadow: 0 0 0 1px #d875ff66, 0 0 24px #b43cff55, inset 0 0 24px #b43cff22;
    transform: translateY(-6px) scale(1.01);
  }
  100% {
    border-color: var(--green-line-soft);
    box-shadow: none;
    transform: translateY(0) scale(1);
  }
}

@keyframes dex-ladder-in {
  0% {
    border-color: #7dffbe;
    box-shadow: 0 0 0 1px #7dffbe66, 0 0 24px #2eff9b44, inset 0 0 24px #2eff9b18;
    transform: translateY(-4px) scale(1.008);
  }
  100% {
    border-color: var(--green-line-soft);
    box-shadow: none;
    transform: translateY(0) scale(1);
  }
}

@keyframes dex-ladder-up {
  0% {
    border-color: #7dffbe;
    box-shadow: 0 0 0 1px #7dffbe66, 0 0 20px #2eff9b55, inset 4px 0 0 var(--green);
    transform: translateY(7px);
    filter: brightness(1.13);
  }
  100% {
    border-color: var(--green-line-soft);
    box-shadow: none;
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes dex-ladder-down {
  0% {
    border-color: #ff4966;
    box-shadow: 0 0 0 1px #ff496666, 0 0 18px #ff496633, inset 4px 0 0 #ff4966;
    transform: translateY(-7px);
    filter: brightness(1.08);
  }
  100% {
    border-color: var(--green-line-soft);
    box-shadow: none;
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes dex-ladder-out {
  0% {
    border-color: #ff4966;
    box-shadow: 0 0 0 1px #ff496655, inset 0 0 20px #ff49661f;
    filter: grayscale(0) brightness(1.08);
  }
  100% {
    border-color: var(--green-line-soft);
    box-shadow: none;
    filter: grayscale(0.5) brightness(0.72);
  }
}

.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  text-transform: inherit;
  color: var(--text);
  background: var(--gradient-panel);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(168, 255, 211, 0.13), transparent);
  transform: translateX(-110%);
  transition: transform 260ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-glow);
  color: #f1fff7;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5), 0 0 22px var(--green-glow-soft), 0 0 16px rgba(180, 60, 255, 0.08);
}

.btn:hover::before {
  transform: translateX(110%);
}

.btn--primary {
  margin-top: 16px;
  width: min(300px, 100%);
  font-weight: 700;
  border-color: var(--green-2);
  color: var(--green-ink);
  background:
    var(--gradient-action),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 255, 255, 0.13) 12px 13px);
  box-shadow: 0 0 28px var(--green-glow);
}

.btn--ghost.is-done {
  color: var(--green-muted);
  border-color: var(--border-glow);
}

.feed,
.leaderboard {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feed li,
.leaderboard li {
  display: grid;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #0f2b20;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.feed li:hover,
.leaderboard li:hover {
  border-color: #2eff9b55;
  background: linear-gradient(90deg, #2eff9b10, transparent);
  box-shadow: inset 2px 0 0 var(--green);
  transform: translateX(2px);
}

.feed li {
  grid-template-columns: 1fr auto;
}

.feed__story {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.feed__corey {
  width: 28px;
  flex: 0 0 28px;
  filter:
    drop-shadow(0 0 8px rgba(46, 255, 155, 0.22))
    drop-shadow(0 0 8px rgba(180, 60, 255, 0.16));
}

.leaderboard li {
  grid-template-columns: 1fr auto auto;
}

.leaderboard-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.leaderboard-user > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-user .avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.leaderboard-user .rank-badge__avatar .avatar {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  border-radius: 0;
}

.leaderboard li.is-you {
  border: 1px solid #2cff97;
  border-radius: 10px;
  padding: 10px;
  margin: 8px 0;
  box-shadow: inset 0 0 0 1px #2cff9730;
}

.duel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.duel__card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 9px;
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  background:
    radial-gradient(circle at 96% 0%, #b43cff18, transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow: inset 0 0 18px #1eff8c12;
  min-height: 72px;
}

.duel__card .avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.duel__card .rank-badge__avatar .avatar {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  border-radius: 0;
}

.duel__vs {
  display: grid;
  place-items: center;
  color: #95a99f;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.duel__meta {
  display: grid;
  gap: 1px;
  min-width: 0;
  width: 100%;
}

.duel__meta strong {
  display: block;
  max-width: 100%;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.duel__meta small {
  line-height: 1.15;
  text-transform: none;
  color: #8fa99b;
  overflow-wrap: anywhere;
}

.duel__score {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  min-width: 0;
  color: #8fa99b;
  font-size: 0.82rem;
  line-height: 1.1;
  white-space: nowrap;
}

.duel__score b {
  color: var(--text);
  font-weight: 800;
}

.duel__delta {
  display: none;
}

.dashboard-rival-card {
  position: relative;
  overflow: hidden;
}

.dashboard-rival-card .duel {
  position: relative;
  z-index: 2;
}

.dashboard-rival-card .btn {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.corey-duel-hype {
  position: absolute;
  right: 10px;
  top: 80px;
  bottom: 1px;
  z-index: 4;
  width: 178px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.corey-duel-hype__mascot {
  width: 100px;
  margin: 0 -4px 0 0;
}

.rank-table .ranking-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rank-table .ranking-user > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-table .ranking-user .avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.rank-table .ranking-user .rank-badge {
  margin: -5px 0;
}

.rank-table .ranking-user .rank-badge__avatar .avatar,
.rank-profile .identity .rank-badge__avatar .avatar {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  border-radius: 0;
}

.player-modal {
  width: min(560px, calc(100vw - 28px));
  margin: 6vh auto;
  position: relative;
  max-height: min(82vh, 920px);
  overflow: auto;
  padding: 14px;
  border-color: var(--border-strong);
  border-radius: 18px;
  background: var(--gradient-modal);
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 28px 90px rgba(0, 0, 0, 0.69),
    0 0 34px var(--green-glow-soft),
    inset 0 0 28px rgba(46, 255, 155, 0.07);
}

@media (max-width: 900px) {
  .player-modal {
    margin: 4vh auto;
  }
}

.player-modal__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.player-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.player-modal__eyebrow > span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.player-modal__eyebrow strong {
  font-size: 1.08rem;
}

.player-modal__eyebrow small {
  padding: 3px 8px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  color: #9ee8bf;
  font-size: 0.62rem;
}

.player-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--green-line);
  border-radius: 12px;
  background: var(--surface-control);
  color: #bdf6d2;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.player-modal__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  margin-top: 10px;
}

.player-modal__hero .identity {
  margin-bottom: 0;
  gap: 18px;
  align-items: center;
}

.player-modal__hero .identity .avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.player-modal__hero .identity .rank-badge__avatar .avatar {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  border-radius: 0;
}

.player-modal__hero strong {
  display: block;
  width: 214px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(46, 255, 155, 0.16);
  font-size: 1.34rem;
  line-height: 1.05;
}

.player-modal__badge-label {
  display: block;
  margin-top: 4px;
  color: var(--green-muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.player-modal__hero p {
  margin: 5px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.player-title-img {
  width: 214px;
  height: 34px;
  object-fit: fill;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 11px rgba(46, 255, 155, 0.24))
    drop-shadow(0 0 9px rgba(180, 60, 255, 0.16));
}

.player-title-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
  mix-blend-mode: screen;
  clip-path: inset(3px 0 3px 0 round 999px);
}

.player-title-wrap::after {
  content: "";
  position: absolute;
  inset: -45% -24%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(183, 255, 116, 0.08) 44%, rgba(255, 255, 255, 0.56) 50%, rgba(46, 255, 155, 0.16) 56%, transparent 66%);
  mix-blend-mode: screen;
  transform: translateX(-125%) skewX(-18deg);
  animation: title-glow-sweep 8.2s ease-in-out infinite;
}

.player-title-wrap img {
  display: block;
}

.player-title-fallback {
  display: none;
}

.player-modal__badge-shelf {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 214px;
  min-height: 62px;
  margin-top: 2px;
}

.player-modal__badge-img {
  width: 54px;
  height: 62px;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 11px rgba(46, 255, 155, 0.22))
    drop-shadow(0 0 10px rgba(180, 60, 255, 0.16));
  transition: transform 160ms ease, filter 160ms ease;
}

.player-modal__badge-img:hover {
  transform: translateY(-2px) scale(1.04);
  filter:
    drop-shadow(0 0 14px rgba(46, 255, 155, 0.34))
    drop-shadow(0 0 13px rgba(180, 60, 255, 0.24));
}

.player-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.player-modal__chips .badge {
  margin-top: 0;
  min-width: 0;
  text-align: center;
  padding: 3px 9px;
  border-color: #2a7e57;
  background:
    radial-gradient(circle at 88% 0%, #b43cff1f, transparent 44%),
    linear-gradient(180deg, #07140f, #030a08);
  box-shadow: inset 0 0 14px #2eff9b0f;
  font-size: 0.7rem;
}

.player-modal__kpis {
  margin-top: 10px;
}

.player-modal__kpis.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.player-modal__kpis.kpi-grid > div {
  min-height: 54px;
  padding: 8px 7px;
  border-color: #1c5139;
  background:
    radial-gradient(circle at 90% 0%, #b43cff1a, transparent 44%),
    linear-gradient(180deg, #06120e, #030b08);
  box-shadow: inset 0 0 12px #2eff9b0d;
}

.player-modal__kpis.kpi-grid small {
  font-size: 0.58rem;
  line-height: 1.15;
}

.player-modal__kpis.kpi-grid strong {
  font-size: clamp(0.78rem, 1.7vw, 0.98rem);
  line-height: 1.1;
}

.player-modal__move-trigger {
  cursor: pointer;
}

.player-modal__move-trigger:hover,
.player-modal__move-trigger:focus-visible {
  border-color: var(--green);
  box-shadow: inset 0 0 16px #2eff9b18, 0 0 16px #2eff9b1f;
  outline: none;
}

.player-modal__move-detail {
  display: none;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--green-line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 0%, #b43cff24, transparent 44%),
    linear-gradient(180deg, #07140f, #030a08);
  box-shadow: inset 0 0 16px #2eff9b10;
}

.player-modal__move-detail.is-open {
  display: block;
}

.player-modal__move-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  color: #9eb7aa;
}

.player-modal__move-token {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.player-modal__move-token > span:last-child {
  display: block;
  min-width: 0;
}

.player-modal__move-token strong,
.player-modal__move-token small {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-modal__move-token small {
  margin-top: 1px;
  color: #7f998d;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.player-modal__move-head strong {
  font-size: 0.78rem;
  white-space: nowrap;
}

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

.player-modal__move-grid > div {
  min-width: 0;
  padding: 7px;
  border: 1px solid #173d2d;
  border-radius: 9px;
  background: linear-gradient(180deg, #06120e, #030b08);
}

.player-modal__move-grid small,
.player-modal__move-grid strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-modal__move-grid small {
  color: #7f998d;
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-modal__move-grid strong {
  margin-top: 3px;
  color: #dff8ec;
  font-size: 0.68rem;
}

.player-modal__section {
  margin-top: 11px;
}

.player-modal__section h4 {
  margin: 0;
  color: #c9f9e2;
  font-size: 0.84rem;
}

.player-modal__section-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.player-modal__section-meta strong {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.player-modal__trade-row {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 7px;
  min-width: 0;
  padding: 8px;
  border: 1px solid transparent;
  border-bottom-color: #0f2b20;
  border-radius: 12px;
}

.player-modal__asset {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.player-modal__asset > span:last-child {
  min-width: 0;
}

.player-modal__asset strong,
.player-modal__asset small {
  display: block;
}

.player-modal__asset small {
  margin-top: 3px;
  color: #91a99d;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-modal__pnl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  text-align: left;
  font-weight: 800;
  white-space: nowrap;
}

.player-modal__pnl .open-position-move-badge {
  font-size: 0.6rem;
  padding: 2px 7px;
}

.player-modal__pnl small {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
}

.player-modal__load-more {
  min-height: 0;
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.player-modal__load-btn {
  min-height: 34px;
  padding: 7px 14px;
  border-color: #1d7f54;
  background: linear-gradient(180deg, #071b13, #030c08);
  color: #bcf7d8;
}

.player-modal__watchlist {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.player-modal__watch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #1f6a48;
  border-radius: 8px;
  padding: 4px 8px 4px 5px;
  color: #dcfff0;
  background: #05110d;
  font-size: 0.76rem;
  line-height: 1;
  min-width: 0;
}

.player-modal__watch-chip .token-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.duel__card[data-player-modal],
.leaderboard li[data-player-modal],
.rank-table tr[data-player-modal],
.rank-profile[data-player-modal] {
  cursor: pointer;
}

@media (max-width: 720px) {
  .player-modal {
    padding: 14px;
  }

  .player-modal__hero {
    grid-template-columns: 1fr;
  }

  .player-modal__kpis.kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .player-modal__hero strong {
    font-size: 1.22rem;
  }

  .player-modal__kpis.kpi-grid > div {
    padding: 7px 5px;
  }

  .player-modal__kpis.kpi-grid small {
    font-size: 0.52rem;
  }

  .player-modal__kpis.kpi-grid strong {
    font-size: 0.74rem;
  }

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

.btn--outline {
  width: 100%;
  border-color: #2d9e69;
}

.chip,
.profile-chip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: var(--gradient-panel);
  color: #9ad8b7;
  min-height: 40px;
  padding: 0 12px;
  font: inherit;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip:hover,
.profile-chip:hover {
  color: #eefff6;
  border-color: var(--border-glow);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.5), 0 0 20px var(--green-glow-soft), 0 0 14px rgba(180, 60, 255, 0.08);
  transform: translateY(-1px);
}

.ticker {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #9bb3a6;
  font-size: 0.84rem;
  background:
    linear-gradient(90deg, #020806, #07140f 42%, #020806),
    repeating-linear-gradient(90deg, #2eff9b10 0 1px, transparent 1px 52px);
}

.ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #2eff9b24, transparent);
  opacity: 0.35;
}

.ticker span {
  position: relative;
  z-index: 1;
}

.ticker span:nth-child(2) {
  color: var(--matrix-green);
  text-shadow: 0 0 12px #2eff9b66;
}

@media (max-width: 1380px) {
  .content-grid {
    grid-template-columns: 280px 1fr;
  }

  .column--right {
    grid-column: span 2;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
  }

  .corey-callout--gainer .corey-callout__bubble,
  .corey-terminal--gainer .corey-terminal__bubble {
    display: none;
  }

  .corey-callout--gainer .corey-callout__mascot,
  .corey-terminal--gainer .corey-terminal__mascot {
    width: 72px;
  }
}

@media (max-width: 980px) {
  .content-grid,
  .column--right,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    overflow-x: auto;
    white-space: nowrap;
  }

  .search {
    min-width: 180px;
  }

  .panel--hero {
    grid-template-columns: 1fr;
  }

  .dex-ladder__row {
    grid-template-columns: 38px minmax(0, 1fr) 74px;
  }

  .pump-gainer .dex-ladder__row {
    grid-template-columns: 38px minmax(0, 1fr) 74px;
  }

  .dex-ladder__price,
  .dex-ladder__row > small {
    display: none;
  }

  .corey-callout--gainer,
  .corey-terminal--gainer {
    display: none;
  }

  .gainer-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .gainer-head > .dex-ladder__tabs {
    grid-column: 2;
  }

  .corey-duel-hype {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .corey-duel-hype__mascot {
    width: 86px;
    margin: 0;
  }

  .corey-terminal--open {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .corey-terminal--open .dashboard-corey-empty__mascot {
    width: 116px;
    margin: -12px 0 -12px -28px;
  }

  .ticker {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* Trade Page */
.trade-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
}

.trade-main,
.trade-side {
  padding: 16px;
}

.trade-header,
.trade-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trade-filters {
  margin-bottom: 12px;
}

.watchlist-header .panel__title::after {
  content: none;
}

.watchlist-header .muted {
  white-space: nowrap;
}

.trade-tabs,
.trade-tools,
.timechips {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search--sm {
  min-width: 200px;
}

.chip--active {
  color: var(--green-ink);
  border-color: var(--green);
  background: var(--gradient-action);
}

.token-table-wrap {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gradient-panel);
  box-shadow: var(--shadow-inset);
}

.token-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.token-table th,
.token-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(15, 43, 32, 0.95);
}

.token-table tbody tr {
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.token-table tbody tr:hover {
  background: var(--gradient-row-hover);
  box-shadow: inset 3px 0 0 var(--green);
  transform: translateX(2px);
}

@keyframes watchlist-row-flash {
  0% {
    background: linear-gradient(90deg, #2eff9b24, #b43cff18);
    box-shadow: inset 0 0 0 1px #7dffbe44;
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

.token-table tbody tr.is-live-flash {
  animation: watchlist-row-flash 920ms ease-out;
}

.token-table th {
  color: #91a79a;
  font-size: 0.76rem;
  font-weight: 600;
}

.token-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  min-width: 0;
}

.dex-ladder__row .token-name {
  gap: 8px;
  overflow: hidden;
}

.dex-ladder__row .token-title-line {
  overflow: hidden;
}

.dex-ladder__row .token-social {
  width: 14px;
  height: 14px;
}

.dex-ladder__row .token-name .avatar,
.dex-ladder__row .token-name img {
  flex: 0 0 auto;
  transform: none;
}

.token-name > span:last-child {
  display: grid;
  min-width: 0;
}

.token-name strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-title-line {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.token-title-line strong {
  min-width: 0;
  flex: 0 1 auto;
}

.token-socials {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.token-social {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #2eff9b4a;
  border-radius: 999px;
  color: #bfffe0;
  background: #03100c;
  box-shadow: inset 0 0 8px #2eff9b12;
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  pointer-events: auto;
  cursor: pointer;
}

.token-social--x {
  border-color: #d875ff66;
  color: #f1c8ff;
}

.token-social--telegram {
  border-color: #38bdf866;
  color: #b9ebff;
}

.token-social--website {
  min-width: 28px;
  width: auto;
  border-radius: 999px;
  padding: 0 4px;
  font-size: 0.5rem;
  letter-spacing: 0.02em;
}

.token-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid;
}

.pill--high {
  color: var(--purple-soft);
  border-color: var(--purple-line);
  background: linear-gradient(180deg, #171024, #100a17);
  box-shadow: inset 0 0 12px var(--purple-glow);
}

.pill--med {
  color: #f5c84b;
  border-color: #79611d;
}

.pill--low {
  color: #56ff9f;
  border-color: #2b8f57;
}

.btn--trade {
  min-height: 36px;
  padding: 0 16px;
  color: var(--accent);
  border-color: #23995f;
}

.btn--icon {
  width: 36px;
  min-height: 36px;
  padding: 0;
  color: #bdf4d6;
  border-color: #1f5a3e;
}

.watchlist-actions {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}

.token-table tbody tr:hover .pill--high {
  border-color: #c45bff;
  color: #f0c9ff;
}

.sentiment-followers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sentiment-faces {
  display: inline-flex;
  align-items: center;
}

.sentiment-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #2aff98;
  background: linear-gradient(180deg, #0d2118, #08130f);
  color: #c9f6df;
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-left: -5px;
  box-shadow: 0 0 10px #1cff8b3a;
}

.sentiment-user-avatar.has-photo {
  background-image: var(--avatar-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
}

.sentiment-user-avatar:first-child {
  margin-left: 0;
}

.column--left .panel .dashboard-identity-inline-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
  margin-bottom: 8px;
}

.column--left .panel .dashboard-identity-inline-row > span {
  font-size: 0.78rem;
  color: #c2d7cc;
  letter-spacing: 0.04em;
}

.column--left .panel .dashboard-identity-inline-row .dashboard-identity-level {
  font-size: 1.02rem;
  line-height: 1;
}

.column--left .panel .dashboard-identity-inline-row .dashboard-identity-xp {
  font-size: 1.02rem;
  line-height: 1;
}

.column--left .panel .dashboard-identity-inline-row .dashboard-identity-hp {
  font-size: 1.02rem;
  line-height: 1;
}

.column--left .panel .progress-group {
  margin-top: 16px;
}

.column--left .panel .progress-group + .stats-2col {
  margin-top: 16px;
}

.column--left .panel .stats-2col + .progress-group {
  margin-top: 16px;
}

/* Reuse former mission accent as XP bar signature */
.dashboard-identity-xp-bar-fill {
  background: linear-gradient(90deg, #2dff88 0%, #63ffb6 56%, var(--purple-soft) 100%);
  box-shadow: 0 0 14px #2eff9b42, 0 0 14px var(--purple-glow);
}

.column--left .panel .identity > .avatar {
  overflow: hidden;
}

.dashboard-identity-stats-head {
  margin-top: 16px;
  margin-bottom: 10px;
}

.dashboard-identity-stats-head small {
  color: var(--muted);
}

.column--left .panel.is-stats-collapsed .dashboard-identity-stats-body {
  display: none;
}

.dashboard-identity-toggle {
  min-width: 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 1rem;
}

/* Dashboard identity premium pass */
.dashboard-identity-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dashboard-identity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 22%, rgba(46, 255, 155, 0.14), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(180, 60, 255, 0.18), transparent 35%),
    linear-gradient(160deg, rgba(5, 27, 17, 0.42), rgba(3, 6, 11, 0.52));
}

.dashboard-identity-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 0 40%, rgba(46, 255, 155, 0.055) 48%, rgba(180, 60, 255, 0.075) 56%, transparent 68%),
    radial-gradient(circle at 50% 38%, rgba(46, 255, 155, 0.08), transparent 46%);
  opacity: 0.82;
}

.column--left .panel .identity {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 15px;
  padding: 12px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-areas: "avatar loadout";
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(46, 255, 155, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 19% 45%, rgba(46, 255, 155, 0.16), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(180, 60, 255, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(4, 20, 14, 0.82), rgba(4, 8, 16, 0.72));
  box-shadow:
    inset 0 0 26px rgba(46, 255, 155, 0.045),
    inset 0 0 28px rgba(180, 60, 255, 0.035),
    0 0 24px rgba(0, 0, 0, 0.24);
}

.column--left .panel .identity::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(46, 255, 155, 0.06) 48%, rgba(180, 60, 255, 0.07) 57%, transparent 70%),
    radial-gradient(ellipse at 48% 100%, rgba(46, 255, 155, 0.08), transparent 52%);
  opacity: 0.8;
}

.column--left .panel .identity > .rank-badge {
  grid-area: avatar;
  width: 86px;
  height: 103px;
  flex-basis: 86px;
  justify-self: center;
  align-self: center;
  filter:
    drop-shadow(0 0 16px rgba(46, 255, 155, 0.2))
    drop-shadow(0 0 13px rgba(180, 60, 255, 0.13));
  transition: transform 180ms ease, filter 180ms ease;
}

.dashboard-identity-card .identity > .rank-badge:hover,
.dashboard-identity-card .identity > .rank-badge:focus-visible {
  transform: translateY(-2px) scale(1.035);
  filter:
    drop-shadow(0 0 22px rgba(46, 255, 155, 0.32))
    drop-shadow(0 0 18px rgba(180, 60, 255, 0.24));
}

.dashboard-identity-copy {
  grid-area: loadout;
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  gap: 4px;
  align-items: start;
  min-width: 0;
}

.dashboard-name-row {
  width: 100%;
  padding-bottom: 7px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(46, 255, 155, 0.52), rgba(180, 60, 255, 0.42), transparent) 1;
}

.column--left .panel .identity h3 {
  width: 100%;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.34rem, 3.6vw, 1.78rem);
  line-height: 0.95;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 16px rgba(46, 255, 155, 0.12);
}

.dashboard-badge-label {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-shadow: 0 0 10px rgba(46, 255, 155, 0.2);
}

.dashboard-badge-shelf {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 58px;
  margin-top: 0;
  padding: 0 4px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 84%, rgba(46, 255, 155, 0.11), transparent 56%),
    linear-gradient(90deg, rgba(46, 255, 155, 0.025), rgba(180, 60, 255, 0.05), rgba(46, 255, 155, 0.018));
}

.dashboard-badge-shelf::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 255, 155, 0.34), rgba(180, 60, 255, 0.26), transparent);
  opacity: 0.55;
}

.dashboard-badge-img {
  position: relative;
  z-index: 1;
  width: 47px;
  height: 54px;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 9px rgba(46, 255, 155, 0.2))
    drop-shadow(0 0 8px rgba(180, 60, 255, 0.14));
  transition: transform 160ms ease, filter 160ms ease;
}

.dashboard-badge-img:hover {
  transform: translateY(-2px) scale(1.04);
  filter:
    drop-shadow(0 0 12px rgba(46, 255, 155, 0.3))
    drop-shadow(0 0 10px rgba(180, 60, 255, 0.22));
}

@keyframes title-glow-sweep {
  0%,
  42% {
    transform: translateX(-125%) skewX(-18deg);
    opacity: 0;
  }

  52% {
    opacity: 1;
  }

  70%,
  100% {
    transform: translateX(125%) skewX(-18deg);
    opacity: 0;
  }
}

.column--left .panel .stats-2col {
  margin-top: 7px;
  padding: 13px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: 18px;
}

.dashboard-core-stats {
  position: relative;
  overflow: hidden;
  border-color: rgba(46, 255, 155, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 25% 0%, rgba(46, 255, 155, 0.12), transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(180, 60, 255, 0.1), transparent 44%),
    rgba(5, 17, 13, 0.82);
  box-shadow:
    inset 0 0 22px rgba(46, 255, 155, 0.045),
    0 0 18px rgba(46, 255, 155, 0.06),
    0 0 20px rgba(180, 60, 255, 0.045);
}

.dashboard-core-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.045) 50%, transparent 62%);
  opacity: 0.75;
}

.dashboard-core-stat {
  position: relative;
  min-width: 0;
}

.dashboard-core-stat small,
.dashboard-performance-grid small {
  color: rgba(194, 215, 204, 0.76);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-core-stat strong {
  text-shadow: 0 0 14px rgba(46, 255, 155, 0.1);
}

.column--left .panel .dashboard-identity-stats-body .kpi-grid {
  margin-top: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
  border: 1px solid rgba(46, 255, 155, 0.18);
  border-radius: 10px;
  padding: 12px 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 255, 155, 0.08), transparent 42%),
    radial-gradient(circle at 94% 8%, rgba(180, 60, 255, 0.09), transparent 42%),
    rgba(4, 15, 12, 0.78);
  box-shadow:
    inset 0 0 18px rgba(46, 255, 155, 0.035),
    0 0 18px rgba(0, 0, 0, 0.14);
}

.dashboard-performance-grid > div {
  min-width: 0;
}

.dashboard-performance-grid strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(0.98rem, 2.1vw, 1.12rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.dashboard-performance-grid .dashboard-balance-value {
  font-size: clamp(0.82rem, 1.7vw, 0.96rem);
}

.dashboard-identity-card .progress {
  position: relative;
  height: 8px;
  border-color: rgba(46, 255, 155, 0.2);
  background:
    linear-gradient(90deg, rgba(46, 255, 155, 0.04), rgba(180, 60, 255, 0.055)),
    #07110f;
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.68),
    0 0 14px rgba(46, 255, 155, 0.05);
}

.dashboard-identity-card .progress > span {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, #24ff88 0%, #6affb9 62%, var(--purple-soft) 100%);
  box-shadow:
    0 0 14px rgba(46, 255, 155, 0.38),
    0 0 12px rgba(180, 60, 255, 0.15);
}

.dashboard-identity-card .progress > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 35%, rgba(255, 255, 255, 0.42) 50%, transparent 68%);
  transform: translateX(-120%);
  animation: identity-progress-sheen 7.5s ease-in-out infinite;
  opacity: 0.55;
}

@keyframes identity-progress-sheen {
  0%,
  48% {
    transform: translateX(-120%);
  }

  68%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 760px) {
  .column--left .panel .identity {
    margin-bottom: 12px;
  }

  .column--left .panel .dashboard-identity-inline-row {
    gap: 10px;
    margin-bottom: 9px;
  }

  .column--left .panel .progress-group {
    margin-top: 18px;
  }

  .column--left .panel .stats-2col {
    margin-top: 6px;
    padding: 16px 12px;
  }

  .dashboard-identity-stats-head {
    margin-top: 20px;
    margin-bottom: 14px;
  }

  .column--left .panel .dashboard-identity-stats-body .kpi-grid {
    row-gap: 20px;
  }
}

.token-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #bfffe0;
  font-size: 0.82rem;
  overflow: hidden;
}

.token-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #2aff98;
  background: radial-gradient(circle at 30% 25%, #2eff9b24, transparent 58%);
  box-shadow: 0 0 16px #14ff7a66;
  pointer-events: none;
}

.token-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 50%;
}

.token-logo--sm {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.token-logo--xs {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  font-size: 0.68rem;
}

.token-logo--lg {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
}

.token-logo-host {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.token-logo-host .token-logo {
  border: 0;
}

.token-table__empty {
  text-align: center;
  color: #8ca89a;
  padding: 24px 12px;
  text-transform: none;
}

.trade-load {
  margin-top: 10px;
  width: 100%;
}

.side-token,
.insights {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background:
    radial-gradient(circle at 100% 0%, #2eff9b10, transparent 34%),
    #06100de6;
  margin-bottom: 12px;
  box-shadow: inset 0 0 18px #2eff9b0b;
}

.price {
  font-size: 2rem;
}

.kpi-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.side-cta {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 1200px) {
  .trade-layout {
    grid-template-columns: 1fr;
  }

  .trade-header,
  .trade-filters {
    flex-wrap: wrap;
  }

  .token-table-wrap {
    overflow-x: auto;
  }

  .token-table {
    min-width: 900px;
  }
}

@media (max-width: 980px) {
  .trade-tabs,
  .trade-tools,
  .timechips {
    flex-wrap: wrap;
  }
}

/* Rankings Page */
.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 14px;
}

.ranking-main {
  padding: 16px;
  background:
    radial-gradient(circle at 96% 0%, #b43cff18, transparent 42%),
    radial-gradient(circle at 0% 0%, #2eff9b10, transparent 36%),
    linear-gradient(180deg, #07140fee, #040d0ad9);
}

.ranking-main::after {
  opacity: 0.06;
}

.ranking-main::before {
  opacity: 0.08;
}

.ranking-top,
.ranking-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.season-box {
  padding: 12px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background:
    radial-gradient(circle at 96% 0%, #b43cff18, transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow: inset 0 0 18px #1eff8c12;
}

.ranking-stats {
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.rank-stat {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  min-height: 104px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 96% 0%, #b43cff18, transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow: inset 0 0 18px #1eff8c12;
}

.rank-stat::after {
  content: none;
}

.rank-stat small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.rank-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 1.22rem;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.rank-stat strong.pos,
.rank-stat strong.neg {
  margin-top: 8px;
  font-size: 1.05rem;
}

.rank-stat__tier-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 12px 6px;
  border: 1px solid rgba(255, 218, 65, 0.7);
  border-radius: 9px;
  color: #ffe35d;
  background:
    linear-gradient(180deg, rgba(255, 227, 93, 0.19), rgba(89, 68, 2, 0.66)),
    rgba(17, 14, 4, 0.82);
  box-shadow:
    inset 0 0 14px rgba(255, 218, 65, 0.18),
    0 0 16px rgba(255, 218, 65, 0.14),
    0 0 18px rgba(180, 60, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rank-stat--score {
  padding-right: 64px;
}

.rank-stat__wins {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rank-stat--highlight {
  padding-right: 92px;
  border-color: #2eff9b66;
  background:
    radial-gradient(circle at 78% 42%, #b43cff18, transparent 30%),
    radial-gradient(circle at 78% 42%, #2eff9b18, transparent 48%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow:
    inset 0 0 20px #1eff8c18,
    0 0 16px #2eff9b18;
}

.rank-stat--best {
  padding-right: 100px;
}

.rank-stat__avatar,
.rank-stat__token {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 45%, #2eff9b35, transparent 62%),
    radial-gradient(circle at 76% 14%, #b43cff18, transparent 54%);
  filter:
    drop-shadow(0 0 16px #2eff9b24)
    drop-shadow(0 0 12px #b43cff18);
}

.rank-stat__avatar {
  top: 50%;
  right: 12px;
  width: 86px;
  height: 96px;
  transform: translateY(-50%);
  border-radius: 20px;
  background: transparent;
}

.rank-badge--stat-photo {
  width: 76px;
  height: 92px;
  flex-basis: 76px;
  filter:
    drop-shadow(0 0 16px #2eff9b28)
    drop-shadow(0 0 12px #b43cff18);
}

.rank-badge--stat-photo .rank-badge__avatar .avatar {
  width: 100%;
  height: 100%;
}

.rank-stat__token {
  right: 14px;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translateY(-50%);
  border-radius: 22px;
}

.rank-stat__token .token-logo {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  box-shadow:
    0 0 16px #2eff9b22,
    0 0 12px #b43cff18;
}

.rank-table tbody tr.is-gold {
  background: linear-gradient(90deg, rgba(46, 255, 155, 0.1), rgba(180, 60, 255, 0.035) 48%, transparent);
  box-shadow: inset 3px 0 0 var(--green);
}

.rank-table tbody tr {
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.rank-table tbody tr:hover {
  background: var(--gradient-row-hover);
  box-shadow: inset 3px 0 0 var(--green);
  transform: translateX(2px);
}

.ranking-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.rank-profile,
.perf-panel {
  padding: 16px;
}

.rank-profile {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 0%, #b43cff18, transparent 42%),
    radial-gradient(circle at 4% 0%, #2eff9b10, transparent 34%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow:
    var(--shadow),
    inset 0 0 18px #1eff8c12;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rank-profile::after {
  content: "";
  position: absolute;
  inset: auto 18px 12px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-glow), var(--purple-glow), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.rank-profile--clickable {
  cursor: pointer;
}

.rank-profile--clickable:hover,
.rank-profile--clickable:focus-visible {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  outline: none;
}

.rank-profile--clickable:hover::after,
.rank-profile--clickable:focus-visible::after {
  opacity: 1;
}

.rank-profile .panel__title {
  margin-bottom: 12px;
}

.rank-profile .identity {
  min-height: 112px;
  align-items: center;
}

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

.rank-profile .identity strong {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.rank-profile .identity small {
  margin-left: 6px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.rank-profile > .row.between {
  margin: 12px 0 14px;
  align-items: flex-end;
}

.rank-profile > .row.between .price {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 0.9;
  text-shadow: 0 0 22px var(--green-glow-soft);
}

.rank-profile .kpi-grid {
  margin-bottom: 10px;
}

.rank-profile__label {
  color: var(--matrix-green);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rank-profile__hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.rank-profile__open-target {
  position: relative;
  margin-inline: -6px;
  padding: 6px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rank-profile__open-target::after {
  content: "↗";
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  color: var(--matrix-green);
  background: var(--gradient-control);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.rank-profile__open-target:hover,
.rank-profile__open-target:focus-visible,
.rank-profile:focus-visible .rank-profile__open-target {
  background: rgba(46, 255, 155, 0.045);
  box-shadow: var(--shadow-inset);
  transform: translateY(-1px);
  outline: none;
}

.rank-profile__open-target:hover::after,
.rank-profile__open-target:focus-visible::after,
.rank-profile:focus-visible .rank-profile__open-target::after {
  opacity: 1;
  transform: translate(0, 0);
  box-shadow: 0 0 18px var(--green-glow-soft);
}

.rank-profile__hero > .avatar,
.rank-profile__hero > .rank-badge {
  justify-self: center;
}

.rank-badge--spotlight {
  width: 112px;
  height: 136px;
  flex-basis: 112px;
  filter: drop-shadow(0 0 18px var(--green-glow)) drop-shadow(0 0 18px var(--purple-glow));
}

.rank-profile__identity {
  min-width: 0;
}

.rank-profile__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rank-profile__name-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.rank-profile__tier {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 218, 65, 0.58);
  border-radius: 7px;
  color: #ffe15b;
  background: linear-gradient(180deg, rgba(255, 224, 76, 0.2), rgba(93, 72, 0, 0.72));
  box-shadow: inset 0 0 12px rgba(255, 218, 65, 0.24);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rank-profile__identity > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.rank-profile__score {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rank-profile__score strong {
  color: var(--text);
  font-size: 2.85rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 22px var(--green-glow-soft);
}

.rank-profile__score span {
  color: var(--matrix-green);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.rank-profile__stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rank-profile__stats > div {
  position: relative;
  min-height: 88px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 13px 8px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  background:
    radial-gradient(circle at 96% 0%, #b43cff12, transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 16px #1eff8c10,
    0 10px 24px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.rank-profile__stats > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.48;
}

.rank-profile__stats > div::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 117, 255, 0.13), transparent);
  opacity: 0.5;
}

.rank-profile__stat--gain {
  border-color: var(--border-glow);
  background:
    radial-gradient(circle at 96% 0%, #b43cff16, transparent 42%),
    radial-gradient(circle at 10% 0%, #2eff9b14, transparent 38%),
    linear-gradient(180deg, #07140f, #040d0a);
}

.rank-profile__stat--risk {
  border-color: rgba(255, 77, 93, 0.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 77, 93, 0.12), transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
}

.rank-profile__stat--risk::before {
  background: linear-gradient(90deg, transparent, var(--danger), transparent);
}

.rank-profile__stat--streak {
  border-color: rgba(255, 215, 106, 0.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 215, 106, 0.12), transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
}

.rank-profile__stat--streak::before {
  background: linear-gradient(90deg, transparent, var(--insider-gold), transparent);
}

.rank-profile__stats small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rank-profile__stats strong {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.rank-profile__stats span {
  color: var(--muted);
  font-size: 0.7rem;
}

.rank-profile__hint {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.rank-profile__hint strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  color: var(--matrix-green);
  background: var(--gradient-control);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rank-profile--clickable:hover .rank-profile__hint strong,
.rank-profile--clickable:focus-visible .rank-profile__hint strong {
  transform: translate(2px, -2px);
  box-shadow: 0 0 18px var(--green-glow-soft), 0 0 14px var(--purple-glow);
}

.chart-fake {
  margin-top: 8px;
  min-height: 220px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background:
    var(--gradient-panel),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(46, 255, 155, 0.035) 58px 59px),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(46, 255, 155, 0.035) 40px 41px);
  position: relative;
  overflow: hidden;
}

.chart-fake::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 58%, var(--green-glow-soft) 70%, transparent 78%),
    var(--overlay-scanline);
}

.leaderboard-story {
  background:
    radial-gradient(circle at 96% 0%, #b43cff18, transparent 42%),
    radial-gradient(circle at 4% 0%, #2eff9b10, transparent 34%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow:
    var(--shadow),
    inset 0 0 18px #1eff8c12;
}

.leaderboard-story__hero {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 96% 0%, #b43cff14, transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow: inset 0 0 16px #1eff8c10;
}

.leaderboard-story__hero small,
.leaderboard-story__grid small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.leaderboard-story__hero strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.02;
}

.leaderboard-story__hero span {
  display: block;
  margin-top: 8px;
}

.leaderboard-story__grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.leaderboard-story__grid > div {
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 96% 0%, #b43cff12, transparent 42%),
    linear-gradient(180deg, #07140f, #040d0a);
  box-shadow: inset 0 0 16px #1eff8c10;
}

.leaderboard-story__grid strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 1.12rem;
}

.leaderboard-story__grid span {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.25;
}

.leaderboard-story__footer {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.strat {
  display: grid;
  grid-template-columns: 120px 1fr 44px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

@media (max-width: 1380px) {
  .ranking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .ranking-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ranking-top,
  .ranking-filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .ranking-stats {
    grid-template-columns: 1fr;
  }

  .leaderboard-story__grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-story__footer {
    flex-direction: column;
  }
}

/* Pulse Page */
.pulse-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 360px;
  gap: 14px;
}

.pulse-left,
.pulse-right {
  display: grid;
  gap: 14px;
  align-content: start;
}

.pulse-card {
  padding: 14px;
}

.pulse-main {
  padding: 14px;
}

.pulse-tabs {
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.composer {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background:
    radial-gradient(circle at 12% 0%, #2eff9b16, transparent 34%),
    #060f0d;
  box-shadow: inset 0 0 22px #2eff9b0c;
}

.composer input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-transform: none;
}

.post {
  margin-top: 10px;
  padding: 12px;
  position: relative;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.post:hover {
  border-color: #2eff9b55;
  background: linear-gradient(90deg, #2eff9b10, transparent);
  box-shadow: inset 2px 0 0 var(--green);
  transform: translateX(2px);
}

@keyframes pulse-post-flash {
  0% {
    border-color: #7dffbe;
    box-shadow: 0 0 0 1px #7dffbe44, 0 0 20px #2eff9b4d, inset 0 0 18px #2eff9b1e;
    filter: brightness(1.05);
  }
  100% {
    border-color: var(--line-soft);
    box-shadow: none;
    filter: brightness(1);
  }
}

.post.is-live-flash {
  animation: pulse-post-flash 920ms ease-out;
}

.post p {
  margin: 8px 0;
  text-transform: none;
}

.post-trade {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 9px 10px;
  background: #0a1912;
}

.post-meta {
  margin-top: 8px;
  gap: 18px;
}

.post-auto-label {
  border: 1px solid #9343c7;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  color: #e8c3ff;
  background: #260b36;
  box-shadow: inset 0 0 10px #b43cff35;
}

.post-reply-preview {
  margin-top: 8px;
  padding: 6px 8px;
  border: 1px solid #23543d;
  border-radius: 8px;
  background: linear-gradient(90deg, #10261b, #121322);
  font-size: 0.82rem;
  text-transform: none;
}

.pulse-action-btn {
  border: 1px solid #1f4f38;
  background: #091712;
  color: var(--text);
  border-radius: 999px;
  padding: 3px 9px;
  min-height: 28px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
}

.pulse-action-btn:hover {
  border-color: #2eff9b66;
}

.pulse-action-btn.is-active {
  border-color: #a24be5;
  color: #f3d8ff;
  box-shadow: inset 0 0 10px #a24be544;
}

.pulse-reply-composer {
  margin-top: 10px;
  border: 1px solid #2a5f46;
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(120deg, #0e2218 0%, #121322 55%, #1d1430 100%);
  box-shadow: inset 0 0 18px #2eff9b1a, inset 0 0 22px #b43cff1c;
}

.pulse-reply-composer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pulse-reply-composer textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid #335c4b;
  border-radius: 10px;
  background: #091712;
  color: var(--text);
  padding: 9px 10px;
  font: inherit;
  text-transform: none;
  outline: 0;
}

.pulse-reply-composer textarea:focus {
  border-color: #2eff9b88;
  box-shadow: 0 0 0 2px #2eff9b22, inset 0 0 14px #2eff9b1e;
}

.pulse-reply-composer__actions {
  margin-top: 8px;
  gap: 8px;
}

.pulse-thread {
  margin-top: 10px;
  border-left: 2px solid #2a5f46;
  padding-left: 10px;
  display: grid;
  gap: 8px;
}

.pulse-thread__item {
  border: 1px solid #234b39;
  border-radius: 10px;
  padding: 8px 10px;
  background: linear-gradient(90deg, #0c1b15 0%, #101828 100%);
}

.pulse-thread__head {
  margin-bottom: 4px;
}

.pulse-thread__item p {
  margin: 0;
  font-size: 0.9rem;
  text-transform: none;
}

.pulse-list li {
  grid-template-columns: 1fr auto;
}

.post-score-badge {
  border: 1px solid #2b6c4a;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  color: #abf5cb;
  background: #08130f;
}

.post.is-hot .post-score-badge {
  border-color: #2d9f67;
  color: #dfffea;
  box-shadow: inset 0 0 12px #2eff9b25;
}

.post.is-risk .post-score-badge {
  border-color: var(--purple-line);
  color: var(--purple-soft);
  box-shadow: inset 0 0 12px var(--purple-glow);
}

.mention-item {
  align-items: start !important;
}

.mention-item__meta {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.mention-reply-btn {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.68rem;
}

.trending-topic-item {
  align-items: center !important;
}

.trending-topic-item__right {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.pulse-sparkline {
  width: 88px;
  height: 24px;
}

.pulse-sparkline polyline {
  fill: none;
  stroke: #7efcc0;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 3px #2eff9b4a);
}

@media (max-width: 1250px) {
  .pulse-layout {
    grid-template-columns: 280px 1fr;
  }

  .pulse-right {
    grid-column: span 2;
    grid-template-columns: repeat(3, 1fr);
  }

  .run-mission__meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .pulse-layout,
  .pulse-right {
    grid-template-columns: 1fr;
  }

  .pulse-left {
    grid-template-columns: 1fr;
  }
}

/* Trade (Execution) Page */
.tradepro-layout {
  display: grid;
  grid-template-columns: 320px 1fr 420px;
  gap: 14px;
}

.tradepro-left,
.tradepro-main,
.tradepro-right {
  padding: 14px;
}

.tradepro-right {
  display: grid;
  gap: 14px;
  align-content: start;
}

.token-focus {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.tradepro-main > .trade-header {
  display: none;
}

.chart-panel {
  margin-top: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background:
    radial-gradient(circle at 68% 12%, #2eff9b16, transparent 34%),
    linear-gradient(180deg, #06110f, #020806);
  box-shadow: inset 0 0 34px #2eff9b0c;
}

.dex-chart-head {
  gap: 12px;
  margin-bottom: 10px;
}

.dex-chart-frame-wrap {
  margin-top: 10px;
  min-height: 340px;
  border: 1px solid #123324;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, #19ff8d20, transparent 34%),
    linear-gradient(180deg, #06120f, #020807);
  box-shadow: inset 0 0 28px #2eff9b12, 0 0 28px #00000080;
}

.dex-chart-frame {
  width: 100%;
  height: 430px;
  border: 0;
  display: block;
  background: #020807;
}

.dex-chart-empty {
  min-height: 340px;
  border: 1px solid #123324;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background:
    radial-gradient(circle at center, #20ff6b16, transparent 40%),
    #06120f;
}

.meme-price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.meme-price sup {
  font-size: 0.55em;
  line-height: 0;
  margin: 0 1px;
  color: var(--green);
  vertical-align: super;
}

.position--empty {
  min-height: 74px;
  place-items: center;
}

.simtrade {
  margin-top: 12px;
  padding: 8px;
  background:
    radial-gradient(circle at 8% 0%, #ffd76a14, transparent 28%),
    linear-gradient(180deg, #07140f, #040b09);
}

.simtrade-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.simtrade-grid.is-trade-mode {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: stretch;
}

.simtrade-grid.is-settings-mode {
  grid-template-columns: 1fr;
}

.simtrade-grid.is-trade-mode .simtrade-amount-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.95fr);
  gap: 8px 12px;
  align-items: center;
  min-height: 0;
}

.simtrade-grid.is-trade-mode .simtrade-amount-panel > h3 {
  grid-column: 1;
  margin: 0;
}

.simtrade-grid.is-trade-mode .simtrade-amount-panel .trade-tools {
  grid-column: 1;
  gap: 6px;
}

.sim-amount-custom {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 4px;
  justify-items: stretch;
  align-self: center;
}

.sim-amount-custom span {
  font-size: 0.68rem;
  color: var(--muted);
}

.sim-amount-input {
  width: 100%;
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: #081410;
  color: var(--text);
  padding: 0 9px;
  font-size: 0.86rem;
  font: inherit;
}

.simtrade-grid.is-trade-mode .simtrade-amount-panel .price {
  grid-column: 1;
  justify-self: start;
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 2.5rem);
  line-height: 1;
}

.simtrade-grid.is-trade-mode .simtrade-amount-panel .row.between,
.simtrade-grid.is-trade-mode .simtrade-amount-panel .sim-exposure-range,
.simtrade-grid.is-trade-mode .simtrade-amount-panel .progress {
  grid-column: 1 / -1;
}

.simtrade-grid.is-trade-mode .simtrade-preview-panel {
  margin-top: 0;
  align-self: stretch;
}

.sim-exposure-range {
  width: 100%;
  margin-top: 2px;
  accent-color: var(--green);
}

.simtrade-settings-panel {
  grid-column: 1 / -1;
}

.sim-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}

.sim-settings-grid label {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 6px;
  background: linear-gradient(180deg, #0a1712, #07100d);
  font-size: 0.8rem;
}

.sim-rule-card.is-disabled {
  opacity: 0.58;
}

.sim-rule-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.sim-rule-toggle {
  width: 28px;
  height: 15px;
  margin: 0;
  appearance: none;
  border: 1px solid #9b313b;
  border-radius: 999px;
  background: #421015;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 0 8px #ff4d5f24;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sim-rule-toggle::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 2px;
  left: 3px;
  border-radius: 50%;
  background: #ffd9de;
  transition: transform 160ms ease, background 160ms ease;
}

.sim-rule-toggle:checked {
  border-color: #35ff9f;
  background: #0f4b2f;
  box-shadow: inset 0 0 8px #35ff9f30;
}

.sim-rule-toggle:checked::after {
  transform: translateX(12px);
  background: #eafff3;
}

.sim-rule-card.is-disabled input[type="number"] {
  color: #789184;
  border-color: #1a382a;
}

.sim-settings-grid input {
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid #1f5a3e;
  background: #05100c;
  color: var(--text);
  padding: 0 8px;
  font-size: 0.84rem;
  font: inherit;
}

.sim-settings-grid input.sim-rule-toggle {
  width: 30px;
  min-width: 30px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  border-radius: 999px;
  justify-self: end;
  flex: 0 0 auto;
}

.sim-settings-grid input.sim-rule-toggle::after {
  width: 10px;
  height: 10px;
  top: 2px;
  left: 3px;
}

.sim-settings-grid input.sim-rule-toggle:checked::after {
  transform: translateX(13px);
}

.sim-settings-summary li {
  grid-template-columns: 1fr auto;
  padding: 6px 0;
  font-size: 0.82rem;
}

.simtrade .trade-header {
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.simtrade .trade-tabs,
.simtrade .trade-mode-tabs {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
}

.simtrade .trade-mode-tabs .chip[data-trade-mode="ranked"].chip--active {
  border-color: rgba(255, 214, 88, 0.78);
  color: #ffe86f;
  box-shadow: 0 0 18px rgba(255, 214, 88, 0.18);
}

.simtrade .trade-header .muted {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
}

.simtrade .trade-tabs .chip,
.simtrade .trade-mode-tabs .chip,
.simtrade .trade-tools .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.simtrade .trade-tabs .chip {
  min-width: 116px;
}

.simtrade .trade-mode-tabs .chip {
  min-width: 82px;
}

.simtrade .insights {
  padding: 8px;
  margin-bottom: 0;
  border-radius: 10px;
}

.simtrade .simtrade-preview-panel .feed li {
  padding: 6px 0;
  font-size: 0.82rem;
}

.simtrade .simtrade-preview-panel .feed {
  margin-top: 2px;
}

.simtrade h3 {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.simtrade .row.between span,
.simtrade .row.between small {
  font-size: 0.8rem;
}

.trade-reason-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 9px;
  border: 1px solid;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.trade-reason-badge.is-pos {
  color: #72ffb6;
  border-color: #2d9f67;
  background: #0f1e17;
  box-shadow: inset 0 0 10px #2eff9b2c;
}

.trade-reason-badge.is-neg {
  color: #ff6a79;
  border-color: #8f2d38;
  background: #1d1013;
  box-shadow: inset 0 0 10px #ff3d5a26;
}

.trade-reason-badge.is-manual {
  color: #9eb6aa;
  border-color: #2b4a3a;
  background: #0f1714;
}

.recent-trade-row {
  cursor: pointer;
}

.recent-trade-row:hover {
  background: linear-gradient(90deg, #0b1913, #0b1018);
}

.trade-detail-modal {
  width: min(520px, calc(100vw - 22px));
  margin: 8vh auto;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: var(--gradient-modal);
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 34px var(--green-glow-soft), inset 0 0 28px rgba(46, 255, 155, 0.07);
  padding: 16px;
  position: relative;
}

.trade-detail-modal__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trade-detail-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trade-detail-modal__eyebrow > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
}

.trade-detail-modal__eyebrow strong {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trade-detail-modal__eyebrow small {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8fb8a6;
}

.trade-detail-modal__close {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid #2a7e57;
  background: linear-gradient(180deg, #07140f, #030a08);
  color: #d8f7e7;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  position: relative;
  z-index: 3;
}

.trade-detail-modal__body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trade-detail-modal__symbol {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.trade-detail-modal__meta {
  color: #9eb7aa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.trade-detail-modal__kpis {
  margin-top: 4px;
}

.trade-share-modal {
  width: min(560px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 40px));
  margin: 2vh auto;
  overflow: auto;
  padding: 8px;
}

.trade-share-modal .trade-detail-modal__topbar {
  margin-bottom: 2px;
}

.trade-share-card {
  margin-top: 6px;
  padding: clamp(12px, 1.7vw, 16px);
  border: 1px solid rgba(47, 255, 151, 0.48);
  border-radius: 18px;
  background:
    radial-gradient(circle at 5% 0%, rgba(47, 255, 151, 0.18), transparent 24%),
    radial-gradient(circle at 88% 6%, rgba(180, 60, 255, 0.24), transparent 34%),
    radial-gradient(circle at 62% 64%, rgba(47, 255, 151, 0.09), transparent 38%),
    linear-gradient(145deg, rgba(3, 8, 12, 0.99), rgba(7, 7, 22, 0.99));
  box-shadow:
    inset 0 0 42px rgba(180, 60, 255, 0.09),
    0 0 34px rgba(47, 255, 151, 0.16),
    0 0 24px rgba(180, 60, 255, 0.15);
}

.trade-share-card__masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.trade-share-card__wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trade-share-card__wordmark span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--green), #73ff8c);
  color: #03150b;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(47, 255, 151, 0.42);
}

.trade-share-card__wordmark strong {
  color: #f0fff7;
  font-size: clamp(1rem, 2.4vw, 1.42rem);
  letter-spacing: 0.08em;
}

.trade-share-card__alpha {
  margin-left: 40px;
  color: var(--matrix-green);
  font-size: clamp(0.58rem, 1.15vw, 0.72rem);
  letter-spacing: 0.18em;
}

.trade-share-card__mode {
  display: grid;
  justify-items: end;
  gap: 0;
  color: rgba(232, 239, 235, 0.78);
  letter-spacing: 0.16em;
}

.trade-share-card__mode strong {
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.trade-share-card__mode .is-short {
  color: #ff5f75;
  border: 1px solid rgba(255, 77, 93, 0.62);
  box-shadow: inset 0 0 16px rgba(255, 77, 93, 0.12), 0 0 18px rgba(255, 77, 93, 0.14);
}

.trade-share-card__mode .is-long {
  color: #71ffb0;
  border: 1px solid rgba(47, 255, 151, 0.58);
  box-shadow: inset 0 0 16px rgba(47, 255, 151, 0.12), 0 0 18px rgba(47, 255, 151, 0.14);
}

.trade-share-card__asset {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.trade-share-card__token {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(47, 255, 151, 0.28), transparent 62%),
    linear-gradient(145deg, rgba(10, 26, 22, 0.96), rgba(9, 8, 22, 0.96));
  border: 2px solid rgba(47, 255, 151, 0.72);
  box-shadow: 0 0 32px rgba(47, 255, 151, 0.28), 0 0 20px rgba(180, 60, 255, 0.2);
}

.trade-share-card__token .token-logo {
  width: 42px;
  height: 42px;
}

.trade-share-card .trade-detail-modal__symbol {
  max-width: 390px;
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  line-height: 1;
  letter-spacing: 0.08em;
}

.trade-share-card .trade-detail-modal__meta {
  margin-top: 5px;
  font-size: clamp(0.58rem, 1.25vw, 0.72rem);
  letter-spacing: 0.14em;
}

.trade-share-card__result {
  margin: 8px auto 12px;
  text-align: center;
  border: 0;
  background: transparent;
}

.trade-share-card__result span {
  display: block;
  color: var(--matrix-green);
  font-size: clamp(0.58rem, 1.2vw, 0.72rem);
  letter-spacing: 0.3em;
  text-shadow: 0 0 16px rgba(47, 255, 151, 0.45);
}

.trade-share-card__result strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(2.4rem, 6.5vw, 3.85rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 0 18px currentColor, 0 0 36px currentColor;
}

.trade-share-card__result small {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  margin-top: 6px;
  font-size: clamp(0.76rem, 1.65vw, 1rem);
  color: #eafff3;
}

.trade-share-card__result em {
  font-style: normal;
  color: rgba(232, 239, 235, 0.76);
  font-size: 0.56em;
  letter-spacing: 0.22em;
}

.trade-share-card__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(2, 6, 12, 0.68);
  overflow: hidden;
}

.trade-share-card__stats > div {
  padding: 7px 8px;
  min-height: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trade-share-card__stats > div:last-child {
  border-right: 0;
}

.trade-share-card__stats small,
.trade-share-card__rank span {
  display: block;
  color: rgba(199, 219, 210, 0.72);
  font-size: 0.5rem;
  letter-spacing: 0.09em;
}

.trade-share-card__stats strong {
  display: block;
  margin-top: 5px;
  color: #f1fff7;
  font-size: clamp(0.64rem, 1.05vw, 0.78rem);
  line-height: 1.2;
}

.trade-share-card__footer {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr auto;
  gap: 10px;
  align-items: center;
}

.trade-share-card__rank {
  padding-left: 8px;
  border-left: 2px solid rgba(180, 60, 255, 0.5);
}

.trade-share-card__rank strong {
  display: block;
  margin: 4px 0 3px;
  color: var(--purple-soft);
  font-size: clamp(0.86rem, 1.8vw, 1.15rem);
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px var(--purple-glow);
}

.trade-share-card__rank small,
.trade-share-card__quote small {
  color: rgba(194, 181, 211, 0.72);
}

.trade-share-card__quote {
  color: #f1fff7;
  text-transform: none;
}

.trade-share-card__quote strong {
  display: block;
  font-size: clamp(0.78rem, 1.35vw, 0.95rem);
}

.trade-share-card__quote span {
  display: block;
  margin-top: 3px;
  color: var(--matrix-green);
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
}

.trade-share-card__quote small {
  display: block;
  margin-top: 5px;
  font-size: 0.58rem;
}

.trade-share-card__fc {
  width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--matrix-green);
  font-size: 1.18rem;
  font-weight: 900;
  border: 1px solid rgba(47, 255, 151, 0.52);
  box-shadow: inset 0 0 18px rgba(47, 255, 151, 0.1), 0 0 18px rgba(47, 255, 151, 0.16);
}

.trade-share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 8px;
  margin-top: 10px;
}

.trade-share-actions .btn,
.trade-share-actions .chip {
  width: 100%;
  min-height: 32px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
}

#recentTradeModal.is-loss .trade-share-card__result {
  color: var(--danger);
}

#recentTradeModal.is-loss .trade-share-card__result strong {
  text-shadow: 0 0 12px rgba(255, 77, 93, 0.62);
}

#recentTradeModal.is-win .trade-share-card__result {
  color: var(--matrix-green);
}

.ranked-rank-reveal-modal {
  z-index: 2650;
}

.auth-modal.ranked-rank-reveal-modal.is-open {
  display: grid !important;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: 24px;
  min-height: 100dvh;
}

.ranked-rank-reveal-modal__backdrop {
  background:
    radial-gradient(circle at 50% 48%, rgba(47, 255, 151, 0.13), transparent 34%),
    rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(7px);
}

.ranked-rank-reveal-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 420px);
  margin: 0 auto;
  display: grid;
  gap: 14px;
  justify-items: center;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.9, 0.22, 1.12);
}

.ranked-rank-reveal-modal.is-revealed .ranked-rank-reveal-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ranked-rank-reveal-modal__eyebrow {
  padding: 7px 12px;
  border: 1px solid rgba(47, 255, 151, 0.34);
  border-radius: 999px;
  color: var(--matrix-green);
  background: rgba(4, 16, 11, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(47, 255, 151, 0.13);
}

.ranked-rank-reveal-card.ranking-player-card {
  width: min(100%, 380px);
  justify-self: center;
  border-color: rgba(47, 255, 151, 0.46);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52), 0 0 44px rgba(47, 255, 151, 0.16);
}

.ranked-rank-reveal-delta {
  width: max-content;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ranked-rank-reveal-movement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.ranked-rank-reveal-movement > div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(47, 255, 151, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(47, 255, 151, 0.08), rgba(205, 82, 255, 0.08)),
    rgba(0, 0, 0, 0.18);
}

.ranked-rank-reveal-movement small,
.ranked-rank-reveal-movement em {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranked-rank-reveal-movement b {
  display: block;
  margin: 3px 0 2px;
  color: var(--text);
  font-size: 0.78rem;
}

.ranked-rank-reveal-card .ranking-active-progress span {
  transition: width 1.25s cubic-bezier(0.2, 0.9, 0.18, 1);
}

.ranked-rank-reveal-modal__close {
  min-width: 150px;
}

@media (max-width: 720px) {
  .trade-share-card__masthead,
  .trade-share-card__asset,
  .trade-share-card__footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .trade-share-card__masthead,
  .trade-share-card__asset {
    display: grid;
  }

  .trade-share-card__mode {
    justify-items: start;
  }

  .trade-share-card__stats {
    grid-template-columns: 1fr;
  }

  .trade-share-card__stats > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trade-share-card__stats > div:last-child {
    border-bottom: 0;
  }

  .trade-share-actions {
    grid-template-columns: 1fr;
  }
}

.tradepro-cta {
  width: 100%;
  margin-top: 8px;
  min-height: 36px;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

@media (min-width: 1120px) {
  .simtrade {
    padding: 7px;
  }

  .simtrade .trade-header {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
  }

  .simtrade .trade-header .muted {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
  }
}

.position {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
  display: grid;
  gap: 8px;
  background:
    linear-gradient(180deg, #07130f, #040b09),
    radial-gradient(circle at 100% 0%, #2eff9b16, transparent 40%);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.position:hover {
  border-color: #2eff9b55;
  background: linear-gradient(90deg, #2eff9b10, transparent);
  box-shadow: inset 2px 0 0 var(--green);
  transform: translateX(2px);
}

@keyframes open-position-flash {
  0% {
    border-color: #7dffbe;
    box-shadow: 0 0 0 1px #7dffbe55, 0 0 18px #2eff9b55, inset 0 0 18px #2eff9b22;
    filter: brightness(1.08);
  }
  100% {
    border-color: var(--line-soft);
    box-shadow: inset 0 0 0 transparent;
    filter: brightness(1);
  }
}

.position.is-refresh-flash,
.player-modal__trade-row.is-refresh-flash {
  animation: open-position-flash 980ms ease-out;
}

.position.is-move-up,
.player-modal__trade-row.is-move-up {
  animation-name: open-position-flash-up;
}

.position.is-move-down,
.player-modal__trade-row.is-move-down {
  animation-name: open-position-flash-down;
}

/* Trade page: keep move flashes visible longer in Open Positions */
.tradepro-right .position.is-refresh-flash,
.tradepro-right .position.is-move-up,
.tradepro-right .position.is-move-down {
  animation-duration: 2200ms;
}

@keyframes open-position-flash-up {
  0% {
    border-color: #7dffbe;
    box-shadow: 0 0 0 1px #7dffbe66, 0 0 22px #2eff9b66, inset 4px 0 0 var(--green), inset 0 0 20px #2eff9b24;
    filter: brightness(1.12);
  }
  100% {
    border-color: var(--line-soft);
    box-shadow: inset 0 0 0 transparent;
    filter: brightness(1);
  }
}

@keyframes open-position-flash-down {
  0% {
    border-color: #ff4966;
    box-shadow: 0 0 0 1px #ff496666, 0 0 22px #ff496638, inset 4px 0 0 #ff4966, inset 0 0 20px #ff496620;
    filter: brightness(1.08);
  }
  100% {
    border-color: var(--line-soft);
    box-shadow: inset 0 0 0 transparent;
    filter: brightness(1);
  }
}

@media (max-width: 1380px) {
  .tradepro-layout {
    grid-template-columns: 300px 1fr;
  }

  .tradepro-right {
    grid-column: span 2;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .tradepro-layout,
  .tradepro-right,
  .simtrade-grid {
    grid-template-columns: 1fr;
  }

  .sim-settings-grid {
    grid-template-columns: 1fr;
  }

  .simtrade-grid.is-trade-mode .simtrade-amount-panel {
    grid-template-columns: 1fr;
  }

  .simtrade-grid.is-trade-mode .simtrade-amount-panel .price {
    justify-self: start;
  }

  .sim-amount-custom {
    grid-column: 1;
    justify-items: start;
  }

  .sim-amount-input {
    width: 100%;
  }
}

/* Share Popup */
.share-fab {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 30;
  border: 1px solid #34ff9f;
  border-radius: 12px;
  min-height: 46px;
  padding: 0 16px;
  font: inherit;
  color: #031a0d;
  background: linear-gradient(180deg, #4dffab, #19de77);
  box-shadow: 0 0 24px #29ff9460;
}

.share-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.share-modal.is-open {
  display: block;
}

.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #000000a6;
  backdrop-filter: blur(3px);
}

.share-modal__dialog {
  position: relative;
  max-width: 860px;
  margin: 6vh auto;
  padding: 16px;
}

.share-card {
  margin-top: 8px;
  border: 1px solid #1f6546;
  border-radius: 16px;
  padding: 18px;
  min-height: 340px;
  background:
    radial-gradient(circle at 85% 15%, #2fff9d22, transparent 40%),
    linear-gradient(135deg, #07170f, #040b0b 60%);
  box-shadow: inset 0 0 32px #1fff8d1f;
}

.share-card__brand {
  color: #35ff9f;
  font-size: 0.85rem;
}

.share-card h2 {
  margin: 14px 0 6px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  color: #eafff3;
}

.share-card p {
  margin: 0 0 16px;
  color: #9dc2b2;
  text-transform: none;
}

.share-card__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.share-card__kpis > div {
  border: 1px solid #204a36;
  border-radius: 10px;
  padding: 10px;
  background: #07110de0;
}

.share-card__kpis strong {
  display: block;
  margin-top: 4px;
  font-size: 1.25rem;
}

.share-card__footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  color: #6f9685;
  font-size: 0.82rem;
}

.share-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 980px) {
  .share-modal__dialog {
    margin: 2vh 8px;
  }

  .share-card__kpis,
  .share-actions {
    grid-template-columns: 1fr;
  }
}

/* Profile Studio */
.profile-studio {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 368px;
  gap: 14px;
  align-items: start;
}

.profile-studio .card {
  border-color: rgba(46, 255, 155, 0.26);
}

.profile-rail,
.profile-mainstage,
.profile-right-stack {
  display: grid;
  gap: 14px;
}

.profile-rail {
  position: sticky;
  top: 16px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 11%, rgba(180, 60, 255, 0.22), transparent 38%),
    radial-gradient(circle at 22% 18%, rgba(46, 255, 155, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(6, 14, 18, 0.94), rgba(2, 8, 8, 0.95));
}

.profile-rail::after,
.profile-hero-panel::after,
.profile-custom-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(46, 255, 155, 0.035), transparent 32%, transparent 70%, rgba(180, 60, 255, 0.045)),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(46, 255, 155, 0.014) 38px 39px);
  opacity: 0.72;
}

.profile-rail__rank small,
.profile-card-head h2,
.profile-stat-panel h2,
.profile-preview-card h2 {
  color: #f2fff8;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
}

.profile-rail__rank {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.profile-rail__rank strong {
  color: #7cff25;
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(46, 255, 155, 0.26);
}

.profile-rail__badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 168px;
  margin: 2px 0 -2px;
}

.profile-rail__badge .rank-badge {
  width: 136px;
  height: 166px;
  flex-basis: 136px;
  filter: drop-shadow(0 0 22px rgba(46, 255, 155, 0.34)) drop-shadow(0 0 24px rgba(180, 60, 255, 0.24));
}

.profile-rail__name {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-rail__name strong,
.profile-name-line h1 {
  overflow: hidden;
  color: #f0fff7;
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-rail__name strong {
  font-size: 1.55rem;
  line-height: 1;
}

.profile-rail__name > span,
.profile-name-line > span,
.profile-preview-inner .profile-you-tag {
  padding: 3px 8px;
  border: 1px solid rgba(216, 117, 255, 0.46);
  border-radius: 7px;
  color: var(--purple-soft);
  background: rgba(180, 60, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
}

.profile-rail > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #879c93;
  font-size: 0.8rem;
  text-transform: none;
}

.profile-xp-block {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.profile-xp-block .row {
  color: #9bada5;
  font-size: 0.78rem;
}

.profile-xp-block b {
  color: var(--green);
}

.profile-xp-progress > span {
  background: linear-gradient(90deg, #7cff25, var(--green), var(--purple-soft));
}

.profile-view-public,
.profile-side-nav,
.profile-corey-quote {
  position: relative;
  z-index: 1;
}

.profile-side-nav {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.profile-side-nav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #8da59a;
  font-size: 0.75rem;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.profile-side-nav a:hover,
.profile-side-nav a.is-active {
  color: var(--green);
  border-color: rgba(46, 255, 155, 0.28);
  background: linear-gradient(90deg, rgba(46, 255, 155, 0.11), rgba(180, 60, 255, 0.05));
  transform: translateX(3px);
}

.profile-corey-quote {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(46, 255, 155, 0.32);
  border-radius: 12px;
  background:
    repeating-linear-gradient(180deg, rgba(46, 255, 155, 0.04) 0 1px, transparent 1px 8px),
    rgba(2, 10, 8, 0.66);
  box-shadow: inset 0 0 22px rgba(46, 255, 155, 0.06);
}

.profile-corey-quote strong {
  color: var(--green);
}

.profile-corey-quote p {
  margin: 12px 0;
  color: #e8fff2;
  font-size: 0.92rem;
  line-height: 1.45;
  text-transform: none;
}

.profile-corey-quote em {
  display: block;
  color: var(--purple-soft);
  font-style: normal;
  text-align: right;
}

.profile-hero-panel {
  position: relative;
  min-height: 266px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: stretch;
  padding: 28px 30px;
  background:
    radial-gradient(circle at 62% 24%, rgba(46, 255, 155, 0.13), transparent 28%),
    radial-gradient(circle at 82% 15%, rgba(180, 60, 255, 0.34), transparent 42%),
    linear-gradient(90deg, rgba(5, 10, 13, 0.96), rgba(8, 13, 23, 0.92) 58%, rgba(16, 6, 26, 0.95));
}

.profile-hero-panel__copy,
.profile-hero-corey,
.profile-edit-button {
  position: relative;
  z-index: 1;
}

.profile-name-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.profile-name-line h1 {
  margin: 0;
  max-width: 540px;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(46, 255, 155, 0.18);
}

.profile-edit-mini,
.profile-copy-id {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(46, 255, 155, 0.26);
  border-radius: 8px;
  color: #eafff4;
  background: rgba(2, 8, 8, 0.68);
}

.profile-hero-panel__copy > p {
  margin: 10px 0 0;
  color: #98aca3;
  text-transform: none;
}

.profile-hero-tags,
.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.profile-hero-tags span,
.profile-socials span,
.profile-tier-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(46, 255, 155, 0.22);
  border-radius: 999px;
  color: #b7d2c5;
  background: rgba(2, 10, 8, 0.66);
  font-size: 0.78rem;
}

.profile-tier-tag {
  color: var(--green);
  border-color: rgba(180, 60, 255, 0.38);
}

.profile-bio {
  max-width: 520px;
  margin-top: 22px !important;
  color: #cadbd4 !important;
}

.profile-socials {
  margin-top: 24px;
}

.profile-socials span {
  color: #879c93;
  font-size: 0.72rem;
}

.profile-hero-corey {
  align-self: end;
  justify-self: center;
  width: min(100%, 420px);
  max-height: 266px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(46, 255, 155, 0.26)) drop-shadow(0 0 28px rgba(180, 60, 255, 0.24));
  animation: rules-soft-float 6.5s ease-in-out infinite;
}

.profile-edit-button {
  position: absolute;
  right: 18px;
  top: 16px;
  width: auto;
  min-height: 38px;
  padding-inline: 14px;
}

.profile-open-panel,
.profile-collection,
.profile-badges-panel,
.profile-stat-panel,
.profile-custom-panel,
.profile-preview-card {
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(180, 60, 255, 0.13), transparent 38%),
    radial-gradient(circle at 8% 0%, rgba(46, 255, 155, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(6, 14, 18, 0.94), rgba(2, 8, 8, 0.94));
}

.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-card-head h2,
.profile-preview-card h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1;
}

.profile-card-head a {
  color: var(--green);
  font-size: 0.72rem;
}

.profile-open-pnl {
  color: var(--green);
  font-size: 1rem;
  text-shadow: 0 0 14px rgba(46, 255, 155, 0.24);
}

.profile-open-pnl.neg {
  color: var(--danger);
  text-shadow: 0 0 14px rgba(255, 77, 93, 0.18);
}

.profile-open-positions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-open-position,
.profile-open-empty,
.profile-skin-card,
.profile-owned-badge {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46, 255, 155, 0.18);
  border-radius: 11px;
  background:
    radial-gradient(circle at 70% 10%, rgba(180, 60, 255, 0.13), transparent 40%),
    rgba(2, 9, 9, 0.72);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.profile-open-position:hover,
.profile-skin-card:hover,
.profile-owned-badge:hover,
.profile-stat-grid > div:hover,
.profile-custom-item:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 255, 155, 0.44);
  box-shadow: 0 0 24px rgba(46, 255, 155, 0.12), 0 0 22px rgba(180, 60, 255, 0.08);
}

.profile-open-position {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.profile-open-position__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.profile-open-position__main small,
.profile-open-empty small {
  color: #8da59a;
  font-size: 0.72rem;
}

.profile-open-position__symbol {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-open-position__symbol strong {
  overflow: hidden;
  color: #f0fff7;
  font-size: 1.1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-open-position__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #8da59a;
  font-size: 0.72rem;
}

.profile-open-position__pnl {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--green);
  font-weight: 800;
  text-align: right;
}

.profile-open-position__pnl.neg {
  color: var(--danger);
}

.profile-open-position__pnl strong {
  font-size: 1.28rem;
  line-height: 1;
}

.profile-open-empty {
  grid-column: 1 / -1;
  min-height: 136px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
}

.profile-open-empty img {
  width: 126px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(46, 255, 155, 0.2));
}

.profile-open-empty strong {
  display: block;
  color: #f0fff7;
  font-size: 1rem;
}

.profile-tabs {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.profile-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  color: #8da59a;
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
}

.profile-tabs button.is-active {
  color: #7cff25;
  border-color: #7cff25;
}

.profile-skin-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.profile-skin-card {
  min-height: 174px;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 6px;
  padding: 10px;
}

.profile-skin-card img {
  width: 100%;
  max-width: 116px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(46, 255, 155, 0.18));
}

.profile-skin-card strong,
.profile-owned-badge strong {
  color: #eafff4;
  font-size: 0.8rem;
}

.profile-skin-card span,
.profile-owned-badge span {
  padding: 3px 7px;
  border: 1px solid rgba(46, 255, 155, 0.26);
  border-radius: 6px;
  color: var(--green);
  font-size: 0.68rem;
}

.profile-skin-card.is-legendary span,
.profile-skin-card.is-epic span {
  color: var(--purple-soft);
  border-color: rgba(180, 60, 255, 0.38);
}

.profile-skin-card.is-rare span {
  color: #6cf6ff;
  border-color: rgba(108, 246, 255, 0.38);
}

.profile-skin-card.is-equipped {
  border-color: rgba(124, 255, 37, 0.56);
  box-shadow: 0 0 22px rgba(124, 255, 37, 0.14);
}

.profile-badge-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.profile-owned-badge {
  min-height: 136px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 10px;
}

.profile-owned-badge img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(46, 255, 155, 0.18));
}

.profile-owned-badge.is-locked {
  filter: saturate(0.2);
  opacity: 0.58;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(46, 255, 155, 0.12);
  border-bottom: 1px solid rgba(46, 255, 155, 0.12);
}

.profile-stat-grid > div {
  min-height: 80px;
  padding: 15px 12px;
  border-right: 1px solid rgba(46, 255, 155, 0.1);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.profile-stat-grid > div:nth-child(3n) {
  border-right: 0;
}

.profile-stat-grid small,
.profile-custom-item small,
.profile-color-row small,
.profile-status-input small,
.profile-preview-stats span {
  display: block;
  color: #8da59a;
  font-size: 0.68rem;
}

.profile-stat-grid strong {
  display: block;
  margin-top: 8px;
  color: #effff6;
  font-size: 1.38rem;
  line-height: 1;
}

.profile-detail-button {
  margin-top: 16px;
  border-color: rgba(180, 60, 255, 0.42);
  color: var(--purple-soft);
}

.profile-custom-panel {
  display: grid;
  gap: 12px;
}

.profile-custom-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(46, 255, 155, 0.16);
  border-radius: 10px;
  background: rgba(2, 9, 9, 0.7);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.profile-custom-banner {
  position: relative;
  overflow: hidden;
  min-height: 82px;
  background:
    radial-gradient(circle at 82% 12%, rgba(180, 60, 255, 0.22), transparent 38%),
    linear-gradient(90deg, rgba(3, 10, 10, 0.9), rgba(14, 8, 23, 0.9));
}

.profile-custom-item span {
  position: relative;
  z-index: 1;
  color: #eafff4;
}

.profile-custom-item button {
  position: relative;
  z-index: 1;
  min-height: 30px;
  border: 1px solid rgba(46, 255, 155, 0.22);
  border-radius: 8px;
  color: #b7d2c5;
  background: rgba(2, 8, 8, 0.78);
  font: inherit;
  font-size: 0.65rem;
}

.profile-avatar-ring {
  width: 54px;
  height: 54px;
  border: 3px solid #7cff25;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(124, 255, 37, 0.28), 6px 6px 0 rgba(180, 60, 255, 0.34);
}

.profile-color-row {
  display: grid;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(46, 255, 155, 0.12);
}

.profile-color-row div {
  display: flex;
  gap: 8px;
}

.profile-color-row span {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: var(--green);
}

.profile-color-row span:nth-child(2) { background: #8a2fff; }
.profile-color-row span:nth-child(3) { background: #4c20ff; }
.profile-color-row span:nth-child(4) { background: #2d8cff; }
.profile-color-row span:nth-child(5) { background: #ff9a17; }
.profile-color-row span:nth-child(6) { background: #ff3d88; }
.profile-color-row span:nth-child(7) { background: #f3df4d; }

.profile-color-row span.is-active {
  box-shadow: 0 0 0 2px rgba(2, 8, 8, 0.95), 0 0 0 4px rgba(124, 255, 37, 0.9), 0 0 18px rgba(124, 255, 37, 0.28);
}

.profile-status-input {
  display: grid;
  gap: 8px;
}

.profile-status-input input {
  min-height: 40px;
  border: 1px solid rgba(46, 255, 155, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  color: #dcebe4;
  background: rgba(2, 8, 8, 0.8);
  font: inherit;
}

.profile-preview-inner {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(46, 255, 155, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 10%, rgba(46, 255, 155, 0.12), transparent 38%),
    rgba(2, 8, 8, 0.74);
}

.profile-preview-inner .rank-badge {
  width: 76px;
  height: 92px;
  flex-basis: 76px;
}

.profile-preview-inner strong.profile-username {
  display: block;
  color: #f0fff7;
  font-size: 1.04rem;
}

.profile-preview-inner strong.profile-rank {
  color: #7cff25;
}

.profile-preview-inner small {
  margin-top: 8px;
}

.profile-preview-stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 8px;
}

.profile-preview-stats b {
  color: #f0fff7;
}

.profile-corey-online {
  color: var(--green);
  border-color: rgba(46, 255, 155, 0.28);
}

@media (max-width: 1380px) {
  .profile-studio {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .profile-right-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .profile-stat-grid > div:nth-child(3n) {
    border-right: 1px solid rgba(46, 255, 155, 0.1);
  }

  .profile-stat-grid > div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 1080px) {
  .profile-studio,
  .profile-right-stack,
  .profile-hero-panel {
    grid-template-columns: 1fr;
  }

  .profile-rail {
    position: relative;
    top: auto;
  }

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

  .profile-open-positions-list,
  .profile-skin-row,
  .profile-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .profile-studio {
    gap: 10px;
  }

  .profile-hero-panel,
  .profile-open-panel,
  .profile-collection,
  .profile-badges-panel,
  .profile-stat-panel,
  .profile-custom-panel,
  .profile-preview-card,
  .profile-rail {
    padding: 14px;
  }

  .profile-name-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .profile-side-nav,
  .profile-open-positions-list,
  .profile-skin-row,
  .profile-badge-grid,
  .profile-stat-grid,
  .profile-preview-inner {
    grid-template-columns: 1fr;
  }

  .profile-stat-grid > div,
  .profile-stat-grid > div:nth-child(3n),
  .profile-stat-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .profile-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .profile-preview-stats {
    flex-direction: column;
  }
}

/* Auth Modal */
.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1200;
}

.beta-access-locked body {
  overflow: hidden;
}

.beta-access-locked .app-shell {
  filter: blur(8px) saturate(0.72);
  pointer-events: none;
  user-select: none;
}

.beta-access-gate {
  z-index: 1100;
}

.beta-access-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.beta-access-gate__actions button {
  flex: 1 1 150px;
}

.beta-access-gate__secondary {
  background: rgba(180, 60, 255, 0.08) !important;
  color: #f0d7ff !important;
  border-color: rgba(180, 60, 255, 0.48) !important;
}

.beta-access-gate__link {
  color: #d7dfd8;
  font-size: 0.86rem;
}

.beta-access-gate__link:hover {
  color: #9bff17;
}

.auth-modal.is-open {
  display: block;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(46, 255, 155, 0.12), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(180, 60, 255, 0.16), transparent 40%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

#authModal .auth-shell {
  position: relative;
  width: min(420px, calc(100vw - 24px));
  margin: 6vh auto;
  display: block;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: var(--gradient-modal);
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 0 34px var(--green-glow-soft),
    inset 0 0 28px rgba(46, 255, 155, 0.07);
  box-sizing: border-box;
}

#settingsModal .auth-shell,
#settingsModal .auth-modal__dialog {
  position: relative;
  width: min(476px, calc(100vw - 20px));
  margin: 7vh auto;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: var(--gradient-modal);
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 0 34px var(--green-glow-soft),
    inset 0 0 28px rgba(46, 255, 155, 0.07);
  box-sizing: border-box;
}

#authModal .auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 10px;
  border: 1px solid #2a7e57;
  background:
    radial-gradient(circle at 82% 0%, #b43cff2a, transparent 42%),
    linear-gradient(180deg, #07140f, #030a08);
  color: #d8f7e7;
  padding: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: inset 0 0 12px #2eff9b10;
}

#settingsModal .auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid #2a7e57;
  background:
    radial-gradient(circle at 82% 0%, #b43cff2a, transparent 42%),
    linear-gradient(180deg, #07140f, #030a08);
  color: #d8f7e7;
  padding: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: inset 0 0 12px #2eff9b10;
}

#authModal .auth-visual {
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #23563e;
  background:
    radial-gradient(circle at 90% 0%, #b43cff2a, transparent 44%),
    linear-gradient(180deg, #0d2a1d, #05100b 58%, #03080a);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

#authModal .auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

#settingsModal .auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

#authModal .auth-modal__title {
  margin: 0 44px 0 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
}

#authModal .auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 14px 0 12px;
}

#authModal .auth-tab {
  width: 100%;
  height: 34px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  border: 1px solid #2a7e57;
  background:
    radial-gradient(circle at 88% 0%, #b43cff1f, transparent 44%),
    linear-gradient(180deg, #07140f, #030a08);
  color: #b8e9ce;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 14px #2eff9b0f;
}

#authModal .auth-tab.chip--active {
  color: #03150b;
  border-color: #44ffa6;
  background:
    linear-gradient(135deg, #13f783, #72ff8a),
    repeating-linear-gradient(90deg, transparent 0 12px, #ffffff22 12px 13px);
  box-shadow: 0 0 18px #21ff8f3b;
}

#authModal .auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

#settingsModal .auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#authModal .auth-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  color: #8fa99b;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#settingsModal .auth-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  color: #8fa99b;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#authModal .input-wrap {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #2a5b44;
  background:
    radial-gradient(circle at 90% 0%, #b43cff1a, transparent 44%),
    linear-gradient(180deg, #07120f, #050c0a);
  box-shadow: inset 0 0 12px #2eff9b0d;
}

#settingsModal .input-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #2a5b44;
  background:
    radial-gradient(circle at 90% 0%, #b43cff1a, transparent 44%),
    linear-gradient(180deg, #07120f, #050c0a);
  box-shadow: inset 0 0 12px #2eff9b0d;
}

#authModal .auth-input {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
  font-size: 0.9rem;
}

#settingsModal .auth-input {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
}

#authModal .auth-input::placeholder {
  color: #88a99a;
}

#authModal .auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

#authModal .auth-button {
  width: 100%;
  height: 34px;
  min-height: 34px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  border-color: #2a7e57;
}

#settingsModal .auth-button {
  width: 100%;
  height: 36px;
  min-height: 36px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  border-color: #2a7e57;
}

#authModal #loginSubmit,
#authModal #forgotBtn {
  font-size: 0.7rem;
  letter-spacing: 0.01em;
}

#authModal .auth-button.btn--ghost {
  background:
    radial-gradient(circle at 88% 0%, #b43cff1f, transparent 44%),
    linear-gradient(180deg, #07140f, #030a08);
  color: #c5eddc;
}

#settingsModal .auth-button.btn--ghost {
  background:
    radial-gradient(circle at 88% 0%, #b43cff1f, transparent 44%),
    linear-gradient(180deg, #07140f, #030a08);
  color: #c5eddc;
}

#authModal .auth-button.btn--outline {
  background:
    radial-gradient(circle at 90% 0%, #b43cff1f, transparent 44%),
    linear-gradient(180deg, #081912, #040d09);
  color: #cff8e5;
}

#authModal .auth-button.btn--primary {
  color: #03150b;
  border-color: #44ffa6;
  background:
    linear-gradient(135deg, #13f783, #72ff8a),
    repeating-linear-gradient(90deg, transparent 0 12px, #ffffff22 12px 13px);
  box-shadow: 0 0 20px #21ff8f42;
}

#settingsModal .auth-button.btn--primary {
  color: #03150b;
  border-color: #44ffa6;
  background:
    linear-gradient(135deg, #13f783, #72ff8a),
    repeating-linear-gradient(90deg, transparent 0 12px, #ffffff22 12px 13px);
  box-shadow: 0 0 20px #21ff8f42;
}

#authModal .auth-modal__full {
  width: 100%;
}

#settingsModal .auth-modal__full {
  width: 100%;
}

#authModal .auth-modal__connected-card {
  margin: 0 0 8px;
}

.settings-modal {
  max-width: 460px;
  width: min(460px, calc(100vw - 24px));
  border-color: #7a2eb0;
  background:
    radial-gradient(circle at 88% 0%, #b43cff4a, transparent 38%),
    radial-gradient(circle at 16% 100%, #2eff9b2d, transparent 42%),
    linear-gradient(180deg, #081111, #070a12);
  box-shadow:
    0 0 0 1px var(--green-line),
    0 0 0 1px #7a2eb03b,
    0 22px 72px #000000cf,
    inset 0 0 34px #b43cff1e;
}

.settings-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 6px 0 10px;
  padding: 8px;
  border: 1px solid #2a3f36;
  border-radius: 12px;
  background: linear-gradient(180deg, #101318, #0a1012);
}

.settings-avatar-row .user-avatar {
  flex: 0 0 auto;
}

.settings-avatar-row .auth-button {
  flex: 1;
}

.settings-avatar-row .btn {
  min-height: 40px;
}

.settings-modal .auth-input[type="file"] {
  padding-top: 10px;
  padding-bottom: 10px;
}

.settings-modal select.auth-input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #89ffb9 50%),
    linear-gradient(135deg, #89ffb9 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.auth-error {
  min-height: 20px;
  margin-bottom: 4px;
  font-size: 0.82rem;
}

.auth-error.is-error {
  color: #ff5f75;
}

.auth-error.is-ok {
  color: #3effa3;
}

@media (max-width: 860px) {
  #authModal .auth-shell {
    width: min(420px, calc(100vw - 14px));
    padding: 12px;
    margin: 4vh auto;
  }

  #settingsModal .auth-shell {
    width: min(450px, calc(100vw - 14px));
    padding: 10px;
    margin: 4vh auto;
  }

  #settingsModal .auth-modal__dialog {
    width: min(450px, calc(100vw - 14px));
    padding: 10px;
    margin: 4vh auto;
  }

  #authModal .auth-actions {
    grid-template-columns: 1fr;
  }
}


/* Premium profile dropdown */
.profile-menu {
  position: fixed;
  min-width: 220px;
  max-width: calc(100vw - 24px);
  border-radius: 14px;
  border: 1px solid #1f5a3e;
  background:
    radial-gradient(circle at 88% 0%, #24ff9540, transparent 38%),
    linear-gradient(180deg, #07140f, #040a0d);
  box-shadow: 0 0 0 1px var(--green-line), 0 14px 50px #000000b0, inset 0 0 26px #1eff8c1f;
  padding: 8px;
  z-index: 1400;
  display: none;
  transform: translateY(-4px);
  opacity: 0;
}

.profile-menu.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.profile-menu__item {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #07120f;
  color: #c8efe0;
  font: inherit;
  text-align: left;
  padding: 0 12px;
  margin: 4px 0;
}

.profile-menu__item:hover {
  border-color: #2cff97;
  background: linear-gradient(180deg, #0c1c15, #08140f);
  color: #f0fff8;
}

.profile-chip {
  cursor: pointer;
}

/* Premium auth overlay polish */
.auth-modal__dialog {
  border-width: 1px;
}

.auth-modal__dialog::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, #2eff9b33, transparent 38%, #2eff9b26 65%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}


/* Premium top search suggestions */
.topbar .search {
  position: relative;
  z-index: 260;
}

.top-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid #1f5a3e;
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 0%, #b43cff26, transparent 42%),
    radial-gradient(circle at 85% 0%, #24ff9540, transparent 35%),
    linear-gradient(180deg, #06130e, #04090c);
  box-shadow: 0 0 0 1px var(--green-line), 0 16px 50px #000000b8, inset 0 0 20px #1eff8c1a;
  display: none;
  z-index: 300;
  max-height: 340px;
  overflow: auto;
}

.top-search-dropdown.is-open {
  display: block;
}

.top-search-dropdown__empty {
  color: #7da391;
  font-size: 0.82rem;
  padding: 12px;
  text-transform: none;
}

.top-search-item {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-bottom: 1px solid #0f2a1e;
  background: transparent;
  color: #d9efe5;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 10px 12px;
}

.top-search-item:last-child {
  border-bottom: 0;
}

.top-search-item:hover {
  background: #0a1812;
}

.top-search-item__meta {
  display: grid;
  gap: 2px;
}

.top-search-item__meta strong {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.top-search-item__meta small {
  text-transform: none;
}

.top-search-item__right {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.top-search-item__right .token-socials {
  gap: 4px;
}

.top-search-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-search-tag {
  border: 1px solid #1e5f42;
  border-radius: 999px;
  font-size: 0.62rem;
  padding: 2px 7px;
  color: #8fe5b5;
}

.top-search-action-modal__dialog {
  position: relative;
  width: min(520px, calc(100vw - 28px));
  margin: 10vh auto;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(46, 255, 155, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 4%, rgba(46, 255, 155, 0.16), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(180, 60, 255, 0.18), transparent 42%),
    var(--gradient-modal);
  box-shadow:
    0 0 0 1px rgba(46, 255, 155, 0.12),
    0 30px 90px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(46, 255, 155, 0.14),
    inset 0 0 28px rgba(46, 255, 155, 0.05);
}

.top-search-action-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(135deg, rgba(46, 255, 155, 0.05), transparent 30%, transparent 70%, rgba(180, 60, 255, 0.05)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
}

.top-search-action-modal__dialog > * {
  position: relative;
  z-index: 1;
}

.top-search-action-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(46, 255, 155, 0.24);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(2, 8, 10, 0.74);
  font: inherit;
  font-size: 1.1rem;
}

.top-search-action-modal__hero {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 40px;
}

.top-search-action-modal__logo {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 255, 155, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(46, 255, 155, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(6, 17, 15, 0.9), rgba(2, 7, 10, 0.96));
  box-shadow: inset 0 0 20px rgba(46, 255, 155, 0.08), 0 0 24px rgba(46, 255, 155, 0.12);
}

.top-search-action-modal__logo .token-logo {
  width: 54px;
  height: 54px;
}

.top-search-action-modal__hero small {
  display: block;
  color: var(--green-3);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.top-search-action-modal__hero strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 2.1rem;
  line-height: 0.95;
}

.top-search-action-modal__hero span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: none;
}

.top-search-action-modal__market {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.top-search-action-modal__market span {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(46, 255, 155, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.top-search-action-modal__market small {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
}

.top-search-action-modal__market b {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.top-search-action-modal__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.top-search-action-modal__actions .btn {
  width: 100%;
  height: 36px;
  min-height: 36px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 9px;
  box-sizing: border-box;
  font-size: 0.7rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border-color: #2a7e57;
}

.top-search-action-modal__actions .btn--outline {
  background:
    radial-gradient(circle at 90% 0%, #b43cff1f, transparent 44%),
    linear-gradient(180deg, #081912, #040d09);
  color: #cff8e5;
}

.top-search-action-modal__actions .btn--primary {
  color: #03150b;
  border-color: #44ffa6;
  background:
    linear-gradient(135deg, #13f783, #72ff8a),
    repeating-linear-gradient(90deg, transparent 0 12px, #ffffff22 12px 13px);
  box-shadow: 0 0 20px #21ff8f42;
}

@media (max-width: 620px) {
  .top-search-action-modal__dialog {
    margin: 7vh auto;
  }

  .top-search-action-modal__hero,
  .top-search-action-modal__market,
  .top-search-action-modal__actions {
    grid-template-columns: 1fr;
  }

  .top-search-action-modal__hero {
    padding-right: 38px;
  }
}

.section-toggle {
  min-width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #1f5a3e;
  background: #07120f;
  color: #9ef3c0;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.section-toggle:hover {
  border-color: #2cff97;
  color: #dfffee;
  box-shadow: 0 0 12px #29ff9450;
}

.pulse-card.is-collapsed .section-collapsible-body {
  display: none;
}

.pulse-card.is-collapsed {
  padding-bottom: 12px;
}

.pulse-layout .panel__title,
.pulse-main .panel__title {
  color: #48ffad;
  text-shadow:
    0 0 14px #20ff8a55,
    0 0 14px var(--purple-glow);
}

.pulse-main .composer,
.pulse-main .post,
.pulse-right .pulse-card {
  border-color: #1d4d38;
  background:
    radial-gradient(circle at 92% 0%, #b43cff1f, transparent 42%),
    linear-gradient(180deg, #07140f, #040b0a);
}

.pulse-tabs .chip.chip--active {
  border-color: var(--purple-line);
  box-shadow: inset 0 0 16px var(--purple-glow);
}

.trade-trader-identity .identity {
  margin-bottom: 10px;
}

.trade-trader-identity .identity > .avatar {
  width: 54px;
  height: 54px;
}

.trade-trader-identity .identity > .rank-badge,
.pulse-trader-identity .identity > .rank-badge,
.watchlist-trader-identity .identity > .rank-badge,
.rank-profile .identity > .rank-badge {
  margin: -6px 0;
}

.trade-trader-identity .trade-identity-metric-row {
  display: inline-grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  column-gap: 12px;
  width: auto;
  margin-top: 4px;
}

.trade-trader-identity .kpi-grid {
  margin-top: 10px;
}

.open-positions-pnl {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.dashboard-open-positions-card .panel__title::after,
.trade-open-positions-card .panel__title::after,
.pulse-open-positions-card .panel__title::after {
  content: none;
}

.dashboard-open-positions {
  display: grid;
  gap: 10px;
}

.dashboard-open-positions .position {
  margin-top: 0;
  padding: 10px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 96% 0%, #b43cff1a, transparent 38%),
    linear-gradient(180deg, #07130f, #040b09);
  box-shadow: inset 0 0 16px #20ff8620;
}

.dashboard-open-positions .position .row {
  gap: 8px;
}

.dashboard-open-positions .position .row.between {
  align-items: baseline;
}

.dashboard-open-positions .position .token-name strong {
  font-size: 0.95rem;
}

.dashboard-open-positions .position small {
  font-size: 0.72rem;
  color: #9ab0a4;
}

.dashboard-open-positions .position .meme-price {
  font-size: 0.8rem;
}

.open-position-move-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.open-position-move-badge.is-up {
  color: #d9ffe9;
  background: #0f4b2f;
  border: 1px solid #2bff97;
  box-shadow: inset 0 0 10px #25ff8b30;
}

.open-position-move-badge.is-down {
  color: #ffe2e2;
  background: #4b1212;
  border: 1px solid #ff5f5f;
  box-shadow: inset 0 0 10px #ff525230;
}

.open-position-move-badge.is-flat {
  color: #d9e8df;
  background: #223029;
  border: 1px solid #51685c;
}

.dashboard-open-positions .position--empty {
  min-height: 58px;
}

.dashboard-corey-empty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  min-height: 154px;
  overflow: hidden;
}

.corey-terminal--open {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(142px, 48%) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-width: 0;
}

.corey-terminal--open .dashboard-corey-empty__mascot {
  width: 160px;
  margin: -22px 0 -18px -15px;
}

.corey-terminal--open .corey-terminal__bubble {
  justify-self: start;
  width: min(172px, 100%);
  max-width: 172px;
  min-height: 62px;
  margin: 12px 0 0 -8px;
  padding: 8px 12px;
}

.corey-terminal--open .corey-terminal__text {
  font-size: 0.68rem;
  line-height: 1.12;
}

.dashboard-corey-open-comment {
  min-height: 76px;
  padding: 8px 10px;
  overflow: hidden;
}

.dashboard-corey-open-comment .corey-terminal--open {
  grid-template-columns: 76px minmax(0, 1fr);
}

.dashboard-corey-open-comment .dashboard-corey-empty__mascot {
  width: 92px;
  margin: -18px -8px -18px -10px;
}

.dashboard-corey-open-comment .corey-terminal__bubble {
  width: min(132px, 100%);
  max-width: 132px;
  min-height: 42px;
  margin: 0;
  padding: 7px 9px;
}

.dashboard-corey-open-comment .corey-terminal__text {
  font-size: 0.58rem;
}

.simtrade-settings-panel h3,
.sim-settings-summary .sim-auto-label {
  color: var(--purple-soft);
  text-shadow: 0 0 12px var(--purple-glow);
}

.simtrade-settings-panel {
  border-color: #27513e;
  background:
    radial-gradient(circle at 96% 0%, #b43cff1d, transparent 38%),
    linear-gradient(180deg, #08130f, #060c0a);
}

.topbar__actions > .chip {
  border-color: #2c6a4a;
}

.topbar__actions > .chip:hover {
  border-color: var(--purple-line);
  box-shadow: inset 0 0 14px var(--purple-glow), 0 0 12px #1eff8b38;
}

.panel:focus-within,
.card:focus-within {
  border-color: #2fd58b;
  box-shadow:
    0 0 0 1px #2a8f61,
    0 0 26px #16ff7a2a,
    0 0 18px var(--purple-glow);
}

@media (max-width: 760px) {
  .panel__title::after {
    display: none;
  }
}

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

/* Hide Auth/Profile modals without touching JS logic */

.score-info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  cursor: help;
  vertical-align: middle;
}

.score-info-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 280px;
  white-space: pre-line;
  background: rgba(5, 8, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #f2f5ff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 50;
}

.score-info-tip:hover::after,
.score-info-tip:focus-visible::after {
  opacity: 1;
}

.levelup-modal {
  z-index: 1200;
}

.levelup-modal__backdrop {
  background:
    radial-gradient(circle at 50% 40%, rgba(47, 213, 139, 0.26), rgba(6, 10, 17, 0.88) 58%),
    linear-gradient(145deg, rgba(180, 60, 255, 0.16), rgba(15, 23, 37, 0.78));
  backdrop-filter: blur(3px) saturate(110%);
}

.levelup-modal__dialog {
  width: min(520px, calc(100vw - 32px));
  text-align: center;
  padding: 26px 24px 22px;
  border-color: rgba(47, 213, 139, 0.52);
  box-shadow:
    0 0 0 1px rgba(47, 213, 139, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.48),
    0 0 44px rgba(47, 213, 139, 0.24);
  animation: levelup-pop-in 340ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.levelup-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 213, 139, 0.35);
  background: rgba(47, 213, 139, 0.14);
  color: #9df3c9;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.levelup-modal__title {
  margin: 0;
  color: #f6fffb;
  font-size: clamp(22px, 4.4vw, 32px);
  letter-spacing: 0.03em;
}

.levelup-modal__subtitle {
  margin: 8px 0 0;
  color: #c9d5f3;
  font-size: 15px;
}

.levelup-modal__subtitle strong {
  color: #9df3c9;
  font-size: 18px;
}

.levelup-modal__pulse {
  margin: 18px auto 0;
  width: 62%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(180, 60, 255, 0.22), rgba(47, 213, 139, 0.9), rgba(180, 60, 255, 0.22));
  box-shadow: 0 0 18px rgba(47, 213, 139, 0.42);
  animation: levelup-pulse 1.1s ease-in-out infinite;
}

@keyframes levelup-pop-in {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes levelup-pulse {
  0%,
  100% {
    transform: scaleX(0.92);
    opacity: 0.82;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.levelup-modal__rewards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 6px;
}

.levelup-modal__rewards > div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 9px 10px;
}

.levelup-modal__rewards small {
  display: block;
  color: #9bb0d7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.levelup-modal__rewards strong {
  display: block;
  margin-top: 4px;
  color: #eafff3;
  font-size: 14px;
}

.levelup-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.levelup-modal__dialog {
  position: relative;
  z-index: 2;
}

.levelup-modal__identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.levelup-modal__identity .rank-badge {
  transform: scale(0.9);
  transform-origin: center;
}

.levelup-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(7, 12, 18, 0.72);
  color: #d8f6e8;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.levelup-modal__close:hover {
  border-color: rgba(47, 213, 139, 0.55);
  box-shadow: 0 0 0 1px rgba(47, 213, 139, 0.2);
}

.trade-execution-modal__dialog {
  overflow: hidden;
}

.trade-execution-modal__loader {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 12px);
  gap: 7px;
  justify-content: center;
  margin: 4px auto 10px;
}

.trade-execution-modal__loader span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #75ffb6, #19ff7a);
  box-shadow: 0 0 16px rgba(46, 255, 155, 0.52);
  animation: trade-execution-dot 860ms ease-in-out infinite;
}

.trade-execution-modal__loader span:nth-child(2) {
  animation-delay: 120ms;
}

.trade-execution-modal__loader span:nth-child(3) {
  animation-delay: 240ms;
}

.trade-execution-modal__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trade-rule-modal__dialog {
  overflow: hidden;
  border-color: rgba(255, 96, 112, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 96, 112, 0.22),
    0 28px 90px rgba(0, 0, 0, 0.72),
    0 0 36px rgba(255, 73, 102, 0.18),
    inset 0 0 28px rgba(255, 73, 102, 0.08);
}

.trade-rule-modal__badge {
  color: #ffdfe3;
  border-color: rgba(255, 96, 112, 0.45);
  background: rgba(255, 73, 102, 0.14);
}

.trade-rule-modal__reason {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(255, 96, 112, 0.35);
  border-radius: 14px;
  color: #ffe9ec;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 73, 102, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(36, 12, 18, 0.88), rgba(10, 7, 10, 0.72));
  font-weight: 700;
  line-height: 1.35;
}

.trade-rule-modal__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trade-rule-modal__hint {
  margin: 10px 0 0;
  color: #aebdb6;
  font-size: 0.78rem;
  line-height: 1.35;
}

.trade-rule-modal__pulse {
  background: radial-gradient(circle, rgba(255, 73, 102, 0.24), transparent 62%);
}

.rules-layout {
  display: grid;
  gap: 14px;
}

.rules-arena {
  padding-bottom: 4px;
}

.rules-arena .card {
  border-color: rgba(46, 255, 155, 0.3);
}

.rules-arena-hero {
  position: relative;
  min-height: 348px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1fr) minmax(240px, 0.86fr);
  align-items: stretch;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(90deg, rgba(2, 8, 6, 0.96), rgba(5, 10, 14, 0.86) 42%, rgba(15, 7, 27, 0.92)),
    radial-gradient(circle at 50% 42%, rgba(46, 255, 155, 0.18), transparent 34%),
    radial-gradient(circle at 76% 14%, rgba(180, 60, 255, 0.26), transparent 36%);
}

.rules-arena-hero::after {
  opacity: 0.65;
}

.rules-arena-hero__copy,
.rules-arena-hero__brief,
.rules-tipbox {
  position: relative;
  z-index: 2;
}

.rules-arena-hero__copy {
  align-self: center;
}

.rules-scratch {
  display: block;
  color: #f1fff6;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.45rem, 2.25vw, 2.7rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.06em;
  text-shadow: 4px 0 0 rgba(255, 255, 255, 0.15), -10px 0 20px rgba(46, 255, 155, 0.16);
}

.rules-arena-hero h1 {
  margin: 4px 0 16px;
  max-width: 430px;
  color: #79ff2a;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(3.35rem, 6.75vw, 6.85rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0.03em;
  text-shadow:
    0 0 22px rgba(46, 255, 155, 0.28),
    8px 0 0 rgba(46, 255, 155, 0.07);
}

.rules-arena-hero__copy p {
  max-width: 310px;
  margin: 0;
  color: #d8eee5;
  font-weight: 700;
  line-height: 1.45;
}

.rules-arena-hero__copy p::after {
  content: "This is reputation warfare.";
  display: block;
  margin-top: 2px;
  color: var(--purple-soft);
}

.rules-arena-hero__corey {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: center;
  width: min(100%, 460px);
  max-height: 330px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 34px rgba(46, 255, 155, 0.28)) drop-shadow(0 0 30px rgba(180, 60, 255, 0.22));
}

.rules-arena-hero__brief {
  align-self: center;
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 330px;
}

.rules-arena-hero__brief small {
  color: #effff6;
  font-size: clamp(0.95rem, 1.25vw, 1.24rem);
}

.rules-arena-hero__brief strong {
  color: #78ff25;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.25rem, 3.75vw, 3.85rem);
  line-height: 0.82;
  text-shadow: 0 0 22px rgba(46, 255, 155, 0.35);
}

.rules-arena-hero__brief span {
  color: #d9e8e1;
  font-weight: 700;
  line-height: 1.55;
}

.rules-arena-hero__brief em {
  color: var(--purple-soft);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.56rem;
  font-weight: 800;
  font-style: normal;
  transform: rotate(-7deg);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.rules-tipbox {
  position: absolute;
  right: 22px;
  bottom: 28px;
  width: 235px;
  border: 1px solid rgba(180, 60, 255, 0.4);
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(180deg, rgba(46, 255, 155, 0.035) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(11, 8, 20, 0.94), rgba(3, 8, 9, 0.94));
  box-shadow: 0 0 26px rgba(180, 60, 255, 0.15), inset 0 0 24px rgba(46, 255, 155, 0.05);
}

.rules-tipbox .row {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(180, 60, 255, 0.24);
}

.rules-tipbox .row strong {
  color: var(--purple-soft);
  font-size: 0.8rem;
}

.rules-tipbox > small,
.rules-tipbox p,
.rules-tipbox__foot {
  padding-inline: 14px;
}

.rules-tipbox > small {
  display: block;
  margin-top: 18px;
  color: #668d7c;
}

.rules-tipbox p {
  margin: 8px 0 18px;
  color: #79ff2a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
}

.rules-tipbox__foot {
  display: flex;
  justify-content: space-between;
  padding-block: 10px 12px;
  border-top: 1px solid rgba(46, 255, 155, 0.12);
  color: #7b9288;
  font-size: 0.72rem;
}

.rules-tipbox__foot strong {
  color: var(--green);
}

.rules-section-head {
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 4px 18px 0;
}

.rules-section-head h2,
.rules-score-intro h2,
.rules-dont-card h2,
.rules-glory-card h2 {
  margin: 0;
  color: var(--green);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.38rem, 1.85vw, 1.9rem);
  line-height: 0.9;
  text-shadow: 0 0 18px rgba(46, 255, 155, 0.2);
}

.rules-section-head span,
.rules-score-intro small,
.rules-dont-card > small,
.rules-glory-card > small {
  color: #719184;
  font-size: 0.78rem;
  font-weight: 800;
}

.rules-commandments {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.rules-commandment {
  position: relative;
  min-height: 316px;
  overflow: hidden;
  padding: 17px 17px 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(46, 255, 155, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(6, 16, 13, 0.94), rgba(2, 8, 9, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rules-commandment::before,
.rules-trade-card::before,
.rules-factor-card::before,
.rules-dont-card::before,
.rules-glory-card::before,
.rules-score-intro::before {
  content: "";
  position: absolute;
  inset: -42% -28%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-64%) rotate(10deg);
  background: linear-gradient(110deg, transparent 34%, rgba(46, 255, 155, 0.08) 47%, rgba(180, 60, 255, 0.1) 54%, transparent 68%);
  transition: opacity 220ms ease, transform 540ms ease;
}

.rules-commandment:hover,
.rules-trade-card:hover,
.rules-factor-card:hover,
.rules-dont-card:hover,
.rules-glory-card:hover,
.rules-ranks div:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 255, 155, 0.48);
  box-shadow:
    0 0 0 1px rgba(46, 255, 155, 0.18),
    0 18px 52px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(46, 255, 155, 0.14),
    0 0 24px rgba(180, 60, 255, 0.12);
}

.rules-commandment:hover::before,
.rules-trade-card:hover::before,
.rules-factor-card:hover::before,
.rules-dont-card:hover::before,
.rules-glory-card:hover::before,
.rules-score-intro:hover::before {
  opacity: 1;
  transform: translateX(56%) rotate(10deg);
}

.rules-commandment--violet {
  border-color: rgba(180, 60, 255, 0.34);
  background:
    radial-gradient(circle at 50% 100%, rgba(180, 60, 255, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(11, 11, 22, 0.94), rgba(3, 8, 10, 0.96));
}

.rules-commandment--gold {
  border-color: rgba(255, 215, 106, 0.34);
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 215, 106, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(10, 13, 8, 0.94), rgba(3, 8, 10, 0.96));
}

.rules-commandment__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rules-commandment__top span,
.rules-commandment__top i {
  color: #78ff25;
  font-size: 1.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 18px rgba(46, 255, 155, 0.28);
}

.rules-commandment--violet .rules-commandment__top span,
.rules-commandment--violet .rules-commandment__top i {
  color: var(--purple-soft);
  text-shadow: 0 0 18px rgba(180, 60, 255, 0.35);
}

.rules-commandment h3 {
  position: relative;
  z-index: 3;
  margin: 0 0 12px;
  color: #effff6;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.16rem, 1.36vw, 1.45rem);
  line-height: 0.98;
}

.rules-commandment p {
  position: relative;
  z-index: 3;
  margin: 0;
  color: #9eb0a8;
  font-size: 0.84rem;
  line-height: 1.34;
  text-transform: none;
}

.rules-commandment img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -18px;
  width: min(92%, 190px);
  max-height: 156px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 18px rgba(46, 255, 155, 0.25)) drop-shadow(0 0 20px rgba(180, 60, 255, 0.16));
  transition: transform 220ms ease, filter 220ms ease;
}

.rules-commandment:hover img {
  transform: translateX(-50%) translateY(-6px) scale(1.04);
  filter: drop-shadow(0 0 22px rgba(46, 255, 155, 0.32)) drop-shadow(0 0 26px rgba(180, 60, 255, 0.22));
}

.rules-score-zone {
  display: grid;
  grid-template-columns: 1.02fr 1.35fr 1.35fr 1.28fr;
  gap: 14px;
}

.rules-score-intro,
.rules-trade-card,
.rules-factor-card,
.rules-dont-card,
.rules-glory-card,
.rules-final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(180, 60, 255, 0.14), transparent 38%),
    radial-gradient(circle at 12% 0%, rgba(46, 255, 155, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(7, 18, 15, 0.93), rgba(2, 8, 8, 0.94));
}

.rules-score-intro > *,
.rules-trade-card > *,
.rules-factor-card > *,
.rules-dont-card > *,
.rules-glory-card > * {
  position: relative;
  z-index: 2;
}

.rules-score-intro {
  padding: 22px;
}

.rules-score-intro p {
  margin: 28px 0 0;
  color: #9bada5;
  line-height: 1.5;
  text-transform: none;
}

.rules-trade-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px;
  min-height: 164px;
  padding: 18px 0 0 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rules-trade-card small,
.rules-factor-card h3 {
  color: var(--green);
  font-weight: 800;
}

.rules-trade-card h3 {
  margin: 12px 0 0;
  font-size: 1.22rem;
  color: var(--green);
}

.rules-trade-card strong {
  display: block;
  margin-top: 2px;
  color: #e9fff4;
  font-size: 1.02rem;
}

.rules-trade-card p {
  margin: 12px 0 0;
  color: #9daea6;
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: none;
}

.rules-trade-card img {
  align-self: end;
  justify-self: end;
  width: 148px;
  max-height: 146px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(46, 255, 155, 0.24));
  transition: transform 220ms ease, filter 220ms ease;
}

.rules-trade-card:hover img {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 0 24px rgba(46, 255, 155, 0.34)) drop-shadow(0 0 20px rgba(180, 60, 255, 0.2));
}

.rules-trade-card--bad {
  border-color: rgba(180, 60, 255, 0.35);
}

.rules-trade-card--bad small,
.rules-trade-card--bad h3 {
  color: var(--purple-soft);
}

.rules-trade-card--bad strong {
  color: #ff7a8b;
}

.rules-factor-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rules-factor-card h3 {
  margin: 0;
}

.rules-factor-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(46, 255, 155, 0.1);
}

.rules-factor-card span {
  color: var(--green);
  font-weight: 800;
}

.rules-factor-card strong {
  color: #879b92;
  font-size: 0.76rem;
}

.rules-lower-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.72fr);
  gap: 14px;
}

.rules-dont-card,
.rules-glory-card {
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rules-bad-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.rules-bad-list div {
  display: grid;
  grid-template-columns: 58px 1fr 30px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 77, 93, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 50%, rgba(180, 60, 255, 0.13), transparent 46%),
    rgba(4, 9, 10, 0.74);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rules-bad-list div:hover {
  transform: translateX(4px);
  border-color: rgba(255, 77, 93, 0.34);
  background:
    radial-gradient(circle at 0% 50%, rgba(180, 60, 255, 0.2), transparent 50%),
    rgba(5, 10, 12, 0.86);
}

.rules-bad-list img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(180, 60, 255, 0.2));
}

.rules-bad-list strong {
  display: block;
  color: #ff4d9a;
  font-size: 0.8rem;
}

.rules-bad-list small {
  display: block;
  margin-top: 3px;
  color: #9bada5;
  line-height: 1.22;
  text-transform: none;
}

.rules-bad-list b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 77, 93, 0.55);
  border-radius: 999px;
  color: var(--danger);
  font-weight: 800;
}

.rules-ranks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-top: 18px;
}

.rules-ranks div {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 16px;
  border: 1px solid rgba(46, 255, 155, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(9, 19, 17, 0.72), rgba(2, 8, 8, 0.94));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rules-ranks div::after {
  content: ">";
  position: absolute;
  right: -16px;
  top: 44%;
  z-index: 3;
  color: var(--green);
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 0 16px var(--green-glow);
}

.rules-ranks div:last-child::after {
  content: none;
}

.rules-ranks img {
  width: min(105%, 128px);
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(46, 255, 155, 0.2));
  transition: transform 220ms ease, filter 220ms ease;
}

.rules-ranks div:hover img {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 0 24px rgba(46, 255, 155, 0.3)) drop-shadow(0 0 18px rgba(180, 60, 255, 0.18));
}

.rules-ranks strong {
  color: #f1fff7;
  font-size: 1rem;
  text-align: center;
}

.rules-ranks span {
  color: #b1c1ba;
  font-size: 0.78rem;
}

.rules-ranks__legend {
  border-color: rgba(255, 215, 106, 0.46) !important;
  box-shadow: 0 0 28px rgba(255, 215, 106, 0.12);
}

.rules-ranks__legend strong,
.rules-ranks__legend span {
  color: var(--insider-gold);
}

.rules-final-cta {
  min-height: 116px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(220px, 310px);
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
}

.rules-final-cta img {
  width: 124px;
  height: 98px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(46, 255, 155, 0.22));
}

.rules-final-terminal {
  padding: 12px 18px;
  border: 1px solid rgba(46, 255, 155, 0.24);
  border-radius: 14px;
  background:
    repeating-linear-gradient(180deg, rgba(46, 255, 155, 0.035) 0 1px, transparent 1px 8px),
    rgba(2, 10, 8, 0.58);
}

.rules-final-terminal small {
  color: var(--green);
  font-weight: 800;
}

.rules-final-terminal strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  letter-spacing: 0.08em;
}

.rules-final-terminal span {
  color: #9bada5;
}

.rules-final-button {
  min-height: 58px;
  justify-content: center;
  font-size: 1.12rem;
}

.rules-arena-hero__corey,
.rules-tipbox,
.rules-final-cta img {
  animation: rules-soft-float 6.5s ease-in-out infinite;
}

.rules-tipbox {
  animation-delay: -2.2s;
}

.rules-final-cta img {
  animation-delay: -3.4s;
}

.rules-commandment__top i,
.rules-factor-card span {
  animation: rules-soft-pulse 3.8s ease-in-out infinite;
}

@keyframes rules-soft-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes rules-soft-pulse {
  0%,
  100% {
    opacity: 0.78;
    filter: drop-shadow(0 0 0 rgba(46, 255, 155, 0));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(46, 255, 155, 0.28));
  }
}

@media (max-width: 1180px) {
  .rules-arena-hero,
  .rules-score-zone,
  .rules-lower-grid {
    grid-template-columns: 1fr;
  }

  .rules-tipbox {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 320px);
  }

  .rules-commandments,
  .rules-ranks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rules-final-cta {
    grid-template-columns: 110px 1fr;
  }

  .rules-final-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .rules-arena-hero {
    min-height: auto;
  }

  .rules-commandments,
  .rules-ranks {
    grid-template-columns: 1fr;
  }

  .rules-trade-card,
  .rules-final-cta {
    grid-template-columns: 1fr;
  }

  .rules-trade-card img,
  .rules-final-cta img {
    justify-self: center;
  }
}

@keyframes trade-execution-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0) scale(0.82);
  }
  45% {
    opacity: 1;
    transform: translateY(-7px) scale(1.08);
  }
}

.first-run-tour {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  pointer-events: none;
}

.first-run-tour.is-open {
  display: block;
}

.first-run-tour.is-measuring {
  display: block;
  visibility: hidden;
}

.first-run-tour__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.first-run-tour__shade {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.first-run-tour__shade-fill {
  fill: rgba(0, 0, 0, 0.48);
}

.first-run-tour__frames {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.first-run-tour__frame {
  position: fixed;
  border: 2px solid rgba(49, 255, 151, 0.96);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(190, 255, 219, 0.28),
    0 0 24px rgba(47, 255, 151, 0.48),
    0 0 34px rgba(180, 60, 255, 0.26),
    inset 0 0 24px rgba(47, 255, 151, 0.1),
    inset 0 0 30px rgba(180, 60, 255, 0.06);
  animation: first-run-frame-pulse 1.45s ease-in-out infinite;
}

.first-run-tour__frame.is-primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(122, 255, 192, 0.32);
  animation: first-run-orbit 2s linear infinite;
}

.first-run-tour__card {
  position: fixed;
  max-width: 430px;
  padding: 17px;
  border-color: rgba(60, 255, 166, 0.44);
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 213, 139, 0.18), transparent 36%),
    radial-gradient(circle at 96% 4%, rgba(180, 60, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(5, 18, 15, 0.96), rgba(8, 8, 20, 0.96));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(47, 213, 139, 0.22),
    0 0 28px rgba(180, 60, 255, 0.18),
    inset 0 0 24px rgba(180, 60, 255, 0.06);
  pointer-events: auto;
  text-transform: none;
  letter-spacing: 0;
  animation: first-run-card-in 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.first-run-tour__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
}

.first-run-tour__eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(47, 213, 139, 0.78);
}

.first-run-tour__title {
  margin: 9px 34px 8px 0;
  color: var(--text);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.first-run-tour__body {
  margin: 0;
  color: rgba(214, 232, 224, 0.8);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.first-run-tour__actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: stretch;
  gap: 10px;
  margin-top: 15px;
}

.first-run-tour__actions .btn,
.first-run-tour__actions .chip {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  margin: 0;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.first-run-tour__actions .btn--primary {
  border-color: rgba(73, 255, 161, 0.86);
  background:
    radial-gradient(circle at 90% 0%, rgba(216, 117, 255, 0.28), transparent 38%),
    linear-gradient(90deg, #29f978, #5dffb6 58%, var(--purple-soft));
  box-shadow:
    0 0 22px rgba(33, 255, 143, 0.34),
    0 0 20px rgba(180, 60, 255, 0.22);
}

.first-run-tour__actions .chip {
  border-color: rgba(127, 42, 179, 0.58);
  color: rgba(216, 245, 231, 0.82);
  background:
    radial-gradient(circle at 90% 0%, rgba(180, 60, 255, 0.17), transparent 42%),
    linear-gradient(180deg, rgba(8, 20, 16, 0.96), rgba(4, 8, 12, 0.96));
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.52), 0 0 14px rgba(180, 60, 255, 0.14);
}

.first-run-tour__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 80% 0%, rgba(180, 60, 255, 0.2), transparent 42%),
    rgba(6, 10, 15, 0.74);
  color: #d9f7e9;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.first-run-tour__skip {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(185, 203, 196, 0.74);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.first-run-tour__skip:hover,
.first-run-tour__close:hover {
  color: var(--green);
}

@keyframes first-run-card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes first-run-frame-pulse {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.22);
    transform: scale(1.01);
  }
}

@keyframes first-run-orbit {
  from {
    opacity: 0.28;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.02);
  }
  to {
    opacity: 0.28;
    transform: scale(0.98);
  }
}

@media (max-width: 720px) {
  .first-run-tour__card {
    left: 14px !important;
    right: 14px;
    bottom: 14px;
    top: auto !important;
    width: auto !important;
  }

  .first-run-tour__actions {
    grid-template-columns: 1fr;
  }
}

/* Public alpha landing */
.landing-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 7%, rgba(46, 255, 155, 0.13), transparent 25%),
    radial-gradient(circle at 88% 15%, rgba(108, 246, 255, 0.11), transparent 24%),
    radial-gradient(circle at 62% 72%, rgba(255, 215, 106, 0.06), transparent 28%),
    linear-gradient(135deg, rgba(46, 255, 155, 0.01) 0 1px, transparent 1px 64px),
    linear-gradient(180deg, #020608, #04080b 48%, #020405);
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.landing-shell::before,
.landing-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(12px);
}

.landing-shell::before {
  width: 440px;
  height: 440px;
  left: -180px;
  top: 120px;
  background: radial-gradient(circle, rgba(25, 255, 122, 0.11), transparent 66%);
  animation: landing-orb 9s ease-in-out infinite;
}

.landing-shell::after {
  width: 520px;
  height: 520px;
  right: -220px;
  top: 26%;
  background: radial-gradient(circle, rgba(108, 246, 255, 0.08), transparent 64%);
  animation: landing-orb 11s ease-in-out infinite reverse;
}

.landing-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  min-height: 68px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-brand {
  min-width: max-content;
}

.landing-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #9fb0aa;
  font-weight: 700;
  font-size: 0.84rem;
}

.landing-nav__links a {
  transition: color 160ms ease, text-shadow 160ms ease;
}

.landing-nav__links a:hover {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(25, 255, 122, 0.45);
}

.landing-nav__app {
  padding: 10px 13px;
  border: 1px solid rgba(46, 255, 155, 0.34);
  border-radius: 999px;
  background: rgba(25, 255, 122, 0.06);
  color: #caffe0;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: 26px;
  align-items: start;
  min-height: min(820px, calc(100vh - 126px));
  padding: 42px 0 26px;
}

.landing-hero__copy {
  animation: landing-rise 620ms ease both;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 0 18px rgba(46, 255, 155, 0.28);
}

.landing-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(46, 255, 155, 0.9);
}

.landing-hero h1,
.landing-section h2 {
  margin: 14px 0 0;
  max-width: 780px;
  color: #edfff7;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(3rem, 6.7vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: 0.055em;
  text-wrap: balance;
  text-shadow:
    0 0 22px rgba(46, 255, 155, 0.14),
    0 24px 80px rgba(0, 0, 0, 0.72);
}

.landing-section h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.92;
}

.landing-hero p,
.landing-section p,
.landing-alpha p {
  max-width: 680px;
  color: #a8bab1;
  font-size: 1.02rem;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: 0.01em;
}

.landing-hero__actions,
.landing-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.landing-cta {
  min-width: 186px;
  justify-content: center;
}

.landing-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.landing-trust-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(46, 255, 155, 0.2);
  border-radius: 999px;
  background: rgba(5, 16, 13, 0.74);
  color: #c7f9df;
  font-size: 0.76rem;
  font-weight: 700;
}

.landing-terminal {
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
  border-color: rgba(46, 255, 155, 0.34);
  background:
    radial-gradient(circle at 22% 0%, rgba(46, 255, 155, 0.14), transparent 30%),
    radial-gradient(circle at 90% 30%, rgba(108, 246, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(7, 18, 22, 0.96), rgba(2, 7, 10, 0.94));
  animation: landing-rise 780ms 120ms ease both, landing-float 5.8s ease-in-out infinite;
}

.landing-terminal::after {
  opacity: 1;
  background:
    linear-gradient(120deg, transparent 0%, rgba(46, 255, 155, 0.08) 45%, transparent 58%),
    radial-gradient(circle at 100% 0%, rgba(180, 60, 255, 0.08), transparent 38%);
  animation: landing-scan 3.6s ease-in-out infinite;
}

.landing-terminal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: #a9fbd2;
}

.landing-terminal__top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(46, 255, 155, 0.9);
}

.landing-terminal__top small {
  padding: 6px 9px;
  border: 1px solid rgba(46, 255, 155, 0.24);
  border-radius: 999px;
  color: #78c79d;
  font-weight: 700;
}

.landing-rank-card,
.landing-duel,
.landing-feed {
  border: 1px solid rgba(46, 255, 155, 0.18);
  border-radius: 18px;
  background: rgba(2, 9, 10, 0.64);
  box-shadow: inset 0 0 26px rgba(46, 255, 155, 0.035);
}

.landing-rank-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.landing-rank-card small,
.landing-duel small,
.landing-feed span,
.landing-form label {
  color: #8fa49a;
  font-weight: 700;
}

.landing-rank-card strong {
  display: block;
  margin-top: 6px;
  color: #effff8;
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.landing-duel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
}

.landing-duel > div {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 255, 155, 0.1), transparent 54%),
    rgba(255, 255, 255, 0.025);
}

.landing-duel strong {
  color: #eafff3;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.08em;
}

.landing-duel b {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(46, 255, 155, 0.55);
}

.landing-duel span {
  color: #8bf7bf;
  font-weight: 700;
}

.landing-feed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
}

.landing-feed div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.landing-feed strong {
  color: #edfdf5;
}

.landing-section {
  margin-top: 26px;
}

.landing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-metrics article,
.landing-steps article,
.landing-rule-grid article {
  padding: 20px;
}

.landing-metrics strong,
.landing-steps strong,
.landing-rule-grid strong {
  display: block;
  margin-top: 8px;
  color: #edfff7;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.landing-metrics p,
.landing-steps p,
.landing-rule-grid p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.landing-product-frame {
  position: relative;
  z-index: 3;
  align-self: start;
  margin-top: 38px;
  opacity: 1;
  padding: 14px;
  overflow: hidden;
  border-color: rgba(46, 255, 155, 0.36);
  background:
    radial-gradient(circle at 24% 0%, rgba(46, 255, 155, 0.15), transparent 31%),
    radial-gradient(circle at 92% 20%, rgba(180, 60, 255, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(6, 18, 22, 0.96), rgba(2, 7, 10, 0.94));
  animation: landing-float 5.8s ease-in-out infinite;
}

.landing-product-frame::after {
  opacity: 1;
  background:
    linear-gradient(118deg, transparent 0%, rgba(46, 255, 155, 0.08) 48%, transparent 62%),
    radial-gradient(circle at 100% 0%, rgba(180, 60, 255, 0.08), transparent 38%);
  animation: landing-scan 3.8s ease-in-out infinite;
}

.landing-product-frame__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #a9fbd2;
}

.landing-product-frame__chrome span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(46, 255, 155, 0.9);
}

.landing-product-frame__chrome small {
  padding: 6px 9px;
  border: 1px solid rgba(46, 255, 155, 0.24);
  border-radius: 999px;
  color: #78c79d;
  font-weight: 700;
}

.landing-product-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 255, 155, 0.2);
  border-radius: 18px;
  background: #020607;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.58),
    0 0 28px rgba(46, 255, 155, 0.12);
}

.landing-product-shot img,
.landing-preview-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-shot-button {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 255, 155, 0.07), transparent 48%),
    #010506;
  color: inherit;
  cursor: zoom-in;
}

.landing-shot-button:focus-visible {
  outline: 2px solid rgba(46, 255, 155, 0.78);
  outline-offset: -4px;
}

.landing-product-shot--hero {
  aspect-ratio: 1.82 / 1;
}

.landing-product-shot--hero img {
  object-position: 50% 0%;
  transform: scale(0.96);
  filter: saturate(1.2) contrast(1.13) brightness(1.2);
}

.landing-product-shot figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid rgba(46, 255, 155, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(2, 8, 9, 0.92), rgba(2, 8, 9, 0.66)),
    radial-gradient(circle at 100% 0%, rgba(46, 255, 155, 0.12), transparent 44%);
  backdrop-filter: blur(12px);
}

.landing-product-shot figcaption strong {
  color: #eafff3;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.28rem;
}

.landing-product-shot figcaption span {
  color: #9fb0aa;
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: none;
}

.landing-preview {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.landing-preview-card {
  overflow: hidden;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto;
  grid-column: span 6;
  transform: translateZ(0);
}

.landing-preview-card::after {
  opacity: 1;
}

.landing-preview-card--wide {
  grid-column: span 12;
  min-height: 0;
}

.landing-preview-card .landing-shot-button {
  aspect-ratio: 16 / 9;
  height: auto;
  padding: 10px;
  overflow: hidden;
}

.landing-preview-card--wide .landing-shot-button {
  aspect-ratio: 21 / 10;
}

.landing-preview-card img {
  min-height: 0;
  object-position: 50% 0%;
  transform: scale(0.9);
  filter: saturate(1.06) contrast(1.03);
  transition: transform 360ms ease, filter 360ms ease;
}

.landing-preview-card--wide img {
  object-position: 50% 0%;
  transform: scale(0.88);
}

.landing-preview-card:hover img {
  transform: scale(0.94);
  filter: saturate(1.18) contrast(1.08);
}

.landing-preview-card--wide:hover img {
  transform: scale(0.92);
}

.landing-preview-card > div {
  display: grid;
  gap: 4px;
  padding: 13px 15px 15px;
  border-top: 1px solid rgba(46, 255, 155, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 255, 155, 0.08), transparent 42%),
    rgba(2, 8, 9, 0.84);
}

.landing-preview-card small {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.landing-preview-card strong {
  color: #edfff7;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.42rem;
  line-height: 1;
}

.landing-preview-card p {
  margin: 0;
  color: #9fb0aa;
  font-size: 0.84rem;
  line-height: 1.38;
}

.landing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.landing-lightbox.is-open {
  display: flex;
}

.landing-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(46, 255, 155, 0.14), transparent 34%),
    rgba(0, 3, 5, 0.86);
  backdrop-filter: blur(16px);
}

.landing-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 1500px);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(46, 255, 155, 0.38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 255, 155, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(5, 15, 17, 0.98), rgba(1, 5, 7, 0.98));
  box-shadow:
    0 0 0 1px rgba(46, 255, 155, 0.12),
    0 34px 120px rgba(0, 0, 0, 0.78),
    0 0 46px rgba(46, 255, 155, 0.18);
  animation: landing-lightbox-in 180ms ease both;
}

.landing-lightbox__top {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  border-bottom: 1px solid rgba(46, 255, 155, 0.18);
}

.landing-lightbox__top strong {
  color: #eafff3;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.landing-lightbox__top button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(46, 255, 155, 0.34);
  border-radius: 13px;
  background: rgba(2, 8, 9, 0.84);
  color: #caffe0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.landing-lightbox__top button:hover {
  border-color: rgba(46, 255, 155, 0.72);
  box-shadow: 0 0 24px rgba(46, 255, 155, 0.22);
}

.landing-lightbox__dialog img {
  width: 100%;
  height: 100%;
  max-height: calc(92vh - 58px);
  display: block;
  object-fit: contain;
  padding: 12px;
  background: #010506;
}

.landing-lightbox-open {
  overflow: hidden;
}

@keyframes landing-lightbox-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
  align-items: start;
  padding-top: 44px;
}

.landing-steps {
  display: grid;
  gap: 12px;
}

.landing-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
}

.landing-steps span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(46, 255, 155, 0.18), rgba(108, 246, 255, 0.08));
  color: var(--accent);
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(46, 255, 155, 0.06);
}

.landing-section__head {
  margin-bottom: 16px;
}

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

.landing-alpha {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 40px;
  padding: 24px;
  overflow: hidden;
}

.landing-alpha::after {
  opacity: 1;
}

.landing-form {
  display: grid;
  gap: 12px;
}

.landing-form label {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
}

.landing-form input,
.landing-form textarea,
.landing-form select {
  width: 100%;
  border: 1px solid rgba(46, 255, 155, 0.2);
  border-radius: 14px;
  background: rgba(2, 8, 9, 0.74);
  color: #edfff7;
  font: inherit;
  padding: 12px 13px;
  outline: none;
  text-transform: none;
}

.landing-form input:focus,
.landing-form textarea:focus,
.landing-form select:focus {
  border-color: rgba(46, 255, 155, 0.58);
  box-shadow: 0 0 0 3px rgba(46, 255, 155, 0.08);
}

.landing-form textarea {
  resize: vertical;
  min-height: 112px;
}

.landing-form__status {
  min-height: 22px;
  margin: 4px 0 0;
  color: #9fb0aa;
  font-size: 0.86rem;
  text-transform: none;
}

.landing-form__status.is-success {
  color: #7dffb4;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  color: #7f9189;
  font-size: 0.78rem;
  font-weight: 700;
}

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes landing-scan {
  0%,
  100% {
    transform: translateX(-24%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(24%);
    opacity: 0.75;
  }
}

@keyframes landing-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -20px, 0) scale(1.08);
  }
}

@media (max-width: 980px) {
  .landing-nav {
    position: relative;
    top: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-nav__links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .landing-hero,
  .landing-split,
  .landing-alpha {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .landing-terminal {
    min-height: auto;
  }

  .landing-preview {
    grid-template-columns: 1fr;
  }

  .landing-preview-card,
  .landing-preview-card--wide {
    min-height: 0;
    grid-row: auto;
    grid-column: auto;
  }

  .landing-preview-card .landing-shot-button,
  .landing-preview-card--wide .landing-shot-button {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 680px) {
  .landing-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 10px;
  }

  .landing-nav__links {
    gap: 12px;
    font-size: 0.76rem;
  }

  .landing-hero h1 {
    font-size: clamp(2.55rem, 15vw, 4.3rem);
  }

  .landing-hero p,
  .landing-section p,
  .landing-alpha p {
    font-size: 0.96rem;
  }

  .landing-metrics,
  .landing-rule-grid,
  .landing-rank-card {
    grid-template-columns: 1fr;
  }

  .landing-product-frame {
    padding: 10px;
  }

  .landing-product-frame__chrome {
    font-size: 0.78rem;
  }

  .landing-product-frame__chrome small {
    display: none;
  }

  .landing-product-shot--hero {
    aspect-ratio: 1.22 / 1;
  }

  .landing-preview-card .landing-shot-button,
  .landing-preview-card--wide .landing-shot-button {
    aspect-ratio: 1.42 / 1;
    padding: 7px;
  }

  .landing-lightbox {
    padding: 10px;
  }

  .landing-lightbox__dialog {
    width: 96vw;
    border-radius: 18px;
  }

  .landing-duel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-duel > div {
    min-height: 96px;
  }

  .landing-alpha {
    padding: 18px;
  }

  .landing-form__actions .btn {
    width: 100%;
  }
}

/* Duel Arena */
.duel-shell { max-width: 1720px; }

.duel-arena {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 820px;
  padding: 14px 22px 14px;
  border: 1px solid rgba(46, 255, 155, 0.28);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 255, 155, 0.14), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(180, 60, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(4, 9, 12, 0.96), rgba(2, 6, 9, 0.96));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.62), inset 0 0 80px rgba(46, 255, 155, 0.05);
}

.duel-arena::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(46, 255, 155, 0.12), transparent 24%, transparent 76%, rgba(180, 60, 255, 0.14)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
  opacity: 0.28;
}

.duel-arena > * {
  position: relative;
  z-index: 1;
}

.duel-arena__top {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(200px, auto) minmax(260px, 1fr);
  gap: 12px;
  align-items: start;
}

.duel-title strong,
.duel-section-heading strong {
  display: block;
  color: var(--green-3);
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.duel-title span,
.duel-section-heading span,
.duel-timer span,
.duel-match-label span {
  color: var(--muted);
  font-size: 0.64rem;
}

.duel-timer {
  display: grid;
  justify-items: center;
  gap: 1px;
  text-align: center;
}

.duel-timer small {
  color: var(--text);
  font-size: 0.74rem;
}

.duel-timer strong {
  color: var(--green);
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: 2.05rem;
  line-height: 0.9;
  text-shadow: 0 0 20px rgba(46, 255, 155, 0.32);
}

.duel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.duel-actions .chip {
  min-height: 30px;
  border-color: rgba(180, 60, 255, 0.34);
  color: var(--text);
}

.duel-scoreboard {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 500px) minmax(240px, 1fr);
  gap: 12px;
  margin: 10px -22px 0;
  border-top: 1px solid rgba(46, 255, 155, 0.18);
  border-bottom: 1px solid rgba(180, 60, 255, 0.18);
  background: linear-gradient(90deg, rgba(46, 255, 155, 0.12), rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.16) 66%, rgba(180, 60, 255, 0.14));
}

.duel-player {
  display: grid;
  gap: 9px;
  min-height: 118px;
  padding: 14px 26px;
}

.duel-player--you { clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%); }
.duel-player--rival {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  justify-items: end;
  text-align: right;
}

.duel-player__identity,
.duel-name-row,
.duel-player__stats {
  display: flex;
  align-items: center;
}

.duel-player__identity { gap: 10px; }
.duel-player--rival .duel-player__identity,
.duel-player--rival .duel-player__stats { justify-content: flex-end; }
.duel-name-row { gap: 8px; }
.duel-name-row strong { color: var(--text); font-size: 0.94rem; }

.duel-name-row span {
  padding: 2px 7px;
  border: 1px solid rgba(180, 60, 255, 0.48);
  border-radius: 7px;
  color: var(--purple-soft);
  background: rgba(180, 60, 255, 0.24);
  font-size: 0.58rem;
  font-weight: 800;
}

.duel-rank-photo {
  width: 62px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(46, 255, 155, 0.25), transparent 44%), linear-gradient(180deg, rgba(8, 15, 20, 0.9), rgba(2, 7, 10, 0.98));
  filter: drop-shadow(0 0 22px rgba(46, 255, 155, 0.34));
}

.duel-rank-photo img { width: 55px; height: 64px; object-fit: contain; }
.duel-rival-badge img {
  width: 66px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(180, 60, 255, 0.4));
}

.duel-player__stats { gap: 18px; }
.duel-player__stats small {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
}

.duel-player__stats strong { color: var(--text); font-size: 0.86rem; }

.duel-round-score {
  align-self: end;
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(46, 255, 155, 0.16);
  padding-top: 8px;
}

.duel-round-score strong {
  color: var(--purple-soft);
  font-size: 1.35rem;
  text-shadow: 0 0 18px rgba(180, 60, 255, 0.42);
}

.duel-player--you .duel-round-score strong {
  color: var(--green);
  text-shadow: 0 0 18px rgba(46, 255, 155, 0.36);
}

.duel-rounds {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 10px 10px;
}

.duel-match-label { display: grid; justify-items: center; gap: 2px; }
.duel-match-label strong { color: var(--text); letter-spacing: 0.12em; }

.duel-round-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(52px, 1fr));
  gap: 12px;
  width: min(100%, 420px);
}

.duel-round-track button {
  min-height: 48px;
  border: 1px solid rgba(160, 178, 169, 0.16);
  border-radius: 10px;
  color: var(--text);
  background: radial-gradient(circle at 50% 0%, rgba(46, 255, 155, 0.08), transparent 48%), rgba(5, 12, 15, 0.86);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

.duel-round-track button.is-active {
  border-color: rgba(46, 255, 155, 0.74);
  color: var(--green-3);
  box-shadow: 0 0 20px rgba(46, 255, 155, 0.24), inset 0 0 18px rgba(46, 255, 155, 0.13);
}

.duel-round-track button.is-win {
  border-color: rgba(46, 255, 155, 0.72);
  color: var(--green);
  background: rgba(46, 255, 155, 0.12);
}

.duel-round-track button.is-loss {
  border-color: rgba(216, 117, 255, 0.55);
  color: var(--purple-soft);
  background: rgba(180, 60, 255, 0.14);
}

.duel-round-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.56rem;
}

.duel-round-legend span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.duel-round-legend .is-win { background: var(--green); }
.duel-round-legend .is-loss { background: var(--purple-soft); }
.duel-round-legend .is-pending { border: 1px solid rgba(160, 178, 169, 0.5); }

.duel-token-stage {
  display: grid;
  gap: 10px;
  padding: 10px 0 12px;
}

.duel-section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.duel-token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.duel-token-grid.is-locked {
  width: min(100%, 1320px);
  margin-inline: auto;
  grid-template-columns: minmax(560px, 1fr) minmax(320px, 380px);
  align-items: stretch;
  gap: 12px;
}

.duel-token-grid.is-multi-locked {
  width: min(100%, 1460px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(310px, 350px);
}

.duel-token-grid.is-lifecycle {
  width: min(100%, 860px);
  margin-inline: auto;
  grid-template-columns: 1fr;
}

.duel-token {
  min-width: 0;
  min-height: 412px;
  display: grid;
  position: relative;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  gap: 6px 10px;
  padding: 14px;
  border: 1px solid rgba(160, 178, 169, 0.2);
  border-radius: 9px;
  background: radial-gradient(circle at 100% 0%, rgba(180, 60, 255, 0.12), transparent 42%), linear-gradient(180deg, rgba(7, 15, 18, 0.92), rgba(3, 9, 11, 0.95));
  cursor: pointer;
}

.duel-token--locked {
  min-height: 408px;
}

.duel-token.is-selected {
  border-color: rgba(46, 255, 155, 0.82);
  box-shadow: 0 0 0 1px rgba(46, 255, 155, 0.25), 0 0 24px rgba(46, 255, 155, 0.18);
}

.duel-token__select-badge {
  position: absolute;
  top: 44px;
  right: 14px;
  z-index: 3;
  padding: 4px 8px;
  border: 1px solid rgba(46, 255, 155, 0.48);
  border-radius: 999px;
  color: #06100b;
  background: linear-gradient(135deg, #82ff7d, #2eff9b);
  box-shadow: 0 0 16px rgba(46, 255, 155, 0.24);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.duel-token .token-logo {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.duel-token__head {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: center;
  white-space: nowrap;
}

.duel-token__head strong {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1;
}

.duel-token__head small {
  min-width: 0;
  max-width: 92px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1;
  text-overflow: ellipsis;
}

.duel-token__head em {
  justify-self: start;
  padding: 2px 5px;
  border: 1px solid rgba(46, 255, 155, 0.36);
  border-radius: 5px;
  color: var(--green-3);
  background: rgba(46, 255, 155, 0.1);
  font-size: 0.52rem;
  font-style: normal;
  line-height: 1;
}

.duel-token__head em.is-hot { border-color: rgba(255, 73, 102, 0.42); color: #ff8095; background: rgba(255, 73, 102, 0.12); }
.duel-token__head em.is-new { border-color: rgba(216, 117, 255, 0.42); color: var(--purple-soft); background: rgba(180, 60, 255, 0.12); }
.duel-token > b {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  font-size: 0.8rem;
  white-space: nowrap;
}

.duel-token > span:not(.token-logo) {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  color: var(--muted);
  font-size: 0.6rem;
  white-space: nowrap;
}

.duel-token__chart {
  grid-column: 1 / -1;
  position: relative;
  min-height: 284px;
  border: 1px solid rgba(46, 255, 155, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(2, 9, 10, 0.92);
}

.duel-token__chart iframe {
  width: 100%;
  height: 306px;
  border: 0;
  display: block;
}

.duel-token--locked .duel-token__chart {
  min-height: 308px;
}

.duel-token--locked .duel-token__chart iframe {
  height: 330px;
}

.duel-token__chart a {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid rgba(46, 255, 155, 0.28);
  border-radius: 6px;
  color: var(--green-3);
  background: rgba(3, 9, 11, 0.82);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.duel-token__chart-empty,
.duel-token-empty {
  min-height: 118px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.duel-matchmaking-card {
  min-height: 236px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(46, 255, 155, 0.22);
  border-radius: 9px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(46, 255, 155, 0.14), transparent 38%), linear-gradient(135deg, rgba(2, 20, 17, 0.96), rgba(21, 8, 34, 0.94));
}

.duel-matchmaking-card span {
  color: var(--green-3);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.duel-matchmaking-card strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.duel-matchmaking-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.duel-position-card {
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(180, 60, 255, 0.3);
  border-radius: 9px;
  background: radial-gradient(circle at 100% 0%, rgba(180, 60, 255, 0.22), transparent 42%), linear-gradient(180deg, rgba(7, 14, 18, 0.94), rgba(3, 8, 11, 0.98));
  box-shadow: inset 0 0 36px rgba(180, 60, 255, 0.06);
}

.duel-position-card__step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.duel-position-card__step span {
  padding: 3px 7px;
  border: 1px solid rgba(180, 60, 255, 0.45);
  border-radius: 6px;
  color: var(--purple-soft);
  background: rgba(180, 60, 255, 0.14);
  font-size: 0.6rem;
  font-weight: 800;
}

.duel-position-card__step strong,
.duel-position-card__token strong {
  color: var(--text);
}

.duel-position-card__token {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(46, 255, 155, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.duel-position-card__token > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.duel-position-card__token small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.duel-position-card__pnl {
  padding: 12px 10px;
  border: 1px solid rgba(46, 255, 155, 0.12);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.24);
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 0.95;
  text-align: center;
}

.duel-position-card__pnl small {
  display: block;
  margin-top: 5px;
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.duel-position-card__setups {
  display: grid;
  gap: 6px;
}

.duel-position-card__setups button {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(46, 255, 155, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
  font: inherit;
  text-align: left;
}

.duel-position-card__setups button:not(:disabled) {
  cursor: pointer;
}

.duel-position-card__setups button:not(:disabled):hover {
  border-color: rgba(46, 255, 155, 0.55);
  box-shadow: 0 0 18px rgba(46, 255, 155, 0.12);
}

.duel-position-card__setups button:disabled {
  opacity: 0.72;
}

.duel-position-card__setups span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.duel-position-card__setups strong,
.duel-position-card__setups b {
  color: var(--text);
}

.duel-position-card__setups small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.6rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.duel-position-card__open-list {
  display: grid;
  gap: 6px;
}

.duel-position-card__open-list p,
.duel-position-card__open-list div {
  min-width: 0;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(160, 178, 169, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.62rem;
}

.duel-position-card__open-list div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}

.duel-position-card__open-list div > strong {
  grid-column: 1 / -1;
  color: var(--text);
  font-size: 0.78rem;
}

.duel-position-card__open-list button {
  grid-column: 1 / -1;
  min-height: 28px;
  border: 1px solid rgba(216, 117, 255, 0.38);
  border-radius: 7px;
  color: var(--purple-soft);
  background: rgba(180, 60, 255, 0.1);
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.duel-position-card__open-list button:not(:disabled) {
  cursor: pointer;
}

.duel-position-card__open-list button:not(:disabled):hover {
  border-color: rgba(216, 117, 255, 0.72);
  box-shadow: 0 0 16px rgba(180, 60, 255, 0.16);
}

.duel-position-card__open-list button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.duel-position-card__open-list span {
  min-width: 0;
}

.duel-position-card__open-list b {
  color: var(--text);
}

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

.duel-position-card__stats span {
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(160, 178, 169, 0.12);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.62rem;
}

.duel-position-card__stats b {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 0.78rem;
}

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

.duel-position-card__actions .btn {
  width: 100%;
  min-height: 36px;
}

.duel-position-card__actions .btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.duel-token dl {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding-top: 1px;
}

.duel-token dl div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.duel-token dt {
  color: var(--muted);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.duel-token dd {
  margin: 0;
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 800;
}

.duel-token dl div:nth-child(n + 5) dd { color: var(--green-3); }

.duel-token-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  border: 1px dashed rgba(46, 255, 155, 0.22);
  border-radius: 10px;
  background: rgba(2, 9, 10, 0.5);
}

.duel-lifecycle-card {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(46, 255, 155, 0.32);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 255, 155, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(6, 16, 17, 0.96), rgba(2, 7, 10, 0.98));
  box-shadow: 0 0 36px rgba(46, 255, 155, 0.12), inset 0 0 60px rgba(46, 255, 155, 0.04);
  text-align: center;
}

.duel-lifecycle-card.is-loss {
  border-color: rgba(216, 117, 255, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 60, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(11, 9, 18, 0.96), rgba(2, 7, 10, 0.98));
  box-shadow: 0 0 36px rgba(180, 60, 255, 0.12), inset 0 0 60px rgba(180, 60, 255, 0.05);
}

.duel-lifecycle-card__kicker {
  padding: 4px 9px;
  border: 1px solid rgba(160, 178, 169, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.duel-lifecycle-card > strong {
  color: var(--green);
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: 2.5rem;
  line-height: 0.9;
  text-shadow: 0 0 22px rgba(46, 255, 155, 0.32);
  text-transform: uppercase;
}

.duel-lifecycle-card.is-loss > strong {
  color: var(--purple-soft);
  text-shadow: 0 0 22px rgba(180, 60, 255, 0.34);
}

.duel-lifecycle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.duel-lifecycle-card__score {
  width: min(100%, 540px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.duel-lifecycle-card__score span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(160, 178, 169, 0.14);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
}

.duel-lifecycle-card__score small,
.duel-lifecycle-card__score em {
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  text-transform: uppercase;
}

.duel-lifecycle-card__score b,
.duel-lifecycle-card__score i {
  color: var(--text);
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 800;
}

.duel-lifecycle-card__score i {
  color: var(--green-3);
  font-size: 1.55rem;
}

.duel-lifecycle-card__rounds {
  width: min(100%, 460px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.duel-lifecycle-card__rounds span {
  display: grid;
  gap: 2px;
  padding: 8px 6px;
  border: 1px solid rgba(160, 178, 169, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.duel-lifecycle-card__rounds span.is-win {
  border-color: rgba(46, 255, 155, 0.42);
  color: var(--green);
}

.duel-lifecycle-card__rounds span.is-loss {
  border-color: rgba(216, 117, 255, 0.42);
  color: var(--purple-soft);
}

.duel-lifecycle-card__rounds b {
  color: var(--text);
  font-size: 0.72rem;
}

.duel-lifecycle-card__rounds small {
  color: currentColor;
  font-size: 0.62rem;
  font-weight: 800;
}

.duel-lifecycle-card__actions {
  display: flex;
  justify-content: center;
}

.duel-lifecycle-card__actions .btn {
  min-width: 170px;
}

.duel-auto-pick {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 18px;
  align-items: center;
  width: min(740px, 100%);
  justify-self: center;
}

.duel-auto-pick span {
  height: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(45deg, rgba(3, 17, 9, 0.42) 0 8px, transparent 8px 14px), linear-gradient(90deg, var(--green), rgba(46, 255, 155, 0.28));
}

.duel-auto-pick small { color: var(--muted); }
.duel-auto-pick b { color: var(--green); }

.duel-feed-up b,
.duel-feed-up { color: var(--green-3) !important; }
.duel-feed-down b,
.duel-feed-down { color: var(--purple-soft) !important; }
.duel-feed-warn b,
.duel-feed-warn { color: #ffe66d !important; }

.duel-chat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto minmax(220px, 0.48fr);
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(46, 255, 155, 0.14);
}

.duel-chat div,
.duel-chat p,
.duel-chat label {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(46, 255, 155, 0.14);
  border-radius: 7px;
  background: rgba(3, 9, 12, 0.8);
}

.duel-chat div strong { color: var(--green-3); }
.duel-chat div span {
  padding: 2px 5px;
  border-radius: 5px;
  color: #031109;
  background: var(--green);
  font-size: 0.58rem;
  font-weight: 800;
}

.duel-chat p {
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: none;
}

.duel-chat p b { color: var(--green-3); }
.duel-chat label { padding-right: 6px; }
.duel-chat input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  text-transform: none;
}

.duel-chat button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
}

@media (max-width: 1380px) {
  .duel-chat { grid-template-columns: auto 1fr; }
}

@media (max-width: 1180px) {
  .duel-token-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .duel-arena__top,
  .duel-scoreboard {
    grid-template-columns: 1fr;
  }

  .duel-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .duel-player,
  .duel-player--rival {
    clip-path: none;
    justify-items: start;
    text-align: left;
  }

  .duel-player--rival .duel-player__identity,
  .duel-player--rival .duel-player__stats {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .duel-token-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .duel-arena { padding: 14px; }
  .duel-round-track {
    grid-template-columns: repeat(5, minmax(42px, 1fr));
    gap: 8px;
  }
  .duel-round-track button { min-height: 54px; }
  .duel-token dl,
  .duel-chat { grid-template-columns: 1fr; }
}

/* Ranking Arena */
.rankings-shell {
  max-width: 1840px;
}

.ranking-arena-layout {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr) clamp(300px, 20vw, 340px);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.ranking-arena-rail,
.ranking-arena-side {
  min-width: 0;
  position: sticky;
  top: 14px;
}

.ranking-arena-rail {
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 12px;
  background:
    radial-gradient(circle at 18% 0%, rgba(46, 255, 155, 0.17), transparent 28%),
    radial-gradient(circle at 80% 6%, rgba(180, 60, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(3, 8, 11, 0.98), rgba(2, 6, 8, 0.95));
}

.ranking-arena-rail__hero {
  min-height: 230px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border: 1px solid rgba(180, 60, 255, 0.22);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 20%, rgba(180, 60, 255, 0.28), transparent 40%),
    radial-gradient(circle at 48% 72%, rgba(46, 255, 155, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(3, 11, 12, 0.6), rgba(4, 7, 11, 0.94));
}

.ranking-arena-rail__hero img {
  width: 118%;
  max-width: none;
  margin: -10px -20px -28px;
  filter:
    drop-shadow(0 0 26px rgba(46, 255, 155, 0.28))
    drop-shadow(0 0 28px rgba(180, 60, 255, 0.24));
}

.ranking-corey-terminal {
  padding: 13px 14px;
  border: 1px solid rgba(155, 255, 114, 0.36);
  border-radius: 11px;
  background:
    repeating-linear-gradient(0deg, rgba(46, 255, 155, 0.045) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, rgba(46, 255, 155, 0.08), rgba(180, 60, 255, 0.05));
  box-shadow: inset 0 0 22px rgba(46, 255, 155, 0.08);
}

.ranking-corey-terminal strong,
.ranking-season-pass small,
.ranking-arena-hero__copy small,
.ranking-player-card small {
  color: var(--green-3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ranking-corey-terminal p {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.ranking-corey-terminal em {
  display: block;
  color: var(--purple-soft);
  font-style: normal;
  text-align: right;
}

.ranking-rail-nav {
  display: grid;
  gap: 4px;
}

.ranking-rail-nav a {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.ranking-rail-nav a:hover,
.ranking-rail-nav a.is-active {
  border-color: rgba(155, 255, 114, 0.42);
  color: var(--green-3);
  background: linear-gradient(90deg, rgba(155, 255, 114, 0.16), rgba(180, 60, 255, 0.06));
  transform: translateX(2px);
}

.ranking-open-count {
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #f2d7ff;
  background: rgba(180, 60, 255, 0.34);
  text-align: center;
}

.ranking-season-pass {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(180, 60, 255, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 0%, rgba(180, 60, 255, 0.28), transparent 38%),
    linear-gradient(180deg, rgba(8, 12, 17, 0.92), rgba(3, 8, 10, 0.95));
}

.ranking-season-pass img {
  width: 104px;
  justify-self: center;
  filter: drop-shadow(0 0 22px rgba(180, 60, 255, 0.36));
}

.ranking-season-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.ranking-season-timer span,
.ranking-season-countdown b {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(155, 255, 114, 0.2);
  border-radius: 7px;
  color: var(--green-3);
  background: rgba(4, 10, 9, 0.8);
  box-shadow: inset 0 0 16px rgba(46, 255, 155, 0.06);
}

.ranking-arena-main {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

.ranking-arena-hero {
  min-height: 224px;
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) clamp(142px, 13vw, 182px) minmax(318px, 340px);
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 20px 18px;
  background:
    radial-gradient(circle at 58% 34%, rgba(155, 255, 114, 0.13), transparent 30%),
    radial-gradient(circle at 78% 0%, rgba(180, 60, 255, 0.2), transparent 42%),
    radial-gradient(circle at 8% 0%, rgba(46, 255, 155, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(4, 8, 11, 0.96), rgba(2, 6, 8, 0.94));
}

.ranking-arena-hero__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
  max-width: 560px;
}

.ranking-arena-hero__copy h1 {
  margin: 0;
  color: #f4fff8;
  font-family: "Rajdhani", "Chakra Petch", sans-serif;
  font-size: clamp(3.1rem, 4.2vw, 3.75rem);
  line-height: 0.88;
  letter-spacing: 0.05em;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(46, 255, 155, 0.18);
}

.ranking-arena-hero__copy > strong {
  display: block;
  margin-top: 2px;
  color: #d66cff;
  font-family: "Road Rage", "Rajdhani", "Chakra Petch", sans-serif;
  font-size: clamp(1.42rem, 2vw, 1.72rem);
  font-style: normal;
  letter-spacing: 0.015em;
  white-space: nowrap;
  transform: skewX(-8deg) rotate(-1deg);
  -webkit-text-stroke: 0.4px rgba(4, 7, 9, 0.85);
  text-shadow:
    2px 2px 0 rgba(44, 6, 57, 0.95),
    -1px 1px 0 rgba(8, 16, 14, 0.9),
    3px 4px 0 rgba(3, 8, 10, 0.72);
}

.ranking-season-countdown {
  margin-top: 12px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ranking-season-countdown span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.ranking-season-countdown b {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 0 8px;
  color: var(--text);
}

.ranking-arena-graffiti {
  position: relative;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(142px, 13vw, 182px);
  height: clamp(158px, 14vw, 202px);
  margin-top: 0;
  overflow: visible;
  transform: translateX(2px) translateY(2px) rotate(-8deg);
  z-index: 2;
}

.ranking-arena-graffiti img {
  width: clamp(132px, 12vw, 168px);
  max-width: 100%;
  filter: none;
}

.ranking-player-card {
  align-self: start;
  justify-self: end;
  width: min(100%, 340px);
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  min-height: 168px;
  padding: 12px;
  border-color: rgba(180, 60, 255, 0.34);
  background:
    radial-gradient(circle at 10% 38%, rgba(46, 255, 155, 0.13), transparent 40%),
    radial-gradient(circle at 86% 0%, rgba(180, 60, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(7, 11, 17, 0.94), rgba(3, 8, 10, 0.96));
}

.ranking-player-card__badge {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(180, 60, 255, 0.38);
  border-radius: 999px;
  color: var(--purple-soft);
  background: rgba(38, 9, 56, 0.65);
  font-size: 0.66rem;
  font-weight: 800;
}

.ranking-active-avatar {
  align-self: center;
  display: grid;
  place-items: center;
}

.ranking-player-card__avatar {
  justify-self: center;
}

.rank-badge--arena-chip {
  width: 84px;
  height: 104px;
  flex-basis: 84px;
  filter:
    drop-shadow(0 0 18px rgba(46, 255, 155, 0.28))
    drop-shadow(0 0 18px rgba(180, 60, 255, 0.24));
}

.ranking-player-card__body {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.ranking-active-rank {
  color: var(--green-3);
  font-size: 1.98rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(155, 255, 114, 0.24);
}

.ranking-player-card__name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: none;
}

.ranking-player-card__name .ranking-active-avatar {
  display: none;
}

.ranking-player-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.ranking-player-card__metrics div {
  min-width: 0;
}

.ranking-player-card__metrics small {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
}

.ranking-player-card__metrics b {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 0.86rem;
}

.ranking-active-progress {
  height: 7px;
  margin-top: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.ranking-active-progress-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: none;
}

.ranking-board {
  min-width: 0;
  padding: 14px;
  background:
    radial-gradient(circle at 84% 0%, rgba(180, 60, 255, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(4, 11, 12, 0.95), rgba(2, 7, 9, 0.94));
}

.ranking-board .ranking-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 10px;
  min-width: 0;
}

.ranking-tabs,
.ranking-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.ranking-tools {
  justify-content: flex-end;
}

.ranking-board .chip {
  min-height: 34px;
  border-color: rgba(155, 255, 114, 0.22);
  color: var(--text);
}

.ranking-board .chip--active {
  border-color: rgba(155, 255, 114, 0.72);
  color: var(--green-ink);
  background: linear-gradient(135deg, var(--green-3), var(--green));
  box-shadow: 0 0 22px rgba(155, 255, 114, 0.18);
}

.ranking-arena-table {
  border: 1px solid rgba(46, 255, 155, 0.13);
  border-radius: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(180, 60, 255, 0.08), transparent 36%),
    rgba(0, 0, 0, 0.18);
}

.ranking-arena-table .rank-table {
  min-width: 760px;
}

.ranking-arena-table .rank-table th {
  color: rgba(217, 229, 222, 0.62);
  font-size: 0.72rem;
}

.ranking-arena-table .rank-table td {
  padding-top: 11px;
  padding-bottom: 11px;
  border-color: rgba(46, 255, 155, 0.08);
}

.ranking-arena-table .rank-table tbody tr {
  background: linear-gradient(90deg, rgba(46, 255, 155, 0.018), rgba(180, 60, 255, 0.018));
  transition: background 120ms ease;
  transform: none;
}

.ranking-arena-table .rank-table tbody tr:hover {
  background: rgba(46, 255, 155, 0.045);
  box-shadow: none;
  transform: none;
}

.ranking-arena-table .rank-table tbody tr.is-gold {
  border-color: rgba(155, 255, 114, 0.4);
  background:
    linear-gradient(90deg, rgba(155, 255, 114, 0.13), rgba(180, 60, 255, 0.05), transparent);
  box-shadow:
    inset 0 0 0 1px rgba(155, 255, 114, 0.24),
    inset 3px 0 0 var(--green-3);
}

.ranking-arena-table .rank-table tbody tr.is-you {
  background:
    linear-gradient(90deg, rgba(155, 255, 114, 0.11), rgba(180, 60, 255, 0.08), transparent);
  box-shadow:
    inset 0 0 0 1px rgba(155, 255, 114, 0.36),
    inset 3px 0 0 var(--green-3);
}

.ranking-arena-table .score-info-tip {
  pointer-events: none;
}

.ranking-arena-table .score-info-tip::after {
  content: none;
}

.ranking-separator td {
  height: 34px;
  color: var(--muted);
  text-align: center;
}

.ranking-rank-cell {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 9px;
  color: var(--text);
  font-weight: 800;
}

.ranking-rank-cell.is-podium {
  color: var(--green-ink);
  background: linear-gradient(135deg, var(--green-3), var(--green));
  box-shadow: 0 0 16px rgba(155, 255, 114, 0.2);
}

.ranking-move {
  display: inline-grid;
  gap: 2px;
  min-width: 78px;
  padding: 5px 8px;
  border: 1px solid rgba(160, 178, 169, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  line-height: 1;
}

.ranking-move b {
  color: var(--text);
  font-size: 0.72rem;
  white-space: nowrap;
}

.ranking-move small {
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ranking-move--up {
  border-color: rgba(47, 255, 151, 0.34);
  background: linear-gradient(135deg, rgba(47, 255, 151, 0.13), rgba(0, 0, 0, 0.2));
  box-shadow: 0 0 18px rgba(47, 255, 151, 0.08);
}

.ranking-move--up b {
  color: var(--matrix-green);
}

.ranking-move--down {
  border-color: rgba(255, 73, 105, 0.34);
  background: linear-gradient(135deg, rgba(255, 73, 105, 0.13), rgba(0, 0, 0, 0.2));
}

.ranking-move--down b {
  color: #ff5f7d;
}

.ranking-move--flat {
  opacity: 0.72;
}

.ranking-move--compact {
  min-width: 0;
  justify-items: end;
  padding: 3px 0;
  border: 0;
  background: transparent;
}

.ranking-move--compact small {
  font-size: 0.52rem;
}

.ranking-user strong {
  color: var(--text);
  font-size: 0.92rem;
}

.ranking-streak {
  color: #ffd76a;
  font-weight: 800;
}

.ranking-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
}

.ranking-pagination > span {
  min-width: 0;
  line-height: 1.35;
}

.ranking-pagination__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ranking-pagination__controls strong {
  min-width: 78px;
  color: var(--text);
  font-size: 0.72rem;
  text-align: center;
}

.ranking-pagination .chip {
  min-width: 58px;
  min-height: 30px;
  padding-inline: 10px;
}

.ranking-pagination .chip:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.ranking-rank-path {
  padding: 16px;
  overflow: hidden;
}

.ranking-rank-path__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ranking-rank-path__grid article {
  min-height: 188px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 5px;
  padding: 12px 10px;
  border: 1px solid rgba(46, 255, 155, 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 255, 155, 0.1), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(180, 60, 255, 0.1), transparent 42%),
    rgba(3, 8, 10, 0.76);
  text-align: center;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.ranking-rank-path__grid article:hover {
  border-color: rgba(155, 255, 114, 0.44);
  box-shadow: 0 0 22px rgba(46, 255, 155, 0.1), 0 0 18px rgba(180, 60, 255, 0.1);
  transform: translateY(-3px);
}

.ranking-rank-path__grid img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(46, 255, 155, 0.2));
}

.ranking-rank-path__grid strong {
  color: var(--text);
  font-size: 0.92rem;
}

.ranking-rank-path__grid span {
  color: var(--green-3);
  font-weight: 800;
}

.ranking-rank-path__grid small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: none;
}

.ranking-arena-side {
  display: grid;
  gap: 14px;
}

.ranking-rewards-card,
.ranking-season-stats,
.ranking-top-movers-card,
.ranking-hall-card {
  overflow: hidden;
  padding: 14px;
  background:
    radial-gradient(circle at 88% 0%, rgba(180, 60, 255, 0.22), transparent 38%),
    radial-gradient(circle at 18% 0%, rgba(46, 255, 155, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(5, 10, 14, 0.96), rgba(2, 7, 9, 0.94));
}

.ranking-rewards-card h2,
.ranking-season-stats h2,
.ranking-top-movers-card h2,
.ranking-hall-card h2,
.ranking-rank-path h2 {
  margin: 0;
  color: var(--green-3);
  font-size: 1.02rem;
  letter-spacing: 0.05em;
}

.ranking-rewards-showcase {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.ranking-reward-prize {
  position: relative;
  display: grid;
  justify-items: center;
  border: 1px solid rgba(180, 60, 255, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 12%, rgba(155, 255, 114, 0.14), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(180, 60, 255, 0.16), transparent 44%),
    rgba(3, 8, 10, 0.78);
  overflow: hidden;
  text-align: center;
  transition: border-color 140ms ease;
}

.ranking-reward-prize img {
  object-fit: contain;
  transform: scale(1);
  transition: transform 140ms ease;
}

.ranking-reward-prize:hover img {
  transform: scale(1.035);
}

.ranking-reward-prize:hover {
  border-color: rgba(155, 255, 114, 0.52);
}

.ranking-reward-prize span {
  display: block;
  color: var(--purple-soft);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.ranking-reward-prize strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 0.98rem;
}

.ranking-reward-prize small,
.ranking-reward-prize em {
  display: block;
  color: var(--purple-soft);
  font-size: 0.7rem;
  font-style: normal;
}

.ranking-reward-prize--first {
  min-height: 230px;
  align-content: end;
  padding: 8px 10px 14px;
  border-color: rgba(255, 215, 106, 0.5);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 215, 106, 0.2), transparent 40%),
    radial-gradient(circle at 50% 78%, rgba(155, 255, 114, 0.13), transparent 42%),
    rgba(8, 9, 10, 0.9);
  overflow: visible;
}

.ranking-reward-prize--first img {
  width: min(112%, 330px);
  margin: -30px -18px 0;
}

.ranking-reward-prize--first:hover img {
  transform: scale(1.045);
}

.ranking-reward-prize--first span,
.ranking-reward-prize--first strong,
.ranking-reward-prize--first em {
  color: #ffe36b;
}

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

.ranking-reward-prize--side {
  min-height: 158px;
  align-content: end;
  padding: 8px 8px 12px;
}

.ranking-reward-prize--side img {
  width: min(82%, 118px);
  margin: -8px -4px 0;
}

.ranking-rewards-card .btn,
.ranking-hall-card .btn {
  width: 72%;
  margin: 10px auto 0;
  display: grid;
  place-items: center;
  border-color: rgba(180, 60, 255, 0.5);
  color: var(--purple-soft);
}

.ranking-season-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 0;
  margin-top: 14px;
}

.ranking-season-stat-grid div {
  min-width: 0;
  min-height: 62px;
  padding: 2px 10px;
  border-left: 1px solid rgba(46, 255, 155, 0.12);
}

.ranking-season-stat-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
}

.ranking-season-stat-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(1.02rem, 1.15vw, 1.26rem);
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-top-movers,
.ranking-hall-list {
  margin: 12px 0 0;
}

.ranking-top-movers {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.ranking-top-movers li {
  display: grid;
  grid-template-columns: 18px 30px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid rgba(46, 255, 155, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
}

.ranking-top-movers__item--up {
  border-color: rgba(47, 255, 151, 0.15);
}

.ranking-top-movers__item--down {
  border-color: rgba(255, 73, 105, 0.15);
}

.ranking-top-movers__empty {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  cursor: default;
}

.rank-badge--tiny {
  width: 27px;
  height: 34px;
  flex-basis: 27px;
}

.ranking-top-movers strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-hall-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ranking-hall-list button {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 10px 6px;
  border: 1px solid rgba(180, 60, 255, 0.2);
  border-radius: 11px;
  color: var(--text);
  background: rgba(3, 8, 10, 0.66);
  font: inherit;
  cursor: pointer;
}

.ranking-hall-list img,
.rank-badge--hall {
  width: 58px;
  height: 72px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 16px rgba(46, 255, 155, 0.18))
    drop-shadow(0 0 14px rgba(180, 60, 255, 0.18));
}

.ranking-hall-list strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-hall-list small {
  color: var(--green-3);
  font-size: 0.68rem;
}

@media (max-width: 1480px) {
  .ranking-arena-layout {
    grid-template-columns: 232px minmax(0, 1fr) 286px;
    gap: 14px;
  }

  .ranking-arena-table .rank-table {
    min-width: 700px;
  }

  .ranking-arena-hero {
    grid-template-columns: minmax(300px, 1fr) 116px minmax(228px, 270px);
    gap: 12px;
    padding-inline: 16px;
  }

  .ranking-arena-graffiti {
    width: 116px;
    height: 138px;
    transform: translateX(0) translateY(2px) rotate(-8deg);
  }

  .ranking-arena-graffiti img {
    width: 112px;
  }

  .ranking-player-card {
    width: min(100%, 270px);
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    min-height: 150px;
  }

  .rank-badge--arena-chip {
    width: 70px;
    height: 88px;
  }

  .ranking-player-card__metrics {
    gap: 6px;
  }

  .ranking-player-card__metrics b {
    font-size: 0.8rem;
  }

  .ranking-reward-prize--first {
    min-height: 218px;
  }

  .ranking-reward-prize--first img {
    width: min(108%, 292px);
    margin: -24px -12px 0;
  }

  .ranking-reward-prize--side {
    min-height: 146px;
  }

  .ranking-reward-prize--side img {
    width: min(78%, 104px);
  }

  .ranking-rewards-card .btn {
    width: 86%;
  }

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

  .ranking-arena-rail,
  .ranking-arena-side {
    position: sticky;
    top: 14px;
  }

  .ranking-arena-rail {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    align-items: center;
  }

  .ranking-arena-rail__hero {
    min-height: 150px;
  }

  .ranking-arena-rail__hero img {
    width: 112%;
    margin-bottom: -46px;
  }

  .ranking-rail-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .ranking-arena-layout {
    grid-template-columns: 1fr;
  }

  .ranking-arena-side {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-arena-hero {
    grid-template-columns: 1fr;
  }

  .ranking-player-card {
    max-width: 520px;
  }

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

@media (max-width: 820px) {
  .ranking-arena-rail,
  .ranking-arena-side {
    grid-template-columns: 1fr;
  }

  .ranking-rail-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-arena-hero {
    padding: 22px 14px;
  }

  .ranking-player-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .rank-badge--arena-chip {
    width: 78px;
    height: 96px;
  }

  .ranking-player-card__metrics,
  .ranking-season-stat-grid,
  .ranking-rank-path__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ranking-reward-side-grid,
  .ranking-hall-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .rankings-shell {
    padding-inline: 10px;
  }

  .ranking-arena-hero__copy h1 {
    font-size: clamp(3rem, 18vw, 4.2rem);
    letter-spacing: 0.06em;
  }

  .ranking-player-card,
  .ranking-player-card__metrics,
  .ranking-season-stat-grid,
  .ranking-rank-path__grid,
  .ranking-rail-nav {
    grid-template-columns: 1fr;
  }

  .ranking-player-card__badge {
    position: static;
    justify-self: start;
  }
}

@font-face {
  font-family: "Road Rage FeedCore";
  src: url("./assets/Typo/road_rage/Road_Rage.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

.beta-landing-page {
  max-width: 100%;
  overflow-x: hidden;
  color: #f3fff8;
  background:
    linear-gradient(90deg, rgba(132, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(180, 60, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #030608 0%, #06050b 46%, #030608 100%);
  background-size: 88px 88px, 88px 88px, auto;
}

.beta-landing-shell {
  width: min(1180px, calc(100% - 48px));
  max-width: 100%;
  padding: 22px 0 26px;
  overflow-x: hidden;
}

.beta-landing-shell::before,
.beta-landing-shell::after {
  display: none;
}

.beta-disclaimer-open {
  overflow: hidden;
}

.beta-disclaimer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(180, 60, 255, 0.18), transparent 36%),
    rgba(1, 4, 6, 0.9);
  backdrop-filter: blur(12px);
}

.beta-disclaimer.is-open {
  display: grid;
}

.beta-disclaimer__dialog {
  width: min(620px, 100%);
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(144, 255, 0, 0.5);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(144, 255, 0, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(6, 16, 14, 0.98), rgba(4, 7, 12, 0.98));
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.7), 0 0 28px rgba(144, 255, 0, 0.16);
}

.beta-disclaimer small {
  color: #9bff17;
  font-weight: 900;
  text-transform: uppercase;
}

.beta-disclaimer h2 {
  margin: 0;
  color: #f5fff9;
  font-family: "Rajdhani", sans-serif;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.beta-disclaimer p,
.beta-disclaimer__warning,
.beta-disclaimer__check {
  margin: 0;
  color: #d7dfd8;
  font-size: 0.94rem;
  line-height: 1.5;
  text-transform: none;
}

.beta-disclaimer__warning {
  padding: 12px 14px;
  border: 1px solid rgba(180, 60, 255, 0.38);
  border-radius: 8px;
  color: #f0d7ff;
  background: rgba(180, 60, 255, 0.08);
}

.beta-disclaimer__check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.beta-disclaimer__check input {
  width: 18px;
  height: 18px;
  accent-color: #9bff17;
}

.beta-disclaimer button {
  min-height: 48px;
  border: 1px solid rgba(174, 255, 0, 0.72);
  border-radius: 8px;
  background: linear-gradient(135deg, #c6ff00, #7dff00);
  color: #071000;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
}

.beta-disclaimer button:disabled {
  cursor: not-allowed;
  filter: grayscale(1) brightness(0.55);
  opacity: 0.72;
}

.beta-nav {
  position: relative;
  top: 0;
  min-height: 64px;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(144, 255, 0, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.beta-brand .brand__logo {
  background: linear-gradient(135deg, #b7ff22, #54ff7e);
  color: #061007;
}

.beta-nav__links {
  gap: 30px;
  color: #f1f8f3;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.beta-nav__links a:hover {
  color: #9bff17;
  text-shadow: 0 0 18px rgba(144, 255, 0, 0.54);
}

.beta-nav__cta,
.beta-form button {
  height: 46px;
  min-width: 184px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(174, 255, 0, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #c6ff00, #7dff00),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, 0.18) 16px 17px);
  color: #071000;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(144, 255, 0, 0.42);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.beta-nav__cta:hover,
.beta-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(144, 255, 0, 0.34);
}

.beta-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  padding: 44px 0 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(144, 255, 0, 0.14);
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.92) 0%, rgba(3, 6, 8, 0.74) 38%, rgba(3, 6, 8, 0.12) 68%, rgba(3, 6, 8, 0.72) 100%),
    linear-gradient(135deg, rgba(144, 255, 0, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(180, 60, 255, 0.14), transparent 62%);
}

.beta-hero::before {
  content: "WAGMI\A OR\A REKT";
  position: absolute;
  z-index: 2;
  top: 318px;
  right: 18px;
  width: 150px;
  color: rgba(180, 60, 255, 0.72);
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 3.35rem;
  line-height: 0.78;
  text-align: center;
  text-shadow: 0 0 16px rgba(180, 60, 255, 0.32);
  transform: rotate(-5deg);
  white-space: pre-line;
  animation: beta-tag-drift 8s ease-in-out infinite;
}

.beta-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
  padding-left: 26px;
}

.beta-hero__eyebrow {
  display: block;
  color: #f4f6ef;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}

.beta-section h2,
.beta-roadmap h2 {
  margin: 8px 0 0;
  color: #f1f4ee;
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 5.6rem;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.beta-hero h1 {
  margin: 2px 0 0;
  color: #f1f4ee;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.beta-hero__title-classic {
  display: block;
  color: #f4f6ef;
  font-family: "Chakra Petch", sans-serif;
  font-size: 3.92rem;
  font-weight: 900;
  line-height: 0.92;
}

.beta-hero h1 em,
.beta-section h2 span,
.beta-roadmap h2 em {
  display: block;
  color: #8dff00;
  font-style: normal;
  text-shadow: 0 0 8px rgba(144, 255, 0, 0.14);
}

.beta-hero h1 em {
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 2.54rem;
  line-height: 0.9;
  white-space: nowrap;
}

.beta-hero p,
.beta-section__head p,
.beta-roadmap p,
.beta-faq p {
  color: #d7dfd8;
  font-size: 1rem;
  line-height: 1.58;
  text-transform: none;
}

.beta-hero p {
  max-width: 470px;
}

.beta-hero__copy > strong {
  display: block;
  margin: 16px 0 20px;
  color: #c147ff;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.46rem;
  font-weight: 900;
  letter-spacing: 0;
}

.beta-form {
  width: min(480px, 100%);
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 228px;
  border: 1px solid rgba(144, 255, 0, 0.48);
  border-radius: 9px;
  overflow: hidden;
  box-sizing: border-box;
  background: rgba(3, 8, 8, 0.72);
}

.beta-form input {
  min-width: 0;
  height: 52px;
  border: 0;
  background: rgba(0, 0, 0, 0.24);
  color: #f5fff9;
  font: inherit;
  padding: 0 18px;
  outline: none;
  text-transform: none;
}

.beta-form button {
  width: 100%;
  height: 52px;
  min-width: 0;
  border-radius: 0;
}

.beta-form.is-busy {
  opacity: 0.78;
}

.beta-form :disabled {
  cursor: wait;
}

.beta-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.beta-hero small {
  display: block;
  margin-top: 10px;
  color: #8c978f;
  font-size: 0.78rem;
  text-transform: none;
}

.beta-hero small.is-success,
.beta-roadmap .is-success {
  color: #9bff17;
}

.beta-access-meter {
  width: min(480px, 100%);
  margin-top: 14px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(144, 255, 0, 0.3);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(144, 255, 0, 0.055), transparent 42%),
    rgba(3, 8, 8, 0.68);
  box-shadow: inset 0 0 22px rgba(144, 255, 0, 0.035);
}

.beta-access-meter__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #d7dfd8;
  font-size: 0.78rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.beta-access-meter__head b {
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.beta-access-meter__head em {
  color: #a4aea7;
  font-style: normal;
  text-align: right;
  text-transform: none;
}

.beta-access-meter__bar {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.beta-access-meter__bar i {
  display: block;
  width: var(--beta-meter-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #37ff89, #a6ff00, #c147ff);
  box-shadow: 0 0 18px rgba(144, 255, 0, 0.36);
  transition: width 520ms ease;
}

.beta-hero__corey {
  position: absolute;
  z-index: 1;
  right: 108px;
  bottom: -6px;
  width: min(56%, 700px);
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(180, 60, 255, 0.42)) drop-shadow(0 0 28px rgba(144, 255, 0, 0.2));
  animation: beta-corey-float 7s ease-in-out infinite;
}

.beta-terminal {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 72px;
  width: 220px;
  padding: 14px;
  border: 1px solid rgba(144, 255, 0, 0.44);
  border-radius: 8px;
  background: rgba(4, 8, 8, 0.86);
  box-shadow: inset 0 0 24px rgba(144, 255, 0, 0.04);
}

.beta-terminal::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 0%, rgba(144, 255, 0, 0.12) 48%, transparent 58%);
  opacity: 0;
  transform: translateY(-35%);
  animation: beta-terminal-scan 5.6s ease-in-out infinite;
}

.beta-terminal div {
  display: flex;
  justify-content: space-between;
  color: #9bff17;
  font-size: 0.72rem;
}

.beta-terminal p {
  margin: 16px 0 0;
  color: #f5fff9;
  font-size: 0.86rem;
  line-height: 1.55;
  text-transform: uppercase;
}

.beta-terminal__type {
  display: block;
  width: 0;
  max-width: max-content;
  overflow: hidden;
  white-space: nowrap;
}

.beta-terminal__type--first {
  animation: beta-terminal-type-first 1.35s steps(25, end) 520ms forwards;
}

.beta-terminal__type--second {
  animation: beta-terminal-type-second 1.05s steps(18, end) 2.02s forwards;
}

.beta-terminal__type--third {
  animation: beta-terminal-type-third 720ms steps(8, end) 3.18s forwards;
}

.beta-terminal__type--signature {
  margin-left: 24px;
  animation: beta-terminal-type-signature 840ms steps(10, end) 4.08s forwards;
}

.beta-terminal strong,
.beta-terminal em {
  color: #c147ff;
}

.beta-terminal em {
  display: block;
  margin-top: 12px;
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 1.8rem;
  text-align: right;
}

.beta-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 26px 24px 34px;
  border: 1px solid rgba(55, 255, 137, 0.24);
  border-radius: 12px;
  background: rgba(4, 12, 12, 0.78);
}

.beta-stats article {
  min-height: 112px;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-content: center;
  column-gap: 14px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 180ms ease, transform 180ms ease;
}

.beta-stats article:hover {
  background: rgba(144, 255, 0, 0.035);
  transform: translateY(-2px);
}

.beta-stats article:last-child {
  border-right: 0;
}

.beta-stats img {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  align-self: center;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(144, 255, 0, 0.34));
}

.beta-stats strong,
.beta-feature-card strong,
.beta-flow article strong,
.beta-faq strong {
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.22rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.beta-stats p {
  margin: 4px 0 0;
  color: #f0f8f2;
  font-size: 0.8rem;
  line-height: 1.35;
}

.beta-section {
  margin-top: 36px;
}

.beta-section__head {
  text-align: center;
}

.beta-section h2,
.beta-roadmap h2 {
  font-size: 2.54rem;
}

.beta-section h2 span,
.beta-roadmap h2 em {
  display: inline;
}

.beta-section__head h2 span,
.beta-roadmap h2 em {
  text-shadow: 0 0 7px rgba(144, 255, 0, 0.13);
}

.beta-card-grid,
.beta-flow__grid,
.beta-faq {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.beta-feature-card,
.beta-flow article,
.beta-faq article {
  min-height: 238px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  padding: 28px 22px;
  border: 1px solid rgba(144, 255, 0, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12, 25, 17, 0.78), rgba(4, 7, 12, 0.86)),
    linear-gradient(135deg, rgba(144, 255, 0, 0.05), transparent 55%);
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.beta-feature-card:hover,
.beta-flow article:hover,
.beta-faq article:hover {
  border-color: rgba(144, 255, 0, 0.48);
  transform: translateY(-3px);
}

.beta-feature-card.is-purple {
  border-color: rgba(180, 60, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(22, 9, 33, 0.78), rgba(4, 7, 12, 0.88)),
    linear-gradient(135deg, rgba(180, 60, 255, 0.07), transparent 55%);
}

.beta-feature-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.beta-feature-card.is-purple strong {
  color: #c147ff;
}

.beta-feature-card p,
.beta-flow p {
  margin: 0;
  color: #d1d9d2;
  font-size: 0.88rem;
  line-height: 1.5;
  text-transform: none;
}

.beta-flow__grid {
  align-items: stretch;
}

.beta-flow article {
  position: relative;
  min-height: 210px;
}

.beta-flow article::after {
  content: "→";
  position: absolute;
  right: -21px;
  top: 50%;
  color: #9bff17;
  font-size: 2.5rem;
  transform: translateY(-50%);
}

.beta-flow article:last-child::after {
  content: none;
}

.beta-flow b {
  position: absolute;
  left: 16px;
  top: 14px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(180, 60, 255, 0.52);
  border-radius: 7px;
  color: #f5fff9;
}

.beta-flow img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.beta-roadmap {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 34px 24px 24px;
  padding: 36px 20px;
  border: 1px solid rgba(144, 255, 0, 0.62);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(180, 60, 255, 0.14), transparent 24%, transparent 76%, rgba(180, 60, 255, 0.16)),
    rgba(4, 8, 10, 0.88);
  text-align: center;
  transition: border-color 180ms ease;
}

.beta-roadmap:hover {
  border-color: rgba(144, 255, 0, 0.78);
}

.beta-roadmap__tag {
  position: absolute;
  color: #b43cff;
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 2rem;
  line-height: 0.86;
  text-transform: uppercase;
}

.beta-roadmap__tag--left {
  left: 62px;
  bottom: 54px;
  transform: rotate(-8deg);
}

.beta-roadmap__tag--right {
  right: 56px;
  bottom: 54px;
  text-align: left;
  transform: rotate(-7deg);
}

.beta-roadmap .beta-form button span {
  display: none;
}

.beta-roadmap p {
  margin: 5px 0 0;
}

.beta-roadmap small {
  min-height: 1rem;
  color: #8c978f;
  font-size: 0.78rem;
  text-transform: none;
}

.beta-faq {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.beta-faq article {
  min-height: 120px;
}

.beta-modal-open {
  overflow: hidden;
}

.beta-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.beta-modal.is-open {
  display: grid;
}

.beta-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 6, 0.78);
  backdrop-filter: blur(10px);
}

.beta-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(144, 255, 0, 0.48);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 0%, rgba(180, 60, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(6, 16, 14, 0.98), rgba(4, 7, 12, 0.98));
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.66), 0 0 32px rgba(144, 255, 0, 0.16);
}

.beta-modal__dialog > small,
.beta-modal__dialog h2,
.beta-modal__submit {
  grid-column: 1 / -1;
}

.beta-modal__dialog > small {
  color: #9bff17;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.beta-modal__dialog h2 {
  margin: 0 34px 2px 0;
  color: #f5fff9;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.beta-modal__dialog fieldset {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(144, 255, 0, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.beta-modal__dialog legend {
  padding: 0 6px;
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.beta-modal__dialog label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8e3dd;
  font-size: 0.84rem;
  line-height: 1.25;
  text-transform: none;
}

.beta-modal__dialog input[type="radio"] {
  width: 15px;
  height: 15px;
  accent-color: #9bff17;
}

.beta-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(180, 60, 255, 0.42);
  border-radius: 8px;
  background: rgba(2, 5, 8, 0.82);
  color: #f5fff9;
  font: inherit;
  font-size: 1.1rem;
}

.beta-modal__submit {
  min-height: 48px;
  border: 1px solid rgba(174, 255, 0, 0.72);
  border-radius: 8px;
  background: linear-gradient(135deg, #c6ff00, #7dff00);
  color: #071000;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.beta-modal__submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.beta-modal__dialog.is-busy {
  opacity: 0.78;
}

@keyframes beta-corey-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes beta-tag-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-5deg);
    opacity: 0.72;
  }

  50% {
    transform: translate3d(-4px, -5px, 0) rotate(-7deg);
    opacity: 0.9;
  }
}

@keyframes beta-terminal-scan {
  0%,
  72%,
  100% {
    opacity: 0;
    transform: translateY(-35%);
  }

  82% {
    opacity: 0.42;
  }

  94% {
    opacity: 0;
    transform: translateY(35%);
  }
}

@keyframes beta-terminal-type-first {
  to {
    width: 25ch;
  }
}

@keyframes beta-terminal-type-second {
  to {
    width: 18ch;
  }
}

@keyframes beta-terminal-type-third {
  to {
    width: 8ch;
  }
}

@keyframes beta-terminal-type-signature {
  to {
    width: 10ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beta-hero::before,
  .beta-hero__corey,
  .beta-terminal::after,
  .beta-terminal__type {
    animation: none;
  }

  .beta-terminal__type {
    width: auto;
  }

  .beta-nav__cta,
  .beta-form button,
  .beta-stats article,
  .beta-feature-card,
  .beta-flow article,
  .beta-faq article,
  .beta-roadmap {
    transition: none;
  }
}

.beta-footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7f8c86;
}

.beta-footer > div,
.beta-footer span,
.beta-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.beta-footer img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.beta-footer span {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.beta-footer strong {
  color: #f3fff8;
}

.beta-footer nav {
  gap: 28px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.beta-builder {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 176px;
  padding: 10px 16px;
  border: 1px solid rgba(180, 60, 255, 0.46);
  border-radius: 9px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(180, 60, 255, 0.16), rgba(144, 255, 0, 0.05)),
    rgba(3, 7, 10, 0.8);
  box-shadow: inset 0 0 18px rgba(180, 60, 255, 0.08), 0 0 22px rgba(180, 60, 255, 0.12);
}

.beta-builder::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.35;
  transform: translateX(-120%);
  transition: transform 320ms ease;
}

.beta-builder:hover::after {
  transform: translateX(120%);
}

.beta-builder small {
  color: #9bff17;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.beta-builder strong {
  color: #f5fff9;
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 1.7rem;
  line-height: 0.82;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(180, 60, 255, 0.24);
}

.roadmap-page {
  background:
    linear-gradient(90deg, rgba(132, 255, 0, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(180, 60, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 76px 12%, rgba(144, 255, 0, 0.08), transparent 20%),
    radial-gradient(circle at 76% 10%, rgba(180, 60, 255, 0.16), transparent 35%),
    linear-gradient(180deg, #020507 0%, #05040a 48%, #020507 100%);
  background-size: 88px 88px, 88px 88px, auto, auto, auto;
}

.roadmap-shell {
  width: min(1210px, calc(100% - 48px));
}

.roadmap-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(144, 255, 0, 0.18);
}

.roadmap-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
  padding-left: 8px;
}

.roadmap-hero h1 {
  margin: 0;
  color: #f3fff8;
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 8.7rem;
  line-height: 0.74;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

.roadmap-hero h2 {
  margin: 8px 0 0;
  color: #f1f4ee;
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 3.18rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.roadmap-hero h2 span {
  display: block;
  color: #8dff00;
  text-shadow: 0 0 10px rgba(144, 255, 0, 0.2);
}

.roadmap-hero p {
  max-width: 410px;
  margin: 28px 0 0;
  color: #d7dfd8;
  font-size: 1rem;
  line-height: 1.6;
  text-transform: none;
}

.roadmap-hero strong {
  display: block;
  margin-top: 18px;
  color: #c147ff;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
}

.roadmap-hero__corey {
  position: absolute;
  right: -18px;
  bottom: -182px;
  z-index: 1;
  width: min(62%, 720px);
  max-height: 900px;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(180, 60, 255, 0.42)) drop-shadow(0 0 22px rgba(144, 255, 0, 0.18));
}

.roadmap-hero__chips {
  position: absolute;
  right: -4px;
  bottom: 18px;
  z-index: 1;
  width: 166px;
  opacity: 0.94;
  transform: rotate(-6deg);
  pointer-events: none;
}

.roadmap-hero__chips img {
  display: block;
  width: 100%;
  height: auto;
}

.roadmap-hero__pumpfuel {
  position: absolute;
  right: -112px;
  bottom: 72px;
  z-index: 2;
  width: 360px;
  transform: rotate(0deg);
  pointer-events: none;
}

.roadmap-hero__pumpfuel img {
  display: block;
  width: 100%;
  height: auto;
}

.roadmap-hero__tag {
  position: absolute;
  top: 64px;
  right: 22px;
  z-index: 2;
  color: rgba(180, 60, 255, 0.74);
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 4.1rem;
  line-height: 0.76;
  text-align: center;
  transform: rotate(-5deg);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: -18px 0 34px;
  position: relative;
  z-index: 3;
}

.roadmap-quarter {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 48px 16px 16px;
  border: 1px solid rgba(144, 255, 0, 0.62);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(144, 255, 0, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(5, 12, 12, 0.94), rgba(3, 5, 9, 0.94));
  box-shadow: inset 0 0 30px rgba(144, 255, 0, 0.04), 0 0 22px rgba(144, 255, 0, 0.08);
}

.roadmap-quarter.is-purple {
  border-color: rgba(180, 60, 255, 0.68);
  background:
    radial-gradient(circle at 18% 0%, rgba(180, 60, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(9, 7, 16, 0.95), rgba(3, 5, 9, 0.95));
  box-shadow: inset 0 0 30px rgba(180, 60, 255, 0.04), 0 0 22px rgba(180, 60, 255, 0.1);
}

.roadmap-quarter__badge {
  position: absolute;
  top: -32px;
  left: 50%;
  min-width: 136px;
  padding: 10px 18px;
  border: 1px solid rgba(144, 255, 0, 0.7);
  border-radius: 7px;
  background: rgba(4, 8, 10, 0.94);
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.roadmap-quarter.is-purple .roadmap-quarter__badge {
  border-color: rgba(180, 60, 255, 0.82);
  color: #c147ff;
}

.roadmap-quarter h3 {
  margin: 0 0 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3fff8;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.roadmap-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(144, 255, 0, 0.24));
}

.roadmap-quarter.is-purple .roadmap-item img {
  filter: drop-shadow(0 0 12px rgba(180, 60, 255, 0.28));
}

.roadmap-item strong,
.roadmap-objective b,
.roadmap-after strong,
.roadmap-timeline strong {
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.roadmap-quarter.is-purple .roadmap-item strong,
.roadmap-quarter.is-purple .roadmap-objective b {
  color: #c147ff;
}

.roadmap-item p,
.roadmap-objective span,
.roadmap-after p {
  margin: 4px 0 0;
  color: #d1d9d2;
  font-size: 0.82rem;
  line-height: 1.45;
  text-transform: none;
}

.roadmap-objective {
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(144, 255, 0, 0.36);
  border-radius: 8px;
  background: rgba(144, 255, 0, 0.035);
}

.roadmap-objective b {
  display: block;
  margin-bottom: 5px;
}

.roadmap-quarter.is-purple .roadmap-objective {
  border-color: rgba(180, 60, 255, 0.42);
  background: rgba(180, 60, 255, 0.04);
}

.roadmap-after {
  margin: 18px 0 34px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(144, 255, 0, 0.42);
  border-radius: 12px;
  background: rgba(3, 8, 10, 0.72);
}

.roadmap-after h2 {
  margin: -40px auto 18px;
  width: max-content;
  padding: 0 20px;
  background: #030608;
  color: #f3fff8;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-after h2 span {
  color: #9bff17;
}

.roadmap-after > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-after article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.roadmap-after p {
  grid-column: 2;
  max-width: 260px;
}

.roadmap-after img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(180, 60, 255, 0.2));
}

.roadmap-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 34px;
  padding-top: 24px;
}

.roadmap-timeline__line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 44px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9bff17, #9bff17 45%, #c147ff 55%, #9bff17);
  box-shadow: 0 0 18px rgba(144, 255, 0, 0.36);
}

.roadmap-timeline article {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.roadmap-timeline span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 4px solid #9bff17;
  border-radius: 50%;
  background: #05070a;
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(144, 255, 0, 0.28);
}

.roadmap-timeline article:nth-of-type(3) span {
  border-color: #c147ff;
  color: #c147ff;
  box-shadow: 0 0 18px rgba(180, 60, 255, 0.3);
}

.roadmap-timeline small {
  color: #d7dfd8;
  font-size: 0.78rem;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .beta-landing-shell {
    width: min(100% - 28px, 1180px);
  }

  .beta-nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .beta-nav__links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .beta-hero {
    min-height: 760px;
    align-items: start;
  }

  .beta-hero__copy {
    padding-left: 0;
  }

  .beta-hero__corey {
    right: -40px;
    width: 720px;
    max-width: 92%;
  }

  .beta-terminal {
    top: auto;
    right: 18px;
    bottom: 248px;
  }

  .beta-stats,
  .beta-card-grid,
  .beta-flow__grid,
  .beta-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beta-stats article:nth-child(2) {
    border-right: 0;
  }

  .beta-flow article::after {
    content: none;
  }

  .roadmap-hero {
    min-height: 720px;
    align-items: start;
    padding-top: 42px;
  }

  .roadmap-hero__corey {
    right: -120px;
    bottom: -220px;
    width: 780px;
    max-width: 110%;
  }

  .roadmap-hero__chips {
    right: -6px;
    bottom: 30px;
  }

  .roadmap-hero__pumpfuel {
    right: 14px;
    bottom: 128px;
  }

  .roadmap-grid,
  .roadmap-after > div {
    grid-template-columns: 1fr;
  }

  .roadmap-grid {
    margin-top: 18px;
    gap: 46px;
  }
}

@media (max-width: 680px) {
  .beta-landing-shell {
    width: min(100% - 24px, 1180px);
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .beta-nav {
    align-items: flex-start;
    gap: 12px;
    min-height: auto;
    padding-bottom: 16px;
  }

  .beta-nav__links {
    order: 3;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
    overflow: visible;
    font-size: 0.72rem;
  }

  .beta-nav__cta {
    order: 2;
    width: 100%;
    max-width: 100%;
    height: 44px;
    box-sizing: border-box;
  }

  .beta-hero {
    display: block;
    min-height: 0;
    padding-top: 26px;
    padding-bottom: clamp(285px, 72vw, 360px);
    max-width: 100%;
  }

  .beta-hero__copy {
    max-width: 100%;
    padding-left: 0;
  }

  .beta-hero h1 {
    max-width: 100%;
    overflow-wrap: normal;
  }

  .beta-hero__eyebrow {
    font-size: clamp(1rem, 6.2vw, 1.22rem);
  }

  .beta-hero__title-classic {
    font-size: clamp(2.08rem, 11vw, 2.78rem);
    line-height: 0.96;
  }

  .beta-hero h1 em {
    font-size: clamp(3.2rem, 18vw, 4.6rem);
    line-height: 0.72;
    white-space: normal;
  }

  .beta-hero p {
    max-width: 100%;
    font-size: 0.94rem;
  }

  .beta-hero__copy > strong {
    font-size: clamp(1.14rem, 7vw, 1.46rem);
  }

  .beta-section h2,
  .beta-roadmap h2 {
    font-size: 2.02rem;
  }

  .beta-form {
    grid-template-columns: 1fr;
    position: relative;
    z-index: 3;
  }

  .beta-form input,
  .beta-form button {
    height: 50px;
  }

  .beta-access-meter {
    position: relative;
    z-index: 3;
  }

  .beta-access-meter__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .beta-access-meter__head em {
    text-align: left;
  }

  .beta-hero__corey {
    right: clamp(-58px, -10vw, -34px);
    bottom: 8px;
    width: min(106vw, 410px);
    max-height: 310px;
    object-position: right bottom;
  }

  .beta-terminal {
    display: block;
    position: absolute;
    z-index: 3;
    top: auto;
    right: auto;
    bottom: clamp(132px, 35vw, 174px);
    left: 0;
    width: min(62vw, 232px);
    margin: 0;
    padding: 8px 9px;
  }

  .beta-terminal div {
    font-size: 0.58rem;
  }

  .beta-terminal p {
    margin-top: 7px;
    font-size: 0.62rem;
    line-height: 1.28;
  }

  .beta-terminal em {
    margin-top: 6px;
    font-size: 0.95rem;
  }

  .beta-terminal__type {
    width: auto;
    animation: none;
  }

  .beta-terminal__type--signature {
    margin-left: 0;
  }

  .beta-hero::before {
    display: none;
  }

  .beta-stats,
  .beta-card-grid,
  .beta-flow__grid,
  .beta-faq {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .beta-card-grid,
  .beta-flow__grid,
  .beta-faq {
    gap: 14px;
  }

  .beta-feature-card,
  .beta-flow article,
  .beta-faq article {
    min-height: 0;
    padding: 22px 18px;
  }

  .beta-feature-card img,
  .beta-flow img {
    width: 68px;
    height: 68px;
    display: block;
  }

  .beta-flow b {
    left: 12px;
    top: 12px;
    min-width: 26px;
    height: 26px;
  }

  .beta-stats article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .beta-stats article:last-child {
    border-bottom: 0;
  }

  .beta-roadmap {
    margin-left: 0;
    margin-right: 0;
  }

  .beta-roadmap__tag {
    position: static;
    transform: none;
  }

  .beta-roadmap__tag--right {
    text-align: center;
  }

  .beta-modal {
    padding: 14px;
  }

  .beta-modal__dialog {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .beta-modal__dialog h2 {
    font-size: 1.48rem;
  }

  .beta-footer,
  .beta-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .beta-builder {
    width: 100%;
  }

  .roadmap-shell {
    width: min(100% - 28px, 1210px);
  }

  .roadmap-hero {
    min-height: 690px;
    padding-top: 32px;
  }

  .roadmap-hero h1 {
    font-size: 5.7rem;
  }

  .roadmap-hero h2 {
    font-size: 2.35rem;
  }

  .roadmap-hero p {
    max-width: 320px;
    font-size: 0.92rem;
  }

  .roadmap-hero__corey {
    right: -190px;
    bottom: -180px;
    width: 560px;
  }

  .roadmap-hero__chips,
  .roadmap-hero__pumpfuel {
    display: none;
  }

  .roadmap-hero__tag {
    display: none;
  }

  .roadmap-quarter {
    padding: 44px 14px 14px;
  }

  .roadmap-after h2 {
    width: auto;
    text-align: center;
  }

  .roadmap-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

.roadmap-timeline__line {
    display: none;
  }
}

@media (max-width: 430px) {
  .beta-landing-shell {
    width: min(100% - 20px, 1180px);
  }

  .beta-brand .brand__logo {
    width: 34px;
    height: 34px;
  }

  .beta-brand .brand__name {
    font-size: 1.06rem;
  }

  .beta-nav__cta,
  .beta-form button {
    font-size: 0.78rem;
  }

  .beta-hero {
    padding-bottom: clamp(270px, 76vw, 326px);
  }

  .beta-hero__corey {
    right: clamp(-48px, -11vw, -30px);
    width: min(104vw, 392px);
    max-height: 286px;
  }

  .beta-terminal {
    bottom: clamp(132px, 34vw, 150px);
    width: min(64vw, 222px);
  }

  .beta-flow article strong,
  .beta-feature-card strong {
    font-size: 1.06rem;
  }
}

.roadmap-v2-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(144, 255, 0, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(180, 60, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 15%, rgba(164, 40, 255, 0.22), transparent 36%),
    radial-gradient(circle at 10% 20%, rgba(144, 255, 0, 0.07), transparent 28%),
    linear-gradient(180deg, #030609 0%, #05030a 58%, #020406 100%);
  background-size: 92px 92px, 92px 92px, auto, auto, auto;
  color: #f4fff8;
}

.roadmap-v2-shell {
  width: min(1180px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
  padding: 22px 0 26px;
  overflow-x: hidden;
}

.roadmap-v2-nav {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(144, 255, 0, 0.18);
}

.roadmap-v2-nav nav {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.roadmap-v2-nav nav a,
.roadmap-v2-cta {
  color: #f5fff8;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.roadmap-v2-cta {
  justify-self: end;
  min-width: 184px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #c6ff00, #7dff00),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, 0.18) 16px 17px);
  color: #061006;
  box-shadow: 0 0 28px rgba(144, 255, 0, 0.42);
}

.roadmap-v2-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  padding: 44px 0 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(144, 255, 0, 0.14);
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.92) 0%, rgba(3, 6, 8, 0.74) 38%, rgba(3, 6, 8, 0.12) 68%, rgba(3, 6, 8, 0.72) 100%),
    linear-gradient(135deg, rgba(144, 255, 0, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(180, 60, 255, 0.14), transparent 62%);
}

.roadmap-v2-copy {
  position: relative;
  z-index: 4;
  max-width: 570px;
  align-self: start;
  padding: 74px 0 0 26px;
  transform: translateY(-15%);
}

.roadmap-v2-copy h1 {
  margin: 0;
  color: #f4fff8;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.roadmap-v2-title-classic {
  display: block;
  color: #f4f6ef;
  font-family: "Chakra Petch", sans-serif;
  font-size: 3.92rem;
  font-weight: 900;
  line-height: 0.92;
}

.roadmap-v2-title-green {
  margin-top: 4px;
  color: #8dff00;
  font-size: 2.34rem;
  text-shadow: 0 0 8px rgba(144, 255, 0, 0.14);
}

.roadmap-v2-copy h1 em {
  display: block;
  color: #f4f6ef;
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 2.54rem;
  font-style: normal;
  line-height: 0.9;
  white-space: nowrap;
}

.roadmap-v2-copy p {
  max-width: 470px;
  margin: 24px 0 0;
  color: #d7dfd8;
  font-size: 1rem;
  line-height: 1.65;
  text-transform: none;
}

.roadmap-v2-copy strong {
  display: block;
  margin-top: 20px;
  color: #c147ff;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.46rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-v2-scene {
  position: absolute;
  right: 54px;
  bottom: 0;
  z-index: 2;
  width: min(56%, 700px);
  height: 620px;
  pointer-events: none;
}

.roadmap-v2-corey {
  position: absolute;
  right: 80px;
  bottom: -176px;
  z-index: 3;
  width: 620px;
  max-width: none;
  transform: translateX(-15%);
  filter: drop-shadow(0 0 32px rgba(180, 60, 255, 0.42));
  animation: roadmap-v2-corey-float 7s ease-in-out infinite;
}

.roadmap-v2-chips {
  position: absolute;
  right: 306px;
  bottom: 22px;
  z-index: 2;
  width: 104px;
  max-width: none;
  transform: rotate(-3deg);
}

.roadmap-v2-pumpfuel {
  position: absolute;
  right: 178px;
  bottom: 56px;
  z-index: 3;
  width: 206px;
  max-width: none;
  transform: none;
}

.roadmap-v2-terminal {
  top: 58px;
  right: 0;
  z-index: 6;
}

.roadmap-v2-wagmi {
  position: absolute;
  top: 326px;
  right: 22px;
  z-index: 4;
  color: rgba(180, 60, 255, 0.76);
  font-family: "Road Rage FeedCore", "Rajdhani", sans-serif;
  font-size: 4.25rem;
  line-height: 0.72;
  text-align: center;
  transform: rotate(-5deg);
  animation: beta-tag-drift 8s ease-in-out infinite;
}

@keyframes roadmap-v2-corey-float {
  0%,
  100% {
    transform: translateX(-15%) translate3d(0, 0, 0);
  }

  50% {
    transform: translateX(-15%) translate3d(0, -7px, 0);
  }
}

.roadmap-v2-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: -34px 0 36px;
}

.roadmap-v2-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 52px 18px 18px;
  border: 1px solid rgba(144, 255, 0, 0.7);
  border-radius: 9px;
  background:
    radial-gradient(circle at 15% 0%, rgba(144, 255, 0, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(4, 11, 10, 0.95), rgba(3, 5, 8, 0.96));
  box-shadow: inset 0 0 30px rgba(144, 255, 0, 0.04), 0 0 18px rgba(144, 255, 0, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.roadmap-v2-card.is-purple {
  border-color: rgba(180, 60, 255, 0.75);
  background:
    radial-gradient(circle at 15% 0%, rgba(180, 60, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(9, 6, 16, 0.96), rgba(3, 5, 8, 0.96));
}

.roadmap-v2-card:hover {
  border-color: rgba(144, 255, 0, 0.95);
  background:
    radial-gradient(circle at 15% 0%, rgba(144, 255, 0, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(4, 11, 10, 0.97), rgba(3, 5, 8, 0.97));
  box-shadow: inset 0 0 34px rgba(144, 255, 0, 0.06), 0 0 26px rgba(144, 255, 0, 0.18);
  transform: translateY(-4px);
}

.roadmap-v2-card.is-purple:hover {
  border-color: rgba(180, 60, 255, 0.95);
  background:
    radial-gradient(circle at 15% 0%, rgba(180, 60, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(9, 6, 16, 0.98), rgba(3, 5, 8, 0.97));
  box-shadow: inset 0 0 34px rgba(180, 60, 255, 0.06), 0 0 26px rgba(180, 60, 255, 0.18);
}

.roadmap-v2-badge {
  position: absolute;
  top: -31px;
  left: 50%;
  min-width: 138px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: rgba(3, 7, 8, 0.96);
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.roadmap-v2-card:hover .roadmap-v2-badge {
  box-shadow: 0 0 20px rgba(144, 255, 0, 0.26);
  transform: translateX(-50%) translateY(-2px);
}

.roadmap-v2-card.is-purple:hover .roadmap-v2-badge {
  box-shadow: 0 0 20px rgba(180, 60, 255, 0.32);
}

.roadmap-v2-card.is-purple .roadmap-v2-badge {
  color: #c147ff;
}

.roadmap-v2-card h3 {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5fff8;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-v2-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
}

.roadmap-v2-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(144, 255, 0, 0.24));
  transition: transform 180ms ease, filter 180ms ease;
}

.roadmap-v2-card:hover .roadmap-v2-item img {
  filter: drop-shadow(0 0 16px rgba(144, 255, 0, 0.38));
  transform: translateX(3px) scale(1.04);
}

.roadmap-v2-card.is-purple .roadmap-v2-item img {
  filter: drop-shadow(0 0 12px rgba(180, 60, 255, 0.28));
}

.roadmap-v2-item b,
.roadmap-v2-objective b,
.roadmap-v2-after b,
.roadmap-v2-timeline b {
  display: block;
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.roadmap-v2-card.is-purple .roadmap-v2-item b,
.roadmap-v2-card.is-purple .roadmap-v2-objective b {
  color: #c147ff;
}

.roadmap-v2-item small,
.roadmap-v2-objective,
.roadmap-v2-after small,
.roadmap-v2-timeline small {
  color: #d3dbd4;
  font-size: 0.82rem;
  line-height: 1.45;
  text-transform: none;
}

.roadmap-v2-objective {
  margin: 4px 0 0;
  padding: 13px;
  border: 1px solid rgba(144, 255, 0, 0.38);
  border-radius: 8px;
  background: rgba(144, 255, 0, 0.035);
}

.roadmap-v2-card.is-purple .roadmap-v2-objective {
  border-color: rgba(180, 60, 255, 0.45);
  background: rgba(180, 60, 255, 0.04);
}

.roadmap-v2-after {
  margin: 18px 0 46px;
  padding: 22px 20px;
  border: 1px solid rgba(144, 255, 0, 0.44);
  border-radius: 11px;
  background: rgba(3, 8, 10, 0.72);
}

.roadmap-v2-after h2 {
  margin: -43px auto 20px;
  width: max-content;
  padding: 0 22px;
  background: #030608;
  color: #f3fff8;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-v2-after h2 span {
  color: #9bff17;
}

.roadmap-v2-after > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-v2-after article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
}

.roadmap-v2-after img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(180, 60, 255, 0.2));
}

.roadmap-v2-after small {
  grid-column: 2;
  max-width: 250px;
}

.roadmap-v2-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 54px 0 38px;
  padding-top: 20px;
}

.roadmap-v2-timeline::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9bff17, #9bff17 43%, #c147ff 58%, #9bff17);
  box-shadow: 0 0 18px rgba(144, 255, 0, 0.36);
}

.roadmap-v2-timeline article {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.roadmap-v2-timeline span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 4px solid #9bff17;
  border-radius: 50%;
  background: #05070a;
  color: #9bff17;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(144, 255, 0, 0.28);
}

.roadmap-v2-timeline article:nth-child(3) span {
  border-color: #c147ff;
  color: #c147ff;
  box-shadow: 0 0 18px rgba(180, 60, 255, 0.3);
}

.roadmap-v2-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

@media (max-width: 980px) {
  .roadmap-v2-shell {
    width: min(100% - 28px, 1180px);
  }

  .roadmap-v2-nav {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 18px 0;
  }

  .roadmap-v2-cta {
    justify-self: start;
  }

  .roadmap-v2-hero {
    min-height: 740px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .roadmap-v2-scene {
    right: -150px;
    bottom: 0;
    width: 760px;
  }

  .roadmap-v2-grid,
  .roadmap-v2-after > div {
    grid-template-columns: 1fr;
  }

  .roadmap-v2-grid {
    margin-top: 28px;
    gap: 46px;
  }
}

@media (max-width: 680px) {
  .roadmap-v2-shell {
    width: min(100% - 28px, 1180px);
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .roadmap-v2-hero {
    display: block;
    min-height: 770px;
    padding: 22px 0 0;
  }

  .roadmap-v2-copy {
    max-width: 100%;
    padding: 0;
    transform: none;
  }

  .roadmap-v2-title-classic {
    font-size: clamp(2.02rem, 10vw, 2.42rem);
    line-height: 0.96;
  }

  .roadmap-v2-title-green,
  .roadmap-v2-copy h1 em {
    font-size: clamp(1.58rem, 8.4vw, 2.02rem);
    line-height: 0.9;
    white-space: normal;
  }

  .roadmap-v2-copy p {
    max-width: min(100%, 330px);
    margin-top: 18px;
    font-size: 0.94rem;
  }

  .roadmap-v2-scene {
    right: -84px;
    bottom: 0;
    width: 520px;
    height: 500px;
  }

  .roadmap-v2-corey {
    right: 58px;
    bottom: -166px;
    width: 410px;
    transform: none;
    animation: none;
  }

  .roadmap-v2-terminal {
    top: auto;
    left: 0;
    right: auto;
    bottom: 270px;
    width: min(54vw, 188px);
    z-index: 5;
  }

  .roadmap-v2-wagmi,
  .roadmap-v2-chips,
  .roadmap-v2-pumpfuel {
    display: none;
  }

  .roadmap-v2-timeline {
    grid-template-columns: 1fr;
  }

  .roadmap-v2-timeline::before {
    display: none;
  }
}
