/* =========================================================================
   royalecasino-az.com — «Duman & Sitron» design layer
   =========================================================================

   ONE LAYER. Every selector appears once and the last rule for a selector is the
   only rule for it — the 62nd build's trap was a repair written against a rule
   that sat 1200 lines above the one that actually rendered.

   Reading order:
     0. Tokens                     — the palette, mapped once from theme.json
     1. Base canvas + typography   — prose rhythm, figures, links
     2. The signature: SANCAQ-SAPI — the pinned thread, defined once and reused
     3. Chrome                     — header, trust bar, footer, sticky, modals
     4. Sections                   — hero, TOC, lobby, bonus, pay, FAQ …
     5. State matrix               — hover / focus / active / disabled
     6. Accessibility + responsive — tap targets, 360/768/1024/1440, motion

   CONTRAST CONTRACT (measured for THIS palette by palette_rcb.py, not inherited — >= 4.5:1):
     on --field / --field-deep / --plate / --plate-raised
                                           : paper 17.5/18.3/16.0/14.4, figure 15.1/15.8/13.8/12.5,
                                             prose 14.3/15.0/13.0/11.8, muted 9.4/9.9/8.6/7.8,
                                             xeber 7.1/7.4/6.5/5.8, dim 7.0/7.3/6.4/5.8,
                                             sitron 6.7/7.0/6.1/5.5
     on --live fill (AKTİV pine)           : paper 11.6, figure 10.0, prose 9.5, muted 6.3,
                                             xeber 4.7, dim 4.6
     on --sitron-deep fill (deep sapphire)  : paper 13.5, figure 11.7, prose 11.0, muted 7.3,
                                             xeber 5.4, dim 5.4
     on --amber-deep fill (18+/RG note)    : paper 13.2, figure 11.4, prose 10.8, muted 7.1,
                                             xeber 5.3, dim 5.3 (a link inside a filled note
                                             still takes --paper + underline)

   The ACCENT is the NARROWEST margin in the table (6.7:1 on the field, 5.5:1 on the lightest
   plate and 4.9:1 on --plate-top) — the inverse of the donor's, and it is a property of the
   hue, not of the choice: a true blue at h236 carries only 7% of the luminance formula in its
   dominant channel, so a sapphire that still reads as a sapphire is dimmer than any green or
   cyan at the same lightness. It clears AA everywhere it is used and it has no headroom to
   spare, which is why --sitron is never set on --plate-top-filled panels and why the probe
   measures it rather than trusting it.
     on --sitron / --paper / --figure fill  : ink 6.7 / 17.5 / 15.1
     the CTA ramp's DEEPEST stop (#cbbf1c) : ink 4.77 — the stop is CHOSEN for this. The
                                             natural h236 s72 l58 deepening (#d6c832) measures
                                             3.19 and was rejected: a money button is read as
                                             one object and its darkest pixel is where the
                                             label has to survive. The ramp is also written
                                             MINIFIED in inc/chrome.php; both spellings are one
                                             object, change both.

   --buz, --live-lit and --rule-lit are BORDER, GRADIENT-STOP AND DECOR colours.
   --buz is the steel the thread's run is drawn in, and it measures 13.3/14.0/12.2/11.0
   — it would pass every contrast gate there is. A leak into a text node is therefore an
   IDENTITY defect with nothing measurably wrong: bone prose reads as a second accent this
   site does not have. `probe_rzc.js` gates --buz on ROLE (which elements may paint with
   it), not on contrast.
   ========================================================================= */

