/* NEXA arena v4 — original CSS artwork and competition layout. */

.airdrop-entry,
.arena-hero-v4,
.arena-prize-rail,
.contest-progress-card {
  --arena-gold: #f0b90b;
  --arena-pale: #ffe9a5;
  --arena-ink: #0b0e11;
  --arena-line: rgba(240, 185, 11, .25);
  --arena-muted: #a5adb9;
  min-width: 0;
}

.arena-kicker {
  display: block;
  color: #d0b46a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 2px;
}

/* A contained invitation, placed only in the middle of Discover. */
.home-entry.airdrop-entry {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 210px;
  margin: 56px 0;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid #67501c;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 64% 115%, #f0b90b15, transparent 65%),
    linear-gradient(105deg, #171b20 2%, #141613 58%, #25200f 100%);
  box-shadow: inset 0 1px 0 #ffe7a616, 0 18px 50px #00000026;
  text-align: left;
}

.airdrop-entry::before {
  position: absolute;
  z-index: -1;
  top: -243px;
  right: 70px;
  width: 410px;
  height: 410px;
  border: 1px solid #e9b93932;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #efbc2110, 0 0 0 70px #efbc2108;
  content: "";
  pointer-events: none;
}

.airdrop-entry::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(114deg, transparent 54%, #f8d15c09 54.2%, transparent 77%);
  content: "";
  pointer-events: none;
}

.airdrop-entry-copy,
.airdrop-entry-prize {
  min-width: 0;
}

.airdrop-entry-copy h2 {
  margin: 9px 0 10px;
  color: #f4f5f7;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.7px;
}

.airdrop-entry-copy p {
  max-width: 420px;
  margin: 0;
  color: #adb5c0;
  font-size: 16px;
  line-height: 1.7;
}

.airdrop-entry-copy .market-badge {
  margin: 12px 5px 0 0;
}

.airdrop-entry-prize > span {
  display: block;
  margin-bottom: 9px;
  color: #c4b78f;
  font-size: 14px;
  line-height: 1.5;
}

.airdrop-entry-prize strong {
  display: block;
  color: #f7d371;
  font-size: clamp(29px, 3.05vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow: 0 2px 0 #392c12;
}

.airdrop-entry-prize strong small {
  display: inline-block;
  margin-left: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}

.airdrop-entry-button.btn,
.arena-hero-actions > .btn-primary {
  min-height: 48px;
  padding: 13px 25px;
  border: 1px solid #f7d55f;
  border-radius: 6px;
  background: linear-gradient(120deg, #f8ce3d, #f0b90b 65%, #e6ab08);
  box-shadow: inset 0 1px 0 #fff4ba75, 0 7px 22px #d59b071f;
  color: #181607;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.airdrop-entry-button.btn:hover,
.arena-hero-actions > .btn-primary:hover {
  background: linear-gradient(120deg, #ffe06a, #f6c72d 70%, #efb51a);
  box-shadow: inset 0 1px 0 #fff4ba75, 0 8px 26px #d59b0735;
  transform: translateY(-1px);
}

.airdrop-entry :is(button, a):focus-visible,
.arena-hero-v4 :is(button, a):focus-visible,
.arena-prize-rail :is(button, a):focus-visible {
  outline: 2px solid #ffe291;
  outline-offset: 4px;
}

/* Large competition stage. The compact rail below it owns sticky behavior. */
.arena-hero-v4 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid #f4c54f14;
  border-bottom: 1px solid #745619;
  background:
    radial-gradient(ellipse at 82% 31%, #8e651428, transparent 46%),
    radial-gradient(ellipse at 14% 111%, #97701a20, transparent 52%),
    linear-gradient(117deg, #11161d 0%, #0d1116 46%, #151510 100%);
}

.arena-hero-v4::before {
  position: absolute;
  z-index: -2;
  top: -30%;
  right: -6%;
  width: 76%;
  height: 120%;
  background: conic-gradient(from 161deg at 58% 0%, transparent 0deg, #ffcc3f00 17deg, #ffd95e13 23deg, #f8bd211c 26deg, transparent 32deg, transparent 47deg, #ffdd6b0a 52deg, transparent 57deg);
  transform: rotate(-7deg);
  filter: blur(2px);
  content: "";
  pointer-events: none;
}

.arena-hero-v4::after {
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -190px;
  width: 95%;
  height: 360px;
  border-top: 1px solid #e6b43b35;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 89px, #e8c45d10 90px 91px),
    repeating-linear-gradient(0deg, transparent 0 58px, #e8c45d10 59px 60px);
  transform: perspective(420px) rotateX(54deg) rotateZ(-10deg);
  transform-origin: center top;
  content: "";
  pointer-events: none;
}

.arena-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 550px;
  padding-top: 48px;
  padding-bottom: 42px;
}

.arena-hero-copy {
  max-width: 730px;
}

.arena-hero-copy .arena-kicker {
  color: #d7b85e;
}

.arena-hero-copy h1 {
  margin: 13px 0 12px;
  color: #f3f4f6;
  font-size: clamp(32px, 3.7vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.3px;
}

.arena-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: #a7afba;
  font-size: 16px;
  line-height: 1.75;
}

.arena-prize-display {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}

.arena-prize-label {
  display: block;
  margin-bottom: 8px;
  color: #cfb879;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1px;
}

.arena-prize-number {
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(174deg, #fff5c8 0%, #ffdf7c 28%, #e6b33c 47%, #fff0a8 49%, #edbd4c 64%, #a77111 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #5a3d10) drop-shadow(0 12px 18px #0008);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(66px, 7.5vw, 100px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.arena-prize-number small {
  display: inline-block;
  margin-left: 13px;
  color: #ebc56b;
  -webkit-text-fill-color: #ebc56b;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 700;
  letter-spacing: .5px;
  vertical-align: baseline;
}

.arena-goal-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: 20px;
  width: min(780px, 100%);
  min-width: 0;
  padding: 20px 24px;
  border: 1px solid #83622361;
  border-radius: 8px;
  background: linear-gradient(102deg, #1c1e1be8, #171b21f2 68%, #2b2413dc);
  box-shadow: inset 0 1px 0 #ffe4a00a, 0 8px 24px #0002;
}

.arena-goal-track > div {
  min-width: 0;
}

.arena-goal-start > span,
.arena-goal-target > span {
  display: block;
  margin-bottom: 7px;
  color: #acb2bc;
  font-size: 14px;
  line-height: 1.45;
}

.arena-goal-start strong,
.arena-goal-target strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  color: #e9edf2;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.6px;
  font-variant-numeric: tabular-nums;
}

.arena-goal-start strong small,
.arena-goal-target strong small {
  color: #a9b0ba;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.arena-goal-target strong,
.arena-goal-target strong small {
  color: #f3cf70;
}

.arena-goal-arrow {
  padding-top: 18px;
  color: #bda05c;
  font-size: 31px;
  line-height: 1;
  text-align: center;
}

.arena-goal-return {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-left: 22px;
  border-left: 1px solid #bd944136;
}

.arena-goal-return strong {
  color: #ffd86b;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.8px;
}

.arena-goal-return > span {
  color: #c9bb97;
  font-size: 14px;
  line-height: 1.45;
}

.arena-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  max-width: 780px;
  margin-top: 26px;
}

.arena-hero-actions > .text-btn {
  min-height: 44px;
  color: #e5c46f;
  font-size: 14px;
}

.arena-hero-actions > p {
  flex-basis: 100%;
  margin: -2px 0 0;
  color: #949eac;
  font-size: 14px;
  line-height: 1.7;
}

/* Orbit sculpture: all decorative, no external image or fake market data. */
.arena-hero-art {
  position: absolute;
  z-index: 1;
  top: 43%;
  right: max(-45px, calc((100vw - 1330px) / 2));
  width: 460px;
  height: 440px;
  transform: translateY(-50%);
  perspective: 850px;
  pointer-events: none;
}

.arena-hero-art::before {
  position: absolute;
  inset: 14% 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #f7bd2126 0%, #c3890c09 45%, transparent 70%);
  filter: blur(8px);
  content: "";
}

.arena-hero-art::after {
  position: absolute;
  right: 19%;
  bottom: 12%;
  width: 54%;
  height: 28px;
  border-radius: 50%;
  background: #0008;
  filter: blur(14px);
  transform: rotate(-14deg);
  content: "";
}

.arena-orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: block;
  border: 1px solid #e8bb493d;
  border-top-color: #f5d37c7a;
  border-radius: 50%;
  box-shadow: inset 0 0 14px #ffc83406;
}

.arena-orbit::before {
  position: absolute;
  top: 24%;
  right: 6%;
  width: 7px;
  height: 7px;
  border: 1px solid #f9db83;
  border-radius: 50%;
  background: #eebd3e;
  box-shadow: 0 0 12px #f0b90b88;
  content: "";
}

.arena-orbit.orbit-a {
  width: 424px;
  height: 204px;
  transform: translate(-50%, -50%) rotate(-32deg);
}

.arena-orbit.orbit-b {
  z-index: 3;
  width: 180px;
  height: 372px;
  opacity: .5;
  transform: translate(-50%, -50%) rotate(-35deg);
}

.arena-orbit.orbit-b::before {
  top: auto;
  bottom: 13%;
  width: 5px;
  height: 5px;
}

.arena-orbit.orbit-c {
  width: 460px;
  height: 230px;
  opacity: .55;
  transform: translate(-50%, -50%) rotate(31deg);
}

.arena-orbit.orbit-c::before {
  top: 40%;
  left: -3px;
  right: auto;
  width: 9px;
  height: 9px;
}

.arena-medallion {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 208px;
  height: 208px;
  border: 3px solid #ffe6a1;
  border-right-color: #aa7417;
  border-bottom-color: #925f0f;
  border-radius: 50%;
  background: linear-gradient(136deg, #fff0ba 0%, #c48b1d 20%, #f8d374 40%, #84520a 72%, #f3ca65 100%);
  box-shadow: 5px 7px 0 #a97213, 9px 11px 0 #65400e, 10px 14px 0 #342610, 16px 25px 28px #0007;
  transform: translate(-50%, -50%) rotate(-17deg) rotateY(-24deg) rotateX(10deg);
}

.arena-medallion::before {
  position: absolute;
  inset: 12px;
  border: 1px solid #f8d879;
  border-right-color: #7b5316;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #d5a745 0%, #9e6e1f 38%, #5c3e16 80%);
  box-shadow: inset 3px 4px 10px #412808bd, inset -1px -2px 0 #ffdf7b8c;
  content: "";
}

.arena-medallion::after {
  position: absolute;
  inset: 21px;
  border: 1px solid #ebbd5b56;
  border-radius: 50%;
  content: "";
}

.arena-medallion > .icon {
  position: relative;
  z-index: 1;
  width: 94px;
  height: 94px;
  color: #ffe6a0;
  stroke-width: 1.1px;
  filter: drop-shadow(2px 3px 0 #563607);
}

.arena-art-spark {
  position: absolute;
  z-index: 4;
  width: 26px;
  height: 26px;
  transform: rotate(14deg);
}

.arena-art-spark::before,
.arena-art-spark::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffe8a4, transparent);
  box-shadow: 0 0 9px #efb82966;
  transform: translate(-50%, -50%);
  content: "";
}

.arena-art-spark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.arena-art-spark.spark-a { left: 16%; top: 19%; }
.arena-art-spark.spark-b { right: 10%; bottom: 20%; transform: scale(.65) rotate(14deg); }

/* The persistent prize block stays compact while the markets scroll. */
.arena-prize-rail {
  position: sticky;
  top: var(--header, 72px);
  z-index: 25;
  border-bottom: 1px solid #b7872a66;
  background: #12161bf5;
  box-shadow: 0 6px 22px #00000036;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.arena-rail-inner {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(250px, 1.4fr) minmax(100px, .7fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.arena-rail-inner > * { min-width: 0; }

.arena-rail-title {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #e3e7ec;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.arena-rail-title > .icon {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  color: #e7be55;
}

.arena-rail-prize {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 13px;
}

.arena-rail-prize > span,
.arena-rail-goal > span {
  color: #aeb5c0;
  font-size: 14px;
  line-height: 1.4;
}

.arena-rail-prize strong {
  color: #f4ce6a;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.arena-rail-prize small {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.arena-rail-goal {
  padding-left: 24px;
  border-left: 1px solid #a5843633;
}

.arena-rail-goal > span { display: block; margin-bottom: 2px; }
.arena-rail-goal strong { color: #ece2c7; font-size: 20px; line-height: 1.25; }
.arena-rail-inner > .text-btn { min-height: 42px; color: #e6c96e; font-size: 14px; }

#arenaMarkets { scroll-margin-top: calc(var(--header, 72px) + 108px); }

/* Account progress is supplied by the engine, never by decorative artwork. */
.contest-progress-card {
  position: relative;
  margin-bottom: 28px;
  padding: 24px 26px;
  border: 1px solid #6e582d80;
  border-radius: 10px;
  background: radial-gradient(ellipse at 100% 0, #b98b1910, transparent 55%), #151a20;
  box-shadow: inset 0 1px 0 #f7d7890a;
}

.contest-progress-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.contest-progress-summary > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.contest-progress-summary > div > .icon { flex: 0 0 auto; width: 26px; height: 26px; color: #e6c064; }
.contest-progress-summary > div > div { min-width: 0; }
.contest-progress-summary > div > div > strong { display: block; color: #edf0f4; font-size: 18px; font-weight: 600; line-height: 1.5; }
.contest-progress-summary > div > div > span { display: block; margin-top: 4px; color: #a6afbc; font-size: 14px; line-height: 1.5; }
.contest-progress-summary > .text-btn { flex: 0 0 auto; min-height: 42px; font-size: 14px; }
.contest-progress-summary h2,
.contest-progress-summary h3 { margin: 0 0 7px; color: #edf0f4; font-size: 20px; line-height: 1.4; }
.contest-progress-summary > strong { color: #edf0f4; font-size: 18px; line-height: 1.5; }
.contest-progress-summary p { margin: 0; color: #a6afbc; font-size: 16px; line-height: 1.7; }
.contest-progress-summary > .icon { flex: 0 0 auto; width: 26px; height: 26px; color: #e6c064; }

.contest-mini-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #80652c75;
  border-radius: 4px;
  background: #66501c20;
  color: #e7ca80;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.contest-mini-status.ready,
.contest-mini-status.eligible,
.contest-mini-status.qualified { border-color: #3a856050; background: #194b322b; color: #7bdbac; }
.contest-mini-status.pending { border-color: #6c788744; background: #363f4d30; color: #b7c2d1; }

.contest-progress-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 23px 0 20px;
}

.contest-progress-numbers > * { min-width: 0; padding-right: 20px; }
.contest-progress-numbers > * + * { padding-left: 26px; border-left: 1px solid #343b45; }
.contest-progress-numbers > :last-child { padding-right: 0; }
.contest-progress-numbers span,
.contest-progress-numbers dt { display: block; margin: 0 0 7px; color: #aab3c0; font-size: 14px; line-height: 1.5; }
.contest-progress-numbers strong,
.contest-progress-numbers dd { display: block; margin: 0; color: #edf0f5; font-size: clamp(23px, 2.4vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.contest-progress-numbers small { margin-left: 5px; color: #9da8b7; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.contest-progress-numbers .positive { color: #45d59a; }
.contest-progress-numbers .negative { color: #f27183; }

.contest-progress-bar {
  height: 8px;
  overflow: hidden;
  border: 1px solid #34392f;
  border-radius: 8px;
  background: #2a3037;
}

.contest-progress-bar > :is(i, span, div) {
  display: block;
  width: var(--progress, 0%);
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b98912, #f0b90b 65%, #ffdd7a);
  box-shadow: 0 0 10px #e9b51f33;
  transition: width .35s ease;
}

.contest-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 13px;
  color: #a2acba;
  font-size: 14px;
  line-height: 1.65;
}

.contest-progress-foot p { margin: 0; font-size: 14px; }
.contest-progress-foot .text-btn { min-height: 40px; font-size: 14px; }
.contest-progress-foot strong { color: #e1cb93; font-weight: 500; }
.contest-progress-foot > .contest-mini-status { display: block; flex: 1 1 55%; max-width: 100%; padding: 0; border: 0; background: none; color: #aab4c2; font-size: 14px; font-weight: 400; text-align: left; }
.contest-progress-foot > .contest-mini-status.qualified { color: #7bdbac; }
.contest-progress-foot > strong { flex: 0 0 auto; font-size: 14px; }
.contest-progress-foot > strong.positive { color: #45d59a; }
.contest-progress-foot > strong.negative { color: #f27183; }
.contest-progress-foot > .btn { min-height: 42px; font-size: 14px; }

.contest-progress-card.contest-progress-compact { margin: 14px 0; padding: 18px 20px; }
.contest-progress-compact .contest-progress-summary > div > div > strong { font-size: 16px; }
.contest-progress-compact .contest-progress-numbers { margin: 17px 0 15px; }
.contest-progress-compact .contest-progress-numbers strong { font-size: 25px; }
.contest-progress-compact .contest-progress-foot { margin-top: 10px; }

.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid #414a57;
  border-radius: 4px;
  background: #242c3661;
  color: #bfc9d7;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  vertical-align: middle;
}

.market-badge.meme { border-color: #79602e; background: #45361c45; color: #e5c77e; }

@media (max-width: 1150px) {
  .home-entry.airdrop-entry { gap: 24px; padding: 30px; grid-template-columns: minmax(0, 1fr) auto; }
  .airdrop-entry-copy { grid-row: auto; }
  .airdrop-entry-prize { align-self: end; }
  .airdrop-entry-button.btn { width: fit-content; align-self: center; }
  .arena-hero-art { right: -96px; opacity: .82; }
  .arena-hero-copy { max-width: 66%; }
  .arena-hero-copy p { max-width: 570px; }
  .arena-prize-number { font-size: clamp(66px, 8vw, 90px); }
  .arena-goal-track { width: min(740px, 100%); }
  .arena-rail-inner { grid-template-columns: minmax(140px, 1fr) minmax(210px, 1.3fr) minmax(100px, .65fr) auto; gap: 18px; }
  .arena-rail-prize { display: block; }
  .arena-rail-prize > span { display: block; margin-bottom: 3px; }
  .arena-rail-prize strong { font-size: 26px; }
}

@media (max-width: 900px) {
  .arena-hero-inner { min-height: 0; padding-top: 40px; padding-bottom: 34px; }
  .arena-hero-copy { max-width: 78%; }
  .arena-hero-art { top: 36%; right: -165px; opacity: .5; }
  .arena-prize-display { margin-top: 27px; margin-bottom: 27px; }
  .arena-prize-number { font-size: clamp(62px, 9.5vw, 82px); }
  .arena-prize-number small { font-size: 21px; }
  .arena-goal-track { gap: 17px; padding: 20px; }
  .arena-goal-start strong, .arena-goal-target strong { font-size: 26px; }
  .arena-goal-return { padding-left: 17px; }
  .arena-goal-return strong { font-size: 29px; }
  .arena-rail-title { font-size: 14px; }
  .arena-rail-title > .icon { width: 22px; height: 22px; }
  .arena-rail-inner { grid-template-columns: minmax(120px, 1fr) minmax(185px, 1.3fr) minmax(90px, .7fr) auto; gap: 14px; }
  .arena-rail-goal { padding-left: 17px; }
  .contest-progress-card { padding: 22px; }
  .contest-progress-numbers > * { padding-right: 15px; }
  .contest-progress-numbers > * + * { padding-left: 18px; }
}

@media (max-width: 640px) {
  .home-entry.airdrop-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    min-height: 0;
    margin: 40px 0;
    padding: 25px 23px;
    border-radius: 10px;
  }
  .airdrop-entry::before { top: -214px; right: -176px; width: 380px; height: 380px; }
  .airdrop-entry-copy { grid-row: auto; }
  .airdrop-entry-copy h2 { margin-top: 9px; font-size: 28px; letter-spacing: -.5px; }
  .airdrop-entry-copy p { max-width: none; font-size: 16px; line-height: 1.7; }
  .airdrop-entry .arena-kicker { font-size: 12px; letter-spacing: 1.5px; }
  .airdrop-entry-prize > span { margin-bottom: 7px; font-size: 14px; }
  .airdrop-entry-prize strong { font-size: clamp(31px, 9.2vw, 42px); letter-spacing: -1.2px; }
  .airdrop-entry-prize strong small { margin-left: 7px; font-size: 14px; }
  .airdrop-entry-button.btn { width: 100%; min-height: 48px; padding: 13px 18px; font-size: 16px; }

  .arena-hero-inner { padding-top: 30px; padding-bottom: 29px; }
  .arena-hero-copy { max-width: 100%; }
  .arena-hero-copy .arena-kicker { font-size: 12px; letter-spacing: 1.4px; }
  .arena-hero-copy h1 { max-width: 94%; margin: 13px 0 11px; font-size: clamp(30px, 8.5vw, 36px); letter-spacing: -.8px; }
  .arena-hero-copy p { max-width: 100%; font-size: 16px; line-height: 1.7; }
  .arena-prize-display { margin-top: 27px; margin-bottom: 27px; }
  .arena-prize-label { margin-bottom: 9px; font-size: 14px; letter-spacing: .7px; }
  .arena-prize-number { font-size: clamp(44px, 13.5vw, 72px); line-height: 1.1; letter-spacing: -2.4px; filter: drop-shadow(0 2px 0 #5a3d10) drop-shadow(0 7px 14px #0009); }
  .arena-prize-number small { margin-left: 8px; font-size: clamp(14px, 3.8vw, 20px); letter-spacing: 0; }
  .arena-hero-art { top: 65px; right: -186px; width: 390px; height: 390px; opacity: .23; transform: none; }
  .arena-medallion { width: 180px; height: 180px; }
  .arena-medallion > .icon { width: 80px; height: 80px; }
  .arena-orbit.orbit-a { width: 360px; height: 180px; }
  .arena-orbit.orbit-b { width: 150px; height: 310px; }
  .arena-orbit.orbit-c { width: 390px; height: 200px; }
  .arena-hero-v4::before { top: -10%; right: -55%; width: 140%; height: 100%; opacity: .75; }
  .arena-hero-v4::after { bottom: -220px; width: 150%; opacity: .6; }

  .arena-goal-track { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 14px 10px; width: 100%; padding: 17px; border-radius: 7px; }
  .arena-goal-start > span, .arena-goal-target > span { min-height: 41px; margin-bottom: 4px; font-size: 14px; line-height: 1.45; }
  .arena-goal-start strong, .arena-goal-target strong { gap: 5px; font-size: 25px; letter-spacing: -.6px; }
  .arena-goal-start strong small, .arena-goal-target strong small { font-size: 12px; }
  .arena-goal-arrow { padding-top: 23px; font-size: 23px; }
  .arena-goal-return { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 13px 0 0; border-left: 0; border-top: 1px solid #bd94412f; }
  .arena-goal-return strong { font-size: 27px; }
  .arena-goal-return > span { font-size: 14px; }
  .arena-hero-actions { gap: 14px 20px; margin-top: 23px; }
  .arena-hero-actions > .btn-primary { flex: 1 1 auto; min-height: 48px; padding: 12px 18px; font-size: 16px; }
  .arena-hero-actions > .text-btn { min-height: 44px; font-size: 14px; }
  .arena-hero-actions > p { margin-top: 0; font-size: 14px; line-height: 1.7; }

  .arena-rail-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; min-height: 80px; padding-top: 12px; padding-bottom: 12px; }
  .arena-rail-title { display: none; }
  .arena-rail-prize > span { margin-bottom: 3px; font-size: 14px; }
  .arena-rail-prize strong { font-size: 24px; letter-spacing: -.6px; }
  .arena-rail-prize small { margin-left: 4px; font-size: 12px; }
  .arena-rail-goal { max-width: 98px; padding-left: 0; border-left: 0; }
  .arena-rail-goal > span { margin-bottom: 3px; font-size: 14px; line-height: 1.35; }
  .arena-rail-goal strong { font-size: 21px; }
  .arena-rail-inner > .text-btn { min-height: 44px; padding: 7px 0 7px 4px; font-size: 14px; }

  .contest-progress-card { margin-bottom: 24px; padding: 20px 17px; border-radius: 8px; }
  .contest-progress-summary { gap: 12px; flex-wrap: wrap; }
  .contest-progress-summary > div { gap: 9px; flex: 1 1 185px; }
  .contest-progress-summary > div > .icon { width: 23px; height: 23px; }
  .contest-progress-summary > div > div > strong { font-size: 17px; }
  .contest-progress-summary > div > div > span { font-size: 14px; }
  .contest-progress-summary h2, .contest-progress-summary h3 { font-size: 19px; }
  .contest-progress-summary p { font-size: 16px; line-height: 1.7; }
  .contest-mini-status { max-width: 100%; font-size: 12px; }
  .contest-progress-numbers { gap: 0; margin: 20px 0 17px; }
  .contest-progress-numbers > * { padding-right: 9px; }
  .contest-progress-numbers > * + * { padding-left: 10px; }
  .contest-progress-numbers span, .contest-progress-numbers dt { min-height: 40px; margin-bottom: 6px; font-size: 14px; line-height: 1.45; }
  .contest-progress-numbers strong, .contest-progress-numbers dd { font-size: clamp(18px, 5.2vw, 24px); line-height: 1.3; letter-spacing: -.65px; overflow-wrap: anywhere; }
  .contest-progress-numbers small { display: block; margin: 3px 0 0; font-size: 12px; }
  .contest-progress-foot { align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 14px; }
  .contest-progress-foot p { font-size: 14px; }
  .contest-progress-foot .text-btn { font-size: 14px; }
  .contest-progress-foot > .contest-mini-status { flex-basis: 100%; font-size: 14px; }
  .contest-progress-foot > .btn { margin-left: auto; }
  .contest-progress-card.contest-progress-compact { margin: 12px 16px; padding: 17px 15px; }
  .contest-progress-compact .contest-progress-numbers strong { font-size: clamp(18px, 5.2vw, 23px); }
  .contest-progress-compact .contest-progress-summary { gap: 8px; }
  .market-badge { padding: 3px 6px; font-size: 12px; }
}

@media (max-width: 360px) {
  .home-entry.airdrop-entry { padding: 23px 19px; }
  .airdrop-entry-copy h2 { font-size: 25px; }
  .arena-prize-number { font-size: 43px; letter-spacing: -2.2px; }
  .arena-prize-number small { margin-left: 6px; font-size: 14px; }
  .arena-goal-track { padding: 15px 13px; gap: 12px 8px; }
  .arena-goal-start strong, .arena-goal-target strong { font-size: 23px; }
  .arena-rail-inner { gap: 8px; }
  .arena-rail-prize strong { font-size: 21px; }
  .arena-rail-prize small { font-size: 12px; }
  .arena-rail-goal { max-width: 83px; }
  .arena-rail-goal strong { font-size: 20px; }
  .contest-progress-card { padding-inline: 14px; }
  .contest-progress-numbers > * { padding-right: 7px; }
  .contest-progress-numbers > * + * { padding-left: 8px; }
  .contest-progress-numbers strong, .contest-progress-numbers dd,
  .contest-progress-compact .contest-progress-numbers strong { font-size: 17px; letter-spacing: -.8px; }
}

@media (prefers-reduced-motion: reduce) {
  .airdrop-entry-button.btn,
  .arena-hero-actions > .btn-primary,
  .contest-progress-bar > :is(i, span, div) { transition: none; }
  .airdrop-entry-button.btn:hover,
  .arena-hero-actions > .btn-primary:hover { transform: none; }
}
