/**
 * Player Hub — template from sample-pages/login.html (scoped under .pch-auth-root).
 */

@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900");

.pch-auth-root {
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.7;
	color: #c4c3ca;
	background-color: #1f2029;
	overflow-x: hidden;
	min-height: 60vh;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 2rem 1rem 4rem;
	position: relative;
}

.pch-auth-root *,
.pch-auth-root *::before,
.pch-auth-root *::after {
	box-sizing: border-box;
}

.pch-auth-root a {
	cursor: pointer;
	transition: all 200ms linear;
	color: inherit;
	text-decoration: none;
}

.pch-auth-root a:hover {
	text-decoration: none;
}

.pch-auth-root .pch-auth-link {
	color: #c4c3ca;
}

.pch-auth-root .pch-auth-link:hover {
	color: #ffeba7;
}

.pch-auth-root p {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 0.75rem;
}

.pch-auth-root p:last-child {
	margin-bottom: 0;
}

.pch-auth-root h4 {
	font-weight: 600;
	margin: 0;
	color: #c4c3ca;
}

.pch-auth-root h6 {
	margin: 0;
	color: #c4c3ca;
}

.pch-auth-root h6 span {
	padding: 0 20px;
	text-transform: uppercase;
	font-weight: 700;
}

.pch-auth-root .pch-auth-page-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #ffeba7;
	text-align: center;
	margin: 0 0 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Hub layout: left nav + main panel (matches #2a2b38 / accent styling). */
.pch-auth-root .pch-hub-layout {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 1.5rem;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0.25rem;
}

.pch-auth-root .pch-hub-nav {
	flex: 0 0 220px;
	max-width: 100%;
	background-color: #2a2b38;
	background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg");
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: 280%;
	border: 1px solid rgba(255, 235, 167, 0.14);
	border-radius: 6px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
	padding: 0.35rem 0 0.75rem;
}

.pch-auth-root .pch-hub-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pch-auth-root .pch-hub-nav-link {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 1rem 0.7rem 0.85rem;
	margin: 0.15rem 0.5rem;
	border-radius: 4px;
	border-left: 3px solid transparent;
	font-size: 14px;
	font-weight: 500;
	color: #c4c3ca;
	text-decoration: none;
	transition: color 200ms linear, background 200ms linear, border-color 200ms linear;
}

.pch-auth-root .pch-hub-nav-link:hover {
	color: #ffeba7;
	background: rgba(255, 235, 167, 0.06);
}

.pch-auth-root .pch-hub-nav-link.is-active {
	color: #ffeba7;
	font-weight: 600;
	border-left-color: #ffeba7;
	background: rgba(255, 235, 167, 0.1);
}

.pch-auth-root .pch-hub-nav-icon {
	font-size: 1.15rem;
	line-height: 1;
	color: #9ea0a8;
	flex-shrink: 0;
}

.pch-auth-root .pch-hub-nav-link:hover .pch-hub-nav-icon,
.pch-auth-root .pch-hub-nav-link.is-active .pch-hub-nav-icon {
	color: #ffeba7;
}

.pch-auth-root .pch-hub-nav-text {
	flex: 1;
	min-width: 0;
}

.pch-auth-root .pch-hub-nav-brand {
	margin: 0 0.5rem 0.35rem;
	padding: 0.65rem 1rem 0.4rem;
	font-size: 12px;
	font-weight: 700;
	color: #ffeba7;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(255, 235, 167, 0.12);
}

.pch-auth-root .pch-hub-nav-item--logout {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.pch-auth-root .pch-hub-nav-item--account-block {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(255, 235, 167, 0.12);
}

.pch-auth-root .pch-hub-main {
	flex: 1;
	min-width: 0;
	width: 100%;
}

.pch-auth-root .pch-hub-main--auth {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

@media (max-width: 782px) {
	.pch-auth-root .pch-hub-layout {
		flex-direction: column;
		align-items: stretch;
	}

	.pch-auth-root .pch-hub-nav {
		flex: 0 0 auto;
		width: 100%;
	}

	.pch-auth-root .pch-hub-nav-list {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.25rem;
		padding: 0.25rem 0.35rem 0.5rem;
	}

	.pch-auth-root .pch-hub-nav-item {
		flex: 1 1 auto;
		min-width: calc(50% - 0.5rem);
	}

	.pch-auth-root .pch-hub-nav-item--logout {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
		flex-basis: 100%;
	}

	.pch-auth-root .pch-hub-nav-item--account-block {
		flex-basis: 100%;
		border-top: 1px solid rgba(255, 235, 167, 0.12);
		margin-top: 0.35rem;
		padding-top: 0.35rem;
	}

	.pch-auth-root .pch-hub-nav-link {
		margin: 0.1rem;
		justify-content: center;
		text-align: center;
	}
}

.pch-auth-root .pch-auth-section {
	position: relative;
	width: 100%;
	display: block;
}

.pch-auth-root .pch-auth-notice,
.pch-auth-root .pch-notice {
	margin: 0 auto 1.25rem;
	max-width: 440px;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: 14px;
	text-align: center;
}

.pch-auth-root .pch-auth-notice--error,
.pch-auth-root .pch-notice-error {
	background: rgba(214, 54, 56, 0.15);
	border: 1px solid #d63638;
	color: #fcb8b8;
}

.pch-auth-root .pch-notice-success {
	background: rgba(0, 163, 42, 0.15);
	border: 1px solid #00a32a;
	color: #b8f5c8;
}

.pch-auth-root [type="checkbox"].pch-auth-checkbox,
.pch-auth-root [type="checkbox"].pch-auth-checkbox:not(:checked) {
	position: absolute;
	left: -9999px;
}

.pch-auth-root .pch-auth-checkbox:checked + .pch-auth-toggle-label,
.pch-auth-root .pch-auth-checkbox:not(:checked) + .pch-auth-toggle-label {
	position: relative;
	display: block;
	text-align: center;
	width: 60px;
	height: 16px;
	border-radius: 8px;
	padding: 0;
	margin: 10px auto 0;
	cursor: pointer;
	background-color: #ffeba7;
}

.pch-auth-root .pch-auth-checkbox:checked + .pch-auth-toggle-label::before,
.pch-auth-root .pch-auth-checkbox:not(:checked) + .pch-auth-toggle-label::before {
	position: absolute;
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #ffeba7;
	background-color: #102770;
	font-family: "unicons", sans-serif;
	content: "\eb4f";
	z-index: 20;
	top: -10px;
	left: -10px;
	line-height: 36px;
	text-align: center;
	font-size: 24px;
	transition: all 0.5s ease;
}

.pch-auth-root .pch-auth-checkbox:checked + .pch-auth-toggle-label::before {
	transform: translateX(44px) rotate(-270deg);
}

.pch-auth-root .mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.pch-auth-root .card-3d-wrap {
	position: relative;
	width: 440px;
	max-width: 100%;
	height: 620px;
	transform-style: preserve-3d;
	perspective: 800px;
	margin: 2.5rem auto 0;
}

.pch-auth-root .card-3d-wrapper {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transform-style: preserve-3d;
	transition: all 600ms ease-out;
}

.pch-auth-root .card-front,
.pch-auth-root .card-back {
	width: 100%;
	height: 100%;
	background-color: #2a2b38;
	background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg");
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: 300%;
	position: absolute;
	border-radius: 6px;
	left: 0;
	top: 0;
	transform-style: preserve-3d;
	backface-visibility: hidden;
}

.pch-auth-root .card-back {
	transform: rotateY(180deg);
}

.pch-auth-root .pch-auth-checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {
	transform: rotateY(180deg);
}

.pch-auth-root .center-wrap {
	position: absolute;
	width: 100%;
	padding: 0 35px;
	top: 50%;
	left: 0;
	transform: translate3d(0, -50%, 35px) perspective(100px);
	z-index: 20;
	display: block;
	max-height: 95%;
	overflow-y: auto;
}

.pch-auth-root .form-group {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
}

.pch-auth-root .form-group.mt-2 {
	margin-top: 0.5rem;
}

.pch-auth-root .form-style,
.pch-auth-root select.form-style {
	padding: 13px 20px 13px 55px;
	height: 48px;
	width: 100%;
	font-weight: 500;
	border-radius: 4px;
	font-size: 14px;
	line-height: 22px;
	letter-spacing: 0.5px;
	outline: none;
	color: #c4c3ca;
	background-color: #1f2029;
	border: none;
	transition: all 200ms linear;
	box-shadow: 0 4px 8px 0 rgba(21, 21, 21, 0.2);
	appearance: none;
}

.pch-auth-root select.form-style {
	padding-left: 55px;
	cursor: pointer;
}

.pch-auth-root .form-style:focus,
.pch-auth-root .form-style:active {
	border: none;
	outline: none;
	box-shadow: 0 4px 8px 0 rgba(21, 21, 21, 0.2);
}

.pch-auth-root .input-icon {
	position: absolute;
	top: 0;
	left: 18px;
	height: 48px;
	font-size: 22px;
	line-height: 48px;
	text-align: left;
	color: #ffeba7;
	transition: all 200ms linear;
	pointer-events: none;
	z-index: 2;
}

.pch-auth-root .form-group input::placeholder,
.pch-auth-root .form-group select {
	color: #c4c3ca;
}

.pch-auth-root .form-group input::placeholder {
	opacity: 0.7;
}

.pch-auth-root .form-group input:focus::placeholder {
	opacity: 0;
}

.pch-auth-root .btn {
	border-radius: 4px;
	height: 44px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	transition: all 200ms linear;
	padding: 0 30px;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: none;
	background-color: #ffeba7;
	color: #102770;
	box-shadow: 0 8px 24px 0 rgba(255, 235, 167, 0.2);
	cursor: pointer;
	width: 100%;
	margin-top: 1rem;
}

.pch-auth-root .btn:active,
.pch-auth-root .btn:focus {
	background-color: #102770;
	color: #ffeba7;
	box-shadow: 0 8px 24px 0 rgba(16, 39, 112, 0.2);
}

.pch-auth-root .btn:hover {
	background-color: #102770;
	color: #ffeba7;
	box-shadow: 0 8px 24px 0 rgba(16, 39, 112, 0.2);
}

.pch-auth-root .btn-secondary {
	background-color: transparent;
	color: #ffeba7;
	border: 2px solid #ffeba7;
	box-shadow: none;
}

.pch-auth-root .btn-secondary:hover {
	background-color: rgba(255, 235, 167, 0.1);
	color: #ffeba7;
}

.pch-auth-root .pch-auth-logo {
	position: absolute;
	top: 24px;
	right: 24px;
	display: block;
	z-index: 100;
	transition: all 250ms linear;
}

.pch-auth-root .pch-auth-logo img {
	height: 28px;
	width: auto;
	display: block;
}

.pch-auth-root .pch-auth-logo--text {
	font-weight: 700;
	font-size: 14px;
	color: #ffeba7;
	letter-spacing: 0.05em;
}

.pch-auth-root .pch-auth-remember {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-top: 0.75rem;
	font-size: 13px;
	color: #c4c3ca;
}

.pch-auth-root .pch-auth-remember input {
	width: auto;
	height: auto;
	accent-color: #ffeba7;
}

.pch-auth-root .text-center {
	text-align: center;
}

.pch-auth-root .mb-0 {
	margin-bottom: 0;
}

.pch-auth-root .mt-4 {
	margin-top: 1rem;
}

.pch-auth-root .mb-4 {
	margin-bottom: 1rem;
}

.pch-auth-root .pb-3 {
	padding-bottom: 0.75rem;
}

.pch-auth-root .pb-5 {
	padding-bottom: 2rem;
}

.pch-auth-root .pt-5 {
	padding-top: 2rem;
}

.pch-auth-root .py-5 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.pch-auth-root .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Inner hub — connect etc. (narrow card) */
.pch-auth-root .pch-auth-panel {
	max-width: 480px;
	margin: 1.5rem auto 0;
	padding: 2rem 2rem 2.5rem;
	background-color: #2a2b38;
	background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg");
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: 300%;
	border-radius: 6px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.pch-auth-root .pch-auth-panel-inner {
	text-align: left;
}

/* Profile hub — same card treatment, wider max-width */
.pch-auth-root .pch-profile-panel {
	max-width: 1024px;
	margin: 1.5rem auto 0;
	padding: 2rem 2rem 2.5rem;
	background-color: #2a2b38;
	background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg");
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: 300%;
	border-radius: 6px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.pch-auth-root .pch-profile-panel-inner {
	text-align: left;
}

.pch-auth-root .pch-auth-panel-inner .pch-muted,
.pch-auth-root .pch-profile-panel-inner .pch-muted,
.pch-auth-root .pch-field-help {
	color: #9ea0a8;
	font-size: 13px;
}

.pch-auth-root .pch-profile-summary {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: none;
	position: relative;
}

.pch-auth-root .pch-loading-overlay {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
	gap: 0.5rem;
	padding-top: 200px;
	background: rgba(31, 32, 41, 0.72);
	z-index: 50;
	border-radius: 6px;
}

.pch-auth-root .pch-loading-overlay.is-visible {
	display: flex;
}

.pch-auth-root .pch-loading-spinner {
	width: 34px;
	height: 34px;
	border: 3px solid rgba(255, 235, 167, 0.25);
	border-top-color: #ffeba7;
	border-radius: 50%;
	animation: pch-loading-spin 0.85s linear infinite;
}

.pch-auth-root .pch-loading-text {
	color: #ffeba7;
	font-size: 13px;
	font-weight: 600;
}

@keyframes pch-loading-spin {
	to {
		transform: rotate(360deg);
	}
}

.pch-auth-root .pch-profile-summary strong {
	color: #ffeba7;
}

.pch-auth-root .pch-profile-field {
	margin-bottom: 1.25rem;
}

.pch-auth-root .pch-profile-upload-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: stretch;
	margin-bottom: 0.25rem;
}

.pch-auth-root .pch-profile-upload-row .pch-profile-field-block {
	margin-bottom: 0;
	padding: 1.25rem 1.1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 235, 167, 0.14);
	border-radius: 10px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
	.pch-auth-root .pch-profile-upload-row {
		grid-template-columns: 1fr;
	}
}

.pch-auth-root .pch-profile-field label {
	display: block;
	font-weight: 600;
	color: #c4c3ca;
	margin-bottom: 0.35rem;
}

.pch-auth-root input[type="file"] {
	width: 100%;
	font-size: 13px;
	color: #c4c3ca;
}

.pch-auth-root .pch-thumb {
	margin: 0.5rem 0;
}

.pch-auth-root .pch-thumb img {
	border-radius: 4px;
}

.pch-auth-root .pch-stat-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.75rem;
}

.pch-auth-root .pch-stat-player-image-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 0 1rem;
}

.pch-auth-root .pch-stat-player-image-wrap .pch-stat-player-image {
	width: 150px;
	height: 150px;
	object-fit: cover;
	border-radius: 8px;
}

.pch-auth-root .pch-stat-player-name {
	margin: 0.55rem 0 0;
	text-align: center;
	font-weight: 600;
	color: #c4c3ca;
	font-size: 150%;
}

.pch-auth-root .pch-stat-tab-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
}

