:root {
  --blue: #1376ff;
  --blue-2: #00d8ff;
  --cyan: #25d6d6;
  --gold: #ffb82e;
  --ink: #f5f8ff;
  --muted: #a2afc3;
  --line: rgba(139, 173, 209, 0.22);
  --panel: rgba(9, 23, 36, 0.84);
  --panel-2: rgba(13, 31, 48, 0.9);
  --soft: #071624;
  --green: #36d987;
  --red: #ff565e;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --player-side-width: minmax(330px, 360px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 76% 6%, rgba(0, 216, 255, 0.1), transparent 26%),
    radial-gradient(circle at 7% 18%, rgba(19, 118, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #03101a 0%, #051827 46%, #03101a 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.nav {
  display: grid;
  grid-template-columns: minmax(170px, 0.85fr) auto minmax(320px, 1fr);
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 14px;
  z-index: 100;
  margin: 18px 0 26px;
  padding: 16px 26px 16px 30px;
  border: 1px solid rgba(150, 194, 236, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(8, 24, 38, 0.74), rgba(4, 15, 25, 0.52)),
    radial-gradient(circle at 12% 0%, rgba(19, 118, 255, 0.18), transparent 38%),
    radial-gradient(circle at 80% 10%, rgba(0, 216, 255, 0.12), transparent 34%);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  justify-self: start;
  padding-left: 8px;
}

.brand-logo {
  display: block;
  width: min(157px, 100%);
  height: 35px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 216, 255, 0.16));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(28px, 3vw, 54px);
  color: #e7edf8;
  font-size: 14px;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 12px;
  min-width: 0;
}

.nav-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 181, 228, 0.28);
  border-radius: 12px;
  background: rgba(3, 13, 22, 0.62);
  color: #eaf4ff;
  padding: 0;
  cursor: pointer;
}

.nav-menu-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(37, 214, 214, 0.3));
}

.nav-menu-icon-close {
  display: none;
}

.site-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(390px, 100%);
  min-width: 0;
  gap: 8px;
}

.site-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(125, 181, 228, 0.24);
  border-radius: 12px;
  outline: none;
  padding: 0 14px;
  background: rgba(3, 13, 22, 0.62);
  color: #edf6ff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-search input::placeholder {
  color: #7f90a6;
  opacity: 1;
}

.site-search input:focus {
  border-color: rgba(37, 214, 214, 0.62);
  box-shadow:
    0 0 0 3px rgba(37, 214, 214, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  min-width: 94px;
  border: 1px solid rgba(37, 214, 214, 0.38);
  border-radius: 12px;
  background: rgba(0, 216, 255, 0.11);
  color: #e9fbff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.site-search button:hover,
.site-search button:focus-visible {
  border-color: rgba(37, 214, 214, 0.7);
  background: rgba(37, 214, 214, 0.18);
  box-shadow: 0 12px 30px rgba(0, 216, 255, 0.12);
  transform: translateY(-1px);
}

.site-search button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 130;
  display: grid;
  gap: 4px;
  max-height: min(420px, calc(100vh - 150px));
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(125, 181, 228, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 214, 214, 0.12), transparent 34%),
    rgba(4, 16, 27, 0.98);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.44);
}

.site-search-results[hidden] {
  display: none;
}

.site-search-result {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #dce8f8;
}

.site-search-result:hover,
.site-search-result:focus-visible {
  border-color: rgba(37, 214, 214, 0.32);
  background: rgba(37, 214, 214, 0.1);
  color: #f4fbff;
}

.site-search-type {
  display: inline-flex;
  justify-content: center;
  border: 1px solid rgba(255, 184, 46, 0.34);
  border-radius: 999px;
  padding: 3px 6px;
  color: #ffcf66;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

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

.site-search-copy b,
.site-search-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search-copy b {
  color: #f2f8ff;
  font-size: 13px;
}

.site-search-copy small {
  color: #91a2b8;
  font-size: 11px;
  font-weight: 750;
}

.site-search-result strong {
  color: #6bdfff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.site-search-empty {
  padding: 12px;
  color: #94a5ba;
  font-size: 12px;
  font-weight: 800;
}

.nav.is-open .nav-menu-icon-open {
  display: none;
}

.nav.is-open .nav-menu-icon-close {
  display: block;
}

.icon-button,
.login-button {
  border: 1px solid rgba(142, 185, 228, 0.22);
  background: rgba(3, 13, 22, 0.58);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #d7e3f5;
}

.login-button {
  height: 48px;
  border-color: transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d83ff, #0c66e8);
  color: white;
  font-weight: 700;
  padding: 0 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18, 107, 255, 0.28);
}

main {
  display: grid;
  gap: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(690px, 1.18fr);
  column-gap: clamp(26px, 3vw, 52px);
  row-gap: clamp(16px, 2vw, 24px);
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(86, 132, 173, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(3, 16, 26, 0.94) 0%, rgba(5, 24, 39, 0.82) 38%, rgba(5, 24, 39, 0.46) 100%),
    radial-gradient(circle at 34% 7%, rgba(19, 118, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(15, 45, 69, 0.75), rgba(2, 11, 18, 0.92));
  box-shadow: var(--shadow);
  padding: clamp(28px, 3vw, 42px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(111, 161, 210, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 161, 210, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

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

.hero-copy {
  max-width: 520px;
  padding-left: clamp(0px, 1vw, 14px);
}

.hero h1 {
  max-width: 520px;
  margin: 0 0 22px;
  font-size: clamp(42px, 4.6vw, 66px);
  letter-spacing: 0;
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.42);
}

.hero h1 span {
  color: var(--blue-2);
  text-shadow: 0 0 34px rgba(0, 216, 255, 0.24);
}

.hero p {
  max-width: 470px;
  color: #b9c7d9;
  font-size: 18px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.primary-action,
.secondary-action,
.wide-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 10px;
  overflow: hidden;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action::before,
.secondary-action::before,
.wide-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.2) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 160ms ease, transform 520ms ease;
  pointer-events: none;
}

.primary-action:hover,
.secondary-action:hover,
.wide-link:hover {
  transform: translateY(-3px);
}

.primary-action:hover::before,
.secondary-action:hover::before,
.wide-link:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.primary-action {
  background: linear-gradient(180deg, #20a9ff, #1376ff);
  color: white;
  padding: 0 30px;
  box-shadow: 0 14px 28px rgba(18, 107, 255, 0.24);
}

.primary-action:hover {
  box-shadow: 0 18px 34px rgba(18, 107, 255, 0.34);
}

.secondary-action,
.wide-link {
  border: 1px solid rgba(134, 175, 215, 0.28);
  background: rgba(4, 16, 27, 0.42);
  color: #dbe7f8;
  padding: 0 34px;
}

.secondary-action:hover,
.wide-link:hover {
  border-color: rgba(0, 216, 255, 0.5);
  box-shadow: 0 16px 34px rgba(0, 216, 255, 0.12);
}

.featured-showcase {
  overflow: hidden;
  border: 1px solid rgba(125, 181, 228, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 44% 0%, rgba(0, 216, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(4, 16, 27, 0.48);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: clamp(14px, 1.8vw, 22px);
}

.featured-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.featured-label span {
  color: #edf6ff;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.featured-label a {
  color: #f1f8ff;
  font-size: 13px;
  font-weight: 850;
  transition: color 160ms ease;
}

.featured-label a:hover {
  color: #66d8ff;
}

.featured-showcase::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.22) 48%, transparent 68%);
  opacity: 0;
  transform: translateX(-44%) rotate(4deg);
  transition: opacity 240ms ease, transform 850ms ease;
  pointer-events: none;
}

.featured-showcase:hover::before {
  opacity: 0.45;
  transform: translateX(46%) rotate(4deg);
}

.featured-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-top: 0;
  border: 1px solid rgba(125, 181, 228, 0.22);
  border-radius: 12px;
  background: rgba(7, 24, 38, 0.72);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.hero-stats span {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 12px 20px;
  border-right: 1px solid rgba(74, 111, 145, 0.18);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.hero-stats span:last-child {
  border-right: 0;
}

.hero-stats span:hover {
  background:
    radial-gradient(circle at 22% 50%, rgba(37, 214, 214, 0.12), transparent 44%),
    rgba(13, 45, 64, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(37, 214, 214, 0.18),
    0 0 28px rgba(37, 214, 214, 0.08);
}

.hero-stats i {
  display: grid;
  grid-row: span 2;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(37, 214, 214, 0.24);
  border-radius: 10px;
  background: rgba(37, 214, 214, 0.08);
  color: #7fe8ff;
  font-style: normal;
}

.hero-stats svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-stats b {
  color: #edf6ff;
  font-size: 18px;
}

.hero-stats small {
  color: #8999ad;
  font-size: 11px;
  font-weight: 800;
}

.player-card,
.panel,
.roster-card,
.methodology article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

main:not(.legal-page) > .panel:hover,
.main-grid > .panel:hover,
.movers-grid > .panel:hover,
.rosters:hover,
.methodology:hover {
  border-color: rgba(37, 214, 214, 0.36);
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 214, 214, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 38%),
    var(--panel);
  box-shadow:
    var(--shadow),
    0 0 34px rgba(37, 214, 214, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.player-card {
  position: relative;
  display: grid;
  min-height: 336px;
  overflow: hidden;
  padding: 16px 14px 20px;
  text-align: center;
  transform: translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 18%, rgba(0, 216, 255, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.player-card:hover {
  border-color: rgba(0, 216, 255, 0.72);
  box-shadow:
    0 24px 70px rgba(0, 216, 255, 0.14),
    inset 0 0 0 1px rgba(0, 216, 255, 0.18);
  transform: translateY(-6px);
}

.player-card:hover::before {
  opacity: 1;
}

.rank-bubble,
.roster-rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 184, 46, 0.45);
  border-radius: 50%;
  background: rgba(255, 184, 46, 0.1);
  color: var(--gold);
  font-size: 15px;
  font-weight: 850;
}

.player-portrait {
  display: grid;
  height: 142px;
  margin: 6px 0 12px;
  place-items: end center;
  overflow: hidden;
  border: 1px solid rgba(126, 177, 223, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 216, 255, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.player-portrait img,
.month-photo img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.28));
  transition: transform 220ms ease, filter 220ms ease;
}

.player-card:hover .player-portrait img {
  transform: scale(1.045);
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.34)) saturate(1.08);
}

.player-card h3 {
  margin: 0;
  font-size: 19px;
}

.player-card p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  margin: 12px 0;
  color: #aab8ca;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.player-card .team-name {
  min-width: 0;
  max-width: calc(100% - 34px);
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

.card-divider {
  height: 1px;
  margin: 0 0 14px;
  background: var(--line);
}

.player-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-card strong {
  margin-top: 6px;
  color: #e6eef9;
  font-size: 25px;
  font-weight: 950;
}

.panel {
  padding: 22px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  color: #edf6ff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head a {
  color: #f1f8ff;
  font-size: 14px;
  font-weight: 900;
  transition: color 160ms ease;
}

.section-head a:hover {
  color: #66d8ff;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(500px, 0.82fr);
  gap: 22px;
}

.top-table,
.month-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 216, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--panel);
  border-color: rgba(125, 181, 228, 0.24);
}

