/* ==========================================================================
   MAHKOTABOS - main stylesheet

   Visual identity (dark + gold) follows the mahkotabos256789.com reference,
   but the palette is re-tuned for legibility: the canvas is a warm charcoal
   rather than near-black, panels sit clearly above the page, and every
   text/background pair clears WCAG AAA (>= 7:1).

   Type has a hard floor: 16px on desktop, 15px on small screens. Nothing on
   the page renders below that.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
	/* Canvas - warm charcoal, not pure black */
	--ink: #17130e;
	--ink-deep: #100d09;
	--ink-2: #1e1811;
	--ink-3: #262014;
	--ink-4: #33291a;
	--ink-5: #40331f;

	/* Gold */
	--gold: #ffe08a;
	--gold-hi: #fff0bd;
	--gold-mid: #e8c547;
	--gold-deep: #c9a227;
	--gold-shade: #9a7718;

	/* Cream - pushed towards pure white for legibility on a dark page */
	--cream: #ffffff;
	--cream-2: #fffdf8;
	--cream-3: #fff8f0;

	/* Muted tones - all near-white; every pair clears 7:1 on every surface */
	--muted: #f8f3ea;
	--muted-2: #efe8da;
	--muted-3: #e6ddc9;

	/* Semantic - --red is dark enough for cream text to clear 7:1 on it */
	--red: #9c1422;
	--red-deep: #7d0f1d;
	--rose: #ffd0d4;
	--green: #35c48c;
	--green-2: #7dffcd;

	/* Lines & surfaces */
	--line: #ffe08a8f;
	--line-soft: #ffe08a52;
	--panel: linear-gradient(180deg, #33291a 0%, #272015 48%, #201a12 100%);
	--panel-2: linear-gradient(180deg, #2b2418 0%, #211b13 100%);
	--panel-flat: #251e15;
	--inset-hi: inset 0 1px 0 #ffe08a47;
	--shadow-lg: 0 24px 60px #00000073;
	--shadow-md: 0 10px 28px #0000005c;

	/* Gold gradient. Dark text on these stops measures 15.8:1 -> 7.1:1,
	   so the darkest stop still clears 7:1. */
	--grad-gold: linear-gradient(180deg, #fff6d4 0%, #ffe08a 44%, #c9a227 100%);
	--grad-red: linear-gradient(145deg, #f4dd9a, #e9b84e);

	/* Radii */
	--r-sm: 10px;
	--r: 13px;
	--r-lg: 18px;
	--r-xl: 26px;

	/* Layout */
	--shell: 1280px;
	--shell-pad: 24px;
	--header-h: 78px;

	/* Type floors - overridden down one step on small screens */
	--fs-micro: 16px;
	--fs-small: 16px;
	--fs-body: 17px;
	--fs-lead: 19px;

	--font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
	--font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --- Reset -------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

body {
	margin: 0;
	min-width: 320px;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.62;
	font-weight: 600;
	color: var(--cream);
	background-color: var(--ink);
	background-image:
		radial-gradient(1100px 600px at 10% -8%, #40331f 0%, transparent 60%),
		radial-gradient(900px 520px at 95% 2%, #33291a 0%, transparent 58%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

a {
	color: var(--gold);
	text-decoration: none;
}

a:hover {
	color: var(--gold-hi);
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin: 0;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.cg-ico {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: none;
}

/* --- Layout primitives -------------------------------------------------- */

.cg-shell {
	width: min(100% - (var(--shell-pad) * 2), var(--shell));
	margin-inline: auto;
}

.cg-section {
	padding: 68px 0;
	position: relative;
}

.cg-section--tight {
	padding: 46px 0;
}

/* Background lives on the section itself: an ::before overlay would paint
   above the section's in-flow text. */
.cg-section--alt {
	background: linear-gradient(180deg, #211a12 0%, #17130e 100%);
	border-block: 1px solid var(--line-soft);
}

/* --- Typography --------------------------------------------------------- */

.cg-display {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.08;
	text-transform: uppercase;
	margin: 0;
}

.cg-eyebrow {
	display: inline-block;
	font-size: var(--fs-micro);
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.35;
	color: var(--gold-hi);
	background: #ffe08a24;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 16px;
	margin-bottom: 16px;
}

.cg-eyebrow::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gold);
	margin-right: 9px;
	vertical-align: 1px;
	box-shadow: 0 0 10px var(--gold);
}

.cg-h2 {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 600;
	line-height: 1.12;
	text-transform: uppercase;
	color: var(--cream);
	margin: 0 0 14px;
	overflow-wrap: break-word;
}

.cg-h2 em {
	font-style: normal;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cg-lede {
	color: var(--muted);
	font-size: var(--fs-lead);
	line-height: 1.66;
	max-width: 68ch;
	margin: 0;
}

.cg-head {
	max-width: 780px;
	margin-bottom: 38px;
}

.cg-head--center {
	margin-inline: auto;
	text-align: center;
}

.cg-head--center .cg-lede {
	margin-inline: auto;
}

/* Section-level sub-heading (used inside panels) */
.cg-h3 {
	font-family: var(--font-display);
	font-size: 27px;
	font-weight: 600;
	line-height: 1.14;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cream);
	margin: 0 0 8px;
	overflow-wrap: break-word;
}

/* Tighter section heading for short blocks */
.cg-h2--sm {
	font-size: clamp(24px, 2.6vw, 33px);
}

/* Compact lede for panels and cards */
.cg-lede--sm {
	font-size: var(--fs-small);
}

/* --- Buttons ------------------------------------------------------------ */

.cg-btn {
	--btn-bg: var(--grad-gold);
	--btn-fg: #281900;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 12px 30px;
	border: 2px solid transparent;
	border-radius: var(--r);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 8px 22px #0000005c, var(--inset-hi);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
	text-align: center;
}

.cg-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px #00000073, var(--inset-hi);
	filter: brightness(1.06);
	color: var(--btn-fg);
}

.cg-btn:active {
	transform: translateY(0);
}

.cg-btn--ghost {
	--btn-bg: #2b2418;
	--btn-fg: var(--gold);
	border-color: var(--line);
	box-shadow: var(--inset-hi);
}

.cg-btn--ghost:hover {
	--btn-bg: #3a2f1e;
}

.cg-btn--red {
	--btn-bg: var(--grad-red);
	--btn-fg: #2a1206;
}

.cg-btn--sm {
	min-height: 46px;
	padding: 9px 20px;
}

.cg-btn--block {
	width: 100%;
}

.cg-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* --- Panel -------------------------------------------------------------- */

.cg-panel {
	position: relative;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--inset-hi);
}

.cg-panel--flat {
	background: var(--panel-2);
}

.cg-panel--pad {
	padding: 24px;
}

/* --- Notice ticker ------------------------------------------------------ */

.cg-ticker {
	background: var(--ink-deep);
	border-bottom: 1px solid var(--line-soft);
	font-size: var(--fs-micro);
}

.cg-ticker__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
}

.cg-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: none;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--gold);
	border-radius: 999px;
	padding: 4px 13px;
	font-size: var(--fs-micro);
	line-height: 1.3;
}

.cg-ticker__window {
	position: relative;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}

.cg-ticker__track {
	display: flex;
	width: max-content;
	animation: cg-scroll 50s linear infinite;
}

.cg-ticker:hover .cg-ticker__track {
	animation-play-state: paused;
}

.cg-ticker__track span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--cream);
	font-weight: 800;
	white-space: nowrap;
	padding-right: 60px;
	min-width: max-content;
}

