/**
 * ZFRICA Giveaway Prize frontend theme.
 * This stylesheet keeps the giveaway page within the existing ZFRICA visual language:
 * deep teal, royal purple, orange reward accents, cream surfaces, and compact cards.
 */
.zgp-wrap {
	--zgp-teal: #078879;
	--zgp-teal-dark: #006a60;
	--zgp-teal-deep: #00554f;
	--zgp-purple: #5b2bbd;
	--zgp-purple-dark: #2f167f;
	--zgp-orange: #ff7300;
	--zgp-orange-dark: #d85d00;
	--zgp-cream: #fff7ef;
	--zgp-cream-2: #fff1e5;
	--zgp-mint: #e7faf5;
	--zgp-mint-2: #d7f4ef;
	--zgp-ink: #102033;
	--zgp-muted: #637381;
	--zgp-line: #e2ecea;
	--zgp-card: #ffffff;
	--zgp-shadow: 0 12px 28px rgba(7, 64, 58, .08);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	max-width: 980px;
	margin: 0 auto;
	color: var(--zgp-ink);
}

.zgp-wrap * {
	box-sizing: border-box;
}

/**
 * Hero card reserves space for the final giveaway banner image.
 * Without an uploaded image, it still presents the brand colors and prize mood.
 */
.zgp-hero {
	position: relative;
	min-height: 218px;
	border-radius: 24px;
	overflow: hidden;
	padding: 28px;
	background:
		radial-gradient(circle at 82% 18%, rgba(255, 115, 0, .42), transparent 18%),
		radial-gradient(circle at 12% 88%, rgba(255, 255, 255, .13), transparent 24%),
		linear-gradient(135deg, var(--zgp-teal-deep) 0%, var(--zgp-teal-dark) 42%, var(--zgp-purple-dark) 100%);
	box-shadow: 0 18px 38px rgba(0, 84, 79, .18);
	isolation: isolate;
}

.zgp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .04) 46%, rgba(255, 255, 255, .04)),
		repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0, rgba(255,255,255,.045) 1px, transparent 1px, transparent 28px);
	z-index: -1;
}

.zgp-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.zgp-hero.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 64, 58, .76), rgba(0, 64, 58, .24) 56%, rgba(47, 22, 127, .06));
	z-index: -1;
}

.zgp-hero-content {
	max-width: 430px;
	position: relative;
	z-index: 1;
}

.zgp-hero-pill,
.zgp-prize-ribbon {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 8px 15px;
	background: linear-gradient(135deg, var(--zgp-orange), var(--zgp-orange-dark));
	color: #fff;
	font-weight: 900;
	font-size: 14px;
	letter-spacing: .01em;
	box-shadow: 0 10px 20px rgba(255, 115, 0, .28);
}

.zgp-hero h2 {
	font-size: clamp(32px, 7vw, 60px);
	line-height: .98;
	margin: 18px 0 12px;
	max-width: 370px;
	color: #fff;
	letter-spacing: -.04em;
	text-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.zgp-hero p {
	font-size: 18px;
	line-height: 1.35;
	max-width: 300px;
	margin: 0;
	color: rgba(255, 255, 255, .93);
	font-weight: 600;
}

.zgp-hero-prizes {
	position: absolute;
	right: 24px;
	bottom: 22px;
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 36px;
	filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .22));
}

.zgp-hero-prizes span {
	width: 52px;
	height: 52px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .15);
	backdrop-filter: blur(8px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .22);
}

