:root {
  --bg: #0d1722;
  --surface: #14202c;
  --surface-2: #1a2a39;
  --line: rgba(185, 213, 232, .115);
  --text: #f4f5f2;
  --muted: #b2bbc2;
  --lime: #c8ff36;
  --orange: #ff6b2c;
  --gold: #f1b83b;
  --shell: 1280px;
  --radius: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 50% -12%, rgba(49,83,108,.16), transparent 34%), var(--bg); background-attachment: fixed; color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .025; z-index: 100; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; }
.image-error { display: none !important; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.muted { color: var(--muted); font-weight: 520; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.translated-term { text-decoration: underline dotted rgba(200,255,54,.34); text-underline-offset: 4px; cursor: help; }
.translation-popover { max-width: min(320px, calc(100vw - 24px)); padding: 9px 12px; position: fixed; z-index: 200; pointer-events: none; opacity: 0; transform: translate(-50%, 5px); color: #eef1f3; border: 1px solid #46535d; border-radius: 8px; background: #17212a; box-shadow: 0 12px 32px rgba(0,0,0,.48); font-size: 12px; font-weight: 650; line-height: 1.4; white-space: normal; transition: opacity .12s, transform .12s; }
.translation-popover.visible { opacity: 1; transform: translate(-50%, 0); }
.eyebrow, .kicker { margin: 0; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.kicker i { display: inline-block; width: 20px; height: 2px; margin: 0 8px 3px 0; background: var(--lime); }

.site-header { height: 76px; padding: 0 max(24px, calc((100% - var(--shell)) / 2)); display: flex; align-items: center; gap: 44px; position: sticky; top: 0; z-index: 90; background: rgba(10, 19, 28, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 158px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: #0b1015; background: var(--lime); border-radius: 5px 13px 5px 13px; font-size: 19px; font-weight: 950; transform: skew(-5deg); }
.brand strong { display: block; font-size: 17px; line-height: 1; letter-spacing: -.03em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.site-nav { display: flex; align-self: stretch; gap: 30px; }
.site-nav a { display: flex; align-items: center; position: relative; color: #aab3bb; font-size: 14px; font-weight: 650; }
.site-nav a:hover, .site-nav a.active { color: white; }
.site-nav a.active::after { content: ""; height: 3px; position: absolute; inset: auto 0 0; background: var(--lime); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-search { width: min(320px, 30vw); height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(113,153,182,.075); }
.header-search:focus-within { border-color: rgba(200,255,54,.6); }
.header-search svg { width: 17px; fill: none; stroke: var(--muted); stroke-width: 2; }
.header-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 13px; }
.header-compare { height: 40px; padding: 0 8px 0 12px; display: flex; align-items: center; gap: 8px; color: #dfe5e8; border: 1px solid rgba(200,255,54,.2); border-radius: 99px; background: rgba(200,255,54,.055); font-size: 12px; font-weight: 750; white-space: nowrap; -webkit-touch-callout: none; user-select: none; touch-action: manipulation; transition: border-color .18s, background .18s; }
.header-compare:hover, .header-compare.active { border-color: rgba(200,255,54,.52); background: rgba(200,255,54,.1); }
.header-compare svg { width: 17px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-compare b { min-width: 31px; padding: 3px 6px; color: #0b1015; border-radius: 99px; background: var(--lime); font-size: 9px; font-weight: 900; line-height: 1.25; text-align: center; }
.header-compare.is-ready b { background: var(--orange); }

.home-hero-stage { overflow: hidden; position: relative; background: radial-gradient(circle at 78% 46%, rgba(50,88,115,.3), transparent 31%), linear-gradient(135deg, #112131 0%, #0d1823 58%, #111e2a 100%); }
.home-hero-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0 62%, rgba(134,176,205,.035)); }
.home-hero { min-height: 610px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; position: relative; }
.hero-copy { padding: 72px 0 82px; position: relative; z-index: 2; }
.hero-copy h1 { max-width: 790px; margin: 20px 0; font-size: clamp(52px, 6.3vw, 91px); line-height: .94; letter-spacing: -.068em; }
.hero-copy h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.hero-lead { max-width: 600px; color: #aab3bb; font-size: 17px; line-height: 1.75; }
.hero-search { max-width: 650px; height: 62px; margin-top: 34px; display: flex; padding: 6px; border: 1px solid rgba(210,228,239,.75); background: #eef4f7; border-radius: 12px; box-shadow: 0 20px 60px rgba(3,10,17,.3); }
.hero-search input { min-width: 0; flex: 1; padding: 0 18px; border: 0; outline: 0; color: #111; background: transparent; }
.hero-search button { padding: 0 22px; border: 0; border-radius: 8px; color: #0b1015; background: var(--lime); font-weight: 850; cursor: pointer; }
.hero-search button span { margin-left: 18px; }
.hero-types { display: flex; gap: 22px; margin-top: 22px; }
.hero-types a { color: #aab3bb; font-size: 12px; border-bottom: 1px solid #48515a; padding-bottom: 3px; }
.hero-types a:hover { color: var(--lime); border-color: var(--lime); }
.hero-score { height: 500px; display: grid; place-items: center; position: relative; }
.hero-score::before { content: ""; width: 430px; aspect-ratio: 1; position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,44,.45), rgba(255,107,44,0) 65%); filter: blur(10px); }
.score-ring { width: min(330px, 27vw); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 1; border: 3px solid var(--lime); border-radius: 50%; box-shadow: 0 0 0 25px rgba(200,255,54,.04), 0 0 0 26px rgba(200,255,54,.12), inset 0 0 80px rgba(200,255,54,.06); }
.score-ring b { font-size: clamp(90px, 10vw, 150px); line-height: .8; letter-spacing: -.08em; }
.score-ring small { margin-top: 25px; color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .25em; }
.hero-score > p { position: absolute; right: 0; bottom: 30px; color: #59636c; font-size: 10px; font-weight: 900; letter-spacing: .24em; line-height: 1.5; }
.court-lines { position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.05); transform: rotate(-8deg); }
.court-lines::before { content: ""; width: 40%; height: 100%; position: absolute; left: 30%; border-inline: 1px solid rgba(255,255,255,.05); }

.stat-strip { border-block: 1px solid var(--line); background: #101d29; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-grid > div { padding: 25px 32px; display: flex; align-items: baseline; gap: 12px; border-right: 1px solid var(--line); }
.stat-grid > div:first-child { border-left: 1px solid var(--line); }
.stat-grid strong { font-size: 25px; letter-spacing: -.04em; }
.stat-grid span { color: var(--muted); font-size: 12px; }

.section { padding-block: 86px; }
.section-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 7px 0 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.045em; }
.section-heading.small h2 { font-size: 27px; }
.text-link { color: #c9cfd3; font-size: 13px; font-weight: 700; }
.text-link span { margin-left: 10px; color: var(--lime); }
.text-link:hover { color: var(--lime); }
.section-count { padding: 7px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; font-size: 12px; }
.heading-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.player-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.top-rated-tabs { width: fit-content; margin: -5px 0 18px; padding: 4px; display: flex; gap: 3px; border: 1px solid var(--line); border-radius: 12px; background: rgba(20,32,44,.76); }
.top-rated-tabs button { min-width: 68px; height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); border: 0; border-radius: 8px; background: transparent; cursor: pointer; transition: color .18s, background .18s, box-shadow .18s; }
.top-rated-tabs button:hover { color: white; background: rgba(255,255,255,.045); }
.top-rated-tabs button.active { color: #10150d; background: var(--lime); box-shadow: 0 6px 18px rgba(200,255,54,.12); }
.top-rated-tabs span { font-size: 12px; font-weight: 800; white-space: nowrap; }
.top-rated-tabs small { color: currentColor; font-size: 8px; font-weight: 900; letter-spacing: .06em; opacity: .65; }
.top-rated-panel[hidden] { display: none; }
.player-card { min-width: 0; overflow: hidden; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.player-card:hover { z-index: 2; transform: translateY(-5px); border-color: rgba(200,255,54,.35); box-shadow: 0 18px 45px rgba(0,0,0,.25); }
.player-card-art { height: 235px; display: flex; justify-content: center; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 35%, #34414a, #151d24 62%); }
.player-card-art::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--surface)); }
.player-card-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 15px 15px rgba(0,0,0,.35)); transition: transform .3s ease; }
.player-card:hover .player-card-art img { transform: scale(1.035); }
.image-fallback { margin: auto; font-size: 50px; font-weight: 900; color: #52606a; }
.overall-badge { width: 48px; height: 48px; display: grid; place-items: center; position: absolute; top: 12px; right: 12px; z-index: 2; color: #111; background: var(--lime); border: 3px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 17px; font-weight: 950; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.overall-badge.tone-20, .overall-badge.tone-19, .overall-badge.tone-18 { color: #10150d; border-color: rgba(236,255,185,.62); background: #c8ff36; box-shadow: 0 8px 24px rgba(200,255,54,.2); }
.overall-badge.tone-17, .overall-badge.tone-16 { color: #17170b; border-color: rgba(255,248,180,.58); background: #e5ed76; box-shadow: 0 8px 24px rgba(229,237,118,.18); }
.overall-badge.tone-15, .overall-badge.tone-14 { color: #1b1408; border-color: rgba(255,229,167,.58); background: #f6c55b; box-shadow: 0 8px 24px rgba(246,197,91,.18); }
.overall-badge.tone-13, .overall-badge.tone-12, .overall-badge.tone-11, .overall-badge.tone-10 { color: #1b0d07; border-color: rgba(255,207,176,.5); background: #ec8a52; box-shadow: 0 8px 24px rgba(236,138,82,.18); }
.overall-badge.tone-9, .overall-badge.tone-8, .overall-badge.tone-7, .overall-badge.tone-6, .overall-badge.tone-5, .overall-badge.tone-4, .overall-badge.tone-3, .overall-badge.tone-2, .overall-badge.tone-1, .overall-badge.tone-0 { color: #fff5f1; border-color: rgba(255,194,186,.44); background: #b9574c; box-shadow: 0 8px 24px rgba(185,87,76,.2); }
.player-card-copy { padding: 18px; }
.player-card-copy h3 { margin: 7px 0 5px; overflow: hidden; font-size: 19px; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.02em; }
.player-card-copy > p:not(.eyebrow) { margin: 0; font-size: 12px; }
.card-meta { min-height: 38px; margin-top: 16px; padding-top: 13px; display: flex; justify-content: space-between; gap: 8px; color: #78838c; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.35; }
.card-meta span:last-child { color: var(--lime); font-size: 15px; }
.player-card.compact .player-card-art { height: 190px; }

.section-split { padding-top: 0; display: grid; grid-template-columns: 1.45fr .75fr; gap: 20px; }
.panel { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.team-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.team-link-grid a { padding: 13px 5px; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); font-size: 12px; }
.team-link-grid a:nth-last-child(-n+3) { border-bottom: 0; }
.team-link-grid a:hover span { color: var(--lime); }
.team-link-grid small { margin-right: 18px; color: #68737c; white-space: nowrap; }
.badge-mini-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.badge-mini-list a { min-width: 0; min-height: 112px; padding: 14px; display: flex; align-items: flex-start; gap: 12px; position: relative; border: 1px solid rgba(255,255,255,.065); border-radius: 12px; background: rgba(255,255,255,.028); transition: transform .2s, border-color .2s, background .2s; }
.badge-mini-list a:hover { transform: translateY(-2px); border-color: rgba(200,255,54,.32); background: rgba(200,255,54,.065); }
.badge-mini-list span:not(.badge-icon) { min-width: 0; flex: 1; }
.badge-mini-list strong, .badge-mini-list small { display: block; }
.badge-mini-list strong { padding-right: 16px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.badge-mini-list small { margin-top: 3px; color: var(--lime); font-size: 11px; font-weight: 700; }
.badge-mini-list p { margin: 8px 0 0; overflow: hidden; display: -webkit-box; color: var(--muted); font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.badge-mini-list i { position: absolute; right: 13px; top: 14px; color: var(--lime); font-style: normal; }
.section.home-teams { padding-top: 18px; padding-bottom: 38px; }
.home-team-tabs { padding: 4px; display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.home-team-tabs button { min-width: 82px; padding: 9px 16px; color: var(--muted); border: 0; border-radius: 7px; background: transparent; font-size: 13px; font-weight: 750; text-align: center; white-space: nowrap; cursor: pointer; }
.home-team-tabs button:hover { color: white; background: rgba(255,255,255,.05); }
.home-team-tabs button.active { color: #10150d; background: var(--lime); }
.team-logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.team-logo-grid[hidden] { display: none; }
.team-logo-grid > a { min-width: 0; min-height: 85px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: transform .2s, border-color .2s, background .2s; }
.team-logo-grid > a:hover { transform: translateY(-2px); border-color: rgba(200,255,54,.4); background: var(--surface-2); }
.team-card-logo { width: 55px; height: 55px; padding: 6px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: rgba(255,255,255,.055); color: var(--muted); font-size: 13px; font-weight: 900; }
.team-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-logo-grid > a > span:nth-child(2) { min-width: 0; flex: 1; }
.team-logo-grid strong, .team-logo-grid small { display: block; }
.team-logo-grid strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.team-logo-grid small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.team-logo-grid i { color: var(--lime); font-style: normal; }
.team-logo-grid .free-agency-card { border-color: rgba(200,255,54,.25); background: linear-gradient(120deg, rgba(200,255,54,.09), var(--surface)); }
.conference-team-panel[hidden] { display: none; }
.conference-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.conference-block { --conference-accent: var(--lime); min-width: 0; padding: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(26,42,57,.86), rgba(17,29,40,.78)); }
.conference-east, .conference-west { --conference-accent: var(--lime); }
.conference-block > header { min-height: 55px; margin-bottom: 13px; padding: 0 3px 13px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
.conference-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; color: #0c141b; border-radius: 10px; background: var(--conference-accent); font-size: 15px; font-weight: 950; box-shadow: 0 8px 24px color-mix(in srgb, var(--conference-accent) 16%, transparent); }
.conference-block > header div { min-width: 0; }
.conference-block > header p { margin: 0 0 2px; color: var(--conference-accent); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.conference-block > header h3 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.conference-block > header b { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 650; white-space: nowrap; }
.conference-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.conference-team-grid > a { min-height: 70px; padding: 8px 10px; border-color: rgba(185,213,232,.09); background: rgba(8,17,24,.34); }
.conference-team-grid > a:hover { border-color: color-mix(in srgb, var(--conference-accent) 42%, transparent); background: color-mix(in srgb, var(--conference-accent) 6%, rgba(8,17,24,.48)); }
.conference-team-grid .team-card-logo { width: 43px; height: 43px; padding: 5px; }
.conference-team-grid strong { font-size: 12px; }
.conference-team-grid small { margin-top: 3px; font-size: 10px; }
.conference-team-grid i { color: var(--conference-accent); }
.free-agent-entry { min-height: 88px; margin-top: 14px; padding: 13px 18px; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 20px; align-items: center; gap: 15px; overflow: hidden; position: relative; border: 1px solid rgba(200,255,54,.24); border-radius: 15px; background: linear-gradient(110deg, rgba(200,255,54,.105), rgba(20,32,44,.92) 47%, rgba(20,32,44,.72)); transition: transform .2s, border-color .2s, background .2s; }
.free-agent-entry::after { content: "FREE AGENT"; position: absolute; right: 86px; color: rgba(200,255,54,.035); font-size: 48px; font-weight: 950; letter-spacing: -.06em; pointer-events: none; }
.free-agent-entry:hover { transform: translateY(-2px); border-color: rgba(200,255,54,.48); background: linear-gradient(110deg, rgba(200,255,54,.15), rgba(24,39,52,.96) 47%, rgba(20,32,44,.82)); }
.free-agent-logo { width: 54px; height: 54px; position: relative; z-index: 1; box-shadow: 0 0 0 7px rgba(255,255,255,.025); }
.free-agent-entry > span:nth-child(2) { min-width: 0; position: relative; z-index: 1; }
.free-agent-entry > span:nth-child(2) small, .free-agent-entry > span:nth-child(2) strong { display: block; }
.free-agent-entry > span:nth-child(2) small { color: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.free-agent-entry > span:nth-child(2) strong { margin-top: 2px; font-size: 17px; }
.free-agent-entry > span:nth-child(2) p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.free-agent-count { min-width: 72px; position: relative; z-index: 1; text-align: right; }
.free-agent-count strong, .free-agent-count small { display: block; }
.free-agent-count strong { color: white; font-size: 22px; line-height: 1; }
.free-agent-count small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.free-agent-entry > i { position: relative; z-index: 1; color: var(--lime); font-style: normal; font-size: 18px; }
.conference-other { margin-top: 14px; }
.section.badge-home-section { padding-top: 0; padding-bottom: 32px; }

.page-head { padding: 74px 0 42px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 10px 0; font-size: clamp(45px, 6vw, 72px); letter-spacing: -.06em; }
.page-head > p:last-child { margin: 0; color: var(--muted); }
.directory-layout { padding-block: 30px 90px; }
.filter-bar { padding: 18px; display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.filter-bar label span { display: block; margin: 0 0 7px 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.filter-bar input, .filter-bar select { width: 100%; height: 43px; padding: 0 13px; outline: 0; border: 1px solid var(--line); border-radius: 8px; color: white; background: #101b26; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--lime); }
.filter-bar button { height: 43px; padding: 0 25px; border: 0; border-radius: 8px; color: #111; background: var(--lime); font-weight: 850; cursor: pointer; }
.search-engine { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.search-engine .filter-bar { border: 0; border-radius: 0; background: transparent; }
.secondary-filters { padding: 0 18px 18px; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 12px; }
.secondary-filters label span { display: block; margin: 0 0 7px 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.secondary-filters input, .secondary-filters select { width: 100%; height: 40px; padding: 0 12px; outline: 0; color: white; border: 1px solid var(--line); border-radius: 8px; background: #101b26; }
.more-filters > summary { display: none; }
.advanced-filters { border-top: 1px solid var(--line); }
.advanced-filters summary { padding: 15px 20px; display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; background: rgba(255,255,255,.018); }
.advanced-filters summary::-webkit-details-marker { display: none; }
.advanced-filters summary span { font-size: 12px; font-weight: 750; }
.advanced-filters summary small { color: var(--muted); font-size: 10px; }
.advanced-filters summary i { margin-left: auto; color: var(--lime); font-style: normal; transition: transform .2s; }
.advanced-filters[open] summary i { transform: rotate(180deg); }
.advanced-filter-body { max-height: 520px; padding: 20px; overflow-y: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; border-top: 1px solid var(--line); }
.advanced-filter-body fieldset { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.advanced-filter-body legend { padding: 0 7px; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.advanced-filter-body fieldset > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 12px; }
.advanced-filter-body label { min-width: 0; display: grid; grid-template-columns: 1fr 62px; align-items: center; gap: 6px; }
.advanced-filter-body label span { overflow: hidden; color: #9fa9b1; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.advanced-filter-body input { width: 62px; height: 31px; padding: 0 7px; outline: 0; color: white; border: 1px solid var(--line); border-radius: 6px; background: #101b26; font-size: 10px; }
.advanced-filter-body input:focus { border-color: var(--lime); }
.results-note { margin: 23px 2px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.results-note strong { color: white; font-size: 19px; }
.results-note span { margin-left: auto; }
.pagination { margin-top: 35px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pagination > a, .pagination > span { min-width: 90px; color: #b8c0c6; font-size: 11px; font-weight: 700; }
.pagination > a:last-child, .pagination > span:last-child { text-align: right; }
.pagination > span { opacity: .3; }
.pagination > div { display: flex; align-items: center; gap: 5px; }
.pagination > div a { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 11px; }
.pagination > div a:hover, .pagination > div a.active { color: #0b1015; border-color: var(--lime); background: var(--lime); font-weight: 850; }
.pagination > div i { margin-inline: 3px; color: var(--muted); font-style: normal; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state strong { color: white; font-size: 20px; }
.empty-state a { margin-top: 18px; padding: 10px 15px; display: inline-flex; color: #111; border-radius: 8px; background: var(--lime); font-size: 12px; font-weight: 850; }
.free-agent-list-heading { display: grid; grid-template-columns: minmax(220px, 1fr) auto 320px; align-items: end; gap: 18px; }
.free-agent-list-heading > div { grid-column: 1; grid-row: 1; }
.free-agent-list-heading .section-count { grid-column: 2; grid-row: 1; }
.free-agent-list-heading .free-agent-list-search { width: 320px; margin: 0; grid-column: 3; grid-row: 1; justify-self: end; }
.error-page { min-height: calc(100vh - 196px); padding-block: 110px; position: relative; overflow: hidden; }
.error-code { position: absolute; right: 2%; top: 15px; z-index: -1; color: rgba(255,255,255,.025); font-size: clamp(180px, 28vw, 410px); font-weight: 950; line-height: 1; letter-spacing: -.1em; }
.error-page h1 { max-width: 820px; margin: 14px 0; font-size: clamp(52px, 7vw, 92px); line-height: .95; letter-spacing: -.06em; }
.error-page > p:not(.kicker) { max-width: 600px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.error-page > div:last-child { margin-top: 30px; display: flex; gap: 10px; }
.error-page a { padding: 11px 17px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 750; }
.error-page a:hover { border-color: var(--lime); }
.error-page .error-primary { color: #0b1015; border-color: var(--lime); background: var(--lime); }

.breadcrumbs { margin-bottom: 32px; display: flex; gap: 9px; color: #7f8991; font-size: 11px; }
.breadcrumbs a:hover { color: var(--lime); }
.player-hero { overflow: hidden; position: relative; background: radial-gradient(circle at 18% 30%, #2a3942, transparent 32%), linear-gradient(115deg, #111a22, #0c1116 70%); border-bottom: 1px solid var(--line); }
.player-hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255,255,255,.05) 81px, transparent 82px); }
.player-hero-grid { min-height: 540px; display: grid; grid-template-columns: minmax(300px, 38%) 1fr 190px; align-items: center; gap: 38px; position: relative; }
.player-portrait { height: 500px; align-self: end; display: flex; align-items: end; justify-content: center; position: relative; }
.player-portrait::after { content: ""; width: 80%; height: 25px; position: absolute; bottom: 5px; background: rgba(0,0,0,.55); border-radius: 50%; filter: blur(14px); }
.player-portrait img { width: 100%; height: 100%; position: relative; z-index: 1; object-fit: cover; object-position: center; filter: drop-shadow(20px 12px 18px rgba(0,0,0,.3)); }
.portrait-number { position: absolute; left: -15px; bottom: 5px; z-index: 0; color: rgba(255,255,255,.035); font-size: 260px; font-weight: 950; line-height: .8; letter-spacing: -.12em; }
.player-intro { position: relative; z-index: 3; }
.player-intro h1 { margin: 8px 0; font-size: clamp(48px, 5.5vw, 78px); line-height: .95; letter-spacing: -.065em; }
.archetype { margin: 14px 0 20px; color: #b7c0c7; font-size: 16px; }
.team-pill { max-width: 430px; padding: 10px 13px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.04); }
.team-pill:hover { border-color: rgba(200,255,54,.45); }
.team-pill img { width: 38px; height: 38px; object-fit: contain; }
.team-pill > span { min-width: 0; flex: 1; }
.team-pill small, .team-pill strong { display: block; }
.team-pill small { margin-bottom: 3px; color: var(--muted); font-size: 9px; }
.team-pill strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.team-pill i { color: var(--lime); font-style: normal; }
.bio-grid { min-height: 50px; margin-top: 28px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; gap: 10px 12px; }
.bio-grid > div { min-width: 0; }
.bio-primary { min-height: 64px; padding: 10px 12px; grid-column: span 4; border: 1px solid rgba(185,213,232,.1); border-radius: 10px; background: rgba(255,255,255,.025); }
.bio-secondary { padding: 7px 2px 0; grid-column: span 3; }
.bio-grid small, .bio-grid strong { display: block; }
.bio-grid small { margin-bottom: 5px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.bio-grid strong { font-size: 15px; }
.measurement { width: fit-content; position: relative; cursor: help; outline: none; }
.measurement > span:first-child { text-decoration: underline dotted rgba(200,255,54,.42); text-underline-offset: 4px; }
.metric-value { min-width: max-content; padding: 6px 9px; position: absolute; left: 50%; bottom: calc(100% + 9px); z-index: 20; color: #0c1116; border-radius: 6px; background: var(--lime); box-shadow: 0 7px 22px rgba(0,0,0,.34); font-size: 11px; font-weight: 850; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .16s, transform .16s; }
.metric-value::after { content: ""; width: 7px; height: 7px; position: absolute; left: 50%; bottom: -3px; background: var(--lime); transform: translateX(-50%) rotate(45deg); }
.measurement:hover .metric-value, .measurement:focus-visible .metric-value { opacity: 1; transform: translate(-50%, 0); }
.player-rating-rail { display: grid; align-self: center; gap: 12px; position: relative; z-index: 4; }
.overall-panel { padding: 28px 15px; text-align: center; border: 1px solid rgba(200,255,54,.3); border-radius: 16px; background: rgba(200,255,54,.05); box-shadow: inset 0 0 30px rgba(200,255,54,.03); }
.overall-panel span, .overall-panel small { display: block; color: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.overall-panel strong { display: block; margin: 7px 0 10px; font-size: 72px; line-height: 1; letter-spacing: -.08em; }
.overall-panel small { color: var(--muted); letter-spacing: 0; }
.badge-tier-summary { padding: 16px 14px 12px; border: 1px solid rgba(185,213,232,.15); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%), rgba(20,32,44,.88); box-shadow: inset 0 1px rgba(255,255,255,.025); backdrop-filter: blur(10px); }
.tier-summary-head { margin-bottom: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tier-summary-head span { color: #f2f5f6; font-size: 13px; font-weight: 800; letter-spacing: 0; }
.tier-summary-head strong { color: #9ba8b2; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.badge-tier-summary ul { margin: 0; padding: 0; list-style: none; }
.badge-tier-summary li { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid rgba(185,213,232,.09); font-size: 12px; }
.badge-tier-summary li span { display: flex; align-items: center; gap: 8px; color: var(--tier-color); font-weight: 720; }
.badge-tier-summary li span::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px color-mix(in srgb, currentColor 48%, transparent); }
.badge-tier-summary li strong { min-width: 28px; padding: 3px 7px; color: var(--tier-color); border: 1px solid color-mix(in srgb, var(--tier-color) 17%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--tier-color) 7%, transparent); font-size: 14px; line-height: 1.15; text-align: center; font-variant-numeric: tabular-nums; }
.tier-count-legendary { --tier-color: #ff737d; }
.tier-count-hall-of-fame { --tier-color: #dfa4ff; }
.tier-count-gold { --tier-color: #ffd66d; }
.tier-count-silver { --tier-color: #e3e8ec; }
.tier-count-bronze { --tier-color: #e8a477; }

.player-content { padding-block: 72px 48px; }
.content-section + .content-section { margin-top: 85px; }
.ability-overview { margin: 30px 0 20px; padding: 24px; display: grid; grid-template-columns: minmax(390px, .95fr) 1.2fr; gap: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, rgba(200,255,54,.045), transparent 45%), var(--surface); }
.radar-panel { min-width: 0; padding: 18px 20px 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(8,18,27,.5); }
.overview-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.overview-heading span, .overview-heading small { display: block; }
.overview-heading span { font-size: 16px; font-weight: 800; }
.overview-heading > div small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.overview-metrics { display: flex; align-items: center; gap: 12px; }
.overview-overall { display: flex; align-items: baseline; gap: 5px; color: var(--lime); font-size: 30px; line-height: 1; }
.overview-overall small { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.overview-potential { min-width: 48px; padding-left: 12px; border-left: 1px solid var(--line); text-align: right; }
.overview-potential small { margin: 0 0 3px !important; color: var(--muted); font-size: 7px !important; font-weight: 800; letter-spacing: .1em; }
.overview-potential b { color: #f4f6f2; font-size: 18px; line-height: 1; }
.ability-radar { width: 100%; max-height: 330px; margin-top: 4px; overflow: visible; }
.radar-grid polygon { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }
.radar-grid line { stroke: rgba(255,255,255,.09); stroke-width: 1; }
.radar-shape { fill: url(#radar-fill); fill-opacity: .2; stroke: var(--lime); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(200,255,54,.18)); }
.radar-dots circle { fill: var(--lime); stroke: #111820; stroke-width: 2; }
.radar-labels { fill: #d7dde1; font-size: 13px; font-weight: 750; }
.ability-score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ability-score { min-height: 142px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-top: 3px solid #68737c; border-radius: 13px; background: rgba(255,255,255,.025); }
.ability-score > span { color: #d7dde1; font-size: 14px; font-weight: 750; }
.ability-score > strong { margin: 7px 0; font-size: clamp(42px, 4.2vw, 62px); line-height: .9; letter-spacing: -.055em; }
.ability-score > small { color: var(--muted); font-size: 12px; }
.ability-score.rating-border-9 { border-top-color: var(--lime); }
.ability-score.rating-border-8 { border-top-color: #e5ed76; }
.ability-score.rating-border-7 { border-top-color: #f6c55b; }
.ability-score.rating-border-6, .ability-score.rating-border-5 { border-top-color: #ec8a52; }
.ability-score.rating-border-4, .ability-score.rating-border-3, .ability-score.rating-border-2, .ability-score.rating-border-1, .ability-score.rating-border-0 { border-top-color: #d6675b; }
.attribute-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.attribute-group { height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.attribute-group h3 { margin: 0 0 17px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.attribute-row { min-height: 34px; display: grid; grid-template-columns: 96px 1fr 36px; align-items: center; gap: 11px; }
.attribute-row > span { color: #aab3bb; font-size: 11px; }
.attribute-track { height: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.035); border-radius: 99px; background: #252e35; box-shadow: inset 0 1px 2px rgba(0,0,0,.28); }
.attribute-track i { width: var(--value); height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--score-color) 58%, #2d3740), var(--score-color)); box-shadow: 0 0 8px color-mix(in srgb, var(--score-color) 28%, transparent); }
.attribute-row strong { width: 36px; height: 28px; display: grid; place-items: center; text-align: center; border: 1px solid color-mix(in srgb, var(--score-color) 34%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--score-color) 14%, transparent); color: var(--score-color); font-size: 12px; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 12px color-mix(in srgb, var(--score-color) 5%, transparent); }
.rating-tone-9 { --score-color: var(--lime); }
.rating-tone-8 { --score-color: #e5ed76; }
.rating-tone-7 { --score-color: #f6c55b; }
.rating-tone-6, .rating-tone-5 { --score-color: #ec8a52; }
.rating-tone-4, .rating-tone-3, .rating-tone-2, .rating-tone-1, .rating-tone-0 { --score-color: #d6675b; }
.rating-9 { color: var(--lime); }
.rating-8 { color: #e5ed76; }
.rating-7 { color: #f6c55b; }
.rating-6, .rating-5 { color: #ec8a52; }
.rating-history-chart { height: 170px; margin-top: 18px; padding: 10px 14px 6px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(200,255,54,.035), rgba(255,255,255,.015)); scrollbar-width: thin; }
.rating-history-chart svg { width: 100%; min-width: 820px; height: 150px; overflow: visible; }
.history-grid line { stroke: rgba(255,255,255,.075); stroke-width: 1; stroke-dasharray: 4 6; }
.history-axis { fill: #7f8c96; font-size: 9px; font-weight: 750; }
.history-area { fill: url(#history-area); }
.history-line { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.history-point circle { fill: var(--lime); stroke: #111820; stroke-width: 2; vector-effect: non-scaling-stroke; }
.history-value { fill: #f4f7f0; font-size: 12px; font-weight: 850; }
.history-version { fill: var(--muted); font-size: 10px; font-weight: 700; }
.season-movement { margin-top: 14px; padding: 14px 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; border: 1px solid var(--line); border-radius: 11px; }
.season-movement > span { margin-right: 8px; color: var(--muted); font-size: 12px; font-weight: 750; }
.season-movement > div { padding: 7px 10px; display: flex; align-items: center; gap: 10px; border-radius: 7px; background: rgba(255,255,255,.045); }
.season-movement small { color: var(--muted); font-size: 11px; }
.season-movement strong { font-size: 18px; }
.rating-4, .rating-3, .rating-2, .rating-1, .rating-0 { color: #d6675b; }

.hot-zone-layout { margin-top: 24px; padding: 22px; display: grid; grid-template-columns: minmax(420px, 1.25fr) minmax(280px, .75fr); gap: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(200,255,54,.035), transparent 42%), var(--surface); }
.hot-zone-court { min-width: 0; padding: 18px 18px 14px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(185,213,232,.1); border-radius: 14px; background: rgba(8,18,27,.52); }
.hot-zone-court svg { width: 100%; max-height: 430px; display: block; }
.hot-zone-source-svg > g path { transition: filter .18s; }
.hot-zone-source-svg > g:not(.hot-zone-floor):not(.hot-zone-ring) path:hover { filter: brightness(1.16) drop-shadow(0 0 7px rgba(255,255,255,.22)); }
.hot-zone-source-svg .hot-zone-floor path, .hot-zone-source-svg .hot-zone-ring path { fill: #fff; }
.hot-zone-source-svg .zone-hot path { fill: #e53935; }
.hot-zone-source-svg .zone-neutral path { fill: #999; }
.hot-zone-source-svg .zone-cold path { fill: #2097f3; }
.hot-zone-legend { margin-top: 14px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; }
.hot-zone-legend span { padding: 6px 9px; display: flex; align-items: center; gap: 6px; color: #b7c0c7; border: 1px solid rgba(185,213,232,.1); border-radius: 7px; background: rgba(255,255,255,.025); font-size: 11px; }
.hot-zone-legend i, .hot-zone-details i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--zone-color); box-shadow: 0 0 8px color-mix(in srgb, var(--zone-color) 42%, transparent); }
.hot-zone-legend strong { color: #f2f5f6; font-size: 12px; font-variant-numeric: tabular-nums; }
.hot-zone-layout .zone-hot { --zone-color: #ef706a; }
.hot-zone-layout .zone-neutral { --zone-color: #9aa5ad; }
.hot-zone-layout .zone-cold { --zone-color: #56a9df; }
.hot-zone-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; }
.hot-zone-details > div { min-height: 48px; padding: 9px 10px; display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 8px; border: 1px solid rgba(185,213,232,.1); border-left: 2px solid var(--zone-color); border-radius: 9px; background: rgba(255,255,255,.025); }
.hot-zone-details span { min-width: 0; color: #d7dde1; font-size: 11px; line-height: 1.3; }
.hot-zone-details strong { color: var(--zone-color); font-size: 10px; white-space: nowrap; }

.badge-category { margin-top: 31px; }
.badge-category > h3 { margin: 0 0 13px; font-size: 15px; }
.badge-category > h3 small { margin-left: 8px; color: var(--muted); font-size: 10px; font-weight: 500; }
.player-badge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.badge-popover { min-width: 0; position: relative; }
.badge-popover summary { min-height: 70px; padding: 10px; display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: border-color .2s, background .2s; }
.badge-popover summary::-webkit-details-marker { display: none; }
.badge-popover summary:hover, .badge-popover[open] summary { border-color: rgba(200,255,54,.35); background: var(--surface-2); }
.badge-popover summary > span:not(.badge-icon) { min-width: 0; flex: 1; }
.badge-popover summary strong, .badge-popover summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-popover summary strong { font-size: 12px; }
.badge-popover summary small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.badge-popover .chevron { color: #66717a; font-style: normal; transition: transform .2s; }
.badge-popover[open] .chevron { transform: rotate(180deg); }
.badge-icon { flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: radial-gradient(circle, #39444d, #172029); }
.badge-icon img { width: 100%; height: 100%; object-fit: contain; }
.badge-icon.small { width: 34px; height: 34px; }
.badge-icon.medium { width: 48px; height: 48px; }
.badge-icon.large { width: 76px; height: 76px; }
.badge-icon.xlarge { width: 105px; height: 105px; }
.badge-icon.hero { width: 230px; height: 230px; box-shadow: 0 0 80px rgba(200,255,54,.12); }
.badge-flyout { width: 330px; padding: 18px; display: none; position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 30; transform: translateX(-50%); border: 1px solid #3c4952; border-radius: 15px; background: #182129; box-shadow: 0 22px 55px rgba(0,0,0,.55); }
.badge-flyout::after { content: ""; width: 11px; height: 11px; position: absolute; left: 50%; bottom: -7px; transform: rotate(45deg); background: #182129; border-right: 1px solid #3c4952; border-bottom: 1px solid #3c4952; }
.badge-popover[open] .badge-flyout { display: block; }
.badge-flyout-head { display: flex; align-items: center; gap: 13px; }
.badge-flyout-head span { flex: 1; }
.badge-flyout-head small, .badge-flyout-head strong, .badge-flyout-head b { display: block; }
.badge-flyout-head small { color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.badge-flyout-head strong { margin: 4px 0; font-size: 18px; }
.badge-flyout-head b { color: var(--gold); font-size: 10px; }
.badge-flyout > p { margin: 16px 0; color: #bdc5cb; font-size: 12px; line-height: 1.65; }
.badge-flyout > a { display: flex; justify-content: space-between; color: var(--lime); font-size: 10px; font-weight: 750; }
.source-note { margin-top: 58px; padding: 20px 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(110deg, rgba(200,255,54,.035), rgba(255,255,255,.018)); }
.source-label { align-self: start; padding: 5px 7px; color: #111; background: var(--lime); border-radius: 4px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.source-content { min-width: 0; }
.source-note strong { display: block; font-size: 13px; }
.source-meta { margin: 10px 0 0; display: flex; align-items: center; gap: 0; }
.source-meta > div { min-width: 120px; padding-right: 22px; }
.source-meta > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.source-meta dt { color: var(--muted); font-size: 10px; }
.source-meta dd { margin: 2px 0 0; color: #dce2e6; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.source-meta .source-id { min-width: 0; flex: 1; }
.source-note > a { padding: 9px 11px; display: flex; align-items: center; gap: 10px; color: var(--lime); border: 1px solid rgba(200,255,54,.18); border-radius: 8px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.source-note > a:hover { border-color: rgba(200,255,54,.42); background: rgba(200,255,54,.055); }
.source-note > a i { font-style: normal; }

.team-hero { padding: 70px 0; background: linear-gradient(120deg, #131d25, #0b1015); border-bottom: 1px solid var(--line); }
.team-hero-grid { display: grid; grid-template-columns: 180px minmax(0,1fr) auto; align-items: center; gap: 45px; }
.team-logo { width: 180px; height: 180px; padding: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, #29343d, #121920); }
.team-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-logo span { font-size: 45px; font-weight: 900; color: var(--muted); }
.team-hero h1 { margin: 9px 0; font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.06em; }
.team-hero p:last-child { color: var(--muted); }
.team-rating-summary { display: grid; grid-template-columns: repeat(3,112px); gap: 9px; }
.team-rating-summary > div { --team-rating-color: var(--score-color, var(--lime)); min-height: 112px; padding: 14px; display: flex; flex-direction: column; justify-content: center; border: 1px solid color-mix(in srgb, var(--team-rating-color) 30%, transparent); border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--team-rating-color) 8%, transparent), rgba(8,17,24,.7)); box-shadow: inset 0 0 24px color-mix(in srgb, var(--team-rating-color) 3%, transparent); }
.team-rating-summary small { color: #c2cbd1; font-size: 10px; font-weight: 750; }
.team-rating-summary strong { margin: 6px 0 4px; color: var(--team-rating-color); font-size: 37px; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.team-rating-summary span { color: #71808a; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.team-content { padding-block: 45px 90px; }
.team-stats { margin-bottom: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.team-stats > div { min-height: 115px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.team-stats > div:last-child { border-right: 0; }
.team-stats small { color: var(--muted); font-size: 10px; }
.team-stats strong { margin: 4px 0; font-size: 32px; }
.team-stats span { color: #57626b; font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.position-stat p { margin: 11px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.position-stat p span { padding: 6px 9px; color: #cbd1d5; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; letter-spacing: 0; }
.position-stat p b { margin-left: 4px; color: var(--lime); }
.team-badges { margin: 0 0 48px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(135deg, rgba(255,255,255,.025), rgba(200,255,54,.025)); }
.team-badges-head { margin-bottom: 16px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.team-badges-head h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.025em; }
.team-badges-head > p { margin: 0; color: var(--muted); font-size: 12px; }
.team-badge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.team-badge-card { min-width: 0; min-height: 78px; padding: 11px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(8,13,17,.38); transition: transform .2s, border-color .2s, background .2s; }
.team-badge-card:hover { transform: translateY(-2px); border-color: rgba(200,255,54,.32); background: rgba(200,255,54,.055); }
.team-badge-name { min-width: 0; flex: 1; }
.team-badge-name strong, .team-badge-name small, .team-badge-count small { display: block; }
.team-badge-name strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.team-badge-name small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.team-badge-stats { min-width: 135px; padding-left: 10px; display: grid; justify-items: end; gap: 7px; border-left: 1px solid var(--line); }
.team-badge-count { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; text-align: right; }
.team-badge-count b { color: var(--lime); font-size: 19px; line-height: 1; }
.team-badge-count small { color: var(--muted); font-size: 9px; white-space: nowrap; }
.team-badge-tiers { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 3px; }
.team-badge-tiers i { --tier-color: #9aa5ad; min-width: 28px; height: 20px; padding: 0 4px; display: flex; align-items: center; justify-content: center; gap: 3px; color: var(--tier-color); border: 1px solid color-mix(in srgb, var(--tier-color) 27%, transparent); border-radius: 5px; background: color-mix(in srgb, var(--tier-color) 7%, transparent); font-size: 8px; font-style: normal; }
.team-badge-tiers em { font-style: normal; font-weight: 750; }
.team-badge-tiers b { color: #edf1f3; font-size: 9px; font-variant-numeric: tabular-nums; }
.team-badge-tier-legendary { --tier-color: #ff695c !important; }
.team-badge-tier-hall-of-fame { --tier-color: #b986e8 !important; }
.team-badge-tier-gold { --tier-color: #f1b83b !important; }
.team-badge-tier-silver { --tier-color: #c5ccd1 !important; }
.team-badge-tier-bronze { --tier-color: #c88657 !important; }

.badge-page-head { background: radial-gradient(circle at 85% 50%, rgba(200,255,54,.08), transparent 28%); }
.category-tabs { margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.category-tabs a { padding: 9px 13px; color: #aab3bb; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; }
.category-tabs a:hover, .category-tabs a.active { color: #0b1015; border-color: var(--lime); background: var(--lime); }
.category-tabs small { margin-left: 4px; opacity: .65; }
.badge-directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.badge-directory-card { min-height: 190px; padding: 24px; display: flex; align-items: center; gap: 22px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.badge-directory-card::after { content: ""; width: 120px; height: 120px; position: absolute; right: -40px; top: -40px; border: 1px solid rgba(200,255,54,.12); border-radius: 50%; }
.badge-directory-card:hover { border-color: rgba(200,255,54,.4); background: #151f27; }
.badge-directory-card > div { min-width: 0; flex: 1; }
.badge-directory-card h2 { margin: 6px 0 8px; font-size: 22px; }
.badge-directory-card p:not(.eyebrow) { height: 42px; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.55; }
.badge-directory-card div > span { margin-top: 16px; display: inline-block; color: var(--lime); font-size: 10px; font-weight: 700; }
.badge-directory-card i { margin-left: 8px; font-style: normal; }

.badge-detail-hero { padding: 70px 0; overflow: hidden; background: radial-gradient(circle at 25% 50%, rgba(200,255,54,.08), transparent 28%), linear-gradient(120deg, #141d24, #0b1015); border-bottom: 1px solid var(--line); }
.badge-detail-grid { display: grid; grid-template-columns: 340px 1fr; align-items: center; gap: 70px; }
.badge-orbit { height: 300px; display: grid; place-items: center; position: relative; }
.badge-orbit::before, .badge-orbit::after, .badge-orbit i { content: ""; position: absolute; border: 1px solid rgba(200,255,54,.14); border-radius: 50%; }
.badge-orbit::before { width: 300px; height: 300px; }
.badge-orbit::after { width: 270px; height: 180px; transform: rotate(35deg); }
.badge-orbit i { width: 270px; height: 180px; transform: rotate(-35deg); }
.badge-orbit .badge-icon { position: relative; z-index: 2; }
.badge-detail-grid h1 { margin: 8px 0 16px; font-size: clamp(50px, 7vw, 88px); letter-spacing: -.065em; }
.badge-description { max-width: 720px; color: #bdc5cb; font-size: 17px; line-height: 1.75; }
.tier-summary { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tier-chip, .tier-ribbon { padding: 7px 10px; border: 1px solid color-mix(in srgb, currentColor 52%, transparent); border-radius: 6px; color: #ccd2d6; background: color-mix(in srgb, currentColor 14%, transparent); box-shadow: inset 0 0 14px color-mix(in srgb, currentColor 5%, transparent); font-size: 10px; }
.tier-chip::before, .tier-ribbon::before { content: ""; width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; vertical-align: 1px; }
.tier-chip b { margin-left: 5px; }
.tier-hall-of-fame { color: #dfa4ff; }
.tier-gold { color: #ffd66d; }
.tier-silver { color: #e3e8ec; }
.tier-bronze { color: #e8a477; }
.tier-legend, .tier-legendary { color: #ff737d; }
.badge-effects-section { padding-bottom: 10px; }
.badge-effects-section .section-heading { align-items: end; }
.badge-effect-warning, .badge-effect-coverage { margin: 0 0 16px; padding: 12px 15px; color: #e6c879; border: 1px solid rgba(230,200,121,.22); border-radius: 10px; background: rgba(230,200,121,.06); font-size: 13px; line-height: 1.55; }
.badge-effect-coverage { margin-top: 14px; margin-bottom: 0; color: var(--muted); border-color: var(--line); background: var(--surface); }
.badge-effect-tier-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.badge-effect-tier { --tier-effect-color: #ccd2d6; min-width: 0; padding: 15px; border: 1px solid color-mix(in srgb, var(--tier-effect-color) 25%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--tier-effect-color) 5%, var(--surface)); }
.badge-effect-tier header { margin-bottom: 13px; display: flex; align-items: center; gap: 8px; color: var(--tier-effect-color); }
.badge-effect-tier header i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge-effect-tier header strong { font-size: 15px; }
.badge-effect-tier > div { padding: 9px 0; border-top: 1px solid var(--line); }
.badge-effect-tier small, .badge-effect-tier b { display: block; }
.badge-effect-tier small { min-height: 30px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.badge-effect-tier b { margin-top: 5px; color: #f2f5f6; font-size: 14px; font-variant-numeric: tabular-nums; }
.badge-effect-tier p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.tier-effect-bronze { --tier-effect-color: #e8a477; }
.tier-effect-silver { --tier-effect-color: #e3e8ec; }
.tier-effect-gold { --tier-effect-color: #ffd66d; }
.tier-effect-hall-of-fame { --tier-effect-color: #dfa4ff; }
.tier-effect-legendary { --tier-effect-color: #ff737d; }
.badged-player { min-width: 0; position: relative; }
.tier-ribbon { position: absolute; right: 10px; bottom: 10px; z-index: 3; backdrop-filter: blur(9px); }
.badge-roster-heading { gap: 18px; }
.badge-sort { margin-left: auto; padding: 4px; display: flex; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.badge-sort > span { padding: 0 9px; color: var(--muted); font-size: 12px; }
.badge-sort a { padding: 8px 12px; color: #bfc7cd; border-radius: 7px; font-size: 12px; font-weight: 700; }
.badge-sort a:hover { color: white; background: rgba(255,255,255,.05); }
.badge-sort a.active { color: #10150d; background: var(--lime); }

.site-footer { min-height: 120px; padding: 35px max(24px, calc((100% - var(--shell)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); border-top: 1px solid var(--line); background: #0a141e; }
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: white; }
.site-footer span { margin-top: 5px; font-size: 10px; }
.site-footer p { font-size: 10px; }

@media (hover: hover) and (pointer: fine) {
  .badge-popover:hover { z-index: 40; }
  .badge-popover:hover .badge-flyout { display: block; }
}

@media (max-width: 1050px) {
  .free-agent-list-heading { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .free-agent-list-heading > div { grid-column: 1; grid-row: 1; }
  .free-agent-list-heading .section-count { grid-column: 2; grid-row: 1; }
  .free-agent-list-heading .free-agent-list-search { width: min(100%, 320px); grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .player-grid { grid-template-columns: repeat(3, 1fr); }
  .player-hero-grid { grid-template-columns: 34% 1fr 165px; gap: 22px; }
  .overall-panel strong { font-size: 58px; }
  .bio-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .attribute-groups { grid-template-columns: repeat(2, 1fr); }
  .ability-overview { grid-template-columns: minmax(330px, .85fr) 1fr; }
  .ability-score { min-height: 125px; padding: 14px; }
  .player-badge-grid { grid-template-columns: repeat(3, 1fr); }
  .team-link-grid { grid-template-columns: repeat(2, 1fr); }
  .team-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .conference-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-mini-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-link-grid a:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .team-stats { grid-template-columns: repeat(3, 1fr); }
  .team-stats .position-stat { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .site-header { height: 64px; padding-inline: 14px; gap: 15px; }
  .brand { min-width: auto; }
  .brand small { display: none; }
  .brand-mark { width: 31px; height: 31px; }
  .site-nav { margin-left: auto; gap: 18px; }
  .site-nav a { font-size: 12px; }
  .site-nav a:last-child { display: none; }
  .header-search { display: none; }
  .header-tools { margin-left: 0; }
  .header-compare { height: 36px; padding: 0 6px 0 9px; gap: 5px; font-size: 11px; }
  .header-compare svg { width: 15px; }
  .header-compare b { min-width: 27px; padding-inline: 4px; font-size: 8px; }
  .home-hero { min-height: 0; display: block; }
  .hero-copy { padding: 65px 0 55px; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 67px); }
  .hero-lead { font-size: 14px; }
  .hero-search { height: auto; padding: 5px; }
  .hero-search input { width: 50%; padding-inline: 11px; font-size: 12px; }
  .hero-search button { height: 47px; padding-inline: 13px; font-size: 12px; }
  .hero-search button span { display: none; }
  .hero-types { gap: 14px; overflow-x: auto; white-space: nowrap; }
  .hero-score { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid > div { padding: 18px 14px; border-bottom: 1px solid var(--line); }
  .stat-grid > div:nth-child(odd) { border-left: 1px solid var(--line); }
  .stat-grid strong { font-size: 21px; }
  .section { padding-block: 58px; }
  .section.home-teams { padding-top: 8px; padding-bottom: 28px; }
  .section.badge-home-section { padding-top: 0; padding-bottom: 24px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 28px; }
  .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .top-rated-tabs { width: 100%; margin: -4px 0 14px; padding: 3px; gap: 2px; overflow-x: auto; scrollbar-width: none; }
  .top-rated-tabs::-webkit-scrollbar { display: none; }
  .top-rated-tabs button { min-width: 58px; height: 36px; padding-inline: 9px; flex: 1 0 auto; gap: 4px; }
  .top-rated-tabs span { font-size: 11px; }
  .top-rated-tabs small { font-size: 7px; }
  .player-card-art { height: 180px; }
  .overall-badge { width: 41px; height: 41px; font-size: 14px; }
  .player-card-copy { padding: 13px; }
  .player-card-copy h3 { font-size: 15px; }
  .card-meta { display: none; }
  .player-card-copy .eyebrow { font-size: 8px; }
  .section-split { display: block; }
  .section-split .panel + .panel { margin-top: 12px; }
  .panel { padding: 19px; }
  .team-link-grid { grid-template-columns: 1fr; }
  .team-link-grid a:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .badge-mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .badge-mini-list a { min-height: 76px; padding: 10px; align-items: center; gap: 8px; }
  .badge-mini-list strong { padding-right: 0; overflow: visible; display: -webkit-box; white-space: normal; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .badge-mini-list p, .badge-mini-list i { display: none; }
  .page-head { padding: 49px 0 28px; }
  .error-page { min-height: calc(100vh - 180px); padding-block: 82px; }
  .error-page h1 { font-size: 52px; }
  .error-page > p:not(.kicker) { font-size: 14px; }
  .page-head h1 { font-size: 45px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .wide, .filter-bar button { grid-column: 1 / -1; }
  .secondary-filters { grid-template-columns: repeat(2, 1fr); }
  .secondary-filters label:first-child { grid-column: 1 / -1; }
  .advanced-filter-body { grid-template-columns: 1fr; }
  .advanced-filter-body fieldset > div { grid-template-columns: 1fr; }
  .results-note span { display: none; }
  .free-agent-list-heading { margin-bottom: 22px; gap: 14px 12px; }
  .free-agent-list-heading .free-agent-list-search { width: 100%; display: flex; }
  .pagination > div a { width: 31px; height: 31px; }
  .pagination > a, .pagination > span { min-width: 58px; font-size: 0; }
  .pagination > a:first-child::first-letter, .pagination > span:first-child::first-letter { font-size: 14px; }
  .pagination > a:last-child::after, .pagination > span:last-child::after { content: "→"; font-size: 14px; }
  .team-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conference-layout { grid-template-columns: 1fr; gap: 11px; }
  .conference-block { padding: 10px; border-radius: 14px; }
  .conference-block > header { min-height: 51px; margin-bottom: 9px; padding: 1px 2px 10px; }
  .conference-mark { width: 35px; height: 35px; border-radius: 9px; font-size: 13px; }
  .conference-block > header p { font-size: 8px; }
  .conference-block > header h3 { font-size: 16px; }
  .conference-block > header b { font-size: 10px; }
  .conference-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .conference-team-grid > a { min-height: 67px; padding: 7px; gap: 8px; }
  .conference-team-grid .team-card-logo { width: 41px; height: 41px; }
  .conference-team-grid strong { font-size: 11px; line-height: 1.25; white-space: normal; }
  .conference-team-grid small { font-size: 10px; }
  .free-agent-entry { min-height: 78px; margin-top: 11px; padding: 11px 12px; grid-template-columns: 44px minmax(0, 1fr) auto 14px; gap: 10px; border-radius: 13px; }
  .free-agent-entry::after { display: none; }
  .free-agent-logo { width: 44px; height: 44px; font-size: 12px; }
  .free-agent-entry > span:nth-child(2) strong { font-size: 15px; }
  .free-agent-entry > span:nth-child(2) p { display: none; }
  .free-agent-count { min-width: 47px; }
  .free-agent-count strong { font-size: 18px; }
  .free-agent-entry > i { display: block; font-size: 15px; }
  .conference-other { margin-top: 11px; }
  .home-teams .section-heading { flex-wrap: wrap; }
  .home-team-tabs { width: 100%; margin-top: 4px; }
  .home-team-tabs button { min-width: 0; padding-inline: 8px; flex: 1; }
  .team-logo-grid > a { min-height: 72px; padding: 9px; }
  .team-card-logo { width: 44px; height: 44px; }
  .team-logo-grid strong { font-size: 10px; }
  .team-logo-grid i { display: none; }

  .player-hero-grid { min-height: 0; padding-top: 28px; display: flex; flex-direction: column; gap: 0; }
  .player-intro { width: 100%; order: 1; }
  .breadcrumbs { margin-bottom: 23px; overflow-x: auto; white-space: nowrap; }
  .player-intro h1 { font-size: 51px; }
  .team-pill { max-width: none; }
  .bio-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
  .bio-primary { min-height: 68px; padding: 10px; grid-column: span 2; }
  .bio-secondary { min-height: 53px; padding: 8px 4px; grid-column: span 3; border-bottom: 1px solid rgba(185,213,232,.08); }
  .bio-grid strong { font-size: 12px; }
  .measurement { cursor: default; }
  .measurement > span:first-child { text-decoration: none; }
  .metric-value { margin-top: 3px; padding: 0; display: block; position: static; color: var(--lime); background: transparent; box-shadow: none; font-size: 10px; opacity: 1; transform: none; }
  .metric-value::after { display: none; }
  .player-portrait { width: 100%; height: 370px; order: 3; }
  .portrait-number { left: 5%; font-size: 180px; }
  .player-rating-rail { width: 100%; margin-top: 22px; order: 2; gap: 8px; }
  .overall-panel { width: 115px; padding: 13px; position: absolute; right: 0; top: 60px; z-index: 5; }
  .overall-panel strong { font-size: 43px; }
  .overall-panel span, .overall-panel small { font-size: 7px; }
  .player-content { padding-block: 52px 36px; }
  .ability-overview { margin-top: 24px; padding: 12px; display: block; }
  .radar-panel { padding: 15px 10px 2px; }
  .overview-heading { padding-inline: 5px; }
  .overview-heading > div small { font-size: 12px; }
  .ability-radar { max-height: none; }
  .radar-labels { font-size: 14px; }
  .ability-score-grid { margin-top: 12px; grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .ability-score { min-height: 112px; padding: 14px; }
  .ability-score > strong { font-size: 43px; }
  .ability-score > span, .ability-score > small { font-size: 12px; }
  .attribute-groups { grid-template-columns: 1fr; gap: 10px; }
  .hot-zone-layout { margin-top: 18px; padding: 10px; display: block; border-radius: 14px; }
  .hot-zone-court { padding: 10px 8px 12px; }
  .hot-zone-court svg { max-height: none; }
  .hot-zone-legend { margin-top: 9px; gap: 6px; }
  .hot-zone-legend span { padding: 5px 7px; font-size: 10px; }
  .hot-zone-details { margin-top: 10px; gap: 6px; }
  .hot-zone-details > div { min-height: 43px; padding: 7px 8px; gap: 6px; }
  .hot-zone-details span, .hot-zone-details strong { font-size: 10px; }
  .rating-history-chart { height: 160px; margin-inline: -14px; padding-inline: 14px; border-left: 0; border-right: 0; border-radius: 0; }
  .rating-history-chart svg { min-width: 780px; height: 140px; }
  .season-movement { align-items: stretch; }
  .season-movement > span { width: 100%; }
  .season-movement > div { justify-content: space-between; flex: 1 1 100%; }
  .content-section + .content-section { margin-top: 60px; }
  .player-badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-popover summary { min-height: 64px; padding: 8px; }
  .badge-icon.medium { width: 42px; height: 42px; }
  .badge-flyout { width: auto; margin-top: 7px; padding: 15px; display: none; position: static; transform: none; }
  .badge-flyout::after { display: none; }
  .badge-popover[open] { grid-column: 1 / -1; }
  .source-note { margin-top: 46px; padding: 17px; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 13px; }
  .source-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
  .source-meta > div { min-width: 0; padding: 0; }
  .source-meta > div + div { padding-left: 0; border-left: 0; }
  .source-meta .source-id { grid-column: 1 / -1; }
  .source-note > a { width: fit-content; grid-column: 2; padding: 7px 9px; }

  .team-hero { padding: 42px 0; }
  .team-hero-grid { grid-template-columns: 90px 1fr; gap: 18px; }
  .team-logo { width: 90px; height: 90px; padding: 16px; }
  .team-hero h1 { font-size: 37px; }
  .team-hero p:last-child { font-size: 12px; }
  .team-rating-summary { margin-top: 7px; grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .team-rating-summary > div { min-height: 75px; padding: 10px 13px; }
  .team-rating-summary strong { margin-block: 3px; font-size: 28px; }
  .team-stats { grid-template-columns: repeat(3, 1fr); }
  .team-stats > div { min-height: 90px; padding: 13px; }
  .team-stats strong { font-size: 25px; }
  .position-stat p { gap: 5px; }
  .team-badges { margin-bottom: 38px; padding: 15px; }
  .team-badges-head { margin-bottom: 12px; align-items: start; }
  .team-badges-head h2 { font-size: 20px; }
  .team-badges-head > p { max-width: 100px; font-size: 11px; line-height: 1.4; text-align: right; }
  .team-badge-grid { grid-template-columns: 1fr; gap: 7px; }
  .team-badge-card { min-height: 68px; padding: 8px 10px; }
  .team-badge-name strong { font-size: 13px; }
  .team-badge-name small { font-size: 11px; }
  .team-badge-count b { font-size: 18px; }

  .badge-directory-grid { grid-template-columns: 1fr; }
  .badge-directory-card { min-height: 160px; padding: 17px; gap: 15px; }
  .badge-icon.xlarge { width: 78px; height: 78px; }
  .badge-directory-card h2 { font-size: 18px; }
  .badge-detail-hero { padding: 43px 0; }
  .badge-detail-grid { display: block; }
  .badge-orbit { height: 210px; margin-bottom: 32px; }
  .badge-icon.hero { width: 155px; height: 155px; }
  .badge-orbit::before { width: 210px; height: 210px; }
  .badge-orbit::after, .badge-orbit i { width: 190px; height: 120px; }
  .badge-detail-grid h1 { font-size: 53px; }
  .badge-description { font-size: 14px; }
  .badge-effects-section .section-heading { align-items: start; }
  .badge-effect-tier-grid { margin-right: -14px; padding-right: 14px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 76vw); overflow-x: auto; scroll-snap-type: x proximity; }
  .badge-effect-tier { scroll-snap-align: start; }
  .badge-roster-heading { display: grid; grid-template-columns: 1fr auto; }
  .badge-roster-heading > div:first-child { min-width: 0; }
  .badge-sort { width: 100%; margin: 4px 0 0; grid-column: 1 / -1; order: 3; }
  .badge-sort > span { display: none; }
  .badge-sort a { flex: 1; text-align: center; font-size: 12px; }
  .badge-roster-heading .section-count { align-self: start; }
  .badge-player-grid .player-card-art { height: 165px; }
  .player-card.compact .player-card-art { height: 165px; }
  .site-footer { padding: 28px 18px; display: block; }
  .site-footer p { margin-top: 20px; }
}

@media (max-width: 390px) {
  .site-nav { gap: 12px; }
  .player-card-art { height: 155px; }
  .player-badge-grid { grid-template-columns: 1fr; }
  .badge-popover[open] { grid-column: auto; }
  .bio-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Type scale and density refinement */
body { font-size: 15px; line-height: 1.5; font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.brand strong em, .site-footer strong em { color: var(--lime); font-style: normal; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand small { font-size: 10px; }
.site-nav a { font-size: 15px; }
.header-search input { font-size: 14px; }
.eyebrow, .kicker { font-size: 12px; letter-spacing: .13em; }
.hero-lead { font-size: 16px; }
.hero-types a { font-size: 13px; }
.stat-grid span { font-size: 13px; }
.text-link { font-size: 14px; }
.heading-note { font-size: 14px; line-height: 1.6; }
.section-count { font-size: 13px; }
.player-card-copy h3 { font-size: 20px; }
.player-card-copy > p:not(.eyebrow) { font-size: 13px; }
.card-meta { font-size: 12px; }
.team-logo-grid strong { font-size: 13px; }
.team-logo-grid small { font-size: 12px; }
.badge-mini-list strong { font-size: 13px; }
.badge-mini-list small { font-size: 12px; }
.page-head > p:last-child { font-size: 15px; line-height: 1.7; }
.filter-bar label span, .secondary-filters label span { font-size: 12px; letter-spacing: .04em; }
.filter-bar input, .filter-bar select, .secondary-filters input, .secondary-filters select { font-size: 14px; }
.advanced-filters summary span { font-size: 13px; }
.advanced-filters summary small { font-size: 12px; }
.advanced-filter-body legend { font-size: 12px; }
.advanced-filter-body label span, .advanced-filter-body input { font-size: 12px; }
.results-note { font-size: 13px; }
.breadcrumbs { font-size: 12px; }
.archetype { font-size: 17px; }
.team-pill small { font-size: 12px; }
.team-pill strong { font-size: 14px; }
.bio-grid small { font-size: 12px; letter-spacing: .03em; }
.bio-grid strong { font-size: 16px; }
.overall-panel span, .overall-panel small { font-size: 10px; }
.attribute-group h3 { font-size: 16px; }
.attribute-row { min-height: 38px; grid-template-columns: 108px 1fr 30px; }
.attribute-row > span { font-size: 13px; }
.attribute-row strong { font-size: 13px; }
.badge-category > h3 { font-size: 17px; }
.badge-category > h3 small { font-size: 12px; }
.badge-popover summary strong { font-size: 13px; }
.badge-popover summary small { font-size: 12px; }
.badge-flyout > p { font-size: 13px; }
.badge-flyout > a { font-size: 12px; }
.source-note strong { font-size: 13px; }
.source-note > a { font-size: 12px; }
.team-stats small { font-size: 12px; }
.team-stats span { font-size: 11px; }
.position-stat p span { font-size: 12px; }
.category-tabs a { font-size: 12px; }
.badge-directory-card p:not(.eyebrow) { font-size: 13px; }
.badge-directory-card div > span { font-size: 12px; }
.tier-chip, .tier-ribbon { font-size: 12px; }
.site-footer span, .site-footer p { font-size: 12px; }

@media (min-width: 761px) {
  .more-filters:not([open]) > .secondary-filters { display: grid !important; }
  .home-hero { min-height: 555px; }
  .hero-copy { padding: 58px 0 66px; }
  .hero-copy h1 { max-width: 720px; margin: 18px 0; font-size: clamp(52px, 5.4vw, 78px); line-height: .96; }
  .hero-score { height: 450px; }
  .score-ring { width: min(290px, 24vw); }
  .score-ring b { font-size: clamp(84px, 8.5vw, 128px); }
  .section { padding-block: 70px; }
  .page-head { padding: 56px 0 34px; }
  .page-head h1 { font-size: clamp(44px, 5vw, 62px); }
  .directory-layout { padding-top: 24px; }
  .filter-bar input, .filter-bar select, .filter-bar button { height: 46px; }
  .secondary-filters input, .secondary-filters select { height: 43px; }
  .player-hero-grid { min-height: 500px; }
  .player-portrait { height: 460px; }
  .player-intro h1 { font-size: clamp(48px, 5vw, 70px); }
  .overall-panel strong { font-size: 66px; }
  .player-content { padding-top: 60px; }
  .content-section + .content-section { margin-top: 70px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .translated-term { text-underline-offset: 3px; }
  .translation-popover { font-size: 13px; }
  .brand strong { font-size: 16px; white-space: nowrap; }
  .site-nav a { font-size: 13px; }
  .eyebrow, .kicker { font-size: 11px; }
  .hero-copy { padding: 50px 0 45px; }
  .hero-copy h1 { font-size: clamp(43px, 13vw, 58px); line-height: .98; }
  .hero-lead { font-size: 15px; line-height: 1.65; }
  .hero-types a { font-size: 12px; }
  .stat-grid span { font-size: 12px; }
  .section { padding-block: 48px; }
  .page-head { padding: 40px 0 25px; }
  .page-head h1 { font-size: 40px; }
  .page-head > p:last-child { font-size: 14px; }
  .filter-bar label span, .secondary-filters label span { font-size: 12px; }
  .filter-bar input, .filter-bar select, .secondary-filters input, .secondary-filters select { font-size: 14px; }
  .advanced-filters summary { padding: 16px 18px; }
  .advanced-filters summary span { font-size: 13px; }
  .more-filters { border-top: 1px solid var(--line); }
  .more-filters > summary { padding: 15px 18px; display: flex; align-items: center; gap: 9px; list-style: none; cursor: pointer; }
  .more-filters > summary::-webkit-details-marker { display: none; }
  .more-filters > summary span { font-size: 13px; font-weight: 750; }
  .more-filters > summary small { color: var(--muted); font-size: 12px; }
  .more-filters > summary i { margin-left: auto; color: var(--lime); font-style: normal; transition: transform .2s; }
  .more-filters[open] > summary i { transform: rotate(180deg); }
  .more-filters .secondary-filters { padding-top: 4px; }
  .player-card-copy h3 { font-size: 16px; }
  .player-card-copy > p:not(.eyebrow) { font-size: 12px; }
  .player-card-copy .eyebrow { font-size: 10px; }
  .team-logo-grid strong { font-size: 12px; }
  .team-logo-grid small { font-size: 12px; }
  .player-intro h1 { max-width: calc(100% - 108px); font-size: clamp(39px, 12vw, 48px); line-height: 1; }
  .archetype { font-size: 16px; }
  .team-pill small { font-size: 12px; }
  .team-pill strong { font-size: 14px; }
  .bio-grid small { font-size: 12px; }
  .bio-grid strong { font-size: 13px; }
  .player-portrait { height: 320px; margin-top: 22px; }
  .overall-panel { width: 100%; margin-top: 22px; padding: 13px 17px; position: static; order: 2; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .overall-panel strong { margin: 0; }
  .overall-panel small { text-align: right; }
  .player-rating-rail .overall-panel { margin-top: 0; order: 0; }
  .badge-tier-summary { padding: 13px; }
  .tier-summary-head { margin-bottom: 11px; }
  .tier-summary-head span { font-size: 13px; }
  .tier-summary-head strong { font-size: 10px; }
  .badge-tier-summary ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .badge-tier-summary li { min-width: 0; min-height: 56px; padding: 7px 3px; display: grid; place-items: center; gap: 3px; border: 1px solid color-mix(in srgb, var(--tier-color) 24%, transparent); border-radius: 9px; background: linear-gradient(180deg, color-mix(in srgb, var(--tier-color) 9%, transparent), color-mix(in srgb, var(--tier-color) 4%, transparent)); text-align: center; }
  .badge-tier-summary li span { max-width: 100%; display: block; overflow: hidden; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
  .badge-tier-summary li span::before { display: none; }
  .badge-tier-summary li strong { min-width: 0; padding: 0; color: #f5f7f8; border: 0; background: transparent; font-size: 16px; line-height: 1; }
  .player-content { padding-top: 46px; }
  .attribute-row { grid-template-columns: 105px 1fr 36px; }
  .attribute-row > span, .attribute-row strong { font-size: 12px; }
  .badge-popover summary strong { font-size: 13px; }
  .badge-popover summary small { font-size: 12px; }
  .source-note > a { font-size: 12px; }
}

/* Player comparison */
.player-actions { max-width: 590px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(190px,.75fr); gap: 9px; }
.player-actions .team-pill { max-width: none; }
.player-compare-cta { min-width: 0; padding: 9px 11px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; overflow: hidden; border: 1px solid rgba(200,255,54,.2); border-radius: 11px; background: linear-gradient(135deg, rgba(200,255,54,.075), rgba(200,255,54,.025)); transition: border-color .18s, background .18s, transform .18s; }
.player-compare-cta:hover { border-color: rgba(200,255,54,.52); background: rgba(200,255,54,.09); transform: translateY(-1px); }
.compare-cta-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: var(--lime); background: rgba(200,255,54,.11); }
.compare-cta-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.player-compare-cta > span:nth-child(2) { min-width: 0; }
.player-compare-cta small, .player-compare-cta strong { display: block; }
.player-compare-cta small { margin-bottom: 3px; color: #8e9aa3; font-size: 8px; font-weight: 850; letter-spacing: .11em; }
.player-compare-cta strong { font-size: 13px; }
.player-compare-cta > i { color: var(--lime); font-size: 18px; font-style: normal; }
.compare-head { padding: 68px 0 42px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 25%, rgba(255,107,44,.13), transparent 26%), radial-gradient(circle at 22% 65%, rgba(200,255,54,.07), transparent 28%), linear-gradient(140deg, #122231, #0d1722); }
.compare-head h1 { margin: 11px 0 8px; font-size: clamp(48px, 6vw, 76px); line-height: 1; letter-spacing: -.065em; }
.compare-head > .shell > p:not(.kicker,.compare-warning) { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; }
.compare-picker-form { margin-top: 34px; display: grid; grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr); align-items: end; gap: 12px; }
.compare-picker { min-width: 0; position: relative; }
.compare-picker-head { min-height: 25px; margin: 0 3px 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.compare-picker-head label { color: #dce2e6; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.compare-picker-head button { padding: 3px 7px; display: flex; align-items: center; gap: 4px; color: #9faab2; border: 1px solid transparent; border-radius: 99px; background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }
.compare-picker-head button[hidden] { display: none; }
.compare-picker-head button:hover { color: white; border-color: rgba(255,107,44,.32); background: rgba(255,107,44,.07); }
.compare-picker-head button i { color: var(--orange); font-size: 13px; font-style: normal; line-height: 1; }
.compare-search-input { height: 50px; padding: 0 10px 0 15px; display: flex; align-items: center; border: 1px solid #42505b; border-radius: 10px; background: #101c27; transition: border-color .15s, box-shadow .15s; }
.compare-search-input:focus-within { border-color: rgba(200,255,54,.7); box-shadow: 0 0 0 3px rgba(200,255,54,.06); }
.compare-search-input input { min-width: 0; flex: 1; border: 0; outline: 0; color: white; background: transparent; font-size: 14px; }
.compare-search-input button { width: 30px; height: 30px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 20px; cursor: pointer; }
.compare-suggestions { width: 100%; max-height: 360px; padding: 6px; overflow-y: auto; position: absolute; left: 0; top: calc(100% + 7px); z-index: 80; border: 1px solid #43515c; border-radius: 12px; background: #15232f; box-shadow: 0 22px 55px rgba(0,0,0,.48); }
.compare-suggestions > p { margin: 0; padding: 15px; color: var(--muted); font-size: 13px; }
.compare-suggestions button { width: 100%; min-height: 58px; padding: 7px 9px; display: grid; grid-template-columns: 42px minmax(0,1fr) 35px; align-items: center; gap: 10px; border: 0; border-radius: 8px; color: white; background: transparent; text-align: left; cursor: pointer; }
.compare-suggestions button:hover, .compare-suggestions button:focus-visible { outline: 0; background: rgba(200,255,54,.08); }
.compare-suggestions img, .compare-suggestions .image-fallback { width: 42px; height: 42px; object-fit: cover; object-position: top; border-radius: 7px; background: #263541; font-size: 12px; }
.compare-suggestions button span { min-width: 0; }
.compare-suggestions strong, .compare-suggestions small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-suggestions strong { font-size: 13px; }
.compare-suggestions small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.compare-suggestions b { color: var(--lime); font-size: 17px; text-align: center; }
.compare-selection { min-height: 55px; margin-top: 8px; padding: 7px 9px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(200,255,54,.16); border-radius: 10px; background: rgba(200,255,54,.035); }
.compare-selection[hidden] { display: none; }
.compare-selection-image { width: 40px; height: 40px; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; border-radius: 7px; background: #263541; }
.compare-selection-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.compare-selection > span:last-child { min-width: 0; }
.compare-selection strong, .compare-selection small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-selection strong { font-size: 12px; }
.compare-selection small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.compare-swap { width: 48px; height: 50px; margin-bottom: 63px; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); background: #142330; font-size: 20px; cursor: pointer; }
.compare-swap:hover { border-color: rgba(200,255,54,.45); transform: rotate(180deg); transition: transform .25s; }
.compare-warning { margin: 12px 0 0; color: #ff9b70; font-size: 13px; }
.compare-content { padding-block: 54px 80px; }
.compare-versus { min-height: 310px; overflow: hidden; display: grid; grid-template-columns: 1fr 64px 1fr; position: relative; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(115deg, rgba(200,255,54,.045), transparent 44%, rgba(255,107,44,.055)); }
.compare-player { min-width: 0; padding: 25px 30px 0; display: grid; grid-template-columns: minmax(170px, 43%) minmax(0,1fr); align-items: center; position: relative; }
.compare-player-right { grid-template-columns: minmax(0,1fr) minmax(170px,43%); text-align: right; }
.compare-player-right .compare-player-art { order: 2; }
.compare-player-art { height: 285px; align-self: end; display: grid; place-items: end center; overflow: hidden; }
.compare-player-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 15px 15px rgba(0,0,0,.35)); }
.compare-player-copy { min-width: 0; position: relative; z-index: 2; }
.compare-player-copy > p { margin: 0 0 8px; color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.compare-player-copy h2 { margin: 0 0 9px; font-size: clamp(25px, 3vw, 43px); line-height: .95; letter-spacing: -.055em; }
.compare-player-copy > span { display: block; color: #e2e6e8; font-size: 13px; }
.compare-player-copy > small { margin-top: 8px; display: block; color: var(--muted); font-size: 11px; }
.compare-overall { width: 64px; height: 64px; display: grid; place-items: center; position: absolute; top: 20px; right: 20px; border: 1px solid currentColor; border-radius: 10px; background: rgba(11,18,24,.88); font-size: 28px; line-height: .75; box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.compare-player-right .compare-overall { right: auto; left: 20px; }
.compare-overall small { font-size: 7px; letter-spacing: .13em; }
.compare-potential { min-width: 64px; height: 29px; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 6px; position: absolute; top: 91px; right: 20px; z-index: 3; color: #dce2e5; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(11,18,24,.82); backdrop-filter: blur(8px); }
.compare-player-right .compare-potential { right: auto; left: 20px; }
.compare-potential small { color: var(--muted); font-size: 8px; font-weight: 750; }
.compare-potential b { font-size: 13px; }
.compare-potential.leader { color: var(--lime); border-color: rgba(200,255,54,.4); background: rgba(18,31,25,.86); }
.compare-player-remove { min-width: 66px; height: 31px; padding: 0 9px; display: flex; align-items: center; justify-content: center; gap: 6px; position: absolute; top: 18px; left: 18px; z-index: 4; color: #d7dde1; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; background: rgba(9,16,22,.7); backdrop-filter: blur(8px); font-size: 10px; font-weight: 750; cursor: pointer; transition: border-color .18s, color .18s, background .18s; }
.compare-player-right .compare-player-remove { right: 18px; left: auto; }
.compare-player-remove i { color: var(--orange); font-size: 15px; font-style: normal; line-height: 1; }
.compare-player-remove:hover { color: white; border-color: rgba(255,107,44,.5); background: rgba(255,107,44,.11); }
.compare-vs { width: 48px; height: 48px; display: grid; place-items: center; align-self: center; justify-self: center; z-index: 4; color: #0b1015; border-radius: 50%; background: var(--lime); font-size: 12px; font-weight: 950; box-shadow: 0 0 0 8px rgba(200,255,54,.06); }
.compare-section { margin-top: 64px; }
.compare-overview-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 15px; }
.compare-radar-panel, .compare-ability-list { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.compare-radar-panel { padding: 17px 22px 5px; }
.compare-legend { display: flex; justify-content: center; gap: 22px; font-size: 11px; font-weight: 750; }
.compare-legend span::before { content: ""; width: 8px; height: 8px; margin-right: 7px; display: inline-block; border-radius: 50%; background: currentColor; }
.compare-legend .left { color: var(--lime); }
.compare-legend .right { color: var(--orange); }
.compare-radar-shape { stroke-width: 2; vector-effect: non-scaling-stroke; }
.compare-radar-shape.left { fill: rgba(200,255,54,.11); stroke: var(--lime); }
.compare-radar-shape.right { fill: rgba(255,107,44,.09); stroke: var(--orange); }
.compare-hot-zone-heading { align-items: end; }
.compare-hot-zone-heading > button { min-width: 112px; height: 38px; padding: 0 13px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #dce2e5; border: 1px solid var(--line); border-radius: 9px; background: rgba(20,32,44,.72); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.compare-hot-zone-heading > button i { width: 9px; height: 9px; border-radius: 50%; background: #82909a; box-shadow: 0 0 0 3px rgba(130,144,154,.1); }
.compare-hot-zone-heading > button[aria-pressed="true"] { color: var(--lime); border-color: rgba(200,255,54,.38); background: rgba(200,255,54,.06); }
.compare-hot-zone-heading > button[aria-pressed="true"] i { background: var(--lime); box-shadow: 0 0 0 3px rgba(200,255,54,.12); }
.compare-hot-zone-heading > button:disabled { opacity: .4; cursor: not-allowed; }
.compare-hot-zone-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.compare-hot-zone-card { min-width: 0; padding: 17px 18px 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 55%), var(--surface); }
.compare-hot-zone-card > header { margin-bottom: 17px; display: flex; align-items: center; gap: 9px; }
.compare-hot-zone-card > header span { width: 25px; height: 25px; display: grid; place-items: center; color: #0b1015; border-radius: 50%; background: var(--lime); font-size: 9px; font-weight: 950; }
.compare-hot-zone-right > header { justify-content: flex-end; }
.compare-hot-zone-right > header span { order: 2; color: white; background: var(--orange); }
.compare-hot-zone-card > header strong { min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.compare-hot-zone-card .hot-zone-source-svg { width: 100%; display: block; }
.compare-hot-zone-card [data-hot-zone] { cursor: pointer; transform-origin: center; transition: opacity .18s, filter .18s; }
.compare-hot-zone-card [data-hot-zone].is-zone-active { opacity: 1 !important; filter: brightness(1.22) drop-shadow(0 0 8px rgba(255,255,255,.34)); }
.compare-hot-zones.is-difference-mode [data-hot-zone].is-same { opacity: .14; }
.compare-hot-zone-counts { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.compare-hot-zone-counts span { padding: 5px 8px; display: flex; align-items: center; gap: 5px; color: #b8c1c7; border: 1px solid rgba(185,213,232,.1); border-radius: 7px; background: rgba(255,255,255,.025); font-size: 10px; }
.compare-hot-zone-counts i { width: 7px; height: 7px; border-radius: 50%; background: var(--zone-color); }
.compare-hot-zone-counts b { color: #f3f5f6; font-size: 11px; }
.compare-hot-zones .zone-hot { --zone-color: #ef706a; }
.compare-hot-zones .zone-neutral { --zone-color: #aeb7bd; }
.compare-hot-zones .zone-cold { --zone-color: #56a9df; }
.compare-hot-zone-readout { min-height: 38px; margin: 9px 0 0; padding: 9px 12px; color: #aeb8bf; border: 1px solid rgba(185,213,232,.09); border-radius: 9px; background: rgba(255,255,255,.018); font-size: 11px; line-height: 1.6; text-align: center; }
.compare-hot-zone-readout strong { color: #f1f4f5; }
.compare-hot-zone-empty { min-height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }
.compare-hot-zone-empty > span { font-size: 32px; }
.compare-hot-zone-empty strong { margin-top: 4px; color: #d5dce0; font-size: 13px; }
.compare-hot-zone-empty small { margin-top: 5px; font-size: 10px; }
.compare-ability-list { padding: 12px 18px; display: grid; align-content: center; }
.compare-ability-row { min-height: 61px; display: grid; grid-template-columns: 45px minmax(0,1fr) 45px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.compare-ability-row:last-child { border-bottom: 0; }
.compare-ability-row > strong { padding: 7px 5px; border: 1px solid transparent; border-radius: 7px; background: #101a23; font-size: 17px; text-align: center; }
.compare-ability-row.leader-left > strong:first-child, .compare-ability-row.leader-right > strong:last-child { border-color: currentColor; }
.compare-ability-row > div > span { display: block; color: #dfe4e7; font-size: 12px; font-weight: 750; text-align: center; }
.compare-dual-track { height: 5px; margin-top: 7px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.compare-dual-track i { height: 100%; display: block; }
.compare-dual-track .left { width: var(--value); justify-self: end; border-radius: 4px 0 0 4px; background: var(--lime); }
.compare-dual-track .right { width: var(--value); border-radius: 0 4px 4px 0; background: var(--orange); }
.compare-facts { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.compare-facts > div { min-height: 62px; display: grid; grid-template-columns: minmax(0,1fr) 130px minmax(0,1fr); align-items: center; border-bottom: 1px solid var(--line); }
.compare-facts > div:last-child { border-bottom: 0; }
.compare-facts strong { padding: 8px 25px; font-size: 14px; }
.compare-facts strong:last-child { text-align: right; }
.compare-facts span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-align: center; }
.compare-badge-sides { margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; color: #dfe4e7; font-size: 12px; font-weight: 750; }
.compare-badge-sides span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-badge-sides span:last-child { text-align: right; }
.compare-badge-sides i { width: 8px; height: 8px; margin-right: 8px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(200,255,54,.35); }
.compare-badge-sides span:last-child i { margin: 0 0 0 8px; background: var(--orange); box-shadow: 0 0 8px rgba(255,107,44,.35); }
.compare-badge-score-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.compare-badge-score-grid article { min-height: 112px; padding: 15px 20px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(200,255,54,.055), rgba(20,32,44,.72)); }
.compare-badge-score-grid article > span { display: block; color: var(--muted); font-size: 12px; font-weight: 750; text-align: center; }
.compare-badge-score-grid article > div { margin-top: 9px; display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; }
.compare-badge-score-grid strong { font-size: 32px; line-height: 1; text-align: center; }
.compare-badge-score-grid i { color: #66737c; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .08em; text-align: center; }
.compare-tier-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.compare-tier-grid article { min-width: 0; min-height: 91px; padding: 12px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 12px; background: linear-gradient(180deg, color-mix(in srgb, currentColor 7%, transparent), rgba(20,32,44,.72)); }
.compare-tier-grid article > span { display: block; font-size: 12px; font-weight: 800; text-align: center; }
.compare-tier-grid article > div { margin-top: 10px; display: grid; grid-template-columns: 1fr 18px 1fr; align-items: center; }
.compare-tier-grid strong { color: #f2f5f6; font-size: 22px; line-height: 1; text-align: center; }
.compare-tier-grid i { width: 3px; height: 3px; justify-self: center; border-radius: 50%; background: currentColor; }
.compare-tier-legendary { color: #ff695c; }
.compare-tier-hall-of-fame { color: #b986e8; }
.compare-tier-gold { color: #f1b83b; }
.compare-tier-silver { color: #c5ccd1; }
.compare-tier-bronze { color: #c88657; }
.compare-badge-details { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(20,32,44,.72); }
.compare-badge-details > summary { min-height: 72px; padding: 13px 18px; display: grid; grid-template-columns: minmax(0,1fr) auto 28px; align-items: center; gap: 16px; list-style: none; cursor: pointer; }
.compare-badge-details > summary::-webkit-details-marker { display: none; }
.compare-badge-details > summary:hover { background: rgba(200,255,54,.035); }
.compare-badge-details > summary span, .compare-badge-details > summary strong, .compare-badge-details > summary small { display: block; }
.compare-badge-details > summary strong { font-size: 14px; }
.compare-badge-details > summary small { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 550; }
.compare-badge-details > summary > b { color: #c8d0d5; font-size: 11px; font-weight: 700; }
.compare-badge-details > summary > i { width: 24px; height: 24px; display: grid; place-items: center; position: relative; border: 1px solid var(--line); border-radius: 50%; }
.compare-badge-details > summary > i::before, .compare-badge-details > summary > i::after { content: ""; width: 8px; height: 1px; position: absolute; background: var(--lime); transition: transform .18s; }
.compare-badge-details > summary > i::after { transform: rotate(90deg); }
.compare-badge-details[open] > summary > i::after { transform: rotate(0); }
.compare-badge-diff-grid { padding: 12px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); }
.badge-diff-column { min-width: 0; overflow: hidden; border: 1px solid rgba(185,213,232,.09); border-radius: 11px; background: rgba(8,16,23,.28); }
.badge-diff-column > header { min-height: 58px; padding: 10px 12px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.badge-diff-column > header > span { min-width: 28px; padding: 3px 6px; color: #0b1015; border-radius: 99px; background: var(--lime); font-size: 8px; font-weight: 900; text-align: center; }
.badge-diff-shared > header > span { color: #dce3e7; background: #34434e; }
.badge-diff-leftOnly > header > span { background: var(--lime); }
.badge-diff-rightOnly > header > span { color: white; background: var(--orange); }
.badge-diff-column > header > strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.badge-diff-column > header > b { color: var(--muted); font-size: 12px; }
.badge-diff-list { max-height: 540px; padding: 5px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3b4a56 transparent; }
.badge-diff-item { min-height: 61px; padding: 7px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 9px; border-radius: 8px; }
.badge-diff-item + .badge-diff-item { border-top: 1px solid rgba(185,213,232,.065); border-radius: 0; }
.badge-diff-item:hover { background: rgba(200,255,54,.055); }
.badge-diff-icon { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; color: #72808a; border-radius: 8px; background: #1a2935; font-size: 15px; font-weight: 850; }
.badge-diff-icon img { width: 100%; height: 100%; object-fit: contain; }
.badge-diff-copy { min-width: 0; }
.badge-diff-copy strong, .badge-diff-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-diff-copy strong { font-size: 12px; }
.badge-diff-copy small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.badge-diff-tiers { display: grid; justify-items: end; gap: 4px; }
.badge-diff-tiers em { min-width: 45px; padding: 3px 5px; color: var(--tier-color); border: 1px solid color-mix(in srgb, var(--tier-color) 34%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--tier-color) 8%, transparent); font-size: 9px; font-style: normal; font-weight: 800; line-height: 1.1; text-align: center; white-space: nowrap; }
.badge-diff-tiers em small { margin-right: 3px; color: #7f8b94; font-size: 7px; }
.badge-diff-tiers em b { color: var(--tier-color); font-size: inherit; }
.badge-diff-item-shared { padding: 9px 7px; display: block; }
.badge-shared-title { min-width: 0; display: block; text-align: center; }
.badge-shared-title strong, .badge-shared-title small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-shared-title strong { font-size: 12px; }
.badge-shared-title small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.badge-shared-sides { margin-top: 8px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.badge-shared-side { min-width: 0; padding: 6px; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 6px; border: 1px solid color-mix(in srgb, var(--tier-color) 30%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--tier-color) 6%, transparent); }
.badge-shared-side.player-left { box-shadow: inset 3px 0 var(--lime); }
.badge-shared-side.player-right { grid-template-columns: minmax(0,1fr) 38px; box-shadow: inset -3px 0 var(--orange); }
.badge-shared-side.player-right .badge-diff-icon { order: 2; }
.badge-shared-side.player-right > span:last-child { text-align: right; }
.badge-shared-side .badge-diff-icon { width: 38px; height: 38px; }
.badge-shared-side > span:last-child { min-width: 0; }
.badge-shared-side small, .badge-shared-side b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-shared-side small { color: #bec7cd; font-size: 8px; }
.badge-shared-side b { margin-top: 3px; color: var(--tier-color); font-size: 9px; }
.badge-diff-tiers .tier-legendary, .badge-diff-tiers .tier-legend, .badge-shared-side.tier-legendary, .badge-shared-side.tier-legend { --tier-color: #ff695c; }
.badge-diff-tiers .tier-hall-of-fame, .badge-shared-side.tier-hall-of-fame { --tier-color: #b986e8; }
.badge-diff-tiers .tier-gold, .badge-shared-side.tier-gold { --tier-color: #f1b83b; }
.badge-diff-tiers .tier-silver, .badge-shared-side.tier-silver { --tier-color: #c5ccd1; }
.badge-diff-tiers .tier-bronze, .badge-shared-side.tier-bronze { --tier-color: #c88657; }
.badge-diff-list > p { margin: 0; padding: 28px 12px; color: #6f7b84; font-size: 11px; text-align: center; }
.compare-attribute-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.compare-attribute-group { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.compare-attribute-group h3 { margin: 0; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare-attribute-row { min-height: 48px; padding: 6px 12px; display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 10px; border-bottom: 1px solid rgba(185,213,232,.07); }
.compare-attribute-row:last-child { border-bottom: 0; }
.compare-attribute-row > strong { padding: 6px 4px; border: 1px solid transparent; border-radius: 7px; background: #101a23; font-size: 14px; text-align: center; }
.compare-attribute-row.leader-left > strong:first-child, .compare-attribute-row.leader-right > strong:last-child { border-color: currentColor; }
.compare-attribute-row > span { min-width: 0; color: #d9dfe3; font-size: 12px; font-weight: 650; text-align: center; }
.compare-attribute-row > span small { margin-left: 6px; color: #6f7b84; font-size: 9px; font-weight: 750; white-space: nowrap; }
.compare-empty { min-height: 390px; padding-block: 90px; text-align: center; }
.compare-empty > span { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; color: #0b1015; border-radius: 50%; background: var(--lime); font-size: 19px; font-weight: 950; box-shadow: 0 0 0 14px rgba(200,255,54,.055); }
.compare-empty h2 { margin: 0; font-size: 30px; }
.compare-empty p { color: var(--muted); }

@media (max-width: 760px) {
  .player-actions { max-width: none; grid-template-columns: minmax(0,1.2fr) minmax(150px,.8fr); gap: 7px; }
  .player-compare-cta { grid-template-columns: 34px minmax(0,1fr); padding: 8px; }
  .compare-cta-icon { width: 34px; height: 34px; }
  .player-compare-cta > i { display: none; }
  .player-compare-cta small { display: none; }
  .player-compare-cta strong { font-size: 12px; }
  .compare-head { padding: 42px 0 30px; }
  .compare-head h1 { font-size: 46px; }
  .compare-head > .shell > p:not(.kicker,.compare-warning) { font-size: 13px; }
  .compare-picker-form { margin-top: 25px; grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); gap: 7px; }
  .compare-picker-head { min-height: 22px; margin-inline: 1px; }
  .compare-picker-head label { font-size: 10px; }
  .compare-picker-head button { padding: 2px 4px; font-size: 9px; }
  .compare-search-input { height: 45px; padding-left: 10px; }
  .compare-search-input input { font-size: 12px; }
  .compare-selection { min-height: 44px; padding: 5px; gap: 6px; }
  .compare-selection-image { width: 32px; height: 32px; }
  .compare-selection strong { font-size: 10px; }
  .compare-selection small { display: none; }
  .compare-swap { width: 34px; height: 34px; margin-bottom: 50px; font-size: 16px; }
  .compare-suggestions { width: min(310px, calc(100vw - 28px)); }
  .compare-picker:nth-of-type(2) .compare-suggestions { left: auto; right: 0; }
  .compare-content { padding-block: 28px 55px; }
  .compare-versus { min-height: 245px; grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); border-radius: 13px; }
  .compare-player, .compare-player-right { padding: 12px 8px 0; display: flex; flex-direction: column; text-align: center; }
  .compare-player-art, .compare-player-right .compare-player-art { width: 100%; height: 145px; order: 0; }
  .compare-player-copy { width: 100%; padding-bottom: 12px; }
  .compare-player-copy > p { margin-bottom: 4px; font-size: 8px; }
  .compare-player-copy h2 { margin-bottom: 5px; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
  .compare-player-copy > span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .compare-player-copy > small { display: none; }
  .compare-overall, .compare-player-right .compare-overall { width: 45px; height: 45px; top: 8px; right: 8px; left: auto; font-size: 20px; }
  .compare-vs { width: 33px; height: 33px; font-size: 9px; }
  .compare-section { margin-top: 45px; }
  .compare-section .section-heading { margin-bottom: 18px; }
  .compare-overview-grid { display: block; }
  .compare-radar-panel { padding: 14px 4px 0; }
  .compare-radar { height: 285px; }
  .compare-ability-list { margin-top: 9px; padding: 7px 10px; }
  .compare-ability-row { min-height: 55px; grid-template-columns: 39px minmax(0,1fr) 39px; gap: 7px; }
  .compare-ability-row > strong { font-size: 14px; }
  .compare-facts > div { min-height: 57px; grid-template-columns: minmax(0,1fr) 75px minmax(0,1fr); }
  .compare-facts strong { padding: 7px; font-size: 11px; line-height: 1.35; }
  .compare-facts span { font-size: 10px; }
  .compare-badge-sides { gap: 8px; font-size: 11px; }
  .compare-badge-sides i { margin-right: 5px; }
  .compare-badge-sides span:last-child i { margin-left: 5px; }
  .compare-badge-score-grid { gap: 7px; }
  .compare-badge-score-grid article { min-height: 94px; padding: 11px 8px; }
  .compare-badge-score-grid article > span { font-size: 11px; }
  .compare-badge-score-grid article > div { margin-top: 8px; grid-template-columns: 1fr 26px 1fr; }
  .compare-badge-score-grid strong { font-size: 26px; }
  .compare-tier-grid { gap: 5px; }
  .compare-tier-grid article { min-height: 78px; padding: 9px 4px; }
  .compare-tier-grid article > span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .compare-tier-grid article > div { margin-top: 9px; grid-template-columns: 1fr 8px 1fr; }
  .compare-tier-grid strong { font-size: 17px; }
  .compare-badge-details > summary { min-height: 70px; padding: 11px 12px; grid-template-columns: minmax(0,1fr) 25px; gap: 8px; }
  .compare-badge-details > summary > b { margin-top: 5px; grid-column: 1; grid-row: 2; font-size: 10px; }
  .compare-badge-details > summary > i { grid-column: 2; grid-row: 1 / 3; }
  .compare-badge-diff-grid { grid-template-columns: 1fr; padding: 8px; gap: 8px; }
  .badge-diff-list { max-height: 410px; }
  .badge-diff-column > header { min-height: 51px; }
  .badge-diff-item { grid-template-columns: 40px minmax(0,1fr) auto; }
  .badge-diff-icon { width: 40px; height: 40px; }
  .compare-attribute-groups { grid-template-columns: 1fr; gap: 9px; }
  .compare-attribute-row { grid-template-columns: 43px minmax(0,1fr) 43px; padding-inline: 8px; gap: 7px; }
  .compare-attribute-row > span { font-size: 11px; }
  .compare-empty { min-height: 330px; padding-block: 70px; }
}

@media (max-width: 390px) {
  .compare-player-art, .compare-player-right .compare-player-art { height: 125px; }
  .compare-versus { min-height: 225px; }
  .compare-radar { height: 260px; }
}

/* Comparison tray and visual refinement */
.player-compare-cta { color: white; font: inherit; text-align: left; cursor: pointer; }
.player-compare-cta.is-added { border-color: rgba(255,107,44,.35); background: linear-gradient(135deg, rgba(255,107,44,.09), rgba(255,107,44,.025)); }
.player-compare-cta.is-added .compare-cta-icon { color: var(--orange); background: rgba(255,107,44,.11); }
.player-compare-cta.is-added > i { color: var(--orange); transform: rotate(45deg); }
.compare-toast-stack { width: min(380px, calc(100vw - 28px)); display: grid; gap: 8px; position: fixed; right: 18px; top: 90px; z-index: 300; pointer-events: none; }
.compare-toast { padding: 13px 16px 13px 42px; position: relative; color: #f0f4f5; border: 1px solid rgba(200,255,54,.28); border-radius: 11px; background: #172630; box-shadow: 0 18px 45px rgba(0,0,0,.42); font-size: 13px; font-weight: 720; opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s; }
.compare-toast::before { content: "✓"; width: 20px; height: 20px; display: grid; place-items: center; position: absolute; left: 13px; top: 12px; color: #0b1015; border-radius: 50%; background: var(--lime); font-size: 11px; font-weight: 950; }
.compare-toast.warning { border-color: rgba(255,107,44,.38); }
.compare-toast.warning::before { content: "!"; background: var(--orange); }
.compare-toast.visible { opacity: 1; transform: none; }
.compare-replace-backdrop { padding: 20px; display: grid; place-items: center; position: fixed; inset: 0; z-index: 350; background: rgba(4,9,13,.76); backdrop-filter: blur(7px); }
.compare-replace-dialog { width: min(520px, 100%); padding: 27px; border: 1px solid #40505c; border-radius: 18px; background: linear-gradient(145deg, #1a2a36, #111c25); box-shadow: 0 30px 90px rgba(0,0,0,.62); }
.compare-replace-dialog > p { margin: 0 0 6px; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.compare-replace-dialog > h2 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.04em; }
.compare-replace-dialog > span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.compare-replace-dialog > div { margin-top: 20px; display: grid; gap: 8px; }
.compare-replace-dialog > div button { min-height: 66px; padding: 8px 11px; display: grid; grid-template-columns: 50px minmax(0,1fr) auto; align-items: center; gap: 12px; color: white; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.035); text-align: left; cursor: pointer; }
.compare-replace-dialog > div button:hover { border-color: rgba(255,107,44,.5); background: rgba(255,107,44,.07); }
.compare-replace-dialog > div img, .compare-replace-dialog > div .image-fallback { width: 50px; height: 50px; object-fit: cover; object-position: top; border-radius: 8px; background: #293844; font-size: 12px; }
.compare-replace-dialog > div strong, .compare-replace-dialog > div small { display: block; }
.compare-replace-dialog > div strong { font-size: 14px; }
.compare-replace-dialog > div small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.compare-replace-dialog > div b { color: var(--orange); font-size: 12px; }
.compare-replace-cancel { width: 100%; margin-top: 11px; padding: 10px; color: var(--muted); border: 0; background: transparent; cursor: pointer; }
.compare-head { padding: 48px 0 31px; }
.compare-head h1 { font-size: clamp(42px, 5vw, 61px); }
.compare-picker-form { margin-top: 25px; align-items: end; }
.compare-input-player { width: 34px; height: 34px; margin-right: 9px; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; border-radius: 7px; background: #293844; }
.compare-input-player[hidden] { display: none; }
.compare-input-player img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.compare-input-player .image-fallback, .compare-input-player i { font-size: 10px; font-style: normal; }
.compare-swap { margin-bottom: 0; }
.compare-content { padding-top: 34px; }
.compare-versus { min-height: 340px; overflow: visible; grid-template-columns: minmax(0,1fr) 54px minmax(0,1fr); gap: 8px; border: 0; background: transparent; }
.compare-player, .compare-player-right { height: 340px; padding: 0; display: block; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 17px; background: #14212b; text-align: left; }
.compare-player[data-player-card-url] { cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.compare-player[data-player-card-url]:hover, .compare-player[data-player-card-url]:focus-visible { outline: 0; border-color: rgba(200,255,54,.36); transform: translateY(-2px); box-shadow: 0 18px 45px rgba(0,0,0,.24); }
.compare-player[data-player-card-url]:hover .compare-player-art img { transform: scale(1.018); }
.compare-player-art img { transition: transform .25s; }
.compare-player-right { text-align: right; }
.compare-player-art, .compare-player-right .compare-player-art { height: 100%; position: absolute; inset: 0; order: 0; }
.compare-player-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 24%, rgba(8,14,19,.12) 45%, rgba(8,14,19,.96) 100%); }
.compare-player-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: none; }
.compare-player-copy { max-width: calc(100% - 85px); position: absolute; left: 24px; bottom: 22px; z-index: 2; }
.compare-player-right .compare-player-copy { left: auto; right: 24px; }
.compare-player-copy h2 { font-size: clamp(27px, 3.1vw, 42px); }
.compare-overall, .compare-player-right .compare-overall { top: 18px; right: 18px; left: auto; z-index: 3; backdrop-filter: blur(8px); }
.compare-player-right .compare-overall { right: auto; left: 18px; }
.compare-vs { box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--line); }
.compare-overview-grid { grid-template-columns: minmax(380px,.85fr) minmax(0,1.15fr); }
.compare-radar-panel { border-color: transparent; background: rgba(20,32,44,.48); }
.compare-attribute-group { background: rgba(20,32,44,.72); }

@media (max-width: 760px) {
  .compare-toast-stack { right: 14px; top: 75px; }
  .compare-toast { font-size: 12px; }
  .compare-replace-dialog { padding: 21px 16px 15px; }
  .compare-replace-dialog > h2 { font-size: 23px; }
  .compare-head { padding: 35px 0 24px; }
  .compare-head h1 { font-size: 40px; }
  .compare-picker-form { margin-top: 20px; }
  .compare-input-player { width: 29px; height: 29px; margin-right: 5px; }
  .compare-content { padding-top: 20px; }
  .compare-versus { min-height: 240px; grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr); gap: 4px; }
  .compare-player, .compare-player-right { height: 240px; display: block; }
  .compare-player-art, .compare-player-right .compare-player-art { width: auto; height: 100%; }
  .compare-player-art img { object-fit: cover; object-position: center; }
  .compare-player-copy, .compare-player-right .compare-player-copy { width: auto; max-width: calc(100% - 22px); padding: 0; left: 11px; right: auto; bottom: 13px; text-align: left; }
  .compare-player-right .compare-player-copy { left: auto; right: 11px; text-align: right; }
  .compare-player-copy > p { font-size: 7px; }
  .compare-player-copy h2 { max-width: 100%; overflow: visible; font-size: 15px; line-height: 1.05; text-overflow: clip; white-space: normal; }
  .compare-player-copy > span { font-size: 9px; }
  .compare-overall, .compare-player-right .compare-overall { top: 8px; right: 8px; left: auto; }
  .compare-player-right .compare-overall { right: auto; left: 8px; }
  .compare-potential, .compare-player-right .compare-potential { min-width: 45px; height: 25px; padding-inline: 5px; top: 61px; right: 8px; left: auto; gap: 3px; }
  .compare-player-right .compare-potential { right: auto; left: 8px; }
  .compare-potential small { font-size: 7px; }
  .compare-potential b { font-size: 11px; }
  .compare-player-remove, .compare-player-right .compare-player-remove { min-width: 48px; width: auto; height: 29px; padding: 0 7px; top: 8px; right: auto; left: 8px; gap: 3px; }
  .compare-player-right .compare-player-remove { right: 8px; left: auto; }
  .compare-player-remove span { display: inline; font-size: 9px; }
  .compare-player-remove i { font-size: 14px; }
  .compare-vs { box-shadow: 0 0 0 5px var(--bg); }
  .compare-overview-grid { display: block; }
  .compare-hot-zone-heading { align-items: start; }
  .compare-hot-zone-heading > button { min-width: 96px; height: 34px; padding-inline: 9px; font-size: 10px; }
  .compare-hot-zone-grid { grid-template-columns: 1fr; gap: 8px; }
  .compare-hot-zone-card { padding: 13px 10px 12px; }
  .compare-hot-zone-card > header { margin: 0 4px 13px; }
  .compare-hot-zone-right > header { justify-content: flex-start; }
  .compare-hot-zone-right > header span { order: 0; }
  .compare-hot-zone-counts { margin-top: 10px; }
  .compare-hot-zone-readout { position: sticky; bottom: 8px; z-index: 5; background: rgba(18,31,41,.94); backdrop-filter: blur(8px); }
}

@media (max-width: 390px) {
  .compare-player, .compare-player-right, .compare-versus { min-height: 220px; height: 220px; }
}

/* Neutral player silhouette for missing or expired upstream images. */
.player-image-fallback { width: 100%; height: 100%; margin: 0; flex: 1 1 100%; display: block; color: transparent; background-color: transparent !important; background-image: url("/static/player-placeholder.svg") !important; background-repeat: no-repeat !important; background-position: center bottom !important; background-size: contain !important; font-size: 0 !important; }
.player-portrait .player-image-fallback { position: relative; z-index: 1; }
.player-portrait:has(.player-image-fallback) .portrait-number { display: none; }
.compare-suggestions .player-image-fallback, .compare-selection-image .player-image-fallback, .compare-replace-dialog .player-image-fallback, .compare-input-player .player-image-fallback { background-color: #263541 !important; background-size: 90% auto !important; }
