.ws-main img {
	max-width: 100%;
	height: auto;
}

.ws-main .ws-hero-banner {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: 16rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 2.5rem 1.5rem;
	border-radius: 0.75rem;
	background: linear-gradient(135deg, #183b32, #182c3b);
	color: #fff;
	text-align: center;
}

.ws-main .ws-hero-banner::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 16, 24, 0.78), rgba(4, 16, 24, 0.35));
	content: "";
}

.ws-main .ws-hero-banner-image {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 58%;
}

.ws-main .ws-hero-banner h1,
.ws-main .ws-hero-banner p {
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.ws-main .ws-hero-banner h1 {
	margin-bottom: 0.65rem;
}

.ws-main .ws-hero-banner p {
	max-width: 55rem;
}

.ws-main .ws-hero-banner .btn {
	margin-top: 0.4rem;
}

.ws-main .ws-login-banner {
	min-height: 9rem;
	margin-bottom: 1rem;
}

.ws-main img.ws-logo-max-20 {
	width: 20px;
	height: 20px;
	max-width: 20px;
	object-fit: contain;
}

.ws-main img.ws-logo-table-40 {
	width: 40px;
	height: 40px;
	max-width: 40px;
	object-fit: contain;
	vertical-align: middle;
	position: relative;
	z-index: 1;
	transition: transform 0.2s ease;
}

.ws-main img.ws-logo-table-40:hover {
	transform: scale(2.5);
	z-index: 10;
}

.ws-main .ws-matchup {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	justify-items: center;
	gap: 0;
	width: 100%;
}

.ws-main [data-testid="results-list-table"] tbody td {
	vertical-align: middle;
}

.ws-main .ws-matchup-team {
	display: inline-flex;
	align-items: center;
	gap: 0.05rem;
	white-space: nowrap;
}

.ws-main .ws-matchup-team:first-child {
	justify-self: end;
}

.ws-main .ws-matchup-team:last-child {
	justify-self: start;
}

.ws-main .ws-matchup .ws-logo-table-40 {
	width: 32px;
	height: 32px;
	max-width: 32px;
}

.ws-main .ws-matchup-separator {
	display: inline-block;
	width: 1rem;
	font-weight: 700;
	text-align: center;
}

.ws-main .ws-match-date {
	font-size: 0.8rem;
	white-space: nowrap;
	vertical-align: middle;
}

.ws-main .ws-match-result {
	font-size: 1.25rem;
	font-weight: 700 !important;
	white-space: nowrap;
}

.ws-main .ws-chart-grades {
	width: 100%;
	max-width: 100%;
}

.ws-main .ws-chart-grades canvas {
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
}

.ws-main img.img-rounded {
	max-width: min(100%, 240px);
	max-height: 300px;
	object-fit: contain;
}

.ws-main .accordion-body {
	max-width: 100%;
	overflow-x: auto;
}

@media (max-width: 767.98px) {
	.ws-main .ws-player-details dt {
		width: 52%;
		margin-right: -52%;
		overflow: visible;
		text-overflow: clip;
		white-space: normal;
	}

	.ws-main .ws-player-details dd {
		margin-left: 55%;
		min-height: 1.5em;
	}
}

.ws-main .ws-sponsor-offer-logo {
	display: block;
	width: 120px;
	max-width: 100%;
	max-height: 64px;
	object-fit: contain;
}

.ws-main .ws-sponsor-detail-logo {
	display: block;
	width: 240px;
	max-width: 100%;
	max-height: 180px;
	margin: 0 auto;
	object-fit: contain;
}

.ws-sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.ws-sidebar-link {
	margin: 0 0.5rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--ws-sidebar-border);
	border-left: 3px solid transparent;
	border-radius: 0.5rem;
	background-color: var(--ws-muted-bg);
	font-weight: 600;
}

.ws-sidebar-link:hover,
.ws-sidebar-link:focus-visible {
	border-color: var(--ws-primary);
	border-left-color: var(--ws-primary);
	border-radius: 0.5rem;
}

.ws-sidebar-link.active {
	border-color: var(--ws-primary);
	border-left-color: var(--ws-primary);
	border-radius: 0.5rem;
	font-weight: 700;
}