/* ---- 0. Tokens ---------------------------------------------------------- */
:root {
	--field: #0b1013;
	--field-deep: #060a0c;
	--plate: #141B1F;
	--plate-raised: #1c262b;
	--rule: #38484F;
	--rule-lit: #5c7480;
	--paper: #f2f7f9;
	--prose: #dce7ea;
	--muted: #aec0c7;
	--dim: #94a7af;
	--sitron: #e6d92e;
	--buz: #a9c6cf;
	--sitron-deep: #3d3806;
	/* The two stops the SIGNATURE needs by name. They were the donor's gradient literals
	   and nothing else, so `var(--sitron-lit)` / `var(--plate-top)` in §2 resolved to an
	   invalid declaration and the raised jewel and both quiet mounts painted TRANSPARENT.
	   Declared here so the gradients below and the jewels in §2 name one source. */
	--sitron-lit: #f2ea79;
	--plate-top: #222e35;
	--ink: #0b1013;
	--figure: #f0ecc4;
	--live: #0b3138;
	--live-lit: #45c3d6;
	--amber: #e79a4c;
	--amber-deep: #3d2510;

	--plate-grad: linear-gradient(183deg, #141B1F 0%, #0b1013 100%);
	--plate-raised-grad: linear-gradient(183deg, #222e35 0%, #141B1F 100%);
	--sitron-grad: linear-gradient(166deg, #f2ea79 0%, #e6d92e 54%, #cbbf1c 100%);

	/* The radius ramp INVERTS every sibling's. Each of them softens the CONTROLS and
	   keeps the plate hard-edged (0 throughout, 4px with one 18px pocket, 7/5 soft
	   slab, 14/999 pill, a flat head on a 12px foot, three wide corners with one 4px
	   cut). Here the plate is uniformly soft — a plaque, all four corners equal, so
	   nothing on it competes with the two tubes that overrun it — and the controls go
	   SQUARE at 3px. --r-head is kept equal to --r-plate on purpose: this identity has no
	   special corner, because its edge event is not on the silhouette at all. */
	--r-plate: 14px;
	--r-ctl: 3px;
	--r-head: 14px;

	/* SANCAQ-SAPI geometry, stated once so the mark, the plate, the card and the
	   section divider are provably the same drawing at three scales.

	   The device does not touch the silhouette at all and it does not treat the edge: the
	   box stays a rounded rectangle and a single hairline CROSSES ITS INTERIOR, entering
	   through the left border at --thread-in, turning at --thread-knee and leaving through
	   the right border at --thread-out, with a citron PIN at each crossing. Every other
	   device on this network works the boundary; this one passes through.

	   The entry and exit heights are PERCENTAGES and the pins are LENGTHS, deliberately: the
	   thread must meet the same relative height on a 90px card and a 600px plate (so the
	   drawing is recognisably one thing at three scales), while a pin that scaled would be a
	   blob on the plate and invisible on the card.

	   Only the PRIMITIVES live here. --sig-thread (the polygon) is declared on the
	   COMPONENTS instead, in §2, and the reason is the defect the 72nd build shipped and
	   its probe caught:

	     a var() inside another CUSTOM PROPERTY is substituted where that property is
	     DECLARED, and the result inherits as a computed value.

	   So a card that re-declares its own --thread-knee would still inherit a --sig-thread
	   computed at the root's — correct primitives, wrong drawing, and nothing in the CSS
	   looking wrong. Declaring the composite on the components themselves makes it resolve
	   per element, which is what "one geometry, three scales" needs to be true rather than
	   merely intended. */
	--thread-in: 63%;      /* height at which the thread ENTERS the left edge */
	--thread-out: 31%;     /* height at which it LEAVES the right edge */
	--thread-knee: 44%;    /* where the level run turns and starts to climb */
	--thread-w: 1px;       /* half-thickness of the hairline itself */
	--thread-pin: 4px;     /* half-height of the pin at each crossing */
	--thread-pinw: 8px;    /* how far into the box each pin reaches */
	--thread-glow: 6px;    /* the halo radius; 0 under prefers-reduced-transparency */
	--thread-lit: var(--sitron);   /* the two pins */
	--thread-run: var(--buz);      /* the run between them */

	--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(--field);
	color: var(--prose);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* Mitr's default figures are LINING — fontrender_rcb.py's «0123456789 550 AZN
	   2026» row was read before adoption, which is how the donor's face was caught
	   defaulting to old-style. This declaration therefore corrects nothing in the FIRST
	   face; it is here for the FALLBACKS, because Bookman Old Style and Palatino Linotype
	   both default to old-style figures and a css2 failure would re-introduce the defect
	   on exactly the pages where a figure matters most. */
	font-variant-numeric: lining-nums;
}

/* A quiet citron-and-steel wash so the page is not a flat black rectangle. Two very low
   alpha radials — no image, no request, and both stops are on the field hue so
   nothing here can shift a measured contrast ratio. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(70rem 40rem at 78% -8%, rgba(230, 217, 46, .10), transparent 62%),
		radial-gradient(58rem 34rem at 8% 108%, rgba(169, 198, 207, .07), transparent 60%);
}

/* The template gives <main> an ID, not a class, so the class rule this replaces had
   never matched anything on any page. */
#rzc-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. */
.rzc-num,
.rzc-fact__val,
.rzc-offer__amount,
.rzc-meter__val,
.rzc-toc__num,
.rzc-steps__num {
	font-family: "Intel One Mono", ui-monospace, Consolas, "Courier New", monospace;
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -.01em;
	color: var(--figure);
}

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

.rzc-sec + .rzc-sec {
	border-top: 1px solid rgba(56, 72, 79, .55);
}

/* Eyebrow: small caps label above a heading. Display face, never the mono. */
.rzc-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	font-family: "Niramit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

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

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

/* ---- 2. THE SIGNATURE: SANCAQ-SAPI --------------------------------------- */
/*
   One idea, drawn at three scales:

   1. SAP — the thread. A single hairline enters every plate, card, tile and the age-gate box
      through its LEFT edge at --thread-in, runs level to --thread-knee, then climbs and
      leaves through the RIGHT edge at --thread-out. The silhouette is untouched and the box
      is still a rounded rectangle; what the eye reads is that something PASSES THROUGH it.
      The other twenty-four axes on this network all treat the boundary — they cut it, bite
      it, raise it, interrupt it or exceed it. None of them crosses the middle.
   2. The thread is two-tone along its length, not across it: SİTRON for the --thread-pinw
      at each end (the PINS, where it meets the border) and BUZ steel for the run between.
      A thread that is bright only where it is fastened is what a real one looks like.
   3. The same thread with the plate removed is the section divider — the drawing seen alone
      rather than a second idea.

   Five mechanics, all load-bearing:

   * THE STACKING ORDER IS THE DEVICE. An interior line drawn ABOVE the content would cross
     the reader's own sentence, so the ::before takes `z-index: -1` and every component that
     wears it takes `isolation: isolate`. Without the isolation, a negative index escapes the
     component's stacking context and the thread paints behind the SECTION — that is, it
     vanishes, with nothing in the CSS looking wrong.
   * ONE absolutely positioned ::before, clipped to the polygon. The second pseudo-element
     stays free for §14's hover affordance; the 69th and 70th each lost a device to a
     component that had already spent both.
   * The ::before is `pointer-events: none`. Its BOX is the whole plate and only its CLIP is
     a hairline, so without this every link inside a plate would be unclickable.
   * The glow is a `filter: drop-shadow`, not a `box-shadow`: drop-shadow follows the CLIPPED
     shape, while a box-shadow would halo the pseudo-element's whole rectangle — a citron fog
     over the entire plate rather than a lit thread.
   * The clip is a polygon whose x-coordinates are lengths and whose y-coordinates are
     percentages of the box, so the thread lands on the same relative heights at every scale
     while its pins stay the same physical size.
*/
/* THE COMPOSITE, declared on every component that wears the device.

   It cannot live on :root: a var() inside a custom property is substituted where that
   property is declared, so a root-level --sig-thread would freeze the root's geometry and
   every card would inherit the PLATE's knee no matter what it re-declares. Declared here,
   each element resolves it from its own --thread-* values — which is why §14 can flatten the
   whole drawing for a card by setting one number, and why --raised/--quiet/:hover can
   recolour it by setting one more. */
.rzc-plate,
.rzc-gate__box,
.rzc-card,
.rzc-quick__card,
.rzc-game,
.rzc-rule {
	--sig-thread: polygon(
		0 calc(var(--thread-in) - var(--thread-pin)),
		var(--thread-pinw) calc(var(--thread-in) - var(--thread-pin)),
		var(--thread-pinw) calc(var(--thread-in) - var(--thread-w)),
		var(--thread-knee) calc(var(--thread-in) - var(--thread-w)),
		calc(100% - var(--thread-pinw)) calc(var(--thread-out) - var(--thread-w)),
		calc(100% - var(--thread-pinw)) calc(var(--thread-out) - var(--thread-pin)),
		100% calc(var(--thread-out) - var(--thread-pin)),
		100% calc(var(--thread-out) + var(--thread-pin)),
		calc(100% - var(--thread-pinw)) calc(var(--thread-out) + var(--thread-pin)),
		calc(100% - var(--thread-pinw)) calc(var(--thread-out) + var(--thread-w)),
		var(--thread-knee) calc(var(--thread-in) + var(--thread-w)),
		var(--thread-pinw) calc(var(--thread-in) + var(--thread-w)),
		var(--thread-pinw) calc(var(--thread-in) + var(--thread-pin)),
		0 calc(var(--thread-in) + var(--thread-pin))
	);
	--sig-ink: linear-gradient(
		to right,
		var(--thread-lit) 0 var(--thread-pinw),
		var(--thread-run) var(--thread-pinw) calc(100% - var(--thread-pinw)),
		var(--thread-lit) calc(100% - var(--thread-pinw))
	);
}

.rzc-plate::before,
.rzc-gate__box::before,
.rzc-card::before,
.rzc-quick__card::before,
.rzc-game::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--sig-ink);
	clip-path: var(--sig-thread);
	filter: drop-shadow(0 0 var(--thread-glow) var(--thread-lit));
	pointer-events: none;
	z-index: -1;
}

.rzc-plate {
	position: relative;
	isolation: isolate;
	background: var(--plate-grad);
	background-origin: border-box;
	border: 1px solid var(--rule);
	border-radius: var(--r-plate);
	padding: 24px 26px;
}

/* The raised variant lights the rail as well: both tubes live. A rule that set only
   `background:` would not disturb the device here — the tubes are on the pseudo-element, not
   in this shorthand — which is the whole reason the 58th's failure mode (a later
   `background:` resetting every layer and taking the signature with it) cannot happen on
   this build. */
.rzc-plate--raised {
	background: var(--plate-raised-grad);
	background-origin: border-box;
	border-color: var(--rule-lit);
	--thread-lit: var(--sitron-lit);
	--thread-run: var(--sitron);
	--thread-w: 2px;
}

/* The quiet variant is the SAME thread with its pins unlit — the drawing at a lower volume,
   not a second drawing. */
.rzc-plate--quiet {
	--thread-lit: var(--rule-lit);
	--thread-run: var(--rule);
	--thread-glow: 0px;
}

/* The age gate wears it too: it is the first plate a visitor sees and the one place the
   device has to introduce itself. */
.rzc-gate__box {
	position: relative;
	isolation: isolate;
	--thread-lit: var(--sitron-lit);
}

/* SAP ALONE — the section divider is the thread with no plate under it, clipped from the
   same polygon at the same relative heights. It needs no isolation because it has no content
   to sit behind: the element IS the drawing. The divider is the signature's unit, not a rule
   with a dot on it. */
.rzc-rule {
	position: relative;
	height: 22px;
	width: 168px;
	max-width: 100%;
	margin: 6px 0 24px;
	background: var(--sig-ink);
	clip-path: var(--sig-thread);
	filter: drop-shadow(0 0 var(--thread-glow) var(--thread-lit));
	--thread-in: 68%;
	--thread-out: 26%;
	--thread-pin: 5px;
}

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

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

/* 3b. Header */
.rzc-head {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(6, 10, 12, .93);
	backdrop-filter: blur(9px);
	border-bottom: 1px solid var(--rule);
}

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

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

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

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

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

/* THE WORDMARK IS SET IN THE DISPLAY FACE, and that is a decision rather than a default.

   The donor scoped a FOURTH webfont (a brush script carrying no ə/Ə) to this one selector and
   kept the scope honest with a standing probe gate. Two things were wrong with inheriting it
   here: the css2 request no longer asks for that face, so this rule was resolving to the
   system's «Brush Script MT» — a face nobody chose, on the one string a visitor reads first —
   and a scoped face is only ever as safe as the gate that watches it. Mitr carries the full
   Azerbaijani set, so there is no scope to enforce and no fourth file to download.

   It still needs its own size, weight and colour: the wordmark sits next to the mark at 34px
   and has to hold that lockup without becoming a heading. */
.rzc-wordmark__name {
	font-family: "Mitr", "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: 23px;
	line-height: 1.1;
	letter-spacing: -.012em;
	color: var(--sitron);
}

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

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

.rzc-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;
}

