/* =========================================================================
   royale-casino-az.net — «Şəfəq & Mahud» design layer  (LIGHT)
   =========================================================================

   Forked from the 65th build's stylesheet — the network's single-layer LIGHT
   sheet, where every hex lives in the :root block below and nowhere else. So
   this re-skin is arithmetic, not a search, and every selector still appears
   exactly once.

   Reading order:
     0. Tokens                     — the palette, mapped once from theme.json
     1. Base canvas + typography   — prose rhythm, figures, links
     2. The signature: DEFİS-BƏNDİ — the plate device, defined once and reused
     3. Chrome                     — header, trust bar, footer, sticky, modals
     4. Sections                   — hero, TOC, steps, offer, tables, FAQ …
     5. State matrix               — hover / focus / active / disabled
     6. Accessibility + responsive — tap targets, 360/768/1024/1440, motion

   WHY THIS PALETTE. Col AF asked for «Burgundy & Cream · Bebas Neue / Roboto /
   Roboto Mono». That trio already ships TOGETHER on three network sites
   (royale-casino, royale-logins, royale365) and two of its three faces are on
   the recorded Azerbaijani fail list — Bebas Neue has no ə at all and Roboto
   Mono has no capital Ə. The palette is no better: «Burgundy & Cream» is the
   whole identity of royale-casino1.org and royale-win.net, and royale-casino1
   is a NAME twin of this row. Anti-footprint outranks the column.

   So the lanes were read instead. Over 80 theme palettes, the widest empty arc
   in the DEEP-ACCENT register (s>=35, l20-55 — what a light site paints buttons
   with) is h109→h144: 35 degrees wide, 18 of clearance at its midpoint. No
   light-ground site in the network has an accent within 33 degrees of it. That
   midpoint is a card-table BAIZE green, which is also what this brand's own
   subject is made of. The field takes the pale-rose lane (h341, the widest pale
   gap) so the ground and the accent are near-complementary and the green is the
   ONLY chromatic voice above the paper. Nearest neighbour by the (field, accent)
   PAIR measure: 52.0 — the largest recorded clearance on this network.

   THE INK TAKES THE PAPER'S CAST, NOT THE ACCENT'S. The donor tied its ink to
   its accent; here that would put a second green on the page. Ink, ash and the
   hairlines are all rose-black, so the baize green never has to compete.

   CONTRAST CONTRACT (measured, not assumed — every pair below is >= 4.5:1):
     on --kagiz / --kagiz-deep / --panel / --panel-raised / --mahud-tint /
     --kart-tint : ink, prose, muted, dim, mahud, mahud-deep, kul, kart, figure
     on --mahud fill      : vellum, kagiz, panel  (6.5:1+)
     on --mahud-deep fill : vellum, kagiz, panel  (9:1+)
     on --kul fill        : vellum, kagiz, panel  (8:1+)
     on --kart fill       : vellum, kagiz, panel  (7:1+)
   --edge, --edge-lit, --mahud-line, --kul-line are DECOR borders and never carry
   text nor state. --edge-strong is the only border that meets 3:1 on the paper,
   so it is the one every CONTROL outline uses.
   ========================================================================= */

