/* Shared center pages: white technical editorial system */
:root {
  --hub-space-1: 8px;
  --hub-space-2: 16px;
  --hub-space-3: 24px;
  --hub-space-4: 40px;
  --hub-space-5: 64px;
  --hub-space-6: 96px;
  --hub-shadow: 12px 12px 0 rgba(14, 169, 173, 0.09);
}

.site-nav {
  gap: 24px;
}

.portal-section {
  padding-top: 112px;
}

.portal-list {
  border-top: 1px solid var(--ink);
}

.portal-row {
  position: relative;
  display: grid;
  min-height: 142px;
  padding: 28px 72px 28px 20px;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 70px 210px minmax(230px, 0.7fr) 1fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  transition: padding-left 220ms ease, background 220ms ease;
}

.portal-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--portal-color, var(--cyan));
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 220ms ease;
}

.portal-row:hover {
  padding-left: 30px;
  background: rgba(255, 255, 255, 0.7);
}

.portal-row:hover::before {
  transform: scaleY(1);
}

.portal-game { --portal-color: var(--cyan); }
.portal-compute { --portal-color: var(--lime); }
.portal-reward { --portal-color: var(--coral); }
.portal-charge { --portal-color: var(--ink); }
.portal-user { --portal-color: var(--cyan); }

.portal-index,
.portal-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.portal-index {
  color: var(--portal-color);
}

.portal-kicker {
  color: var(--muted);
}

.portal-row > strong {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -0.035em;
}

.portal-row > small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.portal-row > i {
  position: absolute;
  right: 24px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 13px;
  font-style: normal;
  line-height: 30px;
  text-align: center;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.portal-row:hover > i {
  color: var(--portal-color);
  border-color: var(--portal-color);
  transform: rotate(45deg);
}

.hub-page main {
  min-height: 100vh;
}

.hub-page .site-header.is-scrolled,
.hub-page .site-header {
  background: rgba(247, 247, 242, 0.9);
}

.hub-page .site-nav .is-active:not(.nav-cta) {
  color: var(--ink);
}

.hub-page .site-nav .is-active:not(.nav-cta)::after {
  transform: scaleX(1);
}

.site-nav .nav-cta.is-active {
  color: var(--white);
}

.hub-hero {
  display: grid;
  min-height: 790px;
  padding-top: 148px;
  padding-bottom: 84px;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  gap: 62px;
  align-items: center;
}

.hub-overline {
  margin-top: 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.hub-hero h1 {
  max-width: 650px;
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(54px, 4.9vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.games-page .hub-hero h1 {
  font-size: clamp(50px, 4.15vw, 62px);
}

.compute-page .hub-hero h1,
.recharge-page .hub-hero h1 {
  font-size: clamp(48px, 4vw, 60px);
}

.hub-hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.compute-page .hub-hero h1 em { color: var(--lime); }
.rewards-page .hub-hero h1 em { color: var(--coral); }

.hub-lead {
  max-width: 610px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hub-hero-actions {
  display: flex;
  margin-top: 36px;
  align-items: center;
  gap: 24px;
}

.availability {
  display: inline-flex;
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(145, 189, 37, 0.12);
}

.availability.coral i {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(239, 108, 85, 0.12);
}

.hub-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: var(--hub-shadow);
  overflow: hidden;
}

.hub-hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 52%, rgba(17, 22, 27, 0.72));
  content: "";
  pointer-events: none;
}

.hub-hero-media img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
}

.hub-hero-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  display: grid;
  color: var(--white);
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: end;
}

.hub-hero-media figcaption span,
.hub-hero-media figcaption small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hub-hero-media figcaption strong {
  grid-row: span 2;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.025em;
}

.hub-hero-media figcaption small {
  color: rgba(255, 255, 255, 0.72);
}

.hub-facts,
.wallet-strip,
.reward-account,
.payment-strip {
  display: grid;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.56);
}

.hub-facts > div,
.wallet-strip > div,
.reward-account > div,
.payment-strip > div {
  display: grid;
  min-height: 126px;
  padding: 26px 40px;
  grid-template-columns: auto 1fr;
  gap: 5px 20px;
  align-content: center;
  align-items: center;
}

.hub-facts > div + div,
.wallet-strip > div + div,
.reward-account > div + div,
.payment-strip > div + div {
  border-left: 1px solid var(--line);
}

.hub-facts strong,
.wallet-strip strong,
.reward-account strong,
.payment-strip strong {
  grid-row: span 2;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
}

.hub-facts span,
.wallet-strip span,
.reward-account span,
.payment-strip span {
  font-size: 14px;
  font-weight: 700;
}

.hub-facts small,
.wallet-strip small,
.reward-account small,
.payment-strip small {
  color: var(--muted);
  font-size: 11px;
}

.catalog-head,
.exchange-head,
.season-head,
.store-head {
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: end;
}

.catalog-head h2,
.exchange-head h2,
.season-head h2,
.store-head h2,
.collection-loop h2 {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 70px);
  letter-spacing: -0.05em;
}

.filter-bar,
.store-tabs,
.exchange-tabs {
  display: flex;
  border-bottom: 1px solid var(--line-strong);
  justify-content: flex-end;
  gap: 4px;
}

.filter-bar button,
.store-tabs button,
.exchange-tabs button {
  padding: 12px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
}

.filter-bar button:hover,
.filter-bar button.is-active,
.store-tabs button:hover,
.store-tabs button.is-active,
.exchange-tabs button:hover,
.exchange-tabs button.is-active {
  color: var(--ink);
  border-bottom-color: var(--cyan);
}

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

.game-card {
  min-width: 0;
  border-top: 1px solid var(--ink);
  transition: opacity 180ms ease, transform 180ms ease;
}

.game-card.is-filtered {
  display: none;
}

.game-card-featured {
  display: grid;
  padding-bottom: 32px;
  grid-column: 1 / -1;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 34px;
}

.game-image {
  position: relative;
  margin-top: 12px;
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
  background: var(--paper-deep);
}

.game-card:not(.game-card-featured) .game-image {
  aspect-ratio: 16 / 9;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.game-card:hover .game-image img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.025);
}

.game-card-copy {
  padding: 22px 6px 0;
}

.game-card-featured .game-card-copy {
  display: flex;
  padding-top: 34px;
  flex-direction: column;
  justify-content: center;
}

.game-number,
.official-intro > span,
.market-summary > span,
.series-feature > div > span,
.store-product-copy > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.game-card-copy h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -0.035em;
}

.game-card-featured .game-card-copy h3 {
  font-size: 46px;
}

.game-card-copy > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.game-card-copy dl {
  display: grid;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.game-card-copy dl div {
  padding: 13px 8px 0 0;
}

.game-card-copy dt,
.game-card-copy dd {
  margin: 0;
}

.game-card-copy dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.game-card-copy dd {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
}

.text-action,
.series-feature button {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 700;
}

.shared-core {
  padding-block: 112px;
  color: var(--white);
  background: var(--ink);
}

.shared-core-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.shared-core .eyebrow {
  border-color: rgba(255, 255, 255, 0.24);
}

.shared-core h2 {
  margin-top: 34px;
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.shared-core ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
}

.shared-core li {
  display: grid;
  min-height: 112px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: 52px 0.8fr 1.2fr;
  gap: 20px;
  align-items: center;
}

.shared-core li span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
}

.shared-core li strong {
  font-family: var(--display);
  font-size: 25px;
}

.shared-core li small {
  color: rgba(255, 255, 255, 0.58);
}

/* Compute exchange */
.compute-console {
  position: relative;
  min-height: 530px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(17, 22, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 22, 27, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 28px 28px;
  box-shadow: 12px 12px 0 var(--lime-soft);
  overflow: hidden;
}

.console-head {
  display: flex;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.console-head b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.console-head i,
.status-word i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(145, 189, 37, 0.12);
}

.console-core {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 190px;
  height: 190px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(255,255,255,.94);
  box-shadow: 0 0 0 18px rgba(145, 189, 37, 0.08), 0 0 0 42px rgba(14, 169, 173, 0.04);
  transform: translate(-50%, -50%);
}

.console-core span {
  color: var(--lime);
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.86;
}

.console-core strong {
  margin-top: 10px;
  font-size: 15px;
}

.console-core small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.compute-route {
  position: absolute;
  top: 47%;
  left: 50%;
  width: 73%;
  height: 1px;
  background: var(--line-strong);
  transform: translate(-50%, -50%);
}

.compute-route i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: route-pulse 3.2s linear infinite;
}