.pch-auth-root .pch-stat-tab-btn {
	border: 1px solid rgba(255, 235, 167, 0.3);
	border-radius: 4px;
	background: rgba(255, 235, 167, 0.06);
	color: #c4c3ca;
	padding: 0.45rem 0.7rem;
	font-size: 13px;
	cursor: pointer;
}

.pch-auth-root .pch-stat-tab-btn.is-active {
	background: #ffeba7;
	color: #102770;
	border-color: #ffeba7;
	font-weight: 600;
}

.pch-auth-root .pch-stat-tab-panel {
	display: none;
}

.pch-auth-root .pch-stat-tab-panel.is-active {
	display: block;
}

.pch-auth-root .pch-ranking-output .gdlr-item-title-wrapper {
	margin-bottom: 0.6rem;
}

.pch-auth-root .pch-ranking-filter-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	flex-wrap: wrap;
}

.pch-auth-root .pch-ranking-filter-title {
	color: #ffeba7;
	font-weight: 600;
	font-size: 1.05rem;
}

.pch-auth-root .pch-ranking-day-select {
	min-width: 160px;
	padding: 0.35rem 0.5rem;
	background: #1f2029;
	color: #c4c3ca;
	border: 1px solid rgba(255, 235, 167, 0.35);
	border-radius: 4px;
}

