/* OSB ï¿½ loaded here so team page does not depend on site.css order */
@font-face {
	font-family: "OSB";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local("Open Sans Cond Light"), local("OpenSans-CondensedLight"), url("/css/fonts/customfonts.woff") format("woff");
}

.wrapupRosterCoaches {
	padding-top: 5px !important;
	margin: 0px !important;
}

.divCoaches {
	margin-bottom: 5px;
	padding: 0px !important;
	height: 16px;
}

.french_standing_list ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-position: inside;
	float: left;
	width: 100%;
	background-color: #ffffff;
}

	.french_standing_list ul li {
		display: inline;
		width: 100%;
		padding: 1px 0px;
		position: relative;
		margin: 0 0 0px 0;
		margin: 0;
		float: left;
		text-align: left;
	}

.col-md-9.middle-left.player-page {
	width: 71% !important;
}

/* Flex sidebar — home + roster only; legacy tabs keep float/71% */
.middle-right .content:where( :has(.teampageclassmiddle #trRoster), :has(.teampageclassmiddle #divCenterAdd), :has(.teampageclassmiddle .divRosterpage) ) {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
}

	.middle-right .content:where( :has(.teampageclassmiddle #trRoster), :has(.teampageclassmiddle #divCenterAdd), :has(.teampageclassmiddle .divRosterpage) )::after {
		display: none;
	}

	.middle-right .content:where( :has(.teampageclassmiddle #trRoster), :has(.teampageclassmiddle #divCenterAdd), :has(.teampageclassmiddle .divRosterpage) ) > .middle-left.player-page,
	.middle-right .content:where( :has(.teampageclassmiddle #trRoster), :has(.teampageclassmiddle #divCenterAdd), :has(.teampageclassmiddle .divRosterpage) ) > .col-md-9.middle-left.player-page {
		flex: 1 1 auto;
		min-width: 0;
		float: none !important;
		width: auto !important;
		max-width: none;
	}

	.middle-right .content:where( :has(.teampageclassmiddle #trRoster), :has(.teampageclassmiddle #divCenterAdd), :has(.teampageclassmiddle .divRosterpage) ) > .right-adverstise {
		flex: 0 0 300px;
		width: 300px !important;
		min-width: 300px;
		max-width: 300px;
		float: none !important;
		margin-left: 15px;
		box-sizing: border-box;
	}

	.middle-right .content:where( :has(.teampageclassmiddle #trRoster), :has(.teampageclassmiddle #divCenterAdd), :has(.teampageclassmiddle .divRosterpage) ) > .middle-left.player-page:only-child,
	.middle-right .content:where( :has(.teampageclassmiddle #trRoster), :has(.teampageclassmiddle #divCenterAdd), :has(.teampageclassmiddle .divRosterpage) ) > .col-md-9.middle-left.player-page:only-child {
		flex: 1 1 100%;
		width: 100% !important;
		max-width: 100%;
	}

.french_standing_list ul li.groupli {
	font-family: arial;
	color: #ffffff;
	text-align: center;
	background-color: #70A6CD !important;
	line-height: 16px;
}

	.french_standing_list ul li.groupli font {
		background-color: transparent !important;
	}

.french_standing_list ul li:nth-child(odd) {
	background: #f1f5f8;
}

.french_standing_list ul li a {
	display: inline-block;
	float: left;
	width: 108px;
	vertical-align: baseline;
	text-decoration: none;
	color: #07519A;
	font-size: 11px;
}

	.french_standing_list ul li a:hover {
		color: #000000;
	}

	.french_standing_list ul li a span, .french_sub_title_lightbg {
		border-radius: 3px;
		background-color: #3C7FAF;
		color: #ffffff;
		margin-right: 2px;
		float: left;
		padding: 0 4px;
		font-size: 11px;
		margin-right: 4px;
	}

.french_sub_title_lightbg {
	background-color: #b0dcfb !important;
}

.french_standing_list span.stnd-point-rgt {
	margin-right: 1px;
	float: right;
	font-size: 11px;
	color: #000000;
	font-family: arial;
}

.french_std_sub_title h2 {
	margin: 0;
	padding: 0;
	font-size: inherit;
	color: #ffffff !important;
}

.french_standing_list ul li a label {
	margin-bottom: 0;
}

.french_std_sub_title {
	color: #fff;
	float: left;
	width: 100%;
	padding: 5px 0;
	background-color: #1f6aafc1;
	text-align: center;
	margin-bottom: 1px;
	font-family: OSB, sans-serif;
	font-size: 15px !important;
}

.french_standing_list {
	width: 170px;
}


	.french_standing_list ul li.groupli {
		font-family: arial;
		color: #ffffff;
		text-align: center;
		background-color: #70A6CD !important;
		line-height: 16px;
	}

		.french_standing_list ul li.groupli font {
			background-color: transparent !important;
		}

	.french_standing_list ul li:nth-child(odd) {
		background: #f1f5f8;
	}

	.french_standing_list ul li a {
		display: inline-block;
		float: left;
		width: auto !important;
		vertical-align: baseline;
		text-decoration: none;
		color: #07519A;
		font-size: 11px;
	}

		.french_standing_list ul li a span, .french_sub_title_lightbg {
			border-radius: 3px;
			background-color: #3C7FAF;
			color: #ffffff;
			margin-right: 2px;
			float: left;
			padding: 0 4px;
			font-size: 11px;
			margin-right: 4px;
		}

.french_sub_title_lightbg {
	background-color: #b0dcfb !important;
}

.french_standing_list span.stnd-point-rgt {
	margin-right: 1px;
	float: right;
	font-size: 11px;
	color: #000000;
	font-family: arial;
}

.french_standing_list ul li:hover {
	background: #A8CBEE;
}

.image_show ul li a {
	width: 124px !important;
}

#teamstatstbl2 th {
	width: 0px !important;
	text-align: center;
	padding: 7px;
}

.dataTables_filter, .dataTables_info {
	display: none;
}

.team-logo {
	float: left;
}

.team-title {
	margin: 2px;
	font-size: 17pt;
	color: black;
	font-weight: bold;
	font-family: OSB, sans-serif;
	margin-top: 6px;
}

@media only screen and (min-width: 320px) {
	.mobilead {
		min-width: 300px;
		min-height: 50px;
	}
}

@media only screen and (max-width: 600px) {
	#tableCoach {
		width: 90%;
	}

	img.startingimages {
		margin-right: 5px;
	}

	img.clspositionimg_show {
		margin-right: 5px;
		width: 21px !important;
		height: 15px !important;
		margin-bottom: 2px !important;
	}

	.tdmobileimgstart {
		display: none;
	}

	.pos_sf .popDiv {
		left: -55px !important;
	}

	.pos_c .popDiv {
		left: -20px !important;
	}

	.font-8-pt {
		font-size: 10pt;
	}

	.temp {
		font-size: 10pt;
	}

	.lastnextgametr {
		font-size: 10pt !important;
	}

	.tblstaff_home tr td {
		font-size: 10pt !important;
	}

	.mobileTeamPhotoTxtimage {
		font-size: 10pt !important;
	}

	.tdmobileaddress {
		font-size: 10pt !important;
	}

	.font-11-pt {
		font-family: arial narrow;
	}

	.mobilesocialicons_web {
		margin-right: 5px !important;
	}

	#statsSeasonID table {
		width: auto !important;
		margin-bottom: 10px;
	}

		#statsSeasonID table tr td {
			padding: 0px !important;
			width: auto;
		}

	td.authorstitle.gameschedule_full_tbl_team {
		font-family: arial;
	}

	.Mnewstext td {
		font-family: Arial Narrow;
	}

	.style100 {
		font-size: 13px !important;
	}

	#divnewstitle {
		font-size: 14px !important;
	}

	table#staff {
		width: 100% !important;
		font-size: 13px !important;
	}
}

@media only screen and (min-width: 600px) {
	.mobilead {
		min-width: 550px;
		min-height: 50px;
	}
}

@media only screen and (min-width: 768px) {
	.mobilead {
		min-width: 728px;
		min-height: 50px;
	}
}

@media only screen and (min-width: 992px) {
	.mobilead {
		min-width: 750px;
		min-height: 50px;
	}
}

@media only screen and (min-width: 1200px) {
	.mobilead {
		min-width: 750px;
		min-height: 50px;
	}
}

/* Team tabs bar ï¿½ colors/layout: see .team-page-nav block at end of file */

.padding-0 {
	padding: 0px;
	padding-top: 0px !important;
}

@media only screen and (max-width: 600px) {
	#UseTo {
		display: none;
	}

	.useto {
		display: none;
	}

	.formerteamcls {
		display: none;
	}

	.usefrom {
		display: none;
	}
}

.margin-top-10 {
	margin-top: 10px;
}

.recreate {
	min-height: 20px;
	border: 1px solid #FF8C00;
	background-color: #FFFFFF;
	color: #FF8C00;
	border-radius: 8px 8px 8px 8px;
	position: relative;
	font-family: Arial;
	font-size: 11px;
	font-weight: 500;
	padding: 2px 10px 2px 10px;
	width: auto;
	text-align: center;
	transition-duration: 0.4s;
	text-decoration: none;
	overflow: hidden;
	cursor: pointer;
	-webkit-transition-duration: 0.4s;
}

	.recreate:hover {
		background-color: #FF8C00;
		color: #FFFFFF;
	}

.CSSTableGenerator {
	margin: 0px;
	padding: 0px;
	width: 100%;
	border: 1px solid #4b98e5;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-bottom-left-radius: 0px;
	border-bottom-left-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	-webkit-border-bottom-right-radius: 0px;
	border-bottom-right-radius: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-top-right-radius: 0px;
	border-top-right-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
	border-top-left-radius: 0px;
}

	.CSSTableGenerator table {
		border-collapse: collapse;
		border-spacing: 0;
		width: 100%;
		height: 100%;
		margin: 0px;
		padding: 0px;
	}

	.CSSTableGenerator tr:last-child td:last-child {
		-moz-border-radius-bottomright: 0px;
		-webkit-border-bottom-right-radius: 0px;
		border-bottom-right-radius: 0px;
	}

	.CSSTableGenerator table tr:first-child td:first-child {
		-moz-border-radius-topleft: 0px;
		-webkit-border-top-left-radius: 0px;
		border-top-left-radius: 0px;
	}

	.CSSTableGenerator table tr:first-child td:last-child {
		-moz-border-radius-topright: 0px;
		-webkit-border-top-right-radius: 0px;
		border-top-right-radius: 0px;
	}

	.CSSTableGenerator tr:last-child td:first-child {
		-moz-border-radius-bottomleft: 0px;
		-webkit-border-bottom-left-radius: 0px;
		border-bottom-left-radius: 0px;
	}

	.CSSTableGenerator tr:hover td {
	}

	.CSSTableGenerator tr:nth-child(odd) {
		background-color: #e5e5e5;
	}

	.CSSTableGenerator tr:nth-child(even) {
		background-color: #ffffff;
	}

	.CSSTableGenerator td {
		vertical-align: middle;
		border: 1px solid #4b98e5;
		border-width: 0px 1px 1px 0px;
		text-align: left;
		padding: 2px;
		font-size: 12px;
		font-family: Arial;
		font-weight: normal;
		color: #000000;
	}

	.CSSTableGenerator tr:last-child td {
		border-width: 0px 1px 0px 0px;
	}

	.CSSTableGenerator tr td:last-child {
		border-width: 0px 0px 1px 0px;
	}

	.CSSTableGenerator tr:last-child td:last-child {
		border-width: 0px 0px 0px 0px;
	}

	.CSSTableGenerator tr:first-child td {
		background: -o-linear-gradient(bottom, 4b98e5 5%, #b2b2b2 100%);
		background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, 4b98e5), color-stop(1, #b2b2b2) );
		background: -moz-linear-gradient( center top, 4b98e5 5%, #b2b2b2 100% );
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="4b98e5", endColorstr="#b2b2b2");
		background: -o-linear-gradient(top,4b98e5,b2b2b2);
		background-color: 4b98e5;
		border: 0px solid #4b98e5;
		text-align: center;
		border-width: 0px 0px 1px 1px;
		font-size: 14px;
		font-family: Arial;
		font-weight: bold;
		color: #000000;
	}

		.CSSTableGenerator tr:first-child td:first-child {
			border-width: 0px 0px 1px 0px;
		}

		.CSSTableGenerator tr:first-child td:last-child {
			border-width: 0px 0px 1px 1px;
		}

@media only screen and (max-width: 680px) {
	table.authorstable.gameschedule_full_tbl {
		width: 100%;
	}

	.team_stats_cls {
		overflow-x: scroll;
		clear: both;
	}

	table#graph {
		display: none;
	}
}

.exteamyearth {
	text-align: center;
}

.teamnews_h2_cls {
	width: 100%;
}

.team-add-btn {
	min-height: 20px;
	border: 1px solid #3C7FAF;
	color: #3C7FAF;
	border-radius: 8px 8px 8px 8px;
	position: relative;
	background-color: #FFFFFF;
	font-family: Arial;
	font-size: 11px;
	font-weight: 500;
	padding: 2px 10px 2px 10px;
	width: auto;
	text-align: center;
	transition-duration: 0.4s;
	text-decoration: none;
	overflow: hidden;
	cursor: pointer;
	-webkit-transition-duration: 0.4s;
	background-color: white;
	display: inline;
	margin-right: 5px;
}

	.team-add-btn:hover {
		background-color: #3C7FAF;
		color: #FFFFFF;
	}

.d2Fav {
	position: absolute;
	top: -1px;
	left: 100px;
	height: 20px;
	width: 110px;
}

.d1Fav {
	position: relative;
	display: none;
}

@-moz-document url-prefix() {
}

@media screen\0, screen\9 {
	.full-profile {
		clear: both;
		display: ruby-base-container;
	}
}

@media only screen and (min-width: 320px) {
	.AdvertisementCenter {
		min-width: 300px;
		min-height: 50px;
	}
}

@media only screen and (min-width: 600px) {
	.AdvertisementCenter {
		min-width: 550px;
		min-height: 50px;
	}
}

@media only screen and (min-width: 768px) {
	.AdvertisementCenter {
		min-width: 728px;
		min-height: 50px;
	}
}

@media only screen and (min-width: 992px) {
	.AdvertisementCenter {
		min-width: 750px;
		min-height: 50px;
	}
}

@media only screen and (min-width: 1200px) {
	.AdvertisementCenter {
		min-width: 750px;
		min-height: 50px;
	}
}

.lastnextgametr {
	background-color: #EBF3FB;
	font-size: 8pt;
	line-height: 21px;
}

.mleftmenu-td2 {
	background: #EBF3FB;
}

.full-profile .mleftmenu tr td.aleftmenutd {
	background: #EBF3FB;
}

.aleftmenutd {
	text-align: center;
	font-family: arial;
	font-size: 14px;
	cursor: pointer;
}

.ileftmenutd2 {
	text-align: center;
	font-family: arial;
	font-size: 14px;
	cursor: pointer;
}

.main-head {
	font-size: 18px;
	font-weight: bold;
}

.newfontcls {
	font-family: OSB,sans-serif;
	font-size: 16px;
}

#trRoster.team-roster-table th {
	font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

#table_stats1 {
	margin-bottom: 10px;
}

.teamnews_h2_cls {
	margin-top: 10px;
	margin-left: 10px;
}

.pull-right {
	float: right;
	margin-top: 10px;
}

.giveskinnyborder {
	border: 4px solid #EBF3FB;
	border-radius: 4px;
}

.vertical-line {
	margin-bottom: 5px !important;
}

#teamstatstbl2 p {
	margin-bottom: 0.3rem;
}

.divgivetop10space {
	margin-top: 10px;
}

div#tdLeft {
	padding-right: 0;
}

.givewhite {
	background-color: white !important;
}

.my_pStats1 {
	background-color: white !important;
}

.my_pStats2 {
	background-color: white !important;
}

.darkbg_row_newfont {
	font-family: OSB,sans-serif !important;
	color: white !important;
}

.darkbg_row {
	background-color: #1f6aafc1 !important;
}

.my_Headers {
	background: #1f6aafc1;
	color: white;
}

	.my_Headers td {
		color: white !important;
	}

.full-profile .nav > li a .tab-pic {
	display: inherit;
}

.team-table-main {
	width: 100%;
	float: left;
	outline: 1px solid #dfdfdf;
	margin-bottom: 20px;
}

.newfontclass_nogames {
	text-align: center;
	font-family: OSB,sans-serif;
	margin-top: 50px;
}

#trRoster thead tr {
	border-bottom: 1px solid #000000;
}

#trRoster.team-roster-table thead tr {
	border-bottom: none !important;
}

#trRoster tbody tr {
	line-height: 26px;
}

#trRoster.team-roster-table tbody tr:hover {
	background: var(--team-gradient-soft) !important;
}

#trRoster:not(.team-roster-table) tbody tr:hover {
	background-color: #A8CBEE !important;
}

#trRoster.team-roster-table tbody tr:nth-child(even) {
	background-color: var(--team-surface-alt, #ebf3fb) !important;
}

#trRoster:not(.team-roster-table) tbody tr:nth-child(even) {
	background-color: #EBF3FB;
}

#trRoster:not(.team-roster-table) tbody tr td {
	font-family: OSB,sans-serif !important;
}

a.left_cls {
	font-family: OSB;
	font-size: 16px;
}

#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__player a.left_cls,
#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__player a {
	font-family: "Barlow Condensed", Inter, Arial, Helvetica, sans-serif !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	text-transform: capitalize !important;
	letter-spacing: 0 !important;
}

#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__team a.left_cls,
#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__team a {
	font-family: "Barlow Condensed", Inter, Arial, Helvetica, sans-serif !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	color: #4b5563 !important;
	letter-spacing: 0 !important;
}

.left_arrived_span {
	font-family: OSB;
	font-size: 16px !important;
}

.full-profile a {
	color: #1f6aaf;
}

img.formerteamimg {
	vertical-align: inherit;
}

table#staff {
	font-size: 12px;
}

.smallfont img {
	vertical-align: text-bottom;
}

.givestandingspace {
	clear: both;
}

.full-profile .nav > li#step28 a .tab-pic {
	width: 38px;
	height: 29px;
	background-position: -561px -6px;
	left: 0px;
	top: 8px;
}

.tblstaff_home tr:nth-child(odd) {
	background-color: #EBF3FB;
}

.tblstaff_home tr:nth-child(even) {
	background-color: white;
}

.tblstaff_home tr:hover {
	background: #A8CBEE;
}

.ctrtblmobileteam {
	width: 100%;
	border: none;
	margin-top: 0;
}
/* Legacy games schedule  overridden by .team-games-table below */
table.authorstable.gameschedule_full_tbl:not(.team-games-table) {
	margin-left: auto;
	margin-right: auto;
	clear: both;
	border: 1px solid gray;
	border-collapse: collapse;
}
/* Legacy history headers  overridden by .team-history block below */
.full-profile:not(.team-history) .main-head.vertical-line.profile-head.team-history.lessbold {
	font-weight: 500;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	width: 100%;
}

th.txt_roster_center {
	text-align: center;
}

label.mobileuniformstarting {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	display: table;
}

i.fa.fa-basketball-ball.faclass_tmnews {
	line-height: 0;
	vertical-align: middle;
	height: 3px;
}

#img3.team-news__more,
.team-news #img3 {
	display: none !important;
}

.full-profile:not(.team-history) .main-head.vertical-line.profile-head.team-history {
	margin-bottom: 0px !important;
	margin-top: 8px;
}

@media only screen and (max-width: 600px) {
	.old_roster_team {
		width: 100%;
	}

	.mobile_389 {
		width: 100%;
	}

	.mobile_395 {
		width: 100%;
	}

	.mobile_350 {
		width: 360px;
		overflow: scroll;
	}

	.newsheadphoto.mobile_arch_img img {
		/* height: 45px; */
	}

	.newsheadphoto.mobile_arch_img {
		width: 41px;
	}

	div#m_news_dots {
		margin-bottom: 20px;
	}

	#tblExPlayers a {
		margin-left: 4px;
	}

	.full-profile .nav > li a span {
		font-size: 16px;
	}

	.teampageclassmiddle .middle-full.players-profile > .col-md-12 {
		padding-left: 0;
		padding-right: 0;
	}

	.full-profile ul#teamtabs {
		margin: 0 !important;
	}

	.clspositionimg_show {
		display: -webkit-inline-box !important;
	}

	td.tdrsimg img {
		vertical-align: middle !important;
		padding-right: 2px;
	}

	.jquery-lightbox {
		height: 400px !important;
	}

	.teme-next-prev-table {
		font-size: 14px;
		width: 100%;
	}

		.teme-next-prev-table td {
			width: auto !important;
		}

	.french_standing_list ul li a {
		font-size: 12px;
	}

	.stnd-point-rgt {
		font-size: 12px;
	}

	.tr_desk {
		display: none;
	}

	.tr_mb {
		display: block;
	}

	.jquery-lightbox-move {
		left: 0px !important;
		width: 100%;
	}

	.jquery-lightbox.jquery-lightbox-mode-html {
		width: 100% !important;
	}

	a.jquery-lightbox-button-close {
		top: 0;
		right: 0;
		z-index: 10000;
	}

	.jquery-lightbox-html iframe {
		width: 100% !important;
	}

	.jquery-lightbox-mode-html .jquery-lightbox-html {
		height: auto !important;
	}

	table.ctrtblmobileteam.clgstandings td {
		font-size: 12px !important;
	}

		table.ctrtblmobileteam.clgstandings td.authorstitle {
			font-size: 15px !important;
		}

	.clgstandings {
		width: 85% !important;
	}

	.french_standing_list {
		width: 85%;
	}

	.image_show ul li a {
		width: 80% !important;
	}

	.vertical-line {
		width: 100% !important;
	}
}

#m_news_dots {
	text-align: center;
}

#tblExPlayers th font {
	font-family: OSB, sans-serif;
	font-size: 16px;
}

span.spn_dash {
	display: none;
	float: left;
}

span.spnt1 {
	display: inline;
	float: left;
}

span.spnt2 {
	display: inline;
	float: left;
}

td.tduninumber {
	padding-right: 5px !important;
}

.clspositionimg_show {
	display: none;
}

th.thuninumber {
	text-align: center;
}

td.tdrsimg img {
	vertical-align: middle !important;
}

.spnheightft {
	display: none;
}

div#TeamSeasonMenu {
	clear: both;
}

table.mobile_350 table td:nth-child(2) {
	width: auto;
}

table.mobile_350 table tr {
	line-height: 24px !important;
	height: 24px !important;
	padding: 0px !important;
	margin: 0px !important;
	border: 0px;
	border-spacing: 0;
}

	table.mobile_350 table tr p {
		margin-top: auto;
		margin-bottom: auto;
	}

.use80 {
	width: 88%;
	display: inline-block;
}

.use20 {
	width: 11%;
	display: inline-block;
	float: right;
	text-align: center;
}

	.use20 img {
		float: none;
		max-width: 79px !important;
	}

span.logo-txt-here {
	width: 100%;
	display: inline-block;
}

@media (max-width: 700px) {
	.ampl_stats {
		margin-left: 158px;
		overflow-x: scroll;
		overflow-y: visible;
		padding-bottom: 5px;
		width: auto;
	}

	.headcol {
		border-left: solid 1px #DDEFEF;
		left: 0px;
		position: absolute;
		top: auto;
		width: 20px;
	}

	.headcol1 {
		border-right: solid 1px #DDEFEF;
		left: 20px;
		position: absolute;
		top: auto;
		width: 147px;
	}

	.my_pStats1 td {
		padding: 5px;
		white-space: nowrap;
	}

	#plH2Hagainst {
		width: 100%;
		overflow-x: scroll;
	}

	.againstteam {
		width: 100%;
		height: 100%;
		overflow-x: scroll;
	}

		.againstteam td {
			padding: 5px !important;
			white-space: nowrap;
		}
}

tr.Mnewstext.new_games_list:nth-child(even) {
	background-color: #EBF3FB !important;
}

.rnd_mobile {
	display: none;
}

.tblstatsseason_select {
	width: 40% !important;
}

@media (max-width: 700px) {
	table.mobile_350 table tr {
		line-height: 26px;
	}

	td.tdhightcls {
		width: 55px !important;
	}

	.rnd_mobile {
		display: block;
	}

	.rnd_desktop {
		display: none;
	}

	.teme-next-prev-table {
		margin-bottom: 10px;
	}

	.tblstatsseason_select {
		width: auto !important;
	}

	tr.Mnewstext.new_games_list td {
		padding: 0px !important;
	}

	.spnt1 div:before {
		margin-right: 2px !important;
	}

	.spnt11 div:before {
		margin-right: 2px !important;
	}

	.spnt2 div:before {
		margin-right: 2px !important;
	}

	.spnt22 div:before {
		margin-right: 2px !important;
	}

	#plH2Hagainst {
		overflow-x: scroll;
	}

	.spnt1 div:before {
		line-height: 1em !important;
	}

	.spnt11 div:before {
		line-height: 1em !important;
	}

	.spnt2 div:before {
		line-height: 1em !important;
	}

	.spnt22 div:before {
		line-height: 1em !important;
	}

	.spnt1 div, .spnt2 div {
		line-height: 14px;
	}

	.spnt11 div, .spnt22 div {
		line-height: 14px;
	}

	td#searchdata2 table {
		width: 100%;
	}

	table.tbltop_resp {
		width: 400px;
	}

	.mobile_350 {
		width: 360px;
		overflow: scroll;
	}

		.mobile_350 img {
			max-width: 300px;
		}

	.RosterMobile {
		width: 360px;
		overflow: scroll;
	}

	.team-logo2 {
		float: left;
		max-width: 20px;
		max-height: 20px;
	}

	table.archiverost th {
		width: auto !important;
	}

	label.removeseasonmobile {
		display: none;
	}

	.full-profile .h2rosterarc {
		clear: none !important;
		float: left;
		width: auto !important;
	}

	.full-profile .StatsAlsofor {
		float: left;
		width: 100%;
	}

	.full-profile .margin-bottom-15 {
		clear: none !important;
		float: left;
		width: auto !important;
	}

	.ARROWset {
		width: 100%;
		float: none;
		text-align: left !important;
	}

	table.homescreenlistcoachpl {
		width: auto;
	}

	td.homeslcoachhidemobile {
		display: none;
	}

	#playersfacehome img {
		height: 70px;
	}
}

label.removeseasonmobile {
	margin-bottom: 0px !important;
}

table#table_stats1 th {
	padding: 0px !important;
}

.efect3D > table:first-child {
	width: 67px;
}

th.tm_headcol1 {
	min-width: 78px !important;
}

.Moveplayerclsnew {
	display: none;
}

@media (max-width: 1200px) {
	/* Keep sidebar layout on team page; stack only on narrow screens */
	.middle-right .content > .middle-left.player-page.teampageclassmiddle,
	.middle-right .content > .col-md-9.middle-left.player-page.teampageclassmiddle {
		width: auto !important;
	}

	.col-md-9.middle-left.player-page:not(.teampageclassmiddle) {
		width: 100% !important;
	}

	.Moveplayerclsnew {
		display: block;
		text-align: center;
	}
}

@media (max-width: 991px) {
	.middle-right .content {
		flex-wrap: wrap;
	}

		.middle-right .content > .middle-left.player-page,
		.middle-right .content > .col-md-9.middle-left.player-page {
			flex: 1 1 100%;
			width: 100% !important;
			max-width: 100%;
		}

		.middle-right .content > .right-adverstise {
			flex: 1 1 100%;
			width: 100% !important;
			max-width: 100%;
			min-width: 0;
			margin: 16px 0 0;
			text-align: center;
		}
}

table.archiverost th {
	width: auto !important;
}

	table.archiverost th:nth-child(3) {
		text-align: left !important;
	}