.compute-route i:nth-child(2) { animation-delay: -.64s; }
.compute-route i:nth-child(3) { animation-delay: -1.28s; }
.compute-route i:nth-child(4) { animation-delay: -1.92s; }
.compute-route i:nth-child(5) { animation-delay: -2.56s; }

@keyframes route-pulse {
  0% { left: 0; opacity: 0; }
  8%, 90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.compute-console ol {
  position: absolute;
  right: 24px;
  bottom: 74px;
  left: 24px;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
}

.compute-console li {
  display: grid;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  align-content: center;
  font-size: 10px;
  background: rgba(255,255,255,.82);
}

.compute-console li span {
  margin-bottom: 8px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
}

.compute-console li.is-live {
  color: var(--ink);
  border-color: var(--lime);
  box-shadow: 4px 4px 0 var(--lime-soft);
}

.compute-console footer {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: grid;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr auto;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 7px;
}

.compute-console footer b { color: var(--lime); }
.compute-page .wallet-strip strong { color: var(--lime); }
.status-word { display: inline-flex; align-items: center; gap: 12px; font-size: 28px !important; }

.exchange-panel[hidden] { display: none; }

.official-intro {
  display: grid;
  max-width: 940px;
  margin-bottom: 46px;
  grid-template-columns: 0.55fr 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}

.official-intro h3,
.market-summary h3 {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.official-intro p,
.market-summary > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.voucher-products {
  display: grid;
  border-top: 1px solid var(--ink);
  grid-template-columns: repeat(4, 1fr);
}

.voucher-product {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 28px 24px 24px;
  border-right: 1px solid var(--line);
  flex-direction: column;
  background: rgba(255,255,255,.45);
}

.voucher-product:first-child { border-left: 1px solid var(--line); }
.voucher-product.is-primary { background: var(--lime-soft); }
.voucher-product.lab { background: var(--ink); color: var(--white); }

.voucher-product > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
}

.voucher-product h3 {
  margin-top: 20px;
  font-family: var(--display);
  font-size: 25px;
}

.voucher-product > strong {
  margin-top: 38px;
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
}

.voucher-product > strong small { font-size: 14px; }

.voucher-product > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.voucher-product.lab > p { color: rgba(255,255,255,.58); }

.voucher-product button,
.order-row button,
.order-book-head button,
.store-product > button {
  min-height: 42px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.voucher-product button:hover,
.order-row button:hover,
.store-product > button:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-2px);
}

.voucher-product.lab button { color: var(--white); border-color: rgba(255,255,255,.6); }
.voucher-product.lab button:hover { color: var(--ink); background: var(--white); }

.prototype-note {
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.market-layout {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: 44px;
}

.market-summary {
  padding-top: 8px;
}

.market-summary h3 { margin-top: 18px; }
.market-summary > p { margin-top: 18px; }

.market-summary dl {
  margin: 32px 0;
  border-top: 1px solid var(--line-strong);
}

.market-summary dl div {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: end;
  justify-content: space-between;
}

.market-summary dt,
.market-summary dd { margin: 0; }
.market-summary dt { color: var(--muted); font-size: 11px; }
.market-summary dd { font-family: var(--display); font-size: 30px; }
.market-summary dd small { color: var(--muted); font-size: 9px; }

.order-book {
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--lime-soft);
}

.order-book-head {
  display: flex;
  min-height: 76px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
}

.order-book-head div { display: grid; gap: 5px; }
.order-book-head span { font-weight: 800; }
.order-book-head small { color: var(--muted); font-size: 9px; }
.order-book-head button { min-height: 34px; margin: 0; border-color: var(--line-strong); font-family: var(--mono); font-size: 8px; }

.order-row {
  display: grid;
  min-height: 78px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1.3fr .6fr .7fr .55fr;
  gap: 14px;
  align-items: center;
}