.pch-auth-root .pch-ranking-output .gdlr-item-title {
	color: #ffeba7;
}

.pch-auth-root .pch-ranking-output .goal-ranking {
	margin-bottom: 1rem;
}

.pch-auth-root .pch-ranking-output .gdlr-item.gdlr-league-table-item {
	margin-bottom: 1rem !important;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 235, 167, 0.14);
	border-radius: 6px;
	padding: 0.35rem 0.5rem;
}

.pch-auth-root .pch-ranking-output .gdlr-small-league-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: auto !important;
}

.pch-auth-root .pch-ranking-output .gdlr-small-league-table th {
	background: rgba(255, 235, 167, 0.08) !important;
	color: #ffeba7;
}

.pch-auth-root .pch-ranking-output .gdlr-small-league-table td,
.pch-auth-root .pch-ranking-output .gdlr-small-league-table th {
	border-bottom: 1px solid rgba(255, 235, 167, 0.15);
	padding: 0.55rem 0.6rem;
	text-align: left;
	display: table-cell !important;
	vertical-align: middle !important;
	line-height: 1.35;
}

.pch-auth-root .pch-ranking-output .gdlr-small-league-table td {
	background: transparent !important;
	color: #c4c3ca;
}

.pch-auth-root .pch-ranking-output .gdlr-small-league-table tr {
	background: transparent !important;
}