table.archiverost tr td:nth-child(3) {
	text-align: left !important;
}

table.archiverost thead {
	background-color: #80b2df;
	color: white;
	font-weight: normal !important;
}

	table.archiverost thead th font b {
		font-weight: normal;
	}

	table.archiverost thead th font font {
		font-weight: normal;
	}

table.mobile_350 {
	width: 100%;
}

.archiverost th, .archiverost td {
	padding: 0px 5px 0px 0px;
	margin: 0px !important;
}

table.archiverost {
	width: auto;
}

.wrapupUNBR {
	font-size: 12px;
	padding-right: 5px;
}

.wrapupRosterLink a {
	padding: 0px;
	margin: 0px;
	font-size: 12px;
}

	.wrapupRosterLink a:visited {
		padding: 0px;
		margin: 0px;
		font-size: 12px;
	}

	.wrapupRosterLink a:hover {
		padding: 0px;
		margin: 0px;
		font-size: 12px;
	}

.wrapupRosterPosition {
	font-size: 12px;
}

.wrapupRosterAge {
	font-size: 12px;
}

.wrapupRosterNAT {
	font-size: 12px;
}

	.wrapupRosterNAT img {
		max-height: 10px !important;
		margin: 0px !important;
		padding: 0px !important;
		top: -1px;
		position: relative;
	}

.spanUNBR {
	margin: 0px !important;
	padding: 0px !important;
	font-size: 11px;
	line-height: 20px !important;
	height: 20px !important;
}

.spanHeight {
	margin: 0px !important;
	padding: 0px !important;
	font-size: 11px;
	line-height: 20px !important;
	height: 20px !important;
}

.spanPosition {
	margin: 0px !important;
	padding: 0px !important;
	font-size: 11px;
	line-height: 20px !important;
	height: 20px !important;
}

.spanAge {
	margin: 0px !important;
	padding: 0px !important;
	font-size: 11px;
	line-height: 20px !important;
	height: 20px !important;
}

.spansize1 {
	font-size: 10px;
	margin: 0px !important;
	padding: 0px !important;
	line-height: 20px !important;
	height: 20px !important;
}

.archiverost a {
	line-height: 22px !important;
	padding: 0px !important;
	margin: 0px !important;
}

table.tblstatsseason_select.clssssstats {
	width: auto !important;
}

table.tblstatsseason_select.clssssgs {
	width: auto !important;
}

tr.Mnewstext_Sec td:first-child {
	font-family: arial !important;
}

.trRoster_cls {
	width: 70% !important;
	margin-left: auto;
	margin-right: auto;
}

	.trRoster_cls.logoutcls {
		width: 100% !important;
	}

.archiverost {
	width: auto;
}

button.followbutton.additional_class {
	width: 70px;
	padding: 5px;
	font-weight: bold;
	margin-left: 2px;
}

.UN_followbutton {
	color: black !important;
	background: white !important;
	border: 1px solid #E3E3E3;
}

.FN_followbutton {
	color: white !important;
	background: #3C7FAF !important;
	border: 1px solid #3C7FAF;
}

.UN_followbutton:hover span {
	display: none;
}

.UN_followbutton:hover:before {
	content: "Unfollow"
}

.UN_followbutton:hover {
	color: #BF4C57 !important;
	background: #FFE7EA !important;
	border: 1px solid #BF4C57;
}

.spnplnamemobile {
	display: none;
}

@media (max-width: 700px) {
	.trRoster_cls {
		width: 100% !important;
	}

	.team-add-btn {
		float: left;
	}

	.middle-right {
		padding-right: 7px;
		padding-left: 7px;
	}

	.thgivespace {
		padding-left: 4px !important;
	}

	.spnplnamemobile {
		display: block;
	}

	.spnplnamedesktop {
		display: none;
	}
}

.newsheadphoto td {
	line-height: normal;
}

.oldlogo {
	margin-bottom: 10px;
}

table.authorstable.gameschedule_full_tbl td {
	border: 1px solid gray;
	border-collapse: collapse;
}

span.spnt1 {
	display: inline;
	float: left;
}

span.spnt2 {
	display: inline;
	float: left;
}

.spnt11 div:before {
	content: url('https://www.eurobasket.com/images/Away-team_2.png');
	margin-right: 7px;
	display: inline-block;
	vertical-align: middle;
	transform: scale(.6);
	line-height: 1.5em;
	margin-left: 4px;
}

.spnt22 div:before {
	content: url('https://www.eurobasket.com/images/home-ic_2.png');
	margin-right: 7px;
	display: inline-block;
	vertical-align: middle;
	transform: scale(.6);
	line-height: 1.5em;
	margin-left: 4px;
}

.dot {
	height: 20px;
	width: 20px;
	border-radius: 50%;
	display: inline-block;
	border: 1px solid gainsboro;
	margin-right: 2px;
	vertical-align: middle;
	margin-bottom: 4px;
}

.table-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.teamposimg {
	height: 16px;
	position: relative;
	top: -1px;
}

.tooltip123 {
	position: absolute;
	background-color: #fff;
	color: #000;
	border: 1px solid #ccc;
	padding: 6px 10px;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	display: none;
	white-space: nowrap;
	font-size: 13px;
	pointer-events: none; /* allows hover trigger to work properly */
}

.tooltip-trigger {
	cursor: pointer;
	color: green;
}

@media (max-width: 500px) {
	.use80 {
		width: 80% !important;
	}

	.use20 {
		width: 20% !important;
	}

	.eurotable {
		flex: 1 1 100% !important;
	}

	.newsheadphoto td {
		border: 0px;
		border-right: 1px solid #e5e5e5;
		border-top: 1px solid #e5e5e5;
		border-bottom: 1px solid #e5e5e5;
	}

		.newsheadphoto td img {
			padding: 0px;
		}

	.newsheadphoto {
		margin-right: 0px;
	}

	table.tblstatsseason_select.clssssstats {
		margin: 0px auto;
	}

	.tblstatsseason_select.clssssgs {
		margin: 0px auto;
	}

	table.tbl_archroster {
		width: 100%;
	}

	.teme-next-prev-table {
		width: fit-content;
		margin: 0 auto;
	}
}


.tmposs {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.switch_custom {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 13px;
	margin-left: 3px;
	margin-right: 3px;
	margin-bottom: 0px;
	top: 1px;
}

	.switch_custom input {
		opacity: 0;
		width: 0;
		height: 0;
	}

.slider_custom {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

	.slider_custom:before {
		position: absolute;
		content: "";
		height: 9px;
		width: 9px;
		left: 2px;
		top: 2px;
		bottom: 27px;
		background-color: white;
		-webkit-transition: .4s;
		transition: .4s;
	}

input:checked + .slider_custom {
	background-color: #2196F3;
}

input:focus + .slider_custom {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider_custom:before {
	-webkit-transform: translateX(16px);
	-ms-transform: translateX(16px);
	transform: translateX(16px);
}

/* Rounded sliders */
.slider_custom.round_custom {
	border-radius: 34px;
}

	.slider_custom.round_custom:before {
		border-radius: 50%;
	}

.tdhistoryseason {
	min-width: 60px !important;
	text-align: center;
}

.thhistoryseason {
	width: 60px !important;
}

.thhistoryTier {
	width: 30px !important;
}

.thhistorywl {
	width: 30px !important;
}

.thhistorycup {
	width: 65px !important;
}

.thhistorysupercup {
	width: 65px !important;
}

.tdteamhistoryleague1 {
	width: 1%;
	white-space: nowrap;
	text-align: center;
}

.team-compare .againstteam {
	margin-bottom: 16px;
}

.team-compare .tm_name_cmp {
	text-align: left !important;
	min-width: 110px;
}

/* ===== Team page hero header ===== */
/* Team tab navbar sits below hero (see teamDetails.aspx.vb assembly order) */
.teampageclassmiddle .team-hero + .team-page-nav {
	margin-top: var(--team-nav-margin-top, 7px);
	margin-bottom: 12px;
	clear: both;
}

/* Hero + roster team photo: stay inside content column (no full-page bleed) */
.middle-full.players-profile > .col-md-12 > .team-hero {
	overflow: hidden !important;
	clear: both;
	max-height: 170px;
}

.teampageclassmiddle .team-hero {
	--team-hero-aspect: 4.1;
	aspect-ratio: var(--team-hero-aspect) / 1;
	width: 100%;
	height: auto;
	min-height: 200px;
	max-height: 292px;
	overflow: hidden !important;
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif);
}

	.teampageclassmiddle .team-hero > img.team-hero__bg {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		bottom: auto !important;
		width: 100% !important;
		height: 116% !important;
		max-width: none !important;
		max-height: none !important;
		object-fit: cover;
		object-position: 80% 35%;
	}

.teampageclassmiddle .team-hero__inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	min-height: 0;
	box-sizing: border-box;
}

.teampageclassmiddle .team-hero__top {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
}

.team-hero__title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 6px 10px;
	margin: 0 0 6px;
}

.team-hero__title-row {
	width: 100%;
	max-width: 100%;
}

	.team-hero__title-row .team-hero__title,
	.team-hero__title-row h1.team-title {
		margin: 0 !important;
		flex: 1 1 auto;
		min-width: 0;
		width: 70%;
		max-width: 100%;
		overflow-wrap: break-word;
		word-break: normal;
	}

.team-hero__follow-wrap {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 5px;
	margin: 10px 0 6px;
}

	.team-hero__follow-wrap .team-hero__dot {
		flex: 0 0 auto;
	}

.teampageclassmiddle .team-hero__follow-wrap .team-hero__follow-btn,
.teampageclassmiddle .team-hero__follow-wrap button.followbutton.additional_class,
.teampageclassmiddle .team-hero__follow-btn,
.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
.team-hero .followbutton.additional_class.team-hero__follow-btn {
	margin-left: 15px !important;
	vertical-align: middle;
	min-width: 0;
	height: 25px;
	min-height: 25px;
	padding: 0 12px !important;
	border-radius: 7px !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none;
	cursor: pointer;
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

	.teampageclassmiddle .team-hero__follow-btn span,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton::before,
	.team-hero .followbutton.team-hero__follow-btn span,
	.team-hero .followbutton.team-hero__follow-btn.UN_followbutton::before {
		display: inline-flex;
		align-items: center;
		line-height: 1;
	}

	.teampageclassmiddle .team-hero__follow-btn:hover,
	.teampageclassmiddle .team-hero__follow-btn.FN_followbutton:hover,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton:hover {
		background: rgba(255, 255, 255, 0.24) !important;
		border-color: rgba(255, 255, 255, 0.5) !important;
		color: #fff !important;
		transform: translateY(-1px);
		box-shadow: none;
	}

		.teampageclassmiddle .team-hero__follow-btn.UN_followbutton:hover span {
			display: none;
		}

		.teampageclassmiddle .team-hero__follow-btn.UN_followbutton:hover::before {
			content: "Unfollow";
		}

.teampageclassmiddle .team-tab-header,
.teampageclassmiddle .team-roster-highlight.team-tab-header {
	margin-bottom: 12px;
}

.teampageclassmiddle .team-roster-highlight #statsSeasonID {
	display: none !important;
}

.teampageclassmiddle .team-roster-highlight__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-bottom: 4px;
	text-align: left;
}

.teampageclassmiddle .team-roster-highlight__title {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
}

	.teampageclassmiddle .team-roster-highlight__title h2.main-head,
	.teampageclassmiddle .team-roster-highlight__title h2.main-head.vertical-line {
		display: inline-flex;
		align-items: center;
		margin: 0;
		padding: 0;
		text-align: left;
		font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
		font-size: 20px !important;
		font-weight: 700 !important;
		line-height: 1.25 !important;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		min-height: 34px;
	}

.teampageclassmiddle .team-roster-season-nav {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

	.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav,
	.teampageclassmiddle .team-roster-season-nav .team-season-nav-source {
		width: auto;
		margin: 0;
	}

		.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .teme-next-prev-table tr {
			display: flex;
			align-items: center;
			justify-content: flex-end;
			flex-wrap: nowrap;
		}

		.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .teme-next-prev-table td {
			border: 0;
			padding: 0 2px;
			background: transparent;
			font-family: "Barlow Condensed", Arial, sans-serif;
			font-size: 12px;
			font-weight: 500 !important;
			color: var(--team-primary, #1f6aaf);
			white-space: nowrap;
		}

			.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .teme-next-prev-table td a {
				color: var(--team-primary, #1f6aaf) !important;
				text-decoration: none;
				font-weight: 600;
			}

				.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .teme-next-prev-table td a:hover {
					text-decoration: underline;
				}

		.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .teme-next-prev-table img {
			display: inline-block;
			width: 18px;
			height: auto;
			vertical-align: middle;
			filter: none;
		}

		.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav select,
		.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .form-control,
		.teampageclassmiddle .team-roster-season-nav .team-roster-season-select,
		.teampageclassmiddle .team-roster-season-nav--dropdown-only select,
		.teampageclassmiddle .team-roster-season-nav--dropdown-only .team-roster-season-select {
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
			display: inline-block;
			min-width: 90px;
			max-width: 200px;
			min-height: 34px;
			height: 34px;
			padding: 0px 0px 0px 14px !important;
			border: 1px solid var(--team-border, #e3e7ec);
			border-radius: 999px;
			background-color: #fff;
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23000000' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
			background-repeat: no-repeat;
			background-position: right 8px center;
			background-size: 10px 6px;
			color: var(--team-text, #1a2332);
			font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
			font-size: 13px !important;
			font-weight: 700 !important;
			line-height: 34px;
			letter-spacing: 0.02em;
			box-sizing: border-box;
			cursor: pointer;
		}

			.teampageclassmiddle .team-roster-season-nav--dropdown-only select::-ms-expand,
			.teampageclassmiddle .team-roster-season-nav .team-roster-season-select::-ms-expand {
				display: none;
			}

/* Roster: hide legacy prev-season link + arrow when dropdown is used */
.team-roster-season-nav--dropdown-only .teme-next-prev-table,
.team-roster-season-nav--dropdown-only table {
	display: block;
	border: 0;
	margin: 0;
	padding: 0;
}

	.team-roster-season-nav--dropdown-only .teme-next-prev-table tr,
	.team-roster-season-nav--dropdown-only table tr {
		display: block;
	}

	.team-roster-season-nav--dropdown-only .teme-next-prev-table td,
	.team-roster-season-nav--dropdown-only table td {
		display: none;
		border: 0;
		padding: 0;
	}

.team-roster-season-nav--dropdown-only select,
.team-roster-season-nav--dropdown-only .team-roster-season-select {
	display: inline-block !important;
}

.teampageclassmiddle #divJuniorTeamPhoto,
.teampageclassmiddle #motionJuniorTeamPhoto {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	margin-top: 6px !important;
	margin-bottom: 4px !important;
}

	.teampageclassmiddle #divJuniorTeamPhoto img,
	.teampageclassmiddle #motionJuniorTeamPhoto img,
	.teampageclassmiddle .old_roster_team {
		display: block;
		max-width: 100% !important;
		width: auto !important;
		height: auto !important;
		margin-left: auto;
		margin-right: auto;
	}

.teampageclassmiddle .team-roster-cards {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap;
	position: relative;
	z-index: 2;
	container-type: inline-size;
	container-name: team-roster-cards;
	overflow: visible;
}

.team-hero {
	/* --team-* colors inherit from .teampageclassmiddle (synced from .top-header / #submenu in team.js) */
	--team-hero-aspect: 4.1;
	position: relative;
	width: 100%;
	aspect-ratio: var(--team-hero-aspect) / 1;
	height: auto;
	min-height: 200px;
	max-height: 292px;
	margin: 0 0 12px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--team-gradient, linear-gradient(180deg, #1a5a9e 0%, #0d3d6e 100%));
	font-family: "Inter", Arial, Helvetica, sans-serif;
	isolation: isolate;
}

	.team-hero > img.team-hero__bg {
		position: absolute !important;
		top: -8%;
		left: 0;
		right: 0;
		bottom: auto;
		z-index: 0;
		display: block;
		width: 100% !important;
		height: 116% !important;
		max-width: none !important;
		max-height: none !important;
		object-fit: cover;
		object-position: center right;
		border: 0;
		border-radius: inherit;
		pointer-events: none;
	}

.team-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 58%;
	max-width: 62%;
	border-radius: 10px;
	pointer-events: none;
	background: linear-gradient( 90deg, rgba(8, 32, 58, 0.92) 0%, rgba(8, 32, 58, 0.72) 45%, rgba(8, 32, 58, 0.25) 78%, transparent 100% );
}

.team-hero__inner {
	position: relative;
	z-index: 2;
	padding: 20px 18px 16px;
	justify-items: start;
}

.team-hero__top {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
}

.team-hero__brand {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	min-width: 0;
}

.team-hero__logo {
	flex: 0 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(34px, 8cqi, 72px);
	min-width: clamp(34px, 8cqi, 72px);
}

	.team-hero__logo img.team-logo {
		display: block;
		float: none !important;
		position: static !important;
		margin-top: 0 !important;
		max-width: 100%;
		max-height: clamp(34px, 8cqi, 72px);
		width: auto;
		height: auto;
		filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
	}

.team-hero__info {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	color: #fff;
}

/* Hero text block scales with banner width; keeps FOLLOW off player cutouts */
.teampageclassmiddle .team-hero {
	container-type: inline-size;
	container-name: team-hero;
	--team-hero-social-size: clamp(22px, 6cqi, 30px);
	--team-hero-social-glyph: calc(var(--team-hero-social-size) * 0.52);
	--team-hero-social-gap: clamp(4px, 1.4cqi, 8px);
}

.teampageclassmiddle .team-hero__top {
	max-width: 58%;
	box-sizing: border-box;
}

@container team-hero (max-width: 520px) {
	.teampageclassmiddle .team-hero__top {
		max-width: 68%;
	}
}

@container team-hero (max-width: 640px) {
	.teampageclassmiddle .team-hero__location-line {
		display: none !important;
	}
}

@container team-hero (max-width: 760px) {
	.teampageclassmiddle .team-hero__top {
		align-items: flex-start;
	}

	.teampageclassmiddle .team-hero__brand {
		align-self: flex-start;
	}

	.teampageclassmiddle .team-hero {
		--team-hero-social-size: clamp(16px, 4.5cqi, 22px);
	}
	/* Keep social row on one line by shrinking controls first */
	.teampageclassmiddle .team-hero__inner {
		padding: 11px 10px 8px;
	}

	.teampageclassmiddle .team-hero__top {
		gap: 6px;
	}

	.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title {
		--team-hero-title-size: clamp(11px, 2.5cqi, 15px);
		--team-hero-title-max-ch: 22ch;
		line-height: 1.03;
		margin-bottom: 0;
	}

	.teampageclassmiddle .team-hero__league,
	.teampageclassmiddle .team-hero .font-11-pt,
	.teampageclassmiddle .team-hero__address {
		font-size: 10px !important;
	}

	.teampageclassmiddle .team-hero__logo {
		width: clamp(36px, 7.4cqi, 52px);
		min-width: clamp(36px, 7.4cqi, 52px);
	}

		.teampageclassmiddle .team-hero__logo img.team-logo {
			max-height: clamp(34px, 7.1cqi, 48px);
		}

	.teampageclassmiddle .team-hero__follow-wrap {
		gap: 2px;
		margin: 10px 0 0;
	}

		.teampageclassmiddle .team-hero__follow-wrap .team-hero__follow-btn,
		.teampageclassmiddle .team-hero__follow-wrap button.followbutton.additional_class,
		.teampageclassmiddle .team-hero__follow-btn,
		.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
		.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
		.team-hero .followbutton.additional_class.team-hero__follow-btn {
			height: 17px;
			min-height: 17px;
			padding: 0 5px !important;
			font-size: 9px !important;
			letter-spacing: 0.03em;
		}

	.teampageclassmiddle .team-hero {
		--team-hero-social-gap: clamp(3px, 1.1cqi, 6px);
	}

	.teampageclassmiddle .team-hero__actions,
	.teampageclassmiddle .team-hero__social-links {
		flex-wrap: nowrap;
	}

	.teampageclassmiddle .team-hero__dot,
	.teampageclassmiddle .team-hero .dot {
		width: 9px;
		height: 9px;
		margin-left: 2px;
	}
}

@container team-hero (max-width: 640px) {
	.teampageclassmiddle .team-hero {
		--team-hero-social-size: clamp(14px, 4cqi, 18px);
		--team-hero-social-gap: clamp(3px, 1cqi, 5px);
	}

	.teampageclassmiddle .team-hero__inner {
		padding: 0px 8px 6px;
	}

	.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title {
		--team-hero-title-size: clamp(14px, 2.9cqi, 20px);
		--team-hero-title-max-ch: 19ch;
	}

	.teampageclassmiddle .team-hero__league,
	.teampageclassmiddle .team-hero .font-11-pt,
	.teampageclassmiddle .team-hero__address {
		font-size: 9px !important;
	}

	.teampageclassmiddle .team-hero__logo {
		width: clamp(34px, 7.2cqi, 48px);
		min-width: clamp(34px, 7.2cqi, 48px);
	}

		.teampageclassmiddle .team-hero__logo img.team-logo {
			max-height: clamp(32px, 6.9cqi, 44px);
		}

	.teampageclassmiddle .team-hero__follow-wrap .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-wrap button.followbutton.additional_class,
	.teampageclassmiddle .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
	.team-hero .followbutton.additional_class.team-hero__follow-btn {
		height: 15px;
		min-height: 15px;
		padding: 0 4px !important;
		font-size: 8px !important;
	}
}

@container team-hero (max-width: 480px) {
	.teampageclassmiddle .team-hero {
		--team-hero-social-size: clamp(12px, 3.8cqi, 16px);
		--team-hero-social-gap: clamp(3px, 0.95cqi, 5px);
	}

	.teampageclassmiddle .team-hero__top {
		max-width: 74%;
		gap: 4px;
	}

	.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title {
		--team-hero-title-size: clamp(13px, 3.1cqi, 18px);
		--team-hero-title-max-ch: 16ch;
	}

	.teampageclassmiddle .team-hero__league,
	.teampageclassmiddle .team-hero .font-11-pt {
		font-size: 8px !important;
		margin-bottom: 2px;
	}

	.teampageclassmiddle .team-hero__logo {
		width: clamp(16px, 4.5cqi, 20px);
		min-width: clamp(16px, 4.5cqi, 20px);
	}

		.teampageclassmiddle .team-hero__logo img.team-logo {
			max-height: clamp(14px, 4.2cqi, 18px);
		}

	.teampageclassmiddle .team-hero__follow-wrap .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-wrap button.followbutton.additional_class,
	.teampageclassmiddle .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
	.team-hero .followbutton.additional_class.team-hero__follow-btn {
		height: 14px;
		min-height: 14px;
		padding: 0 3px !important;
		font-size: 7px !important;
	}
	/* Add clearer separation between FOLLOW row and social icons */
	.teampageclassmiddle .team-hero__actions {
		row-gap: 6px;
	}

	.teampageclassmiddle .team-hero__social-links {
		margin-top: 3px;
	}
}

@container team-hero (max-width: 420px) {
	.teampageclassmiddle .team-hero__title-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title {
		--team-hero-title-size: clamp(13px, 3.4cqi, 17px);
	}

	.teampageclassmiddle .team-hero__dot,
	.teampageclassmiddle .team-hero .dot {
		width: 8px;
		height: 8px;
	}
}

@container team-hero (max-width: 340px) {
	.teampageclassmiddle .team-hero {
		--team-hero-social-size: clamp(11px, 3.5cqi, 14px);
		--team-hero-social-gap: clamp(2px, 0.85cqi, 4px);
	}

	.teampageclassmiddle .team-hero__inner {
		padding: 2px 3px 1px;
	}

	.teampageclassmiddle .team-hero__top {
		max-width: 78%;
	}

	.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title {
		--team-hero-title-size: clamp(13px, 3.6cqi, 9px);
		--team-hero-title-lh: 1.02;
	}

	.teampageclassmiddle .team-hero__league,
	.teampageclassmiddle .team-hero .font-11-pt {
		font-size: 7px !important;
	}

	.teampageclassmiddle .team-hero__logo {
		width: clamp(14px, 4cqi, 18px);
		min-width: clamp(14px, 4cqi, 18px);
	}

		.teampageclassmiddle .team-hero__logo img.team-logo {
			max-height: clamp(12px, 3.8cqi, 16px);
		}

	.teampageclassmiddle .team-hero__follow-wrap .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-wrap button.followbutton.additional_class,
	.teampageclassmiddle .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
	.team-hero .followbutton.additional_class.team-hero__follow-btn {
		height: 13px;
		min-height: 13px;
		padding: 0 3px !important;
		font-size: 6px !important;
	}

	.teampageclassmiddle .team-hero__actions {
		row-gap: 8px;
	}

	.teampageclassmiddle .team-hero__social-links {
		margin-top: 4px;
	}
}

.team-hero__title,
.team-hero h1.team-title {
	--team-hero-title-lh: 1.15;
	--team-hero-title-size: clamp(22px, 3.2cqi, 34px);
	--team-hero-title-tracking: 0.04em;
	--team-hero-title-max-ch: 100%;
	margin: 0 0 4px;
	padding: 0;
	border: none;
	font-family: "Teko", Arial, sans-serif !important;
	font-size: var(--team-hero-title-size) !important;
	font-weight: 600 !important;
	line-height: var(--team-hero-title-lh);
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: var(--team-hero-title-tracking);
	display: block;
	line-clamp: unset;
	-webkit-box-orient: initial;
	-webkit-line-clamp: unset;
	overflow: hidden;
	text-overflow: clip !important;
	max-height: calc(2 * var(--team-hero-title-lh) * 1em);
	max-inline-size: 100%;
	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal;
}

.teampageclassmiddle .team-hero__title.team-hero__title--tight,
.teampageclassmiddle .team-hero h1.team-title.team-hero__title--tight {
	--team-hero-title-tracking: 0.015em;
}

.teampageclassmiddle .team-hero__title.team-hero__title--xtight,
.teampageclassmiddle .team-hero h1.team-title.team-hero__title--xtight {
	--team-hero-title-tracking: 0.005em;
}

.teampageclassmiddle .team-hero__title.team-hero__title--ultratight,
.teampageclassmiddle .team-hero h1.team-title.team-hero__title--ultratight {
	--team-hero-title-tracking: -0.01em;
	--team-hero-title-lh: 1.05;
}

.teampageclassmiddle .team-hero.team-hero--tight .team-hero__follow-wrap {
	gap: 2px;
	margin: 3px 0 1px;
}

.teampageclassmiddle .team-hero.team-hero--tight .team-hero__follow-btn,
.teampageclassmiddle .team-hero.team-hero--tight .team-hero__follow-btn.FN_followbutton,
.teampageclassmiddle .team-hero.team-hero--tight .team-hero__follow-btn.UN_followbutton,
.teampageclassmiddle .team-hero.team-hero--tight .followbutton.additional_class.team-hero__follow-btn {
	height: 17px;
	min-height: 17px;
	padding: 0 5px !important;
	font-size: 8px !important;
	letter-spacing: 0.04em;
}


.teampageclassmiddle .team-hero.team-hero--xtight .team-hero__follow-wrap {
	gap: 1px;
	margin: 2px 0 0;
}

.teampageclassmiddle .team-hero.team-hero--xtight .team-hero__follow-btn,
.teampageclassmiddle .team-hero.team-hero--xtight .team-hero__follow-btn.FN_followbutton,
.teampageclassmiddle .team-hero.team-hero--xtight .team-hero__follow-btn.UN_followbutton,
.teampageclassmiddle .team-hero.team-hero--xtight .followbutton.additional_class.team-hero__follow-btn {
	height: 16px;
	min-height: 16px;
	padding: 0 4px !important;
	font-size: 7px !important;
	letter-spacing: 0.03em;
}


/* Long names: smaller starting size (JS may shrink further via --team-hero-title-size) */
.teampageclassmiddle .team-hero__title.team-hero__title--md,
.teampageclassmiddle .team-hero h1.team-title.team-hero__title--md {
	--team-hero-title-size: clamp(20px, 2.8cqi, 28px);
}

.teampageclassmiddle .team-hero__title.team-hero__title--lg,
.teampageclassmiddle .team-hero h1.team-title.team-hero__title--lg {
	--team-hero-title-size: clamp(18px, 2.4cqi, 24px);
}

.teampageclassmiddle .team-hero__title.team-hero__title--xl,
.teampageclassmiddle .team-hero h1.team-title.team-hero__title--xl {
	--team-hero-title-size: clamp(16px, 2cqi, 20px);
}

@container team-hero (max-width: 520px) {
	.teampageclassmiddle .team-hero__title.team-hero__title--xl,
	.teampageclassmiddle .team-hero h1.team-title.team-hero__title--xl {
		--team-hero-title-size: clamp(13px, 2.8cqi, 18px);
	}

	.teampageclassmiddle .team-hero__title.team-hero__title--lg,
	.teampageclassmiddle .team-hero h1.team-title.team-hero__title--lg {
		--team-hero-title-size: clamp(13px, 3cqi, 18px);
	}
}

.team-hero__league,
.team-hero .font-11-pt,
.team-hero__address {
	font-family: "Inter", Arial, sans-serif !important;
}

.team-hero__dot,
.team-hero .dot {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 5px;
	margin-left: 3px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.85);
	vertical-align: middle;
}

.team-hero__location-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 4px 3px;
	margin: 0px 0px 0px 2px;
	max-width: 100%;
	line-height: 1.4;
	text-align: left;
}

.team-hero__league,
.team-hero .font-11-pt {
	font-size: 12px !important;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.92) !important;
}

.team-hero__location-line .team-hero__league {
	display: inline;
	flex: 0 1 auto;
	min-width: 0;
}

.team-hero__league a {
	color: #fff !important;
	font-weight: 600;
}

.team-hero__address {
	margin: 0;
	font-size: 12px !important;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85) !important;
	line-height: 1.4;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	max-width: 100%;
}

