:root {
  --ink: #020a13;
  --ink-2: #061522;
  --panel: rgba(6, 23, 38, .94);
  --panel-2: rgba(9, 31, 50, .92);
  --surface-high: rgba(10, 34, 54, .96);
  --surface-mid: rgba(6, 24, 40, .94);
  --surface-low: rgba(4, 17, 29, .9);
  --line: rgba(229, 169, 61, .3);
  --line-cool: rgba(111, 159, 194, .24);
  --line-soft: rgba(111, 159, 194, .13);
  --gold: #e6a93d;
  --gold-2: #f5cd78;
  --cream: #f7ecdc;
  --text: #d1dbe5;
  --muted: #8ca0b4;
  --shadow-panel: 0 18px 44px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .035);
  --shadow-featured: 0 26px 70px rgba(0, 0, 0, .38), 0 0 0 1px rgba(229, 169, 61, .045), inset 0 1px rgba(255, 255, 255, .055);
  --shadow-control: 0 8px 20px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035);
  --glow-gold: 0 0 28px rgba(229, 169, 61, .16);
  --radius: 12px;
}

body {
  background:
    radial-gradient(ellipse at 82% -8%, rgba(39, 112, 151, .2), transparent 35rem),
    radial-gradient(ellipse at 10% 38%, rgba(196, 125, 22, .075), transparent 42rem),
    radial-gradient(ellipse at 58% 105%, rgba(27, 85, 120, .13), transparent 42rem),
    linear-gradient(180deg, #020b15 0%, #03111d 48%, #020a13 100%);
  color: var(--text);
  font-size: 14.5px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(117, 160, 191, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 160, 191, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 78%, transparent);
}

::selection {
  color: #07111d;
  background: var(--gold-2);
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.topbar {
  border-bottom-color: rgba(229, 169, 61, .33);
  background:
    radial-gradient(circle at 13% 0%, rgba(229, 169, 61, .065), transparent 24rem),
    linear-gradient(180deg, rgba(3, 15, 27, .985), rgba(2, 11, 21, .97));
  box-shadow: 0 12px 34px rgba(0, 0, 0, .34), inset 0 -1px rgba(229, 169, 61, .055);
}

.brand img {
  filter: drop-shadow(0 0 11px rgba(229, 169, 61, .22));
}

.brand-word {
  color: #f4c86d;
  text-shadow: 0 0 22px rgba(229, 169, 61, .13);
}

.nav a {
  transition: color .18s ease, background .18s ease;
}

.nav a:hover {
  background: linear-gradient(180deg, transparent, rgba(229, 169, 61, .055));
}

.nav a.active {
  color: var(--cream);
  background: linear-gradient(180deg, transparent 30%, rgba(229, 169, 61, .085));
  text-shadow: 0 0 16px rgba(245, 205, 120, .22);
}

.nav a.active::after {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-2) 18%, var(--gold-2) 82%, transparent);
  box-shadow: 0 -4px 15px rgba(229, 169, 61, .35);
}

.global-search,
.toolbar input,
.toolbar select {
  border-color: rgba(111, 159, 194, .25);
  background:
    linear-gradient(180deg, rgba(10, 31, 49, .94), rgba(5, 20, 34, .96));
  box-shadow: var(--shadow-control);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.global-search:focus,
.toolbar input:focus,
.toolbar select:focus {
  border-color: rgba(245, 205, 120, .65);
  background: linear-gradient(180deg, rgba(12, 37, 57, .98), rgba(6, 23, 38, .98));
  box-shadow: 0 0 0 3px rgba(229, 169, 61, .075), 0 12px 28px rgba(0, 0, 0, .3);
}

.pro-button {
  border-color: rgba(255, 221, 143, .52);
  background: linear-gradient(145deg, #f7d57e 0%, #d99a32 48%, #a96b19 100%);
  box-shadow: 0 8px 24px rgba(197, 126, 28, .24), inset 0 1px rgba(255, 255, 255, .4);
}

.account-button {
  background: radial-gradient(circle at 50% 25%, rgba(229, 169, 61, .12), rgba(3, 15, 27, .92));
  box-shadow: var(--shadow-control);
}

.ticker {
  border-bottom-color: rgba(111, 159, 194, .2);
  background: linear-gradient(90deg, #020a13, #051522 48%, #020a13);
  box-shadow: inset 0 -1px rgba(255, 255, 255, .018);
}

.tick {
  border-right-color: rgba(111, 159, 194, .18);
}

.page {
  padding-top: 20px;
}

.panel,
.hero,
.stat-strip,
.trust-strip,
.profile-kpi-strip {
  position: relative;
  border-color: rgba(111, 159, 194, .24);
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 93, 128, .09), transparent 23rem),
    linear-gradient(145deg, rgba(8, 29, 47, .97), rgba(3, 15, 27, .975));
  box-shadow: var(--shadow-panel);
}

.panel,
.stat-strip,
.trust-strip,
.profile-kpi-strip {
  overflow: hidden;
}

.panel::before,
.stat-strip::before,
.trust-strip::before,
.profile-kpi-strip::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(245, 205, 120, .42), transparent);
  opacity: .48;
}