.zgp-hero-prizes span:last-child {
	width: 70px;
	height: 70px;
	border-radius: 22px;
	background: linear-gradient(135deg, var(--zgp-orange), #f7b733);
	color: #fff;
	font-weight: 900;
	font-size: 42px;
}


.zgp-hero.has-image {
	min-height: 0;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(16, 32, 51, .08);
	box-shadow: var(--zgp-shadow);
}

.zgp-hero.has-image::before,
.zgp-hero.has-image::after {
	display: none;
}

.zgp-hero.has-image .zgp-hero-img {
	position: static;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	z-index: auto;
}

/**
 * Shared card surfaces use light borders and soft shadows.
 * The page remains compact while still looking premium on mobile.
 */
.zgp-page-note,
.zgp-tabs,
.zgp-user-card,
.zgp-table-card,
.zgp-tab-help,
.zgp-prize-slot {
	background: var(--zgp-card);
	border: 1px solid var(--zgp-line);
	box-shadow: var(--zgp-shadow);
}

.zgp-page-note {
	display: grid;
	grid-template-columns: 72px 1fr;
	align-items: center;
	gap: 18px;
	border-radius: 22px;
	padding: 20px 24px;
	margin: 16px 0;
	background: linear-gradient(135deg, #ffffff 0%, var(--zgp-mint) 100%);
}

.zgp-note-icon,
.zgp-user-avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--zgp-teal), var(--zgp-teal-deep));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 27px;
	color: #fff;
	box-shadow: 0 10px 22px rgba(0, 106, 96, .22);
}

.zgp-page-note p {
	font-size: 18px;
	line-height: 1.42;
	margin: 0;
	font-weight: 700;
	color: #173042;
}

.zgp-tabs {
	display: flex;
	gap: 2px;
	overflow-x: auto;
	border-radius: 22px;
	padding: 8px 10px 0;
	margin-bottom: 16px;
	-webkit-overflow-scrolling: touch;
	background: #ffffff;
}

.zgp-tab {
	appearance: none;
	border: 0;
	background: transparent;
	color: #536271;
	padding: 14px 14px 16px;
	min-width: 128px;
	font-weight: 900;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
	transition: color .18s ease, background .18s ease;
}

.zgp-tab:hover,
.zgp-tab:focus-visible {
	color: var(--zgp-teal-dark);
	outline: 0;
}

.zgp-tab.is-active {
	color: var(--zgp-purple-dark);
}

.zgp-tab.is-active::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 4px;
	border-radius: 999px 999px 0 0;
	background: linear-gradient(90deg, var(--zgp-orange), var(--zgp-purple));
}

.zgp-tab-icon {
	font-size: 21px;
	line-height: 1;
	color: inherit;
}

.zgp-panel[hidden] {
	display: none !important;
}

.zgp-tab-intro-grid {
	display: grid;
	grid-template-columns: minmax(240px, .8fr) minmax(280px, 1.2fr);
	gap: 14px;
	margin-bottom: 14px;
}

.zgp-tab-help {
	border-radius: 18px;
	padding: 18px;
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: 14px;
	background: linear-gradient(135deg, var(--zgp-cream) 0%, #ffffff 52%, var(--zgp-mint) 100%);
}

.zgp-info-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--zgp-purple), var(--zgp-purple-dark));
	color: #fff;
	font: 900 24px Georgia, serif;
	box-shadow: 0 10px 20px rgba(47, 22, 127, .2);
}

.zgp-tab-help h3,
.zgp-table-head h3 {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.2;
	color: var(--zgp-ink);
}

.zgp-tab-help p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #283244;
}

/**
 * Prize image slot uses the Tap & Win purple/orange reward treatment.
 * Uploaded admin images will cover this whole landscape area cleanly.
 */
.zgp-prize-slot {
	position: relative;
	min-height: 132px;
	border-radius: 18px;
	overflow: hidden;
	background:
		radial-gradient(circle at 84% 20%, rgba(255, 115, 0, .68), transparent 19%),
		linear-gradient(135deg, var(--zgp-purple-dark) 0%, var(--zgp-purple) 52%, var(--zgp-teal) 100%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px;
	color: #fff;
}

.zgp-prize-slot::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(110deg, rgba(255,255,255,.08) 0, rgba(255,255,255,.08) 1px, transparent 1px, transparent 22px);
	pointer-events: none;
}

.zgp-prize-slot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	z-index: 1;
}