.team-hero__address-icon {
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
	line-height: 1.4;
	margin-top: 2px;
	flex-shrink: 0;
}

.team-hero__address-text {
	display: inline-block;
	min-width: 0;
}

.team-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.team-hero__social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-shrink: 0;
	gap: var(--team-hero-social-gap, 6px);
	margin-top: 10px;
}

	.teampageclassmiddle .team-hero__social-links a.team-social-icon,
	.teampageclassmiddle .team-hero__social-links a.mobilesocialicons,
	.teampageclassmiddle .team-hero__social-links .team-social-icon,
	.teampageclassmiddle .team-hero__social-links .mobilesocialicons,
	.teampageclassmiddle .team-hero__add-social.team-add-btn,
	.teampageclassmiddle .team-hero .team-add-btn.team-hero__add-social,
	.team-hero__social-links a.team-social-icon,
	.team-hero__social-links a.mobilesocialicons,
	.team-hero__social-links .team-social-icon,
	.team-hero__social-links .mobilesocialicons,
	.team-hero__add-social.team-add-btn,
	.team-hero .team-add-btn.team-hero__add-social {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: var(--team-hero-social-size, 30px) !important;
		height: var(--team-hero-social-size, 30px) !important;
		min-width: var(--team-hero-social-size, 30px) !important;
		min-height: var(--team-hero-social-size, 30px) !important;
		max-width: var(--team-hero-social-size, 30px) !important;
		max-height: var(--team-hero-social-size, 30px) !important;
		flex: 0 0 var(--team-hero-social-size, 30px) !important;
		flex-shrink: 0 !important;
		align-self: center;
		aspect-ratio: 1 / 1;
		padding: 0 !important;
		border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, 0.28);
		background: rgba(255, 255, 255, 0.1);
		color: #fff;
		text-decoration: none !important;
		overflow: hidden;
		line-height: 0;
		transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

		.team-hero__social-links a:hover,
		.team-hero__social-links .team-social-icon:hover {
			background: rgba(255, 255, 255, 0.24);
			border-color: rgba(255, 255, 255, 0.5);
			transform: translateY(-1px);
		}

	.team-hero__social-links img {
		display: none !important;
	}

.team-social-icon__glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--team-hero-social-glyph, 16px);
	height: var(--team-hero-social-glyph, 16px);
	min-width: var(--team-hero-social-glyph, 16px);
	min-height: var(--team-hero-social-glyph, 16px);
	max-width: var(--team-hero-social-glyph, 16px);
	max-height: var(--team-hero-social-glyph, 16px);
	flex: 0 0 auto;
	line-height: 1;
	overflow: hidden;
}

	.team-social-icon__glyph i {
		font-size: var(--team-hero-social-glyph, 16px);
		line-height: 1;
	}

	.team-social-icon__glyph .team-social-svg {
		display: block;
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		fill: currentColor;
	}

.team-hero__add-social.team-add-btn,
.team-hero .team-add-btn.team-hero__add-social {
	margin: 0 !important;
	width: var(--team-hero-social-size, 30px) !important;
	min-height: var(--team-hero-social-size, 30px) !important;
	max-height: var(--team-hero-social-size, 30px) !important;
	display: inline-flex !important;
	cursor: pointer;
	font-size: 0 !important;
}

	.team-hero__add-social.team-add-btn:hover,
	.team-hero .team-add-btn:hover {
		background: rgba(255, 255, 255, 0.24) !important;
		border-color: rgba(255, 255, 255, 0.5) !important;
		transform: translateY(-1px);
	}

	.team-hero__add-social.team-add-btn .team-social-icon__glyph i {
		font-size: var(--team-hero-social-glyph, 16px);
		font-weight: 900;
	}

.team-hero .plfavicon,
.team-hero .followbutton {
	margin: 0;
}

	.team-hero .followbutton,
	.team-hero .followbutton.FN_followbutton,
	.team-hero .followbutton.UN_followbutton {
		padding: 0 14px !important;
		height: 34px;
		min-height: 34px;
		border-radius: 999px;
		border: 1px solid rgba(255, 255, 255, 0.28) !important;
		background: rgba(255, 255, 255, 0.1) !important;
		color: #fff !important;
		font-size: 12px;
		font-weight: 700;
		line-height: 1 !important;
		box-shadow: none;
		box-sizing: border-box;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
	}

		.team-hero .followbutton:hover,
		.team-hero .followbutton.FN_followbutton:hover,
		.team-hero .followbutton.UN_followbutton:hover {
			background: rgba(255, 255, 255, 0.24) !important;
			border-color: rgba(255, 255, 255, 0.5) !important;
			color: #fff !important;
			transform: translateY(-1px);
		}

.team-hero .UN_followbutton:hover span {
	display: none;
}

.team-hero .UN_followbutton:hover::before {
	content: "Unfollow";
}

.team-hero__season {
	flex: 0 0 auto;
	min-width: 140px;
	align-self: flex-end;
}

	.team-hero__season select,
	.team-hero__season .form-control {
		width: 100%;
		max-width: 180px;
		border-radius: 8px;
		border: none;
		font-size: 12px;
	}

.team-hero__desc {
	position: relative;
	z-index: 2;
	display: block;
	box-sizing: border-box;
	max-width: 62%;
	margin: 0;
	padding: 0 18px 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
}

	.team-hero__desc strong {
		color: #fff;
		font-weight: 700;
	}

/* Hero + nav: stable block layout ï¿½ no flex on wrapper to avoid stretching hero bg */
.teampageclassmiddle {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: hidden;
	overflow-y: visible !important;
	max-height: none !important;
	box-sizing: border-box;
	/* Match #submenu margin-top (common.css) ï¿½ gap under top ad banners */
	--team-nav-margin-top: 7px;
	--team-font-ui: "Barlow Condensed", OSB, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

	.teampageclassmiddle .middle-full.players-profile,
	.teampageclassmiddle .middle-full.players-profile > .col-md-12 {
		overflow-y: visible !important;
		max-height: none !important;
	}

	.teampageclassmiddle .team-hero {
		margin: 0 0 0;
		border-radius: 10px;
		overflow: hidden;
	}

		/* Hero type: same OSB family as VeryTop / #submenu country menu */
		.teampageclassmiddle .team-hero__title,
		.teampageclassmiddle .team-hero h1.team-title {
			font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
			font-weight: 700 !important;
			letter-spacing: 0.04em;
		}

		.teampageclassmiddle .team-hero__league,
		.teampageclassmiddle .team-hero__address,
		.teampageclassmiddle .team-hero .font-11-pt,
		.teampageclassmiddle .team-hero__address-text {
			font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
			font-size: 12px !important;
			font-weight: 700 !important;
			letter-spacing: 0.04em;
			text-transform: uppercase;
			align-items: baseline;
		}

	.teampageclassmiddle .team-hero__title-row {
		margin-bottom: 4px;
	}

	/* Hero / nav / roster OSB font — legacy tab content excluded */
	.teampageclassmiddle .team-hero,
	.teampageclassmiddle .full-profile.team-profile.team-page-nav,
	.teampageclassmiddle [class*="team-roster"],
	.teampageclassmiddle #trRoster.team-roster-table,
	.teampageclassmiddle table.committed_cls_tbl.team-roster-table,
	.teampageclassmiddle .team-roster-table-scroll,
	.teampageclassmiddle .team-roster-season-nav,
	.teampageclassmiddle .teme-next-prev-table {
		font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
		font-size: 12px;
		font-weight: 400;
		letter-spacing: 0.02em;
	}

		.teampageclassmiddle .team-roster-transfers__title,
		.teampageclassmiddle #trRoster.team-roster-table thead th,
		.teampageclassmiddle .team-roster-season-nav__label {
			font-weight: 700 !important;
			text-transform: uppercase;
			letter-spacing: 0.05em;
		}

	.teampageclassmiddle .team-roster-summary__value,
	.teampageclassmiddle .team-roster-card__num,
	.teampageclassmiddle .team-roster-card__badge {
		font-weight: 600 !important;
		letter-spacing: 0.03em;
	}

	.teampageclassmiddle #trRoster.team-roster-table tbody td,
	.teampageclassmiddle .team-roster-transfers__item {
		font-weight: 400 !important;
		text-transform: none;
	}

	.teampageclassmiddle .middle-full.players-profile {
		margin-top: 0 !important;
		padding-top: 0;
		padding-bottom: 0 !important;
		clear: both;
		border: none !important;
		outline: none !important;
		box-shadow: none !important;
	}

/* Sticky offset fallback before team.js runs (no extra padding ï¿½ JS sets only real overlap) */
@media (max-width: 800px) {
	.teampageclassmiddle {
		--site-header-offset: 96px;
	}
}

@media (min-width: 801px) {
	.teampageclassmiddle {
		--site-header-offset: 45px;
		--team-header-push: 0px;
	}

		.teampageclassmiddle .middle-full.players-profile {
			padding-top: 0 !important;
		}
}

/* Nav aligns with hero: col-md-12 padding was leaving a square strip on the right */
.teampageclassmiddle .middle-full.players-profile > .col-md-12 {
	padding-left: 0;
	padding-right: 0;
}

.full-profile.team-profile.team-page-nav {
	margin-top: var(--team-nav-margin-top, 7px);
	border-radius: 8px;
	overflow: visible;
	max-width: 100%;
	box-sizing: border-box;
	clear: both;
	position: relative;
	z-index: 2;
	background: var(--team-nav-bar-gradient, var(--team-gradient));
	box-shadow: 0 2px 10px rgba(13, 61, 110, 0.22);
}

.teampageclassmiddle .full-profile.team-profile.team-page-nav {
	margin-top: var(--team-nav-margin-top, 7px);
}

	.teampageclassmiddle .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs,
	.teampageclassmiddle .full-profile.team-profile ul#teamtabs.team-page-tabs {
		margin: 0 !important;
		border-radius: 0;
	}

@media (max-width: 992px) {
	.team-hero {
		min-height: 0;
		margin-bottom: 8px;
	}

	.team-hero__desc {
		display: none;
	}

	.team-hero__inner {
		padding: 12px 10px 10px;
	}

	.team-hero__brand {
		gap: 8px;
	}

	.team-hero__logo img.team-logo {
		max-height: 48px;
	}
}

@media (max-width: 768px) {
	.teampageclassmiddle .team-hero,
	.team-hero {
		--team-hero-aspect: 4.1;
		aspect-ratio: var(--team-hero-aspect) / 1;
		width: 100%;
		height: auto;
		min-height: 140px;
		max-height: 172px;
		overflow: hidden !important;
	}

	.teampageclassmiddle .team-hero__top {
		flex-wrap: wrap;
	}

	.teampageclassmiddle .team-hero__title-row {
		width: 100%;
	}

	.teampageclassmiddle .team-roster-highlight__head {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 6px;
	}

	.teampageclassmiddle .team-roster-highlight__title {
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		align-items: center;
	}

	.teampageclassmiddle .team-roster-season-nav {
		flex: 0 0 auto;
		width: auto;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.teampageclassmiddle .team-roster-highlight__title h2.main-head,
	.teampageclassmiddle .team-roster-highlight__title h2.main-head.vertical-line {
		display: inline-flex;
		align-items: center;
		font-size: 14px !important;
		line-height: 1 !important;
		min-height: 0;
		margin: 0 !important;
	}

	.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .teme-next-prev-table td {
		font-size: 10px !important;
		padding: 0 2px;
	}

	.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav select,
	.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .form-control,
	.teampageclassmiddle .team-roster-season-nav .team-roster-season-select {
		min-width: 75px;
		/* max-width: 110px; */
		min-height: 28px;
		height: 28px;
		line-height: 28px;
		padding: 0 0 0 10px !important;
		font-size: 10px !important;
	}

	.team-hero > img.team-hero__bg,
	.team-hero__bg {
		object-position: 72% center;
	}

	.team-hero__overlay {
		width: 65%;
		max-width: 75%;
		background: linear-gradient( 90deg, rgba(8, 32, 58, 0.92) 0%, rgba(8, 32, 58, 0.72) 45%, rgba(8, 32, 58, 0.25) 78%, transparent 100% );
	}

	.team-hero > img.team-hero__bg,
	.team-hero__bg {
		object-position: center right; /* или 65% center */
	}


	.team-hero__inner {
		padding: 10px 10px 8px;
	}

	.team-hero__top {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 8px;
	}

	.team-hero__brand {
		flex: 0 0 auto;
		flex-wrap: nowrap;
		align-items: center;
		min-width: 0;
	}

	.team-hero__title,
	.team-hero h1.team-title {
		font-family: "Teko", Arial, sans-serif !important;
		--team-hero-title-size: clamp(10px, 3cqi, 16px);
		margin-bottom: 2px;
	}

	.team-hero__league,
	.team-hero .font-11-pt {
		margin-bottom: 2px;
		font-size: 9px !important;
	}

	.team-hero__logo {
		width: clamp(20px, 5.5cqi, 32px);
		min-width: clamp(20px, 5.5cqi, 32px);
	}

		.team-hero__logo img.team-logo {
			max-height: clamp(18px, 5cqi, 28px);
		}

	.team-hero__actions {
		gap: 2px;
		margin-top: 0px;
	}

	.team-hero {
		--team-hero-social-gap: clamp(3px, 1.1cqi, 6px);
	}

	.team-hero__social-links {
		flex-wrap: nowrap;
	}

	.teampageclassmiddle .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
	.team-hero .followbutton.team-hero__follow-btn {
		height: 16px;
		min-height: 16px;
		padding: 0 2px !important;
		font-size: 8px !important;
		letter-spacing: 0.01em;
		min-width: 0 !important;
		width: auto !important;
	}

		.teampageclassmiddle .team-hero__follow-btn span,
		.team-hero .followbutton.team-hero__follow-btn span {
			padding: 0 !important;
		}

	.teampageclassmiddle .team-hero__dot,
	.teampageclassmiddle .team-hero .dot,
	.team-hero__dot,
	.team-hero .dot {
		width: 11px;
		height: 11px;
	}

	.team-hero__season {
		width: auto;
		min-width: 0;
		align-self: flex-end;
		margin-top: 0;
		flex: 0 0 auto;
	}

		.team-hero__season select,
		.team-hero__season .form-control {
			max-width: 140px;
			font-size: 11px;
			padding: 4px 6px;
		}

	/* Mobile: no hero image, no overlay. Keep an empty clean header area. */
	/*	.teampageclassmiddle .team-hero > img.team-hero__bg,
	.teampageclassmiddle .team-hero .team-hero__bg,
	.team-hero > img.team-hero__bg,
	.team-hero .team-hero__bg {
		display: none !important;
	}*/

	/*.teampageclassmiddle .team-hero__overlay,
	.team-hero__overlay {
		display: none !important;
	}

	.teampageclassmiddle .team-hero,
	.team-hero {
		background: #fff !important;
	}*/

	/*Use full header width for content on mobile */
	.teampageclassmiddle .team-hero__top,
	.team-hero__top,
	.teampageclassmiddle .team-hero__info,
	.team-hero__info {
		max-width: 100% !important;
	}

	.teampageclassmiddle .team-hero__top,
	.team-hero__top {
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr) !important;
		align-items: start !important;
		column-gap: 10px !important;
		row-gap: 0 !important;
	}

	.teampageclassmiddle .team-hero__brand,
	.team-hero__brand {
		grid-column: 1;
		grid-row: 1;
		align-self: start !important;
	}

	.teampageclassmiddle .team-hero__top:has(.team-hero__title--md),
	.teampageclassmiddle .team-hero__top:has(.team-hero__title--lg),
	.teampageclassmiddle .team-hero__top:has(.team-hero__title--xl),
	.team-hero__top:has(.team-hero__title--md),
	.team-hero__top:has(.team-hero__title--lg),
	.team-hero__top:has(.team-hero__title--xl) {
		align-items: center !important;
	}

		.teampageclassmiddle .team-hero__top:has(.team-hero__title--md) .team-hero__brand,
		.teampageclassmiddle .team-hero__top:has(.team-hero__title--lg) .team-hero__brand,
		.teampageclassmiddle .team-hero__top:has(.team-hero__title--xl) .team-hero__brand,
		.team-hero__top:has(.team-hero__title--md) .team-hero__brand,
		.team-hero__top:has(.team-hero__title--lg) .team-hero__brand,
		.team-hero__top:has(.team-hero__title--xl) .team-hero__brand {
			align-self: center !important;
		}

	.teampageclassmiddle .team-hero__info,
	.team-hero__info {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
	}

	.teampageclassmiddle .team-hero__logo,
	.team-hero__logo {
		width: clamp(38px, 11vw, 62px) !important;
		min-width: clamp(38px, 11vw, 62px) !important;
	}

		.teampageclassmiddle .team-hero__logo img.team-logo,
		.team-hero__logo img.team-logo {
			max-height: clamp(38px, 11vw, 62px) !important;
		}

	/* Keep text readable on white mobile header, preserve team colors */
	/*.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title,
	.teampageclassmiddle .team-hero__league,
	.teampageclassmiddle .team-hero .font-11-pt,
	.teampageclassmiddle .team-hero__address,
	.teampageclassmiddle .team-hero__address-icon,
	.team-hero__title,
	.team-hero h1.team-title,
	.team-hero__league,
	.team-hero .font-11-pt,
	.team-hero__address,
	.team-hero__address-icon {
		color: #111 !important;
		-webkit-text-fill-color: #111 !important;
	}

	.teampageclassmiddle .team-hero__follow-wrap .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-wrap button.followbutton.additional_class,
	.teampageclassmiddle .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
	.team-hero .followbutton.additional_class.team-hero__follow-btn {
		color: var(--team-primary, #1f6aaf) !important;
		border-color: var(--team-primary, #1f6aaf) !important;
		background: #fff !important;
	}

	.teampageclassmiddle .team-hero__social-links a.team-social-icon,
	.teampageclassmiddle .team-hero__social-links a.mobilesocialicons,
	.teampageclassmiddle .team-hero__social-links .team-social-icon,
	.teampageclassmiddle .team-hero__social-links .mobilesocialicons,
	.teampageclassmiddle .team-hero__add-social.team-add-btn,
	.teampageclassmiddle .team-hero .team-add-btn.team-hero__add-social,
	.team-hero__social-links a.team-social-icon,
	.team-hero__social-links a.mobilesocialicons,
	.team-hero__social-links .team-social-icon,
	.team-hero__social-links .mobilesocialicons,
	.team-hero__add-social.team-add-btn,
	.team-hero .team-add-btn.team-hero__add-social {
		color: var(--team-primary, #1f6aaf) !important;
		border-color: var(--team-primary, #1f6aaf) !important;
		background: #fff !important;
	}

	.team-social-icon__glyph,
	.team-social-icon__glyph i,
	.team-hero__add-social .fa,
	.team-hero__add-social .fas,
	.team-hero__add-social .far {
		color: var(--team-primary, #1f6aaf) !important;
	}

	.teampageclassmiddle .team-hero__dot,
	.teampageclassmiddle .team-hero .dot,
	.team-hero__dot,
	.team-hero .dot {
		border-color: #111 !important;
	}*/
}

@media (max-width: 640px) {
	.teampageclassmiddle .team-hero__location-line,
	.team-hero__location-line {
		display: none !important;
	}
}