.order-labels { min-height: 42px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.order-row > span { font-size: 11px; }
.order-row > span small { display: block; margin: 5px 0 0 14px; color: var(--muted); font-size: 8px; }
.order-row > strong { font-size: 12px; }
.order-row > b { color: var(--lime); font-family: var(--display); font-size: 20px; }
.order-row button { min-height: 34px; margin: 0; }

.seller-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.cyan-dot { background: var(--cyan); }
.lime-dot { background: var(--lime); }
.coral-dot { background: var(--coral); }

.market-foot {
  display: flex;
  padding: 16px 20px;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.compute-rules {
  padding-block: 112px;
  background: var(--ink);
  color: var(--white);
}

.compute-rules > div {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
}

.compute-rules .eyebrow { border-color: rgba(255,255,255,.25); }
.compute-rules h2 { margin-top: 34px; font-family: var(--display); font-size: clamp(48px,5vw,68px); line-height: 1.02; letter-spacing: -.05em; }
.compute-rules ol { display: grid; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.26); grid-template-columns: repeat(2,1fr); list-style: none; }
.compute-rules li { min-height: 180px; padding: 24px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.compute-rules li span { color: var(--lime); font-family: var(--mono); font-size: 9px; }
.compute-rules li strong { display: block; margin-top: 36px; font-family: var(--display); font-size: 24px; }
.compute-rules li p { margin-top: 10px; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.7; }

/* Rewards */
.reward-media { box-shadow: 12px 12px 0 var(--coral-soft); }
.reward-media img { object-position: 58% center; }
.reward-account strong { color: var(--coral); }

.season-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.season-meta span { color: var(--coral); font-family: var(--mono); font-size: 10px; }
.season-meta strong { font-family: var(--display); font-size: 30px; }
.season-meta small { color: var(--muted); font-size: 10px; }

.reward-track {
  position: relative;
  padding: 46px 26px 34px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.58);
}

.track-line {
  position: absolute;
  top: 91px;
  right: 72px;
  left: 72px;
  height: 2px;
  background: var(--line);
}
.track-line i { display: block; width: var(--progress); height: 100%; background: var(--coral); }

.reward-track ol {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

.reward-track button {
  width: 100%;
  padding: 0 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.reward-track button > span { display: block; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.reward-track button > i { display: grid; width: 42px; height: 42px; margin: 18px auto 20px; border: 1px solid var(--line-strong); border-radius: 50%; place-items: center; color: var(--muted); background: var(--paper); font-style: normal; font-size: 11px; transition: transform 160ms ease; }
.reward-track button:hover > i { transform: translateY(-4px); }
.reward-track .is-complete button > i { color: var(--white); border-color: var(--coral); background: var(--coral); }
.reward-track .is-current button > i { color: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 8px var(--coral-soft); }
.reward-track strong { display: block; min-height: 38px; font-size: 11px; }
.reward-track small { color: var(--muted); font-size: 9px; }

.reward-sources {
  display: grid;
  margin-top: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: .45fr repeat(3, 1fr) 1.45fr;
  gap: 24px;
  align-items: start;
}
.reward-sources > span { color: var(--coral); font-family: var(--mono); font-size: 9px; }
.reward-sources div { display: grid; gap: 6px; }
.reward-sources b { font-size: 12px; }
.reward-sources small, .reward-sources p { color: var(--muted); font-size: 10px; line-height: 1.7; }

.card-series {
  padding-block: 120px;
  background: var(--white);
}

.series-showcase { border-top: 1px solid var(--ink); }
.series-feature {
  display: grid;
  min-height: 460px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 1.25fr .75fr;
  gap: 54px;
  align-items: center;
}
.series-feature.reverse { grid-template-columns: .75fr 1.25fr; }
.series-feature.reverse img { grid-column: 2; }
.series-feature.reverse > div { grid-row: 1; grid-column: 1; }
.series-feature img { width: 100%; height: 390px; object-fit: cover; }
.series-feature > div { padding: 28px; }
.series-feature > div > span { color: var(--coral); }
.series-feature h3 { margin-top: 18px; font-family: var(--display); font-size: 42px; letter-spacing: -.04em; }
.series-feature p { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.series-feature button { border-color: var(--coral); }
.series-feature button i { color: var(--coral); font-style: normal; }

.collection-loop header { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: end; }
.collection-loop ol { display: grid; margin: 58px 0 0; padding: 0; border-top: 1px solid var(--ink); grid-template-columns: repeat(6, 1fr); list-style: none; }
.collection-loop li { position: relative; min-height: 210px; padding: 24px 18px 20px; border-right: 1px solid var(--line); }
.collection-loop li:first-child { border-left: 1px solid var(--line); }
.collection-loop li span { color: var(--coral); font-family: var(--mono); font-size: 9px; }
.collection-loop li strong { display: block; margin-top: 70px; font-family: var(--display); font-size: 20px; }
.collection-loop li small { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }
.collection-loop li + li::before { position: absolute; top: 78px; left: -7px; z-index: 2; width: 13px; height: 13px; border: 1px solid var(--coral); border-radius: 50%; background: var(--paper); content: ""; }

/* Recharge */
.wallet-visual {
  position: relative;
  min-height: 530px;
  padding: 56px 44px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 78% 22%, rgba(14,169,173,.13), transparent 30%),
    linear-gradient(rgba(17,22,27,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,22,27,.035) 1px, transparent 1px),
    var(--white);
  background-size: auto, 28px 28px, 28px 28px, auto;
  box-shadow: var(--hub-shadow);
  overflow: hidden;
}

.wallet-card {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  min-height: 250px;
  padding: 24px 26px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--cyan-soft);
  transform: rotate(-2deg);
}
.wallet-card::before { position: absolute; top: 0; left: 0; width: 38%; height: 5px; background: var(--cyan); content: ""; }
.wallet-card header, .wallet-card footer { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.wallet-card header i { color: var(--lime); font-style: normal; }
.wallet-card > strong { display: block; margin-top: 58px; font-family: var(--display); font-size: 58px; line-height: 1; letter-spacing: -.03em; }
.wallet-card > small { color: rgba(255,255,255,.48); font-family: var(--mono); font-size: 8px; }
.wallet-card footer { position: absolute; right: 26px; bottom: 22px; left: 26px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.6); }

.wallet-assets {
  position: absolute;
  right: 34px;
  bottom: 40px;
  z-index: 3;
  width: 45%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.93);
  box-shadow: 7px 7px 0 rgba(17,22,27,.07);
}
.wallet-assets article { display: grid; min-height: 72px; padding: 12px 14px; border-bottom: 1px solid var(--line); grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.wallet-assets article:last-child { border-bottom: 0; }
.wallet-assets article > span { display: grid; width: 34px; height: 34px; border: 1px solid var(--cyan); place-items: center; color: var(--cyan); }
.wallet-assets article div { display: grid; gap: 2px; }
.wallet-assets small { color: var(--muted); font-size: 8px; }
.wallet-assets strong { font-family: var(--display); font-size: 20px; }
.wallet-scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, rgba(14,169,173,.07) 50%, transparent 55%); animation: wallet-scan 4.5s linear infinite; }
@keyframes wallet-scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(290px, .62fr);
  gap: 38px;
  align-items: start;
}
.product-list { border-top: 1px solid var(--ink); }
.store-product { display: grid; min-height: 142px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); grid-template-columns: 76px 1fr 170px 110px; gap: 20px; align-items: center; }
.store-product.is-filtered { display: none; }
.store-product.featured { background: linear-gradient(90deg, var(--lime-soft), transparent 78%); }
.product-symbol { display: grid; width: 60px; height: 60px; border: 1px solid var(--line-strong); place-items: center; font-family: var(--display); font-size: 29px; background: var(--white); }
.diamond-symbol { color: var(--cyan); border-color: var(--cyan); }
.voucher-symbol { color: var(--lime); border-color: var(--lime); }
.item-symbol { color: var(--coral); border-color: var(--coral); }
.store-product-copy h3 { margin-top: 8px; font-family: var(--display); font-size: 25px; letter-spacing: -.025em; }
.store-product-copy p { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.store-price { display: grid; gap: 7px; text-align: right; }
.store-price strong { font-family: var(--display); font-size: 23px; }
.store-price strong small { font-size: 10px; }
.store-price span { color: var(--muted); font-size: 9px; }
.store-product > button { margin: 0; }

.order-summary {
  position: sticky;
  top: 96px;
  min-height: 470px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--cyan-soft);
}
.order-summary > header { display: flex; padding-bottom: 14px; border-bottom: 1px solid var(--line); justify-content: space-between; font-family: var(--mono); font-size: 8px; }
.order-summary > header b { color: var(--cyan); }
.empty-order { display: flex; min-height: 320px; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.empty-order i { display: grid; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--muted); font-style: normal; }
.empty-order strong { margin-top: 18px; font-size: 14px; }
.empty-order small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.selected-order { padding-top: 34px; }
.selected-order > span { color: var(--cyan); font-family: var(--mono); font-size: 9px; }
.selected-order h3 { margin-top: 12px; font-family: var(--display); font-size: 32px; line-height: 1.08; }
.selected-order dl { margin: 28px 0 18px; border-top: 1px solid var(--line); }
.selected-order dl div { display: flex; padding: 12px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
.selected-order dt, .selected-order dd { margin: 0; font-size: 10px; }
.selected-order dt { color: var(--muted); }
.selected-order .button { width: 100%; margin-top: 14px; }
.clear-order { width: 100%; margin-top: 8px; padding: 10px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; }
.order-summary > footer { position: absolute; right: 24px; bottom: 18px; left: 24px; display: grid; padding-top: 12px; border-top: 1px solid var(--line); gap: 5px; color: var(--muted); font-family: var(--mono); font-size: 7px; }

.fairness-section { padding-block: 112px; color: var(--white); background: var(--ink); }
.fairness-inner { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 48px; }
.fairness-inner .eyebrow { border-color: rgba(255,255,255,.25); }
.fairness-inner h2 { margin-top: 32px; font-family: var(--display); font-size: clamp(48px,5vw,68px); line-height: 1; letter-spacing: -.05em; }
.fairness-no, .fairness-yes { padding: 28px; border-top: 4px solid var(--coral); background: rgba(255,255,255,.045); }
.fairness-yes { border-top-color: var(--lime); }
.fairness-no > span, .fairness-yes > span { color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.fairness-yes > span { color: var(--lime); }
.fairness-inner ul { margin: 32px 0 0; padding: 0; list-style: none; }
.fairness-inner li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: 12px; }

.action-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 120;
  max-width: 360px;
  padding: 15px 18px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 7px 7px 0 var(--cyan-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 12px;
}
.action-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .hub-hero { grid-template-columns: 1fr; }
  .hub-hero-copy { max-width: 760px; }
  .hub-hero-media img { min-height: 520px; }
  .portal-row { grid-template-columns: 60px 170px .8fr 1fr; }
  .voucher-products { grid-template-columns: repeat(2, 1fr); }
  .voucher-product { border-bottom: 1px solid var(--line); }
  .reward-track { overflow-x: auto; }
  .reward-track ol { min-width: 900px; }
  .track-line { width: 760px; }
  .collection-loop ol { grid-template-columns: repeat(3, 1fr); }
  .store-layout { grid-template-columns: 1fr; }
  .order-summary { position: relative; top: auto; }
}