/* ---- 0. Tokens ---------------------------------------------------------- */
:root {
	--kagiz: #f6eef1;
	--kagiz-deep: #eee2e7;
	--panel: #fdf9fa;
	--panel-raised: #ffffff;
	--edge: #e6d9de;
	--edge-lit: #cdb9c1;
	--edge-strong: #8a7079;
	--ink: #221a1e;
	--prose: #40353a;
	--muted: #574a50;
	--dim: #695b62;
	--mahud: #1e6c25;
	--mahud-line: #8dbb91;
	--mahud-deep: #154d1a;
	--mahud-tint: #e3f0e4;
	--vellum: #f6faf6;
	--figure: #2f2a2d;
	--kul: #4a3d43;
	--kul-line: #8d7d84;
	--kart: #9e2436;
	--kart-tint: #f8e6e9;

	--panel-grad: linear-gradient(178deg, #ffffff 0%, #fbf6f8 100%);
	--panel-raised-grad: linear-gradient(178deg, #ffffff 0%, #fdfafb 100%);
	/* The LIT stop was #26862f, which measures 4.39:1 against --vellum — under AA for the
	   16px bold label every money button on this site carries (the gradient's other two
	   stops are 6.17:1 and 9.45:1, so only the top of the ramp ever failed). Darkened to
	   #25832e: the SAME hue (125.6) and the same saturation (55.8), lightness 33.7 -> 33.0,
	   which is the smallest step that clears 4.5 (4.56:1). The baize green is unchanged to
	   the eye and unchanged as an identity claim. */
	--mahud-grad: linear-gradient(158deg, #25832e 0%, #1e6c25 52%, #154d1a 100%);
	--mahud-deep-grad: linear-gradient(150deg, #1a5c20 0%, #103d15 100%);

	/* The radius ramp is CARD STOCK: 2px on plates and 2px on controls. The donor
	   ran a soft editorial 6/4 and the three siblings around this row run 0, 3/2
	   and 14/999, so a near-square corner with a hairline is the one unclaimed
	   setting — and it is the corner a printed playing card actually has. */
	--r-plate: 2px;
	--r-ctl: 2px;

	/* DEFİS-BƏNDİ geometry. PRIMITIVES ONLY — every derived length is computed at
	   the point of use inside the component, never here: a custom property that
	   holds calc(var(--a) * var(--b)) is substituted where it is DECLARED, so it
	   freezes the root's numbers onto every element that re-declares them
	   (the 77th build shipped that bug and it cost a whole probe clause). */
	--defis-rule: 2px;   /* the hairline the two runs are drawn with           */
	--defis-band: 8px;   /* the band the whole device lives in, inside the box */
	--defis-gap: 34px;   /* the break in the rule                              */
	--defis-bar: 46px;   /* the bar welded across it — WIDER than the gap      */

	--tap: 44px;
	--ease: cubic-bezier(.2, .6, .3, 1);
}

/* ---- 1. Base canvas + typography --------------------------------------- */
html {
	scroll-behavior: smooth;
	/* Every in-page target on a one-pager sits under a 62px sticky header. */
	scroll-padding-top: 78px;
}

body {
	background: var(--kagiz);
	color: var(--prose);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* Domine's default figures ARE lining (verified on the render sheet, not
	   assumed — four faces in this network shipped old-style ones), so this
	   line is a guard rather than a repair: it keeps «550 AZN» and «2026» at
	   cap height if the face is ever substituted. */
	font-variant-numeric: lining-nums;
}

/* A quiet wash so the paper is not a flat rectangle. Two very low alpha radials
   — no image, no request; one sits on the field hue and one on the accent, both
   far below the threshold at which a measured contrast ratio could move. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(70rem 40rem at 78% -8%, rgba(30, 108, 37, .055), transparent 62%),
		radial-gradient(58rem 34rem at 8% 108%, rgba(74, 61, 67, .045), transparent 60%);
}

/* The template gives <main> an ID, not a class, so the class rule this replaces had
   never matched anything on any page. */
#rca-main {
	display: block;
	min-height: 40vh;
}

/* Prose rhythm. Nothing below 15px anywhere on the site. */
p {
	margin: 0 0 1.05em;
	max-width: 74ch;
}

p:last-child {
	margin-bottom: 0;
}

/* The mono face carries FIGURES ONLY — never an uppercase Azerbaijani label.
   That is a structural rule, not a preference: the mono slot is where ə/Ə is
   most often missing or drawn as the wrong outline, and digits contain no
   schwa, so the risk disappears instead of needing an audit each build. */
.rca-num,
.rca-fact__val,
.rca-offer__amount,
.rca-meter__val,
.rca-toc__num,
.rca-steps__num {
	font-family: "Geist Mono", ui-monospace, Consolas, "Courier New", monospace;
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -.01em;
	/* THE THOUSANDS SEPARATOR. «50&nbsp;000» is correct Azerbaijani typography, but the
	   separator lands inside a MONOSPACED run, where a space is a full advance cell — the
	   same cell a digit gets. Next to proportional body text it reads as a gap twice the
	   width of the one the writer intended, so «50 000 AZN» looks like two numbers. The
	   71st build hit the same class of defect with U+202F and fixed the character; the
	   character is not the problem, the CELL is, so it is fixed here for every separator at
	   once. Only the gap narrows — the digits keep their tabular advance. */
	word-spacing: -.24em;
	color: var(--figure);
}

/* Section rhythm on a long single document: generous, and identical for every
   anchor target so the scroll never feels uneven. */
.rca-sec {
	padding-block: clamp(46px, 6vw, 84px);
	scroll-margin-top: 78px;
}

.rca-sec + .rca-sec {
	border-top: 1px solid rgba(230, 217, 222, .9);
}

/* Eyebrow: small caps label above a heading. Display face, never the mono. */
.rca-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	font-family: "Varta", system-ui, sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

.rca-eyebrow::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 1px;
	margin-left: 10px;
	vertical-align: .32em;
	background: var(--edge-lit);
}

/* The citable opening passage: definition -> offer -> CTA, in one paragraph an
   answer engine can lift whole. Slightly larger and lighter than body prose. */
.rca-lede {
	font-size: clamp(18px, 2.1vw, 21px);
	line-height: 1.62;
	color: var(--ink);
	max-width: 68ch;
}

/* ---- 2. THE SIGNATURE: DEFİS-BƏNDİ ------------------------------------- */
/*
   This domain is the HYPHENATED duplicate of its own sibling: one keystroke —
   «-» — is the whole difference between royale-casino-az.net and the row above
   it. So the device is that keystroke doing its second job: a hyphen does not
   only separate, it JOINS two things into one word.

   Every plate carries a hairline along its top edge that BREAKS in the middle,
   and a short, heavy mahud bar welded across the break, lapping both runs. The
   rule is what the name was split by; the bar is what holds it together.

   Why it cannot collide with the network's other edge devices: the 71st
   INTERRUPTS a border and leaves the gap open, the 77th removes one tick from a
   row and leaves the slot empty, the 73rd notches the corner. This one is the
   only device that puts something BACK — the gap is drawn so that the bar has
   something to span, and the bar is deliberately WIDER than the gap so the two
   overlap. Two measurable facts follow, and probe_rca.js checks both:
   `bar > gap` (there is a real lap on each side) and the bar is centred.

   The whole device lives INSIDE the box, in a band --defis-band deep, so it can
   never add to the element's box nor be clipped by a grid gap.
*/
.rca-plate {
	position: relative;
	background: var(--panel-grad);
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
	padding: 30px 24px 28px;
}

/* the broken rule: two runs, sized off the gap, drawn as one background */
.rca-plate::before {
	content: "";
	position: absolute;
	top: calc((var(--defis-band) - var(--defis-rule)) / 2);
	left: 0;
	right: 0;
	height: var(--defis-rule);
	background-image:
		linear-gradient(var(--mahud-line), var(--mahud-line)),
		linear-gradient(var(--mahud-line), var(--mahud-line));
	background-size:
		calc(50% - var(--defis-gap) / 2) 100%,
		calc(50% - var(--defis-gap) / 2) 100%;
	background-position: left center, right center;
	background-repeat: no-repeat;
	pointer-events: none;
}

/* the hyphen itself: wider than the gap, so it laps both runs */
.rca-plate::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: var(--defis-bar);
	height: var(--defis-band);
	background: var(--mahud-grad);
	border-radius: 0 0 var(--r-plate) var(--r-plate);
	pointer-events: none;
}

.rca-plate--raised {
	background: var(--panel-raised-grad);
	border-color: var(--edge-lit);
	box-shadow: 0 10px 26px rgba(34, 26, 30, .07);
}

/* A quiet variant for secondary panels: the bar drops to the pale accent and
   the runs to the neutral edge, so the device reads as one family at two
   volumes without changing its geometry. */
.rca-plate--quiet::before {
	background-image:
		linear-gradient(var(--edge-lit), var(--edge-lit)),
		linear-gradient(var(--edge-lit), var(--edge-lit));
}