.hero {
  border-color: rgba(229, 169, 61, .24);
  background:
    radial-gradient(circle at 87% 23%, rgba(229, 169, 61, .105), transparent 18rem),
    radial-gradient(circle at 72% 35%, rgba(36, 105, 144, .18), transparent 31rem),
    linear-gradient(138deg, rgba(8, 30, 48, .985), rgba(2, 13, 24, .985));
  box-shadow: var(--shadow-featured);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .03), transparent 27%),
    linear-gradient(to bottom, transparent 68%, rgba(0, 0, 0, .18));
}

.hero::before,
.network-bg::before {
  opacity: .72;
  filter: drop-shadow(0 0 8px rgba(229, 169, 61, .08));
}

.hero-copy,
.hero-card,
.profile-photo,
.profile-title,
.profile-score {
  position: relative;
  z-index: 2;
}

.hero-card {
  border-color: rgba(229, 169, 61, .32);
  background:
    radial-gradient(circle at 86% 8%, rgba(229, 169, 61, .11), transparent 13rem),
    linear-gradient(145deg, rgba(9, 31, 49, .91), rgba(3, 15, 27, .94));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(12px);
}

h1 {
  color: #f8edde;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .4);
}

h1 em {
  color: #efb448;
  text-shadow: 0 0 28px rgba(229, 169, 61, .16);
}

.lead {
  color: #c0cbd6;
}

.btn {
  border-color: rgba(229, 169, 61, .34);
  background: linear-gradient(180deg, rgba(12, 37, 57, .76), rgba(5, 20, 34, .84));
  box-shadow: var(--shadow-control);
  transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease, filter .17s ease;
}

.btn.primary {
  border-color: rgba(255, 222, 146, .65);
  background: linear-gradient(145deg, #f7d579 0%, #dfa13a 52%, #b8751e 100%);
  box-shadow: 0 12px 30px rgba(189, 117, 23, .24), inset 0 1px rgba(255, 255, 255, .42);
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  border-color: rgba(245, 205, 120, .7);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3), 0 0 0 1px rgba(229, 169, 61, .1);
}

.btn:active {
  transform: translateY(1px);
}

.stat-strip {
  background:
    radial-gradient(circle at 10% 0%, rgba(229, 169, 61, .075), transparent 19rem),
    linear-gradient(100deg, rgba(7, 27, 44, .98), rgba(4, 18, 31, .98));
}

.stat {
  position: relative;
  border-right-color: var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), rgba(255, 255, 255, 0));
  transition: background .18s ease;
}

.stat:hover {
  background: linear-gradient(180deg, rgba(229, 169, 61, .075), rgba(229, 169, 61, .018));
}

.stat strong {
  color: var(--gold-2);
  text-shadow: 0 0 20px rgba(229, 169, 61, .12);
}

.content-grid,
.stack,
.profile-chart-grid,
.profile-overview-grid,
.market-profile-grid,
.performance-groups {
  gap: 14px;
}

.content-grid,
.profile-panel {
  margin-top: 14px;
}

.panel {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.panel:hover {
  border-color: rgba(132, 174, 204, .34);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .31), inset 0 1px rgba(255, 255, 255, .04);
}

.panel-head {
  min-height: 44px;
  padding-inline: 16px;
  border-bottom-color: rgba(111, 159, 194, .2);
  background:
    linear-gradient(90deg, rgba(229, 169, 61, .045), transparent 22%),
    linear-gradient(180deg, rgba(12, 37, 57, .62), rgba(5, 20, 34, .38));
  box-shadow: inset 0 -1px rgba(0, 0, 0, .16);
}

.panel-head h2,
.panel-head h3 {
  color: #efb448;
  letter-spacing: .09em;
}

.panel-link {
  color: var(--gold-2);
  opacity: .9;
}

.panel-body {
  padding: 18px;
}

.table-wrap {
  background: rgba(2, 13, 24, .22);
  scrollbar-color: rgba(229, 169, 61, .42) rgba(4, 17, 29, .9);
}

th {
  padding: 12px 13px;
  color: #9fb4c7;
  border-bottom-color: rgba(229, 169, 61, .2);
  background:
    linear-gradient(180deg, rgba(13, 38, 58, .99), rgba(6, 23, 38, .99));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 5px 16px rgba(0, 0, 0, .15);
}

td {
  padding: 11px 13px;
  border-bottom-color: rgba(111, 159, 194, .12);
  color: #d1dbe4;
  font-size: 10.25px;
  transition: background .17s ease, color .17s ease, box-shadow .17s ease;
}

