:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-2: #090d12;
  --panel: rgba(13, 18, 24, 0.9);
  --panel-strong: rgba(19, 25, 33, 0.97);
  --line: rgba(226, 235, 246, 0.3);
  --line-hot: rgba(238, 244, 252, 0.68);
  --text: #f5f8fc;
  --muted: #a7b2c0;
  --muted-2: #7c8795;
  --silver: #e7edf5;
  --steel: #8a929d;
  --gold: #d6a84f;
  --blue: #4da3ff;
  --purple: #9b5cff;
  --green: #00f0a8;
  --red: #ff3b5f;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -16%, rgba(216, 224, 234, 0.2), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(77, 163, 255, 0.16), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(214, 168, 79, 0.09), transparent 36%),
    linear-gradient(135deg, #020304 0%, #070b10 42%, #05070a 100%);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
.panel-head strong,
.section-head h2,
.market-card strong,
.signal-card strong,
.prediction-control-strip strong,
.asset-signal-strip strong,
.web3-command-strip strong,
.affiliate-signal-strip strong,
.admin-kpi-grid strong {
  text-wrap: balance;
}

strong,
.quote-card strong,
.motion-hud strong,
.market-card strong,
.signal-card strong,
.prediction-status strong,
.prediction-control-strip strong,
.asset-signal-strip strong,
.asset-total strong,
.web3-command-strip strong,
.affiliate-signal-strip strong,
.admin-kpi-grid strong,
.chart-overlay strong {
  font-variant-numeric: tabular-nums;
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

body[dir="rtl"] {
  direction: rtl;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

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

#field-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  image-rendering: auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.74), transparent 82%);
}

.app-shell {
  width: min(1840px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(20, 26, 34, 0.98), rgba(7, 10, 14, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 190px;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 224, 234, 0.36);
  border-radius: 50%;
  background:
    conic-gradient(from 140deg, #111820, #d8e0ea, #4da3ff, #0e141b, #d6a84f, #111820);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.18), 0 0 28px rgba(77, 163, 255, 0.2);
}

.brand-mark::after {
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: #05070a;
  content: "";
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
  transition: 180ms ease;
}

.nav a:hover,
.nav a.active {
  border-color: rgba(216, 224, 234, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.api-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%),
    rgba(8, 12, 17, 0.82);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.api-pill.live {
  border-color: rgba(0, 240, 168, 0.34);
  color: var(--green);
  box-shadow: inset 0 0 22px rgba(0, 240, 168, 0.07);
}

.api-pill.warn {
  border-color: rgba(214, 168, 79, 0.42);
  color: var(--gold);
}

.user-pill {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:not(.user-authorized) #auth-logout,
body.user-authorized #auth-open,
body.user-authorized #auth-register-open {
  display: none;
}

.auth-sheet {
  display: none;
  position: fixed;
  inset: 82px 24px auto auto;
  z-index: 30;
  width: min(420px, calc(100vw - 32px));
}

.auth-sheet.open {
  display: block;
}

.auth-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(16, 22, 30, 0.98), rgba(5, 8, 12, 0.98));
  box-shadow: var(--shadow);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-panel small.warn {
  color: var(--danger);
}

select,
.ghost-button,
.metal-button,
.icon-button {
  min-height: 40px;
  border-radius: 6px;
}

select {
  max-width: 128px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  background: #0c1117;
  color: var(--text);
}

body[dir="rtl"] select {
  padding: 0 12px 0 32px;
}

.ghost-button {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
  transition: 180ms ease;
}

.ghost-button:hover {
  border-color: var(--line-hot);
  background: rgba(255, 255, 255, 0.08);
}

.metal-button {
  position: relative;
  overflow: hidden;
  padding: 0 18px;
  border: 1px solid rgba(216, 224, 234, 0.28);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(135deg, #151b22 0%, #d8e0ea 42%, #68717c 48%, #111820 100%);
  color: #020407;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(216, 224, 234, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.metal-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 38px rgba(216, 224, 234, 0.28);
}

.metal-button.large,
.ghost-button.large {
  min-height: 52px;
  padding: 0 24px;
}

.metal-button.full {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
}

.icon-button.small {
  width: 32px;
  min-height: 32px;
}

.icon-pause,
.icon-filter,
.icon-search {
  display: block;
  width: 14px;
  height: 14px;
}

.icon-pause {
  border-inline: 4px solid currentColor;
}

.icon-filter {
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  box-shadow: 0 5px 0 -1px currentColor;
}

.icon-search {
  position: relative;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.ticker-strip {
  overflow: hidden;
  margin: 14px 0 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 17, 23, 0.78), rgba(5, 8, 12, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(6px);
  mask-image: linear-gradient(90deg, transparent, #000 38px, #000 calc(100% - 38px), transparent);
  opacity: 0.82;
}

body[data-active-view="home"] .ticker-strip {
  display: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 26px;
  padding: 12px 42px;
  animation: ticker 34s linear infinite;
}

.ticker-item {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  color: #9fa9b6;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.ticker-item strong {
  color: var(--text);
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

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

main {
  min-height: calc(100vh - 132px);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(620px, 1.18fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: stretch;
  min-height: 700px;
  padding: clamp(28px, 4vw, 62px) 0 18px;
}

.hero-copy,
.quick-panel,
.feature-card,
.market-rail,
.chart-deck,
.trade-ticket,
.depth-panel,
.orders-panel,
.asset-core,
.asset-actions,
.asset-table,
.web3-hero,
.chain-card,
.network-panel,
.commission-panel,
.motion-wall,
.system-module,
.product-orbit,
.orbit-card,
.prediction-hero,
.prediction-product,
.round-ladder,
.rules-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, var(--panel-strong), rgba(6, 9, 13, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 660px;
  padding:
    clamp(40px, 6vw, 94px)
    clamp(8px, 2.5vw, 42px)
    clamp(34px, 5vw, 78px)
    clamp(42px, 6vw, 104px);
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy::before {
  position: absolute;
  inset: -45% -30% auto auto;
  width: 72%;
  height: 72%;
  pointer-events: none;
  background:
    conic-gradient(from 210deg, transparent, rgba(216, 224, 234, 0.18), transparent, rgba(214, 168, 79, 0.12), transparent);
  filter: blur(18px);
  opacity: 0.28;
  animation: spin 18s linear infinite;
  content: "";
}

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

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 590px;
  margin-bottom: 30px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 {
  background:
    linear-gradient(105deg, #ffffff 0%, #f1f5fa 32%, #c7d0da 48%, #ffffff 66%, #d6a84f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 56px rgba(216, 224, 234, 0.1);
}

h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
}

.hero-copy p {
  max-width: 500px;
  color: #aeb9c6;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 20px;
}

.trust-row {
  margin-top: 34px;
}

.trust-row span {
  padding: 10px 14px;
  border: 1px solid rgba(226, 235, 246, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d1d8e1;
  font-size: 12px;
  font-weight: 700;
}

.orbital-stage {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border: 1px solid rgba(216, 224, 234, 0.065);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.82) 0%, rgba(3, 5, 8, 0.18) 43%, rgba(3, 5, 8, 0.34) 100%),
    radial-gradient(circle at 58% 46%, rgba(226, 235, 246, 0.08), transparent 24%),
    url("./assets/hero-blue-planet-clean.png") 72% center / cover no-repeat,
    radial-gradient(circle at 52% 50%, rgba(77, 163, 255, 0.05), transparent 36%),
    linear-gradient(180deg, rgba(8, 12, 17, 0.72), rgba(3, 4, 6, 0.58));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.016);
}

.orbital-stage::before,
.orbital-stage::after {
  position: absolute;
  inset: 9%;
  pointer-events: none;
  border-radius: 50%;
  content: "";
}

.orbital-stage::before {
  border: 1px solid rgba(216, 224, 234, 0.055);
  background:
    linear-gradient(115deg, transparent 10%, rgba(216, 224, 234, 0.09), transparent 34%),
    radial-gradient(circle, transparent 52%, rgba(216, 224, 234, 0.035) 53%, transparent 66%);
  transform: rotateX(64deg) rotateZ(-14deg);
  animation: spin 22s linear infinite;
}

.orbital-stage::after {
  inset: 18%;
  border: 1px solid rgba(214, 168, 79, 0.07);
  filter: blur(0.2px);
  transform: rotateX(68deg) rotateZ(26deg);
  animation: spin 28s linear infinite reverse;
}

.planet-motion-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  --planet-left: 29%;
  --planet-top: 11.5%;
  --planet-size: 55%;
  pointer-events: none;
  perspective: 1200px;
  overflow: hidden;
}

.planet-globe-rotation,
.planet-spin-sheen,
.planet-rotation-map,
.planet-terminator {
  position: absolute;
  left: var(--planet-left);
  top: var(--planet-top);
  width: var(--planet-size);
  aspect-ratio: 1;
  border-radius: 50%;
}

.planet-globe-rotation {
  overflow: hidden;
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(72, 160, 255, 0.34), rgba(10, 38, 82, 0.22) 50%, rgba(0, 0, 0, 0.02) 72%);
  filter: saturate(1.45) contrast(1.18);
  mix-blend-mode: normal;
  opacity: 0.82;
  transform: rotateZ(-4deg);
  mask-image: radial-gradient(circle, #000 0 62%, transparent 72%);
}

.planet-globe-rotation::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 34% 36%, rgba(255, 255, 255, 0.22), transparent 17%),
    linear-gradient(102deg, rgba(0, 0, 0, 0.12), transparent 44%, rgba(0, 0, 0, 0.38));
  content: "";
}

.planet-surface {
  position: absolute;
  inset: -2% -58%;
  background:
    radial-gradient(ellipse at 16% 34%, rgba(224, 242, 255, 0.4) 0 6%, transparent 7%),
    radial-gradient(ellipse at 34% 66%, rgba(64, 153, 255, 0.36) 0 9%, transparent 10%),
    radial-gradient(ellipse at 52% 42%, rgba(235, 248, 255, 0.28) 0 5%, transparent 6%),
    radial-gradient(ellipse at 72% 62%, rgba(60, 146, 255, 0.34) 0 8%, transparent 9%),
    radial-gradient(ellipse at 88% 34%, rgba(214, 236, 255, 0.32) 0 6%, transparent 7%),
    repeating-linear-gradient(90deg, rgba(123, 190, 255, 0) 0 24px, rgba(123, 190, 255, 0.28) 25px 27px, rgba(123, 190, 255, 0) 28px 52px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 25px, rgba(209, 231, 255, 0.18) 26px 27px, rgba(255, 255, 255, 0) 28px 54px);
  background-size: 34% 100%, 38% 100%, 36% 100%, 40% 100%, 34% 100%, 28% 100%, 100% 100%;
  opacity: 0.96;
  animation: planet-surface-spin 5.8s linear infinite;
}

.planet-rotation-map {
  background:
    radial-gradient(circle at 35% 36%, rgba(255, 255, 255, 0.18), transparent 18%),
    repeating-linear-gradient(90deg, rgba(123, 190, 255, 0) 0 22px, rgba(123, 190, 255, 0.15) 23px 25px, rgba(123, 190, 255, 0) 26px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 24px, rgba(209, 231, 255, 0.12) 25px 26px, rgba(255, 255, 255, 0) 27px 50px);
  background-size: 100% 100%, 210% 100%, 100% 100%;
  filter: saturate(1.2);
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: rotateX(2deg) rotateZ(-4deg);
  animation: planet-map-drift 15s linear infinite;
  mask-image: radial-gradient(circle, #000 0 58%, transparent 69%);
}

.planet-spin-sheen {
  background:
    conic-gradient(from 0deg, transparent 0 18%, rgba(120, 198, 255, 0.2) 29%, transparent 42% 100%),
    radial-gradient(circle at 46% 42%, transparent 0 48%, rgba(103, 183, 255, 0.14) 52%, transparent 64%);
  filter: blur(0.25px);
  mix-blend-mode: screen;
  opacity: 0.7;
  transform: rotateZ(-4deg);
  animation: planet-sheen-spin 18s linear infinite;
  mask-image: radial-gradient(circle, #000 0 61%, transparent 71%);
}

.planet-terminator {
  background: radial-gradient(circle at 72% 48%, rgba(255, 255, 255, 0.2), transparent 18%), linear-gradient(100deg, rgba(0, 0, 0, 0.08), transparent 42%, rgba(3, 8, 14, 0.34) 100%);
  mix-blend-mode: soft-light;
  opacity: 0.55;
  mask-image: radial-gradient(circle, #000 0 62%, transparent 72%);
}

.coin-orbit {
  position: absolute;
  right: 18%;
  top: 9%;
  width: 54%;
  height: 70%;
  border: 1px solid rgba(106, 181, 255, 0.16);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(var(--orbit-tilt, -10deg));
  transform-style: preserve-3d;
  animation: coin-orbit-spin var(--orbit-speed, 22s) linear infinite;
}

.coin-orbit::before {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(97, 177, 255, 0.18), transparent 54%);
  opacity: 0.72;
  content: "";
}

.orbit-one {
  --orbit-speed: 24s;
  --coin-spin-speed: 4.2s;
  --orbit-tilt: -9deg;
  --coin-face-tilt: 9deg;
}

.orbit-two {
  right: 22%;
  top: 18%;
  width: 46%;
  height: 56%;
  --orbit-speed: 18s;
  --coin-spin-speed: 3.6s;
  --orbit-tilt: 17deg;
  --coin-face-tilt: -17deg;
  animation-direction: reverse;
}

.orbit-three {
  right: 12%;
  top: 24%;
  width: 58%;
  height: 50%;
  --orbit-speed: 28s;
  --coin-spin-speed: 4.8s;
  --orbit-tilt: 4deg;
  --coin-face-tilt: -4deg;
}

.orbit-four {
  right: 30%;
  top: 2%;
  width: 38%;
  height: 48%;
  --orbit-speed: 21s;
  --coin-spin-speed: 3.9s;
  --orbit-tilt: -24deg;
  --coin-face-tilt: 24deg;
  animation-direction: reverse;
}

.orbit-five {
  right: 6%;
  top: 12%;
  width: 64%;
  height: 62%;
  --orbit-speed: 31s;
  --coin-spin-speed: 4.5s;
  --orbit-tilt: 31deg;
  --coin-face-tilt: -31deg;
}

.orbit-six {
  right: 26%;
  top: 31%;
  width: 44%;
  height: 42%;
  --orbit-speed: 19s;
  --coin-spin-speed: 3.4s;
  --orbit-tilt: -36deg;
  --coin-face-tilt: 36deg;
  animation-direction: reverse;
}

.orbit-seven {
  right: 8%;
  top: 3%;
  width: 62%;
  height: 76%;
  --orbit-speed: 34s;
  --coin-spin-speed: 4.1s;
  --orbit-tilt: -3deg;
  --coin-face-tilt: 3deg;
}

.orbit-eight {
  right: 36%;
  top: 16%;
  width: 34%;
  height: 58%;
  --orbit-speed: 16s;
  --coin-spin-speed: 3.2s;
  --orbit-tilt: 44deg;
  --coin-face-tilt: -44deg;
  animation-direction: reverse;
}

.orbit-nine {
  right: 18%;
  top: 5%;
  width: 50%;
  height: 38%;
  --orbit-speed: 26s;
  --coin-spin-speed: 4.7s;
  --orbit-tilt: -48deg;
  --coin-face-tilt: 48deg;
}

.coin-token {
  position: absolute;
  top: 50%;
  right: -22px;
  display: block;
  width: 54px;
  aspect-ratio: 1;
  color: #f7fbff;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%) rotateZ(var(--coin-face-tilt, 10deg)) rotateX(-64deg);
  transform-style: preserve-3d;
}

.coin-model {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: coin-body-spin var(--coin-spin-speed, 4s) linear infinite;
}

.coin-model::before {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    conic-gradient(from 90deg, #f5fbff, #738294, #161d27, #cad8e7, #566575, #f5fbff);
  box-shadow:
    0 0 0 7px rgba(17, 22, 30, 0.86),
    0 0 0 9px rgba(226, 235, 246, 0.28),
    inset 0 0 18px rgba(0, 0, 0, 0.62);
  transform: translateZ(0);
  content: "";
}

.coin-edge,
.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.coin-edge {
  background: conic-gradient(from 90deg, #f7fbff, #546372, #151b23, #dce7f3, #778697, #f7fbff);
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.34),
    0 0 26px rgba(74, 161, 255, 0.32);
  transform: translateZ(0) scaleX(0.24);
}

.coin-face {
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 240, 250, 0.68);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(168, 187, 207, 0.3) 28%, rgba(19, 26, 34, 0.94) 68%),
    linear-gradient(135deg, #dce7f3, #596878 42%, #0d131a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -12px 24px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(74, 161, 255, 0.32);
  backface-visibility: hidden;
  letter-spacing: 0;
}

.coin-logo {
  position: relative;
  display: block;
  width: 64%;
  aspect-ratio: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.38));
}

.coin-logo::before,
.coin-logo::after {
  position: absolute;
  content: "";
}

.logo-btc::before {
  inset: 0;
  color: currentColor;
  content: "\20BF";
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  position: absolute;
}

.logo-eth {
  width: 54%;
}

.logo-eth::before,
.logo-eth::after {
  left: 50%;
  width: 70%;
  height: 48%;
  background: linear-gradient(135deg, #ffffff, #87aaff 55%, #18223a);
  clip-path: polygon(50% 0, 100% 100%, 50% 76%, 0 100%);
  transform: translateX(-50%);
}

.logo-eth::before {
  top: 0;
}

.logo-eth::after {
  bottom: 0;
  opacity: 0.72;
  transform: translateX(-50%) rotate(180deg);
}

.logo-usdt::before {
  left: 9%;
  top: 24%;
  width: 82%;
  height: 14%;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 7px 0 -4px currentColor;
}

.logo-usdt::after {
  left: 42%;
  top: 21%;
  width: 16%;
  height: 62%;
  border-radius: 999px;
  background: currentColor;
}

.logo-usdc {
  border: 3px solid currentColor;
  border-radius: 50%;
}

.logo-usdc::before {
  inset: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.9;
}

.logo-usdc::after {
  inset: 0;
  color: currentColor;
  content: "$";
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
  position: absolute;
}

.logo-xau::before,
.logo-xag::before {
  left: 18%;
  top: 20%;
  width: 64%;
  height: 60%;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffffff, currentColor 42%, rgba(0, 0, 0, 0.46));
  clip-path: polygon(20% 0, 80% 0, 100% 72%, 86% 100%, 14% 100%, 0 72%);
}

.logo-xau::after,
.logo-xag::after {
  inset: 0;
  color: #101010;
  content: "Au";
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  position: absolute;
}

.logo-xag::after {
  content: "Ag";
}

.logo-bnb::before {
  left: 50%;
  top: 50%;
  width: 34%;
  height: 34%;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow:
    -14px -14px 0 -2px currentColor,
    14px -14px 0 -2px currentColor,
    -14px 14px 0 -2px currentColor,
    14px 14px 0 -2px currentColor;
}

.logo-sol::before,
.logo-sol::after,
.logo-sol span {
  position: absolute;
  left: 13%;
  width: 74%;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, #14f195, #80ecff 48%, #9945ff);
  transform: skewX(-16deg);
  content: "";
}

.logo-sol::before {
  top: 18%;
}

.logo-sol::after {
  bottom: 18%;
}

.logo-sol span {
  top: 41%;
}

.logo-xrp::before,
.logo-xrp::after {
  left: 16%;
  width: 68%;
  height: 34%;
  border: 4px solid currentColor;
  border-left: 0;
  border-right: 0;
}

.logo-xrp::before {
  top: 10%;
  border-bottom: 0;
  border-radius: 0 0 50% 50%;
}

.logo-xrp::after {
  bottom: 10%;
  border-top: 0;
  border-radius: 50% 50% 0 0;
}

.coin-front {
  transform: translateZ(6px);
}

.coin-back {
  transform: rotateY(180deg) translateZ(6px);
}

.token-btc .coin-face {
  color: #ffe1a3;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96), rgba(214, 168, 79, 0.44) 30%, rgba(25, 19, 12, 0.96) 70%),
    linear-gradient(135deg, #f1d49a, #745b25 44%, #15100b);
}

.token-eth .coin-face {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(91, 146, 255, 0.48) 30%, rgba(14, 21, 34, 0.94) 70%);
}

.token-usdt .coin-face {
  color: #9effd9;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(0, 240, 168, 0.34) 31%, rgba(8, 34, 27, 0.95) 70%);
  font-size: 13px;
}

.token-usdc .coin-face {
  color: #d7e6ff;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(58, 132, 255, 0.48) 31%, rgba(10, 24, 48, 0.95) 70%);
  font-size: 13px;
}

.token-xau .coin-face {
  color: #fff1bf;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.98), rgba(214, 168, 79, 0.6) 30%, rgba(45, 31, 8, 0.96) 72%),
    linear-gradient(135deg, #f4d37a, #8a671e 48%, #191105);
  font-size: 14px;
}

.token-xag .coin-face {
  color: #eef7ff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.98), rgba(202, 217, 232, 0.58) 31%, rgba(21, 28, 36, 0.96) 72%),
    linear-gradient(135deg, #f3f8ff, #738293 48%, #151b23);
  font-size: 14px;
}

.token-bnb .coin-face {
  color: #fff0ad;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.98), rgba(240, 185, 11, 0.58) 31%, rgba(48, 35, 5, 0.96) 72%),
    linear-gradient(135deg, #f8d44f, #9a7208 48%, #1b1304);
  font-size: 14px;
}

.token-sol .coin-face {
  color: #eef8ff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.98), rgba(153, 69, 255, 0.42) 28%, rgba(20, 241, 149, 0.28) 48%, rgba(13, 16, 34, 0.96) 74%),
    linear-gradient(135deg, #14f195, #9945ff 54%, #101422);
  font-size: 14px;
}

.token-xrp .coin-face {
  color: #eef7ff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.98), rgba(76, 146, 218, 0.46) 31%, rgba(10, 20, 32, 0.96) 72%),
    linear-gradient(135deg, #dcecff, #496984 48%, #101720);
  font-size: 14px;
}

.core-readout {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: 176px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(17, 22, 29, 0.94), rgba(5, 7, 10, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.core-readout span,
.core-readout small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.core-readout strong {
  display: block;
  margin: 6px 0;
  color: var(--silver);
  font-size: 40px;
}

.quick-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 6;
  width: min(320px, 28vw);
  align-self: auto;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 84% 0%, rgba(214, 168, 79, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(22, 28, 36, 0.96), rgba(5, 7, 10, 0.94));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-grid .quick-panel {
  right: 16px;
  bottom: 48px;
  width: min(268px, 24vw);
  padding: 14px;
  border-color: rgba(226, 235, 246, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 18%),
    linear-gradient(180deg, rgba(18, 23, 30, 0.9), rgba(5, 7, 10, 0.88));
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.hero-grid .quick-panel.is-dragging {
  cursor: grabbing;
  transition: none;
}

.hero-grid .quick-panel .panel-head {
  margin-bottom: 10px;
}

.hero-grid .quick-panel .segmented,
.hero-grid .quick-panel .dual-actions {
  display: none;
}

.hero-grid .quick-panel .quote-card {
  margin: 10px 0 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(14, 19, 26, 0.88), rgba(6, 9, 13, 0.92));
}

.hero-grid .quick-panel .quote-card strong {
  font-size: 26px;
}

.hero-grid .quick-panel .metal-button.full {
  min-height: 42px;
  cursor: pointer;
}

.panel-head,
.ticket-head,
.rail-title,
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.panel-head {
  margin-bottom: 16px;
}

.panel-head strong,
.ticket-head strong,
.rail-title strong {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-head span,
.ticket-head span,
.field span,
.ticket-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.segmented button,
.chart-modes button,
.timeframes button,
.market-tabs button,
.amount-grid button {
  min-height: 34px;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
}

.segmented button.active,
.chart-modes button.active,
.timeframes button.active,
.market-tabs button.active,
.amount-grid button:hover {
  background: rgba(226, 235, 246, 0.18);
  color: var(--text);
}

.quote-card {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 26, 34, 0.92), rgba(8, 12, 17, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quote-card small,
.quote-card strong,
.quote-card span {
  display: block;
}

.quote-card small {
  color: #c3ccd7;
  font-weight: 700;
}

.quote-card strong {
  margin: 8px 0;
  font-size: 34px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.dual-actions,
.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dual-actions button,
.direction-grid button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.call {
  background: linear-gradient(180deg, rgba(0, 240, 168, 0.34), rgba(0, 240, 168, 0.1));
}

.put {
  background: linear-gradient(180deg, rgba(255, 59, 95, 0.34), rgba(255, 59, 95, 0.1));
}

.direction-grid button.active {
  border-color: rgba(216, 224, 234, 0.45);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.08);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  padding: 20px 72px 20px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 24%),
    linear-gradient(180deg, rgba(14, 19, 26, 0.78), rgba(6, 9, 13, 0.78));
}

.feature-card::before {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(77, 163, 255, 0.18), rgba(214, 168, 79, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 20px rgba(77, 163, 255, 0.08);
  clip-path: polygon(18% 18%, 82% 18%, 82% 34%, 54% 34%, 54% 82%, 38% 82%, 38% 34%, 18% 34%);
  content: "";
}

.feature-card:nth-child(2)::before {
  clip-path: polygon(50% 8%, 86% 28%, 86% 70%, 50% 92%, 14% 70%, 14% 28%);
}

.feature-card:nth-child(3)::before {
  clip-path: polygon(14% 22%, 50% 8%, 86% 22%, 70% 82%, 30% 82%);
}

.feature-card,
.system-module,
.orbit-card,
.prediction-product {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 22px 64px rgba(0, 0, 0, 0.34);
}

.feature-index {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 16px 0 8px;
  color: #ffffff;
  font-size: 19px;
}

.feature-card p {
  color: #aeb9c6;
  font-size: 14px;
  line-height: 1.58;
}

.motion-wall {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 18px;
  min-height: 460px;
  margin-top: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 20%),
    radial-gradient(circle at 72% 42%, rgba(226, 235, 246, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(15, 20, 27, 0.98), rgba(4, 6, 9, 0.96));
}

.motion-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 34px);
}

.motion-copy h2 {
  margin: 22px 0 14px;
}

.motion-copy p {
  color: #b8c2ce;
  line-height: 1.72;
}

.motion-canvas-wrap {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 60% 42%, rgba(216, 224, 234, 0.16), transparent 36%),
    #040609;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.motion-canvas-wrap::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(216, 224, 234, 0.12) 48%, transparent 58%);
  transform: translateX(-100%);
  animation: metal-sweep 5.8s ease-in-out infinite;
  content: "";
}

.motion-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: auto;
}

.motion-hud {
  position: absolute;
  z-index: 2;
  min-width: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(17, 22, 29, 0.94), rgba(5, 7, 10, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.motion-hud span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.motion-hud strong {
  display: block;
  margin-top: 6px;
  font-size: 32px;
}

.hud-a {
  left: 18px;
  bottom: 18px;
}

.hud-b {
  top: 18px;
  right: 18px;
}

body[dir="rtl"] .hud-a {
  right: 18px;
  left: auto;
}

body[dir="rtl"] .hud-b {
  right: auto;
  left: 18px;
}

.live-systems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.system-module {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 16px;
}

.system-module::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(216, 224, 234, 0.12), transparent 32%, rgba(77, 163, 255, 0.08));
  opacity: 0.72;
  content: "";
}

.system-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.system-head span {
  color: #c3ccd7;
  font-size: 12px;
  font-weight: 750;
}

.system-head strong {
  color: var(--green);
}

.matrix-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 30px;
}

.matrix-grid span {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  animation: matrix-flicker 2.4s ease-in-out infinite;
}

.matrix-grid span:nth-child(3n) {
  animation-delay: 400ms;
}

.matrix-grid span:nth-child(4n) {
  animation-delay: 900ms;
}

.beam-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.beam-stack i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--silver), transparent);
  transform-origin: left;
  animation: beam-load 2.2s ease-in-out infinite;
}

.beam-stack i:nth-child(2) { animation-delay: 160ms; }
.beam-stack i:nth-child(3) { animation-delay: 320ms; }
.beam-stack i:nth-child(4) { animation-delay: 480ms; }
.beam-stack i:nth-child(5) { animation-delay: 640ms; }

.rail-flow {
  position: relative;
  z-index: 2;
  height: 126px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.rail-flow b {
  position: absolute;
  left: -30%;
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--silver));
  box-shadow: 0 0 18px var(--blue);
  animation: rail-run 2.6s linear infinite;
}

.rail-flow b:nth-child(1) { top: 22%; }
.rail-flow b:nth-child(2) { top: 42%; animation-delay: 460ms; }
.rail-flow b:nth-child(3) { top: 62%; animation-delay: 920ms; }
.rail-flow b:nth-child(4) { top: 82%; animation-delay: 1380ms; }

.risk-pulse {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  margin: 28px auto 0;
  border: 1px solid rgba(0, 240, 168, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 240, 168, 0.28), transparent 56%),
    conic-gradient(from 0deg, rgba(0, 240, 168, 0.85), rgba(216, 224, 234, 0.22), rgba(77, 163, 255, 0.72), rgba(0, 240, 168, 0.85));
  animation: spin 4.8s linear infinite;
}

.risk-pulse::after {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #05070a;
  content: "";
}

.product-orbit {
  margin-top: 18px;
  padding: 18px;
}

.orbit-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 16px;
}

.orbit-copy h2 {
  width: min(760px, 100%);
  margin: 18px 0 0;
}

.orbit-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.orbit-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 18px;
  color: var(--text);
  text-align: left;
}

body[dir="rtl"] .orbit-card {
  text-align: right;
}

.orbit-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 110%, rgba(216, 224, 234, 0.2), transparent 48%),
    linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.16), transparent 28%);
  transform: translateX(-80%);
  animation: orbit-shine 4.2s ease-in-out infinite;
  content: "";
}