.rca-plate--quiet::after {
	background: var(--mahud-line);
}

/* The same drawing as a standalone section divider. */
.rca-rule {
	position: relative;
	height: var(--defis-band);
	margin: 6px 0 22px;
	max-width: 168px;
}

.rca-rule::before {
	content: "";
	position: absolute;
	top: calc((var(--defis-band) - var(--defis-rule)) / 2);
	left: 0;
	right: 0;
	height: var(--defis-rule);
	background-image:
		linear-gradient(var(--mahud-line), var(--mahud-line)),
		linear-gradient(var(--mahud-line), var(--mahud-line));
	background-size:
		calc(50% - var(--defis-gap) / 2) 100%,
		calc(50% - var(--defis-gap) / 2) 100%;
	background-position: left center, right center;
	background-repeat: no-repeat;
}

.rca-rule::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: var(--defis-bar);
	height: var(--defis-band);
	background: var(--mahud-grad);
	border-radius: var(--r-plate);
}

/* ---- 3. Chrome ---------------------------------------------------------- */
/* 3a. Skip link */
.rca-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--ink);
	color: var(--vellum);
	font-weight: 700;
	border-radius: var(--r-ctl);
}

.rca-skip-link:focus,
.rca-skip-link:focus-visible {
	left: 12px;
	top: 12px;
	outline: 3px solid var(--mahud);
	outline-offset: 2px;
}

/* 3b. Header */
.rca-head {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(246, 238, 241, .93);
	backdrop-filter: blur(9px);
	border-bottom: 1px solid var(--edge);
}

.rca-head__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 11px 20px;
	min-height: 62px;
}

.rca-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	flex: 0 0 auto;
}

.rca-brand:hover,
.rca-brand:focus-visible {
	text-decoration: none;
}

.rca-mark {
	display: block;
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
}

.rca-wordmark {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.rca-wordmark__name {
	font-family: "Domine", Georgia, "Times New Roman", serif;
	font-size: 21px;
	letter-spacing: -.012em;
	color: var(--ink);
}

.rca-wordmark__sub {
	margin-top: 3px;
	font-family: "Geist Mono", ui-monospace, monospace;
	font-size: 10px;
	letter-spacing: .26em;
	color: var(--muted);
}

.rca-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	flex-wrap: wrap;
}

.rca-nav a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	padding: 8px 11px;
	font-size: 15px;
	color: var(--prose);
	text-decoration: none;
	border-radius: var(--r-ctl);
	border: 1px solid transparent;
}

.rca-nav a:hover {
	color: var(--ink);
	border-color: var(--edge);
	background: rgba(255, 255, 255, .78);
}

.rca-head__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--tap);
	padding: 10px 20px;
	background: var(--mahud-grad);
	color: var(--vellum);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .02em;
	text-decoration: none;
	border-radius: var(--r-ctl);
	border: 1px solid var(--mahud);
	flex: 0 0 auto;
}

.rca-head__cta:hover {
	color: var(--vellum);
	background: var(--ink);
	text-decoration: none;
}

/* 3c. Trust bar — licence № / 18+ / RG. Figures in mono, labels in the sans. */
.rca-trust {
	border-bottom: 1px solid var(--edge);
	background: rgba(253, 249, 250, .74);
}

.rca-trust__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 9px 20px;
	font-size: 13px;
	color: var(--muted);
}

.rca-trust__seg {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.rca-trust__seg::before {
	content: "";
	width: 5px;
	height: 5px;
	background: var(--mahud-line);
	transform: rotate(45deg);
	flex: 0 0 auto;
}

.rca-trust__seg--age {
	color: var(--kart);
}

.rca-trust__seg--age::before {
	background: var(--kart);
}

/* 3d. Footer */
.rca-foot {
	margin-top: 0;
	background: var(--kagiz-deep);
	border-top: 1px solid var(--edge);
	padding: 46px 20px 34px;
	font-size: 15px;
	color: var(--muted);
}

.rca-foot__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.rca-foot h2,
.rca-foot h3 {
	font-size: 14px;
	font-family: "Varta", system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 12px;
}

.rca-foot a {
	color: var(--prose);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rca-foot a:hover {
	color: var(--ink);
}

.rca-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rca-foot li + li {
	margin-top: 9px;
}

.rca-foot__legal {
	max-width: 1140px;
	margin: 30px auto 0;
	padding-top: 20px;
	border-top: 1px solid var(--edge);
	font-size: 12.5px;
	line-height: 1.72;
	color: var(--dim);
}

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

.rca-pay li {
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--edge);
	border-radius: var(--r-ctl);
	background: rgba(253, 249, 250, .86);
	font-size: 13px;
	color: var(--prose);
	letter-spacing: .02em;
}

.rca-updated {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--dim);
}

.rca-updated time {
	font-family: "Geist Mono", ui-monospace, monospace;
	color: var(--muted);
}

/* 3e. Sticky mobile CTA.
   The anchor carries its OWN class. On two earlier builds chrome.php emitted a
   bare <a> inside the sticky wrapper, so every rule that painted it was a
   descendant selector — and a probe measuring `.<prefix>-sticky__link` reported
   a clean PASS on an element that did not exist. Both the markup and the gate
   name this class now. */
.rca-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	display: none;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(246, 238, 241, .96);
	border-top: 1px solid var(--edge);
	backdrop-filter: blur(8px);
}

.rca-sticky__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: var(--tap);
	padding: 13px 18px;
	background: var(--mahud-grad);
	color: var(--vellum);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .02em;
	text-decoration: none;
	border: 1px solid var(--mahud);
	border-radius: var(--r-ctl);
}

.rca-sticky__link:hover,
.rca-sticky__link:active {
	color: var(--vellum);
	background: var(--ink);
	text-decoration: none;
}

.rca-sticky__note {
	display: block;
	margin-top: 6px;
	text-align: center;
	font-size: 11.5px;
	color: var(--dim);
}

