.psp {
	--psv-a: #4fea9f;
	--psv-a-rgb: 79, 234, 159;
	--psp-chip: color-mix(in srgb, currentColor 6%, transparent);
	position: static;
	color: #eceef5;
	font-size: 13px;
}

.psp *,
.psp *::before,
.psp *::after {
	box-sizing: border-box;
}

.psp[hidden],
.psp [hidden] {
	display: none !important;
}

html body .psv-modal.psp:not(#psp-none) {
	position: fixed;
	inset: 86px auto 14px var(--psp-left, 14px);
	z-index: 1240;
	display: block;
	width: 380px;
	max-width: calc(100vw - 28px);
	padding: 0;
	background: none;
	opacity: 1;
	clip-path: inset(-80px -120px -80px -2px round 18px 0 0 18px);
	pointer-events: none;
	transition: none;
}

html body .psp:not(#psp-none) .psp__win {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background: #1f1f27;
	box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8);
	opacity: 0;
	transform: translate3d(-60%, 0, 0);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.6, 1), opacity 0.3s ease 0.06s !important;
	will-change: transform, opacity;
	pointer-events: none;
}

html body .psp.is-open:not(#psp-none) .psp__win {
	opacity: 1;
	transform: none;
	transition: transform 0.56s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease !important;
	pointer-events: auto;
}

@media (min-width: 1200px) {
	html.psp-on .glx-v-shell.glx-on.glx-hdock .menu_top_container:has(> .container > .phd--sticky) {
		z-index: 1250;
	}

	html.psp-on .glx-v-shell.glx-on aside.glx {
		z-index: 1245;
	}

	html.psp-on:has(.modal.show, .modal.in, .modal-backdrop) .psv-modal.psp:not(#psp-none) {
		z-index: 1028;
	}

	html.psp-on:has(.modal.show, .modal.in, .modal-backdrop) .glx-v-shell.glx-on aside.glx {
		z-index: 1025;
	}
}

.psp__head {
	position: relative;
	isolation: isolate;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 14px;
	padding: 16px 16px 14px;
}

.psp__cover {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 20%, transparent);
	mask-image: linear-gradient(#000 20%, transparent);
}

.psp__cover img {
	display: block;
	width: calc(100% + 40px);
	max-width: none;
	height: calc(100% + 40px);
	margin: -20px;
	object-fit: cover;
	filter: blur(12px) saturate(1.2);
	opacity: 0;
	transition: opacity 0.5s ease;
}

.psp__cover img.is-in {
	opacity: 0.42;
}

.psp__row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.psp__thumb {
	position: relative;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
}

.psp__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 14px;
	object-fit: cover;
}

.psp__on {
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 15px;
	height: 15px;
	border: 3px solid #1f1f27;
	border-radius: 50%;
}