.orbit-card span,
.orbit-card strong,
.orbit-card small {
  position: relative;
  z-index: 2;
  display: block;
}

.orbit-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.orbit-card strong {
  margin-top: 70px;
  font-size: 22px;
  background: linear-gradient(105deg, var(--text), var(--steel), var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.orbit-card small {
  margin-top: 10px;
  color: var(--muted);
}

@keyframes metal-sweep {
  0%, 42% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

@keyframes matrix-flicker {
  0%, 100% { background: rgba(255, 255, 255, 0.035); box-shadow: none; }
  50% { background: rgba(0, 240, 168, 0.18); box-shadow: 0 0 20px rgba(0, 240, 168, 0.22); }
}

@keyframes beam-load {
  0%, 100% { transform: scaleX(0.25); opacity: 0.38; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes rail-run {
  from { transform: translateX(0); }
  to { transform: translateX(280%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes planet-sheen-spin {
  to { transform: rotate(360deg); }
}

@keyframes planet-surface-spin {
  from { transform: translateX(0); }
  to { transform: translateX(-34%); }
}

@keyframes planet-map-drift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 0 0, -220px 0, 0 0; }
}

@keyframes coin-orbit-spin {
  to { transform: rotateX(64deg) rotateZ(calc(var(--orbit-tilt, -10deg) + 360deg)); }
}

@keyframes coin-body-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes orbit-shine {
  0%, 52% { transform: translateX(-90%); }
  78%, 100% { transform: translateX(110%); }
}

.terminal-view {
  grid-template-columns: 280px minmax(520px, 1fr) 340px;
  gap: 14px;
}

.terminal-view.active {
  display: grid;
}

.market-rail,
.trade-ticket {
  padding: 14px;
}

.search-box {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.market-tabs,
.chart-modes,
.timeframes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.market-tabs button,
.chart-modes button,
.timeframes button {
  padding: 0 11px;
  border: 1px solid var(--line);
}

.market-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.market-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  transition: 160ms ease;
}

.market-row:hover,
.market-row.active {
  border-color: rgba(216, 224, 234, 0.34);
  background: rgba(255, 255, 255, 0.075);
}

.market-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.chart-deck {
  min-width: 0;
  padding: 14px;
}

.chart-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.chart-toolbar small {
  color: var(--muted);
}

.chart-toolbar h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.terminal-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.signal-card {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 14px 56px 14px 14px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(16, 22, 30, 0.86), rgba(5, 8, 12, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.signal-card::before {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(77, 163, 255, 0.18), rgba(214, 168, 79, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 18px rgba(77, 163, 255, 0.08);
  clip-path: polygon(18% 18%, 82% 18%, 82% 34%, 54% 34%, 54% 82%, 38% 82%, 38% 34%, 18% 34%);
  content: "";
}

.signal-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 36%, rgba(216, 224, 234, 0.16), transparent 56%);
  transform: translateX(-120%);
  animation: metal-sweep 6.4s ease-in-out infinite;
  content: "";
}

.signal-card:nth-child(2)::after {
  animation-delay: 0.6s;
}

.signal-card:nth-child(3)::after {
  animation-delay: 1.2s;
}

.signal-card:nth-child(4)::after {
  animation-delay: 1.8s;
}

.signal-card span,
.signal-card strong,
.signal-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.signal-card span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.signal-card strong {
  margin-top: 10px;
  color: #f7fbff;
  font-size: 17px;
}

.signal-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.signal-card.hot {
  border-color: rgba(0, 240, 168, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 30px rgba(0, 240, 168, 0.08);
}

.metal-wave-panel {
  position: relative;
  overflow: hidden;
  height: min(52vh, 520px);
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    radial-gradient(circle at 52% 40%, rgba(77, 163, 255, 0.12), transparent 38%),
    #040609;
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.metal-wave-panel::before,
.metal-wave-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.metal-wave-panel::before {
  z-index: 1;
  background:
    linear-gradient(110deg, transparent 0 40%, rgba(216, 224, 234, 0.08), transparent 58%),
    radial-gradient(circle at 80% 28%, rgba(0, 240, 168, 0.12), transparent 22%);
  animation: metal-sweep 8s ease-in-out infinite;
}

.metal-wave-panel::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(90deg, rgba(77, 163, 255, 0.12), transparent 24%, transparent 74%, rgba(214, 168, 79, 0.1));
  mix-blend-mode: screen;
}

.metal-wave-panel canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: auto;
}

.chart-overlay {
  position: absolute;
  z-index: 4;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(4, 6, 9, 0.9);
  backdrop-filter: blur(8px);
}

.chart-overlay span,
.chart-overlay strong {
  display: block;
}

.chart-overlay span {
  color: var(--muted);
  font-size: 11px;
}

.chart-overlay strong {
  margin-top: 4px;
  font-size: 13px;
}

.top-left {
  top: 12px;
  left: 12px;
}

.top-right {
  top: 12px;
  right: 12px;
}

body[dir="rtl"] .top-left {
  right: 12px;
  left: auto;
}

body[dir="rtl"] .top-right {
  right: auto;
  left: 12px;
}

.settlement-beam {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 18%;
  bottom: 0;
  width: 2px;
  background: linear-gradient(transparent, var(--gold), transparent);
  box-shadow: 0 0 30px var(--gold);
}

.settlement-beam::before,
.settlement-beam::after {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.settlement-beam::before {
  top: 0;
  width: 86px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.14), transparent);
}

.settlement-beam::after {
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 236, 190, 0.86);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(214, 168, 79, 0.72);
  animation: settlement-dot 2.4s ease-in-out infinite;
}

.settlement-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.settlement-timeline span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.settlement-timeline b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 14px rgba(216, 224, 234, 0.2);
}

.settlement-timeline .active {
  color: var(--silver);
  border-color: rgba(0, 240, 168, 0.28);
}

.settlement-timeline .active b {
  background: var(--green);
  box-shadow: 0 0 16px rgba(0, 240, 168, 0.55);
}

.terminal-bottom {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.depth-panel,
.orders-panel {
  min-height: 170px;
  padding: 14px;
}

.panel-head.compact {
  margin-bottom: 10px;
}

.flow-bars {
  display: grid;
  gap: 7px;
}

.flow-bar {
  display: grid;
  grid-template-columns: 62px 1fr 58px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.flow-bar span:nth-child(2) {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.75), rgba(77, 163, 255, 0.32));
}

.order-lines {
  display: grid;
  gap: 8px;
}

.order-line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 12px;
}

.trade-ticket {
  align-self: start;
}

.ticket-head {
  margin-bottom: 14px;
}

.ticket-head strong {
  font-size: 24px;
}

.ticket-oracle-card {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: 6px;
  background:
    radial-gradient(circle at 90% 8%, rgba(77, 163, 255, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 30%),
    rgba(255, 255, 255, 0.04);
}

.ticket-oracle-card::after {
  position: absolute;
  right: 14px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 235, 246, 0.28);
  border-radius: 50%;
  background: conic-gradient(from 80deg, rgba(0, 240, 168, 0.86), rgba(216, 224, 234, 0.16), rgba(77, 163, 255, 0.68), rgba(0, 240, 168, 0.86));
  box-shadow: 0 0 24px rgba(0, 240, 168, 0.14);
  animation: spin 4.8s linear infinite;
  content: "";
}

.ticket-oracle-card span,
.ticket-oracle-card strong,
.ticket-oracle-card small {
  display: block;
  padding-right: 58px;
}

.ticket-oracle-card span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.ticket-oracle-card strong {
  margin-top: 10px;
  color: var(--text);
  font-size: 18px;
}

.ticket-oracle-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.trade-ticket > * + * {
  margin-top: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}

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

.amount-grid button {
  border: 1px solid var(--line);
}

.ticket-metrics {
  display: grid;
  gap: 8px;
}

.ticket-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.energy-button {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(0, 240, 168, 0.55);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(0, 240, 168, 0.12), rgba(77, 163, 255, 0.16), rgba(0, 240, 168, 0.12)),
    #07110f;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 32px rgba(0, 240, 168, 0.18);
}

.energy-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-110%);
  animation: charge 2.2s ease-in-out infinite;
  content: "";
}