/* 3f. Age gate + cookie banner

   THE AGE GATE IS NOT STYLED HERE, AND THAT IS DELIBERATE. inc/chrome.php prints the
   modal AND its own inline <style>, and the class it emits is `.rca-agegate__card`.
   This block used to carry a second, never-matching `.rca-gate__box` ruleset inherited
   from the donor — the exact shape of the bug recorded on the 76th build, where the
   ancestor's device kept drawing on screen because the sheet styled `.cra-gate__box`
   while the page rendered `.cra-agegate__card`. Two stylings of one component is how a
   fork keeps repairing the copy nobody sees, so the dead one is gone rather than
   repaired: it also carried the last two uses of `--sig-weight` and `--sig-inset`, two
   donor tokens this build never declares, so every declaration that named them was
   invalid at computed-value time and silently dropped.

   If the gate ever needs a design change, it is inc/chrome.php that changes.
   The cookie banner below IS styled in both places: chrome.php's inline copy is what
   ships (it loads later and wins at equal specificity), and this rule is the no-JS
   floor. */

.rca-cookie {
	position: fixed;
	left: 14px;
	right: 14px;
	bottom: 14px;
	z-index: 150;
	max-width: 640px;
	margin: 0 auto;
	padding: 18px 20px;
	background: var(--panel-raised-grad);
	border: 1px solid var(--edge-lit);
	border-radius: var(--r-plate);
	box-shadow: 0 16px 44px rgba(34, 26, 30, .10);
	font-size: 14px;
	color: var(--prose);
}

.rca-cookie__row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 14px;
}

/* ---- 4. Sections -------------------------------------------------------- */
/* 4a. Hero */
.rca-hero {
	padding-block: clamp(38px, 6vw, 74px) clamp(30px, 4.4vw, 54px);
}

.rca-hero h1 {
	margin: 0 0 16px;
	/* 18ch broke «Royale Casino Kazino AZ» so that «AZ» sat alone on line two at 1440 —
	   a two-word line with one word on it is a widow, and on the one heading the whole
	   EMD exists for. 22ch holds it as two balanced lines at every width above 900px. */
	max-width: 22ch;
	text-wrap: balance;
}

.rca-hero__lede {
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.6;
	color: var(--ink);
	max-width: 60ch;
	margin: 0 0 24px;
}

.rca-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 26px;
}

.rca-hero__facts {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	background: var(--edge);
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
	overflow: hidden;
}

.rca-fact {
	background: var(--panel);
	padding: 16px 18px;
}

.rca-fact__val {
	display: block;
	font-size: clamp(20px, 2.6vw, 26px);
	line-height: 1.14;
	margin-bottom: 5px;
}

.rca-fact__key {
	display: block;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.45;
}

/* 4b. Numbered table of contents — the spine of a one-pager. */
.rca-toc {
	margin: 0;
}

.rca-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
	counter-reset: rcztoc;
}

.rca-toc__list li {
	margin: 0;
}

.rca-toc__list a {
	display: flex;
	align-items: baseline;
	gap: 12px;
	min-height: var(--tap);
	padding: 11px 14px;
	border: 1px solid var(--edge-strong);
	border-radius: var(--r-ctl);
	background: rgba(253, 249, 250, .7);
	color: var(--prose);
	text-decoration: none;
	font-size: 15.5px;
	line-height: 1.4;
}

.rca-toc__list a:hover {
	border-color: var(--mahud);
	background: var(--panel-raised);
	color: var(--ink);
	text-decoration: none;
}

.rca-toc__num {
	font-size: 13px;
	color: var(--mahud);
	flex: 0 0 auto;
	min-width: 2ch;
}

/* 4c. Quick-nav cards */
.rca-quick {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.rca-quick__card {
	position: relative;
	display: block;
	padding: 26px 20px 20px;
	background: var(--panel-grad);
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
	color: var(--prose);
	text-decoration: none;
}

.rca-quick__card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: var(--defis-rule);
	background: var(--mahud-line);
}

.rca-quick__card:hover {
	border-color: var(--mahud);
	background: var(--panel-raised-grad);
	text-decoration: none;
}

.rca-quick__card:hover::before {
	background: var(--mahud);
}

.rca-quick__title {
	display: block;
	font-family: "Domine", Georgia, "Times New Roman", serif;
	font-size: 20px;
	color: var(--ink);
	margin-bottom: 7px;
}

.rca-quick__text {
	display: block;
	font-size: 14.5px;
	color: var(--muted);
	line-height: 1.55;
}

/* 4d. Bonus offer */
.rca-offer {
	display: grid;
	gap: 22px;
	align-items: start;
}

.rca-offer__amount {
	display: block;
	font-size: clamp(30px, 5vw, 46px);
	line-height: 1.06;
	margin-bottom: 8px;
}

.rca-offer__cap {
	display: block;
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 18px;
}

.rca-offer__terms {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	gap: 9px;
}

.rca-offer__terms li {
	position: relative;
	padding-left: 20px;
	font-size: 15.5px;
	line-height: 1.6;
	margin: 0;
}

.rca-offer__terms li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 7px;
	height: 1px;
	background: var(--mahud-line);
}

/* 4e. Buttons (hand-rolled, for markup outside core/button) */
.rca-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: var(--tap);
	padding: 14px 28px;
	background: var(--mahud-grad);
	color: var(--vellum);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .025em;
	text-decoration: none;
	border: 1px solid var(--mahud);
	border-radius: var(--r-ctl);
	cursor: pointer;
}

.rca-btn:hover {
	background: var(--ink);
	color: var(--vellum);
	text-decoration: none;
}

.rca-btn--ghost {
	background: transparent;
	color: var(--mahud);
	/* The ghost is a CONTROL with no fill, so its outline is the only thing that says it
	   is pressable: --edge-lit measured 1.74:1 and could not do that job. */
	border-color: var(--edge-strong);
}

.rca-btn--ghost:hover {
	background: rgba(255, 255, 255, .85);
	color: var(--ink);
	border-color: var(--mahud);
}

.rca-btn--small {
	min-height: var(--tap);
	padding: 10px 18px;
	font-size: 14.5px;
}