.table,
.mini-table {
  display: grid;
}

.table-row {
  display: grid;
  grid-template-columns: 36px minmax(130px, 1.2fr) minmax(140px, 1fr) 60px 120px 130px 100px;
  align-items: center;
  min-height: 38px;
  gap: 12px;
  border-top: 1px solid rgba(139, 173, 209, 0.14);
  color: #e5edf8;
  font-size: 13px;
}

.table-row:not(.table-head) {
  transition: background 160ms ease, color 160ms ease;
}

.table-row:not(.table-head):hover {
  background: rgba(0, 216, 255, 0.045);
}

.table-head,
.mini-head {
  min-height: 30px;
  border-top: 0;
  color: #8798ad;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.player-cell img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.team-badge {
  position: relative;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 38, 62, 0.9), rgba(4, 18, 31, 0.92));
  color: #31d8ff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(52, 169, 255, 0.35);
}

.team-badge.small {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 9px;
}

.team-badge img {
  display: block;
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 76%;
  height: 76%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.34));
}

.team-badge.small img {
  width: 82%;
  height: 82%;
}

.team-initials {
  position: relative;
  z-index: 0;
  line-height: 1;
}

.table-team {
  color: #b6c4d5;
}

.trend {
  font-weight: 950;
  white-space: nowrap;
}

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

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

.month-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  min-height: 0;
  padding: 22px;
  border-radius: 22px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.month-card::before {
  content: "";
  position: absolute;
  inset: -90px;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.18) 48%, transparent 68%);
  opacity: 0;
  transform: translateX(-46%) rotate(4deg);
  transition: opacity 220ms ease, transform 780ms ease;
  pointer-events: none;
}

.month-card:hover {
  border-color: rgba(0, 216, 255, 0.52);
  box-shadow:
    0 24px 70px rgba(0, 216, 255, 0.12),
    inset 0 0 0 1px rgba(0, 216, 255, 0.13);
}

.month-card:hover::before {
  opacity: 0.42;
  transform: translateX(46%) rotate(4deg);
}

.month-head {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  margin-bottom: 18px;
}

.month-head h2 {
  display: flex;
  align-items: center;
  max-width: none;
  color: #edf6ff;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.month-title-mark {
  color: #20d8d5;
  font-size: 18px;
  line-height: 1;
}

.month-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(215px, 0.9fr) minmax(245px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.month-profile {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 450px;
  border: 1px solid rgba(126, 177, 223, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 62%, rgba(32, 216, 213, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(2, 12, 21, 0.42);
}

.month-photo {
  position: absolute;
  inset: 0;
  display: grid;
  height: 100%;
  place-items: end center;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(0, 20, 26, 0.84) 84%),
    radial-gradient(circle at 50% 18%, rgba(0, 216, 255, 0.1), transparent 52%);
}

.month-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 54%;
  background: linear-gradient(180deg, transparent 0%, rgba(1, 9, 16, 0.56) 42%, rgba(1, 9, 16, 0.9) 100%);
  pointer-events: none;
}

.month-photo img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-position: top center;
  border-radius: 0;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.3));
}

.month-profile-copy {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  z-index: 2;
  padding: 0;
}

.month-profile-copy h2 {
  margin: 0;
  color: #eef6ff;
  font-size: 42px;
  line-height: 0.95;
}

.month-profile-copy p {
  max-width: 420px;
  margin: 16px 0 0;
  color: #c0ccda;
  font-size: 13px;
  line-height: 1.42;
}

.month-info h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.month-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.month-meta > span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(125, 181, 228, 0.18);
  border-radius: 999px;
  background: rgba(2, 12, 21, 0.34);
  color: #b8c7d9;
  font-size: 11px;
  font-weight: 750;
  padding: 0 9px;
}

.month-value {
  display: none;
}

.month-value-head {
  display: grid;
  gap: 10px;
}

.month-value-head > span,
.month-reasons h3 {
  margin: 0;
  color: #97a8bd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.month-reasons h3 {
  padding-left: 10px;
}

.month-value-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
}

.month-value-row strong {
  display: block;
  color: #20d8d5;
  font-size: clamp(42px, 4.2vw, 56px);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(32, 216, 213, 0.26);
}

.month-trend {
  display: grid;
  width: fit-content;
  min-width: 136px;
  min-height: 48px;
  place-items: center start;
  gap: 8px;
  margin: 0;
  border: 1px solid rgba(126, 177, 223, 0.32);
  border-radius: 12px;
  background: rgba(3, 14, 24, 0.45);
  text-transform: uppercase;
  color: #9fb0c4;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
  padding: 8px 14px;
}

.month-trend .trend {
  font-size: 14px;
}

.month-trend > span {
  color: #9fb0c4;
}

.month-metrics {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.month-metrics span {
  display: grid;
  gap: 6px;
  min-height: 78px;
  border: 1px solid rgba(125, 181, 228, 0.16);
  border-radius: 12px;
  background: rgba(2, 12, 21, 0.38);
  padding: 10px;
}

.month-metrics small,
.month-reasons small {
  color: #8798ad;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.month-metrics b {
  color: #eef6ff;
  font-size: 19px;
  line-height: 1;
}

.month-metrics em {
  color: #8ea2b8;
  font-size: 14px;
  font-style: normal;
}

.month-reasons {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.month-reasons span {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(125, 181, 228, 0.14);
  border-radius: 12px;
  background: rgba(2, 12, 21, 0.28);
  min-height: 72px;
  padding: 10px;
}

.month-reasons i {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(32, 216, 213, 0.24);
  border-radius: 50%;
  background: rgba(32, 216, 213, 0.1);
  color: #20d8d5;
  font-style: normal;
  box-shadow: 0 0 22px rgba(32, 216, 213, 0.12);
}

.month-reasons span b {
  color: #c6d2df;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.32;
}

.month-foot {
  display: none !important;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  border-radius: 12px;
  background: rgba(10, 35, 54, 0.62);
  color: #c2cedb;
  font-size: 12px;
  padding: 12px 14px;
}

.movers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compact {
  margin-bottom: 8px;
}

.compact a {
  color: #f1f8ff;
  font-size: 14px;
  font-weight: 800;
}

.compact h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact small {
  color: #8b98ae;
  font-size: 11px;
}

.round-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(54, 217, 135, 0.1);
  color: var(--green);
  font-size: 14px;
}

.round-icon.red {
  background: rgba(255, 86, 94, 0.1);
  color: var(--red);
}

.mini-head,
.mini-row {
  display: grid;
  grid-template-columns: 34px minmax(100px, 1fr) minmax(120px, 0.9fr) 110px 100px;
  min-height: 38px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(139, 173, 209, 0.14);
  color: #e5edf8;
  font-size: 13px;
}

.mini-head {
  border-top: 0;
  color: #8798ad;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-row {
  transition: background 160ms ease, color 160ms ease;
}

.mini-row:hover {
  background: rgba(0, 216, 255, 0.045);
}

.mini-row .table-team {
  color: #b6c4d5;
}

.mini-row strong {
  color: #e5edf8;
  font-weight: 800;
}

.rosters {
  padding: 24px 26px 26px;
}

.rosters .section-head {
  align-items: flex-start;
  margin-bottom: 20px;
}

.rosters .section-head h2 small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

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

.roster-card {
  position: relative;
  display: grid;
  min-height: 186px;
  overflow: hidden;
  padding: 16px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 22% 0%, rgba(42, 197, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(19, 36, 51, 0.94), rgba(7, 22, 34, 0.96));
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.roster-card:hover {
  border-color: rgba(37, 214, 214, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 24px rgba(37, 214, 214, 0.1);
  transform: translateY(-2px);
}

.roster-head {
  display: grid;
  grid-template-columns: 32px 48px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.roster-rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 184, 46, 0.45);
  border-radius: 999px;
  background: rgba(255, 184, 46, 0.1);
  color: var(--gold);
  font-size: 15px;
  font-weight: 850;
}

.roster-head > .team-badge {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(6, 20, 32, 0.74);
}

.roster-copy {
  min-width: 0;
}

.roster-copy b {
  display: block;
  overflow: hidden;
  color: #f0f7ff;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster-copy strong {
  display: block;
  margin-top: 3px;
  color: #dfeeff;
  font-size: 20px;
  line-height: 1;
}

.roster-copy small {
  display: block;
  margin-top: 6px;
  color: #8a96ad;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.roster-faces {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 18px;
}

.roster-face {
  display: block;
  aspect-ratio: 0.74;
  overflow: hidden;
  border: 1px solid rgba(55, 154, 218, 0.45);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 14%, rgba(123, 196, 255, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(18, 49, 70, 0.92), rgba(4, 18, 29, 0.95));
  box-shadow: inset 0 -12px 22px rgba(0, 185, 255, 0.08);
}

.roster-faces img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 10px 10px rgba(34, 54, 88, 0.16));
}

.methodology {
  position: relative;
  overflow: hidden;
  padding: 32px 34px 36px;
  background:
    radial-gradient(circle at 98% 50%, rgba(0, 119, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(10, 25, 39, 0.94), rgba(4, 16, 27, 0.96));
}

.methodology::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -52px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(31, 128, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.methodology-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.methodology h2 {
  margin: 0;
  color: #edf6ff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.methodology-title span {
  display: block;
  width: min(320px, 28vw);
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--blue), rgba(23, 132, 255, 0));
  box-shadow: 0 0 14px rgba(20, 145, 255, 0.85);
}

.methodology-title a {
  color: #f1f8ff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 160ms ease;
}

.methodology-title a:hover {
  color: #66d8ff;
}

.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(124px, 1fr) 28px) minmax(140px, 1fr);
  align-items: center;
  gap: 10px;
}

.methodology article {
  position: relative;
  display: grid;
  min-height: 220px;
  justify-items: center;
  overflow: hidden;
  padding: 22px 18px 20px;
  border: 1px solid rgba(116, 153, 184, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(40, 139, 255, 0.12), transparent 38%),
    rgba(8, 24, 39, 0.68);
  box-shadow: none;
  text-align: center;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.methodology article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.1) 46%, transparent 62%);
  opacity: 0;
  transform: translateX(-65%);
  pointer-events: none;
}

.methodology article:hover {
  border-color: rgba(38, 188, 255, 0.48);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22), 0 0 22px rgba(28, 159, 255, 0.12);
  transform: translateY(-2px);
}

.methodology article:hover::before {
  animation: method-shine 720ms ease;
}

@keyframes method-shine {
  0% {
    opacity: 0;
    transform: translateX(-75%);
  }
  35% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateX(75%);
  }
}

.method-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(42, 135, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(39, 133, 255, 0.18), rgba(4, 17, 29, 0.82) 64%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 22px rgba(24, 130, 255, 0.12),
    0 0 26px rgba(24, 130, 255, 0.1);
  color: #dce8f8;
  font-size: 0;
  font-weight: 650;
}

