.pcc-grid {
	--pcc-columns: 2;
	display: grid;
	grid-template-columns: repeat(var(--pcc-columns), minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 16px;
}

.pcc-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 16px;
}

.pcc-card__button,
.pcc-card__title-bar {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	box-shadow: 1px 3px 7px rgba(0, 0, 0, .4);
}

.pcc-card__button {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 17px 22px;
	color: #0000f5;
	font-size: 48px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 0 14px #ff8a45;
	transition: transform .2s ease, filter .2s ease;
}

.pcc-card__button:hover,
.pcc-card__button:focus {
	color: #0000f5;
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.pcc-card__image-wrap {
	position: relative;
	height: 580px;
	overflow: hidden;
	background: #d8d8d8;
}

.pcc-card__image-link,
.pcc-card__image,
.pcc-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.pcc-card__image,
.pcc-card__placeholder {
	object-fit: cover;
}

.pcc-card__placeholder {
	background: linear-gradient(135deg, #ececec, #cfcfcf);
}

.pcc-card__online {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: #00f020;
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
	pointer-events: none;
}

.pcc-card__online-dot {
	position: relative;
	display: inline-block;
	width: .78em;
	height: .78em;
	border-radius: 50%;
	background: #a4ffac;
	animation: pcc-online-blink 1s steps(2, end) infinite;
}

.pcc-card__online-dot::after {
	position: absolute;
	inset: -4px;
	content: '';
	border: 3px solid currentColor;
	border-radius: inherit;
	animation: pcc-online-pulse 1.25s ease-out infinite;
}

@keyframes pcc-online-pulse {
	0% { opacity: .85; transform: scale(.65); }
	75%, 100% { opacity: 0; transform: scale(1.35); }
}

@keyframes pcc-online-blink {
	0%, 45% { opacity: 1; }
	46%, 100% { opacity: .3; }
}

.pcc-card__activity,
.pcc-card__video {
	--pcc-overlay-size: 50px;
	position: absolute;
	z-index: 2;
	bottom: 22px;
	pointer-events: none;
}

.pcc-card__activity {
	left: 22px;
	display: flex;
	width: var(--pcc-overlay-size);
	height: calc(var(--pcc-overlay-size) * .7);
	align-items: flex-end;
	gap: calc(var(--pcc-overlay-size) * .08);
}

.pcc-card__activity i {
	display: block;
	width: 18%;
	border-radius: 3px;
	background: #ff4fa3;
}

.pcc-card__activity i:nth-child(1) { height: 55%; }
.pcc-card__activity i:nth-child(2) { height: 72%; }
.pcc-card__activity i:nth-child(3) { height: 64%; }
.pcc-card__activity i:nth-child(4) { height: 90%; }

.pcc-card__video {
	right: 22px;
	width: calc(var(--pcc-overlay-size) * .82);
	height: calc(var(--pcc-overlay-size) * .68);
	border-radius: calc(var(--pcc-overlay-size) * .12);
	background: #ff751b;
}

.pcc-card__video::after {
	position: absolute;
	top: 18%;
	right: calc(var(--pcc-overlay-size) * -.28);
	width: calc(var(--pcc-overlay-size) * .34);
	height: 64%;
	clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 75%);
	content: '';
	background: #ff751b;
}

.pcc-card__video i {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: calc(var(--pcc-overlay-size) * .14) solid transparent;
	border-bottom: calc(var(--pcc-overlay-size) * .14) solid transparent;
	border-left: calc(var(--pcc-overlay-size) * .22) solid #313131;
	transform: translate(-38%, -50%);
}

.pcc-card__activity.pcc-card__uploaded-icon,
.pcc-card__video.pcc-card__uploaded-icon {
	display: block;
	width: var(--pcc-overlay-size);
	height: var(--pcc-overlay-size);
	background: transparent !important;
	background-color: transparent !important;
	border-radius: 0;
	box-shadow: none;
}

.pcc-card__video.pcc-card__uploaded-icon::after {
	display: none !important;
	background: transparent !important;
}

.pcc-card__uploaded-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pcc-card--design-2 {
	gap: 0 !important;
}

.pcc-card--design-2 .pcc-card__activity i {
	background: #18d5d8;
}

.pcc-card__retro-video {
	--pcc-overlay-size: 50px;
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	width: calc(var(--pcc-overlay-size) * .78);
	height: calc(var(--pcc-overlay-size) * .58);
	box-sizing: border-box;
	border: calc(var(--pcc-overlay-size) * .055) solid #2f2a2b;
	border-radius: calc(var(--pcc-overlay-size) * .06);
	background: #f4d44d;
	pointer-events: none;
}

.pcc-card__retro-video::after {
	position: absolute;
	top: 20%;
	right: calc(var(--pcc-overlay-size) * -.32);
	width: calc(var(--pcc-overlay-size) * .28);
	height: 60%;
	box-sizing: border-box;
	border: calc(var(--pcc-overlay-size) * .055) solid #2f2a2b;
	clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
	content: '';
	background: #f4d44d;
}

.pcc-card__retro-video i {
	position: absolute;
	inset: 20% 18%;
	border: calc(var(--pcc-overlay-size) * .045) solid #2f2a2b;
	background: rgba(255, 255, 255, .18);
}

.pcc-card__retro-video b,
.pcc-card__retro-video em {
	position: absolute;
	top: calc(var(--pcc-overlay-size) * -.27);
	width: calc(var(--pcc-overlay-size) * .23);
	height: calc(var(--pcc-overlay-size) * .23);
	box-sizing: border-box;
	border: calc(var(--pcc-overlay-size) * .045) solid #2f2a2b;
	border-radius: 50%;
	background: #f4d44d;
}

.pcc-card__retro-video b { left: 6%; }
.pcc-card__retro-video em { left: 38%; }

.pcc-card__info {
	display: flex;
	min-height: 212px;
	box-sizing: border-box;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 22px 18px;
	background: #0800f5;
	color: #fff;
	font-size: 42px;
	font-weight: 800;
	line-height: 1.38;
	text-align: center;
	text-shadow: 0 0 5px #ff4b86;
}

.pcc-card__info p {
	margin: 0;
}

.pcc-card__info strong,
.pcc-card__info span {
	font: inherit;
	color: inherit;
}

.pcc-card--design-3 {
	--pcc-country-start: #3525d4;
	--pcc-country-end: #7457ff;
	gap: 0 !important;
	background: #000;
}

.pcc-card--design-3 .pcc-card__image-wrap {
	height: 498px;
}

.pcc-card--design-3 .pcc-card__online {
	top: 8px !important;
	left: 8px !important;
	gap: 13px;
	padding: 7px 14px 8px 12px;
	border-radius: 16px;
	background: rgba(20, 20, 20, .72);
	color: #00f020;
	font-size: 28px;
	font-weight: 700;
	text-transform: lowercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

.pcc-card--design-3 .pcc-card__online-dot {
	width: 22px;
	height: 22px;
	background: #00ee1d;
}

.pcc-card__country-pill {
	position: absolute;
	right: 8px;
	bottom: 10px;
	z-index: 2;
	display: inline-flex;
	min-width: 178px;
	height: 45px;
	box-sizing: border-box;
	align-items: center;
	gap: 12px;
	padding: 5px 18px 5px 10px;
	border-radius: 19px;
	background: linear-gradient(105deg, var(--pcc-country-start), var(--pcc-country-end));
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}

.pcc-card__country-icon {
	width: 30px;
	height: 30px;
	box-sizing: border-box;
	flex: 0 0 auto;
	border: 2px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	object-fit: cover;
}

.pcc-card__beauty-info {
	min-height: 94px;
	box-sizing: border-box;
	padding: 10px 8px;
	background: #000;
}

.pcc-card__subtitle {
	margin: 0 0 5px;
	color: #ff70ef;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
	text-shadow: 0 0 2px #fff;
}

.pcc-card__profile-row {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 9px;
}

.pcc-card__avatar {
	display: block;
	width: 52px;
	height: 52px;
	box-sizing: border-box;
	flex: 0 0 auto;
	overflow: hidden;
	border: 2px solid #c9c9c9;
	border-radius: 50%;
	background: #222;
}

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

.pcc-card__profile-text {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	color: #efff00;
	font-size: 25px;
	font-weight: 500;
	line-height: 1.1;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pcc-card__profile-text strong {
	font: inherit;
	color: inherit;
}

.pcc-card__fires {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 5px;
}

.pcc-card__fire-icon,
.pcc-card__fire-fallback {
	display: block;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	object-fit: contain;
	font-size: 26px;
	line-height: 1;
}

.pcc-card--design-4 {
	--pcc-d4-border: #bfc0c2;
	gap: 0 !important;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid var(--pcc-d4-border);
	border-radius: 2px;
	background: #000;
	box-shadow: 0 0 0 1px #171717;
}

.pcc-card__booking {
	display: flex;
	min-height: 39px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	padding: 6px 8px;
	border-bottom: 1px solid var(--pcc-d4-border);
	background: #202020;
	color: #71e8e8;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 0 3px rgba(255, 255, 255, .35);
}

.pcc-card__booking:hover,
.pcc-card__booking:focus {
	color: #fff;
}

.pcc-card--design-4 .pcc-card__image-wrap {
	height: 247px;
	border-bottom: 1px solid var(--pcc-d4-border);
}

.pcc-card__d4-title,
.pcc-card__d4-country {
	position: absolute;
	z-index: 2;
	color: #e72424;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
	text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 0 3px #fff;
	pointer-events: none;
}

.pcc-card__d4-country {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.pcc-card__overlay-flag {
	width: 18px;
	height: 13px;
	border-radius: 0;
	object-fit: cover;
}

.pcc-card--design-4 .pcc-pos-top-left { top: 10px; left: 7px; }
.pcc-card--design-4 .pcc-pos-top-center { top: 10px; left: 50%; transform: translateX(-50%); }
.pcc-card--design-4 .pcc-pos-top-right { top: 10px; right: 7px; }
.pcc-card--design-4 .pcc-pos-middle-left { top: 50%; left: 7px; transform: translateY(-50%); }
.pcc-card--design-4 .pcc-pos-middle-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.pcc-card--design-4 .pcc-pos-middle-right { top: 50%; right: 7px; transform: translateY(-50%); }
.pcc-card--design-4 .pcc-pos-bottom-left { bottom: 10px; left: 7px; }
.pcc-card--design-4 .pcc-pos-bottom-center { bottom: 10px; left: 50%; transform: translateX(-50%); }
.pcc-card--design-4 .pcc-pos-bottom-right { right: 7px; bottom: 10px; }

.pcc-card__country-bar {
	display: grid;
	min-height: 32px;
	box-sizing: border-box;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 7px;
	padding: 3px 5px;
	background: #0800ef;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
}

.pcc-card__bar-flag {
	display: block;
	width: 28px;
	height: 20px;
	border: 1px solid #fff;
	border-radius: 0;
	object-fit: cover;
}

.pcc-card__title-bar {
	display: flex;
	min-height: 94px;
	align-items: center;
	justify-content: center;
	padding: 15px 20px;
}

.pcc-card__heading {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.pcc-card__title-icon {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	box-sizing: border-box;
	border: 2px solid #aaa;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: inset 0 0 0 2px #fff;
}

.pcc-card__title {
	min-width: 0;
	margin: 0;
	color: #000;
	font-size: 48px;
	font-weight: 800;
	line-height: 1.1;
}

.pcc-card__title a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 767px) {
	.pcc-card__button,
	.pcc-card__title {
		font-size: 36px;
	}

	.pcc-card__online {
		font-size: 36px;
		gap: 12px;
	}

	.pcc-card__info {
		min-height: 180px;
		font-size: 32px;
	}

	.pcc-card--design-3 .pcc-card__online {
		font-size: 23px;
	}

	.pcc-card__country-pill {
		min-width: 150px;
		height: 40px;
		font-size: 22px;
	}

	.pcc-card__profile-text {
		font-size: 20px;
	}

	.pcc-card__fires {
		gap: 3px;
	}

	.pcc-card__booking {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pcc-card__button {
		transition: none;
	}

	.pcc-card__online-dot,
	.pcc-card__online-dot::after {
		animation: none;
	}
}
