/* Jeux Concours — public contest page additions on top of the Club Privilège styles */


.jc-page .jc-listing {
	margin-top: 0.5rem;
}

.jc-page .jc-listing-head {
	text-align: center;
	margin: 1.5rem 0 2.5rem;
}

.jc-page .jc-kicker {
	margin: 0 0 0.8rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--cpm-red-dark);
}

.jc-page h1.jc-listing-title {
	margin: 0 0 0.8rem;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 800;
}

.jc-page .jc-listing-sub {
	max-width: 34rem;
	margin: 0 auto;
	color: var(--cpm-muted);
}

.jc-page .jc-section-title {
	margin: 2.2rem 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
	text-align: left;
}

.jc-page .jc-card-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
	text-align: left;
}

.jc-page .jc-card-item {
	margin: 0;
}

.jc-page .jc-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--cpm-card);
	border: 1px solid var(--cpm-line);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.jc-page .jc-card:hover,
.jc-page .jc-card:focus {
	border-color: var(--cpm-red);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.jc-page .jc-card-media {
	display: block;
}

.jc-page .jc-card-img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.jc-page .jc-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.1rem 1.3rem 1.25rem;
	flex: 1;
}

.jc-page .jc-card-store {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cpm-red-dark);
}

.jc-page .jc-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.35;
}

.jc-page .jc-card-prize {
	color: #333333;
	font-size: 0.92rem;
}

.jc-page .jc-card-dates {
	color: var(--cpm-muted);
	font-size: 0.85rem;
}

.jc-page .jc-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.7rem;
	color: var(--cpm-red-dark);
	font-weight: 700;
	font-size: 0.92rem;
}

.jc-page .jc-card:hover .jc-card-cta .cpm-icon {
	transform: translateX(3px);
}

.jc-page .jc-card-cta .cpm-icon {
	transition: transform 0.15s ease;
}


.jc-page .jc-hero-dates {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin: 1.3rem 0 0;
}

.jc-page .jc-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.95rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #f0f0f0;
	font-size: 0.85rem;
}

.jc-page .jc-chip .cpm-icon {
	width: 16px;
	height: 16px;
	color: var(--cpm-red);
}


.jc-page .jc-countdown {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7rem;
	max-width: 520px;
	margin: 2rem auto 0;
}

.jc-page .jc-countdown-label {
	margin: 0;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #ffb3b3;
}

.jc-page .jc-countdown-clock {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.6rem;
	width: 100%;
}

.jc-page .jc-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	padding: 0.8rem 0.35rem 0.6rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.07);
}

.jc-page .jc-countdown-unit b {
	font-size: clamp(1.45rem, 5vw, 2.1rem);
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
}

.jc-page .jc-countdown-unit small {
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #bdbdbd;
}

.jc-page .jc-countdown-bar {
	position: relative;
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	overflow: hidden;
}

.jc-page .jc-countdown-bar::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--jc-progress, 0%);
	border-radius: 999px;
	background: linear-gradient(90deg, var(--cpm-red), #ff8a8a);
	transition: width 0.6s ease;
}

.jc-page .jc-countdown--done .jc-countdown-clock,
.jc-page .jc-countdown--done .jc-countdown-bar {
	opacity: 0.45;
}


.jc-page .jc-contest-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 1.75rem;
	margin-top: 2.5rem;
	text-align: left;
	align-items: start;
}

.jc-page .jc-contest-side {
	align-self: start;
}

@media (min-width: 901px) {
	.jc-page .jc-contest-side {
		position: sticky;
		top: 1.5rem;
	}

	body.admin-bar .jc-page .jc-contest-side {
		top: 3.5rem;
	}
}

.jc-page .jc-contest-image {
	margin: 0 0 1.5rem;
}

.jc-page .jc-contest-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.jc-page .jc-about-title {
	margin: 0 0 0.9rem;
	font-size: clamp(1.65rem, 3.2vw, 2.15rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--cpm-black);
}

