:root {
  color-scheme: light dark;
  --bg-light: #ffffff;
  --bg-dark: #000000;
  --soft-light: #eff3f4;
  --soft-dark: #16181c;
  --text-light: #0f1419;
  --text-dark: #e7e9ea;
  --muted-light: #536471;
  --muted-dark: #8b98a5;
  --line-light: #eff3f4;
  --line-dark: #2f3336;
  --line-strong-light: #cfd9de;
  --line-strong-dark: #536471;
  --accent-text-light: #0b6fae;
  --accent-text-dark: #1d9bf0;
  --warning-light: #8a5a00;
  --warning-dark: #ffd400;
  --danger-light: #c81e1e;
  --danger-dark: #f4212e;
  --positive-light: #007a55;
  --positive-dark: #00ba7c;
  --header-light: rgba(255, 255, 255, 0.78);
  --header-dark: rgba(0, 0, 0, 0.78);
  --hover-light: rgba(15, 20, 25, 0.05);
  --hover-dark: rgba(255, 255, 255, 0.03);
  --bg: var(--bg-light);
  --bg-deep: var(--bg);
  --surface: var(--bg);
  --surface-strong: var(--bg);
  --surface-soft: var(--soft-light);
  --text: var(--text-light);
  --muted: var(--muted-light);
  --subtle: var(--muted);
  --line: var(--line-light);
  --line-strong: var(--line-strong-light);
  --accent: #1d9bf0;
  --accent-strong: #1a8cd8;
  --accent-ink: #000000;
  --accent-text: var(--accent-text-light);
  --cyan: var(--accent);
  --blue: var(--accent);
  --warning: var(--warning-light);
  --danger: var(--danger-light);
  --positive: var(--positive-light);
  --header-bg: var(--header-light);
  --hover: var(--hover-light);
  --glass-blur: 0px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow: none;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  accent-color: var(--accent);
  scrollbar-color: var(--line-strong) var(--surface-soft);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--bg-dark);
    --surface-soft: var(--soft-dark);
    --text: var(--text-dark);
    --muted: var(--muted-dark);
    --line: var(--line-dark);
    --line-strong: var(--line-strong-dark);
    --accent-text: var(--accent-text-dark);
    --warning: var(--warning-dark);
    --danger: var(--danger-dark);
    --positive: var(--positive-dark);
    --header-bg: var(--header-dark);
    --hover: var(--hover-dark);
  }
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

