:root {
  --bg: #0b1015;
  --surface: #111820;
  --surface-2: #17212b;
  --line: rgba(255, 255, 255, .1);
  --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: var(--bg); 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%; }
.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(11, 16, 21, .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-search { width: min(320px, 30vw); height: 40px; margin-left: auto; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.04); }
.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; }

.home-hero { min-height: 610px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; overflow: hidden; }
.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; background: white; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.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: #0e151c; }
.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; }
.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: 1fr 1fr; gap: 8px; }
.badge-mini-list a { padding: 9px; display: flex; align-items: center; gap: 10px; border-radius: 9px; background: rgba(255,255,255,.035); }
.badge-mini-list a:hover { background: rgba(200,255,54,.08); }
.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 { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.badge-mini-list small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.badge-mini-list i { color: var(--lime); font-style: normal; }
.home-teams { padding-bottom: 55px; }
.team-logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.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)); }
.badge-home-section { padding-top: 0; }

.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: #0d1319; }
.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: #0d1319; }
.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: #0d1319; 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; }

.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 155px; align-items: center; gap: 50px; 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 { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.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; }
.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; }

.player-content { padding-block: 72px 90px; }
.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(7,12,16,.45); }
.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-heading > strong { display: flex; align-items: baseline; gap: 5px; color: var(--lime); font-size: 30px; line-height: 1; }
.overview-heading > strong small { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.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: start; }
.attribute-group { 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: 33px; display: grid; grid-template-columns: 88px 1fr 26px; align-items: center; gap: 10px; }
.attribute-row > span { color: #aab3bb; font-size: 11px; }
.attribute-track { height: 3px; overflow: hidden; border-radius: 5px; background: #2b343c; }
.attribute-track i { width: var(--value); height: 100%; display: block; background: linear-gradient(90deg, #728432, var(--lime)); }
.attribute-row strong { text-align: right; font-size: 12px; }
.rating-9 { color: var(--lime); }
.rating-8 { color: #e5ed76; }
.rating-7 { color: #f6c55b; }
.rating-6, .rating-5 { color: #ec8a52; }
.rating-4, .rating-3, .rating-2, .rating-1, .rating-0 { color: #d6675b; }

.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: 75px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.source-note > span { padding: 5px 7px; color: #111; background: var(--lime); border-radius: 4px; font-size: 8px; font-weight: 900; }
.source-note div { flex: 1; }
.source-note strong { font-size: 12px; }
.source-note p { margin: 3px 0 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.source-note a { color: var(--lime); font-size: 11px; }

.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 1fr; 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-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 50px; padding: 14px 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border: 1px solid var(--line); border-radius: 12px; }
.team-badges > span { margin-right: 8px; color: var(--muted); font-size: 10px; }
.team-badges a { padding: 6px 9px; border-radius: 6px; background: rgba(255,255,255,.05); font-size: 10px; }
.team-badges a:hover { color: var(--lime); }
.team-badges small { margin-left: 4px; color: var(--muted); }

.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; }
.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: #080c10; }
.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) {
  .player-grid { grid-template-columns: repeat(3, 1fr); }
  .player-hero-grid { grid-template-columns: 34% 1fr 120px; gap: 28px; }
  .overall-panel strong { font-size: 58px; }
  .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); }
  .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; }
  .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-heading { align-items: start; }
  .section-heading h2 { font-size: 28px; }
  .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .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: 1fr; }
  .page-head { padding: 49px 0 28px; }
  .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; }
  .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)); }
  .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(4, 1fr); gap: 9px; }
  .bio-grid strong { font-size: 12px; }
  .player-portrait { width: 100%; height: 370px; order: 3; }
  .portrait-number { left: 5%; font-size: 180px; }
  .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 65px; }
  .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; }
  .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 { align-items: flex-start; flex-wrap: wrap; }
  .source-note a { width: 100%; margin-left: 35px; }

  .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-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: 40px; }

  .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-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(2, 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 p, .source-note a { font-size: 12px; }
.team-stats small { font-size: 12px; }
.team-stats span { font-size: 11px; }
.position-stat p span, .team-badges a, .team-badges > 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-content { padding-top: 46px; }
  .attribute-row { grid-template-columns: 105px 1fr 30px; }
  .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 p, .source-note a { font-size: 12px; }
}