.method-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.method-icon.blue {
  border-color: rgba(39, 136, 255, 0.85);
  background:
    radial-gradient(circle at 50% 42%, rgba(39, 206, 255, 0.84), rgba(24, 100, 255, 0.32) 46%, rgba(8, 24, 39, 0.88) 70%);
  color: white;
  box-shadow:
    inset 0 0 24px rgba(35, 198, 255, 0.28),
    0 0 32px rgba(25, 130, 255, 0.32);
}

.methodology b {
  display: block;
  align-self: end;
  margin-top: 18px;
  color: #eef6ff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.16;
  text-transform: uppercase;
}

.methodology p {
  max-width: 190px;
  margin: 16px auto 0;
  color: #aebccc;
  font-size: 12px;
  line-height: 1.42;
}

.market-value {
  border-color: rgba(33, 129, 255, 0.86) !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(32, 134, 255, 0.24), transparent 44%),
    rgba(8, 24, 46, 0.82) !important;
  box-shadow:
    inset 0 0 28px rgba(19, 114, 255, 0.14),
    0 0 26px rgba(19, 114, 255, 0.24) !important;
}

.plus,
.equals {
  display: grid;
  place-items: center;
  color: #d7e4f2;
  font-size: 26px;
  font-weight: 650;
}

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px;
  margin: 26px 0 40px;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(139, 173, 209, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 42%),
    radial-gradient(circle at 0% 0%, rgba(38, 185, 255, 0.12), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(37, 214, 214, 0.08), transparent 32%),
    rgba(8, 22, 35, 0.78);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: #92a2b7;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.footer-brand img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.footer p {
  max-width: 280px;
  margin: 0;
  color: #9aa8ba;
  font-size: 13px;
  line-height: 1.6;
}

.footer b {
  display: block;
  margin-bottom: 12px;
  color: #edf6ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: #9aa8ba;
  font-size: 13px;
  transition: color 160ms ease;
}

.footer a:hover {
  color: #e8f5ff;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(83, 126, 160, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #c9d7e7;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.socials a:hover {
  border-color: rgba(35, 180, 255, 0.62);
  background: rgba(18, 121, 255, 0.16);
  box-shadow: 0 0 18px rgba(18, 121, 255, 0.18);
  color: #f1f8ff;
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.content-page {
  display: grid;
  gap: 18px;
  padding-bottom: 42px;
}

.content-hero {
  overflow: hidden;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(rgba(30, 88, 128, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 88, 128, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 76% 4%, rgba(37, 214, 214, 0.14), transparent 36%),
    rgba(8, 22, 35, 0.84);
  background-size: 82px 82px, 82px 82px, auto, auto;
}

.content-hero span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-hero h1 {
  max-width: 780px;
  margin: 10px 0 12px;
  color: #f1f8ff;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.02;
}

.content-hero p {
  max-width: 760px;
  margin: 0;
  color: #b4c2d4;
  font-size: 17px;
  line-height: 1.58;
}

.content-body {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 3vw, 44px);
}

.content-body h2 {
  margin: 8px 0 0;
  color: #ecf6ff;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.content-body p {
  margin: 0;
  color: #bac8d8;
  font-size: 16px;
  line-height: 1.74;
}

.methodology-page {
  display: grid;
  gap: 12px;
  padding-bottom: 42px;
}

.methodology-hero {
  display: grid;
  min-height: 228px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: stretch;
  gap: 26px;
  overflow: hidden;
  padding: clamp(24px, 2.7vw, 34px) clamp(24px, 3vw, 44px);
  background:
    linear-gradient(rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 78% 12%, rgba(37, 214, 214, 0.18), transparent 36%),
    rgba(8, 22, 35, 0.84);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.methodology-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.methodology-hero-copy span,
.methodology-signal-card span,
.methodology-move-copy span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.methodology-hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 12px;
  color: #f1f8ff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.98;
}

.methodology-hero-copy p {
  max-width: 800px;
  margin: 0;
  color: #bdcad9;
  font-size: 16px;
  line-height: 1.5;
}

.methodology-hero-copy p + p {
  margin-top: 2px;
}

.methodology-hero-art {
  position: relative;
  min-height: 170px;
  opacity: 0.98;
}

.methodology-hero-art::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 22, 35, 0.72), transparent 34%);
  pointer-events: none;
}

.methodology-hero-visual,
.methodology-wave-visual {
  width: 100%;
  height: 100%;
}

.methodology-hero-visual path {
  fill: none;
  stroke: rgba(82, 181, 232, 0.28);
  stroke-width: 1;
}

