/* =========================================================================
   roylecasino.com — «Şeh & Lacivərd» design layer  (LIGHT)
   =========================================================================

   Forked from the 78th build's stylesheet — the network's LIGHT single-layer
   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: DÜZƏLİŞ-UCU — 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 «Emerald & Brass · Anton / Nunito Sans /
   DM Mono». «Emerald & Brass» is the recorded identity of THREE sites already
   (royalspin.az, royaleclub-az.com, royale-win-az.com) and that exact type trio
   ships TOGETHER on FOUR (royale-casino-org, royale-slots, royale1,
   royalelogins). Anti-footprint outranks the column, for the eleventh row
   running.

   The hue circle is CLOSED in the two registers the network actually competes
   in: `lanes_ryl.py` reports a best clearance of 5-6 degrees anywhere in the
   dark-ground and saturated-accent registers, and `pairsearch_ryl.py` answers
   with a chromatic dark ground under a GREEN lead twelve times out of twelve —
   which is the 79th build's own move, invisible to a metric that ranks hues
   rather than strategies. So the search moved to the register the metric does
   not model: only 13 of 84 themes here are LIGHT, and their body grounds sit in
   three clumps (warm cream h32-48 ×9, cool grey-blue h216 ×3, rose h338 ×1)
   with accents that are warm h0-43 or emerald h153-159.

   Two measured gaps follow, and they are the whole claim:
     · this paper h278 is 60 degrees from the nearest LIGHT body ground;
     · this lead  h218 is 59 degrees from the nearest LIGHT-site accent — not
       one of the 13 light sites has a blue lead at all.
   All 16 hexes below are absent from the 1460 in the network's palettes.

   THE INK TAKES THE PAPER'S CAST, NOT THE LEAD'S — the lilac-black ramp keeps
   the lapis as the single chromatic voice above the paper, and the correction
   ink as the only warm one.

   CONTRAST CONTRACT (measured for THIS palette, not inherited — every pair
   below is >= 4.5:1):
     on --seh / --seh-deep / --vereq / --vereq-ust / --laciverd-cal /
     --duzelis-cal : murekkeb, metn, solgun, tutqun, laciverd, laciverd-deep,
     duman, duzelis, reqem
     on --laciverd fill      : qar, seh, vereq  (7.7:1+)
     on --laciverd-deep fill : qar, seh, vereq  (11.6:1+)
     on --duman fill         : qar, seh, vereq  (9.0:1+)
     on --duzelis fill       : qar, seh, vereq  (5.5:1+)
   --cizgi, --cizgi-lit, --laciverd-xett, --duman-xett are DECOR borders and
   never carry text nor state. --cizgi-ctl is the only border that clears 3:1 on
   the paper (3.90:1), so it is the one every CONTROL outline uses.
   ========================================================================= */

