:root {
  --bg: #030303;
  --panel: #0a0a08;
  --panel-2: #10100c;
  --line: #2c2514;
  --line-strong: #5b4515;
  --gold: #ffd54a;
  --gold-soft: #c99e31;
  --text: #fffaf0;
  --muted: #aaa399;
  --faint: #6f695f;
  --green: #63df73;
  --red: #ff5a48;
  --blue: #1264ff;
  --blue-2: #80b5ff;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: radial-gradient(circle at 50% -160px, rgba(255, 213, 74, .06), transparent 420px), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.35;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skeleton-stack,
.skeleton-list,
.skeleton-window {
  display: grid;
  gap: 12px;
}

.skeleton-line {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,213,74,.13), rgba(255,255,255,.045));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.45s linear infinite;
}

.skeleton-line.short { width: 24%; }
.skeleton-line.medium { width: 58%; }
.skeleton-line.wide { width: 88%; }
.skeleton-line.title { width: 72%; height: 25px; }

.skeleton-window {
  height: 470px;
  padding: 18px;
}

@keyframes skeleton-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

.site-header {
  height: 68px;
  display: grid;
  grid-template-columns: 390px minmax(420px, 640px) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid #17140c;
  background: rgba(4, 4, 4, .98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
}

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

.brand img {
  width: 92px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffd517;
  box-shadow: 0 0 0 1px rgba(255, 213, 74, .38), 0 0 0 4px rgba(255, 213, 74, .025), 0 0 26px rgba(255, 213, 74, .11);
}

.brand strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.brand span {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.015em;
}

.brand b {
  color: var(--gold);
  font-weight: 800;
}

.search-shell {
  position: relative;
  height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid #39352e;
  border-radius: 7px;
  background: #0a0a09;
}

.search-shell > span {
  width: 46px;
  color: #fff;
  text-align: center;
  font-size: 24px;
  line-height: 1;
  transform: rotate(-18deg);
}

.search-shell input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 16px 0 0;
  font-size: 13px;
}

.search-shell input::placeholder { color: #9b958b; }
.search-shell:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255, 213, 74, .09); }

.search-results {
  position: absolute;
  z-index: 30;
  top: 49px;
  left: 0;
  right: 0;
  max-height: 330px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #060605;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .72);
}

.search-results a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid #1d1a11;
}

.search-results a:last-child { border-bottom: 0; }
.search-results b { font-size: 12px; font-weight: 650; }
.search-results span { color: var(--gold); font-size: 12px; font-weight: 750; }

.top-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
}

.top-nav a {
  position: relative;
  padding: 24px 0 20px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
}

.top-nav a.active,
.top-nav a:hover { color: var(--gold); }

.top-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 2px;
  background: var(--gold);
}

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

.socials a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #3a2f16;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 30%, rgba(255,255,255,.06), #090908 62%);
  color: #f5efe4;
  font-size: 14px;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 7px 18px rgba(0,0,0,.34);
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}