@media (max-width: 480px) {
	.teampageclassmiddle .team-hero,
	.team-hero {
		--team-hero-aspect: 4.1;
		aspect-ratio: var(--team-hero-aspect) / 1;
		min-height: 110px;
		max-height: 148px;
	}

	.teampageclassmiddle .team-roster-highlight__head {
		gap: 4px;
	}

	.teampageclassmiddle .team-roster-highlight__title {
		display: flex;
		align-items: center;
	}

	.teampageclassmiddle .team-roster-season-nav {
		flex: 0 0 auto;
		width: auto;
		display: flex;
		align-items: center;
	}

	.teampageclassmiddle .team-roster-highlight__title h2.main-head,
	.teampageclassmiddle .team-roster-highlight__title h2.main-head.vertical-line {
		font-size: 13px !important;
		line-height: 1 !important;
		margin: 0 !important;
	}

	.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .teme-next-prev-table td {
		font-size: 9px !important;
	}

	.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav select,
	.teampageclassmiddle .team-roster-season-nav .team-hero-season-nav .form-control,
	.teampageclassmiddle .team-roster-season-nav .team-roster-season-select {
		min-width: 70px;
		max-width: 98px;
		min-height: 24px;
		height: 24px;
		width: 65px;
		line-height: 24px;
		padding: 0 0px 0 10px !important;
		font-size: 9px !important;
		background-position: right 6px center;
		background-size: 8px 5px;
	}

	.team-hero__inner {
		padding: 8px 8px 6px;
	}

	.team-hero__inner {
		padding: 4px 5px 3px;
	}

	.team-hero__title,
	.team-hero h1.team-title {
		--team-hero-title-size: clamp(13px, 3.2cqi, 18px);
	}

	.team-hero__dot,
	.team-hero .dot {
		width: 8px;
		height: 8px;
		margin-left: 2px;
	}

	.team-hero__logo img.team-logo {
		max-height: clamp(14px, 4.2cqi, 20px);
	}

	.teampageclassmiddle .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-btn.FN_followbutton,
	.teampageclassmiddle .team-hero__follow-btn.UN_followbutton,
	.team-hero .followbutton.team-hero__follow-btn {
		height: 14px;
		min-height: 14px;
		padding: 0 4px !important;
		font-size: 7px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
}

/* Prevent over-shrinking in narrow hero widths */
@media (max-width: 768px) {
	.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title,
	.team-hero__title,
	.team-hero h1.team-title {
		--team-hero-title-size: clamp(14px, 3.8cqi, 20px) !important;
	}

	.teampageclassmiddle .team-hero__league,
	.teampageclassmiddle .team-hero .font-11-pt,
	.teampageclassmiddle .team-hero__address,
	.team-hero__league,
	.team-hero .font-11-pt,
	.team-hero__address {
		font-size: clamp(10px, 2.6vw, 12px) !important;
	}

	.teampageclassmiddle .team-hero__logo,
	.team-hero__logo {
		width: clamp(30px, 10vw, 44px) !important;
		min-width: clamp(30px, 10vw, 44px) !important;
	}

		.teampageclassmiddle .team-hero__logo img.team-logo,
		.team-hero__logo img.team-logo {
			max-height: clamp(28px, 9vw, 40px) !important;
		}

	.teampageclassmiddle .team-hero__follow-wrap .team-hero__follow-btn,
	.teampageclassmiddle .team-hero__follow-btn,
	.team-hero .followbutton.team-hero__follow-btn {
		min-height: 18px;
		height: 18px;
		font-size: 9px !important;
	}
}

@media (max-width: 480px) {
	.teampageclassmiddle .team-hero__title,
	.teampageclassmiddle .team-hero h1.team-title,
	.team-hero__title,
	.team-hero h1.team-title {
		--team-hero-title-size: clamp(13px, 4.2cqi, 18px) !important;
	}

	.teampageclassmiddle .team-hero__logo,
	.team-hero__logo {
		width: clamp(28px, 11vw, 40px) !important;
		min-width: clamp(28px, 11vw, 40px) !important;
	}

		.teampageclassmiddle .team-hero__logo img.team-logo,
		.team-hero__logo img.team-logo {
			max-height: clamp(26px, 10vw, 36px) !important;
		}

	.teampageclassmiddle .team-hero__dot,
	.teampageclassmiddle .team-hero .dot,
	.team-hero__dot,
	.team-hero .dot {
		width: 10px;
		height: 10px;
	}
}

/* ===== Team page redesign: shared color tokens + gradients ===== */
/* Defaults below; team.js syncTeamThemeFromNavbars() overrides from .top-header / #submenu */
.teampageclassmiddle,
.full-profile.team-profile.team-page-nav,
.full-profile.team-profile ul#teamtabs.team-page-tabs,
.team-home,
.team-roster-cards,
.team-roster-summary,
.team-roster-transfers,
.team-games,
.team-stats,
.team-explayers,
.teampageclassmiddle,
.team-history,
.team-staff,
.team-news,
.team-compare,
#trRoster.team-roster-table {
	--team-primary: #1f6aaf;
	--team-primary-dark: #1a5a9e;
	--team-primary-darker: #0d3d6e;
	--team-primary-soft: #e8f3fc;
	--team-surface-alt: #ebf3fb;
	--team-border: #e3e7ec;
	--team-text: #1a2332;
	--team-text-muted: #6c7a8a;
	--team-text-body: #333333;
	--team-gradient: linear-gradient( 180deg, #2b7db8 0%, var(--team-primary-dark, #1a5a9e) 42%, var(--team-primary-darker, #0d3d6e) 100% );
	/* Site header height (updated via team.js on resize; used for mobile layout push) */
	--site-header-offset: 45px;
	--team-nav-bar-gradient: linear-gradient( 180deg, #3b92d8 0%, #2a7fc8 28%, #1f6aaf 58%, #165f96 82%, #0f4a78 100% );
	--team-nav-active-bg: rgba(120, 188, 248, 0.42);
	--team-nav-active-border: rgba(200, 230, 255, 0.65);
	--team-nav-separator: rgba(170, 215, 255, 0.38);
	--team-gradient-light: linear-gradient( 180deg, #4a9de0 0%, var(--team-primary, #1f6aaf) 55%, var(--team-primary-dark, #1a5a9e) 100% );
	--team-gradient-soft: linear-gradient( 180deg, #f6faff 0%, var(--team-primary-soft, #e8f3fc) 50%, #dceaf8 100% );
	--team-gradient-active: linear-gradient( 180deg, rgba(130, 195, 255, 0.55) 0%, rgba(75, 145, 220, 0.5) 100% );
}

/* ===== Roster head strip: coach + top players (redesigned tableCoach) ===== */
.team-roster-highlight {
	text-align: left;
}

	.team-roster-highlight h2.main-head.vertical-line {
		display: inline-block;
		text-align: left;
		margin-left: 0;
		margin-right: 0;
	}

.team-roster-cards,
#tableCoach.team-roster-cards {
	/* --roster-card-scale: 1.2; */
	display: flex;
	flex-wrap: nowrap;
	gap: clamp(4px, 1.1cqi, 10px);
	justify-content: center;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	margin: 6px auto 10px;
	overflow: visible;
	padding-top: 4px;
	container-type: inline-size;
	container-name: team-roster-cards;
}

.team-roster-card {
	--roster-card-flag-w: calc(clamp(10px, 26cqw, 20px) * var(--roster-card-scale));
	--roster-card-flag-h: calc(clamp(7px, 17cqw, 13px) * var(--roster-card-scale));
	--roster-card-top-font: calc(clamp(6px, 12px, 15px) * var(--roster-card-scale));
	/* --roster-card-top-pad: calc(clamp(1px, 1px, 2px) * var(--roster-card-scale)); */
	--roster-card-top-inset: calc(clamp(3px, 8cqw, 8px) * var(--roster-card-scale));
	--roster-card-top-gap: calc(clamp(1px, 5cqw, 5px) * var(--roster-card-scale));
	--roster-card-top-reserve: calc(var(--roster-card-flag-w) + var(--roster-card-top-gap) + 2px);
	--roster-card-scale: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 0;
	min-width: 0;
	max-width: calc(clamp(68px, 14.5cqi, 152px) * var(--roster-card-scale));
	width: auto;
	min-height: calc(clamp(78px, 19cqi, 132px) * var(--roster-card-scale));
	/* padding-top: max( clamp(6px, 18cqw, 14px), calc(var(--roster-card-top-pad) + var(--roster-card-top-font)) ); */
	padding-right: clamp(3px, 0.85cqi, 6px);
	padding-bottom: clamp(2px, 0.6cqi);
	padding-left: clamp(3px, 0.85cqi, 6px);
	background: #fff;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: calc(clamp(5px, 1cqi, 8px) * var(--roster-card-scale));
	box-shadow: 0 1px 3px rgba(31, 106, 175, 0.08);
	text-decoration: none !important;
	color: var(--team-text, #1a2332);
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, Helvetica, sans-serif);
	transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
	overflow: hidden;
	container-type: inline-size;
	container-name: roster-card;
	text-transform: uppercase;
}

	.team-roster-card:hover {
		box-shadow: 0 4px 12px rgba(31, 106, 175, 0.18);
		border-color: var(--team-primary, #1f6aaf);
		transform: translateY(-2px);
		text-decoration: none !important;
	}

.team-roster-card__badge,
.team-roster-card__badge--hc {
	position: static;
	top: var(--roster-card-top-pad);
	left: var(--roster-card-top-inset);
	right: var(--roster-card-top-reserve);
	z-index: 5;
	max-width: calc(100% - var(--roster-card-top-reserve) - var(--roster-card-top-inset));
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif);
	font-size: var(--roster-card-top-font);
	font-weight: 700;
	color: var(--team-primary, #1f6aaf);
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* Number + position: one row (Plus Jakarta Sans) */
.teampageclassmiddle .team-roster-card__meta {
	position: absolute;
	top: var(--roster-card-top-pad);
	left: var(--roster-card-top-inset);
	right: var(--roster-card-top-reserve);
	z-index: 4;
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: var(--roster-card-top-gap);
	max-width: calc(100% - var(--roster-card-top-reserve) - var(--roster-card-top-inset));
	min-width: 0;
	line-height: 1;
	overflow: hidden;
	pointer-events: none;
}

.teampageclassmiddle .team-roster-card__num,
.teampageclassmiddle .team-roster-card__pos,
.teampageclassmiddle .team-roster-card__name,
.teampageclassmiddle .team-roster-card--coach .team-roster-card__badge,
.teampageclassmiddle .team-roster-card--coach .team-roster-card__badge--hc {
	font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif !important;
}

.team-roster-card__num {
	position: static;
	font-size: var(--roster-card-top-font);
	font-weight: 700;
	color: var(--team-primary, #1f6aaf);
	line-height: 1;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.team-roster-card__pos {
	position: fixed;
	font-size: var(--roster-card-top-font);
	font-weight: 500;
	color: var(--team-text-muted, #6c7a8a);
	letter-spacing: 0.02em;
	line-height: 1;
	/* flex: 1 1 AUTO; */
	min-width: 0;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: contents;
}

.team-roster-card__photo {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	height: 100%;
	flex: 1 1 auto;
	min-height: 0;
	margin-top: 4px;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	padding-top: 0;
}

	.team-roster-card__photo img {
		display: block;
		width: 100%;
		max-width: clamp(72%, 70%, 82%);
		height: auto;
		max-height: calc(clamp(56px, 15cqi, 112px) * var(--roster-card-scale));
		min-height: 0;
		margin: 0 auto;
		border: 0;
		object-fit: contain;
		object-position: center bottom;
		image-rendering: auto;
	}

.team-roster-card__photo--player img,
.team-roster-card__photo--coach img {
	max-height: 108%;
}

.team-roster-card__photo--coach {
	width: 100%;
	min-height: 0;
}

.team-roster-card__name {
	position: static;
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	margin: clamp(2px, 0.9cqi, 8px) 0 0px;
	padding: 3px clamp(2px, 0.55cqi, 4px) 2px;
	z-index: 3;
	--roster-card-name-size: calc(clamp(7px, 18cqw, 12px) * var(--roster-card-scale));
	font-size: clamp(11px, 2.2vw, 20px);
	font-weight: 700;
	text-align: center;
	line-height: 1.1;
	letter-spacing: 0.02em;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
	color: var(--team-primary, #1f6aaf);
	transform: none;
	transform-origin: center bottom;
	-webkit-text-stroke: 0.55px rgba(255, 255, 255, 0.92);
	paint-order: stroke fill;
	text-shadow: 0 0 3px rgba(255, 255, 255, 0.95), 0 1px 4px rgba(8, 32, 58, 0.45), 0 2px 5px rgba(8, 32, 58, 0.22);
	pointer-events: none;
	box-sizing: border-box;
}

.team-roster-card__flag {
	position: absolute;
	top: var(--roster-card-top-pad);
	right: var(--roster-card-top-inset);
	left: auto;
	bottom: auto;
	z-index: 6;
	flex-shrink: 0;
	transform: none;
	width: var(--roster-card-flag-w);
	height: var(--roster-card-flag-h);
	min-width: var(--roster-card-flag-w);
	min-height: var(--roster-card-flag-h);
	max-width: var(--roster-card-flag-w);
	max-height: var(--roster-card-flag-h);
	object-fit: cover;
	border: 0;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(8, 32, 58, 0.25);
	pointer-events: none;
}

.team-roster-card--coach {
	--roster-card-coach-font: var(--roster-card-top-font);
	max-width: calc(clamp(68px, 14.5cqi, 152px) * var(--roster-card-scale));
	min-height: calc(clamp(78px, 19cqi, 132px) * var(--roster-card-scale));
	/* padding-top: max( clamp(6px, 18cqw, 14px), calc(var(--roster-card-top-pad) + var(--roster-card-top-font) + 2px) ); */
}

span.team-roster-card__name {
}

.team-roster-card--coach .team-roster-card__meta,
.team-roster-card--coach .team-roster-card__num,
.team-roster-card--coach .team-roster-card__pos {
	display: none;
}

.team-roster-card--coach .team-roster-card__badge,
.team-roster-card--coach .team-roster-card__badge--hc {
	font-size: var(--roster-card-coach-font, var(--roster-card-top-font));
	font-weight: 700;
	color: #6c7a8a;
	letter-spacing: 0;
	text-overflow: clip;
	overflow: hidden;
	display: contents;
	font-family: Inter;
}

.team-roster-card--coach .team-roster-card__name {
	font-size: clamp(11px, 2.2vw, 20px);
}

@container roster-card (max-width: 88px) {
	.team-roster-card--coach {
		--roster-card-coach-font: clamp(5px, 15.5cqw, var(--roster-card-top-font));
	}
}

@container roster-card (max-width: 72px) {
	.team-roster-card {
		--roster-card-top-font: clamp(5px, 19cqw, 9px);
		--roster-card-flag-w: clamp(9px, 24cqw, 14px);
		--roster-card-flag-h: clamp(6px, 15cqw, 10px);
	}

	.team-roster-card--coach {
		--roster-card-coach-font: clamp(5px, 14cqw, 8px);
	}

	.teampageclassmiddle .team-roster-card__meta {
		gap: 0;
	}
}

@container roster-card (max-width: 56px) {
	.team-roster-card {
		--roster-card-top-font: clamp(5px, 17cqw, 8px);
		--roster-card-flag-w: clamp(8px, 22cqw, 12px);
		--roster-card-flag-h: clamp(5px, 14cqw, 9px);
		--roster-card-top-gap: 1px;
	}

	.team-roster-card--coach {
		--roster-card-coach-font: clamp(5px, 12.5cqw, 7px);
	}
}

.no-plus-jakarta .team-roster-card__badge,
.no-plus-jakarta .team-roster-card__num,
.no-plus-jakarta .team-roster-card__pos,
.no-plus-jakarta .team-roster-card__name {
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif);
	-webkit-text-stroke: 0;
	text-shadow: none;
}

@container team-roster-cards (max-width: 520px) {
	.team-roster-cards,
	#tableCoach.team-roster-cards {
		--roster-card-scale: 0.74;
	}

	.team-roster-card {
		--roster-card-top-font: calc(clamp(8px, 8px, 11px) * var(--roster-card-scale));
		--roster-card-top-pad: calc(clamp(2px, 5cqw, 4px) * var(--roster-card-scale));
		min-height: calc(clamp(56px, 14cqi, 92px) * var(--roster-card-scale));
		/* padding-top: max( calc(clamp(2px, 8cqw, 6px) * var(--roster-card-scale)), calc(var(--roster-card-top-pad) + var(--roster-card-top-font)) ); */
		padding-bottom: 1px;
	}

	.team-roster-card__photo {
		justify-content: flex-end;
		padding-top: 0;
	}

		.team-roster-card__photo img {
			max-height: calc(clamp(52px, 15cqi, 96px) * var(--roster-card-scale));
		}

	.team-roster-card__name {
		margin-top: 0;
	}
}

@container team-roster-cards (max-width: 460px) {
	.team-roster-cards,
	#tableCoach.team-roster-cards {
		--roster-card-scale: 0.68;
		gap: 2px;
	}

	.team-roster-card {
		min-height: calc(clamp(52px, 13cqi, 82px) * var(--roster-card-scale));
		/* padding-top: max( calc(clamp(2px, 7cqw, 5px) * var(--roster-card-scale)), calc(var(--roster-card-top-pad) + var(--roster-card-top-font)) ); */
	}
}

@container team-roster-cards (max-width: 420px) {
	.team-roster-cards,
	#tableCoach.team-roster-cards {
		--roster-card-scale: 0.62;
		gap: 2px;
	}

	.team-roster-card {
		min-height: calc(clamp(46px, 11.5cqi, 70px) * var(--roster-card-scale));
		/* padding-top: max( calc(clamp(1px, 6cqw, 4px) * var(--roster-card-scale)), calc(var(--roster-card-top-pad) + var(--roster-card-top-font)) ); */
	}

	.team-roster-card__name {
		letter-spacing: 0;
		margin-top: 1px;
	}
}

/* ===== Team page nav: gradient bar (table headers / Summary) ===== */
.full-profile.team-profile.team-page-nav {
	--team-nav-ul-pad-y: 4px;
	--team-nav-ul-pad-bottom: 4px;
	--team-nav-tabs-gap: 6px;
	--team-nav-tab-min-h: 24px;
	--team-nav-tab-pad: 0 10px;
	--team-nav-tab-font: 14px;
	--team-nav-active-line-bottom: 2px;
	--team-nav-active-line-h: 2px;
	/* VeryTop: .main-menu .navbar-nav .active > .nav-link */
	--team-nav-active-color: #ffff00;
	float: left;
	width: 100%;
	margin-bottom: 8px;
	position: relative;
	z-index: 2;
	background: var(--team-nav-bar-gradient, var(--team-gradient));
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(13, 61, 110, 0.22);
	box-sizing: border-box;
}

	/* Text-only tabs (no sprite icons) */
	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link .tab-pic {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 !important;
		overflow: hidden;
	}

	.full-profile.team-profile.team-page-nav .nav > li.active,
	.full-profile.team-profile.team-page-nav .nav > li:hover {
		background: transparent !important;
		background-image: none !important;
		filter: none !important;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs,
	.full-profile.team-profile ul#teamtabs.team-page-tabs {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		align-content: flex-start;
		justify-content: center;
		float: none !important;
		list-style: none;
		width: 100% !important;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
		padding: var(--team-nav-ul-pad-y, 4px) 8px var(--team-nav-ul-pad-bottom, 3px);
		margin: 0 !important;
		gap: var(--team-nav-tabs-gap, 6px);
		column-gap: var(--team-nav-tabs-gap, 6px);
		row-gap: 4px;
		background: transparent !important;
		border: none !important;
		border-radius: 0;
		overflow-x: visible;
		overflow-y: visible;
	}

		.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li {
			flex: 0 1 auto;
			flex-shrink: 0;
			min-width: max-content;
			max-width: none;
			height: auto;
			margin: 0;
			padding: 0;
			float: none;
			border: none;
			position: relative;
			align-self: center;
		}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li:not(:last-child)::after {
				display: none;
			}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li:empty {
				display: none !important;
			}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li:not(:has(a.team-tab-link)) {
				display: none !important;
			}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link {
				display: inline-flex !important;
				flex-direction: row;
				align-items: center !important;
				justify-content: center !important;
				width: auto !important;
				min-width: max-content;
				height: var(--team-nav-tab-min-h, 24px);
				min-height: var(--team-nav-tab-min-h, 24px);
				padding: var(--team-nav-tab-pad, 0 10px) !important;
				margin: 0 !important;
				float: none !important;
				outline: none !important;
				border: none !important;
				border-radius: 4px;
				background: transparent !important;
				background-image: none !important;
				filter: none !important;
				text-decoration: none !important;
				color: #fff !important;
				box-sizing: border-box;
				position: relative;
				transition: color 0.2s ease, background 0.2s ease;
			}

	.full-profile.team-profile.team-page-nav .team-table-main {
		width: 100%;
		float: none;
		outline: none !important;
		margin-bottom: 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active {
		z-index: 3;
		align-self: center;
	}

		.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active::after {
			display: none;
		}

		.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link,
		.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link:focus {
			height: var(--team-nav-tab-min-h, 24px);
			min-height: var(--team-nav-tab-min-h, 24px);
			padding: var(--team-nav-tab-pad, 0 10px) !important;
			margin: 0 !important;
			border: none !important;
			border-radius: 4px;
			background: var(soft--team-primary-) !important;
			filter: none !important;
			color: var(--team-nav-active-color, #ffff00) !important;
			box-shadow: inset 0 0 0 1px var(--team-primary-dark, rgba(200, 230, 255, 0.65));
			transform: none;
			display: inline-flex !important;
			align-items: center !important;
			justify-content: center !important;
			box-sizing: border-box;
		}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link::after {
				content: none;
				display: none;
			}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li:not(.active) > a.team-tab-link:hover,
	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li:not(.active) > a.team-tab-link:focus {
		border-radius: 6px;
		background: rgba(255, 255, 255, 0.12) !important;
		color: #fff !important;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link span {
		display: inline-flex;
		align-items: center;
		float: none;
		margin: 0;
		padding: 0;
		color: #fff !important;
		font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
		font-size: var(--team-nav-tab-font, 17px) !important;
		font-weight: 500 !important;
		line-height: 1.1;
		text-align: center;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link span,
	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link:focus span {
		color: var(--team-nav-active-color, #ffff00) !important;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link .tab-pic {
		display: block !important;
		position: relative;
		top: 0;
		left: auto;
		width: 30px;
		height: 29px;
		margin: 0 auto 2px;
		background: url(/theme/images/teamtabs.png?dd=1) no-repeat;
		background-image: url(/theme/images/teamtabs.png?dd=1) !important;
		filter: brightness(0);
		opacity: 0.82;
		flex-shrink: 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link .tab-pic {
		opacity: 1;
		filter: brightness(0) saturate(100%);
	}

	/* Sprite positions (from theme/css/style.css, scoped to team nav) */
	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step0 > a .tab-pic {
		background-position: -3px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step1 > a .tab-pic {
		width: 30px;
		background-position: -37px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step2 > a .tab-pic {
		width: 34px;
		background-position: -72px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step3 > a .tab-pic {
		width: 32px;
		background-position: -112px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step4 > a .tab-pic {
		width: 32px;
		background-position: -149px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step5 > a .tab-pic {
		width: 32px;
		background-position: -188px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step6 > a .tab-pic {
		background-position: -608px -6px;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step7 > a .tab-pic {
		background-position: -227px -6px;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step8 > a .tab-pic {
		background-position: -412px -5px;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step9 > a .tab-pic {
		background-position: -531px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step14 > a .tab-pic,
	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step20 > a .tab-pic {
		background-position: -639px -6px;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step28 > a .tab-pic {
		width: 38px;
		background-position: -561px -6px;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#step61 > a .tab-pic {
		background-position: -37px 0;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li#btnJunior > a .tab-pic {
		background-position: -640px 0;
	}

@media (max-width: 900px) {
	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link .tab-pic {
		display: block !important;
	}
}

/* Guest desktop (col-md-9 + right ads): wrap tabs when the column is narrow */
@media (min-width: 901px) {
	.col-md-9.teampageclassmiddle .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs,
	.col-md-9.teampageclassmiddle .full-profile.team-profile ul#teamtabs.team-page-tabs {
		justify-content: center;
		flex-wrap: wrap;
		gap: 4px 6px;
		padding: 4px 6px 6px;
		overflow-x: visible;
		overflow-y: visible;
	}

		.col-md-9.teampageclassmiddle .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li {
			flex: 0 1 auto;
			min-width: max-content;
			max-width: none;
		}

			.col-md-9.teampageclassmiddle .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link,
			.col-md-9.teampageclassmiddle .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link,
			.col-md-9.teampageclassmiddle .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link:focus {
				padding: 0 6px !important;
				height: var(--team-nav-tab-min-h, 24px);
				min-height: var(--team-nav-tab-min-h, 24px);
				min-width: 0;
				width: 100% !important;
				display: inline-flex !important;
				align-items: center !important;
				justify-content: center !important;
			}

				.col-md-9.teampageclassmiddle .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link span {
					font-size: 14px !important;
					letter-spacing: 0.02em;
				}
}

/* Narrow viewports (full-width layout): wrap tabs to next line */
@media (max-width: 1200px) {
	.teampageclassmiddle:not(.col-md-9) .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs,
	.teampageclassmiddle:not(.col-md-9) .full-profile.team-profile ul#teamtabs.team-page-tabs {
		justify-content: center;
		flex-wrap: wrap;
		gap: 8px 10px;
		padding: 4px 10px 6px;
		overflow-x: visible;
		overflow-y: visible;
	}

		.teampageclassmiddle:not(.col-md-9) .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li {
			flex: 0 1 auto;
			flex-shrink: 0;
			min-width: max-content;
			max-width: none;
		}

			.teampageclassmiddle:not(.col-md-9) .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link,
			.teampageclassmiddle:not(.col-md-9) .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link,
			.teampageclassmiddle:not(.col-md-9) .full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link:focus {
				padding-left: 10px !important;
				padding-right: 10px !important;
			}
}

/* Override theme/style.css (display:table, margin:-17px, width:10%) on team tabs */
@media (max-width: 900px) {
	.teampageclassmiddle {
		--team-nav-margin-top: 7px;
		--team-nav-tab-font: 14px;
	}

	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs,
	.full-profile.team-profile ul#teamtabs.team-page-tabs {
		display: flex !important;
		float: none !important;
		flex-wrap: wrap;
		align-items: center;
		align-content: flex-start;
		justify-content: center;
		gap: 6px 8px;
		padding: 4px 10px 6px !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100%;
		overflow-x: visible;
		overflow-y: visible;
	}

		.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li:first-child > a.team-tab-link {
			padding-left: 8px !important;
		}

		.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li,
		.full-profile.team-profile.team-page-nav .nav > li {
			width: auto !important;
			flex-shrink: 0;
			min-width: max-content;
			max-width: none;
			height: auto !important;
			float: none !important;
			margin: 0 !important;
		}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link,
			.full-profile.team-profile.team-page-nav .nav > li > a.team-tab-link {
				width: auto !important;
				height: var(--team-nav-tab-min-h, 24px) !important;
				min-height: var(--team-nav-tab-min-h, 24px) !important;
				padding: 0 8px !important;
				display: inline-flex !important;
				align-items: center !important;
				justify-content: center !important;
			}

				.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link .tab-pic {
					display: block !important;
					width: 26px;
					height: 24px;
					margin-bottom: 1px;
				}

				.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link span {
					display: block !important;
					font-size: 13px;
					white-space: nowrap;
					overflow: visible;
					text-overflow: clip;
					max-width: none;
				}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link,
			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link:focus {
				height: var(--team-nav-tab-min-h, 24px) !important;
				min-height: var(--team-nav-tab-min-h, 24px) !important;
				padding: 0 8px !important;
				margin: 0 !important;
				transform: none;
				background: var(--team-primary-soft) !important;
				border: none !important;
				display: inline-flex !important;
				align-items: center !important;
				justify-content: center !important;
				box-shadow: none;
			}
}

/* Roster: season selector + prev/next ï¿½ block flow below hero/nav */

.teampageclassmiddle .teme-next-prev-table,
.teampageclassmiddle table.teme-next-prev-table {
	display: table;
	width: 100%;
	max-width: 100%;
	margin: 10px 0 14px !important;
	clear: both;
	float: none !important;
	box-sizing: border-box;
}

	.teampageclassmiddle .teme-next-prev-table[align="left"] {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.teampageclassmiddle .teme-next-prev-table td {
		width: auto !important;
		vertical-align: middle;
		padding: 4px 6px;
		white-space: nowrap;
	}

.teampageclassmiddle .team-select-sesson,
.teampageclassmiddle .bballmenu {
	padding: 0 !important;
}

.teampageclassmiddle .team-select-sesson-select,
.teampageclassmiddle select.hksahfkash,
.teampageclassmiddle .teme-next-prev-table select:not(.team-roster-season-select) {
	display: block;
	width: 100%;
	max-width: min(200px, 100%);
	min-width: 140px;
	margin: 0 auto;
	padding: 6px 8px;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 8px;
	font-size: 12px !important;
	font-family: Arial, Helvetica, sans-serif;
	background: #fff;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.teampageclassmiddle .teme-next-prev-table,
	.teampageclassmiddle table.teme-next-prev-table {
		display: block;
	}

		.teampageclassmiddle .teme-next-prev-table tr {
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			justify-content: center;
			/* gap: 8px; */
		}

		.teampageclassmiddle .teme-next-prev-table td {
			display: block;
			text-align: center;
			white-space: normal;
		}

	.teampageclassmiddle .team-select-sesson-select,
	.teampageclassmiddle select.hksahfkash {
		max-width: 100%;
		min-width: 0;
	}
}

/* Override coach.css orange active gradient (not team-tab-link) */
.full-profile.team-profile.team-page-nav .nav-tabs > li.active > a:not(.team-tab-link),
.full-profile.team-profile.team-page-nav .nav-tabs > li.active > a:not(.team-tab-link):focus,
.full-profile.team-profile.team-page-nav .nav-tabs > li > a:not(.team-tab-link):focus,
.full-profile.team-profile.team-page-nav .nav > li a:not(.team-tab-link):focus,
.full-profile.team-profile.team-page-nav .nav > li a.active:not(.team-tab-link) {
	background: transparent !important;
	background-image: none !important;
	filter: none !important;
	border: none !important;
	color: var(--team-text, #1a2332) !important;
}

.full-profile.team-profile.team-page-nav .nav > li {
	height: auto;
}

	.full-profile.team-profile.team-page-nav .nav > li a {
		height: auto;
		font-weight: 600;
	}

.full-profile.team-profile.team-page-nav a.team-tab-link {
	color: #fff !important;
}

/* Juniors dropdown inside nav */
.full-profile.team-profile.team-page-nav ul#teamtabs .dropdown > a {
	color: #fff !important;
}

@media only screen and (max-width: 600px) {
	.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs {
		justify-content: center;
		gap: 4px;
		column-gap: 4px;
		padding: 4px 6px 7px !important;
		scroll-padding-inline: 6px;
		margin: 0 !important;
	}

		.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li {
			min-width: max-content;
			max-width: none;
			flex: 0 0 auto;
			flex-shrink: 0;
		}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link {
				height: 22px;
				min-height: 22px;
				padding: 0 5px !important;
				display: inline-flex !important;
				align-items: center !important;
				justify-content: center !important;
			}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link,
			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link:focus {
				height: 22px;
				min-height: 22px;
				padding: 0 5px !important;
				display: inline-flex !important;
				align-items: center !important;
				justify-content: center !important;
				margin: 0 !important;
				transform: none;
				background: var(--team-primary-soft) !important;
				border: none !important;
				box-shadow: inset 0 0 0 1px var(--team-nav-active-border, rgba(200, 230, 255, 0.65));
				color: var(--team-nav-active-color, #ffff00) !important;
			}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li > a.team-tab-link span {
				font-size: 10px;
				font-weight: 500 !important;
				line-height: 1;
				color: #fff !important;
			}

			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link span,
			.full-profile.team-profile.team-page-nav ul#teamtabs.team-page-tabs > li.active > a.team-tab-link:focus span {
				color: var(--team-nav-active-color, #ffff00) !important;
			}
}

/* ===== Roster transfers: Arrived / Left cards ===== */
#divLeftJunior {
	display: block;
	width: 100%;
	max-width: 100%;
}

.team-roster-transfers-zone {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: flex-start;
	justify-content: flex-start;
	gap: 10px;
	margin: 16px 0 16px;
	width: 100%;
	max-width: 100%;
	container-type: inline-size;
	container-name: roster-transfers-zone;
}

.team-roster-transfers {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: stretch;
	align-content: flex-start;
	gap: 12px;
	min-width: 0;
	width: auto;
	max-width: none;
	flex: 0 1 auto;
}

.team-roster-transfers__card {
	flex: 0 1 auto;
	width: fit-content;
	min-width: 0;
	max-width: min(100%, 440px);
	background: #fff;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 12px;
	padding: 10px 12px 6px;
	box-shadow: 0 1px 4px rgba(26, 35, 50, 0.06);
	position: relative;
	overflow: visible;
	height: auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.team-roster-transfers__row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 10px 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
}

.team-roster-transfers__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 0 0 auto;
	flex-shrink: 0;
	gap: 6px;
	min-width: max-content;
}

.team-roster-transfers__headbar,
.team-roster-transfers__header {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	width: auto;
	min-width: max-content;
	margin: 0;
	padding: 2px 0 0;
	white-space: nowrap;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
}

.team-roster-transfers__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	flex: 0 0 auto;
}

.team-roster-transfers__badge--arrived {
	background: #2fa866;
	transform: scaleX(-1);
}

.team-roster-transfers__badge--left {
	background: #d94b4b;
}

.team-roster-transfers__title {
	display: block !important;
	flex: 0 0 auto;
	flex-shrink: 0;
	font-family: "Outfit", "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.07em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	color: #2fa866 !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	margin: 0 !important;
	padding: 0 !important;
}

.team-roster-transfers__title--left {
	color: #d94b4b !important;
}

.team-roster-transfers__list-wrap {
	flex: 1 1 auto;
	min-width: 0;
	width: fit-content;
	max-width: 100%;
	padding: 2px 0 0;
	position: relative;
	z-index: 1;
	background: transparent;
	align-self: flex-start;
}

.team-roster-transfers__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
	column-gap: 8px;
	row-gap: 5px;
	align-items: center;
	justify-items: start;
	justify-content: start;
	width: 100%;
	max-width: 100%;
	text-align: left;
}

.team-roster-transfers__item {
	display: contents;
	font-family: "Barlow Condensed", Inter, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.45;
	color: var(--team-text-body, #333333);
}

.team-roster-transfers__player {
	grid-column: 1;
	justify-self: start;
	display: block;
	min-width: 0;
	max-width: 100%;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

.team-roster-transfers__team {
	grid-column: 2;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	min-width: 0;
	max-width: 100%;
	text-align: left;
	white-space: normal;
	flex-wrap: wrap;
	overflow-wrap: anywhere;
	word-break: normal;
}

.team-roster-transfers__team-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 0;
}

.team-roster-transfers-zone .team-roster-transfers__player a,
.team-roster-transfers-zone .team-roster-transfers__player a.left_cls,
.team-roster-transfers__card--arrived .team-roster-transfers__player a,
.team-roster-transfers__card--left .team-roster-transfers__player a {
	font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	font-style: normal !important;
	text-transform: capitalize !important;
	letter-spacing: 0 !important;
	text-decoration: none;
}

.team-roster-transfers-zone .team-roster-transfers__team,
.team-roster-transfers-zone .team-roster-transfers__team a,
.team-roster-transfers-zone .team-roster-transfers__team a.left_cls,
.team-roster-transfers__card--arrived .team-roster-transfers__team a,
.team-roster-transfers__card--left .team-roster-transfers__team a {
	color: #4b5563 !important;
	font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	font-style: normal !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
}

.team-roster-transfers-zone .team-roster-transfers__item font,
.team-roster-transfers-zone .team-roster-transfers__item a font {
	font-family: inherit !important;
	font-size: inherit !important;
}

.team-roster-transfers-zone .team-roster-transfers__player a:hover,
.team-roster-transfers-zone .team-roster-transfers__player a.left_cls:hover,
.team-roster-transfers-zone .team-roster-transfers__team a:hover,
.team-roster-transfers-zone .team-roster-transfers__team a.left_cls:hover {
	text-decoration: underline;
}

.team-roster-transfers__flag {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	width: 16px;
	height: 11px;
	border: 0;
	flex: 0 0 auto;
}

.team-roster-transfers__more {
	margin: 8px 0 0;
	padding: 0;
	font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

.team-roster-transfers__more-link {
	font-weight: 600;
	text-decoration: none;
}

	.team-roster-transfers__more-link:hover {
		text-decoration: underline;
	}

.team-roster-transfers__art {
	display: flex;
	position: static;
	align-items: center;
	justify-content: flex-start;
	width: auto;
	max-width: 120px;
	height: auto;
	margin: 0;
	padding: 0;
	pointer-events: none;
	line-height: 0;
}

.team-roster-transfers__img,
.team-roster-transfers__svg {
	display: flex;
	width: auto;
	height: auto;
	max-width: 120px;
	max-height: 88px;
	object-fit: contain;
}

.team-roster-transfers-zone__summary {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	width: auto;
	align-self: stretch;
}

	.team-roster-transfers-zone__summary .team-roster-summary {
		margin: 0;
		width: max-content;
		max-width: 100%;
		height: 100%;
		min-height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 8px 12px;
		box-sizing: border-box;
		overflow: visible;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__body {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		width: auto;
		max-width: 100%;
		height: 100%;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__imports-row {
		margin-top: 6px;
		padding-top: 6px;
		gap: 0px 18px;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__stats {
		justify-content: center;
		flex-wrap: wrap;
		gap: 0 4px;
		width: auto;
		max-width: 100%;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__stat {
		padding: 2px 8px;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__value {
		font-size: 18px;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__label {
		font-size: 10px;
		margin-top: 2px;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__stat--imports .team-roster-summary__value {
		font-size: 18px;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__stat--nationalities .team-roster-summary__value {
		font-size: 18px;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__stat--nationalities .team-roster-summary__label {
		font-size: 10px;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__divider {
		height: 36px;
		align-self: center;
	}

/* Narrow center column (with ads): summary stays on the right of transfers */
.col-md-9.teampageclassmiddle .team-roster-transfers-zone,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone,
#divLeftJunior .team-roster-transfers-zone {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	width: 100%;
	max-width: 100%;
}

.col-md-9.teampageclassmiddle .team-roster-transfers,
.teampageclassmiddle.col-md-9 .team-roster-transfers,
#divLeftJunior .team-roster-transfers {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: auto;
	max-width: none;
	flex: 0 1 auto;
}

.col-md-9.teampageclassmiddle .team-roster-transfers__card,
.teampageclassmiddle.col-md-9 .team-roster-transfers__card {
	flex: 0 1 auto;
	width: fit-content;
	min-width: 0;
	max-width: min(100%, 420px);
}

.col-md-9.teampageclassmiddle .team-roster-transfers__row,
.teampageclassmiddle.col-md-9 .team-roster-transfers__row {
	flex-wrap: wrap;
}

.col-md-9.teampageclassmiddle .team-roster-transfers__intro,
.teampageclassmiddle.col-md-9 .team-roster-transfers__intro {
	min-width: max-content;
	flex-shrink: 0;
}

.col-md-9.teampageclassmiddle .team-roster-transfers-zone__summary,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone__summary,
#divLeftJunior .team-roster-transfers-zone__summary {
	flex: 0 1 auto;
	width: auto;
	min-width: 0;
	max-width: 100%;
}

/* Ad layout (narrow center column): summary beside cards as one vertical column */
.col-md-9.teampageclassmiddle .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__body,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__body,
#divLeftJunior .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__body {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	justify-content: start;
	gap: 0;
}

.col-md-9.teampageclassmiddle .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
#divLeftJunior .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
.col-md-9.teampageclassmiddle .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
#divLeftJunior .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__imports-row {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	width: 100%;
	max-width: 100%;
	justify-content: center;
	align-items: stretch;
}

.col-md-9.teampageclassmiddle .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
#divLeftJunior .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__imports-row {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.col-md-9.teampageclassmiddle .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__stat,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__stat,
#divLeftJunior .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__stat {
	width: 100%;
	padding: 5px 10px;
}

.col-md-9.teampageclassmiddle .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__divider,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__divider,
#divLeftJunior .team-roster-transfers-zone:not(.is-stacked) .team-roster-transfers-zone__summary .team-roster-summary__divider {
	display: none !important;
}

/* If summary is physically wrapped below ARRIVED/LEFT, force one-line layout (all widths) */
.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary {
		width: 100% !important;
		max-width: 100% !important;
	}

	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: center;
		align-items: center;
		gap: 14px;
	}

	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats,
	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		width: auto;
		max-width: none;
		flex: 0 0 auto;
		justify-content: flex-start;
	}

		.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__divider {
			display: inline-block;
		}

	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	/* Stacked summary: keep Height/Age divider visible */
	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__divider {
		display: none !important;
	}

	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__divider {
		display: inline-block !important;
		width: 1px;
		height: 34px;
		background: var(--team-border, #e3e7ec);
		margin: 0 4px;
	}

	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat + .team-roster-summary__stat,
	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row .team-roster-summary__stat + .team-roster-summary__stat {
		border-left: 1px solid var(--team-border, #e3e7ec);
		padding-left: 14px;
		margin-left: 2px;
	}

	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row .team-roster-summary__stat:first-child {
		border-left: 1px solid var(--team-border, #e3e7ec);
		padding-left: 14px;
		margin-left: 2px;
	}

@media only screen and (max-width: 1100px) {
	.team-roster-transfers-zone__summary {
		flex: 0 1 auto;
		max-width: 100%;
	}

		.team-roster-transfers-zone__summary .team-roster-summary {
			width: max-content;
			max-width: 100%;
		}

		.team-roster-transfers-zone__summary .team-roster-summary__body,
		.team-roster-transfers-zone__summary .team-roster-summary__stats {
			width: auto;
			justify-content: center;
		}
}

@media only screen and (max-width: 730px) {
	.team-roster-transfers-zone {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.team-roster-transfers {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		width: 100%;
		max-width: 100%;
	}

	.team-roster-transfers__card {
		flex: 0 1 auto;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		padding: 10px 12px;
	}

	.team-roster-transfers__row {
		width: 100%;
		flex-wrap: wrap;
	}

	.team-roster-transfers__intro {
		flex: 0 0 auto;
	}

	.team-roster-transfers__list-wrap {
		flex: 1 1 100%;
	}

	.team-roster-transfers__list {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 8px;
		width: 100%;
	}

	.team-roster-transfers-zone__summary {
		flex: 1 1 100%;
		max-width: 100%;
		min-width: 0;
		align-self: auto;
	}

		.team-roster-transfers-zone__summary .team-roster-summary {
			height: auto;
			min-height: 0;
		}

	/* Keep one-row only for stacked mode on narrow viewports */
	.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
	}

	.team-roster-transfers-zone__summary .team-roster-summary__stats {
		flex-wrap: wrap;
		justify-content: center;
	}

	.team-roster-transfers__art {
		display: none;
		max-width: 96px;
	}

	.team-roster-transfers__img,
	.team-roster-transfers__svg {
		max-width: 96px;
		max-height: 72px;
	}
}

/* Final priority: apply compact transfers layout only on very narrow screens */
@media only screen and (max-width: 625px) {
	.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone .team-roster-transfers,
	#divLeftJunior .team-roster-transfers-zone .team-roster-transfers {
		display: flex !important;
		flex-direction: row;
		flex-wrap: wrap;
		width: auto !important;
		max-width: 100% !important;
		gap: 10px !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers__card,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers__card,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone .team-roster-transfers__card,
	#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__card {
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 auto !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers__card--arrived,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers__card--arrived,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone .team-roster-transfers__card--arrived,
	#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__card--arrived {
		order: 1 !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers__card--left,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers__card--left,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone .team-roster-transfers__card--left,
	#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__card--left {
		order: 2 !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers-zone__summary,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone .team-roster-transfers-zone__summary,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone .team-roster-transfers-zone__summary,
	#divLeftJunior .team-roster-transfers-zone .team-roster-transfers-zone__summary {
		order: 3 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* ===== Roster summary bar ===== */
.team-roster-summary {
	background: #fff;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 10px;
	padding: 12px 16px;
	margin: 0 0 16px;
	color: #4b5563;
	font-family: "Outfit", "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif;
	position: relative;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(26, 35, 50, 0.06);
}

.team-roster-summary__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
}

.team-roster-summary__stats {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 0;
	width: 100%;
}

.team-roster-summary__stats--main {
	flex: 0 0 auto;
}

.team-roster-summary__imports-row {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px 24px;
	width: 100%;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--team-border, #e3e7ec);
}

.team-roster-summary__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4px 12px;
	min-width: 0;
	flex: 0 0 auto;
}

.team-roster-summary__value {
	font-family: "Teko", "Plus Jakarta Sans", Inter, Arial, sans-serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
	color: #4b5563;
}

.team-roster-summary__label {
	font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4b5563;
	opacity: 1;
	white-space: nowrap;
	margin-top: 2px;
}

.team-roster-summary__stat--imports,
.team-roster-summary__stat--nationalities {
	min-width: 0;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 2px 8px;
}

	.team-roster-summary__stat--imports .team-roster-summary__value {
		font-size: 21px;
		margin-top: 0;
	}

	.team-roster-summary__stat--imports .team-roster-summary__label {
		font-size: 10px;
		font-weight: 400;
		color: #4b5563;
		opacity: 1;
		margin-top: 2px;
	}

	.team-roster-summary__stat--nationalities .team-roster-summary__value {
		font-size: 21px;
		margin-top: 0;
	}

	.team-roster-summary__stat--nationalities .team-roster-summary__label {
		font-size: 10px;
		font-weight: 400;
		color: #4b5563;
		opacity: 1;
		margin-top: 2px;
	}

.team-roster-transfers-zone__summary .team-roster-summary__stat {
	padding: 4px 10px;
	flex: 0 0 auto;
}

.team-roster-summary__divider {
	display: inline-block;
	width: 1px;
	height: 40px;
	background: var(--team-border, #e3e7ec);
	flex: 0 0 auto;
	align-self: center;
}

.team-roster-transfers-zone__summary .team-roster-summary,
.team-roster-transfers-zone__summary .team-roster-summary__value,
.team-roster-transfers-zone__summary .team-roster-summary__label,
.team-roster-transfers-zone__summary .team-roster-summary__imports-line {
	color: #4b5563;
}

.team-roster-transfers-zone__summary .team-roster-summary__note {
	color: #6b7280;
}

@media only screen and (max-width: 900px) {
	.team-roster-summary {
		padding: 14px 12px;
	}

	.team-roster-summary__stat {
		padding: 8px 12px;
		flex: 1 1 42%;
		align-items: center;
		text-align: center;
	}

	.team-roster-summary__value {
		font-size: 20px;
	}

	.team-roster-summary__divider {
		display: none;
	}

	/* Keep visual split between HEIGHT and AGE in the main row */
	.team-roster-summary__stats--main .team-roster-summary__divider {
		display: inline-block;
		height: 34px;
	}

	.team-roster-summary__stats {
		row-gap: 6px;
		flex-wrap: wrap;
	}

	.team-roster-summary__imports-row {
		justify-content: center;
		gap: 16px 20px;
	}
}

/* ===== Team Games / Schedule table (redesign) ===== */
/*table.authorstable.gameschedule_full_tbl.team-games-table,
.team-games-table {
	width: 100% !important;
	max-width: 100%;
	margin: 0 auto 20px;
	border-collapse: collapse;
	border-spacing: 0;
	background: #fff;
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, Helvetica, sans-serif);
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 0 !important;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
}

	.team-games-table td.authorstitle,
	.team-games-table td.gameschedule_full_tbl_team,
	.team-games-table td.team-games-table__title,
	.team-games-table thead tr:first-child td {
		background: var(--team-gradient) !important;
		color: #fff !important;
		border: none !important;
		font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em;
		padding: 12px 14px !important;
		text-align: center !important;
	}



	.team-games-table thead + tbody > tr:nth-child(odd),
	.team-games-table tbody > tr.team-games-table__row:nth-child(odd) {
		background-color: #ffffff !important;
	}

	.team-games-table thead + tbody > tr:nth-child(even),
	.team-games-table tbody > tr.team-games-table__row:nth-child(even) {
		background-color: var(--team-surface-alt, #ebf3fb) !important;
	}*/

/* Archived tables: title + header rows in tbody */
/*.team-games-table:not(:has(thead)) tbody > tr:first-child td {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		padding: 12px 14px !important;
		border: none !important;
		text-align: center !important;
	}

	.team-games-table:not(:has(thead)) tbody > tr:nth-child(2) td {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-size: 11px !important;
		font-weight: 700 !important;
		text-transform: uppercase;
		border: none !important;
	}

	.team-games-table:not(:has(thead)) tbody > tr:nth-child(n+3):nth-child(odd) {
		background-color: #ffffff !important;
	}

	.team-games-table:not(:has(thead)) tbody > tr:nth-child(n+3):nth-child(even) {
		background-color: var(--team-surface-alt, #ebf3fb) !important;
	}

	.team-games-table thead + tbody > tr:hover,
	.team-games-table:not(:has(thead)) tbody > tr:nth-child(n+3):hover,
	.team-games-table tbody tr.team-games-table__row:hover {
		background: var(--team-gradient-soft) !important;
	}

	.team-games-table tbody td {
		font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, Helvetica, sans-serif) !important;
		font-size: 13px !important;
		line-height: 1.45 !important;
		color: var(--team-text-body, #333333) !important;
		padding: 10px 10px !important;
		border: none !important;
		border-bottom: 1px solid #eeeeee !important;
		vertical-align: middle;
	}

	.team-games-table tbody tr:last-child td {
		border-bottom: none !important;
	}

	.team-games-table .team-games-col-date {
		white-space: nowrap;
	}

	.team-games-table .team-games-col-result {
		text-align: center;
		white-space: nowrap;
	}

		.team-games-table .team-games-col-result a {
			color: var(--team-primary, #1f6aaf) !important;
			font-weight: 600;
			text-decoration: none;
		}

			.team-games-table .team-games-col-result a:hover {
				text-decoration: underline;
			}

	.team-games-table .team-games-col-opponent a,
	.team-games-table tbody td a {
		color: var(--team-primary, #1f6aaf) !important;
		font-weight: 600;
		text-decoration: none;
	}

		.team-games-table .team-games-col-opponent a:hover,
		.team-games-table tbody td a:hover {
			text-decoration: underline;
		}

	.team-games-table img {
		vertical-align: middle;
	}

@media only screen and (max-width: 700px) {
	.team-games-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

		.team-games-table thead th,
		.team-games-table tbody td {
			padding: 8px 6px !important;
			font-size: 12px !important;
		}
}*/

/* ===== Team roster table (redesign) ===== */
#trRoster.team-roster-table,
table.team-roster-table#trRoster {
	display: table !important;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	margin: 0 auto 24px;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: auto;
	background: #fff;
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, Helvetica, sans-serif);
}

	#trRoster.team-roster-table thead,
	#trRoster.team-roster-table tbody {
		display: table-row-group !important;
	}

	#trRoster.team-roster-table tr {
		display: table-row !important;
	}

	#trRoster.team-roster-table th,
	#trRoster.team-roster-table td {
		display: table-cell !important;
		box-sizing: border-box;
	}

	#trRoster.team-roster-table thead tr {
		background: var(--team-gradient) !important;
		border-bottom: none !important;
	}

	#trRoster.team-roster-table thead th {
		background: var(--team-gradient, linear-gradient(180deg, #2b7db8 0%, #1a5a9e 42%, #0d3d6e 100%)) !important;
		background-color: var(--team-primary-dark, #1a5a9e) !important;
		color: #fff !important;
		font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif !important;
		font-size: 11px !important;
		font-weight: 700 !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		padding: 9px 7px !important;
		border: none !important;
		vertical-align: middle;
		white-space: nowrap;
		line-height: 1.2;
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
		box-sizing: border-box;
	}

		#trRoster.team-roster-table thead th.roster-sortable {
			cursor: pointer;
			user-select: none;
			padding-right: 20px !important;
			position: relative;
		}

			#trRoster.team-roster-table thead th.roster-sortable::after {
				content: "";
				position: absolute;
				top: 50%;
				width: 0;
				height: 0;
				margin-top: -2px;
				border-left: 4px solid transparent;
				border-right: 4px solid transparent;
				border-top: 5px solid rgba(255, 255, 255, 0.45);
				border-bottom: 0;
				opacity: 0.7;
			}

		#trRoster.team-roster-table thead th.roster-sortable--asc::after {
			border-top: 0;
			border-bottom: 5px solid #fff;
			opacity: 1;
		}

		#trRoster.team-roster-table thead th.roster-sortable--desc::after {
			border-top: 5px solid #fff;
			border-bottom: 0;
			opacity: 1;
		}

		#trRoster.team-roster-table thead th b,
		#trRoster.team-roster-table thead th font {
			color: #fff !important;
			font-weight: 700 !important;
			font-size: 11px !important;
			font-family: inherit !important;
		}

	#trRoster.team-roster-table tbody tr {
		line-height: 24px;
		border-bottom: 1px solid #eeeeee;
	}

		#trRoster.team-roster-table tbody tr:nth-child(odd) {
			background-color: #ffffff !important;
		}

		#trRoster.team-roster-table tbody tr:nth-child(even) {
			background-color: var(--team-surface-alt, #ebf3fb) !important;
		}

		#trRoster.team-roster-table tbody tr:hover {
			background: var(--team-gradient-soft) !important;
		}

	#trRoster.team-roster-table tbody td {
		font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif !important;
		font-size: 11px !important;
		color: var(--team-text-body, #333333) !important;
		padding: 6px 7px !important;
		border: none !important;
		border-left: none !important;
		border-right: none !important;
		vertical-align: middle;
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

		#trRoster.team-roster-table tbody td font {
			font-family: inherit !important;
			font-size: inherit !important;
			color: inherit !important;
		}

	#trRoster.team-roster-table .tduninumber,
	#trRoster.team-roster-table .roster-col-num,
	#trRoster.team-roster-table th.roster-col-num {
		text-align: center;
		width: 3%;
		min-width: 0;
		max-width: 40px;
		white-space: nowrap !important;
		word-break: keep-all;
		overflow-wrap: normal;
	}

	#trRoster.team-roster-table .roster-col-name,
	#trRoster.team-roster-table tbody td:nth-child(3) {
		text-align: center;
		width: 15%;
		min-width: 0;
		max-width: none;
		word-break: normal;
		overflow-wrap: break-word;
	}

/* Roster name col: override legacy .d1Fav/.d2Fav (display:none, position:absolute) */
.ArRosterroster-table .ArRostername .d1Fav,
.ArRosterroster-table .ArRostername .d1Fav.roster-fav-slot {
	display: inline-block !important;
	box-sizing: border-box;
	width: 0 !important;
	height: 18px;
	margin-bottom: 7px;
	margin-left: 4px;
	vertical-align: middle;
	white-space: nowrap;
	line-height: 1;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	overflow: visible !important;
}

	.ArRosterroster-table .ArRosterplayer:hover .ArRostername .d1Fav,
	.ArRosterroster-table .ArRostername .d1Fav.roster-fav-slot.is-visible {
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

.ArRosterroster-table .ArRostername .d2Fav {
	position: static !important;
	top: auto !important;
	left: auto !important;
	float: none !important;
	display: inline-flex !important;
	align-items: center !important;
	width: auto !important;
}

	.ArRosterroster-table .ArRostername .d2Fav img {
		display: inline-block;
		vertical-align: middle;
		width: 18px;
		height: 18px;
		border: 0;
	}

#trRoster.team-roster-table td.roster-col-name .d2Fav img {
	display: inline-block;
	vertical-align: middle;
	width: 18px;
	height: 18px;
	border: 0;
}

#trRoster.team-roster-table .roster-col-name a.roster-player-link,
#trRoster.team-roster-table tbody td.roster-col-name a {
	color: var(--team-primary, #1f6aaf) !important;
	font-weight: 700;
	font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
	font-size: inherit !important;
	text-decoration: none;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

	#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
	#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter {
		font-family: var(--team-font-ui, OSB, "Arial Narrow", Arial, sans-serif) !important;
		font-weight: 700 !important;
		font-size: 0.9em !important;
		color: var(--team-primary-darker, #0a3560) !important;
	}

	#trRoster.team-roster-table .roster-col-name a:hover,
	#trRoster.team-roster-table tbody td.roster-col-name a:hover {
		text-decoration: underline;
	}

#trRoster.team-roster-table .roster-col-height,
#trRoster.team-roster-table .tdhightcls,
#trRoster.team-roster-table .roster-col-age,
#trRoster.team-roster-table .tdrsimg,
#trRoster.team-roster-table .usefrom,
#trRoster.team-roster-table .roster-col-from,
#trRoster.team-roster-table #UseTo,
#trRoster.team-roster-table .roster-col-to {
	text-align: center;
	white-space: nowrap;
	word-break: keep-all;
	overflow-wrap: break-word;
}

#trRoster.team-roster-table .roster-col-pos,
#trRoster.team-roster-table th.roster-col-pos {
	text-align: center;
	white-space: nowrap !important;
	width: 1.8%;
	min-width: 0;
	max-width: 1.8em;
	word-break: keep-all;
	overflow-wrap: normal;
	padding-left: 4px !important;
	padding-right: 4px !important;
	font-size: 11px !important;
	line-height: 1.2;
}

#trRoster.team-roster-table .roster-col-height,
#trRoster.team-roster-table .tdhightcls {
	width: 12%;
	min-width: 0;
	white-space: nowrap;
	line-height: 1.2;
}

#trRoster.team-roster-table .roster-col-age {
	width: 9%;
	min-width: 0;
}

#trRoster.team-roster-table .roster-col-nat,
#trRoster.team-roster-table .tdrsimg {
	width: 4%;
	min-width: 0;
}

#trRoster.team-roster-table .roster-col-from,
#trRoster.team-roster-table .usefrom {
	width: 9%;
	min-width: 0;
}

#trRoster.team-roster-table .roster-col-to,
#trRoster.team-roster-table #UseTo {
	width: 7%;
	min-width: 0;
}

#trRoster.team-roster-table td.roster-col-pos,
#trRoster.team-roster-table td.roster-col-age,
#trRoster.team-roster-table td.roster-col-from,
#trRoster.team-roster-table td.usefrom,
#trRoster.team-roster-table td.roster-col-to,
#trRoster.team-roster-table td#UseTo {
	font-size: 12px !important;
	line-height: 1.1 !important;
}