/* 4f. Chips */
.rca-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: var(--r-ctl);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	border: 1px solid var(--edge);
	background: var(--panel-raised);
	color: var(--prose);
}

.rca-chip--kul {
	background: var(--kul);
	border-color: var(--kul-line);
	color: var(--vellum);
}

.rca-chip--kart {
	background: var(--kart-tint);
	border-color: var(--kart);
	color: var(--ink);
}

.rca-chip--mahud {
	background: var(--mahud-deep);
	border-color: var(--mahud);
	color: var(--vellum);
}

/* 4g. Steps ladder */
.rca-steps {
	list-style: none;
	counter-reset: rczstep;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.rca-steps li {
	position: relative;
	margin: 0;
	padding: 18px 20px 18px 62px;
	background: var(--panel-grad);
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
}

.rca-steps li::before {
	counter-increment: rczstep;
	content: counter(rczstep, decimal-leading-zero);
	position: absolute;
	left: 20px;
	top: 17px;
	font-family: "Geist Mono", ui-monospace, monospace;
	font-size: 15px;
	font-weight: 700;
	color: var(--mahud);
}

.rca-step__title {
	display: block;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 5px;
	font-size: 16.5px;
}

/* inc/schema.php reads .rca-step__title + .rca-step__text to build the HowTo nodes, so
   these two class names are a CONTRACT between the markup and the schema layer, not a
   styling choice. Renaming either silently empties the HowTo graph while every other
   node still ships and every block gate still passes. */
.rca-step__text {
	display: block;
	color: var(--prose);
	font-size: 15.5px;
	line-height: 1.62;
}

/* 4h. Fact / feature grid */
.rca-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}

.rca-card {
	position: relative;
	padding: 26px 20px 20px;
	background: var(--panel-grad);
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
}

.rca-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: var(--defis-rule);
	background: var(--mahud-line);
}

.rca-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	color: var(--ink);
}

.rca-card p {
	font-size: 15px;
	color: var(--muted);
	margin: 0;
}

/* 4i. Game tiles */
.rca-games {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.rca-game {
	position: relative;
	padding: 22px 18px 16px;
	background: var(--panel-grad);
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
}

.rca-game::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 18px;
	right: 18px;
	height: var(--defis-rule);
	background: var(--mahud-line);
}

.rca-game__name {
	display: block;
	font-family: "Domine", Georgia, "Times New Roman", serif;
	font-size: 18px;
	color: var(--ink);
	margin-bottom: 6px;
}

.rca-game__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 13px;
	color: var(--muted);
}

.rca-game__meta b {
	font-family: "Geist Mono", ui-monospace, monospace;
	font-weight: 700;
	color: var(--figure);
}

/* RTP meter: a figure AND a bar, so the number is scannable at a glance. */
.rca-meter {
	margin-top: 12px;
}

.rca-meter__bar {
	height: 5px;
	background: var(--panel-raised);
	border: 1px solid var(--edge);
	border-radius: 1px;
	overflow: hidden;
}

.rca-meter__fill {
	display: block;
	height: 100%;
	background: var(--mahud-line);
}

.rca-meter__val {
	font-size: 13px;
}

/* 4j. Notes / callouts */
.rca-note {
	position: relative;
	padding: 18px 20px 18px 20px;
	border: 1px solid var(--edge);
	border-left: 3px solid var(--mahud-line);
	border-radius: var(--r-ctl);
	background: rgba(253, 249, 250, .8);
	font-size: 15.5px;
	line-height: 1.62;
	color: var(--prose);
}

.rca-note--warn {
	border-left-color: var(--kart);
	background: rgba(248, 230, 233, .8);
}

.rca-note--rg {
	border-left-color: var(--kart);
	background: var(--kart-tint);
	color: var(--ink);
}

.rca-note strong {
	color: var(--ink);
}

/* 4k. Tables — on paper, scrollable, and never below 15px.

   `.rca-tablewrap` is a <figure>, and NOTHING in this theme, in style.css or in
   wp-block-library zeroes the UA default `figure { margin: 1em 40px }` — the core reset is
   scoped to `.wp-block-image`. Inherited from the donor, where every table happened to sit
   inside a plate that hid the inset. Here it would push each table 40px in on BOTH sides,
   including at 360px, where the table is already the widest thing on the page. Two content
   agents reported it independently from reading the CSS; it is fixed once, here.

   `caption` had no rule at all in the donor sheet, so a caption rendered centred at the UA
   default size — the one piece of text on the page that belonged to no type scale. */
.rca-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
	background: var(--panel);
	margin: 0 0 1.05em;
}

.rca-tablewrap caption {
	caption-side: top;
	text-align: start;
	padding: 13px 15px 11px;
	border-bottom: 1px solid var(--edge);
	color: var(--muted);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.rca-tablewrap table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.rca-tablewrap th,
.rca-tablewrap td,
.wp-block-table th,
.wp-block-table td {
	padding: 12px 15px;
	text-align: start;
	border-bottom: 1px solid var(--edge);
	vertical-align: top;
	line-height: 1.55;
}

.rca-tablewrap thead th,
.wp-block-table thead th {
	background: var(--panel-raised);
	color: var(--ink);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .04em;
	white-space: nowrap;
}

.rca-tablewrap tbody tr:last-child td,
.wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}

.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
}

.rca-tablewrap td b,
.wp-block-table td b {
	color: var(--ink);
}

/* 4l. FAQ — native <details>, so the answers are in the HTML for crawlers. */
.rca-faq {
	display: grid;
	gap: 10px;
}

.rca-faq details {
	background: var(--panel-grad);
	border: 1px solid var(--edge-strong);
	border-radius: var(--r-plate);
	overflow: hidden;
}

.rca-faq summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--tap);
	padding: 15px 18px;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 16.5px;
	color: var(--ink);
	line-height: 1.45;
}

.rca-faq summary::-webkit-details-marker {
	display: none;
}

.rca-faq summary::after {
	content: "";
	margin-left: auto;
	width: 9px;
	height: 9px;
	flex: 0 0 auto;
	border-right: 2px solid var(--mahud-line);
	border-bottom: 2px solid var(--mahud-line);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s var(--ease);
}