/* ---- 0. Tokens ---------------------------------------------------------- */
:root {
	--seh: #f6f1f9;
	--seh-deep: #eee7f3;
	--vereq: #faf7fc;
	--vereq-ust: #ffffff;
	--cizgi: #e3d9ec;
	--cizgi-lit: #c8b7d6;
	--cizgi-ctl: #8d6da2;
	--murekkeb: #22172b;
	--metn: #3d3349;
	--solgun: #50415d;
	--tutqun: #6c5c7a;
	--laciverd: #1b4998;
	--laciverd-xett: #8fabdd;
	--laciverd-deep: #0f2f66;
	--laciverd-cal: #e2eaf8;
	--qar: #f4f7fd;
	--reqem: #2c2438;
	--duman: #493d55;
	--duman-xett: #857496;
	--duzelis: #ab3c21;
	--duzelis-cal: #fbe9e3;

	--vereq-grad: linear-gradient(178deg, #ffffff 0%, #f7f2fb 100%);
	--vereq-ust-grad: linear-gradient(178deg, #ffffff 0%, #fcf9fd 100%);
	/* The LIT stop was #2159b4, which measures 4.39:1 against --qar — 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
	   #2159b4: 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. */
	--laciverd-grad: linear-gradient(158deg, #2159b4 0%, #1b4998 52%, #0f2f66 100%);
	--laciverd-deep-grad: linear-gradient(150deg, #17407f 0%, #0b2450 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;

	/* DÜZƏLİŞ-UCU 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). */
	--uc-rule: 2px;   /* the hairline the two runs are drawn with              */
	--uc-band: 16px;  /* the band the whole device lives in, inside the box    */
	--uc-gap: 30px;   /* the break — one character wide, left OPEN             */
	--uc-tip: 14px;   /* the caret's base — NARROWER than the gap              */
	--uc-lift: 4px;   /* air under the rule; the caret never touches it        */
	--uc-x: 38%;      /* WHERE the letter is missing — not the middle          */

	--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(--seh);
	color: var(--metn);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* Hepta Slab'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(27, 73, 152, .055), transparent 62%),
		radial-gradient(58rem 34rem at 8% 108%, rgba(73, 61, 85, .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. */
#ryl-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. */
.ryl-num,
.ryl-fact__val,
.ryl-offer__amount,
.ryl-meter__val,
.ryl-toc__num,
.ryl-steps__num {
	font-family: "M PLUS Code Latin", 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(--reqem);
}

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

.ryl-sec + .ryl-sec {
	border-top: 1px solid rgba(227, 217, 236, .9);
}

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

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

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

/* ---- 2. THE SIGNATURE: DÜZƏLİŞ-UCU -------------------------------------- */
/*
   This domain is a MISSING LETTER. `roylecasino` is `royalecasino` with the «a»
   dropped; nobody types it on purpose, and a reader is here because one
   keystroke did not land. So the device is the oldest notation there is for
   «something belongs here» — a proofreader's caret.

   Every plate carries a hairline along its top edge that BREAKS once, and under
   the break, touching nothing, stands a small caret in correction ink pointing
   up into it. The gap is deliberately left OPEN and the caret is deliberately
   NARROWER than it: the mark does not repair the word, it says where the word
   is wrong. That is the honest thing for this page to say in its furniture,
   because it is also what the page says in its first paragraph.

   Three measurable facts separate it from every other edge device on this
   network, and probe_ryl.js checks all three on the rendered page:

     1. tip  <  gap   — the 78th welds a bar WIDER than its gap so the two lap on
                        each side; here the caret is narrower and the gap stays
                        open. Opposite sign, same geometry family.
     2. lift >  0     — the caret never touches the rule. The 78th's bar laps it,
                        the 80th's crossbar starts at its stem.
     3. x   != 50%    — the break sits at --uc-x. A caret marks a POSITION in a
                        word, and the dropped «a» in roy·a·lecasino is the fourth
                        character of eleven, so the mark is left of centre.

   (The 71st interrupts a border and leaves it, the 77th empties one slot in a
   row, the 73rd notches a corner, the 80th stops a crossbar at half width. None
   of them puts a second, free-standing element UNDER the interruption.)

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

/* the broken rule: two runs, sized off the gap and the mark's position, drawn
   as one background. The left run stops --uc-gap/2 short of --uc-x; the right
   run starts --uc-gap/2 past it, which is why the two widths are not equal. */
.ryl-plate::before,
.ryl-rule::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--uc-rule);
	background-image:
		linear-gradient(var(--laciverd-xett), var(--laciverd-xett)),
		linear-gradient(var(--laciverd-xett), var(--laciverd-xett));
	background-size:
		calc(var(--uc-x) - var(--uc-gap) / 2) 100%,
		calc(100% - var(--uc-x) - var(--uc-gap) / 2) 100%;
	background-position: left center, right center;
	background-repeat: no-repeat;
	pointer-events: none;
}

/* the caret: narrower than the gap, lifted clear of the rule, apex up */
.ryl-plate::after,
.ryl-rule::after {
	content: "";
	position: absolute;
	top: calc(var(--uc-rule) + var(--uc-lift));
	left: var(--uc-x);
	transform: translateX(-50%);
	width: var(--uc-tip);
	height: calc(var(--uc-band) - var(--uc-rule) - var(--uc-lift));
	background: var(--duzelis);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	pointer-events: none;
}

.ryl-plate--raised {
	background: var(--vereq-ust-grad);
	border-color: var(--cizgi-lit);
	box-shadow: 0 10px 26px rgba(34, 23, 43, .07);
}

/* A quiet variant for secondary panels: the runs drop to the neutral edge and
   the caret to the pale accent, so the device reads as one family at two
   volumes without changing a single length. */
.ryl-plate--quiet::before {
	background-image:
		linear-gradient(var(--cizgi-lit), var(--cizgi-lit)),
		linear-gradient(var(--cizgi-lit), var(--cizgi-lit));
}

.ryl-plate--quiet::after {
	background: var(--laciverd-xett);
}

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

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

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

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

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

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

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

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

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

.ryl-wordmark__name {
	font-family: "Hepta Slab", "Roboto Slab", Georgia, serif;
	font-size: 21px;
	letter-spacing: -.012em;
	color: var(--murekkeb);
}

.ryl-wordmark__sub {
	margin-top: 3px;
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	font-size: 10px;
	letter-spacing: .26em;
	color: var(--solgun);
}

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

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

.ryl-nav a:hover {
	color: var(--murekkeb);
	border-color: var(--cizgi);
	background: rgba(255, 255, 255, .78);
}

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

.ryl-head__cta:hover {
	color: var(--qar);
	background: var(--murekkeb);
	text-decoration: none;
}

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

.ryl-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(--solgun);
}

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

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

.ryl-trust__seg--age {
	color: var(--duzelis);
}

.ryl-trust__seg--age::before {
	background: var(--duzelis);
}

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

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

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

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

.ryl-foot a:hover {
	color: var(--murekkeb);
}

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

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

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

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

.ryl-pay li {
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--cizgi);
	border-radius: var(--r-ctl);
	background: rgba(250, 247, 252, .86);
	font-size: 13px;
	color: var(--metn);
	letter-spacing: .02em;
}

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

.ryl-updated time {
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	color: var(--solgun);
}

/* 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. */
.ryl-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, 241, 249, .96);
	border-top: 1px solid var(--cizgi);
	backdrop-filter: blur(8px);
}

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

.ryl-sticky__link:hover,
.ryl-sticky__link:active {
	color: var(--qar);
	background: var(--murekkeb);
	text-decoration: none;
}

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

/* 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 `.ryl-agegate__card`.
   This block used to carry a second, never-matching `.ryl-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. */

.ryl-cookie {
	position: fixed;
	left: 14px;
	right: 14px;
	bottom: 14px;
	z-index: 150;
	max-width: 640px;
	margin: 0 auto;
	padding: 18px 20px;
	background: var(--vereq-ust-grad);
	border: 1px solid var(--cizgi-lit);
	border-radius: var(--r-plate);
	box-shadow: 0 16px 44px rgba(34, 23, 43, .10);
	font-size: 14px;
	color: var(--metn);
}

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

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

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

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

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

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

.ryl-fact {
	background: var(--vereq);
	padding: 16px 18px;
}

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

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

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

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

.ryl-toc__list li {
	margin: 0;
}

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

.ryl-toc__list a:hover {
	border-color: var(--laciverd);
	background: var(--vereq-ust);
	color: var(--murekkeb);
	text-decoration: none;
}

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

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

.ryl-quick__card {
	position: relative;
	display: block;
	padding: 26px 20px 20px;
	background: var(--vereq-grad);
	border: 1px solid var(--cizgi);
	border-radius: var(--r-plate);
	color: var(--metn);
	text-decoration: none;
}

.ryl-quick__card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: var(--uc-rule);
	background: var(--laciverd-xett);
}