.cg-ticker__track span::after {
	content: '\25C6';
	color: var(--gold-shade);
	font-size: var(--fs-micro);
	line-height: 1;
}

@keyframes cg-scroll {
	to {
		transform: translateX(-50%);
	}
}

/* --- Header ------------------------------------------------------------- */

.cg-header {
	position: sticky;
	top: 0;
	z-index: 80;
	background: #17130ef2;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line-soft);
}

.cg-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: var(--header-h);
}

.cg-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: 0 1 auto;
	min-width: 0;
	color: var(--cream);
	text-decoration: none;
}

.cg-logo:hover {
	color: var(--cream);
}

.cg-logo__mark {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 13px;
	background: var(--grad-gold);
	color: #33291a;
	font-family: var(--font-display);
	font-size: 23px;
	font-weight: 700;
	box-shadow: 0 6px 18px #ffe08a42;
	flex: none;
}

.cg-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	min-width: 0;
}

.cg-logo__name {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cg-logo__tag {
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin-top: 4px;
	line-height: 1.2;
}

.cg-nav {
	margin-left: auto;
}

.cg-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cg-nav__list li {
	margin: 0;
}

.cg-nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--r-sm);
	color: var(--cream);
	font-size: var(--fs-small);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.16s ease, background 0.16s ease;
}

.cg-nav__list a:hover,
.cg-nav__list .current-menu-item > a {
	color: var(--gold);
	background: #ffe08a1f;
}

.cg-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.cg-lang {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 46px;
	padding: 0 14px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-soft);
	color: var(--muted);
	font-size: var(--fs-small);
	font-weight: 800;
	background: #1e1811;
	text-decoration: none;
	white-space: nowrap;
}

.cg-lang:hover {
	color: var(--gold);
	border-color: var(--line);
}

.cg-burger {
	display: none;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line-soft);
	border-radius: var(--r-sm);
	background: #1e1811;
	color: var(--gold);
	font-size: 24px;
	flex: none;
}

.cg-burger .cg-ico--close {
	display: none;
}

.cg-burger.is-open .cg-ico--menu {
	display: none;
}

.cg-burger.is-open .cg-ico--close {
	display: block;
}

/* Slide-in drawer panel + dimmed overlay (mobile navigation). */
.cg-mobilenav {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 95;
	display: flex;
	flex-direction: column;
	width: min(340px, 88vw);
	background: #14100b;
	border-right: 1px solid var(--line);
	box-shadow: 24px 0 60px #00000073;
	transform: translateX(-105%);
	transition: transform 0.32s ease, visibility 0.32s;
	visibility: hidden;
}

.cg-mobilenav.is-open {
	transform: none;
	visibility: visible;
}

.cg-mobilenav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 16px 22px;
	border-bottom: 1px solid var(--line-soft);
}

.cg-mobilenav__title {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--cream);
}

.cg-mobilenav__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line-soft);
	background: transparent;
	color: var(--gold);
	font-size: 20px;
	cursor: pointer;
}

.cg-mobilenav__list {
	flex: 1;
	list-style: none;
	margin: 0;
	padding: 10px 22px 18px;
	overflow-y: auto;
}

.cg-mobilenav__list li {
	margin: 0;
	border-bottom: 1px solid var(--line-soft);
}

.cg-mobilenav__list a {
	display: block;
	padding: 15px 4px;
	color: var(--cream);
	font-size: var(--fs-small);
	font-weight: 800;
	text-decoration: none;
}

.cg-mobilenav__list a:hover {
	color: var(--gold);
}

.cg-mobilenav__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 18px 22px 24px;
	border-top: 1px solid var(--line-soft);
}

.cg-navoverlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: #00000099;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}

.cg-navoverlay.is-open {
	opacity: 1;
	visibility: visible;
}

@media (min-width: 861px) {
	.cg-mobilenav,
	.cg-navoverlay {
		display: none;
	}
}

/* --- Hero --------------------------------------------------------------- */

.cg-hero {
	position: relative;
	overflow: hidden;
	padding: 60px 0 0;
}

.cg-hero::before {
	content: '';
	position: absolute;
	inset: -30% -10% auto;
	height: 120%;
	background:
		radial-gradient(620px 360px at 78% 10%, #c9a22733 0%, transparent 62%),
		radial-gradient(540px 320px at 6% 28%, #9c142226 0%, transparent 60%);
	pointer-events: none;
}

.cg-hero__glow {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.cg-hero__glow span {
	position: absolute;
	border-radius: 50%;
	filter: blur(76px);
	opacity: 0.55;
	animation: cg-float 15s ease-in-out infinite;
}

.cg-hero__glow span:nth-child(1) {
	width: 400px;
	height: 400px;
	top: -130px;
	right: 8%;
	background: #c9a2274d;
}

.cg-hero__glow span:nth-child(2) {
	width: 320px;
	height: 320px;
	bottom: -70px;
	left: 4%;
	background: #7d0f1d4d;
	animation-delay: -5s;
}

@keyframes cg-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(0, -28px, 0) scale(1.07);
	}
}

.cg-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	gap: 48px;
	align-items: center;
}

.cg-hero__title {
	font-family: var(--font-display);
	font-size: clamp(34px, 5.2vw, 64px);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	margin: 0 0 20px;
	color: var(--cream);
	overflow-wrap: break-word;
}

.cg-hero__title em {
	font-style: normal;
	display: inline-block;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 4px 18px #ffe08a4d);
}

.cg-hero__text {
	color: var(--muted);
	font-size: var(--fs-lead);
	line-height: 1.68;
	max-width: 56ch;
	margin-bottom: 30px;
}

.cg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 38px;
}

.cg-hero__art {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
}

.cg-hero__wheel {
	position: relative;
	width: min(100%, 400px);
	aspect-ratio: 1;
	border-radius: 50%;
	border: 10px solid #ffe08a8c;
	background: conic-gradient(
		from 0deg,
		#c9a227 0deg 45deg,
		#7d0f1d 45deg 90deg,
		#9a7718 90deg 135deg,
		#e8c547 135deg 180deg,
		#6b1723 180deg 225deg,
		#ffe08a 225deg 270deg,
		#4f3f24 270deg 315deg,
		#b02336 315deg 360deg
	);
	box-shadow: var(--shadow-lg), 0 0 0 3px #ffe08a4d;
	animation: cg-spin 46s linear infinite;
}

.cg-hero__wheel::after {
	content: '';
	position: absolute;
	inset: 14px;
	border-radius: 50%;
	border: 2px solid #fff0bd70;
}

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

.cg-hero__hub {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 34%;
	aspect-ratio: 1;
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-align: center;
	font-family: var(--font-display);
	font-size: clamp(17px, 2vw, 22px);
	font-weight: 700;
	text-transform: uppercase;
	color: #281900;
	background: var(--grad-gold);
	border: 4px solid #ffe08a9c;
	box-shadow: 0 7px 18px #ffe08a4d;
	line-height: 1.06;
	padding: 6px;
}

.cg-hero__chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: var(--r);
	background: var(--panel);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-md), var(--inset-hi);
	animation: cg-float 9s ease-in-out infinite;
	z-index: 3;
}