tbody tr:nth-child(even) td {
  background: rgba(10, 34, 53, .17);
}

tbody tr:hover td {
  color: #e4ebf1;
  background: linear-gradient(90deg, rgba(229, 169, 61, .095), rgba(34, 89, 122, .16));
}

tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 var(--gold);
}

td.entity,
.list-name {
  color: var(--cream);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .22);
}

.player-cell img {
  border: 1px solid rgba(245, 205, 120, .54);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .36), 0 0 0 3px rgba(229, 169, 61, .04);
}

.league-cell img,
.profile-club-line img {
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.table-footer {
  border-top: 1px solid rgba(111, 159, 194, .11);
  background: linear-gradient(180deg, rgba(5, 20, 34, .4), rgba(2, 13, 24, .68));
}

.mini-card,
.metric-card,
.field {
  border-color: rgba(111, 159, 194, .2);
  background:
    radial-gradient(circle at 100% 0%, rgba(33, 91, 124, .075), transparent 12rem),
    linear-gradient(145deg, rgba(9, 31, 49, .86), rgba(4, 17, 29, .91));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 8px 20px rgba(0, 0, 0, .13);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.mini-card:hover,
.metric-card:hover {
  border-color: rgba(229, 169, 61, .34);
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 169, 61, .09), transparent 12rem),
    linear-gradient(145deg, rgba(11, 36, 55, .93), rgba(5, 20, 34, .95));
}

.mini-card strong {
  color: var(--gold-2);
}

.metric-card strong {
  color: #54e079;
  text-shadow: 0 0 17px rgba(70, 214, 107, .11);
}

.list-row {
  border-bottom-color: rgba(111, 159, 194, .13);
  transition: background .17s ease, box-shadow .17s ease;
}

.list-row:nth-child(even) {
  background: rgba(10, 34, 53, .13);
}

.list-row:hover {
  background: linear-gradient(90deg, rgba(229, 169, 61, .085), rgba(34, 89, 122, .1));
  box-shadow: inset 3px 0 var(--gold);
}

.profile-hero {
  min-height: 226px;
}

.profile-photo {
  border: 1px solid rgba(245, 205, 120, .48);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 30%, rgba(81, 143, 178, .52), transparent 44%),
    radial-gradient(circle at 50% 45%, #17374d, #061521 70%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, .42),
    0 0 38px rgba(54, 125, 164, .2),
    inset 0 1px rgba(255, 255, 255, .12);
}

.profile-photo img {
  filter: saturate(1.02) contrast(1.025);
}

.player-intelligence-hero .profile-photo {
  border-color: rgba(245, 205, 120, .58);
  border-radius: 16px 16px 0 0;
  box-shadow:
    0 26px 52px rgba(0, 0, 0, .42),
    0 0 64px rgba(42, 116, 157, .25),
    0 0 0 5px rgba(229, 169, 61, .035);
}

.profile-title h1 {
  color: #fbf0df;
  text-shadow: 0 5px 28px rgba(0, 0, 0, .42);
}

.profile-club-line {
  color: #f1e7da;
}

.profile-score {
  border-color: rgba(229, 169, 61, .38);
  background:
    radial-gradient(circle at 50% 42%, rgba(229, 169, 61, .13), transparent 57%),
    linear-gradient(145deg, rgba(9, 31, 49, .92), rgba(3, 15, 27, .95));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32), var(--glow-gold), inset 0 1px rgba(255, 255, 255, .055);
  backdrop-filter: blur(10px);
}

.profile-score strong {
  color: #f7cb6d;
  text-shadow: 0 0 28px rgba(229, 169, 61, .26);
}

.profile-kpi-strip {
  border-color: rgba(111, 159, 194, .25);
  background:
    radial-gradient(circle at 13% 0%, rgba(70, 214, 107, .065), transparent 18rem),
    radial-gradient(circle at 87% 0%, rgba(229, 169, 61, .075), transparent 20rem),
    linear-gradient(145deg, rgba(8, 30, 48, .98), rgba(3, 15, 27, .98));
  box-shadow: var(--shadow-featured);
}

.profile-kpi {
  position: relative;
  border-right-color: rgba(111, 159, 194, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent);
}

.profile-kpi:first-child {
  background: linear-gradient(180deg, rgba(70, 214, 107, .07), rgba(70, 214, 107, .012));
}

.profile-kpi:nth-child(3),
.profile-kpi:last-child {
  background: linear-gradient(180deg, rgba(229, 169, 61, .055), rgba(229, 169, 61, .01));
}

.profile-kpi strong {
  text-shadow: 0 0 18px rgba(229, 169, 61, .11);
}