@keyframes charge {
  45%, 100% { transform: translateX(110%); }
}

@keyframes settlement-dot {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.82);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

@keyframes ledger-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.risk-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.section-head {
  align-items: flex-end;
  margin: 38px 0 18px;
}

.section-head h2 {
  width: min(760px, 100%);
  margin: 0;
}

.prediction-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: end;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 48px);
}

.prediction-hero h2 {
  max-width: 980px;
  margin: 22px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
}

.prediction-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.prediction-status {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.prediction-status span,
.prediction-status small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.prediction-status strong {
  display: block;
  margin: 8px 0;
  font-size: 46px;
}

.prediction-control-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.prediction-control-strip article {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 16px 58px 16px 16px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(77, 163, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(5, 8, 12, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.prediction-control-strip article::before,
.asset-signal-strip article::before,
.web3-command-strip article::before,
.affiliate-signal-strip article::before,
.admin-kpi-grid article::before {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(77, 163, 255, 0.18), rgba(214, 168, 79, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 18px rgba(77, 163, 255, 0.08);
  clip-path: polygon(18% 18%, 82% 18%, 82% 34%, 54% 34%, 54% 82%, 38% 82%, 38% 34%, 18% 34%);
  content: "";
}

.prediction-control-strip article::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 0 34%, rgba(216, 224, 234, 0.16), transparent 56%);
  transform: translateX(-120%);
  animation: metal-sweep 7s ease-in-out infinite;
  content: "";
}

.prediction-control-strip article:nth-child(2)::after {
  animation-delay: 0.4s;
}

.prediction-control-strip article:nth-child(3)::after {
  animation-delay: 0.8s;
}

.prediction-control-strip article:nth-child(4)::after {
  animation-delay: 1.2s;
}

.prediction-control-strip span,
.prediction-control-strip strong,
.prediction-control-strip small {
  position: relative;
  z-index: 1;
  display: block;
}

.prediction-control-strip span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prediction-control-strip strong {
  margin-top: 16px;
  color: #f7fbff;
  font-size: 22px;
}

.prediction-control-strip small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.sports-odds-panel {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(214, 168, 79, 0.16), transparent 34%),
    radial-gradient(circle at 22% 80%, rgba(77, 163, 255, 0.14), transparent 32%),
    rgba(7, 10, 15, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 70px rgba(0, 0, 0, 0.26);
}

.sports-odds-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 0 36%, rgba(216, 224, 234, 0.12), transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 100% 26px;
  animation: metal-sweep 8s ease-in-out infinite;
  content: "";
}

.world-cup-spotlight {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(220px, 0.28fr);
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(0, 240, 168, 0.11), transparent 34%),
    rgba(3, 6, 10, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.world-cup-spotlight[hidden] {
  display: none;
}

.world-cup-copy h3 {
  margin: 10px 0 14px;
  color: #fff7db;
  font-size: 28px;
  line-height: 1.14;
}

.world-cup-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.world-cup-stats span,
.world-cup-ticket {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.world-cup-stats strong {
  color: var(--silver);
  font-size: 20px;
}

.world-cup-stats small,
.world-cup-ticket label {
  color: var(--muted);
  font-size: 11px;
}

.world-cup-ticket {
  align-self: start;
}

.world-cup-ticket input {
  min-height: 38px;
}

.world-cup-ticket button {
  min-height: 40px;
  border: 1px solid rgba(214, 168, 79, 0.58);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.3), rgba(0, 240, 168, 0.12));
  color: #fff7db;
  font-weight: 900;
  cursor: pointer;
}

.world-cup-board {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.world-cup-board .sports-event-card {
  min-height: 198px;
  border-color: rgba(214, 168, 79, 0.3);
}

#world-cup-order-feed {
  grid-column: 1 / -1;
  margin-top: 0;
}

.sports-odds-head,
.sports-odds-toolbar,
.sports-odds-board,
.sports-order-feed {
  position: relative;
  z-index: 1;
}

.sports-odds-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.sports-odds-head h3 {
  margin: 10px 0 0;
  color: #f7fbff;
  font-size: 24px;
  line-height: 1.18;
}

.sports-source {
  display: grid;
  min-width: 210px;
  padding: 12px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.sports-source span,
.sports-source small,
.sports-ticket label {
  color: var(--muted);
  font-size: 11px;
}

.sports-source strong {
  margin: 5px 0;
  color: var(--gold);
  font-size: 18px;
  text-transform: uppercase;
}

.sports-odds-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.sports-filter,
.sports-ticket {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.sports-filter button,
.sports-ticket button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--silver);
  font-weight: 850;
  cursor: pointer;
}

.sports-filter button.active,
.sports-ticket button {
  border-color: rgba(214, 168, 79, 0.52);
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.22), rgba(77, 163, 255, 0.1));
  color: #fff7db;
}