.cg-hero__chip b {
	display: block;
	font-family: var(--font-display);
	font-size: 20px;
	line-height: 1.05;
	color: var(--gold);
	white-space: nowrap;
}

.cg-hero__chip small {
	display: block;
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-2);
	line-height: 1.25;
}

.cg-hero__chip .cg-ico {
	font-size: 24px;
	color: var(--gold);
}

.cg-hero__chip--1 {
	top: 3%;
	left: -3%;
}

.cg-hero__chip--2 {
	bottom: 10%;
	right: -2%;
	animation-delay: -3s;
}

.cg-hero__chip--3 {
	bottom: -3%;
	left: 8%;
	animation-delay: -6s;
}

.cg-stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-top: 56px;
	background: var(--line-soft);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
}

.cg-stat {
	background: var(--panel);
	padding: 24px 20px;
	text-align: center;
}

.cg-stat b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 700;
	line-height: 1.12;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cg-stat span {
	display: block;
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted-2);
	margin-top: 5px;
	line-height: 1.35;
}

/* --- Live & Jadwal ------------------------------------------------------ */

.cg-matches {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.cg-match {
	position: relative;
	padding: 18px 20px;
	border-radius: var(--r);
	background: var(--panel);
	border: 1px solid var(--line);
	box-shadow: var(--inset-hi);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.cg-match:hover {
	border-color: var(--gold-shade);
	transform: translateY(-2px);
}

.cg-match__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.cg-match__badge {
	font-size: var(--fs-micro);
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
	padding: 4px 11px;
	border-radius: 999px;
}

.cg-match__badge--live {
	color: var(--cream-2);
	background: var(--red);
	animation: cg-pulse 1.9s ease-in-out infinite;
}

@keyframes cg-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 #9c142273;
	}
	50% {
		box-shadow: 0 0 0 8px #9c142200;
	}
}

.cg-match__badge--soon {
	color: var(--gold-hi);
	background: #ffe08a24;
	border: 1px solid var(--line-soft);
}

.cg-match__clock {
	font-family: var(--font-display);
	font-size: var(--fs-small);
	color: var(--gold);
	white-space: nowrap;
}

.cg-match__teams {
	display: grid;
	gap: 10px;
}

.cg-match__team {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: var(--fs-small);
	font-weight: 800;
	color: var(--cream);
}

.cg-match__team.is-lead {
	color: var(--gold);
}

.cg-match__team strong {
	font-family: var(--font-display);
	font-size: 1.05em;
	margin-left: 4px;
}

.cg-match__odd {
	font-family: var(--font-display);
	font-size: var(--fs-small);
	font-weight: 600;
	min-width: 50px;
	text-align: center;
	padding: 3px 9px;
	border-radius: 8px;
	background: #ffe08a1f;
	border: 1px solid var(--line-soft);
	color: var(--gold);
	flex: none;
}

.cg-match__meta {
	margin-top: 14px;
	padding-top: 11px;
	border-top: 1px dashed var(--line-soft);
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted-2);
	text-align: center;
	line-height: 1.35;
}

/* --- Category grid ------------------------------------------------------ */

.cg-cats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.cg-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 132px;
	padding: 18px 10px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	color: var(--cream);
	text-align: center;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	overflow: hidden;
}

.cg-cat::before {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(
		from var(--cat-angle, 0deg),
		#9a7718 0 12%,
		#ffe08a 16%,
		#fff4cf 20%,
		#c9a227 26%,
		#9a7718 38% 72%,
		#e8c547 82%,
		#9a7718 90% 100%
	);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.22s ease;
	animation: cg-spin-border 7.5s linear infinite;
	pointer-events: none;
}

@property --cat-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

@keyframes cg-spin-border {
	to {
		--cat-angle: 360deg;
	}
}

.cg-cat:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	color: var(--cream);
}

.cg-cat:hover::before {
	opacity: 1;
}

.cg-cat__ico {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: linear-gradient(160deg, #40331f, #272015);
	border: 1px solid var(--line-soft);
	color: var(--gold);
	font-size: 27px;
	box-shadow: var(--inset-hi);
	flex: none;
	transition: color 0.18s ease, box-shadow 0.18s ease;
}

.cg-cat:hover .cg-cat__ico {
	color: var(--gold-hi);
	box-shadow: 0 0 20px #ffe08a5c;
}

.cg-cat__name {
	font-size: var(--fs-small);
	font-weight: 900;
	letter-spacing: 0.01em;
	line-height: 1.25;
}

.cg-cat__tag {
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted-2);
	line-height: 1.25;
}

/* --- Winners ------------------------------------------------------------ */

.cg-winners {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 26px;
}

.cg-winner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	transition: border-color 0.18s ease, transform 0.45s ease, opacity 0.45s ease;
}

/* State used by the rotating ticker in main.js */
.cg-winner.is-rotating {
	opacity: 0;
	transform: translateX(-14px);
}

.cg-winner:hover {
	border-color: var(--line);
	transform: translateX(3px);
}

.cg-winner__ava {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	font-family: var(--font-display);
	font-size: 19px;
	color: #281900;
	background: var(--grad-gold);
}

.cg-winner__meta {
	min-width: 0;
	flex: 1;
}

.cg-winner__name {
	display: block;
	font-size: var(--fs-small);
	font-weight: 900;
	color: var(--cream);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cg-winner__game {
	display: block;
	font-size: var(--fs-micro);
	font-weight: 800;
	color: var(--muted-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.cg-winner__amt {
	flex: none;
	text-align: right;
}

.cg-winner__amt b {
	display: block;
	font-family: var(--font-display);
	font-size: 18px;
	color: var(--green-2);
	line-height: 1.2;
	white-space: nowrap;
}

.cg-winner__amt small {
	font-size: var(--fs-micro);
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted-2);
	line-height: 1.2;
}

/* --- Steps -------------------------------------------------------------- */

.cg-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	counter-reset: mkstep;
}

.cg-step {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 24px 24px;
	border-radius: var(--r-lg);
	background: var(--panel);
	border: 1px solid var(--line);
	box-shadow: var(--inset-hi);
	counter-increment: mkstep;
}

.cg-step::before {
	content: counter(mkstep, decimal-leading-zero);
	position: absolute;
	top: -17px;
	left: 24px;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	color: #281900;
	background: var(--grad-gold);
	box-shadow: 0 6px 16px #ffe08a4d;
}

.cg-step h3 {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--cream);
	margin: 10px 0 10px;
}

.cg-step p {
	color: var(--muted);
	font-size: var(--fs-body);
	line-height: 1.6;
	margin: 0 0 18px;
}

/* Centre the CTA in its card and pin all four to one baseline, whatever the
   paragraph length above them. */
.cg-step .cg-btn {
	align-self: center;
	margin-top: auto;
}

/* --- Feature grid ------------------------------------------------------- */