.methodology-hero-line {
  filter: drop-shadow(0 0 10px rgba(39, 222, 214, 0.65));
  stroke: url(#methodHeroLine) !important;
  stroke-width: 2.6 !important;
}

.methodology-hero-gridline {
  stroke: rgba(40, 208, 222, 0.24) !important;
  stroke-width: 9 !important;
}

.methodology-hero-bars path {
  fill: url(#methodHeroBar);
  stroke: rgba(46, 224, 226, 0.5);
}

.methodology-hero-points circle,
.methodology-wave-dots circle {
  fill: #2ce3df;
  filter: drop-shadow(0 0 8px rgba(44, 227, 223, 0.85));
}

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

.methodology-signal-card {
  display: grid;
  min-height: 152px;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.methodology-signal-card:hover,
.methodology-move-card:hover {
  border-color: rgba(37, 214, 214, 0.46);
  background:
    radial-gradient(circle at 16% 6%, rgba(37, 214, 214, 0.12), transparent 38%),
    rgba(8, 22, 35, 0.9);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.methodology-card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(37, 214, 214, 0.26);
  border-radius: 50%;
  color: #6ff4f0;
  background:
    radial-gradient(circle at 50% 42%, rgba(37, 214, 214, 0.22), transparent 60%),
    rgba(15, 50, 72, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.methodology-card-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.methodology-signal-card h2,
.methodology-move-card h2 {
  margin: 5px 0 7px;
  color: #f1f8ff;
  font-size: 19px;
  line-height: 1.1;
}

.methodology-signal-card p,
.methodology-move-card p {
  margin: 0;
  color: #b9c7d7;
  font-size: 14px;
  line-height: 1.44;
}

.methodology-move-card {
  display: grid;
  min-height: 122px;
  grid-template-columns: 60px minmax(0, 0.92fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  padding: 18px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.methodology-move-art {
  height: 96px;
  min-width: 0;
  opacity: 0.95;
}

.methodology-wave-fill {
  fill: url(#methodWaveFill);
}

.methodology-wave-line {
  fill: none;
  stroke: #27ded6;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 10px rgba(39, 222, 214, 0.7));
}

.legal-page {
  display: grid;
  padding-bottom: 28px;
}

.legal-document {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 76px);
  border-color: rgba(125, 181, 228, 0.24);
  background:
    linear-gradient(rgba(111, 161, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 161, 210, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 88% 4%, rgba(37, 214, 214, 0.11), transparent 28%),
    radial-gradient(circle at 4% 12%, rgba(19, 118, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(8, 25, 39, 0.96), rgba(4, 16, 27, 0.95));
  background-size: 84px 84px, 84px 84px, auto, auto, auto;
  transition: none;
}

.legal-document::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 48%, transparent 88%);
  box-shadow: 0 0 22px rgba(37, 214, 214, 0.34);
}

.legal-document-head,
.legal-document-rule,
.legal-document-body {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
}

.legal-document-head > span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-document-head h1 {
  margin: 14px 0 20px;
  color: #f4f8ff;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: 0;
}

.legal-document-lead {
  max-width: 820px;
}

.legal-document-lead p {
  margin: 0;
  color: #c5d2e1;
  font-size: 18px;
  line-height: 1.65;
}

.legal-document-lead p + p {
  margin-top: 14px;
}

.legal-document-rule {
  height: 1px;
  margin-top: 34px;
  margin-bottom: 34px;
  background: linear-gradient(90deg, rgba(37, 214, 214, 0.58), rgba(125, 181, 228, 0.18) 70%, transparent);
}

.legal-document-body {
  color: #c2cfdd;
}

.legal-document-body h2 {
  margin: 46px 0 16px;
  color: #f2f8ff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-document-body h2:first-child {
  margin-top: 0;
}

.legal-document-body h3 {
  margin: 30px 0 12px;
  color: #edf6ff;
  font-size: 18px;
  line-height: 1.35;
}

.legal-document-body p,
.legal-document-body li {
  color: #c2cfdd;
  font-size: 16px;
  line-height: 1.75;
}

.legal-document-body p {
  margin: 0;
}

.legal-document-body p + p {
  margin-top: 18px;
}

.legal-document-body ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0 0 0 24px;
}

.legal-document-body li {
  padding-left: 6px;
}

.legal-document-body li::marker {
  color: var(--cyan);
}

.legal-document-body a {
  color: #67ddff;
  text-decoration: underline;
  text-decoration-color: rgba(103, 221, 255, 0.42);
  text-underline-offset: 3px;
}

.legal-document-body a:hover,
.legal-document-body a:focus-visible {
  color: #b9f3ff;
  text-decoration-color: currentColor;
}

.methodology-document-section + .methodology-document-section {
  margin-top: 46px;
}

.methodology-document-label {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.methodology-document-section h2 {
  margin-top: 0;
}

.legal-hero {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 50px;
  background:
    radial-gradient(circle at 82% 10%, rgba(28, 219, 221, 0.18), transparent 34%),
    radial-gradient(circle at 66% 52%, rgba(24, 142, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(6, 20, 34, 0.98), rgba(7, 31, 48, 0.9));
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 139, 180, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 139, 180, 0.09) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  opacity: 0.72;
  pointer-events: none;
}

.legal-hero-copy,
.legal-hero-art {
  position: relative;
  z-index: 1;
}

.legal-hero-copy span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-hero-copy h1 {
  max-width: 620px;
  margin: 14px 0 14px;
  color: #f4f8ff;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

.legal-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #c5d2e1;
  font-size: 18px;
  line-height: 1.58;
}

.legal-hero-art {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  opacity: 0.82;
}

.legal-hero-visual {
  width: min(100%, 500px);
  height: auto;
  overflow: visible;
}

.legal-hero-grid path,
.legal-hero-orbit {
  fill: none;
  stroke: rgba(99, 186, 220, 0.22);
  stroke-width: 1;
}

.legal-hero-orbit {
  stroke: rgba(36, 232, 225, 0.16);
  stroke-width: 1.6;
}

.legal-hero-orbit-soft {
  stroke: rgba(25, 133, 255, 0.14);
}

.legal-hero-emblem path,
.legal-hero-emblem rect,
.legal-hero-emblem circle {
  fill: rgba(24, 230, 222, 0.1);
  stroke: rgba(36, 232, 225, 0.34);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 22px rgba(36, 232, 225, 0.22));
}

.legal-hero-emblem rect {
  fill: url(#legalPanelGlow);
}

.legal-cookie-emblem circle {
  fill: rgba(24, 230, 222, 0.09);
}

.legal-policy-panel {
  padding: 32px 36px;
  background:
    radial-gradient(circle at 94% 18%, rgba(30, 214, 217, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(10, 28, 43, 0.94), rgba(8, 23, 36, 0.9));
}

.legal-policy-row {
  display: grid;
  max-width: 1180px;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  margin: 0 0 28px;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(128, 184, 220, 0.18);
}

.legal-policy-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-policy-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(128, 184, 220, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(28, 222, 217, 0.28), transparent 68%),
    rgba(12, 29, 43, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 28px rgba(0, 0, 0, 0.2);
}

.legal-policy-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #28e5df;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(40, 229, 223, 0.55));
}

.legal-policy-copy h2 {
  margin: 0 0 10px;
  color: #f2f8ff;
  font-size: 19px;
  line-height: 1.12;
  text-transform: uppercase;
}

.legal-policy-copy p {
  max-width: 1040px;
  margin: 0;
  color: #c2cfdd;
  font-size: 15px;
  line-height: 1.48;
}

.legal-policy-copy a {
  color: var(--cyan);
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  width: min(560px, calc(100% - 44px));
  align-items: center;
  gap: 16px;
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(37, 214, 214, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 214, 214, 0.14), transparent 38%),
    rgba(4, 16, 27, 0.9);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.cookie-banner p {
  margin: 0;
  color: #bdcad9;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-banner a {
  color: #66d8ff;
  font-weight: 850;
  transition: color 160ms ease;
}

.cookie-banner a:hover {
  color: #eaf8ff;
}

.cookie-banner button {
  min-width: 78px;
  min-height: 42px;
  border: 1px solid rgba(37, 214, 214, 0.35);
  border-radius: 12px;
  background: linear-gradient(180deg, #25d6d6, #1376ff);
  color: #02101b;
  cursor: pointer;
  font-weight: 900;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.cookie-banner button:hover {
  box-shadow: 0 14px 30px rgba(37, 214, 214, 0.22);
  transform: translateY(-2px);
}

.player-page-shell {
  padding-bottom: 42px;
}

.player-page {
  display: grid;
  gap: 18px;
}

.player-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8192a8;
  font-size: 13px;
  font-weight: 800;
}

.player-breadcrumbs a {
  color: #9cadc2;
  transition: color 160ms ease;
}

.player-breadcrumbs a:hover {
  color: #e6f4ff;
}

.player-breadcrumbs b {
  color: #edf6ff;
}

.player-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(320px, 1fr) minmax(260px, 310px) var(--player-side-width);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: 18px 24px 18px 22px;
  background:
    linear-gradient(rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 8%, rgba(37, 214, 214, 0.12), transparent 34%),
    rgba(8, 22, 35, 0.82);
  background-size: 82px 82px, 82px 82px, auto, auto;
}

.player-overview-photo {
  position: relative;
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 1px solid rgba(125, 181, 228, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 214, 214, 0.12), transparent 40%),
    rgba(4, 16, 27, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.player-overview-photo::after {
  content: "";
  position: absolute;
  inset: 62% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 18, 30, 0.54));
}

.player-overview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.player-overview-identity {
  display: grid;
  align-content: center;
  min-width: 0;
  padding-block: 10px;
}

.player-overview-identity .player-badges {
  margin-bottom: 20px;
}

.player-overview-identity p {
  margin: 0 0 6px;
  color: #a9b8ca;
  font-size: 15px;
}

.player-overview-identity h1 {
  max-width: 100%;
  margin: 0 0 20px;
  color: #f1f8ff;
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.player-overview-identity h1.is-long-name {
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 0.96;
}

.player-overview-identity h1.is-very-long-name {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1;
}

.player-overview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(125, 181, 228, 0.2);
}

.player-overview-facts a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  min-height: 50px;
  padding: 10px 12px;
  border-right: 1px solid rgba(125, 181, 228, 0.14);
  border-bottom: 1px solid rgba(125, 181, 228, 0.14);
  color: #d4e2f3;
  transition: background 160ms ease, color 160ms ease;
}

.player-overview-facts a:nth-child(2n) {
  border-right: 0;
}

.player-overview-facts a:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.player-overview-facts a:hover {
  background: rgba(37, 214, 214, 0.07);
  color: #f1fbff;
}

.player-overview-facts small {
  grid-column: 1 / -1;
  color: #8192a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-overview-facts b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #edf6ff;
  font-size: 13px;
  font-weight: 900;
}

.player-overview-facts svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #9fb1c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.player-overview-market {
  display: contents;
}

.player-overview-value {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 214px;
  padding-left: 42px;
  border-left: 1px solid rgba(125, 181, 228, 0.2);
}

.player-overview-value > span {
  color: #8d9caf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-overview-value strong {
  display: block;
  margin-top: 8px;
  color: #ddfff4;
  font-size: clamp(46px, 4.4vw, 68px);
  font-weight: 950;
  line-height: 0.95;
  text-shadow:
    0 0 18px rgba(44, 226, 154, 0.38),
    0 0 42px rgba(37, 214, 214, 0.2);
}

.player-overview-value .player-change {
  margin-top: 18px;
}

.player-share-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid rgba(32, 230, 239, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(21, 196, 229, 0.18), rgba(32, 230, 239, 0.04)),
    rgba(4, 16, 27, 0.64);
  color: #dffcff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.player-share-button:hover {
  border-color: rgba(32, 230, 239, 0.78);
  background:
    linear-gradient(135deg, rgba(21, 196, 229, 0.28), rgba(32, 230, 239, 0.08)),
    rgba(4, 16, 27, 0.78);
  color: #ffffff;
  transform: translateY(-1px);
}

.player-share-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.player-share-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.player-share-status {
  min-height: 16px;
  margin-top: 8px;
  color: #8d9caf;
  font-size: 11px;
  font-weight: 800;
}

body.share-modal-open {
  overflow: hidden;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.share-modal.is-open {
  display: flex;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 7, 14, 0.76);
  backdrop-filter: blur(10px);
}

.share-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(960px, 100%);
  max-height: calc(100vh - 56px);
  gap: 18px;
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(125, 181, 228, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(32, 230, 239, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(9, 32, 50, 0.98), rgba(2, 12, 23, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.share-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 181, 228, 0.26);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.74);
  color: #dffcff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.share-modal-head {
  display: grid;
  gap: 6px;
  padding-right: 56px;
}

.share-modal-head span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.share-modal-head h2 {
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 950;
  letter-spacing: 0;
}

.share-modal-preview {
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(125, 181, 228, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(rgba(125, 181, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 181, 228, 0.04) 1px, transparent 1px),
    rgba(2, 10, 19, 0.62);
  background-size: 72px 72px;
}

.share-modal-preview img {
  display: block;
  width: min(100%, 540px);
  height: auto;
  max-height: min(68vh, 760px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
}

.share-modal-loader {
  color: #8d9caf;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-modal-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.share-modal-actions button {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(32, 230, 239, 0.28);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.74);
  color: #dffcff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.share-modal-actions button:hover {
  border-color: rgba(32, 230, 239, 0.72);
  background: rgba(13, 48, 69, 0.82);
  color: #ffffff;
}

.share-modal-actions button:disabled {
  cursor: progress;
  opacity: 0.58;
}

.share-modal-status {
  min-height: 18px;
  margin: 0;
  color: #8d9caf;
  font-size: 12px;
  font-weight: 800;
}

.player-overview-verdict {
  display: grid;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  gap: 10px;
  align-content: center;
  min-height: 198px;
  padding: 18px 20px;
  border: 1px solid rgba(74, 111, 145, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(44, 226, 154, 0.08), transparent 42%),
    rgba(4, 16, 27, 0.38);
}

.player-overview-market > .player-overview-verdict,
.player-overview-card > .player-overview-verdict,
.team-overview-card > .team-overview-verdict {
  width: calc(100% - 16px);
  margin-left: 16px;
}

.player-overview-verdict > span {
  color: #8d9caf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-overview-verdict > strong {
  color: var(--green);
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 950;
  line-height: 1.08;
}

.player-overview-verdict p {
  margin: 0;
  color: #aebccc;
  font-size: 13px;
  line-height: 1.45;
}

.player-overview-verdict div {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(74, 111, 145, 0.18);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.42);
}

.player-overview-verdict small {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #a9b8ca;
  font-size: 12px;
  font-weight: 900;
}

.player-overview-verdict small b {
  color: #dff9ff;
}

.player-overview-verdict i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #153047;
}

.player-overview-verdict i::before {
  content: "";
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.player-overview-verdict em {
  color: #91a2b6;
  font-size: 12px;
  font-style: normal;
}

.player-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--player-side-width);
  gap: 18px;
  align-items: start;
}

.player-main-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.player-signal-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 18px;
}

.player-layout-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.player-photo-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 214, 214, 0.1), transparent 34%),
    rgba(8, 22, 35, 0.82);
}

.player-center-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.player-summary-card {
  display: grid;
  gap: 18px;
  min-height: 270px;
  background:
    linear-gradient(rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 70% 0%, rgba(37, 214, 214, 0.12), transparent 32%),
    rgba(8, 22, 35, 0.82);
  background-size: 88px 88px, 88px 88px, auto, auto;
}

.player-summary-main {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.72fr);
  gap: 28px;
  align-items: end;
}

.player-summary-main > div:first-child {
  padding-right: 28px;
  border-right: 1px solid rgba(125, 181, 228, 0.2);
}

.player-summary-main p {
  margin: 0 0 8px;
  color: #a9b8ca;
  font-size: 15px;
}

.player-summary-main h1 {
  margin: 0;
  color: #f1f8ff;
  font-size: clamp(48px, 5vw, 74px);
  font-weight: 950;
  line-height: 0.96;
}

.player-asset-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  overflow: hidden;
  padding: 26px;
  background:
    linear-gradient(rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 30% 0%, rgba(37, 214, 214, 0.12), transparent 28%),
    rgba(8, 22, 35, 0.82);
  background-size: 88px 88px, 88px 88px, auto, auto;
}

.player-portrait-column {
  display: grid;
  gap: 18px;
  align-self: start;
}

.player-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.player-photo-card {
  position: relative;
  align-self: start;
  min-height: 0;
  aspect-ratio: 0.74;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(125, 181, 228, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(18, 42, 59, 0.9), rgba(8, 22, 35, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.player-photo-panel .player-photo-card {
  width: 100%;
}

.player-photo-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(125, 181, 228, 0.18);
  border-radius: 12px;
  background: rgba(4, 16, 27, 0.48);
}

.player-photo-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-right: 1px solid rgba(125, 181, 228, 0.14);
  border-bottom: 1px solid rgba(125, 181, 228, 0.14);
  color: #d4e2f3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.player-photo-meta a:nth-child(2n) {
  border-right: 0;
}

.player-photo-meta a:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.player-photo-meta a:hover {
  background: rgba(37, 214, 214, 0.08);
  color: #f1fbff;
}

.player-photo-meta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.player-rank {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(125, 181, 228, 0.22);
  border-radius: 12px;
  background: rgba(4, 16, 27, 0.52);
  backdrop-filter: blur(12px);
  color: #f0f7ff;
  font-size: 24px;
  font-weight: 950;
}

.player-rank span {
  display: block;
  margin-top: 3px;
  color: #a2b2c5;
  font-size: 11px;
  text-transform: uppercase;
}

.player-photo-backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
}