.rca-faq details[open] summary::after {
	transform: rotate(225deg) translate(-2px, -2px);
}

.rca-faq summary:hover {
	background: rgba(255, 255, 255, .72);
}

.rca-faq__answer {
	padding: 0 18px 17px;
	font-size: 15.5px;
	line-height: 1.68;
	color: var(--prose);
}

.rca-faq__answer p {
	margin-bottom: .8em;
}

/* 4m. Payments rail in content */
.rca-payrail {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.rca-payrail li {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--edge);
	border-radius: var(--r-ctl);
	background: var(--panel);
}

.rca-payrail__name {
	display: block;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 4px;
	font-size: 15.5px;
}

.rca-payrail__meta {
	display: block;
	font-size: 13px;
	color: var(--muted);
}

/* 4n. App / download block */
.rca-app {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rca-app__spec {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 10px;
	font-size: 13.5px;
	color: var(--muted);
}

.rca-app__spec b {
	font-family: "Geist Mono", ui-monospace, monospace;
	color: var(--figure);
	font-weight: 700;
}

/* 4o. Compare strip */
.rca-compare {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* 4p. Breadcrumbs (interior pages only — the one-pager uses the anchor TOC) */
.rca-crumbs {
	font-size: 13.5px;
	color: var(--dim);
	padding: 16px 0 0;
}

.rca-crumbs a {
	color: var(--muted);
	text-decoration: none;
}

.rca-crumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.rca-crumbs span[aria-current] {
	color: var(--prose);
}

/* 4q. Back-to-contents link, repeated down a long document */
.rca-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: var(--tap);
	margin-top: 18px;
	font-size: 13.5px;
	color: var(--muted);
	text-decoration: none;
}

.rca-back:hover {
	color: var(--ink);
	text-decoration: underline;
}

/* 4r. Per-page last-updated line, appended by inc/chrome.php */
.rca-lastmod {
	margin-top: 34px;
	padding-top: 16px;
	border-top: 1px solid var(--edge);
	font-size: 13px;
	color: var(--dim);
}

.rca-lastmod time {
	font-family: "Geist Mono", ui-monospace, monospace;
	color: var(--muted);
}

/* 4s. Skeleton loading for the heaviest blocks */
.rca-skeleton {
	position: relative;
	overflow: hidden;
	background: var(--panel-raised);
	border-radius: var(--r-plate);
	min-height: 90px;
}

.rca-skeleton::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(96deg, transparent 12%, rgba(255, 255, 255, .8) 48%, transparent 84%);
	transform: translateX(-100%);
	animation: rca-shimmer 1.5s infinite;
}

@keyframes rca-shimmer {
	100% {
		transform: translateX(100%);
	}
}

/* ---- 5. State matrix ---------------------------------------------------- */
a,
button,
summary,
.rca-btn,
.rca-quick__card,
.rca-toc__list a {
	transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}

a:active,
.rca-btn:active,
.wp-block-button__link:active {
	transform: translateY(1px);
}

/* Focus. A two-tone ring so it is visible on the nacre fills AND on the field:
   the dark inner line survives on light plates, the nacre outer line on dark. */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--mahud);
	outline-offset: 2px;
	border-radius: var(--r-ctl);
}

.rca-btn:focus-visible,
.rca-head__cta:focus-visible,
.rca-sticky__link:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
	box-shadow: 0 0 0 1px var(--vellum) inset;
}

button[disabled],
.rca-btn[aria-disabled="true"] {
	opacity: .55;
	cursor: not-allowed;
	filter: grayscale(.4);
}

/* ---- 6. Accessibility + responsive ------------------------------------- */
/* 6a. Nothing below 15px in prose. 12.5px is reserved for legal lines only. */
.rca-main p,
.rca-main li {
	font-size: max(15px, 1em);
}

/* 6b. Tap targets: 44px on EVERY pointer, not only under 600px. */
.rca-nav a,
.rca-toc__list a,
.rca-btn,
.rca-head__cta,
.rca-sticky__link,
.rca-faq summary,
.rca-back {
	min-height: var(--tap);
}

/* 6c. Inline links inside a sentence are exempt from WCAG 2.5.8 — they are sized
   by the text around them and must not be padded into a block. */
.rca-main p a,
.rca-foot__legal a,
.rca-faq__answer a {
	min-height: 0;
}

/* 6d. 1024 and below */
@media (max-width: 1023px) {
	.rca-head__inner {
		flex-wrap: wrap;
		gap: 10px;
	}

	.rca-nav {
		order: 3;
		width: 100%;
		margin-left: 0;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 2px;
	}

	.rca-nav a {
		white-space: nowrap;
	}
}

/* 6e. 768 and below — the sticky CTA appears, the header CTA folds away */
@media (max-width: 767px) {
	.rca-sticky {
		display: block;
	}

	body {
		padding-bottom: 92px;
	}

	.rca-head__cta {
		display: none;
	}

	.rca-sec {
		padding-block: 40px;
	}

	.rca-plate {
		padding: 26px 17px 20px;
	}

	.rca-hero h1 {
		max-width: none;
	}
}

/* 6f. 360 — the narrowest supported width */
@media (max-width: 400px) {
	.rca-head__inner {
		padding-inline: 15px;
	}

	.rca-wordmark__name {
		font-size: 19px;
	}

	.rca-steps li {
		padding: 16px 16px 16px 54px;
	}

	.rca-steps li::before {
		left: 16px;
	}

	.rca-quick,
	.rca-grid,
	.rca-games,
	.rca-toc__list {
		grid-template-columns: 1fr;
	}
}

/* 6g. Reduced motion — finish the job, including the smooth scroll and shimmer */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

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

	.rca-skeleton::after {
		display: none;
	}

	a:active,
	.rca-btn:active {
		transform: none;
	}
}