.cg-features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.cg-feature {
	padding: 26px 22px;
	border-radius: var(--r-lg);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cg-feature:hover {
	transform: translateY(-3px);
	border-color: var(--line);
	box-shadow: var(--shadow-md);
}

.cg-feature__ico {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: linear-gradient(160deg, #40331f, #272015);
	border: 1px solid var(--line);
	color: var(--gold);
	font-size: 24px;
	flex: none;
}

.cg-feature h3 {
	font-size: var(--fs-body);
	font-weight: 900;
	color: var(--gold);
	margin: 0 0 8px;
}

.cg-feature p {
	color: var(--muted);
	font-size: var(--fs-small);
	line-height: 1.58;
	margin: 0;
}

/* --- Wheel promo -------------------------------------------------------- */

.cg-wheel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 52px;
	align-items: center;
	padding: 50px;
	border-radius: var(--r-xl);
	background:
		radial-gradient(760px 420px at 82% 0%, #c9a2272e 0%, transparent 60%),
		var(--panel);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg), var(--inset-hi);
	overflow: hidden;
}

.cg-wheel__visual {
	position: relative;
	width: min(100%, 360px);
	aspect-ratio: 1;
	margin-inline: auto;
}

.cg-wheel__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 9px solid #ffe08a8c;
	background: conic-gradient(
		from 0deg,
		#c9a227 0 45deg,
		#7d0f1d 45deg 90deg,
		#9a7718 90deg 135deg,
		#e8c547 135deg 180deg,
		#6b1723 180deg 225deg,
		#ffe08a 225deg 270deg,
		#4f3f24 270deg 315deg,
		#b02336 315deg 360deg
	);
	box-shadow: 0 9px 25px #00000073, inset 0 0 0 3px #ffe08a4d;
	animation: cg-spin 42s linear infinite;
}

.cg-wheel__ring::after {
	content: '';
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	border: 2px solid #fff0bd70;
}

.cg-wheel__pointer {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 32px;
	color: var(--gold);
	filter: drop-shadow(0 3px 4px #00000073);
	z-index: 3;
	line-height: 1;
}

.cg-wheel__hub {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 32%;
	aspect-ratio: 1;
	border-radius: 50%;
	display: grid;
	place-items: center;
	text-align: center;
	font-family: var(--font-display);
	font-size: clamp(16px, 1.7vw, 19px);
	font-weight: 700;
	text-transform: uppercase;
	color: #281900;
	background: var(--grad-gold);
	border: 4px solid #ffe08a9c;
	box-shadow: 0 7px 18px #ffe08a4d;
	line-height: 1.06;
	padding: 5px;
}

.cg-wheel__body h2 {
	margin-bottom: 16px;
}

.cg-wheel__prizes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 26px 0 30px;
	padding: 0;
	list-style: none;
}

.cg-wheel__prizes li {
	padding: 15px 17px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	box-shadow: var(--inset-hi);
}

.cg-wheel__prizes b {
	display: block;
	font-family: var(--font-display);
	font-size: 21px;
	color: var(--gold);
	line-height: 1.18;
}

.cg-wheel__prizes small {
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted-2);
	line-height: 1.3;
}

/* --- Prose -------------------------------------------------------------- */

.cg-prose {
	font-size: var(--fs-body);
	line-height: 1.76;
	color: var(--muted);
	max-width: 74ch;
}

.cg-prose p + p {
	margin-top: 1.1em;
}

.cg-prose strong {
	color: var(--cream);
}

.cg-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 52px;
	align-items: center;
}

.cg-split--reverse .cg-split__body {
	order: -1;
}

.cg-statbox {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 28px;
}

.cg-statbox div {
	padding: 20px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
}

.cg-statbox b {
	display: block;
	font-family: var(--font-display);
	font-size: 29px;
	line-height: 1.12;
	color: var(--gold);
}

.cg-statbox small {
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted-2);
	line-height: 1.3;
}

.cg-ticks {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 13px;
}

.cg-ticks li {
	position: relative;
	padding-left: 38px;
	color: var(--muted);
	font-size: var(--fs-body);
	line-height: 1.6;
}

.cg-ticks li .cg-ico {
	position: absolute;
	left: 0;
	top: 3px;
	width: 25px;
	height: 25px;
	padding: 3px;
	border-radius: 8px;
	color: #281900;
	background: var(--grad-gold);
}

.cg-ticks strong {
	color: var(--cream);
}

/* --- Countdown offer ---------------------------------------------------- */

.cg-offer {
	position: relative;
	padding: 56px 44px;
	border-radius: var(--r-xl);
	text-align: center;
	background:
		radial-gradient(820px 360px at 50% 0%, #9c142233 0%, transparent 62%),
		var(--panel);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg), var(--inset-hi);
	overflow: hidden;
}

.cg-offer__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 4.2vw, 50px);
	font-weight: 700;
	line-height: 1.08;
	text-transform: uppercase;
	color: var(--cream);
	margin: 0 0 14px;
	overflow-wrap: break-word;
}

.cg-offer__title em {
	font-style: normal;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cg-offer__clock {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin: 32px 0 34px;
}

.cg-clock__unit {
	min-width: 96px;
	padding: 16px 12px;
	border-radius: var(--r);
	background: linear-gradient(180deg, #33291a, #272015 42%, #201a12);
	border: 1px solid var(--line);
	box-shadow: var(--inset-hi);
}

.cg-clock__unit b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	line-height: 1;
	color: var(--gold);
	font-variant-numeric: tabular-nums;
}

.cg-clock__unit small {
	font-size: var(--fs-micro);
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-2);
	line-height: 1.3;
}

.cg-offer__foot {
	margin: 22px 0 0;
	font-size: var(--fs-micro);
	font-weight: 800;
	color: var(--muted-2);
	line-height: 1.5;
}

/* --- Offer: closed state ------------------------------------------------
   Applied server-side once the deadline passes and again by main.js the
   moment the clock runs out, so a finished promo never reads as live. */

.cg-offer__ended {
	margin: 0 0 26px;
	padding: 12px 20px;
	border-radius: var(--r);
	background: #0000003d;
	border: 1px solid var(--line-soft);
	color: var(--muted);
	font-size: var(--fs-small);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	display: inline-block;
}

.cg-offer__ended[hidden] {
	display: none;
}

.cg-offer.is-expired {
	background:
		radial-gradient(820px 360px at 50% 0%, #00000059 0%, transparent 62%),
		var(--panel);
	border-color: var(--line-soft);
}

.cg-offer.is-expired .cg-eyebrow {
	color: var(--muted-2);
	background: #0000003d;
	border-color: var(--line-soft);
}

.cg-offer.is-expired .cg-eyebrow::before {
	background: var(--muted-3);
	box-shadow: none;
}

.cg-offer.is-expired .cg-offer__title {
	color: var(--muted);
}

.cg-offer.is-expired .cg-offer__title em {
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	color: var(--muted-2);
}

/* --- Comparison table --------------------------------------------------- */

.cg-table-wrap {
	overflow-x: auto;
	/* Paint containment stops the 760px min-width table from propagating
	   horizontal overflow to the document on narrow screens, while keeping the
	   wrapper a working horizontal scroll container. */
	contain: layout paint;
	border-radius: var(--r-lg);
	border: 1px solid var(--line);
	background: var(--panel);
	box-shadow: var(--inset-hi);
	-webkit-overflow-scrolling: touch;
}

.cg-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: var(--fs-small);
}

.cg-table caption.screen-reader-text {
	padding: 0;
}

.cg-table th,
.cg-table td {
	padding: 16px 22px;
	text-align: left;
	border-bottom: 1px solid var(--line-soft);
	color: var(--muted);
	vertical-align: middle;
}