.rzc-nav a:hover {
	color: var(--paper);
	border-color: var(--rule);
	background: rgba(28, 38, 43, .7);
}

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

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

/* 3c. Trust bar — licence № / 18+ / RG. Figures in mono, labels in the sans. */
.rzc-trust {
	border-bottom: 1px solid var(--rule);
	background: rgba(20, 27, 31, .62);
}

.rzc-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);
}

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

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

.rzc-trust__seg--age {
	color: var(--amber);
}

.rzc-trust__seg--age::before {
	background: var(--amber);
}

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

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

.rzc-foot h2,
.rzc-foot h3 {
	font-size: 14px;
	font-family: "Niramit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--paper);
	margin: 0 0 12px;
}

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

.rzc-foot a:hover {
	color: var(--paper);
}

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

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

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

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

.rzc-pay li {
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--rule);
	border-radius: var(--r-ctl);
	background: rgba(20, 27, 31, .8);
	font-size: 13px;
	color: var(--prose);
	letter-spacing: .02em;
}

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

.rzc-updated time {
	font-family: "Intel One 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. */
.rzc-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(6, 10, 12, .96);
	border-top: 1px solid var(--rule);
	backdrop-filter: blur(8px);
}

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

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

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

/* 3f. Age gate + cookie banner */
.rzc-gate {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
	background: rgba(11, 16, 19, .93);
}