.zgp-prize-items {
	display: flex;
	gap: 10px;
	font-size: 31px;
	align-items: center;
	position: relative;
	z-index: 2;
}

.zgp-prize-items span {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .2);
}

.zgp-prize-slot strong {
	background: var(--zgp-cream);
	color: var(--zgp-orange-dark);
	border-radius: 14px;
	padding: 17px 14px;
	font-size: 22px;
	white-space: nowrap;
	position: relative;
	z-index: 2;
	box-shadow: 0 12px 22px rgba(0, 0, 0, .16);
}

.zgp-user-card {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	align-items: center;
	border-radius: 20px;
	padding: 16px 18px;
	margin: 14px 0;
	gap: 10px;
	background: linear-gradient(135deg, #ffffff, var(--zgp-mint));
}

.zgp-user-card-part {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 12px;
	align-items: center;
	min-width: 0;
	border-left: 1px solid rgba(0, 106, 96, .16);
	padding-left: 18px;
}

.zgp-user-card-part:first-child {
	border-left: 0;
	padding-left: 0;
}

.zgp-user-card-part strong {
	font-size: 18px;
	line-height: 1.2;
	color: #102033;
}

.zgp-user-card-part small {
	grid-column: 2;
	color: var(--zgp-muted);
	font-size: 13px;
	margin-top: 3px;
}

.zgp-status-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--zgp-orange), var(--zgp-orange-dark));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 20px;
	box-shadow: 0 10px 18px rgba(255, 115, 0, .2);
}

.zgp-user-card-logged-out {
	grid-template-columns: auto 1fr;
}

/**
 * Leaderboard cards follow the existing neat-table direction.
 * Badge text stays clean without heavy backgrounds or oversized tooltips.
 */
.zgp-table-card {
	border-radius: 20px;
	padding: 16px;
	margin: 14px 0;
	background: #fff;
}

.zgp-table-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.zgp-table-head h3 {
	display: flex;
	align-items: center;
	gap: 8px;
}

.zgp-table-head h3 span {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--zgp-teal), var(--zgp-teal-deep));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.zgp-month-label {
	color: var(--zgp-purple-dark);
	font-weight: 900;
	white-space: nowrap;
}

.zgp-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.zgp-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 14px;
}

.zgp-table th {
	background: linear-gradient(180deg, var(--zgp-mint), #f5fffc);
	padding: 12px 10px;
	text-align: left;
	font-weight: 900;
	color: #123332;
	border-bottom: 1px solid var(--zgp-line);
}

.zgp-table th:first-child {
	border-radius: 10px 0 0 10px;
}

.zgp-table th:last-child {
	border-radius: 0 10px 10px 0;
}

.zgp-table td {
	padding: 13px 10px;
	border-bottom: 1px solid var(--zgp-line);
	white-space: nowrap;
	color: #172033;
}

.zgp-table tbody tr:hover td {
	background: #fbfffe;
}

.zgp-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 500;
	color: #172033;
}

.zgp-badge-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, #cbd5e1, #64748b);
	display: inline-block;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}

.zgp-badge-diamond .zgp-badge-dot,
.zgp-badge-money-maker .zgp-badge-dot {
	background: linear-gradient(135deg, var(--zgp-purple), var(--zgp-purple-dark));
}