.cg-table thead th {
	font-family: var(--font-display);
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted-2);
	background: #1e1811;
	white-space: nowrap;
}

.cg-table thead th:nth-child(2) {
	color: #281900;
	background: var(--grad-gold);
}

.cg-table tbody th {
	color: var(--cream);
	font-weight: 800;
}

.cg-table td:nth-child(2) {
	color: var(--cream);
	font-weight: 800;
	background: #ffe08a14;
}

.cg-table tbody tr:last-child th,
.cg-table tbody tr:last-child td {
	border-bottom: 0;
}

.cg-table tbody tr:hover td,
.cg-table tbody tr:hover th {
	background: #ffe08a0f;
}

/* Comparison marks. The tick is a bright mint and the cross is pure white so
   both read clearly at a glance against the dark table cells. */
.cg-table .cg-ico--yes {
	color: var(--green-2);
	font-size: 1.45em;
	filter: drop-shadow(0 0 7px #7dffcd73);
}

.cg-table .cg-ico--no {
	color: var(--cream);
	font-size: 1.35em;
	opacity: 0.92;
}

/* Centre the comparison marks (and their column headers) while the feature
   names in the first column stay left-aligned for readability. */
.cg-table thead th:not(:first-child),
.cg-table tbody td {
	text-align: center;
}

/* The global reset makes every svg display:block, which text-align cannot
   centre, so the marks are centred with auto margins instead. */
.cg-table tbody td .cg-ico {
	margin-inline: auto;
}

/* --- Payments ----------------------------------------------------------- */

.cg-pays {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.cg-pay {
	display: flex;
	gap: 18px;
	padding: 24px;
	border-radius: var(--r-lg);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.cg-pay:hover {
	border-color: var(--line);
	transform: translateY(-2px);
}

.cg-pay__ico {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	flex: none;
	border-radius: 15px;
	background: linear-gradient(160deg, #40331f, #272015);
	border: 1px solid var(--line);
	color: var(--gold);
	font-size: 26px;
}

.cg-pay h3 {
	font-size: var(--fs-body);
	font-weight: 900;
	color: var(--gold);
	margin: 0 0 7px;
}

.cg-pay p {
	color: var(--muted);
	font-size: var(--fs-small);
	line-height: 1.58;
	margin: 0 0 12px;
}

.cg-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cg-tags li {
	font-size: var(--fs-micro);
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 5px 12px;
	border-radius: 8px;
	color: var(--muted);
	background: #ffe08a1f;
	border: 1px solid var(--line-soft);
	line-height: 1.3;
}

/* --- Notes -------------------------------------------------------------- */

.cg-note {
	display: flex;
	gap: 20px;
	padding: 28px 30px;
	border-radius: var(--r-lg);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	color: var(--muted);
	font-size: var(--fs-small);
	line-height: 1.7;
}

.cg-note__ico {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	flex: none;
	border-radius: 14px;
	color: var(--gold);
	background: #ffe08a24;
	border: 1px solid var(--line);
	font-size: 24px;
}

.cg-note strong {
	color: var(--cream);
}

.cg-note a {
	text-decoration: underline;
	display: inline-block;
	padding: 4px 0;
	min-height: 28px;
}

/* --- Support ------------------------------------------------------------ */

.cg-support {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.cg-channel {
	padding: 28px 24px;
	border-radius: var(--r-lg);
	background: var(--panel);
	border: 1px solid var(--line);
	box-shadow: var(--inset-hi);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cg-channel:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.cg-channel__ico {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 15px;
	color: var(--gold);
	background: linear-gradient(160deg, #40331f, #272015);
	border: 1px solid var(--line);
	font-size: 26px;
	flex: none;
}

.cg-channel h3 {
	font-size: var(--fs-body);
	font-weight: 900;
	color: var(--cream);
	margin: 0 0 8px;
}

.cg-channel p {
	color: var(--muted);
	font-size: var(--fs-small);
	line-height: 1.58;
	margin: 0;
}

/* --- Providers ---------------------------------------------------------- */

.cg-providers {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.cg-provider {
	display: grid;
	place-items: center;
	min-height: 96px;
	padding: 18px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	font-family: var(--font-display);
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	color: var(--muted);
	transition: color 0.18s ease, border-color 0.18s ease;
}

.cg-provider:hover {
	color: var(--gold);
	border-color: var(--line);
}

/* --- Cities ------------------------------------------------------------- */

.cg-cities {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.cg-city {
	position: relative;
	padding: 22px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.cg-city:hover {
	border-color: var(--line);
	transform: translateY(-2px);
}

.cg-city b {
	display: block;
	font-family: var(--font-display);
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--cream);
}

.cg-city small {
	font-size: var(--fs-micro);
	font-weight: 800;
	color: var(--muted-2);
	line-height: 1.3;
}

.cg-city span {
	display: block;
	margin-top: 9px;
	font-size: var(--fs-small);
	font-weight: 800;
	color: var(--gold);
}

.cg-city::after {
	content: '';
	position: absolute;
	top: -34px;
	right: -34px;
	width: 86px;
	height: 86px;
	border-radius: 50%;
	background: #ffe08a1a;
}

/* --- Responsible gaming ------------------------------------------------- */

.cg-responsible {
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 30px 32px;
	border-radius: var(--r-lg);
	background: linear-gradient(90deg, #45121a 0%, #2b070c 100%);
	border: 1px solid #c76b7880;
	color: var(--rose);
	font-size: var(--fs-body);
	line-height: 1.66;
}

.cg-responsible__badge {
	display: grid;
	place-items: center;
	width: 82px;
	height: 82px;
	flex: none;
	border-radius: 50%;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 700;
	color: #281900;
	background: var(--grad-gold);
	box-shadow: 0 10px 26px #00000066;
}

.cg-responsible strong {
	color: var(--cream);
}

.cg-responsible a {
	color: var(--gold);
	text-decoration: underline;
	display: inline-block;
	padding: 4px 0;
	min-height: 28px;
}

/* --- Footer ------------------------------------------------------------- */

.cg-footer {
	margin-top: 72px;
	background: linear-gradient(180deg, #17130e, var(--ink-deep));
	border-top: 1px solid var(--line);
}

.cg-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
	gap: 38px;
	padding: 60px 0 44px;
}

.cg-footer__brand .cg-logo {
	margin-bottom: 18px;
}

.cg-footer__brand p {
	color: var(--muted);
	font-size: var(--fs-small);
	line-height: 1.68;
	max-width: 42ch;
}

.cg-footer__contact {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	color: var(--muted);
	font-size: var(--fs-small);
	font-weight: 800;
	overflow-wrap: anywhere;
}

.cg-footer__contact .cg-ico {
	color: var(--gold);
	font-size: 19px;
}

.cg-footer__contact a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 3px 0;
}

.cg-footer h4 {
	font-family: var(--font-display);
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 18px;
}

.cg-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cg-footer li {
	margin: 0 0 11px;
}

.cg-footer li a {
	color: var(--muted);
	font-size: var(--fs-small);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.16s ease;
	display: inline-block;
}

.cg-footer li a:hover {
	color: var(--gold);
}

.cg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 24px 0 32px;
	border-top: 1px solid var(--line-soft);
	color: var(--muted-2);
	font-size: var(--fs-micro);
	font-weight: 700;
	line-height: 1.5;
}

.cg-footer__bottom p {
	margin: 0;
}

.cg-footer__bottom a {
	display: inline-block;
	padding: 4px 0;
	min-height: 28px;
}

.cg-footer__disclaimer {
	margin: 0;
	padding: 0 0 34px;
	color: var(--muted-3);
	font-size: var(--fs-micro);
	line-height: 1.68;
	max-width: 100ch;
}

/* --- Floating actions --------------------------------------------------- */

.cg-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 70;
	display: grid;
	gap: 12px;
}

.cg-float a,
.cg-float button {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--panel);
	color: var(--gold);
	font-size: 26px;
	box-shadow: var(--shadow-md), var(--inset-hi);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cg-float a:hover,
.cg-float button:hover {
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 14px 30px #00000073, 0 0 24px #ffe08a4d;
	color: var(--gold);
}

.cg-float .is-wa {
	background: linear-gradient(160deg, #19a37f, #0f6b58);
	border-color: #7dffcd8c;
	color: #f2fffb;
}

/* --- Mobile bottom nav -------------------------------------------------- */

.cg-bottomnav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 75;
	background: #17130ef7;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-top: 1px solid var(--line-soft);
	padding-bottom: env(safe-area-inset-bottom, 0);
}

.cg-bottomnav__grid {
	display: grid;
	/* Four items, not five: with a 15px label floor, five columns force the
	   labels to touch on a 360px phone. */
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cg-bottomnav__grid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 66px;
	min-width: 0;
	color: var(--muted-2);
	font-size: var(--fs-micro);
	font-weight: 900;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 1.12;
	text-align: center;
	padding-inline: 2px;
	overflow-wrap: break-word;
	hyphens: auto;
}

.cg-bottomnav__grid a .cg-ico {
	font-size: 23px;
}

.cg-bottomnav__grid a.is-active,
.cg-bottomnav__grid a:hover {
	color: var(--gold);
}

.cg-bottomnav__grid a.is-primary span {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-top: -22px;
	border-radius: 50%;
	background: var(--grad-gold);
	color: #281900;
	font-size: 25px;
	box-shadow: 0 8px 20px #ffe08a5c;
}

/* --- Toast -------------------------------------------------------------- */

.cg-toast {
	position: fixed;
	left: 50%;
	bottom: 96px;
	z-index: 200;
	transform: translate(-50%, 18px);
	padding: 13px 22px;
	border-radius: var(--r);
	background: var(--grad-gold);
	color: #281900;
	font-size: var(--fs-small);
	font-weight: 900;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.24s ease, transform 0.24s ease;
	max-width: calc(100vw - 32px);
	text-align: center;
}

.cg-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* --- Scroll reveal ------------------------------------------------------ */

/* Scoped to .cg-js (set inline before first paint) so content stays visible
   when JavaScript is unavailable. */
.cg-js .cg-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.cg-js .cg-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.cg-js .cg-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Large desktop - give the shell a little more room */
@media (min-width: 1600px) {
	:root {
		--shell: 1360px;
	}
}

/* Small laptop - trim the header so logo + nav + actions fit the shell */
@media (max-width: 1300px) {
	:root {
		--shell: 1180px;
	}

	.cg-nav__list a {
		padding: 10px 11px;
	}

	.cg-logo__name {
		font-size: 24px;
	}

	.cg-cats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cg-features,
	.cg-support {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-providers {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cg-cities {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cg-footer__top {
		grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
		gap: 32px;
	}
}

/* Collapse the header nav before it can overflow the shell */
@media (max-width: 1160px) {
	.cg-nav,
	.cg-header__actions .cg-btn {
		display: none;
	}

	.cg-burger {
		display: inline-flex;
	}

	.cg-header__actions {
		margin-left: auto;
	}
}

/* Tablet landscape / small laptop */
@media (max-width: 1100px) {
	:root {
		--shell: 1000px;
		--shell-pad: 20px;
	}

	.cg-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	/* Copy first: the headline and CTAs must clear the fold. */
	.cg-hero__art {
		aspect-ratio: auto;
		padding: 8px 0 12px;
	}

	.cg-hero__wheel {
		width: min(100%, 320px);
	}

	.cg-hero__chip--1 {
		left: 0;
		top: -4%;
	}

	.cg-hero__chip--2 {
		right: 0;
		bottom: 8%;
	}

	.cg-hero__chip--3 {
		bottom: -4%;
	}

	.cg-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cg-matches {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-match {
		display: grid;
		grid-template-columns: 132px minmax(0, 1fr);
		grid-template-areas: 'top top' 'meta meta';
		align-items: center;
		gap: 4px 20px;
	}

	.cg-match__top {
		grid-area: top;
		margin-bottom: 10px;
	}

	.cg-match__meta {
		grid-area: meta;
		margin-top: 10px;
	}

	.cg-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-wheel {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		padding: 40px 32px;
	}

	.cg-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.cg-split--reverse .cg-split__body {
		order: 0;
	}

	.cg-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-footer__brand {
		grid-column: 1 / -1;
	}
}

/* Tablet portrait */
@media (max-width: 900px) {
	.cg-section {
		padding: 52px 0;
	}

	.cg-section--tight {
		padding: 38px 0;
	}

	.cg-winners {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-pays {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-cities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile */
@media (max-width: 767px) {
	:root {
		--fs-micro: 15px;
		--fs-small: 15px;
		--fs-body: 16px;
		--fs-lead: 17px;
		--shell-pad: 16px;
		--header-h: 68px;
	}

	body {
		background-attachment: scroll;
	}

	.cg-section {
		padding: 44px 0;
	}

	.cg-section--tight {
		padding: 32px 0;
	}

	.cg-ticker__inner {
		gap: 10px;
		min-height: 40px;
	}

	.cg-hero {
		padding-top: 30px;
	}

	.cg-hero__title {
		font-size: clamp(29px, 8.5vw, 40px);
	}

	.cg-hero__art {
		padding: 4px 0 10px;
	}

	.cg-hero__wheel {
		width: min(100%, 290px);
	}

	.cg-btn-row .cg-btn {
		flex: 1 1 100%;
	}

	.cg-match {
		display: block;
	}

	.cg-cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.cg-cat {
		min-height: 106px;
		padding: 13px 8px;
		gap: 8px;
	}

	.cg-cat__ico {
		width: 46px;
		height: 46px;
		font-size: 23px;
		border-radius: 13px;
	}

	.cg-cat__tag {
		display: none;
	}

	.cg-features,
	.cg-support,
	.cg-steps,
	.cg-cities,
	.cg-providers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-provider {
		min-height: 80px;
		padding: 12px;
	}

	.cg-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-offer {
		padding: 38px 20px;
	}

	.cg-offer__clock {
		gap: 9px;
	}

	.cg-clock__unit {
		min-width: 0;
		flex: 1;
		padding: 12px 6px;
	}

	.cg-note {
		flex-direction: column;
		gap: 16px;
		padding: 22px;
	}

	.cg-responsible {
		flex-direction: column;
		text-align: center;
		padding: 28px 22px;
	}

	.cg-wheel {
		padding: 30px 20px;
		border-radius: var(--r-lg);
	}

	.cg-wheel__prizes {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-footer {
		margin-top: 50px;
		padding-bottom: 66px;
	}

	.cg-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		padding: 42px 0 30px;
	}

	.cg-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.cg-float {
		right: 12px;
		bottom: 82px;
	}

	.cg-float a,
	.cg-float button {
		width: 48px;
		height: 48px;
		font-size: 23px;
	}

	.cg-bottomnav {
		display: block;
	}

	.cg-toast {
		bottom: 84px;
	}
}

/* Small phone */
@media (max-width: 420px) {
	:root {
		--shell-pad: 14px;
	}

	.cg-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-providers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Steps go single-column at this width (button centring comes from the
	   base .cg-step rules). */
	.cg-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The language chip is decorative and the burger is the only header control
	   that must stay, so drop the chip before the logo gets squeezed. */
	.cg-lang {
		display: none;
	}

	.cg-logo__mark {
		width: 44px;
		height: 44px;
		font-size: 20px;
	}

	.cg-logo__name {
		font-size: 21px;
		letter-spacing: 0.02em;
	}

	.cg-logo__tag {
		letter-spacing: 0.1em;
	}

	.cg-burger {
		width: 44px;
		height: 44px;
	}

	/* Keep only the primary contact action floating; the copy-link button is
	   available in the burger menu and both together cover the hero CTA. */
	.cg-float button {
		display: none;
	}

	.cg-float a {
		width: 46px;
		height: 46px;
		font-size: 22px;
	}

	.cg-hero__chip {
		padding: 9px 12px;
	}

	.cg-hero__chip b {
		font-size: 17px;
	}

	.cg-hero__chip .cg-ico {
		font-size: 20px;
	}

	.cg-mobilenav__actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-bottomnav__grid a {
		letter-spacing: -0.01em;
	}

	.cg-table th,
	.cg-table td {
		padding: 14px 16px;
	}
}

/* Very small phone - keep the 15px floor but tighten padding */
@media (max-width: 360px) {
	:root {
		--shell-pad: 12px;
	}

	.cg-hero__title {
		font-size: 27px;
	}

	.cg-h2 {
		font-size: 24px;
	}

	.cg-wheel__visual {
		width: 88%;
	}

	.cg-stat {
		padding: 18px 12px;
	}

	.cg-cat {
		min-height: 96px;
	}
}

/* Coarse pointers: no hover lift, larger tap targets */
@media (hover: none) {
	.cg-cat:hover,
	.cg-feature:hover,
	.cg-channel:hover,
	.cg-winner:hover,
	.cg-pay:hover,
	.cg-city:hover,
	.cg-match:hover {
		transform: none;
	}

	.cg-btn:hover {
		transform: none;
	}
}

/* --- WordPress admin bar -------------------------------------------------
   Core ships the admin bar at 13/14px, which breaks the site's 16px floor.
   Bring it in line and match the brand palette. */

#wpadminbar {
	background: var(--ink-deep);
	color: var(--muted);
	font-size: var(--fs-micro);
}

#wpadminbar .ab-item,
#wpadminbar .ab-item a,
#wpadminbar .ab-item button,
#wpadminbar #wp-toolbar span,
#wpadminbar #wp-toolbar a,
#wpadminbar .ab-label {
	font-size: var(--fs-micro);
	color: var(--muted);
	line-height: 1.4;
}

#wpadminbar .ab-item a:hover,
#wpadminbar .ab-item button:hover {
	color: var(--gold);
}

#wpadminbar .ab-top-menu > li > .ab-item {
	border-top: 3px solid transparent;
	color: var(--muted);
}

#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > .current-menu-item > .ab-item {
	color: var(--gold);
}

#wpadminbar .ab-top-menu > li.current-menu-item > .ab-item,
#wpadminbar .ab-top-menu > li:hover > .ab-item {
	border-top-color: var(--gold);
}

#wpadminbar .ab-submenu,
#wpadminbar .ab-top-menu li:hover > .ab-item .ab-item {
	background: #241e15;
	color: var(--muted);
	border-color: var(--line-soft);
}

#wpadminbar .ab-submenu a:hover,
#wpadminbar .ab-item .ab-item:hover {
	background: var(--ink-4);
	color: var(--gold);
}

#wpadminbar .ab-icon,
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item .ab-icon {
	font-size: 22px;
	line-height: 1;
	color: var(--muted-2);
}

#wpadminbar .screen-reader-text {
	font-size: var(--fs-micro);
}

#wpadminbar #wp-admin-bar-site-name > a {
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gold);
}

/* --- WordPress core alignment ------------------------------------------- */

.alignleft {
	float: left;
	margin: 0.35em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.35em 0 1em 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}

.alignwide {
	width: min(100% - 40px, 1000px);
	margin-inline: auto;
}

.alignfull {
	width: 100%;
}

.wp-caption,
.wp-block-image figcaption,
.blocks-gallery-caption {
	color: var(--muted-2);
	font-size: var(--fs-micro);
	text-align: center;
}

.sticky,
.gallery-caption,
.bypostauthor {
	display: block;
}

/* --- Inner templates: article, archives, search, 404, comments ------------ */

.cg-article {
	max-width: 840px;
	margin-inline: auto;
}

.cg-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	color: var(--muted-2);
	font-size: var(--fs-small);
}

.cg-article__meta a {
	color: var(--gold);
	text-decoration: none;
}

.cg-article__thumb {
	margin: 26px 0 0;
}

.cg-article__thumb img {
	width: 100%;
	border-radius: var(--r-lg);
	border: 1px solid var(--line-soft);
}

.cg-article__body {
	margin-top: 26px;
}

.cg-prose h2,
.cg-prose h3,
.cg-prose h4 {
	color: var(--cream);
	font-family: var(--font-display);
	line-height: 1.3;
	margin: 1.6em 0 0.6em;
}

.cg-prose h2 {
	font-size: 30px;
}

.cg-prose h3 {
	font-size: 24px;
}

.cg-prose h4 {
	font-size: 19px;
}

.cg-prose a {
	color: var(--gold);
}

.cg-prose ul,
.cg-prose ol {
	margin: 1.1em 0;
	padding-left: 1.4em;
	display: grid;
	gap: 0.5em;
}

.cg-prose li::marker {
	color: var(--gold);
}

.cg-prose img {
	border-radius: var(--r);
	border: 1px solid var(--line-soft);
}

.cg-prose figure {
	margin: 1.6em 0;
}

.cg-prose figcaption {
	margin-top: 0.6em;
	text-align: center;
	color: var(--muted-2);
	font-size: var(--fs-micro);
}

.cg-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--gold);
	color: var(--cream);
}