.jc-page .jc-description {
	color: #555555;
	font-size: 1.02rem;
	line-height: 1.75;
}

.jc-page .jc-description p {
	margin: 0 0 1rem;
}

.jc-page .jc-description p:last-child {
	margin-bottom: 0;
}

.jc-page .jc-rules-box {
	margin-top: 2rem;
	border: 1px solid var(--cpm-line);
	border-radius: 20px;
	background: var(--cpm-card);
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(23, 10, 4, 0.05);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jc-page .jc-rules-box[open] {
	border-color: #ededed;
	box-shadow: 0 18px 40px rgba(23, 10, 4, 0.08);
}

.jc-page .jc-rules-box summary {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.5rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	transition: background 0.15s ease;
	outline: none;
}

.jc-page .jc-rules-box summary::-webkit-details-marker {
	display: none;
}

.jc-page .jc-rules-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 11px;
	background: var(--cpm-red-soft);
	color: var(--cpm-red-dark);
}

.jc-page .jc-rules-icon .cpm-icon {
	width: 19px;
	height: 19px;
}

.jc-page .jc-rules-title {
	flex: 1;
	font-size: 1.02rem;
}

.jc-page .jc-rules-chevron {
	display: inline-flex;
	flex: none;
	color: var(--cpm-muted);
	transition: transform 0.2s ease, color 0.2s ease;
}

.jc-page .jc-rules-chevron .cpm-icon {
	width: 18px;
	height: 18px;
}

.jc-page .jc-rules-box[open] .jc-rules-chevron {
	transform: rotate(90deg);
	color: var(--cpm-red-dark);
}

.jc-page .jc-rules-content {
	padding: 0 1.5rem 1.5rem 5.05rem;
	color: #5a5a5a;
	font-size: 0.98rem;
	line-height: 1.75;
}

.jc-page .jc-rules-content p {
	position: relative;
	margin: 0 0 0.7rem;
	padding-left: 1.1rem;
}

.jc-page .jc-rules-content p::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #cfcfcf;
}

.jc-page .jc-rules-content p:last-child {
	margin-bottom: 0;
}

.jc-page .jc-rules-content ul,
.jc-page .jc-rules-content ol {
	margin: 0 0 0.9rem;
	padding-left: 1.15rem;
}

.jc-page .jc-rules-content li {
	margin-bottom: 0.35rem;
}


.jc-page .jc-ended-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.5rem;
	border: 1px dashed #d8d8d8;
	border-radius: 20px;
	background: var(--cpm-card);
}

.jc-page .jc-ended-badge {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	background: #f1f1f1;
	color: #8a8a8a;
}

.jc-page .jc-ended-badge .cpm-icon {
	width: 20px;
	height: 20px;
}

.jc-page .jc-ended-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.jc-page .jc-ended-text b {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--cpm-black);
}

.jc-page .jc-ended-text span {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #777777;
}


.jc-page .jc-winner-public {
	position: relative;
	margin-bottom: 1rem;
	padding: 1.6rem 1.35rem 1.35rem;
	border: 1px solid #f2ddbe;
	border-radius: 18px;
	background: linear-gradient(150deg, #fff8ec, #ffffff);
	text-align: center;
	box-shadow: 0 18px 40px rgba(23, 10, 4, 0.08);
	overflow: hidden;
}

.jc-page .jc-winner-public::before {
	content: "";
	position: absolute;
	top: -70px;
	left: 50%;
	width: 230px;
	height: 230px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(214, 31, 38, 0.13), transparent 70%);
	pointer-events: none;
}

.jc-page .jc-winner-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.34rem 0.75rem;
	border-radius: 999px;
	background: #fde68a;
	color: #92400e;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.jc-page .jc-winner-badge .cpm-icon {
	width: 14px;
	height: 14px;
}

.jc-page .jc-winner-avatar {
	position: relative;
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	margin: 1rem auto 0.75rem;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--cpm-red), #ff7a7a);
	color: #ffffff;
	font-size: 1.4rem;
	font-weight: 800;
	box-shadow: 0 12px 26px rgba(214, 31, 38, 0.28);
}