/* 6h. Forced colours / high contrast safety net */
@media (forced-colors: active) {
	.rca-plate,
	.rca-card,
	.rca-quick__card,
	.rca-game,
	.rca-steps li,
	.rca-faq details {
		border: 1px solid CanvasText;
	}

	.rca-btn,
	.rca-head__cta,
	.rca-sticky__link {
		border: 2px solid ButtonText;
		background: ButtonFace;
		color: ButtonText;
		forced-color-adjust: none;
	}

	.rca-plate::before,
	.rca-plate::after,
	.rca-card::before,
	.rca-quick__card::before,
	.rca-game::before {
		background: CanvasText;
		border-color: CanvasText;
	}
}

/* ---- 7. Core block harmonisation --------------------------------------- */
.wp-block-button__link {
	border-radius: var(--r-ctl);
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--edge);
	opacity: 1;
	max-width: 100%;
}

.wp-block-image img {
	border-radius: var(--r-plate);
	height: auto;
	max-width: 100%;
}

.wp-block-list {
	padding-left: 1.15em;
}

.wp-block-list li {
	margin-bottom: .5em;
	line-height: 1.68;
}

.wp-block-quote {
	border-left: 3px solid var(--mahud-line);
	padding-left: 18px;
	margin-left: 0;
	font-style: normal;
	color: var(--ink);
}

.wp-block-group.has-background {
	border-radius: var(--r-plate);
}

/* The editor canvas inherits the same ground so the plate signature is visible
   while writing, not only on the front end. */
.editor-styles-wrapper {
	background: var(--kagiz);
	color: var(--prose);
}

/* ---- 8. Brand-layer devices (inc/brand.php) ----------------------------
   Every class emitted by a shortcode in inc/brand.php is styled here. A class that
   exists only in PHP and nowhere in this file ships an unstyled block that passes
   every markup gate — that is the «phantom class» failure recorded on royalspin.az,
   so the two lists are kept in step deliberately. */
.rca-sig {
	display: grid;
	gap: 12px;
}

.rca-sig__text {
	font-size: 13px;
	line-height: 1.65;
	color: var(--dim);
	margin: 0;
	max-width: 62ch;
}

.rca-light {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
}

/* The citable passage */
.rca-pull {
	margin: 0;
}

.rca-pull__body {
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.6;
	color: var(--ink);
	max-width: 66ch;
}

.rca-pull__body p:last-child {
	margin-bottom: 0;
}

/* Wager-arithmetic device */
.rca-anatomy {
	margin: 0;
}

.rca-anatomy__rows {
	list-style: none;
	counter-reset: none;
	margin: 4px 0 14px;
	padding: 0;
	display: grid;
	gap: 1px;
	background: var(--edge);
	border: 1px solid var(--edge);
	border-radius: var(--r-ctl);
	overflow: hidden;
}

.rca-anatomy__rows li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 11px 14px;
	background: var(--panel);
	font-size: 15.5px;
}

.rca-anatomy__rows li:last-child {
	background: var(--mahud-deep);
}

.rca-anatomy__key {
	color: var(--prose);
}

.rca-anatomy__rows li:last-child .rca-anatomy__key,
.rca-anatomy__rows li:last-child .rca-num {
	color: var(--vellum);
	font-weight: 600;
}

.rca-anatomy__note,
.rca-mock__note {
	font-size: 14px;
	line-height: 1.62;
	color: var(--muted);
	margin: 0;
	max-width: 64ch;
}

/* Inert pictures of the operator's own controls */
.rca-mock {
	margin: 0;
}

.rca-mock__box {
	display: grid;
	gap: 9px;
	margin: 6px 0 14px;
	padding: 16px;
	background: var(--kagiz-deep);
	border: 1px dashed var(--edge-lit);
	border-radius: var(--r-ctl);
}

.rca-mock__field {
	display: block;
	padding: 12px 13px;
	border: 1px solid var(--edge);
	border-radius: var(--r-ctl);
	background: var(--panel);
	color: var(--dim);
	font-size: 14.5px;
}

.rca-mock__field--code {
	font-family: "Geist Mono", ui-monospace, monospace;
	letter-spacing: .3em;
	color: var(--muted);
}

.rca-mock__btn {
	display: block;
	padding: 12px 13px;
	text-align: center;
	border-radius: var(--r-ctl);
	background: var(--mahud);
	color: var(--vellum);
	font-weight: 700;
	font-size: 14.5px;
}

/* ---- 9. Nav, header CTA variant, footer structure ----------------------
   These class names are emitted by inc/chrome.php and parts/*.html. Same rule as §8:
   nothing may exist in markup that has no rule here. */
.rca-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.rca-nav__list li {
	margin: 0;
}

.rca-nav__mobile {
	display: none;
}

.rca-nav__mobile summary {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: var(--tap);
	padding: 9px 14px;
	list-style: none;
	cursor: pointer;
	border: 1px solid var(--edge-strong);
	border-radius: var(--r-ctl);
	background: var(--panel-raised);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
}

.rca-nav__mobile summary::-webkit-details-marker {
	display: none;
}

.rca-nav__bars {
	display: block;
	width: 15px;
	height: 2px;
	background: var(--mahud);
	box-shadow: 0 5px 0 var(--mahud), 0 -5px 0 var(--mahud);
}

.rca-nav__panel {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: grid;
	gap: 6px;
	border: 1px solid var(--edge);
	border-radius: var(--r-plate);
	background: var(--panel);
	padding: 8px;
}

.rca-nav__panel li {
	margin: 0;
}

.rca-nav__panel a {
	display: flex;
	align-items: center;
	min-height: var(--tap);
	padding: 10px 12px;
	border-radius: var(--r-ctl);
	color: var(--prose);
	text-decoration: none;
	font-size: 15px;
	line-height: 1.4;
}

.rca-nav__panel a:hover,
.rca-nav__panel a[aria-current] {
	background: var(--panel-raised);
	color: var(--ink);
}

.rca-nav a[aria-current],
.rca-nav__list a[aria-current] {
	color: var(--ink);
	border-color: var(--edge);
	background: rgba(255, 255, 255, .78);
}

/* The non-money header control on the three service pages: an outline, so the one page
   whose job is NOT to sell never carries a filled money button. */