.cg-prose blockquote p {
	margin: 0;
}

.cg-prose pre {
	overflow-x: auto;
	padding: 14px 16px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
}

/* Post cards (archive grids + related posts). */
.cg-postcards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.cg-postcard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
}

.cg-postcard__thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.cg-postcard__body {
	display: grid;
	gap: 8px;
	padding: 18px;
}

.cg-postcard__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 19px;
	line-height: 1.4;
}

.cg-postcard__title a {
	color: var(--cream);
	text-decoration: none;
}

.cg-postcard__title a:hover {
	color: var(--gold);
}

.cg-postcard__meta {
	margin: 0;
	color: var(--muted-2);
	font-size: var(--fs-micro);
}

.cg-postcard__ex {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-small);
}

/* Tags + prev/next navigation on single posts. */
.cg-tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
}

.cg-tag {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--line-soft);
	color: var(--muted);
	font-size: var(--fs-small);
	font-weight: 700;
	text-decoration: none;
}

.cg-tag:hover {
	color: var(--gold);
	border-color: var(--line);
}

.cg-postnav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	margin-top: 30px;
}

.cg-postnav__item:empty {
	display: none;
}

.cg-postnav__item a {
	display: block;
	padding: 16px 18px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	text-decoration: none;
}

.cg-postnav__item span {
	display: block;
	color: var(--muted-2);
	font-size: var(--fs-micro);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cg-postnav__item b {
	color: var(--cream);
}

.cg-postnav__item--next {
	text-align: right;
}

/* Archive pagination. */
.navigation.pagination {
	margin-top: 30px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: var(--r);
	border: 1px solid var(--line-soft);
	color: var(--muted);
	font-weight: 800;
	text-decoration: none;
}

a.page-numbers:hover {
	color: var(--gold);
	border-color: var(--line);
}

.page-numbers.current {
	color: #281900;
	background: var(--grad-gold);
	border-color: transparent;
}

.page-numbers.dots {
	border-color: transparent;
}

/* Search form (search page + 404). */
.cg-searchform {
	display: flex;
	gap: 10px;
	max-width: 560px;
	margin-top: 18px;
}

.cg-searchform input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
	color: var(--cream);
	font: inherit;
}