.zgp-badge-gold .zgp-badge-dot,
.zgp-badge-prize-winner .zgp-badge-dot {
	background: linear-gradient(135deg, var(--zgp-orange), #f7b733);
}

.zgp-badge-silver .zgp-badge-dot,
.zgp-badge-platinum .zgp-badge-dot {
	background: linear-gradient(135deg, #e8eef3, #94a3b8);
}

.zgp-empty-cell {
	text-align: center;
	color: var(--zgp-muted);
}

.zgp-footnote {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--zgp-muted);
	margin: 16px 0 0;
}

.zgp-footnote span {
	color: var(--zgp-teal-dark);
}

.zgp-empty {
	padding: 18px;
	border: 1px solid var(--zgp-line);
	border-radius: 14px;
	background: var(--zgp-cream);
	color: var(--zgp-ink);
}

@media (max-width: 760px) {
	.zgp-wrap {
		max-width: 100%;
	}

	.zgp-hero {
		min-height: 190px;
		padding: 20px;
		border-radius: 20px;
	}

	.zgp-hero-prizes {
		right: 14px;
		bottom: 14px;
		font-size: 23px;
		gap: 5px;
	}

	.zgp-hero-prizes span {
		width: 40px;
		height: 40px;
		border-radius: 14px;
	}

	.zgp-hero-prizes span:last-child {
		width: 52px;
		height: 52px;
		font-size: 31px;
	}

	.zgp-page-note {
		grid-template-columns: 52px 1fr;
		gap: 12px;
		padding: 16px;
	}

	.zgp-page-note p {
		font-size: 15px;
	}

	.zgp-note-icon,
	.zgp-user-avatar {
		width: 48px;
		height: 48px;
		font-size: 23px;
	}

	.zgp-tab-intro-grid,
	.zgp-user-card {
		grid-template-columns: 1fr;
	}

	.zgp-user-card-part {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid rgba(0, 106, 96, .16);
		padding-top: 12px;
	}

	.zgp-user-card-part:first-child {
		border-top: 0;
		padding-top: 0;
	}

	.zgp-tab {
		min-width: 112px;
		font-size: 13px;
		padding-left: 9px;
		padding-right: 9px;
	}

	.zgp-prize-slot {
		min-height: 116px;
	}

	.zgp-prize-items {
		font-size: 25px;
	}

	.zgp-prize-items span {
		width: 36px;
		height: 36px;
	}

	.zgp-prize-slot strong {
		font-size: 18px;
		padding: 14px 12px;
	}
}


/**
 * Badge icons use the uploaded Goals/Ranking images when available.
 * Fallback emoji stays compact and avoids the heavy icon backgrounds we removed.
 */
.zgp-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	white-space: nowrap;
	color: #213347;
}

.zgp-badge-icon,
.zgp-badge-dot {
	width: 22px;
	height: 22px;
	border-radius: 999px;
	flex: 0 0 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.zgp-badge-icon {
	object-fit: contain;
	background: transparent;
	box-shadow: none;
}

.zgp-badge-dot {
	font-size: 16px;
	line-height: 1;
	background: transparent;
	box-shadow: none;
}

/**
 * Version 1.0.4 frontend refinements.
 * These overrides make the page lighter, increase giveaway image visibility,
 * and keep the user standing inside the top-performers card.
 */
.zgp-page-note {
	display: block;
	border: 0;
	box-shadow: none;
	background: transparent;
	padding: 7px 2px 10px;
	margin: 8px 0 12px;
	font-size: 13.5px;
	line-height: 1.45;
	font-weight: 400;
	color: #4a5968;
}

.zgp-tab-intro-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-bottom: 14px;
}

.zgp-tab-help {
	display: block;
	border-radius: 16px;
	padding: 14px 16px;
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(7, 64, 58, .06);
}

.zgp-tab-help h3 {
	margin: 0 0 5px;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--zgp-ink);
}

.zgp-tab-help p {
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.5;
	color: #526171;
}

.zgp-inline-note {
	color: var(--zgp-teal-dark);
	font-weight: 600;
}

.zgp-prize-slot.has-image {
	min-height: 280px;
	max-height: 560px;
	aspect-ratio: 4 / 3;
	padding: 0;
	background: #ffffff;
	align-items: stretch;
	justify-content: center;
}

.zgp-prize-slot.has-image::before {
	display: none;
}

.zgp-prize-slot.has-image img {
	position: static !important;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	z-index: auto;
}

.zgp-inline-status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
	margin: 0 0 10px;
	padding: 9px 12px;
	border-radius: 12px;
	background: linear-gradient(135deg, #ffffff, var(--zgp-mint));
	border: 1px solid var(--zgp-line);
	font-size: 13px;
	font-weight: 400;
	color: #536271;
}