@media (max-width: 760px) {
  .site-nav { gap: 6px; }
  .portal-section { padding-top: 78px; }
  .portal-row { min-height: 150px; padding: 22px 54px 22px 14px; grid-template-columns: 38px 1fr; gap: 8px 10px; }
  .portal-row:hover { padding-left: 18px; }
  .portal-kicker { grid-column: 2; }
  .portal-row > strong { grid-column: 2; font-size: 27px; }
  .portal-row > small { grid-column: 2; font-size: 11px; }
  .portal-row > i { right: 14px; }

  .hub-hero { min-height: 0; padding-top: 116px; padding-bottom: 70px; grid-template-columns: 1fr; gap: 48px; }
  .hub-hero h1 { font-size: clamp(36px, 11.5vw, 52px); }
  .games-page .hub-hero h1,
  .compute-page .hub-hero h1,
  .recharge-page .hub-hero h1 { font-size: clamp(34px, 10.5vw, 46px); }
  .hub-lead { font-size: 14px; }
  .hub-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hub-hero-media { box-shadow: 9px 9px 0 var(--cyan-soft); }
  .hub-hero-media img { min-height: 390px; }
  .hub-hero-media figcaption { right: 14px; bottom: 14px; left: 14px; grid-template-columns: 1fr; }
  .hub-hero-media figcaption strong { grid-row: auto; font-size: 26px; }

  .hub-facts, .wallet-strip, .reward-account, .payment-strip { grid-template-columns: 1fr; }
  .hub-facts > div, .wallet-strip > div, .reward-account > div, .payment-strip > div { min-height: 96px; padding: 18px 24px; }
  .hub-facts > div + div, .wallet-strip > div + div, .reward-account > div + div, .payment-strip > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .hub-facts strong, .wallet-strip strong, .reward-account strong, .payment-strip strong { font-size: 34px; }

  .catalog-head, .exchange-head, .season-head, .store-head { margin-bottom: 38px; grid-template-columns: 1fr; gap: 28px; }
  .catalog-head h2, .exchange-head h2, .season-head h2, .store-head h2, .collection-loop h2 { font-size: 48px; }
  .filter-bar, .store-tabs, .exchange-tabs { justify-content: flex-start; overflow-x: auto; }
  .filter-bar button, .store-tabs button, .exchange-tabs button { flex: 0 0 auto; }

  .game-grid { grid-template-columns: 1fr; gap: 46px; }
  .game-card-featured { display: block; grid-column: auto; }
  .game-card-featured .game-card-copy h3 { font-size: 38px; }
  .game-card-copy dl { grid-template-columns: 1fr 1fr; }
  .game-card-copy dl div:last-child { grid-column: 1 / -1; }

  .shared-core, .compute-rules, .fairness-section { padding-block: 82px; }
  .shared-core-inner, .compute-rules > div { grid-template-columns: 1fr; gap: 50px; }
  .shared-core h2, .compute-rules h2, .fairness-inner h2 { font-size: clamp(32px, 10.2vw, 44px); }
  .shared-core li { grid-template-columns: 38px 1fr; }
  .shared-core li small { grid-column: 2; }

  .compute-console { min-height: 500px; padding: 18px; }
  .console-core { top: 38%; width: 154px; height: 154px; }
  .console-core span { font-size: 52px; }
  .compute-route { top: 38%; width: 86%; }
  .compute-console ol { right: 18px; bottom: 72px; left: 18px; grid-template-columns: repeat(2,1fr); }
  .compute-console li { min-height: 64px; }
  .compute-console footer { right: 18px; bottom: 16px; left: 18px; grid-template-columns: 1fr auto; }
  .compute-console footer span:nth-of-type(2), .compute-console footer b:nth-of-type(2) { display: none; }

  .official-intro { grid-template-columns: 1fr; gap: 18px; }
  .voucher-products { grid-template-columns: 1fr; }
  .voucher-product { min-height: 340px; border-left: 1px solid var(--line); }
  .market-layout { grid-template-columns: 1fr; }
  .order-book { overflow-x: auto; }
  .order-table { min-width: 620px; }
  .compute-rules ol { grid-template-columns: 1fr; }

  .season-meta { justify-items: start; }
  .reward-track { padding-inline: 18px; }
  .reward-sources { grid-template-columns: 1fr 1fr; }
  .reward-sources > span, .reward-sources > p { grid-column: 1 / -1; }
  .card-series { padding-block: 88px; }
  .series-feature, .series-feature.reverse { display: flex; min-height: 0; padding: 26px 0; flex-direction: column; gap: 8px; }
  .series-feature.reverse img { order: 0; }
  .series-feature.reverse > div { order: 1; }
  .series-feature img { height: 270px; }
  .series-feature > div { padding: 22px 0; }
  .series-feature h3 { font-size: 35px; }
  .collection-loop header { grid-template-columns: 1fr; }
  .collection-loop ol { grid-template-columns: 1fr 1fr; }
  .collection-loop li { min-height: 170px; }
  .collection-loop li strong { margin-top: 48px; }
  .collection-loop li + li::before { display: none; }

  .wallet-visual { min-height: 500px; padding: 34px 20px; }
  .wallet-card { min-height: 235px; padding: 22px; }
  .wallet-card > strong { font-size: 48px; }
  .wallet-assets { right: 20px; bottom: 28px; width: 68%; }
  .store-product { grid-template-columns: 58px 1fr; gap: 14px; }
  .product-symbol { width: 50px; height: 50px; }
  .store-price { grid-column: 2; text-align: left; }
  .store-product > button { grid-column: 2; }
  .order-summary { min-height: 490px; }
  .fairness-inner { grid-template-columns: 1fr; }
  .action-toast { right: 16px; bottom: 16px; left: 16px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .compute-route i,
  .wallet-scan { animation: none; }
}

/* Platform-first revision: play → token → rank → physical card */
.engine-node-rank {
  top: 14%;
  right: 4%;
}

.engine-node-rank::before,
.engine-node-rank > i {
  background: var(--ink);
}

.engine-node-rank span {
  color: var(--ink);
}

.engine-node-compute.is-active {
  border-color: rgba(145,189,37,.62);
  box-shadow: 7px 7px 0 var(--lime-soft);
}

.engine-node-rank.is-active {
  border-color: rgba(17,22,27,.58);
  box-shadow: 7px 7px 0 rgba(17,22,27,.09);
}

.engine-node-card.is-active {
  border-color: rgba(239,108,85,.62);
  box-shadow: 7px 7px 0 var(--coral-soft);
}

.engine-node-card {
  top: auto;
  right: 4%;
  bottom: 14%;
}

.loop-showcase {
  padding-top: 126px;
}

.loop-map .map-detail {
  align-self: stretch;
}

.world-window {
  padding-block: 118px;
  color: var(--white);
  background: var(--ink);
}

.world-window-inner {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.world-window-copy .eyebrow {
  border-color: rgba(255,255,255,.24);
}

.world-window-copy h2 {
  margin-top: 34px;
  font-family: var(--display);
  font-size: clamp(46px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.world-window-copy h2 em {
  color: var(--cyan);
  font-style: normal;
}

.world-window-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.9;
}

.world-window-copy .button {
  margin-top: 36px;
}

.world-mosaic {
  display: grid;
  min-height: 570px;
  grid-template-columns: 1.35fr .65fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.world-mosaic figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.world-mosaic .world-main {
  grid-row: 1 / 3;
}

.world-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
  transition: transform 700ms cubic-bezier(.16,1,.3,1), filter 300ms ease;
}

.world-mosaic figure:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.035);
}

.world-mosaic figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(17,22,27,.68);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
}

.value-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 62px;
  align-items: stretch;
}

.value-card-visual {
  position: relative;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--coral-soft);
}

.value-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-card-visual figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.3);
  gap: 7px;
  color: var(--white);
  background: rgba(17,22,27,.76);
  backdrop-filter: blur(12px);
}

.value-card-visual figcaption span,
.value-steps li > span {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
}

.value-card-visual figcaption strong {
  font-family: var(--display);
  font-size: 22px;
}