@supports (color: light-dark(#ffffff, #000000)) {
  :root {
    --bg: light-dark(var(--bg-light), var(--bg-dark));
    --surface-soft: light-dark(var(--soft-light), var(--soft-dark));
    --text: light-dark(var(--text-light), var(--text-dark));
    --muted: light-dark(var(--muted-light), var(--muted-dark));
    --line: light-dark(var(--line-light), var(--line-dark));
    --line-strong: light-dark(var(--line-strong-light), var(--line-strong-dark));
    --accent-text: light-dark(var(--accent-text-light), var(--accent-text-dark));
    --warning: light-dark(var(--warning-light), var(--warning-dark));
    --danger: light-dark(var(--danger-light), var(--danger-dark));
    --positive: light-dark(var(--positive-light), var(--positive-dark));
    --header-bg: light-dark(var(--header-light), var(--header-dark));
    --hover: light-dark(var(--hover-light), var(--hover-dark));
  }
}

@supports not (color: light-dark(#ffffff, #000000)) {
  html[data-theme="light"] {
    --bg: var(--bg-light);
    --surface-soft: var(--soft-light);
    --text: var(--text-light);
    --muted: var(--muted-light);
    --line: var(--line-light);
    --line-strong: var(--line-strong-light);
    --accent-text: var(--accent-text-light);
    --warning: var(--warning-light);
    --danger: var(--danger-light);
    --positive: var(--positive-light);
    --header-bg: var(--header-light);
    --hover: var(--hover-light);
  }

  html[data-theme="dark"] {
    --bg: var(--bg-dark);
    --surface-soft: var(--soft-dark);
    --text: var(--text-dark);
    --muted: var(--muted-dark);
    --line: var(--line-dark);
    --line-strong: var(--line-strong-dark);
    --accent-text: var(--accent-text-dark);
    --warning: var(--warning-dark);
    --danger: var(--danger-dark);
    --positive: var(--positive-dark);
    --header-bg: var(--header-dark);
    --hover: var(--hover-dark);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: linear-gradient(rgba(137, 206, 190, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(137, 206, 190, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

button,
input,
select,
summary {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

svg {
  display: block;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 48%), var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), var(--shadow);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.55;
}

.orb-one {
  width: 650px;
  height: 650px;
  inset-block-start: -240px;
  inset-inline-end: -90px;
  background: radial-gradient(circle, rgba(47, 176, 150, 0.35), transparent 68%);
}

.orb-two {
  width: 560px;
  height: 560px;
  inset-block-start: 110px;
  inset-inline-start: -320px;
  background: radial-gradient(circle, rgba(50, 105, 180, 0.25), transparent 70%);
}

.orb-three {
  width: 480px;
  height: 480px;
  inset-block-start: 650px;
  inset-inline-end: 8%;
  background: radial-gradient(circle, rgba(161, 209, 93, 0.11), transparent 70%);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  border-block-end: 1px solid var(--line);
  background: rgba(5, 15, 19, 0.74);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.nav-shell {
  width: min(1320px, calc(100% - 48px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 39px;
  height: 39px;
  color: var(--accent);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-type strong {
  font-size: 20px;
  letter-spacing: -0.7px;
}

.brand-type strong span {
  color: var(--accent);
  margin-inline-start: 3px;
}

.brand-type small {
  margin-block-start: 6px;
  color: var(--subtle);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.35px;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

.desktop-nav a.active::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  content: "";
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  transition: border-color 180ms ease, background 180ms ease;
}

.header-search:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
}

.header-search .icon {
  width: 17px;
  height: 17px;
}

.header-search kbd {
  min-width: 20px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--subtle);
  font-family: inherit;
  font-size: 11px;
  line-height: 20px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(164, 222, 94, 0.14);
}

.button-primary:hover {
  background: #c9ff87;
  box-shadow: 0 10px 30px rgba(164, 222, 94, 0.23);
}

.button-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(186, 244, 119, 0.45);
}

.button-compact {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 13px;
}

.button-compact .icon {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.mobile-nav {
  width: min(100% - 32px, 560px);
  margin: 0 auto 16px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
}

.mobile-nav a:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.hero {
  min-height: 555px;
  padding-block: 74px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin-block-end: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: 1.4;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(186, 244, 119, 0.08), 0 0 16px rgba(186, 244, 119, 0.55);
}

.hero h1 {
  max-width: 720px;
  margin-block-end: 22px;
  font-size: clamp(44px, 4.5vw, 66px);
  line-height: 1.14;
  letter-spacing: -2.8px;
  font-weight: 600;
}

.hero h1 span {
  color: var(--accent);
  background: linear-gradient(100deg, #effbdc 0%, var(--accent) 40%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 590px;
  margin-block-end: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.hero-search {
  max-width: 610px;
  min-height: 66px;
  padding: 7px 7px 7px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: rgba(15, 32, 38, 0.8);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(186, 244, 119, 0.1), 0 14px 40px rgba(0, 0, 0, 0.2);
}

.hero-search > .icon {
  color: var(--muted);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.hero-search input::placeholder,
.table-search input::placeholder {
  color: var(--subtle);
  opacity: 1;
}

.hero-search .button {
  min-height: 50px;
  flex: 0 0 auto;
}

.quick-search {
  margin-block-start: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--subtle);
  font-size: 12px;
}

.quick-search button {
  padding: 2px 0;
  border: 0;
  border-block-end: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.quick-search button:hover {
  color: var(--accent);
  border-block-end-color: var(--accent);
}

.hero-features {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-features .icon {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.market-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.market-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 25%);
  pointer-events: none;
}

.market-card-header,
.pulse-summary,
.market-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-kicker {
  margin-block-end: 3px;
  color: var(--subtle);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.market-card-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.demo-pill,
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.demo-pill {
  padding: 4px 10px;
}

.pulse-summary {
  margin-block-start: 25px;
  justify-content: flex-start;
  gap: 15px;
}

.pulse-summary > strong {
  font-size: 47px;
  line-height: 1;
  letter-spacing: -2px;
}

.pulse-summary > span {
  display: flex;
  flex-direction: column;
}

.pulse-summary b {
  font-size: 12px;
  font-weight: 500;
}

.pulse-summary small {
  margin-block-start: 3px;
  color: var(--accent);
  font-size: 11px;
}

.pulse-summary > .icon {
  width: 34px;
  height: 34px;
  margin-inline-start: auto;
  color: var(--cyan);
  opacity: 0.8;
}

.market-chart {
  width: 100%;
  height: auto;
  margin-block: 14px 4px;
  overflow: visible;
}

.chart-grid {
  fill: none;
  stroke: rgba(218, 246, 238, 0.075);
  stroke-width: 1;
}

.chart-area {
  fill: url(#chart-fill);
}

.chart-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.chart-point {
  fill: var(--accent);
  stroke: rgba(186, 244, 119, 0.2);
  stroke-width: 8;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quote-grid > div {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}

.quote-grid span,
.quote-grid strong,
.quote-grid small {
  display: block;
}

.quote-grid span {
  color: var(--subtle);
  font-size: 9px;
  letter-spacing: 0.7px;
}

.quote-grid strong {
  margin-block: 3px;
  font-size: 14px;
  font-weight: 500;
}

.quote-grid small {
  font-size: 10px;
}

.positive {
  color: var(--accent);
}

.negative {
  color: var(--danger);
}

.market-card-footer {
  margin-block-start: 18px;
  color: var(--muted);
  font-size: 11px;
}

.market-card-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.market-card-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.market-card-footer small {
  color: var(--subtle);
}

.floating-note {
  position: absolute;
  inset-inline-end: -24px;
  inset-block-end: 54px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
  background-color: rgba(15, 34, 39, 0.88);
}

.floating-note > .icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.floating-note span {
  display: flex;
  flex-direction: column;
}

.floating-note strong {
  font-size: 13px;
}

.floating-note small {
  color: var(--muted);
  font-size: 9px;
}

.stats-strip {
  margin-block: 6px 88px;
  padding: 27px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 50px rgba(0, 0, 0, 0.16);
}

.stats-strip > div {
  padding-inline: 30px;
  border-inline-end: 1px solid var(--line);
}

.stats-strip > div:last-child {
  border-inline-end: 0;
}

.stats-strip strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1px;
}

.stats-strip strong span {
  margin-inline-start: 4px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0;
}

.stats-strip p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.rankings-section {
  padding-block-end: 82px;
}

.section-heading {
  margin-block-end: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading .eyebrow {
  margin-block-end: 8px;
}

.section-heading h2 {
  margin-block-end: 9px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -1.3px;
}

.section-heading > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-badge {
  padding: 7px 12px;
  flex: 0 0 auto;
}

.demo-badge .icon {
  width: 15px;
  height: 15px;
  color: var(--warning);
}

.ranking-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ranking-toolbar {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-block-end: 1px solid var(--line);
}

.preset-group {
  padding: 4px;
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.13);
}

.preset {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease, background 180ms ease;
}

.preset:hover {
  color: var(--text);
}

.preset.active {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.method-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.method-link:hover {
  color: var(--accent);
}

.method-link .icon {
  width: 15px;
  height: 15px;
}

.filters {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-block-end: 1px solid var(--line);
}

.filter-control {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  transition: border-color 180ms ease, background 180ms ease;
}

.filter-control:focus-within,
.filter-control:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.filter-control .icon {
  width: 16px;
  height: 16px;
}

.filter-control select,
.filter-control input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.filter-control select {
  max-width: 145px;
  padding-inline-end: 4px;
}

.filter-control select option {
  background: #102027;
  color: var(--text);
}

.table-search {
  margin-inline-start: auto;
  width: 190px;
}

.table-search input {
  width: 100%;
}

.reset-button {
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.reset-button:hover {
  color: var(--accent);
}

.table-meta {
  padding: 17px 24px 10px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--subtle);
  font-size: 11px;
}

.table-meta p {
  margin: 0;
  color: var(--muted);
}

.table-wrapper {
  max-inline-size: 100%;
  max-block-size: min(690px, 75vh);
  overflow: auto;
  overscroll-behavior: contain;
  container-type: inline-size;
  scrollbar-color: rgba(186, 244, 119, 0.25) transparent;
  scrollbar-width: thin;
}

.table-wrapper:focus-visible {
  outline-offset: -3px;
}

table {
  width: 100%;
  min-inline-size: 960px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: start;
  --label-3: "演示评分";
  --label-4: "公开资质";
  --label-5: "机构类型";
  --label-6: "名单来源";
}

thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 4;
}

thead th {
  padding: 13px 15px;
  border-block: 1px solid var(--line);
  background: #102027;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 500;
  text-align: start;
  white-space: nowrap;
}

thead th:first-child {
  padding-inline-start: 24px;
}

thead th:last-child {
  padding-inline-end: 24px;
}

thead th:has(> button) {
  padding: 0;
}

thead th > button {
  width: 100%;
  min-height: 46px;
  padding: 13px 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: start;
}

thead th > button:hover {
  color: var(--text);
}

.sort-icon {
  width: 13px;
  height: 13px;
  opacity: 0.65;
}

th[aria-sort] {
  color: var(--accent);
}

th[aria-sort="ascending"] .sort-icon {
  transform: rotate(180deg);
}

th[aria-sort="descending"] .sort-icon {
  transform: none;
}

tbody th,
tbody td {
  padding: 17px 15px;
  border-block-end: 1px solid rgba(219, 255, 244, 0.08);
  background: rgba(9, 23, 28, 0.22);
  text-align: start;
  font-size: 13px;
  font-weight: 400;
  transition: background 180ms ease;
}

tbody tr:first-child th,
tbody tr:first-child td {
  padding-block-start: 20px;
}

tbody tr:hover th,
tbody tr:hover td {
  background: rgba(118, 228, 209, 0.055);
}

tbody th:first-child,
tbody td:first-child {
  padding-inline-start: 24px;
}

tbody th:last-child,
tbody td:last-child {
  padding-inline-end: 24px;
}

tbody th[scope="row"] {
  position: sticky;
  inset-inline-start: 0;
  z-index: 2;
  background: #0d1d23;
}

tbody tr:hover th[scope="row"] {
  background: #11262b;
}

.rank-column {
  width: 65px;
}

.rank-badge {
  width: 29px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.rank-one {
  border-color: rgba(186, 244, 119, 0.32);
  background: var(--accent);
  color: var(--accent-ink);
}

.rank-two {
  border-color: rgba(118, 228, 209, 0.28);
  background: rgba(118, 228, 209, 0.13);
  color: var(--cyan);
}

.rank-three {
  border-color: rgba(131, 183, 255, 0.28);
  background: rgba(131, 183, 255, 0.12);
  color: var(--blue);
}

.broker-cell {
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.broker-logo {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  color: #f5fffd;
  font-size: 19px;
  font-weight: 600;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 6px 16px rgba(0, 0, 0, 0.15);
}

.tone-teal { background: linear-gradient(145deg, #287b72, #143e3d); }
.tone-blue { background: linear-gradient(145deg, #3e659b, #1a314f); }
.tone-lime { background: linear-gradient(145deg, #6f8c42, #2c3f24); }
.tone-amber { background: linear-gradient(145deg, #967444, #42321f); }
.tone-violet { background: linear-gradient(145deg, #596a99, #27334f); }
.tone-cyan { background: linear-gradient(145deg, #397d91, #173b48); }
.tone-coral { background: linear-gradient(145deg, #9a675e, #462d2c); }
.tone-silver { background: linear-gradient(145deg, #6d7b80, #303d43); }

.broker-cell > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.broker-cell strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.broker-cell small {
  margin-block-start: 3px;
  color: var(--subtle);
  font-size: 10px;
  white-space: nowrap;
}

.score-value {
  display: block;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.score-track {
  width: 57px;
  height: 3px;
  margin-block-start: 6px;
  display: block;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.score-track > span {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.status-pill.strong {
  border-color: rgba(186, 244, 119, 0.2);
  background: rgba(186, 244, 119, 0.08);
  color: var(--accent);
}

.status-pill.standard {
  border-color: rgba(131, 183, 255, 0.2);
  background: rgba(131, 183, 255, 0.08);
  color: #a9ccff;
}

.status-pill.offshore {
  border-color: rgba(244, 199, 115, 0.22);
  background: rgba(244, 199, 115, 0.08);
  color: var(--warning);
}

.cell-note {
  margin-block-start: 5px;
  display: block;
  color: var(--subtle);
  font-size: 9px;
  white-space: nowrap;
}

.details-button {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.details-button:hover {
  border-color: rgba(186, 244, 119, 0.4);
  background: rgba(186, 244, 119, 0.07);
  color: var(--accent);
}

.details-button .icon {
  width: 13px;
  height: 13px;
}

.table-footer {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--subtle);
  font-size: 10px;
}

.table-footer > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.table-footer .icon {
  width: 14px;
  height: 14px;
}

.empty-state {
  padding: 60px 24px;
  text-align: center;
}

.empty-state > .icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  color: var(--subtle);
}

.empty-state h3 {
  margin-block-end: 6px;
  font-size: 18px;
}

.empty-state p {
  margin-block-end: 20px;
  color: var(--muted);
  font-size: 13px;
}

.insights-grid {
  padding-block-end: 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 60px rgba(0, 0, 0, 0.17);
  scroll-margin-top: 110px;
}

.insight-icon {
  width: 43px;
  height: 43px;
  margin-block-end: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(118, 228, 209, 0.17);
  border-radius: 13px;
  background: rgba(118, 228, 209, 0.07);
  color: var(--cyan);
}

.risk-icon {
  border-color: rgba(255, 172, 156, 0.18);
  background: rgba(255, 172, 156, 0.07);
  color: var(--danger);
}

.insight-card .eyebrow {
  margin-block-end: 8px;
  font-size: 9px;
}

.insight-card h2 {
  margin-block-end: 11px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.insight-intro {
  min-height: 66px;
  margin-block-end: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.risk-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-list li {
  padding-block: 15px;
  display: flex;
  gap: 12px;
  border-block-start: 1px solid var(--line);
}

.risk-list li > span {
  padding-block-start: 2px;
  color: var(--danger);
  font-size: 10px;
  font-weight: 600;
}

.risk-list strong {
  font-size: 12px;
  font-weight: 500;
}

.risk-list p {
  margin: 4px 0 0;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.75;
}

.weight-list {
  display: grid;
  gap: 16px;
}

.weight-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.weight-list strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.weight-track {
  height: 5px;
  grid-column: 1 / -1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.weight-track > span {
  display: block;
  width: var(--weight);
  min-width: 20px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4a9f91, var(--accent));
}

.method-note {
  margin-block-start: 24px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
}

.method-note .icon {
  width: 18px;
  height: 18px;
  margin-block-start: 2px;
  color: var(--accent);
}

.method-note p {
  margin: 0;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.75;
}

.education-list details {
  border-block-start: 1px solid var(--line);
}

.education-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  list-style: none;
}

.education-list summary::-webkit-details-marker {
  display: none;
}

.education-list summary > span {
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.education-list details[open] summary > span {
  transform: rotate(45deg);
}

.education-list details p {
  margin: -2px 0 18px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.8;
}

.closing-cta {
  margin-block-end: 66px;
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 24px;
  background: linear-gradient(110deg, rgba(118, 228, 209, 0.09), rgba(186, 244, 119, 0.045)), var(--surface);
}

.closing-cta .eyebrow {
  margin-block-end: 7px;
  font-size: 9px;
}

.closing-cta h2 {
  margin-block-end: 5px;
  font-size: 28px;
  letter-spacing: -0.8px;
}

.closing-cta p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding-block: 12px 28px;
}

.footer-top {
  padding-block: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-block: 1px solid var(--line);
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: var(--muted);
  font-size: 12px;
}

.footer-top a:hover {
  color: var(--accent);
}

.footer-disclaimer {
  padding-block: 22px;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.85;
}

.footer-disclaimer strong {
  color: var(--muted);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--subtle);
  font-size: 10px;
}

.broker-dialog {
  width: min(660px, calc(100% - 32px));
  max-height: min(88dvh, 850px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 40%), #0d1e24;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.58);
  overflow: auto;
}

.broker-dialog[open] {
  animation: dialog-enter 200ms ease-out;
}

.broker-dialog:modal {
  overscroll-behavior: contain;
}

.broker-dialog::backdrop {
  background: rgba(1, 8, 11, 0.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.dialog-close-form {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  height: 0;
  display: flex;
  justify-content: flex-end;
}

.dialog-close {
  width: 42px;
  height: 42px;
  margin: 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 24, 29, 0.85);
  color: var(--muted);
}

.dialog-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.dialog-body {
  padding: 28px 32px 32px;
}

.dialog-broker-header {
  padding-inline-end: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dialog-broker-header .broker-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 23px;
}

.dialog-broker-header .eyebrow {
  margin-block-end: 4px;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.dialog-broker-header h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.dialog-broker-header p:last-child {
  margin: 3px 0 0;
  color: var(--subtle);
  font-size: 11px;
}

.dialog-score {
  margin-inline-start: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dialog-score strong {
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.dialog-score span {
  margin-block-start: 5px;
  color: var(--subtle);
  font-size: 9px;
}

.dialog-tags {
  margin-block: 22px 16px;
  display: flex;
  gap: 8px;
}

.dialog-description {
  margin-block-end: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
}

.dialog-facts > div {
  padding: 15px;
  border-inline-end: 1px solid var(--line);
}

.dialog-facts > div:last-child {
  border: 0;
}

.dialog-facts span,
.dialog-facts strong {
  display: block;
}

.dialog-facts span {
  color: var(--subtle);
  font-size: 9px;
}

.dialog-facts strong {
  margin-block-start: 4px;
  font-size: 12px;
  font-weight: 500;
}

.dialog-section-title {
  margin: 25px 0 15px;
  font-size: 14px;
  font-weight: 500;
}

.dialog-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.dialog-metrics > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.dialog-metrics strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.metric-track {
  height: 5px;
  grid-column: 1 / -1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.metric-track > span {
  display: block;
  width: var(--value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}

.dialog-disclaimer {
  margin-block: 26px 22px;
  padding: 13px 14px;
  display: flex;
  gap: 10px;
  border: 1px solid rgba(244, 199, 115, 0.16);
  border-radius: 12px;
  background: rgba(244, 199, 115, 0.055);
}

.dialog-disclaimer .icon {
  width: 17px;
  height: 17px;
  margin-block-start: 2px;
  color: var(--warning);
}

.dialog-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.dialog-back {
  width: 100%;
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@container (width < 760px) {
  .table-wrapper {
    max-block-size: none;
    overflow: visible;
  }

  table,
  tbody,
  tr,
  tbody th,
  tbody td {
    display: block;
    min-inline-size: 0;
  }

  table {
    min-inline-size: 0;
  }

  thead {
    display: none;
  }

  tbody {
    padding: 12px;
  }

  tbody tr {
    position: relative;
    margin-block-end: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.022);
    overflow: hidden;
  }

  tbody tr:last-child {
    margin-block-end: 0;
  }

  tbody th,
  tbody td,
  tbody tr:first-child th,
  tbody tr:first-child td {
    padding: 12px 14px;
    border: 0;
    background: transparent;
  }

  tbody th[scope="row"],
  tbody tr:hover th[scope="row"] {
    position: static;
    grid-column: 1 / -1;
    padding: 16px 64px 16px 16px;
    background: rgba(0, 0, 0, 0.11);
  }

  tbody tr:hover th,
  tbody tr:hover td {
    background: transparent;
  }

  .rank-cell {
    position: absolute;
    inset-block-start: 17px;
    inset-inline-end: 16px;
    z-index: 1;
  }

  tbody td:not(.rank-cell) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  tbody td:nth-child(3)::before { content: var(--label-3) "："; }
  tbody td:nth-child(4)::before { content: var(--label-4) "："; }
  tbody td:nth-child(5)::before { content: var(--label-5) "："; }
  tbody td:nth-child(6)::before { content: var(--label-6) "："; }
  tbody td:nth-child(7)::before { content: none; }

  tbody td::before {
    color: var(--subtle);
    font-size: 10px;
  }

  tbody td:nth-child(3),
  tbody td:nth-child(4) {
    border-block-end: 1px solid var(--line);
  }

  tbody td:nth-child(3) {
    align-items: flex-start !important;
  }

  .score-track {
    display: none;
  }

  .cell-note {
    display: none;
  }

  tbody td:last-child {
    grid-column: 1 / -1;
    padding: 12px;
    border-block-start: 1px solid var(--line);
  }

  .details-button {
    width: 100%;
    min-height: 40px;
    justify-content: center;
  }
}

body::before,
.ambient {
  display: none;
}

.glass {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header {
  background: var(--header-bg);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand-mark,
.brand-type strong span {
  color: var(--text);
}

.desktop-nav a.active::after {
  height: 3px;
  background: var(--accent);
}

.header-search {
  border-color: transparent;
  border-radius: 999px;
  background: var(--surface-soft);
}

.header-search:hover {
  border-color: var(--line);
  background: var(--line);
}

.button {
  border-radius: 999px;
  box-shadow: none;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}

.button-primary:hover {
  background: var(--accent-strong);
  box-shadow: none;
}

.button-outline {
  border-color: var(--line-strong);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--accent);
  background: rgba(29, 155, 240, 0.1);
}

.menu-toggle,
.mobile-nav {
  border-color: var(--line);
  background: var(--surface);
}

.hero h1 {
  font-weight: 700;
}

.hero h1 span {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.eyebrow {
  color: var(--accent);
}

.live-dot {
  background: var(--accent);
  box-shadow: none;
}

.hero-search {
  border-color: var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: none;
}

.hero-search .button {
  border-radius: 999px;
}

.quick-search button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.market-card {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
}

.market-card::before,
.floating-note {
  display: none;
}

.demo-pill,
.demo-badge {
  border-color: var(--line);
  background: transparent;
}

.chart-grid {
  stroke: #2f3336;
}

.chart-line {
  stroke: var(--accent);
}

.chart-point {
  fill: var(--accent);
  stroke: rgba(29, 155, 240, 0.2);
}

.quote-grid > div {
  border-color: var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.positive {
  color: var(--positive);
}

.negative {
  color: var(--danger);
}

.market-card-footer i {
  background: var(--positive);
}

.stats-strip {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
}

.ranking-panel,
.insight-card,
.closing-cta {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
}

.preset-group {
  padding: 0;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.preset {
  position: relative;
  min-height: 48px;
  padding-inline: 2px;
  border-radius: 0;
}

.preset.active {
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.preset.active::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 3px;
  border-radius: 3px;
  content: "";
  background: var(--accent);
}

.method-link,
.reset-button {
  color: var(--accent);
}

.filter-control {
  border-color: transparent;
  border-radius: 999px;
  background: var(--surface-soft);
}

.filter-control:focus-within,
.filter-control:hover {
  border-color: var(--accent);
  background: var(--surface-soft);
}

.filter-control select option {
  background: var(--surface-soft);
}

.table-wrapper {
  scrollbar-color: var(--line) transparent;
}

thead th,
tbody th[scope="row"] {
  background: var(--surface);
}

tbody th,
tbody td {
  border-color: var(--line);
  background: transparent;
}

tbody tr:hover th,
tbody tr:hover td,
tbody tr:hover th[scope="row"] {
  background: var(--hover);
}

.broker-logo {
  border-color: var(--line);
  border-radius: 50%;
  background: var(--surface-soft) !important;
  color: var(--text);
  box-shadow: none;
}

.rank-badge,
.rank-one,
.rank-two,
.rank-three {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
}

.rank-one {
  color: var(--accent);
}

.score-value {
  color: var(--accent);
}

.score-track,
.weight-track,
.metric-track {
  background: var(--line);
}

.score-track > span,
.weight-track > span,
.metric-track > span {
  background: var(--accent);
}

.status-pill {
  border-color: var(--line);
  background: transparent;
}

.status-pill.strong {
  border-color: rgba(29, 155, 240, 0.35);
  background: rgba(29, 155, 240, 0.08);
  color: var(--accent);
}

.status-pill.standard {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.status-pill.offshore {
  border-color: rgba(255, 212, 0, 0.35);
  background: rgba(255, 212, 0, 0.06);
  color: var(--warning);
}

.details-button {
  border-color: var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
}

.details-button:hover {
  border-color: var(--accent);
  background: rgba(29, 155, 240, 0.1);
  color: var(--accent);
}

.insight-icon {
  border-color: transparent;
  border-radius: 50%;
  background: rgba(29, 155, 240, 0.1);
  color: var(--accent);
}

.risk-icon {
  background: rgba(244, 33, 46, 0.1);
  color: var(--danger);
}

.method-note {
  border-color: var(--line);
  background: var(--surface);
}

.broker-dialog {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.broker-dialog::backdrop {
  background: rgba(91, 112, 131, 0.4);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.dialog-close {
  border-color: transparent;
  border-radius: 50%;
  background: var(--surface);
}

.dialog-close:hover {
  background: var(--surface-soft);
}

.dialog-facts {
  border-color: var(--line);
  background: var(--surface);
}

.dialog-disclaimer {
  border-color: var(--line);
  background: rgba(29, 155, 240, 0.06);
}

.dialog-disclaimer .icon {
  color: var(--accent);
}

.chart-shell {
  position: relative;
}

.market-chart:focus-visible {
  border-radius: 8px;
  outline: 1px solid var(--accent);
  outline-offset: 2px;
  cursor: crosshair;
}

.chart-preclose {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
}

.chart-point,
.chart-hover-point {
  pointer-events: none;
}

.chart-hover-point {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.chart-empty .button {
  min-height: 36px;
  padding-inline: 15px;
  font-size: 11px;
}

.chart-axis {
  margin: -5px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
}

#chart-readout {
  min-width: 0;
  text-align: center;
}

.index-quote {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-align: start;
  transition: border-color 180ms ease, background 180ms ease;
}

.index-quote:hover {
  border-color: var(--line-strong);
}

.index-quote.active {
  border-color: var(--accent);
  background: rgba(29, 155, 240, 0.08);
}

.index-quote.neutral,
.neutral {
  color: var(--muted);
}

.pulse-summary small.positive {
  color: var(--positive);
}

.pulse-summary small.negative {
  color: var(--danger);
}

.pulse-summary small.neutral {
  color: var(--muted);
}

.market-card-footer a:hover {
  color: var(--accent);
}

#market-status-dot.error {
  background: var(--danger);
}

@media (max-width: 600px) {
  .index-quote {
    padding: 10px 8px;
  }

  .chart-axis {
    font-size: 8px;
  }

  #chart-readout {
    max-width: 170px;
  }
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: background 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.theme-toggle .icon {
  width: 19px;
  height: 19px;
}

.eyebrow,
.quick-search button:hover,
.method-link,
.reset-button,
th[aria-sort],
.score-value,
.rank-one,
.status-pill.strong,
.details-button:hover,
.dialog-score strong,
.market-card-footer a:hover,
.footer-top a:hover {
  color: var(--accent-text);
}

.market-index-list {
  margin-block-start: 24px;
  border-block-start: 1px solid var(--line);
}

.market-index-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(76px, 0.8fr) minmax(90px, 1.25fr) minmax(92px, 0.9fr);
  align-items: center;
  gap: 14px;
  border-block-end: 1px solid var(--line);
}

.index-label {
  font-size: 13px;
  font-weight: 500;
}

.sparkline {
  width: 100%;
  height: 44px;
  overflow: visible;
  pointer-events: none;
}

.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.spark-area {
  fill: rgba(29, 155, 240, 0.08);
  stroke: none;
}

.index-value {
  min-width: 0;
  text-align: end;
}

.index-value strong,
.index-value small {
  display: block;
}

.index-value strong {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.index-value small {
  margin-block-start: 4px;
  font-size: 11px;
}

@media (max-width: 600px) {
  .market-index-list {
    margin-block-start: 20px;
  }

  .market-index-row {
    min-height: 72px;
    grid-template-columns: 68px minmax(64px, 1fr) 94px;
    gap: 10px;
  }

  .index-label {
    font-size: 12px;
  }

  .index-value strong {
    font-size: 14px;
  }

  .sparkline {
    height: 40px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass,
  .site-header {
    background-color: var(--surface);
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 20px;
  }

  .header-search span,
  .header-search kbd {
    display: none;
  }

  .header-search {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .hero {
    gap: 38px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .floating-note {
    inset-inline-end: -8px;
  }

  .filters {
    flex-wrap: wrap;
  }

  .table-search {
    margin-inline-start: 0;
    flex: 1;
    min-width: 180px;
  }

  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-card {
    grid-column: 1 / -1;
  }

  .education-card .insight-intro {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-actions > .button {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-shell {
    min-height: 70px;
  }

  .hero {
    padding-block-start: 54px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(43px, 7vw, 60px);
  }

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .stats-strip {
    margin-block-end: 68px;
  }

  .stats-strip > div {
    padding-inline: 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-toolbar {
    align-items: flex-start;
  }

  .preset-group {
    flex: 1;
  }

  .preset {
    flex: 1;
    padding-inline: 10px;
  }

  .closing-cta {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 28px, 560px);
  }

  .nav-shell {
    width: calc(100% - 28px);
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .brand-type strong {
    font-size: 18px;
  }

  .brand-type small {
    font-size: 6px;
  }

  .header-search {
    display: none;
  }

  .hero {
    padding-block: 43px 28px;
    gap: 36px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .hero h1 {
    margin-block-end: 18px;
    font-size: clamp(38px, 11vw, 48px);
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-search {
    min-height: 60px;
    padding: 6px 6px 6px 13px;
    gap: 9px;
  }

  .hero-search input {
    font-size: 12px;
  }

  .hero-search .button {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero-search .button .icon {
    display: none;
  }

  .quick-search {
    gap: 10px;
  }

  .hero-features {
    gap: 12px 16px;
    font-size: 11px;
  }

  .market-card {
    padding: 20px;
    border-radius: 22px;
  }

  .pulse-summary > strong {
    font-size: 40px;
  }

  .quote-grid > div {
    padding: 10px 8px;
  }

  .quote-grid strong {
    font-size: 12px;
  }

  .floating-note {
    display: none;
  }

  .stats-strip {
    margin-block-end: 60px;
    padding: 8px 16px;
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip > div {
    padding: 18px 12px;
  }

  .stats-strip > div:nth-child(2) {
    border-inline-end: 0;
  }

  .stats-strip > div:nth-child(-n+2) {
    border-block-end: 1px solid var(--line);
  }

  .stats-strip strong {
    font-size: 26px;
  }

  .stats-strip p {
    font-size: 10px;
  }

  .section-heading {
    margin-block-end: 20px;
    gap: 16px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .section-heading > div > p:last-child {
    font-size: 12px;
  }

  .ranking-panel {
    border-radius: 20px;
  }

  .ranking-toolbar {
    padding: 14px;
    flex-direction: column;
    gap: 12px;
  }

  .preset-group {
    width: 100%;
  }

  .preset {
    min-height: 38px;
    font-size: 11px;
  }

  .method-link {
    align-self: flex-end;
  }

  .filters {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-control {
    min-width: 0;
    padding-inline: 10px;
  }

  .filter-control select {
    width: 100%;
    max-width: none;
    font-size: 11px;
  }

  .table-search {
    width: auto;
    min-width: 0;
    grid-column: 1 / -1;
  }

  .reset-button {
    grid-column: 1 / -1;
    min-height: 32px;
    justify-self: end;
  }

  .table-meta {
    padding-inline: 16px;
    font-size: 10px;
  }

  .table-meta > span {
    display: none;
  }

  .table-footer {
    padding-inline: 16px;
    align-items: flex-start;
    font-size: 9px;
  }

  .table-footer > span:last-child {
    display: none;
  }

  .rankings-section {
    padding-block-end: 58px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
    padding-block-end: 56px;
  }

  .education-card {
    grid-column: auto;
  }

  .insight-card {
    padding: 24px;
    border-radius: 20px;
  }

  .insight-intro {
    min-height: 0;
  }

  .closing-cta {
    margin-block-end: 44px;
    padding: 28px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .closing-cta h2 {
    font-size: 25px;
  }

  .closing-cta .button {
    width: 100%;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top nav {
    gap: 16px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .broker-dialog {
    width: calc(100% - 20px);
    max-height: 92dvh;
    border-radius: 20px;
  }

  .dialog-body {
    padding: 23px 20px 22px;
  }

  .dialog-broker-header {
    padding-inline-end: 20px;
    flex-wrap: wrap;
  }

  .dialog-broker-header h1 {
    font-size: 20px;
  }

  .dialog-score {
    width: 100%;
    margin: 6px 0 0 68px;
    align-items: flex-start;
  }

  .dialog-score strong {
    font-size: 26px;
  }

  .dialog-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dialog-facts > div:nth-child(2) {
    border-inline-end: 0;
  }

  .dialog-facts > div:nth-child(-n+2) {
    border-block-end: 1px solid var(--line);
  }

  .dialog-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:root {
  --bg: light-dark(#eeeeee, #111111);
  --surface-soft: light-dark(#e2e2e2, #1d1d1d);
  --text: light-dark(#1b1b1b, #f2f2f2);
  --muted: light-dark(#585858, #b8b8b8);
  --line: light-dark(#cecece, #3a3a3a);
  --line-strong: light-dark(#a8a8a8, #5c5c5c);
  --accent: var(--text);
  --accent-strong: var(--text);
  --accent-text: var(--text);
  --header-bg: light-dark(rgba(238, 238, 238, 0.88), rgba(17, 17, 17, 0.88));
  --hover: light-dark(rgba(27, 27, 27, 0.06), rgba(242, 242, 242, 0.07));
  --font: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  font-weight: 400;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

.page-shell {
  width: min(1360px, calc(100% - 32px));
}

.site-header {
  border-block-end: 0;
}

.nav-shell {
  width: min(1400px, calc(100% - 40px));
  min-height: 88px;
}

.brand-mark,
.brand-type small {
  display: none;
}

.brand-type strong {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -2.8px;
}

.brand-type strong span {
  margin: 0;
  color: inherit;
}

.desktop-nav {
  margin-inline-start: 30px;
  gap: 28px;
}

.desktop-nav a {
  color: var(--text);
  font-size: 14px;
}

.desktop-nav a.active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

.desktop-nav a.active::after {
  display: none;
}

.header-search {
  border: 0;
  border-radius: 10px;
  background: var(--surface-soft);
}

.header-search:hover {
  background: var(--line);
}

.button,
.theme-toggle,
.menu-toggle {
  border-radius: 10px;
}

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-primary:hover {
  background: var(--text);
  color: var(--bg);
  opacity: 0.82;
}

.button-outline {
  border-color: var(--line-strong);
  color: var(--text);
}

.button-outline:hover {
  border-color: var(--text);
  background: var(--surface-soft);
}

.theme-toggle:hover {
  background: var(--surface-soft);
}

.hero {
  width: min(1400px, calc(100% - 32px));
  min-height: 0;
  padding: 52px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-copy {
  width: 100%;
  max-width: none;
  text-align: center;
}

.hero .eyebrow {
  justify-content: center;
  font-size: 10px;
  letter-spacing: 1.8px;
}

.hero h1 {
  max-width: none;
  margin: 32px 0 30px;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(4rem, 1rem + 11vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.hero h1 br {
  display: none;
}

.hero h1 span {
  color: inherit;
}

.hero-description {
  max-width: 960px;
  margin: 0 auto 25px;
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 900px) {
  .hero-description {
    white-space: nowrap;
  }
}

.hero-search {
  max-width: 650px;
  min-height: 60px;
  margin-inline: auto;
  border: 0;
  border-radius: 12px;
  background: var(--surface-soft);
}

.hero-search:focus-within {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.hero-search .button {
  border-radius: 9px;
}

.quick-search {
  justify-content: center;
}

.quick-search button:hover {
  color: var(--text);
  border-color: var(--text);
}

.hero-features {
  display: none;
}

.hero-visual {
  width: 100%;
  max-width: none;
  margin: 48px 0 0;
}

.market-card {
  padding: 28px;
  border: 0;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
}

.market-card-header h2 {
  color: inherit;
  font-size: 25px;
}

.market-card .card-kicker,
.market-card .demo-pill,
.market-card .market-card-footer,
.market-card .market-card-footer small {
  color: inherit;
}

.market-card .demo-pill {
  border-color: currentColor;
}

.market-index-list {
  margin-block-start: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block-start: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

.market-index-row {
  min-height: 215px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border-block-end: 0;
  border-inline-end: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

.market-index-row:last-child {
  border-inline-end: 0;
}

.index-label {
  font-size: 14px;
  font-weight: 500;
}

.sparkline {
  height: 88px;
  margin-block: 20px 14px;
  color: inherit;
}

.spark-line {
  stroke: currentColor;
}

.spark-area {
  fill: currentColor;
  opacity: 0.08;
}

.index-value {
  margin-block-start: auto;
  text-align: start;
}

.index-value strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
}

.index-value small,
.index-value small.positive,
.index-value small.negative,
.index-value small.neutral {
  color: inherit;
  opacity: 0.72;
}

.market-card-footer {
  padding-block-start: 18px;
  border-block-start: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

.market-card-footer i {
  background: currentColor;
}

.market-card-footer a:hover {
  color: inherit;
  text-decoration: underline;
}

.stats-strip {
  margin: 36px auto 100px;
  padding: 30px 0;
  border: 0;
  border-block: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}

.stats-strip > div {
  padding-inline: 28px;
}

.stats-strip strong {
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -2px;
}

.stats-strip strong span {
  color: var(--text);
}

.stats-strip p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.rankings-section {
  padding-block-end: 100px;
}

.section-heading {
  padding-block-start: 20px;
  align-items: flex-end;
  border-block-start: 1px solid var(--text);
}

.section-heading h2 {
  margin-block-end: 12px;
  font-size: clamp(2.5rem, 1rem + 5vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-heading > div > p:last-child {
  max-width: 540px;
}

.demo-badge {
  border-radius: 8px;
}

.ranking-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.ranking-toolbar {
  padding: 0 0 18px;
  border-block-end: 1px solid var(--text);
}

.preset-group {
  gap: 28px;
}

.preset.active::after {
  height: 3px;
  background: var(--text);
}

.method-link,
.reset-button {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.filters {
  padding: 20px 0;
}

.filter-control {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
}

.filter-control:focus-within,
.filter-control:hover {
  border-color: var(--text);
  background: var(--surface-soft);
}

.table-wrapper {
  margin-block-start: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
}

thead th,
tbody th[scope="row"] {
  background: var(--surface);
}

thead th {
  background: var(--surface-soft);
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

tbody th,
tbody td {
  padding-block: 22px;
}

tbody tr:hover th,
tbody tr:hover td,
tbody tr:hover th[scope="row"] {
  background: var(--surface-soft);
}

.broker-logo {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--text) !important;
  color: var(--bg);
}

.broker-cell strong {
  font-size: 14px;
  font-weight: 600;
}

.rank-badge,
.rank-one,
.rank-two,
.rank-three {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.rank-one {
  color: var(--text);
}

.score-value,
th[aria-sort] {
  color: var(--text);
}

.score-value {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -1px;
}

.score-track > span,
.weight-track > span,
.metric-track > span {
  background: var(--text);
}

.status-pill,
.status-pill.strong,
.status-pill.standard {
  border-color: var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
}

.status-pill.offshore {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.details-button {
  border-color: var(--text);
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
}

.details-button:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  opacity: 0.78;
}

.table-footer {
  padding-block: 18px;
}

.insights-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.risk-card {
  grid-row: span 2;
}

.insight-card {
  padding: 32px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-soft);
}

.insight-card .eyebrow {
  justify-content: flex-start;
}

.insight-card h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.2px;
}

.insight-intro {
  min-height: 0;
}

.insight-icon,
.risk-icon {
  border: 0;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
}

.method-note {
  border: 0;
  background: var(--surface);
}

.method-note .icon {
  color: var(--text);
}

.weight-track,
.metric-track {
  background: var(--line);
}

.education-list summary > span {
  color: var(--text);
}

.closing-cta {
  padding: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
}

.closing-cta .eyebrow,
.closing-cta p:last-child {
  color: inherit;
}

.closing-cta h2 {
  font-size: clamp(2.25rem, 1rem + 4vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -2px;
}

.closing-cta .button-primary {
  background: var(--bg);
  color: var(--text);
}

.footer-top a:hover {
  color: var(--text);
  text-decoration: underline;
}

.broker-dialog {
  border-color: var(--line-strong);
  border-radius: 12px;
}

.dialog-broker-header h1 {
  font-size: 32px;
  font-weight: 600;
}

.dialog-close {
  border-radius: 8px;
}

.dialog-score strong,
.dialog-disclaimer .icon {
  color: var(--text);
}

.dialog-back {
  border-radius: 9px;
}

@media (max-width: 860px) {
  .hero {
    padding-block-start: 38px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .risk-card {
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .page-shell,
  .hero {
    width: calc(100% - 24px);
  }

  .nav-shell {
    width: calc(100% - 24px);
  }

  .brand-type strong {
    font-size: 30px;
  }

  .hero {
    padding-block-start: 32px;
  }

  .hero h1 {
    margin-block: 26px 22px;
    font-size: clamp(3rem, 1rem + 10vw, 5rem);
    line-height: 0.95;
    white-space: normal;
  }

  .hero h1 br {
    display: initial;
  }

  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-search {
    min-height: 58px;
    border-radius: 10px;
  }

  .hero-visual {
    margin-block-start: 32px;
  }

  .market-card {
    padding: 20px;
  }

  .market-index-list {
    grid-template-columns: 1fr;
  }

  .market-index-row {
    min-height: 155px;
    padding: 18px 0;
    border-inline-end: 0;
    border-block-end: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  }

  .market-index-row:last-child {
    border-block-end: 0;
  }

  .sparkline {
    height: 62px;
    margin-block: 14px 8px;
  }

  .index-value strong {
    font-size: 24px;
  }

  .market-card-footer {
    font-size: 9px;
  }

  .stats-strip {
    margin-block: 30px 64px;
    padding: 0;
  }

  .stats-strip > div {
    padding: 20px 12px;
  }

  .stats-strip strong {
    font-size: 35px;
  }

  .section-heading h2 {
    font-size: clamp(2.5rem, 1rem + 9vw, 4rem);
  }

  .ranking-toolbar {
    padding-block-end: 14px;
  }

  .preset-group {
    gap: 12px;
  }

  .preset {
    min-height: 42px;
  }

  .table-wrapper {
    margin-block-start: 16px;
  }

  .insight-card {
    padding: 24px;
  }

  .insight-card h2 {
    font-size: 27px;
  }

  .closing-cta {
    padding: 28px 24px;
  }

  .closing-cta h2 {
    font-size: 36px;
  }
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #eeeeee;
  --bg-deep: #eeeeee;
  --surface: #eeeeee;
  --surface-strong: #eeeeee;
  --surface-soft: #e2e2e2;
  --text: #1b1b1b;
  --muted: #585858;
  --subtle: #585858;
  --line: #cecece;
  --line-strong: #a8a8a8;
  --accent: #1b1b1b;
  --accent-strong: #1b1b1b;
  --accent-text: #1b1b1b;
  --cyan: #1b1b1b;
  --blue: #1b1b1b;
  --warning: #8a5a00;
  --danger: #c81e1e;
  --positive: #007a55;
  --header-bg: rgba(238, 238, 238, 0.88);
  --hover: rgba(27, 27, 27, 0.06);
  accent-color: #1b1b1b;
  scrollbar-color: #a8a8a8 #e2e2e2;
}
.market-ticker {
  position: relative;
  z-index: 40;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #161616;
  color: #f2f2f2;
}

.ticker-label,
.ticker-source {
  height: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-inline: 20px;
  font-size: 9px;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

.ticker-label {
  border-inline-end: 1px solid #424242;
  font-weight: 700;
}

.ticker-source {
  border-inline-start: 1px solid #424242;
  color: inherit;
  letter-spacing: 0.5px;
}

.ticker-source:hover {
  text-decoration: underline;
}

.ticker-viewport {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}

.ticker-group {
  min-width: 100vw;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.ticker-item {
  padding-inline: 28px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.ticker-item > span {
  color: #bdbdbd;
  font-size: 10px;
}

.ticker-item strong {
  font-size: 12px;
  font-weight: 600;
}

.ticker-item small,
.ticker-item small.positive,
.ticker-item small.negative,
.ticker-item small.neutral {
  color: #f2f2f2;
  font-size: 10px;
}

.market-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

.hero-visual {
  margin-block-start: 42px;
}

.broker-showcase-head {
  margin-block-end: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.broker-showcase-head small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.broker-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.broker-ad {
  position: relative;
  min-width: 0;
  min-height: 155px;
  padding: 28px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.broker-ad:hover {
  transform: translateY(-4px);
  border-color: var(--text);
  background: #f7f7f7;
}

.ad-tag {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-end: 8px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.ad-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}

.ad-wordmark strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
}

.ad-wordmark small {
  margin-block-start: 7px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2px;
}

.ad-description {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.8px;
  text-align: center;
}

.broker-ad:nth-child(2) .ad-wordmark strong {
  font-weight: 300;
  letter-spacing: 1px;
}

.broker-ad:nth-child(3) .ad-wordmark strong {
  font-family: Georgia, serif;
  font-style: italic;
}

.broker-ad:nth-child(4) .ad-wordmark strong {
  font-family: Georgia, serif;
  letter-spacing: 1px;
}

.broker-ad:nth-child(5) .ad-wordmark strong {
  font-size: 26px;
  font-weight: 400;
}

.broker-ad:nth-child(6) .ad-wordmark strong {
  letter-spacing: 2px;
}

@media (max-width: 1100px) {
  .broker-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .market-ticker {
    height: 38px;
  }

  .ticker-label {
    display: none;
  }

  .ticker-source {
    padding-inline: 10px;
    font-size: 8px;
  }

  .ticker-item {
    padding-inline: 18px;
  }

  .broker-showcase-head {
    font-size: 9px;
  }

  .broker-showcase {
    padding-block-end: 8px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .broker-ad {
    min-height: 145px;
    flex: 0 0 190px;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: none;
  }

  .ticker-viewport {
    overflow-x: auto;
  }
}
.broker-showcase {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block-end: 12px;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.broker-showcase:focus-visible {
  outline-offset: 5px;
}

.broker-ad {
  min-height: 142px;
  flex: 0 0 190px;
  cursor: default;
  scroll-snap-align: start;
  transition: border-color 180ms ease, background 180ms ease;
}

.broker-ad:hover {
  transform: none;
  border-color: var(--line-strong);
  background: var(--surface);
}

.broker-ad:nth-child(n+9) {
  background: #e6e6e6;
}

.broker-ad:nth-child(n+9):hover {
  background: #e6e6e6;
}

.ad-tag {
  font-size: 8px;
  font-weight: 500;
}

.ad-wordmark strong,
.broker-ad:nth-child(n) .ad-wordmark strong {
  font-family: var(--font);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
}

.ad-wordmark small {
  max-width: 170px;
  font-size: 9px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.broker-list-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.broker-list-note > span:last-child {
  flex: 0 0 auto;
}

.broker-list-note a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .broker-list-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

.broker-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: visible;
  padding-block-end: 0;
  scroll-snap-type: none;
}

.broker-ad {
  min-height: 120px;
  padding: 24px;
  display: grid;
  place-items: center;
  flex: initial;
  cursor: default;
  transition: border-color 180ms ease, background 180ms ease;
}

.broker-ad:hover {
  transform: none;
}

.broker-logo-image {
  display: block;
  width: 100%;
  height: 56px;
  object-fit: contain;
}

.ad-mark {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .broker-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .broker-showcase {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block-end: 8px;
    scroll-snap-type: x mandatory;
  }

  .broker-ad {
    min-height: 112px;
    flex: 0 0 170px;
    scroll-snap-align: start;
  }

  .broker-logo-image {
    height: 48px;
  }
}

.ticker-track {
  animation-duration: 48s;
}

.ticker-item small.positive {
  color: #42d69d;
}

.ticker-item small.negative {
  color: #ff7a7a;
}

.ticker-item small.neutral {
  color: #bdbdbd;
}

.broker-ad-item {
  min-width: 0;
}

.broker-ad {
  width: 100%;
  height: 100%;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.broker-ad:hover {
  border-color: var(--line-strong);
  background: #e7e7e7;
  transform: none;
}

.broker-ad:active {
  background: #dedede;
}

.broker-ad:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.broker-logo.has-image {
  width: 74px;
  padding: 8px;
  border-radius: 10px;
  background: #fff !important;
}

.broker-logo.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.table-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-source:hover {
  color: var(--text);
}

.table-source .icon {
  width: 12px;
  height: 12px;
}

.rating-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: min(90dvh, 900px);
  border-radius: 16px;
  background: #f7f7f5;
}

.rating-dialog .dialog-body {
  padding: 32px;
}

.rating-header {
  padding-inline-end: 44px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.rating-logo {
  width: 96px;
  height: 96px;
  padding: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.rating-logo img {
  display: block;
  width: 100%;
  height: 62px;
  object-fit: contain;
}

.rating-logo img[hidden],
.rating-logo span[hidden] {
  display: none;
}

.rating-logo span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.rating-identity {
  min-width: 0;
}

.rating-identity h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;
}

.rating-identity > p:last-of-type {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.rating-identity .dialog-tags {
  margin: 14px 0 0;
  flex-wrap: wrap;
}

.rating-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rating-total > span {
  color: var(--muted);
  font-size: 10px;
}

.rating-total > div {
  margin-block: 4px 8px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.rating-total strong {
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -3px;
}

.rating-total small {
  color: var(--muted);
  font-size: 12px;
}

.rating-total b {
  min-width: 38px;
  padding: 4px 8px;
  border: 1px solid var(--text);
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
}

.rating-overview {
  margin-block-start: 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f0f0ed;
  overflow: hidden;
}

.radar-panel {
  min-width: 0;
  padding: 20px;
  border-inline-end: 1px solid var(--line);
}

.rating-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rating-section-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.rating-section-head > span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.4px;
}

.rating-radar {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
}

.radar-grid {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.radar-value {
  fill: rgba(27, 27, 27, 0.12);
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.radar-labels {
  fill: var(--muted);
  font-size: 9px;
}

.radar-score {
  fill: var(--text);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
}

.rating-dimensions {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.rating-dimensions > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.rating-dimensions strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.rating-dimensions .metric-track {
  height: 5px;
  grid-column: 1 / -1;
  background: var(--line);
}

.public-profile {
  margin-block-start: 24px;
}

.public-profile .rating-section-head {
  margin-block-end: 14px;
}

.public-profile .dialog-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f0f0ed;
}

.public-profile .dialog-facts > div {
  min-width: 0;
  padding: 16px;
  border: 0;
  border-inline-end: 1px solid var(--line);
  border-block-end: 1px solid var(--line);
}

.public-profile .dialog-facts > div:nth-child(2n) {
  border-inline-end: 0;
}

.public-profile .dialog-facts > div:nth-last-child(-n+2) {
  border-block-end: 0;
}

.public-profile .dialog-facts strong {
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#dialog-source {
  margin-block-start: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#dialog-source .icon {
  width: 13px;
  height: 13px;
}

@media (max-width: 760px) {
  .rating-dialog .dialog-body {
    padding: 24px;
  }

  .rating-header {
    padding-inline-end: 28px;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }

  .rating-logo {
    width: 72px;
    height: 72px;
    padding: 10px;
  }

  .rating-logo img {
    height: 48px;
  }

  .rating-identity h1 {
    font-size: 26px;
  }

  .rating-total {
    grid-column: 1 / -1;
    padding-block-start: 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-block-start: 1px solid var(--line);
  }

  .rating-total > div {
    margin: 0;
  }

  .rating-total strong {
    font-size: 40px;
  }

  .rating-overview {
    grid-template-columns: 1fr;
  }

  .radar-panel {
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }

  .public-profile .dialog-facts {
    grid-template-columns: 1fr;
  }

  .public-profile .dialog-facts > div,
  .public-profile .dialog-facts > div:nth-child(2n),
  .public-profile .dialog-facts > div:nth-last-child(-n+2) {
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }

  .public-profile .dialog-facts > div:last-child {
    border-block-end: 0;
  }
}

@media (max-width: 600px) {
  .broker-ad-item {
    flex: 0 0 170px;
    scroll-snap-align: start;
  }

  .broker-ad {
    min-height: 112px;
    flex: initial;
  }

  .rating-dialog .dialog-body {
    padding: 20px;
  }

  .rating-identity h1 {
    font-size: 23px;
  }

  .rating-identity .eyebrow {
    font-size: 7px;
  }

  .rating-dimensions {
    padding: 22px 18px;
  }
}

.rankings-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 24px;
}

.rankings-content .ranking-panel {
  min-width: 0;
}

.rankings-content .ranking-toolbar {
  padding: 18px;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.rankings-content .preset-group {
  width: 100%;
}

.rankings-content .preset {
  min-width: 0;
  flex: 1;
  padding-inline: 8px;
  font-size: 10px;
}

.rankings-content .method-link {
  align-self: flex-end;
}

.rankings-content .filters {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rankings-content .filter-control,
.rankings-content .filter-control select {
  width: 100%;
  min-width: 0;
}

.rankings-content .table-search {
  grid-column: 1 / -1;
}

.rankings-content .table-search input {
  width: 100%;
}

.rankings-content .reset-button {
  grid-column: 1 / -1;
  justify-self: end;
}

.rankings-content .table-meta {
  padding: 0 18px 14px;
}

.rankings-content .table-meta > span {
  display: none;
}

.rankings-content .table-wrapper {
  max-block-size: 720px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.rankings-content #broker-table {
  width: 100%;
  min-inline-size: 0;
}

.rankings-content #broker-table thead {
  display: none;
}

.rankings-content #broker-table tbody {
  padding: 0 12px;
}

.rankings-content #broker-table tbody tr {
  position: relative;
  margin: 0;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-block-end: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.rankings-content #broker-table tbody tr:last-child {
  border-block-end: 0;
}

.rankings-content #broker-table tbody tr:hover,
.rankings-content #broker-table tbody tr:hover th[scope="row"],
.rankings-content #broker-table tbody tr:hover td {
  background: transparent;
}

.rankings-content #broker-table .rank-cell {
  position: static;
  padding: 0;
  border: 0;
}

.rankings-content #broker-table .broker-cell {
  position: static;
  grid-column: auto;
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
}

.rankings-content #broker-table .broker-cell .broker-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 6px;
  border-radius: 8px;
  font-size: 11px;
}

.rankings-content #broker-table .broker-cell > span:last-child {
  min-width: 0;
}

.rankings-content #broker-table .broker-cell strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
}

.rankings-content #broker-table .broker-cell small {
  display: none;
}

.rankings-content #broker-table tbody td:nth-child(3) {
  padding: 0;
  display: block;
  border: 0;
}

.rankings-content #broker-table tbody td:nth-child(3)::before,
.rankings-content #broker-table tbody td:last-child::before {
  content: none;
}

.rankings-content #broker-table .score-value {
  font-size: 18px;
  letter-spacing: -0.5px;
}

.rankings-content #broker-table .score-track {
  display: none;
}

.rankings-content #broker-table tbody td:nth-child(4),
.rankings-content #broker-table tbody td:nth-child(5),
.rankings-content #broker-table tbody td:nth-child(6) {
  display: none;
}

.rankings-content #broker-table tbody td:last-child {
  grid-column: auto;
  padding: 0;
  display: block;
  border: 0;
}

.rankings-content #broker-table .details-button {
  width: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
  gap: 0;
  border: 0;
  border-radius: 8px;
  font-size: 0;
}

.rankings-content #broker-table .details-button .icon {
  width: 15px;
  height: 15px;
}

.rankings-content .table-footer {
  padding: 14px 18px;
  align-items: flex-start;
  line-height: 1.7;
}

.rankings-content .table-footer > span:last-child {
  display: none;
}

.news-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.news-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.news-header .eyebrow {
  margin-block-end: 8px;
}

.news-header h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1.5px;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.featured-news {
  margin: 0 24px;
  padding: 28px;
  display: block;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transition: background 180ms ease;
}

.featured-news:hover {
  background: #2b2b2b;
}

.featured-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #c7c7c7;
  font-size: 9px;
  letter-spacing: 0.6px;
}

.featured-news h3 {
  max-width: 660px;
  margin: 38px 0 16px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.7px;
}

.featured-news p {
  max-width: 640px;
  margin: 0;
  color: #c7c7c7;
  font-size: 12px;
  line-height: 1.8;
}

.news-read {
  margin-block-start: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-read .icon {
  width: 14px;
  height: 14px;
}

.news-list {
  padding: 0 24px;
}

.news-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 16px;
  border-block-end: 1px solid var(--line);
  color: var(--text);
}

.news-item:last-child {
  border-block-end: 0;
}

.news-item time {
  padding-block-start: 3px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.news-category {
  display: block;
  margin-block-end: 6px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.5px;
}

.news-item h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.news-item > .icon {
  width: 14px;
  height: 14px;
  margin-block-start: 4px;
  color: var(--muted);
}

.news-item:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-item:hover > .icon {
  color: var(--text);
}

.news-footer {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-block-start: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

.news-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-footer .icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 1000px) {
  .rankings-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .rankings-content .table-wrapper {
    max-block-size: 640px;
  }
}

@media (max-width: 600px) {
  .rankings-content {
    gap: 20px;
  }

  .rankings-content .ranking-toolbar {
    padding: 16px;
  }

  .news-header {
    padding: 20px;
    align-items: flex-start;
    gap: 16px;
  }

  .news-header h2 {
    font-size: 28px;
  }

  .news-date {
    font-size: 8px;
  }

  .featured-news {
    margin: 0 16px;
    padding: 22px;
  }

  .featured-news h3 {
    margin-block-start: 28px;
  }

  .news-list {
    padding: 0 16px;
  }

  .news-item {
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 16px 0;
  }

  .news-item h3 {
    font-size: 13px;
  }

  .news-footer {
    padding: 16px;
    flex-wrap: wrap;
  }
}

.rankings-content #broker-table tbody {
  padding: 10px;
}

.rankings-content #broker-table tbody tr {
  margin: 0 0 10px;
  padding: 12px;
  grid-template-columns: minmax(0, 1fr) auto 36px;
  grid-template-rows: auto auto auto;
  gap: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4f4f2;
}

.rankings-content #broker-table tbody tr:last-child {
  margin-block-end: 0;
  border-block-end: 1px solid var(--line);
}

.rankings-content #broker-table tbody tr:hover {
  border-color: var(--line-strong);
  background: #efefec;
}

.rankings-content #broker-table .broker-cell {
  grid-column: 1;
  grid-row: 1 / 3;
  gap: 12px;
}

.rankings-content #broker-table .broker-cell .broker-logo,
.rankings-content #broker-table .broker-cell .broker-logo.has-image {
  width: 84px;
  height: 56px;
  flex: 0 0 84px;
  padding: 5px;
  border-radius: 8px;
}

.rankings-content #broker-table .broker-cell strong {
  font-size: 13px;
  line-height: 1.4;
}

.rankings-content #broker-table .rank-cell {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: end;
}

.rankings-content #broker-table .rank-badge,
.rankings-content #broker-table .rank-one,
.rankings-content #broker-table .rank-two,
.rankings-content #broker-table .rank-three {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: #e8ddbd;
  color: #584716;
  font-size: 11px;
  font-weight: 600;
}

.rankings-content #broker-table tbody td:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.rankings-content #broker-table tbody td:nth-child(3)::after {
  content: "演示评分";
  color: var(--muted);
  font-size: 8px;
}

.rankings-content #broker-table .score-value {
  padding-inline: 2px;
  border-block-end: 3px solid #dcbf6f;
  font-size: 20px;
  line-height: 1.1;
}

.rankings-content #broker-table tbody td:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 3;
  padding: 0;
  display: block;
  border: 0;
}

.rankings-content #broker-table tbody td:nth-child(4)::before,
.rankings-content #broker-table tbody td:nth-child(5)::before {
  content: none;
}

.rankings-content #broker-table .status-pill {
  min-height: 20px;
  padding: 2px 7px;
  border: 0;
  border-radius: 4px;
  background: #e3e3df;
  color: var(--muted);
  font-size: 8px;
}

.rankings-content #broker-table tbody td:nth-child(5) {
  grid-column: 3;
  grid-row: 3;
  align-self: center;
  padding: 0;
  display: block;
  border: 0;
  color: var(--muted);
  font-size: 8px;
  text-align: end;
}

.rankings-content #broker-table tbody td:last-child {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
}

.rankings-content #broker-table .details-button {
  width: 36px;
  min-height: 36px;
  background: var(--text);
  color: var(--bg);
}

@media (max-width: 420px) {
  .rankings-content #broker-table .broker-cell .broker-logo,
  .rankings-content #broker-table .broker-cell .broker-logo.has-image {
    width: 72px;
    flex-basis: 72px;
  }

  .rankings-content #broker-table .broker-cell {
    gap: 8px;
  }
}