#trRoster.team-roster-table .roster-col-former,
#trRoster.team-roster-table .formerteamcls {
	width: 14%;
	min-width: 108px;
}

#trRoster.team-roster-table .roster-col-agent,
#trRoster.team-roster-table .agentCol {
	width: 20%;
	min-width: 84px;
}

#trRoster.team-roster-table .roster-col-pos .roster-pos-text {
	display: inline-block;
	line-height: 1.2;
}

#trRoster.team-roster-table .roster-height-text {
	font-size: 13px;
	color: var(--team-text-body, #333333);
}

#trRoster.team-roster-table .roster-height-primary {
	font-size: 12px;
	font-weight: 600;
}

#trRoster.team-roster-table .roster-height-alt {
	font-size: 10px;
	font-weight: 500;
	opacity: 0.85;
}

#trRoster.team-roster-table .tdrsimg,
#trRoster.team-roster-table .roster-col-nat {
	vertical-align: middle !important;
}

	#trRoster.team-roster-table .tdrsimg .dvrsimg {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 0;
		max-height: 14px;
		vertical-align: middle;
		line-height: 1;
		margin-bottom: 2px;
	}

	#trRoster.team-roster-table .tdrsimg font,
	#trRoster.team-roster-table .roster-col-nat font {
		display: inline-flex;
		align-items: center;
		vertical-align: middle;
		line-height: 1;
	}

	#trRoster.team-roster-table .tdrsimg img,
	#trRoster.team-roster-table .roster-col-nat img,
	#trRoster.team-roster-table .roster-nat-flag,
	#trRoster.team-roster-table .formerteamimg {
		width: 16px !important;
		height: 11px !important;
		max-width: 16px !important;
		max-height: 11px !important;
		border: none !important;
		vertical-align: middle !important;
		position: static !important;
		top: auto !important;
		margin: 0 !important;
		display: inline-block;
		object-fit: cover;
		margin-right: 1px !important;
	}

#trRoster.team-roster-table .roster-nat-flag--combo {
	width: auto !important;
	height: 10px !important;
	max-width: 26px !important;
	max-height: 10px !important;
	border: 0.5px solid #c5c5c5 !important;
	box-sizing: content-box;
	object-fit: contain;
}

#trRoster.team-roster-table .formerteamcls,
#trRoster.team-roster-table .roster-col-former {
	text-align: left;
	vertical-align: middle !important;
}

	#trRoster.team-roster-table .formerteamcls > font,
	#trRoster.team-roster-table .roster-col-former > font,
	#trRoster.team-roster-table .formerteamcls .roster-former-inner,
	#trRoster.team-roster-table .roster-col-former .roster-former-inner {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: flex-start;
		flex-wrap: nowrap;
		max-width: 100%;
		line-height: 1 !important;
		vertical-align: middle;
		padding: 0;
		margin: 0;
	}

		#trRoster.team-roster-table .formerteamcls .roster-former-inner a,
		#trRoster.team-roster-table .roster-col-former .roster-former-inner a,
		#trRoster.team-roster-table .formerteamcls > font > a,
		#trRoster.team-roster-table .roster-col-former > font > a,
		#trRoster.team-roster-table .formerteamcls a,
		#trRoster.team-roster-table .roster-col-former a {
			display: inline-flex !important;
			align-items: center !important;
			align-self: center;
			line-height: 1 !important;
			margin: 0 !important;
			padding: 0;
			vertical-align: middle;
		}

