/* Casino Catalog — Razmetka skin (chickenroadsslot.com).
   A country road seen from above. The page is the verge, mown in stripes (#E6F0D8 / #DCE8CB); the first
   screen, the header, the demo and the footer are asphalt (#2C2F33) with white paint; the chicken crosses lane
   by lane. Game cards are green direction signs (#1F6B35 with a white border), the demo ID is a yellow route
   plate (#F2C230), a published money cap a speed sign (a red ring, #C8302A). Lanes are coloured as a traffic light:
   green, yellow, red. Straight lines along the lanes, small corners, no round balls and no slants.
   League Gothic headings (painted letters), Overpass text (after Highway Gothic), Overpass Mono figures.
   Light only. Restyles the parent theme through its --cgt-* tokens plus the skin's own pieces (hero and road,
   the lanes module, sign cards, tiles, the game page). */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, see ../fonts/OFL.txt) ---------- */

@font-face {
	font-family: "League Gothic";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/league-gothic-400.woff2") format("woff2");
}

/* Overpass draws the middle dot (U+00B7) with no width, so "A · B" read as "A ·B" (the concept's known
   trap). Its faces skip U+00B7, and the dot comes from Overpass Mono (next two faces), centred in its cell. */
@font-face {
	font-family: "Overpass";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/overpass.woff2") format("woff2");
	unicode-range: U+0000-00B6, U+00B8-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Overpass";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/overpass-400-italic.woff2") format("woff2");
	unicode-range: U+0000-00B6, U+00B8-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Overpass";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/overpass-mono.woff2") format("woff2");
	unicode-range: U+00B7;
}

@font-face {
	font-family: "Overpass";
	font-style: italic;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/overpass-mono.woff2") format("woff2");
	unicode-range: U+00B7;
}

@font-face {
	font-family: "Overpass Mono";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/overpass-mono.woff2") format("woff2");
}

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

:root {
	color-scheme: light;

	/* Parent tokens. The accent is the green of the direction signs (white on it 6.5:1). */
	--cgt-bg: #e6f0d8;
	--cgt-surface: #ffffff;
	--cgt-card: #ffffff;
	--cgt-ink: #1d2023;
	--cgt-ink-soft: #4b5449;
	--cgt-line: #c9dbb2;
	--cgt-accent: #1f6b35;
	--cgt-accent-ink: #ffffff;
	--cgt-good: #1f6b35;
	--cgt-radius: 8px;
	--cgt-shadow: none;
	--cgt-font: "Overpass", "Segoe UI", Arial, sans-serif;

	/* The road. Contrast ratios (WCAG 2.x) are listed in README.md. */
	--rzm-verge: #e6f0d8;        /* the verge: page ground; ink on it 13.9:1 */
	--rzm-verge-2: #dce8cb;      /* the second stripe of mown grass; ink 12.8:1, links 5.1:1 */
	--rzm-verge-3: #c9dbb2;      /* rules on the verge */
	--rzm-asphalt: #2c2f33;      /* asphalt: header, road, demo, footer; white on it 13.5:1 */
	--rzm-asphalt-2: #33373c;    /* the next lane */
	--rzm-kerb: #a7aea4;         /* kerbs */
	--rzm-paint: #ffffff;        /* road paint, text on asphalt and signs */
	--rzm-paint-dim: #c9cdd1;    /* faded paint: second text on asphalt, 8.4:1 */
	--rzm-line: #f2c230;         /* the yellow centre line, route plates, passed lanes; asphalt on it 8.0:1 */
	--rzm-line-soft: #fdf3cf;    /* hover of plates */
	--rzm-sign: #1f6b35;         /* the green sign: cards, main buttons, links (5.1:1 and more) */
	--rzm-sign-deep: #17592a;    /* sign pressed or hovered: white on it 8.4:1 */
	--rzm-sign-soft: #e4f1e6;    /* "Fact-checked" ground and soft plates */
	--rzm-sign-text: #e3efe6;    /* second text on the sign, 5.5:1 */
	--rzm-sign-label: #d3e8d9;   /* labels on the sign, 5.1:1 */
	--rzm-comb: #c8302a;         /* the comb: speed sign ring, "run over"; white on it 5.4:1 */
	--rzm-comb-text: #b42a24;    /* small red text: 5.0:1 on the verge stripes */
	--rzm-hit: #5a2622;          /* the lane where the run ended */
	--rzm-hit-text: #ffb4ae;
	--rzm-ink: #1d2023;          /* text */
	--rzm-muted: #4b5449;        /* second text, 6.2:1 and more */
	--rzm-white: #ffffff;
	--rzm-mist: #f3f6ef;         /* table heads */
	--rzm-rule: #e1e6dc;         /* rules in tables */
	--rzm-display: "League Gothic", "Arial Narrow", Impact, sans-serif;
	--rzm-mono: "Overpass Mono", ui-monospace, Consolas, monospace;

	/* A dashed lane line (under section titles, rules). */
	--rzm-dashes: repeating-linear-gradient(90deg, var(--rzm-asphalt) 0 26px, transparent 26px 44px);
	/* A zebra crossing, white bars on asphalt (header edge, footer, demo). */
	--rzm-zebra: repeating-linear-gradient(90deg, var(--rzm-paint) 0 26px, var(--rzm-asphalt) 26px 44px);
	/* The chicken (card without a picture, demo panel). */
	--rzm-hen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpolygon points='17,36 5,22 10,37 3,35 13,44' fill='%23F1F2EE'/%3E%3Cellipse cx='30' cy='39' rx='17' ry='14' fill='%23FFFFFF'/%3E%3Cellipse cx='27' cy='40' rx='9.5' ry='6.2' fill='%23E3E6E1' transform='rotate(-12 27 40)'/%3E%3Ccircle cx='42' cy='24' r='9.2' fill='%23FFFFFF'/%3E%3Ccircle cx='37.6' cy='15.6' r='3.2' fill='%23C8302A'/%3E%3Ccircle cx='41.8' cy='13.6' r='3.7' fill='%23C8302A'/%3E%3Ccircle cx='46' cy='15.8' r='3' fill='%23C8302A'/%3E%3Cpolygon points='50.2,22.6 57.5,25.8 50.2,28.4' fill='%23F2A51F'/%3E%3Cellipse cx='49.2' cy='30.6' rx='2.2' ry='3.1' fill='%23C8302A'/%3E%3Ccircle cx='45' cy='22' r='1.9' fill='%231D2023'/%3E%3Ccircle cx='45.6' cy='21.4' r='.6' fill='%23FFFFFF'/%3E%3Cpath d='M26 52 L24 60 M24 60 L20.5 61.5 M24 60 L27 62 M34 52 L35 60 M35 60 L31.8 61.8 M35 60 L38.6 61.2' stroke='%23F2A51F' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
	/* The white play disc of a card. */
	--rzm-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Ccircle cx='21' cy='21' r='21' fill='%23FFFFFF'/%3E%3Cpath d='M17 13 L30 21 L17 29Z' fill='%231F6B35'/%3E%3C/svg%3E");
}

html {
	background: var(--rzm-verge);
	scroll-padding-top: 96px;
}

/* The verge: mown grass in 140 px stripes, as in the concept. */
body {
	background-color: var(--rzm-verge);
	background-image: repeating-linear-gradient(90deg, var(--rzm-verge) 0 140px, var(--rzm-verge-2) 140px 280px);
	color: var(--rzm-ink);
	font-family: var(--cgt-font);
	font-size: 17px;
	line-height: 1.55;
	font-synthesis: none;
}

a {
	color: var(--rzm-sign);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--rzm-sign-deep);
}

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

/* Painted letters: League Gothic has one weight (400); no fake bold. */
h1,
h2 {
	font-family: var(--rzm-display);
	font-weight: 400;
	color: var(--rzm-ink);
	letter-spacing: 0.005em;
	line-height: 0.95;
	text-transform: uppercase;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.6rem, 6vw, 4.4rem);
}

h2,
.cgt-section h2 {
	font-size: clamp(2rem, 3.6vw, 2.75rem);
}

h3,
h4 {
	font-family: var(--cgt-font);
	font-weight: 800;
	color: var(--rzm-ink);
	letter-spacing: -0.005em;
	line-height: 1.2;
	text-wrap: balance;
}

h3 {
	font-size: 1.2rem;
}

::selection {
	background: var(--rzm-line);
	color: var(--rzm-ink);
}

/* The yellow route plate (header, the game's name on the demo panel). */
.rzm-plate {
	display: inline-block;
	padding: 5px 7px 3px;
	background: var(--rzm-line);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 3px;
	box-shadow: 0 0 0 1.5px var(--rzm-line);
	color: var(--rzm-asphalt);
	font: 800 0.8rem/1 var(--cgt-font);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ---------- Header: asphalt with a zebra crossing along its edge ---------- */

.cgt-header {
	padding-bottom: 10px;
	background: var(--rzm-zebra) left bottom / 100% 10px no-repeat, var(--rzm-asphalt);
	border-bottom: 0;
	color: var(--rzm-paint);
}

.cgt-header__inner {
	min-height: 64px;
	gap: 10px 22px;
}

.cgt-header__brand {
	order: 0;
}

.rzm-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--rzm-paint);
	text-decoration: none;
}