.player-photo-backdrop::after {
  content: "";
  position: absolute;
  inset: 54% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 17, 28, 0.82));
}

.player-photo-backdrop img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.player-asset-main {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 0;
}

.player-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 16px;
  max-width: 100%;
  overflow: visible;
}

.player-badges span,
.player-badges a,
.player-meta-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(55, 154, 218, 0.28);
  border-radius: 8px;
  background: rgba(13, 42, 61, 0.68);
  color: #bdd0e3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.player-badges a:hover,
.player-meta-chips a:hover {
  border-color: rgba(37, 214, 214, 0.5);
  background: rgba(37, 214, 214, 0.1);
  box-shadow: 0 0 18px rgba(37, 214, 214, 0.1);
  color: #eaf8ff;
}

.player-badges span:nth-child(2),
.player-badges a:nth-child(2) {
  border-color: rgba(255, 184, 46, 0.34);
  background: rgba(255, 184, 46, 0.1);
  color: var(--gold);
}

.player-badges span:nth-child(3),
.player-badges a:nth-child(3) {
  border-color: rgba(44, 226, 154, 0.28);
  background: rgba(44, 226, 154, 0.09);
  color: #75f0be;
}

.player-asset-main > p {
  margin: 0 0 8px;
  color: #a9b8ca;
  font-size: 15px;
}

.player-title-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
}

.player-asset-main h1 {
  margin: 0;
  color: #f1f8ff;
  font-size: clamp(46px, 5vw, 78px);
  font-weight: 950;
  line-height: 0.96;
}

.player-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.player-meta-chips svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.player-asset-body {
  display: none;
}

.player-value-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(280px, 1fr) 260px;
  gap: 24px;
  align-items: center;
  min-height: 360px;
  background:
    radial-gradient(circle at 10% 0%, rgba(33, 220, 220, 0.14), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(23, 118, 255, 0.1), transparent 30%),
    rgba(8, 22, 35, 0.78);
}

.player-value-main > span,
.player-facts small,
.player-side-metrics small {
  display: block;
  color: #8d9caf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-value-main strong {
  display: block;
  color: var(--cyan);
  font-size: 70px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 22px rgba(37, 214, 214, 0.22);
}

.player-asset-card .player-value-main strong {
  font-size: clamp(34px, 3vw, 48px);
}

.player-summary-card .player-value-main strong {
  color: #ddfff4;
  font-size: clamp(44px, 5vw, 76px);
  text-shadow:
    0 0 18px rgba(44, 226, 154, 0.34),
    0 0 42px rgba(37, 214, 214, 0.18);
}

.player-value-stack {
  display: grid;
  gap: 12px;
  margin-top: 7px;
}

.player-change {
  display: inline-grid;
  gap: 6px;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(29, 52, 69, 0.56), rgba(4, 16, 27, 0.62));
}

.player-asset-stats {
  display: grid;
  grid-template-columns: 1fr;
  align-self: center;
  transform: translateY(-34px);
  overflow: hidden;
  border: 1px solid rgba(74, 111, 145, 0.18);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    rgba(9, 30, 47, 0.58);
}

.player-asset-stats span {
  display: grid;
  align-content: center;
  min-height: 56px;
  padding: 10px 13px;
  border-right: 0;
  border-bottom: 1px solid rgba(74, 111, 145, 0.18);
}

.player-asset-stats span:last-child {
  border-bottom: 0;
}

.player-asset-stats small {
  display: block;
  margin-bottom: 4px;
  color: #8192a8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player-asset-stats b {
  color: #edf6ff;
  font-size: 18px;
}

.player-change small {
  color: #91a2b6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-facts {
  display: grid;
  gap: 14px;
  padding: 8px 0 8px 24px;
  border-left: 1px solid var(--line);
}

.player-facts span {
  display: grid;
  grid-template-columns: 24px 96px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 30px;
}

.player-facts svg,
.player-insights-card svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #9fb1c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.player-facts b {
  color: #e8f2ff;
  font-size: 15px;
}

.player-side-metrics {
  display: grid;
  gap: 12px;
}

.player-side-metrics > span {
  display: block;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(4, 16, 27, 0.42);
}

.player-side-metrics b {
  display: block;
  margin-top: 6px;
  color: var(--cyan);
  font-size: 18px;
}

.player-side-metrics em {
  display: block;
  color: #91a2b6;
  font-size: 12px;
  font-style: normal;
}

.player-side-metrics i {
  display: block;
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #153047;
}

.player-side-metrics i::before {
  content: "";
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.player-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 280px;
  gap: 18px;
}

.player-chart-card {
  overflow: hidden;
  margin-top: 0;
  padding: 14px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 0%, rgba(37, 214, 214, 0.08), transparent 36%),
    rgba(5, 18, 30, 0.58);
}

.value-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 4px;
}

.value-range-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.value-range-filters button {
  min-width: 52px;
  min-height: 34px;
  border: 1px solid rgba(125, 181, 228, 0.22);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.42);
  color: #91a2b6;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.value-range-filters button:hover,
.value-range-filters button.active {
  border-color: rgba(37, 214, 214, 0.48);
  background: rgba(37, 214, 214, 0.1);
  box-shadow: 0 0 18px rgba(37, 214, 214, 0.1);
  color: #effbff;
}

.chart-dynamic-readout {
  display: grid;
  justify-items: start;
  min-width: 118px;
  padding: 8px 12px;
  border: 1px solid rgba(125, 181, 228, 0.22);
  border-radius: 12px;
  background: rgba(4, 16, 27, 0.42);
}

.chart-dynamic-readout small {
  color: #91a2b6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-dynamic-readout b {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1;
}

.player-chart-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 8px;
  align-items: center;
}

.player-chart-plot {
  min-width: 0;
  margin-right: -4px;
}

.player-chart-svg {
  width: 100%;
  height: 238px;
  margin-top: 0;
}

.player-side-rail {
  display: grid;
  gap: 18px;
}

.player-verdict-card,
.similar-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 214, 214, 0.08), transparent 34%),
    rgba(8, 22, 35, 0.78);
}

.player-verdict-card h2,
.similar-card h2 {
  margin: 0 0 18px;
  color: #edf6ff;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-verdict-card > strong {
  display: block;
  color: var(--green);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 950;
  line-height: 1.08;
}

.player-verdict-card p {
  margin: 18px 0 26px;
  color: #aebccc;
  font-size: 14px;
  line-height: 1.55;
}

.player-verdict-card div {
  padding: 14px;
  border: 1px solid rgba(74, 111, 145, 0.22);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.44);
}

.player-verdict-card div span {
  display: flex;
  justify-content: space-between;
  color: #a9b8ca;
  font-size: 13px;
  font-weight: 800;
}

.player-verdict-card div b {
  color: var(--cyan);
}

.player-verdict-card i {
  display: block;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #153047;
}

.player-verdict-card i::before {
  content: "";
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.player-verdict-card small {
  display: block;
  margin-top: 14px;
  color: #91a2b6;
}

.similar-card {
  display: grid;
  gap: 10px;
}

.similar-card h2 small {
  display: block;
  margin-top: 2px;
  color: #91a2b6;
  font-size: 11px;
}

.similar-card a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 9px 12px;
  border: 1px solid rgba(74, 111, 145, 0.16);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.44);
  transition: border-color 160ms ease, background 160ms ease;
}

.similar-card a:hover {
  border-color: rgba(37, 214, 214, 0.34);
  background: rgba(10, 39, 57, 0.68);
}

.similar-card img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.similar-card b {
  color: #edf6ff;
  font-size: 16px;
}

.similar-card strong {
  color: #6fdcff;
  font-size: 16px;
}

.chart-grid-line {
  stroke: rgba(109, 142, 174, 0.18);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(37, 214, 214, 0.5));
}

.chart-dot {
  fill: #e8fbff;
  stroke: var(--cyan);
  stroke-width: 3;
  cursor: crosshair;
  transition:
    filter 140ms ease,
    r 140ms ease,
    stroke 140ms ease;
}

.chart-dot:hover {
  filter: drop-shadow(0 0 10px rgba(37, 214, 214, 0.8));
  stroke: #77f7ff;
}

.chart-tooltip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  padding: 8px 10px;
  border: 1px solid rgba(75, 175, 232, 0.34);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12, 33, 50, 0.96), rgba(4, 16, 27, 0.96));
  color: #eaf7ff;
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -100%);
  transition: opacity 120ms ease;
}

.chart-tooltip.visible {
  opacity: 1;
}

.player-delta-card,
.player-insights-card {
  display: grid;
  gap: 14px;
}

.player-delta-card span {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.player-delta-card span:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.player-delta-card small {
  color: #8d9caf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-delta-card b {
  color: #dce8f8;
  font-size: 13px;
}

.player-delta-card .positive {
  color: var(--green);
  font-size: 18px;
}

.player-delta-card .warning {
  color: var(--gold);
  font-size: 18px;
}

.player-insights-card h2 {
  margin: 0;
  color: #edf6ff;
  font-size: 15px;
  text-transform: uppercase;
}

.player-insights-card p {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  color: #b2c0d1;
  font-size: 13px;
  line-height: 1.45;
}

.player-insights-card svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.player-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.player-mini-board {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 16, 27, 0.38);
}

.player-mini-board h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
}

.player-mini-board span {
  display: grid;
  grid-template-columns: 28px 1fr 90px 70px;
  gap: 10px;
  align-items: center;
  min-height: 36px;
  border-top: 1px solid rgba(74, 111, 145, 0.18);
  color: #dce8f8;
  font-size: 13px;
}

.player-mini-board em {
  color: #8394aa;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.player-mini-board i {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.valuation-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.valuation-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 214, 214, 0.07), transparent 34%),
    rgba(8, 22, 35, 0.78);
}

.valuation-card .section-head {
  margin-bottom: 2px;
}

.valuation-card .section-head h2 {
  font-size: 15px;
}

.dynamics-card {
  grid-column: auto;
}

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