#trRoster.team-roster-table .formerteamimg {
	flex: 0 0 auto;
	align-self: center;
	margin: 0 !important;
	width: 16px !important;
	height: 11px !important;
	max-width: 16px !important;
	max-height: 11px !important;
	vertical-align: middle !important;
	position: static !important;
	top: auto !important;
	display: inline-block !important;
	object-fit: cover;
}

#trRoster.team-roster-table .formerteamcls img.formerteamimg + a,
#trRoster.team-roster-table .roster-col-former img.formerteamimg + a,
#trRoster.team-roster-table .formerteamcls .roster-former-inner img.formerteamimg + a,
#trRoster.team-roster-table .roster-col-former .roster-former-inner img.formerteamimg + a {
	margin-left: 0 !important;
	margin-top: 1px !important;
}

#trRoster.team-roster-table .formerteamcls a + img.formerteamimg,
#trRoster.team-roster-table .roster-col-former a + img.formerteamimg {
	margin-left: 1px !important;
}

#trRoster.team-roster-table .formerteamcls a,
#trRoster.team-roster-table .roster-col-former a {
	color: var(--team-primary, #1f6aaf) !important;
	text-decoration: none;
}

#trRoster.team-roster-table .formerteamcls > font,
#trRoster.team-roster-table .roster-col-former > font {
	font-size: inherit;
}

#trRoster.team-roster-table .formerteamcls a:hover,
#trRoster.team-roster-table .roster-col-former a:hover {
	text-decoration: underline;
}

#trRoster.team-roster-table .agentCol a.roster-agent-link,
#trRoster.team-roster-table .agentCol a[href*="hoopsagents"] {
	display: inline;
	color: var(--team-primary, #1f6aaf) !important;
	font-weight: 600;
	text-decoration: none;
}

	#trRoster.team-roster-table .agentCol a.roster-agent-link::after,
	#trRoster.team-roster-table .agentCol a[href*="hoopsagents"]::after {
		content: none !important;
		display: none !important;
	}

#trRoster.team-roster-table .agentCol a.roster-agent-edit {
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	vertical-align: middle;
	text-decoration: none;
}

	#trRoster.team-roster-table .agentCol a.roster-agent-edit img {
		display: block;
		width: 14px;
		height: 14px;
		vertical-align: middle;
	}

#trRoster.team-roster-table a.roster-add-link {
	color: var(--team-primary, #1f6aaf) !important;
	font-weight: 600;
	text-decoration: none;
}

	#trRoster.team-roster-table a.roster-add-link:hover {
		text-decoration: underline;
	}

#trRoster.team-roster-table tbody tr b {
	font-weight: 700;
}

/* Roster table: fit container width, no horizontal scroll */
.team-roster-table-scroll {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	margin: 0 auto 24px;
	clear: both;
	container-type: inline-size;
	container-name: roster-table-wrap;
}

.teampageclassmiddle #trRoster_wrapper {
	overflow-x: auto !important;
	overflow-y: hidden !important;
	max-width: 100%;
	min-width: 0;
}

.team-roster-table-scroll #trRoster.team-roster-table,
.team-roster-table-scroll table.team-roster-table#trRoster {
	margin-bottom: 0;
	width: 100% !important;
	min-width: 0;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	table-layout: auto;
	border-collapse: collapse;
}

	.team-roster-table-scroll #trRoster.team-roster-table.trRoster_cls,
	.team-roster-table-scroll #trRoster.team-roster-table.trRoster_cls.logoutcls {
		width: 100% !important;
		margin-left: 0;
		margin-right: 0;
	}

	.team-roster-table-scroll #trRoster.team-roster-table thead tr {
		background: var(--team-gradient) !important;
		border-bottom: none !important;
	}

	.team-roster-table-scroll #trRoster.team-roster-table thead th,
	.team-roster-table-scroll #trRoster.team-roster-table thead th b,
	.team-roster-table-scroll #trRoster.team-roster-table thead th font {
		color: #fff !important;
		font-size: 11px !important;
		font-weight: 700 !important;
		padding: 6px 2px !important;
		white-space: nowrap;
		line-height: 1.2;
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

		.team-roster-table-scroll #trRoster.team-roster-table thead th.roster-sortable {
			padding-right: 11px !important;
		}

	.team-roster-table-scroll #trRoster.team-roster-table tbody td,
	.team-roster-table-scroll #trRoster.team-roster-table tbody td font {
		font-size: 11px !important;
		padding: 1px 0px 1px 3px !important;
		line-height: 18px !important;
	}

@container roster-table-wrap (max-width: 820px) {
	#trRoster.team-roster-table thead th,
	#trRoster.team-roster-table thead th b,
	#trRoster.team-roster-table thead th font {
		font-size: 10px !important;
		padding: 7px 4px !important;
	}

	#trRoster.team-roster-table tbody td,
	#trRoster.team-roster-table tbody td font,
	#trRoster.team-roster-table .roster-col-name a.roster-player-link,
	#trRoster.team-roster-table tbody td.roster-col-name a,
	#trRoster.team-roster-table .agentCol a.roster-agent-link,
	#trRoster.team-roster-table .agentCol a[href*="hoopsagents"] {
		font-size: 10px !important;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		line-height: 16px !important;
	}

	#trRoster.team-roster-table .roster-col-num,
	#trRoster.team-roster-table .tduninumber {
		width: 2.5%;
		max-width: 32px;
	}

	#trRoster.team-roster-table .roster-col-pos,
	#trRoster.team-roster-table th.roster-col-pos {
		width: 6%;
		max-width: 2em;
		font-size: 9px !important;
	}

	#trRoster.team-roster-table .roster-col-height,
	#trRoster.team-roster-table .tdhightcls {
		width: 6%;
	}

	#trRoster.team-roster-table .roster-col-age {
		width: 5.9%;
	}

	#trRoster.team-roster-table .roster-col-nat,
	#trRoster.team-roster-table .tdrsimg {
		width: 10%;
	}

	#trRoster.team-roster-table .roster-col-agent,
	#trRoster.team-roster-table .agentCol {
		width: 14%;
		min-width: 70px;
	}

	#trRoster.team-roster-table .roster-col-from,
	#trRoster.team-roster-table .usefrom,
	#trRoster.team-roster-table .roster-col-to,
	#trRoster.team-roster-table #UseTo {
		width: 6.3%;
	}
	/* Keep all roster names same size while shrinking */
	#trRoster.team-roster-table .roster-col-name a.roster-player-link,
	#trRoster.team-roster-table tbody td.roster-col-name a {
		font-size: 9.5px !important;
		white-space: nowrap;
	}

		#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
		#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter {
			font-size: 8.8px !important;
			white-space: nowrap;
		}
	/* Keep Height in one line on medium narrow widths */
	#trRoster.team-roster-table .roster-height-text {
		display: inline;
		white-space: nowrap;
		line-height: 1.1;
	}

	#trRoster.team-roster-table .roster-height-primary {
		font-size: 10px;
		line-height: 1.1;
	}

	#trRoster.team-roster-table .roster-height-alt {
		display: inline;
		margin-top: 0;
		font-size: 7px;
		line-height: 1.1;
	}

	#trRoster.team-roster-table td.roster-col-pos,
	#trRoster.team-roster-table td.roster-col-age,
	#trRoster.team-roster-table td.roster-col-from,
	#trRoster.team-roster-table td.usefrom,
	#trRoster.team-roster-table td.roster-col-to,
	#trRoster.team-roster-table td#UseTo {
		font-size: 10px !important;
		line-height: 1.05 !important;
	}
}

@container roster-table-wrap (max-width: 680px) {
	#trRoster.team-roster-table thead th,
	#trRoster.team-roster-table thead th b,
	#trRoster.team-roster-table thead th font {
		font-size: 8.5px !important;
		padding: 6px 3px !important;
	}

	#trRoster.team-roster-table tbody td,
	#trRoster.team-roster-table tbody td font,
	#trRoster.team-roster-table .roster-col-name a.roster-player-link,
	#trRoster.team-roster-table tbody td.roster-col-name a,
	#trRoster.team-roster-table .agentCol a.roster-agent-link,
	#trRoster.team-roster-table .agentCol a[href*="hoopsagents"] {
		font-size: 8.5px !important;
		padding-top: 0px !important;
		padding-bottom: 0px !important;
		line-height: 18px !important;
	}

		#trRoster.team-roster-table .roster-col-name a.roster-player-link,
		#trRoster.team-roster-table tbody td.roster-col-name a {
			font-size: 8.5px !important;
			white-space: nowrap;
		}

			#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
			#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter {
				font-size: 8px !important;
				white-space: nowrap;
			}

	#trRoster.team-roster-table .roster-col-num,
	#trRoster.team-roster-table .tduninumber {
		max-width: 28px;
	}

	#trRoster.team-roster-table .roster-col-pos,
	#trRoster.team-roster-table th.roster-col-pos {
		width: 10.6%;
		max-width: 1.4em;
	}

	#trRoster.team-roster-table .roster-col-height,
	#trRoster.team-roster-table .tdhightcls {
		width: 4.7%;
	}

	#trRoster.team-roster-table .roster-col-age {
		width: 1.2%;
	}

	#trRoster.team-roster-table .roster-col-nat,
	#trRoster.team-roster-table .tdrsimg {
		width: 1.5%;
	}

	#trRoster.team-roster-table .roster-col-agent,
	#trRoster.team-roster-table .agentCol {
		width: 12%;
		min-width: 58px;
	}

	#trRoster.team-roster-table .roster-col-from,
	#trRoster.team-roster-table .usefrom,
	#trRoster.team-roster-table .roster-col-to,
	#trRoster.team-roster-table #UseTo {
		width: 2.7%;
	}

	#trRoster.team-roster-table .roster-height-primary {
		font-size: 9.2px;
	}

	#trRoster.team-roster-table .roster-height-alt {
		font-size: 7px;
	}

	#trRoster.team-roster-table td.roster-col-pos,
	#trRoster.team-roster-table td.roster-col-age,
	#trRoster.team-roster-table td.roster-col-from,
	#trRoster.team-roster-table td.usefrom,
	#trRoster.team-roster-table td.roster-col-to,
	#trRoster.team-roster-table td#UseTo {
		font-size: 8px !important;
		line-height: 1.05 !important;
	}
}

@container roster-table-wrap (max-width: 560px) {
	/* If shrinking further is impractical, allow wrapping names */
	#trRoster.team-roster-table .roster-col-name a.roster-player-link,
	#trRoster.team-roster-table tbody td.roster-col-name a,
	#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
	#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter {
		font-size: 8.3px !important;
		white-space: normal !important;
		line-height: 1.15 !important;
	}

	#trRoster.team-roster-table .roster-col-name {
		width: 31%;
	}

	#trRoster.team-roster-table thead th,
	#trRoster.team-roster-table thead th b,
	#trRoster.team-roster-table thead th font {
		font-size: 8px !important;
		padding: 5px 2px !important;
	}

	#trRoster.team-roster-table tbody td,
	#trRoster.team-roster-table tbody td font {
		font-size: 8.5px !important;
		line-height: 17px !important;
		padding: 4px 1px !important;
	}

	#trRoster.team-roster-table .roster-col-pos,
	#trRoster.team-roster-table th.roster-col-pos {
		width: 6.5%;
		max-width: none;
		font-size: 8px !important;
	}

	#trRoster.team-roster-table .roster-col-height,
	#trRoster.team-roster-table .tdhightcls {
		width: 12.5%;
	}

	#trRoster.team-roster-table .roster-col-age {
		width: 8%;
	}

	#trRoster.team-roster-table .roster-col-from,
	#trRoster.team-roster-table .usefrom,
	#trRoster.team-roster-table .roster-col-to,
	#trRoster.team-roster-table #UseTo {
		width: 1.9%;
	}

	#trRoster.team-roster-table .roster-col-nat,
	#trRoster.team-roster-table .tdrsimg {
		width: 7%;
	}

	#trRoster.team-roster-table .roster-height-primary {
		font-size: 8.8px;
	}

	#trRoster.team-roster-table .roster-height-alt {
		display: inline;
		margin-top: 0;
		font-size: 6.8px;
	}

	#trRoster.team-roster-table td.roster-col-pos,
	#trRoster.team-roster-table td.roster-col-age,
	#trRoster.team-roster-table td.roster-col-from,
	#trRoster.team-roster-table td.usefrom,
	#trRoster.team-roster-table td.roster-col-to,
	#trRoster.team-roster-table td#UseTo {
		font-size: 8px !important;
		line-height: 1.05 !important;
	}

	#trRoster.team-roster-table .roster-col-agent,
	#trRoster.team-roster-table .agentCol {
		width: 20%;
		min-width: 44px;
	}

		#trRoster.team-roster-table .agentCol a.roster-agent-link,
		#trRoster.team-roster-table .agentCol a[href*="hoopsagents"],
		#trRoster.team-roster-table .agentCol .roster-add-link {
			font-size: 7.3px !important;
			line-height: 1.05 !important;
			white-space: normal !important;
			overflow-wrap: anywhere;
			word-break: normal;
		}
	/* Tighten gaps without collapsing stat columns */
	#trRoster.team-roster-table th.roster-col-pos,
	#trRoster.team-roster-table td.roster-col-pos,
	#trRoster.team-roster-table th.roster-col-height,
	#trRoster.team-roster-table td.roster-col-height,
	#trRoster.team-roster-table th.roster-col-age,
	#trRoster.team-roster-table td.roster-col-age,
	#trRoster.team-roster-table th.roster-col-nat,
	#trRoster.team-roster-table td.roster-col-nat,
	#trRoster.team-roster-table td.tdrsimg {
		padding-left: 1px !important;
		padding-right: 1px !important;
	}

	#trRoster.team-roster-table th.roster-col-pos,
	#trRoster.team-roster-table td.roster-col-pos {
		width: 6%;
	}

	#trRoster.team-roster-table th.roster-col-height,
	#trRoster.team-roster-table td.roster-col-height,
	#trRoster.team-roster-table td.tdhightcls {
		width: 12%;
	}

	#trRoster.team-roster-table th.roster-col-age,
	#trRoster.team-roster-table td.roster-col-age {
		width: 7.5%;
	}

	#trRoster.team-roster-table th.roster-col-nat,
	#trRoster.team-roster-table td.roster-col-nat,
	#trRoster.team-roster-table td.tdrsimg {
		width: 7%;
	}
}

@container (max-width: 300px) {
	/* Height compact mode only on very strong narrowing */
	#trRoster.team-roster-table .roster-height-text {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		line-height: 1.05;
	}

	#trRoster.team-roster-table .roster-height-primary {
		line-height: 1.05;
	}

	#trRoster.team-roster-table .roster-height-alt {
		display: block;
		margin-top: 1px;
		line-height: 1.05;
	}

	#trRoster.team-roster-table .roster-col-name a.roster-player-link,
	#trRoster.team-roster-table tbody td.roster-col-name a,
	#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
	#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter {
		font-size: 7.8px !important;
		line-height: 1.12 !important;
	}

	#trRoster.team-roster-table .roster-col-name {
		width: 29%;
	}

	#trRoster.team-roster-table .roster-col-agent,
	#trRoster.team-roster-table .agentCol {
		width: 22%;
		min-width: 36px;
	}

		#trRoster.team-roster-table .agentCol a.roster-agent-link,
		#trRoster.team-roster-table .agentCol a[href*="hoopsagents"],
		#trRoster.team-roster-table .agentCol .roster-add-link {
			font-size: 6.8px !important;
			line-height: 1.02 !important;
			white-space: normal !important;
			overflow-wrap: anywhere;
			word-break: normal;
		}
	/* Extra compact spacing for small stat columns */
	#trRoster.team-roster-table th.roster-col-pos,
	#trRoster.team-roster-table td.roster-col-pos,
	#trRoster.team-roster-table th.roster-col-height,
	#trRoster.team-roster-table td.roster-col-height,
	#trRoster.team-roster-table th.roster-col-age,
	#trRoster.team-roster-table td.roster-col-age,
	#trRoster.team-roster-table th.roster-col-nat,
	#trRoster.team-roster-table td.roster-col-nat,
	#trRoster.team-roster-table td.tdrsimg {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#trRoster.team-roster-table th.roster-col-pos,
	#trRoster.team-roster-table td.roster-col-pos {
		width: 5.5%;
	}

	#trRoster.team-roster-table th.roster-col-height,
	#trRoster.team-roster-table td.roster-col-height,
	#trRoster.team-roster-table td.tdhightcls {
		width: 11.5%;
	}

	#trRoster.team-roster-table th.roster-col-age,
	#trRoster.team-roster-table td.roster-col-age {
		width: 7%;
	}

	#trRoster.team-roster-table th.roster-col-nat,
	#trRoster.team-roster-table td.roster-col-nat,
	#trRoster.team-roster-table td.tdrsimg {
		width: 6.5%;
	}
}

@media only screen and (max-width: 1100px) {
	#trRoster.team-roster-table thead th,
	#trRoster.team-roster-table thead th b,
	#trRoster.team-roster-table thead th font {
		font-size: 10px !important;
		padding: 8px 5px !important;
	}

	#trRoster.team-roster-table tbody td,
	#trRoster.team-roster-table tbody td font {
		font-size: 11px !important;
		padding: 8px 5px !important;
		line-height: 24px !important;
	}
}

@media only screen and (max-width: 900px) {
	#trRoster.team-roster-table th.roster-col-former,
	#trRoster.team-roster-table td.roster-col-former,
	#trRoster.team-roster-table th.formerteamcls,
	#trRoster.team-roster-table td.formerteamcls {
		display: none !important;
	}
}

@media only screen and (max-width: 780px) {
	#trRoster.team-roster-table th.roster-col-from,
	#trRoster.team-roster-table td.roster-col-from,
	#trRoster.team-roster-table th.usefrom,
	#trRoster.team-roster-table td.usefrom,
	#trRoster.team-roster-table th.roster-col-to,
	#trRoster.team-roster-table td.roster-col-to,
	#trRoster.team-roster-table th#UseTo,
	#trRoster.team-roster-table td#UseTo {
		display: none !important;
	}

	#trRoster.team-roster-table thead th,
	#trRoster.team-roster-table thead th b,
	#trRoster.team-roster-table thead th font {
		font-size: 8.5px !important;
		padding: 6px 2px !important;
		letter-spacing: 0 !important;
	}

		#trRoster.team-roster-table thead th.roster-sortable {
			padding-right: 12px !important;
		}

			#trRoster.team-roster-table thead th.roster-sortable::after {
				/* right: 3px; */
			}

	#trRoster.team-roster-table tbody td,
	#trRoster.team-roster-table tbody td font {
		font-size: 9.5px !important;
		padding: 6px 2px !important;
		line-height: 20px !important;
	}

	/* Keep Agent visible without horizontal scrolling */
	.team-roster-table-scroll,
	.teampageclassmiddle #trRoster_wrapper {
		overflow-x: hidden !important;
	}

		.team-roster-table-scroll #trRoster.team-roster-table,
		.team-roster-table-scroll table.team-roster-table#trRoster {
			table-layout: fixed !important;
			width: 100% !important;
		}

	#trRoster.team-roster-table .roster-col-num,
	#trRoster.team-roster-table .tduninumber {
		width: 7%;
	}

	#trRoster.team-roster-table .roster-col-name {
		width: 28%;
		padding-left: 5px !important;
		padding-right: 2px !important;
	}

	#trRoster.team-roster-table .roster-col-pos {
		width: 9%;
	}

	#trRoster.team-roster-table .roster-col-height,
	#trRoster.team-roster-table .tdhightcls {
		width: 9%;
	}

	#trRoster.team-roster-table .roster-col-age {
		width: 8%;
	}

	#trRoster.team-roster-table .roster-col-nat,
	#trRoster.team-roster-table .tdrsimg {
		width: 12%;
	}

	#trRoster.team-roster-table .roster-col-agent,
	#trRoster.team-roster-table .agentCol {
		display: table-cell !important;
		width: 24%;
		min-width: 0;
	}

	/* Use compact mobile name variant before columns collide */
	#trRoster.team-roster-table .spnplnamemobile {
		display: inline !important;
	}

	#trRoster.team-roster-table .spnplnamedesktop {
		display: none !important;
	}

	#trRoster.team-roster-table .roster-col-name a.roster-player-link,
	#trRoster.team-roster-table tbody td.roster-col-name a,
	#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
	#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter {
		font-size: 9.5px !important;
		line-height: 1.08 !important;
		white-space: normal !important;
		overflow-wrap: break-word !important;
		word-break: normal !important;
	}


	#trRoster.team-roster-table td.roster-col-name .d1Fav,
	#trRoster.team-roster-table td.roster-col-name .d1Fav.roster-fav-slot {
		height: 12px;
		margin-left: 2px;
	}

	#trRoster.team-roster-table td.roster-col-name .d2Fav img {
		width: 12px;
		height: 12px;
	}

	#trRoster.team-roster-table .agentCol a.roster-agent-link,
	#trRoster.team-roster-table .agentCol a[href*="hoopsagents"],
	#trRoster.team-roster-table .agentCol .roster-add-link {
		font-size: 8px !important;
		line-height: 1.1 !important;
		white-space: normal !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
}

#trRoster.team-roster-table .agentCol a.roster-agent-link,
#trRoster.team-roster-table .agentCol a[href*="hoopsagents"] {
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
}

.col-md-9.teampageclassmiddle .team-roster-table-scroll #trRoster.team-roster-table,
.teampageclassmiddle.col-md-9 .team-roster-table-scroll #trRoster.team-roster-table {
	width: 100% !important;
	min-width: 0;
	max-width: 100%;
	table-layout: auto;
}

#trRoster.team-roster-table .roster-col-name {
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: normal;
}

#trRoster.team-roster-table .roster-col-former,
#trRoster.team-roster-table .formerteamcls,
#trRoster.team-roster-table .agentCol {
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: normal;
	min-width: 0;
}

	#trRoster.team-roster-table .roster-col-former .roster-former-inner,
	#trRoster.team-roster-table .formerteamcls .roster-former-inner {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

.team-roster-committed__title {
	margin: 0 0 10px;
	font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--team-text, #1a2332);
}

table.committed_cls_tbl.team-roster-table.team-roster-table--committed {
	display: table !important;
	width: 100% !important;
	max-width: 100%;
	margin: 0 auto 24px;
	border-collapse: collapse;
	border-spacing: 0;
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed thead tr,
	table.committed_cls_tbl.team-roster-table.team-roster-table--committed tbody tr {
		display: table-row !important;
	}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed th,
	table.committed_cls_tbl.team-roster-table.team-roster-table--committed td {
		display: table-cell !important;
	}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed thead tr {
		background: var(--team-gradient) !important;
	}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed thead th {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		padding: 11px 10px !important;
		border: none !important;
	}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed tbody tr:nth-child(odd) {
		background-color: #ffffff !important;
	}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed tbody tr:nth-child(even) {
		background-color: var(--team-surface-alt, #ebf3fb) !important;
	}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed tbody tr:hover {
		background: var(--team-gradient-soft) !important;
	}

	table.committed_cls_tbl.team-roster-table.team-roster-table--committed tbody td {
		font-size: 14px !important;
		color: var(--team-text-body, #333333) !important;
		padding: 11px 10px !important;
		border: none !important;
		vertical-align: middle;
	}

		table.committed_cls_tbl.team-roster-table.team-roster-table--committed tbody td a {
			color: var(--team-primary, #1f6aaf) !important;
			font-weight: 500;
			text-decoration: none;
		}

			table.committed_cls_tbl.team-roster-table.team-roster-table--committed tbody td a:hover {
				text-decoration: underline;
			}

/* ===== Team Home page (unified with roster redesign) ===== */
.team-home {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--team-text-body, #333333);
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
	box-sizing: border-box;
}

	.team-home > .row.Clearfix {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100%;
		min-width: 0;
	}

		.team-home > .row.Clearfix > .mobilecolmdnine.col-md-8 {
			flex: 1 1 58%;
			min-width: 0;
			max-width: 100%;
			box-sizing: border-box;
		}

		.team-home > .row.Clearfix > #TeamSeasonMenu.team-home-side {
			flex: 1 1 38%;
			min-width: 0;
			max-width: 100%;
			box-sizing: border-box;
		}

@media (max-width: 1199px) {
	.team-home > .row.Clearfix > .mobilecolmdnine.col-md-8,
	.team-home > .row.Clearfix > #TeamSeasonMenu.team-home-side {
		flex: 1 1 100%;
		width: 100% !important;
		max-width: 100%;
	}
}

.team-home a {
	color: var(--team-primary, #1f6aaf);
	text-decoration: none;
}

	.team-home a:hover {
		text-decoration: underline;
	}

/* Panel headers: Games, Coaches, Address, Standings */
.team-home .authorstitle,
.team-home td.authorstitle,
.team-home .team-authorstable > .authorstitle {
	background: #fff !important;
	color: var(--team-primary, #1f6aaf) !important;
	border: none !important;
	border-bottom: 1px solid var(--team-border, #e3e7ec) !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 10px 12px !important;
	text-align: left !important;
}

/* Widget cards (Games, Coaches, Address, Standings) */
.team-home .team-authorstable,
.team-home table.authorstable,
.team-home #divCenter0.team-authorstable,
.team-home #divCenter2.team-authorstable,
.team-home table.team-authorstable#divCenter1 {
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	margin-bottom: 14px;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Games / Coaches cards: scroll inside card instead of breaking page layout */
.team-home #divCenter0.team-authorstable,
.team-home #divCenter2.team-authorstable {
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
}

.team-home .team-authorstable table,
.team-home #divCenter0 > table {
	border: none !important;
	margin: 0;
	max-width: 100%;
}

.team-home #divCenter0 > table {
	table-layout: fixed !important;
	width: 100% !important;
	min-width: 0;
}

.team-home #divCenter0 .lastnextgametr td {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle !important;
}

	.team-home #divCenter0 .lastnextgametr td:nth-child(1) {
		width: 26%;
	}

	.team-home #divCenter0 .lastnextgametr td:nth-child(2) {
		width: 28px;
		padding-left: 4px !important;
		padding-right: 4px !important;
	}

	.team-home #divCenter0 .lastnextgametr td:nth-child(3) {
		width: auto;
		min-width: 0;
	}

	.team-home #divCenter0 .lastnextgametr td:nth-child(4) {
		width: 24%;
		text-align: center !important;
	}

	.team-home #divCenter0 .lastnextgametr td:nth-child(5) {
		width: 32px;
		text-align: center !important;
	}

/* Coaches: constrain float columns from legacy markup */
.team-home #divCenter2.team-authorstable::after {
	content: "";
	display: table;
	clear: both;
}

.team-home #divCenter2 > div[style*="float:left"],
.team-home #divCenter2 > div[style*="float: left"] {
	box-sizing: border-box;
	max-width: 100%;
}

.team-home #divCenter2 > div[style*="width: 18%"] {
	width: 68px !important;
	max-width: 30% !important;
	float: left !important;
	margin: 0 8px 0 4px !important;
}

.team-home #divCenter2 > div[style*="width: 80%"] {
	width: calc(100% - 84px) !important;
	max-width: calc(100% - 84px) !important;
	float: left !important;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.team-home #divCenter2 .tblstaff_home {
	width: 100% !important;
	max-width: 100%;
	table-layout: fixed;
}

	.team-home #divCenter2 .tblstaff_home td {
		word-wrap: break-word;
		overflow-wrap: anywhere;
		white-space: normal;
	}

.team-home .team-authorstable > table > tbody > tr > td.authorstitle,
.team-home #divCenter0 > table > tbody > tr > td.authorstitle {
	padding: 10px 12px !important;
}