.zgp-inline-status strong {
	color: var(--zgp-teal-dark);
	font-weight: 800;
}

.zgp-table-card {
	overflow: hidden;
}

.zgp-table-head h3 .zgp-table-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--zgp-teal), var(--zgp-teal-deep));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
}

.zgp-table-scroll {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

.zgp-table {
	width: max-content;
	min-width: 100%;
	table-layout: auto;
	font-size: 13px;
}

.zgp-table th,
.zgp-table td {
	padding: 10px 9px;
}

.zgp-table th:last-child,
.zgp-table td:last-child {
	padding-right: 12px;
}

.zgp-badge {
	gap: 5px;
	font-size: 12.5px;
	font-weight: 500;
}

.zgp-badge-icon,
.zgp-badge-dot {
	width: 16px;
	height: 16px;
	flex-basis: 16px;
	font-size: 12px;
}

@media (max-width: 760px) {
	.zgp-page-note {
		font-size: 12.5px;
		padding-left: 1px;
		padding-right: 1px;
	}

	.zgp-prize-slot.has-image {
		min-height: 250px;
		max-height: 420px;
	}

	.zgp-inline-status {
		font-size: 12.5px;
		gap: 6px 12px;
	}
}

/**
 * Version 1.0.5 clarity and compact-professional refinements.
 * These overrides keep the image, copy, tabs, and tables lighter and clearer.
 */
.zgp-how-it-works {
	margin: 10px 0 13px;
	padding: 5px 10px 20px 10px;
	color: #4a5968;
background : #1a2f67;
border-radius : 6px;
}

.zgp-how-it-works h2 {
	margin: 0 0 4px;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 700;
	color: #e1e7df;
}

.zgp-how-it-works p {
	margin: 0;
	font-size: 12.8px;
	line-height: 1.48;
	font-weight: 400;
	color: #c7c7c7;
}

.zgp-tabs {
	gap: 0;
	padding: 7px 8px 0;
}

.zgp-tab {
	min-width: 112px;
	justify-content: flex-start;
	gap: 4px;
	padding: 11px 10px 13px;
	font-size: 12px;
	font-weight: 700;
	text-align: left;
}

.zgp-tab-icon {
	font-size: 16px;
	width: 17px;
	flex: 0 0 17px;
	text-align: center;
}

.zgp-tab span:last-child {
	line-height: 1.15;
	white-space: normal;
}

.zgp-tab.is-active::after {
	left: 10px;
	right: 10px;
	height: 3px;
}

.zgp-tab-intro-grid {
	display: block;
}

.zgp-tab-help {
	padding: 13px;
	border-radius: 17px;
}

.zgp-tab-help h3 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 4px;
}

.zgp-tab-help p {
	font-size: 13px;
	line-height: 1.45;
	font-weight: 400;
	margin-bottom: 10px;
}

.zgp-inline-note {
	color: var(--zgp-orange-dark);
	font-size: 12px;
	font-weight: 600;
}

.zgp-tab-help .zgp-prize-slot {
	margin-top: 10px;
	box-shadow: none;
}

.zgp-tab-help .zgp-prize-slot.has-image {
	min-height: 300px;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	border-color: rgba(16, 32, 51, .08);
}

.zgp-table-card {
	padding: 13px;
	border-radius: 17px;
}

.zgp-table-head {
	gap: 8px;
	margin-bottom: 9px;
	flex-wrap: nowrap;
}