.profile-kpi:first-child strong,
.profile-kpi:nth-child(2) strong {
  text-shadow: 0 0 18px rgba(70, 214, 107, .13);
}

.profile-disclaimer,
.profile-access-note,
.profile-context-note {
  border-color: rgba(111, 159, 194, .22);
  background:
    linear-gradient(90deg, rgba(229, 169, 61, .038), transparent 35%),
    rgba(5, 21, 36, .82);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.profile-tabs {
  border-color: rgba(111, 159, 194, .24);
  background: linear-gradient(180deg, rgba(7, 27, 44, .97), rgba(3, 15, 27, .97));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .29), inset 0 1px rgba(255, 255, 255, .025);
}

.profile-tabs button {
  border-right-color: rgba(111, 159, 194, .17);
  transition: color .17s ease, background .17s ease, box-shadow .17s ease;
}

.profile-tabs button:hover,
.profile-tabs button.active {
  color: #f5cc75;
  background:
    linear-gradient(180deg, rgba(229, 169, 61, .105), rgba(229, 169, 61, .035));
  box-shadow: inset 0 -3px var(--gold), 0 0 24px rgba(229, 169, 61, .055);
}

.form-chart,
.spider-chart,
.profile-bubble-chart,
.profile-area-chart,
.profile-bar-chart,
.profile-heatmap {
  border-radius: 10px;
}

.form-chart svg,
.spider-chart svg,
.profile-bubble-chart svg,
.profile-area-chart svg {
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 48%, rgba(32, 89, 123, .11), transparent 62%),
    linear-gradient(180deg, rgba(2, 13, 24, .18), rgba(2, 13, 24, .44));
}

.form-chart .form-line-shadow {
  stroke: rgba(229, 169, 61, .24);
}

.form-chart .form-line,
.profile-area-chart polyline {
  filter: drop-shadow(0 0 6px rgba(229, 169, 61, .3));
}

.spider-grid {
  stroke: rgba(126, 166, 195, .25);
}

.spider-axis {
  stroke: rgba(126, 166, 195, .2);
}

.spider-value {
  fill: rgba(229, 169, 61, .22);
  filter: drop-shadow(0 0 13px rgba(229, 169, 61, .24));
}

.profile-bar-track {
  height: 10px;
  border-color: rgba(111, 159, 194, .18);
  background: linear-gradient(180deg, rgba(2, 13, 24, .8), rgba(14, 40, 59, .62));
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .3);
}

.profile-bar-track i {
  background: linear-gradient(90deg, #c98625, #efb64c 60%, #f8d683);
  box-shadow: 0 0 15px rgba(229, 169, 61, .27), inset 0 1px rgba(255, 255, 255, .3);
}

.profile-heat-cell {
  border-color: rgba(229, 169, 61, .26);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 205, 120, calc(var(--heat) * .35)), transparent 8rem),
    linear-gradient(145deg, rgba(229, 169, 61, var(--heat)), rgba(7, 27, 44, .82));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 10px 22px rgba(0, 0, 0, .14);
}

.profile-bubble-chart .bubble-axis {
  stroke: rgba(145, 182, 208, .36);
}

.profile-bubble-chart .bubble-grid {
  stroke: rgba(145, 182, 208, .16);
}

.profile-bubble-chart circle {
  fill: rgba(229, 169, 61, .24);
  stroke: #f4c86c;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25));
}

.profile-bubble-chart .bubble-point:hover circle,
.profile-bubble-chart .bubble-point:focus circle {
  fill: rgba(248, 207, 119, .66);
  stroke: #ffe6a6;
  filter: drop-shadow(0 0 10px rgba(246, 194, 92, .62));
}

.bubble-summary span {
  border-color: rgba(111, 159, 194, .22);
  background: linear-gradient(145deg, rgba(9, 31, 49, .82), rgba(4, 17, 29, .84));
  box-shadow: inset 0 1px rgba(255, 255, 255, .022);
}

.profile-area-chart polygon {
  fill: rgba(229, 169, 61, .18);
  filter: drop-shadow(0 8px 18px rgba(229, 169, 61, .07));
}

.chart-unavailable,
.empty-note {
  border-color: rgba(111, 159, 194, .2);
  color: #94a8ba;
  background:
    linear-gradient(110deg, rgba(32, 89, 123, .055), transparent 42%),
    rgba(4, 17, 29, .48);
}

.valuation-report {
  background:
    radial-gradient(circle at 8% 18%, rgba(229, 169, 61, .09), transparent 18rem),
    linear-gradient(145deg, rgba(9, 31, 49, .65), rgba(4, 17, 29, .5));
}

.valuation-range {
  color: #f6cd74;
  text-shadow: 0 0 28px rgba(229, 169, 61, .17);
}

.valuation-report.withheld .valuation-range {
  color: #a8bac9;
  text-shadow: none;
}