.socials svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.socials a[aria-label="LinkedIn"] {
  color: #f7fbff;
  background: radial-gradient(circle at 42% 30%, rgba(39, 116, 255, .24), #080909 66%);
}

.socials a[aria-label="LinkedIn"] svg {
  width: 17px;
  height: 17px;
}

.socials a[aria-label="Discord"] {
  border-color: rgba(88, 101, 242, .48);
  color: #7e8cff;
  background: radial-gradient(circle at 42% 30%, rgba(88, 101, 242, .22), #080909 66%);
  text-shadow: 0 0 12px rgba(88, 101, 242, .55);
}

.socials a[aria-label="Discord"] svg {
  width: 20px;
  height: 20px;
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.market-ticker {
  height: 48px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid #17140c;
  background: #040404;
  overflow: hidden;
}

.ticker-status {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: #8f8879;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
}

.ticker-status b {
  color: var(--gold);
  font-weight: 850;
}

.ticker-status i {
  width: 1px;
  height: 24px;
  background: #2c2514;
}

.ticker-track {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 13px;
}

.ticker-item img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.ticker-item b {
  font-weight: 700;
}

.ticker-item .ticker-prob {
  color: #a9a299;
}

.ticker-item .ticker-move.up { color: var(--green); }
.ticker-item .ticker-move.down { color: var(--red); }

.ticker-sep {
  width: 1px;
  height: 24px;
  background: #2c2514;
}

.status-banner {
  max-width: 1920px;
  margin: 8px auto 0;
  padding: 8px 24px;
  border-top: 1px solid rgba(255, 213, 74, .2);
  border-bottom: 1px solid rgba(255, 213, 74, .15);
  background: linear-gradient(90deg, rgba(255, 213, 74, .12), rgba(255, 213, 74, .035));
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 800;
}

.dashboard {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 9px 24px 0;
}

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

.panel {
  min-width: 0;
  height: 288px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(15, 15, 12, .98), rgba(8, 8, 7, .98));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 4px 24px rgba(0,0,0,.3);
}

.lead-panel {
  position: relative;
  padding: 11px 20px 13px;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
}

.panel-title {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 800;
}

.panel-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.panel-title i {
  color: var(--gold);
  font-style: normal;
}

.panel-title a {
  color: var(--gold-soft);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 800;
}

.lead-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 850;
}

.lead-kicker b { font-weight: 850; }

.lead-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-top: 8px;
  padding: 0 9px;
  border: 1px solid #70551a;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 213, 74, .04);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 750;
}

.lead-title {
  max-width: 640px;
  margin: 14px 0 7px;
  color: #fff;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 790;
}

.lead-subtitle {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-size: 13.5px;
}

.lead-context {
  max-width: 820px;
  margin: 6px 0 0;
  color: #cfc5b1;
  font-size: 12px;
  line-height: 1.32;
}

.lead-divider {
  height: 1px;
  margin: 12px 10px 13px 0;
  background: #2a2518;
}

.lead-bottom {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 146px;
  gap: 12px;
  align-items: end;
}

.lead-metrics {
  display: grid;
  grid-template-columns: .92fr .86fr .72fr;
  gap: 0;
  max-width: none;
}

.lead-metric {
  min-width: 0;
  padding-right: 9px;
  margin-right: 9px;
  border-right: 1px solid #282316;
}

.lead-metric:last-child { border-right: 0; }
.lead-value {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.lead-value.primary {
  color: var(--gold);
  font-size: 35px;
  line-height: .94;
}
.lead-value.up { color: var(--green); }
.lead-value.down { color: var(--red); }
.lead-label {
  display: block;
  margin-top: 4px;
  color: #b2ab9f;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 10px;
}
.poly-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(135, 184, 255, .75);
  border-radius: 11px;
  background: radial-gradient(circle at 38% 28%, #5fb0ff, #126dff 42%, #0644c8 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 0 20px rgba(18, 100, 255, .34), 0 9px 19px rgba(0, 0, 0, .38);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.poly-btn:hover {
  transform: scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 26px rgba(18, 100, 255, .45), 0 12px 24px rgba(0, 0, 0, .45);
}

.poly-btn img {
  width: 33px;
  height: 33px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(255,255,255,.25));
}

.lead-action {
  height: 42px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(73, 120, 200, .42);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(14, 22, 37, .96), rgba(9, 10, 10, .98));
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lead-action:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(0,0,0,.3);
}

.lead-action .poly-btn {
  flex: 0 0 auto;
}

.lead-poly {
  position: static;
}

.sports-panel,
.radar-panel,
.asset-panel {
  padding: 11px 16px 11px;
}

.radar-list {
  height: calc(100% - 30px);
  margin-top: 6px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 7px;
}