.rzc-gate__box {
	max-width: 460px;
	width: 100%;
	background: var(--plate-raised-grad);
	border: 1px solid var(--rule-lit);
	border-radius: var(--r-plate);
	padding: 30px 26px 26px;
	position: relative;
	text-align: center;
}

.rzc-gate__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 14px;
	border: 2px solid var(--amber);
	/* Editorial square, like every other corner on this build. A round badge here
	   was the donor's geometry and would have been the one circle on the site. */
	border-radius: var(--r-ctl);
	font-family: "Intel One Mono", ui-monospace, monospace;
	font-size: 19px;
	font-weight: 700;
	color: var(--amber);
}

.rzc-gate__title {
	font-family: "Mitr", "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: var(--paper);
	margin: 0 0 10px;
}

.rzc-gate__text {
	font-size: 15px;
	color: var(--prose);
	margin: 0 0 20px;
}

.rzc-gate__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

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

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

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

.rzc-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;
}

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

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

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

.rzc-fact {
	background: var(--plate);
	padding: 16px 18px;
}

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

.rzc-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. */
.rzc-toc {
	margin: 0;
}

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

.rzc-toc__list li {
	margin: 0;
}

.rzc-toc__list a {
	display: flex;
	align-items: baseline;
	gap: 12px;
	min-height: var(--tap);
	padding: 11px 14px;
	border: 1px solid var(--rule);
	border-radius: var(--r-ctl);
	background: rgba(20, 27, 31, .55);
	color: var(--prose);
	text-decoration: none;
	font-size: 15.5px;
	line-height: 1.4;
}