.value-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.value-steps li {
  display: grid;
  min-height: 145px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.value-steps strong,
.usage-flow strong {
  display: block;
  font-family: var(--display);
  font-size: 25px;
}

.value-steps small,
.usage-flow small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* Compute voucher marketplace */
.market-hero {
  display: grid;
  min-height: 770px;
  padding-top: 148px;
  padding-bottom: 84px;
  grid-template-columns: .78fr 1.22fr;
  gap: 70px;
  align-items: center;
}

.market-hero-copy h1 {
  max-width: 640px;
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(52px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.052em;
}

.market-hero-copy h1 em {
  color: var(--lime);
  font-style: normal;
}

.market-hero-copy .hub-lead {
  max-width: 570px;
}

.token-ticker {
  position: relative;
  min-height: 500px;
  padding: 26px 28px 22px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: rgba(255,255,255,.78);
  box-shadow: 14px 14px 0 var(--lime-soft);
}

.token-ticker::before {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(17,22,27,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,22,27,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  pointer-events: none;
}

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

.token-ticker header,
.token-ticker footer,
.terminal-head,
.trade-ticket header,
.depth-book header,
.recent-trades header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.token-ticker header > div,
.trade-ticket header > div,
.depth-book header > div,
.recent-trades header {
  gap: 5px;
}

.token-ticker header span,
.token-ticker header small {
  display: block;
}

.token-ticker header span {
  font-weight: 800;
}

.token-ticker header small,
.token-ticker header b {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
}

.token-ticker header b i,
.market-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: live-pulse 1.8s ease-out infinite;
}

.ticker-price {
  display: flex;
  margin-top: 42px;
  align-items: baseline;
  gap: 14px;
}

.ticker-price strong {
  font-family: var(--display);
  font-size: 72px;
  line-height: .9;
  letter-spacing: -.055em;
}

.ticker-price span {
  color: var(--muted);
  font-size: 10px;
}

.ticker-price em {
  margin-left: auto;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
}

.ticker-chart {
  width: 100%;
  height: 255px;
  margin-top: 12px;
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(17,22,27,.09);
  stroke-width: 1;
}

.chart-area {
  fill: url(#chart-fill);
}

.chart-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 6px 8px rgba(145,189,37,.2));
}

.ticker-chart circle {
  fill: var(--paper);
  stroke: var(--lime);
  stroke-width: 4;
}

.token-ticker footer {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.token-ticker footer span {
  display: grid;
  gap: 5px;
}

.token-ticker footer small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.token-ticker footer b {
  font-family: var(--display);
  font-size: 18px;
}

.token-wallet-strip {
  display: grid;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255,255,255,.58);
  grid-template-columns: repeat(4,1fr);
}

.token-wallet-strip > * {
  display: grid;
  min-height: 132px;
  padding: 24px clamp(20px,4vw,58px);
  border-right: 1px solid var(--line-strong);
  gap: 8px;
  align-content: center;
}

.token-wallet-strip > *:last-child {
  border-right: 0;
  color: var(--white);
  background: var(--ink);
}

.token-wallet-strip span {
  color: var(--muted);
  font-size: 9px;
}

.token-wallet-strip strong {
  font-family: var(--display);
  font-size: 28px;
}

.token-wallet-strip small {
  color: var(--muted);
  font-size: 8px;
}

.token-wallet-strip > *:last-child span,
.token-wallet-strip > *:last-child small {
  color: rgba(255,255,255,.58);
}

.terminal-head {
  margin-bottom: 34px;
  align-items: end;
}

.terminal-head h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(48px,5vw,70px);
  letter-spacing: -.05em;
}

.market-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 7px;
  align-items: center;
}

.market-status i {
  grid-row: 1 / 3;
}

.market-status span {
  font-size: 11px;
  font-weight: 800;
}

.market-status small {
  color: var(--muted);
  font-size: 8px;
}

.liquidity-rail {
  display: grid;
  min-height: 116px;
  padding: 22px 24px;
  border: 1px solid var(--ink);
  grid-template-columns: .8fr 1.4fr auto;
  gap: 34px;
  align-items: center;
  background: var(--lime-soft);
}

.liquidity-rail > div > span,
.trade-ticket header span,
.depth-book header span,
.recent-trades header > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
}

.liquidity-rail > div > strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 25px;
}

.liquidity-rail > div > small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.liquidity-rail dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.liquidity-rail dl div {
  padding-left: 20px;
  border-left: 1px solid rgba(17,22,27,.2);
}

.liquidity-rail dt,
.liquidity-rail dd {
  margin: 0;
}

.liquidity-rail dt {
  color: var(--muted);
  font-size: 8px;
}

.liquidity-rail dd {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 21px;
}

.liquidity-rail dd small {
  font-family: var(--body);
  font-size: 8px;
}

.liquidity-rail > button,
.depth-book header > button {
  min-height: 42px;
  padding-inline: 16px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.liquidity-rail > button:hover {
  color: var(--white);
  background: var(--ink);
}

.terminal-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: .8fr 1.05fr .62fr;
  gap: 18px;
  align-items: stretch;
}

.trade-ticket,
.depth-book,
.recent-trades {
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.76);
}

.trade-ticket {
  padding: 24px;
  box-shadow: 8px 8px 0 rgba(17,22,27,.04);
}

.trade-ticket header,
.depth-book header,
.recent-trades header {
  min-height: 58px;
  border-bottom: 1px solid var(--line-strong);
}

.trade-ticket header h3,
.depth-book header h3,
.recent-trades header h3 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 24px;
}

.trade-ticket header small {
  color: var(--muted);
  font-size: 8px;
}

.trade-side-tabs {
  display: grid;
  margin-top: 22px;
  border: 1px solid var(--line-strong);
  grid-template-columns: 1fr 1fr;
}

.trade-side-tabs button {
  min-height: 45px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.trade-side-tabs button + button {
  border-left: 1px solid var(--line-strong);
}

.trade-side-tabs button.is-active {
  color: var(--white);
  background: var(--ink);
}

.trade-field {
  display: grid;
  margin-top: 22px;
  gap: 8px;
}

.trade-field > span {
  color: var(--muted);
  font-size: 9px;
}

.trade-field > div {
  display: grid;
  min-height: 52px;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 1fr auto;
  align-items: center;
}

.trade-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 27px;
}

.trade-field b {
  color: var(--muted);
  font-size: 9px;
}

.trade-percent {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
}

.trade-percent button {
  min-height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
}

.trade-percent button:hover {
  border-color: var(--lime);
  background: var(--lime-soft);
}

.trade-summary {
  margin: 24px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trade-summary div {
  display: flex;
  padding-block: 5px;
  justify-content: space-between;
}

.trade-summary dt,
.trade-summary dd {
  margin: 0;
  font-size: 9px;
}

.trade-summary dt {
  color: var(--muted);
}

.trade-summary dd {
  font-weight: 800;
}

.trade-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--lime);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.trade-submit:hover {
  color: var(--white);
  background: var(--ink);
}

.trade-ticket > p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.depth-book header,
.recent-trades header {
  padding: 14px 18px;
}

.depth-book header > button {
  min-height: 30px;
  border-color: var(--line);
  font-family: var(--mono);
  font-size: 7px;
}

.depth-labels,
.recent-labels {
  display: grid;
  min-height: 34px;
  padding: 0 18px;
  color: var(--muted);
  background: rgba(17,22,27,.035);
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 7px;
}

.depth-labels span:nth-child(n+2),
.recent-labels span:nth-child(n+2) {
  text-align: right;
}

.depth-asks button,
.depth-bids button {
  position: relative;
  z-index: 0;
  display: grid;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background: transparent;
  cursor: pointer;
  text-align: right;
}

.depth-asks button::before,
.depth-bids button::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: var(--depth);
  background: rgba(239,108,85,.09);
  content: "";
  transition: width 240ms ease;
}

.depth-bids button::before {
  background: rgba(145,189,37,.12);
}

.depth-asks button:hover::before,
.depth-bids button:hover::before {
  width: 100%;
}

.depth-asks b,
.depth-bids b {
  text-align: left;
}

.depth-asks b {
  color: var(--coral);
}

.depth-bids b {
  color: var(--lime);
}

.depth-asks span,
.depth-bids span,
.depth-asks small,
.depth-bids small {
  font-family: var(--mono);
  font-size: 8px;
}

.mid-price {
  display: flex;
  min-height: 68px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-strong);
  align-items: center;
  gap: 12px;
}

.mid-price strong {
  font-family: var(--display);
  font-size: 31px;
}

.mid-price span {
  color: var(--muted);
  font-size: 8px;
}