.ryl-quick__card:hover {
	border-color: var(--laciverd);
	background: var(--vereq-ust-grad);
	text-decoration: none;
}

.ryl-quick__card:hover::before {
	background: var(--laciverd);
}

.ryl-quick__title {
	display: block;
	font-family: "Hepta Slab", "Roboto Slab", Georgia, serif;
	font-size: 20px;
	color: var(--murekkeb);
	margin-bottom: 7px;
}

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

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

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

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

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

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

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

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

.ryl-btn:hover {
	background: var(--murekkeb);
	color: var(--qar);
	text-decoration: none;
}

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

.ryl-btn--ghost:hover {
	background: rgba(255, 255, 255, .85);
	color: var(--murekkeb);
	border-color: var(--laciverd);
}

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

/* 4f. Chips */
.ryl-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(--cizgi);
	background: var(--vereq-ust);
	color: var(--metn);
}

.ryl-chip--duman {
	background: var(--duman);
	border-color: var(--duman-xett);
	color: var(--qar);
}

.ryl-chip--duzelis {
	background: var(--duzelis-cal);
	border-color: var(--duzelis);
	color: var(--murekkeb);
}

.ryl-chip--laciverd {
	background: var(--laciverd-deep);
	border-color: var(--laciverd);
	color: var(--qar);
}

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

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