.jc-page .jc-winner-name {
	position: relative;
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--cpm-black);
}

.jc-page .jc-winner-contact {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	margin: 0.7rem 0 0;
	color: #8a7563;
	font-size: 0.92rem;
}

.jc-page .jc-masked {
	filter: blur(3.5px);
	user-select: none;
	letter-spacing: 0.03em;
}

.jc-page .jc-winner-note {
	position: relative;
	margin: 0.85rem 0 0;
	color: #a79784;
	font-size: 0.75rem;
}

.jc-page .jc-prize-card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1rem;
	padding: 1.5rem 1.4rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #151515 0%, #000000 100%);
	color: #ffffff;
}

.jc-page .jc-prize-icon {
	color: var(--cpm-red);
}

.jc-page .jc-prize-icon .cpm-icon {
	width: 26px;
	height: 26px;
}

.jc-page .jc-prize-label {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #bdbdbd;
}

.jc-page .jc-prize-value {
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.35;
}


.jc-page .jc-meta-card {
	display: flex;
	flex-direction: column;
	padding: 0.4rem 1.4rem;
	border: 1px solid var(--cpm-line);
	border-radius: 20px;
	background: var(--cpm-card);
	box-shadow: 0 14px 34px rgba(23, 10, 4, 0.05);
}

.jc-page .jc-meta-row {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1.15rem 0;
	border-top: 1px solid var(--cpm-line);
}

.jc-page .jc-meta-row:first-child {
	border-top: 0;
}

.jc-page .jc-meta-icon {
	display: inline-flex;
	flex: none;
	margin-top: 0.12rem;
	color: var(--cpm-red-dark);
}

.jc-page .jc-meta-icon .cpm-icon {
	width: 18px;
	height: 18px;
}

.jc-page .jc-meta-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.jc-page .jc-meta-label {
	font-size: 0.8rem;
	line-height: 1.4;
	color: #8a8a8a;
}

.jc-page .jc-meta-value {
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--cpm-black);
	overflow-wrap: anywhere;
}


.jc-page .jc-enter {
	margin: 2.5rem 0 0;
	text-align: left;
	scroll-margin-top: 1.5rem;
}

.jc-page .jc-enter .cpm-section-title {
	margin: 0 0 1.6rem;
	text-align: left;
	font-size: 1.65rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.jc-page .jc-enter .cpm-form-wrap {
	max-width: none;
	margin: 0;
}

.jc-page .jc-enter .cpm-notice {
	max-width: none;
	margin: 1rem 0 1rem;
	padding: 1.05rem 1.3rem 1.05rem 3rem;
	line-height: 1.65;
}


.jc-page .jc-register-extra {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.jc-page .jc-register-extra legend {
	display: block;
	width: 100%;
	margin: 1.9rem 0 1.2rem;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--cpm-black);
}

.jc-page .jc-form-wrap .cpm-notice {
	text-align: left;
}


.jc-page .jc-page-privacy {
	max-width: 640px;
	margin: 1.6rem 0 3rem;
	text-align: left;
}


@media (max-width: 900px) {
	.jc-page .jc-contest-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.jc-page .jc-enter .cpm-section-title {
		font-size: 1.45rem;
	}

	.jc-page .jc-card-grid {
		grid-template-columns: 1fr;
	}

	.jc-page .jc-hero-dates {
		flex-direction: column;
		align-items: center;
	}

	.jc-page .jc-listing-head {
		margin-bottom: 1.8rem;
	}

	.jc-page .jc-countdown {
		max-width: none;
		margin-top: 1.6rem;
	}

	.jc-page .jc-countdown-clock {
		gap: 0.4rem;
	}

	.jc-page .jc-countdown-unit {
		padding: 0.6rem 0.2rem 0.5rem;
		border-radius: 11px;
	}

	.jc-page .jc-rules-content {
		padding-left: 1.4rem;
	}
}