.rzc-toc__list a:hover {
	border-color: var(--buz);
	background: var(--plate-raised);
	color: var(--paper);
	text-decoration: none;
}

.rzc-toc__num {
	font-size: 13px;
	/* the DECOR metal is 4.05:1 and this is TEXT — the accent proper is 6.5:1 */
	color: var(--sitron);
	flex: 0 0 auto;
	min-width: 2ch;
}

/* 4c. Quick-nav cards */
/* 14px: nothing overhangs this gutter — the thread stays inside its own box. */
.rzc-quick {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

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

.rzc-quick__card:hover {
	border-color: var(--buz);
	text-decoration: none;
}

.rzc-quick__title {
	display: block;
	font-family: "Mitr", "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--paper);
	margin-bottom: 7px;
}

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

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

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

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

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

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

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

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

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

.rzc-btn--ghost {
	background: transparent;
	color: var(--sitron);
	border-color: var(--rule-lit);
}

.rzc-btn--ghost:hover {
	background: rgba(28, 38, 43, .8);
	color: var(--paper);
	border-color: var(--buz);
}

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

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

.rzc-chip--live {
	background: var(--live);
	border-color: var(--live-lit);
	color: var(--paper);
}

.rzc-chip--amber {
	background: var(--amber-deep);
	border-color: var(--amber);
	color: var(--paper);
}

.rzc-chip--sitron {
	background: var(--sitron-deep);
	border-color: var(--buz);
	color: var(--paper);
}

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

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

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

.rzc-step__title {
	display: block;
	font-weight: 700;
	color: var(--paper);
	margin-bottom: 5px;
	font-size: 16.5px;
}

/* inc/schema.php reads .rzc-step__title + .rzc-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. */
.rzc-step__text {
	display: block;
	color: var(--prose);
	font-size: 15.5px;
	line-height: 1.62;
}

/* 4h. Fact / feature grid */
/* 14px: nothing overhangs this gutter — the thread stays inside its own box. */
.rzc-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}

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

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

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