.ryl-steps li::before {
	counter-increment: rczstep;
	content: counter(rczstep, decimal-leading-zero);
	position: absolute;
	left: 20px;
	top: 17px;
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	font-size: 15px;
	font-weight: 700;
	color: var(--laciverd);
}

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

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

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

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

.ryl-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: var(--uc-rule);
	background: var(--laciverd-xett);
}

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

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

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

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

.ryl-game::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 18px;
	right: 18px;
	height: var(--uc-rule);
	background: var(--laciverd-xett);
}

.ryl-game__name {
	display: block;
	font-family: "Hepta Slab", "Roboto Slab", Georgia, serif;
	font-size: 18px;
	color: var(--murekkeb);
	margin-bottom: 6px;
}

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

.ryl-game__meta b {
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	font-weight: 700;
	color: var(--reqem);
}

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

.ryl-meter__bar {
	height: 5px;
	background: var(--vereq-ust);
	border: 1px solid var(--cizgi);
	border-radius: 1px;
	overflow: hidden;
}

.ryl-meter__fill {
	display: block;
	height: 100%;
	background: var(--laciverd-xett);
}

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

/* 4j. Notes / callouts */
.ryl-note {
	position: relative;
	padding: 18px 20px 18px 20px;
	border: 1px solid var(--cizgi);
	border-left: 3px solid var(--laciverd-xett);
	border-radius: var(--r-ctl);
	background: rgba(250, 247, 252, .8);
	font-size: 15.5px;
	line-height: 1.62;
	color: var(--metn);
}

.ryl-note--warn {
	border-left-color: var(--duzelis);
	background: rgba(251, 233, 227, .8);
}

.ryl-note--rg {
	border-left-color: var(--duzelis);
	background: var(--duzelis-cal);
	color: var(--murekkeb);
}