.sports-ticket input {
  width: 112px;
  min-height: 38px;
  padding: 0 10px;
}

.sports-odds-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sports-event-card {
  position: relative;
  overflow: hidden;
  min-height: 344px;
  padding: 14px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 36%),
    rgba(3, 6, 10, 0.62);
}

.sports-event-card::after {
  position: absolute;
  right: -42px;
  bottom: -64px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 79, 0.18), transparent 62%);
  content: "";
}

.sports-event-meta,
.sports-match-row,
.sports-event-time,
.sports-outcomes {
  position: relative;
  z-index: 1;
}

.sports-event-meta,
.sports-event-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.sports-event-meta em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 999px;
  color: #d8e0ea;
  font-style: normal;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
}

.sports-event-meta em.soon {
  border-color: rgba(214, 168, 79, 0.38);
  color: var(--gold);
  background: rgba(214, 168, 79, 0.1);
}

.sports-event-meta em.locked {
  border-color: rgba(255, 59, 95, 0.3);
  color: var(--red);
  background: rgba(255, 59, 95, 0.08);
}

.sports-match-row {
  margin: 14px 0;
}

.sports-match-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 126px;
  padding: 12px 0 8px;
}

.sports-team-visual {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.sports-team-visual strong {
  width: 100%;
  min-height: 34px;
  color: #f7fbff;
  font-size: 13px;
  line-height: 1.22;
  text-align: center;
  overflow-wrap: anywhere;
}

.sports-team-crest {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(226, 235, 246, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.42), transparent 20%),
    conic-gradient(from 140deg, hsl(var(--team-hue) 84% 48%), rgba(214, 168, 79, 0.94), hsl(var(--team-accent) 78% 42%), hsl(var(--team-hue) 84% 48%));
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.16),
    0 0 28px rgba(214, 168, 79, 0.16);
  color: #fff8df;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  animation: sports-crest-float 3.8s ease-in-out infinite;
}