.zgp-table-head h3 {
	min-width: 0;
	margin: 0;
	font-size: 14px;
	line-height: 1.15;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zgp-table-head h3 .zgp-table-icon {
	width: 24px;
	height: 24px;
	font-size: 12px;
	gap: 0;
	flex: 0 0 24px;
}

.zgp-month-label {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
	flex: 0 0 auto;
}

.zgp-winners-card .zgp-table-head h3 {
	font-size: 12.5px;
	font-weight: 700;
}

.zgp-winners-card .zgp-table-head h3 .zgp-table-icon {
	width: 21px;
	height: 21px;
	font-size: 11px;
}

.zgp-winners-card .zgp-month-label {
	font-size: 10.5px;
	font-weight: 600;
}

.zgp-inline-status {
	display: grid;
	grid-template-columns: 30% 1fr;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	font-size: 12.5px;
	background: #fbfffe;
}

.zgp-inline-user {
	min-width: 0;
	padding-right: 10px;
	border-right: 1px solid rgba(0, 106, 96, .15);
}

.zgp-inline-user span {
	display: block;
	font-size: 10.5px;
	line-height: 1;
	color: var(--zgp-muted);
	margin-bottom: 3px;
}

.zgp-inline-user strong {
	display: block;
	font-size: 12.8px;
	line-height: 1.15;
	color: var(--zgp-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zgp-inline-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
	min-width: 0;
}

.zgp-status-item {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
	color: #536271;
}

.zgp-status-item em {
	font-style: normal;
	font-weight: 500;
	color: #667789;
}

.zgp-status-item strong {
	font-weight: 800;
	color: var(--zgp-teal-dark);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.zgp-badge-levels {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
}

.zgp-badge-levels summary {
	list-style: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--zgp-orange);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	cursor: pointer;
}

.zgp-badge-levels summary::-webkit-details-marker {
	display: none;
}

.zgp-badge-levels ol {
	position: absolute;
	top: 22px;
	left: -70px;
	z-index: 30;
	width: 210px;
	max-height: 230px;
	overflow: auto;
	margin: 0;
	padding: 9px 12px 9px 28px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid var(--zgp-line);
	box-shadow: 0 16px 36px rgba(16, 32, 51, .16);
	color: #233446;
	font-size: 11.5px;
	font-weight: 500;
}

.zgp-table {
	width: 100%;
	min-width: 0;
	table-layout: auto;
}

.zgp-table th,
.zgp-table td {
	font-size: 12.5px;
}

.zgp-badge {
	font-size: 11.5px;
	gap: 4px;
}

.zgp-badge-icon,
.zgp-badge-dot {
	width: 14px;
	height: 14px;
	flex-basis: 14px;
	font-size: 11px;
}

@media (max-width: 760px) {
	.zgp-how-it-works h2 {
		font-size: 14px;
	}

	.zgp-how-it-works p {
		font-size: 12.2px;
	}

	.zgp-tab {
		min-width: 96px;
		font-size: 11px;
		padding: 10px 8px 12px;
	}

	.zgp-tab-icon {
		font-size: 14px;
		width: 15px;
		flex-basis: 15px;
	}

	.zgp-tab-help .zgp-prize-slot.has-image {
		min-height: 250px;
	}

	.zgp-inline-status {
		grid-template-columns: 32% 1fr;
		font-size: 12px;
		gap: 8px;
	}

	.zgp-inline-metrics {
		gap: 5px 10px;
	}

	.zgp-table {
		min-width: 660px;
	}

	.zgp-winners-card .zgp-table {
		min-width: 760px;
	}
}

/**
 * Version 1.0.6 badge tooltip and badge-cell consistency fixes.
 * Tooltips now mirror the CLOB leaderboard style and avoid double numbering.
 */
.zgp-table th {
	position: relative;
}

.zgp-table-scroll {
	overflow-x: auto;
	overflow-y: visible;
}

.zgp-badge-levels .zgp-badge-tooltip {
	position: absolute;
	top: 22px;
	left: -90px;
	z-index: 80;
	width: 250px;
	max-height: 260px;
	overflow: auto;
	margin: 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid var(--zgp-line);
	box-shadow: 0 16px 36px rgba(16, 32, 51, .18);
	color: #233446;
	font-size: 11.5px;
	font-weight: 500;
	white-space: normal;
}

.zgp-badge-header-help .zgp-badge-tooltip {
	left: -112px;
}

.zgp-badge-tooltip strong {
	display: block;
	margin-bottom: 8px;
	font-size: 11.5px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--zgp-ink);
}

.zgp-badge-tooltip-list {
	display: grid;
	gap: 5px;
}

.zgp-badge-tooltip-row {
	display: grid;
	grid-template-columns: 26px 20px 1fr;
	align-items: center;
	gap: 4px;
	line-height: 1.25;
}

.zgp-badge-tooltip-number {
	color: var(--zgp-orange-dark);
	font-weight: 800;
}

.zgp-badge-tooltip-icon {
	font-size: 13px;
	line-height: 1;
	text-align: center;
}

.zgp-badge-tooltip-name {
	color: #172033;
}

.zgp-badge-levels ol {
	display: none;
}

.zgp-table .zgp-badge-levels summary {
	vertical-align: middle;
	margin-left: 3px;
}


/**
 * Version 1.0.7 layout and admin-copy refinements.
 * These overrides keep tabs clear, prevent image overflow, and stop table blanks.
 */
.zgp-tabs-title {
	margin: 10px 2px 7px;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--zgp-ink);
}