.premium-card {
  border-color: rgba(229, 169, 61, .4);
  background:
    radial-gradient(circle at 85% 12%, rgba(229, 169, 61, .14), transparent 14rem),
    linear-gradient(150deg, rgba(10, 34, 53, .98), rgba(3, 15, 27, .985));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .33), var(--glow-gold), inset 0 1px rgba(255, 255, 255, .045);
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(229, 169, 61, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 169, 61, .075) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 85% 22%, black, transparent 56%);
}

.premium-card > * {
  position: relative;
  z-index: 2;
}

.lock {
  border-color: rgba(245, 205, 120, .5);
  background:
    radial-gradient(circle at 50% 35%, rgba(229, 169, 61, .2), rgba(3, 15, 27, .9) 65%);
  box-shadow: 0 0 0 10px rgba(229, 169, 61, .025), 0 0 36px rgba(229, 169, 61, .19), inset 0 1px rgba(255, 255, 255, .08);
}

.trust-strip {
  background:
    linear-gradient(90deg, rgba(229, 169, 61, .035), transparent 17%, transparent 83%, rgba(229, 169, 61, .035)),
    linear-gradient(145deg, rgba(7, 27, 44, .95), rgba(3, 15, 27, .95));
}

.trust-icon {
  border-color: rgba(229, 169, 61, .28);
  background: radial-gradient(circle, rgba(229, 169, 61, .09), transparent 68%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.footer {
  border-top-color: rgba(229, 169, 61, .2);
  background:
    radial-gradient(circle at 12% 0%, rgba(229, 169, 61, .055), transparent 23rem),
    linear-gradient(180deg, #020d18, #010811);
  box-shadow: inset 0 1px rgba(255, 255, 255, .018);
}

.footer-brand {
  color: #edb44a;
  text-shadow: 0 0 25px rgba(229, 169, 61, .13);
}

.homepage-spotlight {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(111, 159, 194, .28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 10%, rgba(229, 169, 61, .08), transparent 22rem),
    linear-gradient(145deg, rgba(7, 28, 46, .97), rgba(2, 13, 24, .99));
  box-shadow: var(--shadow-featured);
}

.spotlight-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 3px 12px;
}

.spotlight-heading h2 {
  margin: 5px 0 0;
  color: var(--cream);
  font: 600 24px/1 var(--serif);
}

.spotlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  gap: 10px;
}

.spotlight-lead {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(229, 169, 61, .34);
  border-radius: 10px;
  background: #061524;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .34);
}

.spotlight-lead > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
  transition: transform .35s ease;
}

.spotlight-lead:hover > img {
  transform: scale(1.035);
}

.spotlight-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 12, 22, .96) 0%, rgba(2, 12, 22, .72) 42%, rgba(2, 12, 22, .1) 76%),
    linear-gradient(0deg, rgba(2, 12, 22, .95), transparent 58%);
}

.spotlight-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding: 32px;
}

.spotlight-kicker,
.spotlight-story small {
  color: var(--gold-2);
  font: 500 9px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spotlight-copy > strong {
  color: #fff5e7;
  font: 600 clamp(26px, 3vw, 45px)/1.08 var(--serif);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .7);
}

.spotlight-copy > small {
  max-width: 640px;
  color: #c2ced9;
  font-size: 13px;
  line-height: 1.55;
}

.spotlight-copy > em {
  color: var(--gold-2);
  font: 500 10px/1 var(--mono);
  font-style: normal;
  text-transform: uppercase;
}

.spotlight-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spotlight-metrics > span {
  display: grid;
  gap: 4px;
  min-width: 112px;
  padding: 9px 11px;
  border: 1px solid rgba(111, 159, 194, .26);
  border-radius: 7px;
  color: #91a5b7;
  background: rgba(3, 16, 28, .78);
  font: 8px/1.2 var(--mono);
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.spotlight-metrics b {
  color: #57e17d;
  font: 500 17px/1 var(--mono);
  text-transform: none;
}

.spotlight-supporting {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.spotlight-story {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 159, 194, .22);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(10, 34, 53, .92), rgba(3, 16, 28, .97));
  transition: transform .18s ease, border-color .18s ease;
}

.spotlight-story:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 205, 120, .5);
}

.spotlight-story img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  object-position: center top;
  background: #061524;
}

.spotlight-story > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px;
}

.spotlight-story strong {
  overflow: hidden;
  margin-top: 7px;
  color: var(--cream);
  font: 600 14px/1.2 var(--sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-story b {
  margin-top: 8px;
  color: #54e079;
  font: 500 17px/1 var(--mono);
}

.spotlight-story em {
  margin-top: 6px;
  color: #8298aa;
  font: 8px/1.35 var(--mono);
  font-style: normal;
}

.reports-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 14px;
  min-height: 300px;
  padding: 20px;
  border: 1px solid rgba(111, 159, 194, .28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 24% 22%, rgba(30, 102, 145, .2), transparent 34rem),
    linear-gradient(145deg, rgba(7, 28, 46, .97), rgba(2, 13, 24, .99));
  box-shadow: var(--shadow-featured);
}

.reports-hero-copy,
.featured-report {
  position: relative;
  z-index: 1;
}

.reports-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
}