.mid-price em {
  margin-left: auto;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.depth-book footer {
  display: flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 7px;
}

.depth-book footer span:first-child {
  color: var(--coral);
}

.depth-book footer span:last-child {
  color: var(--lime);
}

.recent-labels {
  grid-template-columns: 1fr .8fr .7fr;
}

.recent-trades ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-trades li {
  display: grid;
  min-height: 45px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr .8fr .7fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 8px;
}

.recent-trades li span,
.recent-trades li time {
  text-align: right;
}

.recent-trades li time {
  color: var(--muted);
}

.recent-trades li.up b {
  color: var(--lime);
}

.recent-trades li.down b {
  color: var(--coral);
}

.market-share {
  padding: 20px 18px;
}

.market-share > span {
  color: var(--muted);
  font-size: 8px;
}

.market-share > div {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  background: var(--coral-soft);
}

.market-share > div i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--lime);
}

.market-share p {
  display: flex;
  margin-top: 8px;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.token-usage {
  padding-block: 112px;
  color: var(--white);
  background: var(--ink);
}

.token-usage-inner {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 80px;
}

.token-usage .eyebrow {
  border-color: rgba(255,255,255,.24);
}

.token-usage h2 {
  margin-top: 34px;
  font-family: var(--display);
  font-size: clamp(48px,5vw,70px);
  line-height: 1;
  letter-spacing: -.052em;
}

.token-usage h2 em {
  color: var(--lime);
  font-style: normal;
}

.token-usage-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 24px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.8;
}

.usage-flow {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.28);
  list-style: none;
}

.usage-flow li {
  display: grid;
  min-height: 120px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  grid-template-columns: 58px 1fr;
  gap: 18px;
}

.usage-flow li > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
}

.usage-flow small {
  color: rgba(255,255,255,.55);
}

.rule-ledger {
  display: grid;
  border-top: 1px solid var(--ink);
  grid-template-columns: repeat(4,1fr);
}

.rule-ledger article {
  min-height: 270px;
  padding: 26px 22px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.rule-ledger article:first-child {
  border-left: 1px solid var(--line-strong);
}

.rule-ledger span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
}

.rule-ledger h3 {
  margin-top: 64px;
  font-family: var(--display);
  font-size: 26px;
}

.rule-ledger p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

/* Ranking and reward */
.ranking-section {
  padding-bottom: 40px;
}

.ranking-head {
  display: flex;
  margin-bottom: 40px;
  align-items: end;
  justify-content: space-between;
}

.ranking-head h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(48px,5vw,70px);
  letter-spacing: -.05em;
}

.ranking-dashboard {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 28px;
}

.rank-feature {
  display: flex;
  min-height: 410px;
  padding: 26px;
  border: 1px solid var(--ink);
  flex-direction: column;
  background: var(--coral-soft);
}

.rank-feature header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
}

.rank-feature header span {
  color: var(--coral);
}

.rank-big {
  display: flex;
  margin-top: 58px;
  align-items: baseline;
  gap: 14px;
}

.rank-big small {
  color: var(--muted);
  font-size: 9px;
}

.rank-big strong {
  font-family: var(--display);
  font-size: clamp(64px,7vw,96px);
  line-height: .8;
  letter-spacing: -.06em;
}

.rank-big em {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
}

.rank-feature > p {
  max-width: 440px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.rank-next {
  margin-top: auto;
}

.rank-next span,
.rank-next b {
  font-size: 8px;
}

.rank-next > div {
  height: 7px;
  margin: 10px 0 7px;
  background: rgba(17,22,27,.13);
}

.rank-next > div i {
  display: block;
  height: 100%;
  background: var(--coral);
}

.game-rank-list {
  border-top: 1px solid var(--ink);
}

.game-rank-list article {
  display: grid;
  min-height: 128px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 132px 1fr auto;
  gap: 22px;
  align-items: center;
}

.game-rank-list img {
  width: 132px;
  height: 98px;
  object-fit: cover;
}

.game-rank-list article > div {
  display: grid;
  gap: 7px;
}

.game-rank-list span {
  color: var(--muted);
  font-size: 9px;
}

.game-rank-list strong {
  font-family: var(--display);
  font-size: 23px;
}

.game-rank-list small {
  color: var(--muted);
  font-size: 9px;
}

.game-rank-list em {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
}

.reward-tiers {
  padding-top: 70px;
}

/* Recharge wallet roles */
.wallet-explainer {
  padding-block: 112px;
  color: var(--white);
  background: var(--ink);
}

.wallet-explainer-inner {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  align-items: center;
}

.wallet-explainer .eyebrow {
  border-color: rgba(255,255,255,.24);
}

.wallet-explainer h2 {
  margin-top: 34px;
  font-family: var(--display);
  font-size: clamp(48px,5vw,70px);
  line-height: 1;
  letter-spacing: -.052em;
}

.wallet-explainer ol {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.26);
  grid-template-columns: repeat(3,1fr);
  list-style: none;
}

.wallet-explainer li {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.wallet-explainer li > span {
  color: var(--lime);
  font-size: 30px;
}

.wallet-explainer strong {
  display: block;
  margin-top: 52px;
  font-family: var(--display);
  font-size: 24px;
}

.wallet-explainer small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .world-window-inner,
  .value-preview-grid,
  .token-usage-inner,
  .wallet-explainer-inner,
  .ranking-dashboard {
    grid-template-columns: 1fr;
  }

  .world-mosaic {
    min-height: 520px;
  }

  .market-hero {
    min-height: 0;
    padding-top: 140px;
    grid-template-columns: 1fr;
  }

  .token-ticker {
    max-width: 780px;
  }

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

  .terminal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .recent-trades {
    grid-column: 1 / 3;
  }

  .liquidity-rail {
    grid-template-columns: 1fr 1.4fr;
  }

  .liquidity-rail > button {
    grid-column: 1 / 3;
  }

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

@media (max-width: 760px) {
  .engine-node-rank {
    top: 10%;
    right: 4%;
  }

  .engine-node-card {
    right: 3%;
    bottom: 12%;
  }

  .loop-showcase {
    padding-top: 82px;
  }

  .world-window,
  .token-usage,
  .wallet-explainer {
    padding-block: 78px;
  }

  .world-window-inner,
  .token-usage-inner,
  .wallet-explainer-inner {
    gap: 44px;
  }

  .world-window-copy h2,
  .token-usage h2,
  .wallet-explainer h2 {
    font-size: clamp(32px, 10.2vw, 44px);
  }

  .world-mosaic {
    min-height: 620px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.3fr .7fr;
  }

  .world-mosaic .world-main {
    grid-row: auto;
    grid-column: 1 / 3;
  }

  .value-preview-grid {
    gap: 34px;
  }

  .value-card-visual {
    min-height: 460px;
  }

  .value-steps li {
    min-height: 120px;
  }

  .market-hero {
    padding-top: 118px;
    padding-bottom: 64px;
    gap: 48px;
  }

  .market-hero-copy h1 {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .token-ticker {
    min-height: 420px;
    padding: 20px 16px;
    box-shadow: 8px 8px 0 var(--lime-soft);
  }

  .ticker-price {
    flex-wrap: wrap;
  }

  .ticker-price strong {
    font-size: 56px;
  }

  .ticker-price em {
    margin-left: 0;
  }

  .ticker-chart {
    height: 210px;
  }

  .token-wallet-strip {
    grid-template-columns: 1fr;
  }

  .token-wallet-strip > * {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .terminal-head,
  .ranking-head {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .market-status,
  .season-meta {
    justify-items: start;
  }

  .liquidity-rail {
    grid-template-columns: 1fr;
  }

  .liquidity-rail dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .liquidity-rail > button {
    grid-column: auto;
  }

  .terminal-grid {
    grid-template-columns: 1fr;
  }

  .recent-trades {
    grid-column: auto;
  }

  .rule-ledger,
  .wallet-explainer ol {
    grid-template-columns: 1fr;
  }

  .rule-ledger article,
  .rule-ledger article:first-child {
    min-height: 210px;
    border-left: 1px solid var(--line-strong);
  }

  .rule-ledger h3 {
    margin-top: 42px;
  }

  .ranking-dashboard {
    gap: 20px;
  }

  .rank-feature {
    min-height: 370px;
  }

  .game-rank-list article {
    grid-template-columns: 96px 1fr auto;
    gap: 12px;
  }

  .game-rank-list img {
    width: 96px;
    height: 80px;
  }

  .game-rank-list strong {
    font-size: 18px;
  }

  .wallet-explainer li {
    min-height: 170px;
  }
}

/* Voucher ⇄ model-points conversion desk */
.model-convert {
  padding-bottom: 54px;
}

.convert-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 22px;
  align-items: stretch;
}

.model-rate-board {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.68);
}

.model-rate-board > header,
.convert-ticket > header {
  display: flex;
  min-height: 82px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-strong);
  align-items: center;
  justify-content: space-between;
}

.model-rate-board > header span,
.convert-ticket > header span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
}