.zgp-tabs {
	align-items: stretch;
}

.zgp-tab {
	gap: 2px;
	font-size: 11.2px;
	font-weight: 700;
	min-width: 104px;
	padding-left: 9px;
	padding-right: 9px;
	justify-content: flex-start;
}

.zgp-tab-icon {
	margin-right: 1px;
}

.zgp-panel,
.zgp-tab-help,
.zgp-prize-slot {
	box-sizing: border-box;
	max-width: 100%;
	overflow: hidden;
}

.zgp-tab-help {
	padding: 12px;
}

.zgp-tab-help p {
	overflow-wrap: anywhere;
}

.zgp-tab-help .zgp-prize-slot {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.zgp-prize-slot.has-image {
	min-height: 255px;
	max-height: none;
	height: auto;
	aspect-ratio: 1 / 1;
	padding: 0;
	background: #ffffff;
	display: block;
}

.zgp-prize-slot.has-image img {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	display: block;
}

.zgp-inline-note {
	color: var(--zgp-orange-dark);
	font-size: 11.4px;
	font-weight: 600;
	line-height: 1.35;
}

.zgp-table-card {
	max-width: 100%;
	overflow: hidden;
}

.zgp-table-scroll {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.zgp-table {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	border-collapse: collapse;
	table-layout: auto;
}

.zgp-table th,
.zgp-table td {
	width: auto;
	max-width: none;
	white-space: nowrap;
}

.zgp-table th:last-child,
.zgp-table td:last-child {
	padding-right: 10px;
}

.zgp-winners-card .zgp-table-head {
	grid-template-columns: 1fr;
}

.zgp-winners-card .zgp-table-head h3 {
	font-size: 12px;
	line-height: 1.15;
}

.zgp-winners-card .zgp-month-label {
	display: none;
}

@media (max-width: 640px) {
	.zgp-tabs-title {
		font-size: 13px;
		margin-left: 4px;
	}

	.zgp-tab {
		min-width: 96px;
		font-size: 10.8px;
		gap: 2px;
		padding: 10px 8px 12px;
	}

	.zgp-prize-slot.has-image {
		min-height: 245px;
		aspect-ratio: 1 / 1;
	}
}


/**
 * Version 1.0.8 visual polish.
 * This is a CSS-only refinement for centered headings, justified intro text,
 * more premium tabs, and centered giveaway section titles.
 */
.zgp-how-it-works {
	text-align: center;
	max-width: 100%;
}

.zgp-how-it-works h2 {
	text-align: center;
	font-size: 15.5px;
	font-weight: 800;
	letter-spacing: .01em;
}

.zgp-how-it-works p {
	text-align: justify;
	text-align-last: left;
	font-size: 12.9px;
	line-height: 1.62;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.zgp-tabs-title {
	text-align: center;
	font-size: 14.5px;
	font-weight: 850;
	margin: 14px 0 8px;
	color: var(--zgp-ink);
}

.zgp-tabs {
	position: relative;
	gap: 7px;
	padding: 8px;
	margin: 0 0 17px;
	border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,255,252,.92)),
		radial-gradient(circle at top left, rgba(255, 132, 0, .11), transparent 38%);
	border: 1px solid rgba(0, 106, 96, .12);
	box-shadow: 0 14px 34px rgba(12, 35, 50, .10);
	scrollbar-width: none;
}

.zgp-tabs::-webkit-scrollbar {
	display: none;
}

.zgp-tab {
	position: relative;
	min-width: 108px;
	min-height: 48px;
	padding: 9px 10px 11px;
	border: 1px solid rgba(0, 106, 96, .10);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fffd 100%);
	box-shadow: 0 7px 18px rgba(10, 30, 45, .055);
	color: #304154;
	gap: 3px;
	font-size: 11.2px;
	font-weight: 760;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.zgp-tab:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 132, 0, .32);
	box-shadow: 0 10px 22px rgba(10, 30, 45, .08);
}

