.phd .phn {
	--n1: #8f7bff;
	--n2: #ffffff;
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 4px 5px;
	color: #fff;
	font-family: Poppins, Montserrat, Arial, sans-serif;
	font-size: var(--ns, 26px);
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.phd .phn--caps {
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.phd .phn--italic {
	font-style: italic;
	transform: skewX(-6deg);
}

.phd .phn__t {
	position: relative;
	display: inline-block;
}

.phd .phn__t > span {
	display: inline-block;
	white-space: pre;
}

.phd .phd-logo.phd-logo--glow:not(#phn-a):not(#phn-b) {
	overflow: visible;
}

.phd .phd-logo--glow {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.phd .phn--tube .phn__t {
	color: #fff;
	text-shadow: 0 0 4px var(--n1), 0 0 11px var(--n1), 0 0 24px var(--n1);
	animation: phn-breathe 3.6s ease-in-out infinite;
}

.phd .phn--duo .phn__t,
.phd .phn--aurora .phn__t {
	background: linear-gradient(100deg, var(--n1), var(--n2), var(--n1)) 0 0 / 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 7px var(--n1));
}

.phd .phn--aurora .phn__t {
	animation: phn-aurora 5s linear infinite;
}

.phd .phn--duo .phn__t {
	background: linear-gradient(100deg, var(--n1) 49%, var(--n2) 51%);
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 0 3px var(--n1)) drop-shadow(0 0 9px var(--n2));
}

.phd .phn--outline .phn__t {
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1.3px var(--n1);
	filter: drop-shadow(0 0 4px var(--n1)) drop-shadow(0 0 11px var(--n1));
	animation: phn-breathe 3s ease-in-out infinite;
}

.phd .phn--glitch .phn__t {
	color: #fff;
	text-shadow: 0 0 10px var(--n1);
}

.phd .phn--glitch .phn__t::before,
.phd .phn--glitch .phn__t::after {
	content: attr(data-t);
	position: absolute;
	inset: 0;
	overflow: hidden;
	color: var(--n1);
	white-space: pre;
	text-shadow: none;
	transform: translateX(-2px);
	mix-blend-mode: screen;
	animation: phn-glitch 3.2s steps(1) infinite;
}

.phd .phn--glitch .phn__t::after {
	color: var(--n2);
	transform: translateX(2px);
	animation-delay: -1.4s;
}

.phd .phn--laser .phn__t {
	background: linear-gradient(100deg, var(--n1) 42%, #fff 50%, var(--n1) 58%) 0 0 / 260% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 8px var(--n1));
	animation: phn-laser 3.4s ease-in-out infinite;
}

.phd .phn--chrome .phn__t {
	background: linear-gradient(180deg, #fff 8%, var(--n2) 42%, var(--n1) 54%, #fff 96%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 8px var(--n1));
}

.phd .phn--frame {
	padding: 4px 13px;
	border: 2px solid var(--n2);
	border-radius: 12px;
	box-shadow: 0 0 9px var(--n2), inset 0 0 9px var(--n2);
}

.phd .phn--frame .phn__t {
	color: #fff;
	font-size: 0.8em;
	text-shadow: 0 0 4px var(--n1), 0 0 12px var(--n1);
	animation: phn-breathe 3.6s ease-in-out infinite;
}

.phd .phn--broken .phn__t {
	color: #fff;
	text-shadow: 0 0 4px var(--n1), 0 0 12px var(--n1), 0 0 24px var(--n1);
}

.phd .phn--broken .phn__t > span:nth-child(4n + 3) {
	animation: phn-broken 4s linear infinite;
}

.phd .phn--wave .phn__t {
	color: var(--n1);
}

.phd .phn--wave .phn__t > span {
	animation: phn-wave 2.6s ease-in-out infinite;
	animation-delay: calc(var(--i, 0) * 0.12s);
}

.phd .phn--depth .phn__t {
	color: #fff;
	text-shadow: 1px 1px 0 var(--n1), 2px 2px 0 var(--n1), 3px 3px 0 var(--n2), 3px 3px 14px var(--n1);
}

.phd .phn--still .phn__t,
.phd .phn--still .phn__t > span,
.phd .phn--still .phn__t::before,
.phd .phn--still .phn__t::after,
body.pbtop-perf-mode .phd .phn__t,
body.pbtop-perf-mode .phd .phn__t > span,
body.pbtop-perf-mode .phd .phn__t::before,
body.pbtop-perf-mode .phd .phn__t::after {
	animation: none !important;
}

@keyframes phn-breathe {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.72; }
}

@keyframes phn-aurora {
	to { background-position: -200% 0; }
}

@keyframes phn-laser {
	0%, 15% { background-position: 100% 0; }
	85%, 100% { background-position: 0 0; }
}

@keyframes phn-glitch {
	0%, 100% { clip-path: inset(0 0 72% 0); }
	20% { clip-path: inset(62% 0 8% 0); }
	40% { clip-path: inset(34% 0 44% 0); }
	60% { clip-path: inset(80% 0 4% 0); }
	80% { clip-path: inset(12% 0 60% 0); }
}

@keyframes phn-broken {
	0%, 42%, 46%, 50%, 58%, 100% { opacity: 1; }
	44%, 48%, 52%, 56% { opacity: 0.18; }
}

@keyframes phn-wave {
	0%, 60%, 100% { color: var(--n1); text-shadow: 0 0 6px var(--n1); transform: none; }
	30% { color: #fff; text-shadow: 0 0 8px var(--n2), 0 0 20px var(--n2); transform: translateY(-2px); }
}

html body .phd:not(#phw-a):not(#phw-b) .phw {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 4px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.035);
	box-shadow: none;
}

html body .phd:not(#phw-a):not(#phw-b) .phw__i {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 34px;
	margin: 0;
	padding: 0 11px 0 7px;
	border: 0 !important;
	border-radius: 11px;
	background: none !important;
	box-shadow: none !important;
	color: #eceef5;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.18s ease;
}

html body .phd:not(#phw-a):not(#phw-b) .phw__i:hover,
html body .phd:not(#phw-a):not(#phw-b) .phw__i:focus-visible {
	background: var(--phw-soft) !important;
	outline: none;
}

.phd .phw__i--discount {
	--phw-c: #ff6b9d;
	--phw-soft: rgba(255, 107, 157, 0.14);
}

.phd .phw__i--keys {
	--phw-c: #ffc24b;
	--phw-soft: rgba(255, 194, 75, 0.14);
}

.phd .phw__i--components {
	--phw-c: #3cc8ff;
	--phw-soft: rgba(60, 200, 255, 0.14);
}

.phd .phw__i--balance {
	--phw-c: #37dd92;
	--phw-soft: rgba(55, 221, 146, 0.14);
}

.phd .phw__ico {
	display: block;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	overflow: visible;
	transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.phd .phw__i:hover .phw__ico {
	transform: scale(1.14) rotate(-7deg);
}

.phd .phw b {
	color: inherit;
	font: inherit;
	font-variant-numeric: tabular-nums;
}

.phd .phw .phd-balance__value small {
	color: #8f91a8;
	font-size: 12px;
	font-weight: 700;
}

html body .phd:not(#phw-a):not(#phw-b) .phw__i--balance {
	padding-right: 5px;
}

html body .phd:not(#phw-a):not(#phw-b) .phw__plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: 2px;
	border-radius: 8px;
	background: var(--phd-accent);
	color: #fff;
	font-size: 16px;
	transition: transform 0.25s ease;
}

.phd .phw__i:hover .phw__plus {
	transform: rotate(90deg);
}

.phw__tip {
	display: none;
}

.phw-float {
	position: fixed;
	z-index: 100050;
	width: max-content;
	max-width: 290px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: #1b1b24;
	box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.75);
	color: #eceef5;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.35;
	pointer-events: none;
	opacity: 0;
	transform: translateY(-8px) scale(0.96);
	transform-origin: var(--phw-x, 50%) 0;
	transition: opacity 0.16s ease, transform 0.22s cubic-bezier(0.25, 1.4, 0.5, 1);
}

.phw-float::before {
	content: "";
	position: absolute;
	top: -5px;
	left: var(--phw-x, 50%);
	width: 9px;
	height: 9px;
	margin-left: -5px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	background: #1b1b24;
	transform: rotate(45deg);
}

.phw-float.is-on {
	opacity: 1;
	transform: none;
}

.phw-float.is-rich {
	width: 264px;
	padding: 16px;
	border-radius: 18px;
}

.phw-float__top {
	display: flex;
	align-items: center;
	gap: 13px;
}

.phw-float__ico {
	display: inline-flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 15px;
	background: var(--phw-soft);
}

.phw-float__ico svg {
	width: 28px;
	height: 28px;
	overflow: visible;
}

.phw-float__name {
	display: block;
	color: #8f91a8;
	font-size: 12px;
	font-weight: 700;
}

.phw-float__val {
	display: block;
	color: #eceef5;
	font-size: 21px;
	font-weight: 900;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.phw-float p {
	margin: 12px 0 0;
	color: #a9abbd;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.45;
}

.phw-float__row {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	color: #a9abbd;
	font-size: 12.5px;
	font-weight: 600;
}

.phw-float__top + .phw-float__row {
	margin-top: 13px;
}

.phw-float__row b {
	color: #eceef5;
	font-weight: 800;
}

.phw-float__go {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--phw-c);
	font-size: 12.5px;
	font-weight: 800;
}

.phw-float__go .bx {
	font-size: 16px;
}

html body .phd .pbtop-tip:not(#phw-a)::before,
html body .phd .pbtop-tip:not(#phw-a)::after {
	content: none;
	display: none;
}

@media (min-width: 1200px) {
	.glx-v-shell .phd--glx .phd__left,
	.glx-v-shell .phd--glx .phd__nav {
		overflow: visible;
	}

	html body .glx-v-shell .phd--glx .phd__nav:not(:has(.phd-find)) {
		flex: 1 1 0;
	}

	.glx-v-shell .phd.phd--glx .phd__right,
	.glx-v-shell .phd.phd--glx .phd-actions {
		gap: 8px;
	}

	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-side,
	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-chat,
	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-chip,
	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-profile,
	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-cta {
		height: 44px;
		border-radius: 15px !important;
	}

	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-side {
		width: 44px;
	}

	html body .glx-v-shell .phd.phd--glx.phd-fit-1:not(#phw-a) .phd-chat {
		width: 44px;
	}

	html body .glx-v-shell .phd.phd--glx:not(#phw-a):not(#phw-b) .phd-actions .notif-bell-trigger,
	html body .glx-v-shell .phd.phd--glx:not(#phw-a):not(#phw-b) .phd-actions .promo-btn-trigger {
		width: 44px !important;
		height: 44px !important;
		border-radius: 15px !important;
	}

	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-actions .notif-bell-wrap::before,
	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-actions .notif-bell-wrap::after {
		border-radius: 15px;
	}

	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-profile {
		padding: 3px 11px 3px 4px;
	}

	html body .glx-v-shell .phd.phd--glx:not(#phw-a) .phd-online__part {
		height: 36px;
		border-radius: 11px;
	}

	html body .glx-v-shell .phd.phd--glx.phd-fit-4:not(#phw-a):not(#phw-b) .phw__i--components,
	html body .glx-v-shell .phd.phd--glx.phd-fit-4:not(#phw-a):not(#phw-b) .phw__i--keys,
	html body .glx-v-shell .phd.phd--glx.phd-fit-5:not(#phw-a):not(#phw-b) .phw__i--discount {
		display: none;
	}
}

@container phd (max-width: 900px) {
	html body .phd:not(#phw-a):not(#phw-b) .phw__i--components,
	html body .phd:not(#phw-a):not(#phw-b) .phw__i--keys,
	html body .phd:not(#phw-a):not(#phw-b) .phw__i--discount {
		display: none;
	}
}

@container phd (max-width: 680px) {
	.phd .phn {
		font-size: calc(var(--ns, 26px) * 0.74);
	}

	html body .phd:not(#phw-a):not(#phw-b) .phw {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.phd .phn__t,
	.phd .phn__t > span,
	.phd .phn__t::before,
	.phd .phn__t::after {
		animation: none !important;
	}

	.phw-float {
		transition: none;
	}
}

.phd .phd-logo--neon .phd-logotext:nth-child(odd):not(#phn-a) {
	stroke: var(--n1, var(--phd-accent));
}

.phd .phd-logo--neon .phd-logotext:nth-child(even):not(#phn-a) {
	stroke: var(--n2, #fff);
}

.phd .phd-logo--neon.phn--still .phd-logotext:not(#phn-a) {
	animation: none;
	stroke-dasharray: none;
}

.phd .phd-logo--neon.phn--caps text {
	text-transform: uppercase;
}

.phd .phd-logo--neon.phn--italic text {
	font-style: italic;
}
