/* =========================================================
   TEST AV LAGDELTE SPILLERKORT
   Lastes etter lagside.css og påvirker bare .player-card-player.
========================================================= */

.lagside-roster .isotope-item {
	background: transparent;
}

/* Myk overgang fra laginformasjon til den lillatonede spillerseksjonen. */
.lagside-team-section {
	padding-bottom: 68px;
}

.lagside-roster {
	padding-top: 68px;
	background:
		linear-gradient(
			180deg,
			#fcfaff 0,
			#faf7fd 90px,
			#f8f3fc 180px,
			#f8f3fc 100%
		);
}

.player-card-player {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: transparent;
	box-shadow: 0 18px 45px rgba(42, 8, 75, 0.2);
	overflow: hidden;
	cursor: pointer;
	text-align: left;
	isolation: isolate;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	transition: transform 300ms ease, box-shadow 300ms ease;
}

.player-card-player__canvas {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: inherit;
	clip-path: inset(0 round 22px);
	background: #25003a;
}

.player-card-player .player-card-player__layer {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.player-card-player__background {
	z-index: 4;
	object-fit: cover;
}

.player-card-player__splash-back {
	z-index: 6;
}

.player-card-player__person {
	z-index: 8;
	transform: scale(1.002);
	transform-origin: center bottom;
	transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.player-card-player__splash-front {
	z-index: 9;
	transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.player-card-player__identity {
	position: absolute;
	z-index: 12;
	left: clamp(14px, 7%, 28px);
	right: clamp(14px, 7%, 28px);
	bottom: clamp(15px, 6%, 30px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: #fff;
	text-shadow: 0 3px 16px rgba(24, 0, 42, 0.75);
	pointer-events: none;
}

.player-card-player__position {
	display: inline-flex;
	margin-bottom: 5px;
	padding: 4px 9px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 999px;
	background: rgba(42, 5, 67, 0.52);
	font-size: clamp(0.58rem, 1.2vw, 0.72rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

.player-card-player__name {
	max-width: 82%;
	font-size: clamp(1rem, 2.25vw, 1.65rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.player-card-player__number {
	position: absolute;
	z-index: 11;
	right: clamp(12px, 6%, 25px);
	bottom: clamp(10px, 3.5%, 18px);
	color: rgba(255, 255, 255, 0.2);
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 900;
	line-height: 0.78;
	letter-spacing: -0.08em;
	text-shadow: 0 3px 18px rgba(20, 0, 36, 0.2);
	pointer-events: none;
}

.player-card-player__noise {
	z-index: 14;
	object-fit: cover;
	mix-blend-mode: soft-light;
	opacity: 0.32;
}

.player-card-player::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 15;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: inherit;
	pointer-events: none;
}

.player-card-player:hover,
.player-card-player:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 25px 55px rgba(42, 8, 75, 0.32);
}

.player-card-player:hover .player-card-player__person,
.player-card-player:focus-visible .player-card-player__person {
	transform: scale(1.012);
}

.player-card-player:hover .player-card-player__splash-front,
.player-card-player:focus-visible .player-card-player__splash-front {
	transform: translateY(2px) scale(1.006);
}

.player-card-player:focus-visible {
	outline: 3px solid #d7a9ff;
	outline-offset: 4px;
}

/* =========================================================
   NY SPILLERPROFIL-MODAL
========================================================= */

body.player-modal-is-open .modal-backdrop {
	background: #100717;
	-webkit-backdrop-filter: blur(15px) brightness(0.38);
	backdrop-filter: blur(15px) brightness(0.38);
}

body.player-modal-is-open .modal-backdrop.show {
	opacity: 0.86;
}

/* Direkte overstyring av Bootstrap/Porto på denne testsiden. */
body.lag-page.lagside-page > .modal-backdrop.fade.show {
	background-color: rgba(22, 8, 30, 0.68) !important;
	opacity: 1 !important;
	-webkit-backdrop-filter: blur(16px) brightness(0.52) saturate(0.82) !important;
	backdrop-filter: blur(16px) brightness(0.52) saturate(0.82) !important;
}

.player-profile-modal-shell .modal-dialog {
	max-width: min(980px, calc(100vw - 32px));
}

.lagside-player-modal .player-profile-modal {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 22px;
	background: transparent;
	box-shadow: 0 32px 95px rgba(10, 2, 16, 0.72);
	overflow: hidden;
}

.lagside-player-modal .player-profile-modal__body {
	padding: 0;
	background: transparent;
	overflow: hidden;
}

.player-profile-modal__x {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 20;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: rgba(54, 18, 72, 0.86);
	opacity: 0.9;
	box-shadow: 0 6px 22px rgba(15, 2, 24, 0.38);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: pointer;
}

.player-profile-modal__x span::before,
.player-profile-modal__x span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
}

.player-profile-modal__x span::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.player-profile-modal__x span::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.player-profile-modal__x:hover,
.player-profile-modal__x:focus-visible {
	background: rgba(103, 40, 137, 0.96);
	opacity: 1;
}

.player-profile-modal__x:focus-visible {
	outline: 2px solid #e1b9ff;
	outline-offset: 3px;
}

.player-profile-stage {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 610px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(circle at 73% 38%, rgba(188, 78, 255, 0.55) 0%, rgba(131, 27, 193, 0.2) 28%, transparent 53%),
		radial-gradient(circle at 9% 90%, rgba(128, 40, 179, 0.28), transparent 42%),
		linear-gradient(135deg, #25102f 0%, #351344 43%, #4e126e 72%, #260b37 100%);
}

.player-profile-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(25, 8, 34, 0.34) 0%, rgba(25, 8, 34, 0.08) 47%, transparent 72%);
	pointer-events: none;
}

.player-profile-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 6;
	background: url("../img/stavanger/profil/noise_zindex14.webp") center / cover no-repeat;
	mix-blend-mode: soft-light;
	opacity: 0.12;
	pointer-events: none;
}

.player-profile-stage__copy {
	position: relative;
	z-index: 8;
	display: flex;
	flex: 0 0 57%;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 64px 36px 82px 58px;
}

.player-profile-stage__copy .lagside-player-kicker {
	margin-bottom: 10px;
	color: #dcbcff;
}

.player-profile-stage__copy h2 {
	max-width: 530px;
	margin: 0;
	color: #fff;
	font-size: clamp(2.65rem, 5vw, 4.7rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.055em;
}

.player-profile-stage__copy .lagside-player-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 30px 0 24px;
}

.player-profile-stage__copy .lagside-player-facts span {
	padding: 8px 11px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.player-profile-stage__copy .lagside-player-facts strong {
	margin-left: 3px;
	color: #fff;
}

.player-profile-stage__facts {
	max-width: 440px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.95rem;
	line-height: 1.72;
}

.player-profile-stage__visual {
	position: absolute;
	z-index: 4;
	top: 0;
	right: -2%;
	bottom: 0;
	width: 63%;
	pointer-events: none;
}

.player-profile-stage__glow {
	position: absolute;
	top: 13%;
	right: 8%;
	bottom: 8%;
	left: 18%;
	border-radius: 50%;
	background: rgba(214, 131, 255, 0.29);
	filter: blur(48px);
}

.player-profile-stage__person {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: -1%;
	display: block;
	width: 116%;
	height: 104%;
	max-width: none;
	object-fit: contain;
	object-position: center bottom;
	transform: translateX(-50%);
	filter: drop-shadow(0 23px 25px rgba(17, 2, 27, 0.4));
}

.player-profile-stage__number {
	position: absolute;
	z-index: 2;
	right: 1.5%;
	bottom: -4%;
	color: rgba(255, 255, 255, 0.07);
	font-size: clamp(12rem, 27vw, 20rem);
	font-weight: 900;
	line-height: 0.75;
	letter-spacing: -0.1em;
	pointer-events: none;
}

.player-profile-stage__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
	padding: 13px 18px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.94);
	color: #42135c;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(18, 3, 28, 0.24);
	transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.player-profile-stage__link i {
	font-size: 0.78rem;
	transition: transform 180ms ease;
}

.player-profile-stage__link:hover,
.player-profile-stage__link:focus-visible {
	background: #fff;
	color: #6f1ca0;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(18, 3, 28, 0.32);
}

.player-profile-stage__link:hover i,
.player-profile-stage__link:focus-visible i {
	transform: translateX(3px);
}

.player-profile-stage__link:focus-visible {
	outline: 2px solid #e1b9ff;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.lagside-team-section {
		padding-bottom: 54px;
	}

	.lagside-roster {
		padding-top: 52px;
		padding-bottom: 58px;
		background:
			linear-gradient(
				180deg,
				#fcfaff 0,
				#faf7fd 60px,
				#f8f3fc 120px,
				#f8f3fc 100%
			);
	}

	.player-card-player {
		border-radius: 16px;
	}

	.player-card-player__canvas {
		clip-path: inset(0 round 16px);
	}

	.player-card-player__identity {
		left: 16px;
		right: 16px;
		bottom: 17px;
	}

	.player-card-player__name {
		max-width: 82%;
		font-size: clamp(1.4rem, 6.2vw, 1.75rem);
		line-height: 0.95;
	}

	.player-card-player__position {
		margin-bottom: 8px;
		padding: 5px 10px;
		font-size: 0.72rem;
	}

	.player-card-player__number {
		right: 10px;
		bottom: 10px;
		font-size: clamp(2.7rem, 14vw, 4.6rem);
	}

	.player-profile-modal-shell .modal-dialog {
		max-width: calc(100vw - 24px);
		margin: 12px auto;
	}

	.lagside-player-modal .player-profile-modal {
		border-radius: 18px;
	}

	.player-profile-stage {
		flex-direction: column;
		min-height: 0;
	}

	.player-profile-stage__visual {
		position: relative;
		order: 1;
		top: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		height: min(105vw, 460px);
		min-height: 350px;
	}

	.player-profile-stage__person {
		bottom: -2%;
		width: 122%;
		height: 112%;
	}

	.player-profile-stage__number {
		top: 22%;
		right: 2%;
		bottom: auto;
		font-size: clamp(9rem, 48vw, 15rem);
	}

	.player-profile-stage__copy {
		order: 2;
		flex: 0 0 auto;
		padding: 28px 24px 30px;
	}

	.player-profile-stage__copy h2 {
		font-size: clamp(2.25rem, 11vw, 3.5rem);
	}

	.player-profile-stage__copy .lagside-player-facts {
		margin: 23px 0 20px;
	}

	.player-profile-stage__facts {
		font-size: 0.9rem;
		line-height: 1.65;
	}

	.player-profile-stage__link {
		align-self: stretch;
		margin-top: 26px;
		padding: 15px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.player-card-player,
	.player-card-player__person,
	.player-card-player__splash-front {
		transition: none;
	}

	.player-card-player:hover,
	.player-card-player:focus-visible,
	.player-card-player:hover .player-card-player__person,
	.player-card-player:focus-visible .player-card-player__person,
	.player-card-player:hover .player-card-player__splash-front,
	.player-card-player:focus-visible .player-card-player__splash-front {
		transform: none;
	}
}
/* =========================================================
   TEST AV LAGDELTE SPILLERKORT
   Lastes etter lagside.css og påvirker bare .player-card-player.
========================================================= */

.lagside-roster .isotope-item {
	background: transparent;
}

.player-card-player {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: transparent;
	box-shadow: 0 18px 45px rgba(42, 8, 75, 0.2);
	overflow: hidden;
	cursor: pointer;
	text-align: left;
	isolation: isolate;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	transition: transform 300ms ease, box-shadow 300ms ease;
}

.player-card-player__canvas {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: inherit;
	clip-path: inset(0 round 22px);
	background: #25003a;
}

.player-card-player .player-card-player__layer {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.player-card-player__background {
	z-index: 4;
	object-fit: cover;
}

.player-card-player__splash-back {
	z-index: 6;
}

.player-card-player__person {
	z-index: 8;
	transform: scale(1.002);
	transform-origin: center bottom;
	transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.player-card-player__splash-front {
	z-index: 9;
	transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.player-card-player__identity {
	position: absolute;
	z-index: 12;
	left: clamp(14px, 7%, 28px);
	right: clamp(14px, 7%, 28px);
	bottom: clamp(15px, 6%, 30px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: #fff;
	text-shadow: 0 3px 16px rgba(24, 0, 42, 0.75);
	pointer-events: none;
}

.player-card-player__position {
	display: inline-flex;
	margin-bottom: 5px;
	padding: 4px 9px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 999px;
	background: rgba(42, 5, 67, 0.52);
	font-size: clamp(0.58rem, 1.2vw, 0.72rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

.player-card-player__name {
	max-width: 82%;
	font-size: clamp(1rem, 2.25vw, 1.65rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.player-card-player__number {
	position: absolute;
	z-index: 11;
	right: clamp(12px, 6%, 25px);
	bottom: clamp(10px, 3.5%, 18px);
	color: rgba(255, 255, 255, 0.2);
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 900;
	line-height: 0.78;
	letter-spacing: -0.08em;
	text-shadow: 0 3px 18px rgba(20, 0, 36, 0.2);
	pointer-events: none;
}

.player-card-player__noise {
	z-index: 14;
	object-fit: cover;
	mix-blend-mode: soft-light;
	opacity: 0.32;
}

.player-card-player::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 15;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: inherit;
	pointer-events: none;
}

.player-card-player:hover,
.player-card-player:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 25px 55px rgba(42, 8, 75, 0.32);
}

.player-card-player:hover .player-card-player__person,
.player-card-player:focus-visible .player-card-player__person {
	transform: scale(1.012);
}

.player-card-player:hover .player-card-player__splash-front,
.player-card-player:focus-visible .player-card-player__splash-front {
	transform: translateY(2px) scale(1.006);
}

.player-card-player:focus-visible {
	outline: 3px solid #d7a9ff;
	outline-offset: 4px;
}

/* =========================================================
   NY SPILLERPROFIL-MODAL
========================================================= */

body.player-modal-is-open .modal-backdrop {
	background: #100717;
	-webkit-backdrop-filter: blur(15px) brightness(0.38);
	backdrop-filter: blur(15px) brightness(0.38);
}

body.player-modal-is-open .modal-backdrop.show {
	opacity: 0.86;
}

/* Direkte overstyring av Bootstrap/Porto på denne testsiden. */
body.lag-page.lagside-page > .modal-backdrop.fade.show {
	background-color: rgba(22, 8, 30, 0.68) !important;
	opacity: 1 !important;
	-webkit-backdrop-filter: blur(16px) brightness(0.52) saturate(0.82) !important;
	backdrop-filter: blur(16px) brightness(0.52) saturate(0.82) !important;
}

.player-profile-modal-shell .modal-dialog {
	max-width: min(980px, calc(100vw - 32px));
}

.lagside-player-modal .player-profile-modal {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 22px;
	background: transparent;
	box-shadow: 0 32px 95px rgba(10, 2, 16, 0.72);
	overflow: hidden;
}

.lagside-player-modal .player-profile-modal__body {
	padding: 0;
	background: transparent;
	overflow: hidden;
}

.player-profile-modal__x {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 20;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: rgba(54, 18, 72, 0.86);
	opacity: 0.9;
	box-shadow: 0 6px 22px rgba(15, 2, 24, 0.38);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: pointer;
}

.player-profile-modal__x span::before,
.player-profile-modal__x span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
}

.player-profile-modal__x span::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.player-profile-modal__x span::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.player-profile-modal__x:hover,
.player-profile-modal__x:focus-visible {
	background: rgba(103, 40, 137, 0.96);
	opacity: 1;
}

.player-profile-modal__x:focus-visible {
	outline: 2px solid #e1b9ff;
	outline-offset: 3px;
}

.player-profile-stage {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 610px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(circle at 73% 38%, rgba(188, 78, 255, 0.55) 0%, rgba(131, 27, 193, 0.2) 28%, transparent 53%),
		radial-gradient(circle at 9% 90%, rgba(128, 40, 179, 0.28), transparent 42%),
		linear-gradient(135deg, #25102f 0%, #351344 43%, #4e126e 72%, #260b37 100%);
}

.player-profile-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(25, 8, 34, 0.34) 0%, rgba(25, 8, 34, 0.08) 47%, transparent 72%);
	pointer-events: none;
}

.player-profile-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 6;
	background: url("../img/stavanger/profil/noise_zindex14.webp") center / cover no-repeat;
	mix-blend-mode: soft-light;
	opacity: 0.12;
	pointer-events: none;
}

.player-profile-stage__copy {
	position: relative;
	z-index: 8;
	display: flex;
	flex: 0 0 57%;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 64px 36px 82px 58px;
}

.player-profile-stage__copy .lagside-player-kicker {
	margin-bottom: 10px;
	color: #dcbcff;
}

.player-profile-stage__copy h2 {
	max-width: 530px;
	margin: 0;
	color: #fff;
	font-size: clamp(2.65rem, 5vw, 4.7rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.055em;
}

.player-profile-stage__copy .lagside-player-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 30px 0 24px;
}

.player-profile-stage__copy .lagside-player-facts span {
	padding: 8px 11px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.player-profile-stage__copy .lagside-player-facts strong {
	margin-left: 3px;
	color: #fff;
}

.player-profile-stage__facts {
	max-width: 440px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.95rem;
	line-height: 1.72;
}

.player-profile-stage__visual {
	position: absolute;
	z-index: 4;
	top: 0;
	right: -2%;
	bottom: 0;
	width: 63%;
	pointer-events: none;
}

.player-profile-stage__glow {
	position: absolute;
	top: 13%;
	right: 8%;
	bottom: 8%;
	left: 18%;
	border-radius: 50%;
	background: rgba(214, 131, 255, 0.29);
	filter: blur(48px);
}

.player-profile-stage__person {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: -1%;
	display: block;
	width: 116%;
	height: 104%;
	max-width: none;
	object-fit: contain;
	object-position: center bottom;
	transform: translateX(-50%);
	filter: drop-shadow(0 23px 25px rgba(17, 2, 27, 0.4));
}

.player-profile-stage__number {
	position: absolute;
	z-index: 2;
	right: 1.5%;
	bottom: -4%;
	color: rgba(255, 255, 255, 0.07);
	font-size: clamp(12rem, 27vw, 20rem);
	font-weight: 900;
	line-height: 0.75;
	letter-spacing: -0.1em;
	pointer-events: none;
}

.player-profile-stage__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
	padding: 13px 18px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.94);
	color: #42135c;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(18, 3, 28, 0.24);
	transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.player-profile-stage__link i {
	font-size: 0.78rem;
	transition: transform 180ms ease;
}

.player-profile-stage__link:hover,
.player-profile-stage__link:focus-visible {
	background: #fff;
	color: #6f1ca0;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(18, 3, 28, 0.32);
}

.player-profile-stage__link:hover i,
.player-profile-stage__link:focus-visible i {
	transform: translateX(3px);
}

.player-profile-stage__link:focus-visible {
	outline: 2px solid #e1b9ff;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.player-card-player {
		border-radius: 16px;
	}

	.player-card-player__canvas {
		clip-path: inset(0 round 16px);
	}

	.player-card-player__identity {
		left: 16px;
		right: 16px;
		bottom: 17px;
	}

	.player-card-player__name {
		max-width: 82%;
		font-size: clamp(1.4rem, 6.2vw, 1.75rem);
		line-height: 0.95;
	}

	.player-card-player__position {
		margin-bottom: 8px;
		padding: 5px 10px;
		font-size: 0.72rem;
	}

	.player-card-player__number {
		right: 10px;
		bottom: 10px;
		font-size: clamp(2.7rem, 14vw, 4.6rem);
	}

	.player-profile-modal-shell .modal-dialog {
		max-width: calc(100vw - 24px);
		margin: 12px auto;
	}

	.lagside-player-modal .player-profile-modal {
		border-radius: 18px;
	}

	.player-profile-stage {
		flex-direction: column;
		min-height: 0;
	}

	.player-profile-stage__visual {
		position: relative;
		order: 1;
		top: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		height: min(105vw, 460px);
		min-height: 350px;
	}

	.player-profile-stage__person {
		bottom: -2%;
		width: 122%;
		height: 112%;
	}

	.player-profile-stage__number {
		top: 22%;
		right: 2%;
		bottom: auto;
		font-size: clamp(9rem, 48vw, 15rem);
	}

	.player-profile-stage__copy {
		order: 2;
		flex: 0 0 auto;
		padding: 28px 24px 30px;
	}

	.player-profile-stage__copy h2 {
		font-size: clamp(2.25rem, 11vw, 3.5rem);
	}

	.player-profile-stage__copy .lagside-player-facts {
		margin: 23px 0 20px;
	}

	.player-profile-stage__facts {
		font-size: 0.9rem;
		line-height: 1.65;
	}

	.player-profile-stage__link {
		align-self: stretch;
		margin-top: 26px;
		padding: 15px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.player-card-player,
	.player-card-player__person,
	.player-card-player__splash-front {
		transition: none;
	}

	.player-card-player:hover,
	.player-card-player:focus-visible,
	.player-card-player:hover .player-card-player__person,
	.player-card-player:focus-visible .player-card-player__person,
	.player-card-player:hover .player-card-player__splash-front,
	.player-card-player:focus-visible .player-card-player__splash-front {
		transform: none;
	}
}