/* 4i. Game tiles */
/* 14px: nothing overhangs this gutter — the thread stays inside its own box. */
.rzc-games {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.rzc-game {
	position: relative;
	padding: 22px 18px 30px;
	background: var(--plate-grad);
	border: 1px solid var(--rule);
	border-radius: var(--r-plate);
}

.rzc-game__name {
	display: block;
	font-family: "Mitr", "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--paper);
	margin-bottom: 6px;
}

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

.rzc-game__meta b {
	font-family: "Intel One 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. */
.rzc-meter {
	margin-top: 12px;
}

.rzc-meter__bar {
	height: 5px;
	background: var(--plate-raised);
	border: 1px solid var(--rule);
	border-radius: 1px;
	overflow: hidden;
}

.rzc-meter__fill {
	display: block;
	height: 100%;
	background: var(--buz);
}

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

/* 4j. Notes / callouts */
.rzc-note {
	position: relative;
	padding: 18px 20px 18px 20px;
	border: 1px solid var(--rule);
	border-left: 3px solid var(--buz);
	border-radius: var(--r-ctl);
	background: rgba(20, 27, 31, .74);
	font-size: 15.5px;
	line-height: 1.62;
	color: var(--prose);
}

.rzc-note--warn {
	border-left-color: var(--amber);
	background: rgba(61, 37, 16, .5);
}

.rzc-note--rg {
	border-left-color: var(--amber);
	background: var(--amber-deep);
	color: var(--paper);
}

.rzc-note strong {
	color: var(--paper);
}

/* A link inside a FILLED note cannot wear the accent. The accent is text-safe on the
   four dark grounds (5.6-6.5:1) and NOT on --amber-deep (3.8:1) or --live (3.4:1), and a
   token whose text-safety depends on which panel it lands on is exactly the defect the
   contrast contract at the top of this file warns about. On a filled note the link takes
   --paper (10.0:1 on amber-deep) and keeps its affordance from the underline instead of
   from hue — which is the more accessible signal anyway. */
.rzc-note--rg a,
.rzc-note--warn a {
	color: var(--paper);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.rzc-note--rg a:hover,
.rzc-note--warn a:hover {
	text-decoration-thickness: 2px;
}

/* 4k. Tables — dark, scrollable, and never below 15px */
.rzc-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--rule);
	border-radius: var(--r-plate);
	background: var(--plate);
}

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

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

.rzc-tablewrap thead th,
.wp-block-table thead th {
	background: var(--plate-raised);
	color: var(--paper);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .04em;
	white-space: nowrap;
}

.rzc-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(--plate);
	border: 1px solid var(--rule);
	border-radius: var(--r-plate);
}

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

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

.rzc-faq details {
	background: var(--plate-grad);
	border: 1px solid var(--rule);
	border-radius: var(--r-plate);
	overflow: hidden;
}

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

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

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

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

.rzc-faq summary:hover {
	background: rgba(28, 38, 43, .6);
}

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

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

/* 4m. Payments rail in content */
.rzc-payrail {
	display: grid;
	gap: 10px;
	/* 130px, not 160px: with FIVE rails a 160px minimum lays out 4 + 1 in a ~700px
	   column and «Visa / Mastercard» sits alone on a second row, reading as an
	   afterthought instead of one of five equals. The 41st build recorded the same
	   `auto-fit` stranding on a four-cell grid. Stated as a MINIMUM rather than a
	   fixed count so 360px still gets one rail per row. */
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

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

.rzc-payrail__name {
	display: block;
	font-weight: 700;
	color: var(--paper);
	margin-bottom: 4px;
	font-size: 15.5px;
}

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

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

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

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

/* 4o. Compare strip */
.rzc-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) */
.rzc-crumbs {
	font-size: 13.5px;
	color: var(--dim);
	padding: 16px 0 0;
}

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

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

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

/* 4q. Back-to-contents link, repeated down a long document */
.rzc-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;
}

.rzc-back:hover {
	color: var(--paper);
	text-decoration: underline;
}

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

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

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

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

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

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

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

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

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