.sports-team-visual.away .sports-team-crest {
  animation-delay: -1.4s;
}

.sports-team-crest.flag {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 34%),
    rgba(4, 9, 17, 0.78);
  font-size: 31px;
}

.sports-team-crest::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: inherit;
  box-shadow: 0 0 26px rgba(0, 184, 255, 0.14);
  content: "";
  animation: sports-crest-ring 2.6s ease-in-out infinite;
}

.sports-match-graph {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 108px;
}

.sports-vs-chip {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(214, 168, 79, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.42), transparent 25%),
    linear-gradient(135deg, rgba(214, 168, 79, 0.94), rgba(8, 34, 56, 0.86));
  color: #10141a;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(214, 168, 79, 0.28);
}

.sports-wave-bars {
  position: absolute;
  inset: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sports-wave-bars i {
  width: 4px;
  height: var(--bar);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 240, 168, 0.95), rgba(214, 168, 79, 0.95));
  box-shadow: 0 0 12px rgba(0, 240, 168, 0.28);
  animation: sports-wave-pulse 1.55s ease-in-out infinite;
  animation-delay: var(--delay);
}

.sports-match-graph em {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 168, 0.62), rgba(214, 168, 79, 0.72), transparent);
  transform: translateY(-50%);
}

.sports-market-pulse {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid rgba(226, 235, 246, 0.13);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(0, 184, 255, 0.07), rgba(214, 168, 79, 0.07)),
    rgba(255, 255, 255, 0.035);
}

.sports-market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.sports-market-head strong {
  color: var(--gold);
  font-size: 11px;
}

.sports-probability-bars {
  display: grid;
  gap: 6px;
}

.sports-probability-bars span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  min-height: 14px;
}

.sports-probability-bars i {
  position: relative;
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 235, 246, 0.09);
}