.reports-hero h1 {
  margin: 8px 0 12px;
  color: var(--cream);
  font: 600 clamp(34px, 4vw, 58px)/1.02 var(--serif);
}

.reports-hero h1 em {
  color: var(--gold-2);
  font-style: normal;
}

.reports-hero .lead {
  max-width: 660px;
  margin: 0;
  color: #b6c3d0;
  font-size: 14px;
  line-height: 1.65;
}

.reports-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: #91a6b8;
  font: 9px/1.3 var(--mono);
  text-transform: uppercase;
}

.reports-principles span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.reports-principles b {
  color: var(--gold-2);
  font-size: 14px;
}

.featured-report {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(229, 169, 61, .38);
  border-radius: 10px;
  color: inherit;
  background:
    radial-gradient(circle at 84% 18%, rgba(229, 169, 61, .16), transparent 15rem),
    linear-gradient(145deg, rgba(10, 34, 53, .96), rgba(2, 14, 25, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 18px 42px rgba(0, 0, 0, .26);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.featured-report:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 205, 120, .68);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .34), 0 0 34px rgba(229, 169, 61, .09);
}

.featured-report-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.featured-report-title span {
  display: grid;
  gap: 7px;
}

.featured-report-title strong {
  color: var(--cream);
  font: 600 24px/1.1 var(--serif);
}

.featured-report-title small,
.featured-report p {
  color: #91a5b7;
  font: 9px/1.55 var(--mono);
}

.featured-report-title > b {
  color: var(--gold-2);
  font: 500 22px/1 var(--mono);
}

.featured-report p {
  margin: 18px 0;
}

.featured-report dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 0 0;
  border-top: 1px solid rgba(111, 159, 194, .2);
  border-bottom: 1px solid rgba(111, 159, 194, .2);
}

.featured-report dl div {
  min-width: 0;
  padding: 13px 10px 13px 0;
}

.featured-report dt {
  color: #7890a4;
  font: 8px/1.3 var(--mono);
  text-transform: uppercase;
}

.featured-report dd {
  overflow: hidden;
  margin: 6px 0 0;
  color: var(--cream);
  font: 500 11px/1.35 var(--mono);
  text-overflow: ellipsis;
}

.featured-report-cta {
  margin-top: 15px;
  color: var(--gold-2);
  font: 500 9px/1 var(--mono);
  text-align: right;
  text-transform: uppercase;
}

.report-title-link {
  color: var(--cream);
}

.report-title-link:hover {
  color: var(--gold-2);
}

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

.report-route-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(111, 159, 194, .22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0 0, rgba(229, 169, 61, .09), transparent 58%),
    linear-gradient(145deg, rgba(10, 34, 53, .91), rgba(3, 16, 28, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 12px 26px rgba(0, 0, 0, .16);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.report-route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 205, 120, .5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .25), 0 0 24px rgba(229, 169, 61, .07);
}

.report-route-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(229, 169, 61, .38);
  border-radius: 50%;
  color: var(--gold-2);
  background: radial-gradient(circle, rgba(229, 169, 61, .15), rgba(3, 15, 27, .9));
  font: 500 13px/1 var(--mono);
  box-shadow: 0 0 22px rgba(229, 169, 61, .11);
}

.report-route-card > span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.report-route-card .label,
.report-insight .label {
  color: #efb448;
  font: 500 9px/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.report-route-card strong {
  color: var(--cream);
  font: 600 16px/1.1 var(--serif);
}

.report-route-card small {
  color: #92a6b8;
  font: 9px/1.4 var(--mono);
}

.report-route-card b {
  color: var(--gold-2);
  font: 500 16px/1 var(--mono);
}

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

.report-insight {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 16px;
  border: 1px solid rgba(111, 159, 194, .2);
  border-radius: 10px;
  background:
    linear-gradient(130deg, rgba(229, 169, 61, .055), transparent 45%),
    rgba(4, 18, 31, .78);
  transition: border-color .18s ease, background .18s ease;
}

.report-insight:hover {
  border-color: rgba(229, 169, 61, .38);
  background:
    linear-gradient(130deg, rgba(229, 169, 61, .1), transparent 48%),
    rgba(8, 28, 45, .88);
}

.report-insight strong {
  color: var(--cream);
  font: 600 15px/1.25 var(--sans);
}

.report-insight em {
  color: #54e079;
  font: 500 23px/1 var(--mono);
  font-style: normal;
  text-shadow: 0 0 18px rgba(70, 214, 107, .15);
}

.report-insight small {
  color: #8fa4b6;
  font: 9px/1.5 var(--mono);
}

.report-signal-chart {
  display: grid;
  gap: 16px;
}

.signal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #91a5b7;
  font: 8px/1 var(--mono);
  text-transform: uppercase;
}