/* Starting Five / Reserve tabs */
.team-home .team-home-court {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: 14px;
}

/* Starting Five / Reserve ï¿½ segmented switch (replaces table tabs) */
.team-court-switch {
	display: inline-flex;
	align-items: stretch;
	width: 100%;
	max-width: 360px;
	margin: 0 0 12px;
	padding: 4px;
	border-radius: 999px;
	background: var(--team-surface-muted, #e8edf2);
	border: 1px solid var(--team-border, #e3e7ec);
	box-sizing: border-box;
	gap: 4px;
}

.team-court-switch__option {
	flex: 1 1 50%;
	margin: 0;
	padding: 10px 14px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--team-text-muted, #6c7a8a);
	font-family: "Teko", "Inter", "Segoe UI", Arial, Helvetica, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

	.team-court-switch__option:hover:not(.is-active) {
		color: var(--team-text-body, #333);
		background: rgba(255, 255, 255, 0.55);
	}

	.team-court-switch__option.is-active {
		background: #fff !important;
		color: var(--team-primary, #1f6aaf) !important;
		border: 2px solid var(--team-primary, #1f6aaf) !important;
		box-shadow: none;
	}

	.team-court-switch__option:focus-visible {
		outline: 2px solid var(--team-primary, #1f6aaf);
		outline-offset: 2px;
	}

.team-home .team-home-court tr.start-reserve td {
	border: none;
	padding: 0 2px 0 0;
}

	.team-home .team-home-court tr.start-reserve td:last-child {
		padding: 0 0 0 2px;
	}

.team-home .team-home-court .aleftmenutd,
.team-home .team-home-court .ileftmenutd2 {
	background: #fff !important;
	color: var(--team-text-muted, #6c7a8a) !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 12px 10px !important;
	border: 1px solid var(--team-border, #e3e7ec);
	border-bottom: none;
	border-radius: 10px 10px 0 0;
	cursor: pointer;
}

.team-home .team-home-court tr.start-reserve td:first-child .aleftmenutd,
.team-home .team-home-court tr.start-reserve td:first-child .ileftmenutd2,
.team-home .team-home-court tr.start-reserve td:first-child.aleftmenutd,
.team-home .team-home-court tr.start-reserve td:first-child.ileftmenutd2 {
	border-radius: 10px 4px 0 0;
}

.team-home .team-home-court tr.start-reserve td:last-child .aleftmenutd,
.team-home .team-home-court tr.start-reserve td:last-child .ileftmenutd2,
.team-home .team-home-court tr.start-reserve td:last-child.aleftmenutd,
.team-home .team-home-court tr.start-reserve td:last-child.ileftmenutd2 {
	border-radius: 4px 10px 0 0;
}

.team-home .team-home-court .aleftmenutd {
	background: var(--team-gradient) !important;
	color: #fff !important;
	border-color: var(--team-primary-dark, #1a5a9e);
}

.team-home .team-home-court .mleftmenu-td2 {
	background: #fff !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 10px;
}

.team-home .team-home-court .mleftmenu-td2-div {
	background: #fff !important;
	border-radius: 0 0 10px 10px;
	padding: 10px !important;
}

.team-home .team-home-court .back-bg {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

/* Player cards on court */
.team-home .pos_pg,
.team-home .pos_sg,
.team-home .pos_sf,
.team-home .pos_pf,
.team-home .pos_c {
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 8px rgba(31, 106, 175, 0.12);
	background: #fff !important;
}

.team-home .playerPosition .mediumfont,
.team-home .playerPosition .mediumfont a {
	color: var(--team-primary, #1f6aaf) !important;
	font-weight: 600;
}

.team-home .clspositiondiv {
	background: var(--team-gradient-light) !important;
	border-radius: 4px;
}

.team-home .popTable {
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 6px;
	background: #fff;
}

	.team-home .popTable a {
		color: var(--team-primary, #1f6aaf) !important;
		font-weight: 600;
	}

/* Side-panel tables: unified row height (Games is the reference) */
.team-home #divCenter0 table tr.lastnextgametr td,
.team-home #divCenter2 .tblstaff_home tr.trhstaffodd td,
.team-home #divCenter2 .tblstaff_home tr.trhstaffeven td,
.team-home-side__block table.ctrtblmobileteam tbody tr td,
.team-home-side__block table.authorstable tbody tr td.temp,
.team-home #tdLeft table.ctrtblmobileteam tbody tr td,
.team-home div[id^="divLeft"] table.ctrtblmobileteam tbody tr td {
	padding: 8px 10px !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	vertical-align: middle !important;
	box-sizing: border-box;
}

/* Games list */
.team-home .lastnextgametr {
	background-color: var(--team-surface-alt, #ebf3fb) !important;
}

	.team-home .lastnextgametr:nth-child(even) {
		background-color: #fff !important;
	}

.team-home .font-8-pt,
.team-home .temp {
	font-size: 12px !important;
	font-family: Arial, Helvetica, sans-serif !important;
}

.team-home #divCenter0 tr > td.temp {
	text-align: center !important;
	padding: 10px 12px !important;
	border-top: 1px solid var(--team-border, #e3e7ec);
}

.team-home #divCenter0 .temp a,
.team-home #divCenter2 .team-home-side__footer a {
	font-size: 12px !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 600;
	color: var(--team-primary, #1f6aaf) !important;
	text-decoration: none !important;
}

	.team-home #divCenter0 .temp a:hover,
	.team-home #divCenter2 .team-home-side__footer a:hover {
		text-decoration: none !important;
		color: var(--team-primary-dark, #1a5a9e) !important;
	}

.team-home #divCenter2 .team-home-side__footer {
	width: 100%;
	float: left;
	clear: both;
	text-align: center;
	margin: 0;
	padding: 10px 12px;
	border-top: 1px solid var(--team-border, #e3e7ec);
	box-sizing: border-box;
}

/* Hide legacy spacer / empty rows (Games, Coaches, Standings) */
.team-home #divCenter0 tr:has(> td[colspan][height]),
.team-home #divCenter0 tr:has(> td[height="4px"]),
.team-home #divCenter2 .tblstaff_home tr[style*="height: 0"],
.team-home #divCenter2 .tblstaff_home tr:has(> td[colspan]:only-child:empty),
.team-home-side__block table tr[style*="height: 0"],
.team-home-side__block table tr[style*="height: 5px"],
.team-home-side__block table tr:has(> td[colspan]:only-child:empty),
.team-home #tdLeft table tr:has(> td[colspan]:only-child:empty),
.team-home div[id^="divLeft"] table tr:has(> td[colspan]:only-child:empty) {
	display: none !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	line-height: 0 !important;
}

/* Coaches */
.team-home #divCenter2 .tblstaff_home tr.trhstaffodd {
	background-color: var(--team-surface-alt, #ebf3fb) !important;
}

.team-home #divCenter2 .tblstaff_home tr.trhstaffeven {
	background-color: #fff !important;
}

.team-home #divCenter2 .tblstaff_home tr:hover {
	background: var(--team-gradient-soft) !important;
}

.team-home #divCenter2 .tblstaff_home a {
	font-weight: 600;
}

.team-home #coachppp {
	font-size: 11px !important;
	color: var(--team-text-muted, #6c7a8a);
}

/* Standings */
.team-home table.ctrtblmobileteam,
.team-home table.authorstable.ctrtblmobileteam {
	width: 100% !important;
	max-width: 100%;
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 10px;
	overflow: hidden;
	border-collapse: collapse;
	margin-bottom: 14px;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	table-layout: fixed;
	box-sizing: border-box;
}

.team-home-side__block table.ctrtblmobileteam td,
.team-home-side__block table.authorstable td {
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
}

.team-home table.ctrtblmobileteam tbody tr:nth-child(odd),
.team-home-side__block table.ctrtblmobileteam tbody tr:nth-child(odd) {
	background: #fff;
}

.team-home table.ctrtblmobileteam tbody tr:nth-child(even),
.team-home-side__block table.ctrtblmobileteam tbody tr:nth-child(even) {
	background: var(--team-surface-alt, #ebf3fb);
}

.team-home table.ctrtblmobileteam tbody tr:hover,
.team-home-side__block table.ctrtblmobileteam tbody tr:hover {
	background: var(--team-gradient-soft);
}

.team-home table.ctrtblmobileteam td.authorstitle,
.team-home-side__block table.ctrtblmobileteam td.authorstitle {
	background: #fff !important;
	color: var(--team-primary, #1f6aaf) !important;
	border-bottom: 1px solid var(--team-border, #e3e7ec) !important;
	padding: 10px 12px !important;
	font-size: 13px !important;
	text-align: left !important;
}

.team-home table.ctrtblmobileteam a,
.team-home-side__block table.ctrtblmobileteam a {
	font-weight: 600;
}

.team-home .french_standing_list ul li {
	padding: 8px 10px;
	line-height: 1.5;
	min-height: 36px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
}

/* Address */
.team-home .tdmobileaddress,
.team-home .tdmobileaddress p {
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: var(--team-text-body, #333333);
}

/* Sidebar photos */
.team-home .divRight,
.team-home #divRight1,
.team-home #divRight2,
.team-home #divRight3,
.team-home .divRight {
	margin-bottom: 12px;
}

.team-home .giveskinnyborder {
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
}

.team-home .mobileTeamPhotoTxtimage {
	font-size: 11px !important;
	color: var(--team-text-muted, #6c7a8a) !important;
	line-height: 1.4 !important;
	margin-top: 6px;
}

/* Fallback player strip (no starting five) */
.team-home .homescreenlistcoachpl .newsheadphoto td {
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 6px;
	background: #fff;
}

.team-home .homescreenlistcoachpl a {
	font-size: 11px;
	font-weight: 600;
}

.team-home #tdLeft,
.team-home #tdCenter,
.team-home #TeamSeasonMenu {
	padding-top: 4px;
}

@media only screen and (max-width: 700px) {
	.team-home .team-home-court .aleftmenutd,
	.team-home .team-home-court .ileftmenutd2 {
		font-size: 11px !important;
		padding: 10px 6px !important;
	}
}

/* ===== Team Stats page (unified with roster / home redesign) ===== */
/*.team-stats {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--team-text-body, #333333);
	max-width: 100%;
	overflow: visible;
	box-sizing: border-box;
}

	.team-stats a {
		color: var(--team-primary, #1f6aaf);
		text-decoration: none;
		font-weight: 600;
	}

		.team-stats a:hover {
			text-decoration: underline;
		}

	.team-stats #statsSeasonID,
	.team-stats .tblstatsseason_select {
		margin: 0 0 14px;
	}

		.team-stats .tblstatsseason_select,
		.team-stats .tblstatsseason_select.clssssstats,
		.team-stats .tblstatsseason_select.clssssgs {
			width: auto !important;
			max-width: 100%;
			border: 1px solid var(--team-border, #e3e7ec);
			border-radius: 8px;
			background: #fff;
			box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
		}

			.team-stats .tblstatsseason_select td {
				padding: 8px 10px !important;
				font-size: 13px !important;
				vertical-align: middle;
			}

			.team-stats .tblstatsseason_select a {
				font-weight: 600;
			}

.team-stats-section {
	margin-bottom: 14px;
}

.team-stats-card,
.team-stats .CSSTableGenerator.team-stats-card,
.team-stats .CSSTableGenerator {
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-top: none !important;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	margin-bottom: 14px;
}

	.team-stats .CSSTableGenerator table,
	.team-stats-card table,
	.team-stats-table {
		width: 100% !important;
		max-width: 100%;
		min-width: 0 !important;
		table-layout: fixed;
		border-collapse: collapse !important;
		border-spacing: 0 !important;
	}

		.team-stats .CSSTableGenerator td,
		.team-stats-card td,
		.team-stats-table td,
		.team-stats-table th {
			border: none !important;
			border-bottom: 1px solid #eeeeee !important;
			font-family: Arial, Helvetica, sans-serif !important;
			font-size: 12px !important;
			color: var(--team-text-body, #333333) !important;
			padding: 8px 5px !important;
			vertical-align: middle;
			white-space: normal;
			word-wrap: break-word;
			overflow-wrap: break-word;
			hyphens: auto;
		}

	.team-stats .darkbg_row td,
	.team-stats .darkbg_row_newfont,
	.team-stats-card .darkbg_row_newfont {
		font-size: 10px !important;
		line-height: 1.25;
		white-space: normal;
	}

	.team-stats tr.darkbg_row td,
	.team-stats tr.darkbg_row td.darkbg_row_newfont,
	.team-stats .CSSTableGenerator tr.darkbg_row td,
	.team-stats-table thead tr.my_Headers th,
	.team-stats-table tr.my_Headers th,
	.team-stats table.sortable tr.my_Headers th {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-size: 11px !important;
		font-weight: 700 !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		text-align: center !important;
		border: none !important;
	}

	.team-stats .CSSTableGenerator tbody tr:not(.darkbg_row):nth-child(odd),
	.team-stats-card tbody tr:nth-child(odd),
	.team-stats-table tbody tr.team-stats-table__row:nth-child(odd),
	.team-stats-table tbody tr.my_pStats1 {
		background-color: #ffffff !important;
	}

	.team-stats .CSSTableGenerator tbody tr:not(.darkbg_row):nth-child(even),
	.team-stats-card tbody tr:nth-child(even),
	.team-stats-table tbody tr.team-stats-table__row:nth-child(even),
	.team-stats-table tbody tr.my_pStats2 {
		background-color: var(--team-surface-alt, #ebf3fb) !important;
	}

		.team-stats .CSSTableGenerator tbody tr:not(.darkbg_row):hover,
		.team-stats-table tbody tr.team-stats-table__row:hover,
		.team-stats-table tbody tr.my_pStats1:hover,
		.team-stats-table tbody tr.my_pStats2:hover {
			background: var(--team-gradient-soft) !important;
		}

.team-stats-toggle,
.team-stats .switch_stats,
.team-stats .switch_stats_tt {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--team-text-muted, #6c7a8a);
}

.team-stats input:checked + .slider_custom {
	background: var(--team-gradient-light) !important;
}

.team-stats-panel {
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	margin-bottom: 16px;
	max-width: 100%;
	box-sizing: border-box;
}

	.team-stats-panel .team-stats-panel__wrap {
		border: none !important;
		width: 100% !important;
	}

		.team-stats-panel .team-stats-panel__wrap > tbody > tr > td {
			padding: 0 !important;
			border: none !important;
		}

	.team-stats-panel .team-stats__title {
		margin-top: 0 !important;
		border-radius: 0;
	}

	.team-stats-panel > .team-stats-panel__wrap > tbody > tr > td,
	.team-stats-panel .team-stats-panel__wrap td {
		max-width: 100%;
		box-sizing: border-box;
	}

.team-stats-table-wrap,
.team-stats .Teampl_stats {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}*/

/* Team Summary / Season statistic (CSSTableGenerator cards) */
.team-stats-card > table td:first-child {
	width: 22%;
	text-align: left !important;
}

.team-stats-card > table td:not(:first-child) {
	text-align: center !important;
}

/* Player stats table */
.team-stats-table th.tm_headcol,
.team-stats-table tr td:first-child {
	width: 4%;
}

.team-stats-table .my_playerName,
.team-stats-table .tm_headcol1,
.team-stats-table tr td:nth-child(2) {
	text-align: left !important;
	width: 16%;
	min-width: 0;
}

.team-stats-table .my_playerB,
.team-stats-table a.my_playerB {
	color: var(--team-primary, #1f6aaf) !important;
	font-weight: 600;
	word-break: break-word;
}

.team-stats-table .tm_headcol,
.team-stats-table th:not(.tm_headcol1) {
	text-align: center !important;
	width: auto;
	min-width: 0;
}

.team-stats-table th,
.team-stats-table td {
	font-size: 11px !important;
	padding: 6px 3px !important;
}

.team-stats-table thead tr.my_Headers th,
.team-stats-table tr.my_Headers th {
	font-size: 9px !important;
	letter-spacing: 0;
	padding: 6px 2px !important;
}

.team-stats .newfontcls {
	font-size: 13px;
	font-weight: 700;
	color: var(--team-text-body, #333333);
}

@media only screen and (max-width: 700px) {
	.team-stats__title,
	.team-stats h4.main-head.vertical-line {
		font-size: 13px !important;
		padding: 10px 12px !important;
	}

	.team-stats .CSSTableGenerator td,
	.team-stats-table td,
	.team-stats-table th {
		padding: 8px 6px !important;
		font-size: 12px !important;
	}

	.team-stats-table-wrap {
		margin: 0 -4px;
	}
}

/* ===== Team Ex-Players page (unified with roster redesign) ===== */
/*.team-explayers {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--team-text-body, #333333);
	margin-bottom: 20px;
}

	.team-explayers a {
		color: var(--team-primary, #1f6aaf);
		text-decoration: none;
		font-weight: 600;
	}

		.team-explayers a:hover {
			text-decoration: underline;
		}

	.team-explayers__title,
	.team-explayers h2.main-head.vertical-line {
		display: block;
		width: 100% !important;
		margin: 16px 0 0 !important;
		padding: 12px 14px !important;
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em;
		border: none !important;
		border-radius: 10px 10px 0 0;
		box-sizing: border-box;
	}

.team-explayers__news-title {
	display: block;
	margin: 0 0 12px !important;
	padding: 12px 14px !important;
	background: var(--team-gradient) !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	border-radius: 10px;
}

.team-explayers__news-date {
	font-weight: 400;
	font-size: 12px;
	opacity: 0.9;
	margin-left: 6px;
}

.team-explayers__data {
	margin-top: 0;
}

.team-explayers__empty {
	margin: 12px 0;
	padding: 12px 14px;
	background: var(--team-surface-alt, #ebf3fb);
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--team-text-body, #333333);
}

	.team-explayers__empty code {
		font-size: 12px;
		word-break: break-all;
	}

.team-explayers__data .team-explayers-table,
.team-explayers #tblExPlayers.team-explayers-table,
.team-explayers table.team-explayers-table {
	width: 100% !important;
	max-width: 100%;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	background: #fff;
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-top: none !important;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
}

.team-explayers-table thead th,
.team-explayers-table tr:first-child th,
.team-explayers #tblExPlayers tr:first-child th,
.team-explayers #tblExPlayers th {
	background: var(--team-gradient) !important;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 11px 10px !important;
	border: none !important;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

	.team-explayers-table thead th font,
	.team-explayers #tblExPlayers th font {
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 11px !important;
		font-weight: 700 !important;
	}

.team-explayers-table tbody tr:nth-child(odd),
.team-explayers #tblExPlayers tbody tr:nth-child(odd),
.team-explayers #tblExPlayers tr:nth-child(n+2):nth-child(even) {
	background-color: #ffffff !important;
}

.team-explayers-table tbody tr:nth-child(even),
.team-explayers #tblExPlayers tbody tr:nth-child(even),
.team-explayers #tblExPlayers tr:nth-child(n+2):nth-child(odd) {
	background-color: var(--team-surface-alt, #ebf3fb) !important;
}

.team-explayers-table tbody tr:hover,
.team-explayers #tblExPlayers tbody tr:hover,
.team-explayers #tblExPlayers tr:nth-child(n+2):hover {
	background: var(--team-gradient-soft) !important;
}

.team-explayers-table td,
.team-explayers-table th,
.team-explayers #tblExPlayers td,
.team-explayers #tblExPlayers th {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	color: var(--team-text-body, #333333) !important;
	padding: 10px 10px !important;
	border: none !important;
	border-bottom: 1px solid #eeeeee !important;
	vertical-align: middle;
}

	.team-explayers-table td:first-child,
	.team-explayers #tblExPlayers td:first-child {
		text-align: left;
	}

.team-explayers-table .exteamyearth,
.team-explayers #tblExPlayers .exteamyearth {
	text-align: center !important;
	width: 6%;
}

.team-explayers-table td img,
.team-explayers #tblExPlayers td img {
	vertical-align: middle;
	border: none;
}

.team-explayers #tblExPlayers a {
	margin-left: 0;
}

.team-explayers__data--locked .team-explayers-table,
.team-explayers__data--locked #tblExPlayers {
	filter: blur(2px);
	user-select: none;
}

.team-explayers .view-header + .team-explayers-table,
.team-explayers__data--locked table {
	pointer-events: none;
}

@media only screen and (max-width: 700px) {
	.team-explayers__title,
	.team-explayers h2.main-head.vertical-line {
		font-size: 13px !important;
		padding: 10px 12px !important;
	}

	.team-explayers__data {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.team-explayers-table td,
	.team-explayers-table th,
	.team-explayers #tblExPlayers td,
	.team-explayers #tblExPlayers th {
		padding: 8px 6px !important;
		font-size: 12px !important;
	}
}*/

/* ===== Team History page (unified with roster redesign) ===== */
/*.team-history {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--team-text-body, #333333);
	margin-bottom: 20px;
}

	.team-history a {
		color: var(--team-primary, #1f6aaf);
		text-decoration: none;
		font-weight: 600;
	}

		.team-history a:hover {
			text-decoration: underline;
		}

	.team-history__title,
	.team-history h2.main-head.vertical-line {
		display: block;
		width: 100% !important;
		margin: 0 0 14px !important;
		padding: 12px 14px !important;
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em;
		border: none !important;
		border-radius: 10px;
		box-sizing: border-box;
	}

	.team-history__section,
	.team-history .profile-head.team-history,
	.team-history .main-head.vertical-line.profile-head.team-history {
		display: block;
		width: 100% !important;
		margin: 14px 0 8px !important;
		padding: 10px 12px !important;
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		border: none !important;
		border-radius: 8px;
		box-sizing: border-box;
	}

		.team-history__section--muted,
		.team-history .profile-head.team-history.lessbold {
			background: var(--team-gradient-light) !important;
			font-weight: 600 !important;
			font-size: 12px !important;
		}

.team-history__layout {
	width: 100% !important;
	max-width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}

	.team-history__layout td.team-history__content,
	.team-history__layout td.team-history__content.use80,
	.team-history__layout .use80.team-history__content {
		width: 80% !important;
		vertical-align: top;
		padding: 0 14px 0 0 !important;
	}

	.team-history__layout td.team-history__logos,
	.team-history__layout td.team-history__logos.use20,
	.team-history__layout .use20.team-history__logos {
		width: 20% !important;
		vertical-align: top;
		padding: 0 0 0 8px !important;
	}

.team-history__content {
	vertical-align: top;
	padding: 0 14px 0 0 !important;
}

.team-history__text,
.team-history .style100 {
	font-size: 13px !important;
	line-height: 1.55 !important;
	color: var(--team-text-body, #333333) !important;
}

	.team-history__text img,
	.team-history .style100 img {
		vertical-align: middle;
		margin: 0 4px 2px 0;
	}

.team-history__logos-grid {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.team-history__logo-cell {
	padding: 8px 4px !important;
	text-align: center;
	vertical-align: top;
}

	.team-history__logos .team-logo,
	.team-history__logo-cell .team-logo {
		max-width: 88px;
		width: auto;
		height: auto;
		display: block;
		margin: 0 auto 6px;
	}

.team-history .logo-txt-here {
	display: block;
	font-size: 11px;
	color: var(--team-text-muted, #6c7a8a);
	margin-top: 2px;
}

.team-history .table-container {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	margin: 0 0 16px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	clear: both;
}

.team-history-table,
.team-history .eurotable {
	width: 100% !important;
	min-width: 860px;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	color: var(--team-text-body, #333333) !important;
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	background: #fff;
	flex: none !important;
	display: table !important;
	margin: 0 0 12px !important;
}

.team-history .table-container .eurotable:last-child {
	margin-bottom: 0 !important;
}

.team-history-table thead th,
.team-history-table > thead > tr > th,
.team-history-table > tr > th,
.team-history .eurotable thead th,
.team-history .eurotable > tr > th,
.team-history .eurotable > * > tr > th {
	background: var(--team-gradient) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-align: center !important;
	padding: 10px 8px !important;
	border: none !important;
}

.team-history-table td,
.team-history-table th,
.team-history .eurotable td,
.team-history .eurotable th {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	padding: 8px 8px !important;
	border: none !important;
	border-bottom: 1px solid #eeeeee !important;
	vertical-align: middle;
}

.team-history-table tbody tr:nth-child(odd),
.team-history .eurotable tbody tr:nth-child(odd),
.team-history .eurotable > tbody > tr:nth-child(odd) {
	background-color: #ffffff !important;
}

.team-history-table tbody tr:nth-child(even),
.team-history .eurotable tbody tr:nth-child(even),
.team-history .eurotable > tbody > tr:nth-child(even) {
	background-color: var(--team-surface-alt, #ebf3fb) !important;
}

.team-history-table tbody tr:hover,
.team-history .eurotable tbody tr:hover {
	background: var(--team-gradient-soft) !important;
}

.team-history .tdhistoryseason,
.team-history .thhistoryseason,
.team-history .thhistoryTier,
.team-history .thhistorywl,
.team-history .thhistorycup,
.team-history .thhistorysupercup {
	text-align: center !important;
}

.team-history .tdteamhistoryleague,
.team-history .tdteamhistoryleague1 {
	text-align: center;
	white-space: nowrap;
}

.team-history .tooltip123 {
	display: none;
}

@media only screen and (max-width: 900px) {
	.team-history__layout,
	.team-history__layout.use80,
	.team-history__logos.use20 {
		display: block !important;
		width: 100% !important;
	}

	.team-history__content {
		padding: 0 !important;
		display: block;
		width: 100% !important;
	}

	.team-history__logos {
		width: 100% !important;
		margin-top: 14px;
	}

	.team-history-table,
	.team-history .eurotable {
		flex: 1 1 100%;
		font-size: 11px !important;
	}

	.team-history .table-container {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}*/

/* ===== Team News / Social page (unified with roster redesign) ===== */
/*.team-news {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--team-text-body, #333333);
	margin-bottom: 20px;
}

	.team-news a {
		color: var(--team-primary, #1f6aaf);
		text-decoration: none;
		font-weight: 600;
	}

		.team-news a:hover {
			text-decoration: underline;
		}

	.team-news .teamnews_h2_cls {
		margin-left: 0 !important;
	}

	.team-news__title,
	.team-news h2.main-head.vertical-line.team-news__title {
		display: block;
		width: 100% !important;
		clear: both;
		float: none;
		margin: 16px 0 12px !important;
		padding: 12px 14px !important;
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em;
		border: none !important;
		border-radius: 10px;
		box-sizing: border-box;
	}

.team-news__layout {
	margin: 0;
	clear: both;
	display: flex;
	flex-direction: column;
}

	.team-news__layout .team-news__feed,
	.team-news__layout .team-news__social {
		width: 100% !important;
		max-width: 100%;
		flex: 0 0 100%;
	}

.team-news__empty {
	margin: 12px 0;
	padding: 12px 14px;
	background: var(--team-surface-alt, #ebf3fb);
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--team-text-body, #333333);
}

.team-news__feed {
	padding: 0;
}

.team-news__chunk {
	background: #fff;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	margin-bottom: 0;
}

.team-news__item {
	display: block;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.45;
	border-bottom: 1px solid #eeeeee;
}

.team-news__chunk .team-news__item:nth-child(odd) {
	background-color: #ffffff;
}

.team-news__chunk .team-news__item:nth-child(even) {
	background-color: var(--team-surface-alt, #ebf3fb);
}

.team-news__chunk .team-news__item:last-child {
	border-bottom: none;
}

.team-news__chunk .team-news__item:hover {
	background: var(--team-gradient-soft) !important;
}

.team-news__icon,
.team-news .faclass_tmnews {
	color: var(--team-primary, #1f6aaf);
	font-size: 12px;
	line-height: 1.4;
	vertical-align: middle;
	height: auto;
}

.team-news__date {
	font-size: 11px;
	font-weight: 400;
	color: var(--team-text-muted, #6c7a8a);
}

.team-news__pager,
.team-news #m_news_dots {
	margin: 14px 0 8px;
	text-align: center;
}

.team-news__more {
	display: inline-block;
	margin: 4px 6px;
	padding: 8px 16px;
	background: var(--team-gradient-light);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	border-radius: 8px;
	transition: background 0.2s ease;
}

	.team-news__more:hover {
		background: var(--team-gradient);
		color: #fff !important;
		text-decoration: none !important;
	}

.team-news #img3 {
	display: none !important;
}

.team-news__social {
	padding: 0;
	margin-top: 16px;
}

.team-news__social-card {
	background: #fff;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	padding: 8px;
}

	.team-news__social-card .fb-page,
	.team-news__social .fb-page {
		float: none !important;
		width: 100% !important;
		max-width: 100%;
	}

@media only screen and (max-width: 900px) {
	.team-news__feed,
	.team-news__social {
		width: 100% !important;
		max-width: 100%;
		flex: 0 0 100%;
		padding: 0 !important;
		margin-bottom: 16px;
	}

	.team-news__title,
	.team-news h2.main-head.vertical-line.team-news__title {
		font-size: 13px !important;
		padding: 10px 12px !important;
		margin-left: 0 !important;
	}
}*/

/* ===== Team Compare (Head-2-Head) page ===== */
/*.team-compare {
	--team-primary: #1f6aaf;
	--team-primary-dark: #1a5a9e;
	--team-surface-alt: #ebf3fb;
	--team-border: #e3e7ec;
	--team-text-body: #333333;
	--team-text-muted: #6c7a8a;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--team-text-body, #333333);
	margin-bottom: 20px;
}

	.team-compare a {
		color: var(--team-primary, #1f6aaf);
		text-decoration: none;
		font-weight: 600;
	}

		.team-compare a:hover {
			text-decoration: underline;
		}

	.team-compare__title,
	.team-compare h2.main-head.vertical-line.team-compare__title {
		display: block;
		width: 100% !important;
		margin: 0 0 14px !important;
		padding: 12px 14px !important;
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: 0.02em;
		border: none !important;
		border-radius: 10px;
		box-sizing: border-box;
	}

.team-compare__loader {
	text-align: center;
	width: 100%;
	padding: 16px;
	font-size: 13px;
	color: var(--team-text-muted, #6c7a8a);
}

	.team-compare__loader img {
		vertical-align: middle;
		margin-left: 8px;
	}

.team-compare__search-card {
	background: #fff;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 16px;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
}

.team-compare__label {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--team-primary-dark, #1a5a9e);
	text-align: center;
}

.team-compare__search-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.team-compare__input {
	min-width: 220px;
	max-width: 100%;
	padding: 8px 12px;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 8px;
	box-sizing: border-box;
}

.team-compare__btn {
	padding: 8px 20px;
	font-size: 12px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
	color: #fff !important;
	background: var(--team-gradient-light);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease;
}

	.team-compare__btn:hover {
		background: var(--team-gradient);
	}

.team-compare__results {
	margin-top: 14px;
	text-align: left;
}*/

/* Search results + any compare data tables */
/*.team-compare__table,
	.team-compare__results table,
	.team-compare__detail table,
	.team-compare__against table,
	.team-compare table.authorstable {
		width: 100%;
		border-collapse: collapse;
		border: 1px solid var(--team-border, #e3e7ec);
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
		background: #fff;
	}

		.team-compare__table thead th,
		.team-compare__th {
			background: var(--team-gradient) !important;
			color: #fff !important;
			font-family: Arial, Helvetica, sans-serif !important;
			font-size: 12px !important;
			font-weight: 700 !important;
			text-transform: uppercase;
			letter-spacing: 0.03em;
			text-align: center !important;
			padding: 10px 8px !important;
			border: none !important;
			vertical-align: middle;
		}

.team-compare__th--team,
.team-compare__td--team {
	text-align: left !important;
}

.team-compare__row td,
.team-compare__td {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	padding: 10px 8px !important;
	border: none !important;
	border-bottom: 1px solid #eeeeee !important;
	vertical-align: middle;
	color: var(--team-text-body, #333);
}

.team-compare__table tbody tr.team-compare__row:nth-child(odd) td,
.team-compare__table tbody tr:nth-child(odd) td {
	background-color: #ffffff !important;
}

.team-compare__table tbody tr.team-compare__row:nth-child(even) td,
.team-compare__table tbody tr:nth-child(even) td {
	background-color: var(--team-surface-alt, #ebf3fb) !important;
}

.team-compare__td--team a {
	color: var(--team-primary, #1f6aaf);
	font-weight: 700;
}

.team-compare__detail,
.team-compare__against {
	margin-top: 16px;
}

	.team-compare .authorstitle,
	.team-compare td.authorstitle,
	.team-compare__detail .authorstitle,
	.team-compare__against .authorstitle {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		padding: 10px 8px !important;
		border: none !important;
		text-align: center;
	}

	.team-compare table.authorstable,
	.team-compare__detail table.authorstable,
	.team-compare__against table.authorstable,
	.team-compare .againstteam {
		border: 1px solid var(--team-border, #e3e7ec) !important;
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
		background: #fff;
	}

		.team-compare table.authorstable td,
		.team-compare table.authorstable th,
		.team-compare__detail table td,
		.team-compare__detail table th,
		.team-compare__against table td,
		.team-compare__against table th,
		.team-compare .againstteam td,
		.team-compare .againstteam th {
			font-family: Arial, Helvetica, sans-serif !important;
			font-size: 12px !important;
			padding: 8px 8px !important;
			border: none !important;
			border-bottom: 1px solid #eeeeee !important;
			vertical-align: middle;
		}

		.team-compare table.authorstable tbody tr:nth-child(odd),
		.team-compare__detail table tbody tr:nth-child(odd),
		.team-compare__against table tbody tr:nth-child(odd),
		.team-compare .againstteam tbody tr:nth-child(odd) {
			background-color: #ffffff !important;
		}

		.team-compare table.authorstable tbody tr:nth-child(even),
		.team-compare__detail table tbody tr:nth-child(even),
		.team-compare__against table tbody tr:nth-child(even),
		.team-compare .againstteam tbody tr:nth-child(even) {
			background-color: var(--team-surface-alt, #ebf3fb) !important;
		}

.team-compare__detail-wrap,
.team-compare__against-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.team-compare #plH2Hagainst,
.team-compare .againstteam {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media only screen and (max-width: 700px) {
	.team-compare__search-row {
		flex-direction: column;
		align-items: stretch;
	}

	.team-compare__input {
		width: 100%;
		min-width: 0;
	}

	.team-compare__btn {
		width: 100%;
	}

	.team-compare__title {
		font-size: 13px !important;
		padding: 10px 12px !important;
	}
}*/

/* Last 10 H2H game tables (CompareTeamagainst) */
/*.team-compare #plH2Hagainst h4.main-head.vertical-line {
	display: block;
	width: 100%;
	margin: 20px 0 12px !important;
	padding: 10px 14px !important;
	background: var(--team-gradient) !important;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: none !important;
	border-radius: 10px;
}

.team-compare .againstteam,
.team-compare .team-compare__game-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 16px;
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	background: #fff;
}

	.team-compare .againstteam td.rounddate {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-weight: 700;
		font-size: 12px !important;
		text-align: center !important;
		padding: 10px 12px !important;
		border: none !important;
	}

	.team-compare .againstteam tr:nth-child(2) td {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-weight: 700;
		font-size: 11px !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		text-align: center !important;
		padding: 8px 6px !important;
		border: none !important;
	}

	.team-compare .againstteam tr:nth-child(3) td {
		background: #ffffff !important;
	}

	.team-compare .againstteam tr:nth-child(4) td {
		background: var(--team-surface-alt, #ebf3fb) !important;
	}

	.team-compare .againstteam td {
		text-align: center !important;
		font-size: 12px !important;
		padding: 8px 6px !important;
		border: none !important;
		border-bottom: 1px solid #eeeeee !important;
		vertical-align: middle;
	}

	.team-compare .againstteam tr:last-child td {
		border-bottom: none !important;
	}

	.team-compare .againstteam td.tm_name_cmp {
		text-align: left !important;
		min-width: 110px;
		font-weight: 600;
	}

	.team-compare .againstteam td a {
		color: var(--team-primary, #1f6aaf);
		font-weight: 700;
	}

.team-compare__loading,
.team-compare__empty,
.team-compare__error {
	margin: 16px 0;
	padding: 12px 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}

.team-compare__loading {
	background: var(--team-surface-alt, #ebf3fb);
	color: var(--team-text-body, #333);
}

.team-compare__error {
	background: #fff3f3;
	color: #a40000;
}*/

/* ===== Team Staff page ===== */
/*.team-staff {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--team-text-body, #333333);
	margin-bottom: 20px;
}

	.team-staff a {
		color: var(--team-primary, #1f6aaf);
		text-decoration: none;
		font-weight: 600;
	}

		.team-staff a:hover {
			text-decoration: underline;
		}

	.team-staff__title,
	.team-staff h2.main-head.vertical-line.team-staff__title {
		display: block;
		width: 100% !important;
		margin: 0 0 14px !important;
		padding: 12px 14px !important;
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		border: none !important;
		border-radius: 10px;
	}

.team-staff__table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.team-staff__table,
.team-staff table#staff {
	width: 100% !important;
	max-width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 1px solid var(--team-border, #e3e7ec) !important;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
	background: #fff;
}

	.team-staff__table thead th,
	.team-staff table#staff thead th {
		background: var(--team-gradient) !important;
		color: #fff !important;
		font-size: 11px !important;
		font-weight: 700 !important;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		text-align: center !important;
		padding: 10px 8px !important;
		border: none !important;
		vertical-align: middle;
	}

.team-staff__col-name,
.team-staff__col-position,
.team-staff__col-agent {
	text-align: left !important;
}

.team-staff__col-since {
	text-align: center !important;
	min-width: 70px;
}

.team-staff__col-photo {
	width: 56px;
	min-width: 56px;
}

.team-staff__table tbody td,
.team-staff table#staff tbody td {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 13px !important;
	padding: 10px 10px !important;
	border: none !important;
	border-bottom: 1px solid #eeeeee !important;
	vertical-align: middle;
	color: var(--team-text-body, #333333) !important;
}

.team-staff__table tbody tr.team-staff__row:nth-child(odd),
.team-staff table#staff tbody tr.team-staff__row:nth-child(odd) {
	background-color: #ffffff !important;
}

.team-staff__table tbody tr.team-staff__row:nth-child(even),
.team-staff table#staff tbody tr.team-staff__row:nth-child(even) {
	background-color: var(--team-surface-alt, #ebf3fb) !important;
}

.team-staff__table tbody tr.team-staff__row:hover,
.team-staff table#staff tbody tr.team-staff__row:hover {
	background: var(--team-gradient-soft) !important;
}

.team-staff__photo {
	text-align: center !important;
	width: 56px;
	padding: 6px 8px !important;
}

.team-staff__photo-img {
	display: block;
	width: 40px;
	height: auto;
	max-height: 54px;
	margin: 0 auto;
	object-fit: cover;
	border-radius: 4px;
}

.team-staff__photo-img--placeholder {
	width: 42px;
	max-height: 56px;
}

.team-staff__name {
	text-align: left !important;
	min-width: 140px;
	font-weight: 600;
}

.team-staff__position {
	min-width: 120px;
}

.team-staff__since {
	text-align: center !important;
	white-space: nowrap;
}

.team-staff__agent {
	min-width: 100px;
}

.team-staff__agent-edit img {
	width: 14px;
	height: 14px;
	vertical-align: middle;
	margin-left: 4px;
}

.team-staff__agent-add {
	font-size: 12px;
	font-weight: 700;
}

.team-staff__empty {
	margin: 20px 0;
	padding: 16px 18px;
	background: var(--team-surface-alt, #ebf3fb);
	border: 1px solid var(--team-border, #e3e7ec);
	border-radius: 10px;
	font-size: 14px;
	color: var(--team-text-muted, #6c7a8a);
	text-align: center;
}

@media only screen and (max-width: 700px) {
	.team-staff__table,
	.team-staff table#staff {
		font-size: 12px !important;
	}

		.team-staff__table thead th,
		.team-staff__table tbody td {
			padding: 8px 6px !important;
		}

	.team-staff__photo-img {
		width: 34px;
		max-height: 46px;
	}
}*/

/* Override legacy theme: keep widget borders, drop extra top margin */
.teampageclassmiddle .team-home .team-authorstable,
.teampageclassmiddle .team-home #divCenter0.team-authorstable,
.teampageclassmiddle .team-home #divCenter2.team-authorstable,
.teampageclassmiddle .team-home table.ctrtblmobileteam {
	border: 1px solid var(--team-border, #e3e7ec) !important;
	margin-top: 0;
	box-shadow: 0 1px 4px rgba(31, 106, 175, 0.08);
}

/* === Home: right-rail side column (Standings + Games + Coaches) === */
.team-home #TeamSeasonMenu.team-home-side {
	padding-left: 14px;
	padding-right: 14px;
}

.team-home #tdCenter.team-home-side__block,
.team-home #tdLeft.team-home-side__block {
	border: none !important;
	outline: none !important;
}

.team-home-side__block {
	margin-bottom: 16px;
}

	.team-home-side__block > *:last-child {
		margin-bottom: 0;
	}

	.team-home-side__block .divgivetop10space,
	.team-home-side__block div[id^="divLeft"] {
		margin-top: 0 !important;
	}

	.team-home-side__block > table:first-child,
	.team-home-side__block > div:first-child > table:first-child {
		margin-top: 0;
	}

/* Make the standings/games/coaches tables fully fit inside the narrower right column. */
.team-home-side__block {
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

	.team-home-side__block table {
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
	}

		.team-home-side__block .team-authorstable,
		.team-home-side__block #divCenter0,
		.team-home-side__block #divCenter2,
		.team-home-side__block table.ctrtblmobileteam,
		.team-home-side__block table.authorstable {
			max-width: 100% !important;
		}

	.team-home-side__block div[id^="divLeft"] {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

@media (max-width: 991px) {
	.team-home #TeamSeasonMenu.team-home-side {
		padding-left: 0;
		padding-right: 0;
	}

	.team-home #divCenter2 > div[style*="width: 80%"] {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
	}

	.team-home #divCenter2 > div[style*="width: 18%"] {
		width: 56px !important;
		max-width: 56px !important;
		float: left !important;
	}
}


/* Keep icon fonts intact (Font Awesome 5 + glyphicons).
   FA5 splits glyphs between two fonts:
     - solid/regular/light (.fas/.far/.fal) and FA4-legacy (.fa) live in "Font Awesome 5 Free"
     - brand glyphs (.fab ï¿½ facebook/instagram/...) live in "Font Awesome 5 Brands"

   The OSB rule above uses "*:not(#__nope__)" which has specificity (2,1,0) (two
   :not-id boosts). A plain ".fab" selector only reaches (1,2,0) and loses on the
   id-column. We add ":not(#__nope__)" to the icon class to push the icon rule to
   (2,2,0) so it wins. Brands glyphs were rendering as tofu boxes for this reason. */
/* IMPORTANT: Font Awesome renders the actual glyph inside ::before
   (e.g. .fa-facebook-f::before { content: "\f39e" }). We must override font-family for BOTH
   the element AND its ::before/::after pseudos. */
.teampageclassmiddle:not(#__nope__) .fa:not(#__nope__),
.teampageclassmiddle:not(#__nope__) .fas:not(#__nope__),
.teampageclassmiddle:not(#__nope__) .far:not(#__nope__),
.teampageclassmiddle:not(#__nope__) .fal:not(#__nope__),
.teampageclassmiddle:not(#__nope__) .fad:not(#__nope__),
.teampageclassmiddle:not(#__nope__) .fa:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) .fas:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) .far:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) .fal:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) .fad:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) .fa:not(#__nope__)::after,
.teampageclassmiddle:not(#__nope__) .fas:not(#__nope__)::after,
.teampageclassmiddle:not(#__nope__) .far:not(#__nope__)::after,
.teampageclassmiddle:not(#__nope__) .fal:not(#__nope__)::after,
.teampageclassmiddle:not(#__nope__) .fad:not(#__nope__)::after {
	font-family: "Font Awesome 5 Free", FontAwesome !important;
}

.teampageclassmiddle:not(#__nope__) .fab:not(#__nope__),
.teampageclassmiddle:not(#__nope__) .fab:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) .fab:not(#__nope__)::after {
	font-family: "Font Awesome 5 Brands" !important;
}

.teampageclassmiddle:not(#__nope__) .glyphicon:not(#__nope__),
.teampageclassmiddle:not(#__nope__) [class*=" glyphicon-"]:not(#__nope__),
.teampageclassmiddle:not(#__nope__) [class^="glyphicon-"]:not(#__nope__),
.teampageclassmiddle:not(#__nope__) .glyphicon:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) [class*=" glyphicon-"]:not(#__nope__)::before,
.teampageclassmiddle:not(#__nope__) [class^="glyphicon-"]:not(#__nope__)::before {
	font-family: "Glyphicons Halflings" !important;
}


/* ===== Non-roster tabs: no horizontal scroll, roster-like wrapping tables ===== */
.teampageclassmiddle .team-games .table-container,
.teampageclassmiddle .team-stats .table-container,
.teampageclassmiddle .team-history .table-container,
.teampageclassmiddle .team-staff .table-container,
.teampageclassmiddle .team-explayers .table-container,
.teampageclassmiddle .team-compare .table-container,
.teampageclassmiddle .team-games [class*="table-wrap"],
.teampageclassmiddle .team-stats [class*="table-wrap"],
.teampageclassmiddle .team-history [class*="table-wrap"],
.teampageclassmiddle .team-staff [class*="table-wrap"],
.teampageclassmiddle .team-explayers [class*="table-wrap"],
.teampageclassmiddle .team-compare [class*="table-wrap"],
.teampageclassmiddle .team-stats .ampl_stats,
.teampageclassmiddle .team-compare #plH2Hagainst,
.teampageclassmiddle .team-compare .againstteam {
	overflow-x: visible !important;
	overflow-y: visible !important;
	max-width: 100% !important;
}

.teampageclassmiddle .team-games table:not(#trRoster),
.teampageclassmiddle .team-stats table:not(#trRoster),
.teampageclassmiddle .team-history table:not(#trRoster),
.teampageclassmiddle .team-staff table:not(#trRoster),
.teampageclassmiddle .team-explayers table:not(#trRoster),
.teampageclassmiddle .team-compare table:not(#trRoster) {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	table-layout: auto !important;
}

	.teampageclassmiddle .team-games table:not(#trRoster) th,
	.teampageclassmiddle .team-games table:not(#trRoster) td,
	.teampageclassmiddle .team-stats table:not(#trRoster) th,
	.teampageclassmiddle .team-stats table:not(#trRoster) td,
	.teampageclassmiddle .team-history table:not(#trRoster) th,
	.teampageclassmiddle .team-history table:not(#trRoster) td,
	.teampageclassmiddle .team-staff table:not(#trRoster) th,
	.teampageclassmiddle .team-staff table:not(#trRoster) td,
	.teampageclassmiddle .team-explayers table:not(#trRoster) th,
	.teampageclassmiddle .team-explayers table:not(#trRoster) td,
	.teampageclassmiddle .team-compare table:not(#trRoster) th,
	.teampageclassmiddle .team-compare table:not(#trRoster) td {
		white-space: normal !important;
		word-break: break-word !important;
		overflow-wrap: anywhere !important;
	}

/* Final priority: if summary is stacked below ARRIVED/LEFT, force one-line layout */
.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary,
.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary,
.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary,
#divLeftJunior.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary,
#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary {
	flex: 1 1 100% !important;
	width: 100% !important;
	max-width: 100% !important;
}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary,
	#divLeftJunior.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary {
		width: 100% !important;
		max-width: 100% !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	#divLeftJunior.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 14px !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		width: auto !important;
		max-width: none !important;
		flex: 0 0 auto !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row {
		margin-top: 0 !important;
		padding-top: 0 !important;
		border-top: 0 !important;
	}

@media only screen and (max-width: 900px) {
	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	#divLeftJunior.team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__body {
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 6px !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__imports-row {
		justify-content: space-between !important;
		align-items: stretch !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 auto !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main {
		align-items: stretch !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		min-height: 58px !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		padding-left: 4px !important;
		padding-right: 4px !important;
	}

		.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat + .team-roster-summary__stat,
		.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat + .team-roster-summary__stat,
		.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat + .team-roster-summary__stat,
		#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stat + .team-roster-summary__stat {
			border-left: 1px solid var(--team-border, #e3e7ec) !important;
			margin-left: 0 !important;
			padding-left: 4px !important;
		}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat + .team-roster-summary__stat,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat + .team-roster-summary__stat,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat + .team-roster-summary__stat,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat + .team-roster-summary__stat {
		border-left: 1px solid var(--team-border, #e3e7ec) !important;
	}

	/* When a divider node is between stats, ensure AGE still gets left separator */
	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat:last-child,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat:last-child,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat:last-child,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__stat:last-child {
		border-left: 1px solid var(--team-border, #e3e7ec) !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__value,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__value,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__value,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__value {
		font-size: 17px !important;
		white-space: nowrap !important;
		line-height: 1 !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight {
		font-size: 17px !important;
		white-space: nowrap !important;
		line-height: 1 !important;
		display: inline-block;
		text-align: center;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__label,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__label,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__label,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__label {
		font-size: 9px !important;
		white-space: nowrap !important;
		line-height: 1.1 !important;
		margin-top: 3px !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__divider,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__divider,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__divider,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__divider {
		display: none !important;
	}

	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__divider,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__divider,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__divider,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary .team-roster-summary__stats--main .team-roster-summary__divider {
		display: none !important;
	}
}

@media only screen and (max-width: 480px) {
	.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight,
	.col-md-9.teampageclassmiddle .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight,
	.teampageclassmiddle.col-md-9 .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight,
	#divLeftJunior .team-roster-transfers-zone.is-stacked .team-roster-transfers-zone__summary #spanRosterAvgHeight {
		font-size: 16px !important;
		white-space: normal !important;
		line-height: 1.05 !important;
	}
}

/* Final compact roster tuning: match dense mobile table */
@media only screen and (max-width: 780px) {
	#trRoster.team-roster-table .roster-col-num,
	#trRoster.team-roster-table .tduninumber {
		width: 8% !important;
		max-width: none !important;
	}

	#trRoster.team-roster-table .roster-col-name {
		width: 20% !important;
		padding-left: 6px !important;
		padding-right: 2px !important;
	}

	#trRoster.team-roster-table .roster-col-agent,
	#trRoster.team-roster-table .agentCol {
		width: 22% !important;
	}

	#trRoster.team-roster-table tbody td,
	#trRoster.team-roster-table tbody td font {
		font-size: 8.6px !important;
		line-height: 1.12 !important;
	}

		#trRoster.team-roster-table .roster-col-name a.roster-player-link,
		#trRoster.team-roster-table tbody td.roster-col-name a,
		#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
		#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter,
		#trRoster.team-roster-table .spnplnamemobile,
		#trRoster.team-roster-table .spnplnamedesktop {
			font-size: 10px !important;
			line-height: 1.12 !important;
		}

	#trRoster.team-roster-table .spnplnamemobile {
		display: inline !important;
	}

	#trRoster.team-roster-table .spnplnamedesktop {
		display: none !important;
	}

	#trRoster.team-roster-table thead th,
	#trRoster.team-roster-table thead th b,
	#trRoster.team-roster-table thead th font {
		font-size: 7.8px !important;
		padding: 5px 0 !important;
		letter-spacing: 0 !important;
	}

		#trRoster.team-roster-table thead th:first-child {
			padding-left: 0 !important;
		}

		#trRoster.team-roster-table thead th.roster-sortable {
			padding-right: 10px !important;
		}

			#trRoster.team-roster-table thead th.roster-sortable::after {
				/* right: 2px; */
				/* border-left-width: 3px; */
				/* border-right-width: 3px; */
				/* border-top-width: 4px; */
			}
}

@media only screen and (max-width: 620px) {
	#trRoster.team-roster-table .roster-col-name {
		width: 25% !important;
	}

	#trRoster.team-roster-table .roster-col-agent,
	#trRoster.team-roster-table .agentCol {
		width: 23% !important;
	}

	#trRoster.team-roster-table .roster-col-name a.roster-player-link,
	#trRoster.team-roster-table tbody td.roster-col-name a,
	#trRoster.team-roster-table .roster-col-name a.roster-player-link--starter,
	#trRoster.team-roster-table tbody td.roster-col-name a.roster-player-link--starter,
	#trRoster.team-roster-table .spnplnamemobile,
	#trRoster.team-roster-table .spnplnamedesktop {
		font-size: 10px !important;
	}

	#trRoster.team-roster-table thead th,
	#trRoster.team-roster-table thead th b,
	#trRoster.team-roster-table thead th font {
		font-size: 7.2px !important;
	}
}

@media only screen and (max-width: 560px) {
	/* Diagonal header labels for very narrow screens */
	#trRoster.team-roster-table thead th {
		height: 32px !important;
		padding: 2px 0 !important;
		vertical-align: bottom !important;
		overflow: visible !important;
	}

		#trRoster.team-roster-table thead th b,
		#trRoster.team-roster-table thead th font {
			display: inline-block !important;
			transform-origin: left bottom;
			white-space: nowrap !important;
			font-size: 6.8px !important;
			line-height: 1 !important;
		}

		#trRoster.team-roster-table thead th.roster-sortable::after {
			display: none !important;
		}
}

/* Final priority: left-align selected roster columns */
#trRoster.team-roster-table th.roster-col-name,
#trRoster.team-roster-table td.roster-col-name,
#trRoster.team-roster-table th.roster-col-former,
#trRoster.team-roster-table td.roster-col-former,
#trRoster.team-roster-table th.formerteamcls,
#trRoster.team-roster-table td.formerteamcls,
#trRoster.team-roster-table th.roster-col-agent,
#trRoster.team-roster-table td.roster-col-agent,
#trRoster.team-roster-table td.agentCol {
	text-align: left !important;
}

#trRoster.team-roster-table th.roster-col-name,
#trRoster.team-roster-table th.roster-col-height,
#trRoster.team-roster-table th.roster-col-former,
#trRoster.team-roster-table th.formerteamcls,
#trRoster.team-roster-table th.roster-col-agent {
	padding-left: 6px !important;
}

#trRoster.team-roster-table .roster-col-name a.roster-player-link,
#trRoster.team-roster-table tbody td.roster-col-name a,
#trRoster.team-roster-table .agentCol a.roster-agent-link,
#trRoster.team-roster-table .agentCol a[href*="hoopsagents"],
#trRoster.team-roster-table .agentCol .roster-add-link,
#trRoster.team-roster-table .formerteamcls a,
#trRoster.team-roster-table .roster-col-former a,
#trRoster.team-roster-table .roster-height-text {
	text-align: left !important;
}

#trRoster.team-roster-table td.roster-col-name > font,
#trRoster.team-roster-table td.roster-col-height > font,
#trRoster.team-roster-table td.tdhightcls > font,
#trRoster.team-roster-table td.roster-col-former > font,
#trRoster.team-roster-table td.formerteamcls > font,
#trRoster.team-roster-table td.roster-col-agent > font,
#trRoster.team-roster-table td.agentCol > font {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;
	width: 100% !important;
	text-align: left !important;
}

@media (max-width: 600px) {
	#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__player a.left_cls, #divLeftJunior .team-roster-transfers-zone .team-roster-transfers__player a,
	#divLeftJunior .team-roster-transfers-zone .team-roster-transfers__team a.left_cls, #divLeftJunior .team-roster-transfers-zone .team-roster-transfers__team a {
		font-size: 14px !important;
	}
}