.dynamics-grid span,
.ranks-card > a,
.signal-card > span {
  min-height: 70px;
  padding: 13px;
  border: 1px solid rgba(74, 111, 145, 0.18);
  border-radius: 12px;
  background: rgba(4, 16, 27, 0.42);
  transition:
    border-color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

.ranks-card > a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.team-ranks-card > a {
  display: grid;
  align-content: center;
  min-height: 70px;
  padding: 13px;
  border: 1px solid rgba(74, 111, 145, 0.18);
  border-radius: 12px;
  background: rgba(4, 16, 27, 0.42);
  color: inherit;
  text-decoration: none;
}

.dynamics-grid small,
.ranks-card small,
.signal-card small,
.tier-row small {
  display: block;
  color: #8192a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dynamics-grid b {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.positive {
  color: var(--green) !important;
}

.negative {
  color: var(--red) !important;
}

.ranks-card {
  grid-column: auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ranks-card .section-head {
  grid-column: 1 / -1;
}

.ranks-card > a,
.signal-card > span,
.tier-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px 10px;
  align-items: center;
}

.team-ranks-card > a {
  grid-template-columns: 1fr;
  align-content: center;
}

.ranks-card svg,
.signal-card svg,
.tier-row svg {
  position: relative;
  z-index: 1;
  grid-row: span 2;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #9fb1c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ranks-card b,
.signal-card b,
.tier-row b {
  color: #edf6ff;
  font-size: 15px;
}

.team-ranks-card b {
  margin-top: 6px;
}

.signal-card {
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.player-side-rail .signal-card {
  grid-template-columns: 1fr;
}

.signal-card .section-head {
  grid-column: 1 / -1;
}

.signal-card i,
.player-verdict-card i {
  grid-column: 2;
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #153047;
}

.signal-card i::before,
.player-verdict-card i::before {
  content: "";
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.tier-row {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(44, 226, 154, 0.2);
  border-radius: 12px;
  background: rgba(44, 226, 154, 0.06);
  transition:
    border-color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

.ranks-card > a:hover,
.signal-card > span:hover,
.tier-row:hover {
  border-color: rgba(37, 214, 214, 0.38);
  background:
    radial-gradient(circle at 18% 50%, rgba(37, 214, 214, 0.12), transparent 42%),
    rgba(10, 39, 57, 0.66);
  box-shadow:
    0 0 26px rgba(37, 214, 214, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.ranks-card > a:hover svg,
.signal-card > span:hover svg,
.tier-row:hover svg {
  opacity: 1;
  stroke: #69e9ff;
  filter: drop-shadow(0 0 8px rgba(37, 214, 214, 0.35));
}

.player-side-rail .tier-row {
  min-height: 70px;
}

.age-curve-card {
  grid-column: auto;
}

.age-curve-card > strong {
  color: var(--green);
  font-size: 26px;
  line-height: 1.1;
}

.age-curve-card p {
  margin: 0;
  color: #aebccc;
  font-size: 13px;
  line-height: 1.45;
}

.age-curve-line {
  position: relative;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 89, 110, 0.55), rgba(255, 184, 46, 0.5), rgba(44, 226, 154, 0.6));
}

.age-curve-line i {
  position: absolute;
  top: 50%;
  left: var(--position);
  width: 16px;
  height: 16px;
  border: 3px solid #061421;
  border-radius: 50%;
  background: #edf6ff;
  transform: translate(-50%, -50%);
}

.similar-breakdown-card {
  grid-column: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.similar-breakdown-card .section-head {
  grid-column: 1 / -1;
}

.similar-group {
  display: grid;
  gap: 8px;
}

.similar-group h3 {
  margin: 0 0 4px;
  color: #91a2b6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.similar-group a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid rgba(74, 111, 145, 0.16);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.42);
  transition: border-color 160ms ease, background 160ms ease;
}

.similar-group a:hover {
  border-color: rgba(37, 214, 214, 0.34);
  background: rgba(10, 39, 57, 0.68);
}

.similar-group img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.similar-group b {
  color: #edf6ff;
  font-size: 13px;
}

.similar-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.similar-copy b,
.similar-copy small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.similar-copy small {
  color: #8192a8;
  font-size: 10px;
  font-weight: 850;
}

.similar-group strong {
  color: #6fdcff;
  font-size: 13px;
}

.team-page-shell {
  padding-bottom: 42px;
}

.team-page {
  display: grid;
  gap: 18px;
}

.team-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(280px, 1fr) minmax(270px, 320px) var(--player-side-width);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  padding: 16px;
  background:
    linear-gradient(rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 88, 128, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 78% 2%, rgba(37, 214, 214, 0.14), transparent 34%),
    rgba(8, 22, 35, 0.82);
  background-size: 82px 82px, 82px 82px, auto, auto;
}

.team-overview-card > * {
  min-width: 0;
}

.team-overview-card > .team-overview-verdict {
  grid-column: 4;
  justify-self: end;
  width: calc(100% - 16px);
  margin-left: 16px;
}

.team-logo-panel {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 190px;
  overflow: hidden;
  border: 1px solid rgba(125, 181, 228, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(32, 49, 61, 0.9), rgba(4, 16, 27, 0.9));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.team-logo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 58%, rgba(37, 214, 214, 0.13), transparent 42%),
    linear-gradient(180deg, transparent, rgba(3, 17, 28, 0.26));
  pointer-events: none;
}

.team-logo-panel img {
  position: relative;
  z-index: 1;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(37, 214, 214, 0.16))
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}

.team-logo-panel.is-fut img {
  display: block;
  width: 48%;
  height: auto;
  max-width: 48%;
  max-height: none;
  object-position: center center;
  transform: translateY(-2%);
}

.team-logo-fallback {
  position: relative;
  z-index: 0;
  color: #eaf7ff;
  font-size: 54px;
  font-weight: 950;
}

.team-overview-identity {
  display: grid;
  align-content: center;
  min-width: 0;
}

.team-overview-identity h1 {
  margin: 0 0 18px;
  color: #f1f8ff;
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 950;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.team-overview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(125, 181, 228, 0.2);
}

.team-overview-facts a,
.team-overview-facts > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-right: 1px solid rgba(125, 181, 228, 0.14);
  border-bottom: 1px solid rgba(125, 181, 228, 0.14);
  color: #d4e2f3;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.team-overview-facts a:nth-child(2n),
.team-overview-facts > span:nth-child(2n) {
  border-right: 0;
}

.team-overview-facts a:nth-last-child(-n + 2),
.team-overview-facts > span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.team-overview-facts a:hover {
  border-color: rgba(37, 214, 214, 0.24);
  background: rgba(37, 214, 214, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #f1fbff;
}

.team-overview-facts small {
  grid-column: 1 / -1;
  color: #8192a8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-overview-facts b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #edf6ff;
  font-size: 13px;
  font-weight: 900;
}

.team-overview-facts svg,
.team-similar-card svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #9fb1c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.team-overview-market {
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 210px;
  padding-top: 22px;
  padding-left: 26px;
  border-left: 1px solid rgba(125, 181, 228, 0.2);
}

.team-overview-market > span {
  color: #8d9caf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-overview-market strong {
  display: block;
  margin-top: 8px;
  color: #ddfff4;
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 950;
  line-height: 0.95;
  text-shadow:
    0 0 18px rgba(44, 226, 154, 0.38),
    0 0 42px rgba(37, 214, 214, 0.2);
}

.team-overview-market .player-change {
  margin-top: 16px;
}

.team-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--player-side-width);
  gap: 18px;
  align-items: start;
}

.team-main-column,
.team-side-rail {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.team-side-rail .signal-card {
  grid-template-columns: 1fr;
}

.team-chart-card {
  min-width: 0;
}

.team-chart-body {
  grid-template-columns: minmax(0, 1fr) 178px;
}

.team-chart-svg {
  height: 292px;
}

.chart-axis-label {
  fill: #91a2b6;
  font-size: 12px;
  font-weight: 800;
}

.chart-x-label {
  text-anchor: middle;
}

.chart-y-label {
  text-anchor: end;
}

.roster-breakdown-card {
  align-content: start;
  gap: 12px;
}

.team-main-column > .roster-breakdown-card,
.team-main-column > .team-similar-card {
  width: 100%;
}

.team-main-column > .team-similar-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-roster-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(74, 111, 145, 0.16);
  border-radius: 12px;
}

.team-roster-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.35fr) 0.7fr 70px 0.82fr 0.8fr minmax(120px, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(74, 111, 145, 0.14);
  background: rgba(4, 16, 27, 0.34);
  color: #dce8f8;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.team-roster-row:hover {
  border-color: rgba(37, 214, 214, 0.28);
  background: rgba(10, 39, 57, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.team-roster-row.is-benched {
  background: rgba(8, 24, 38, 0.42);
}

.team-roster-head {
  min-height: 34px;
  color: #8192a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.team-roster-row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.team-roster-row > span {
  color: #cad8e7;
  font-size: 13px;
  font-weight: 700;
}

.team-roster-row img {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(125, 181, 228, 0.18);
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.team-roster-row b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  color: #edf6ff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.roster-player-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster-status-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid rgba(255, 193, 77, 0.58);
  border-radius: 999px;
  background: rgba(255, 193, 77, 0.12);
  box-shadow: 0 0 14px rgba(255, 193, 77, 0.10);
  color: #ffd98a;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.team-roster-row strong {
  color: #6fdcff;
  font-size: 13px;
}

.team-roster-row .trend {
  justify-content: flex-start;
}

.share-meter {
  display: grid !important;
  grid-template-columns: 48px 1fr;
  gap: 8px !important;
  align-items: center;
}

.share-meter em {
  color: #cad8e7;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.share-meter.is-benched em {
  color: #ffd98a;
}

.share-meter i,
.team-roster-total i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #153047;
}

.share-meter i::before {
  content: "";
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.team-roster-total {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  color: #91a2b6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-roster-total b,
.team-roster-total strong {
  color: #6fdcff;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.team-similar-card {
  min-width: 0;
}

.team-similar-card .similar-group a {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-width: 0;
}

.team-similar-card .similar-group b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-similar-card .similar-group strong {
  white-space: nowrap;
}

.team-list-logo {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(37, 214, 214, 0.28);
  border-radius: 8px;
  background: rgba(2, 13, 22, 0.56);
}

.team-list-logo img {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.team-list-logo .team-logo-fallback {
  font-size: 11px;
}

.team-age-card small {
  color: #8192a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.directory-page-shell {
  padding-bottom: 42px;
}

.directory-page {
  display: grid;
  gap: 12px;
}

.directory-panel {
  display: grid;
  gap: 10px;
  overflow: visible;
}

.directory-panel .section-head {
  margin-bottom: 2px;
}

.directory-panel .section-head > span {
  color: #91a2b6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-controls {
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) repeat(4, minmax(176px, 1fr));
  gap: 8px;
  align-items: start;
}

.directory-control.search {
  grid-column: span 1;
}

.directory-select-team {
  min-width: 220px;
}

.directory-select-role,
.directory-select-nationality,
.directory-select-region,
.directory-select-country,
.directory-select-ageRange,
.directory-select-valueRange,
.directory-select-trendDir,
.directory-select-shareRange,
.directory-select-sortKey {
  min-width: 176px;
}

.directory-control,
.directory-direction {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(74, 111, 145, 0.18);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.42);
}

.directory-control span,
.directory-direction span {
  color: #8192a8;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory-control input,
.directory-direction {
  color: #edf6ff;
}

.directory-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #edf6ff;
  font-size: 12px;
  font-weight: 800;
}

.directory-control input::placeholder {
  color: #77879b;
  opacity: 1;
}

.directory-select {
  z-index: 6;
}

.directory-select.open {
  z-index: 16;
}

.directory-select-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #edf6ff;
  cursor: pointer;
  text-align: left;
}

.directory-select-button b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-select-button i {
  color: #a8bad0;
  font-style: normal;
  transition: transform 160ms ease, color 160ms ease;
}

.directory-select.open .directory-select-button i {
  color: var(--cyan);
  transform: rotate(180deg);
}

.directory-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  display: none;
  max-height: 238px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px;
  border: 1px solid rgba(74, 111, 145, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 214, 214, 0.08), transparent 38%),
    rgba(4, 16, 27, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.directory-select.open .directory-menu {
  display: grid;
}

.directory-menu button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #c8d6e7;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.directory-menu button:hover,
.directory-menu button.active {
  border-color: rgba(37, 214, 214, 0.24);
  background: rgba(37, 214, 214, 0.1);
  color: #f0fbff;
}

.directory-direction {
  width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.directory-direction:hover {
  border-color: rgba(37, 214, 214, 0.38);
  background: rgba(10, 39, 57, 0.66);
  box-shadow: 0 0 22px rgba(37, 214, 214, 0.08);
}

.directory-direction span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.directory-direction b {
  color: #dce8f8;
  font-size: 22px;
  line-height: 1;
}

.directory-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #91a2b6;
  font-size: 12px;
  font-weight: 900;
}

.directory-pager div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.directory-pager button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(125, 181, 228, 0.22);
  border-radius: 10px;
  background: rgba(4, 16, 27, 0.42);
  color: #dce8f8;
  cursor: pointer;
  font-weight: 900;
}