button[disabled],
.rzc-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. */
.rzc-main p,
.rzc-main li {
	font-size: max(15px, 1em);
}

/* 6b. Tap targets: 44px on EVERY pointer, not only under 600px. */
.rzc-nav a,
.rzc-toc__list a,
.rzc-btn,
.rzc-head__cta,
.rzc-sticky__link,
.rzc-faq summary,
.rzc-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. */
.rzc-main p a,
.rzc-foot__legal a,
.rzc-faq__answer a {
	min-height: 0;
}

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

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

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

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

	body {
		padding-bottom: 92px;
	}

	.rzc-head__cta {
		display: none;
	}

	:root {
		/* The KNEE is the number that has to move with the viewport. At 360px a plate is
		   about three times as tall as it is wide, so a knee at 44% leaves the climb almost
		   vertical — the thread stops reading as a thread and starts reading as a corner.
		   Pulling the knee out to 62% and shortening the climb keeps the same drawing at a
		   phone's aspect ratio. The glow comes down with it so the halo does not bloom
		   across a narrow plate. */
		--thread-knee: 62%;
		--thread-in: 60%;
		--thread-out: 38%;
		--thread-glow: 4px;
	}

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

	.rzc-plate {
		padding: 30px 17px 20px;
	}

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

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

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

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

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

	.rzc-quick,
	.rzc-grid,
	.rzc-games,
	.rzc-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;
	}

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

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

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

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

	.rzc-plate::before,
	.rzc-plate::after,
	.rzc-card::before,
	.rzc-quick__card::before,
	.rzc-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(--rule);
	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(--buz);
	padding-left: 18px;
	margin-left: 0;
	font-style: normal;
	color: var(--paper);
}

.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(--field);
	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. */
.rzc-sig {
	display: grid;
	gap: 12px;
}

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

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

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

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

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

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

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

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

.rzc-anatomy__rows li:last-child {
	background: var(--sitron-deep);
}

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

.rzc-anatomy__rows li:last-child .rzc-anatomy__key {
	color: var(--paper);
	font-weight: 700;
}

.rzc-anatomy__note,
.rzc-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 */
.rzc-mock {
	margin: 0;
}

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

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

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

.rzc-mock__btn {
	display: block;
	padding: 12px 13px;
	text-align: center;
	border-radius: var(--r-ctl);
	/* a fill that carries --ink must clear 4.5:1 ON ITS OWN */
	background: var(--sitron);
	color: var(--ink);
	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. */
.rzc-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.rzc-nav__list li {
	margin: 0;
}

.rzc-nav__mobile {
	display: none;
}

.rzc-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(--rule);
	border-radius: var(--r-ctl);
	background: var(--plate-raised);
	color: var(--paper);
	font-size: 15px;
	font-weight: 700;
}

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

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

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

.rzc-nav__panel li {
	margin: 0;
}

.rzc-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;
}

.rzc-nav__panel a:hover,
.rzc-nav__panel a[aria-current] {
	background: var(--plate-raised);
	color: var(--paper);
}

.rzc-nav a[aria-current],
.rzc-nav__list a[aria-current] {
	color: var(--paper);
	border-color: var(--rule);
	background: rgba(28, 38, 43, .7);
}

/* 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. */
.rzc-head__cta--quiet {
	background: transparent;
	background-image: none;
	color: var(--sitron);
	border-color: var(--rule-lit);
}

.rzc-head__cta--quiet:hover {
	background: rgba(28, 38, 43, .85);
	background-image: none;
	color: var(--paper);
	border-color: var(--buz);
}

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

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

.rzc-trust__seg--rg:hover {
	color: var(--paper);
}

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

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

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

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

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

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

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

	.rzc-nav__mobile {
		display: block;
	}

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


/* ---- 10. Repairs from probe_rgb.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. */
.rzc-brand {
	min-height: var(--tap);
}

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

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

.rzc-crumbs a,
.rzc-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. */
.rzc-cookie__row .rzc-cookie__ok {
	background: transparent;
	background-image: none;
	color: var(--prose);
	border-color: var(--rule-lit);
}

.rzc-cookie__row .rzc-cookie__ok:hover {
	border-color: var(--buz);
	color: var(--paper);
}

/* ---- 11. Repairs from probe_rgb.js run 2 --------------------------------
   The mobile nav panel overflowed the viewport by 24px at 360, on every page, and only
   there. `.rzc-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. */