.signal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.signal-legend i {
  display: inline-block;
  width: 15px;
  height: 3px;
  border-radius: 4px;
}

.signal-legend i.ares {
  background: #4ddd78;
  box-shadow: 0 0 8px rgba(70, 214, 107, .3);
}

.signal-legend i.market {
  background: #efb448;
  box-shadow: 0 0 8px rgba(229, 169, 61, .3);
}

.signal-pair {
  display: grid;
  gap: 7px;
}

.signal-pair-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dce4eb;
  font: 9px/1.3 var(--mono);
}

.signal-pair-head span {
  color: #8fa5b8;
}

.signal-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(111, 159, 194, .18);
  border-radius: 7px;
  background: rgba(2, 12, 22, .74);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3);
}

.signal-bar {
  position: absolute;
  left: 0;
  height: 4px;
  border-radius: 4px;
}

.signal-bar.ares {
  top: 1px;
  background: linear-gradient(90deg, #248b4b, #4ddd78);
}

.signal-bar.market {
  bottom: 1px;
  background: linear-gradient(90deg, #a96b19, #efb448);
}

.panel-cta {
  color: var(--gold-2);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.formula-sections {
  display: grid;
  gap: 10px;
}

.formula-highlights .intelligence-metrics {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.formula-highlights .metric-card {
  min-height: 92px;
}

.formula-highlights .metric-card strong {
  font-size: clamp(16px, 1.35vw, 22px);
}

.formula-summary-copy {
  margin: 0;
  color: #92a7b9;
  font: 9px/1.6 var(--font-mono);
}

.formula-section {
  overflow: hidden;
  border: 1px solid rgba(84, 133, 166, .24);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(8, 30, 49, .84), rgba(3, 17, 30, .9));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.formula-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--ares-gold-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(90deg, rgba(229, 169, 61, .085), rgba(229, 169, 61, .015) 45%, transparent);
}

.formula-section summary small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .035em;
}

.formula-section[open] summary {
  border-bottom: 1px solid rgba(84, 133, 166, .2);
}

.formula-section .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.locked-section-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.locked-section-list > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 3px 10px;
  align-items: center;
  min-height: 68px;
  padding: 13px 14px;
  border: 1px solid rgba(229, 169, 61, .18);
  border-radius: 9px;
  background: radial-gradient(circle at 0 0, rgba(229, 169, 61, .09), transparent 55%), rgba(3, 17, 29, .76);
}

.locked-section-list span {
  grid-row: 1 / 3;
  color: var(--ares-gold-bright);
  font-size: 20px;
}

.locked-section-list strong {
  color: var(--text);
  font-size: 12px;
}

.locked-section-list small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes ares-premium-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero,
  .stat-strip,
  .profile-kpi-strip,
  .profile-tabs,
  .content-grid {
    animation: ares-premium-rise .42s ease both;
  }

  .stat-strip,
  .profile-kpi-strip { animation-delay: .045s; }
  .profile-tabs { animation-delay: .07s; }
  .content-grid { animation-delay: .09s; }
}

@media (max-width: 820px) {
  body::before {
    opacity: .1;
    background-size: 52px 52px;
  }

  .page {
    padding-top: 12px;
  }

  .panel,
  .hero,
  .stat-strip,
  .trust-strip,
  .profile-kpi-strip {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .03);
  }

  .panel-body {
    padding: 15px;
  }

  .reports-hero {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .spotlight-layout {
    grid-template-columns: 1fr;
  }

  .spotlight-supporting {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .spotlight-story {
    grid-template-columns: 1fr;
  }

  .spotlight-story img {
    height: 150px;
  }

  .reports-hero-copy,
  .featured-report {
    padding: 16px;
  }

  .content-grid,
  .stack,
  .profile-chart-grid,
  .profile-overview-grid,
  .market-profile-grid,
  .performance-groups {
    gap: 10px;
  }

  .mini-card:hover,
  .metric-card:hover,
  .report-route-card:hover,
  .btn:hover {
    transform: none;
  }

  .report-route-grid,
  .report-insight-grid {
    grid-template-columns: 1fr;
  }

  .report-brief-table tbody tr:nth-child(n+7) {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 12.5px;
  }

  .hero {
    border-color: rgba(229, 169, 61, .2);
  }

  .reports-principles {
    display: grid;
  }

  .homepage-spotlight {
    padding: 10px;
  }

  .spotlight-heading {
    align-items: start;
  }

  .spotlight-lead {
    min-height: 530px;
  }

  .spotlight-shade {
    background: linear-gradient(0deg, rgba(2, 12, 22, .98) 0%, rgba(2, 12, 22, .78) 58%, rgba(2, 12, 22, .1) 100%);
  }

  .spotlight-copy {
    padding: 20px;
  }

  .spotlight-copy > strong {
    font-size: 28px;
  }

  .spotlight-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .spotlight-metrics > span {
    min-width: 0;
  }

  .spotlight-supporting {
    grid-template-columns: 1fr;
  }

  .spotlight-story {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .spotlight-story img {
    height: 132px;
  }

  .featured-report dl {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    box-shadow: 0 16px 32px rgba(0, 0, 0, .36), 0 0 30px rgba(54, 125, 164, .15);
  }

  th,
  td {
    padding-inline: 11px;
  }
}

.search-wrap {
  position: relative;
}

.global-entity-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  width: min(430px, calc(100vw - 24px));
  max-height: min(68vh, 560px);
  overflow: auto;
  border: 1px solid rgba(229, 169, 61, .34);
  border-radius: 10px;
  background: rgba(3, 16, 28, .99);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .52);
}