.pch-auth-root .pch-ranking-output .pch-ranking-player-image {
	width: 62px;
	min-width: 62px;
	text-align: center;
	vertical-align: middle !important;
}

.pch-auth-root .pch-ranking-output .pch-ranking-player-image img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 0;
	display: inline-block;
	vertical-align: middle;
}

.pch-auth-root .pch-ranking-output .pch-ranking-cell-text {
	display: flex;
	align-items: center;
	min-height: 50px;
}

.pch-auth-root .pch-ranking-output tr.pch-ranking-row-current-player .pch-ranking-player-image img {
	width: 75px !important;
	height: 75px !important;
	max-width: none !important;
	display: block !important;
	margin: 0 auto;
}

.pch-auth-root .pch-ranking-output tr.pch-ranking-row-current-player .pch-ranking-player-image {
	width: 87px !important;
	min-width: 87px !important;
}

.pch-auth-root .pch-ranking-output tr.pch-ranking-row-current-player .pch-ranking-cell-text {
	min-height: 75px;
	font-size: 1.25rem;
	font-weight: 700;
}

.pch-auth-root .pch-ranking-output tr.pch-ranking-row-current-player td {
	background: rgba(255, 235, 167, 0.18) !important;
}

.pch-auth-root .pch-stat-table th,
.pch-auth-root .pch-stat-table td {
	padding: 0.55rem 0.6rem;
	border-bottom: 1px solid rgba(255, 235, 167, 0.15);
	text-align: left;
}