.model-rate-board > header h3,
.convert-ticket > header h3 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 26px;
}

.model-rate-board > header small,
.convert-ticket > header small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.model-rate-board > header small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: live-pulse 1.8s ease-out infinite;
}

.model-rate {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 96px;
  padding: 16px 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  grid-template-columns: 58px 1fr 148px 88px;
  gap: 16px;
  align-items: center;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, padding-left 180ms ease;
}

.model-rate::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--lime);
  content: "";
  transform: scaleY(0);
  transition: transform 180ms ease;
}

.model-rate:hover,
.model-rate.is-active {
  padding-left: 28px;
  background: var(--lime-soft);
}

.model-rate.is-active::before {
  transform: scaleY(1);
}

.model-code {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  place-items: center;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
}

.model-rate > div {
  display: grid;
  gap: 6px;
}

.model-rate > div strong {
  font-family: var(--display);
  font-size: 20px;
}

.model-rate > div small {
  color: var(--muted);
  font-size: 9px;
}

.model-rate > b {
  font-family: var(--display);
  font-size: 19px;
  text-align: right;
}

.model-rate > em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  text-align: right;
}

.model-rate-board > footer {
  display: flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.model-rate-board > footer b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
}

.convert-ticket {
  padding: 0 26px 24px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--lime-soft);
}

.convert-ticket > header {
  margin-inline: -26px;
  padding-inline: 26px;
  border-color: rgba(255,255,255,.22);
}

.convert-ticket > header small {
  color: rgba(255,255,255,.58);
  text-align: right;
}

.convert-direction {
  display: grid;
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,.28);
  grid-template-columns: 1fr 1fr;
}

.convert-direction button {
  min-height: 46px;
  padding: 8px 12px;
  border: 0;
  color: rgba(255,255,255,.58);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.convert-direction button + button {
  border-left: 1px solid rgba(255,255,255,.28);
}

.convert-direction button.is-active {
  color: var(--ink);
  background: var(--lime);
}

.convert-stack {
  position: relative;
  margin-top: 22px;
}

.convert-asset {
  display: grid;
  min-height: 118px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.22);
  gap: 9px;
  align-content: center;
}

.convert-asset + .convert-asset {
  margin-top: 10px;
}

.convert-asset > span {
  color: rgba(255,255,255,.58);
  font-size: 9px;
}

.convert-asset > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
}

.convert-asset input,
.convert-asset strong {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-family: var(--display);
  font-size: clamp(36px,4vw,52px);
  line-height: 1;
}

.convert-asset.output strong {
  color: var(--lime);
}

.convert-asset b {
  color: rgba(255,255,255,.72);
  font-size: 9px;
  white-space: nowrap;
}

.convert-asset small {
  color: rgba(255,255,255,.38);
  font-size: 8px;
}

.convert-swap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  cursor: pointer;
  transform: translate(-50%,-50%);
  transition: transform 180ms ease;
}

.convert-swap:hover {
  transform: translate(-50%,-50%) rotate(180deg);
}

.convert-summary {
  margin: 20px 0 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.convert-summary div {
  display: flex;
  padding: 5px 0;
  justify-content: space-between;
  gap: 16px;
}

.convert-summary dt,
.convert-summary dd {
  margin: 0;
  font-size: 8px;
}

.convert-summary dt {
  color: rgba(255,255,255,.45);
}

.convert-summary dd {
  color: rgba(255,255,255,.84);
  text-align: right;
}

.convert-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 1px solid var(--lime);
  color: var(--ink);
  background: var(--lime);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.convert-submit:hover {
  color: var(--white);
  background: transparent;
}

.convert-ticket > p {
  margin-top: 14px;
  color: rgba(255,255,255,.46);
  font-size: 8px;
  line-height: 1.7;
}

.conversion-path {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  align-items: stretch;
}

.conversion-path > div {
  min-height: 132px;
  padding: 22px;
}

.conversion-path > div span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.conversion-path > div strong {
  display: block;
  margin-top: 20px;
  font-family: var(--display);
  font-size: 24px;
}

.conversion-path > div small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.conversion-path > i {
  display: grid;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  place-items: center;
  color: var(--lime);
  background: rgba(255,255,255,.54);
  font-size: 22px;
  font-style: normal;
}

@media (max-width: 1080px) {
  .convert-grid {
    grid-template-columns: 1fr;
  }

  .convert-ticket {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .model-convert {
    padding-bottom: 36px;
  }

  .model-rate {
    min-height: 116px;
    padding-inline: 14px;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
  }

  .model-rate:hover,
  .model-rate.is-active {
    padding-left: 19px;
  }

  .model-rate > b {
    font-size: 15px;
  }

  .model-rate > em {
    grid-column: 2 / 4;
    text-align: left;
  }

  .model-rate-board > footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .convert-ticket {
    padding-inline: 16px;
    box-shadow: 8px 8px 0 var(--lime-soft);
  }

  .convert-ticket > header {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .convert-direction button {
    font-size: 9px;
  }

  .conversion-path {
    grid-template-columns: 1fr;
  }

  .conversion-path > div {
    min-height: 0;
    padding: 24px 16px 22px;
  }

  .conversion-path > i {
    position: relative;
    min-height: 52px;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
    font-size: 0;
    transform: none;
  }

  .conversion-path > i::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line-strong);
    content: "";
  }

  .conversion-path > i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line-strong);
    place-items: center;
    color: var(--lime);
    background: var(--paper);
    content: "↓";
    font-size: 17px;
    transform: translate(-50%, -50%);
  }

  .conversion-path > i:first-of-type::after {
    content: "↕";
  }
}

/* User center: player command surface */
.user-page .eyebrow {
  font-size: 11px;
}

.user-command {
  padding-top: 128px;
  padding-bottom: 62px;
}

.user-welcome > div {
  display: grid;
  margin-top: 30px;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: end;
}

.user-welcome h1 {
  font-family: var(--display);
  font-size: clamp(50px, 4.8vw, 68px);
  line-height: 1;
  letter-spacing: -.05em;
}

.user-welcome h1 em {
  color: var(--cyan);
  font-style: normal;
}

.user-welcome > div > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.user-command-grid {
  display: grid;
  margin-top: 46px;
  grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr);
  gap: 20px;
  align-items: stretch;
}

.identity-panel,
.account-overview,
.season-panel,
.attention-panel {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.76);
}

.identity-panel {
  padding: 24px;
  box-shadow: 9px 9px 0 var(--cyan-soft);
}

.identity-panel > header,
.account-overview > header,
.season-panel > header,
.attention-panel > header {
  display: flex;
  min-height: 48px;
  border-bottom: 1px solid var(--line-strong);
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.identity-panel > header > span,
.account-overview > header span,
.season-panel > header span,
.attention-panel > header span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
}

.identity-panel > header b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.identity-panel > header b i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.identity-main {
  display: grid;
  padding: 36px 0 30px;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: center;
}

.identity-avatar {
  display: grid;
  width: 76px;
  height: 76px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--lime-soft);
  font-family: var(--display);
  font-size: 32px;
}