.global-entity-results[hidden] {
  display: none;
}

.global-result-type {
  padding: 9px 13px 6px;
  color: var(--gold-2);
  border-bottom: 1px solid rgba(111, 159, 194, .14);
  font: 600 8px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.global-entity-results section + section {
  border-top: 1px solid rgba(229, 169, 61, .2);
}

.global-entity-results a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 13px;
  color: var(--cream);
  border-bottom: 1px solid rgba(111, 159, 194, .11);
}

.global-entity-results a:hover,
.global-entity-results a:focus-visible {
  background: rgba(229, 169, 61, .09);
  outline: 0;
}

.global-entity-results a span {
  min-width: 0;
}

.global-entity-results a strong,
.global-entity-results a small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-entity-results a strong {
  color: var(--cream);
  font-size: 11px;
}

.global-entity-results a small {
  margin-top: 4px;
  color: var(--muted);
  font: 500 8px/1.3 var(--mono);
}

.global-entity-results a em {
  flex: 0 0 auto;
  color: var(--gold-2);
  font: 600 8px/1 var(--mono);
  font-style: normal;
  text-transform: uppercase;
}

.global-result-empty {
  padding: 18px 14px;
  color: var(--muted);
}

.global-result-footer {
  color: var(--gold-2) !important;
  background: rgba(229, 169, 61, .055);
  font: 600 8px/1.35 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.term-help {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: inherit;
  cursor: help;
}

.term-help > span {
  display: inline-grid;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  place-items: center;
  color: var(--gold-2);
  border: 1px solid rgba(229, 169, 61, .48);
  border-radius: 50%;
  font: 700 8px/1 var(--mono);
}

.term-help:hover,
.term-help:focus-visible,
.term-help[aria-expanded="true"] {
  color: var(--gold-2);
  outline: 0;
}

.term-popover {
  position: fixed;
  top: var(--term-top, 90px);
  left: var(--term-left, 12px);
  z-index: 140;
  width: min(320px, calc(100vw - 24px));
  padding: 17px;
  color: #c5d1dc;
  border: 1px solid rgba(229, 169, 61, .42);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 169, 61, .12), transparent 12rem),
    #061827;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .58);
}

.term-popover[hidden] {
  display: none;
}

.term-popover strong {
  display: block;
  padding-right: 28px;
  color: var(--cream);
  font: 600 17px/1.2 var(--serif);
}

.term-popover p {
  margin: 10px 0;
  line-height: 1.55;
}

.term-popover small {
  display: block;
  color: #8eb7d5;
  font: 500 9px/1.55 var(--mono);
}

.term-popover-close {
  position: absolute;
  top: 7px;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--gold-2);
  border: 1px solid rgba(229, 169, 61, .28);
  border-radius: 50%;
  background: rgba(2, 12, 22, .65);
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 520px) {
  .term-help {
    min-height: 28px;
    cursor: pointer;
  }

  .term-help > span {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .term-popover {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    padding: 18px;
    border-radius: 13px;
  }

  .formula-highlights .metric-grid,
  .formula-sections .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .formula-section .table-wrap {
    border-radius: 0 0 8px 8px;
  }

  .formula-section table.responsive {
    min-width: 620px;
  }

  .formula-section table.responsive th:nth-child(2),
  .formula-section table.responsive td:nth-child(2) {
    position: static;
    min-width: 92px;
    box-shadow: none;
  }

  .formula-section table.responsive th:first-child,
  .formula-section table.responsive td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 178px;
    max-width: 210px;
    white-space: normal;
    background: #061827;
    box-shadow: 1px 0 0 var(--line-cool), 10px 0 18px rgba(2, 12, 22, .18);
  }
}