.zgp-tab.is-active {
	color: var(--zgp-teal-dark);
	background: linear-gradient(180deg, #ffffff 0%, #f0fffb 100%);
	border-color: rgba(255, 132, 0, .48);
	box-shadow: 0 12px 26px rgba(0, 106, 96, .13);
}

.zgp-tab.is-active::after {
	left: 12px;
	right: 12px;
	bottom: 5px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--zgp-orange), var(--zgp-purple), var(--zgp-teal));
}

.zgp-tab-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin-right: 2px;
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 106, 96, .075);
	color: var(--zgp-teal-dark);
	font-size: 12px;
	line-height: 1;
}

.zgp-tab.is-active .zgp-tab-icon {
	background: var(--zgp-orange);
	color: #ffffff;
	box-shadow: 0 5px 12px rgba(255, 132, 0, .22);
}

.zgp-tab span:last-child {
	line-height: 1.05;
}

.zgp-tab-help h3 {
	text-align: center;
	font-size: 16.5px;
	font-weight: 820;
	margin-bottom: 6px;
}

.zgp-tab-help p {
	text-align: justify;
	max-width: 720px;
font-size : 14px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 640px) {

	
.zgp-how-it-works h2  {
		font-size: 20px;
		margin-top :10px;
	}
	
	.zgp-tabs-title {
		font-size: 18px;
		margin-top : 22px;
		color : #ff6f00;
	}


	.zgp-how-it-works p {
		font-size: 14px;
		line-height: 1.4;
		padding: 0 2px;
		text-align : justify !important;
		
	}

	.zgp-tabs {
		gap: 6px;
		padding: 7px;
		border-radius: 19px;
	}

	.zgp-tab {
		min-width: 101px;
		min-height: 46px;
		padding: 8px 8px 11px;
		font-size: 10.6px;
		border-radius: 14px;
	}

	.zgp-tab-icon {
		width: 17px;
		height: 17px;
		flex-basis: 17px;
		font-size: 11px;
	}

	.zgp-tab-help h3 {
		font-size: 15.5px;
	}
}


/**
 * Version 1.0.9 secondary giveaway tab selector.
 * The lower selector repeats the same controls after the prize image without a title.
 */
.zgp-tabs-secondary {
	margin-top: 12px;
	margin-bottom: 14px;
	box-shadow: 0 10px 24px rgba(12, 35, 50, .085);
}

.zgp-tab-help + .zgp-tabs-secondary,
.zgp-tab-intro-grid + .zgp-tabs-secondary {
	margin-top: 12px;
}

.zgp-panel .zgp-tabs-secondary {
	border-radius: 20px;
}

@media (max-width: 640px) {
	.zgp-tabs-secondary {
		margin-top: 10px;
		margin-bottom: 13px;
	}
}