.rzc-nav {
	min-width: 0;
}

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

.rzc-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);
}

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

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

@media (max-width: 1023px) {
	.rzc-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. */
.rzc-offer .rzc-btn {
	justify-self: start;
}

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

	.rzc-offer .rzc-btn + .rzc-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. */
.rzc-hero__facts {
	margin-bottom: 26px;
}

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

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

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

/* ---- 13. Repairs from probe_rya.js run 1 --------------------------------

   ONE finding, at 768/1024/1440: the only link inside a data cell on this site —
   «Addımlar APK bölməsində», in the platform table — measured 96x42.

   WCAG 2.5.8 exempts a target that sits INSIDE A SENTENCE, and the probe implements that
   as «the parent holds at least 12 more characters than the link does». This cell holds
   nine more. That is a fragment rather than a sentence, so the exemption is arguable and
   the gate is right to ask: the cheaper answer is to give the link the tap height rather
   than to widen the probe's exemption until the finding disappears. One row of one table
   grows by 8px; the site's only in-table link becomes thumb-sized on a phone. */
.rzc-tablewrap td a {
	display: inline-block;
	min-height: var(--tap);
	padding-block: 11px;
	box-sizing: border-box;
}

/* ---- 14. The card thread: the same drawing, flatter and quieter ----------

   The 69th build shipped sixteen cards wearing the PREVIOUS identity's device, because its
   probe only asserted `.rzc-plate`. So every component that has a ground gets the device,
   and this section sets only the three things that legitimately differ on a card:

     * PITCH — a card is short and wide, so the plate's 63%→31% climb would read as a
       diagonal slash rather than a thread. The card flattens it to 58%→38% and moves the
       knee later. The composite is declared on this selector too, so it resolves per
       element and there is no second geometry to keep in step.
     * SIZE — smaller pins and a tighter glow, for the same reason.
     * VOLUME — the pins are UNLIT on an idle card (they wear the card's own rule colour)
       and LIGHT on hover. A card is a link; the thread coming on is the affordance, and the
       silhouette is identical in every state, which is the 69th's other lesson.

   THE GRIDS BELOW MOVE WITH IT, in the opposite direction to the donor's. Its tubes
   overhung each column gap by 5px a side and forced every card grid to 20px; this device
   stays inside its box, so the gaps come back to 14px and the card rhythm is visibly
   tighter than the donor's — a proportional difference that falls out of the drawing
   instead of being decorated on top of it. */
.rzc-card,
.rzc-quick__card,
.rzc-game {
	position: relative;
	isolation: isolate;
	/* A card is short and its text fills the middle. At 58%/38% the run crossed the meta
	   line on every card whose copy wrapped to two lines and passed cleanly between title
	   and meta on the ones whose copy wrapped to three — the same device reading as a
	   strike-through or as a rule depending on the length of a sentence. Caught on a
	   screenshot, not by any gate: the thread is BEHIND the text (z-index:-1), so contrast,
	   overflow and tap-target all measured clean.

	   Pitching it lower is only half the fix: a grid row sizes to its own tallest card, so
	   the SHORT cards in the second row put their last line exactly where the run had moved
	   to. The other half is that every card reserves a LANE — 30-34px of padding-bottom —
	   so the thread has somewhere of its own to cross at any copy length. The device paid
	   for that space; it is not decoration sitting in space that was already there. */
	--thread-in: 82%;
	--thread-out: 68%;
	--thread-knee: 54%;
	--thread-w: 1px;
	--thread-pin: 3px;
	--thread-pinw: 6px;
	--thread-glow: 3px;
	--thread-lit: var(--rule-lit);
	--thread-run: var(--rule);
	background: var(--plate-grad);
	background-origin: border-box;
}

.rzc-quick__card:hover,
.rzc-quick__card:focus-visible,
.rzc-game:hover {
	--thread-lit: var(--sitron);
	--thread-run: var(--buz);
	--thread-glow: 7px;
}

/* The hover ground is a plain `background:` and stays safe: this device does not live in
   the component's own background layers, so no later shorthand can reset it. That is the
   58th's failure mode designed out rather than avoided by discipline. */
.rzc-quick__card:hover {
	background: var(--plate-raised-grad);
	background-origin: border-box;
}