.radar-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #2c2514;
  border-radius: 7px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 213, 74, .055), transparent 36%),
    linear-gradient(90deg, rgba(255, 213, 74, .028), rgba(255, 213, 74, .006));
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.radar-row:hover {
  border-color: rgba(255, 213, 74, .42);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 213, 74, .09), transparent 38%),
    linear-gradient(90deg, rgba(255, 213, 74, .045), rgba(255, 213, 74, .01));
  transform: translateY(-1px);
}

.radar-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.radar-copy b {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.15;
  font-weight: 880;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.radar-copy em {
  overflow: hidden;
  color: #c7bfb1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
}

.radar-signal {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 0;
}

.radar-signal b {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.radar-signal em {
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.radar-signal .up { color: var(--green); }
.radar-signal .down { color: var(--red); }

.sports-list {
  display: grid;
  margin-top: 6px;
  border: 1px solid #2c2514;
  border-radius: 7px;
  overflow: hidden;
  height: calc(100% - 30px);
  grid-template-rows: repeat(3, 1fr);
}

.sports-table-head,
.sports-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 9px;
  gap: 7px;
  align-content: center;
  align-items: stretch;
}

.sports-table-head {
  height: 28px;
  padding: 0 12px;
  border-bottom: 1px solid #2c2514;
  color: #a9a196;
  text-transform: uppercase;
  font-size: 10px;
}

.sports-row {
  height: auto;
  min-height: 66px;
  padding: 10px 12px 9px;
  border-bottom: 1px solid #211d12;
  background: radial-gradient(circle at 14% 18%, rgba(255,213,74,.045), transparent 36%), linear-gradient(90deg, rgba(255,213,74,.018), transparent);
  transition: background .2s ease, border-color .2s ease;
}

.sports-row:hover {
  background: linear-gradient(90deg, rgba(255,213,74,.055), rgba(255,213,74,.01));
}

.sports-row:last-child { border-bottom: 0; }

.sports-competition {
  grid-row: 1 / 3;
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.sports-ball {
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34);
  background: radial-gradient(circle at 35% 30%, #fff, #d9d9d9 35%, #0a0a0a 36%, #151515 100%);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 0 12px rgba(255,255,255,.08), 0 0 0 2px rgba(255,213,74,.08);
}

.sports-competition b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sports-competition em {
  grid-column: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c8b98d;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 650;
}

.sports-match-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  font-size: 15.5px;
  line-height: 1.08;
  font-weight: 860;
}

.sports-match-name em {
  color: #c7bfb1;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
}

.sports-odds-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.sports-odds-pills i {
  min-width: 0;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.sports-odds-pills .home {
  color: var(--home-color);
  border-color: color-mix(in srgb, var(--home-color) 34%, transparent);
}

.sports-odds-pills .draw {
  color: #fff;
}

.sports-odds-pills .away {
  color: var(--away-color);
  border-color: color-mix(in srgb, var(--away-color) 34%, transparent);
}

.sports-bar {
  grid-column: 1;
  grid-row: 3;
  height: 9px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1b1810;
  border-radius: 999px;
}

.sports-bar i,
.sports-bar em,
.sports-bar b {
  display: block;
  height: 100%;
}

.sports-bar i { width: var(--home); background: var(--home-color); }
.sports-bar em { width: var(--draw); background: #f8f8f0; }
.sports-bar b { width: var(--away); background: var(--away-color); }

.asset-scroll {
  position: relative;
  height: 228px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid #2c2514;
  border-radius: 7px;
}

.asset-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: linear-gradient(transparent, #0a0a08);
  pointer-events: none;
}

.asset-track {
  display: grid;
  gap: 0;
}

.asset-body {
  height: 202px;
  overflow: hidden;
}

.asset-rows {
  display: grid;
}

.asset-rows.is-scrolling {
  animation: asset-scroll 34s linear infinite;
  animation-delay: 1.5s;
}

.asset-scroll:hover .asset-rows { animation-play-state: paused; }

@keyframes asset-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.asset-row {
  height: 50px;
  display: grid;
  grid-template-columns: 1.05fr 1.04fr .95fr;
  gap: 11px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #211d12;
  transition: background .2s ease, border-color .2s ease;
}

.asset-row:hover {
  background: rgba(255, 213, 74, .035);
}

.asset-head,
.asset-row {
  min-width: 0;
}

.asset-head {
  height: 26px;
  display: grid;
  grid-template-columns: 1.05fr 1.04fr .95fr;
  gap: 11px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #2c2514;
  color: #a9a196;
  text-transform: uppercase;
  font-size: 10px;
}

.asset-identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.asset-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 213, 74, .46);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(255, 213, 74, .18), rgba(0, 0, 0, .26) 70%);
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 0 18px rgba(255,213,74,.08);
}

.asset-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
  filter: drop-shadow(0 0 10px rgba(255, 213, 74, .18));
}