.rzm-brand:hover {
	color: var(--rzm-paint);
}

.rzm-mark {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
}

.rzm-brand__name {
	font: 400 1.9rem/1 var(--rzm-display);
	letter-spacing: 0.01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rzm-brand__plate {
	margin-left: 2px;
}

.cgt-header__brand :focus-visible,
.cgt-header :focus-visible {
	outline-color: var(--rzm-line);
}

.cgt-header__nav {
	order: 1;
	margin-left: 4px;
}

.rzm-age {
	order: 2;
	margin-left: auto;
	padding: 5px 7px;
	border: 2px solid var(--rzm-paint);
	border-radius: 4px;
	color: var(--rzm-paint);
	font: 700 0.75rem/1 var(--rzm-mono);
	white-space: nowrap;
}

.cgt-nav {
	gap: 4px;
}

.cgt-nav a {
	padding: 9px 12px;
	border-radius: 4px;
	color: var(--rzm-paint);
	font: 700 0.95rem/1 var(--cgt-font);
}

.cgt-nav a:hover {
	background: var(--rzm-asphalt-2);
	color: var(--rzm-paint);
	text-decoration: underline;
}

.cgt-nav .current-menu-item > a,
.cgt-nav .current-menu-ancestor > a,
.cgt-nav a[aria-current="page"] {
	background: var(--rzm-paint);
	color: var(--rzm-asphalt);
}

.cgt-nav .sub-menu a {
	color: var(--rzm-paint);
}

/* "Menu" plate on phones; the parent's three bars are not needed next to the word. */
.cgt-header__toggle {
	order: 3;
	padding: 7px 9px;
	border: 2px solid var(--rzm-paint);
	border-radius: 4px;
	background: transparent;
	color: var(--rzm-paint);
	font: 700 0.75rem/1 var(--rzm-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cgt-header__toggle[aria-expanded="true"] {
	background: var(--rzm-paint);
	color: var(--rzm-asphalt);
}

.cgt-header__toggle .cgt-header__toggle-bars {
	display: none;
}

/* ---------- Buttons, links of sections, chips, badges ---------- */

.cgt-button {
	padding: 12px 20px;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 5px;
	color: var(--rzm-white);
	font: 800 0.95rem/1 var(--cgt-font);
	letter-spacing: 0.02em;
	text-decoration: none;
}

.cgt-button:hover {
	background: var(--rzm-sign-deep);
	color: var(--rzm-white);
	filter: none;
}

.cgt-section__more {
	padding: 8px 12px 7px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font: 700 0.86rem/1.1 var(--cgt-font);
}

.cgt-section__more:hover {
	border-color: var(--rzm-asphalt);
	background: var(--rzm-line);
	color: var(--rzm-ink);
}

.cgt-chip {
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font-weight: 700;
}

.cgt-chip:hover {
	border-color: var(--rzm-asphalt);
	background: var(--rzm-line-soft);
}

.cgt-chip__x {
	color: var(--rzm-comb-text);
}

/* Mechanics and features: white plates. Themes (their links run under /themes/): yellow-soft plates. */
.cgt-tag {
	padding: 6px 10px 5px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font-size: 0.88rem;
	font-weight: 700;
}

.cgt-tag:hover {
	border-color: var(--rzm-asphalt);
	background: var(--rzm-line);
	color: var(--rzm-ink);
}

.cgt-tag[href*="/themes/"],
.cgt-tag[href*="/theme/"] {
	background: var(--rzm-line-soft);
}

.cgt-tag[href*="/themes/"]:hover,
.cgt-tag[href*="/theme/"]:hover {
	background: var(--rzm-line);
}

.cgt-badge {
	padding: 5px 9px 4px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font: 700 0.8rem/1.2 var(--rzm-mono);
	font-variant-numeric: tabular-nums;
}

.cgt-badge--soft {
	background: var(--rzm-line-soft);
	border-color: var(--rzm-asphalt);
	color: var(--rzm-ink);
}

.cgt-badge--accent {
	background: var(--rzm-sign);
	border-color: var(--rzm-sign);
	color: var(--rzm-white);
}

.cgt-badge--upcoming {
	background: var(--rzm-line);
	border-color: var(--rzm-asphalt);
	color: var(--rzm-ink);
}

/* ---------- Sections ---------- */

.cgt-section {
	margin: 44px 0;
}

/* A dashed lane line under section titles. */
.cgt-section__head {
	padding-bottom: 14px;
	margin-bottom: 20px;
	background-image: var(--rzm-dashes);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 100% 4px;
}

.cgt-section__head h2 {
	margin: 0;
}

.cgt-section__subtitle {
	color: var(--rzm-muted);
}

/* ---------- Level plates (the road buttons and the radio buttons of the lanes) ---------- */

.rzm-levels {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.rzm-levels[hidden] {
	display: none;
}

.rzm-levels__label {
	margin-right: 4px;
	color: var(--rzm-muted);
	font: 700 0.75rem/1 var(--rzm-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rzm-levels__pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	padding: 7px 11px 6px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 5px;
	color: var(--rzm-ink);
	font: 700 0.88rem/1 var(--cgt-font);
	cursor: pointer;
}

.rzm-levels__pill:hover {
	background: var(--rzm-line-soft);
}

.rzm-levels__pill i {
	display: block;
	flex: none;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--rzm-tone, var(--rzm-sign));
}

button.rzm-levels__pill[aria-pressed="true"],
.rzm-levels__input:checked + .rzm-levels__pill {
	background: var(--rzm-asphalt);
	color: var(--rzm-paint);
}

.rzm-tone--go {
	--rzm-tone: var(--rzm-sign);
}

.rzm-tone--slow {
	--rzm-tone: var(--rzm-line);
}

.rzm-tone--stop {
	--rzm-tone: var(--rzm-comb);
}

.rzm-tone--max i {
	background: var(--rzm-asphalt);
	box-shadow: 0 0 0 2px var(--rzm-paint-dim);
}

.rzm-tone--paint i {
	background: var(--rzm-white);
	box-shadow: 0 0 0 2px var(--rzm-kerb);
}

/* The radio itself stays in the page for the keyboard and screen readers; its label is the plate. */
.rzm-levels__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.rzm-levels__input:focus-visible + .rzm-levels__pill {
	outline: 3px solid var(--rzm-sign);
	outline-offset: 3px;
}

/* ---------- Front page: hero ---------- */

.rzm-hero {
	padding: 30px 0 0;
}

.rzm-hero__top {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 18px 34px;
	align-items: end;
	padding-bottom: 22px;
}

.rzm-hero__head,
.rzm-hero__tools {
	min-width: 0;
}

.rzm-kicker {
	margin: 0 0 10px;
	color: var(--rzm-sign);
	font: 700 0.78rem/1.3 var(--rzm-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rzm-hero__title {
	margin: 0;
	font-size: clamp(2.9rem, 6.2vw, 5.25rem);
	line-height: 0.92;
}

.rzm-hero__title em {
	display: block;
	font-style: normal;
	color: var(--rzm-comb-text);
}

.rzm-hero__sub {
	margin: 14px 0 0;
	max-width: 52ch;
	font-size: 1.08rem;
}

.rzm-search {
	display: flex;
	gap: 6px;
	min-width: 0;
	padding: 4px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 6px;
}

.rzm-search:focus-within {
	outline: 3px solid var(--rzm-sign);
	outline-offset: 3px;
}

.rzm-search input {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	background: transparent;
	border: 0;
	color: var(--rzm-ink);
	font: 400 1rem/1.2 var(--cgt-font);
}

.rzm-search input::placeholder {
	color: var(--rzm-muted);
	opacity: 1;
}

.rzm-search input:focus,
.rzm-search input:focus-visible {
	outline: none;
}

.rzm-levels--road {
	margin-top: 12px;
}

.rzm-levels--road .rzm-levels__label {
	flex-basis: 100%;
	margin-bottom: 2px;
}

/* ---------- Front page: the road ---------- */

.rzm-road {
	--rzm-lw: 96px;
	--rzm-start-w: 118px;
	--rzm-hen-size: 64px;
	margin: 0;
}

.rzm-road__view {
	position: relative;
	height: 270px;
	overflow: hidden;
	background: var(--rzm-asphalt);
	border-top: 8px solid var(--rzm-kerb);
	border-bottom: 8px solid var(--rzm-kerb);
}

/* Grain of the asphalt. */
.rzm-road__view::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.5;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px), radial-gradient(rgba(0, 0, 0, 0.25) 1px, transparent 1.6px);
	background-position: 0 0, 3px 5px;
	background-size: 7px 7px, 11px 11px;
	pointer-events: none;
}

.rzm-road__strip {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	will-change: transform;
}

.rzm-road.is-live .rzm-road__strip {
	transition: transform 0.45s cubic-bezier(0.3, 0.7, 0.3, 1);
}

/* A lane: a dashed white line on its left edge, the multiplier painted on top, the implied chance at the bottom. */
.rzm-lane {
	position: relative;
	flex: none;
	width: var(--rzm-lw);
	height: 100%;
	background-image: linear-gradient(var(--rzm-paint) 55%, transparent 0);
	background-repeat: repeat-y;
	background-position: 0 0;
	background-size: 3px 30px;
}

.rzm-lane:not(.rzm-lane--start, .rzm-lane--end):nth-child(even) {
	background-color: var(--rzm-asphalt-2);
}

.rzm-lane--first {
	background-image: linear-gradient(var(--rzm-paint), var(--rzm-paint));
	background-size: 4px 100%;
}

.rzm-lane--start {
	width: var(--rzm-start-w);
	background: var(--rzm-verge-2);
	border-right: 10px solid var(--rzm-kerb);
}

.rzm-lane--end {
	width: 150px;
	background: var(--rzm-verge-2);
	border-left: 10px solid var(--rzm-kerb);
}

.rzm-lane__mult {
	position: absolute;
	top: 16px;
	right: 0;
	left: 0;
	z-index: 2;
	color: var(--rzm-paint);
	font: 400 1.9rem/1 var(--rzm-display);
	letter-spacing: 0.01em;
	text-align: center;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
	white-space: nowrap;
}

.rzm-lane--long .rzm-lane__mult {
	font-size: 1.45rem;
}

.rzm-lane__reach {
	position: absolute;
	right: 8px;
	bottom: 14px;
	left: 8px;
	z-index: 2;
	color: var(--rzm-paint-dim);
	font: 600 0.72rem/1.15 var(--rzm-mono);
	text-align: center;
	white-space: nowrap;
}

.rzm-lane__reach i {
	display: block;
	height: 5px;
	margin: 0 auto 6px;
	border-radius: 1px;
	background: var(--rzm-line);
}

.rzm-lane--start .rzm-lane__paint,
.rzm-lane--end .rzm-lane__paint {
	position: absolute;
	top: 16px;
	right: 0;
	left: 0;
	color: var(--rzm-sign);
	font: 400 1.6rem/1 var(--rzm-display);
	text-align: center;
	text-transform: uppercase;
}

.rzm-lane--end .rzm-lane__paint {
	color: var(--rzm-muted);
}

.rzm-lane--end small {
	position: absolute;
	right: 10px;
	bottom: 16px;
	left: 10px;
	color: var(--rzm-muted);
	font: 600 0.72rem/1.25 var(--rzm-mono);
	text-align: center;
}

.rzm-lane--passed .rzm-lane__mult {
	color: var(--rzm-line);
}

/* The tick of a passed lane. */
.rzm-lane--passed::after {
	content: "";
	position: absolute;
	top: 58px;
	left: 50%;
	width: 22px;
	height: 12px;
	margin-left: -11px;
	border-bottom: 4px solid var(--rzm-line);
	border-left: 4px solid var(--rzm-line);
	transform: rotate(-45deg);
}

.rzm-lane.rzm-lane--hit {
	background-color: var(--rzm-hit);
}

.rzm-lane--hit .rzm-lane__mult {
	color: var(--rzm-hit-text);
}

.rzm-lane.rzm-lane--cash {
	background-color: var(--rzm-sign-deep);
}

/* Cars drive down the lanes, only while the road runs (razmetka.js); at rest they stand. */
.rzm-car {
	position: absolute;
	top: var(--rzm-car-top, 30%);
	left: 50%;
	z-index: 1;
	width: 36px;
	margin-left: -18px;
	transition: opacity 0.3s;
}

.rzm-car svg {
	display: block;
	width: 100%;
	height: auto;
}

.rzm-road.is-moving .rzm-car {
	top: -90px;
	animation-name: rzm-drive;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.rzm-lane--passed .rzm-car,
.rzm-lane--here .rzm-car,
.rzm-lane--hit .rzm-car,
.rzm-lane--cash .rzm-car {
	opacity: 0;
}

@keyframes rzm-drive {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(460px);
	}
}

/* The chicken: at rest (no script) on lane 3; the script moves her with a transform. */
.rzm-hen {
	position: absolute;
	bottom: 62px;
	left: calc(var(--rzm-start-w) + 2.5 * var(--rzm-lw) - var(--rzm-hen-size) / 2);
	z-index: 3;
	width: var(--rzm-hen-size);
	height: var(--rzm-hen-size);
}

.rzm-road.is-live .rzm-hen {
	left: 0;
	transition: transform 0.42s cubic-bezier(0.3, 0.7, 0.3, 1);
}

.rzm-hen svg {
	display: block;
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 6px 3px rgba(0, 0, 0, 0.35));
}

.rzm-hen--hop svg {
	animation: rzm-hop 0.42s ease-out;
}

@keyframes rzm-hop {
	0% {
		transform: translateY(0);
	}

	45% {
		transform: translateY(-26px);
	}

	100% {
		transform: translateY(0);
	}
}

.rzm-bubble {
	position: absolute;
	bottom: 136px;
	left: 0;
	z-index: 4;
	padding: 8px 10px 7px;
	background: var(--rzm-paint);
	border-radius: 5px;
	color: var(--rzm-ink);
	font: 800 0.85rem/1 var(--cgt-font);
	white-space: nowrap;
	transform: translateX(-50%);
}

.rzm-bubble[hidden] {
	display: none;
}

.rzm-bubble--cash {
	background: var(--rzm-sign);
	color: var(--rzm-white);
}

.rzm-bubble--hit {
	background: var(--rzm-comb);
	color: var(--rzm-white);
}

.rzm-road__status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 16px;
	padding-top: 12px;
	padding-bottom: 6px;
	color: var(--rzm-muted);
	font: 600 0.8rem/1.35 var(--rzm-mono);
}

.rzm-road__status b {
	color: var(--rzm-ink);
	font-weight: 700;
}

.rzm-road__id {
	flex: 1 1 auto;
	text-align: right;
}

.rzm-road__pause {
	min-height: 32px;
	padding: 6px 10px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font: 700 0.72rem/1 var(--rzm-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.rzm-road__pause:hover {
	background: var(--rzm-line-soft);
}

/* ---------- The lanes module: "How far does the chicken get?" and "Lane by lane" ---------- */

.rzm-lanes-room {
	padding-top: 4px;
}

.rzm-odds {
	padding: 22px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.rzm-lanes {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	min-width: 0;
	/* 0.1.2 (audit CR-06): the tables size themselves to the width of the module or the panel, not of the screen. */
	container: rzm-lanes / inline-size;
}

.rzm-lanes > * {
	min-width: 0;
}

.rzm-lanes__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 22px;
}

.rzm-lanes__intro {
	flex: 1 1 420px;
	min-width: 0;
}

.rzm-lanes__intro h2 {
	margin: 0;
	font-size: clamp(2.25rem, 4vw, 3.4rem);
}

.rzm-lanes__intro p {
	margin: 8px 0 0;
	max-width: 62ch;
}

.rzm-lanes__set {
	display: block;
	min-width: 0;
}

/* The levels switch with the radio buttons and CSS alone. */
@supports selector(:has(*)) {
	.rzm-lanes__set {
		display: none;
	}

	.rzm-lanes:has(.rzm-levels__input[value="1"]:checked) .rzm-lanes__set[data-level="1"],
	.rzm-lanes:has(.rzm-levels__input[value="2"]:checked) .rzm-lanes__set[data-level="2"],
	.rzm-lanes:has(.rzm-levels__input[value="3"]:checked) .rzm-lanes__set[data-level="3"],
	.rzm-lanes:has(.rzm-levels__input[value="4"]:checked) .rzm-lanes__set[data-level="4"],
	.rzm-lanes:has(.rzm-levels__input[value="5"]:checked) .rzm-lanes__set[data-level="5"] {
		display: block;
	}
}

@supports not selector(:has(*)) {
	.rzm-lanes .rzm-levels {
		display: none;
	}

	.rzm-lanes__set + .rzm-lanes__set {
		margin-top: 18px;
		padding-top: 14px;
		border-top: 2px dashed var(--rzm-verge-3);
	}
}

/* The bars scroll sideways inside their own frame, never the page. Positioned, so the figures kept for
   screen readers (absolute) scroll with the bars instead of widening the page. */
.rzm-lanes__scroll {
	position: relative;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 2px 4px;
	scrollbar-color: var(--rzm-kerb) transparent;
}

.rzm-bars {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
}

.rzm-bars tbody {
	display: flex;
	align-items: stretch;
	gap: 3px;
	min-width: 100%;
	height: 272px;
	padding-top: 8px;
}

.rzm-bar {
	position: relative;
	display: flex;
	flex: 1 0 32px;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	max-width: 64px;
	cursor: pointer;
}

.rzm-bar > th,
.rzm-bar > td {
	display: block;
	padding: 0;
	border: 0;
	text-align: center;
}

.rzm-bar__x {
	order: 1;
	color: var(--rzm-ink);
	font: 700 0.66rem/1 var(--rzm-mono);
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.rzm-bar__p {
	order: 2;
	flex: none;
	width: 100%;
	min-height: 3px;
}

.rzm-bar__fill {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 3px;
	border-radius: 2px 2px 0 0;
	background: var(--rzm-zone, var(--rzm-sign));
}

.rzm-bar__n {
	order: 3;
	color: var(--rzm-muted);
	font: 700 0.7rem/1 var(--rzm-mono);
}

.rzm-bar__pick {
	min-width: 26px;
	padding: 4px 4px 3px;
	background: none;
	border: 0;
	border-radius: 3px;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.rzm-bar.is-picked .rzm-bar__n,
.rzm-bar__pick[aria-pressed="true"] {
	background: var(--rzm-asphalt);
	color: var(--rzm-white);
}

.rzm-bar.is-picked .rzm-bar__n {
	border-radius: 3px;
}

.rzm-bar:hover .rzm-bar__fill {
	filter: brightness(1.12);
}

/* The colour of a lane by its implied chance, as a traffic light (bars, the mini ladder, the legend). */
.rzm-zone--go {
	--rzm-zone: var(--rzm-sign);
}

.rzm-zone--slow {
	--rzm-zone: var(--rzm-line);
}

.rzm-zone--stop {
	--rzm-zone: var(--rzm-comb);
}

.rzm-zones {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	color: var(--rzm-muted);
	font: 600 0.78rem/1.3 var(--rzm-mono);
}

.rzm-lanes__set .rzm-zones {
	margin-top: 10px;
}

.rzm-zones i {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	border-radius: 2px;
	background: var(--rzm-zone);
	vertical-align: -1px;
}

.rzm-lanes__say {
	margin: 12px 0 0;
	max-width: 74ch;
	font-size: 1.08rem;
}

.rzm-lanes__say b {
	color: var(--rzm-sign);
}

.rzm-lanes__identity {
	margin: 12px 0 0;
	padding: 10px 14px;
	background: var(--rzm-asphalt);
	border-radius: 5px;
	color: var(--rzm-paint);
	font: 600 0.85rem/1.45 var(--rzm-mono);
}

.rzm-lanes__identity b {
	color: var(--rzm-line);
}

.rzm-lanes__hint {
	display: none;
	margin: 0;
	color: var(--rzm-muted);
	font: 600 0.78rem/1.35 var(--rzm-mono);
}

.rzm-lanes__note {
	margin: 0;
	max-width: 86ch;
	color: var(--rzm-muted);
	font-size: 0.88rem;
	line-height: 1.5;
}

/* Every lane in figures (both variants). 0.1.2 (audit CR-06): on Hardcore a row such as "15 · ×2,542,251.93 ·
   1 in 2,594,135" ran past the panel. Now a figure never breaks inside (no overflow-wrap here, the lane and the
   multiplier never wrap), "1 in …" may wrap at its spaces, the header wraps at its words, and the figures are set
   a little smaller (0.8rem), and smaller still in the narrowest box (below). */
.rzm-figures {
	margin-top: 10px;
	font-size: 0.9rem;
}

.rzm-figures summary {
	color: var(--rzm-ink);
	font-weight: 800;
	cursor: pointer;
}

.rzm-figures summary:focus-visible {
	outline: 3px solid var(--rzm-sign);
	outline-offset: 2px;
}

.rzm-figures__table {
	width: 100%;
	max-width: 520px;
	margin-top: 6px;
	border-collapse: collapse;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.rzm-figures__table th,
.rzm-figures__table td {
	padding: 3px 5px;
	border-bottom: 1px solid var(--rzm-rule);
	text-align: right;
	overflow-wrap: normal;
	word-break: normal;
}

.rzm-figures__table tbody th,
.rzm-figures__table td:nth-child(2) {
	white-space: nowrap;
}

.rzm-figures__table th:first-child {
	text-align: left;
}

.rzm-figures__table thead th {
	color: var(--rzm-muted);
	font: 700 0.7rem/1.3 var(--rzm-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rzm-figures__table td,
.rzm-figures__table tbody th {
	font-family: var(--rzm-mono);
}

/* "Lane by lane" on a game page: a white panel of its own under the key facts. */
.rzm-panel {
	margin: 14px 0 4px;
	padding: 14px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.rzm-panel__title {
	margin: 0 0 10px;
	font: 400 1.65rem/1 var(--rzm-display);
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.rzm-lanes--compact {
	gap: 10px;
}

.rzm-lanes--compact .rzm-levels {
	gap: 5px;
}

.rzm-lanes--compact .rzm-levels__label {
	flex-basis: 100%;
}

.rzm-lanes--compact .rzm-levels__pill {
	gap: 6px;
	min-height: 36px;
	padding: 6px 8px 5px;
	font-size: 0.8rem;
}

/* The compact ladder. 0.1.2 (audit CR-06): the lane and the multiplier never wrap and never break; the chance cell
   may wrap, its figure moving under its bar as a whole (and "1 in …" at its spaces only where even that does not
   fit), so the widest Hardcore row stays inside the panel from a 320 px screen up. The lane column is as wide as
   its label. */
.rzm-mini {
	width: 100%;
	border-collapse: collapse;
	font: 600 0.8rem/1.2 var(--rzm-mono);
	font-variant-numeric: tabular-nums;
}

.rzm-mini th,
.rzm-mini td {
	padding: 3px 4px;
	border: 0;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
	overflow-wrap: normal;
}

.rzm-mini th {
	width: 1%;
	color: var(--rzm-muted);
}

.rzm-mini td:nth-child(2) {
	color: var(--rzm-ink);
}

.rzm-mini td:nth-child(3) {
	white-space: normal;
}

.rzm-mini__track {
	display: inline-block;
	width: 44px;
	height: 8px;
	margin-right: 6px;
	vertical-align: 0;
	background: var(--rzm-mist);
	border-radius: 2px;
	overflow: hidden;
}

/* The narrowest box (the panel on a phone below about 360 px: 208 px of table on a 320 px screen): the bar goes,
   the figures, the header and the cells get smaller. Measured in Chrome (Overpass Mono, 0.616 em a figure): the
   widest row of every ladder needs 200 px here and 234 px above this width. Every number stays whole. */
@container rzm-lanes (max-width: 240px) {
	.rzm-mini__track {
		display: none;
	}

	.rzm-mini,
	.rzm-figures__table {
		font-size: 0.72rem;
	}

	.rzm-mini th,
	.rzm-mini td,
	.rzm-figures__table th,
	.rzm-figures__table td {
		padding: 3px 3px;
	}

	.rzm-figures__table thead th {
		font-size: 0.64rem;
		letter-spacing: 0.02em;
	}
}

.rzm-mini__track i {
	display: block;
	height: 100%;
	background: var(--rzm-zone);
}

.rzm-mini__gap td {
	color: var(--rzm-muted);
	text-align: center;
}

.rzm-lanes--compact .rzm-lanes__say {
	margin-top: 8px;
	font-size: 0.92rem;
	line-height: 1.45;
}

.rzm-lanes--compact .rzm-lanes__note {
	font-size: 0.82rem;
}

/* ---------- Game cards: green direction signs ---------- */

.cgt-grid {
	gap: 18px;
}

.cgt-card {
	position: relative;
	container-type: inline-size;
	padding: 6px;
	overflow: visible;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	color: var(--rzm-white);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* The white border inside the sign. */
.cgt-card::before {
	content: "";
	position: absolute;
	inset: 6px;
	z-index: 2;
	border: 2.5px solid var(--rzm-paint);
	border-radius: 7px;
	pointer-events: none;
}

.cgt-card:hover,
.cgt-card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 7px 0 -2px var(--rzm-asphalt);
}

.cgt-card :focus-visible {
	outline-color: var(--rzm-paint);
}

/* The picture on asphalt with lane lines (seen when there is no picture), the white edge below it. */
.cgt-card__media {
	aspect-ratio: 16 / 10;
	background-color: var(--rzm-asphalt);
	background-image: repeating-linear-gradient(180deg, transparent 0 8px, rgba(44, 47, 51, 0.92) 8px 24px), linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 3px, transparent 3px);
	background-position: 0 0, 12.5% 0;
	background-size: 100% 100%, 25% 100%;
	border-bottom: 2.5px solid var(--rzm-paint);
	border-radius: 7px 7px 0 0;
	text-decoration: none;
}

.cgt-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--rzm-asphalt);
}

/* No picture yet: a zebra crossing and the chicken, as in the concept (the parent's letter is not drawn). */
.cgt-card__placeholder {
	position: absolute;
	inset: 0;
	display: block;
	color: var(--rzm-paint);
	font-size: 0;
	background: var(--rzm-hen) center 78% / 30% auto no-repeat, repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0 14px, transparent 14px 26px) center 42% / 84% 24% no-repeat;
}

/* "Demo": the yellow route plate in the corner, and a white play disc. */
.cgt-card__badge {
	top: 12px;
	right: auto;
	left: 12px;
	z-index: 1;
	padding: 5px 7px 3px;
	background: var(--rzm-line);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 3px;
	box-shadow: 0 0 0 1.5px var(--rzm-line);
	color: var(--rzm-asphalt);
	font: 800 0.72rem/1 var(--cgt-font);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cgt-card__media:has(> .cgt-card__badge:not(.cgt-card__badge--upcoming))::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 10px;
	z-index: 1;
	width: 42px;
	height: 42px;
	background: var(--rzm-play) center / 100% 100% no-repeat;
	border-radius: 50%;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.cgt-card__badge--upcoming {
	background: var(--rzm-white);
	box-shadow: 0 0 0 1.5px var(--rzm-white);
}

.cgt-card__body {
	gap: 7px;
	padding: 12px 13px 14px;
}

.cgt-card__title {
	font: 800 1.2rem/1.15 var(--cgt-font);
	letter-spacing: -0.005em;
}

.cgt-card__title a {
	color: var(--rzm-white);
	text-decoration: none;
}

.cgt-card__title a:hover {
	color: var(--rzm-white);
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.cgt-card__provider {
	margin: -2px 0 0;
	color: var(--rzm-sign-text);
	font-size: 0.9rem;
}

/* RTP, volatility and the top lane multiplier as plates outlined in white; a published money cap as a speed sign
   (razmetka.js marks it, 0.1.2). The label of a plate may wrap at its words and its figure may move under it;
   the figure itself never breaks ("Top lane multiplier" is longer than the engine's "Max Win"). */
.cgt-card__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0 0;
}

.cgt-card__stats div {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 5px;
	min-width: 0;
	max-width: 100%;
	padding: 5px 7px 4px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 4px;
	font: 700 0.74rem/1.1 var(--rzm-mono);
	font-variant-numeric: tabular-nums;
}

.cgt-card__stats dt {
	color: var(--rzm-sign-label);
	font-weight: 600;
}

.cgt-card__stats dd {
	margin: 0;
	color: var(--rzm-white);
	white-space: nowrap;
}

.cgt-card__stats div.rzm-speed {
	background: var(--rzm-white);
	border-color: var(--rzm-comb);
	border-radius: 999px;
}

.cgt-card__stats div.rzm-speed dt {
	color: var(--rzm-muted);
}

.cgt-card__stats div.rzm-speed dd {
	color: var(--rzm-ink);
	font-weight: 700;
}

.cgt-card__compare {
	align-self: flex-start;
	min-height: 36px;
	margin-top: auto;
	padding: 8px 12px 7px;
	background: transparent;
	border: 2px solid var(--rzm-paint);
	border-radius: 4px;
	color: var(--rzm-white);
	font: 700 0.84rem/1.1 var(--cgt-font);
}

.cgt-card__compare:hover {
	background: var(--rzm-white);
	color: var(--rzm-sign);
}

.cgt-card__compare.is-active,
.cgt-card__compare[aria-pressed="true"] {
	background: var(--rzm-line);
	border-color: var(--rzm-line);
	color: var(--rzm-asphalt);
	font-weight: 800;
}

/* Narrow cards (two a row on a phone). */
@container (max-width: 240px) {
	.cgt-card__badge {
		top: 8px;
		left: 8px;
		font-size: 0.64rem;
	}

	.cgt-card__media:has(> .cgt-card__badge:not(.cgt-card__badge--upcoming))::after {
		right: 8px;
		bottom: 7px;
		width: 32px;
		height: 32px;
	}

	.cgt-card__body {
		gap: 6px;
		padding: 10px 10px 12px;
	}

	.cgt-card__title {
		font-size: 1rem;
	}

	.cgt-card__provider {
		font-size: 0.82rem;
	}

	.cgt-card__stats div {
		padding: 4px 5px 3px;
		font-size: 0.68rem;
	}
}

/* Game grids on the front page and under a review: 4 a row on wide screens, so 12 and 8 cards close their rows. */
@media (min-width: 900px) {
	.home .cgt-grid,
	#related .cgt-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Front page: studios on green signs, themes on white plates ---------- */

.rzm-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.rzm-tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.rzm-tiles {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.rzm-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	height: 100%;
	padding: 16px 10px 14px;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rzm-tile--sign {
	background: var(--rzm-sign);
	box-shadow: inset 0 0 0 5px var(--rzm-sign), inset 0 0 0 7.5px var(--rzm-paint);
	color: var(--rzm-white);
}

.rzm-tile--plate {
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	color: var(--rzm-ink);
}

.rzm-tile:hover {
	transform: translateY(-3px);
}

.rzm-tile--sign:hover {
	color: var(--rzm-white);
	box-shadow: inset 0 0 0 5px var(--rzm-sign), inset 0 0 0 7.5px var(--rzm-paint), 0 7px 0 -2px var(--rzm-asphalt);
}

.rzm-tile--plate:hover {
	color: var(--rzm-ink);
	box-shadow: 0 7px 0 -2px var(--rzm-asphalt);
}

.rzm-tile--sign:focus-visible {
	outline-color: var(--rzm-asphalt);
}

/* The letter in the shield is 2 rem League Gothic: large text. */
.rzm-tile__shield {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	overflow: hidden;
	border-radius: 6px;
	font: 400 2rem/1 var(--rzm-display);
	text-transform: uppercase;
}

.rzm-tile--sign .rzm-tile__shield {
	background: var(--rzm-white);
	color: var(--rzm-sign);
}

.rzm-tile--plate .rzm-tile__shield {
	background: var(--rzm-line);
	color: var(--rzm-asphalt);
}

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

.rzm-tile__name {
	font: 700 0.98rem/1.2 var(--cgt-font);
	overflow-wrap: anywhere;
}

/* ---------- Entity cards and headers (archives, studio and theme pages) ---------- */

.cgt-archive-header h1 {
	margin-bottom: 12px;
	padding-bottom: 14px;
	font-size: clamp(2.5rem, 5.4vw, 4rem);
	background-image: var(--rzm-dashes);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 100% 4px;
}

.cgt-archive-header .cgt-prose,
.cgt-archive-header .cgt-prose p {
	color: var(--rzm-ink);
}

.cgt-entity-card {
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
	box-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cgt-entity-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 7px 0 -2px var(--rzm-asphalt);
}

.cgt-entity-card__link {
	color: var(--rzm-ink);
}

.cgt-entity-card__title {
	font: 800 1.08rem/1.2 var(--cgt-font);
}

.cgt-entity-card__thumb img {
	border: 2px solid var(--rzm-asphalt);
	border-radius: 6px;
}

.cgt-entity-card__excerpt {
	color: var(--rzm-muted);
}

.cgt-entity__logo img {
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

/* Studio stats as green signs. */
.cgt-statgrid div {
	padding: 12px 14px;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 6px;
	box-shadow: inset 0 0 0 4px var(--rzm-sign), inset 0 0 0 6px var(--rzm-paint);
}

.cgt-statgrid dt {
	color: var(--rzm-sign-label);
	font: 700 0.7rem/1.2 var(--rzm-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cgt-statgrid dd {
	color: var(--rzm-white);
	font: 800 1.2rem/1.15 var(--cgt-font);
}

/* ---------- Game page ---------- */

.cgt-breadcrumbs ol {
	color: var(--rzm-muted);
	font: 600 0.75rem/1.4 var(--rzm-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cgt-breadcrumbs li + li::before {
	content: "/";
	margin: 0 8px;
	color: var(--rzm-muted);
}

.cgt-breadcrumbs a {
	color: var(--rzm-sign);
	text-decoration: none;
}

.cgt-breadcrumbs a:hover {
	text-decoration: underline;
}

/* The title painted on the verge, the picture on a green sign beside it. */
.cgt-game__header {
	gap: 24px;
	padding: 0 0 20px;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background-image: var(--rzm-dashes);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 100% 4px;
}

.cgt-game__backdrop {
	display: none;
}

.cgt-game__thumb {
	flex: 0 0 220px;
	width: 220px;
	height: auto;
	aspect-ratio: 16 / 10;
	padding: 6px;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 10px;
	box-shadow: inset 0 0 0 6px var(--rzm-sign), inset 0 0 0 8.5px var(--rzm-paint);
}

.cgt-game__thumb img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	border-radius: 6px;
	background: var(--rzm-asphalt);
	clip-path: inset(2.5px round 5px);
}

.cgt-game__intro h1 {
	margin-bottom: 10px;
	font-size: clamp(3rem, 7vw, 5.75rem);
	line-height: 0.92;
}

/* The byline carries the parent's middle dots, so it is set in mono, where they keep their spacing. */
.cgt-game__byline {
	color: var(--rzm-muted);
	font: 600 0.86rem/1.5 var(--rzm-mono);
}

.cgt-game__byline a {
	color: var(--rzm-sign);
}

.cgt-lead {
	padding: 16px 20px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-left: 10px solid var(--rzm-line);
	border-radius: 8px;
	color: var(--rzm-ink);
	font-size: 1.1rem;
}

.cgt-eeat {
	padding: 14px 18px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-eeat__avatar {
	background: var(--rzm-asphalt);
	border: 2px solid var(--rzm-paint);
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--rzm-asphalt);
}

.cgt-eeat__author {
	color: var(--rzm-ink);
	font-weight: 800;
}

.cgt-eeat__author a {
	color: var(--rzm-sign);
}

.cgt-eeat__badge {
	padding: 5px 8px 4px;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 4px;
	color: var(--rzm-white);
	font: 700 0.7rem/1 var(--rzm-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cgt-eeat__meta {
	color: var(--rzm-muted);
	font-family: var(--rzm-mono);
	font-size: 0.78rem;
}

.cgt-eeat__bio {
	color: var(--rzm-muted);
}

/* The demo starts level with the key facts beside it. */
.cgt-game__main > .cgt-section:first-child {
	margin-top: 0;
}

.cgt-game__sidebar .cgt-section,
.cgt-post__sidebar .cgt-section {
	padding: 16px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-game__sidebar h2,
.cgt-post__sidebar h2,
.cgt-game__sidebar .cgt-section h2 {
	font-size: 1.75rem;
}

.cgt-verified {
	color: var(--rzm-sign);
}

/* Key facts as a row of green plates (the passport of the concept): label small in mono, the figure bold.
   razmetka.js gives the table explicit table roles, so the grid keeps its table semantics everywhere. */
#facts .cg-facts {
	display: block;
	width: 100%;
}

#facts .cg-facts tbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

#facts .cg-facts tr {
	display: grid;
	align-content: start;
	gap: 4px;
	min-width: 0;
	padding: 11px 12px 12px;
	background: var(--rzm-sign);
	border-radius: 6px;
	box-shadow: inset 0 0 0 4px var(--rzm-sign), inset 0 0 0 6px var(--rzm-paint);
}

#facts .cg-facts th,
#facts .cg-facts td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	text-align: left;
}

#facts .cg-facts th {
	color: var(--rzm-sign-label);
	font: 700 0.66rem/1.2 var(--rzm-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#facts .cg-facts td {
	color: var(--rzm-white);
	font: 800 1.02rem/1.2 var(--cgt-font);
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

#facts .cg-facts td a {
	color: var(--rzm-white);
}

#facts .cg-facts :focus-visible {
	outline-color: var(--rzm-paint);
}

.cg-facts__note {
	margin-top: 4px;
	color: var(--rzm-sign-text);
	font: 400 0.78rem/1.35 var(--cgt-font);
	opacity: 1;
}

/* 0.1.2 (audit CR-03): the "Money cap" plate, the amount bold and under it what is capped and whose figure it is,
   on a line of its own (the plugin's .cg-facts__note is a block). */
#facts .cg-facts tr.rzm-facts-cap td {
	overflow-wrap: normal;
}

#facts .cg-facts tr.rzm-facts-cap .cg-facts__note {
	display: block;
	font-weight: 600;
}

.cgt-dataset-link {
	color: var(--rzm-muted);
	font: 600 0.78rem/1.3 var(--rzm-mono);
}

.cgt-dataset-link:hover {
	color: var(--rzm-sign);
}

/* The demo plays on asphalt between two zebra crossings; the picture of the game shows through, the button
   sits on an asphalt panel with the chicken and the yellow route plate with the game's name (razmetka.js; 0.1.4,
   until then "DEMO <ID>"). */
#demo .cg-demo {
	overflow: hidden;
	background: var(--rzm-asphalt);
	border-radius: 8px;
}

.cg-demo__poster {
	background-color: var(--rzm-asphalt);
	border-radius: 0;
}

.cg-demo__poster::before {
	background:
		var(--rzm-zebra) left 0 top 16px / 100% 22px no-repeat,
		var(--rzm-zebra) left 0 bottom 16px / 100% 22px no-repeat,
		rgba(44, 47, 51, 0.38);
}

.cg-demo__panel {
	gap: 10px;
	padding: 16px 22px 16px;
	background: var(--rzm-asphalt);
	border: 2px solid var(--rzm-kerb);
	border-radius: 8px;
	color: var(--rzm-paint);
}

.cg-demo__panel::before {
	content: "";
	display: block;
	width: 72px;
	height: 72px;
	background: var(--rzm-hen) center / contain no-repeat;
}

.rzm-demo-plate {
	order: 0;
	max-width: 100%;
	line-height: 1.2;
	text-align: center;
	white-space: normal; /* 0.1.4: the plate carries the game's name, which may need two lines on a phone */
}

.cg-demo__play {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 22px 12px;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 5px;
	box-shadow: 0 0 0 3px var(--rzm-paint);
	color: var(--rzm-white);
	font: 800 1.05rem/1.1 var(--cgt-font);
	letter-spacing: 0.02em;
	cursor: pointer;
}

.cg-demo__play::before {
	content: "";
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid currentColor;
}

.cg-demo__play:hover {
	background: var(--rzm-sign-deep);
}

.cg-demo__play:focus-visible {
	outline: 3px solid var(--rzm-line);
	outline-offset: 6px;
}

/* 0.1.2 (audit CR-07): the skin's line about the studios' servers follows the plugin's note after a line break
   (functions.php, gettext of the plugin's note), so the break is kept. */
.cg-demo__note {
	color: var(--rzm-paint-dim);
	font-size: 0.84rem;
	white-space: pre-line;
}

.cg-demo__frame iframe {
	border-radius: 0;
}

.cg-demo__error {
	margin: 10px 14px;
	color: var(--rzm-paint);
}

.cgt-game__no-demo {
	background-color: var(--rzm-asphalt);
	border: 0;
	border-radius: 8px;
}

.cgt-game__no-demo-overlay {
	background:
		var(--rzm-zebra) left 0 top 16px / 100% 22px no-repeat,
		var(--rzm-zebra) left 0 bottom 16px / 100% 22px no-repeat,
		rgba(44, 47, 51, 0.82);
}

.cgt-game__no-demo-message {
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
	color: var(--rzm-ink);
}

/* Prose: a lane marker before each section title, route plates numbering steps, quotes on white plates. */
.cgt-prose {
	font-size: 1.06rem;
}

.cgt-prose h1 {
	font-size: clamp(2.5rem, 5.4vw, 4rem);
}

.cgt-prose h2 {
	margin-top: 1.5em;
	font-size: clamp(2rem, 3.4vw, 2.6rem);
}

.cgt-prose h2::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 10px;
	border-radius: 4px;
	background: linear-gradient(var(--rzm-paint), var(--rzm-paint)) center / 4px 12px no-repeat, var(--rzm-sign);
	vertical-align: 2px;
}

.cgt-prose h3 {
	margin-top: 1.4em;
}

.cgt-prose a {
	/* green: 5.6:1 on the verge, 5.1:1 on its second stripe, 6.5:1 on white (network rule: links at 4.5:1 or more) */
	color: var(--rzm-sign);
}

.cgt-prose a:hover {
	color: var(--rzm-sign-deep);
}

.cgt-prose ul li::marker {
	color: var(--rzm-sign);
}

.cgt-prose ol {
	display: grid;
	gap: 12px;
	padding-left: 0;
	list-style: none;
	counter-reset: rzm-step;
}

.cgt-prose ol > li {
	position: relative;
	min-height: 28px;
	padding-left: 46px;
	counter-increment: rzm-step;
}

.cgt-prose ol > li::before {
	content: counter(rzm-step);
	position: absolute;
	top: 0;
	left: 0;
	min-width: 30px;
	padding: 4px 5px 2px;
	background: var(--rzm-line);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 3px;
	color: var(--rzm-asphalt);
	font: 800 0.8rem/1 var(--cgt-font);
	text-align: center;
}

.cgt-prose blockquote,
.cgt-prose .wp-block-quote {
	margin: 1.3em 0;
	padding: 14px 18px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-left: 10px solid var(--rzm-sign);
	border-radius: 8px;
	color: var(--rzm-ink);
}

.cgt-prose blockquote p {
	margin: 0 0 6px;
	color: var(--rzm-ink);
	font: 700 1.08rem/1.45 var(--cgt-font);
}

.cgt-prose blockquote p:last-child {
	margin-bottom: 0;
}

.cgt-prose blockquote cite,
.cgt-prose blockquote footer {
	display: block;
	margin-top: 6px;
	color: var(--rzm-muted);
	font: normal 600 0.78rem/1.4 var(--rzm-mono);
}

.cgt-prose q {
	color: var(--rzm-sign-deep);
}

.cgt-prose hr {
	height: 4px;
	margin: 2em 0;
	background: var(--rzm-dashes);
	border: 0;
}

/* A review table scrolls sideways in its own box (functions.php wraps it), never the page; the box takes
   keyboard focus so the columns can be reached without a mouse. */
.rzm-table-scroll {
	max-width: 100%;
	margin: 1.2em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 8px;
	scrollbar-color: var(--rzm-kerb) transparent;
}

.rzm-table-scroll:focus-visible {
	outline: 3px solid var(--rzm-sign);
	outline-offset: 2px;
}

.rzm-table-scroll > table {
	margin: 0;
}

.cgt-prose table {
	width: 100%;
	overflow: hidden;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	font-variant-numeric: tabular-nums;
}

.cgt-prose th,
.cgt-prose td {
	padding: 9px 12px;
	border-bottom: 1.5px solid var(--rzm-rule);
	text-align: left;
	vertical-align: top;
}

.cgt-prose tr:last-child > th,
.cgt-prose tr:last-child > td {
	border-bottom: 0;
}

.cgt-prose th {
	background: var(--rzm-mist);
	color: var(--rzm-muted);
	font: 700 0.74rem/1.3 var(--rzm-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cgt-prose code {
	font-family: var(--rzm-mono);
	font-size: 0.88em;
}

.cgt-prose img {
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-faq__item {
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-faq__item summary {
	padding-right: 58px;
	color: var(--rzm-ink);
	font: 800 1.04rem/1.35 var(--cgt-font);
}

.cgt-faq__item summary::after {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font: 700 1rem/1 var(--rzm-mono);
}

.cgt-faq__item[open] summary::after {
	background: var(--rzm-line);
	color: var(--rzm-ink);
}

.cgt-faq__answer {
	color: var(--rzm-ink);
}

.cgt-screens img {
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-screens figcaption {
	color: var(--rzm-muted);
	font: 600 0.8rem/1.35 var(--rzm-mono);
}

/* Search block in the game sidebar (core block, grey button by default). */
.wp-block-search__label {
	color: var(--rzm-ink);
	font: 400 1.75rem/1 var(--rzm-display);
	text-transform: uppercase;
}

.wp-block-search__inside-wrapper {
	gap: 6px;
}

.wp-block-search .wp-block-search__input {
	min-width: 0;
	padding: 10px 12px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 5px;
	color: var(--rzm-ink);
	font: inherit;
}

.wp-block-search .wp-block-search__input:focus {
	outline: 3px solid var(--rzm-sign);
	outline-offset: 2px;
}

.wp-block-search .wp-block-search__button {
	margin-left: 0;
	padding: 10px 16px;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 5px;
	color: var(--rzm-white);
	font: 800 0.9rem/1.1 var(--cgt-font);
	cursor: pointer;
}

.wp-block-search .wp-block-search__button:hover {
	background: var(--rzm-sign-deep);
}

/* ---------- Filters (games archive) ---------- */

.cgt-filters {
	top: 96px;
	padding: 18px;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-filters__group label,
.cgt-filters__group legend {
	color: var(--rzm-muted);
	font: 700 0.72rem/1.3 var(--rzm-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cgt-filters__checks label {
	color: var(--rzm-ink);
	font: 400 0.95rem/1.3 var(--cgt-font);
	letter-spacing: 0;
	text-transform: none;
}

.cgt-filters input[type="search"],
.cgt-filters input[type="number"],
.cgt-filters select {
	padding: 9px 12px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 5px;
	color: var(--rzm-ink);
	font: 400 0.95rem/1.2 var(--cgt-font);
}

.cgt-filters input::placeholder {
	color: var(--rzm-muted);
	opacity: 1;
}

.cgt-filters input:focus,
.cgt-filters select:focus {
	border-color: var(--rzm-asphalt);
	outline: 3px solid var(--rzm-sign);
	outline-offset: 2px;
}

.cgt-filters input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--rzm-sign);
}

.cgt-filters__range span {
	color: var(--rzm-muted);
}

.cgt-result-count {
	color: var(--rzm-muted);
	font: 600 0.82rem/1.3 var(--rzm-mono);
}

/* ---------- Author ---------- */

.cgt-author-hero {
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-author-hero__avatar img {
	background: var(--rzm-asphalt);
	border: 3px solid var(--rzm-paint);
	box-shadow: 0 0 0 6px var(--rzm-asphalt);
}

.cgt-author-hero__eyebrow {
	margin: 0 0 6px;
	color: var(--rzm-sign);
	font: 700 0.78rem/1.2 var(--rzm-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cgt-author-hero__name {
	font-size: clamp(2.6rem, 5.4vw, 4rem);
}

.cgt-author-hero__excerpt {
	color: var(--rzm-muted);
}

/* Social icons (parent markup): square plates outlined in asphalt, yellow on hover. */
.cgt-author-hero__socials {
	gap: 8px;
}

.cgt-social-icon {
	width: 42px;
	height: 42px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font: 700 0.68rem/1 var(--rzm-mono);
	transition: background-color 0.15s ease;
}

.cgt-social-icon:hover,
.cgt-social-icon:focus-visible {
	background: var(--rzm-line);
	border-color: var(--rzm-asphalt);
	color: var(--rzm-ink);
}

/* Latest pages: green signs, as the game cards. */
.cgt-pubcard {
	position: relative;
	padding: 6px;
	background: var(--rzm-sign);
	border: 0;
	border-radius: 10px;
	color: var(--rzm-white);
}

.cgt-pubcard::before {
	content: "";
	position: absolute;
	inset: 6px;
	z-index: 2;
	border: 2.5px solid var(--rzm-paint);
	border-radius: 7px;
	pointer-events: none;
}

.cgt-pubcard:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: 0 7px 0 -2px var(--rzm-asphalt);
}

.cgt-pubcard :focus-visible {
	outline-color: var(--rzm-paint);
}

.cgt-pubcard__thumb {
	background: var(--rzm-asphalt);
	border-bottom: 2.5px solid var(--rzm-paint);
	border-radius: 7px 7px 0 0;
	overflow: hidden;
}

.cgt-pubcard__thumb img {
	background: var(--rzm-asphalt);
}

.cgt-pubcard__placeholder {
	color: var(--rzm-paint);
	font-family: var(--rzm-display);
}

.cgt-pubcard__type {
	color: var(--rzm-sign-label);
	font: 700 0.72rem/1.2 var(--rzm-mono);
	letter-spacing: 0.08em;
}

.cgt-pubcard__title {
	font: 800 1.1rem/1.2 var(--cgt-font);
}

.cgt-pubcard__title a {
	color: var(--rzm-white);
}

.cgt-pubcard__title a:hover {
	color: var(--rzm-white);
}

.cgt-pubcard__excerpt {
	color: var(--rzm-sign-text);
}

.cgt-pubcard__date {
	color: var(--rzm-sign-label);
	font: 600 0.76rem/1.3 var(--rzm-mono);
	opacity: 1;
}

/* ---------- Blog cards and posts (parent markup) ---------- */

.cgt-post-card__title a,
.cgt-post-nav__link {
	color: var(--rzm-ink);
}

.cgt-post-card__title,
.cgt-post-nav__title {
	font-family: var(--cgt-font);
	font-weight: 800;
}

.cgt-post-card__cat {
	color: var(--rzm-sign);
	font-family: var(--rzm-mono);
}

.cgt-post-card__date,
.cgt-post-nav__label {
	color: var(--rzm-muted);
	font-family: var(--rzm-mono);
}

.cgt-post-nav__link {
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-radius: 8px;
}

.cgt-post-nav__link:hover {
	border-color: var(--rzm-asphalt);
	background: var(--rzm-line-soft);
}

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

.cgt-compare-table {
	overflow: hidden;
	background: var(--rzm-white);
	border: 3px solid var(--rzm-asphalt);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	font-variant-numeric: tabular-nums;
}

.cgt-compare-table th,
.cgt-compare-table td {
	border-bottom: 1.5px solid var(--rzm-rule);
}

.cgt-compare-table td {
	font: 600 0.86rem/1.4 var(--rzm-mono);
}

.cgt-compare-table tbody th {
	color: var(--rzm-muted);
	font: 700 0.74rem/1.3 var(--rzm-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cgt-compare-head__title {
	color: var(--rzm-ink);
	font-family: var(--cgt-font);
	font-weight: 800;
}

.cgt-compare-head__logo img {
	border: 2px solid var(--rzm-asphalt);
	border-radius: 6px;
}

.cgt-compare-tray {
	background: var(--rzm-asphalt);
	border: 2px solid var(--rzm-kerb);
	border-radius: 6px;
	box-shadow: 0 7px 0 -2px rgba(0, 0, 0, 0.35);
	color: var(--rzm-white);
}

.cgt-compare-tray__go {
	color: var(--rzm-line);
}

.cgt-compare-tray__clear {
	color: var(--rzm-paint-dim);
}

.cgt-compare-tray :focus-visible {
	outline-color: var(--rzm-line);
}

/* ---------- Forms (Contact Form 7): plates outlined in asphalt, a green send button ---------- */

.wpcf7 label {
	color: var(--rzm-muted);
}

.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-email,
.wpcf7 .wpcf7-textarea,
.wpcf7 .wpcf7-select,
.wpcf7 .wpcf7-number,
.wpcf7 .wpcf7-date {
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 5px;
	color: var(--rzm-ink);
}

.wpcf7 .wpcf7-form-control::placeholder {
	color: var(--rzm-muted);
	opacity: 1;
}

.wpcf7 .wpcf7-form-control:focus {
	border-color: var(--rzm-asphalt);
	box-shadow: none;
	outline: 3px solid var(--rzm-sign);
	outline-offset: 2px;
}

.wpcf7 .wpcf7-submit {
	background: var(--rzm-sign);
	border-radius: 5px;
	color: var(--rzm-white);
	font: 800 0.95rem/1.1 var(--cgt-font);
}

.wpcf7 .wpcf7-submit:hover {
	background: var(--rzm-sign-deep);
	filter: none;
}

.wpcf7 .wpcf7-not-valid-tip {
	color: var(--rzm-comb-text);
	font-weight: 700;
}

.wpcf7 .wpcf7-form-control.wpcf7-not-valid {
	border-color: var(--rzm-comb-text);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--rzm-comb-text) !important;
	background: var(--rzm-white);
	color: var(--rzm-comb-text);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--rzm-sign) !important;
	background: var(--rzm-white);
	color: var(--rzm-sign);
}

/* ---------- Footer: asphalt past a zebra crossing, a yellow centre line ---------- */

.cgt-footer {
	position: relative;
	margin-top: 80px;
	padding-top: 34px;
	background: var(--rzm-zebra) left 0 top 12px / 100% 12px no-repeat, var(--rzm-asphalt);
	border-top: 8px solid var(--rzm-kerb);
	color: var(--rzm-white);
}

.cgt-footer__inner {
	position: relative;
	padding-top: 26px;
	padding-bottom: 34px;
}

/* The double yellow centre line under the zebra. */
.cgt-footer__inner::before {
	content: "";
	position: absolute;
	top: 0;
	right: 20px;
	left: 20px;
	height: 10px;
	border-top: 3px solid var(--rzm-line);
	border-bottom: 3px solid var(--rzm-line);
}

.cgt-footer__menus {
	padding-bottom: 22px;
	border-bottom: 2px dashed rgba(255, 255, 255, 0.25);
}

.cgt-footer__menu-title {
	color: var(--rzm-line);
	font: 400 1.6rem/1 var(--rzm-display);
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.cgt-footer__nav a {
	color: var(--rzm-white);
	font-size: 0.98rem;
	text-decoration: none;
}

.cgt-footer__nav a:hover {
	color: var(--rzm-line);
	text-decoration: underline;
}

.cgt-footer__note {
	max-width: 76ch;
	margin-top: 18px;
	color: var(--rzm-paint-dim);
	font-size: 0.92rem;
}

.cgt-footer__note a {
	color: var(--rzm-line);
}

.cgt-footer__copy {
	color: var(--rzm-paint-dim);
	font: 600 0.78rem/1.4 var(--rzm-mono);
	letter-spacing: 0.03em;
	opacity: 1;
}

.cgt-footer :focus-visible {
	outline-color: var(--rzm-line);
}

/* ---------- Pagination, misc ---------- */

.nav-links .page-numbers {
	min-width: 44px;
	padding: 9px 13px 8px;
	background: var(--rzm-white);
	border: 2px solid var(--rzm-asphalt);
	border-radius: 4px;
	color: var(--rzm-ink);
	font: 700 0.9rem/1.2 var(--rzm-mono);
	text-align: center;
}

.nav-links a.page-numbers:hover {
	background: var(--rzm-line);
	color: var(--rzm-ink);
}

.nav-links .page-numbers.current {
	background: var(--rzm-asphalt);
	border-color: var(--rzm-asphalt);
	color: var(--rzm-white);
}

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

.cgt-empty,
.cgt-notice {
	background: var(--rzm-white);
	border: 3px dashed var(--rzm-asphalt);
	border-radius: 8px;
	color: var(--rzm-ink);
}

.cgt-lightbox__close,
.cgt-lightbox__nav {
	border: 2px solid var(--rzm-white);
}

/* ---------- Small screens ---------- */

@media (max-width: 1024px) {
	.cgt-filters {
		top: auto;
	}
}

@media (max-width: 860px) {
	.rzm-hero__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.cgt-header__inner {
		min-height: 58px;
	}

	.rzm-age {
		order: 1;
	}

	.cgt-header__toggle {
		order: 2;
		margin-left: auto;
	}

	.rzm-age + .cgt-header__toggle {
		margin-left: 0;
	}

	/* The drawer opens under the zebra edge. */
	.cgt-header__nav {
		top: 100%;
		margin-left: 0;
		padding: 12px 16px 16px;
		background: var(--rzm-asphalt);
		border-top: 2px solid var(--rzm-asphalt-2);
		border-bottom: 4px solid var(--rzm-kerb);
	}

	.cgt-nav {
		gap: 6px;
	}

	.cgt-nav a {
		padding: 13px 14px;
	}

	.cgt-filters-toggle {
		background: var(--rzm-white);
		border: 2px solid var(--rzm-asphalt);
		border-radius: 5px;
		color: var(--rzm-ink);
		font-weight: 800;
	}

	.cgt-game__header {
		gap: 14px;
		padding: 0 0 16px;
	}

	.cgt-game__thumb {
		flex-basis: 112px;
		width: 112px;
		aspect-ratio: 1;
		padding: 5px;
		box-shadow: inset 0 0 0 5px var(--rzm-sign), inset 0 0 0 7px var(--rzm-paint);
	}

	.cgt-game__intro h1 {
		font-size: clamp(2.3rem, 10vw, 3.2rem);
	}

	.rzm-odds {
		padding: 18px 16px;
	}

	.cgt-grid {
		gap: 12px;
	}
}

@media (max-width: 700px) {
	.rzm-lanes__hint {
		display: block;
	}
}

@media (max-width: 600px) {
	/* the parent's smaller lead on phones, which the size above would otherwise override */
	.cgt-lead {
		font-size: 1.02rem;
		border-left-width: 8px;
	}

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

	.rzm-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.rzm-tile {
		padding: 14px 8px 12px;
	}

	.rzm-tile__shield {
		width: 46px;
		height: 46px;
		font-size: 1.7rem;
	}

	.rzm-lanes__say {
		font-size: 1rem;
	}

	.rzm-lanes__head .rzm-levels__label {
		flex-basis: 100%;
	}

	.rzm-road__id {
		text-align: left;
	}
}

/* The narrowest phones: the key facts go one to a row, so a long multiplier (2,542,251.93x) stays whole. (The bar
   of the mini ladder now goes by the width of its own box, @container rzm-lanes above, 0.1.2.) */
@media (max-width: 380px) {
	#facts .cg-facts tbody {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Phones: a narrower road, as in the concept's phone (five or six lanes in view). */
@media (max-width: 560px) {
	.rzm-road {
		--rzm-lw: 76px;
		--rzm-start-w: 80px;
		--rzm-hen-size: 52px;
	}

	.rzm-road__view {
		height: 220px;
	}

	.rzm-lane__mult {
		top: 14px;
		font-size: 1.5rem;
	}

	.rzm-lane--long .rzm-lane__mult {
		font-size: 1.12rem;
	}

	.rzm-lane--start .rzm-lane__paint,
	.rzm-lane--end .rzm-lane__paint {
		font-size: 1.3rem;
	}

	.rzm-lane--end {
		width: 120px;
	}

	.rzm-lane__reach {
		right: 4px;
		bottom: 12px;
		left: 4px;
		font-size: 0.66rem;
	}

	.rzm-lane--passed::after {
		top: 50px;
	}

	.rzm-hen {
		bottom: 52px;
	}

	.rzm-bubble {
		bottom: 112px;
	}

	.rzm-car {
		width: 30px;
		margin-left: -15px;
	}

	.cg-demo__panel {
		gap: 8px;
		padding: 12px 14px;
	}

	.cg-demo__panel::before {
		width: 52px;
		height: 52px;
	}
}

/* Narrow phones: the plate of the brand goes (as on the concept's phone) but stays in the link's name. */
@media (max-width: 480px) {
	.rzm-brand__name {
		font-size: 1.6rem;
	}

	.rzm-mark {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
	}

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

	.rzm-hero {
		padding-top: 22px;
	}

	.rzm-search .cgt-button {
		padding: 12px 16px;
	}

	.rzm-levels__pill {
		padding: 7px 9px 6px;
	}
}

/* Phones: the game header keeps the picture beside the title, so its badges get smaller and stay whole. */
@media (max-width: 420px) {
	.cgt-game__thumb {
		flex-basis: 92px;
		width: 92px;
	}

	.cgt-game__badges .cgt-badge {
		padding: 4px 7px 3px;
		font-size: 0.72rem;
		white-space: nowrap;
	}
}

/* The narrowest phones: the name and the Menu plate need the whole bar. */
@media (max-width: 374px) {
	.rzm-age {
		display: none;
	}

	.cgt-header__toggle,
	.rzm-age + .cgt-header__toggle {
		margin-left: auto;
	}
}

@media (max-width: 360px) {
	.rzm-brand {
		gap: 7px;
	}

	.rzm-brand__name {
		font-size: 1.45rem;
	}

	.rzm-search input {
		padding: 10px 8px;
		font-size: 0.95rem;
	}

	.rzm-search .cgt-button {
		padding: 12px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cgt-card:hover,
	.cgt-card:focus-within,
	.rzm-tile:hover,
	.cgt-entity-card:hover,
	.cgt-pubcard:hover {
		transform: none;
	}

	.rzm-road.is-live .rzm-road__strip,
	.rzm-road.is-live .rzm-hen {
		transition: none;
	}

	.rzm-hen--hop svg,
	.rzm-road.is-moving .rzm-car {
		animation: none;
	}
}

/* ---------- Engine fixes carried over from Galton 0.1.4 (Lotsia 0.1.2, Pantheon 0.1.4, PAR 0.1.2) ---------- */

/* Narrow phones (320 px): the one-column game layout of the parent (1fr) let the demo block push the page
   wider than the screen. minmax(0, 1fr) holds the column to the screen, over the whole one-column range of
   the parent (up to 1024 px). */
@media (max-width: 1024px) {
	.cgt-game__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cgt-game__layout > *,
	.wp-block-search__input {
		min-width: 0;
	}
}

/* The line under Play Demo when the demo window does not open (assets/js/skin-fixes.js). On the asphalt
   panel: the faded paint for the wait, the hit-lane pink for the failure (7.1:1 and more on asphalt). */
.rzm-demo-fail {
	margin-top: 0.5em;
	color: var(--rzm-hit-text);
	font-weight: 700;
}

/* The line while a press waits for the widget, and the button meanwhile (skin-fixes.js, part 4). */
.rzm-demo-wait {
	margin-top: 0.5em;
	color: var(--rzm-paint);
	font-weight: 600;
}

.cg-demo__play[aria-busy="true"] {
	cursor: progress;
}

/* The hint above a Compare table wider than the screen (skin-fixes.js, part 5). */
.rzm-compare-hint {
	margin: 0 0 8px;
	color: var(--rzm-muted);
	font: 600 0.75rem/1.4 var(--rzm-mono);
	letter-spacing: 0.04em;
}