.identity-main small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.identity-main h2 {
  margin-top: 7px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.identity-main p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.identity-meta {
  margin: 0;
  border-top: 1px solid var(--line);
}

.identity-meta div {
  display: flex;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.identity-meta dt,
.identity-meta dd {
  margin: 0;
  font-size: 12px;
}

.identity-meta dt {
  color: var(--muted);
}

.identity-meta dd {
  font-weight: 800;
}

.identity-panel > footer {
  display: grid;
  margin-top: 22px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.identity-panel > footer button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.identity-panel > footer button:first-child {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.account-overview {
  padding: 24px 26px;
}

.account-overview > header h2 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 28px;
}

.account-overview > header a,
.season-panel > header a {
  font-size: 12px;
  font-weight: 800;
}

.primary-assets {
  display: grid;
  margin-top: 22px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3,1fr);
}

.primary-assets article {
  display: grid;
  min-height: 154px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-content: start;
}

.primary-assets article > span {
  color: var(--lime);
  font-size: 22px;
}

.primary-assets small {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.primary-assets strong {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 32px;
}

.primary-assets em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.model-snapshot-head {
  display: flex;
  margin-top: 24px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.model-snapshot-head > div {
  display: grid;
  gap: 4px;
}

.model-snapshot-head strong {
  font-family: var(--display);
  font-size: 20px;
}

.model-snapshot-head small,
.model-snapshot-head a {
  color: var(--muted);
  font-size: 11px;
}

.model-snapshot-head a {
  color: var(--ink);
  font-weight: 800;
}

.model-snapshot {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}

.model-snapshot article {
  display: grid;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.model-snapshot article > span {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.model-snapshot article > div {
  display: grid;
  gap: 3px;
}

.model-snapshot strong {
  font-family: var(--display);
  font-size: 20px;
}

.model-snapshot small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.wallet-actions {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.wallet-actions a {
  display: flex;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.wallet-actions a:hover {
  color: var(--white);
  background: var(--ink);
}

.user-pulse {
  display: grid;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255,255,255,.56);
  grid-template-columns: repeat(4,1fr);
}

.user-pulse > div {
  display: grid;
  min-height: 136px;
  padding: 24px clamp(20px,3.5vw,52px);
  border-right: 1px solid var(--line-strong);
  align-content: center;
}

.user-pulse > div:last-child {
  border-right: 0;
}

.user-pulse span,
.user-pulse small {
  color: var(--muted);
  font-size: 12px;
}

.user-pulse strong {
  margin-block: 6px;
  font-family: var(--display);
  font-size: 34px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: stretch;
}

.season-panel,
.attention-panel {
  padding: 24px;
}

.season-panel > header h3,
.attention-panel > header h3 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 26px;
}

.rank-target {
  display: grid;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
}

.rank-target > div:first-child {
  display: grid;
  gap: 5px;
}

.rank-target small {
  color: var(--muted);
  font-size: 12px;
}

.rank-target strong {
  font-family: var(--display);
  font-size: 46px;
}

.rank-target > div:last-child > span {
  display: block;
  height: 8px;
  margin-bottom: 10px;
  background: var(--line);
}

.rank-target > div:last-child > span i {
  display: block;
  width: var(--progress);
  height: 100%;
  background: var(--lime);
}

.game-performance article {
  display: grid;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 34px 1fr 58px 100px;
  gap: 14px;
  align-items: center;
}

.game-performance article > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
}

.game-performance article > div {
  display: grid;
  gap: 5px;
}

.game-performance strong {
  font-family: var(--display);
  font-size: 19px;
}

.game-performance small {
  color: var(--muted);
  font-size: 11px;
}

.game-performance article > em {
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.game-performance article > i {
  display: block;
  height: 5px;
  background: var(--line);
  font-style: normal;
}

.game-performance article > i b {
  display: block;
  width: var(--progress);
  height: 100%;
  background: var(--cyan);
}

.attention-panel {
  box-shadow: 9px 9px 0 var(--coral-soft);
}

.attention-panel > header > b {
  display: grid;
  min-width: 44px;
  min-height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
}

.attention-panel > article {
  display: grid;
  min-height: 112px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 48px 1fr auto;
  gap: 13px;
  align-items: center;
}

.attention-panel > article > span {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.attention-reward > span { color: var(--coral); background: var(--coral-soft); }
.attention-compute > span { color: #71930e; background: var(--lime-soft); }
.attention-order > span { color: var(--cyan); background: var(--cyan-soft); }

.attention-panel article > div {
  display: grid;
  gap: 6px;
}

.attention-panel article strong {
  font-family: var(--display);
  font-size: 17px;
}

.attention-panel article small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.attention-panel article > a,
.attention-panel article > button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.attention-panel > footer {
  padding-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.model-wallet-section {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(130deg, rgba(216,241,239,.64), rgba(255,255,255,.72) 46%, rgba(234,242,207,.55));
}

.model-balance-grid {
  display: grid;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line-strong);
  grid-template-columns: repeat(4,1fr);
}

.model-balance-grid > a {
  display: grid;
  min-height: 178px;
  padding: 20px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  align-content: space-between;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.model-balance-grid > a:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-4px);
}

.model-balance-grid > a > span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.model-balance-grid > a > div {
  display: grid;
  margin-top: 24px;
  gap: 7px;
}

.model-balance-grid small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.model-balance-grid strong {
  font-family: var(--display);
  font-size: 27px;
}

.model-balance-grid strong em {
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-style: normal;
}

.model-balance-grid > a > i {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.model-balance-grid > a:hover small,
.model-balance-grid > a:hover strong em,
.model-balance-grid > a:hover > i {
  color: rgba(255,255,255,.58);
}

.activity-head {
  display: grid;
  margin-bottom: 34px;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.activity-head h2 {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(46px,5vw,68px);
  line-height: 1;
  letter-spacing: -.05em;
}

.activity-tabs {
  display: flex;
  border: 1px solid var(--line-strong);
}

.activity-tabs button {
  min-height: 42px;
  padding-inline: 18px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.activity-tabs button:last-child {
  border-right: 0;
}

.activity-tabs button.is-active {
  color: var(--white);
  background: var(--ink);
}

.activity-ledger {
  border-top: 1px solid var(--ink);
}

.activity-ledger article {
  display: grid;
  min-height: 92px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: 130px 110px 1fr 140px;
  gap: 20px;
  align-items: center;
}

.activity-ledger article.is-filtered {
  display: none;
}

.activity-ledger time,
.activity-kind {
  color: var(--muted);
  font-size: 12px;
}

.activity-kind {
  font-weight: 800;
}

.activity-ledger article > div {
  display: grid;
  gap: 6px;
}

.activity-ledger strong {
  font-family: var(--display);
  font-size: 18px;
}

.activity-ledger small {
  color: var(--muted);
  font-size: 12px;
}

.activity-ledger article > em {
  color: #71930e;
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.activity-ledger article > em.is-cost {
  color: var(--coral);
}

@media (max-width: 1080px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .user-command-grid {
    grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr);
  }

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

  .user-pulse > div:nth-child(2) {
    border-right: 0;
  }

  .user-pulse > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-strong);
  }
}

@media (max-width: 760px) {
  .user-command {
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .user-welcome h1 {
    font-size: clamp(36px,11.5vw,52px);
  }

  .user-welcome > div > p {
    font-size: 14px;
  }

  .user-command-grid,
  .user-welcome > div,
  .rank-target {
    grid-template-columns: 1fr;
  }

  .account-overview,
  .identity-panel,
  .season-panel,
  .attention-panel {
    padding: 18px;
  }

  .model-snapshot,
  .model-balance-grid {
    grid-template-columns: 1fr;
  }

  .primary-assets,
  .wallet-actions {
    grid-template-columns: 1fr;
  }

  .primary-assets article {
    min-height: 112px;
  }

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

  .user-pulse > div {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .user-pulse > div:last-child {
    border-bottom: 0;
  }

  .game-performance article {
    grid-template-columns: 30px 1fr 52px;
  }

  .game-performance article > i {
    display: none;
  }

  .attention-panel > article {
    grid-template-columns: 46px 1fr;
  }

  .attention-panel article > a,
  .attention-panel article > button {
    grid-column: 2;
    justify-self: start;
  }

  .activity-head {
    grid-template-columns: 1fr;
  }

  .activity-tabs {
    overflow-x: auto;
  }

  .activity-tabs button {
    flex: 0 0 auto;
  }

  .activity-ledger article {
    padding-block: 20px;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
  }

  .activity-ledger time,
  .activity-kind {
    grid-row: 1;
  }

  .activity-kind {
    text-align: right;
  }

  .activity-ledger article > div {
    grid-column: 1 / -1;
  }

  .activity-ledger article > em {
    grid-column: 1 / -1;
    text-align: left;
  }
}
