.player-detail-main{position:relative;isolation:isolate;overflow:hidden;background:#020813;color:#f7f3e7}
.player-detail-main::before,.player-detail-main::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-2}
.player-detail-main::before{inset:-5rem 0 -3rem;background-image:url(../images/player-detail/player-detail-background.png);background-repeat:no-repeat;background-position:center calc(-3rem + var(--player-parallax-y,0px));background-size:max(100%,72rem) auto}
.player-detail-main::after{z-index:-1;background:linear-gradient(180deg,rgba(2,8,19,.16),rgba(2,8,19,.54) 52%,#020813 96%)}
.player-detail{width:min(1220px,calc(100% - 2rem));margin:auto;padding:1.15rem 0 clamp(4rem,7vw,7rem);display:flex;flex-direction:column;gap:clamp(2.5rem,4vw,4rem)}
.player-detail__breadcrumbs{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;color:#9eb1c9;font-size:.78rem;letter-spacing:.06em}
.player-detail__breadcrumbs a{color:#d9e6f7}
.player-detail .eyebrow{margin:0 0 .35rem;color:#e8c875;font-size:clamp(.68rem,.8vw,.8rem);font-weight:800;letter-spacing:.18em}
.player-detail h1,.player-detail h2,.player-detail p,.player-detail figure,.player-detail dl,.player-detail ul,.player-detail ol{margin-top:0}

/* Locked hero opening: x=207..579, y=138..684 (373x547) on 1884x835. */
.player-detail-hero{position:relative;aspect-ratio:1884/835;min-width:0}
.player-detail-hero__art{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;pointer-events:none}
.player-detail-hero__content{position:absolute;inset:0;min-width:0}
.player-detail-hero__visual{position:absolute;left:10.99%;top:16.53%;z-index:0;width:19.8%;height:65.51%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}
.player-detail-hero__visual img{display:block;width:100%;height:auto;max-width:none;max-height:100%;object-fit:contain;object-position:center}
.player-detail-hero__profile{position:absolute;left:38.2%;right:8.7%;top:calc(26.11% - clamp(1.458rem,2.43vw,2.43rem) - clamp(.5rem,.7vw,.75rem));bottom:12.5%;z-index:2;min-width:0;display:grid;grid-template-rows:auto auto auto 1fr;gap:0;padding:0 clamp(.25rem,.5vw,.5rem)}
.player-detail-hero__identity-names{display:flex;align-items:baseline;gap:clamp(.75rem,1.35vw,1.35rem);min-width:0;white-space:nowrap}
.player-detail-hero__identity-names h1{flex:0 1 auto;min-width:0;margin:0;overflow:hidden;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.35rem,2.25vw,2.25rem);line-height:1.08;letter-spacing:-.02em;overflow-wrap:normal;word-break:keep-all;text-overflow:ellipsis;text-wrap:nowrap;white-space:nowrap}
.player-detail-hero__secondary-name{margin:0;color:#aebfd2;font-size:clamp(.76rem,1.25vw,1.18rem);font-weight:500;line-height:1.2}
.player-detail-hero__gold-separator{display:block;height:clamp(.25rem,.55vw,.45rem);margin-top:clamp(.5rem,.7vw,.75rem);pointer-events:none}
.player-detail-hero__identity{margin:clamp(1.15rem,1.5vw,1.65rem) 0 0;color:#e7c878;font-size:clamp(1.04rem,1.58vw,1.45rem);font-weight:800;line-height:1.2;letter-spacing:.09em}
.player-detail-hero__profile-columns{align-self:stretch;display:grid;grid-template-columns:minmax(0,32%) minmax(0,68%);gap:clamp(.9rem,1.5vw,1.45rem);min-width:0;min-height:0;margin-top:clamp(.35rem,.6vw,.6rem)}
.player-detail-hero__facts{align-self:stretch;display:grid;grid-auto-rows:minmax(0,1fr);align-items:center;gap:clamp(.3rem,.55vw,.55rem);min-width:0;min-height:0}
.player-detail-hero__facts div{min-width:0;border-top:1px solid rgba(100,174,255,.23);padding-top:.5rem}
.player-detail-hero__facts dt{color:#9fb4ca;font-size:clamp(.86rem,1.08vw,1.08rem);line-height:1.15;letter-spacing:.07em;text-transform:uppercase}
.player-detail-hero__facts dd{margin:.32rem 0 0;color:#f5f0df;font-size:clamp(1.02rem,1.38vw,1.38rem);font-weight:700;line-height:1.18;overflow-wrap:anywhere}
.player-detail-hero__identity-names h1,.player-detail-hero__secondary-name,.player-detail-hero__identity,.player-detail-hero__facts dt,.player-detail-hero__facts dd{width:fit-content;max-width:100%;background:rgba(3,15,32,.42);box-shadow:0 0 0 .12rem rgba(3,15,32,.42)}
.player-detail-hero__secondary-name,.player-detail-hero__secondary-name:is(a),.player-detail-hero__secondary-name a{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.player-detail-hero__facts--long dd{white-space:nowrap}

.player-detail-section{min-width:0}
.player-detail-section__heading{margin-bottom:clamp(1rem,1.8vw,1.5rem)}
.player-detail-section__heading h2{margin:0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.55rem,2.6vw,2.4rem)}
.player-detail-section__heading>p:last-child:not(.eyebrow){margin:.55rem 0 0;color:#a9bad0}
.player-detail-section__heading--accent{padding-left:1rem;border-left:3px solid #d6ad50}

.player-detail-current-section{margin-bottom:-1rem}
.player-detail-current__heading{margin-bottom:0}
.player-detail-current__heading h2{display:inline;margin-right:.7rem}
.player-detail-current__heading>p:last-child{display:inline;color:#b6c7da}
.player-detail-current{position:relative;aspect-ratio:3/1;min-width:0}
.player-detail-current__art{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;pointer-events:none}
.player-detail-current__content{position:absolute;inset:27% 6.1% 34%;z-index:2;display:grid;align-items:center}
.player-detail-current__stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.5%;align-items:stretch;height:100%}
.player-detail-current__stats div{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:clamp(.35rem,.7vw,.65rem);text-align:center}
.player-detail-current__stats dt{color:#a9bfd7;font-size:clamp(.72rem,1vw,.94rem);font-weight:800;letter-spacing:.13em}
.player-detail-current__stats dd{margin:0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.35rem,3vw,2.65rem);font-weight:700;line-height:1}

.player-detail-seasons__table{overflow:hidden;border:1px solid rgba(79,139,205,.25);background:rgba(3,16,34,.76);box-shadow:0 18px 50px rgba(0,0,0,.24)}
.player-detail-seasons table{width:100%;border-collapse:collapse;font-size:clamp(.84rem,1.05vw,1.02rem)}
.player-detail-seasons th,.player-detail-seasons td{padding:.82rem .48rem;border-bottom:1px solid rgba(104,143,185,.15);text-align:center;white-space:nowrap}
.player-detail-seasons thead th{color:#e2c16d;background:rgba(7,25,50,.88);font-size:clamp(.79rem,.92vw,.9rem);letter-spacing:.055em}
.player-detail-seasons tbody th{color:#fff;text-align:left;padding-left:.85rem}
.player-detail-seasons tbody td{color:#c4d0df}
.player-detail-seasons tbody tr:hover{background:rgba(32,88,147,.13)}

.player-detail-awards-section>.player-detail-section__heading{margin-bottom:clamp(1rem,1.8vw,1.5rem)}
.player-detail-awards{--award-gap:clamp(1rem,1.7vw,1.5rem);list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:var(--award-gap);min-width:0}
.player-detail-awards .award-card{min-width:0;padding:clamp(1.15rem,2vw,1.75rem);display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(79,143,207,.34);border-top:2px solid rgba(210,173,87,.72);border-radius:.65rem;background:linear-gradient(145deg,rgba(3,17,38,.94),rgba(5,27,53,.88));box-shadow:0 8px 24px rgba(0,31,67,.18),inset 0 1px 0 rgba(255,255,255,.025);text-align:center;overflow-wrap:anywhere;transition:border-color .18s ease,box-shadow .18s ease}
.player-detail-awards--count-1 .award-card{grid-column:2}
.player-detail-awards--count-2 .award-card{transform:translateX(calc(50% + var(--award-gap)/2))}
.player-detail-awards--count-4 .award-card:last-child,.player-detail-awards--count-7 .award-card:last-child{grid-column:2}
.player-detail-awards--count-5 .award-card:nth-last-child(-n+2),.player-detail-awards--count-8 .award-card:nth-last-child(-n+2){transform:translateX(calc(50% + var(--award-gap)/2))}
.player-detail-awards strong{display:block;color:#f2d47e;font-size:clamp(1.125rem,1.55vw,1.5rem);font-weight:800;line-height:1.22}
.player-detail-awards span{display:block;margin-top:.55rem;color:#fff;font-size:clamp(1.25rem,1.75vw,1.75rem);font-weight:700;line-height:1.15}
.player-detail-awards small{display:block;margin-top:.7rem;color:#aebfd1;font-size:clamp(.9375rem,1.15vw,1.125rem);line-height:1.55}
@media(hover:hover) and (pointer:fine){.player-detail-awards .award-card:hover{border-color:rgba(91,166,235,.5);border-top-color:rgba(226,190,100,.88);box-shadow:0 10px 28px rgba(13,87,160,.22),inset 0 1px 0 rgba(255,255,255,.04)}}

.player-detail-cards{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:clamp(.65rem,1.1vw,.9rem);width:100%}
.player-detail-cards li{min-width:0;border:1px solid rgba(66,132,201,.24);background:linear-gradient(180deg,rgba(8,31,60,.88),rgba(2,12,27,.9));box-shadow:0 14px 36px rgba(0,0,0,.22)}
.player-detail-cards a{position:relative;display:flex;height:100%;flex-direction:column;padding:.65rem;color:#f7f3e7;text-decoration:none}
.player-detail-cards figure{aspect-ratio:3/4;margin:0 0 .55rem;display:grid;place-items:center;overflow:hidden;background:rgba(0,0,0,.2)}
.player-detail-cards img{width:100%;height:100%;object-fit:contain}
.player-detail-cards strong{font-size:clamp(.68rem,.78vw,.82rem);line-height:1.3;overflow-wrap:anywhere}
.player-detail-cards__rank{position:absolute;z-index:1;top:.45rem;left:.45rem;min-width:2rem;padding:.25rem .38rem;border:1px solid rgba(238,201,110,.7);background:#061327;color:#f4d478;font-size:clamp(.76rem,.9vw,.92rem);font-weight:900;text-align:center}
.player-detail-cards__amount{margin-top:.4rem;color:#f0cf70;font-family:Georgia,"Times New Roman",serif;font-size:clamp(.88rem,1.08vw,1.12rem);font-weight:800}

.player-detail-news__grid{list-style:none;padding:0;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;width:100%}
.player-detail-news__grid--count-1{grid-template-columns:minmax(0,620px);justify-content:center}
.player-detail-news__grid--count-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.player-detail-news li{border-left:2px solid #357fd0;background:rgba(5,21,43,.8)}
.player-detail-news a{display:grid;grid-template-columns:1fr auto;gap:.55rem 1rem;min-height:8.25rem;padding:1rem 1.15rem;color:#fff;text-decoration:none}
.player-detail-news time{grid-column:1/-1;color:#92a9c0;font-size:.72rem}
.player-detail-news strong{line-height:1.45;overflow-wrap:anywhere}
.player-detail-news a>span{color:#e1bd62}

@media(max-width:1000px){
	.player-detail{gap:3rem}
	.player-detail-hero__profile{left:38%;right:8%;bottom:10%}
	.player-detail-hero__profile-columns{grid-template-columns:minmax(0,33%) minmax(0,67%);gap:.75rem}
	.player-detail-hero__facts{gap:.25rem}
	.player-detail-hero__facts--long dd{white-space:normal}
	.player-detail-awards{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.85rem,1.7vw,1.15rem)}
	.player-detail-awards .award-card{transform:none}
	.player-detail-awards--count-1 .award-card,.player-detail-awards .award-card:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - var(--award-gap)/2);justify-self:center}
	.player-detail-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
	.player-detail-news__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:820px){
	.player-detail-hero{aspect-ratio:auto;overflow:hidden;border:1px solid rgba(61,126,194,.28);background:linear-gradient(180deg,rgba(3,18,38,.94),rgba(2,12,28,.97))}
	.player-detail-hero__art{display:none}
	.player-detail-hero__content{position:relative;inset:auto;padding:clamp(1rem,4vw,1.6rem)}
	.player-detail-hero__visual{position:relative;left:auto;top:auto;width:min(72vw,18rem);height:auto;aspect-ratio:3/4;margin:0 auto clamp(1.4rem,5vw,2rem);padding:.4rem;border:2px solid rgba(225,183,82,.72);outline:1px solid rgba(70,151,233,.58);outline-offset:.25rem;background:rgba(1,8,20,.8)}
	.player-detail-hero__profile{position:relative;inset:auto;display:block;padding:0;min-width:0}
	.player-detail-hero__identity-names{justify-content:center;flex-wrap:wrap;white-space:nowrap}
	.player-detail-hero__identity-names h1,.player-detail-hero__identity{margin-inline:auto}
	.player-detail-hero__identity-names h1{flex:1 1 100%;font-size:clamp(1.15rem,5.4vw,1.9rem);text-align:center}
	.player-detail-hero__secondary-name{font-size:clamp(1rem,3.2vw,1.3rem)}
	.player-detail-hero__gold-separator{width:min(100%,36rem);height:1px;margin:.8rem auto 0;background:linear-gradient(90deg,transparent,#d8ae50 10%,#f4d579 50%,#d8ae50 90%,transparent)}
	.player-detail-hero__identity{margin-top:.75rem}
	.player-detail-hero__profile-columns{margin-top:1.45rem;grid-template-columns:minmax(0,35%) minmax(0,65%);gap:.8rem 1rem}
	.player-detail-hero__facts{gap:.55rem;align-content:start}
	.player-detail-hero__facts div{padding-top:.55rem}
	.player-detail-hero__facts--long dd{white-space:normal}
}

@media(max-width:767px){
	.player-detail-main::before{background-position:center top;background-size:auto 60rem}
	.player-detail{width:min(100% - 1rem,42rem);padding-top:.75rem;gap:2.5rem}
	.player-detail-hero__gold-separator{margin:.8rem auto .75rem}
	.player-detail-hero__profile-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
	.player-detail-current-section{margin-bottom:-.5rem}
	.player-detail-current__heading h2,.player-detail-current__heading>p:last-child{display:block}
	.player-detail-current__heading>p:last-child{margin:.4rem 0 0}
	.player-detail-current{aspect-ratio:auto;min-height:25rem;border:1px solid rgba(59,126,196,.28);background:rgba(3,15,32,.88)}
	.player-detail-current__art{display:none}
	.player-detail-current__content{position:relative;inset:auto;padding:1.15rem}
	.player-detail-current__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;height:auto}
	.player-detail-current__stats div{min-height:6.5rem;border:1px solid rgba(66,135,205,.26);background:rgba(7,25,49,.72)}
	.player-detail-current__stats div:last-child{grid-column:1/-1;width:calc(50% - .375rem);justify-self:center}
	.player-detail-awards .award-card{padding:1.1rem}
	.player-detail-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
	.player-detail-seasons .stat-secondary,.player-detail-seasons .stat-detail{display:none}
	.player-detail-seasons th,.player-detail-seasons td{padding:.65rem .28rem;font-size:.68rem}
	.player-detail-news__grid,.player-detail-news__grid--count-2{grid-template-columns:1fr;max-width:none}
	.player-detail-news__grid--count-1{grid-template-columns:minmax(0,1fr);max-width:620px}
}

@media(max-width:620px){
	.player-detail-awards{grid-template-columns:1fr}
	.player-detail-awards--count-1 .award-card,.player-detail-awards .award-card:last-child:nth-child(odd){grid-column:auto;width:auto;justify-self:stretch}
}

@media(max-width:420px){
	.player-detail-hero__profile-columns{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce),(max-width:767px){.player-detail-main{--player-parallax-y:0px!important}}

/* MLB season history is limited to official season/team affiliation rows. */
.player-detail-seasons__table--mlb{overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;}
.player-detail-seasons__table--mlb table{width:max-content;min-width:100%;}
.player-detail-seasons__table--mlb th,.player-detail-seasons__table--mlb td{min-width:3.4rem;}
.mlb-player-items h3 span{color:#b6c7da;font-size:.82em;font-weight:600;}
@media(max-width:767px){.player-detail-seasons__table--mlb{overflow-x:auto;}.player-detail-seasons__table--mlb table{min-width:max-content;}.player-detail-seasons__table--mlb th,.player-detail-seasons__table--mlb td{font-size:.72rem;}}