.sports-probability-bars i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--prob);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.9), rgba(214, 168, 79, 0.95));
  box-shadow: 0 0 16px rgba(214, 168, 79, 0.2);
  content: "";
  animation: sports-probability-scan 2.4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.sports-probability-bars b,
.sports-probability-bars em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.sports-probability-bars em {
  color: #e8eef6;
}

.sports-match-row strong {
  display: block;
  color: #f7fbff;
  font-size: 18px;
  line-height: 1.25;
}

.sports-match-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sports-outcomes {
  display: grid;
  gap: 8px;
}

.sports-outcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--silver);
  cursor: pointer;
}

.sports-outcome.active {
  border-color: rgba(0, 240, 168, 0.48);
  background: linear-gradient(135deg, rgba(0, 240, 168, 0.13), rgba(214, 168, 79, 0.12));
  box-shadow: inset 0 0 22px rgba(0, 240, 168, 0.06);
}

.sports-outcome b {
  color: var(--gold);
  font-size: 17px;
}

@keyframes sports-crest-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.03);
  }
}

@keyframes sports-crest-ring {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

@keyframes sports-wave-pulse {
  0%,
  100% {
    transform: scaleY(0.66);
    opacity: 0.54;
  }
  50% {
    transform: scaleY(1.18);
    opacity: 1;
  }
}

@keyframes sports-probability-scan {
  0%,
  100% {
    filter: brightness(0.86);
    transform: scaleX(0.96);
    transform-origin: left center;
  }
  50% {
    filter: brightness(1.18);
    transform: scaleX(1);
  }
}

.prediction-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr) 320px;
  gap: 16px;
  margin-top: 16px;
}

.prediction-product {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 18px;
}

.prediction-product::after {
  position: absolute;
  inset: auto -20% -42% -20%;
  height: 58%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 224, 234, 0.16), transparent 58%);
  content: "";
}

.prediction-product::before,
.round-ladder::before,
.rules-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(216, 224, 234, 0.08), transparent 58%),
    radial-gradient(circle at 88% 10%, rgba(77, 163, 255, 0.13), transparent 28%);
  opacity: 0.72;
  content: "";
}

.product-top,
.product-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.product-top span,
.product-bottom span,
.battle-stats span,
.rule-line span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.product-top strong {
  font-size: 22px;
}

.prediction-signal-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.prediction-signal-row div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.prediction-signal-row span,
.odds-pool-head span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.prediction-signal-row strong {
  display: block;
  margin-top: 8px;
  color: var(--silver);
  font-size: 15px;
}

.trend-product canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 280px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 163, 255, 0.16), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    rgba(4, 6, 9, 0.72);
  background-size: auto, 26px 26px, 26px 26px, auto;
  image-rendering: auto;
}

.trend-product canvas {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 70px rgba(77, 163, 255, 0.08);
}

.prediction-product .dual-actions {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.odds-pool-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.odds-pool-head strong {
  color: var(--silver);
  font-size: 18px;
}

.battle-meter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 112px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 250px;
  margin: 30px 0 22px;
}

.battle-side,
.battle-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 174px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.battle-side strong {
  font-size: 44px;
}

.battle-side.bull {
  box-shadow: inset 0 0 44px rgba(0, 240, 168, 0.11);
}

.battle-side.bear {
  box-shadow: inset 0 0 44px rgba(255, 59, 95, 0.11);
}

.battle-core {
  min-height: 112px;
  border-radius: 50%;
  background:
    conic-gradient(from 80deg, rgba(0, 240, 168, 0.45), rgba(216, 224, 234, 0.36), rgba(255, 59, 95, 0.45), rgba(0, 240, 168, 0.45));
  color: #05070a;
  font-weight: 950;
  box-shadow: 0 0 46px rgba(216, 224, 234, 0.2);
}

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

.battle-core::after {
  position: absolute;
  inset: 16px;
  border-radius: inherit;
  background: rgba(5, 7, 10, 0.78);
  content: "";
}

.odds-pool-bars {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.odds-bar {
  display: grid;
  grid-template-columns: 82px 1fr 70px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.odds-bar b {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.86), rgba(77, 163, 255, 0.48));
  box-shadow: 0 0 18px rgba(0, 240, 168, 0.18);
}

.odds-bar.down b {
  background: linear-gradient(90deg, rgba(255, 59, 95, 0.78), rgba(214, 168, 79, 0.42));
  box-shadow: 0 0 18px rgba(255, 59, 95, 0.16);
}

.odds-bar strong {
  color: var(--silver);
  text-align: right;
  font-size: 12px;
}

.battle-stats {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.battle-stats div,
.rule-line,
.round-row {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.round-ladder,
.rules-panel {
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.round-ladder {
  grid-row: span 2;
}

#round-list {
  display: grid;
  gap: 9px;
}

.round-row {
  align-items: center;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
}

.round-row strong {
  color: var(--silver);
}

.round-row span:first-child {
  color: var(--steel);
  font-weight: 800;
}

.round-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.round-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
}

.round-row b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.round-row .up {
  color: var(--green);
}

.round-row .down {
  color: var(--red);
}

.rules-panel {
  grid-column: 1 / span 2;
  min-height: 220px;
}

.settlement-ledger {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.ledger-step {
  min-height: 104px;
  padding: 12px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.ledger-step b {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 16px rgba(216, 224, 234, 0.18);
}

.ledger-step.done b,
.ledger-step.live b {
  background: var(--green);
  box-shadow: 0 0 18px rgba(0, 240, 168, 0.46);
}

.ledger-step.live b {
  animation: ledger-pulse 2.4s ease-in-out infinite;
}

.ledger-step span,
.ledger-step strong {
  display: block;
}

.ledger-step span {
  color: var(--muted);
  font-size: 11px;
}

.ledger-step strong {
  margin-top: 7px;
  color: var(--silver);
  font-size: 13px;
}

.rules-panel .risk-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
}

.market-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

#view-markets .section-head {
  display: block;
  margin: 38px 0 18px;
}

#view-markets .section-head .eyebrow {
  margin-bottom: 16px;
}

#view-markets .section-head h2 {
  max-width: 760px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
}

.market-command-center {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  margin-top: 18px;
}

.market-overview-panel,
.market-heat-panel {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(77, 163, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(15, 20, 28, 0.92), rgba(4, 7, 11, 0.92));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-wave-canvas {
  display: block;
  image-rendering: auto;
}

.market-overview-panel .page-wave-canvas,
.web3-hero .page-wave-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.market-overview-panel::after,
.market-heat-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 0 38%, rgba(216, 224, 234, 0.12), transparent 58%);
  transform: translateX(-120%);
  animation: metal-sweep 7.2s ease-in-out infinite;
  content: "";
}

.market-overview-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-overview-head span,
.market-overview-grid span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-overview-head strong {
  color: var(--silver);
  font-size: 18px;
}

.market-overview-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 48px;
}

.market-overview-grid div {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  padding: 14px 48px 14px 14px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.market-overview-grid div::before,
.asset-row::before,
.chain-card::before,
.web3-module::before,
.affiliate-module::before {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 50%),
    rgba(77, 163, 255, 0.12);
  clip-path: polygon(20% 18%, 80% 18%, 80% 36%, 56% 36%, 56% 82%, 38% 82%, 38% 36%, 20% 36%);
  content: "";
}

.market-overview-grid div:nth-child(2)::before,
.chain-card:nth-child(2n)::before,
.web3-module:nth-child(2)::before,
.affiliate-module:nth-child(2)::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 50%),
    rgba(214, 168, 79, 0.14);
  clip-path: polygon(50% 10%, 86% 30%, 86% 70%, 50% 90%, 14% 70%, 14% 30%);
}

.market-overview-grid div:nth-child(3)::before,
.chain-card:nth-child(3n)::before,
.web3-module:nth-child(3)::before,
.affiliate-module:nth-child(3)::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 50%),
    rgba(0, 240, 168, 0.12);
  clip-path: polygon(14% 22%, 50% 8%, 86% 22%, 70% 82%, 30% 82%);
}

.market-overview-grid strong,
.market-overview-grid small {
  display: block;
}

.market-overview-grid strong {
  margin-top: 18px;
  color: #f7fbff;
  font-size: 25px;
}

.market-overview-grid small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.heat-matrix {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.heat-matrix i {
  aspect-ratio: 1;
  border: 1px solid rgba(226, 235, 246, 0.14);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.04);
  animation: matrix-flicker 2.8s ease-in-out infinite;
}

.heat-matrix i:nth-child(3n) {
  background-color: rgba(0, 240, 168, 0.12);
  animation-delay: 0.35s;
}

.heat-matrix i:nth-child(4n) {
  background-color: rgba(77, 163, 255, 0.12);
  animation-delay: 0.7s;
}

.heat-matrix i:nth-child(5n) {
  background-color: rgba(214, 168, 79, 0.14);
  animation-delay: 1.05s;
}

.market-filter-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.market-filter-rail button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 750;
}

.market-filter-rail button.active,
.market-filter-rail button:hover {
  border-color: rgba(226, 235, 246, 0.42);
  background: rgba(226, 235, 246, 0.12);
  color: var(--text);
}

.market-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 18px 62px 18px 18px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(23, 29, 37, 0.9), rgba(6, 9, 13, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.market-card::before {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(77, 163, 255, 0.18), rgba(214, 168, 79, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 20px rgba(77, 163, 255, 0.08);
  clip-path: polygon(18% 18%, 82% 18%, 82% 34%, 54% 34%, 54% 82%, 38% 82%, 38% 34%, 18% 34%);
  content: "";
}

.market-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 18%, rgba(77, 163, 255, 0.12), transparent 30%);
  content: "";
}