.asset-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.asset-copy b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.asset-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
}

.asset-range-wrap {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.asset-range {
  color: var(--gold);
  text-align: left;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 900;
}

.asset-date {
  color: #c1b8aa;
  font-size: 10px;
}

.asset-signal {
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto minmax(46px, 1fr);
  gap: 6px;
  justify-content: stretch;
  align-items: center;
}

.asset-signal b {
  font-size: 13px;
  font-weight: 900;
}

.asset-signal em {
  text-transform: uppercase;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .04em;
}

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

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

.sparkline {
  width: 100%;
  height: 20px;
  opacity: .95;
}

.sparkline polyline {
  filter: drop-shadow(0 0 5px currentColor);
}

.category-filter {
  display: grid;
  grid-template-columns: 1.05fr repeat(7, 1fr) .95fr;
  gap: 7px;
  margin-bottom: 8px;
}

.filter-btn {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #3a3017;
  border-radius: 999px;
  background: #090908;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11px;
  font-weight: 800;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.filter-btn span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 0 7px rgba(255,213,74,.18));
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255,213,74,.04);
}

.filter-btn:hover {
  transform: translateY(-1px);
}

.filter-btn.is-reset {
  color: #9f9788;
  border-color: #2c281d;
  background: rgba(255,255,255,.012);
}

.filter-btn.is-reset span {
  color: #b7ab8d;
  opacity: .8;
}

.window-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.window-column {
  min-width: 0;
  height: 536px;
  display: grid;
  grid-template-rows: 56px 1fr;
  overflow: hidden;
  border: 1px solid #342a14;
  border-radius: 7px;
  background: linear-gradient(180deg, #0c0c09, #080807);
}

.window-head {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 11px;
  border-bottom: 1px solid #292313;
}

.window-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 1px;
  min-width: 0;
}

.window-label b {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 29px;
  line-height: 1;
  font-weight: 900;
}

.window-label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
}

.window-label em {
  grid-column: 2;
  color: #b6aea2;
  text-transform: uppercase;
  font-style: normal;
  font-size: 10px;
}

.view-all {
  flex: 0 0 auto;
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #463711;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,213,74,.045), rgba(255,213,74,.01));
  color: var(--gold);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .055em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018);
}

.card-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 9px;
  min-height: 0;
  padding: 7px 8px 9px;
}

@media (min-width: 1400px) and (min-height: 1000px) {
  .window-column {
    height: 570px;
  }
}