.rca-head__cta--quiet {
	background: transparent;
	background-image: none;
	color: var(--mahud);
	border-color: var(--edge-lit);
}

.rca-head__cta--quiet:hover {
	background: rgba(255, 255, 255, .9);
	background-image: none;
	color: var(--ink);
	border-color: var(--mahud);
}

.rca-langtag {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border: 1px solid var(--edge);
	border-radius: var(--r-ctl);
	font-family: "Geist Mono", ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: .12em;
	color: var(--muted);
}

.rca-trust__seg--rg {
	color: var(--mahud);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rca-trust__seg--rg:hover {
	color: var(--ink);
}

.rca-foot__brand h2,
.rca-foot__col h2 {
	font-size: 13px;
}

.rca-foot__brand p {
	font-size: 14.5px;
	line-height: 1.66;
	color: var(--muted);
	max-width: 46ch;
}

.rca-foot__brand .rca-updated {
	margin-top: 12px;
}

.rca-foot__legal p + p {
	margin-top: 10px;
}

.rca-foot__legal b {
	color: var(--muted);
}

.rca-sig {
	max-width: 1140px;
	margin: 26px auto 0;
	padding-top: 20px;
	border-top: 1px solid var(--edge);
}

@media (max-width: 1023px) {
	.rca-nav__list {
		display: none;
	}

	.rca-nav__mobile {
		display: block;
	}

	.rca-nav {
		order: 3;
		width: 100%;
		overflow: visible;
	}
}


/* ---- 10. Repairs from probe_rcz.js run 1 --------------------------------
   Four standalone controls sat under the 44px target the brief sets. None of them is a
   link inline in a sentence, so the WCAG 2.5.8 inline exemption does not cover them:
   the header lockup and the trust-bar RG link are the two controls a phone user reaches
   for first, and the footer/breadcrumb lists are pure navigation. */
.rca-brand {
	min-height: var(--tap);
}

.rca-trust__seg--rg {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
}

.rca-foot__col li a,
.rca-foot__brand a {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
}

.rca-crumbs a,
.rca-crumbs span[aria-current] {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
}

/* The cookie banner's ACCEPT control. The reskin moved the filled treatment onto the
   DECLINE button on purpose — this banner defaults to declining non-essential storage —
   which left this class with no rule at all and shipped an unstyled button. It is stated
   here explicitly rather than deleted, so the next fork reads the intent instead of
   "restoring" a filled accept button. */
.rca-cookie__row .rca-cookie__ok {
	background: transparent;
	background-image: none;
	color: var(--prose);
	/* --edge-lit here measured 1.86:1 on the card's white ground, and this rule is (0,2,0)
	   — so it OUTRANKED inc/chrome.php's own (0,1,1) `.rca-cookie__row button` even though
	   the inline block loads later. Quiet is a deliberate choice on this control (the
	   privacy-preserving DECLINE is the filled one); invisible is not. --edge-strong is
	   this palette's only 3:1 border. */
	border-color: var(--edge-strong);
}

.rca-cookie__row .rca-cookie__ok:hover {
	border-color: var(--mahud);
	color: var(--ink);
}

/* ---- 11. Repairs from probe_rcz.js run 2 --------------------------------
   The mobile nav panel overflowed the viewport by 24px at 360, on every page, and only
   there. `.rca-nav` is a flex row, so its `<details>` child sizes to MAX-CONTENT — and
   the panel's longest item («Bonus — 550 AZN + 250 fırlanma və dövriyyə şərti») is wider
   than a 360px phone. A flex item's default `min-width: auto` refuses to shrink below its
   content, so `width: 100%` on the ancestor did not bind: the floor has to be removed
   explicitly. Same shape as the recorded «a display reset without min-width keeps the
   560px floor» defect, one layer further in. */
.rca-nav {
	min-width: 0;
}

.rca-nav__mobile {
	min-width: 0;
	max-width: 100%;
}

.rca-nav__panel {
	box-sizing: border-box;
	max-width: 100%;
	/* The real floor was HERE, not on the <details>: the panel is a grid, an auto column
	   is minmax(min-content, auto), and a grid item's own min-width:auto refuses to go
	   below min-content — so «Bonus — 550 AZN + 250 fırlanma və dövriyyə şərti» set the
	   column to 360px inside a 330px panel. Constraining the ancestors could never bind;
	   the track and the item both have to be allowed to shrink. It is invisible until the
	   menu is OPENED (a closed <details> clips it, and document.scrollWidth stays 360),
	   which is why only a per-element measurement found it. */
	grid-template-columns: minmax(0, 1fr);
}

.rca-nav__panel li {
	min-width: 0;
}

.rca-nav__panel a {
	overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
	.rca-nav__mobile {
		width: 100%;
	}
}

/* The offer plate is a grid, so its two CTAs stretched to the full plate width and the
   money button read as a banner rather than as a control. Sized to content instead, and
   laid on one row where there is room for two. */
.rca-offer .rca-btn {
	justify-self: start;
}

@media (min-width: 640px) {
	.rca-offer {
		grid-template-columns: 1fr;
	}

	.rca-offer .rca-btn + .rca-btn {
		margin-top: -8px;
	}
}

/* ---- 12. Repairs the SCREENSHOT found (nothing measurable was wrong) -----
   The hero's three stacked components are raw HTML inside one wp:html block, so
   WordPress's blockGap never applies between them: the quick-nav grid sat flush against
   the facts strip and each card's column rule was drawn ON the strip's bottom border.
   Every gate passed — a probe measures elements, not the space between them.

   And the quick-nav grid STRANDED ITS FOURTH CARD: auto-fit with a 210px floor resolves
   to three columns in a 700px content well, so «Yüklə» sat alone on a second row under
   three siblings. (Same shape as the recorded auto-fit orphan on royale-vip.org.) Two
   balanced rows of two beat three-plus-one at every width this column ever has. */
.rca-hero__facts {
	margin-bottom: 26px;
}

.rca-quick {
	margin-top: 0;
}

@media (min-width: 560px) {
	.rca-quick {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.rca-quick {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