.market-card-top,
.market-card-meta,
.market-card-foot {
  position: relative;
  z-index: 1;
}

.market-card-top,
.market-card-meta,
.market-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.market-card-top {
  align-items: flex-start;
}

.market-card-top span,
.market-card-top small {
  display: block;
}

.market-card-top span {
  color: var(--text);
  font-weight: 900;
}

.market-card-top small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.market-card-top b {
  font-size: 11px;
  white-space: nowrap;
}

.market-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 28px 0 14px;
  color: #fff;
  font-size: 31px;
}

.market-card-meta small {
  color: var(--muted);
  font-size: 12px;
}

.market-heat-line {
  position: relative;
  z-index: 1;
  height: 8px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.market-card-spark {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  align-items: end;
  gap: 3px;
  height: 46px;
  margin: 12px 0 14px;
  padding: 6px 0;
  border-top: 1px solid rgba(226, 235, 246, 0.08);
  border-bottom: 1px solid rgba(226, 235, 246, 0.08);
}

.market-card-spark i {
  display: block;
  min-height: 6px;
  border-radius: 999px 999px 0 0;
  background: rgba(77, 163, 255, 0.34);
}

.market-card-spark i.up {
  background: linear-gradient(180deg, rgba(0, 240, 168, 0.72), rgba(0, 240, 168, 0.16));
}

.market-card-spark i.down {
  background: linear-gradient(180deg, rgba(255, 59, 95, 0.72), rgba(255, 59, 95, 0.16));
}

.market-heat-line i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.88), rgba(77, 163, 255, 0.46), rgba(214, 168, 79, 0.58));
  box-shadow: 0 0 18px rgba(0, 240, 168, 0.2);
}

.market-card-foot {
  align-items: center;
}

.market-card-foot span {
  font-size: 18px;
  font-weight: 900;
}

.market-card-foot em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.asset-layout,
.web3-grid,
.affiliate-layout {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.asset-layout {
  grid-template-columns: 420px 260px 1fr;
}

.asset-section-head {
  display: block;
}

.asset-section-head .eyebrow {
  margin-bottom: 16px;
}

.asset-section-head h2 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.asset-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.asset-signal-strip article {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 16px 58px 16px 16px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(77, 163, 255, 0.17), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(5, 8, 12, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.asset-signal-strip article::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 0 36%, rgba(216, 224, 234, 0.14), transparent 56%);
  transform: translateX(-120%);
  animation: metal-sweep 7s ease-in-out infinite;
  content: "";
}

.asset-signal-strip article:nth-child(2)::after {
  animation-delay: 0.5s;
}

.asset-signal-strip article:nth-child(3)::after {
  animation-delay: 1s;
}

.asset-signal-strip article:nth-child(4)::after {
  animation-delay: 1.5s;
}

.asset-signal-strip span,
.asset-signal-strip strong,
.asset-signal-strip small {
  position: relative;
  z-index: 1;
  display: block;
}

.asset-signal-strip span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asset-signal-strip strong {
  margin-top: 16px;
  color: #f7fbff;
  font-size: 22px;
}

.asset-signal-strip small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.asset-core {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.asset-core::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 163, 255, 0.14), transparent 44%),
    linear-gradient(120deg, transparent 0 42%, rgba(216, 224, 234, 0.12), transparent 58%);
  mix-blend-mode: screen;
  content: "";
}

.asset-core canvas,
.network-panel canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: auto;
}

.asset-total {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 36px;
  text-align: center;
}

.asset-total span,
.asset-total small {
  color: var(--muted);
}

.asset-total strong {
  margin: 12px 0;
  font-size: 38px;
}

.asset-actions {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

.asset-table {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.asset-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 16px 48px 16px 16px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.asset-row > span,
.asset-row > strong {
  position: relative;
  z-index: 1;
}

.asset-row::before {
  top: 16px;
  right: 16px;
}

.asset-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.asset-row i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.86), rgba(77, 163, 255, 0.5), rgba(214, 168, 79, 0.42));
  box-shadow: 0 0 18px rgba(0, 240, 168, 0.18);
}

.asset-ops-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
  margin-top: 16px;
}

.settlement-vault,
.chain-rail-panel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 16px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(77, 163, 255, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(5, 8, 12, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vault-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.vault-steps div,
.chain-rail-list div,
.asset-ledger-list div {
  min-height: 128px;
  padding: 14px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.vault-steps b {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--steel);
}

.vault-steps .done b,
.vault-steps .live b {
  background: var(--green);
  box-shadow: 0 0 18px rgba(0, 240, 168, 0.46);
}

.vault-steps .live b {
  animation: ledger-pulse 2.4s ease-in-out infinite;
}

.vault-steps span,
.vault-steps strong,
.chain-rail-list span,
.chain-rail-list strong,
.chain-rail-list em,
.asset-ledger-list span,
.asset-ledger-list strong,
.asset-ledger-list em {
  display: block;
}

.vault-steps span,
.chain-rail-list span,
.asset-ledger-list span {
  color: var(--muted);
  font-size: 12px;
}

.vault-steps strong,
.chain-rail-list strong,
.asset-ledger-list strong {
  margin-top: 8px;
  color: var(--silver);
  font-size: 15px;
}

.chain-rail-list,
.asset-ledger-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.chain-rail-list em,
.asset-ledger-list em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.web3-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.web3-command-strip,
.affiliate-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.web3-command-strip article,
.affiliate-signal-strip article {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 16px 58px 16px 16px;
  border: 1px solid rgba(226, 235, 246, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(77, 163, 255, 0.17), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(5, 8, 12, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.web3-command-strip article::after,
.affiliate-signal-strip article::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 0 36%, rgba(216, 224, 234, 0.14), transparent 56%);
  transform: translateX(-120%);
  animation: metal-sweep 7s ease-in-out infinite;
  content: "";
}

.web3-command-strip article:nth-child(2)::after,
.affiliate-signal-strip article:nth-child(2)::after {
  animation-delay: 0.45s;
}

.web3-command-strip article:nth-child(3)::after,
.affiliate-signal-strip article:nth-child(3)::after {
  animation-delay: 0.9s;
}

.web3-command-strip article:nth-child(4)::after,
.affiliate-signal-strip article:nth-child(4)::after {
  animation-delay: 1.35s;
}

.web3-command-strip span,
.web3-command-strip strong,
.web3-command-strip small,
.affiliate-signal-strip span,
.affiliate-signal-strip strong,
.affiliate-signal-strip small {
  position: relative;
  z-index: 1;
  display: block;
}

.web3-command-strip span,
.affiliate-signal-strip span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.web3-command-strip strong,
.affiliate-signal-strip strong {
  margin-top: 16px;
  color: #f7fbff;
  font-size: 22px;
}

.web3-command-strip small,
.affiliate-signal-strip small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.web3-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 48px;
}

.web3-hero::after {
  position: absolute;
  inset: auto -10% -38% auto;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, rgba(0, 240, 168, 0.72), rgba(216, 224, 234, 0.1), rgba(77, 163, 255, 0.72), rgba(0, 240, 168, 0.72));
  opacity: 0.42;
  filter: blur(1px);
  animation: spin 12s linear infinite;
  content: "";
}

.web3-hero h2 {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 22px 0 34px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
}

.web3-hero .metal-button,
.web3-hero .eyebrow {
  position: relative;
  z-index: 2;
}

.web3-flow-line {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 42px;
}

.web3-flow-line span {
  min-height: 44px;
  padding: 12px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.web3-flow-line .active {
  color: var(--silver);
  border-color: rgba(0, 240, 168, 0.3);
  box-shadow: inset 0 0 24px rgba(0, 240, 168, 0.08);
}

.chain-stack {
  display: grid;
  gap: 12px;
}

.chain-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 106px;
  padding: 18px 54px 18px 18px;
}

.chain-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.chain-card span strong {
  display: block;
}

.chain-card em {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.chain-card i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.86), rgba(77, 163, 255, 0.5), rgba(214, 168, 79, 0.42));
  box-shadow: 0 0 18px rgba(0, 240, 168, 0.18);
}

.web3-module-grid,
.affiliate-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.web3-module,
.affiliate-module {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 16px 50px 16px 16px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(77, 163, 255, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(5, 8, 12, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scope-bars,
.commission-ladder,
.risk-review-list,
.record-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.scope-bars div,
.commission-ladder div {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.scope-bars b,
.commission-ladder b {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 240, 168, 0.86), rgba(77, 163, 255, 0.5), rgba(214, 168, 79, 0.42));
}

.scope-bars strong,
.commission-ladder strong {
  color: var(--silver);
  font-size: 12px;
}

.bridge-path {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 34px;
}

.bridge-path span,
.growth-channel-grid span {
  min-height: 64px;
  padding: 14px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--silver);
  font-size: 12px;
  font-weight: 800;
}

.bridge-path i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 18px rgba(0, 240, 168, 0.34);
}

.record-list div,
.risk-review-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.record-list span,
.risk-review-list span {
  color: var(--muted);
  font-size: 12px;
}

.record-list strong,
.risk-review-list strong {
  color: var(--silver);
}

.affiliate-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.network-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.network-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 7, 10, 0.72);
}

.network-label span,
.commission-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.network-label strong {
  display: block;
  margin-top: 6px;
  font-size: 34px;
}