@media (min-width: 1400px) and (max-height: 960px) {
  .site-header {
    height: 58px;
    padding: 0 24px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-word {
    font-size: 31px;
  }

  .market-ticker {
    height: 42px;
  }

  .dashboard {
    padding-top: 7px;
  }

  .top-grid {
    margin-bottom: 9px;
  }

  .panel {
    height: 250px;
  }

  .panel-head {
    height: 36px;
  }

  .lead-title {
    font-size: 23px;
    line-height: 1.08;
  }

  .lead-context {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.18;
  }

  .lead-metrics {
    margin-top: 0;
    padding-top: 0;
  }

  .lead-divider {
    margin-top: 9px;
    margin-bottom: 9px;
  }

  .lead-value.primary {
    font-size: 34px;
  }

  .sports-list {
    margin-top: 4px;
  }

  .radar-list {
    margin-top: 4px;
    gap: 6px;
  }

  .radar-row {
    grid-template-columns: minmax(0, 1fr) 72px;
    padding: 10px;
  }

  .radar-copy b {
    font-size: 12.5px;
  }

  .radar-signal b {
    font-size: 20px;
  }

  .sports-table-head {
    height: 26px;
  }

  .sports-row {
    min-height: 62px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .asset-body {
    height: 168px;
  }

  .asset-head {
    height: 22px;
  }

  .asset-row {
    height: 41px;
  }

  .asset-icon {
    width: 34px;
    height: 34px;
  }

  .asset-identity {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .window-column {
    height: 444px;
    grid-template-rows: 50px 1fr;
  }

  .window-head {
    height: 50px;
  }

  .window-label b {
    font-size: 27px;
  }

  .card-list {
    gap: 6px;
    padding-top: 4px;
    padding-bottom: 6px;
  }

  .market-card {
    gap: 4px 9px;
    padding: 9px 62px 8px 12px;
  }

  .card-title {
    font-size: 12px;
    line-height: 1.13;
  }

  .card-prob {
    font-size: 21px;
  }

  .card-meta {
    padding-right: 48px;
  }

  .poly-btn {
    width: 39px;
    height: 39px;
  }

  .poly-btn img {
    width: 31px;
    height: 31px;
  }

  .site-footer {
    height: 48px;
    margin-top: 10px;
    margin-bottom: 8px;
  }
}

.market-card {
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px 10px;
  padding: 10px 66px 9px 13px;
  border: 1px solid #302714;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.004));
  opacity: 1;
  transition: opacity .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.market-card:hover {
  border-color: rgba(255, 213, 74, .45);
  background: rgba(255, 213, 74, .032);
}

.market-card.is-filtered-out {
  opacity: 0;
}

.card-top {
  grid-column: 1 / -1;
  display: block;
}

.card-title {
  min-height: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  line-height: 1.18;
  font-weight: 780;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  display: flex;
  gap: 7px;
  margin-top: 4px;
  color: #c3b9a7;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 10px;
}

.card-metrics {
  grid-column: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.card-prob {
  color: #fff;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}

.card-change {
  font-size: 12px;
  font-weight: 850;
}

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

.card-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding-right: 52px;
  color: #d9d0bd;
  font-size: 11px;
  line-height: 1.15;
}

.card-meta span:first-child {
  color: #fff;
  font-weight: 760;
}

.card-meta span:last-child {
  color: #a99f90;
  text-align: left;
}

.card-poly {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.card-poly.poly-btn {
  width: 39px;
  height: 39px;
  border-color: rgba(135, 184, 255, .6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 14px rgba(18, 100, 255, .24), 0 7px 14px rgba(0, 0, 0, .34);
}

.card-poly.poly-btn:hover {
  transform: translateY(-50%) scale(1.02);
}

.card-poly.poly-btn img {
  width: 31px;
  height: 31px;
}

.column-foot {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid #282313;
  color: #b8b1a8;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
}

.column-foot a {
  color: var(--gold);
  font-weight: 850;
}

.site-footer {
  max-width: 1920px;
  height: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 4px auto 4px;
  padding: 0 18px;
  border: 1px solid #28251e;
  border-radius: 7px;
  background: #070707;
  color: var(--muted);
}

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

.footer-brand img {
  width: 58px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
  background: #ffd517;
}

.footer-brand strong {
  color: #fff;
  font-size: 19px;
  letter-spacing: 0;
}

.footer-brand span,
.footer-status {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 760;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  text-transform: uppercase;
  font-size: 10px;
}

.footer-status {
  justify-self: end;
  color: #fff;
}

.live-dot {
  color: var(--green);
  margin-right: 6px;
  text-shadow: 0 0 10px rgba(99, 223, 115, .45);
}

/* === CONTENT PAGES (About, API) === */
.content-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 22px 34px;
  display: grid;
  gap: 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.content-panel {
  height: auto;
  min-height: 0;
  padding: 22px;
}

.content-panel h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(31px, 3.3vw, 46px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 850;
}

.content-panel h2 {
  margin: 22px 0 8px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.content-panel p,
.content-panel li {
  color: #d8d2c6;
  font-size: 15px;
  line-height: 1.62;
}

.content-panel a {
  color: var(--gold);
}

.back-link {
  width: max-content;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
}

.stat-stack,
.endpoint-list {
  display: grid;
  gap: 10px;
}

.stat-line,
.endpoint-list a {
  border: 1px solid #2d2614;
  border-radius: 8px;
  padding: 14px;
  background: #0b0b09;
}

.stat-line span {
  display: block;
  color: #9d968b;
  font-size: 11px;
  text-transform: uppercase;
}

.stat-line b {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 17px;
}

.endpoint-list a {
  display: block;
  color: #f4e7b7;
}

.roadmap {
  margin-top: 10px;
  padding-left: 18px;
}

.developer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.developer-links a {
  border: 1px solid #332a15;
  border-radius: 999px;
  padding: 7px 11px;
  background: #0b0b09;
}

@media (max-width: 1250px) {
  body, .site-footer { min-width: 0; }
  .site-header {
    height: auto;
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }
  .search-shell {
    grid-column: 1 / -1;
    order: 3;
  }
  .top-nav { justify-self: start; }
  .socials { justify-self: end; }
  .dashboard { padding: 10px 14px 0; }
  .top-grid { grid-template-columns: 1fr; }
  .panel { height: auto; min-height: 220px; }
  .window-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-filter { display: flex; overflow-x: auto; }
  .filter-btn { min-width: max-content; padding: 0 14px; }
  .market-ticker {
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 0 14px;
  }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .brand span { font-size: 13px; }
  .brand img { width: 74px; height: 28px; }
  .brand strong { font-size: 28px; }
  .top-nav { gap: 14px; }
  .market-ticker {
    height: auto;
    min-height: 42px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px 14px;
  }
  .ticker-status { display: none; }
  .ticker-track { animation-duration: 24s; }
  .window-grid { grid-template-columns: 1fr; }
  .lead-metrics { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .lead-metric:nth-child(2) { border-right: 0; }
  .lead-action {
    position: static;
    margin-top: 14px;
  }
  .site-footer { grid-template-columns: 1fr; height: auto; padding: 14px; }
  .footer-status { justify-self: start; }
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .sports-table-head,
  .sports-row {
    grid-template-columns: 1fr 1fr .42fr .42fr .42fr;
  }
  .asset-row,
  .asset-head {
    grid-template-columns: 1.1fr 1fr .38fr .68fr;
    gap: 8px;
  }
  .content-shell {
    padding: 16px 14px 28px;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: 1fr;
  }
  .top-nav,
  .socials {
    justify-self: start;
  }
  .top-nav a {
    padding: 8px 0;
  }
  .search-shell {
    height: 42px;
  }
  .dashboard {
    padding-inline: 10px;
  }
  .lead-title {
    font-size: 22px;
  }
  .lead-value.primary {
    font-size: 37px;
  }
  .panel {
    border-radius: 8px;
  }
  .sports-table-head {
    display: none;
  }
  .sports-row {
    grid-template-columns: 1fr .42fr .42fr .42fr;
  }
  .sports-competition {
    display: none;
  }
  .sports-match-name {
    grid-column: 1;
  }
  .asset-row,
  .asset-head {
    grid-template-columns: 1fr auto;
  }
  .asset-range-wrap,
  .asset-trend {
    display: none;
  }
}