.ryl-note strong {
	color: var(--murekkeb);
}

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

   `.ryl-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. */
.ryl-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--cizgi);
	border-radius: var(--r-plate);
	background: var(--vereq);
	margin: 0 0 1.05em;
}

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

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

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

.ryl-tablewrap thead th,
.wp-block-table thead th {
	background: var(--vereq-ust);
	color: var(--murekkeb);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .04em;
	white-space: nowrap;
}

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

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

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

.ryl-faq details {
	background: var(--vereq-grad);
	border: 1px solid var(--cizgi-ctl);
	border-radius: var(--r-plate);
	overflow: hidden;
}

.ryl-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(--murekkeb);
	line-height: 1.45;
}

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

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

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

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

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

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

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

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

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

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

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

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

.ryl-app__spec b {
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	color: var(--reqem);
	font-weight: 700;
}

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

.ryl-crumbs a {
	color: var(--solgun);
	text-decoration: none;
}

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

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

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

.ryl-back:hover {
	color: var(--murekkeb);
	text-decoration: underline;
}

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

.ryl-lastmod time {
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	color: var(--solgun);
}

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

.ryl-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: ryl-shimmer 1.5s infinite;
}

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

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

a:active,
.ryl-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(--laciverd);
	outline-offset: 2px;
	border-radius: var(--r-ctl);
}

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

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

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

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

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

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

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

	body {
		padding-bottom: 92px;
	}

	.ryl-head__cta {
		display: none;
	}

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

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

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

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

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

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

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

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

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

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

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

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

	.ryl-plate::before,
	.ryl-plate::after,
	.ryl-card::before,
	.ryl-quick__card::before,
	.ryl-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(--cizgi);
	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(--laciverd-xett);
	padding-left: 18px;
	margin-left: 0;
	font-style: normal;
	color: var(--murekkeb);
}

.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(--seh);
	color: var(--metn);
}

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

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

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

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

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

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

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

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

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

.ryl-anatomy__rows li:last-child {
	background: var(--laciverd-deep);
}

.ryl-anatomy__key {
	color: var(--metn);
}

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

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

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

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

.ryl-mock__field {
	display: block;
	padding: 12px 13px;
	border: 1px solid var(--cizgi);
	border-radius: var(--r-ctl);
	background: var(--vereq);
	color: var(--tutqun);
	font-size: 14.5px;
}

.ryl-mock__field--code {
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	letter-spacing: .3em;
	color: var(--solgun);
}

.ryl-mock__btn {
	display: block;
	padding: 12px 13px;
	text-align: center;
	border-radius: var(--r-ctl);
	background: var(--laciverd);
	color: var(--qar);
	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. */
.ryl-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.ryl-nav__list li {
	margin: 0;
}

.ryl-nav__mobile {
	display: none;
}

.ryl-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(--cizgi-ctl);
	border-radius: var(--r-ctl);
	background: var(--vereq-ust);
	color: var(--murekkeb);
	font-size: 15px;
	font-weight: 600;
}

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

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

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

.ryl-nav__panel li {
	margin: 0;
}

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

.ryl-nav__panel a:hover,
.ryl-nav__panel a[aria-current] {
	background: var(--vereq-ust);
	color: var(--murekkeb);
}

.ryl-nav a[aria-current],
.ryl-nav__list a[aria-current] {
	color: var(--murekkeb);
	border-color: var(--cizgi);
	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. */
.ryl-head__cta--quiet {
	background: transparent;
	background-image: none;
	color: var(--laciverd);
	border-color: var(--cizgi-lit);
}

.ryl-head__cta--quiet:hover {
	background: rgba(255, 255, 255, .9);
	background-image: none;
	color: var(--murekkeb);
	border-color: var(--laciverd);
}

.ryl-langtag {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border: 1px solid var(--cizgi);
	border-radius: var(--r-ctl);
	font-family: "M PLUS Code Latin", ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: .12em;
	color: var(--solgun);
}

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

.ryl-trust__seg--rg:hover {
	color: var(--murekkeb);
}

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

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

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

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

.ryl-foot__legal b {
	color: var(--solgun);
}

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

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

	.ryl-nav__mobile {
		display: block;
	}

	.ryl-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. */
.ryl-brand {
	min-height: var(--tap);
}

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

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

.ryl-crumbs a,
.ryl-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. */
.ryl-cookie__row .ryl-cookie__ok {
	background: transparent;
	background-image: none;
	color: var(--metn);
	/* --cizgi-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) `.ryl-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. --cizgi-ctl is
	   this palette's only 3:1 border. */
	border-color: var(--cizgi-ctl);
}

.ryl-cookie__row .ryl-cookie__ok:hover {
	border-color: var(--laciverd);
	color: var(--murekkeb);
}

/* ---- 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. `.ryl-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. */
.ryl-nav {
	min-width: 0;
}

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

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

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

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

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

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

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

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

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

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