.commission-panel {
  padding: 44px;
}

.commission-panel h2 {
  margin: 24px 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
}

.commission-grid {
  display: grid;
  gap: 12px;
}

.commission-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.commission-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.growth-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.execution-log,
.prediction-order-feed,
.wallet-state-card {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(226, 235, 246, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 30%),
    rgba(5, 8, 12, 0.68);
}

.execution-log span,
.execution-log small,
.prediction-order-feed span,
.prediction-order-feed small,
.wallet-state-card span,
.wallet-state-card small {
  color: var(--muted);
  font-size: 12px;
}

.execution-log strong,
.prediction-order-feed strong,
.wallet-state-card strong {
  color: var(--silver);
  font-size: 14px;
}

.execution-log.live,
.prediction-order-feed.live,
.wallet-state-card.live {
  border-color: rgba(0, 240, 168, 0.34);
  box-shadow: inset 0 0 24px rgba(0, 240, 168, 0.07);
}

.execution-log.pending,
.prediction-order-feed.pending {
  border-color: rgba(214, 168, 79, 0.42);
  box-shadow: inset 0 0 24px rgba(214, 168, 79, 0.08);
}

.execution-log.error,
.prediction-order-feed.error {
  border-color: rgba(255, 59, 95, 0.42);
  box-shadow: inset 0 0 24px rgba(255, 59, 95, 0.08);
}

.wallet-state-card {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin: 16px 0 0;
}

.admin-view.active {
  display: block;
}

.admin-auth {
  display: none;
  margin: 36px 0 18px;
}

body:not(.admin-authorized) #view-admin.active .admin-auth {
  display: grid;
}

.admin-auth-panel {
  display: grid;
  gap: 14px;
  max-width: 520px;
  padding: 22px;
  border: 1px solid rgba(226, 235, 246, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.96), rgba(5, 8, 12, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-auth-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.admin-auth-panel small {
  color: var(--muted);
}

.admin-auth-panel small.warn {
  color: var(--danger);
}

body:not(.admin-authorized) #view-admin.active .admin-section-head,
body:not(.admin-authorized) #view-admin.active .admin-kpi-grid,
body:not(.admin-authorized) #view-admin.active .admin-grid {
  pointer-events: none;
  opacity: 0.22;
  filter: blur(1px);
  user-select: none;
}

.admin-pulse-panel {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  margin: 0 0 16px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(77, 163, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(15, 20, 28, 0.92), rgba(4, 7, 11, 0.92));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-pulse-panel .page-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.admin-pulse-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: inherit;
  padding: 18px;
}

.admin-pulse-copy span {
  color: var(--steel);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.admin-pulse-copy strong {
  margin-top: 8px;
  color: var(--silver);
  font-size: 22px;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin: 36px 0 18px;
}

.admin-section-head > div {
  min-width: 0;
}

.admin-section-head h2 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

body:not(.admin-authorized) #admin-lock {
  display: none;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.admin-kpi-grid article,
.admin-module {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(77, 163, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(5, 8, 12, 0.9));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-kpi-grid article {
  min-height: 126px;
  padding: 16px 58px 16px 16px;
}

.admin-kpi-grid span,
.admin-kpi-grid small,
.integration-list span,
.admin-order-list span,
.risk-queue span {
  color: var(--muted);
  font-size: 12px;
}

.admin-kpi-grid strong {
  display: block;
  margin: 12px 0 6px;
  color: var(--silver);
  font-size: clamp(22px, 2vw, 30px);
  font-variant-numeric: tabular-nums;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 16px;
}

.admin-module {
  min-height: 420px;
  padding: 16px;
}

.integration-list,
.admin-order-list,
.risk-queue {
  display: grid;
  gap: 10px;
}

.integration-list div,
.admin-order-list div,
.risk-queue div {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.integration-list div:hover,
.admin-order-list div:hover,
.risk-queue div:hover,
.asset-row:hover,
.chain-card:hover,
.market-card:hover {
  border-color: rgba(226, 235, 246, 0.34);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.integration-list strong,
.admin-order-list strong,
.risk-queue strong {
  align-self: start;
  padding: 4px 8px;
  border: 1px solid rgba(226, 235, 246, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--silver);
  font-size: 13px;
}

.admin-order-list strong.up,
.risk-queue strong.up,
.integration-list strong.up {
  border-color: rgba(0, 240, 168, 0.28);
  color: var(--green);
  background: rgba(0, 240, 168, 0.08);
}

.admin-order-list strong.down,
.risk-queue strong.down,
.integration-list strong.down {
  border-color: rgba(255, 59, 95, 0.28);
  color: var(--red);
  background: rgba(255, 59, 95, 0.08);
}

.integration-list small,
.admin-order-list small,
.risk-queue small {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 11px;
}

.admin-action-grid {
  display: grid;
  gap: 10px;
}

.admin-action-grid button {
  width: 100%;
  min-height: 46px;
}

.admin-sports-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.admin-sports-summary article {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(226, 235, 246, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-sports-summary span,
.admin-sports-summary small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.admin-sports-summary strong {
  display: block;
  margin: 4px 0;
  color: #f7fbff;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.sport-admin-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.sport-admin-actions button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(214, 168, 79, 0.36);
  border-radius: 999px;
  background: rgba(214, 168, 79, 0.1);
  color: var(--gold);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.content-editor {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 235, 246, 0.14);
}

.content-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
}

.content-editor textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(226, 235, 246, 0.22);
  border-radius: 6px;
  background: rgba(5, 8, 12, 0.82);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
}

.content-editor textarea:focus,
.content-editor select:focus {
  outline: 1px solid rgba(77, 163, 255, 0.58);
  border-color: rgba(77, 163, 255, 0.58);
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
}

@media (max-width: 1280px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-grid,
  .terminal-view.active,
  .market-command-center,
  .asset-ops-grid,
  .web3-module-grid,
  .affiliate-ops-grid,
  .asset-layout,
  .web3-grid,
  .affiliate-layout,
  .prediction-hero,
  .prediction-grid,
  .admin-kpi-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .quick-panel,
  .market-rail,
  .trade-ticket {
    align-self: auto;
  }

  .hero-grid {
    gap: 20px;
    min-height: 0;
    padding-top: 0;
  }

  .hero-copy {
    min-height: auto;
    padding: 44px 12px;
  }

  .quick-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
  }

  .auth-sheet {
    inset: 76px 12px auto 12px;
    width: auto;
  }

  .hero-grid .quick-panel {
    position: relative;
    left: auto !important;
    top: auto !important;
    right: auto;
    bottom: auto;
    width: auto;
  }

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

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

  .terminal-signal-strip,
  .prediction-control-strip,
  .settlement-ledger,
  .asset-signal-strip,
  .web3-command-strip,
  .affiliate-signal-strip,
  .vault-steps,
  .chain-rail-list,
  .asset-ledger-list,
  .settlement-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .sports-odds-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sports-match-visual-row {
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  }

  .world-cup-spotlight,
  .world-cup-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rules-panel,
  .round-ladder {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 20px, 1840px);
  }

  .topbar {
    top: 8px;
    gap: 12px;
    padding: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .top-actions .ghost-button,
  .top-actions .metal-button {
    display: none;
  }

  .top-actions {
    gap: 6px;
  }

  select {
    max-width: 108px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    padding: 28px 20px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.24;
  }

  .orbital-stage {
    min-height: 420px;
  }

  .core-readout {
    left: 16px;
    bottom: 16px;
    width: 150px;
  }

  .core-readout strong {
    font-size: 34px;
  }

  .feature-grid,
  .live-systems,
  .terminal-bottom,
  .market-board,
  .market-overview-grid,
  .admin-sports-summary,
  .admin-kpi-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .battle-meter {
    grid-template-columns: 1fr;
  }

  .battle-core {
    min-height: 84px;
    border-radius: var(--radius);
  }

  .chart-toolbar {
    grid-template-columns: 1fr;
  }

  .terminal-signal-strip,
  .prediction-control-strip,
  .settlement-ledger,
  .asset-signal-strip,
  .web3-command-strip,
  .affiliate-signal-strip,
  .web3-module-grid,
  .affiliate-ops-grid,
  .vault-steps,
  .chain-rail-list,
  .asset-ledger-list,
  .settlement-timeline {
    grid-template-columns: 1fr;
  }

  .sports-odds-head,
  .sports-odds-toolbar {
    display: grid;
  }

  .sports-odds-board {
    grid-template-columns: 1fr;
  }

  .sports-event-card {
    min-height: 326px;
  }

  .sports-match-visual-row {
    grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
    gap: 8px;
    min-height: 112px;
  }

  .sports-team-crest {
    width: 54px;
    height: 54px;
    font-size: 14px;
  }

  .sports-team-crest.flag {
    font-size: 27px;
  }

  .sports-team-visual strong {
    font-size: 12px;
  }

  .sports-vs-chip {
    width: 38px;
    height: 38px;
  }

  .sports-market-pulse {
    padding: 8px;
  }

  .sports-event-meta {
    flex-wrap: wrap;
  }

  .world-cup-spotlight,
  .world-cup-board,
  .world-cup-stats {
    grid-template-columns: 1fr;
  }

  .web3-flow-line,
  .bridge-path,
  .growth-channel-grid,
  .content-editor-row {
    grid-template-columns: 1fr;
  }

  .metal-wave-panel {
    min-height: 340px;
  }

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