/* Player research: identity first, readable comparison, all mobile tabs visible. */
#modal:has(.research-modal){border-radius:14px;max-height:94dvh;background:#111317}
.research-modal-top{height:60px;gap:16px;padding:8px 20px}
.research-current-player{min-width:0;margin-left:auto;color:#d8dadd;font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.research-modal-top .icon-btn{flex:0 0 40px;width:40px;height:40px;min-height:40px}
.research-modal-layout{grid-template-columns:192px minmax(0,1fr)}
.research-player-rail{padding:16px 8px;scrollbar-width:thin}
.research-player-rail button{gap:8px;min-height:57px;padding:9px 7px;border-radius:7px}
.research-player-rail button[aria-current=true]{background:#24251d;border-color:#e9cf4355;box-shadow:inset 2px 0 #e9cf43}
.research-player-rail strong{font-size:12px}.research-player-rail small{font-size:10px}
.research-hero{grid-template-columns:104px minmax(0,1fr) 188px;min-height:0;gap:18px;padding:24px;background:#15171d;align-items:center;border-bottom:1px solid #30343a}
.research-portrait{grid-column:auto;grid-row:auto;width:104px;height:112px;margin:0;align-self:center;overflow:hidden}
.research-portrait .player-avatar.bv-player-jersey{height:100%;padding:0;max-height:112px}
.research-portrait::before{display:none}
.research-identity{grid-column:auto;grid-row:auto;align-self:center;padding:0;min-width:0}
.research-identity h2{font-size:28px;line-height:1.14;margin:0 0 10px;letter-spacing:-.035em;overflow-wrap:anywhere}
.research-team-label{font-size:11px;line-height:1.35;margin:0 0 6px;gap:6px}
.research-team-label .bv-team-badge{width:22px;height:22px;flex-basis:22px}
.research-identity .eyebrow{font-size:9px;line-height:1.4;letter-spacing:.06em;color:#aeb5bd}
.research-next-game{margin-top:10px!important;font-size:11px!important;line-height:1.5}
.research-next-game>span{display:block;color:#8e969f;text-transform:uppercase;font-size:8px;letter-spacing:.1em;margin-bottom:2px}
.research-hero-meta{margin-top:9px;gap:6px 12px;font-size:10px}
.research-related{gap:6px 12px}.research-related a{font-size:10px;min-height:24px;display:inline-flex;align-items:center}
.research-outlook{grid-column:auto;grid-row:auto;align-self:stretch;display:grid;grid-template-columns:1fr;align-content:center;gap:7px;margin:0;padding:14px 16px;border:1px solid #464638;border-radius:9px;background:#21221a;min-width:0}
.research-outlook>span{font-size:9px;line-height:1.4;letter-spacing:.07em;color:#ddd7a6}
.research-outlook>strong{grid-row:2;font-size:32px;line-height:1.1;color:#f4db4b;margin:0;font-variant-numeric:tabular-nums}
.research-outlook>small{font-size:10px;line-height:1.5;color:#aeb4bd;grid-column:auto;grid-row:3;margin:0}
.research-outlook em{font-size:10px;line-height:1.4;grid-column:auto;grid-row:4;margin:0;text-align:left;color:#d1b9a7}
.research-profile-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 20px;overflow:visible;background:#111317;top:60px}
.research-profile-tabs button{min-width:0;min-height:48px;white-space:normal;padding:10px 4px;font-size:12px;text-align:center;border-bottom:3px solid transparent}
.research-profile-tabs button[aria-selected=true]{color:#f5db46;border-color:#f5db46}
.research-profile-panel{padding:22px 24px;min-width:0}
body.sports-page .research-overview-v2.studio-player-overview{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.research-overview-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;min-width:0}
.research-overview-heading h3{font-size:16px;line-height:1.3;margin:0 0 5px;color:#eef0f2}
.research-overview-heading p{font-size:11px;line-height:1.5;margin:0;color:#9fa7b2}
.research-overview-heading .research-market{width:185px;min-width:160px;flex:none}
body.sports-page .research-overview-v2 .studio-player-facts{min-width:0}
body.sports-page .research-overview-v2 .research-form-card{margin:0;border-radius:9px}
body.sports-page .research-overview-v2 .research-form-heading{padding:10px 13px;background:#1e2227;font-size:11px}
body.sports-page .research-overview-v2 .research-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:0}
body.sports-page .research-overview-v2 .research-form-card .research-stat{padding:14px 12px;border:0;text-align:left;background:#171a1e}
body.sports-page .research-overview-v2 .research-form-card .research-stat+.research-stat{border-left:1px solid #32363c}
body.sports-page .research-overview-v2 .research-stat>span{min-height:0;color:#aeb6c1;font-size:10px}
body.sports-page .research-overview-v2 .research-form-card .research-stat>strong{font-size:25px;line-height:1.2;margin:7px 0 2px}
body.sports-page .research-overview-v2 .research-stat:first-child>strong{color:#f1d74a}
body.sports-page .research-overview-v2 .research-range-value{font-size:.82em;letter-spacing:-.025em;white-space:nowrap}
body.sports-page .research-overview-v2 .studio-profile-note{margin:8px 0 0;font-size:10px;line-height:1.5;color:#8f98a5}
body.sports-page .research-overview-v2 .studio-player-chart{min-width:0}
body.sports-page .research-overview-v2 .research-section-heading{margin:0 0 8px}
body.sports-page .research-overview-v2 .profile-range{margin:0 0 8px;min-height:36px}
body.sports-page .research-overview-v2 .research-line-context{margin:0 0 10px}
body.sports-page .research-overview-v2 .profile-chart{border-radius:9px;background:#15181c}
.research-context-details{border:1px solid #343940;border-radius:9px;background:#15181c}
.research-context-details>summary{cursor:pointer;padding:14px 16px;min-height:44px;font-size:12px;font-weight:650;color:#d8dde5}
.research-context-details>summary:focus-visible{outline:2px solid #f5db46;outline-offset:3px}
.research-context-details>div{padding:0 16px 16px;line-height:1.6}
.research-context-details p{font-size:11px;color:#aeb6c2}
.research-log{font-variant-numeric:tabular-nums}.research-log td{font-size:13px}
.research-source{margin-top:20px;line-height:1.6}
@media(max-width:1000px){.research-modal-layout{grid-template-columns:minmax(0,1fr)}.research-player-rail{display:none}.research-mobile-switcher{display:flex;min-height:42px;padding:4px 20px}.research-mobile-switcher button{min-height:36px;font-size:11px}.research-mobile-switcher span{font-size:10px}.research-hero{grid-template-columns:96px minmax(0,1fr) 184px}.research-portrait{width:96px;height:104px}}
@media(max-width:600px){
 #modal:has(.research-modal){width:100%!important;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}
 .research-modal-top{height:56px;gap:10px;padding:7px 12px}.research-brand{gap:0}.research-brand img{width:96px;height:34px}.research-brand>span{display:none}.research-current-player{font-size:11px}.research-modal-top .icon-btn{width:40px;height:40px;flex-basis:40px;min-height:40px}
 .research-hero{grid-template-columns:76px minmax(0,1fr);padding:18px 14px 14px;gap:14px;align-items:center}
 .research-portrait{width:76px;height:84px;grid-column:1;grid-row:1;align-self:center}.research-portrait .player-avatar.bv-player-jersey{max-height:84px;padding:0}
 .research-identity{grid-column:2;grid-row:1;align-self:center;padding:0}.research-identity h2{font-size:25px;line-height:1.12;margin:0 0 8px}.research-team-label{font-size:10px;gap:5px;margin-bottom:5px}.research-team-label .bv-team-badge{width:20px;height:20px;flex-basis:20px}.research-identity .eyebrow{font-size:9px}
 .research-next-game{font-size:11px!important;margin-top:8px!important}.research-next-game>span{display:inline;font-size:8px;margin-right:5px}.research-hero-meta{font-size:9px;gap:4px 8px;margin-top:6px}.research-related a{font-size:10px}
 .research-outlook{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px 14px;margin:0;border:1px solid #464638;border-radius:8px;align-items:center}
 .research-outlook>span{grid-column:1;grid-row:1;font-size:9px}.research-outlook>strong{grid-column:2;grid-row:1/3;font-size:30px}.research-outlook>small{grid-column:1;grid-row:2;font-size:9px;line-height:1.4;margin:0;max-width:none}.research-outlook>small br{display:initial}.research-outlook em{grid-column:1/-1;grid-row:3;text-align:left;margin:0;font-size:10px}
 .research-mobile-switcher{min-height:42px;padding:3px 14px}.research-mobile-switcher button{min-height:36px}
 .research-profile-tabs{grid-template-columns:repeat(3,minmax(0,1fr));top:56px;padding:0 10px;gap:0;overflow:visible}.research-profile-tabs button{min-height:42px;padding:9px 4px;font-size:11px}
 .research-profile-panel{padding:18px 14px}body.sports-page .research-overview-v2.studio-player-overview{gap:16px}.research-overview-heading{align-items:start;flex-direction:column;gap:12px}.research-overview-heading h3{font-size:16px}.research-overview-heading .research-market{width:100%;min-width:0;gap:5px}.research-market select,.research-profile-panel input{font-size:16px;min-height:42px}
 body.sports-page .research-overview-v2 .research-form-heading{padding:9px 10px;gap:8px;font-size:10px}body.sports-page .research-overview-v2 .research-form-heading>span{font-size:9px;max-width:none}
 body.sports-page .research-overview-v2 .research-form-card .research-stat{padding:12px 8px}body.sports-page .research-overview-v2 .research-stat>span{font-size:9px;min-height:2.6em}body.sports-page .research-overview-v2 .research-form-card .research-stat>strong{font-size:23px;margin:4px 0}body.sports-page .research-overview-v2 .research-range-value{font-size:.74em;letter-spacing:-.045em}body.sports-page .research-overview-v2 .research-stat>small{font-size:9px}
 body.sports-page .research-overview-v2 .profile-range .btn{min-height:38px}.research-context-details>summary{font-size:11px;padding:13px 12px}.research-context-details>div{padding:0 12px 12px}
 .research-profile-panel .research-log th,.research-profile-panel .research-log td{padding:12px 10px}.research-profile-panel .research-log td{font-size:12px}
}
@media(max-width:360px){.research-hero{grid-template-columns:64px minmax(0,1fr);gap:12px;padding-left:12px;padding-right:12px}.research-portrait{width:64px;height:76px}.research-identity h2{font-size:23px}body.sports-page .research-overview-v2 .research-form-card .research-stat>strong{font-size:21px}.research-outlook{padding:11px 12px}.research-profile-panel{padding:16px 12px}}
@media(prefers-reduced-motion:reduce){.research-modal *{scroll-behavior:auto;transition:none;animation:none}}

/* Put the chart on screen sooner without losing the selected-market context. */
.research-hero{grid-template-columns:104px minmax(0,1fr) 220px;padding:18px 24px}
.research-identity h2{margin-bottom:8px}.research-team-label{display:inline-flex;margin-bottom:0;vertical-align:middle}.research-identity .eyebrow{display:inline-flex;margin-left:7px;vertical-align:middle}
.research-next-game{margin-top:7px!important}.research-next-game>span{display:inline;margin-right:5px}.research-hero-meta{margin-top:6px}
.research-outlook{padding:12px 14px;gap:5px}.research-outlook>strong{font-size:30px}
body.sports-page .research-overview-v2 .studio-player-chart{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
body.sports-page .research-overview-v2 .studio-player-chart>.research-section-heading{grid-column:1;grid-row:1;margin:0;align-self:center}
body.sports-page .research-overview-v2 .studio-player-chart>.profile-range{grid-column:2;grid-row:1;margin:0;align-self:center}
body.sports-page .research-overview-v2 .studio-player-chart>.research-line-context{grid-column:1/-1;margin:0}
body.sports-page .research-overview-v2 #player-history-chart{grid-column:1/-1;min-width:0}
@media(max-width:1000px){.research-hero{grid-template-columns:96px minmax(0,1fr) 210px}}
@media(max-width:600px){.research-hero{grid-template-columns:76px minmax(0,1fr);padding:16px 14px 14px}.research-identity .eyebrow{margin:5px 0 0;display:flex}.research-outlook{padding:11px 13px}.research-outlook>strong{font-size:30px}body.sports-page .research-overview-v2 .research-overview-heading{flex-direction:row;align-items:end;gap:12px}body.sports-page .research-overview-v2 .research-overview-heading h3{font-size:14px;margin:0;line-height:1.4}body.sports-page .research-overview-v2 .research-overview-heading .research-market{width:156px;min-width:0;flex:none}body.sports-page .research-overview-v2 .studio-player-chart>.research-section-heading h3{font-size:14px}body.sports-page .research-overview-v2 .profile-range>span{display:none}}
@media(max-width:360px){.research-hero{grid-template-columns:64px minmax(0,1fr);padding-left:12px;padding-right:12px}body.sports-page .research-overview-v2 .research-overview-heading .research-market{width:146px}}

@media(max-width:360px){body.sports-page .research-overview-v2 .research-range-value{font-size:.64em;letter-spacing:-.025em}}