.pch-auth-root .pch-stat-table thead th {
	background: rgba(255, 235, 167, 0.08) !important;
}

.pch-auth-root .pch-pagination {
	margin-top: 1rem;
}

.pch-auth-root .pch-pagination .pch-page-links {
	display: flex;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	justify-content: center;
}

.pch-auth-root .pch-pagination .pch-page-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.6rem;
	border: 1px solid rgba(255, 235, 167, 0.3);
	border-radius: 4px;
	color: #c4c3ca;
	background: rgba(255, 235, 167, 0.06);
}

.pch-auth-root .pch-pagination .pch-page-links .current {
	color: #102770;
	background: #ffeba7;
	border-color: #ffeba7;
}

/* Profile shortcode uses .pch-form from frontend.css — relax width and match dark UI */
.pch-auth-root .pch-profile-panel-inner .pch-form {
	max-width: none;
	width: 100%;
}

.pch-auth-root .pch-profile-panel-inner .pch-form label {
	color: #c4c3ca;
}

.pch-auth-root .pch-profile-panel-inner .pch-form .pch-muted,
.pch-auth-root .pch-profile-panel-inner .pch-form .pch-field-help {
	color: #9ea0a8;
}

/* Connect (and auth message) panel — same form treatment as profile */
.pch-auth-root .pch-auth-panel-inner .pch-form {
	max-width: none;
	width: 100%;
}

.pch-auth-root .pch-auth-panel-inner .pch-form label {
	color: #c4c3ca;
}

.pch-auth-root .pch-auth-panel-inner .pch-form .pch-muted,
.pch-auth-root .pch-auth-panel-inner .pch-form .pch-field-help {
	color: #9ea0a8;
}

/* Player Hub pages (login, register, connect, profile): cover the theme. */
html:has(body.pch-hub-full-page),
html:has(body.pch-auth-full-page),
body.pch-hub-full-page,
body.pch-auth-full-page {
	height: 100%;
	overflow: hidden;
}

/*
 * Realsoccer / Goodlayers: `.content-wrapper` is z-index 89 and `.gdlr-header-wrapper`
 * is 99, so hub markup (inside content) cannot stack above the header without lifting
 * this ancestor above the header’s stacking context.
 */
body.pch-hub-full-page .content-wrapper,
body.pch-auth-full-page .content-wrapper {
	position: relative;
	/* Above `.gdlr-header-wrapper` (99); below `#wpadminbar` (99999). */
	z-index: 99998 !important;
}

body.pch-hub-full-page .pch-auth-root,
body.pch-auth-full-page .pch-auth-root {
	position: fixed;
	inset: 0;
	z-index: 10;
	width: 100%;
	max-width: none;
	min-height: 100vh;
	margin: 0;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

body.admin-bar.pch-hub-full-page .pch-auth-root,
body.admin-bar.pch-auth-full-page .pch-auth-root {
	top: 32px;
	min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar.pch-hub-full-page .pch-auth-root,
	body.admin-bar.pch-auth-full-page .pch-auth-root {
		top: 46px;
		min-height: calc(100vh - 46px);
	}
}