body a:not(.btn):not(.dropdown-item):not(.nav-link):not(.ws-sidebar-link):not(.navbar-brand) {
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

body a:not(.btn):not(.dropdown-item):not(.nav-link):not(.ws-sidebar-link):not(.navbar-brand):hover,
body a:not(.btn):not(.dropdown-item):not(.nav-link):not(.ws-sidebar-link):not(.navbar-brand):focus-visible {
	color: var(--ws-primary-text);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.ws-sidebar-team img {
	width: 30px;
	height: 30px;
	max-width: 30px;
	object-fit: contain;
}

.ws-office-dashboard {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.ws-office-header {
	border: 1px solid var(--ws-border-color, rgba(15, 23, 42, 0.1));
	border-radius: 1rem;
	background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(16, 185, 129, 0.06));
}

.ws-office-team-logo {
	width: 64px;
	height: 64px;
	border-radius: 1rem;
	object-fit: contain;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--ws-border-color, rgba(15, 23, 42, 0.1));
	padding: 0.5rem;
}

.ws-office-team-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.7rem;
	color: var(--ws-primary-text, #0d6efd);
}

.ws-office-kpis {
	justify-content: flex-end;
}

.ws-office-status-card {
	display: grid;
	grid-template-columns: 2.6rem minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	min-height: 7.25rem;
	padding: 1rem 1rem 0.9rem;
	border: 1px solid var(--ws-border-color, rgba(15, 23, 42, 0.1));
	border-radius: 1rem;
	background: var(--ws-card-bg, #fff);
	box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.04);
}

.ws-office-status-card.is-success {
	border-color: rgba(25, 135, 84, 0.2);
	background: linear-gradient(135deg, rgba(25, 135, 84, 0.08), rgba(25, 135, 84, 0.02));
}

.ws-office-status-card.is-warning {
	border-color: rgba(255, 193, 7, 0.32);
	background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 193, 7, 0.02));
}

.ws-office-status-card.is-muted {
	background: linear-gradient(135deg, rgba(108, 117, 125, 0.06), rgba(108, 117, 125, 0.02));
}

.ws-office-status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 0.85rem;
	background: rgba(13, 110, 253, 0.08);
	color: var(--ws-primary-text, #0d6efd);
	font-size: 1.15rem;
}

.ws-office-status-card small {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--ws-muted-color, #6c757d);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ws-office-status-card strong {
	display: block;
	font-size: 1rem;
	line-height: 1.25;
}

.ws-office-status-meta {
	margin-top: 0.25rem;
	color: var(--ws-muted-color, #6c757d);
	font-size: 0.76rem;
}

.ws-office-panel {
	padding: 1.25rem;
	border: 1px solid var(--ws-border-color, rgba(15, 23, 42, 0.1));
	border-radius: 1rem;
	background: var(--ws-card-bg, #fff);
	box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.04);
}

.ws-office-panel h3 {
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

.ws-office-checklist {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ws-office-checkitem {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding: 0.85rem 0.8rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0.8rem;
	background: rgba(15, 23, 42, 0.02);
}

.ws-office-checkitem.done {
	border-color: rgba(25, 135, 84, 0.22);
	background: rgba(25, 135, 84, 0.04);
}

.ws-office-checkmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: rgba(13, 110, 253, 0.08);
	color: var(--ws-primary-text, #0d6efd);
	font-size: 1rem;
}

.ws-office-checkitem.done .ws-office-checkmark {
	background: rgba(25, 135, 84, 0.14);
	color: #198754;
}

.ws-office-checkitem p {
	margin: 0.25rem 0 0;
	color: var(--ws-muted-color, #6c757d);
	line-height: 1.5;
}

.ws-sidebar-crest {
	display: flex;
	justify-content: center;
	padding: .35rem 0 .75rem;
	margin-bottom: .5rem;
	border-bottom: 1px solid var(--ws-sidebar-border);
}

.ws-sidebar-crest img {
	width: 110px;
	height: 110px;
	max-width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
	transition: transform .2s ease;
}

.ws-sidebar-crest:hover img {
	transform: scale(1.06);
}

.ws-sidebar:has(.ws-sidebar-desktop-toggle[aria-expanded="false"]) .ws-sidebar-crest {
	padding: .2rem 0 .4rem;
	border-bottom: 0;
}

.ws-sidebar:has(.ws-sidebar-desktop-toggle[aria-expanded="false"]) .ws-sidebar-crest img {
	width: 40px;
	height: 40px;
}

.ws-office-match {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}

.ws-office-match-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .25rem .75rem;
}

.ws-office-match-head h3 {
	margin: 0;
}

.ws-office-match-meta {
	color: var(--ws-muted-color, #6c757d);
	font-size: .8rem;
}

.ws-office-matchup {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: .75rem;
}

.ws-main a.ws-office-matchup-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
	min-width: 0;
	text-align: center;
	font-size: .9rem;
}

.ws-office-matchup-team span {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ws-main img.ws-office-match-logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.ws-office-matchup-score {
	font-size: 1.6rem;
	font-weight: 800;
	white-space: nowrap;
}

.ws-office-match-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin-top: auto;
}

@media (max-width: 767.98px) {
	.ws-office-team-logo {
		width: 52px;
		height: 52px;
	}

	.ws-office-status-card {
		min-height: 6.25rem;
	}
}

/* Training changes in squad view */
.ws-training-delta { display:inline-block; margin-left:6px; padding:0 5px; border-radius:8px; font-size:11px; font-weight:700; line-height:16px; vertical-align:middle; }
.ws-training-delta.is-up { background:#d1f2dc; color:#137333; }
.ws-training-delta.is-down { background:#fde2e1; color:#b3261e; }