.cg-searchform input[type="search"]::placeholder {
	color: var(--muted-2);
}

/* 404. */
.cg-404 {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
}

.cg-404__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(90px, 18vw, 160px);
	line-height: 1;
	color: var(--gold);
}

.cg-404 .cg-lede {
	margin-inline: auto;
}

.cg-404 .cg-searchform {
	justify-content: center;
	margin: 22px auto 0;
}

.cg-404 .cg-btn-row {
	margin-top: 22px;
}

/* Comments. */
.cg-comments {
	max-width: 840px;
	padding-bottom: 68px;
}

.cg-commentlist {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.cg-commentlist .comment,
.cg-commentlist .pingback {
	padding: 18px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
}

.cg-commentlist .children {
	list-style: none;
	margin: 16px 0 0;
	padding-left: clamp(12px, 4vw, 34px);
	display: grid;
	gap: 16px;
}

.cg-commentlist .avatar {
	border-radius: 50%;
}

.cg-commentlist .comment-meta {
	color: var(--muted-2);
	font-size: var(--fs-micro);
}

.cg-commentlist .comment-meta a {
	color: var(--muted-2);
}

.cg-commentlist .comment-body p {
	color: var(--muted);
}

.cg-commentlist .reply {
	margin-top: 10px;
}

.cg-commentlist .comment-reply-link {
	color: var(--gold);
	font-size: var(--fs-small);
	font-weight: 800;
	text-decoration: none;
}

.comment-respond {
	margin-top: 30px;
	padding: 22px;
	border-radius: var(--r);
	background: var(--panel-2);
	border: 1px solid var(--line-soft);
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--muted);
	font-size: var(--fs-small);
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: var(--r);
	background: var(--panel);
	border: 1px solid var(--line-soft);
	color: var(--cream);
	font: inherit;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form .form-submit {
	margin-bottom: 0;
}

.cg-comments__closed {
	color: var(--muted);
}

@media (max-width: 900px) {
	.cg-postcards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.cg-postcards {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-postnav {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-postnav__item--next {
		text-align: left;
	}
}

/* --- FAQ ------------------------------------------------------------------ */

.cg-faq {
	display: grid;
	gap: 14px;
	max-width: 840px;
	margin-inline: auto;
}

.cg-faq__item {
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	background: var(--panel-2);
	overflow: hidden;
}

.cg-faq__item[open] {
	border-color: var(--line);
}

.cg-faq__q {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	font-weight: 800;
	color: var(--cream);
	cursor: pointer;
	list-style: none;
}

.cg-faq__q::-webkit-details-marker {
	display: none;
}

.cg-faq__q::after {
	content: '+';
	margin-left: auto;
	flex: none;
	color: var(--gold);
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.cg-faq__item[open] .cg-faq__q::after {
	content: '\2212';
}

.cg-faq__a {
	margin: 0;
	padding: 0 18px 18px;
	color: var(--muted);
	line-height: 1.76;
}

/* Floating panel, bottom-left so it never covers the WA button (right).
   Collapsed to a round hamburger button by default; the whole widget can be
   dragged anywhere so it never hides page content. */
.cg-tocfloat {
	position: fixed;
	left: 20px;
	bottom: 20px;
	/* Above the mobile bottom nav (75) so the toggle stays tappable, still
	   below the sticky header (80). */
	z-index: 76;
	overflow: hidden;
}

.cg-tocfloat.is-open {
	width: min(238px, calc(100vw - 40px));
	border: 1px solid var(--line-soft);
	border-radius: var(--r);
	background: var(--panel);
	box-shadow: var(--shadow-md);
}

.cg-tocfloat__btn {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 1px solid var(--line-soft);
	border-radius: 50%;
	background: var(--panel);
	box-shadow: var(--shadow-md);
	color: var(--gold);
	cursor: grab;
	touch-action: none;
}

.cg-tocfloat__btn:active {
	cursor: grabbing;
}

.cg-tocfloat__btn .cg-ico {
	font-size: 24px;
}

.cg-tocfloat__btn .cg-tocfloat__ico-close {
	display: none;
}

.cg-tocfloat.is-open .cg-tocfloat__btn .cg-tocfloat__ico-menu {
	display: none;
}

.cg-tocfloat.is-open .cg-tocfloat__btn .cg-tocfloat__ico-close {
	display: block;
}

.cg-tocfloat__label {
	display: none;
}

/* Open state: the round button becomes a compact header row - label on the
   left, small X on the right. */
.cg-tocfloat.is-open .cg-tocfloat__btn {
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px 6px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	cursor: pointer;
}

.cg-tocfloat.is-open .cg-tocfloat__label {
	display: block;
	order: 1;
	color: var(--cream);
	font-weight: 900;
	font-size: var(--fs-small);
}

.cg-tocfloat.is-open .cg-tocfloat__btn .cg-tocfloat__ico-close {
	order: 2;
	width: 30px;
	height: 30px;
	padding: 7px;
	box-sizing: border-box;
	margin-left: auto;
	border: 1px solid var(--line-soft);
	border-radius: 50%;
	font-size: 14px;
	color: var(--gold);
}

.cg-tocfloat__list {
	display: none;
	margin: 0;
	padding: 0 14px 14px 34px;
	width: 100%;
	box-sizing: border-box;
	max-height: 46vh;
	overflow-y: auto;
	font-size: var(--fs-small);
}

.cg-tocfloat.is-open .cg-tocfloat__list {
	display: block;
}

.cg-tocfloat__list li {
	margin-bottom: 6px;
}

.cg-tocfloat__list a {
	color: var(--muted);
	font-weight: 700;
	text-decoration: none;
}

.cg-tocfloat__list a:hover {
	color: var(--gold);
}

@media (max-width: 860px) {
	/* Above the fixed mobile bottom nav. */
	.cg-tocfloat {
		left: 12px;
		bottom: 84px;
	}
}