.directory-pager button:hover:not(:disabled) {
  border-color: rgba(37, 214, 214, 0.45);
  background: rgba(37, 214, 214, 0.1);
}

.directory-pager button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.directory-table {
  overflow-x: auto;
  border: 1px solid rgba(74, 111, 145, 0.16);
  border-radius: 14px;
}

.directory-row {
  display: grid;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(74, 111, 145, 0.14);
  background: rgba(4, 16, 27, 0.34);
  color: #c7d4e3;
  font-size: 13px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.players-directory-table .directory-row {
  grid-template-columns: 42px minmax(150px, 1.2fr) minmax(130px, 0.9fr) 58px 0.72fr 0.9fr 0.82fr 0.82fr minmax(130px, 0.85fr);
  min-width: 1120px;
}

.teams-directory-table .directory-row {
  grid-template-columns: 42px minmax(180px, 1.35fr) 0.72fr 0.88fr 0.76fr 0.86fr 0.84fr 0.84fr 0.76fr;
  min-width: 1220px;
}

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

a.directory-row:hover {
  border-color: rgba(37, 214, 214, 0.28);
  background: rgba(10, 39, 57, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.directory-head {
  min-height: 32px;
  color: #8192a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding: 0;
  text-align: left;
  text-transform: inherit;
  transition: color 160ms ease;
}

.table-sort-button:hover,
.table-sort-button.active {
  color: #e7f7ff;
}

.directory-row strong {
  color: #edf6ff;
  font-size: 13px;
}

.directory-team-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.directory-team-cell i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(37, 214, 214, 0.28);
  border-radius: 8px;
  background: rgba(2, 13, 22, 0.56);
  font-style: normal;
}

.directory-team-cell img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.directory-team-cell b {
  overflow: hidden;
  color: #edf6ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-meter.compact {
  grid-template-columns: 54px 1fr;
}

.share-meter.compact i {
  height: 6px;
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(100% - 28px, 1100px);
  }

  .nav {
    grid-template-columns: 1fr;
    gap: 12px;
    top: 10px;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .site-search {
    width: min(460px, 100%);
  }

  .brand-logo {
    width: 120px;
    height: 27px;
  }

  .hero,
  .movers-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats span:nth-child(2) {
    border-right: 0;
  }

  .hero-stats span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(74, 111, 145, 0.18);
  }

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

  .featured-grid,
  .roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodology {
    overflow-x: auto;
  }

  .method-grid {
    width: 1120px;
    grid-template-columns: repeat(5, minmax(124px, 1fr) 28px) minmax(140px, 1fr);
  }

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

  .player-hero-grid,
  .player-layout-grid,
  .player-content-grid,
  .player-analysis-grid,
  .player-bottom-grid {
    grid-template-columns: 1fr;
  }

  .player-overview-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .player-overview-market {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--player-side-width);
    gap: 18px;
    grid-column: 1 / -1;
    min-height: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(125, 181, 228, 0.2);
  }

  .player-overview-value {
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .player-overview-market > .player-overview-verdict,
  .player-overview-card > .player-overview-verdict,
  .team-overview-card > .team-overview-verdict {
    width: 100%;
    margin-left: 0;
  }

  .player-side-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-photo-panel {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }

  .player-photo-meta {
    align-self: end;
  }

  .player-summary-main {
    grid-template-columns: 1fr;
  }

  .player-summary-main > div:first-child {
    padding-right: 0;
    border-right: 0;
  }

  .valuation-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dynamics-card,
  .ranks-card,
  .signal-card,
  .similar-breakdown-card {
    grid-column: 1 / -1;
  }

  .similar-breakdown-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player-asset-card {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .player-value-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .player-facts {
    padding-left: 0;
    border-left: 0;
  }

  .team-overview-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .team-overview-market,
  .team-overview-verdict {
    min-height: auto;
  }

  .team-overview-card > .team-overview-verdict {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    margin-left: 0;
  }

  .team-overview-market {
    padding-top: 0;
    padding-left: 0;
    border-left: 0;
  }

  .team-content-grid {
    grid-template-columns: 1fr;
  }

  .team-side-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-control.search {
    grid-column: 1 / -1;
  }

  .methodology-hero {
    grid-template-columns: 1fr;
  }

  .methodology-hero-art {
    min-height: 150px;
  }

  .methodology-signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodology-move-card {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .methodology-move-art {
    grid-column: 1 / -1;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px;
  }

  .legal-hero-art {
    min-height: 190px;
  }

  .legal-policy-panel {
    padding: 28px;
  }

  .legal-policy-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 680px);
  }

  .nav-links {
    font-size: 13px;
    gap: 18px;
  }

  .nav-actions {
    width: auto;
  }

  .brand-logo {
    width: 118px;
    height: 27px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .featured-grid,
  .roster-grid,
  .table {
    overflow-x: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats span,
  .hero-stats span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(74, 111, 145, 0.18);
  }

  .hero-stats span:last-child {
    border-bottom: 0;
  }

  .roster-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .table-row {
    min-width: 780px;
  }

  .mini-table {
    overflow-x: auto;
  }

  .mini-head,
  .mini-row {
    min-width: 620px;
  }

  .month-content {
    grid-template-columns: 1fr;
  }

  .methodology {
    padding: 30px 22px;
  }

  .methodology h2 {
    font-size: 17px;
  }

  .methodology-title {
    display: grid;
    gap: 14px;
  }

  .methodology-title span {
    width: min(280px, 70vw);
  }

  .method-grid {
    width: auto;
    grid-template-columns: 1fr;
  }

  .plus,
  .equals {
    display: none;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 22px;
  }

  .footer-brand img {
    width: 160px;
  }

  .content-hero h1 {
    font-size: 34px;
  }

  .content-body {
    padding: 22px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner button {
    width: 100%;
  }

  .player-value-main strong {
    font-size: 46px;
  }

  .player-overview-card,
  .player-overview-market,
  .player-content-grid,
  .player-signal-grid,
  .player-side-rail {
    grid-template-columns: 1fr;
  }

  .value-chart-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .chart-dynamic-readout {
    justify-items: start;
    width: 100%;
  }

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

  .player-overview-photo {
    width: min(260px, 100%);
    margin: 0 auto;
  }

  .player-overview-identity .player-badges {
    margin-bottom: 18px;
  }

  .player-overview-identity h1 {
    margin-bottom: 18px;
    font-size: 52px;
  }

  .player-overview-facts {
    grid-template-columns: 1fr 1fr;
  }

  .player-overview-facts a:nth-child(2n) {
    border-right: 0;
  }

  .player-overview-facts a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(125, 181, 228, 0.14);
  }

  .player-overview-value strong {
    font-size: 48px;
  }

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

  .player-photo-panel {
    grid-template-columns: 1fr;
  }

  .player-photo-card {
    width: min(260px, 100%);
    min-height: 0;
    margin: 0 auto;
    border-right: 1px solid rgba(125, 181, 228, 0.24);
    border-bottom: 1px solid rgba(125, 181, 228, 0.24);
  }

  .player-asset-main {
    padding: 0;
  }

  .player-asset-main h1 {
    font-size: 48px;
  }

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

  .player-portrait-column {
    justify-items: center;
  }

  .player-portrait-column .player-value-main {
    width: min(260px, 100%);
  }

  .player-asset-stats {
    grid-template-columns: 1fr 1fr;
    transform: none;
  }

  .player-asset-stats span {
    min-height: 76px;
    padding: 18px;
    border-right: 1px solid rgba(74, 111, 145, 0.18);
    border-bottom: 1px solid rgba(74, 111, 145, 0.18);
  }

  .player-asset-stats span:nth-child(2n) {
    border-right: 0;
  }

  .player-asset-stats span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .player-facts span {
    grid-template-columns: 24px 72px 1fr;
  }

  .player-mini-board span {
    grid-template-columns: 24px 1fr 70px;
  }

  .player-mini-board em {
    display: none;
  }

  .valuation-dashboard,
  .dynamics-grid,
  .ranks-card,
  .signal-card,
  .similar-breakdown-card {
    grid-template-columns: 1fr;
  }

  .dynamics-card,
  .ranks-card,
  .signal-card,
  .age-curve-card,
  .similar-breakdown-card {
    grid-column: 1;
  }

  .month-profile {
    grid-template-columns: 1fr;
  }

  .month-photo {
    max-width: none;
    height: 260px;
    border-right: 0;
    border-bottom: 1px solid rgba(126, 177, 223, 0.14);
  }

  .month-profile-copy {
    padding: 18px;
  }

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

  .month-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .month-foot {
    flex-direction: column;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .team-overview-card,
  .team-content-grid,
  .team-side-rail,
  .team-chart-body,
  .team-ranks-card,
  .team-signal-card,
  .team-similar-card {
    grid-template-columns: 1fr;
  }

  .team-logo-panel {
    width: min(240px, 100%);
    margin: 0 auto;
  }

  .team-overview-identity h1 {
    font-size: 44px;
  }

  .team-overview-facts {
    grid-template-columns: 1fr;
  }

  .team-overview-facts a,
  .team-overview-facts > span,
  .team-overview-facts a:nth-child(2n),
  .team-overview-facts > span:nth-child(2n) {
    border-right: 0;
  }

  .team-overview-facts a:nth-last-child(-n + 2),
  .team-overview-facts > span:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(125, 181, 228, 0.14);
  }

  .team-overview-facts a:last-child,
  .team-overview-facts > span:last-child {
    border-bottom: 0;
  }

  .team-overview-market strong {
    font-size: 48px;
  }

  .team-chart-svg {
    height: 230px;
  }

  .team-roster-table {
    overflow-x: auto;
  }

  .team-roster-row {
    min-width: 860px;
  }

  .directory-controls {
    grid-template-columns: 1fr;
  }

  .directory-control.search {
    grid-column: auto;
  }

  .directory-pager {
    align-items: flex-start;
    flex-direction: column;
  }

  .methodology-page {
    gap: 10px;
  }

  .methodology-hero {
    padding: 22px;
  }

  .methodology-hero-copy h1 {
    font-size: 34px;
  }

  .methodology-hero-copy p {
    font-size: 15px;
  }

  .methodology-signal-grid,
  .methodology-move-card {
    grid-template-columns: 1fr;
  }

  .methodology-signal-card {
    grid-template-columns: 1fr;
  }

  .legal-page {
    gap: 14px;
    padding-bottom: 18px;
  }

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

  .legal-hero-copy h1 {
    font-size: 42px;
  }

  .legal-hero-copy p {
    font-size: 16px;
  }

  .legal-hero-art {
    display: none;
  }

  .legal-policy-panel {
    padding: 20px;
  }

  .legal-policy-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 22px;
  }

  .legal-policy-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .legal-policy-copy h2 {
    font-size: 18px;
  }

  .legal-policy-copy p {
    font-size: 15px;
  }

  .methodology-card-icon {
    width: 50px;
    height: 50px;
  }

  .methodology-move-art {
    display: none;
  }

  .share-modal {
    align-items: stretch;
    padding: 12px;
  }

  .share-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .share-modal-preview {
    min-height: 320px;
  }

  .share-modal-preview img {
    width: min(100%, 360px);
    max-height: 58vh;
  }

  .share-modal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-modal-actions button {
    min-height: 44px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-shell {
    width: 100%;
    padding: 82px 12px 0;
  }

  main {
    gap: 18px;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    position: fixed;
    right: 12px;
    left: 12px;
    width: auto;
    min-height: 62px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 18px;
    top: max(8px, env(safe-area-inset-top));
  }

  .brand {
    padding-left: 4px;
  }

  .brand-logo {
    width: 150px;
    height: 34px;
  }

  .nav-actions {
    justify-self: end;
    overflow: visible;
    padding: 0;
  }

  .site-search {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    width: auto;
    padding: 8px;
    border: 1px solid rgba(125, 181, 228, 0.24);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(8, 24, 38, 0.98), rgba(4, 14, 23, 0.98)),
      radial-gradient(circle at 0% 0%, rgba(0, 216, 255, 0.12), transparent 42%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  }

  .nav.is-open .site-search {
    display: grid;
  }

  .site-search-results {
    top: calc(100% + 6px);
  }

  .nav-menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 78px);
    right: 0;
    left: auto;
    display: none;
    width: min(260px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(125, 181, 228, 0.24);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(8, 24, 38, 0.98), rgba(4, 14, 23, 0.98)),
      radial-gradient(circle at 0% 0%, rgba(0, 216, 255, 0.12), transparent 42%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: block;
    border-radius: 10px;
    padding: 12px 14px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(37, 214, 214, 0.1);
    color: #f3fbff;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding: 24px 16px 18px;
    border-radius: 16px;
  }

  .hero-copy {
    max-width: none;
    padding-left: 0;
  }

  .hero h1 {
    max-width: 12ch;
    margin-bottom: 18px;
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1.05;
  }

  .hero p {
    max-width: 33ch;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
  }

  .featured-showcase {
    min-width: 0;
    padding: 14px;
    border-radius: 18px;
  }

  .featured-label {
    margin-bottom: 12px;
  }

  .featured-label span {
    font-size: 14px;
  }

  .featured-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 82%);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 2px 12px 0;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(37, 214, 214, 0.58) rgba(125, 181, 228, 0.14);
  }

  .featured-grid::-webkit-scrollbar,
  .method-grid::-webkit-scrollbar {
    height: 6px;
  }

  .featured-grid::-webkit-scrollbar-track,
  .method-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(125, 181, 228, 0.14);
  }

  .featured-grid::-webkit-scrollbar-thumb,
  .method-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(37, 214, 214, 0.58);
  }

  .player-card {
    min-height: 372px;
    padding: 16px 14px 18px;
    scroll-snap-align: start;
  }

  .player-portrait {
    height: 172px;
    margin: 8px 0 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    border-radius: 14px;
  }

  .hero-stats span,
  .hero-stats span:nth-child(2) {
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    min-height: 84px;
    border-right: 1px solid rgba(74, 111, 145, 0.18);
    border-bottom: 1px solid rgba(74, 111, 145, 0.18);
    padding: 12px;
  }

  .hero-stats span:nth-child(2n) {
    border-right: 0;
  }

  .hero-stats span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .hero-stats i {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .hero-stats b {
    font-size: 18px;
  }

  .hero-stats small {
    font-size: 10px;
  }

  .main-grid,
  .movers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top-table,
  .movers,
  .rosters,
  .methodology,
  .month-card {
    border-radius: 18px;
  }

  .top-table,
  .movers {
    padding: 18px 16px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .section-head h2,
  .compact h2 {
    font-size: 18px;
    line-height: 1.12;
  }

  .section-head a {
    font-size: 12px;
    white-space: nowrap;
  }

  .table,
  .mini-table {
    overflow: visible;
    min-width: 0;
  }

  .table-row {
    grid-template-columns: 26px minmax(88px, 1fr) minmax(72px, 0.78fr) minmax(78px, 0.68fr);
    min-width: 0;
    min-height: 44px;
    gap: 8px;
    font-size: 13px;
  }

  .table-head {
    min-height: 30px;
    font-size: 10px;
  }

  .table-row > :nth-child(4),
  .table-row > :nth-child(5),
  .table-row > :nth-child(7) {
    display: none;
  }

  .table-row > :nth-child(6) {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
  }

  .player-cell {
    gap: 8px;
  }

  .player-cell img {
    width: 28px;
    height: 28px;
  }

  .player-cell b,
  .table-team {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .month-card {
    padding: 18px;
  }

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

  .month-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .month-profile {
    min-height: 400px;
    border-radius: 16px;
  }

  .month-photo {
    position: absolute;
    inset: 0;
    height: 100%;
    max-width: none;
    border: 0;
  }

  .month-profile-copy {
    right: 14px;
    bottom: 18px;
    left: 14px;
    padding: 0;
  }

  .month-profile-copy h2 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .month-profile-copy p {
    max-width: 28ch;
    font-size: 12px;
  }

  .month-info h2 {
    font-size: 24px;
  }

  .month-value-row strong {
    font-size: clamp(44px, 15vw, 58px);
  }

  .month-trend {
    min-width: 132px;
  }

  .month-reasons span {
    min-height: 0;
    padding: 12px;
  }

  .mini-head,
  .mini-row {
    grid-template-columns: 26px minmax(100px, 1fr) minmax(82px, 0.78fr) minmax(74px, 0.58fr);
    min-width: 0;
    min-height: 44px;
    gap: 8px;
    font-size: 13px;
  }

  .mini-head {
    font-size: 10px;
  }

  .mini-head > :nth-child(5),
  .mini-row > :nth-child(5) {
    display: none;
  }

  .mini-row > :nth-child(4) {
    justify-self: end;
    text-align: right;
  }

  .rosters {
    padding: 18px 16px;
  }

  .roster-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
  }

  .roster-card {
    min-height: 150px;
    padding: 14px;
  }

  .roster-head {
    grid-template-columns: 30px 42px minmax(0, 1fr);
    gap: 9px;
  }

  .roster-head > .team-badge {
    width: 42px;
    height: 42px;
  }

  .roster-copy strong {
    font-size: 18px;
  }

  .roster-faces {
    gap: 6px;
    margin-top: 14px;
  }

  .roster-face {
    border-radius: 10px;
  }

  .methodology {
    overflow: hidden;
    padding: 20px 16px 18px;
  }

  .methodology-title {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
  }

  .methodology h2 {
    font-size: 18px;
  }

  .methodology-title span {
    width: min(220px, 70vw);
    margin-top: 10px;
  }

  .method-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 82%);
    grid-template-columns: none;
    gap: 12px;
    width: auto;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(37, 214, 214, 0.58) rgba(125, 181, 228, 0.14);
  }

  .methodology article {
    min-height: 208px;
    padding: 18px 16px;
    scroll-snap-align: start;
  }

  .method-icon {
    width: 58px;
    height: 58px;
  }

  .method-icon svg {
    width: 28px;
    height: 28px;
  }

  .methodology b {
    margin-top: 14px;
    font-size: 14px;
  }

  .methodology p {
    max-width: 180px;
    margin-top: 12px;
    font-size: 11px;
  }

  .plus,
  .equals {
    display: none;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 18px 0 28px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .footer-brand img {
    width: min(220px, 100%);
    margin-bottom: 14px;
  }

  .footer p {
    max-width: 28ch;
    font-size: 14px;
  }

  .footer b {
    margin-bottom: 10px;
  }

  .footer a {
    margin: 8px 0;
    font-size: 14px;
  }

  .socials {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 82px 10px 0;
  }

  .nav {
    right: 10px;
    left: 10px;
  }

  .brand-logo {
    width: 136px;
    height: 31px;
  }

  .site-search {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .site-search button {
    min-width: 42px;
    padding: 0;
  }

  .site-search button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .site-search-result {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .site-search-result strong {
    display: none;
  }

  .hero {
    padding: 22px 14px 16px;
  }

  .featured-grid,
  .method-grid {
    grid-auto-columns: minmax(226px, 84%);
  }

  .hero-stats b {
    font-size: 16px;
  }

  .hero-stats span,
  .hero-stats span:nth-child(2) {
    grid-template-columns: 32px 1fr;
    padding: 10px;
  }

  .table-row {
    grid-template-columns: 24px minmax(84px, 1fr) minmax(64px, 0.72fr) minmax(72px, 0.62fr);
    gap: 7px;
    font-size: 12px;
  }

  .mini-head,
  .mini-row {
    grid-template-columns: 24px minmax(88px, 1fr) minmax(68px, 0.72fr) minmax(66px, 0.58fr);
    gap: 7px;
    font-size: 12px;
  }

  .player-cell img {
    width: 26px;
    height: 26px;
  }

  .month-profile {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .legal-page {
    padding-bottom: 18px;
  }

  .legal-document {
    padding: 28px 20px 34px;
    border-radius: 18px;
    background-size: 64px 64px, 64px 64px, auto, auto, auto;
  }

  .legal-document-head h1 {
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: clamp(38px, 12vw, 50px);
  }

  .legal-document-lead p {
    font-size: 16px;
    line-height: 1.58;
  }

  .legal-document-rule {
    margin-top: 26px;
    margin-bottom: 28px;
  }

  .legal-document-body h2 {
    margin-top: 38px;
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.25;
  }

  .legal-document-body p,
  .legal-document-body li {
    font-size: 15px;
    line-height: 1.7;
  }

  .legal-document-body ul {
    gap: 9px;
    padding-left: 20px;
  }

  .methodology-document-section + .methodology-document-section {
    margin-top: 38px;
  }
}

@media (max-width: 420px) {
  .legal-document {
    padding: 24px 16px 30px;
  }

  .legal-document-head h1 {
    font-size: 38px;
  }
}