.psp__titles {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.psp__titles b {
	overflow: hidden;
	font-size: 15px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.psp__titles span {
	overflow: hidden;
	color: #8f91a8;
	font-size: 12.5px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.psp__titles em {
	font-style: normal;
}

html body .psp .psp__icon {
	display: inline-flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: none;
	box-shadow: none;
	color: inherit;
	font-size: 21px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

html body .psp .psp__icon:hover {
	background: var(--psp-chip);
	color: var(--psv-a);
}

.psp__icon.is-spin .bx {
	animation: psp-spin 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.psp__btns {
	display: flex;
	gap: 8px;
}

html body .psp .psp__btn {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 13px;
	background: rgba(10, 10, 14, 0.35);
	box-shadow: none;
	color: #eceef5;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

html body .psp .psp__btn .bx {
	font-size: 19px;
}

html body .psp .psp__btn:hover {
	border-color: rgba(var(--psv-a-rgb), 0.5);
}

html body .psp .psp__btn:active {
	transform: scale(0.97);
}

html body .psp .psp__btn--main,
html body .psp .psp__btn--main:hover {
	border-color: transparent;
	background: var(--psv-a);
	color: #0c1410;
}

html body .psp .psp__btn--main:hover {
	filter: brightness(1.08);
}

html body .psp .psp__btn.is-done {
	border-color: #22c55e;
	color: #22c55e;
}

html body .psp .psp__btn--danger {
	border-color: rgba(239, 68, 68, 0.45);
	color: #ff8a8a;
}

.psp__load {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.psp__load-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #8f91a8;
	font-size: 12px;
	font-weight: 700;
}

.psp__load-top > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.psp__load-top .bx {
	font-size: 16px;
}

.psp__load-top b {
	color: #eceef5;
	font-size: 13px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.psp__bar {
	display: block;
	height: 5px;
	overflow: hidden;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.35);
}

.psp__bar i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--psv-a);
	transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.psp__score {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 8px;
	border-radius: 13px;
	background: rgba(0, 0, 0, 0.22);
	font-size: 18px;
}

.psp__team {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.psp__team img {
	width: 24px;
	height: 24px;
}

.psp__search {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	margin: 0 16px 10px;
}

.psp__search > .bx {
	position: absolute;
	left: 15px;
	color: #8f91a8;
	font-size: 18px;
}

html body .psp .psp__search input,
html body .psp .psp__console input,
html body .psp .psp__field input {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	background: rgba(0, 0, 0, 0.22);
	box-shadow: none;
	color: #eceef5;
	font: inherit;
	font-weight: 600;
	outline: none;
}

html body .psp .psp__search input {
	padding-left: 42px;
}

html body .psp .psp__search input:focus,
html body .psp .psp__console input:focus,
html body .psp .psp__field input:focus {
	border-color: rgba(var(--psv-a-rgb), 0.55);
}

.psp.is-nobody .psp__search {
	display: none;
}

.psp__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-height: 90px;
	padding: 0 10px 12px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

html body .psp .psp__pl {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 11px;
	min-width: 0;
	min-height: 54px;
	padding: 7px 8px;
	border: 0;
	border-radius: 13px;
	background: none;
	box-shadow: none;
	transition: background 0.2s ease;
}

html body .psp .psp__pl:hover {
	background: var(--psp-chip);
}

html body .psp .psp__pl.is-filtered {
	display: none;
}

.psp__body.is-in .psp__pl {
	animation: psp-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--i, 0) * 22ms);
}

@keyframes psp-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.psp__n {
	flex: 0 0 20px;
	color: #8f91a8;
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
	text-align: center;
}

.psp__pl.is-top .psp__n {
	color: var(--psv-a);
	font-size: 14px;
}

.psp__ava {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--psp-chip);
	color: #8f91a8;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.psp__ava img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psp__who {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	line-height: 1.3;
}

.psp__nick {
	overflow: hidden;
	color: #eceef5;
	font-size: 13.5px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.psp__who small {
	display: flex;
	gap: 10px;
	color: #8f91a8;
	font-size: 12px;
	font-weight: 600;
}

.psp__ping {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: flex-end;
	gap: 2px;
	height: 14px;
}

.psp__ping.is-none {
	display: none;
}

.psp__ping i {
	width: 4px;
	border-radius: 2px;
	background: rgba(128, 132, 150, 0.35);
}

.psp__ping i:nth-child(1) { height: 6px; }
.psp__ping i:nth-child(2) { height: 10px; }
.psp__ping i:nth-child(3) { height: 14px; }

.psp__ping.is-good i,
.psp__ping.is-mid i:nth-child(-n+2),
.psp__ping.is-bad i:first-child {
	background: var(--psp-ping);
}

.psp__ping.is-good { --psp-ping: var(--psp-ok); }
.psp__ping.is-mid { --psp-ping: var(--psp-mid); }
.psp__ping.is-bad { --psp-ping: var(--psp-bad); }

html body .psp:not(.is-admin) .psp__act {
	display: none;
}

.psp__empty {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 30px 24px;
	color: #8f91a8;
	font-weight: 600;
	text-align: center;
}

.psp__empty .bx {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 8px;
	border-radius: 24px;
	background: var(--psp-chip);
	color: var(--psv-a);
	font-size: 34px;
}

.psp__empty b {
	color: #eceef5;
	font-size: 15px;
}

.psp__skel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 4px;
}

.psp__skel span {
	height: 50px;
	border-radius: 13px;
	background: var(--psp-chip);
	animation: psp-pulse 1.2s ease-in-out infinite;
}

.psp__skel span:nth-child(2) { animation-delay: 0.1s; }
.psp__skel span:nth-child(3) { animation-delay: 0.2s; }
.psp__skel span:nth-child(4) { animation-delay: 0.3s; }
.psp__skel span:nth-child(5) { animation-delay: 0.4s; }

@keyframes psp-pulse {
	50% { opacity: 0.4; }
}

.psp__admin {
	flex: 0 0 auto;
	max-height: 55%;
	overflow-y: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.psp__admin summary {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 14px 16px;
	list-style: none;
	cursor: pointer;
}

.psp__admin summary::-webkit-details-marker {
	display: none;
}

.psp__admin summary b {
	flex: 1 1 auto;
	font-weight: 800;
}

.psp__admin summary > .bx {
	position: static;
	color: var(--psv-a);
	font-size: 20px;
}

.psp__admin summary > .psp__chev {
	color: #8f91a8;
	transition: transform 0.3s ease;
}

.psp__admin[open] .psp__chev {
	transform: rotate(180deg);
}

.psp__admin-in {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 16px 16px;
}

.psp__cmds {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

html body .psp .psp__cmd {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 11px;
	background: var(--psp-chip);
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

html body .psp .psp__cmd:hover {
	color: var(--psv-a);
}

.psp__console {
	display: flex;
	gap: 6px;
}

.psp__out {
	max-height: 140px;
	margin: 0;
	padding: 10px 12px;
	overflow: auto;
	border: 0;
	border-radius: 11px;
	background: rgba(0, 0, 0, 0.3);
	color: #c9cbd8;
	font-size: 11.5px;
	white-space: pre-wrap;
}

.psp__out.is-fail {
	color: #ff8a8a;
}

.psp__sheet {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	background: rgba(8, 8, 12, 0.6);
}

.psp__sheet-win {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	padding: 18px 16px 16px;
	border-radius: 18px 18px 0 0;
	background: #25252e;
	animation: psp-up 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes psp-up {
	from { transform: translateY(40px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

.psp__sheet-head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.psp__sheet-head > span {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	height: 42px;
	border-radius: 13px;
	background: rgba(239, 68, 68, 0.16);
	color: #ff8a8a;
	font-size: 21px;
}

.psp__sheet-head div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.psp__sheet-head small {
	overflow: hidden;
	color: #8f91a8;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.psp__fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.psp__field {
	position: static;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

html body .psp .psp__field input {
	border-radius: 12px;
}

.psp .psv-field__label {
	color: #8f91a8;
	font-size: 12px;
	font-weight: 700;
}

.psp .psv-field__presets {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

html body .psp:not(#psp-none):not(#psp-any) .psp__on {
	background: var(--psp-ok) !important;
}

html body .psp:not(#psp-none):not(#psp-any) .psp__on.is-off {
	background: #8f91a8 !important;
}

html body .psp:not(#psp-none):not(#psp-any) .psp__btn {
	box-shadow: none !important;
}

html body .psp:not(#psp-none):not(#psp-any) .psp__btn--main,
html body .psp:not(#psp-none):not(#psp-any) .psp__btn--main:hover {
	border-color: transparent !important;
	background: var(--psv-a) !important;
	color: var(--psp-ink) !important;
}

html body .psp:not(#psp-none):not(#psp-any) .psp__search {
	top: 0;
	left: 0;
	margin: 0 16px 10px;
}

html body .psp:not(#psp-none):not(#psp-any) .psp__search input {
	font-size: 13.5px;
}

@media (max-width: 1199.98px) {
	html body .psv-modal.psp:not(#psp-none) {
		inset: 0;
		z-index: 10060;
		width: 100%;
		max-width: none;
		clip-path: none;
	}

	html body .psv-modal.psp.is-open:not(#psp-none) {
		pointer-events: auto;
	}

	.psp::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.6);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.36s ease;
	}

	.psp.is-open::before {
		opacity: 1;
	}

	html body .psp:not(#psp-none) .psp__win {
		inset: auto 0 0;
		height: 88vh;
		height: 88dvh;
		border-radius: 22px 22px 0 0;
		box-shadow: none;
		opacity: 1;
		transform: translate3d(0, 102%, 0);
	}
}

@media (min-width: 1200px) {
	.psv-slot.psv-slot--mobile {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psp *,
	.psp {
		transition: none !important;
		animation: none !important;
	}
}
